dev-libs/xerces-c: Drop old
authorMichał Górny <mgorny@gentoo.org>
Wed, 11 Sep 2019 11:24:50 +0000 (13:24 +0200)
committerMichał Górny <mgorny@gentoo.org>
Wed, 11 Sep 2019 16:19:22 +0000 (18:19 +0200)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-libs/xerces-c/Manifest
dev-libs/xerces-c/files/xerces-c-3.1.4-fix-build-system.patch [deleted file]
dev-libs/xerces-c/xerces-c-3.1.4-r1.ebuild [deleted file]
dev-libs/xerces-c/xerces-c-3.2.2.ebuild [deleted file]

index f913f7321c4bacee25bd73d7be52c2c454ee758e..6a69a800d6b3e62acb60a6188187cfe3b7aa45ba 100644 (file)
@@ -1,2 +1 @@
-DIST xerces-c-3.1.4.tar.gz 6992545 BLAKE2B 463e721843632b13f4b5c845f14cf9ab4f093085558858b435ae5a3122951ab590f9e56f43add1aeaf7dc244814710be804ab0331a1d1e8073919ad9d3b61068 SHA512 8afd775bac0345a2714b77a1ae2cfb8ae67f0239ec7370de7d89612dec64d2e1df48612c875fe239ab6f2eb31914c2d3914617e6b34a1bae0bbb14e4dbc787b5
 DIST xerces-c-3.2.2.tar.gz 7100953 BLAKE2B d167299797189ef181c384ac49095e8bc4cf4e0c7d646e72840a19f56c6eea060168d2c2d29c29ce6cc76dd44e403bea4c3dcde67f964b87f3abc807ad0b14ad SHA512 13709b47b61d957d736f34b774dbc7fbd85171eedebd0cada41fd1d17929e6c42904c882b1e1d4f9b4fd464938b62e5ebb127187b4974dfade6a593e31471e80
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 (file)
index 6b991d2..0000000
+++ /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/xerces-c-3.1.4-r1.ebuild b/dev-libs/xerces-c/xerces-c-3.1.4-r1.ebuild
deleted file mode 100644 (file)
index 7ccfabe..0000000
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools prefix
-
-DESCRIPTION="A validating XML parser written in a portable subset of C++"
-HOMEPAGE="https://xerces.apache.org/xerces-c/"
-SRC_URI="mirror://apache/xerces/c/3/sources/${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 hppa ~ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos"
-
-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="/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
-       # for interix maybe: transcoder="windows"
-
-       # '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 "${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.2.ebuild b/dev-libs/xerces-c/xerces-c-3.2.2.ebuild
deleted file mode 100644 (file)
index a7d0dd1..0000000
+++ /dev/null
@@ -1,110 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils prefix
-
-DESCRIPTION="A validating XML parser written in a portable subset of C++"
-HOMEPAGE="https://xerces.apache.org/xerces-c/"
-SRC_URI="mirror://apache/xerces/c/3/sources/${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos"
-
-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 )
-PATCHES=(
-       "${FILESDIR}/${P}-fix-XERCESC-2161.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"
-       elif use elibc_FreeBSD; then
-               transcoder="iconv"
-       else
-               transcoder="gnuiconv"
-       fi
-       # for interix maybe: transcoder="windows"
-
-       local mycmakeargs=(
-               -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
-}