summaryrefslogtreecommitdiff
path: root/packages/xkeyboard-config
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2008-12-19 17:52:29 -0200
committerOtavio Salvador <otavio@ossystems.com.br>2008-12-19 17:52:29 -0200
commit2fe38e26dd4dc4b0cea235057a28b1af3b290181 (patch)
treeb541e3d1de1577bb85d5448ef5cc5e7b786d7314 /packages/xkeyboard-config
parentf34c7b61887189772f5cea2f6103c091e09e43c0 (diff)
xkeyboard-config: fix abnt2 keycodes (when using evdev)
This patch has been taken from GIT and will be included in 1.5.
Diffstat (limited to 'packages/xkeyboard-config')
-rw-r--r--packages/xkeyboard-config/files/abnt2-fixes.patch10
-rw-r--r--packages/xkeyboard-config/xkeyboard-config_1.4.bb5
2 files changed, 13 insertions, 2 deletions
diff --git a/packages/xkeyboard-config/files/abnt2-fixes.patch b/packages/xkeyboard-config/files/abnt2-fixes.patch
new file mode 100644
index 0000000000..eb4c3e37f1
--- /dev/null
+++ b/packages/xkeyboard-config/files/abnt2-fixes.patch
@@ -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
diff --git a/packages/xkeyboard-config/xkeyboard-config_1.4.bb b/packages/xkeyboard-config/xkeyboard-config_1.4.bb
index cb448be243..58bb811177 100644
--- a/packages/xkeyboard-config/xkeyboard-config_1.4.bb
+++ b/packages/xkeyboard-config/xkeyboard-config_1.4.bb
@@ -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