From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libxml2/
Date: Sat, 7 Dec 2024 02:33:46 +0000 (UTC) [thread overview]
Message-ID: <1733538642.7b135c3ba365ff21f142c7a159b36b4474f8b865.sam@gentoo> (raw)
commit: 7b135c3ba365ff21f142c7a159b36b4474f8b865
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 7 02:30:42 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Dec 7 02:30:42 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b135c3b
dev-libs/libxml2: drop 2.12.7, 2.13.1, 2.13.4
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-libs/libxml2/Manifest | 3 -
dev-libs/libxml2/libxml2-2.12.7.ebuild | 196 ---------------------------------
dev-libs/libxml2/libxml2-2.13.1.ebuild | 187 -------------------------------
dev-libs/libxml2/libxml2-2.13.4.ebuild | 190 --------------------------------
4 files changed, 576 deletions(-)
diff --git a/dev-libs/libxml2/Manifest b/dev-libs/libxml2/Manifest
index c8251f4b5d4d..4c1b306daea8 100644
--- a/dev-libs/libxml2/Manifest
+++ b/dev-libs/libxml2/Manifest
@@ -1,10 +1,7 @@
DIST libxml2-2.11.8.tar.xz 2628212 BLAKE2B 7a9f62b9e6628e71462b0ae2a43947e398c8b948d57280ee5ac64a7cd0a13d39aa4cc55148421f999e5a04e19ca1ae2cb84884f85f3e22559cb45d8a7fca7d45 SHA512 b8c38365172b9f46e2da4dd696f5df4f917d05cc33456079d3d042578543c0f951da207361958ba8699a9f7256889f063737ba80dba8bb9720c8434be1ca723f
DIST libxml2-2.11.9.tar.xz 2627500 BLAKE2B 3ecab5df9017673f31e8bbf737273d72cb4475c3a6f0d0669e7f074b0e4d378460df2e175fe4991c675d8462a2e4d4607c151ed11937a0c8a3a4e81107102f67 SHA512 d5c34ed56525f4c6b61d7055fe4219d7a3337077b4fb27081682e9f8350f1542b4476ac42f2754e590b371a4d9a00921cebf20c10b299371b05b8391e7fa7c33
-DIST libxml2-2.12.7.tar.xz 2641980 BLAKE2B 19abc2a7824212b1de3ceb1e8e3bbb39cb5feb31f8f6e1b1701a8255f34aadbbd01631e8011fd1207d2e711372a893034a99cb4aaa779a1df22d49d339dbfc76 SHA512 88b5f3e0a7c6704926e662a46ba0606d901efbcd70a36bd39fe034e29ee42d66d7296358761e04272c9696192a1380bda55852b2a0b14a05a7a083a08e125f5f
DIST libxml2-2.12.8.tar.xz 2643728 BLAKE2B d26fe61e913e73c923eb8140a9080d6b70078ce45e94fe61d1ca1b8919d5b86feb7f14156f5a8b06ea06a03a96a242ce3a32e8d61169cfa8bde587888438627b SHA512 59baac9a82a734045112be6da12bbbe80a71575145424c2225e4bd9f8d54e53c674dcbc9576eb55f646632335702e7f0b1928f96a851159ace9b26f677fd3d77
DIST libxml2-2.12.9.tar.xz 2643456 BLAKE2B 769ff564e62c1c0167e5334879ac9e912491c651b6d48a9d21db569002ae86bc4e4490098710a614bc90bbefc44a9dd0af6b02958041dd3bffccf8b5ddc0f7ca SHA512 6e4544ed3ab36d6cb7481d465ceabf223444739d7f41de3e1927309b8716a5eac85520b9bbaf69913f53e052fbfaf68bf27372074daaa24dca9463ce728b4173
-DIST libxml2-2.13.1.tar.xz 2579424 BLAKE2B 93cbd3943b0a7a7a07036a3ce01740c37049b44c20f43aaee96ef9a36e86bc108914950d7532740be87995b8eb5c1e6fbb4464c6af0a20233c8a1a206b9a5b83 SHA512 28d280eb5e2f3af9df5adcccced730602e6951fd181b8d00256dbb2138abfe32a4b145fdc00ed8c77a6d322e0929bcb3d5128ad4622877d7f8a059d4b6e011a6
-DIST libxml2-2.13.4.tar.xz 2582156 BLAKE2B 6b143fb192625bb1168ecb1e25295761a062923018b39bcabeae07f422c9bb6c7f11e7de8ce728c0d474271407e0777b9e2e5ad30b47e79b9fb79c12beaadf1c SHA512 27bfaa63431798d3aa725b36af2005bda70a20b270e601cc3c8a07cc9fd02a080cb3d2b023eb42606a57b9786469488a7c09b71bdff1a518a0b4271c78c3f940
DIST libxml2-2.13.5.tar.xz 2586872 BLAKE2B 46c280630638e2c8009c593bbbcf90ccbfffe9ddcc99987c4d91c2223043759f2b4d6511b31b2357c5250ac3b40d96ef05c17b4d2adc61972665f8a0d899dfe8 SHA512 acaecd4e3e95136d1c621f9e5f33976ebca87dfbf83859459e339597c3c57fbc47508a7de16af7fbf0e7e7c59fd6f9a82b2e732e1dd12efd79d666bac64ecf4e
DIST xmlts20130923.tar.gz 641522 BLAKE2B 63a47bc69278ef510cd0b3779aed729e1b309e30efa0015d28ed051cc03f9dfddb447ab57b07b3393e8f47393d15473b0e199c34cb1f5f746b15ddfaa55670be SHA512 d5c4d26b324ed21f4e0641cd7f8b76dbf9de80df8b519982e44d41c960df29fd03618e02e9693b2d11ad06d19c4a965274c95a048ec3b9653eacb919a7f8b733
DIST xsts-2002-01-16.tar.gz 6894439 BLAKE2B 1e9ec63d2c104655e64249e07440a04d862fcbcd4d4e19745d81b34994319b510a531c9d6df1491fae1e90b5d0764f0f1a827251ca8df5d613178b0eab01ef25 SHA512 43300af6d39c1e2221b0ed7318fe14c7464eeb6eb030ed1e22eb29b4ab17f014e2a4c8887c3a46ae5d243e3072da27f00f4e285498ae6f1288177d38d1108288
diff --git a/dev-libs/libxml2/libxml2-2.12.7.ebuild b/dev-libs/libxml2/libxml2-2.12.7.ebuild
deleted file mode 100644
index ce389d00577f..000000000000
--- a/dev-libs/libxml2/libxml2-2.12.7.ebuild
+++ /dev/null
@@ -1,196 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# Note: Please bump in sync with dev-libs/libxslt
-
-PYTHON_COMPAT=( python3_{10..12} )
-PYTHON_REQ_USE="xml(+)"
-inherit flag-o-matic python-r1 multilib-minimal
-
-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"
-XMLCONF_TARBALL="xmlts20130923.tar.gz"
-
-DESCRIPTION="XML C parser and toolkit"
-HOMEPAGE="https://gitlab.gnome.org/GNOME/libxml2/-/wikis/home"
-if [[ ${PV} == 9999 ]] ; then
- EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/libxml2"
- inherit autotools git-r3
-else
- inherit gnome.org libtool
- KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
-fi
-
-SRC_URI+="
- test? (
- ${XSTS_HOME}/${XSTS_NAME_1}/${XSTS_TARBALL_1}
- ${XSTS_HOME}/${XSTS_NAME_2}/${XSTS_TARBALL_2}
- https://www.w3.org/XML/Test/${XMLCONF_TARBALL}
- )
-"
-S="${WORKDIR}/${PN}-${PV%_rc*}"
-
-LICENSE="MIT"
-SLOT="2"
-IUSE="debug examples +ftp icu lzma +python readline static-libs test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="
- virtual/libiconv
- >=sys-libs/zlib-1.2.8-r1:=[${MULTILIB_USEDEP}]
- icu? ( >=dev-libs/icu-51.2-r1:=[${MULTILIB_USEDEP}] )
- lzma? ( >=app-arch/xz-utils-5.0.5-r1:=[${MULTILIB_USEDEP}] )
- python? ( ${PYTHON_DEPS} )
- readline? ( sys-libs/readline:= )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-if [[ ${PV} == 9999 ]] ; then
- BDEPEND+=" dev-build/gtk-doc-am"
-fi
-
-MULTILIB_CHOST_TOOLS=(
- /usr/bin/xml2-config
-)
-
-src_unpack() {
- if [[ ${PV} == 9999 ]] ; then
- git-r3_src_unpack
- else
- local tarname=${P/_rc/-rc}.tar.xz
-
- # ${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 ${tarname}
-
- if [[ -n ${PATCHSET_VERSION} ]] ; then
- unpack ${PN}-${PATCHSET_VERSION}.tar.xz
- fi
- fi
-
- cd "${S}" || die
-
- if use test ; then
- cp "${DISTDIR}/${XSTS_TARBALL_1}" \
- "${DISTDIR}/${XSTS_TARBALL_2}" \
- "${S}"/xstc/ \
- || die "Failed to install test tarballs"
- unpack ${XMLCONF_TARBALL}
- fi
-}
-
-src_prepare() {
- default
-
- if [[ ${PV} == 9999 ]] ; then
- eautoreconf
- else
- # Please do not remove, as else we get references to PORTAGE_TMPDIR
- # in /usr/lib/python?.?/site-packages/libxml2mod.la among things.
- elibtoolize
- fi
-}
-
-multilib_src_configure() {
- # Filter seemingly problematic CFLAGS (bug #26320)
- filter-flags -fprefetch-loop-arrays -funroll-loops
-
- # Notes:
- # The meaning of the 'debug' USE flag does not apply to the --with-debug
- # switch (enabling the libxml2 debug module). See bug #100898.
- libxml2_configure() {
- ECONF_SOURCE="${S}" econf \
- --enable-ipv6 \
- $(use_with ftp) \
- $(use_with debug run-debug) \
- $(use_with icu) \
- $(use_with lzma) \
- $(use_enable static-libs static) \
- $(multilib_native_use_with readline) \
- $(multilib_native_use_with readline history) \
- "$@"
- }
-
- # Build python bindings separately
- libxml2_configure --without-python
-
- multilib_is_native_abi && use python &&
- python_foreach_impl run_in_build_dir libxml2_configure --with-python
-}
-
-libxml2_py_emake() {
- pushd "${BUILD_DIR}"/python >/dev/null || die
-
- emake top_builddir="${NATIVE_BUILD_DIR}" "$@"
-
- popd >/dev/null || die
-}
-
-multilib_src_compile() {
- default
-
- if multilib_is_native_abi && use python ; then
- NATIVE_BUILD_DIR="${BUILD_DIR}"
- python_foreach_impl run_in_build_dir libxml2_py_emake all
- fi
-}
-
-multilib_src_test() {
- ln -s "${S}"/xmlconf || die
-
- emake check
-
- multilib_is_native_abi && use python &&
- python_foreach_impl run_in_build_dir libxml2_py_emake check
-}
-
-multilib_src_install() {
- emake DESTDIR="${D}" install
-
- multilib_is_native_abi && use python &&
- python_foreach_impl run_in_build_dir libxml2_py_emake DESTDIR="${D}" install
-
- # Hack until automake release is made for the optimise fix
- # https://git.savannah.gnu.org/cgit/automake.git/commit/?id=bde43d0481ff540418271ac37012a574a4fcf097
- multilib_is_native_abi && use python && python_foreach_impl python_optimize
-}
-
-multilib_src_install_all() {
- einstalldocs
-
- if ! use examples ; then
- rm -rf "${ED}"/usr/share/doc/${PF}/examples || die
- rm -rf "${ED}"/usr/share/doc/${PF}/python/examples || die
- fi
-
- rm -rf "${ED}"/usr/share/doc/${PN}-python-${PVR} || die
-
- find "${ED}" -name '*.la' -delete || die
-}
-
-pkg_postinst() {
- # 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 [[ -n "${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="${EROOT}/etc/xml/catalog"
-
- # We don't want to clobber an existing catalog though,
- # only ensure that one is there
- # <obz@gentoo.org>
- if [[ ! -e "${CATALOG}" ]]; then
- [[ -d "${EROOT}/etc/xml" ]] || mkdir -p "${EROOT}/etc/xml"
- "${EPREFIX}"/usr/bin/xmlcatalog --create > "${CATALOG}"
- einfo "Created XML catalog in ${CATALOG}"
- fi
- fi
-}
diff --git a/dev-libs/libxml2/libxml2-2.13.1.ebuild b/dev-libs/libxml2/libxml2-2.13.1.ebuild
deleted file mode 100644
index 72ad49334241..000000000000
--- a/dev-libs/libxml2/libxml2-2.13.1.ebuild
+++ /dev/null
@@ -1,187 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# Note: Please bump in sync with dev-libs/libxslt
-
-PYTHON_COMPAT=( python3_{10..13} )
-PYTHON_REQ_USE="xml(+)"
-inherit python-r1 multilib-minimal
-
-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"
-XMLCONF_TARBALL="xmlts20130923.tar.gz"
-
-DESCRIPTION="XML C parser and toolkit"
-HOMEPAGE="https://gitlab.gnome.org/GNOME/libxml2/-/wikis/home"
-if [[ ${PV} == 9999 ]] ; then
- EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/libxml2"
- inherit autotools git-r3
-else
- inherit gnome.org libtool
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
-fi
-
-SRC_URI+="
- test? (
- ${XSTS_HOME}/${XSTS_NAME_1}/${XSTS_TARBALL_1}
- ${XSTS_HOME}/${XSTS_NAME_2}/${XSTS_TARBALL_2}
- https://www.w3.org/XML/Test/${XMLCONF_TARBALL}
- )
-"
-S="${WORKDIR}/${PN}-${PV%_rc*}"
-
-LICENSE="MIT"
-SLOT="2"
-IUSE="examples icu lzma +python readline static-libs test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="
- virtual/libiconv
- >=sys-libs/zlib-1.2.8-r1:=[${MULTILIB_USEDEP}]
- icu? ( >=dev-libs/icu-51.2-r1:=[${MULTILIB_USEDEP}] )
- lzma? ( >=app-arch/xz-utils-5.0.5-r1:=[${MULTILIB_USEDEP}] )
- python? ( ${PYTHON_DEPS} )
- readline? ( sys-libs/readline:= )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-if [[ ${PV} == 9999 ]] ; then
- BDEPEND+=" dev-build/gtk-doc-am"
-fi
-
-MULTILIB_CHOST_TOOLS=(
- /usr/bin/xml2-config
-)
-
-src_unpack() {
- if [[ ${PV} == 9999 ]] ; then
- git-r3_src_unpack
- else
- local tarname=${P/_rc/-rc}.tar.xz
-
- # ${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 ${tarname}
-
- if [[ -n ${PATCHSET_VERSION} ]] ; then
- unpack ${PN}-${PATCHSET_VERSION}.tar.xz
- fi
- fi
-
- cd "${S}" || die
-
- if use test ; then
- cp "${DISTDIR}/${XSTS_TARBALL_1}" \
- "${DISTDIR}/${XSTS_TARBALL_2}" \
- "${S}"/xstc/ \
- || die "Failed to install test tarballs"
- unpack ${XMLCONF_TARBALL}
- fi
-}
-
-src_prepare() {
- default
-
- if [[ ${PV} == 9999 ]] ; then
- eautoreconf
- else
- # Please do not remove, as else we get references to PORTAGE_TMPDIR
- # in /usr/lib/python?.?/site-packages/libxml2mod.la among things.
- elibtoolize
- fi
-}
-
-multilib_src_configure() {
- libxml2_configure() {
- ECONF_SOURCE="${S}" econf \
- $(use_with icu) \
- $(use_with lzma) \
- $(use_enable static-libs static) \
- $(multilib_native_use_with readline) \
- $(multilib_native_use_with readline history) \
- "$@"
- }
-
- # Build python bindings separately
- libxml2_configure --without-python
-
- multilib_is_native_abi && use python &&
- python_foreach_impl run_in_build_dir libxml2_configure --with-python
-}
-
-libxml2_py_emake() {
- pushd "${BUILD_DIR}"/python >/dev/null || die
-
- emake top_builddir="${NATIVE_BUILD_DIR}" "$@"
-
- popd >/dev/null || die
-}
-
-multilib_src_compile() {
- default
-
- if multilib_is_native_abi && use python ; then
- NATIVE_BUILD_DIR="${BUILD_DIR}"
- python_foreach_impl run_in_build_dir libxml2_py_emake all
- fi
-}
-
-multilib_src_test() {
- ln -s "${S}"/xmlconf || die
-
- emake check
-
- multilib_is_native_abi && use python &&
- python_foreach_impl run_in_build_dir libxml2_py_emake check
-}
-
-multilib_src_install() {
- emake DESTDIR="${D}" install
-
- multilib_is_native_abi && use python &&
- python_foreach_impl run_in_build_dir libxml2_py_emake DESTDIR="${D}" install
-
- # Hack until automake release is made for the optimise fix
- # https://git.savannah.gnu.org/cgit/automake.git/commit/?id=bde43d0481ff540418271ac37012a574a4fcf097
- multilib_is_native_abi && use python && python_foreach_impl python_optimize
-}
-
-multilib_src_install_all() {
- einstalldocs
-
- if ! use examples ; then
- rm -rf "${ED}"/usr/share/doc/${PF}/examples || die
- rm -rf "${ED}"/usr/share/doc/${PF}/python/examples || die
- fi
-
- rm -rf "${ED}"/usr/share/doc/${PN}-python-${PVR} || die
-
- find "${ED}" -name '*.la' -delete || die
-}
-
-pkg_postinst() {
- # 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 [[ -n "${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="${EROOT}/etc/xml/catalog"
-
- # We don't want to clobber an existing catalog though,
- # only ensure that one is there
- # <obz@gentoo.org>
- if [[ ! -e "${CATALOG}" ]]; then
- [[ -d "${EROOT}/etc/xml" ]] || mkdir -p "${EROOT}/etc/xml"
- "${EPREFIX}"/usr/bin/xmlcatalog --create > "${CATALOG}"
- einfo "Created XML catalog in ${CATALOG}"
- fi
- fi
-}
diff --git a/dev-libs/libxml2/libxml2-2.13.4.ebuild b/dev-libs/libxml2/libxml2-2.13.4.ebuild
deleted file mode 100644
index e27b1966092f..000000000000
--- a/dev-libs/libxml2/libxml2-2.13.4.ebuild
+++ /dev/null
@@ -1,190 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# Note: Please bump in sync with dev-libs/libxslt
-
-PYTHON_COMPAT=( python3_{10..13} )
-PYTHON_REQ_USE="xml(+)"
-inherit autotools python-r1 multilib-minimal
-
-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"
-XMLCONF_TARBALL="xmlts20130923.tar.gz"
-
-DESCRIPTION="XML C parser and toolkit"
-HOMEPAGE="https://gitlab.gnome.org/GNOME/libxml2/-/wikis/home"
-if [[ ${PV} == 9999 ]] ; then
- EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/libxml2"
- inherit git-r3
-else
- inherit gnome.org
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
-fi
-
-SRC_URI+="
- test? (
- ${XSTS_HOME}/${XSTS_NAME_1}/${XSTS_TARBALL_1}
- ${XSTS_HOME}/${XSTS_NAME_2}/${XSTS_TARBALL_2}
- https://www.w3.org/XML/Test/${XMLCONF_TARBALL}
- )
-"
-S="${WORKDIR}/${PN}-${PV%_rc*}"
-
-LICENSE="MIT"
-SLOT="2"
-IUSE="examples icu lzma +python readline static-libs test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="
- virtual/libiconv
- >=sys-libs/zlib-1.2.8-r1:=[${MULTILIB_USEDEP}]
- icu? ( >=dev-libs/icu-51.2-r1:=[${MULTILIB_USEDEP}] )
- lzma? ( >=app-arch/xz-utils-5.0.5-r1:=[${MULTILIB_USEDEP}] )
- python? ( ${PYTHON_DEPS} )
- readline? ( sys-libs/readline:= )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-if [[ ${PV} == 9999 ]] ; then
- BDEPEND+=" dev-build/gtk-doc-am"
-fi
-
-MULTILIB_CHOST_TOOLS=(
- /usr/bin/xml2-config
-)
-
-PATCHES=(
- "${FILESDIR}"/${PN}-2.12.9-icu-pkgconfig.patch
-)
-
-src_unpack() {
- if [[ ${PV} == 9999 ]] ; then
- git-r3_src_unpack
- else
- local tarname=${P/_rc/-rc}.tar.xz
-
- # ${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 ${tarname}
-
- if [[ -n ${PATCHSET_VERSION} ]] ; then
- unpack ${PN}-${PATCHSET_VERSION}.tar.xz
- fi
- fi
-
- cd "${S}" || die
-
- if use test ; then
- cp "${DISTDIR}/${XSTS_TARBALL_1}" \
- "${DISTDIR}/${XSTS_TARBALL_2}" \
- "${S}"/xstc/ \
- || die "Failed to install test tarballs"
- unpack ${XMLCONF_TARBALL}
- fi
-}
-
-src_prepare() {
- default
-
- # Please do not remove, as else we get references to PORTAGE_TMPDIR
- # in /usr/lib/python?.?/site-packages/libxml2mod.la among things.
- #elibtoolize
-
- eautoreconf
-}
-
-multilib_src_configure() {
- libxml2_configure() {
- ECONF_SOURCE="${S}" econf \
- $(use_with icu) \
- $(use_with lzma) \
- $(use_enable static-libs static) \
- $(multilib_native_use_with readline) \
- $(multilib_native_use_with readline history) \
- --with-legacy \
- "$@"
- }
-
- # Build python bindings separately
- libxml2_configure --without-python
-
- multilib_is_native_abi && use python &&
- python_foreach_impl run_in_build_dir libxml2_configure --with-python
-}
-
-libxml2_py_emake() {
- pushd "${BUILD_DIR}"/python >/dev/null || die
-
- emake top_builddir="${NATIVE_BUILD_DIR}" "$@"
-
- popd >/dev/null || die
-}
-
-multilib_src_compile() {
- default
-
- if multilib_is_native_abi && use python ; then
- NATIVE_BUILD_DIR="${BUILD_DIR}"
- python_foreach_impl run_in_build_dir libxml2_py_emake all
- fi
-}
-
-multilib_src_test() {
- ln -s "${S}"/xmlconf || die
-
- emake check
-
- multilib_is_native_abi && use python &&
- python_foreach_impl run_in_build_dir libxml2_py_emake check
-}
-
-multilib_src_install() {
- emake DESTDIR="${D}" install
-
- multilib_is_native_abi && use python &&
- python_foreach_impl run_in_build_dir libxml2_py_emake DESTDIR="${D}" install
-
- # Hack until automake release is made for the optimise fix
- # https://git.savannah.gnu.org/cgit/automake.git/commit/?id=bde43d0481ff540418271ac37012a574a4fcf097
- multilib_is_native_abi && use python && python_foreach_impl python_optimize
-}
-
-multilib_src_install_all() {
- einstalldocs
-
- if ! use examples ; then
- rm -rf "${ED}"/usr/share/doc/${PF}/examples || die
- rm -rf "${ED}"/usr/share/doc/${PF}/python/examples || die
- fi
-
- rm -rf "${ED}"/usr/share/doc/${PN}-python-${PVR} || die
-
- find "${ED}" -name '*.la' -delete || die
-}
-
-pkg_postinst() {
- # 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 [[ -n "${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="${EROOT}/etc/xml/catalog"
-
- # We don't want to clobber an existing catalog though,
- # only ensure that one is there
- # <obz@gentoo.org>
- if [[ ! -e "${CATALOG}" ]]; then
- [[ -d "${EROOT}/etc/xml" ]] || mkdir -p "${EROOT}/etc/xml"
- "${EPREFIX}"/usr/bin/xmlcatalog --create > "${CATALOG}"
- einfo "Created XML catalog in ${CATALOG}"
- fi
- fi
-}
next reply other threads:[~2024-12-07 2:33 UTC|newest]
Thread overview: 375+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-07 2:33 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-25 3:40 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libxml2/ Matt Turner
2024-12-31 18:52 Sam James
2024-12-14 19:30 Arthur Zamarin
2024-12-09 20:04 Arthur Zamarin
2024-12-09 19:39 Arthur Zamarin
2024-12-07 20:11 Sam James
2024-12-07 20:11 Sam James
2024-12-07 2:55 Sam James
2024-12-07 2:55 Sam James
2024-12-07 2:55 Sam James
2024-12-07 2:55 Sam James
2024-12-07 2:55 Sam James
2024-12-07 2:55 Sam James
2024-12-07 2:55 Sam James
2024-12-07 2:55 Sam James
2024-11-13 17:37 Sam James
2024-11-13 1:57 Sam James
2024-11-10 21:31 Sam James
2024-11-10 21:31 Sam James
2024-11-10 21:11 Sam James
2024-10-30 15:46 Arthur Zamarin
2024-10-29 2:45 Sam James
2024-10-29 2:45 Sam James
2024-10-29 1:15 Sam James
2024-10-29 1:15 Sam James
2024-10-29 1:13 Sam James
2024-10-05 7:28 Sam James
2024-07-06 15:54 Michał Górny
2024-07-04 0:29 Sam James
2024-06-25 6:43 Sam James
2024-06-25 6:43 Sam James
2024-06-25 6:43 Sam James
2024-06-25 4:48 Sam James
2024-06-25 4:48 Sam James
2024-06-25 4:41 Sam James
2024-06-25 4:41 Sam James
2024-06-25 4:41 Sam James
2024-06-25 4:41 Sam James
2024-06-25 4:10 Sam James
2024-06-25 4:10 Sam James
2024-06-25 4:07 Sam James
2024-06-24 0:13 Sam James
2024-06-24 0:13 Sam James
2024-06-24 0:13 Sam James
2024-06-24 0:13 Sam James
2024-06-16 11:38 Sam James
2024-05-21 6:22 Arthur Zamarin
2024-05-16 2:33 Sam James
2024-05-16 2:33 Sam James
2024-04-29 5:50 Sam James
2024-04-29 5:48 Sam James
2024-04-29 5:48 Sam James
2024-03-16 9:51 Sam James
2024-03-04 11:13 Sam James
2024-02-08 7:44 Sam James
2024-02-06 19:29 Sam James
2024-02-06 19:29 Sam James
2024-02-06 19:29 Sam James
2024-02-05 14:31 Sam James
2024-02-05 14:31 Sam James
2024-02-05 14:31 Sam James
2024-02-05 14:31 Sam James
2024-02-05 14:31 Sam James
2024-02-05 14:31 Sam James
2024-02-05 14:31 Sam James
2024-02-05 14:31 Sam James
2024-02-05 12:44 Sam James
2024-02-05 12:44 Sam James
2024-02-05 12:44 Sam James
2024-02-05 12:44 Sam James
2024-02-05 3:56 Sam James
2024-02-05 3:56 Sam James
2024-01-27 8:59 Sam James
2024-01-27 8:59 Sam James
2024-01-27 8:59 Sam James
2024-01-27 8:59 Sam James
2024-01-27 8:59 Sam James
2024-01-27 8:59 Sam James
2024-01-27 8:59 Sam James
2024-01-19 23:08 Ionen Wolkens
2024-01-16 3:19 Sam James
2024-01-16 3:19 Sam James
2024-01-12 11:23 Sam James
2023-12-28 3:43 Sam James
2023-12-28 3:43 Sam James
2023-12-20 2:34 Ionen Wolkens
2023-12-20 2:34 Ionen Wolkens
2023-12-20 2:34 Ionen Wolkens
2023-12-20 2:34 Ionen Wolkens
2023-12-15 3:26 Ionen Wolkens
2023-12-13 4:04 Sam James
2023-12-06 9:58 Sam James
2023-12-06 9:58 Sam James
2023-11-25 4:57 Sam James
2023-11-24 23:14 Sam James
2023-11-17 12:07 Sam James
2023-11-17 12:07 Sam James
2023-10-08 4:48 Sam James
2023-10-03 14:15 Sam James
2023-09-28 4:21 Sam James
2023-09-27 5:17 Sam James
2023-09-27 4:49 Sam James
2023-09-27 4:46 Sam James
2023-08-10 3:22 Sam James
2023-08-03 6:02 Arthur Zamarin
2023-07-09 11:03 Arthur Zamarin
2023-07-09 11:03 Arthur Zamarin
2023-07-09 9:01 Sam James
2023-07-09 9:01 Sam James
2023-07-09 9:01 Sam James
2023-07-09 9:01 Sam James
2023-05-26 6:56 Fabian Groffen
2023-05-25 4:32 Sam James
2023-05-24 10:25 Fabian Groffen
2023-05-23 10:34 Sam James
2023-05-20 5:42 Sam James
2023-05-19 0:30 Sam James
2023-05-11 20:27 Sam James
2023-05-11 20:27 Sam James
2023-05-10 19:45 Sam James
2023-05-10 19:45 Sam James
2023-05-06 8:28 Sam James
2023-05-02 17:46 Arthur Zamarin
2023-05-01 9:59 Arthur Zamarin
2023-05-01 8:36 Arthur Zamarin
2023-05-01 7:23 Sam James
2023-05-01 7:23 Sam James
2023-05-01 7:15 Arthur Zamarin
2023-05-01 6:27 Sam James
2023-05-01 6:27 Sam James
2023-05-01 6:27 Sam James
2023-05-01 6:20 Sam James
2023-04-12 1:50 Sam James
2023-01-14 19:17 Sam James
2022-11-01 21:35 John Helmert III
2022-10-29 21:32 Sam James
2022-10-29 12:08 Sam James
2022-10-29 5:45 Arthur Zamarin
2022-10-28 20:46 Sam James
2022-10-28 20:44 Sam James
2022-10-28 20:44 Sam James
2022-10-28 20:44 Sam James
2022-10-28 20:44 Sam James
2022-10-28 20:33 Sam James
2022-10-14 19:04 Sam James
2022-10-09 8:53 Agostino Sarubbo
2022-10-09 8:52 Agostino Sarubbo
2022-10-09 8:50 Agostino Sarubbo
2022-10-09 8:49 Agostino Sarubbo
2022-10-09 5:22 Arthur Zamarin
2022-10-09 5:22 Arthur Zamarin
2022-10-08 23:10 Sam James
2022-10-08 23:10 Sam James
2022-08-29 15:36 Sam James
2022-08-29 15:36 Sam James
2022-08-26 5:08 Sam James
2022-08-20 5:12 Sam James
2022-08-18 3:10 Sam James
2022-05-31 9:37 Sam James
2022-05-24 10:07 Agostino Sarubbo
2022-05-23 21:02 Jakov Smolić
2022-05-23 21:02 Jakov Smolić
2022-05-23 21:00 Jakov Smolić
2022-05-23 19:49 Jakov Smolić
2022-05-23 19:49 Jakov Smolić
2022-05-23 19:49 Jakov Smolić
2022-05-23 19:49 Jakov Smolić
2022-05-03 1:12 Sam James
2022-04-17 16:44 Sam James
2022-04-02 3:45 Sam James
2022-04-02 3:44 Sam James
2022-04-02 3:44 Sam James
2022-03-13 1:19 Sam James
2022-03-07 1:03 Sam James
2022-03-06 8:03 Sam James
2022-03-03 15:14 Sam James
2022-03-02 9:07 Agostino Sarubbo
2022-03-02 6:52 Agostino Sarubbo
2022-03-02 6:50 Agostino Sarubbo
2022-03-02 6:49 Agostino Sarubbo
2022-02-21 2:00 Sam James
2022-02-21 1:13 Sam James
2022-02-18 2:44 Sam James
2021-09-25 9:03 Jakov Smolić
2021-09-24 16:55 Arthur Zamarin
2021-09-24 7:23 Jakov Smolić
2021-08-23 22:16 Agostino Sarubbo
2021-08-23 10:47 Agostino Sarubbo
2021-08-23 10:46 Agostino Sarubbo
2021-08-23 5:35 Sam James
2021-08-23 0:40 Sam James
2021-08-23 0:39 Sam James
2021-08-23 0:39 Sam James
2021-08-03 21:57 Sam James
2021-08-03 21:57 Sam James
2021-07-31 13:40 Michał Górny
2021-07-15 17:46 Sam James
2021-07-14 4:53 Sam James
2021-06-15 15:40 Sergei Trofimovich
2021-06-14 9:15 Agostino Sarubbo
2021-06-14 9:15 Agostino Sarubbo
2021-06-13 12:38 Sam James
2021-06-13 11:12 Sam James
2021-06-13 6:30 Agostino Sarubbo
2021-06-13 6:04 Sam James
2021-06-13 6:04 Sam James
2021-06-13 3:45 Sam James
2021-06-13 3:45 Sam James
2021-06-08 0:18 Sam James
2021-06-03 16:34 Sam James
2021-06-03 15:52 Sergei Trofimovich
2021-06-03 0:43 Sam James
2021-06-01 0:46 Sam James
2021-05-31 17:43 Sergei Trofimovich
2021-05-31 11:40 Sam James
2021-05-25 13:27 Sam James
2021-05-25 13:24 Sam James
2021-05-20 2:22 Sam James
2021-05-15 19:14 Sergei Trofimovich
2021-05-14 17:22 Sam James
2021-05-14 17:22 Sam James
2021-05-14 9:35 Agostino Sarubbo
2021-05-14 9:32 Agostino Sarubbo
2021-05-14 9:31 Agostino Sarubbo
2021-05-14 8:56 Sam James
2021-05-14 8:56 Sam James
2021-05-13 22:19 Sam James
2021-05-13 20:33 Sam James
2021-05-13 20:33 Sam James
2021-05-13 17:51 Sam James
2021-03-27 18:25 Agostino Sarubbo
2021-03-27 16:04 Sam James
2021-03-27 16:04 Sam James
2021-03-26 18:36 Sam James
2021-03-26 15:31 Agostino Sarubbo
2021-03-25 23:42 Sam James
2021-03-25 23:20 Sam James
2021-03-25 23:20 Sam James
2021-03-24 21:12 Sergei Trofimovich
2021-03-11 17:48 Sam James
2021-03-11 17:47 Sam James
2021-03-11 17:47 Sam James
2021-02-05 10:37 Sam James
2021-01-07 20:23 Fabian Groffen
2020-12-27 14:21 Fabian Groffen
2020-12-18 20:03 Mike Gilbert
2020-12-10 10:43 Lars Wendler
2020-09-26 17:57 Michał Górny
2020-09-26 16:21 Michał Górny
2020-09-06 16:17 Sam James
2020-08-31 4:03 Sam James
2020-08-17 1:10 Sam James
2020-08-16 22:51 Sam James
2020-08-16 4:23 Sam James
2020-08-15 7:26 Sergei Trofimovich
2020-08-14 17:19 Sam James
2020-08-14 16:03 Sam James
2020-08-12 10:50 Sam James
2020-08-12 4:02 Sam James
2020-08-12 4:02 Sam James
2020-07-29 20:55 Matt Turner
2020-06-14 14:25 Mart Raudsepp
2020-04-30 5:32 Matt Turner
2020-01-27 11:53 Mikle Kolyada
2020-01-11 19:40 Mart Raudsepp
2020-01-04 22:50 Sergei Trofimovich
2020-01-03 14:30 Agostino Sarubbo
2020-01-03 13:56 Agostino Sarubbo
2020-01-03 13:44 Agostino Sarubbo
2020-01-03 13:42 Agostino Sarubbo
2020-01-03 13:35 Agostino Sarubbo
2020-01-03 12:30 Agostino Sarubbo
2020-01-03 10:06 Agostino Sarubbo
2020-01-02 15:20 Aaron Bauman
2019-12-07 21:34 Michał Górny
2019-12-07 20:31 Michał Górny
2019-12-07 20:31 Michał Górny
2019-12-04 16:37 Aaron Bauman
2019-07-18 21:08 Sergei Trofimovich
2019-06-17 19:40 Sergei Trofimovich
2019-05-10 17:33 Mikle Kolyada
2019-05-09 20:04 Aaron Bauman
2019-05-04 18:38 Andreas K. Hüttel
2019-03-03 20:20 Mart Raudsepp
2019-03-03 6:31 Mikle Kolyada
2019-03-02 21:17 Matt Turner
2019-03-02 16:24 Mikle Kolyada
2019-02-24 9:46 Sergei Trofimovich
2019-02-23 20:14 Sergei Trofimovich
2019-02-23 12:55 Sergei Trofimovich
2019-02-23 11:58 Sergei Trofimovich
2019-02-23 11:49 Sergei Trofimovich
2019-02-18 8:05 Mart Raudsepp
2019-02-18 6:21 Mikle Kolyada
2019-02-18 0:41 Thomas Deutschmann
2019-02-17 16:47 Mart Raudsepp
2018-12-03 2:43 Jonathan Callen
2018-08-17 1:38 Mikle Kolyada
2018-07-24 7:31 Sergei Trofimovich
2018-05-29 12:29 Mikle Kolyada
2018-05-29 11:57 Fabian Groffen
2018-05-14 14:11 Tobias Klausmann
2018-05-04 20:46 Markus Meier
2018-04-28 17:05 Sergei Trofimovich
2018-04-28 16:36 Sergei Trofimovich
2018-04-26 17:15 Thomas Deutschmann
2018-04-21 13:06 Mart Raudsepp
2018-03-14 21:41 Sergei Trofimovich
2018-03-14 21:09 Markus Meier
2018-03-06 21:37 Tobias Klausmann
2018-03-04 20:48 Sergei Trofimovich
2018-03-04 6:26 Mike Frysinger
2018-03-02 16:09 Mart Raudsepp
2018-02-16 20:39 Sergei Trofimovich
2018-01-21 1:44 Mart Raudsepp
2018-01-18 2:15 Mikle Kolyada
2018-01-13 12:13 Sergei Trofimovich
2017-12-27 8:35 Markus Meier
2017-12-19 19:14 Thomas Deutschmann
2017-12-17 22:47 Ulrich Müller
2017-12-17 18:29 Gilles Dartiguelongue
2017-12-17 18:14 Gilles Dartiguelongue
2017-12-02 10:41 Sergei Trofimovich
2017-11-23 20:47 Sergei Trofimovich
2017-11-18 13:20 Sergei Trofimovich
2017-11-06 20:49 Tobias Klausmann
2017-11-04 13:04 Sergei Trofimovich
2017-10-19 15:05 Mike Gilbert
2017-10-16 22:15 Matt Turner
2017-09-25 21:50 Sergei Trofimovich
2017-09-25 21:14 Sergei Trofimovich
2017-09-11 19:13 Sergei Trofimovich
2017-09-10 19:47 Sergei Trofimovich
2017-09-05 6:58 Gilles Dartiguelongue
2017-09-05 4:40 Markus Meier
2017-08-30 7:33 Gilles Dartiguelongue
2017-08-29 20:42 Thomas Deutschmann
2017-08-26 9:53 Sergei Trofimovich
2017-08-25 22:10 Mikle Kolyada
2017-04-28 16:01 Manuel Rüger
2017-04-14 16:28 Michał Górny
2017-04-10 21:49 Mike Frysinger
2017-03-28 23:24 Mart Raudsepp
2017-03-12 0:21 Michael Weber
2017-01-29 16:19 Fabian Groffen
2017-01-15 1:32 Jeroen Roovers
2017-01-10 9:58 Jeroen Roovers
2017-01-08 18:32 Markus Meier
2017-01-05 12:34 Tobias Klausmann
2017-01-04 17:09 Agostino Sarubbo
2017-01-04 13:09 Aaron Bauman
2016-11-10 14:04 Mike Frysinger
2016-09-04 17:07 Fabian Groffen
2016-07-30 9:34 Jeroen Roovers
2016-06-08 19:52 Markus Meier
2016-06-07 7:03 Tobias Klausmann
2016-05-03 20:09 Markus Meier
2016-03-06 16:43 Mikle Kolyada
2016-02-17 23:53 Stephen Klimaszewski
2016-01-11 14:26 Pacho Ramos
2016-01-11 14:26 Pacho Ramos
2015-12-25 19:52 Mikle Kolyada
2015-11-18 11:00 Agostino Sarubbo
2015-11-18 8:19 Sergey Popov
2015-11-15 20:58 Markus Meier
2015-11-15 18:26 Matt Turner
2015-11-12 10:25 Agostino Sarubbo
2015-11-12 8:26 Jeroen Roovers
2015-11-12 8:13 Jeroen Roovers
2015-11-11 15:01 Agostino Sarubbo
2015-11-11 15:00 Agostino Sarubbo
2015-11-10 10:53 Gilles Dartiguelongue
2015-11-09 20:53 Gilles Dartiguelongue
2015-10-21 13:41 Justin Lecher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1733538642.7b135c3ba365ff21f142c7a159b36b4474f8b865.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox