xserver-common_1.13.bb : add Ximageon support
authorGraeme Gregory <dp@xora.org.uk>
Sun, 7 Jan 2007 22:27:20 +0000 (22:27 +0000)
committerGraeme Gregory <dp@xora.org.uk>
Sun, 7 Jan 2007 22:27:20 +0000 (22:27 +0000)
packages/xserver-common/files/xserver-imageon.patch [new file with mode: 0644]
packages/xserver-common/xserver-common_1.13.bb

diff --git a/packages/xserver-common/files/xserver-imageon.patch b/packages/xserver-common/files/xserver-imageon.patch
new file mode 100644 (file)
index 0000000..6a0447a
--- /dev/null
@@ -0,0 +1,14 @@
+Index: xserver-common-1.13/X11/Xserver
+===================================================================
+--- xserver-common-1.13.orig/X11/Xserver
++++ xserver-common-1.13/X11/Xserver
+@@ -17,6 +17,9 @@ fi
+ if [ -f /usr/bin/Xw100 ]; then
+   XSERVER=Xw100
+ fi
++if [ -f /usr/bin/Ximageon ]; then
++  XSERVER=Ximageon
++fi
+ . /etc/profile
index d14cad7..b051b5a 100644 (file)
@@ -2,14 +2,15 @@ DESCRIPTION = "Common X11 scripts and support files"
 LICENSE = "GPL"
 SECTION = "x11"
 RDEPENDS_${PN} = "xmodmap xrandr xdpyinfo xtscal"
-PR = "r0"
+PR = "r1"
 
 PACKAGE_ARCH = "all"
 
 # we are using a gpe-style Makefile
 inherit gpe
 
-SRC_URI_append = " file://setDPI.sh"
+SRC_URI_append = " file://setDPI.sh \
+                   file://xserver-imageon.patch;patch=1"
 
 do_install_append() {
        install -m 0755 "${WORKDIR}/setDPI.sh" "${D}/etc/X11/Xinit.d/50setdpi"