New version
authorMike Gardiner <obz@gentoo.org>
Sat, 11 Dec 2004 04:52:13 +0000 (04:52 +0000)
committerMike Gardiner <obz@gentoo.org>
Sat, 11 Dec 2004 04:52:13 +0000 (04:52 +0000)
dev-libs/libxml2/ChangeLog
dev-libs/libxml2/Manifest
dev-libs/libxml2/files/digest-libxml2-2.6.16 [new file with mode: 0644]
dev-libs/libxml2/libxml2-2.6.16.ebuild [new file with mode: 0644]

index 147041a01b9a111ea01b8713efbf935accda483b..05c94fda639f9a5c1050d73034b15d7137b20db2 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for dev-libs/libxml2
 # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxml2/ChangeLog,v 1.101 2004/11/30 19:36:26 gmsoft Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxml2/ChangeLog,v 1.102 2004/12/11 04:52:13 obz Exp $
+
+*libxml2-2.6.16 (11 Dec 2004)
+
+  11 Dec 2004; Mike Gardiner <obz@gentoo.org> +libxml2-2.6.16.ebuild:
+  New version
 
   30 Nov 2004; Guy Martin <gmsoft@gentoo.org> libxml2-2.6.15-r1.ebuild:
   Stable on hppa since bug with binutils is fixed.
index 1ea19e783e095e5edbc84d71581711b90a9a415a..e7bb7ea32508fbbe0d7481a7d789967ce981594e 100644 (file)
@@ -1,15 +1,17 @@
-MD5 576d5351eca8ced1549b1da86a23ce9a ChangeLog 12113
-MD5 aded0bbec70dc0a90dc3cdb5d25d16da libxml2-2.6.11.ebuild 1662
 MD5 b40c981bc48af5d494d9903c64395e8b libxml2-2.6.12.ebuild 1670
-MD5 0eededeaa59fa4582aa5176d034a9f19 libxml2-2.6.6.ebuild 1892
+MD5 f0f6380d15a534d1a56597a3488056d0 libxml2-2.6.15-r1.ebuild 1807
 MD5 5900215d6556e3e2aa098da214f3f302 libxml2-2.6.7.ebuild 1887
+MD5 ccde65d6bc06a978f0712b1f2534fb12 libxml2-2.6.16.ebuild 1698
+MD5 aded0bbec70dc0a90dc3cdb5d25d16da libxml2-2.6.11.ebuild 1662
 MD5 086f5dd9238430853ec8bfc5d82b47c4 libxml2-2.6.9.ebuild 1948
+MD5 0eededeaa59fa4582aa5176d034a9f19 libxml2-2.6.6.ebuild 1892
+MD5 9d15dd3d43b4583339ca583d0ce94195 ChangeLog 12226
 MD5 03ad2e6c4ab41244af1015a8bbb0b39f metadata.xml 158
-MD5 f0f6380d15a534d1a56597a3488056d0 libxml2-2.6.15-r1.ebuild 1807
-MD5 58ae52ba5b2d6b7aed29f8a08b324d2c files/digest-libxml2-2.6.11 68
-MD5 fa747ea5704458d21c71742d5bd870d4 files/digest-libxml2-2.6.12 68
 MD5 df8aa422d2ef75d0fbb2dfd7e3691d2c files/digest-libxml2-2.6.6 67
 MD5 e1d3673ddc47844934e0894da13d7c31 files/digest-libxml2-2.6.7 67
 MD5 02c6697e95e4ac68f27f42bc47bd211b files/digest-libxml2-2.6.9 67
-MD5 e7fb4717d64a8f4b7c4f35a6924bdbd4 files/digest-libxml2-2.6.15-r1 68
 MD5 6f985801b3703cf758165d018cad9132 files/libxml2-2.6.15-reverse_error.patch 670
+MD5 e7fb4717d64a8f4b7c4f35a6924bdbd4 files/digest-libxml2-2.6.15-r1 68
+MD5 58ae52ba5b2d6b7aed29f8a08b324d2c files/digest-libxml2-2.6.11 68
+MD5 fa747ea5704458d21c71742d5bd870d4 files/digest-libxml2-2.6.12 68
+MD5 ff7efcdcc2a364b0eeca271ef52566f8 files/digest-libxml2-2.6.16 68
diff --git a/dev-libs/libxml2/files/digest-libxml2-2.6.16 b/dev-libs/libxml2/files/digest-libxml2-2.6.16
new file mode 100644 (file)
index 0000000..74e916f
--- /dev/null
@@ -0,0 +1 @@
+MD5 1ad0827b95e17e546265f2c4da001a6a libxml2-2.6.16.tar.bz2 3100259
diff --git a/dev-libs/libxml2/libxml2-2.6.16.ebuild b/dev-libs/libxml2/libxml2-2.6.16.ebuild
new file mode 100644 (file)
index 0000000..70d1bf8
--- /dev/null
@@ -0,0 +1,70 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxml2/libxml2-2.6.16.ebuild,v 1.1 2004/12/11 04:52:13 obz Exp $
+
+inherit libtool gnome.org flag-o-matic gnuconfig
+
+DESCRIPTION="Version 2 of the library to manipulate XML files"
+HOMEPAGE="http://www.xmlsoft.org/"
+
+LICENSE="MIT"
+SLOT="2"
+KEYWORDS="~x86 ~ppc ~sparc ~mips ~alpha ~arm ~hppa ~amd64 ~ia64 ~ppc64 ~s390"
+IUSE="python readline ipv6"
+
+DEPEND="sys-libs/zlib
+       python? ( dev-lang/python )
+       hppa? ( >=sys-devel/binutils-2.15.92.0.2 )
+       readline? ( sys-libs/readline )"
+
+src_unpack() {
+
+       unpack ${A}
+       gnuconfig_update ${S}
+
+}
+
+src_compile() {
+
+       # Please do not remove, as else we get references to PORTAGE_TMPDIR
+       # in /usr/lib/python?.?/site-packages/libxml2mod.la among things.
+       elibtoolize
+
+       # filter seemingly problematic CFLAGS (#26320)
+       filter-flags -fprefetch-loop-arrays -funroll-loops
+
+       # USE zlib support breaks gnome2
+       # (libgnomeprint for instance fails to compile with
+       # fresh install, and existing) - <azarah@gentoo.org> (22 Dec 2002).
+
+       econf --with-zlib \
+               $(use_with python) \
+               $(use_with readline) \
+               $(use_enable ipv6) || die
+
+       emake || die
+
+}
+
+src_install() {
+
+       make DESTDIR=${D} install || die
+
+       dodoc AUTHORS ChangeLog NEWS README TODO
+
+}
+
+pkg_postinst() {
+
+       # need an XML catalog, so no-one writes to a non-existent one
+       CATALOG=/etc/xml/catalog
+       # we dont want to clobber an existing catalog though,
+       # only ensure that one is there
+       # <obz@gentoo.org>
+       if [ ! -e ${CATALOG} ]; then
+               [ -d /etc/xml ] || mkdir /etc/xml
+               /usr/bin/xmlcatalog --create > ${CATALOG}
+               einfo "Created XML catalog in ${CATALOG}"
+       fi
+
+}