diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2010-03-18 12:59:10 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2010-03-18 12:59:10 +0000 |
commit | 4e6f694629a712b579b7871be068f954353f02af (patch) | |
tree | 906f1e16357f3de4636817537b8de2015dc14c1e /dev-libs/libxml2 | |
parent | Don't install the cdiff wrapper as it would collide with app-misc/colordiff. ... (diff) | |
download | historical-4e6f694629a712b579b7871be068f954353f02af.tar.gz historical-4e6f694629a712b579b7871be068f954353f02af.tar.bz2 historical-4e6f694629a712b579b7871be068f954353f02af.zip |
Version bump wrt #309723.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/libxml2')
-rw-r--r-- | dev-libs/libxml2/ChangeLog | 7 | ||||
-rw-r--r-- | dev-libs/libxml2/Manifest | 4 | ||||
-rw-r--r-- | dev-libs/libxml2/libxml2-2.7.7.ebuild | 137 |
3 files changed, 146 insertions, 2 deletions
diff --git a/dev-libs/libxml2/ChangeLog b/dev-libs/libxml2/ChangeLog index a045a55fc8d7..ce2928a3d969 100644 --- a/dev-libs/libxml2/ChangeLog +++ b/dev-libs/libxml2/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/libxml2 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxml2/ChangeLog,v 1.278 2010/03/18 12:42:17 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxml2/ChangeLog,v 1.279 2010/03/18 12:59:10 ssuominen Exp $ + +*libxml2-2.7.7 (18 Mar 2010) + + 18 Mar 2010; Samuli Suominen <ssuominen@gentoo.org> +libxml2-2.7.7.ebuild: + Version bump wrt #309723. 18 Mar 2010; Markos Chandras <hwoarang@gentoo.org> libxml2-2.7.6.ebuild: Stable on amd64 wrt bug #309949 diff --git a/dev-libs/libxml2/Manifest b/dev-libs/libxml2/Manifest index 77ada2360caf..6696bde6d930 100644 --- a/dev-libs/libxml2/Manifest +++ b/dev-libs/libxml2/Manifest @@ -4,10 +4,12 @@ AUX libxml2-2.7.4-parser-grow.patch 1309 RMD160 7364ec69b3929ed5976d8faf3c6cdb23 DIST libxml2-2.7.3.tar.gz 4789450 RMD160 14018347531fd135366cee9fd9d760a1988546e2 SHA1 fd4e427fb55c977876bc74c0e552ef7d3d794a07 SHA256 432464d8c9bd8060d9c1fdef1cfa75803c1a363ceac20b21f8c7e34e056e5a98 DIST libxml2-2.7.4.tar.gz 4835073 RMD160 c1d29b6b869cb07cfd78a93ac9b8dd24c2b801b1 SHA1 5db9fd452d465422f576592c9e5bcf17ce1b53a2 SHA256 f10ff01a25750913828b69625ac9d1f1f82039aa8401ca843c1d335763cbf5b1 DIST libxml2-2.7.6.tar.gz 4854591 RMD160 849ded7b61f88e75ef0dacf0e5647ce8ad951261 SHA1 b0f6bf8408e759ac4b8b9650005ee8adea911e1d SHA256 238c4f0203c012e5776522640c0fb3ac532c4064981c1ce3e74c00b75501d761 +DIST libxml2-2.7.7.tar.gz 4868502 RMD160 9f72c778c3e9e348a68eada0cf624c012658c085 SHA1 8592824a2788574a172cbddcdc72f734ff87abe3 SHA256 af5b781418ba4fff556fa43c50086658ea8a2f31909c2b625c2ce913a1d9eb68 DIST xsts-2002-01-16.tar.gz 6894439 RMD160 e8905fe1451a1c367b0104af24edca73bad1db08 SHA1 ca6344e6c47f8c28231f5b213d0c8deb0311a409 SHA256 55e5c08db29946a91ea8e70e8f2418d3fd30d8b6777941dfba7f54726ffd9914 DIST xsts-2004-01-14.tar.gz 2761085 RMD160 faff2d7826e47ae9968564bc83dab1b54c5e4bf6 SHA1 5896c2aa2cda464246306c5cf0577ed506eefaab SHA256 09bdf9f81f381ebf9bc158a9472e498e896f7a02eb7461146e9abe1b9493ca17 EBUILD libxml2-2.7.3-r2.ebuild 4457 RMD160 a88ba8bf4844dee50a72ea5f1a0d6c6a5b55f8a4 SHA1 9e55595b368a863bd7cf4b96f272f1ed0da3faf7 SHA256 f7cf9157bfd0afe55edff5365980939edf5fa07c5a9fb72cff7b196f89b809ed EBUILD libxml2-2.7.4-r1.ebuild 4090 RMD160 1bdefc83b7f4ee5573286dd5ef029901fa839028 SHA1 c0664d1e9460f53d28a33e70e58922cba968dafa SHA256 afbedea3fa670e227c5587c39675de3f27c3de517318c3c05db04b1245d2683f EBUILD libxml2-2.7.6.ebuild 3943 RMD160 03ec10425165225f4a9c7588df131983dc074971 SHA1 dc36c24e9e20ac118c53eccc0e1a18400461832b SHA256 118808888a8451a3b6de525740de1d396379364172c6c1a235111589f399d97a -MISC ChangeLog 37440 RMD160 707e64bfa8bb593f87d8652e8a3a099a267be8af SHA1 ae7c8442e6e8ae9f13a19a2e2a5d5a566a437900 SHA256 4663e6667d42dfd730ef065862622c9e86f0a321ff76a1c3bd73fff56b70cab1 +EBUILD libxml2-2.7.7.ebuild 3912 RMD160 e4465acb37d9471a4c50b5a1bf4082c0b68dffb3 SHA1 468d671c5ac4582b14e65da37be3440598cb7efc SHA256 99917b6ee8a738f8dce4370bab81f4d1cc552c1c4dcea928c482d708c587be60 +MISC ChangeLog 37577 RMD160 97ac20518c185fe5fe150c94f1bce8f07ef10969 SHA1 cef95d58257bf1f642add5e935ef86f350bd67bd SHA256 7526bdf23d6539115bd28d4a3c800ec2dda8bee4104e4a1929c955972fc28f8b MISC metadata.xml 158 RMD160 c0e2bae8e91bb6be8922bac5e4f597302e06587e SHA1 38f78e9790bcd4382b4a49aa226aa6dda1d3a3d7 SHA256 3a7dbca0fdc557de69783e0663e2d76ddab129ea8a19b2d0ef6d3e5d1b947ce1 diff --git a/dev-libs/libxml2/libxml2-2.7.7.ebuild b/dev-libs/libxml2/libxml2-2.7.7.ebuild new file mode 100644 index 000000000000..879f1b19136f --- /dev/null +++ b/dev-libs/libxml2/libxml2-2.7.7.ebuild @@ -0,0 +1,137 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxml2/libxml2-2.7.7.ebuild,v 1.1 2010/03/18 12:59:10 ssuominen Exp $ + +EAPI="2" + +inherit libtool flag-o-matic eutils python + +DESCRIPTION="Version 2 of the library to manipulate XML files" +HOMEPAGE="http://www.xmlsoft.org/" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" +IUSE="debug doc examples ipv6 python readline test" + +XSTS_HOME="http://www.w3.org/XML/2004/xml-schema-test-suite" +XSTS_NAME_1="xmlschema2002-01-16" +XSTS_NAME_2="xmlschema2004-01-14" +XSTS_TARBALL_1="xsts-2002-01-16.tar.gz" +XSTS_TARBALL_2="xsts-2004-01-14.tar.gz" + +SRC_URI="ftp://xmlsoft.org/${PN}/${P}.tar.gz + test? ( + ${XSTS_HOME}/${XSTS_NAME_1}/${XSTS_TARBALL_1} + ${XSTS_HOME}/${XSTS_NAME_2}/${XSTS_TARBALL_2} )" + +RDEPEND="sys-libs/zlib + python? ( <dev-lang/python-3 ) + readline? ( sys-libs/readline )" + +DEPEND="${RDEPEND} + hppa? ( >=sys-devel/binutils-2.15.92.0.2 )" + +src_unpack() { + # ${A} isn't used to avoid unpacking of test tarballs into $WORKDIR, + # as they are needed as tarballs in ${S}/xstc instead and not unpacked + unpack ${P}.tar.gz + cd "${S}" + + if use test; then + cp "${DISTDIR}/${XSTS_TARBALL_1}" \ + "${DISTDIR}/${XSTS_TARBALL_2}" \ + "${S}"/xstc/ \ + || die "Failed to install test tarballs" + fi +} + +src_prepare() { + epunt_cxx + + # Please do not remove, as else we get references to PORTAGE_TMPDIR + # in /usr/lib/python?.?/site-packages/libxml2mod.la among things. + elibtoolize +} + +src_configure() { + # USE zlib support breaks gnome2 + # (libgnomeprint for instance fails to compile with + # fresh install, and existing) - <azarah@gentoo.org> (22 Dec 2002). + + # The meaning of the 'debug' USE flag does not apply to the --with-debug + # switch (enabling the libxml2 debug module). See bug #100898. + + # --with-mem-debug causes unusual segmentation faults (bug #105120). + + local myconf="--with-zlib + --with-html-subdir=${PF}/html + --docdir=/usr/share/doc/${PF} + $(use_with debug run-debug) + $(use_with python) + $(use_with readline) + $(use_with readline history) + $(use_enable ipv6) + PYTHON_SITE_PACKAGES=$(python_get_sitedir)" + + # filter seemingly problematic CFLAGS (#26320) + filter-flags -fprefetch-loop-arrays -funroll-loops + + econf ${myconf} +} + +src_install() { + emake DESTDIR="${D}" \ + EXAMPLES_DIR=/usr/share/doc/${PF}/examples \ + docsdir=/usr/share/doc/${PF}/python \ + exampledir=/usr/share/doc/${PF}/python/examples \ + install || die "Installation failed" + + rm -rf "${D}"/usr/share/doc/${P} + dodoc AUTHORS ChangeLog Copyright NEWS README* TODO* || die "dodoc failed" + + if ! use python; then + rm -rf "${D}"/usr/share/doc/${PF}/python + rm -rf "${D}"/usr/share/doc/${PN}-python-${PV} + fi + + if ! use doc; then + rm -rf "${D}"/usr/share/gtk-doc + rm -rf "${D}"/usr/share/doc/${PF}/html + fi + + if ! use examples; then + rm -rf "${D}/usr/share/doc/${PF}/examples" + rm -rf "${D}/usr/share/doc/${PF}/python/examples" + fi +} + +pkg_postinst() { + if use python; then + python_need_rebuild + python_mod_optimize $(python_get_sitedir) + fi + + # We don't want to do the xmlcatalog during stage1, as xmlcatalog will not + # be in / and stage1 builds to ROOT=/tmp/stage1root. This fixes bug #208887. + if [ "${ROOT}" != "/" ] + then + elog "Skipping XML catalog creation for stage building (bug #208887)." + else + # need an XML catalog, so no-one writes to a non-existent one + CATALOG="${ROOT}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 "${ROOT}etc/xml" ] || mkdir -p "${ROOT}etc/xml" + /usr/bin/xmlcatalog --create > ${CATALOG} + einfo "Created XML catalog in ${CATALOG}" + fi + fi +} + +pkg_postrm() { + python_mod_cleanup /usr/$(get_libdir)/python*/site-packages +} |