summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorFlorian Boor <florian.boor@kernelconcepts.de>2007-07-11 10:56:56 +0000
committerFlorian Boor <florian.boor@kernelconcepts.de>2007-07-11 10:56:56 +0000
commita183cc63ec0a7ef120d7d25f01ca0278d54802a0 (patch)
treede2f6164cd482ab7e102aac5b89619aad1b4e580 /packages
parent813777bcdcaa476af10e64eaadc1b5abd0f66dcd (diff)
gpe-session-scripts-phone: Update session script to support gtk 2.10 and run machined.
Diffstat (limited to 'packages')
-rwxr-xr-xpackages/gpephone/gpe-session-scripts-phone/phonesession10
-rw-r--r--packages/gpephone/gpe-session-scripts-phone_0.67.bb2
2 files changed, 10 insertions, 2 deletions
diff --git a/packages/gpephone/gpe-session-scripts-phone/phonesession b/packages/gpephone/gpe-session-scripts-phone/phonesession
index 6f6d9d59ae..2dacc4c4c9 100755
--- a/packages/gpephone/gpe-session-scripts-phone/phonesession
+++ b/packages/gpephone/gpe-session-scripts-phone/phonesession
@@ -31,7 +31,12 @@ export TINYMAIL_CACHE_DIR=$APP_PATH/share/tinymail.cache
export CAL_RES_PATH=$APP_PATH/share/res
# For GTK input engine
-export PTIM_PATH=/usr/lib/gtk-2.0/2.4.0/immodules/ptim
+if [ -d /usr/lib/gtk-2.0/2.10.0 ]; then
+ export PTIM_PATH=/usr/lib/gtk-2.0/2.10.0/immodules/ptim
+else
+ export PTIM_PATH=/usr/lib/gtk-2.0/2.4.0/immodules/ptim
+fi
+
export PTIM_PIXMAPS_PATH=$PTIM_PATH/pixmaps
export PTIM_CONFIG_FILE=$PTIM_PATH/imconfig
export PTIM_HELPER_PATH=$PTIM_PATH/helper
@@ -43,6 +48,9 @@ gpe-phonepanel&
gpe-applauncher&
matchbox-window-manager -use_titlebar no&
+# start device support daemon
+machined
+
# Start E-Sound Server
esd -nobeeps -as 2&
esdplay /mnt/sd/sounds/startup.wav
diff --git a/packages/gpephone/gpe-session-scripts-phone_0.67.bb b/packages/gpephone/gpe-session-scripts-phone_0.67.bb
index 00031ac546..730a549aef 100644
--- a/packages/gpephone/gpe-session-scripts-phone_0.67.bb
+++ b/packages/gpephone/gpe-session-scripts-phone_0.67.bb
@@ -14,7 +14,7 @@ SRC_URI = "${GPE_MIRROR}/gpe-session-scripts-${PV}.tar.gz \
file://disable-composite.xsettings \
file://standard-apps.patch;patch=1"
-PR = "r6"
+PR = "r7"
S = "${WORKDIR}/gpe-session-scripts-${PV}"