From edd298d55a47146a10198675fedabdf5325d573c Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Wed, 22 Jan 2020 00:32:55 +0100 Subject: KDE: updated sddm-qt5 in plasma-extra --- kde/patch/sddm-qt5/sddm_ck2_revert.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 kde/patch/sddm-qt5/sddm_ck2_revert.patch (limited to 'kde/patch/sddm-qt5/sddm_ck2_revert.patch') diff --git a/kde/patch/sddm-qt5/sddm_ck2_revert.patch b/kde/patch/sddm-qt5/sddm_ck2_revert.patch new file mode 100644 index 0000000..bbe2a27 --- /dev/null +++ b/kde/patch/sddm-qt5/sddm_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 -- cgit v1.2.3