[oe-commits] Denis 'GNUtoo' Carikli : xserver-common: add support for the htcdream
git version control
git at git.openembedded.org
Thu May 26 20:00:53 UTC 2011
Module: openembedded.git
Branch: testing-next
Commit: 7ee3ba288597da92104767301eb7195ee8794478
URL: http://git.openembedded.org/?p=openembedded.git&a=commit;h=7ee3ba288597da92104767301eb7195ee8794478
Author: Denis 'GNUtoo' Carikli <GNUtoo at no-log.org>
Date: Sat May 21 15:14:24 2011 +0200
xserver-common: add support for the htcdream
Without that patch the DPI of the htcdream is the default DPI
which is incorrect.
Note that the htc dreams's /proc/cpuinfo machine name is trout
The acks come from the #openmoko-cdevel IRC channel on freenode:
May 21 20:59:22 <morphis> GNUtoo: if it works for you as I can't try, then you have my ack :)
And:
May 21 21:05:57 <mrmoku> GNUtoo: htc dream I'm maybe not the correct one to ack, but the patch looks good to me
May 21 21:06:07 <mrmoku> so if you need an ack you can add mine :)
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo at no-log.org>
Acked-by: Klaus Kurzmann <mok at fluxnetz.de>
Acked-by: Simon Busch <morphis at gravedo.de>
---
.../xserver-common/files/Xserver.htcdream.patch | 14 ++++++++++++++
recipes/xserver-common/xserver-common_1.34.bb | 3 ++-
2 files changed, 16 insertions(+), 1 deletions(-)
diff --git a/recipes/xserver-common/files/Xserver.htcdream.patch b/recipes/xserver-common/files/Xserver.htcdream.patch
new file mode 100644
index 0000000..11842a2
--- /dev/null
+++ b/recipes/xserver-common/files/Xserver.htcdream.patch
@@ -0,0 +1,14 @@
+Index: xserver-common-1.34/X11/xserver-common
+===================================================================
+--- xserver-common-1.34.orig/X11/xserver-common 2011-05-20 23:37:56.031433456 +0200
++++ xserver-common-1.34/X11/xserver-common 2011-05-20 23:39:56.451433492 +0200
+@@ -126,6 +126,9 @@
+ "htc_tornado")
+ ARGS="$ARGS -hide-cursor"
+ DPI="100" ;;
++ "trout")
++ DPI="181"
++ ARGS="$ARGS -dpi ${DPI}";;
+ "generic_omap1510/1610/1710")
+ ARGS="$ARGS -screen ${SCREEN_SIZE}"
+ DPI="225" ;;
diff --git a/recipes/xserver-common/xserver-common_1.34.bb b/recipes/xserver-common/xserver-common_1.34.bb
index d8c29d1..0b2da5b 100644
--- a/recipes/xserver-common/xserver-common_1.34.bb
+++ b/recipes/xserver-common/xserver-common_1.34.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "Common X11 scripts and support files"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
-PR = "r1"
+PR = "r2"
# we are using a gpe-style Makefile
inherit gpe
@@ -20,6 +20,7 @@ SRC_URI_append = " \
file://Xserver.add.nocursor.for.gta.patch \
file://Xserver.add.dpi.for.gta.patch \
file://Xserver.n900.patch \
+ file://Xserver.htcdream.patch \
"
More information about the Openembedded-commits
mailing list