Update of /cvsroot/fink/experimental/dmacks/finkinfo
In directory vz-cvs-3.sog:/tmp/cvs-serv1467

Added Files:
        libxml2.info libxml2.patch 
Log Message:
import from stable


--- NEW FILE: libxml2.patch ---
diff -Nurd -x'*~' libxml2-2.8.0.orig/doc/Makefile.in 
libxml2-2.8.0/doc/Makefile.in
--- libxml2-2.8.0.orig/doc/Makefile.in  2012-05-23 04:56:31.000000000 -0400
+++ libxml2-2.8.0/doc/Makefile.in       2012-08-06 02:26:09.000000000 -0400
@@ -860,7 +860,7 @@
 
 install-data-local: 
        @MKDIR_P@ $(DESTDIR)$(HTML_DIR)
-       -@INSTALL@ -m 0644 $(srcdir)/xml.html $(srcdir)/encoding.html 
$(srcdir)/FAQ.html $(srcdir)/structure.gif $(srcdir)/DOM.gif 
$(srcdir)/smallfootonly.gif $(srcdir)/redhat.gif $(srcdir)/libxml.gif 
$(srcdir)/w3c.png $(srcdir)/Libxml2-Logo-180x168.gif 
$(srcdir)/Libxml2-Logo-90x34.gif $(DESTDIR)$(HTML_DIR)
+       -@INSTALL@ -m 0644 $(srcdir)/*.html $(srcdir)/*.gif $(srcdir)/*.png 
$(srcdir)/libxml2-api.xml $(DESTDIR)$(HTML_DIR)
        @MKDIR_P@ $(DESTDIR)$(HTML_DIR)/html
        -@INSTALL@ -m 0644 $(srcdir)/html/*.html $(DESTDIR)$(HTML_DIR)/html
        -@INSTALL@ -m 0644 $(srcdir)/html/*.png $(DESTDIR)$(HTML_DIR)/html
diff -Nurd -x'*~' libxml2-2.8.0.orig/doc/examples/Makefile.in 
libxml2-2.8.0/doc/examples/Makefile.in
--- libxml2-2.8.0.orig/doc/examples/Makefile.in 2012-05-23 04:56:31.000000000 
-0400
+++ libxml2-2.8.0/doc/examples/Makefile.in      2012-08-06 02:26:09.000000000 
-0400
@@ -805,17 +805,19 @@
        tags uninstall uninstall-am
 
 
+all: rebuild
+
 rebuild: examples.xml index.html
 
 examples.xml: index.py *.c
        -@($(srcdir)/index.py)
 
 index.html: examples.xml examples.xsl
-       -@(xsltproc examples.xsl examples.xml && echo "Rebuilt web page" && 
xmllint --valid --noout index.html)
+       -@(xsltproc --nonet examples.xsl examples.xml && echo "Rebuilt web 
page")
 
 install-data-local: 
-       @MKDIR_P@ $(DESTDIR)$(HTML_DIR)
-       -@INSTALL@ -m 0644 $(srcdir)/*.html $(srcdir)/*.c $(srcdir)/*.xml 
$(srcdir)/*.xsl $(srcdir)/*.res $(DESTDIR)$(HTML_DIR)
+       @MKDIR_P@ $(DESTDIR)$(HTML_DIR)/examples
+       -@INSTALL@ -m 0644 $(srcdir)/*.html $(srcdir)/*.c $(srcdir)/*.xml 
$(srcdir)/*.xsl $(srcdir)/*.res $(DESTDIR)$(HTML_DIR)/examples
 
 valgrind: 
        $(MAKE) CHECKER='valgrind' tests
diff -Nurd -x'*~' libxml2-2.8.0.orig/update-sgml-catalog 
libxml2-2.8.0/update-sgml-catalog
--- libxml2-2.8.0.orig/update-sgml-catalog      1969-12-31 19:00:00.000000000 
-0500
+++ libxml2-2.8.0/update-sgml-catalog   2012-08-06 02:26:09.000000000 -0400
@@ -0,0 +1,28 @@
+#!/bin/sh -e
+#
+# update-sgml-catalog
+# see DescPackaging field of libxml2 .info file for usage.
+#
+
+CATALOG=@PREFIX@/etc/sgml/catalog
+CATALOG_D=@PREFIX@/etc/sgml/catalog.d
+
+mkdir -p ${CATALOG_D}
+
+TMPFILE=`tempfile`
+
+if [ "`echo ${CATALOG_D}/*`" != "${CATALOG_D}/*" ]; then
+  cat ${CATALOG_D}/* | sed 's/#.*$//g' | {
+    while read cat; do
+      if [ -z "${cat}" ]; then
+        continue
+      fi
+      echo CATALOG ${cat} >>${TMPFILE}
+    done
+  }
+fi
+
+mv -f ${TMPFILE} ${CATALOG}
+chmod 0644 ${CATALOG}
+
+exit 0
diff -Nurd -x'*~' libxml2-2.8.0.orig/update-xml-catalog 
libxml2-2.8.0/update-xml-catalog
--- libxml2-2.8.0.orig/update-xml-catalog       1969-12-31 19:00:00.000000000 
-0500
+++ libxml2-2.8.0/update-xml-catalog    2012-08-06 02:26:09.000000000 -0400
@@ -0,0 +1,29 @@
+#!/bin/sh -e
+#
+# update-xml-catalog
+# see DescPackaging field of libxml2 .info file for usage.
+#
+
+CATALOG=@PREFIX@/etc/xml/catalog
+CATALOG_D=@PREFIX@/etc/xml/catalog.d
+
+mkdir -p ${CATALOG_D}
+
+TMPFILE=`tempfile`
+xmlcatalog --create >>${TMPFILE}
+
+if [ "`echo ${CATALOG_D}/*`" != "${CATALOG_D}/*" ]; then
+  cat ${CATALOG_D}/* | sed 's/#.*$//g' | {
+    while read type orig replace; do
+      if [ -z "${type}" -o -z "${orig}" -o -z "${replace}" ]; then
+        continue
+      fi
+      eval xmlcatalog --noout --add ${type} ${orig} ${replace} ${TMPFILE}
+    done
+  }
+fi
+
+mv -f ${TMPFILE} ${CATALOG}
+chmod 0644 ${CATALOG}
+
+exit 0

--- NEW FILE: libxml2.info ---
Package: libxml2
Version: 2.8.0
Revision: 1
Maintainer: The Gnome Core Team <[email protected]>
Depends: %N-bin (= %v-%r), %N-shlibs (= %v-%r), pkgconfig (>= 0.23)
BuildDepends: <<
        fink (>= 0.24.12-1),
        fink-package-precedence,
        libiconv-dev,
        liblzma5,
        libncurses5 (>= 5.4-20041023-1006),
        readline6
<<
Source: http://xmlsoft.org/sources/%n-%v.tar.gz
Source-MD5: c62106f02ee00b6437f0fb9d370c1093
PatchFile: %n.patch
PatchFile-MD5: 99412a35ea1a3c6ec03f0beb1a78353f
PatchScript: <<
#!/bin/sh -ev
        sed 's|@PREFIX@|%p|g' <%{PatchFile} | patch -p1
        perl -pi -e 's|/etc|%p/etc|g' *.[ch] doc/*.html doc/*.1 doc/*.xml
        rm test/ebcdic_566012.xml

<<
ConfigureParams: --mandir=%p/share/man --with-iconv=%p --without-python 
--enable-dependency-tracking --with-html-dir=%p/share/doc --with-html-subdir=%n 
--with-history --disable-silent-rules
CompileScript: <<
        ## Work around a missing xhtml-dtd in catalog
        ## which obviously cannot be in
        ## and xmllint --nonet to rebuild the doc which
        ## makes vanish index.html
        cp doc/index.html doc/index1.html
        XMLLINT=/usr/bin/true XSLTPROC=/usr/bin/true ./configure %c
        make
        rm -f doc/index.html
        mv doc/index1.html doc/index.html
        fink-package-precedence --prohibit-bdep=%n .
<<
InfoTest: TestScript: make check || exit 2
InstallScript: <<
        make install DESTDIR=%d DOC_MODULE=%n
        mkdir -p %i/etc/xml/catalog.d
        mkdir -p %i/etc/sgml/catalog.d
        mkdir -p %i/sbin
        install -c -m 755 update-xml-catalog %i/sbin/
        install -c -m 755 update-sgml-catalog %i/sbin/
<<
DocFiles: AUTHORS ChangeLog COPYING Copyright NEWS README TODO TODO_SCHEMAS
BuildDependsOnly: True
SplitOff: <<
        Package: %N-shlibs
        Depends: <<
                libiconv,
                liblzma5-shlibs
        <<
        Replaces: libxml2 (<< 2.4.18-2)
        Suggests: %N-bin
        Files: lib/libxml2.2.dylib
        Shlibs: %p/lib/libxml2.2.dylib 11.0.0 %n (>= 2.8.0-1)
        DocFiles: Copyright README
<<
SplitOff2: <<
        Package: %N-bin
        Depends: <<
                %N-shlibs (>= %v-%r),
                liblzma5-shlibs,
                libncurses5-shlibs (>= 5.4-20041023-1006),
                readline6-shlibs
        <<
        Replaces: libxml2 (<< 2.4.18-2)
        Files: bin/xmlcatalog bin/xmllint sbin share/man/man1/xmlcatalog.1 
share/man/man1/xmllint.1 etc/xml
        DocFiles: Copyright README
        RuntimeVars: <<
                SGML_CATALOG_FILES: %p/etc/sgml/catalog
                XML_CATALOG_FILES: %p/etc/xml/catalog
        <<
        PostInstScript: <<
                case "$1" in
                        configure)
                                export SGML_CATALOG_FILES=%p/etc/sgml/catalog
                                export XML_CATALOG_FILES=%p/etc/xml/catalog
                                %p/sbin/update-xml-catalog
                                %p/sbin/update-sgml-catalog
                        ;;
                esac
        <<
        PostRmScript: <<
                case "$1" in
                        abort-install|purge|remove)
                                rm -f %p/etc/xml/catalog
                                rm -f %p/etc/sgml/catalog
                                ;;
                esac
        <<
<<
Description: XML parsing library, version 2
DescDetail: <<
        This set of packages does *not* contain the python bindings. Those
        are in libxml2-pyXX for various pythonX.X versions.
<<
DescPort: <<
        Hide xmllint and xsltproc executables from ./configure to avoid
        circular dependencies (on libxml2-bin (build here) and libxslt-bin
        (depends on libxml2)) and network access during build. Fortunately,
        these executables are only used to build docs that already come
        prebuilt (we patch the targets instead of patching sources and
        rebuilding).

        Packages prior to 2.6.22-1 did not use --with-history, so they did
        not need readline or ncurses. Now it does, but these libs are only
        used for the -bin programs not the -shlibs libs. So no new flags in
        .la or .pc, so no dependency and rebuilding nightmare for dependent
        packages. Hooray!

        Rebuild the doc/examples/index.html not present in the tarball
        Changed the installation to avoid examples overriding top level
        of doc.
<<
DescPackaging: <<
libxml2 uses XML/SGML super catalog to know location of DTDs installed on
local system. They are managed by update-xml-catalog and update-sgml-catalog
script. Each package that provides DTDs should also provide configuration
file(s) for these script and call them within Pre/PostInstScript.

When update-xml-catalog is called, it reads every configuration file belongs
to %p/etc/xml/catalog.d/. Each line of them contain 3 fields, TYPE, ORIG and
REPLACE, correspond to arguments of `xmlcatalog --add'. See xmlcatalog(1) for
detail.

Also, update-sgml-catalog reads every configuration file belongs to %p/etc/
sgml/catalog.d/ when it is called. Each line of them contain only 1 field,
reference to other SGML catalog file.

Previous versions by Christoph Pfisterer <[email protected]>

        disable the self-test of ebcdic handling because GNU
        libiconv doesn't support ebcdic. See:
        https://bugzilla.gnome.org/show_bug.cgi?id=603432
<<
License: BSD
Homepage: http://www.xmlsoft.org/


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to