From a215eb3933b68bab9889f48dc6ed77a0f754751d Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Tue, 7 Jun 2011 23:18:02 +0200 Subject: 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 --- recipes/xserver-common/files/Xserver.nexusone.patch | 14 ++++++++++++++ recipes/xserver-common/xserver-common_1.34.bb | 3 ++- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 recipes/xserver-common/files/Xserver.nexusone.patch (limited to 'recipes/xserver-common') diff --git a/recipes/xserver-common/files/Xserver.nexusone.patch b/recipes/xserver-common/files/Xserver.nexusone.patch new file mode 100644 index 0000000000..b7c508741e --- /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 0b2da5b998..8774078d65 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 \ " -- cgit 1.2.3-korg