diff options
author | Klaus Kurzmann <mok@fluxnetz.de> | 2011-10-20 09:18:49 +0200 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-11-01 08:54:41 +0100 |
commit | e4aee60b23d536ede9fd536b321dd02303267412 (patch) | |
tree | e528f7562e4c9e007812661104b50e16b64d1f46 | |
parent | bcfc89236b7a96eb00999492351fb9cafc0cbf84 (diff) | |
download | meta-openembedded-e4aee60b23d536ede9fd536b321dd02303267412.tar.gz |
xserver-common_1.34: patch Xserver to add support for gta04
Signed-off-by: Klaus Kurzmann <mok@fluxnetz.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
-rw-r--r-- | meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/Xserver.gta04.patch | 32 | ||||
-rw-r--r-- | meta-oe/recipes-graphics/xserver-common/xserver-common_1.34.bb | 1 |
2 files changed, 33 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/Xserver.gta04.patch b/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/Xserver.gta04.patch new file mode 100644 index 000000000..8a17c9aa9 --- /dev/null +++ b/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/Xserver.gta04.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From 95d741d6849a2faddf8c1e930c7250ead90e7bed Mon Sep 17 00:00:00 2001 | ||
2 | From: Klaus Kurzmann <mok@fluxnetz.de> | ||
3 | Date: Thu, 20 Oct 2011 09:05:43 +0200 | ||
4 | Subject: [PATCH] gta04 | ||
5 | |||
6 | Signed-off-by: Klaus Kurzmann <mok@fluxnetz.de> | ||
7 | --- | ||
8 | X11/xserver-common | 8 ++++++++ | ||
9 | 1 files changed, 8 insertions(+), 0 deletions(-) | ||
10 | |||
11 | diff --git a/X11/xserver-common b/X11/xserver-common | ||
12 | index 448b262..208bbfd 100644 | ||
13 | --- a/X11/xserver-common | ||
14 | +++ b/X11/xserver-common | ||
15 | @@ -161,6 +161,14 @@ else | ||
16 | ARGS="$ARGS -dpi ${DPI} -nocursor" | ||
17 | fi | ||
18 | ;; | ||
19 | + "gta04") | ||
20 | + DPI="280" | ||
21 | + if [ "$XSERVER" != "Xorg" ] ; then | ||
22 | + ARGS="$ARGS -screen ${SCREEN_SIZE}" | ||
23 | + else | ||
24 | + ARGS="$ARGS -dpi ${DPI} -nocursor" | ||
25 | + fi | ||
26 | + ;; | ||
27 | "motorola_ezx_platform") | ||
28 | ARGS="$ARGS -screen 240x320" | ||
29 | DPI="170" ;; | ||
30 | -- | ||
31 | 1.7.7 | ||
32 | |||
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 6e4fe2e94..4f99a9050 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 | |||
@@ -22,6 +22,7 @@ SRC_URI_append = " \ | |||
22 | file://Xserver.n900.patch \ | 22 | file://Xserver.n900.patch \ |
23 | file://Xserver.nexuss.patch \ | 23 | file://Xserver.nexuss.patch \ |
24 | file://Xserver.nexusone.patch \ | 24 | file://Xserver.nexusone.patch \ |
25 | file://Xserver.gta04.patch \ | ||
25 | " | 26 | " |
26 | 27 | ||
27 | 28 | ||