summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngelo Arrifano <miknix@gentoo.org>2009-05-05 23:30:45 +0000
committerroot <root@miranda.amd64.dev.gentoo.org>2009-05-05 23:30:45 +0000
commita2b26faf01d1be80910724784ea99df8e47d4312 (patch)
treef5949331b5106a721935c57431b4203140e5860d
parent[gpe-misc/gpe-wallpapers] Use homedir for temp files. (diff)
downloadgpe-a2b26faf01d1be80910724784ea99df8e47d4312.tar.gz
gpe-a2b26faf01d1be80910724784ea99df8e47d4312.tar.bz2
gpe-a2b26faf01d1be80910724784ea99df8e47d4312.zip
[gpe-xsession/gpe-dm] Add Xserver config file and change config dir to gpe-dm.
-rw-r--r--gpe-xsession/gpe-dm/Manifest5
-rw-r--r--gpe-xsession/gpe-dm/files/Xinit2
-rw-r--r--gpe-xsession/gpe-dm/files/Xserver6
-rw-r--r--gpe-xsession/gpe-dm/gpe-dm-0.51-r1.ebuild7
4 files changed, 14 insertions, 6 deletions
diff --git a/gpe-xsession/gpe-dm/Manifest b/gpe-xsession/gpe-dm/Manifest
index 1e26dbb..c1b04be 100644
--- a/gpe-xsession/gpe-dm/Manifest
+++ b/gpe-xsession/gpe-dm/Manifest
@@ -1,5 +1,6 @@
-AUX Xinit 551 SHA1 9489f3175dff18dc3acb117dab68ce76ba59142c SHA256 9bdbab2a92db4de1057c836d884eff129febb0e2412eb9e099a8a6b0532777e1
+AUX Xinit 558 SHA1 0271e04a92a16b770c6d809511dad0274dc85936 SHA256 d4f321db0e60a94363e032b6aa3c272c4dfadf5f96f70fa7a8602f4d01e86917
+AUX Xserver 312 SHA1 361ffe98d2066699cbbf8a185202894df19a0458 SHA256 753496247effc84a73aa098177cd0a2695d243d8972738b84c2dd5d2886e2d7b
AUX gpe-dm-noinitd.patch 574 SHA1 e761a112821782b90ea856c3ce93a7dadfe93b22 SHA256 60b648538c93808e977ad7a7c73118691402877a38e2c189e53502cc301da1a7
DIST gpe-dm-0.51.tar.bz2 110734 SHA1 53c667da7129609582e8031f37c33c8441d5f4f1 SHA256 4f7546bc5f8df7eb9511b919e34eb08945db4359fd3db07c555b83959923a1cf
-EBUILD gpe-dm-0.51-r1.ebuild 781 SHA1 3f4f5107856a4d9da0f33d91f4422c68868826d0 SHA256 d6907dbbfae25b9ef8b9145eef071849c2e354ecb8266779b3082890b3894f45
+EBUILD gpe-dm-0.51-r1.ebuild 817 SHA1 690d82052257760d89da886c6673e4f4327e70be SHA256 1dbd74e52a48c9243ecc002820348252559fd0f185812d87f6ccfa38bc7c6e34
EBUILD gpe-dm-0.51.ebuild 344 SHA1 4b70a9bfe45b4f509a7375766c9f3be0077339cf SHA256 15062095f9a6e0a63ec83c2a6c94d7e3139e6ca5d003813f662215b0e8af2921
diff --git a/gpe-xsession/gpe-dm/files/Xinit b/gpe-xsession/gpe-dm/files/Xinit
index e957a5c..5b8c969 100644
--- a/gpe-xsession/gpe-dm/files/Xinit
+++ b/gpe-xsession/gpe-dm/files/Xinit
@@ -11,6 +11,6 @@ export XFILESEARCHPATH=./%N%S%C.ad:/usr/X11R6/lib/X11/%L/%T/%N%S%C:/usr/X11R6/li
export PATH=$PATH:/usr/X11R6/bin
-SYSSESSIONDIR=/etc/X11/Xinit.d
+SYSSESSIONDIR=/etc/X11/gpe-dm/Xinit.d
exec run-parts $SYSSESSIONDIR
diff --git a/gpe-xsession/gpe-dm/files/Xserver b/gpe-xsession/gpe-dm/files/Xserver
new file mode 100644
index 0000000..df5c880
--- /dev/null
+++ b/gpe-xsession/gpe-dm/files/Xserver
@@ -0,0 +1,6 @@
+#!/bin/sh
+# Sample config file, edit as needed
+# FIXME: Needs some variety of examples to aid users configuring the Xserver
+
+# The Xserver and parameters for (example) the HTC Wizard
+exec Xfbdev -mouse tslib,,device=/dev/input/ts -keybd keyboard,,device=/dev/input/keypad -keybd keyboard,,device=/dev/input/dpad
diff --git a/gpe-xsession/gpe-dm/gpe-dm-0.51-r1.ebuild b/gpe-xsession/gpe-dm/gpe-dm-0.51-r1.ebuild
index 0e48891..abaa9f8 100644
--- a/gpe-xsession/gpe-dm/gpe-dm-0.51-r1.ebuild
+++ b/gpe-xsession/gpe-dm/gpe-dm-0.51-r1.ebuild
@@ -22,7 +22,7 @@ src_unpack() {
# The default path is ugly and might confuse people with
# /etc/X11/xinit
- sed -i -e 's;/etc/X11;/etc/X11/gpe;' gpe-dm.c \
+ sed -i -e 's;/etc/X11;/etc/X11/gpe-dm;' gpe-dm.c \
|| die "Failed to sed file gpe-dm.c"
# Dont use /etc/init.d/gpe-dm, use
@@ -34,7 +34,8 @@ src_unpack() {
src_install() {
gpe_src_install "$@"
- dodir /etc/X11/gpe/Xinit.d
- exeinto /etc/X11/gpe
+ dodir /etc/X11/gpe-dm/Xinit.d
+ exeinto /etc/X11/gpe-dm
doexe ${FILESDIR}/Xinit
+ doexe ${FILESDIR}/Xserver
}