[packages/lightdm] patch config to have EXISTING script for session-wrapper (lightdm-session does not exist in pld)
glen
glen at pld-linux.org
Thu Sep 5 23:20:08 CEST 2013
commit 4f2b815393c8b73eda9ab222024d6171d96f72c1
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Fri Sep 6 00:18:22 2013 +0300
patch config to have EXISTING script for session-wrapper (lightdm-session does not exist in pld)
this is first version of lightdm in pld i'm able to actually log in!
(how) did others actually use this package?
config.patch | 23 +++++++++++++++++++++++
lightdm.spec | 6 ++++--
2 files changed, 27 insertions(+), 2 deletions(-)
---
diff --git a/lightdm.spec b/lightdm.spec
index 7658f76..325c662 100644
--- a/lightdm.spec
+++ b/lightdm.spec
@@ -9,7 +9,8 @@ Group: X11/Applications
Source0: https://launchpad.net/lightdm/1.7/%{version}/+download/%{name}-%{version}.tar.xz
# Source0-md5: 73d6a917ed667a45c194df6c4f270b80
Source1: %{name}.pamd
-Patch2: upstart-path.patch
+Patch0: config.patch
+Patch1: upstart-path.patch
URL: http://www.freedesktop.org/wiki/Software/LightDM
BuildRequires: QtCore-devel
BuildRequires: QtDBus-devel
@@ -121,7 +122,8 @@ Upstart támogatás lightdm-hez.
%prep
%setup -q
-%patch2 -p1
+%patch0 -p1
+%patch1 -p1
%build
%{__libtoolize}
diff --git a/config.patch b/config.patch
new file mode 100644
index 0000000..cdcc7c6
--- /dev/null
+++ b/config.patch
@@ -0,0 +1,23 @@
+--- lightdm-1.7.12/data/lightdm.conf~ 2013-08-29 03:54:41.000000000 +0300
++++ lightdm-1.7.12/data/lightdm.conf 2013-09-06 00:17:18.015231835 +0300
+@@ -18,9 +18,9 @@
+ #
+ [LightDM]
+ #start-default-seat=true
+-#greeter-user=lightdm
++greeter-user=xdm
+ #minimum-display-number=0
+-#minimum-vt=7
++minimum-vt=7
+ #lock-memory=true
+ #user-authority-in-system-dir=false
+ #guest-account-script=guest-account
+@@ -89,7 +89,7 @@
+ #user-session=default
+ #allow-guest=true
+ #guest-session=UNIMPLEMENTED
+-#session-wrapper=lightdm-session
++session-wrapper=/etc/X11/xinit/xinitrc
+ #greeter-wrapper=
+ #display-setup-script=
+ #greeter-setup-script=
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/lightdm.git/commitdiff/4f2b815393c8b73eda9ab222024d6171d96f72c1
More information about the pld-cvs-commit
mailing list