patch to fix running chosen session in openmamba [release 0.5.0-2mamba;Fri Jul 18 2014]
This commit is contained in:
parent
d3b1011a6c
commit
d49c7efcc8
15
lxdm-0.5.0-xsessions-openmamba.patch
Normal file
15
lxdm-0.5.0-xsessions-openmamba.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
diff -Nru lxdm-0.5.0.orig/data/Xsession lxdm-0.5.0/data/Xsession
|
||||||
|
--- lxdm-0.5.0.orig/data/Xsession 2014-07-18 13:29:45.333063760 +0200
|
||||||
|
+++ lxdm-0.5.0/data/Xsession 2014-07-18 13:40:39.521124350 +0200
|
||||||
|
@@ -17,7 +17,10 @@
|
||||||
|
[ -f /etc/xprofile ] && . /etc/xprofile
|
||||||
|
[ -f ~/.xprofile ] && . ~/.xprofile
|
||||||
|
|
||||||
|
-if [ -f /etc/X11/xinit/xinitrc-common ]; then
|
||||||
|
+if [ "`which $LXSESSION`" ]; then
|
||||||
|
+# openmamba
|
||||||
|
+ exec -l bash -c "$LXSESSION"
|
||||||
|
+elif [ -f /etc/X11/xinit/xinitrc-common ]; then
|
||||||
|
# fedora
|
||||||
|
. /etc/X11/xinit/xinitrc-common
|
||||||
|
exec -l bash -c "$LXSESSION"
|
@ -1,6 +1,6 @@
|
|||||||
Name: lxdm
|
Name: lxdm
|
||||||
Version: 0.5.0
|
Version: 0.5.0
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: Login manager for the Lightweight X11 Desktop Environment
|
Summary: Login manager for the Lightweight X11 Desktop Environment
|
||||||
Group: Graphical Desktop/Applications/Environment
|
Group: Graphical Desktop/Applications/Environment
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -14,6 +14,7 @@ Patch2: lxdm-0.5.0-pam_console_remove.patch
|
|||||||
Patch3: lxdm-0.5.0-conf.patch
|
Patch3: lxdm-0.5.0-conf.patch
|
||||||
Patch5: lxdm-0.4.1-disable-consolekit.patch
|
Patch5: lxdm-0.4.1-disable-consolekit.patch
|
||||||
Patch6: lxdm-0.4.1-automake-1.14.patch
|
Patch6: lxdm-0.4.1-automake-1.14.patch
|
||||||
|
Patch7: lxdm-0.5.0-xsessions-openmamba.patch
|
||||||
License: GPL
|
License: GPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
@ -42,9 +43,9 @@ Login manager for the Lightweight X11 Desktop Environment.
|
|||||||
#%patch1 -p1
|
#%patch1 -p1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
%patch4 -p1
|
|
||||||
#%patch5 -p1
|
#%patch5 -p1
|
||||||
#%patch6 -p1
|
#%patch6 -p1
|
||||||
|
%patch7 -p1
|
||||||
# Remove pregenerated lxdm.conf to recreate with passed directories
|
# Remove pregenerated lxdm.conf to recreate with passed directories
|
||||||
# Fixes configuring for using /usr/local/libexec
|
# Fixes configuring for using /usr/local/libexec
|
||||||
rm -f data/lxdm.conf
|
rm -f data/lxdm.conf
|
||||||
@ -132,6 +133,9 @@ fi
|
|||||||
#README TODO
|
#README TODO
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jul 18 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.0-2mamba
|
||||||
|
- patch to fix running chosen session in openmamba
|
||||||
|
|
||||||
* Sun Jul 13 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.0-1mamba
|
* Sun Jul 13 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.0-1mamba
|
||||||
- update to 0.5.0
|
- update to 0.5.0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user