commit:     4e2268bc37a26be58b3ac6e67f12daca67f22836
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Tue Aug  2 06:16:08 2022 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Tue Aug  2 06:16:08 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=4e2268bc

dev-libs/xerces-c: drop, version in gx86 should be fine

Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 dev-libs/xerces-c/Manifest                         |   2 -
 .../files/3.0.1-disable-thread-tests.patch         |  47 ---------
 dev-libs/xerces-c/files/50xerces-c                 |   1 -
 .../files/xerces-c-3.1.4-fix-build-system.patch    |  61 -----------
 dev-libs/xerces-c/metadata.xml                     |  18 ----
 dev-libs/xerces-c/xerces-c-3.1.4-r1.ebuild         | 116 ---------------------
 dev-libs/xerces-c/xerces-c-3.2.3.ebuild            | 116 ---------------------
 7 files changed, 361 deletions(-)

diff --git a/dev-libs/xerces-c/Manifest b/dev-libs/xerces-c/Manifest
deleted file mode 100644
index 3ebaff7d76..0000000000
--- a/dev-libs/xerces-c/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST xerces-c-3.1.4.tar.gz 6992545 BLAKE2B 
463e721843632b13f4b5c845f14cf9ab4f093085558858b435ae5a3122951ab590f9e56f43add1aeaf7dc244814710be804ab0331a1d1e8073919ad9d3b61068
 SHA512 
8afd775bac0345a2714b77a1ae2cfb8ae67f0239ec7370de7d89612dec64d2e1df48612c875fe239ab6f2eb31914c2d3914617e6b34a1bae0bbb14e4dbc787b5
-DIST xerces-c-3.2.3.tar.gz 7120270 BLAKE2B 
d622621657f33ada75a9ef330e77772b8f9cff717d8efc06f2a1fffea77360596e5192b48a6a015403a1045aa2492c626ba05f1de15eb5b997a80ca19b032db8
 SHA512 
206c5c31510224b8f6963b051f27968e4fe70374a0adb2c2990ac1f865b3bac41f63e6bfb7279faa21477f8878a3b9671ba70726fc75a84e51f037ef158639ad

diff --git a/dev-libs/xerces-c/files/3.0.1-disable-thread-tests.patch 
b/dev-libs/xerces-c/files/3.0.1-disable-thread-tests.patch
deleted file mode 100644
index 68144cc106..0000000000
--- a/dev-libs/xerces-c/files/3.0.1-disable-thread-tests.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-diff -ru origscripts/sanityTest_ExpectedResult.log 
scripts/sanityTest_ExpectedResult.log
---- origscripts/sanityTest_ExpectedResult.log  2008-09-17 05:06:33.000000000 
+0200
-+++ scripts/sanityTest_ExpectedResult.log      2010-01-18 19:45:39.000000000 
+0100
-@@ -1146,42 +1146,7 @@
- 1Test Run Successfully
- 2Test Run Successfully
- 3Test Run Successfully
--No input XML file specified on command line.
--usage:  ThreadTest [-v] [-threads nnn] [-time nnn] [-quiet] [-verbose] 
xmlfile...
--     -v=xxx         Validation scheme [always | never | auto].  Default is 
AUTO.
--     -n             Enable namespace processing. Defaults to off.
--     -s             Enable schema processing. Defaults to off.
--     -f             Enable full schema constraint checking. Defaults to off.
--     -parser=xxx    Parser Type [dom | sax | sax2].  Default is SAX (SAX1).
--     -p             Enable namespace prefixes. Defaults to off.
--                    (Only used with -parser=sax2, ignored otherwise.)
--     -quiet         Suppress periodic status display.
--     -verbose       Display extra messages.
--     -reuse         Retain and reuse parser.  Default creates new for each 
parse.
--     -threads nnn   Number of threads.  Default is 2.
--     -time nnn      Total time to run, in seconds.  Default is forever.
--     -parses nnn    Run for nnn parses instead of time.  Default is to use 
time
--     -dump          Dump DOM tree on error.
--     -mem           Read files into memory once only, and parse them from 
there.
--     -gc            Enable grammar caching (i.e. grammar cached and used in 
subsequent parses). Defaults to off.
--     -init          Perform an initial parse of the file(s) before starting 
up the individual threads.
--
--1Test Run Successfully
--2Test Run Successfully
--3Test Run Successfully
--4Test Run Successfully
--5Test Run Successfully
--6Test Run Successfully
--7Test Run Successfully
--8Test Run Successfully
--9Test Run Successfully
--10Test Run Successfully
--11Test Run Successfully
--12Test Run Successfully
--13Test Run Successfully
--14Test Run Successfully
--15Test Run Successfully
--
-+123456789101112131415
- Usage:
-     MemHandlerTest [options] <XML file | List file>
- 

diff --git a/dev-libs/xerces-c/files/50xerces-c 
b/dev-libs/xerces-c/files/50xerces-c
deleted file mode 100644
index 6fdb7ffbde..0000000000
--- a/dev-libs/xerces-c/files/50xerces-c
+++ /dev/null
@@ -1 +0,0 @@
-XERCESC_NLS_HOME="/usr/share/xerces-c/msg"

diff --git a/dev-libs/xerces-c/files/xerces-c-3.1.4-fix-build-system.patch 
b/dev-libs/xerces-c/files/xerces-c-3.1.4-fix-build-system.patch
deleted file mode 100644
index 6b991d24b5..0000000000
--- a/dev-libs/xerces-c/files/xerces-c-3.1.4-fix-build-system.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-* Fix build system when USE="-threads"
-* Add DESTDIR in order to prevent sandbox failure
-
---- a/configure.ac
-+++ b/configure.ac
-@@ -124,6 +124,7 @@
- AC_CXX_HAVE_LSTRING
- 
- ACX_PTHREAD
-+AM_CONDITIONAL([THREADS], [test "x${acx_pthread_ok}" = "xyes"])
- 
- # Checks for library functions.
- #AC_FUNC_ERROR_AT_LINE
---- a/src/xercesc/util/MsgLoaders/MsgCatalog/Makefile.in
-+++ b/src/xercesc/util/MsgLoaders/MsgCatalog/Makefile.in
-@@ -5,7 +5,7 @@
- prefix = @prefix@
- INSTALL = @INSTALL@
- INSTALL_PROGRAM = @INSTALL_PROGRAM@
--mkdir_p = @mkdir_p@
-+mkdir_p = @MKDIR_P@
- 
- include $(top_srcdir)/version.incl
- 
-@@ -48,11 +48,11 @@
- # for installing the library
- # for installing the library
- install: $(RESTARGET)
--      $(mkdir_p) $(prefix)/msg
--      $(INSTALL_PROGRAM) $(RESTARGET) $(prefix)/msg
-+      $(mkdir_p) $(DESTDIR)/$(prefix)/share/xerces-c/msg
-+      $(INSTALL_PROGRAM) $(RESTARGET) $(DESTDIR)/$(prefix)/share/xerces-c/msg
- 
- uninstall: 
--      -rm -f $(prefix)/msg/$(RESFILES)
-+      -rm -f $(DESTDIR)/$(prefix)/share/xerces-c/msg/$(RESFILES)
- 
- 
- # Needed to support "make dist"
---- a/tests/Makefile.am
-+++ b/tests/Makefile.am
-@@ -21,7 +21,7 @@
- 
- check_PROGRAMS =                                ${testprogs}
- 
--LDADD =                                               
${top_builddir}/src/libxerces-c.la
-+LDADD =                                               
$(top_builddir)/src/libxerces-c.la $(PTHREAD_LIBS)
- # the  -I${top_builddir}/src is needed to pick the 
xercesc/util/Xerces_autoconf_config.hpp 
- # header file when doing out-of-tree builds
- AM_CPPFLAGS =                                   -I${top_builddir}/src 
-I${top_srcdir}/src
-@@ -86,8 +86,10 @@
- #                                               
src/ParserTest/ParserTest_Parser.cpp \
- #                                               
src/ParserTest/ParserTest_Parser.hpp
- 
-+if THREADS
- testprogs +=                                    ThreadTest
- ThreadTest_SOURCES =                            src/ThreadTest/ThreadTest.cpp
-+endif
- 
- # Fails to compile under gcc 4 (ambiguous calls to NullPointerException)
- # dcargill says this is obsolete and we can delete it.

diff --git a/dev-libs/xerces-c/metadata.xml b/dev-libs/xerces-c/metadata.xml
deleted file mode 100644
index 14a0b7619f..0000000000
--- a/dev-libs/xerces-c/metadata.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
-<pkgmetadata>
-<maintainer type="project">
-  <email>c...@gentoo.org</email>
-  <name>Gentoo C++ Project</name>
-</maintainer>
-<longdescription>xerces-c is a C++ library specializing in XML parsing. It is 
released by the Apache Foundation</longdescription>
-<use>
-  <flag name="iconv">Use iconv (<pkg>virtual/libiconv</pkg>) as message loader
-    and transcoder (in general it would be possible to use iconv only as
-    message loader and something else like icu or the native method as
-    transcoder and vice-versa, but this is a less common case and hard to
-    handle)</flag>
-  <flag name="threads">Enable threading support through pthread (or other
-    libraries on AIX, IRIX, HPUX, Solars). Highly recommended</flag>
-</use>
-</pkgmetadata>

diff --git a/dev-libs/xerces-c/xerces-c-3.1.4-r1.ebuild 
b/dev-libs/xerces-c/xerces-c-3.1.4-r1.ebuild
deleted file mode 100644
index f585f26bdb..0000000000
--- a/dev-libs/xerces-c/xerces-c-3.1.4-r1.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-
-inherit autotools
-
-DESCRIPTION="A validating XML parser written in a portable subset of C++"
-HOMEPAGE="http://xerces.apache.org/xerces-c/";
-SRC_URI="mirror://apache/xerces/c/3/sources/${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris 
~x86-winnt"
-
-IUSE="cpu_flags_x86_sse2 curl doc elibc_Darwin elibc_FreeBSD examples iconv 
icu static-libs test threads"
-
-RDEPEND="icu? ( dev-libs/icu:0= )
-       curl? ( net-misc/curl )
-       virtual/libiconv"
-DEPEND="${RDEPEND}
-       doc? ( app-doc/doxygen )
-       test? ( dev-lang/perl )"
-
-DOCS=( CREDITS KEYS NOTICE README version.incl )
-PATCHES=( "${FILESDIR}/${PN}-3.1.4-fix-build-system.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_prepare() {
-       default
-       eautoreconf
-}
-
-src_configure() {
-       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"
-       elif use elibc_FreeBSD; then
-               transcoder="iconv"
-       else
-               transcoder="gnuiconv"
-       fi
-
-       # '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
-
-       econf \
-               --disable-pretty-make \
-               --enable-msgloader-${msgloader} \
-               --enable-transcoder-${transcoder} \
-               --enable-netaccessor-${netaccessor} \
-               $(use_enable cpu_flags_x86_sse2 sse2) \
-               $(use_enable threads) \
-               $(use_enable static-libs static)
-}
-
-src_compile() {
-       default
-
-       if use doc; then
-               cd doc || die
-               doxygen || die "making docs failed"
-               HTML_DOCS=( doc/html/. )
-       fi
-}
-
-src_install () {
-       default
-
-       # package provides .pc files
-       find "${ED}" -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 "${FILESDIR}/50xerces-c"
-       fi
-}

diff --git a/dev-libs/xerces-c/xerces-c-3.2.3.ebuild 
b/dev-libs/xerces-c/xerces-c-3.2.3.ebuild
deleted file mode 100644
index 31bdc528e0..0000000000
--- a/dev-libs/xerces-c/xerces-c-3.2.3.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-: ${CMAKE_MAKEFILE_GENERATOR:=ninja}
-
-inherit cmake-utils 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.gz"
-       KEYWORDS="~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x86-solaris ~x86-winnt"
-fi
-
-LICENSE="Apache-2.0"
-SLOT="0"
-
-IUSE="cpu_flags_x86_sse2 curl doc elibc_Darwin elibc_FreeBSD examples iconv 
icu static-libs test threads"
-RESTRICT="!test? ( test )"
-
-RDEPEND="icu? ( dev-libs/icu:0= )
-       curl? ( net-misc/curl )
-       virtual/libiconv"
-DEPEND="${RDEPEND}
-       doc? ( app-doc/doxygen )
-       test? ( dev-lang/perl )"
-
-DOCS=( CREDITS KEYS NOTICE README )
-
-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"
-       elif use elibc_FreeBSD; then
-               transcoder="iconv"
-       else
-               transcoder="gnuiconv"
-       fi
-       # for interix maybe: transcoder="windows"
-
-       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-utils_src_configure
-}
-
-src_compile() {
-       cmake-utils_src_compile
-
-       use doc && cmake-utils_src_compile doc-style createapidocs doc-xml
-}
-
-src_install() {
-       cmake-utils_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
-}

Reply via email to