aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/ibus
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2011-06-29 01:15:38 +0800
committerdelphij <delphij@FreeBSD.org>2011-06-29 01:15:38 +0800
commitebcf83919eff7d112bdff1e9d6e0d67eb998f19b (patch)
treeb5c7dd3709ca479855517455acca2ec7256481fc /textproc/ibus
parent0846c4752c386cd88fe29de3750b92065a16ae21 (diff)
downloadfreebsd-ports-gnome-ebcf83919eff7d112bdff1e9d6e0d67eb998f19b.tar.gz
freebsd-ports-gnome-ebcf83919eff7d112bdff1e9d6e0d67eb998f19b.tar.zst
freebsd-ports-gnome-ebcf83919eff7d112bdff1e9d6e0d67eb998f19b.zip
Add a workaround for a few keys to make them match with the FreeBSD keymap.
Submitted by: Kuan-Chung Chiu <buganini@gmail.com> PR: ports/157914 Approved by: maintainer
Diffstat (limited to 'textproc/ibus')
-rw-r--r--textproc/ibus/Makefile1
-rw-r--r--textproc/ibus/files/patch-data-keymaps-common28
2 files changed, 29 insertions, 0 deletions
diff --git a/textproc/ibus/Makefile b/textproc/ibus/Makefile
index 81143b4fa3a9..36146f83dc1c 100644
--- a/textproc/ibus/Makefile
+++ b/textproc/ibus/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ibus
PORTVERSION= 1.3.9
+PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
diff --git a/textproc/ibus/files/patch-data-keymaps-common b/textproc/ibus/files/patch-data-keymaps-common
new file mode 100644
index 000000000000..a927b8b05734
--- /dev/null
+++ b/textproc/ibus/files/patch-data-keymaps-common
@@ -0,0 +1,28 @@
+--- data/keymaps/common.orig 2010-10-20 19:27:43.000000000 +0800
++++ data/keymaps/common 2011-06-16 05:39:55.000000000 +0800
+@@ -85,14 +85,14 @@
+ shift altgr keycode 86 = brokenbar
+ keycode 87 = F11
+ keycode 88 = F12
+-keycode 98 = KP_Divide
+-keycode 102 = Home
+-keycode 103 = Up
+-keycode 104 = Page_Up
+-keycode 105 = Left
+-keycode 106 = Right
+-keycode 107 = End
+-keycode 108 = Down
+-keycode 109 = Page_Down
+-keycode 110 = Insert
+-keycode 111 = Delete
++keycode 89 = Home
++keycode 90 = Up
++keycode 91 = Page_Up
++keycode 92 = Left
++keycode 94 = Right
++keycode 95 = End
++keycode 96 = Down
++keycode 97 = Page_Down
++keycode 98 = Insert
++keycode 99 = Delete
++keycode 104 = KP_Divide