diff --git a/lxqt-session-0.17.1-startlxqt-include-xinitrc.d-to-fix-dbus-display.patch b/lxqt-session-0.17.1-startlxqt-include-xinitrc.d-to-fix-dbus-display.patch new file mode 100644 index 0000000..7b1ab3e --- /dev/null +++ b/lxqt-session-0.17.1-startlxqt-include-xinitrc.d-to-fix-dbus-display.patch @@ -0,0 +1,17 @@ +--- lxqt-session-0.17.1/startlxqt.in.orig 2021-04-22 21:05:31.825693943 +0100 ++++ lxqt-session-0.17.1/startlxqt.in 2021-04-22 21:06:22.408874728 +0100 +@@ -53,6 +53,14 @@ + fi + fi + ++# Include systemd xinitrc.d file to fix DISPLAY variable in dbus session ++if [ -d /etc/X11/xinit/xinitrc.d ] ; then ++ for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do ++ [ -x "$f" ] && . "$f" ++ done ++ unset f ++fi ++ + # Qt4 platform plugin + export QT_PLATFORM_PLUGIN=lxqt + diff --git a/lxqt-session.spec b/lxqt-session.spec index 6b50f89..aef8302 100644 --- a/lxqt-session.spec +++ b/lxqt-session.spec @@ -1,6 +1,6 @@ Name: lxqt-session Version: 0.17.1 -Release: 1mamba +Release: 2mamba Summary: Tools to handle LXQt sessions Group: Graphical Desktop/Applications/Environment Vendor: openmamba @@ -9,6 +9,7 @@ Packager: Silvan Calarco URL: https://github.com/lxqt/lxqt-session.git Source: https://github.com/lxqt/lxqt-session.git/%{version}/lxqt-session-%{version}.tar.bz2 Patch0: lxqt-session-0.15.0-openmamba-default-config.patch +Patch1: lxqt-session-0.17.1-startlxqt-include-xinitrc.d-to-fix-dbus-display.patch License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -69,6 +70,7 @@ Binary lxqt-leave deals with interrupting or terminating sessions. It comes with %prep %setup -q %patch0 -p1 +%patch1 -p1 %build %cmake -d build @@ -119,6 +121,9 @@ update-mime-database /usr/share/mime >/dev/null 2>&1 %doc AUTHORS LICENSE %changelog +* Thu Apr 22 2021 Silvan Calarco 0.17.1-2mamba +- startlxqt: patched to include xinitrc.d files including systemd fix for dbus session (fixes lxqt-config-monitor) + * Sun Apr 18 2021 Automatic Build System 0.17.1-1mamba - automatic version update by autodist