diff options
Diffstat (limited to 'gpe-xsession/gpe-dm/files')
-rw-r--r-- | gpe-xsession/gpe-dm/files/Xinit | 16 | ||||
-rw-r--r-- | gpe-xsession/gpe-dm/files/gpe-dm-noinitd.patch | 24 |
2 files changed, 40 insertions, 0 deletions
diff --git a/gpe-xsession/gpe-dm/files/Xinit b/gpe-xsession/gpe-dm/files/Xinit new file mode 100644 index 0000000..e957a5c --- /dev/null +++ b/gpe-xsession/gpe-dm/files/Xinit @@ -0,0 +1,16 @@ +#!/bin/sh +# Copied from gpe xserver-common + +export USER=root +export HOME=/home/root +if [ ! -d $HOME ] && [ -d /root ]; then + HOME=/root +fi +export XAPPLRESDIR=/usr/X11R6/lib/app-defaults +export XFILESEARCHPATH=./%N%S%C.ad:/usr/X11R6/lib/X11/%L/%T/%N%S%C:/usr/X11R6/lib/X11/%l/%T/%N%S%C:/usr/X11R6/lib/X11/%T/%N%S%C:./%N%S.ad:/usr/X11R6/lib/X11/%L/%T/%N%S:/usr/X11R6/lib/X11/%l/%T/%N%S:/usr/X11R6/lib/X11/%T/%N%S:/usr/local/lib/X11/app-defaults/%N%S%C.ad + +export PATH=$PATH:/usr/X11R6/bin + +SYSSESSIONDIR=/etc/X11/Xinit.d + +exec run-parts $SYSSESSIONDIR diff --git a/gpe-xsession/gpe-dm/files/gpe-dm-noinitd.patch b/gpe-xsession/gpe-dm/files/gpe-dm-noinitd.patch new file mode 100644 index 0000000..237f36c --- /dev/null +++ b/gpe-xsession/gpe-dm/files/gpe-dm-noinitd.patch @@ -0,0 +1,24 @@ +--- Makefile.am.old 2009-05-04 23:00:46.000000000 +0000 ++++ Makefile.am 2009-05-04 23:01:10.000000000 +0000 +@@ -11,11 +11,7 @@ + + gpe_dm_SOURCES = gpe-dm.c + +-initdir = $(sysconfdir)/init.d +-init_SCRIPTS = gpe-dm.init +- + EXTRA_DIST = \ +- $(init_SCRIPTS) \ + intltool-extract.in \ + intltool-merge.in \ + intltool-update.in +@@ -25,9 +21,6 @@ + intltool-merge \ + intltool-update + +-install-data-hook: +- cd $(DESTDIR)$(sysconfdir)/init.d && mv gpe-dm.init gpe-dm +- + clean-local: + rm -f *.d *~ + |