aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/xserver-common
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>2011-05-21 15:14:24 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>2011-05-21 21:12:15 +0200
commit7ee3ba288597da92104767301eb7195ee8794478 (patch)
tree63bb32a4d22c2282c5e6fabda0a9442ba432b00b /recipes/xserver-common
parent706320095eb4816e454640c028ea18768c48e482 (diff)
downloadopenembedded-7ee3ba288597da92104767301eb7195ee8794478.tar.gz
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@no-log.org> Acked-by: Klaus Kurzmann <mok@fluxnetz.de> Acked-by: Simon Busch <morphis@gravedo.de>
Diffstat (limited to 'recipes/xserver-common')
-rw-r--r--recipes/xserver-common/files/Xserver.htcdream.patch14
-rw-r--r--recipes/xserver-common/xserver-common_1.34.bb3
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 0000000000..11842a2974
--- /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 d8c29d1d8a..0b2da5b998 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 \
"