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 <[email protected]> --- .../xserver-common-1.34/Xserver.nexusone.patch | 14 ++++++++++++++ .../xserver-common/xserver-common_1.34.bb | 3 ++- 2 files changed, 16 insertions(+), 1 deletions(-) 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 0000000..7d528ae --- /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 bc25363..6e4fe2e 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 \ " -- 1.7.1 _______________________________________________ Shr-devel mailing list [email protected] http://lists.shr-project.org/mailman/listinfo/shr-devel
