Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: kde-plasma/kscreenlocker/files/
Date: Wed, 21 Feb 2018 10:12:20
Message-Id: 1519207922.aeb1aeca6ee0f499872f9f165a01aacdcc6a1a75.asturm@gentoo
1 commit: aeb1aeca6ee0f499872f9f165a01aacdcc6a1a75
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 21 10:11:41 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 21 10:12:02 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aeb1aeca
7
8 kde-plasma/kscreenlocker: Add missing patch
9
10 Closes: https://bugs.gentoo.org/648352
11 Package-Manager: Portage-2.3.19, Repoman-2.3.6
12
13 .../files/kscreenlocker-consolekit-unlock.patch | 13 +++++++++++++
14 1 file changed, 13 insertions(+)
15
16 diff --git a/kde-plasma/kscreenlocker/files/kscreenlocker-consolekit-unlock.patch b/kde-plasma/kscreenlocker/files/kscreenlocker-consolekit-unlock.patch
17 new file mode 100644
18 index 00000000000..b0e4011d2b8
19 --- /dev/null
20 +++ b/kde-plasma/kscreenlocker/files/kscreenlocker-consolekit-unlock.patch
21 @@ -0,0 +1,13 @@
22 +--- a/abstractlocker.cpp
23 ++++ b/abstractlocker.cpp
24 +@@ -52,9 +52,8 @@ void BackgroundWindow::paintEvent(QPaintEvent* )
25 + auto text = ki18n("The screen locker is broken and unlocking is not possible anymore.\n"
26 + "In order to unlock switch to a virtual terminal (e.g. Ctrl+Alt+F2),\n"
27 + "log in and execute the command:\n\n"
28 +- "loginctl unlock-session %1\n\n"
29 ++ "ck-unlock-session\n\n"
30 + "Afterwards switch back to the running session (Ctrl+Alt+F%2).");
31 +- text = text.subs(QString::fromLocal8Bit(qgetenv("XDG_SESSION_ID")));
32 + text = text.subs(QString::fromLocal8Bit(qgetenv("XDG_VTNR")));
33 + p.setPen(Qt::white);
34 + QFont f = p.font();