diff options
author | robak <robak@FreeBSD.org> | 2017-11-24 00:51:13 +0800 |
---|---|---|
committer | robak <robak@FreeBSD.org> | 2017-11-24 00:51:13 +0800 |
commit | 81530f3992ee8169a1e0fe7c4fd80fb0b79db003 (patch) | |
tree | 8b908bb5e6feda1577b8d8034a56b84b65106e3b /chinese | |
parent | 731338e371ef87f83ed1d936a0bc4ba120dbd4b6 (diff) | |
download | freebsd-ports-graphics-81530f3992ee8169a1e0fe7c4fd80fb0b79db003.tar.gz freebsd-ports-graphics-81530f3992ee8169a1e0fe7c4fd80fb0b79db003.tar.zst freebsd-ports-graphics-81530f3992ee8169a1e0fe7c4fd80fb0b79db003.zip |
New port: chinese/ibus-array: Array 30 input method for IBus
Implementation of fully functional Array 30 input method engine for iBus.
Array 30 is a traditional Chinese input method used in Taiwan.
WWW: https://github.com/lexical/ibus-array/
PR: 212527
Submitted by: Jia-Shiun Li <jiashiun@gmail.com>
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/Makefile | 1 | ||||
-rw-r--r-- | chinese/ibus-array/Makefile | 33 | ||||
-rw-r--r-- | chinese/ibus-array/distinfo | 3 | ||||
-rw-r--r-- | chinese/ibus-array/files/patch-src_engine.c | 20 | ||||
-rw-r--r-- | chinese/ibus-array/pkg-descr | 4 | ||||
-rw-r--r-- | chinese/ibus-array/pkg-plist | 12 |
6 files changed, 73 insertions, 0 deletions
diff --git a/chinese/Makefile b/chinese/Makefile index b065706a163..e22e8c49bb3 100644 --- a/chinese/Makefile +++ b/chinese/Makefile @@ -51,6 +51,7 @@ SUBDIR += gimp-help-zh_CN SUBDIR += gydict SUBDIR += hc + SUBDIR += ibus-array SUBDIR += ibus-chewing SUBDIR += ibus-libpinyin SUBDIR += ibus-pinyin diff --git a/chinese/ibus-array/Makefile b/chinese/ibus-array/Makefile new file mode 100644 index 00000000000..46e2f59da52 --- /dev/null +++ b/chinese/ibus-array/Makefile @@ -0,0 +1,33 @@ +# $FreeBSD$ + +PORTNAME= ibus-array +PORTVERSION= 0.1.0 +CATEGORIES= chinese + +MAINTAINER= jiashiun@gmail.com +COMMENT= Array 30 input method for IBus + +LICENSE= GPLv2 + +BUILD_DEPENDS= ibus-daemon:textproc/ibus +RUN_DEPENDS= ibus-daemon:textproc/ibus + +GNU_CONFIGURE= yes + +USES= autoreconf gettext gmake libtool pkgconfig sqlite +USE_GNOME+= glib20 + +USE_GITHUB= yes +GH_ACCOUNT= lexical +GH_TAGNAME= release-0.1.0 + +OPTIONS_DEFINE= NLS +OPTIONS_SUB= yes + +NLS_USES= gettext +NLS_CONFIGURE_ENABLE= nls + +pre-configure: + cd ${WRKSRC} && ./autogen.sh + +.include <bsd.port.mk> diff --git a/chinese/ibus-array/distinfo b/chinese/ibus-array/distinfo new file mode 100644 index 00000000000..99c1cf316d3 --- /dev/null +++ b/chinese/ibus-array/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1472505283 +SHA256 (lexical-ibus-array-0.1.0-release-0.1.0_GH0.tar.gz) = da1aad6505cdcdf208e8f0798e190cd1a6bf9c1b56a74535c657cbed54aa4122 +SIZE (lexical-ibus-array-0.1.0-release-0.1.0_GH0.tar.gz) = 3831599 diff --git a/chinese/ibus-array/files/patch-src_engine.c b/chinese/ibus-array/files/patch-src_engine.c new file mode 100644 index 00000000000..f5f11d3436f --- /dev/null +++ b/chinese/ibus-array/files/patch-src_engine.c @@ -0,0 +1,20 @@ +--- src/engine.c.orig 2015-02-12 16:41:01 UTC ++++ src/engine.c +@@ -67,7 +67,7 @@ static gboolean ibus_array_engine_commit + + static void ibus_array_engine_space_press(IBusArrayEngine *arrayeng); + +-static gboolean ibus_array_engine_update_symbol_lookup_table (IBusArrayEngine *arrayeng); ++static void ibus_array_engine_update_symbol_lookup_table (IBusArrayEngine *arrayeng); + + static void ibus_array_engine_update_auxiliary_text (IBusArrayEngine *arrayeng, gchar* aux_string); + +@@ -313,7 +313,7 @@ static void ibus_array_engine_update_pre + g_string_free(array_preedit, TRUE); + } + +-static gboolean ibus_array_engine_update_symbol_lookup_table (IBusArrayEngine *arrayeng) ++static void ibus_array_engine_update_symbol_lookup_table (IBusArrayEngine *arrayeng) + { + gint i; + gboolean retval; diff --git a/chinese/ibus-array/pkg-descr b/chinese/ibus-array/pkg-descr new file mode 100644 index 00000000000..813e1901215 --- /dev/null +++ b/chinese/ibus-array/pkg-descr @@ -0,0 +1,4 @@ +Implementation of fully functional Array 30 input method engine for iBus. +Array 30 is a traditional Chinese input method used in Taiwan. + +WWW: https://github.com/lexical/ibus-array/ diff --git a/chinese/ibus-array/pkg-plist b/chinese/ibus-array/pkg-plist new file mode 100644 index 00000000000..6bd605cee70 --- /dev/null +++ b/chinese/ibus-array/pkg-plist @@ -0,0 +1,12 @@ +libexec/ibus-engine-array +libexec/ibus-setup-array +%%DATADIR%%/icons/ibus-array.png +%%DATADIR%%/setup/config.py +%%DATADIR%%/setup/config.pyc +%%DATADIR%%/setup/config.pyo +%%DATADIR%%/setup/main.py +%%DATADIR%%/setup/main.pyc +%%DATADIR%%/setup/main.pyo +%%DATADIR%%/tables/array.db +share/ibus/component/array.xml +%%NLS%%share/locale/zh_TW/LC_MESSAGES/ibus-array.mo |