Hello community,

here is the log from the commit of package lxqt-session for openSUSE:Factory 
checked in at 2018-07-24 17:25:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lxqt-session (Old)
 and      /work/SRC/openSUSE:Factory/.lxqt-session.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lxqt-session"

Tue Jul 24 17:25:57 2018 rev:13 rq:624971 version:0.13.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/lxqt-session/lxqt-session.changes        
2018-06-29 22:31:41.570242241 +0200
+++ /work/SRC/openSUSE:Factory/.lxqt-session.new/lxqt-session.changes   
2018-07-24 17:26:17.911599454 +0200
@@ -1,0 +2,7 @@
+Tue Jul 24 08:52:28 UTC 2018 - [email protected]
+
+- bsc#1099800: Various LXQt components weren't able to find
+  their config files
+- Add lxqt-0.13.0-xdg-config-dir.patch
+
+-------------------------------------------------------------------

New:
----
  lxqt-0.13.0-xdg-config-dir.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ lxqt-session.spec ++++++
--- /var/tmp/diff_new_pack.zAQsKF/_old  2018-07-24 17:26:18.423600104 +0200
+++ /var/tmp/diff_new_pack.zAQsKF/_new  2018-07-24 17:26:18.427600110 +0200
@@ -26,6 +26,8 @@
 Source:         
https://github.com/lxde/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz
 Source1:        
https://github.com/lxde/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz.asc
 Source2:        %{name}.keyring
+# FIX-OPENSUSE [email protected] bsc#1099800
+Patch0:         lxqt-0.13.0-xdg-config-dir.patch
 BuildRequires:  cmake >= 3.0.2
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
@@ -53,6 +55,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 # Changing LXQt into X-LXQt in desktop files to be freedesktop compliant and 
shut rpmlint warnings
 #find -name '*desktop.in*' -exec sed -ri 's/(LXQt;)/X-\1/' {} +
 

++++++ lxqt-0.13.0-xdg-config-dir.patch ++++++
Added because of: https://bugzilla.suse.com/show_bug.cgi?id=1099800
This patch was proposed by Simon Quigly and was declined by upstream.
See discussion at: https://github.com/lxqt/lxqt-session/pull/126/files

>From e76f0ebf14b2d54495b3fa27fe751b229b15f6d8 Mon Sep 17 00:00:00 2001
From: Simon Quigley <[email protected]>
Date: Fri, 25 May 2018 22:57:21 -0500
Subject: [PATCH] Ensure all paths are added to $XDG_CONFIG_DIRS.

---
 startlxqt.in | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/startlxqt.in b/startlxqt.in
index ae0569e..58b2b25 100755
--- a/startlxqt.in
+++ b/startlxqt.in
@@ -26,9 +26,11 @@ export XDG_DATA_DIRS
 if [ -z "$XDG_CONFIG_DIRS" ]; then
     export XDG_CONFIG_DIRS="@PREDEF_XDG_CONFIG_DIRS@"
 else
-    if ! contains "$XDG_CONFIG_DIRS" '@LXQT_ETC_XDG_DIR@'; then
-        XDG_CONFIG_DIRS="$XDG_CONFIG_DIRS:@LXQT_ETC_XDG_DIR@"
-    fi
+    for directory in "/etc" "@LXQT_ETC_XDG_DIR@" "/usr/share"; do
+        if ! contains "$XDG_CONFIG_DIRS" "$directory"; then
+            XDG_CONFIG_DIRS="$XDG_CONFIG_DIRS:$directory"
+        fi
+    done
 fi
 
 if [ -z "$XDG_CACHE_HOME" ]; then



Reply via email to