summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-libs/libxml2/ChangeLog12
-rw-r--r--dev-libs/libxml2/files/digest-libxml2-2.4.281
-rw-r--r--dev-libs/libxml2/files/parser.c.diff11
-rw-r--r--dev-libs/libxml2/libxml2-2.4.28.ebuild56
4 files changed, 78 insertions, 2 deletions
diff --git a/dev-libs/libxml2/ChangeLog b/dev-libs/libxml2/ChangeLog
index 2f8ea731b3d5..10634cf9279f 100644
--- a/dev-libs/libxml2/ChangeLog
+++ b/dev-libs/libxml2/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for dev-libs/libxml2
-# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxml2/ChangeLog,v 1.18 2002/11/12 22:33:46 foser Exp $
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxml2/ChangeLog,v 1.19 2002/11/26 20:44:36 danarmak Exp $
+
+*libxml2-2.4.28 (26 Nov 2002)
+
+ 26 Nov 2002; Dan Armak <danarmak@gentoo.org> ChangeLog :
+
+ A new version with a patch added that fixes the roblems with KDE doc
+ generation that have been present since version 2.4.26. This patch will
+ be present in 2.4.29.
*libxml2-2.4.26 (27 Oct 2002)
diff --git a/dev-libs/libxml2/files/digest-libxml2-2.4.28 b/dev-libs/libxml2/files/digest-libxml2-2.4.28
new file mode 100644
index 000000000000..c97374ae93b5
--- /dev/null
+++ b/dev-libs/libxml2/files/digest-libxml2-2.4.28
@@ -0,0 +1 @@
+MD5 af6eeb630cd4229e243eb36b839554b2 libxml2-2.4.28.tar.bz2 1955466
diff --git a/dev-libs/libxml2/files/parser.c.diff b/dev-libs/libxml2/files/parser.c.diff
new file mode 100644
index 000000000000..95ad9d8cb6b6
--- /dev/null
+++ b/dev-libs/libxml2/files/parser.c.diff
@@ -0,0 +1,11 @@
+--- parser.c.orig 2002-11-26 22:20:01.000000000 +0200
++++ parser.c 2002-11-26 22:22:53.000000000 +0200
+@@ -9820,7 +9820,7 @@
+ ctxt->myDoc = oldctxt->myDoc;
+ content = ctxt->myDoc->children;
+ }
+- ctxt->myDoc->children = xmlNewDocNode(newDoc, NULL,
++ ctxt->myDoc->children = xmlNewDocNode(ctxt->myDoc, NULL,
+ BAD_CAST "pseudoroot", NULL);
+ if (ctxt->myDoc->children == NULL) {
+ ctxt->sax = oldsax;
diff --git a/dev-libs/libxml2/libxml2-2.4.28.ebuild b/dev-libs/libxml2/libxml2-2.4.28.ebuild
new file mode 100644
index 000000000000..8a14312ddc88
--- /dev/null
+++ b/dev-libs/libxml2/libxml2-2.4.28.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxml2/libxml2-2.4.28.ebuild,v 1.1 2002/11/26 20:44:36 danarmak Exp $
+
+inherit libtool gnome2
+
+IUSE="zlib python readline"
+S=${WORKDIR}/${P}
+DESCRIPTION="Version 2 of the library to manipulate XML files"
+HOMEPAGE="http://www.gnome.org/"
+
+DEPEND="zlib? ( sys-libs/zlib )
+ python? ( dev-lang/python )
+ readline? ( sys-libs/readline )"
+
+SLOT="2"
+LICENSE="MIT"
+KEYWORDS="~x86 ~sparc ~sparc64 ~ppc ~alpha"
+
+src_unpack() {
+
+ unpack $A
+ cd $S
+ patch -p0 < $FILESDIR/parser.c.diff || die
+
+}
+
+src_compile() {
+ # Fix .la files of python site packages
+ elibtoolize
+
+ local myconf
+
+ use zlib && myconf="--with-zlib" || myconf="--without-zlib"
+ use python && myconf="${myconf} --with-python" \
+ || myconf="${myconf} --without-python"
+ use readline && myconf="${myconf} --with-readline" \
+ || myconf="${myconf} --without-readline"
+
+ econf ${myconf} || die
+ emake || die
+}
+
+src_install() {
+ make \
+ DESTDIR=${D} \
+ DOCS_DIR=/usr/share/doc/${PF}/python \
+ EXAMPLE_DIR=/usr/share/doc/${PF}/python/example \
+ BASE_DIR=/usr/share/doc \
+ DOC_MODULE=${PF} \
+ EXAMPLES_DIR=/usr/share/doc/${PF}/example \
+ TARGET_DIR=/usr/share/doc/${PF}/html \
+ install || die
+
+ dodoc AUTHORS COPYING* ChangeLog NEWS README
+}