diff options
author | Florian Boor <florian.boor@kernelconcepts.de> | 2007-04-19 17:34:42 +0000 |
---|---|---|
committer | Florian Boor <florian.boor@kernelconcepts.de> | 2007-04-19 17:34:42 +0000 |
commit | 140ca073d04adb99248b5a850838ac4ed3af11e2 (patch) | |
tree | 3d242b837e77da6a3663f1038006e11215688d1e /packages | |
parent | f6c39b9872812a941c26e7dfa5ea1a5e4369d1bb (diff) | |
parent | 55867fead4786bb7a609da96ac5fd4c67e2efdc1 (diff) |
merge of '9e2ea1f2a87bc495597a9bda44b7d5921358c104'
and 'd18552e5056a026d8ed8959e135b2fa05c3e1b6b'
Diffstat (limited to 'packages')
-rw-r--r-- | packages/xtscal/xtscal/xtscal-cxk.patch | 30 | ||||
-rw-r--r-- | packages/xtscal/xtscal_0.6.3.bb | 2 |
2 files changed, 23 insertions, 9 deletions
diff --git a/packages/xtscal/xtscal/xtscal-cxk.patch b/packages/xtscal/xtscal/xtscal-cxk.patch index 1cab8efb57..218e3c061e 100644 --- a/packages/xtscal/xtscal/xtscal-cxk.patch +++ b/packages/xtscal/xtscal/xtscal-cxk.patch @@ -1,11 +1,25 @@ ---- xtscal-0.6.3/xtscal.in~ 2004-09-10 12:10:36.000000000 -0700 -+++ xtscal-0.6.3/xtscal.in 2005-08-04 09:26:46.000000000 -0700 -@@ -8,7 +8,7 @@ +--- xtscal-0.6.3/xtscal.in~ ++++ xtscal-0.6.3/xtscal.in +@@ -1,16 +1,15 @@ + #!/bin/sh + + module_id() { +- # Get model name +- echo `grep "^Hardware" /proc/cpuinfo | sed -e "s/.*: *//" | tr a-z A-Z` ++ awk 'BEGIN { FS=": " } /Hardware/ { print $2 } ' </proc/cpuinfo + } + case `module_id` in - "HP IPAQ H3100" | "HP IPAQ H3800" ) - ARGS="-rotate 90" ;; +- "HP IPAQ H3100" | "HP IPAQ H3800" ) +- ARGS="-rotate 90" ;; - "HP IPAQ H3600" | "HP IPAQ H3700" | "HP IPAQ H3900" | *COLLIE | *POODLE) -+ "HP IPAQ H3600" | "HP IPAQ H3700" | "HP IPAQ H3900" | *COLLIE | *POODLE | *SPITZ | *AKITA | *BORZOI) - ARGS="-rotate 270" ;; - # H2200: works without rotation +- ARGS="-rotate 270" ;; +- # H2200: works without rotation ++ "HP IPAQ H3100" | "HP IPAQ H3800" ) ++ ARGS="-rotate 90" ;; ++ "HP IPAQ H3600" | "HP IPAQ H3700" | "HP IPAQ H3900" | "HTC Universal" | *COLLIE | *POODLE | *SPITZ | *AKITA | *BORZOI) ++ ARGS="-rotate 270" ;; ++ # H2200: works without rotation esac + + # the things we do for autoconf diff --git a/packages/xtscal/xtscal_0.6.3.bb b/packages/xtscal/xtscal_0.6.3.bb index 7a75cd0fd8..2c629dc162 100644 --- a/packages/xtscal/xtscal_0.6.3.bb +++ b/packages/xtscal/xtscal_0.6.3.bb @@ -1,5 +1,5 @@ require xtscal.inc -PR = "r1" +PR = "r2" SRC_URI += "file://xtscal-cxk.patch;patch=1" |