kde-plasma/kdesu-gui: drop 5.27.11-r1

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2024-12-11 00:43:52 +01:00
parent 89c0e4fc9f
commit 7d7e16c2e9
4 changed files with 0 additions and 162 deletions
-1
View File
@@ -1,3 +1,2 @@
DIST kde-cli-tools-5.27.11.tar.xz 670892 BLAKE2B 56463030f1935dd722212282000f9fd5e337de7171cc2f9ec08fdae66ed681463680af33fa5ac6b21c93e9eebbb4b415a211f0e72f075521960084afa69bfdb0 SHA512 8f6bbe39df4e491a28d3c6576c58bcbf74971f54157a8cdbc3bb7d4719a31d83f38bae45402cb8f48f11bd37d907bb625f89b929b83a2bb459d7c9c836d78006
DIST kde-cli-tools-6.1.5.tar.xz 629280 BLAKE2B 200e316531ad6095fe0bfba356f2d5afb2f78dbc219e64bb14ed96d718b542475d3db9efdb8cad42a5c17dfaea7c33df3627a5747f17d549d5bbfe70d1a34e6c SHA512 48fcfdf832828a8c04b46c72dd35273e7859b719707529a755e475b1f82fdc65de641234db6c107ce1a1be05825b286fbf0d4d3620b4deb8e2163cb824dbf388
DIST kde-cli-tools-6.2.4.tar.xz 638232 BLAKE2B 12839e437a35a00f50779a676cce100e571aa9e4ebaaf3ba4fba860bbc2d048bbb081a92671b01150a51bd2ecb16ba64e1e394815d4a02badca39f41f853b943 SHA512 9637f16c9d37c96b2ce72178b59cbce0c1b4d7609a6788936b990771a1d1112b92d5a1992aac21c1d50dd702be5b3aef67eb643226723cd466410d884a8f6170
@@ -1,87 +0,0 @@
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
@@ -1,25 +0,0 @@
From 34f66c29cf7186b860266582b198a5b6869c7fa3 Mon Sep 17 00:00:00 2001
From: Andreas Sturmlechner <asturm@gentoo.org>
Date: Thu, 5 Sep 2024 14:31:44 +0200
Subject: [PATCH] Add missing KF6WidgetsAddons, used by kdesu
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
---
CMakeLists.txt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index dc435bca..ee962482 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -57,6 +57,7 @@ find_package(KF6 ${KF6_MIN_VERSION} REQUIRED COMPONENTS
CoreAddons
OPTIONAL_COMPONENTS
Su
+ WidgetsAddons
QUIET
)
--
2.46.0
@@ -1,49 +0,0 @@
# 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="~arm ~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" # downstream split
"${FILESDIR}/${P}-cmake.patch" # bug 939081, pending upstream MR
)
src_prepare() {
ecm_src_prepare
ecm_punt_po_install
}
src_install() {
ecm_src_install
dosym ../$(get_libdir)/libexec/kf5/kdesu /usr/bin/kdesu
}