public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/kde:master commit in: kde-frameworks/ksecretd-services/
@ 2025-10-08 18:25 Andreas Sturmlechner
  0 siblings, 0 replies; 3+ messages in thread
From: Andreas Sturmlechner @ 2025-10-08 18:25 UTC (permalink / raw
  To: gentoo-commits

commit:     b5cc895aca8e527870e415cf73435b74f013b9c2
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Oct  8 15:52:11 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Oct  8 16:27:42 2025 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=b5cc895a

kde-frameworks/ksecretd-services: new package, add 6.19.0, 9999

Provides IUSE systemd to work around KDE-bug #509680 [1] caused by
upstream commit ecf9e2ec7fceca538a9266f5bb9488b4dced1d09 [2]

[1] https://bugs.kde.org/show_bug.cgi?id=509680
[2] https://invent.kde.org/frameworks/kwallet/-/commit/ecf9e2ec

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 .../ksecretd-services-6.19.0.ebuild                | 62 ++++++++++++++++++++++
 .../ksecretd-services-9999.ebuild                  | 62 ++++++++++++++++++++++
 kde-frameworks/ksecretd-services/metadata.xml      | 12 +++++
 3 files changed, 136 insertions(+)

diff --git a/kde-frameworks/ksecretd-services/ksecretd-services-6.19.0.ebuild b/kde-frameworks/ksecretd-services/ksecretd-services-6.19.0.ebuild
new file mode 100644
index 0000000000..29645d228c
--- /dev/null
+++ b/kde-frameworks/ksecretd-services/ksecretd-services-6.19.0.ebuild
@@ -0,0 +1,62 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# this is purely for service file creation
+ECM_I18N="false"
+ECM_HANDBOOK="false"
+KDE_ORG_NAME="kwallet"
+inherit ecm-common frameworks.kde.org
+
+DESCRIPTION="D-Bus service files for ksecretd kwallet runtime component"
+
+LICENSE="LGPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
+IUSE="systemd"
+
+RDEPEND="!<kde-frameworks/kwallet-runtime-6.18.0-r1:6"
+
+ecm-common_inject_heredoc() {
+	my_configure_file(){
+		echo "configure_file(src/runtime/ksecretd/${1}.in \${CMAKE_CURRENT_BINARY_DIR}/${1})"
+	}
+
+	cat >> CMakeLists.txt <<- _EOF_ || die
+		option(WITH_SYSTEMD "Install service file for portal DBus service" ON) # KDE-bug #509680
+		$(my_configure_file org.kde.secretservicecompat.service)
+		if(WITH_SYSTEMD)
+			$(my_configure_file org.freedesktop.impl.portal.desktop.kwallet.service)
+		endif()
+		install(FILES
+				\${CMAKE_CURRENT_BINARY_DIR}/org.kde.secretservicecompat.service
+			DESTINATION \${KDE_INSTALL_DBUSSERVICEDIR}
+		)
+		if(WITH_SYSTEMD)
+			install(FILES
+					\${CMAKE_CURRENT_BINARY_DIR}/org.freedesktop.impl.portal.desktop.kwallet.service
+				DESTINATION \${KDE_INSTALL_DBUSSERVICEDIR}
+			)
+		endif()
+	_EOF_
+}
+
+src_prepare() {
+	ecm-common_src_prepare
+
+	# Safety measure in case new services are added in the future
+	local known_num_of_services=2
+	local found_num_of_services=$(find src/runtime/ksecretd -iname "*service.in" | wc -l)
+	if [[ ${found_num_of_services} != ${known_num_of_services} ]]; then
+		eerror "Number of service files mismatch!"
+		eerror "Expected: ${known_num_of_services}"
+		eerror "Found: ${found_num_of_services}"
+		die
+	fi
+}
+
+src_configure() {
+	local mycmakeargs=( -DWITH_SYSTEMD=$(usex systemd) )
+	ecm-common_src_configure
+}

diff --git a/kde-frameworks/ksecretd-services/ksecretd-services-9999.ebuild b/kde-frameworks/ksecretd-services/ksecretd-services-9999.ebuild
new file mode 100644
index 0000000000..1486436e58
--- /dev/null
+++ b/kde-frameworks/ksecretd-services/ksecretd-services-9999.ebuild
@@ -0,0 +1,62 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# this is purely for service file creation
+ECM_I18N="false"
+ECM_HANDBOOK="false"
+KDE_ORG_NAME="kwallet"
+inherit ecm-common frameworks.kde.org
+
+DESCRIPTION="D-Bus service files for ksecretd kwallet runtime component"
+
+LICENSE="LGPL-2+"
+SLOT="0"
+KEYWORDS=""
+IUSE="systemd"
+
+RDEPEND="!<kde-frameworks/kwallet-runtime-6.18.0-r1:6"
+
+ecm-common_inject_heredoc() {
+	my_configure_file(){
+		echo "configure_file(src/runtime/ksecretd/${1}.in \${CMAKE_CURRENT_BINARY_DIR}/${1})"
+	}
+
+	cat >> CMakeLists.txt <<- _EOF_ || die
+		option(WITH_SYSTEMD "Install service file for portal DBus service" ON) # KDE-bug #509680
+		$(my_configure_file org.kde.secretservicecompat.service)
+		if(WITH_SYSTEMD)
+			$(my_configure_file org.freedesktop.impl.portal.desktop.kwallet.service)
+		endif()
+		install(FILES
+				\${CMAKE_CURRENT_BINARY_DIR}/org.kde.secretservicecompat.service
+			DESTINATION \${KDE_INSTALL_DBUSSERVICEDIR}
+		)
+		if(WITH_SYSTEMD)
+			install(FILES
+					\${CMAKE_CURRENT_BINARY_DIR}/org.freedesktop.impl.portal.desktop.kwallet.service
+				DESTINATION \${KDE_INSTALL_DBUSSERVICEDIR}
+			)
+		endif()
+	_EOF_
+}
+
+src_prepare() {
+	ecm-common_src_prepare
+
+	# Safety measure in case new services are added in the future
+	local known_num_of_services=2
+	local found_num_of_services=$(find src/runtime/ksecretd -iname "*service.in" | wc -l)
+	if [[ ${found_num_of_services} != ${known_num_of_services} ]]; then
+		eerror "Number of service files mismatch!"
+		eerror "Expected: ${known_num_of_services}"
+		eerror "Found: ${found_num_of_services}"
+		die
+	fi
+}
+
+src_configure() {
+	local mycmakeargs=( -DWITH_SYSTEMD=$(usex systemd) )
+	ecm-common_src_configure
+}

diff --git a/kde-frameworks/ksecretd-services/metadata.xml b/kde-frameworks/ksecretd-services/metadata.xml
new file mode 100644
index 0000000000..34fd23fdbd
--- /dev/null
+++ b/kde-frameworks/ksecretd-services/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="project">
+		<email>kde@gentoo.org</email>
+		<name>Gentoo KDE Project</name>
+	</maintainer>
+	<upstream>
+		<bugs-to>https://bugs.kde.org/enter_bug.cgi?product=frameworks-kwallet</bugs-to>
+		<remote-id type="kde-invent">frameworks/kwallet</remote-id>
+	</upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] proj/kde:master commit in: kde-frameworks/ksecretd-services/
@ 2025-10-09  2:34 Sam James
  0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2025-10-09  2:34 UTC (permalink / raw
  To: gentoo-commits

commit:     2ef0c6d27ee3d98622ffea3b2d31d89aab30f63c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Oct  9 02:32:04 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Oct  9 02:33:17 2025 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=2ef0c6d2

kde-frameworks/ksecretd-services: fix SLOT=0 -> SLOT=6

.. to match the .keywords files.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 kde-frameworks/ksecretd-services/ksecretd-services-6.19.0.ebuild | 2 +-
 kde-frameworks/ksecretd-services/ksecretd-services-9999.ebuild   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/kde-frameworks/ksecretd-services/ksecretd-services-6.19.0.ebuild b/kde-frameworks/ksecretd-services/ksecretd-services-6.19.0.ebuild
index 29645d228c..55e87011ce 100644
--- a/kde-frameworks/ksecretd-services/ksecretd-services-6.19.0.ebuild
+++ b/kde-frameworks/ksecretd-services/ksecretd-services-6.19.0.ebuild
@@ -12,7 +12,7 @@ inherit ecm-common frameworks.kde.org
 DESCRIPTION="D-Bus service files for ksecretd kwallet runtime component"
 
 LICENSE="LGPL-2+"
-SLOT="0"
+SLOT="6"
 KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
 IUSE="systemd"
 

diff --git a/kde-frameworks/ksecretd-services/ksecretd-services-9999.ebuild b/kde-frameworks/ksecretd-services/ksecretd-services-9999.ebuild
index 1486436e58..f787df0457 100644
--- a/kde-frameworks/ksecretd-services/ksecretd-services-9999.ebuild
+++ b/kde-frameworks/ksecretd-services/ksecretd-services-9999.ebuild
@@ -12,7 +12,7 @@ inherit ecm-common frameworks.kde.org
 DESCRIPTION="D-Bus service files for ksecretd kwallet runtime component"
 
 LICENSE="LGPL-2+"
-SLOT="0"
+SLOT="6"
 KEYWORDS=""
 IUSE="systemd"
 


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] proj/kde:master commit in: kde-frameworks/ksecretd-services/
@ 2025-10-11 21:00 Andreas Sturmlechner
  0 siblings, 0 replies; 3+ messages in thread
From: Andreas Sturmlechner @ 2025-10-11 21:00 UTC (permalink / raw
  To: gentoo-commits

commit:     3d83c29e883424b98a46d8f663fc1c03c35f5443
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 10 20:11:20 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Oct 10 20:11:20 2025 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=3d83c29e

kde-frameworks/ksecretd-services: drop 6.19.0

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 .../ksecretd-services-6.19.0.ebuild                | 62 ----------------------
 1 file changed, 62 deletions(-)

diff --git a/kde-frameworks/ksecretd-services/ksecretd-services-6.19.0.ebuild b/kde-frameworks/ksecretd-services/ksecretd-services-6.19.0.ebuild
deleted file mode 100644
index 55e87011ce..0000000000
--- a/kde-frameworks/ksecretd-services/ksecretd-services-6.19.0.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# this is purely for service file creation
-ECM_I18N="false"
-ECM_HANDBOOK="false"
-KDE_ORG_NAME="kwallet"
-inherit ecm-common frameworks.kde.org
-
-DESCRIPTION="D-Bus service files for ksecretd kwallet runtime component"
-
-LICENSE="LGPL-2+"
-SLOT="6"
-KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
-IUSE="systemd"
-
-RDEPEND="!<kde-frameworks/kwallet-runtime-6.18.0-r1:6"
-
-ecm-common_inject_heredoc() {
-	my_configure_file(){
-		echo "configure_file(src/runtime/ksecretd/${1}.in \${CMAKE_CURRENT_BINARY_DIR}/${1})"
-	}
-
-	cat >> CMakeLists.txt <<- _EOF_ || die
-		option(WITH_SYSTEMD "Install service file for portal DBus service" ON) # KDE-bug #509680
-		$(my_configure_file org.kde.secretservicecompat.service)
-		if(WITH_SYSTEMD)
-			$(my_configure_file org.freedesktop.impl.portal.desktop.kwallet.service)
-		endif()
-		install(FILES
-				\${CMAKE_CURRENT_BINARY_DIR}/org.kde.secretservicecompat.service
-			DESTINATION \${KDE_INSTALL_DBUSSERVICEDIR}
-		)
-		if(WITH_SYSTEMD)
-			install(FILES
-					\${CMAKE_CURRENT_BINARY_DIR}/org.freedesktop.impl.portal.desktop.kwallet.service
-				DESTINATION \${KDE_INSTALL_DBUSSERVICEDIR}
-			)
-		endif()
-	_EOF_
-}
-
-src_prepare() {
-	ecm-common_src_prepare
-
-	# Safety measure in case new services are added in the future
-	local known_num_of_services=2
-	local found_num_of_services=$(find src/runtime/ksecretd -iname "*service.in" | wc -l)
-	if [[ ${found_num_of_services} != ${known_num_of_services} ]]; then
-		eerror "Number of service files mismatch!"
-		eerror "Expected: ${known_num_of_services}"
-		eerror "Found: ${found_num_of_services}"
-		die
-	fi
-}
-
-src_configure() {
-	local mycmakeargs=( -DWITH_SYSTEMD=$(usex systemd) )
-	ecm-common_src_configure
-}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-10-11 21:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-08 18:25 [gentoo-commits] proj/kde:master commit in: kde-frameworks/ksecretd-services/ Andreas Sturmlechner
  -- strict thread matches above, loose matches on Subject: below --
2025-10-09  2:34 Sam James
2025-10-11 21:00 Andreas Sturmlechner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox