summaryrefslogtreecommitdiffstats
path: root/kde/patch/sddm-qt5/sddm_consolekit.diff
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2016-11-15 09:11:47 +0100
committer Eric Hameleers <alien@slackware.com>2016-11-15 09:11:47 +0100
commit95e5e17fe7ed55d0fe248b9451b8dddc3173f5bb (patch)
tree702ddafdd915e5666f90f1efe1bf57b7e70372a9 /kde/patch/sddm-qt5/sddm_consolekit.diff
parentba690f3784881e33874b2bc3513aafb653cfaa95 (diff)
downloadktown-95e5e17fe7ed55d0fe248b9451b8dddc3173f5bb.tar.gz
ktown-95e5e17fe7ed55d0fe248b9451b8dddc3173f5bb.tar.xz
SDDM: new version 0.14.0 required some patching.
Diffstat (limited to 'kde/patch/sddm-qt5/sddm_consolekit.diff')
-rw-r--r--kde/patch/sddm-qt5/sddm_consolekit.diff22
1 files changed, 9 insertions, 13 deletions
diff --git a/kde/patch/sddm-qt5/sddm_consolekit.diff b/kde/patch/sddm-qt5/sddm_consolekit.diff
index af79f75..9b535bf 100644
--- a/kde/patch/sddm-qt5/sddm_consolekit.diff
+++ b/kde/patch/sddm-qt5/sddm_consolekit.diff
@@ -1,13 +1,9 @@
-diff --git a/data/scripts/Xsession b/data/scripts/Xsession
-index a5d270d..4b48524 100755
---- a/data/scripts/Xsession
-+++ b/data/scripts/Xsession
-@@ -74,7 +74,7 @@ case $session in
- exec xterm -geometry 80x24-0-0
- ;;
- *)
-- eval exec "$session"
-+ eval exec ck-launch-session dbus-launch --sh-syntax --exit-with-session "$session"
- ;;
- esac
- exec xmessage -center -buttons OK:0 -default OK "Sorry, cannot execute $session. Check $DESKTOP_SESSION.desktop."
+--- sddm-0.14.0/data/scripts/Xsession.orig 2016-08-28 13:54:03.000000000 +0200
++++ sddm-0.14.0/data/scripts/Xsession 2016-11-05 21:47:28.502096600 +0100
+@@ -91,5 +91,5 @@
+ if [ -z "$@" ]; then
+ exec xmessage -center -buttons OK:0 -default OK "Sorry, $DESKTOP_SESSION is no valid session."
+ else
+- exec $@
++ exec ck-launch-session dbus-launch --sh-syntax --exit-with-session $@
+ fi