diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/gpephone/gpe-session-scripts-phone/phonesession | |
parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) |
rename packages/ to recipes/ per earlier agreement
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/gpephone/gpe-session-scripts-phone/phonesession')
-rwxr-xr-x | recipes/gpephone/gpe-session-scripts-phone/phonesession | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/recipes/gpephone/gpe-session-scripts-phone/phonesession b/recipes/gpephone/gpe-session-scripts-phone/phonesession new file mode 100755 index 0000000000..524199ee16 --- /dev/null +++ b/recipes/gpephone/gpe-session-scripts-phone/phonesession @@ -0,0 +1,71 @@ +#!/bin/sh +export V_ROOT=/ +export APP_PATH=/usr + +# For GEM enivronment +export GEM_PATH=/usr + +# For Volume Configuration +export VOLCOF_RES_PATH=/usr/share/volconf + +# For Voc History +export VOC_DATA_PATH=$V_ROOT/usr/share/vochistory + +# For AddressBook +export PIM_DATA_PATH=$APP_PATH/share +export ABOOK_DATA_PATH=$APP_PATH/share + +# For Voicecall +export VOC_IMAGE_PATH=$APP_PATH/share/pixmaps + +# For SMS +export SMS_CONF_PATH=$APP_PATH/share/conf +export SMS_GRAPHIC_PATH=$APP_PATH/share/graphic +export SMS_RING_TONE_PATH=$APP_PATH/share/chocolate.mp3 + +# For E-mail +export TINYMAIL_CACHE_DIR=$APP_PATH/share/tinymail.cache + +# For Calendar +export CAL_RES_PATH=$APP_PATH/share/res + +# For GTK input engine +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 +export PTIM_ENGINE_PATH=$PTIM_PATH/engine +export GTK_IM_MODULE=ptim + +# Start GPE Phone Edition apps through matchbox session +gpe-phonepanel& +gpe-applauncher& +matchbox-window-manager -use_titlebar no& + + +# Start E-Sound Server +esd -nobeeps -as 2& +esdplay /mnt/sd/sounds/startup.wav + +# Start SoundServer +soundserver & +alsactl restore -f /etc/gsmhandset.state + +# Run GSM support stuff + +#cms92init & +gsmMux -d -p /dev/ttyS0 -m cms92 -f 128 -b 115200 -c /dev/ptmx /dev/ptmx & + +#save session bus address to a file +echo $DBUS_SESSION_BUS_ADDRESS > /tmp/dbusaddress + +# Start PhoneServer +phoneserver& + +# start device support daemon +exec machined -n |