xkeyboard-config: fix abnt2 keycodes (when using evdev)
authorOtavio Salvador <otavio@ossystems.com.br>
Fri, 19 Dec 2008 19:52:29 +0000 (17:52 -0200)
committerOtavio Salvador <otavio@ossystems.com.br>
Fri, 19 Dec 2008 19:52:29 +0000 (17:52 -0200)
This patch has been taken from GIT and will be included in 1.5.

packages/xkeyboard-config/files/abnt2-fixes.patch [new file with mode: 0644]
packages/xkeyboard-config/xkeyboard-config_1.4.bb

diff --git a/packages/xkeyboard-config/files/abnt2-fixes.patch b/packages/xkeyboard-config/files/abnt2-fixes.patch
new file mode 100644 (file)
index 0000000..eb4c3e3
--- /dev/null
@@ -0,0 +1,10 @@
+--- a/keycodes/evdev
++++ b/keycodes/evdev
+@@ -311,6 +311,7 @@ xkb_keycodes "jp106" {
+ // For brazilian ABNT2 keyboard.
+ xkb_keycodes "abnt2" {
+     include "evdev(evdev)"
++    <KPPT> = 129;
+ };
+ // PC98
index cb448be..58bb811 100644 (file)
@@ -2,9 +2,10 @@ DESCRIPTION = "Common X11 Keyboard layouts"
 LICENSE = "MIT"
 DEPENDS = "intltool xkbcomp-native"
 RDEPENDS = "xkbcomp"
-PR = "r2"
+PR = "r3"
 
-SRC_URI = "http://xlibs.freedesktop.org/xkbdesc/xkeyboard-config-${PV}.tar.bz2"
+SRC_URI = "http://xlibs.freedesktop.org/xkbdesc/xkeyboard-config-${PV}.tar.bz2 \
+           file://abnt2-fixes.patch;patch=1"
 
 inherit autotools