diff options
author | Eric Hameleers <alien@slackware.com> | 2017-03-19 21:06:40 +0100 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2017-03-19 21:06:40 +0100 |
commit | 60bf248ad0c31c8bdb95b5d6d6b0c7adb0fafaac (patch) | |
tree | b2771797e777a72c99a554e6daef658717bcb09b /deps/elogind/patches/elogind-219.12-session.patch | |
parent | 7912a391b5cb6f00d30e9fdea957e5be71d156b0 (diff) | |
download | ktown-60bf248ad0c31c8bdb95b5d6d6b0c7adb0fafaac.tar.gz ktown-60bf248ad0c31c8bdb95b5d6d6b0c7adb0fafaac.tar.xz |
deps: updated for KDE 5_17.03
Six packages have been added in order to compile the KDE packages libkface,
digikam and kdenlive:
- dvdauthor
- frei0r
- lensfun
- mlt
- opencv
- vid.stab
Furthermore I (re-)added some sources that I intend to use in the
'testing' branch of ktown. These Slackware originals were slightly modified
and need to be compiled against wayland (also in need of recompilation are
libxkbcommon and qt5 but those sources are already included):
- elogind
- mesa
- xorg-server
Diffstat (limited to 'deps/elogind/patches/elogind-219.12-session.patch')
-rw-r--r-- | deps/elogind/patches/elogind-219.12-session.patch | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/deps/elogind/patches/elogind-219.12-session.patch b/deps/elogind/patches/elogind-219.12-session.patch new file mode 100644 index 0000000..82cbebd --- /dev/null +++ b/deps/elogind/patches/elogind-219.12-session.patch @@ -0,0 +1,45 @@ +From b5c5dd2ad43a3bf4fa0fb21139f8d16959b5d14e Mon Sep 17 00:00:00 2001 +From: Andy Wingo <wingo@pobox.com> +Date: Sun, 6 Mar 2016 16:56:33 +0100 +Subject: [PATCH] Fixes to user and session saving + +* src/login/logind-dbus.c (method_create_session): No need to save + session here, as session_send_create_reply will do it. +* src/login/logind-session-dbus.c (session_send_create_reply): On the + other hand we do need to save the user here, so the file marks them as + being active. +--- + src/login/logind-dbus.c | 2 -- + src/login/logind-session-dbus.c | 5 +++-- + 2 files changed, 3 insertions(+), 4 deletions(-) + +diff --git a/src/login/logind-dbus.c b/src/login/logind-dbus.c +index 5e6952d..6f7e569 100644 +--- a/src/login/logind-dbus.c ++++ b/src/login/logind-dbus.c +@@ -801,8 +801,6 @@ static int method_create_session(sd_bus *bus, sd_bus_message *message, void *use + if (r < 0) + goto fail; + +- session_save(session); +- + return 1; + + fail: +diff --git a/src/login/logind-session-dbus.c b/src/login/logind-session-dbus.c +index f71798b..337bbbb 100644 +--- a/src/login/logind-session-dbus.c ++++ b/src/login/logind-session-dbus.c +@@ -721,9 +721,10 @@ int session_send_create_reply(Session *s, sd_bus_error *error) { + if (fifo_fd < 0) + return fifo_fd; + +- /* Update the session state file before we notify the client +- * about the result. */ ++ /* Update the session and user state files before we notify ++ * the client about the result. */ + session_save(s); ++ user_save(s->user); + + p = session_bus_path(s); + if (!p) |