From: Elan Ruusamäe Date: Thu, 5 Sep 2013 21:18:22 +0000 (+0300) Subject: patch config to have EXISTING script for session-wrapper (lightdm-session does not... X-Git-Tag: auto/th/lightdm-1.7.12-1~2 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?p=packages%2Flightdm.git;a=commitdiff_plain;h=4f2b815393c8b73eda9ab222024d6171d96f72c1 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? --- 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= 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}