commit: 61eb279d175dc4a965367a7b9ace78ddc4857e1b Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Fri Nov 8 19:03:31 2024 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Fri Nov 8 19:03:31 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61eb279d
dev-libs/xerces-c: drop 3.2.4-r2, 3.2.4-r3 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> dev-libs/xerces-c/Manifest | 1 - .../files/xerces-c-3.2.2-fix-XERCESC-2163.patch | 25 ----- dev-libs/xerces-c/xerces-c-3.2.4-r2.ebuild | 116 ------------------- dev-libs/xerces-c/xerces-c-3.2.4-r3.ebuild | 123 --------------------- 4 files changed, 265 deletions(-) diff --git a/dev-libs/xerces-c/Manifest b/dev-libs/xerces-c/Manifest index 44078a794034..91f6507b762f 100644 --- a/dev-libs/xerces-c/Manifest +++ b/dev-libs/xerces-c/Manifest @@ -1,2 +1 @@ -DIST xerces-c-3.2.4.tar.xz 4260560 BLAKE2B 5d9fed1e9a461f8b348f3259216c5181bd03d2b5d8790cad88621d601065d0d79f8766ae70ed0aa7afe05005e2bcaf37a88da25b17f0e028bf074a31cea5fe71 SHA512 4d58d25b59b4528ad1f2d60681ddd6d2a4dba945613cee9ce978605f006da03703ea85a1bd89f781eeb3ad4dbdadf485a310f29d4c07036b0322f0755f87fddf DIST xerces-c-3.2.5.tar.xz 4274820 BLAKE2B e0926660bf29e35c05843aae683a7a4f2fe5a6f5f68c76ce16fde975a24277c0e50465a02bfa785f96f4ebec3c7d411785793914491f112ce19477b5dd59e351 SHA512 77b80148b0a3dbb61af648e2571855d59040512dd0c739a892e8ac6a6d7ddbb43b49850c87c39fcf374f2c7658a9c795b3e3fcd4785efbc6226f831b938d5300 diff --git a/dev-libs/xerces-c/files/xerces-c-3.2.2-fix-XERCESC-2163.patch b/dev-libs/xerces-c/files/xerces-c-3.2.2-fix-XERCESC-2163.patch deleted file mode 100644 index 50db010bf5ee..000000000000 --- a/dev-libs/xerces-c/files/xerces-c-3.2.2-fix-XERCESC-2163.patch +++ /dev/null @@ -1,25 +0,0 @@ -https://bugs.gentoo.org/673548 -https://bugs.gentoo.org/738140 -https://bugs.gentoo.org/913045 - -https://issues.apache.org/jira/browse/XERCESC-2163 -https://github.com/apache/xerces-c/pull/7 - -From db7a8b0cd2a163de1e3ef8c950cf9e708b0b5f98 Mon Sep 17 00:00:00 2001 -From: Craig Andrews <[email protected]> -Date: Wed, 2 Jan 2019 15:01:21 -0500 -Subject: [PATCH] build: Install XercesMessages_en_US.cat to - /usr/share/xerces-c/msg - -Fixes XERCESC-2163 ---- a/src/CMakeLists.txt -+++ b/src/CMakeLists.txt -@@ -1198,7 +1198,7 @@ if(XERCES_USE_MSGLOADER_ICONV) - - install( - FILES "${RESTARGET}" -- DESTINATION "${CMAKE_INSTALL_PREFIX}/msg" -+ DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/xerces-c/msg" - COMPONENT "runtime") - endif() - diff --git a/dev-libs/xerces-c/xerces-c-3.2.4-r2.ebuild b/dev-libs/xerces-c/xerces-c-3.2.4-r2.ebuild deleted file mode 100644 index 4a7d7b0577e5..000000000000 --- a/dev-libs/xerces-c/xerces-c-3.2.4-r2.ebuild +++ /dev/null @@ -1,116 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake prefix - -DESCRIPTION="A validating XML parser written in a portable subset of C++" -HOMEPAGE="https://xerces.apache.org/xerces-c/" - -if [[ ${PV} == *9999 ]] ; then - ESVN_REPO_URI="https://svn.apache.org/repos/asf/xerces/c/trunk" - inherit subversion -else - SRC_URI="mirror://apache/xerces/c/3/sources/${P}.tar.xz" - KEYWORDS="~alpha amd64 arm arm64 ~hppa ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" -fi - -LICENSE="Apache-2.0" -SLOT="0" -IUSE="cpu_flags_x86_sse2 curl doc examples iconv icu static-libs test threads" - -RESTRICT="!test? ( test )" - -RDEPEND=" - curl? ( net-misc/curl ) - icu? ( dev-libs/icu:0= ) - virtual/libiconv" -DEPEND="${RDEPEND}" -BDEPEND=" - doc? ( app-text/doxygen ) - test? ( dev-lang/perl )" - -DOCS=( CREDITS KEYS NOTICE README ) - -PATCHES=( "${FILESDIR}"/${PN}-3.2.2-fix-XERCESC-2163.patch ) - -pkg_setup() { - export ICUROOT="${EPREFIX}/usr" - - if use iconv && use icu; then - ewarn "This package can use iconv or icu for loading messages" - ewarn "and transcoding, but not both. ICU takes precedence." - fi -} - -src_configure() { - # 'cfurl' is only available on OSX and 'socket' isn't supposed to work. - # But the docs aren't clear about it, so we would need some testing... - local netaccessor - if use curl; then - netaccessor="curl" - elif use elibc_Darwin; then - netaccessor="cfurl" - else - netaccessor="socket" - fi - - local msgloader - if use icu; then - msgloader="icu" - elif use iconv; then - msgloader="iconv" - else - msgloader="inmemory" - fi - - local transcoder - if use icu; then - transcoder="icu" - elif use elibc_Darwin; then - transcoder="macosunicodeconverter" - else - transcoder="gnuiconv" - fi - - local mycmakeargs=( - -DCMAKE_INSTALL_DOCDIR="${EPREFIX}/usr/share/doc/${PF}" - -Dnetwork-accessor="${netaccessor}" - -Dmessage-loader="${msgloader}" - -Dtranscoder="${transcoder}" - -Dthreads:BOOL="$(usex threads)" - -Dsse2:BOOL="$(usex cpu_flags_x86_sse2)" - ) - - cmake_src_configure -} - -src_compile() { - cmake_src_compile - - use doc && cmake_build doc-style createapidocs doc-xml -} - -src_install() { - cmake_src_install - - # package provides .pc files - find "${D}" -name '*.la' -delete || die - - if use examples; then - # clean out object files, executables, Makefiles - # and the like before installing examples - find samples/ \( -type f -executable -o -iname 'runConfigure' -o -iname '*.o' \ - -o -iname '.libs' -o -iname 'Makefile*' \) -exec rm -rf '{}' + || die - docinto examples - dodoc -r samples/. - docompress -x /usr/share/doc/${PF}/examples - fi - - # To make sure an appropriate NLS msg file is around when using - # the iconv msgloader ICU has the messages compiled in. - if use iconv && ! use icu; then - doenvd "$(prefixify_ro "${FILESDIR}/50xerces-c")" - fi -} diff --git a/dev-libs/xerces-c/xerces-c-3.2.4-r3.ebuild b/dev-libs/xerces-c/xerces-c-3.2.4-r3.ebuild deleted file mode 100644 index 0823be6f6270..000000000000 --- a/dev-libs/xerces-c/xerces-c-3.2.4-r3.ebuild +++ /dev/null @@ -1,123 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake flag-o-matic prefix - -DESCRIPTION="Validating XML parser written in a portable subset of C++" -HOMEPAGE="https://xerces.apache.org/xerces-c/" - -if [[ ${PV} == *9999 ]] ; then - ESVN_REPO_URI="https://svn.apache.org/repos/asf/xerces/c/trunk" - inherit subversion -else - SRC_URI="mirror://apache/xerces/c/3/sources/${P}.tar.xz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" -fi - -LICENSE="Apache-2.0" -SLOT="0" -IUSE="cpu_flags_x86_sse2 curl doc examples iconv icu static-libs test threads" - -RESTRICT="!test? ( test )" - -RDEPEND=" - curl? ( net-misc/curl ) - icu? ( dev-libs/icu:0= ) - virtual/libiconv" -DEPEND="${RDEPEND}" -BDEPEND=" - doc? ( app-text/doxygen ) - test? ( dev-lang/perl )" - -DOCS=( CREDITS KEYS NOTICE README ) - -PATCHES=( - "${FILESDIR}"/${PN}-3.2.2-fix-XERCESC-2163.patch - "${FILESDIR}"/${PN}-3.2.4-strict-aliasing.patch -) - -pkg_setup() { - export ICUROOT="${EPREFIX}/usr" - - if use iconv && use icu; then - ewarn "This package can use iconv or icu for loading messages" - ewarn "and transcoding, but not both. ICU takes precedence." - fi -} - -src_configure() { - # bug #856100 - filter-lto - append-flags -fno-strict-aliasing - - # 'cfurl' is only available on OSX and 'socket' isn't supposed to work. - # But the docs aren't clear about it, so we would need some testing... - local netaccessor - if use curl; then - netaccessor="curl" - elif use elibc_Darwin; then - netaccessor="cfurl" - else - netaccessor="socket" - fi - - local msgloader - if use icu; then - msgloader="icu" - elif use iconv; then - msgloader="iconv" - else - msgloader="inmemory" - fi - - local transcoder - if use icu; then - transcoder="icu" - elif use elibc_Darwin; then - transcoder="macosunicodeconverter" - else - transcoder="gnuiconv" - fi - - local mycmakeargs=( - -DCMAKE_INSTALL_DOCDIR="${EPREFIX}/usr/share/doc/${PF}" - -Dnetwork-accessor="${netaccessor}" - -Dmessage-loader="${msgloader}" - -Dtranscoder="${transcoder}" - -Dthreads:BOOL="$(usex threads)" - -Dsse2:BOOL="$(usex cpu_flags_x86_sse2)" - ) - - cmake_src_configure -} - -src_compile() { - cmake_src_compile - - use doc && cmake_build doc-style createapidocs doc-xml -} - -src_install() { - cmake_src_install - - # package provides .pc files - find "${D}" -name '*.la' -delete || die - - if use examples; then - # clean out object files, executables, Makefiles - # and the like before installing examples - find samples/ \( -type f -executable -o -iname 'runConfigure' -o -iname '*.o' \ - -o -iname '.libs' -o -iname 'Makefile*' \) -exec rm -rf '{}' + || die - docinto examples - dodoc -r samples/. - docompress -x /usr/share/doc/${PF}/examples - fi - - # To make sure an appropriate NLS msg file is around when using - # the iconv msgloader ICU has the messages compiled in. - if use iconv && ! use icu; then - doenvd "$(prefixify_ro "${FILESDIR}/50xerces-c")" - fi -}
