[oe-commits] org.oe.dev xtscal: Update patch to fix some HTC Universal issues.

florian commit openembedded-commits at lists.openembedded.org
Thu Apr 19 17:39:53 UTC 2007


xtscal: Update patch to fix some HTC Universal issues.

Author: florian at openembedded.org
Branch: org.openembedded.dev
Revision: d18552e5056a026d8ed8959e135b2fa05c3e1b6b
ViewMTN: http://monotone.openembedded.org/revision.psp?id=d18552e5056a026d8ed8959e135b2fa05c3e1b6b
Files:
1
packages/xtscal/xtscal/xtscal-cxk.patch
packages/xtscal/xtscal_0.6.3.bb
Diffs:

#
# mt diff -rfff87b58793944617cf3c5b62c5d40bd630a706f -rd18552e5056a026d8ed8959e135b2fa05c3e1b6b
#
# 
# 
# patch "packages/xtscal/xtscal/xtscal-cxk.patch"
#  from [ada685c9b0d2c22b8c9eb48d4809582b59a5a0da]
#    to [7cd136807f80f17fc344cfe8c4dbd51eac36439e]
# 
# patch "packages/xtscal/xtscal_0.6.3.bb"
#  from [e438c1bfc871996f49d6860231de418fc85c921c]
#    to [1b8c6047a8809f8d4b2f084f11e17b848aa0632a]
# 
============================================================
--- packages/xtscal/xtscal/xtscal-cxk.patch	ada685c9b0d2c22b8c9eb48d4809582b59a5a0da
+++ packages/xtscal/xtscal/xtscal-cxk.patch	7cd136807f80f17fc344cfe8c4dbd51eac36439e
@@ -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
============================================================
--- packages/xtscal/xtscal_0.6.3.bb	e438c1bfc871996f49d6860231de418fc85c921c
+++ packages/xtscal/xtscal_0.6.3.bb	1b8c6047a8809f8d4b2f084f11e17b848aa0632a
@@ -1,5 +1,5 @@ require xtscal.inc
 require xtscal.inc
 
-PR = "r1"
+PR = "r2"
 
 SRC_URI += "file://xtscal-cxk.patch;patch=1"






More information about the Openembedded-commits mailing list