Package: lightdm Version: 1.8.5-2 Severity: wishlist Tags: patch User: pkg-systemd-maintain...@lists.alioth.debian.org Usertags: systemd-units X-Debbugs-CC: pkg-systemd-maintain...@lists.alioth.debian.org
Attached is a patch to add native systemd support to lightdm. I have been using the service file locally for some time now and haven't noticed any problems. -- Arto Jantunen
diff -urN lightdm-1.8.5/debian/control lightdm/debian/control --- lightdm-1.8.5/debian/control 2013-10-12 10:49:28.000000000 +0300 +++ lightdm/debian/control 2013-12-27 12:13:35.899300557 +0200 @@ -9,7 +9,7 @@ libdbus-glib-1-dev, libxcb1-dev, libxdmcp-dev, libpam-dev, libxklavier-dev, libgtk-3-dev, libck-connector-dev, gnome-doc-utils, libqt4-dev, valac, gobject-introspection, dpkg-dev (>= 1.16.1), - gtk-doc-tools, itstool, libgcrypt11-dev, libgirepository1.0-dev + gtk-doc-tools, itstool, libgcrypt11-dev, libgirepository1.0-dev, dh-systemd Standards-Version: 3.9.4 Homepage: https://launchpad.net/lightdm Vcs-Svn: svn://anonscm.debian.org/pkg-xfce/goodies/trunk/lightdm diff -urN lightdm-1.8.5/debian/lightdm.service lightdm/debian/lightdm.service --- lightdm-1.8.5/debian/lightdm.service 1970-01-01 02:00:00.000000000 +0200 +++ lightdm/debian/lightdm.service 2013-12-27 12:04:08.414121279 +0200 @@ -0,0 +1,13 @@ +[Unit] +Description=Light Display Manager +Documentation=man:lightdm(1) +After=systemd-user-sessions.service + +[Service] +ExecStart=/usr/sbin/lightdm +Restart=always +IgnoreSIGPIPE=no +BusName=org.freedesktop.DisplayManager + +[Install] +Alias=display-manager.service diff -urN lightdm-1.8.5/debian/rules lightdm/debian/rules --- lightdm-1.8.5/debian/rules 2013-10-31 10:31:09.000000000 +0200 +++ lightdm/debian/rules 2013-12-27 12:14:18.236469787 +0200 @@ -14,6 +14,9 @@ override_dh_installinit: dh_installinit --noscripts +override_dh_systemd_start: + dh_systemd_start --no-restart-on-upgrade + override_dh_install: find debian/tmp -name '*.la' -delete find debian/tmp/usr/lib/ -name gdmflexiserver -delete @@ -21,6 +24,6 @@ dh_install --fail-missing -X etc/init/lightdm.conf %: - dh $@ --parallel + dh $@ --parallel --with systemd override_dh_auto_test: