diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2024-04-16 21:23:57 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2024-04-16 21:50:38 +0200 |
commit | fa323d2937bc59fb70f1d840a9fe82e01d7d006a (patch) | |
tree | 5ac6c525f230dd0c9fc771b4766add9ff96915ec /kde-plasma/kscreenlocker | |
parent | kde-plasma/kscreen: drop 6.0.3 (diff) | |
download | gentoo-fa323d2937bc59fb70f1d840a9fe82e01d7d006a.tar.gz gentoo-fa323d2937bc59fb70f1d840a9fe82e01d7d006a.tar.bz2 gentoo-fa323d2937bc59fb70f1d840a9fe82e01d7d006a.zip |
kde-plasma/kscreenlocker: drop 6.0.3-r1
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-plasma/kscreenlocker')
3 files changed, 0 insertions, 130 deletions
diff --git a/kde-plasma/kscreenlocker/Manifest b/kde-plasma/kscreenlocker/Manifest index 2b7ed27037ed..3fed1804c982 100644 --- a/kde-plasma/kscreenlocker/Manifest +++ b/kde-plasma/kscreenlocker/Manifest @@ -1,3 +1,2 @@ DIST kscreenlocker-5.27.11.tar.xz 160796 BLAKE2B 6ab6060ee7ce2b01a0a29f6d0aebbaba052fabaa6c229e92603b52d32ea473c438b8647cc2f2bdbf48edfa98c05aa7e22ce0b75964d9a8ab6d914c32254fdfcb SHA512 cfaaa6242253f6c511f645bb7f9023328a5d5bb58616284f85db949da969e04303f4e0e28283a08ed0fb02845840be67a76785d4b4596ef057ec7069cda92a3a -DIST kscreenlocker-6.0.3.tar.xz 164472 BLAKE2B 42078471727ff669af3d929a425d7df8b4f929d4b228c9966e2b1f09485d155937961c99fb76aa838c15e31d98c10b655416297c290bec559ab3cb825f8817ab SHA512 9f4aac85e958fdbca268e14fc60b766968d0b0ae7a657a9b07270177e6c48820910a086bb8ee03d77d09018b7e7a08580e6f2a16ea561e77d540178d4214e21b DIST kscreenlocker-6.0.4.tar.xz 164520 BLAKE2B 4c31ff447374c1506e578c6524825da98c98a2cb0dd7ab5ba8edd39d1688d94de5385bd5bf39db292bea8a8bc76f56ae95c86bfeacc4d1a222eb4dbf993c1ba5 SHA512 a5f01c8d1c976584546dacdb9d0f18ee8b59bf3e00caf01a6de294d1998eaf0806e551650d0528a3b3d4f65954fc7edadd808ba75b5b7d7060646058ab8d34cf diff --git a/kde-plasma/kscreenlocker/files/kscreenlocker-6.0.3-fix-lockscreen-race.patch b/kde-plasma/kscreenlocker/files/kscreenlocker-6.0.3-fix-lockscreen-race.patch deleted file mode 100644 index 45976e0e1a14..000000000000 --- a/kde-plasma/kscreenlocker/files/kscreenlocker-6.0.3-fix-lockscreen-race.patch +++ /dev/null @@ -1,47 +0,0 @@ -From 3105518ec3bc3ac88374e2c3b204f23feda91b5b Mon Sep 17 00:00:00 2001 -From: Dmitriy Konev <ddkonev@gmail.com> -Date: Sun, 18 Jun 2023 16:42:56 +0300 -Subject: [PATCH] Prevent finishing greeter by unhandled signals - -We have time gap between main() start and KSignalHandler registration -in which signals will close greeter - -First this bug tried to fix in commit c63287ca1250d60f61c4429cbeb0215f5c3bebde -but placing KSignalHandler registration at start of main() is bad idea -because it broke mechanism for handling signals at all -and this behaviour was fixed in commit 448df7517021b9c2e68de161008ebc180363abed -by moving handlers bellow -for this reason we have this time gap ---- - greeter/main.cpp | 8 ++++++++ - 1 file changed, 8 insertions(+) - -diff --git a/greeter/main.cpp b/greeter/main.cpp -index bf95cd1e..0693646e 100644 ---- a/greeter/main.cpp -+++ b/greeter/main.cpp -@@ -57,6 +57,12 @@ static void signalHandler(int signum) - - int main(int argc, char *argv[]) - { -+ sigset_t blockedSignals; -+ sigemptyset(&blockedSignals); -+ sigaddset(&blockedSignals, SIGTERM); -+ sigaddset(&blockedSignals, SIGUSR1); -+ pthread_sigmask(SIG_BLOCK, &blockedSignals, NULL); -+ - LayerShellQt::Shell::useLayerShell(); - - // disable ptrace on the greeter -@@ -101,6 +107,8 @@ int main(int argc, char *argv[]) - // only connect signal handler once we can actual handle the signal properly - QObject::connect(KSignalHandler::self(), &KSignalHandler::signalReceived, &app, &signalHandler); - -+ pthread_sigmask(SIG_UNBLOCK, &blockedSignals, NULL); -+ - app.setQuitOnLastWindowClosed(false); - app.setQuitLockEnabled(false); - QCoreApplication::setApplicationName(QStringLiteral("kscreenlocker_greet")); --- -GitLab - diff --git a/kde-plasma/kscreenlocker/kscreenlocker-6.0.3-r1.ebuild b/kde-plasma/kscreenlocker/kscreenlocker-6.0.3-r1.ebuild deleted file mode 100644 index ba8ff49e64d2..000000000000 --- a/kde-plasma/kscreenlocker/kscreenlocker-6.0.3-r1.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ECM_TEST="forceoptional" -KFMIN=6.0 -PVCUT=$(ver_cut 1-3) -QTMIN=6.6.2 -inherit ecm plasma.kde.org pam - -DESCRIPTION="Library and components for secure lock screen architecture" - -LICENSE="GPL-2" # TODO: CHECK -SLOT="6" -KEYWORDS="~amd64" -IUSE="" - -RESTRICT="test" - -# qtbase slot up: GuiPrivate use in greeter -COMMON_DEPEND=" - dev-libs/wayland - >=dev-qt/qtbase-${QTMIN}:6=[dbus,gui,network,widgets] - >=dev-qt/qtdeclarative-${QTMIN}:6 - >=kde-frameworks/kcmutils-${KFMIN}:6 - >=kde-frameworks/kconfig-${KFMIN}:6[qml] - >=kde-frameworks/kconfigwidgets-${KFMIN}:6 - >=kde-frameworks/kcoreaddons-${KFMIN}:6 - >=kde-frameworks/kcrash-${KFMIN}:6 - >=kde-frameworks/kglobalaccel-${KFMIN}:6 - >=kde-frameworks/ki18n-${KFMIN}:6 - >=kde-frameworks/kidletime-${KFMIN}:6 - >=kde-frameworks/kio-${KFMIN}:6 - >=kde-frameworks/knotifications-${KFMIN}:6 - >=kde-frameworks/ksvg-${KFMIN}:6 - >=kde-frameworks/kwindowsystem-${KFMIN}:6 - >=kde-frameworks/solid-${KFMIN}:6 - >=kde-plasma/layer-shell-qt-${PVCUT}:6 - >=kde-plasma/libplasma-${PVCUT}:6 - >=kde-plasma/libkscreen-${PVCUT}:6 - sys-libs/pam - x11-libs/libX11 - x11-libs/libXi - x11-libs/libxcb - x11-libs/xcb-util-keysyms -" -DEPEND="${COMMON_DEPEND} - x11-base/xorg-proto -" -RDEPEND="${COMMON_DEPEND} - >=kde-frameworks/kirigami-${KFMIN}:6 - >=kde-plasma/libplasma-${PVCUT}:6 -" -BDEPEND=" - dev-util/wayland-scanner - >=kde-frameworks/kcmutils-${KFMIN}:6 -" -PDEPEND=">=kde-plasma/kde-cli-tools-${PVCUT}:*" - -PATCHES=( "${FILESDIR}/${P}-fix-lockscreen-race.patch" ) - -src_prepare() { - ecm_src_prepare - use test || cmake_run_in greeter cmake_comment_add_subdirectory autotests -} - -src_test() { - # requires running environment - local myctestargs=( - -E x11LockerTest - ) - ecm_src_test -} - -src_install() { - ecm_src_install - - newpamd "${FILESDIR}/kde-r1.pam" kde - newpamd "${FILESDIR}/kde-fingerprint.pam" kde-fingerprint - newpamd "${FILESDIR}/kde-smartcard.pam" kde-smartcard -} |