pkgsrc/inputmethod/ibus/Makefile

82 lines
3 KiB
Makefile
Raw Normal View History

ibus, ibus-python: update to 1.5.19. pkgsrc changes: - pull upstream fixes for issue #2035 (check wayland during configure) - explicitly require cldr-emoji-annotation 33.1.0.0 or higher to sync emoji dict files in ibus/PLIST Upstream changes (from https://github.com/ibus/ibus/releases): 1.5.19 This release moves typing emoji annotation on the emoji dialog to the pre-edit on each application and also isolates Ctrl-Shift-u from Ctrl-Shift-e again upon the several requests. The shortcut keys can be customized with ibus-setup utility. Also pre-edit of compose keys are now enabled. Also IBUS_DISCARD_PASSWORD environment variable is now available as the workaround of password popup in firefox and chrome. env IBUS_DISCARD_PASSWORD=1 firefox or export IBUS_DISCARD_PASSWORD_APPS='firefox,.*chrome.*' can discard typing characters on the password entries. Emoji features: Move input focus on Emojier to engines' preedit 5ee3f48 ui/gtk3: Show previous emojis with "history" annotation dc5e7ee ui/gtk3: Add num pad Enter, Down, Up, Left, Right on Emojier c6439d7 ui/gtk3: Get PangoAttrList of auxiliary text from IBusText a1f91b2 up/gtk3: Emoji misc updats 3280848 d8f901f cf4e2f1 7cef5bf caffeae src: Fix SEGV in IBusEngine if no emoji shortcut keys 886ad36 Compose key features: ibusenginesimple: Enable preedit for compose keys f9e3035 3a68ded Test cases: src: Add ibus-keypress test case 196216a tests: Added an automation testing on console 32f2f2b configure: Add --disable-python2 option 8d4c473 tools: Add ibus read-config --engine-id option for engine schemas ddc2284 data/dconf: Add man pages of 00-upstream-settings(5) and ibus(5) 5f44e73 Bug fixes: client/gtk2: Add IBUS_DISCARD_PASSWORD for firefox and chrome f328fd6 Fix build errors 75a6667 68e162a b184861 c360cbd 68bd269 7bc160f 10cc30e 37aa95f 8d302c8 428e64e 2695708 5db6e7b b94e8f2 8ab0b60 Fix ucd directory override (Jeremy Bicha) 5788be8 src: Make the call to chmod in ibus_bus_init conditional (Olivier Tilloy) 28d0c1d Remove a misleading "const" modifier of a return value (Takuro Ashie) 6b47e41 bus: warn deprecated --mem-profile option (Kentaro Hayashi) 0dde239 option --monitor-timeout should be removed (Ryutaroh Matsumoto) be7554c New release: Update translations c8a9994 999aee3 Release 1.5.19 fd9d4a9
2018-08-12 12:45:03 +02:00
# $NetBSD: Makefile,v 1.57 2018/08/12 10:45:03 tsutsui Exp $
.include "Makefile.common"
COMMENT= Intelligent Input Bus
2013-12-08 08:34:21 +01:00
DEPENDS+= ${PYPKGPREFIX}-gobject3-[0-9]*:../../devel/py-gobject3
ibus, ibus-python: update to 1.5.19. pkgsrc changes: - pull upstream fixes for issue #2035 (check wayland during configure) - explicitly require cldr-emoji-annotation 33.1.0.0 or higher to sync emoji dict files in ibus/PLIST Upstream changes (from https://github.com/ibus/ibus/releases): 1.5.19 This release moves typing emoji annotation on the emoji dialog to the pre-edit on each application and also isolates Ctrl-Shift-u from Ctrl-Shift-e again upon the several requests. The shortcut keys can be customized with ibus-setup utility. Also pre-edit of compose keys are now enabled. Also IBUS_DISCARD_PASSWORD environment variable is now available as the workaround of password popup in firefox and chrome. env IBUS_DISCARD_PASSWORD=1 firefox or export IBUS_DISCARD_PASSWORD_APPS='firefox,.*chrome.*' can discard typing characters on the password entries. Emoji features: Move input focus on Emojier to engines' preedit 5ee3f48 ui/gtk3: Show previous emojis with "history" annotation dc5e7ee ui/gtk3: Add num pad Enter, Down, Up, Left, Right on Emojier c6439d7 ui/gtk3: Get PangoAttrList of auxiliary text from IBusText a1f91b2 up/gtk3: Emoji misc updats 3280848 d8f901f cf4e2f1 7cef5bf caffeae src: Fix SEGV in IBusEngine if no emoji shortcut keys 886ad36 Compose key features: ibusenginesimple: Enable preedit for compose keys f9e3035 3a68ded Test cases: src: Add ibus-keypress test case 196216a tests: Added an automation testing on console 32f2f2b configure: Add --disable-python2 option 8d4c473 tools: Add ibus read-config --engine-id option for engine schemas ddc2284 data/dconf: Add man pages of 00-upstream-settings(5) and ibus(5) 5f44e73 Bug fixes: client/gtk2: Add IBUS_DISCARD_PASSWORD for firefox and chrome f328fd6 Fix build errors 75a6667 68e162a b184861 c360cbd 68bd269 7bc160f 10cc30e 37aa95f 8d302c8 428e64e 2695708 5db6e7b b94e8f2 8ab0b60 Fix ucd directory override (Jeremy Bicha) 5788be8 src: Make the call to chmod in ibus_bus_init conditional (Olivier Tilloy) 28d0c1d Remove a misleading "const" modifier of a return value (Takuro Ashie) 6b47e41 bus: warn deprecated --mem-profile option (Kentaro Hayashi) 0dde239 option --monitor-timeout should be removed (Ryutaroh Matsumoto) be7554c New release: Update translations c8a9994 999aee3 Release 1.5.19 fd9d4a9
2018-08-12 12:45:03 +02:00
BUILD_DEPENDS+= cldr-emoji-annotation>=33.1.0.0:../../textproc/cldr-emoji-annotation
BUILD_DEPENDS+= unicode-character-database-[0-9]*:../../textproc/unicode-character-database
ibus, ibus-python: update to 1.5.17. PR pkg/52694 pkgsrc changes: * handle emoji-dict support in CONFIGURE_ARGS * de-fuzz patches Upstream changes (from https://github.com/ibus/ibus/releases): 1.5.17 * ui/gtk3: Emojier supports Ctrl-c,v,x and Ctrl-Shift-c 081d09f * Make all emoji dicts for fully qualified ad80999 * ui/gtk3: Fix SEGV of Emojier on de_DE.UTF-8 bc0f913 * ui/gtk3: Do not activate emoji cells on mouse until mouse moves 98f70ee * ui/gtk3: Fix SEGV of XKeysymToKeycode() on Wayland 91bebf0 * client/gtk2: include the scaling factor in Wayland (Xiang Fan) 6a3301d * Implement ibus portal (Alexander Larsson) 203a3df 35ce624 9772e80 9937a0e 3e01bab * ui/gtk3: Switcher should ignore mouse until it moves d788918 * client/gtk2: Do not send key events to GtkIMContextSimple bbfb3d7 d784e04 * ui/gtk3: Fix PropertyPanel position in workarea 0632cbb * ui/gtk3: Fix to enable menu button on PropertyPanel 4a54163 * ui/gtk3: Increase timeout of window filter in PropertyPanel 53d1f9e * ui/gtk3: Unset GDK_CORE_DEVICE_EVENTS d37c8bb * ui/gtk3: Unref Panel and Indicator when double panels run dfe21a2 * Fix a typo in configure.ac (Felix Yan) e6bab7a * Typo fix (Mario Bodemann) c1b93f9 * Fix build issues 4fe3050 21bac47 79aebc5 * engine: Add Malay and Mongolian keymaps 44d0535 * Update translations 8cb149b 56b5126 1.5.16 * Implement shortcut keys on emoji dialog 58f6140 * Move language setting from IBusEmojier to ibus-setup 0efb1c5 * Works ibus emoji command for Wayland (Peng Wu) 648f58a 2f8982a da33672 290f786 aba81ac 61fa8ea * Enable to type multiple code points on Emojier 8b6f9fa * Emoji misc enhancements. 9dbea34 31ed31e c580845 fbe3de1 50e344a cb0a36c 4b8d7ba edcb4a0 1159093 0836c3f 086fc54 * Change emoji modal dialog to focused dialog c6cdf21 * Change to use Unicode Emoji files instead of EmojiOne files 2f73064 * Add ibus-emoji man mapge 5f653d3 f6c2e2d * Make more readable error messages if emoji xml files are missed bd7e0ba 1643007 * Fix IBusEmojiDialog_1_0_gir_LIBS for --as-needed LDFLAGS c3168d4 * bus: Add error messages for g_dbus_server_new_sync 4e02857 * tools: Fix ibus emoji SEGV when language is changed. 7e477d5 * client/x11: Add XSetIOErrorHandler() for GNOME3 desktop ab6c38c * Update translations 21e6c00 * Release 1.5.16 ccc602d You can get Unicode emoji files from http://www.unicode.org/Public/emoji/4.0/ or Fedora provides unicode-emoji package. The version 4.0 is recommended since 5.0 is not released officially yet. You can get emoji annotation files from https://github.com/fujiwarat/ cldr-emoji-annotation or Fedora provides cldr-emoji-annotation package. 1.5.15 * Fix GVariant leaks (Eric R. Schulz) 997e5cb * ui/gtk3: Fix radio buttons on Property Panel ceb6a9b * Update translations 708e5e5 * Fix warning messages during panel resizes af66ace * src: Hide lookup table if emoji annotation does not hit e795eda * src: Enable to type digit to commit emoji on lookup window 4d86e59 * src: Enable PageUp, PageDown, CandidateClick buttons with emoji lookup faf5e3c * ui/gtk3: support scroll event in candidates panel (Peng Wu) 52b7272 * src: Avoid emoji typing during Unicode typing f80dcc9 * ui/gtk3: Fix panel CSS format for GTK 3.22 aacf5ad * util/IMdkit: Fix the range of memset() in i18nIc.c 371535b * ui/gtk3: Refactor color of a selected candidate on lookup window bdc83bc * ui/gtk3: Free normal_color in CandidateArea b8f5553 * ui/gtk3: Refactor to set panel icon b498ff5 * ui/gtk3: Fix typo in switcher.get_input_context_path() fcb90f7 * bus: fix service file when --disable-xim is specified (Marc-Antoine Perennou) 993289f * Fix memory leak in IBus.Bus.get_global_engine() (Eric R. Schulz) 0a24481 * Move emoji implementation from IBusEngineSimple to IBusPanel 02d99aa * setup: Set emoji preview text on font setting 13bf503 * Add 'ibus emoji' command for no ibus panel desktops c37989a * Release 1.5.15 f7f3bc8 * Fix a build failure with --disable-emoji-dict 641c3cb You can get emoji.json with npm install -g emojione or Fedora provides nodejs-emojione-json package. You can get emoji annotation files from https://github.com/fujiwarat/ cldr-emoji-annotation or Fedora provides cldr-emoji-annotation package. 1.5.14 * Don't warn if DISPLAY is not set (Matthias Clasen) 0432aa6 * Install a DBus service file (Rui Matos) 84c18f1 * configure: don't hardcode pkg-config (Marc-Antoine Perennou) b210c0d * conf/gconf: Fix SEGV in ibus_config_gconf_get_values a186059 * client/gtk2: Fix SEGV with Wayland display 3ef21fe * ui/gtk3: Fix panel CSS format for GTK 3.20 a598ae2 * engine: Implement Emoji typing with XKB engines 160d3c9 * engine: Add emoji-list.html 0ed644c * engine: Use annotations/en.xml from unocode.org but not emoji-list.html 0ee1896 * Fix typo in configure.ac f88c487 * tests/ibus-engine-switch: Don't try to remove non-existing GSource 20068d9 * Fix make dist eee7a13 * Fix Croatian language code in simple.xml 028624f * Replace deprecated GSimpleAsyncResult with GTask since GLib 2.46 239d363 You can get emoji.json with npm install -g emojione or Fedora provides nodejs-emojione-json package.
2017-11-05 05:19:15 +01:00
BUILD_DEPENDS+= unicode-emoji-[0-9]*:../../textproc/unicode-emoji
2013-12-08 08:34:21 +01:00
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
2018-05-25 18:41:58 +02:00
# XXX fails without GNU msgfmt
_TOOLS_USE_PKGSRC.msgfmt= yes
2018-05-16 12:28:53 +02:00
USE_TOOLS+= pkg-config intltool gmsgfmt gmake msgmerge
USE_LANGUAGES= c c++
USE_PKGLOCALEDIR= yes
GCONF_SCHEMAS+= ibus.schemas
PKGCONFIG_OVERRIDE+= ibus-1.0.pc.in
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASEDIR}
2010-09-04 07:04:57 +02:00
CONFIGURE_ARGS+= --localedir=${PREFIX}/${PKGLOCALEDIR}/locale
CONFIGURE_ARGS+= --enable-dconf
CONFIGURE_ARGS+= --enable-gconf
CONFIGURE_ARGS+= --enable-gtk2
CONFIGURE_ARGS+= --enable-gtk3
CONFIGURE_ARGS+= --enable-surrounding-text
CONFIGURE_ARGS+= --enable-introspection=yes
CONFIGURE_ARGS+= --with-python=${PYTHONBIN}
ibus, ibus-python: update to 1.5.17. PR pkg/52694 pkgsrc changes: * handle emoji-dict support in CONFIGURE_ARGS * de-fuzz patches Upstream changes (from https://github.com/ibus/ibus/releases): 1.5.17 * ui/gtk3: Emojier supports Ctrl-c,v,x and Ctrl-Shift-c 081d09f * Make all emoji dicts for fully qualified ad80999 * ui/gtk3: Fix SEGV of Emojier on de_DE.UTF-8 bc0f913 * ui/gtk3: Do not activate emoji cells on mouse until mouse moves 98f70ee * ui/gtk3: Fix SEGV of XKeysymToKeycode() on Wayland 91bebf0 * client/gtk2: include the scaling factor in Wayland (Xiang Fan) 6a3301d * Implement ibus portal (Alexander Larsson) 203a3df 35ce624 9772e80 9937a0e 3e01bab * ui/gtk3: Switcher should ignore mouse until it moves d788918 * client/gtk2: Do not send key events to GtkIMContextSimple bbfb3d7 d784e04 * ui/gtk3: Fix PropertyPanel position in workarea 0632cbb * ui/gtk3: Fix to enable menu button on PropertyPanel 4a54163 * ui/gtk3: Increase timeout of window filter in PropertyPanel 53d1f9e * ui/gtk3: Unset GDK_CORE_DEVICE_EVENTS d37c8bb * ui/gtk3: Unref Panel and Indicator when double panels run dfe21a2 * Fix a typo in configure.ac (Felix Yan) e6bab7a * Typo fix (Mario Bodemann) c1b93f9 * Fix build issues 4fe3050 21bac47 79aebc5 * engine: Add Malay and Mongolian keymaps 44d0535 * Update translations 8cb149b 56b5126 1.5.16 * Implement shortcut keys on emoji dialog 58f6140 * Move language setting from IBusEmojier to ibus-setup 0efb1c5 * Works ibus emoji command for Wayland (Peng Wu) 648f58a 2f8982a da33672 290f786 aba81ac 61fa8ea * Enable to type multiple code points on Emojier 8b6f9fa * Emoji misc enhancements. 9dbea34 31ed31e c580845 fbe3de1 50e344a cb0a36c 4b8d7ba edcb4a0 1159093 0836c3f 086fc54 * Change emoji modal dialog to focused dialog c6cdf21 * Change to use Unicode Emoji files instead of EmojiOne files 2f73064 * Add ibus-emoji man mapge 5f653d3 f6c2e2d * Make more readable error messages if emoji xml files are missed bd7e0ba 1643007 * Fix IBusEmojiDialog_1_0_gir_LIBS for --as-needed LDFLAGS c3168d4 * bus: Add error messages for g_dbus_server_new_sync 4e02857 * tools: Fix ibus emoji SEGV when language is changed. 7e477d5 * client/x11: Add XSetIOErrorHandler() for GNOME3 desktop ab6c38c * Update translations 21e6c00 * Release 1.5.16 ccc602d You can get Unicode emoji files from http://www.unicode.org/Public/emoji/4.0/ or Fedora provides unicode-emoji package. The version 4.0 is recommended since 5.0 is not released officially yet. You can get emoji annotation files from https://github.com/fujiwarat/ cldr-emoji-annotation or Fedora provides cldr-emoji-annotation package. 1.5.15 * Fix GVariant leaks (Eric R. Schulz) 997e5cb * ui/gtk3: Fix radio buttons on Property Panel ceb6a9b * Update translations 708e5e5 * Fix warning messages during panel resizes af66ace * src: Hide lookup table if emoji annotation does not hit e795eda * src: Enable to type digit to commit emoji on lookup window 4d86e59 * src: Enable PageUp, PageDown, CandidateClick buttons with emoji lookup faf5e3c * ui/gtk3: support scroll event in candidates panel (Peng Wu) 52b7272 * src: Avoid emoji typing during Unicode typing f80dcc9 * ui/gtk3: Fix panel CSS format for GTK 3.22 aacf5ad * util/IMdkit: Fix the range of memset() in i18nIc.c 371535b * ui/gtk3: Refactor color of a selected candidate on lookup window bdc83bc * ui/gtk3: Free normal_color in CandidateArea b8f5553 * ui/gtk3: Refactor to set panel icon b498ff5 * ui/gtk3: Fix typo in switcher.get_input_context_path() fcb90f7 * bus: fix service file when --disable-xim is specified (Marc-Antoine Perennou) 993289f * Fix memory leak in IBus.Bus.get_global_engine() (Eric R. Schulz) 0a24481 * Move emoji implementation from IBusEngineSimple to IBusPanel 02d99aa * setup: Set emoji preview text on font setting 13bf503 * Add 'ibus emoji' command for no ibus panel desktops c37989a * Release 1.5.15 f7f3bc8 * Fix a build failure with --disable-emoji-dict 641c3cb You can get emoji.json with npm install -g emojione or Fedora provides nodejs-emojione-json package. You can get emoji annotation files from https://github.com/fujiwarat/ cldr-emoji-annotation or Fedora provides cldr-emoji-annotation package. 1.5.14 * Don't warn if DISPLAY is not set (Matthias Clasen) 0432aa6 * Install a DBus service file (Rui Matos) 84c18f1 * configure: don't hardcode pkg-config (Marc-Antoine Perennou) b210c0d * conf/gconf: Fix SEGV in ibus_config_gconf_get_values a186059 * client/gtk2: Fix SEGV with Wayland display 3ef21fe * ui/gtk3: Fix panel CSS format for GTK 3.20 a598ae2 * engine: Implement Emoji typing with XKB engines 160d3c9 * engine: Add emoji-list.html 0ed644c * engine: Use annotations/en.xml from unocode.org but not emoji-list.html 0ee1896 * Fix typo in configure.ac f88c487 * tests/ibus-engine-switch: Don't try to remove non-existing GSource 20068d9 * Fix make dist eee7a13 * Fix Croatian language code in simple.xml 028624f * Replace deprecated GSimpleAsyncResult with GTask since GLib 2.46 239d363 You can get emoji.json with npm install -g emojione or Fedora provides nodejs-emojione-json package.
2017-11-05 05:19:15 +01:00
CONFIGURE_ARGS+= --with-unicode-emoji-dir=${PREFIX}/share/unicode/emoji
CONFIGURE_ARGS+= --with-emoji-annotation-dir=${PREFIX}/share/unicode/cldr/common/annotations
CONFIGURE_ARGS+= --with-ucd-dir=${PREFIX}/share/unicode/ucd
SUBST_CLASSES+= dbus
SUBST_STAGE.dbus= post-configure
SUBST_FILES.dbus= src/ibusshare.c
SUBST_SED.dbus= -e 's,/var/lib/dbus/machine-id,${VARBASE}/db/dbus/machine-id,g'
BUILD_DEFS+= PKG_SYSCONFBASE VARBASE
MANCOMPRESSED= yes
INSTALL_MAKE_FLAGS+= sysconfdir=${PREFIX}/share/examples/ibus
MAKE_DIRS+= ${PKG_SYSCONFDIR}/dconf/db/ibus.d
MAKE_DIRS+= ${PKG_SYSCONFDIR}/dconf/profile
CONF_FILES+= ${PREFIX}/share/examples/ibus/dconf/db/ibus.d/00-upstream-settings \
${PKG_SYSCONFDIR}/dconf/db/ibus.d/00-upstream-settings
CONF_FILES+= ${PREFIX}/share/examples/ibus/dconf/profile/ibus \
${PKG_SYSCONFDIR}/dconf/profile/ibus
.include "../../mk/compiler.mk"
.if !empty(CC_VERSION:Mgcc-4.1.[0-9]*)
BUILDLINK_TRANSFORM+= rm:-Wno-unused-but-set-variable
.endif
BUILDLINK_API_DEPENDS.GConf+= GConf>=2.12
.include "../../devel/GConf/schemas.mk"
.include "../../devel/glib2/schemas.mk"
.include "../../devel/dconf/database.mk"
.include "../../devel/dconf/buildlink3.mk"
BUILDLINK_API_DEPENDS.gobject-introspection+= gobject-introspection>=0.9.6
BUILDLINK_DEPMETHOD.gobject-introspection+= build
.include "../../devel/gobject-introspection/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.26.0
.include "../../devel/glib2/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
PY_PATCHPLIST= yes
.include "../../sysutils/libnotify/buildlink3.mk"
.include "../../textproc/iso-codes/buildlink3.mk"
GTK2_IMMODULES= yes
.include "../../x11/gtk2/modules.mk"
.include "../../x11/gtk2/buildlink3.mk"
GTK3_IMMODULES= yes
.include "../../x11/gtk3/modules.mk"
.include "../../x11/gtk3/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
2013-12-08 08:34:21 +01:00
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"