summaryrefslogtreecommitdiff
path: root/kde-plasma/kdesu-gui
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-09-05 12:28:41 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-09-05 12:28:41 +0100
commit5d93bae2c1576ab817f482024a6d47592829407b (patch)
tree1fd9619473e6cdba4c004554cb1743ec16654102 /kde-plasma/kdesu-gui
parent518b45bffd19d0b75715f338985f96c459f9d129 (diff)
gentoo auto-resync : 05:09:2024 - 12:28:40
Diffstat (limited to 'kde-plasma/kdesu-gui')
-rw-r--r--kde-plasma/kdesu-gui/Manifest7
-rw-r--r--kde-plasma/kdesu-gui/files/kdesu-gui-5.27.11-build-only-kdesu.patch87
-rw-r--r--kde-plasma/kdesu-gui/files/kdesu-gui-6.1.5-build-only-kdesu.patch72
-rw-r--r--kde-plasma/kdesu-gui/kdesu-gui-5.27.11-r1.ebuild46
-rw-r--r--kde-plasma/kdesu-gui/kdesu-gui-6.1.4.ebuild53
-rw-r--r--kde-plasma/kdesu-gui/metadata.xml12
6 files changed, 277 insertions, 0 deletions
diff --git a/kde-plasma/kdesu-gui/Manifest b/kde-plasma/kdesu-gui/Manifest
new file mode 100644
index 000000000000..9019559b2d93
--- /dev/null
+++ b/kde-plasma/kdesu-gui/Manifest
@@ -0,0 +1,7 @@
+AUX kdesu-gui-5.27.11-build-only-kdesu.patch 2411 BLAKE2B 63c1d1b42e499470097daead457b694766a0a871001fec66fe966fc7391b567f982216df13b1973fac0e6153f4a56ac841cca860690ba43e9ed2ad502b969743 SHA512 9db751ec3b9dcffe26466c060729512b1cb287167c30727ed13c5338227c6943b2ae9ba7135c2f4e208442cd32b472d9b69c18df5411eb963b0268269eff0528
+AUX kdesu-gui-6.1.5-build-only-kdesu.patch 2043 BLAKE2B d938496e7276f468b72e3f8f8e1e1a623e57c0dbfff6882f53ef7f447f14ac835dfd858d2534d29424def3c1d04f12dd53e70f5b0c13f00bfa3a23c9d12fba91 SHA512 762e38da5e02f725418eadae0f90e8af42c8b53a3bb5814506b99c8b8f6517fa7cdebff574b900191462d9e989908f284256d5382a6ac534f4070bd1f681c1d4
+DIST kde-cli-tools-5.27.11.tar.xz 670892 BLAKE2B 56463030f1935dd722212282000f9fd5e337de7171cc2f9ec08fdae66ed681463680af33fa5ac6b21c93e9eebbb4b415a211f0e72f075521960084afa69bfdb0 SHA512 8f6bbe39df4e491a28d3c6576c58bcbf74971f54157a8cdbc3bb7d4719a31d83f38bae45402cb8f48f11bd37d907bb625f89b929b83a2bb459d7c9c836d78006
+DIST kde-cli-tools-6.1.4.tar.xz 629280 BLAKE2B accd7ffbfe0d52c4ab3bffbb2eff03f1f4ffd80b915cb9ed643fc3216d3ab23c373b29a24b273072e3ee3dddc3f72d258acee5ad9d25a8a869e16193c9413519 SHA512 8f06ef6e4eb1b070ecd2e52ca3e38c6aeb2bca3f3617dbf9a935d0a081bab71bd0d25b275ad6e19177dd8f7768b3dfd18a5b54f6074227d32e12b74c257d1689
+EBUILD kdesu-gui-5.27.11-r1.ebuild 1063 BLAKE2B ed8623a6bb15054de14d59803a29be91ae164a7553cbd91f3da328d09514f6896dc451cd68968d0b4ba3b9c962924b207fa5f81f33e84e797588583f140f739c SHA512 187e8e232a4c39e7601fab289d91f5af2ad17178294e91d81da7eba91e351b40cc8bf06857bcb3804c2d466e67f0cc9e9a1c9a1c69eb189114cff39a46e53ec0
+EBUILD kdesu-gui-6.1.4.ebuild 1155 BLAKE2B 5796892e622ad670800cb747f7e892cb63335f4122b0affdcf6d74b8ab4dddfc1b75501977711e997f2cbbfd0b00fc574d5a61b44b43461b32e44a738cbb5c63 SHA512 84788dd37c504f17b1325c79c59ce54a09a95aa7feeb56eb6c1dcf93aff282331098d024c3d7eeaace6259e965129641a7d21d0a9486cdce46105f943f17b1a1
+MISC metadata.xml 382 BLAKE2B 65e332d88052943d815597bae85a59fcc93ae16b2216202922007679f0dac8753cec074897dcd59c06ddccd2221977fb78e9b5fab34a6d752a2022fb93d42d65 SHA512 d767c9739c3a351a3d463c2e44cbb6b79b5673d9aeaecc429a3c177ab711aa510c2b83b97d5e3db3f6d8464444579cd07f73689c064cfb4cca1fc4e212fc3c6b
diff --git a/kde-plasma/kdesu-gui/files/kdesu-gui-5.27.11-build-only-kdesu.patch b/kde-plasma/kdesu-gui/files/kdesu-gui-5.27.11-build-only-kdesu.patch
new file mode 100644
index 000000000000..ecca7f33a00b
--- /dev/null
+++ b/kde-plasma/kdesu-gui/files/kdesu-gui-5.27.11-build-only-kdesu.patch
@@ -0,0 +1,87 @@
+From 879f2767224d79fd9b8636b0893f6a99483c98df Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <asturm@gentoo.org>
+Date: Mon, 2 Sep 2024 23:18:46 +0200
+Subject: [PATCH] Make all KF5 and Qt5 modules optional, disable all subdirs
+ except kdesu
+
+Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
+---
+ CMakeLists.txt | 42 +++++++++++++++++++++---------------------
+ 1 file changed, 21 insertions(+), 21 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index fad18a81..6356d0c7 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -28,7 +28,7 @@ include(ECMDeprecationSettings)
+
+ include(KDEGitCommitHooks)
+
+-find_package(Qt${QT_MAJOR_VERSION} ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS
++find_package(Qt${QT_MAJOR_VERSION} ${QT_MIN_VERSION} CONFIG COMPONENTS
+ Widgets
+ Svg
+ DBus
+@@ -44,7 +44,7 @@ if (NOT Qt${QT_MAJOR_VERSION}Test_FOUND)
+ set(BUILD_TESTING OFF CACHE BOOL "Build the testing tree.")
+ endif()
+
+-find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
++find_package(KF5 ${KF5_MIN_VERSION} COMPONENTS
+ Config
+ DocTools
+ IconThemes
+@@ -87,31 +87,31 @@ function(install_compat_symlink executable_target)
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${executable_target}5 DESTINATION ${KDE_INSTALL_FULL_BINDIR})
+ endfunction()
+
+-add_subdirectory(kcmshell)
+-add_subdirectory(keditfiletype)
+-add_subdirectory(kmimetypefinder)
+-if (QT_MAJOR_VERSION EQUAL "5")
+- add_subdirectory(ktraderclient)
+-endif()
+-add_subdirectory(kioclient)
+-add_subdirectory(ksvgtopng)
+-add_subdirectory(kdeinhibit)
+-add_subdirectory(plasma-open-settings)
+-add_subdirectory(kinfo)
+-
+-if(Qt5X11Extras_FOUND)
+- add_subdirectory(kstart)
+-endif()
++#add_subdirectory(kcmshell)
++#add_subdirectory(keditfiletype)
++#add_subdirectory(kmimetypefinder)
++#if (QT_MAJOR_VERSION EQUAL "5")
++# add_subdirectory(ktraderclient)
++#endif()
++#add_subdirectory(kioclient)
++#add_subdirectory(ksvgtopng)
++#add_subdirectory(kdeinhibit)
++#add_subdirectory(plasma-open-settings)
++#add_subdirectory(kinfo)
++
++#if(Qt5X11Extras_FOUND)
++# add_subdirectory(kstart)
++#endif()
+
+
+ if(KF5Su_FOUND)
+ add_subdirectory(kdesu)
+ endif()
+
+-if(UNIX)
+- add_subdirectory(kdeeject)
+- add_subdirectory(kbroadcastnotification)
+-endif()
++#if(UNIX)
++# add_subdirectory(kdeeject)
++# add_subdirectory(kbroadcastnotification)
++#endif()
+
+ check_include_files(sys/wait.h HAVE_SYS_WAIT_H)
+
+--
+2.46.0
+
diff --git a/kde-plasma/kdesu-gui/files/kdesu-gui-6.1.5-build-only-kdesu.patch b/kde-plasma/kdesu-gui/files/kdesu-gui-6.1.5-build-only-kdesu.patch
new file mode 100644
index 000000000000..0679d9bf8501
--- /dev/null
+++ b/kde-plasma/kdesu-gui/files/kdesu-gui-6.1.5-build-only-kdesu.patch
@@ -0,0 +1,72 @@
+From eacbe389502b4f89cb64dc24f10f3e8d2b5eb5c7 Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <asturm@gentoo.org>
+Date: Mon, 2 Sep 2024 23:18:46 +0200
+Subject: [PATCH] Make all KF6 and Qt6 modules optional, disable all subdirs
+ except kdesu
+
+Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
+---
+ CMakeLists.txt | 28 ++++++++++++++--------------
+ 1 file changed, 14 insertions(+), 14 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index dc435bca..234447e0 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -28,7 +28,7 @@ include(ECMDeprecationSettings)
+
+ include(KDEGitCommitHooks)
+
+-find_package(Qt6 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS
++find_package(Qt6 ${QT_MIN_VERSION} CONFIG COMPONENTS
+ Widgets
+ Svg
+ DBus
+@@ -44,7 +44,7 @@ if (NOT Qt6Test_FOUND)
+ set(BUILD_TESTING OFF CACHE BOOL "Build the testing tree.")
+ endif()
+
+-find_package(KF6 ${KF6_MIN_VERSION} REQUIRED COMPONENTS
++find_package(KF6 ${KF6_MIN_VERSION} COMPONENTS
+ Config
+ DocTools
+ IconThemes
+@@ -78,23 +78,23 @@ function(install_compat_symlink executable_target)
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${executable_target}5 DESTINATION ${KDE_INSTALL_FULL_BINDIR})
+ endfunction()
+
+-add_subdirectory(keditfiletype)
+-add_subdirectory(kmimetypefinder)
+-add_subdirectory(kioclient)
+-add_subdirectory(ksvgtopng)
+-add_subdirectory(kdeinhibit)
+-add_subdirectory(plasma-open-settings)
+-add_subdirectory(kinfo)
+-add_subdirectory(kstart)
++#add_subdirectory(keditfiletype)
++#add_subdirectory(kmimetypefinder)
++#add_subdirectory(kioclient)
++#add_subdirectory(ksvgtopng)
++#add_subdirectory(kdeinhibit)
++#add_subdirectory(plasma-open-settings)
++#add_subdirectory(kinfo)
++#add_subdirectory(kstart)
+
+ if(KF6Su_FOUND)
+ add_subdirectory(kdesu)
+ endif()
+
+-if(UNIX)
+- add_subdirectory(kdeeject)
+- add_subdirectory(kbroadcastnotification)
+-endif()
++#if(UNIX)
++# add_subdirectory(kdeeject)
++# add_subdirectory(kbroadcastnotification)
++#endif()
+
+ check_include_files(sys/wait.h HAVE_SYS_WAIT_H)
+
+--
+2.46.0
+
diff --git a/kde-plasma/kdesu-gui/kdesu-gui-5.27.11-r1.ebuild b/kde-plasma/kdesu-gui/kdesu-gui-5.27.11-r1.ebuild
new file mode 100644
index 000000000000..cf92644003ea
--- /dev/null
+++ b/kde-plasma/kdesu-gui/kdesu-gui-5.27.11-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="forceoff"
+ECM_TEST="false"
+KDE_ORG_NAME="kde-cli-tools"
+KFMIN=5.106.0
+QTMIN=5.15.9
+inherit ecm plasma.kde.org
+
+DESCRIPTION="Graphical frontend for KDE Frameworks' kdesu"
+HOMEPAGE="https://invent.kde.org/plasma/kde-cli-tools"
+
+LICENSE="GPL-2" # TODO: CHECK
+SLOT="0"
+KEYWORDS="~loong ~x86"
+
+DEPEND="
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=kde-frameworks/kconfig-${KFMIN}:5
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5
+ >=kde-frameworks/kdesu-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
+ >=kde-frameworks/kwindowsystem-${KFMIN}:5[X]
+"
+RDEPEND="${DEPEND}
+ !<${CATEGORY}/${KDE_ORG_NAME}-6.1.4-r2:*[kdesu(+)]
+ >=${CATEGORY}/${KDE_ORG_NAME}-common-${PV}
+ sys-apps/dbus[X]
+"
+
+PATCHES=( "${FILESDIR}/${P}-build-only-kdesu.patch" )
+
+src_prepare() {
+ ecm_src_prepare
+ ecm_punt_po_install
+}
+
+src_install() {
+ ecm_src_install
+ dosym ../$(get_libdir)/libexec/kf5/kdesu /usr/bin/kdesu
+}
diff --git a/kde-plasma/kdesu-gui/kdesu-gui-6.1.4.ebuild b/kde-plasma/kdesu-gui/kdesu-gui-6.1.4.ebuild
new file mode 100644
index 000000000000..c4ba0b2f76d2
--- /dev/null
+++ b/kde-plasma/kdesu-gui/kdesu-gui-6.1.4.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="forceoff"
+ECM_TEST="false"
+KDE_ORG_NAME="kde-cli-tools"
+KFMIN=6.5.0
+QTMIN=6.7.2
+inherit ecm plasma.kde.org
+
+DESCRIPTION="Graphical frontend for KDE Frameworks' kdesu"
+HOMEPAGE="https://invent.kde.org/plasma/kde-cli-tools"
+
+LICENSE="GPL-2" # TODO: CHECK
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="X"
+
+DEPEND="
+ >=dev-qt/qtbase-${QTMIN}:6=[gui,widgets]
+ >=kde-frameworks/kconfig-${KFMIN}:6
+ >=kde-frameworks/kcoreaddons-${KFMIN}:6
+ >=kde-frameworks/kdesu-${KFMIN}:6
+ >=kde-frameworks/ki18n-${KFMIN}:6
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:6
+ >=kde-frameworks/kwindowsystem-${KFMIN}:6[X?]
+"
+RDEPEND="${DEPEND}
+ !<${CATEGORY}/${KDE_ORG_NAME}-6.1.4-r2:*[kdesu(+)]
+ >=${CATEGORY}/${KDE_ORG_NAME}-common-${PV}
+ sys-apps/dbus[X]
+"
+
+PATCHES=( "${FILESDIR}/${PN}-6.1.5-build-only-kdesu.patch" )
+
+src_prepare() {
+ ecm_src_prepare
+ ecm_punt_po_install
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DWITH_X11=$(usex X)
+ )
+ ecm_src_configure
+}
+
+src_install() {
+ ecm_src_install
+ dosym ../libexec/kf6/kdesu /usr/bin/kdesu
+}
diff --git a/kde-plasma/kdesu-gui/metadata.xml b/kde-plasma/kdesu-gui/metadata.xml
new file mode 100644
index 000000000000..7e9d56c900d5
--- /dev/null
+++ b/kde-plasma/kdesu-gui/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/</bugs-to>
+ <remote-id type="kde-invent">plasma/kde-cli-tools</remote-id>
+ </upstream>
+</pkgmetadata>