xserver-common: Poodle: Add xmodmap for kernel 2.6, untested in .dev
authorMatthias Hentges <oe@hentges.net>
Thu, 18 May 2006 11:52:09 +0000 (11:52 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Thu, 18 May 2006 11:52:09 +0000 (11:52 +0000)
packages/xserver-common/files/poodle-xmodmap-2.6.patch [new file with mode: 0644]
packages/xserver-common/xserver-common_1.9.bb

diff --git a/packages/xserver-common/files/poodle-xmodmap-2.6.patch b/packages/xserver-common/files/poodle-xmodmap-2.6.patch
new file mode 100644 (file)
index 0000000..73cf3f6
--- /dev/null
@@ -0,0 +1,42 @@
+diff -Nur xserver-common-1.8.orig/X11/Xinit.d/12keymap xserver-common-1.8/X11/Xinit.d/12keymap
+--- xserver-common-1.8.orig/X11/Xinit.d/12keymap       2006-05-17 12:02:52.645201000 +0200
++++ xserver-common-1.8/X11/Xinit.d/12keymap    2006-05-17 12:03:49.401573648 +0200
+@@ -9,6 +9,9 @@
+       "SHARP Akita" | "SHARP Borzoi" | "SHARP Spitz")
+               xmodmap - < /etc/X11/slcXXXX.xmodmap
+               ;;                              
++      "SHARP Poodle")
++              xmodmap - < /etc/X11/poodle.xmodmap
++              ;;
+         "Sharp-Collie")
+                 xmodmap - < /etc/X11/collie.xmodmap
+                 ;;
+diff -Nur xserver-common-1.8.orig/X11/poodle.xmodmap xserver-common-1.8/X11/poodle.xmodmap
+--- xserver-common-1.8.orig/X11/poodle.xmodmap 1970-01-01 01:00:00.000000000 +0100
++++ xserver-common-1.8/X11/poodle.xmodmap      2006-05-18 13:42:45.711264920 +0200
+@@ -0,0 +1,25 @@
++keycode 37 = Control_L
++keycode 64 = Alt_L
++
++
++keycode 50 = Shift_L
++keycode 62 = Shift_R
++keycode 75 = Mode_switch
++
++
++
++clear control
++clear shift
++clear lock
++clear mod4
++clear mod1
++
++add control = Control_L
++add shift = Shift_L Shift_R
++add lock = Caps_Lock
++
++! This is AltGr
++add mod4 = Mode_switch
++
++add mod1 = Alt_L
++
index dd4e36b..de81537 100644 (file)
@@ -3,7 +3,7 @@ DESCRIPTION = "Common X11 scripts and support files"
 LICENSE = "GPL"
 SECTION = "x11"
 RDEPENDS_${PN} = "xmodmap xrandr xdpyinfo xtscal"
-PR = "r0"
+PR = "r1"
 
 PACKAGE_ARCH = "all"
 
@@ -11,7 +11,8 @@ PACKAGE_ARCH = "all"
 inherit gpe
 
 SRC_URI_append = " file://setDPI.sh \
-                  file://calibrate_zaurusd.patch;patch=1"
+                  file://calibrate_zaurusd.patch;patch=1 \
+                  file://poodle-xmodmap-2.6.patch;patch=1"
 
 do_install_append() {
        install -m 0755 "${WORKDIR}/setDPI.sh" "${D}/etc/X11/Xinit.d/50setdpi"