From cf788abe2ef005f573a1b5000a58ad23193ef943 Mon Sep 17 00:00:00 2001 From: corsac Date: Thu, 7 Nov 2013 09:03:04 +0000 Subject: [PATCH] - 02_default-config removed, replaced by a config snippet. * debian/01_debian.conf: - add config snippet for Debian specific config * debian/lightdm.install: - install 01_debian.conf to /usr/share/lightdm/lightdm.conf.d/ git-svn-id: svn://anonscm.debian.org/pkg-xfce/goodies/trunk/lightdm@8049 0c9b3bff-18ee-0310-b944-d1aa2700132f --- debian/01_debian.conf | 12 ++++++++++ debian/changelog | 6 ++++- debian/lightdm.install | 1 + debian/patches/02_default-config.patch | 33 -------------------------- debian/patches/series | 1 - 5 files changed, 18 insertions(+), 35 deletions(-) create mode 100644 debian/01_debian.conf delete mode 100644 debian/patches/02_default-config.patch diff --git a/debian/01_debian.conf b/debian/01_debian.conf new file mode 100644 index 0000000..12e70d2 --- /dev/null +++ b/debian/01_debian.conf @@ -0,0 +1,12 @@ +# Debian specific defaults +# +# - use lightdm-greeter session greeter, points to the etc-alternatives managed +# greeter +# - hide users list by default, we don't want to expose them +# - use Debian specific session wrapper, to gain support for +# /etc/X11/Xsession.d scripts + +[SeatDefaults] +greeter-session=lightdm-greeter +greeter-hide-users=true +session-wrapper=/etc/X11/Xsession diff --git a/debian/changelog b/debian/changelog index 5eb5118..48b3562 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,7 +2,11 @@ lightdm (1.8.5-1) UNRELEASED; urgency=low * New upstream bugfix release. * debian/patches: - - 02_default-config refreshed. + - 02_default-config removed, replaced by a config snippet. + * debian/01_debian.conf: + - add config snippet for Debian specific config + * debian/lightdm.install: + - install 01_debian.conf to /usr/share/lightdm/lightdm.conf.d/ -- Yves-Alexis Perez Thu, 07 Nov 2013 07:23:22 +0100 diff --git a/debian/lightdm.install b/debian/lightdm.install index 9694d5f..ce53a44 100644 --- a/debian/lightdm.install +++ b/debian/lightdm.install @@ -12,5 +12,6 @@ etc/lightdm/keys.conf etc/apparmor.d/lightdm-guest-session etc/pam.d debian/lightdm-xsession.desktop /usr/share/xsessions +debian/01_debian.conf /usr/share/lightdm/lightdm.conf.d usr/lib/*/lightdm/lightdm-set-defaults usr/lib/*/lightdm/lightdm-guest-session-wrapper diff --git a/debian/patches/02_default-config.patch b/debian/patches/02_default-config.patch deleted file mode 100644 index 5b1beeb..0000000 --- a/debian/patches/02_default-config.patch +++ /dev/null @@ -1,33 +0,0 @@ -Author: Yves-Alexis Perez -Author: Lionel Le Folgoc -Description: adapt config to Debian -Especially: - -* use X11 session wrapper -* start on vt7 -* don't show userlist - -Forwarded: not-needed - -=== modified file 'data/lightdm.conf' ---- a/data/lightdm.conf -+++ b/data/lightdm.conf -@@ -84,15 +84,15 @@ - #xdmcp-key= - #unity-compositor-command=unity-system-compositor - #unity-compositor-timeout=60 --#greeter-session=example-gtk-gnome --#greeter-hide-users=false -+greeter-session=lightdm-greeter -+greeter-hide-users=true - #greeter-allow-guest=true - #greeter-show-manual-login=false - #greeter-show-remote-login=true - #user-session=default - #allow-guest=true - #guest-session=UNIMPLEMENTED --#session-wrapper=lightdm-session -+session-wrapper=/etc/X11/Xsession - #greeter-wrapper= - #guest-wrapper= - #display-setup-script= diff --git a/debian/patches/series b/debian/patches/series index 977c68a..6f698f5 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,4 +1,3 @@ 01_set-default-path.patch -02_default-config.patch 04_dont-add-pkglibexecdir-path.patch 05_debianize-pam-files.patch -- 2.39.2