xserver-common: xilinx virtex support
authorAdrian Alonso <aalonso00@gmail.com>
Tue, 3 Aug 2010 06:23:23 +0000 (06:23 +0000)
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Wed, 4 Aug 2010 17:47:04 +0000 (19:47 +0200)
* Add xilinx virtex platforms support
* Set xserver args
* Bump PR
* v2 reorder patch set

Signed-off-by: Adrian Alonso <aalonso00@gmail.com>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
recipes/xserver-common/files/Xserver-virtex.patch [new file with mode: 0644]
recipes/xserver-common/xserver-common_1.33.bb

diff --git a/recipes/xserver-common/files/Xserver-virtex.patch b/recipes/xserver-common/files/Xserver-virtex.patch
new file mode 100644 (file)
index 0000000..c7d6cc2
--- /dev/null
@@ -0,0 +1,14 @@
+Index: xserver-common-1.13/X11/xserver-common
+===================================================================
+--- xserver-common-1.13.orig/X11/xserver-common
++++ xserver-common-1.13/X11/xserver-common
+@@ -181,6 +181,9 @@ else
+             # this is to rotate X display properly, tested with display TX09D71VM1CCA
+             ronetix*pm9261*  | ronetix*pm9263*)
+                  ARGS="$ARGS -screen 240/54x320/81@90x16" ;;
++        "Xilinx Virtex"*)
++            DPI="96"
++            ARGS="$ARGS" ;;
+         # This is a fallback for PCs
+         "")
+             if [ -f $BINDIR/Xvesa ]; then
index cb644a4..71fa231 100644 (file)
@@ -2,7 +2,7 @@ DESCRIPTION = "Common X11 scripts and support files"
 LICENSE = "GPL"
 SECTION = "x11"
 RDEPENDS_${PN} = "xmodmap xrandr xdpyinfo"
-PR = "r4"
+PR = "r5"
 
 PACKAGE_ARCH = "all"
 DEFAULT_PREFERENCE = "-1"
@@ -19,7 +19,8 @@ SRC_URI[sha256sum] = "4576ccca80730f1860a273df38b9f917cf906eca9865e108d76fc5460e
 SRC_URI_append = " file://loop.patch;striplevel=3 \
                    file://rgba.diff \
                    file://setDPI.sh \
-                   file://89xdgautostart.sh"
+                   file://89xdgautostart.sh \
+                   file://Xserver-virtex.patch"
 
 SRC_URI_append_angstrom = " file://xtscal-fix.patch "
 RDEPENDS_${PN}_append_angstrom = " tslib-calibrate "