From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/log4cplus/
Date: Tue, 16 Sep 2025 22:05:34 +0000 (UTC) [thread overview]
Message-ID: <1758060293.b976481a3bddefb1d26a0744634482abfc73527c.asturm@gentoo> (raw)
commit: b976481a3bddefb1d26a0744634482abfc73527c
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 16 22:00:07 2025 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Sep 16 22:04:53 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b976481a
dev-libs/log4cplus: Backport IUSE qt6 from upstream git master
Patchset complete (but only) with CMake bits and pieces. Tests pass.
Source (upstream):
https://github.com/log4cplus/log4cplus/pull/653
Closes: https://bugs.gentoo.org/959818
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
dev-libs/log4cplus/Manifest | 1 +
dev-libs/log4cplus/log4cplus-2.1.2-r1.ebuild | 41 ++++++++++++++++++++++++++++
2 files changed, 42 insertions(+)
diff --git a/dev-libs/log4cplus/Manifest b/dev-libs/log4cplus/Manifest
index ee19e903f2c7..c020d006a174 100644
--- a/dev-libs/log4cplus/Manifest
+++ b/dev-libs/log4cplus/Manifest
@@ -1 +1,2 @@
+DIST log4cplus-2.1.2-qt6.tar.xz 7412 BLAKE2B 9cdef29d57b204bf1390e092ed411f39debd33b490c0a13eca6c5e6bae568a3a2448128e032edbe15e188bcc63f8ed9db56bc3169046bc31efa126904d0111cb SHA512 8f19973685fbb0306a36ac18f457893e67f0e7bc4a722ffc65d2723630201fb7de4f6f454da8238bc798251c2b327b76d4416105d1bd000b818f52ada7b67d49
DIST log4cplus-2.1.2.tar.xz 953200 BLAKE2B ea061affc3f789a7f4a00577551fccc079c57a2c139d388115c652a19a0825a82da35418267ba5c4818843e0a39b147f50dd4a41a19e31de9e0b8fda873fe20d SHA512 d6285e4964e8eda072b61e0585d5fe08c1d942b688752baf75ba230d49691070156ab4da1803d82d0c09128bcb87e21910e38ee9441df13ff762d527fe431444
diff --git a/dev-libs/log4cplus/log4cplus-2.1.2-r1.ebuild b/dev-libs/log4cplus/log4cplus-2.1.2-r1.ebuild
new file mode 100644
index 000000000000..39d8ddf4211d
--- /dev/null
+++ b/dev-libs/log4cplus/log4cplus-2.1.2-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PATCHSET="${P}-qt6.tar.xz"
+inherit cmake
+
+DESCRIPTION="C++ port of the Log for Java (log4j) logging library"
+HOMEPAGE="https://log4cplus.sourceforge.io/ https://github.com/log4cplus/log4cplus"
+SRC_URI="https://downloads.sourceforge.net/project/${PN}/${PN}-stable/${PV}/${P}.tar.xz
+ https://dev.gentoo.org/~asturm/distfiles/${PATCHSET}"
+
+LICENSE="|| ( Apache-2.0 BSD-2 )"
+SLOT="0/9"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="explicit-initialization iconv qt6 server test threads"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ iconv? ( virtual/libiconv )
+ qt6? ( dev-qt/qtbase:6 )
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${WORKDIR}"/${PATCHSET/.tar.xz/} )
+
+src_configure() {
+ local mycmakeargs=(
+ -DLOG4CPLUS_BUILD_LOGGINGSERVER=$(usex server)
+ -DWITH_UNIT_TESTS=$(usex test)
+ -DLOG4CPLUS_BUILD_TESTING=$(usex test)
+ -DLOG4CPLUS_ENABLE_THREAD_POOL=$(usex threads)
+ -DLOG4CPLUS_REQUIRE_EXPLICIT_INITIALIZATION=$(usex explicit-initialization)
+ -DWITH_ICONV=$(usex iconv)
+ -DLOG4CPLUS_QT5=OFF
+ -DLOG4CPLUS_QT6=$(usex qt6)
+ )
+
+ cmake_src_configure
+}
next reply other threads:[~2025-09-16 22:05 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-16 22:05 Andreas Sturmlechner [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-09-22 17:17 [gentoo-commits] repo/gentoo:master commit in: dev-libs/log4cplus/ Andreas Sturmlechner
2025-09-18 4:46 Sam James
2025-09-17 22:23 Sam James
2025-09-17 22:23 Sam James
2025-09-16 22:05 Andreas Sturmlechner
2025-09-09 19:30 Arthur Zamarin
2025-09-07 21:25 Sam James
2025-09-07 21:25 Sam James
2025-08-23 1:42 Sam James
2025-08-23 1:20 Sam James
2025-07-16 3:18 Sam James
2025-07-16 3:18 Sam James
2024-04-19 10:38 Sam James
2023-09-04 21:24 Andreas Sturmlechner
2022-04-17 19:00 Sam James
2022-02-28 7:06 Yixun Lan
2022-01-27 9:30 David Seifert
2021-12-05 4:45 Sam James
2021-08-10 0:24 Sam James
2021-08-01 18:27 Sam James
2021-07-05 17:22 Dennis Lamm
2021-01-25 14:16 Sam James
2020-12-21 18:07 Sam James
2020-10-15 15:58 Sam James
2018-05-26 12:23 David Seifert
2018-03-30 16:04 Aaron Bauman
2018-01-14 12:35 Andreas Sturmlechner
2018-01-12 23:00 Andreas Sturmlechner
2016-09-18 0:40 David Seifert
2016-09-18 0:40 David Seifert
2016-09-18 0:40 David Seifert
2016-07-08 17:58 Austin English
2016-07-04 18:44 Christian Ruppert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1758060293.b976481a3bddefb1d26a0744634482abfc73527c.asturm@gentoo \
--to=asturm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox