summaryrefslogtreecommitdiffstats
path: root/extra/gdm/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-29 13:56:26 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-29 13:56:26 +0200
commit7e219ae1c6b9ca5bc0f015c2b48be6d3694b4f67 (patch)
treef38e8d6a2c3a9f00ab290c5c92814d4e5aca961f /extra/gdm/Pkgfile
parentea69f9be755410c3725718636ef0f75d0fc632d2 (diff)
downloadnutyx-pakxe-7e219ae1c6b9ca5bc0f015c2b48be6d3694b4f67.tar.gz
nutyx-pakxe-7e219ae1c6b9ca5bc0f015c2b48be6d3694b4f67.tar.bz2
nutyx-pakxe-7e219ae1c6b9ca5bc0f015c2b48be6d3694b4f67.tar.xz
nutyx-pakxe-7e219ae1c6b9ca5bc0f015c2b48be6d3694b4f67.zip
Ajout de gdm#2.20.10-1
Diffstat (limited to 'extra/gdm/Pkgfile')
-rwxr-xr-xextra/gdm/Pkgfile71
1 files changed, 71 insertions, 0 deletions
diff --git a/extra/gdm/Pkgfile b/extra/gdm/Pkgfile
new file mode 100755
index 000000000..9e97a5f7d
--- /dev/null
+++ b/extra/gdm/Pkgfile
@@ -0,0 +1,71 @@
+# Description: Gestionnaire de session GNOME
+# URL: http://www.5z.com/jirka/gdm.html
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: librsvg, libgnomecanvas, gnome-doc-utils, intltool, desktop-file-utils
+
+name=gdm
+version=2.20.10
+release=3
+source=(http://ftp.gnome.org/pub/gnome/sources/$name/2.20/$name-$version.tar.bz2 \
+ http://kiao.no-ip.info/NuTyX/files/nutyx.tar.gz \
+ defaults.conf NuTyXlogo.png)
+
+build() {
+ source /etc/blfs-bootscripts
+ wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2
+ tar xvf $scripts-$scriptsversion.tar.bz2
+ cd $name-$version
+ mv po/fr.po .
+ rm po/*.po
+ mv fr.po po/
+ sed -i -e 's/USE_NLS=yes/USE_NLS=no/' \
+ -e 's/ENABLE_NLS 1/ENABLE_NLS 0/' configure
+ ./configure --prefix=/usr \
+ --localstatedir=/var/lib \
+ --with-dmconfdir=/etc/X11/dm \
+ --libexecdir=/usr/lib \
+ --sysconfdir=/etc \
+ --enable-console-helper=no \
+ --enable-ipv6=yes \
+ --with-xdmcp=yes \
+ --with-tcp-wrappers=no \
+ --disable-scrollkeeper \
+ --disable-gnome \
+ --with-xevie=yes \
+ --with-pam-prefix=/etc
+ make
+ make DESTDIR=$PKG install
+ cd ../$scripts-$scriptsversion
+ make DESTDIR=$PKG install-$name
+ mv $PKG/etc/rc.d/rc5.d/S95gdm \
+ $PKG/etc/rc.d/rc5.d/K05gdm
+ mv $PKG/etc/rc.d/rc4.d/K05gdm \
+ $PKG/etc/rc.d/rc4.d/S95gdm
+ sed -i "s/-2.18.3//g" $PKG/etc/rc.d/init.d/gdm
+ 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
+
+# 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
+
+# EOF
+# rm -r $PKG/usr/share/xsessions
+ install -D -m644 ../NuTyXlogo.png $PKG/usr/share/pixmaps/gdm-foot-logo.png
+ #rm -r $PKG/usr/share/gdm/themes/nutyx
+ install -D -m444 ../defaults.conf $PKG/usr/share/gdm/defaults.conf
+ cp -a $SRC/nutyx $PKG/usr/share/gdm/themes/
+}