# Description: Le gestionnaire d'affichage de GNOME # URL: http://projects.gnome.org/gdm/ # Maintainer: NuTyX GNOME team # Packager: piernov # Depends on: gnome-session, intltool, gnome-doc-utils, libxklavier, libcanberra, desktop-file-utils, linux-pam, upower, accountsservice, xorg-xrdb, nss, consolekit, gnome-settings-daemon # Run on: gnome-session,libxklavier,libcanberra,desktop-file-utils,linux-pam,upower,accountsservice,xorg-xrdb,nss,consolekit,gnome-settings-daemon name=gdm version=3.3.92.1 release=1 source=(http://download.gnome.org/sources/$name/${version%.*.*}/$name-$version.tar.xz \ patch/fix_external_program_paths.patch patch/vt-allocation-hack.patch patch/default_session.patch patch/switch_user.patch patch/time_display_on_greeter.patch pam/gdm.pam pam/gdm-autologin.pam pam/gdm-fingerprint.pam pam/gdm-password.pam pam/gdm-smartcard.pam pam/gdm-welcome.pam) build() { cd $name-$version patch -p1 -i ../fix_external_program_paths.patch patch -p1 -i ../vt-allocation-hack.patch # patch -p1 -i ../default_session.patch patch -p1 -i ../switch_user.patch patch -p1 -i ../time_display_on_greeter.patch # autoreconf -if ./configure --prefix=/usr \ --libexecdir=/usr/lib \ --sysconfdir=/etc \ --localstatedir=/var \ --with-sysconfsubdir=X11/gdm \ --with-pam-prefix=/etc \ --with-dmconfdir=/etc/X11/dm \ --with-at-spi-registryd-directory=/usr/lib/at-spi2-core \ --enable-ipv6=yes \ --disable-schemas-compile\ --disable-scrollkeeper \ --with-console-kit=yes \ --with-xdmcp=yes \ --with-xevie=yes make make PAM_PREFIX=/etc DESTDIR=$PKG install for i in gdm.pam gdm-autologin.pam gdm-fingerprint.pam gdm-password.pam gdm-smartcard.pam gdm-welcome.pam; do install -m644 $SRC/$i $PKG/etc/pam.d/${i%.pam} done rm -rf $PKG/var/gdm chmod 1770 $PKG/var/log/gdm rm -rf $PKG/var/run }