diff options
author | Holger Freyther <zecke@selfish.org> | 2005-09-12 19:10:29 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-09-12 19:10:29 +0000 |
commit | 149b88fa517e3ed0eab88e5e276d09c18b1f8d38 (patch) | |
tree | 50ecc6737a1f629cb88b413810f8f890dac79adb /packages | |
parent | 8d6469e2406f7c21aebff8873ff0167f08692e1f (diff) | |
parent | 609098b39f1aa30e84e10d94bc49439915aa9d5a (diff) |
merge of 77fc8f2b5232044a734ff79b0bdd873ad80ec7c3
and 94c19a6bdf6ad026dc99b955d02498220dd46166
Diffstat (limited to 'packages')
-rw-r--r-- | packages/xserver-common/files/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/xserver-common/files/cxk-rotation.patch | 24 | ||||
-rw-r--r-- | packages/xserver-common/xserver-common_1.1.bb | 3 |
3 files changed, 26 insertions, 1 deletions
diff --git a/packages/xserver-common/files/.mtn2git_empty b/packages/xserver-common/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/xserver-common/files/.mtn2git_empty diff --git a/packages/xserver-common/files/cxk-rotation.patch b/packages/xserver-common/files/cxk-rotation.patch new file mode 100644 index 0000000000..f29d052d8d --- /dev/null +++ b/packages/xserver-common/files/cxk-rotation.patch @@ -0,0 +1,24 @@ +diff -Nur xserver-common-1.1~/X11/Xinit.d/11zaurus xserver-common-1.1/X11/Xinit.d/11zaurus +--- xserver-common-1.1~/X11/Xinit.d/11zaurus 2005-08-29 03:52:46.000000000 -0700 ++++ xserver-common-1.1/X11/Xinit.d/11zaurus 2005-09-12 11:03:37.000000000 -0700 +@@ -5,8 +5,19 @@ + exit 0 + fi + ++module_id() { ++ # Get model name ++ echo `grep "^Hardware" /proc/cpuinfo | sed -e "s/.*: *//" | tr a-z A-Z` ++} ++ + chkhinge -e + if [ $? = 12 ]; then +- xrandr -o right ++ case `module_id` in ++ *SPITZ | *AKITA | *BORZOI) ++ DIRECTION="left" ;; ++ default) ++ DIRECTION="right" ;; ++ esac ++ xrandr -o $DIRECTION + fi + diff --git a/packages/xserver-common/xserver-common_1.1.bb b/packages/xserver-common/xserver-common_1.1.bb index 70e689c9d8..76bd376365 100644 --- a/packages/xserver-common/xserver-common_1.1.bb +++ b/packages/xserver-common/xserver-common_1.1.bb @@ -4,8 +4,9 @@ LICENSE = "GPL" SECTION = "x11" DEPENDS = "xmodmap xrandr xdpyinfo xtscal" RDEPENDS_${PN} = "xmodmap xrandr xdpyinfo xtscal" -PR = "r2" +PR = "r3" # we are using a gpe-style Makefile inherit gpe +SRC_URI += "file://cxk-rotation.patch;patch=1"
\ No newline at end of file |