[packages/lxde-common] - added patch to fix session handling, R: ConsoleKit - R: fonts-TTF-DejaVu

hawk hawk at pld-linux.org
Mon Apr 22 23:36:23 CEST 2024


commit b5d1d2b93ade20b84896e644625450d5c31c17a9
Author: Marcin Krol <hawk at tld-linux.org>
Date:   Mon Apr 22 23:34:44 2024 +0200

    - added patch to fix session handling, R: ConsoleKit
    - R: fonts-TTF-DejaVu

 lxde-common.spec |  6 +++++-
 session.patch    | 13 +++++++++++++
 2 files changed, 18 insertions(+), 1 deletion(-)
---
diff --git a/lxde-common.spec b/lxde-common.spec
index 7846b2d..a81d5f4 100644
--- a/lxde-common.spec
+++ b/lxde-common.spec
@@ -2,14 +2,17 @@ Summary:	Default configuration for LXDE
 Summary(pl.UTF-8):	Domyślna konfiguracja LXDE
 Name:		lxde-common
 Version:	0.99.2
-Release:	1
+Release:	2
 License:	GPL v2+
 Group:		X11/Applications
 Source0:	https://downloads.sourceforge.net/lxde/%{name}-%{version}.tar.xz
 # Source0-md5:	14a9d19c4576dc15d985453ccb8ca9f6
+Patch0:		session.patch
 URL:		http://www.lxde.org/
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	xz
+Requires:	ConsoleKit
+Requires:	fonts-TTF-DejaVu
 Requires:	openbox
 Requires:	xorg-app-xprop
 BuildArch:	noarch
@@ -24,6 +27,7 @@ LXDE.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure
diff --git a/session.patch b/session.patch
new file mode 100644
index 0000000..51d4723
--- /dev/null
+++ b/session.patch
@@ -0,0 +1,13 @@
+diff -ur lxde-common-0.99.2.orig/startlxde.in lxde-common-0.99.2/startlxde.in
+--- lxde-common-0.99.2.orig/startlxde.in	2016-11-21 22:59:09.000000000 +0000
++++ lxde-common-0.99.2/startlxde.in	2018-07-05 09:56:38.521863200 +0000
+@@ -44,4 +44,8 @@
+ export XDG_CURRENT_DESKTOP="LXDE"
+ 
+ # Start the LXDE session
+-exec @prefix@/bin/lxsession -s LXDE -e LXDE
++if which ck-launch-session >/dev/null; then
++	exec ck-launch-session @prefix@/bin/lxsession -s LXDE -e LXDE
++else
++	exec @prefix@/bin/lxsession -s LXDE -e LXDE
++fi
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/lxde-common.git/commitdiff/b5d1d2b93ade20b84896e644625450d5c31c17a9



More information about the pld-cvs-commit mailing list