1 |
miknix 09/05/30 15:19:41 |
2 |
|
3 |
Added: Xinit gpe-dm-noinitd.patch Xserver |
4 |
Log: |
5 |
Import gpe-dm from the GPE overlay. |
6 |
(Portage version: 2.1.6.11/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 gpe-base/gpe-dm/files/Xinit |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gpe-base/gpe-dm/files/Xinit?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gpe-base/gpe-dm/files/Xinit?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: Xinit |
15 |
=================================================================== |
16 |
#!/bin/sh |
17 |
# Copied from gpe xserver-common |
18 |
|
19 |
export USER=root |
20 |
export HOME=/home/root |
21 |
if [ ! -d $HOME ] && [ -d /root ]; then |
22 |
HOME=/root |
23 |
fi |
24 |
export XAPPLRESDIR=/usr/X11R6/lib/app-defaults |
25 |
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 |
26 |
|
27 |
export PATH=$PATH:/usr/X11R6/bin |
28 |
|
29 |
SYSSESSIONDIR=/etc/X11/gpe-dm/Xinit.d |
30 |
|
31 |
exec run-parts $SYSSESSIONDIR |
32 |
|
33 |
|
34 |
|
35 |
1.1 gpe-base/gpe-dm/files/gpe-dm-noinitd.patch |
36 |
|
37 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gpe-base/gpe-dm/files/gpe-dm-noinitd.patch?rev=1.1&view=markup |
38 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gpe-base/gpe-dm/files/gpe-dm-noinitd.patch?rev=1.1&content-type=text/plain |
39 |
|
40 |
Index: gpe-dm-noinitd.patch |
41 |
=================================================================== |
42 |
--- Makefile.am.old 2009-05-04 23:00:46.000000000 +0000 |
43 |
+++ Makefile.am 2009-05-04 23:01:10.000000000 +0000 |
44 |
@@ -11,11 +11,7 @@ |
45 |
|
46 |
gpe_dm_SOURCES = gpe-dm.c |
47 |
|
48 |
-initdir = $(sysconfdir)/init.d |
49 |
-init_SCRIPTS = gpe-dm.init |
50 |
- |
51 |
EXTRA_DIST = \ |
52 |
- $(init_SCRIPTS) \ |
53 |
intltool-extract.in \ |
54 |
intltool-merge.in \ |
55 |
intltool-update.in |
56 |
@@ -25,9 +21,6 @@ |
57 |
intltool-merge \ |
58 |
intltool-update |
59 |
|
60 |
-install-data-hook: |
61 |
- cd $(DESTDIR)$(sysconfdir)/init.d && mv gpe-dm.init gpe-dm |
62 |
- |
63 |
clean-local: |
64 |
rm -f *.d *~ |
65 |
|
66 |
|
67 |
|
68 |
|
69 |
1.1 gpe-base/gpe-dm/files/Xserver |
70 |
|
71 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gpe-base/gpe-dm/files/Xserver?rev=1.1&view=markup |
72 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gpe-base/gpe-dm/files/Xserver?rev=1.1&content-type=text/plain |
73 |
|
74 |
Index: Xserver |
75 |
=================================================================== |
76 |
#!/bin/sh |
77 |
# /etc/X11/gpe-dm/Xserver: The Xserver startup script of gpe-dm. |
78 |
# Copyright 1999-2009 Gentoo Foundation |
79 |
# Distributed under the terms of the GNU General Public License v2 |
80 |
# Angelo Arrifano <miknix@g.o> |
81 |
# $Header: /var/cvsroot/gentoo-x86/gpe-base/gpe-dm/files/Xserver,v 1.1 2009/05/30 15:19:41 miknix Exp $ |
82 |
|
83 |
############################################################################ |
84 |
# NOTE: If you are using Xorg, you should edit /etc/X11/xorg.conf instead. # |
85 |
############################################################################ |
86 |
|
87 |
# The input devices available on your device. |
88 |
# INPUT_DEVICES="${INPUT_DEVICES} -mouse tslib,,device=/dev/input/ts" |
89 |
# INPUT_DEVICES="${INPUT_DEVICES} -keybd keyboard,,device=/dev/input/keypad" |
90 |
# INPUT_DEVICES="${INPUT_DEVICES} -keybd keyboard,,device=/dev/input/dpad" |
91 |
INPUT_DEVICES="${INPUT_DEVICES} -mouse tslib,,device=/dev/input/ts" |
92 |
INPUT_DEVICES="${INPUT_DEVICES} -keybd keyboard,,device=/dev/input/keypad" |
93 |
|
94 |
# Your screen resolution, it should work even if you don't set it. |
95 |
# SCREEN_GEOMETRY="-screen 320x240" # QVGA |
96 |
# SCREEN_GEOMETRY="-screen 640x480" # VGA |
97 |
SCREEN_GEOMETRY="" |
98 |
|
99 |
# The screen DPI |
100 |
# SCREEN_DPI="-dpi 100" |
101 |
SCREEN_DPI="" |
102 |
|
103 |
# The framebuffer device, set if your device name is non startard |
104 |
# our would like to use another device. |
105 |
# FB_DEVICE="-fb /dev/fb1" |
106 |
FB_DEVICE="" |
107 |
|
108 |
# Additional Xserver parameters. |
109 |
EXTRA_ARGS="-br -pn" |
110 |
|
111 |
# Choose the Xserver to start. |
112 |
# Rule of the thumb: Xfbdev for embedded and Xorg for desktops. |
113 |
# exec Xfbdev ${SCREEN_GEOMETRY} ${SCREEN_DPI} ${FB_DEVICE} ${INPUT_DEVICES} ${EXTRA_ARGS} |
114 |
# exec Xorg :0 -audit 0 -nolisten tcp vt7 |
115 |
exec Xorg :0 -audit 0 -nolisten tcp vt7 |