# gnome-session, ftp://ftp.gnome.org/pub/gnome/sources/gnome-session name=gnome-session version=2.8.0 release=1 source=(ftp://ftp.gnome.org/pub/gnome/desktop/2.8/2.8.0/sources/$name-$version.tar.bz2 \ xinitrc.gnome) build() { cd $name-$version sed -i 's/USE_NLS=yes/USE_NLS=no/ s/ENABLE_NLS 1/ENABLE_NLS 0/' configure chmod +x configure ./configure --prefix=/opt/gnome \ --sysconfdir=/etc/opt/gnome \ --localstatedir=/var/opt/gnome \ --disable-schemas-install --enable-ipv6 \ --with-window-manager=metacity \ --with-reboot-command=/sbin/reboot \ --with-halt-command=/sbin/halt \ --with-rsh-command=/usr/bin/ssh make export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 make DESTDIR=$PKG install mkdir -p $PKG/etc/X11/xinit cp ../xinitrc.gnome $PKG/etc/X11/xinit/xinitrc.gnome chown root.root $PKG/etc/X11/xinit/* chmod 755 $PKG/etc/X11/xinit/* rm -rf $PKG/opt/gnome/share/locale }