public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: kde-apps/marble/
Date: Sun, 15 Dec 2024 00:28:48 +0000 (UTC)	[thread overview]
Message-ID: <1734222354.ea33b74d9af8cc6e3e451c18cde7b9cdc0d10899.asturm@gentoo> (raw)

commit:     ea33b74d9af8cc6e3e451c18cde7b9cdc0d10899
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 14 23:59:05 2024 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Dec 15 00:25:54 2024 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=ea33b74d

kde-apps/marble: Drop unused dependencies, always run ecm_src_configure

Upstream commits:
9a8bd45e4b4f766ff3e5379504a0bf4e0edb9b21
6ba72d68b57d41c97a1440cfbc9027f8052c1887

IUSE kde: Replace bogus WITH_KF6 switch with deselecting all KF6 automagic.
This is prerequisite to reproduce Unknown CMake command "qt_policy" error.

Bug: https://bugs.gentoo.org/946470
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 kde-apps/marble/marble-24.12.49.9999.ebuild | 17 +++++++----------
 kde-apps/marble/marble-9999.ebuild          | 17 +++++++----------
 2 files changed, 14 insertions(+), 20 deletions(-)

diff --git a/kde-apps/marble/marble-24.12.49.9999.ebuild b/kde-apps/marble/marble-24.12.49.9999.ebuild
index e221a2b345..c12c9d6081 100644
--- a/kde-apps/marble/marble-24.12.49.9999.ebuild
+++ b/kde-apps/marble/marble-24.12.49.9999.ebuild
@@ -38,11 +38,8 @@ DEPEND="
 		>=kde-frameworks/kcrash-${KFMIN}:6
 		>=kde-frameworks/ki18n-${KFMIN}:6
 		>=kde-frameworks/kio-${KFMIN}:6
-		>=kde-frameworks/knewstuff-${KFMIN}:6
 		>=kde-frameworks/kparts-${KFMIN}:6
 		>=kde-frameworks/krunner-${KFMIN}:6
-		>=kde-frameworks/kservice-${KFMIN}:6
-		>=kde-frameworks/kwallet-${KFMIN}:6
 	)
 	pbf? ( dev-libs/protobuf:= )
 	phonon? ( >=media-libs/phonon-4.12.0[qt6(+)] )
@@ -61,7 +58,7 @@ BDEPEND="
 src_prepare() {
 	ecm_src_prepare
 
-	rm -rf src/3rdparty/zlib || die "Failed to remove bundled libs"
+	rm -r src/3rdparty/zlib || die "Failed to remove bundled libs"
 }
 
 src_configure() {
@@ -71,7 +68,6 @@ src_configure() {
 		-DBUILD_WITH_DBUS=$(usex dbus)
 		-DWITH_DESIGNER_PLUGIN=$(usex designer)
 		-DWITH_libgps=$(usex gps)
-		-DWITH_KF6=$(usex kde)
 		$(cmake_use_find_package pbf Protobuf)
 		-DWITH_Phonon4Qt6=$(usex phonon)
 		-DWITH_libshp=$(usex shapefile)
@@ -80,9 +76,10 @@ src_configure() {
 		# bug 608890
 		-DKDE_INSTALL_CONFDIR="/etc/xdg"
 	)
-	if use kde; then
-		ecm_src_configure
-	else
-		cmake_src_configure
-	fi
+	# KF6KIO: src/thumbnailer/CMakeLists.txt
+	# KF6Runner: src/plasmarunner/CMakeLists.txt
+	for x in CoreAddons I18n Config Crash KIO Parts Runner; do
+		mycmakeargs+=( $(cmake_use_find_package kde KF6${x}) )
+	done
+	ecm_src_configure
 }

diff --git a/kde-apps/marble/marble-9999.ebuild b/kde-apps/marble/marble-9999.ebuild
index e221a2b345..c12c9d6081 100644
--- a/kde-apps/marble/marble-9999.ebuild
+++ b/kde-apps/marble/marble-9999.ebuild
@@ -38,11 +38,8 @@ DEPEND="
 		>=kde-frameworks/kcrash-${KFMIN}:6
 		>=kde-frameworks/ki18n-${KFMIN}:6
 		>=kde-frameworks/kio-${KFMIN}:6
-		>=kde-frameworks/knewstuff-${KFMIN}:6
 		>=kde-frameworks/kparts-${KFMIN}:6
 		>=kde-frameworks/krunner-${KFMIN}:6
-		>=kde-frameworks/kservice-${KFMIN}:6
-		>=kde-frameworks/kwallet-${KFMIN}:6
 	)
 	pbf? ( dev-libs/protobuf:= )
 	phonon? ( >=media-libs/phonon-4.12.0[qt6(+)] )
@@ -61,7 +58,7 @@ BDEPEND="
 src_prepare() {
 	ecm_src_prepare
 
-	rm -rf src/3rdparty/zlib || die "Failed to remove bundled libs"
+	rm -r src/3rdparty/zlib || die "Failed to remove bundled libs"
 }
 
 src_configure() {
@@ -71,7 +68,6 @@ src_configure() {
 		-DBUILD_WITH_DBUS=$(usex dbus)
 		-DWITH_DESIGNER_PLUGIN=$(usex designer)
 		-DWITH_libgps=$(usex gps)
-		-DWITH_KF6=$(usex kde)
 		$(cmake_use_find_package pbf Protobuf)
 		-DWITH_Phonon4Qt6=$(usex phonon)
 		-DWITH_libshp=$(usex shapefile)
@@ -80,9 +76,10 @@ src_configure() {
 		# bug 608890
 		-DKDE_INSTALL_CONFDIR="/etc/xdg"
 	)
-	if use kde; then
-		ecm_src_configure
-	else
-		cmake_src_configure
-	fi
+	# KF6KIO: src/thumbnailer/CMakeLists.txt
+	# KF6Runner: src/plasmarunner/CMakeLists.txt
+	for x in CoreAddons I18n Config Crash KIO Parts Runner; do
+		mycmakeargs+=( $(cmake_use_find_package kde KF6${x}) )
+	done
+	ecm_src_configure
 }


             reply	other threads:[~2024-12-15  0:28 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-15  0:28 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-15 19:01 [gentoo-commits] proj/kde:master commit in: kde-apps/marble/ Andreas Sturmlechner
2024-12-15  0:28 Andreas Sturmlechner
2024-10-07 23:21 Andreas Sturmlechner
2024-10-04 14:31 Andreas Sturmlechner
2024-09-21 14:10 Andreas Sturmlechner
2024-02-26 19:59 Andreas Sturmlechner
2023-06-05 13:51 Andreas Sturmlechner
2020-11-23 23:40 Andreas Sturmlechner
2020-08-30 19:02 Andreas Sturmlechner
2020-06-15 10:35 Andreas Sturmlechner
2019-08-18 15:21 Andreas Sturmlechner
2019-02-14 19:01 Andreas Sturmlechner
2018-10-21  8:16 Andreas Sturmlechner
2018-10-18 21:28 Andreas Sturmlechner
2018-10-18 21:00 Andreas Sturmlechner
2017-09-30  9:19 Andreas Sturmlechner
2017-04-22 14:31 Andreas Sturmlechner
2017-03-25  2:02 Michael Palimaka
2017-01-21 22:28 Andreas Sturmlechner
2016-12-11 19:13 Michael Palimaka
2016-12-09  9:47 Johannes Huber
2016-11-19 10:43 Michael Palimaka
2016-11-12 10:55 Michael Palimaka
2016-10-19 14:49 Michael Palimaka
2016-08-18 12:44 Michael Palimaka
2016-07-09 18:22 Johannes Huber
2016-03-01 14:12 Michael Palimaka
2016-02-25  9:11 Michael Palimaka
2016-02-20 16:03 Christian Schmitt
2015-11-19 12:17 Michael Palimaka
2015-06-10 19:09 Johannes Huber
2015-05-06 13:16 Michael Palimaka

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=1734222354.ea33b74d9af8cc6e3e451c18cde7b9cdc0d10899.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