summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11-misc/lightdm/Manifest3
-rw-r--r--x11-misc/lightdm/files/lightdm.service10
-rw-r--r--x11-misc/lightdm/lightdm-1.2.0.ebuild9
3 files changed, 20 insertions, 2 deletions
diff --git a/x11-misc/lightdm/Manifest b/x11-misc/lightdm/Manifest
index 58c81b4..fbccbb5 100644
--- a/x11-misc/lightdm/Manifest
+++ b/x11-misc/lightdm/Manifest
@@ -3,8 +3,9 @@ AUX lightdm 257 RMD160 85f6b3f74ce06fdd8ee9a5c550ec6c9a1cb75345 SHA1 1b93afa7fa2
AUX lightdm-1.0.6-pkglibexec.patch 757 RMD160 ac773aa01efd79af1bba9b1c5467493653a11164 SHA1 870dd5ba429c844a1323ca862bb1bf350105a051 SHA256 c00d7c1c3463a96ed69da7159f8c410ff55cebe10c78554dea9d5bad56c41a55
AUX lightdm-1.2.0-fix-configure.patch 333 RMD160 c527113271fc3701b63f8b0ed49302a8f1c5dc87 SHA1 421321d8c2160bfa936365fcdf42bd98a3283ee5 SHA256 da47ccb4a9be4c5daf7c132d0141c268692c37e60120adc60e132f522d992b56
AUX lightdm-autologin 369 RMD160 2adb17241b378ad4ca10e6241cb21b5a679c0973 SHA1 8372a199f5e00fb0d9d2630d0ced060f190d2af2 SHA256 e964a100e72a8eccea4ed8e1558ae70cbe5b7cbea67415651d0c0bdcea2d06c8
+AUX lightdm.service 212 RMD160 2ce7a2c320415873a8b86e169513bf6cf5dc0e53 SHA1 8c97e4ef2119828f526cf5fd76b622cc6533a02e SHA256 1e19d7f8840cfe2eb4815ab244c4023f057f7f4130eba5a562d61ad5c216ad43
AUX session-wrapper-lightdm.patch 419 RMD160 899fd1b62b77ff1d3dcd46c35092486391f8bc2b SHA1 a609ddf728296ed8c139e2750ad3557e2a8bfec0 SHA256 de5504221cd31c6d25ccbb21f4559780564ce908e2306238d92dd4ac481e687a
DIST introspection-20110205.m4.tar.bz2 1220 RMD160 c520adf7edf0e56012138208b45bed9df2a3e62f SHA1 092adcee1acce39e89069db0f3e8b4cb7ad89dea SHA256 4394a606d380ae5315872ede35387f104da5fad96794d29c45c444a9d481d8b2
DIST lightdm-1.2.0.tar.gz 644000 RMD160 6363295c97ee2e6a504e935364d37f786d129c18 SHA1 853736ec927eceedfcf2211744dda8bb0bb028a9 SHA256 15fcf72926f400ff7ee597a069c328043822e26885328115ac16cc362a75fe73
-EBUILD lightdm-1.2.0.ebuild 2939 RMD160 1b680435a6052a4add2c286eda3654d7665b6c85 SHA1 fe0fe4cbfb80b406f806047e03e5901ec78e83ba SHA256 7edf763541f3d6fc0c912da9a1f853a33ab6563f302d979b844c7e46305f1eda
+EBUILD lightdm-1.2.0.ebuild 3061 RMD160 b0035037fd55283bf9376558dccaf0b056325456 SHA1 b4c31a87aced583543f914fd32acdc6690d9ecdd SHA256 bf5ec18a3449e287201b88def8af171cff6d67632e1634f0c7a6159690bdd3d6
MISC metadata.xml 432 RMD160 e158b5372af23f90a20b4fa480e6bf923c625f37 SHA1 90620650fc962a628ab51bb31cb6896792f67a5f SHA256 ecff31747259e3f1e6ffd6a2304ed15a911a8c6861b7a7ee935ffc753bdb6a4b
diff --git a/x11-misc/lightdm/files/lightdm.service b/x11-misc/lightdm/files/lightdm.service
new file mode 100644
index 0000000..1abd5bd
--- /dev/null
+++ b/x11-misc/lightdm/files/lightdm.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Display Manager
+Conflicts=xdm.service gdm.service kdm.service lxdm.service slim.service
+
+[Service]
+ExecStart=/usr/sbin/lightdm
+
+[Install]
+Alias=displaymanager.service
+WantedBy=graphical.target
diff --git a/x11-misc/lightdm/lightdm-1.2.0.ebuild b/x11-misc/lightdm/lightdm-1.2.0.ebuild
index fbfae29..41b2550 100644
--- a/x11-misc/lightdm/lightdm-1.2.0.ebuild
+++ b/x11-misc/lightdm/lightdm-1.2.0.ebuild
@@ -21,7 +21,11 @@ RDEPEND="dev-libs/glib:2
x11-libs/libX11
dev-libs/libxml2
introspection? ( dev-libs/gobject-introspection )
- qt4? ( x11-libs/qt-gui )
+ qt4? (
+ x11-libs/qt-dbus
+ x11-libs/qt-core
+ x11-libs/qt-gui
+ )
sys-apps/accountsservice"
DEPEND="${RDEPEND}
dev-util/intltool
@@ -88,6 +92,9 @@ src_install() {
find "${ED}" -name "*.la" -exec rm -rf {} +
rm -Rf "${ED}"/etc/init || die
+ # Install the systemd unit file
+ systemd_dounit "${FILESDIR}/lightdm.service"
+
dopamd "${FILESDIR}"/${PN}
dopamd "${FILESDIR}"/${PN}-autologin
}