gdm: fix service for systemd-183.

This commit is contained in:
Juan RP 2012-05-26 20:07:27 +02:00
parent d5392035eb
commit 15c5dfac2e
2 changed files with 4 additions and 7 deletions

View File

@ -1,7 +1,6 @@
[Unit]
Description=Gnome Display Manager
Requires=dev-tty7.device
After=dev-tty7.device systemd-user-sessions.service
After=systemd-user-sessions.service
[Service]
ExecStart=/usr/sbin/gdm -nodaemon

View File

@ -1,6 +1,7 @@
# Template file for 'gdm'
pkgname=gdm
version=3.4.1
revision=1
distfiles="${GNOME_SITE}/$pkgname/3.4/$pkgname-$version.tar.xz"
build_style=gnu-configure
configure_args="--disable-schemas-compile --disable-scrollkeeper
@ -8,6 +9,8 @@ configure_args="--disable-schemas-compile --disable-scrollkeeper
--disable-static --without-systemd --with-console-kit"
makedepends="pkg-config intltool which gnome-doc-utils gobject-introspection pam-devel nss-devel accountsservice-devel gtk+3-devel upower-devel libcanberra-devel libXrandr-devel libxklavier-devel at-spi2-core-devel"
fulldepends="xrdb dconf hicolor-icon-theme polkit-gnome xorg-server metacity gnome-session gnome-settings-daemon"
subpackages="gdm-devel"
gtk_iconcache_dirs="/usr/share/icons/hicolor"
short_desc="GNOME Display Manager"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnome.org"
@ -44,16 +47,11 @@ make_dirs="
/var/lib/gdm/.local/share/applications 0755 gdm gdm
"
subpackages="gdm-devel"
gtk_iconcache_dirs="/usr/share/icons/hicolor"
# Create the 'gdm' system user/group.
system_accounts="gdm"
gdm_homedir="/var/lib/gdm"
systemd_services="gdm.service off"
post_install() {
# Use our own pam files.
rm -f ${DESTDIR}/etc/pam.d/*