summaryrefslogtreecommitdiff
path: root/meta/packages
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-08-27 22:44:10 +0000
committerRichard Purdie <richard@openedhand.com>2006-08-27 22:44:10 +0000
commit92026fcdb0d01359d72e81c8adda03271c417992 (patch)
tree3a0fc4e5b41c6634e1b47e56efa3a66737e33b3f /meta/packages
parent418c6e58f7c577302299831b90df620cd9485a3d (diff)
downloadopenembedded-core-92026fcdb0d01359d72e81c8adda03271c417992.tar.gz
openembedded-core-92026fcdb0d01359d72e81c8adda03271c417992.tar.bz2
openembedded-core-92026fcdb0d01359d72e81c8adda03271c417992.zip
chkhinge26: drop (replaced by zaurusd)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@664 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages')
-rwxr-xr-xmeta/packages/chkhinge26/chkhinge26_svn.bb20
-rwxr-xr-xmeta/packages/chkhinge26/files/hinge-handler47
2 files changed, 0 insertions, 67 deletions
diff --git a/meta/packages/chkhinge26/chkhinge26_svn.bb b/meta/packages/chkhinge26/chkhinge26_svn.bb
deleted file mode 100755
index 5313401b50..0000000000
--- a/meta/packages/chkhinge26/chkhinge26_svn.bb
+++ /dev/null
@@ -1,20 +0,0 @@
-LICENSE = "LGPL"
-SECTION = "x11"
-MAINTAINER = "Matthew Allum <mallum@openedhand.com>"
-DESCRIPTION = "Chkhinge26 fires off cmds on cXXXX Zs."
-PR = "r2"
-
-SRC_URI = "svn://svn.o-hand.com/repos/misc/trunk;module=chkhinge26;proto=http \
- file://hinge-handler"
-
-S = "${WORKDIR}/${PN}"
-
-inherit autotools pkgconfig
-
-do_install_append () {
- install -m 0755 ${WORKDIR}/hinge-handler ${D}/${bindir}/
-}
-
-FILES_${PN} += "${bindir}/hinge-handler"
-
-
diff --git a/meta/packages/chkhinge26/files/hinge-handler b/meta/packages/chkhinge26/files/hinge-handler
deleted file mode 100755
index 5d5f62e305..0000000000
--- a/meta/packages/chkhinge26/files/hinge-handler
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/bin/sh
-#
-# Quick handler for chkhinge26 and X.
-#
-
-killproc() { # kill the named process(es)
- pid=`/bin/ps -e x |
- /bin/grep $1 |
- /bin/grep -v grep |
- /bin/sed -e 's/^ *//' -e 's/ .*//'`
- [ "$pid" != "" ] && kill $pid
-}
-
-export DISPLAY=:0
-
-if [ -z "$1" ]; then
- echo "Usage: hinge-handler <state> ( 3 = closed, 0 = landscape, 2 = portrait )"
- exit 1
-fi
-
-STATE=$1
-
-if [ $STATE = "3" ]; then
- echo "sleeping"
- apm -s
- exit 0
-fi
-
-if [ $STATE = "0" ]; then
- echo "lanscape"
- killproc /usr/bin/mbinputmgr
-# urg mbinputmgr should kill below
- killproc /usr/bin/matchbox-keyboard
- killproc /usr/bin/matchbox-stroke
- xrandr -o normal
- exit 0
-fi
-
-if [ $STATE = "2" ]; then
- echo "portrait"
- xrandr -o left
-# just to be extra safe
- sleep 1
- /usr/bin/mbinputmgr &
- exit 0
-fi
-