summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-11-11 01:17:27 +0000
committerMike Frysinger <vapier@gentoo.org>2004-11-11 01:17:27 +0000
commit4653541a0e06223a2de96316652d77be887dd697 (patch)
tree508699b8addddbd2557e6dac799b8bbc3eb537ff /dev-libs/xalan-c
parentmark 2.8.5 x86 (Manifest recommit) (diff)
downloadgentoo-2-4653541a0e06223a2de96316652d77be887dd697.tar.gz
gentoo-2-4653541a0e06223a2de96316652d77be887dd697.tar.bz2
gentoo-2-4653541a0e06223a2de96316652d77be887dd697.zip
Version bump #62196 by Sebastian Roth.
Diffstat (limited to 'dev-libs/xalan-c')
-rw-r--r--dev-libs/xalan-c/ChangeLog8
-rw-r--r--dev-libs/xalan-c/files/1.8.0-gcc34.patch11
-rw-r--r--dev-libs/xalan-c/files/digest-xalan-c-1.8.01
-rw-r--r--dev-libs/xalan-c/xalan-c-1.7.0.ebuild4
-rw-r--r--dev-libs/xalan-c/xalan-c-1.8.0.ebuild49
5 files changed, 70 insertions, 3 deletions
diff --git a/dev-libs/xalan-c/ChangeLog b/dev-libs/xalan-c/ChangeLog
index e6ee32facb04..b1d04e376d8e 100644
--- a/dev-libs/xalan-c/ChangeLog
+++ b/dev-libs/xalan-c/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/xalan-c
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/xalan-c/ChangeLog,v 1.2 2004/06/24 23:37:58 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/xalan-c/ChangeLog,v 1.3 2004/11/11 01:17:27 vapier Exp $
+
+*xalan-c-1.8.0 (10 Nov 2004)
+
+ 10 Nov 2004; Mike Frysinger <vapier@gentoo.org> +files/1.8.0-gcc34.patch,
+ xalan-c-1.7.0.ebuild, +xalan-c-1.8.0.ebuild:
+ Version bump #62196 by Sebastian Roth.
*xalan-c-1.7.0 (21 Feb 2004)
diff --git a/dev-libs/xalan-c/files/1.8.0-gcc34.patch b/dev-libs/xalan-c/files/1.8.0-gcc34.patch
new file mode 100644
index 000000000000..1668612d567d
--- /dev/null
+++ b/dev-libs/xalan-c/files/1.8.0-gcc34.patch
@@ -0,0 +1,11 @@
+--- xml-xalan/c/src/xalanc/PlatformSupport/XalanArrayAllocator.hpp.orig 2004-11-10 19:46:56.846893553 -0500
++++ xml-xalan/c/src/xalanc/PlatformSupport/XalanArrayAllocator.hpp 2004-11-10 19:47:12.901962732 -0500
+@@ -170,7 +170,7 @@
+ ListEntryType& theNewEntry = m_list.back();
+
+ // Resize the vector to the appropriate size...
+- theNewEntry.second.resize(theBlockSize, VectorType::value_type(0));
++ theNewEntry.second.resize(theBlockSize, typename VectorType::value_type(0));
+
+ // Set the number of free spaces accordingly...
+ theNewEntry.first = theBlockSize - theCount;
diff --git a/dev-libs/xalan-c/files/digest-xalan-c-1.8.0 b/dev-libs/xalan-c/files/digest-xalan-c-1.8.0
new file mode 100644
index 000000000000..bb5ed0733419
--- /dev/null
+++ b/dev-libs/xalan-c/files/digest-xalan-c-1.8.0
@@ -0,0 +1 @@
+MD5 fca5101f56608311f8121591f022bc2c Xalan-C_1_8_0-src.tar.gz 1351965
diff --git a/dev-libs/xalan-c/xalan-c-1.7.0.ebuild b/dev-libs/xalan-c/xalan-c-1.7.0.ebuild
index a5d5b1b851c5..73e482cee783 100644
--- a/dev-libs/xalan-c/xalan-c-1.7.0.ebuild
+++ b/dev-libs/xalan-c/xalan-c-1.7.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/xalan-c/xalan-c-1.7.0.ebuild,v 1.5 2004/09/08 04:26:42 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/xalan-c/xalan-c-1.7.0.ebuild,v 1.6 2004/11/11 01:17:27 vapier Exp $
inherit gcc
@@ -13,7 +13,7 @@ SRC_URI="ftp://apache.mirrors.pair.com/xml/xalan-c/Xalan-C_${MY_PV}-src.tar.gz
LICENSE="Apache-1.1"
SLOT="0"
-KEYWORDS="~x86"
+KEYWORDS="x86"
IUSE="doc"
DEPEND=">=dev-libs/xerces-c-2.4.0"
diff --git a/dev-libs/xalan-c/xalan-c-1.8.0.ebuild b/dev-libs/xalan-c/xalan-c-1.8.0.ebuild
new file mode 100644
index 000000000000..c8657a7cbe99
--- /dev/null
+++ b/dev-libs/xalan-c/xalan-c-1.8.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/xalan-c/xalan-c-1.8.0.ebuild,v 1.1 2004/11/11 01:17:27 vapier Exp $
+
+inherit toolchain-funcs eutils flag-o-matic
+
+MY_PV=${PV//./_}
+DESCRIPTION="XSLT processor for transforming XML into HTML, text, or other XML types"
+HOMEPAGE="http://xml.apache.org/xalan-c/"
+SRC_URI="ftp://apache.mirrors.pair.com/xml/xalan-c/Xalan-C_${MY_PV}-src.tar.gz
+ http://apache.mirrors.hoobly.com/xml/xalan-c/Xalan-C_${MY_PV}-src.tar.gz
+ http://www.tux.org/pub/net/apache/dist/xml/xalan-c/Xalan-C_${MY_PV}-src.tar.gz"
+
+LICENSE="Apache-1.1"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="doc"
+
+DEPEND=">=dev-libs/xerces-c-2.4.0"
+
+S=${WORKDIR}/xml-xalan/c
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${PV}-gcc34.patch
+}
+
+src_compile() {
+ export XALANCROOT=${S}
+ export XERCESCROOT="/usr/include/xercesc"
+ append-ldflags -pthread
+ ./runConfigure -p linux -c "$(tc-getCC)" -x "$(tc-getCXX)" -P /usr || die
+ emake -j1 || die
+}
+
+src_install() {
+ export XALANCROOT=${S}
+ make DESTDIR=${D} install || die
+
+ dodoc README version.incl
+ dohtml readme.html
+ if use doc ; then
+ dodir /usr/share/doc/${PF}
+ cp -r ${S}/samples ${D}/usr/share/doc/${PF}
+ find ${D}/usr/share/doc/${PF} -type d -name CVS -exec rm -rf '{}' \; >& /dev/null
+ dohtml -r doc/html
+ fi
+}