From 4b40111d746625d100165981e0ea8f2bcfca5d9e Mon Sep 17 00:00:00 2001 From: GNUtoo Date: Mon, 10 Oct 2011 21:23:10 +0000 Subject: xserver-common 1.34: Add Nexus One support Since we only use Xorg(and not kdrive) on the nexus one, only Xorg support was included. The DPI value was taken from: http://en.wikipedia.org/wiki/List_of_displays_by_pixel_density Signed-off-by: Denis 'GNUtoo' Carikli Signed-off-by: Martin Jansa --- .../xserver-common-1.34/Xserver.nexusone.patch | 14 ++++++++++++++ .../recipes-graphics/xserver-common/xserver-common_1.34.bb | 3 ++- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/Xserver.nexusone.patch diff --git a/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/Xserver.nexusone.patch b/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/Xserver.nexusone.patch new file mode 100644 index 0000000000..7d528ae6ee --- /dev/null +++ b/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/Xserver.nexusone.patch @@ -0,0 +1,14 @@ +Index: xserver-common-1.34/X11/xserver-common +=================================================================== +--- xserver-common-1.34.orig/X11/xserver-common 2011-10-10 22:36:14.163129002 +0200 ++++ xserver-common-1.34/X11/xserver-common 2011-10-10 22:37:47.513129001 +0200 +@@ -129,6 +129,9 @@ + "herring") + DPI="235" + ARGS="$ARGS -dpi ${DPI} -nocursor";; ++ "mahimahi") ++ DPI="254" ++ ARGS="$ARGS -dpi ${DPI}";; + "generic_omap1510/1610/1710") + ARGS="$ARGS -screen ${SCREEN_SIZE}" + DPI="225" ;; diff --git a/meta-oe/recipes-graphics/xserver-common/xserver-common_1.34.bb b/meta-oe/recipes-graphics/xserver-common/xserver-common_1.34.bb index bc25363d59..6e4fe2e94c 100644 --- a/meta-oe/recipes-graphics/xserver-common/xserver-common_1.34.bb +++ b/meta-oe/recipes-graphics/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 = "r4" +PR = "r5" # 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.nexuss.patch \ + file://Xserver.nexusone.patch \ " -- cgit v1.2.3-54-g00ecf