xserver-common 1.18: Unreak Simpad power button handling.
authorPaul Sokolovsky <pmiscml@gmail.com>
Sat, 22 Dec 2007 13:14:45 +0000 (13:14 +0000)
committerPaul Sokolovsky <pmiscml@gmail.com>
Sat, 22 Dec 2007 13:14:45 +0000 (13:14 +0000)
* Should fix #2598.

packages/xserver-common/files/unbreak-simpad.patch [new file with mode: 0644]
packages/xserver-common/xserver-common_1.18.bb

diff --git a/packages/xserver-common/files/unbreak-simpad.patch b/packages/xserver-common/files/unbreak-simpad.patch
new file mode 100644 (file)
index 0000000..7f557c3
--- /dev/null
@@ -0,0 +1,18 @@
+--- xserver-common-1.18/X11/Xinit.d/12keymap.org       2007-08-24 14:14:31.000000000 +0300
++++ xserver-common-1.18/X11/Xinit.d/12keymap   2007-12-22 15:06:52.000000000 +0200
+@@ -15,14 +15,11 @@
+         "Sharp-Collie")
+                 xmodmap - < /etc/X11/collie.xmodmap
+                 ;;
+-      "Simpad")
+-              xmodmap - < /etc/X11/simpad.xmodmap
+-              ;;
+       "HP iPAQ h6300")
+               xmodmap - < /etc/X11/h6300.xmodmap
+               ;;
+       # All the rest of keyboardless PDA machines use common buttonmap
+-      "HP iPAQ"* | "Asus MyPal"*)
++      "Simpad" | "HP iPAQ"* | "Asus MyPal"*)
+               xmodmap - < /etc/X11/keyboardless.xmodmap
+               ;;
+ esac
index a30a37c..bf7b049 100644 (file)
@@ -2,14 +2,14 @@ DESCRIPTION = "Common X11 scripts and support files"
 LICENSE = "GPL"
 SECTION = "x11"
 RDEPENDS_${PN} = "xmodmap xrandr xdpyinfo"
-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://unbreak-simpad.patch;patch=1 file://setDPI.sh "
 
 do_install_append() {
        install -m 0755 "${WORKDIR}/setDPI.sh" "${D}/etc/X11/Xinit.d/50setdpi"