xserver-common: use Xw100 if available
authorPhilipp Zabel <philipp.zabel@gmail.com>
Sat, 2 Sep 2006 12:14:36 +0000 (12:14 +0000)
committerPhilipp Zabel <philipp.zabel@gmail.com>
Sat, 2 Sep 2006 12:14:36 +0000 (12:14 +0000)
packages/xserver-common/files/w100.patch [new file with mode: 0644]
packages/xserver-common/xserver-common_1.10.bb

diff --git a/packages/xserver-common/files/w100.patch b/packages/xserver-common/files/w100.patch
new file mode 100644 (file)
index 0000000..ca90885
--- /dev/null
@@ -0,0 +1,12 @@
+--- xserver-common-1.10/X11/Xserver.orig       2006-09-02 13:54:30.000000000 +0200
++++ xserver-common-1.10/X11/Xserver    2006-09-02 14:00:22.000000000 +0200
+@@ -14,6 +14,9 @@
+ if [ -f /usr/bin/Xomap ]; then
+   XSERVER=Xomap
+ fi
++if [ -f /usr/bin/Xw100 ]; then
++  XSERVER=Xw100
++fi
+ . /etc/profile
index de81537..64c223f 100644 (file)
@@ -3,7 +3,7 @@ DESCRIPTION = "Common X11 scripts and support files"
 LICENSE = "GPL"
 SECTION = "x11"
 RDEPENDS_${PN} = "xmodmap xrandr xdpyinfo xtscal"
-PR = "r1"
+PR = "r2"
 
 PACKAGE_ARCH = "all"
 
@@ -12,6 +12,7 @@ inherit gpe
 
 SRC_URI_append = " file://setDPI.sh \
                   file://calibrate_zaurusd.patch;patch=1 \
+                  file://w100.patch;patch=1 \
                   file://poodle-xmodmap-2.6.patch;patch=1"
 
 do_install_append() {