[oe] [PATCH 1/2] xserver-common: add support for the htcdream
Denis 'GNUtoo' Carikli
GNUtoo at no-log.org
Sat May 21 13:24:33 UTC 2011
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
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo at no-log.org>
---
.../xserver-common/files/Xserver.htcdream.patch | 14 ++++++++++++++
recipes/xserver-common/xserver-common_1.34.bb | 3 ++-
2 files changed, 16 insertions(+), 1 deletions(-)
create mode 100644 recipes/xserver-common/files/Xserver.htcdream.patch
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 \
"
--
1.7.0.4
More information about the Openembedded-devel
mailing list