Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: kde-plasma/kscreenlocker/files/, kde-plasma/kscreenlocker/
Date: Sun, 02 Aug 2020 11:16:08
Message-Id: 1596358647.ab60e71421fc10e14f37939f6c91d67fdb00aae8.asturm@gentoo
1 commit: ab60e71421fc10e14f37939f6c91d67fdb00aae8
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 2 08:57:27 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 2 08:57:27 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=ab60e714
7
8 kde-plasma/kscreenlocker: Drop IUSE=consolekit from 5.19 too
9
10 Package-Manager: Portage-3.0.1, Repoman-2.3.23
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 .../files/kscreenlocker-5.19.5-ck-unlock.patch | 32 ----------------------
14 .../kscreenlocker-5.19.49.9999.ebuild | 6 +---
15 kde-plasma/kscreenlocker/metadata.xml | 3 --
16 3 files changed, 1 insertion(+), 40 deletions(-)
17
18 diff --git a/kde-plasma/kscreenlocker/files/kscreenlocker-5.19.5-ck-unlock.patch b/kde-plasma/kscreenlocker/files/kscreenlocker-5.19.5-ck-unlock.patch
19 deleted file mode 100644
20 index bb15eba72b..0000000000
21 --- a/kde-plasma/kscreenlocker/files/kscreenlocker-5.19.5-ck-unlock.patch
22 +++ /dev/null
23 @@ -1,32 +0,0 @@
24 -From 1bac5f6e50bc3255ab0e4c9183e7456f53acfdd5 Mon Sep 17 00:00:00 2001
25 -From: Andreas Sturmlechner <asturm@g.o>
26 -Date: Sat, 1 Aug 2020 20:05:17 +0200
27 -Subject: [PATCH] Provide ConsoleKit switch irrespective of HAVE_LOGINCTL
28 -
29 ----
30 - CMakeLists.txt | 2 --
31 - 1 file changed, 2 deletions(-)
32 -
33 -diff --git a/CMakeLists.txt b/CMakeLists.txt
34 -index 60d3ee1..aaebc82 100644
35 ---- a/CMakeLists.txt
36 -+++ b/CMakeLists.txt
37 -@@ -92,7 +92,6 @@ set_package_properties(loginctl PROPERTIES
38 - )
39 - set(HAVE_LOGINCTL ${loginctl_FOUND})
40 -
41 --if ( NOT HAVE_LOGINCTL )
42 - find_package(ConsoleKit)
43 - set_package_properties(ConsoleKit PROPERTIES
44 - URL "https://github.com/ConsoleKit2/ConsoleKit2"
45 -@@ -100,7 +99,6 @@ if ( NOT HAVE_LOGINCTL )
46 - TYPE RECOMMENDED
47 - )
48 - set(HAVE_CONSOLEKIT ${ConsoleKit_FOUND})
49 --endif ()
50 -
51 - if (HAVE_LOGINCTL OR HAVE_CONSOLEKIT)
52 - set(HAVE_UNLOCK_CAPABILITY TRUE)
53 ---
54 -2.28.0
55 -
56
57 diff --git a/kde-plasma/kscreenlocker/kscreenlocker-5.19.49.9999.ebuild b/kde-plasma/kscreenlocker/kscreenlocker-5.19.49.9999.ebuild
58 index ae938b4eea..c230b040ab 100644
59 --- a/kde-plasma/kscreenlocker/kscreenlocker-5.19.49.9999.ebuild
60 +++ b/kde-plasma/kscreenlocker/kscreenlocker-5.19.49.9999.ebuild
61 @@ -15,7 +15,7 @@ DESCRIPTION="Library and components for secure lock screen architecture"
62 LICENSE="GPL-2" # TODO: CHECK
63 SLOT="5"
64 KEYWORDS=""
65 -IUSE="consolekit +pam"
66 +IUSE="+pam"
67
68 COMMON_DEPEND="
69 dev-libs/wayland
70 @@ -45,7 +45,6 @@ COMMON_DEPEND="
71 x11-libs/libXi
72 x11-libs/libxcb
73 x11-libs/xcb-util-keysyms
74 - consolekit? ( sys-auth/consolekit )
75 pam? ( sys-libs/pam )
76 "
77 DEPEND="${COMMON_DEPEND}
78 @@ -61,8 +60,6 @@ PDEPEND="
79
80 RESTRICT+=" test"
81
82 -PATCHES=( "${FILESDIR}/${PN}-5.19.5-ck-unlock.patch" )
83 -
84 src_prepare() {
85 ecm_src_prepare
86
87 @@ -83,7 +80,6 @@ src_test() {
88 src_configure() {
89 local mycmakeargs=(
90 -DCMAKE_DISABLE_FIND_PACKAGE_Seccomp=ON
91 - $(cmake_use_find_package consolekit ConsoleKit)
92 -DPAM_REQUIRED=$(usex pam)
93 $(cmake_use_find_package pam PAM)
94 )
95
96 diff --git a/kde-plasma/kscreenlocker/metadata.xml b/kde-plasma/kscreenlocker/metadata.xml
97 index 7c59355b62..2fdbf33d96 100644
98 --- a/kde-plasma/kscreenlocker/metadata.xml
99 +++ b/kde-plasma/kscreenlocker/metadata.xml
100 @@ -5,7 +5,4 @@
101 <email>kde@g.o</email>
102 <name>Gentoo KDE Project</name>
103 </maintainer>
104 - <use>
105 - <flag name="consolekit">Support for killing the screenlocker when <pkg>sys-auth/consolekit</pkg> is the session tracker</flag>
106 - </use>
107 </pkgmetadata>