diff options
author | Frederic Culot <culot@FreeBSD.org> | 2014-03-11 21:24:59 +0000 |
---|---|---|
committer | Frederic Culot <culot@FreeBSD.org> | 2014-03-11 21:24:59 +0000 |
commit | 9cf06649a71dab66be575e5c851a59930b2b466f (patch) | |
tree | ce4fb2d5be71242c1d75f1a8695a60b653e59a16 /textproc | |
parent | cf7b71001ee25acffd8f43ece7b066e0afb2b049 (diff) | |
download | ports-9cf06649a71dab66be575e5c851a59930b2b466f.tar.gz ports-9cf06649a71dab66be575e5c851a59930b2b466f.zip |
Notes
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/ibus/Makefile | 1 | ||||
-rw-r--r-- | textproc/ibus/files/extra-xigrabkeycode | 29 | ||||
-rw-r--r-- | textproc/ibus/files/ibus.desktop | 13 |
3 files changed, 43 insertions, 0 deletions
diff --git a/textproc/ibus/Makefile b/textproc/ibus/Makefile index 4cdbe262cbbd..0ea6cb67d845 100644 --- a/textproc/ibus/Makefile +++ b/textproc/ibus/Makefile @@ -3,6 +3,7 @@ PORTNAME= ibus PORTVERSION= 1.5.5 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} diff --git a/textproc/ibus/files/extra-xigrabkeycode b/textproc/ibus/files/extra-xigrabkeycode new file mode 100644 index 000000000000..ed0d9723e595 --- /dev/null +++ b/textproc/ibus/files/extra-xigrabkeycode @@ -0,0 +1,29 @@ +--- ui/gtk3/keybindingmanager.vala.orig 2014-02-03 14:11:48.000000000 -0500 ++++ ui/gtk3/keybindingmanager.vala 2014-02-03 14:12:18.000000000 -0500 +@@ -35,6 +35,8 @@ + Gdk.ModifierType.HYPER_MASK | + Gdk.ModifierType.META_MASK); + ++ public static const int META_CORE_KEYBOARD_ID = 3; ++ + /** + * Helper class to store keybinding + */ +@@ -254,7 +256,7 @@ + XI.set_mask(evmask.mask, XI.EventType.KeyRelease); + + int retval = XI.grab_keycode (xdisplay, +- XI.AllMasterDevices, ++ META_CORE_KEYBOARD_ID, + keycode, + xdisplay.default_root_window(), + X.GrabMode.Async, +@@ -275,7 +277,7 @@ + } + + int retval = XI.ungrab_keycode (xdisplay, +- XI.AllMasterDevices, ++ META_CORE_KEYBOARD_ID, + keycode, + xdisplay.default_root_window(), + get_grab_modifiers(modifiers)); diff --git a/textproc/ibus/files/ibus.desktop b/textproc/ibus/files/ibus.desktop new file mode 100644 index 000000000000..99c049f2272f --- /dev/null +++ b/textproc/ibus/files/ibus.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Name=IBus +GenericName=Input Method Framework +Comment=Start IBus Input Method Framework +Exec=ibus-daemon --xim +Icon=ibus +Terminal=false +Type=Application +Categories=System;Utility; +X-GNOME-Autostart-Phase=Applications +X-GNOME-AutoRestart=false +X-GNOME-Autostart-Notify=true +X-KDE-autostart-after=panel |