diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> | 2011-10-10 11:46:54 +0200 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-10-12 13:02:55 +0200 |
commit | e2aecd230ef6f8ada9f4f1c2da64a90064e29fc2 (patch) | |
tree | f36e51c29607c9a0a42c19f80ba9cbd195b0b1f1 | |
parent | 6e3c02dfa0121ae37383cb5843abc0c22e37dff9 (diff) | |
download | meta-openembedded-e2aecd230ef6f8ada9f4f1c2da64a90064e29fc2.tar.gz |
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>
-rw-r--r-- | meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/Xserver.nexuss.patch | 14 | ||||
-rw-r--r-- | meta-oe/recipes-graphics/xserver-common/xserver-common_1.34.bb | 3 |
2 files changed, 16 insertions, 1 deletions
diff --git a/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/Xserver.nexuss.patch b/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/Xserver.nexuss.patch new file mode 100644 index 0000000000..1e564ce4b7 --- /dev/null +++ b/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/Xserver.nexuss.patch | |||
@@ -0,0 +1,14 @@ | |||
1 | Index: xserver-common-1.34/X11/xserver-common | ||
2 | =================================================================== | ||
3 | --- xserver-common-1.34.orig/X11/xserver-common 2011-10-09 14:57:10.716896996 +0200 | ||
4 | +++ xserver-common-1.34/X11/xserver-common 2011-10-09 14:57:31.226897012 +0200 | ||
5 | @@ -126,6 +126,9 @@ | ||
6 | "htc_tornado") | ||
7 | ARGS="$ARGS -hide-cursor" | ||
8 | DPI="100" ;; | ||
9 | + "herring") | ||
10 | + DPI="235" | ||
11 | + ARGS="$ARGS -dpi ${DPI} -nocursor";; | ||
12 | "generic_omap1510/1610/1710") | ||
13 | ARGS="$ARGS -screen ${SCREEN_SIZE}" | ||
14 | 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 63ab354525..bc25363d59 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" | |||
2 | LICENSE = "GPLv2" | 2 | LICENSE = "GPLv2" |
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" | 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" |
4 | 4 | ||
5 | PR = "r3" | 5 | PR = "r4" |
6 | 6 | ||
7 | # we are using a gpe-style Makefile | 7 | # we are using a gpe-style Makefile |
8 | inherit gpe | 8 | inherit gpe |
@@ -20,6 +20,7 @@ SRC_URI_append = " \ | |||
20 | file://Xserver.add.nocursor.for.gta.patch \ | 20 | file://Xserver.add.nocursor.for.gta.patch \ |
21 | file://Xserver.add.dpi.for.gta.patch \ | 21 | file://Xserver.add.dpi.for.gta.patch \ |
22 | file://Xserver.n900.patch \ | 22 | file://Xserver.n900.patch \ |
23 | file://Xserver.nexuss.patch \ | ||
23 | " | 24 | " |
24 | 25 | ||
25 | 26 | ||