Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xfcetesting.git;a=commitdiff;h=2cfe48bc68bb4e9fdb19a21bc48534086aa0f92a

commit 2cfe48bc68bb4e9fdb19a21bc48534086aa0f92a
Author: bouleetbil <bouleet...@frogdev.info>
Date:   Sun Mar 20 21:14:16 2011 +0100

xorg-server-1.9.4-2-i686
*added a script for start the login manager
*we can have some features as stop plymouth
*when login manager start
*start x with nouveau if failed use nv...

diff --git a/source/x11/xorg-server/FrugalBuild 
b/source/x11/xorg-server/FrugalBuild
index 6179153..8c7f824 100644
--- a/source/x11/xorg-server/FrugalBuild
+++ b/source/x11/xorg-server/FrugalBuild
@@ -9,7 +9,7 @@ USE_SERVERDMX=${USE_SERVERDMX:-"y"}

pkgname=xorg-server
pkgver=1.9.4
-pkgrel=1
+pkgrel=2
pkgdesc="Modular X.Org X Server"
groups=('x11' 'xorg-core')
archs=('i686' 'x86_64' 'ppc')
@@ -39,13 +39,15 @@ source=("${source[@]}" \
xorg-server-1.9-nouveau-default.patch
desktop \
10-evdev.conf \
-       20-synaptics.conf)
+       20-synaptics.conf \
+       prefdm)

sha1sums=('e8d5776fe973f15c0e907fd827106f8d296acf7e' \
'bda6f333b53fcc2e1d823364a1e12e2061a66700' \
'905cc57547421ff3ca77ec1c8e6898a7a414346f' \
'9318b631eb06833bea18d5a5efd15df89ad5d12a' \
-          '6c0156d129ddd2fb5277b76af1738298c2d09d4d')
+          '6c0156d129ddd2fb5277b76af1738298c2d09d4d' \
+          '086bb93abd7dfb96eeb067b16a318eaad036bc69')

if Fuse $USE_DEVEL; then
pkgver=1.6.3.901.151.g120286a
@@ -148,6 +150,9 @@ build() {
else
Fcd $_F_xorg_name-$pkgver
fi
+       #start login manager
+       Fexe prefdm usr/bin/prefdm
+
Fpatchall
Fautoreconf
Fmake \
diff --git a/source/x11/xorg-server/prefdm b/source/x11/xorg-server/prefdm
new file mode 100644
index 0000000..e1544f6
--- /dev/null
+++ b/source/x11/xorg-server/prefdm
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+PATH=/sbin:/usr/sbin:/bin:/usr/bin
+
+# Run preferred X display manager
+quit_arg="--retain-splash"
+if [ -f /etc/sysconfig/desktop ]; then
+       . /etc/sysconfig/desktop
+fi
+
+# shut down boot splash
+/usr/bin/plymouth quit $quit_arg
+
+shopt -s execfail
+
+[ -n "$desktop" ] && exec $desktop "$@" >/dev/null 2>&1 </dev/null
+
+# Fallbacks, in order
+exec gdm "$@" >/dev/null 2>&1 </dev/null
+exec kdm "$@" >/dev/null 2>&1 </dev/null
+exec lxdm "$@" >/dev/null 2>&1 </dev/null
+exec slim "$@" >/dev/null 2>&1 </dev/null
+exec xdm "$@" >/dev/null 2>&1 </dev/null
+
+# catch all exit error
+exit 1
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to