diff options
author | obache <obache> | 2015-01-20 11:24:33 +0000 |
---|---|---|
committer | obache <obache> | 2015-01-20 11:24:33 +0000 |
commit | b94f72415c7e9dd4c7a159432ce6b2bf5e570581 (patch) | |
tree | f026cf821c5729bb7c47238f5e7de19290d0e83e /inputmethod | |
parent | 1cf4006113904c373927cbc20c8b3d98e9b55b9a (diff) | |
download | pkgsrc-b94f72415c7e9dd4c7a159432ce6b2bf5e570581.tar.gz |
Update ibus-array to 0.1.0.
Version 0.1.0
* Fixed the configuration UI (because ibus config API is changed)
* Add support for gettext (now only zh_TW.po is available)
Version 0.0.4
* Update the tables supporting Unicode 5.3
* show hints in the aux window when pressing 'w'
Version 0.0.3
* ibus 1.4 support
* Fix mess when inputing a wrong root sequence
* remove embedded sqlite dependency
Diffstat (limited to 'inputmethod')
-rw-r--r-- | inputmethod/ibus-array/Makefile | 22 | ||||
-rw-r--r-- | inputmethod/ibus-array/PLIST | 3 | ||||
-rw-r--r-- | inputmethod/ibus-array/distinfo | 9 | ||||
-rw-r--r-- | inputmethod/ibus-array/patches/patch-src_engine.c | 103 |
4 files changed, 20 insertions, 117 deletions
diff --git a/inputmethod/ibus-array/Makefile b/inputmethod/ibus-array/Makefile index ed7cf45d493..7f0fc057d5c 100644 --- a/inputmethod/ibus-array/Makefile +++ b/inputmethod/ibus-array/Makefile @@ -1,28 +1,34 @@ -# $NetBSD: Makefile,v 1.11 2014/05/09 07:37:08 wiz Exp $ +# $NetBSD: Makefile,v 1.12 2015/01/20 11:24:33 obache Exp $ -DISTNAME= ibus-array-0.0.2 -PKGREVISION= 7 +DISTNAME= ibus-array-0.1.0 CATEGORIES= inputmethod chinese -MASTER_SITES= http://ibus-array.googlecode.com/files/ +MASTER_SITES= http://ibus-array.googlecode.com/svn/tarballs/ +EXTRACT_SUFX= .tgz MAINTAINER= obache@NetBSD.org HOMEPAGE= http://code.google.com/p/ibus-array/ COMMENT= Array 30 Input Method for iBus LICENSE= gnu-gpl-v3 -DEPENDS+= ${PYPKGPREFIX}-ibus-python-[0-9]*:../../inputmethod/ibus-python +DEPENDS+= ${PYPKGPREFIX}-gobject3-[0-9]*:../../devel/py-gobject3 GNU_CONFIGURE= yes USE_LIBTOOL= yes -USE_TOOLS+= gmake pkg-config +USE_PKGLOCALEDIR= yes +USE_TOOLS+= gmake pkg-config automake autoconf autopoint msgfmt msgmerge + +WRKSRC= ${WRKDIR} + +pre-configure: + ${RUN}cd ${WRKSRC};${PKGSRC_SETENV} ${CONFIGURE_ENV} ./autogen.sh SUBST_CLASSES+= epython SUBST_STAGE.epython= pre-configure SUBST_FILES.epython= setup/ibus-setup-array.in SUBST_SED.epython= -e 's;exec python;exec ${PYTHONBIN};g' -PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # py-gtk2 via py-ibus-python - +.include "../../databases/sqlite3/buildlink3.mk" +.include "../../devel/gettext-lib/buildlink3.mk" .include "../../inputmethod/ibus/buildlink3.mk" .include "../../lang/python/application.mk" .include "../../mk/bsd.pkg.mk" diff --git a/inputmethod/ibus-array/PLIST b/inputmethod/ibus-array/PLIST index d8949e927fd..bb452dce083 100644 --- a/inputmethod/ibus-array/PLIST +++ b/inputmethod/ibus-array/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2010/08/07 01:53:41 obache Exp $ +@comment $NetBSD: PLIST,v 1.2 2015/01/20 11:24:33 obache Exp $ libexec/ibus-engine-array libexec/ibus-setup-array share/ibus-array/icons/ibus-array.png @@ -10,3 +10,4 @@ share/ibus-array/setup/main.pyc share/ibus-array/setup/main.pyo share/ibus-array/tables/array.db share/ibus/component/array.xml +share/locale/zh_TW/LC_MESSAGES/ibus-array.mo diff --git a/inputmethod/ibus-array/distinfo b/inputmethod/ibus-array/distinfo index c637c92ffce..7bc4b7a4267 100644 --- a/inputmethod/ibus-array/distinfo +++ b/inputmethod/ibus-array/distinfo @@ -1,6 +1,5 @@ -$NetBSD: distinfo,v 1.3 2012/11/19 23:15:52 joerg Exp $ +$NetBSD: distinfo,v 1.4 2015/01/20 11:24:33 obache Exp $ -SHA1 (ibus-array-0.0.2.tar.gz) = 1b2c65b0a5d45f858014d892ec9036918ce85a54 -RMD160 (ibus-array-0.0.2.tar.gz) = 40dbed9c00cc83855af05350da244f668fddb751 -Size (ibus-array-0.0.2.tar.gz) = 2759103 bytes -SHA1 (patch-src_engine.c) = fcd75da6cb349a7dd2f2caa8dae4b9ebb23668c7 +SHA1 (ibus-array-0.1.0.tgz) = f4f6f5ccb0c2d54ef80b5e694fc508f99bf1f381 +RMD160 (ibus-array-0.1.0.tgz) = 2526bd21f704bbd4bf8d563a6e89870a047562b9 +Size (ibus-array-0.1.0.tgz) = 3838716 bytes diff --git a/inputmethod/ibus-array/patches/patch-src_engine.c b/inputmethod/ibus-array/patches/patch-src_engine.c deleted file mode 100644 index 91e72cb2df2..00000000000 --- a/inputmethod/ibus-array/patches/patch-src_engine.c +++ /dev/null @@ -1,103 +0,0 @@ -$NetBSD: patch-src_engine.c,v 1.2 2012/11/19 23:15:53 joerg Exp $ - -* for ibus-1.4 - ---- src/engine.c.orig 2009-10-18 17:06:12.000000000 +0000 -+++ src/engine.c -@@ -79,7 +79,7 @@ static void ibus_array_engine_show_speci - static void ibus_config_value_changed (IBusConfig *config, - const gchar *section, - const gchar *name, -- GValue *value, -+ GVariant *value, - gpointer user_data); - - static IBusEngineClass *parent_class = NULL; -@@ -120,7 +120,7 @@ void - ibus_array_init (IBusBus *bus) - { - gboolean res; -- GValue value = { 0, }; -+ GVariant *value = NULL; - - array_context = array_create_context(); - -@@ -129,20 +129,22 @@ ibus_array_init (IBusBus *bus) - is_special_notify = FALSE; - is_special_only = FALSE; - -- res = ibus_config_get_value (config, "engine/Array", -- "SpecialNotify", &value); -+ res = ((value = ibus_config_get_value (config, "engine/Array", -+ "SpecialNotify")) != NULL); - if (res) { -- const gchar* str = g_value_get_string(&value); -+ const gchar* str = g_variant_get_string(value, NULL); - if (g_strcmp0(str, "1") == 0) - is_special_notify = TRUE; -+ g_variant_unref(value); - } - -- res = ibus_config_get_value (config, "engine/Array", -- "SpecialOnly", &value); -+ res = ((value = ibus_config_get_value (config, "engine/Array", -+ "SpecialOnly")) != NULL); - if (res) { -- const gchar* str = g_value_get_string(&value); -+ const gchar* str = g_variant_get_string(value, NULL); - if (g_strcmp0(str, "1") == 0) - is_special_only = TRUE; -+ g_variant_unref(value); - } - } - -@@ -349,7 +351,7 @@ ibus_array_engine_update_symbol_lookup_t - - if (arrayeng->preedit->len == 0) { - ibus_engine_hide_lookup_table ((IBusEngine *) arrayeng); -- return; -+ return FALSE; - } - - ibus_lookup_table_clear (arrayeng->table); -@@ -360,12 +362,12 @@ ibus_array_engine_update_symbol_lookup_t - - if (candidates == NULL) { - ibus_engine_hide_lookup_table ((IBusEngine *) arrayeng); -- return; -+ return FALSE; - } - else if (candidates->len == 0) { - array_release_candidates(candidates); - ibus_engine_hide_lookup_table ((IBusEngine *) arrayeng); -- return; -+ return FALSE; - } - - for (i = 0; i < candidates->len; i++) { -@@ -754,14 +756,14 @@ static void ibus_array_engine_property_a - static void ibus_config_value_changed (IBusConfig *config, - const gchar *section, - const gchar *name, -- GValue *value, -+ GVariant *value, - gpointer user_data) - { - IBusArrayEngine *arrayeng = (IBusArrayEngine*)user_data; - - if (g_strcmp0(section, "engine/Array") == 0) { - if (g_strcmp0(name, "SpecialNotify") == 0) { -- const gchar* str = g_value_get_string(value); -+ const gchar* str = g_variant_get_string(value, NULL); - if (g_strcmp0(str, "1") == 0) { - is_special_notify = TRUE; - } -@@ -770,7 +772,7 @@ static void ibus_config_value_changed (I - } - } - else if (g_strcmp0(name, "SpecialOnly") == 0) { -- const gchar* str = g_value_get_string(value); -+ const gchar* str = g_variant_get_string(value, NULL); - if (g_strcmp0(str, "1") == 0) { - is_special_only = TRUE; - } |