pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/inputmethod/ibus-array Update ibus-array to 0.1.0.
details: https://anonhg.NetBSD.org/pkgsrc/rev/66709f9f14ca
branches: trunk
changeset: 644977:66709f9f14ca
user: obache <obache%pkgsrc.org@localhost>
date: Tue Jan 20 11:24:33 2015 +0000
description:
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:
inputmethod/ibus-array/Makefile | 22 ++-
inputmethod/ibus-array/PLIST | 3 +-
inputmethod/ibus-array/distinfo | 9 +-
inputmethod/ibus-array/patches/patch-src_engine.c | 103 ----------------------
4 files changed, 20 insertions(+), 117 deletions(-)
diffs (181 lines):
diff -r a4c5d698dc79 -r 66709f9f14ca inputmethod/ibus-array/Makefile
--- a/inputmethod/ibus-array/Makefile Tue Jan 20 11:03:51 2015 +0000
+++ b/inputmethod/ibus-array/Makefile Tue Jan 20 11:24:33 2015 +0000
@@ -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@localhost
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 -r a4c5d698dc79 -r 66709f9f14ca inputmethod/ibus-array/PLIST
--- a/inputmethod/ibus-array/PLIST Tue Jan 20 11:03:51 2015 +0000
+++ b/inputmethod/ibus-array/PLIST Tue Jan 20 11:24:33 2015 +0000
@@ -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.pyo
share/ibus-array/tables/array.db
share/ibus/component/array.xml
+share/locale/zh_TW/LC_MESSAGES/ibus-array.mo
diff -r a4c5d698dc79 -r 66709f9f14ca inputmethod/ibus-array/distinfo
--- a/inputmethod/ibus-array/distinfo Tue Jan 20 11:03:51 2015 +0000
+++ b/inputmethod/ibus-array/distinfo Tue Jan 20 11:24:33 2015 +0000
@@ -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 -r a4c5d698dc79 -r 66709f9f14ca inputmethod/ibus-array/patches/patch-src_engine.c
--- a/inputmethod/ibus-array/patches/patch-src_engine.c Tue Jan 20 11:03:51 2015 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -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;
- }
Home |
Main Index |
Thread Index |
Old Index