diff options
Diffstat (limited to 'gdm/Pkgfile')
-rwxr-xr-x | gdm/Pkgfile | 79 |
1 files changed, 32 insertions, 47 deletions
diff --git a/gdm/Pkgfile b/gdm/Pkgfile index 885eda3..8df4567 100755 --- a/gdm/Pkgfile +++ b/gdm/Pkgfile @@ -1,65 +1,50 @@ -# Description: Gestionnaire de session GNOME -# URL: http://www.5z.com/jirka/gdm.html +# Description: Le gestionnaire d'affichage de GNOME +# URL: http://projects.gnome.org/gdm/ # Maintainer: NuTyX GNOME team -# Packager: thierryn1 at hispeed dot ch -# Depends on: gnome-session, intltool, gnome-doc-utils, gtk, librsvg, libgnomecanvas, desktop-file-utils, linux-pam, upower, accountsservice, xorg-xrdb, xorg -# Run on: gnome-session,librsvg,libgnomecanvas,desktop-file-utils,linux-pam,upower,accountsservice,xorg-xrdb,xorg +# Packager: piernov <piernov@piernov.org> +# Depends on: gnome-session, intltool, gnome-doc-utils, gtk, librsvg, libgnomecanvas, desktop-file-utils, linux-pam, upower, accountsservice, xorg-xrdb, xorg, consolekit +# Run on: gnome-session,librsvg,libgnomecanvas,desktop-file-utils,linux-pam,upower,accountsservice,xorg-xrdb,xorg,consolekit name=gdm -version=3.1.2 +version=3.1.90 release=1 source=(http://download.gnome.org/sources/$name/${version%.*}/$name-$version.tar.xz \ - http://nutyx.meticul.eu/files/patchs/$name/nutyx-attapu-gdm-2.tar.bz2 \ - http://nutyx.meticul.eu/files/patchs/$name/{NuTyXlogo.png,defaults.conf} - 2.91_fix_external_program_directories.patch - gdm-vt-allocation-hack.patch) + fix_external_program_paths.patch + vt-allocation-hack.patch + gdm.pam) build() { - cd $name-$version - patch -Np1 -i ../2.91_fix_external_program_directories.patch - patch -Np1 -i ../gdm-vt-allocation-hack.patch + cd $name-$version + patch -Np1 -i ../fix_external_program_paths.patch + patch -Np1 -i ../vt-allocation-hack.patch ./configure --prefix=/usr \ - --localstatedir=/var\ + --libexecdir=/usr/lib \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --with-sysconfsubdir=X11/gdm \ + --with-pam-prefix=/etc \ --with-dmconfdir=/etc/X11/dm \ - --libexecdir=/usr/lib \ - --sysconfdir=/etc \ --with-at-spi-registryd-directory=/usr/lib/at-spi \ - --enable-console-helper=no \ - --enable-ipv6=yes \ - --with-xdmcp=yes \ - --disable-scrollkeeper \ - --with-xevie=yes \ - --with-pam-prefix=/etc - make + --enable-ipv6=yes \ + --disable-scrollkeeper \ + --with-console-kit=yes \ + --with-xdmcp=yes \ + --with-xevie=yes + make + + make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 PAM_PREFIX=/etc DESTDIR=$PKG install - make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR=$PKG install install -m755 -d $PKG/usr/share/gconf/schemas gconf-merge-schema $PKG/usr/share/gconf/schemas/$name.schemas --domain gdm $PKG/etc/gconf/schemas/*.schemas rm -r $PKG/etc/gconf/schemas/ - install -v -m755 -d $PKG/var/log/gdm - sed -i.orig "/\[daemon\]/ a LogDir=/var/log/gdm" \ - $PKG/etc/gdm/custom.conf -cat > $PKG/etc/pam.d/gdm << "EOF" -auth required pam_unix.so -auth requisite pam_nologin.so -account required pam_unix.so -password required pam_unix.so -session required pam_unix.so + rm -f $PKG/etc/X11/PreSession/Default + rm -f $PKG/etc/X11/PostSession/Default -EOF -cat > $PKG/etc/pam.d/gdm-autologin << "EOF" -auth required pam_env.so -auth requisite pam_nologin.so -auth required pam_permit.so -account required pam_unix.so -password required pam_unix.so -session required pam_unix.so + mkdir -p $PKG/etc/X11/dm/Sessions + install -v -m755 -d $PKG/var/log/gdm -EOF - install -D -m644 ../NuTyXlogo.png $PKG/usr/share/pixmaps/gdm-foot-logo.png - install -D -m444 ../defaults.conf $PKG/usr/share/gdm/defaults.conf - cp -a $SRC/nutyx-attapu $PKG/usr/share/gdm/themes/ - chown -R root:root $PKG/usr/share/gdm/themes/ + cp -f ../gdm.pam $PKG/etc/pam.d/gdm + rm -f $PKG/etc/pam.d/gdm-password + ln -s gdm $PKG/etc/pam.d/gdm-password } - |