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 <GNUtoo@no-log.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
GNUtoo
2011-10-10 21:23:10 +00:00
committed by Koen Kooi
parent e2aecd230e
commit 4b40111d74
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-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" ;;
@@ -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 \
"