startlxqt: patched to include xinitrc.d files including systemd fix for dbus session (fixes lxqt-config-monitor) [release 0.17.1-2mamba;Thu Apr 22 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 06:37:21 +01:00
parent c10f732035
commit fae00ef6c5
2 changed files with 23 additions and 1 deletions

View File

@ -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

View File

@ -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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 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 <autodist@mambasoft.it> 0.17.1-1mamba
- automatic version update by autodist