[oe-commits] Otavio Salvador : xkeyboard-config: fix abnt2 keycodes (when using evdev)

GIT User account git at amethyst.openembedded.net
Fri Dec 19 20:00:02 UTC 2008


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 2fe38e26dd4dc4b0cea235057a28b1af3b290181
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=2fe38e26dd4dc4b0cea235057a28b1af3b290181

Author: Otavio Salvador <otavio at ossystems.com.br>
Date:   Fri Dec 19 17:52:29 2008 -0200

xkeyboard-config: fix abnt2 keycodes (when using evdev)

This patch has been taken from GIT and will be included in 1.5.

---

 packages/xkeyboard-config/files/abnt2-fixes.patch |   10 ++++++++++
 packages/xkeyboard-config/xkeyboard-config_1.4.bb |    5 +++--
 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 0000000..eb4c3e3
--- /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 cb448be..58bb811 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
 





More information about the Openembedded-commits mailing list