[oe-commits] Denis 'GNUtoo' Carikli : xserver-common: add nexusone DPI
git version control
git at git.openembedded.org
Tue Jun 7 21:29:49 UTC 2011
Module: openembedded.git
Branch: org.openembedded.dev
Commit: a215eb3933b68bab9889f48dc6ed77a0f754751d
URL: http://git.openembedded.org/?p=openembedded.git&a=commit;h=a215eb3933b68bab9889f48dc6ed77a0f754751d
Author: Denis 'GNUtoo' Carikli <GNUtoo at no-log.org>
Date: Tue Jun 7 23:18:02 2011 +0200
xserver-common: add nexusone DPI
Without that patch the incorrect default DPI makes applications
look too small on the phone's screen.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo at no-log.org>
---
.../xserver-common/files/Xserver.nexusone.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.nexusone.patch b/recipes/xserver-common/files/Xserver.nexusone.patch
new file mode 100644
index 0000000..b7c5087
--- /dev/null
+++ b/recipes/xserver-common/files/Xserver.nexusone.patch
@@ -0,0 +1,14 @@
+Index: xserver-common-1.34/X11/xserver-common
+===================================================================
+--- xserver-common-1.34.orig/X11/xserver-common 2011-06-07 20:12:40.869945524 +0200
++++ xserver-common-1.34/X11/xserver-common 2011-06-07 20:13:55.219945538 +0200
+@@ -129,6 +129,9 @@
+ "trout")
+ DPI="181"
+ ARGS="$ARGS -dpi ${DPI}";;
++ "mahimahi")
++ DPI="254"
++ 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 0b2da5b..8774078 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 = "r2"
+PR = "r3"
# we are using a gpe-style Makefile
inherit gpe
@@ -21,6 +21,7 @@ SRC_URI_append = " \
file://Xserver.add.dpi.for.gta.patch \
file://Xserver.n900.patch \
file://Xserver.htcdream.patch \
+ file://Xserver.nexusone.patch \
"
More information about the Openembedded-commits
mailing list