From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 48130138359 for ; Sat, 1 Aug 2020 22:58:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 29026E0B01; Sat, 1 Aug 2020 22:58:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0F9B0E0B01 for ; Sat, 1 Aug 2020 22:58:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 46D2534F3E4 for ; Sat, 1 Aug 2020 22:57:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B470230D for ; Sat, 1 Aug 2020 22:57:54 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1596322640.7be87d03197beed0aed5eb18d03f2665f7617bca.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: kde-plasma/kscreenlocker/files/, kde-plasma/kscreenlocker/ X-VCS-Repository: repo/gentoo X-VCS-Files: kde-plasma/kscreenlocker/files/kscreenlocker-5.19.5-ck-unlock.patch kde-plasma/kscreenlocker/kscreenlocker-5.19.4-r1.ebuild X-VCS-Directories: kde-plasma/kscreenlocker/files/ kde-plasma/kscreenlocker/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 7be87d03197beed0aed5eb18d03f2665f7617bca X-VCS-Branch: master Date: Sat, 1 Aug 2020 22:57:54 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5363341c-cfb4-406f-98bd-6e7334b0c215 X-Archives-Hash: 3e3752aa17be7e21d86026f6f1b7055d commit: 7be87d03197beed0aed5eb18d03f2665f7617bca Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat Aug 1 18:22:58 2020 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat Aug 1 22:57:20 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7be87d03 kde-plasma/kscreenlocker: Make ConsoleKit switch always accessible Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Andreas Sturmlechner gentoo.org> .../files/kscreenlocker-5.19.5-ck-unlock.patch | 32 ++++++++++++++++++++++ .../kscreenlocker/kscreenlocker-5.19.4-r1.ebuild | 4 ++- 2 files changed, 35 insertions(+), 1 deletion(-) 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 new file mode 100644 index 00000000000..bb15eba72b8 --- /dev/null +++ b/kde-plasma/kscreenlocker/files/kscreenlocker-5.19.5-ck-unlock.patch @@ -0,0 +1,32 @@ +From 1bac5f6e50bc3255ab0e4c9183e7456f53acfdd5 Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner +Date: Sat, 1 Aug 2020 20:05:17 +0200 +Subject: [PATCH] Provide ConsoleKit switch irrespective of HAVE_LOGINCTL + +--- + CMakeLists.txt | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 60d3ee1..aaebc82 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -92,7 +92,6 @@ set_package_properties(loginctl PROPERTIES + ) + set(HAVE_LOGINCTL ${loginctl_FOUND}) + +-if ( NOT HAVE_LOGINCTL ) + find_package(ConsoleKit) + set_package_properties(ConsoleKit PROPERTIES + URL "https://github.com/ConsoleKit2/ConsoleKit2" +@@ -100,7 +99,6 @@ if ( NOT HAVE_LOGINCTL ) + TYPE RECOMMENDED + ) + set(HAVE_CONSOLEKIT ${ConsoleKit_FOUND}) +-endif () + + if (HAVE_LOGINCTL OR HAVE_CONSOLEKIT) + set(HAVE_UNLOCK_CAPABILITY TRUE) +-- +2.28.0 + diff --git a/kde-plasma/kscreenlocker/kscreenlocker-5.19.4-r1.ebuild b/kde-plasma/kscreenlocker/kscreenlocker-5.19.4-r1.ebuild index 06317c83154..8848223ae78 100644 --- a/kde-plasma/kscreenlocker/kscreenlocker-5.19.4-r1.ebuild +++ b/kde-plasma/kscreenlocker/kscreenlocker-5.19.4-r1.ebuild @@ -57,6 +57,8 @@ PDEPEND=" RESTRICT+=" test" +PATCHES=( "${FILESDIR}/${PN}-5.19.5-ck-unlock.patch" ) + src_prepare() { ecm_src_prepare @@ -77,7 +79,7 @@ src_test() { src_configure() { local mycmakeargs=( -DCMAKE_DISABLE_FIND_PACKAGE_Seccomp=ON - $(cmake_use_find_package consolekit loginctl) + $(cmake_use_find_package consolekit ConsoleKit) -DPAM_REQUIRED=$(usex pam) $(cmake_use_find_package pam PAM) )