From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7035E1382C5 for ; Mon, 8 Mar 2021 21:14:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C6003E0825; Mon, 8 Mar 2021 21:14:15 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AE103E0825 for ; Mon, 8 Mar 2021 21:14:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8B98F335D06 for ; Mon, 8 Mar 2021 21:14:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 18F23585 for ; Mon, 8 Mar 2021 21:14:13 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1615238038.861b181ae56d8c757df40dbcd8dab9aae06acaac.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/xerces-c/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/xerces-c/xerces-c-3.2.3-r1.ebuild X-VCS-Directories: dev-libs/xerces-c/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 861b181ae56d8c757df40dbcd8dab9aae06acaac X-VCS-Branch: master Date: Mon, 8 Mar 2021 21:14:13 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 88a88efa-0a01-41f5-bb9d-e08bab5d75d5 X-Archives-Hash: e1530c2bb747d28055ed1a76d746b9b0 commit: 861b181ae56d8c757df40dbcd8dab9aae06acaac Author: Andreas Sturmlechner gentoo org> AuthorDate: Mon Mar 8 20:37:47 2021 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Mon Mar 8 21:13:58 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=861b181a dev-libs/xerces-c: Drop 3.2.3-r1 Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-libs/xerces-c/xerces-c-3.2.3-r1.ebuild | 120 ----------------------------- 1 file changed, 120 deletions(-) diff --git a/dev-libs/xerces-c/xerces-c-3.2.3-r1.ebuild b/dev-libs/xerces-c/xerces-c-3.2.3-r1.ebuild deleted file mode 100644 index b6a53f71d1b..00000000000 --- a/dev-libs/xerces-c/xerces-c-3.2.3-r1.ebuild +++ /dev/null @@ -1,120 +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="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" -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 ) - -PATCHES=( - "${FILESDIR}"/xerces-c-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" - 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 -}