diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> | 2011-06-07 23:18:02 +0200 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> | 2011-06-07 23:27:46 +0200 |
commit | a215eb3933b68bab9889f48dc6ed77a0f754751d (patch) | |
tree | b1a04fdc32e7e6325d1a52c7c31603479017e61d /recipes/xserver-common | |
parent | 7cadae3dfbc591f25dcae046586e5357bc61edfb (diff) | |
download | openembedded-a215eb3933b68bab9889f48dc6ed77a0f754751d.tar.gz |
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@no-log.org>
Diffstat (limited to 'recipes/xserver-common')
-rw-r--r-- | recipes/xserver-common/files/Xserver.nexusone.patch | 14 | ||||
-rw-r--r-- | 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 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 \ " |