summaryrefslogtreecommitdiff
path: root/x11-misc/sddm/files/sddm-0.16.0-ck2-revert.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-07-05 13:55:24 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-07-05 13:55:24 +0100
commitfd890516aacba5ee2d8902fb31cc27964c4632c1 (patch)
tree666b979dfc54571d6c6e04e1939ca5a9bb06b0f0 /x11-misc/sddm/files/sddm-0.16.0-ck2-revert.patch
parent3f081bc83000affd8ec16e0b941c6c08925ea098 (diff)
x11-misc/sddm : version bump (bugfix: https://bugs.redcorelinux.org/show_bug.cgi?id=117)
Diffstat (limited to 'x11-misc/sddm/files/sddm-0.16.0-ck2-revert.patch')
-rw-r--r--x11-misc/sddm/files/sddm-0.16.0-ck2-revert.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/x11-misc/sddm/files/sddm-0.16.0-ck2-revert.patch b/x11-misc/sddm/files/sddm-0.16.0-ck2-revert.patch
new file mode 100644
index 00000000..bbe2a272
--- /dev/null
+++ b/x11-misc/sddm/files/sddm-0.16.0-ck2-revert.patch
@@ -0,0 +1,20 @@
+SDDM 0.16.0 fails to start with consolekit2 because it assumes consolekit2
+has the same interface names as logind.
+
+This patch forces sddm to use legacy behaviour when consolekit2 is detected.
+
+Bug: https://bugs.gentoo.org/633920
+Bug: https://github.com/sddm/sddm/issues/903
+Bug: https://github.com/ConsoleKit2/ConsoleKit2/issues/99
+
+--- a/src/daemon/LogindDBusTypes.cpp
++++ b/src/daemon/LogindDBusTypes.cpp
+@@ -60,7 +60,7 @@
+
+ if (QDBusConnection::systemBus().interface()->isServiceRegistered(QStringLiteral("org.freedesktop.ConsoleKit"))) {
+ qDebug() << "Console kit interface found";
+- available = true;
++ available = false;
+ serviceName = QStringLiteral("org.freedesktop.ConsoleKit");
+ managerPath = QStringLiteral("/org/freedesktop/ConsoleKit/Manager");
+ managerIfaceName = QStringLiteral("/org.freedesktop.ConsoleKit.Manager"); //note this doesn't match logind