xserver-common 1.34: Add Nexus S support

Since we only use Xorg(and not kdrive) on the nexus S,
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 <GNUtoo@no-log.org>
Acked-by: Simon Busch <morphis@gravedo.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Denis 'GNUtoo' Carikli
2011-10-10 11:46:54 +02:00
committed by Koen Kooi
parent 6e3c02dfa0
commit e2aecd230e
2 changed files with 16 additions and 1 deletions
@@ -0,0 +1,14 @@
Index: xserver-common-1.34/X11/xserver-common
===================================================================
--- xserver-common-1.34.orig/X11/xserver-common 2011-10-09 14:57:10.716896996 +0200
+++ xserver-common-1.34/X11/xserver-common 2011-10-09 14:57:31.226897012 +0200
@@ -126,6 +126,9 @@
"htc_tornado")
ARGS="$ARGS -hide-cursor"
DPI="100" ;;
+ "herring")
+ DPI="235"
+ ARGS="$ARGS -dpi ${DPI} -nocursor";;
"generic_omap1510/1610/1710")
ARGS="$ARGS -screen ${SCREEN_SIZE}"
DPI="225" ;;
@@ -2,7 +2,7 @@ DESCRIPTION = "Common X11 scripts and support files"
LICENSE = "GPLv2" LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
PR = "r3" PR = "r4"
# we are using a gpe-style Makefile # we are using a gpe-style Makefile
inherit gpe inherit gpe
@@ -20,6 +20,7 @@ SRC_URI_append = " \
file://Xserver.add.nocursor.for.gta.patch \ file://Xserver.add.nocursor.for.gta.patch \
file://Xserver.add.dpi.for.gta.patch \ file://Xserver.add.dpi.for.gta.patch \
file://Xserver.n900.patch \ file://Xserver.n900.patch \
file://Xserver.nexuss.patch \
" "