commit:     f9e94172bfb291107568d4bad82b44b9ec338905
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 27 20:09:49 2022 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Wed Jul 27 20:09:49 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9e94172

dev-libs/log4cplus: drop 1.2.0

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 dev-libs/log4cplus/Manifest                        |  1 -
 .../files/log4cplus-1.2.0-fix-c++14.patch          | 31 -----------
 dev-libs/log4cplus/log4cplus-1.2.0.ebuild          | 65 ----------------------
 dev-libs/log4cplus/metadata.xml                    |  2 -
 4 files changed, 99 deletions(-)

diff --git a/dev-libs/log4cplus/Manifest b/dev-libs/log4cplus/Manifest
index 033d3dc3a39f..e18c3d1eaed9 100644
--- a/dev-libs/log4cplus/Manifest
+++ b/dev-libs/log4cplus/Manifest
@@ -1,2 +1 @@
-DIST log4cplus-1.2.0.tar.bz2 629119 BLAKE2B 
f1b4629f7b6184b3f34f9d702c17487e113548cba46f5a25bb0f4972d7f3ce207310b25c94abea8cc1360591f7d0ac3d466075e584f25ce1968fee9d5b5c543a
 SHA512 
2c3f16645051a230f9ec9a6ac689421efc4b51d5f40cb772e552bd199d2ad13c39d7e577cc63d51617555941412da166a6cda8861ee219154a953d9926aae626
 DIST log4cplus-2.0.7.tar.bz2 1210637 BLAKE2B 
59e9c3c351c7893c7e9c39e9d12616579cff3b4dfdd3e069f0adb4b75fb2b46d6fe8efceea2b6103c5531a723f015518bf10ce6a581724b6ae5f49e994b74c72
 SHA512 
9d1b36d0c2347dd9d9ab8852114b8138f56063c51625eaab7f4c680ee852e1e6872c6712465b10057ec9e42305b83d956f6753100dfd3ec58518d6620cc4106c

diff --git a/dev-libs/log4cplus/files/log4cplus-1.2.0-fix-c++14.patch 
b/dev-libs/log4cplus/files/log4cplus-1.2.0-fix-c++14.patch
deleted file mode 100644
index ccd6e1aadd2e..000000000000
--- a/dev-libs/log4cplus/files/log4cplus-1.2.0-fix-c++14.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-Make dtors noexcept(false) when compiling in C++11 and above. This avoids
-silent breakage due to the semantic changes between C++98 and C++11.
-See also: https://bugs.gentoo.org/show_bug.cgi?id=595424
-
---- a/include/log4cplus/hierarchylocker.h
-+++ b/include/log4cplus/hierarchylocker.h
-@@ -48,7 +48,11 @@
-     public:
-       // ctor & dtor
-         HierarchyLocker(Hierarchy& h);
--        ~HierarchyLocker();
-+        ~HierarchyLocker()
-+#if __cplusplus >= 201103L
-+        noexcept(false)
-+#endif
-+        ;
-         
-         /**
-          * Calls the <code>resetConfiguration()</code> method on the locked 
Hierarchy.
---- a/src/hierarchylocker.cxx
-+++ b/src/hierarchylocker.cxx
-@@ -62,6 +62,9 @@
-  
- 
- HierarchyLocker::~HierarchyLocker()
-+#if __cplusplus >= 201103L
-+    noexcept(false)
-+#endif
- {
-     try {
-         for(LoggerList::iterator it=loggerList.begin(); it!=loggerList.end(); 
++it) {

diff --git a/dev-libs/log4cplus/log4cplus-1.2.0.ebuild 
b/dev-libs/log4cplus/log4cplus-1.2.0.ebuild
deleted file mode 100644
index d0049f0f238c..000000000000
--- a/dev-libs/log4cplus/log4cplus-1.2.0.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-DESCRIPTION="C++ port of the Log for Java (log4j) logging library"
-HOMEPAGE="https://log4cplus.sourceforge.io/ 
https://github.com/log4cplus/log4cplus";
-SRC_URI="mirror://sourceforge/project/${PN}/${PN}-stable/${PV}/${P}.tar.bz2"
-
-LICENSE="|| ( Apache-2.0 BSD-2 )"
-SLOT="0/1.2-5"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
-IUSE="iconv qt5 threads working-locale working-c-locale"
-REQUIRED_USE="?? ( iconv working-locale working-c-locale )"
-
-RDEPEND="
-       iconv? ( virtual/libiconv )
-       qt5? ( dev-qt/qtcore:5 )
-"
-DEPEND="${RDEPEND}
-       virtual/pkgconfig
-"
-
-PATCHES=( "${FILESDIR}/${PN}-1.2.0-fix-c++14.patch" )
-
-src_configure() {
-       econf \
-               --disable-static \
-               $(use_with iconv) \
-               $(use_with qt5) \
-               $(use_enable threads) \
-               $(use_with working-locale) \
-               $(use_with working-c-locale)
-}
-
-src_test() {
-       cd tests/ || die
-
-       local t
-       for t in appender customloglevel fileappender filter \
-        hierarchy loglog ndc ostream patternlayout performance priority \
-        propertyconfig timeformat; do
-               einfo "Running test \"${t}_test\""
-               pushd "${t}_test/" >/dev/null || die
-               "${S}"/${t}_test || die "Running ${t}_test failed!"
-               popd >/dev/null || die
-       done
-
-       if use threads; then
-               for t in configandwatch thread; do
-                       einfo "Running test \"${t}_test\""
-                       pushd "${t}_test/" >/dev/null || die
-                       "${S}"/${t}_test || die "Running ${t}_test failed!"
-                       popd >/dev/null || die
-               done
-       fi
-}
-
-src_install() {
-       default
-       dodoc docs/unicode.txt
-
-       # package provides .pc files
-       find "${D}" -name '*.la' -delete || die
-}

diff --git a/dev-libs/log4cplus/metadata.xml b/dev-libs/log4cplus/metadata.xml
index 29dbbbef8a20..a7db4616f45a 100644
--- a/dev-libs/log4cplus/metadata.xml
+++ b/dev-libs/log4cplus/metadata.xml
@@ -6,8 +6,6 @@
                <flag name="explicit-initialization">Require explicit 
initialization</flag>
                <flag name="iconv">Use inconv for wchar_t &lt;-&gt; char 
conversions. See also log4cplus's unicode.txt documentation</flag>
                <flag name="server">Build the logging server</flag>
-               <flag name="working-locale">Use C++'s std::locale for wchar_t 
&lt;-&gt; char conversions. See also log4cplus's unicode.txt 
documentation</flag>
-               <flag name="working-c-locale">Use the C99 locale facilities for 
wchar_t &lt;-&gt; char conversions. See also log4cplus's unicode.txt 
documentation </flag>
        </use>
        <slots>
                <subslots>soname major version number</subslots>

Reply via email to