diff options
author | Phil Blundell <philb@gnu.org> | 2004-12-11 12:31:02 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2004-12-11 12:31:02 +0000 |
commit | b3e0192c96ca34ae5f78b038f1cc481aeded52a3 (patch) | |
tree | 75d4cfd0ea62b46f5b0bec0befb8ed6591494ca2 /packages/gpe-session-scripts | |
parent | 84eec6b0a541e6f6157582c3aaa3102f97968bc2 (diff) |
Merge bk://oe-devel@oe-devel.bkbits.net/openembedded
into stealth.nexus.co.uk:/home/pb/oe/oe
2004/12/11 12:30:20+00:00 nexus.co.uk!pb
add keymap for simpad
BKrev: 41bae8864uix0MSUh28BQUckD_DrBg
Diffstat (limited to 'packages/gpe-session-scripts')
-rw-r--r-- | packages/gpe-session-scripts/files/keymap.sh | 0 | ||||
-rw-r--r-- | packages/gpe-session-scripts/files/simpad.xmodmap | 0 | ||||
-rw-r--r-- | packages/gpe-session-scripts/files/zaurus.sh | 12 | ||||
-rw-r--r-- | packages/gpe-session-scripts/gpe-session-scripts_0.62.bb | 33 |
4 files changed, 45 insertions, 0 deletions
diff --git a/packages/gpe-session-scripts/files/keymap.sh b/packages/gpe-session-scripts/files/keymap.sh new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/gpe-session-scripts/files/keymap.sh diff --git a/packages/gpe-session-scripts/files/simpad.xmodmap b/packages/gpe-session-scripts/files/simpad.xmodmap new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/gpe-session-scripts/files/simpad.xmodmap diff --git a/packages/gpe-session-scripts/files/zaurus.sh b/packages/gpe-session-scripts/files/zaurus.sh index e69de29bb2..61ca84b595 100644 --- a/packages/gpe-session-scripts/files/zaurus.sh +++ b/packages/gpe-session-scripts/files/zaurus.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +if [ -z "`which chkhinge`" ]; then + # probably not a clamshell zaurus + exit 0 +fi + +chkhinge -e +if [ $? = 12 ]; then + xrandr -o right +fi + diff --git a/packages/gpe-session-scripts/gpe-session-scripts_0.62.bb b/packages/gpe-session-scripts/gpe-session-scripts_0.62.bb index e69de29bb2..ba846a18a0 100644 --- a/packages/gpe-session-scripts/gpe-session-scripts_0.62.bb +++ b/packages/gpe-session-scripts/gpe-session-scripts_0.62.bb @@ -0,0 +1,33 @@ +LICENSE = "GPL" +PR = "r4" + +inherit gpe + +DESCRIPTION = "GPE session startup scripts" +SECTION = "gpe" +PRIORITY = "optional" +MAINTAINER = "Philip Blundell <pb@handhelds.org>" +RDEPENDS_${PN} = "matchbox gpe-session-starter gpe-bluetooth xstroke xtscal gpe-question gpe-clock matchbox-applet-inputmanager xrandr xmodmap" +# more rdepends: keylaunch ipaq-sleep apmd blueprobe +DEPENDS = "matchbox-wm matchbox-panel gpe-bluetooth xstroke xtscal gpe-question matchbox-applet-inputmanager gpe-clock xrandr xmodmap" + +SRC_URI += "file://zaurus.sh \ + file://keymap.sh \ + file://change-default-applets.patch;patch=1 \ + file://xdefaults.patch;patch=1 \ + file://shepherd.xmodmap file://simpad.xmodmap" + +do_install_append() { + install ${WORKDIR}/zaurus.sh ${D}/etc/X11/Xinit.d/11zaurus + install ${WORKDIR}/keymap.sh ${D}/etc/X11/Xinit.d/12keymap + for m in simpad shepherd; do + install -m 0644 ${WORKDIR}/$m.xmodmap ${D}/etc/X11/ + done + install -d ${D}/etc/gpe/xsettings-default.d + if [ "${GUI_MACHINE_CLASS}" != "bigscreen" ]; then + echo "Gtk/ToolbarStyle:S:icons" > ${D}/etc/gpe/xsettings-default.d/toolbar + fi +} + +# This makes use of GUI_MACHINE_CLASS, so set PACKAGE_ARCH appropriately +PACKAGE_ARCH := "${MACHINE_ARCH}" |