summaryrefslogtreecommitdiff
path: root/inputmethod/libchewing
diff options
context:
space:
mode:
authorobache <obache>2013-08-10 09:14:22 +0000
committerobache <obache>2013-08-10 09:14:22 +0000
commitc662f58d675d1e92e9ca1c3d010d84e2b80d2482 (patch)
tree9c1a8be9e4a451474287d0f9c664cf9655130f06 /inputmethod/libchewing
parent3e60be069eb0bcd4360619ad4e5065b7b697204f (diff)
downloadpkgsrc-c662f58d675d1e92e9ca1c3d010d84e2b80d2482.tar.gz
Update libchewing to 0.3.5.
What's New in libchewing 0.3.5 (Jul 28, 2013) --------------------------------------------------------- * Improve CMake rules - Visual Studio build included * Dictionary improvements - Remove duplicated phrases, fix Bopomofo representation - tool tweaks * travis-ci support (https://travis-ci.org/chewing/libchewing) * drone.io support (https://drone.io/github.com/chewing/libchewing) * coveralls.io support (https://coveralls.io/r/chewing/libchewing) * editorconfig support (http://editorconfig.org/) * Add new chewing_set_logger API * Prevent unaligned memory access * Reduce maxChiSymbolLen to 39 to avoid overflow * Do not store user phrase when its length is 1 * Check chiSymbolBufLen in chewing_handle_Numlock() * Set isSymbol to 0 in SetChoiceInfo * Fix 'j', 'k' in select mode cannot handle symbol selecting * Do not call GetCharNext() when GetCharFirst() fails * Successful stories: . FreeArray utilizes libchewing for selecting phrases of Array input method What's New in libchewing 0.3.4 (Dec 31, 2012) --------------------------------------------------------- * Improve the description of libchewing API - Simplified examples to illustrate the usage are added * Revise libchewing API. Check the documentation for details * Support THL (Taiwan Huayu Luomapinyin) and MPS2 Pinyin keyboard layout * Reimplementation of unit test framework. No external 'check' package is required * Fix several phrase errors - Add exceptional phrase as well * Improved developer and user guide * Introduce CMake based build system, which is convenient to MS-Windows based environments. * Add --enable-gcov to enable gcov coverage * Fix possible strncat() overflow * Consistent checks for bopomofo sequence internally * Handle incomplete bopomofo with space key properly * Internal structure refactoring * Read hash path from CHEWING_PATH environment variable * Make libchewing thread-safe * Fix IM crash by changing default candidate per page to 10 * Fix the detection of ncursesw * Fix the usage of autotools * Update and tune symbols * Fix valgrind warning * Fix several compilation warnings * Fix GCC visibility availability for Darwin specific PIC code * Fix hash table initialization and its memory leakage * Support building with mingw32 toolchain * Fix GNU Hurd build * Fix Microsoft VC build * Fix Windows 64-bit build * Fix mingw32/64 + WINE build * Successful stories: . GCIN supports experimental Chewing IM since version 1.6.4 . HIME supports Chewing IM . UCIMF supports Chewing IM . Fcitx supports Chewing IM . mozc (IM framework maintained by Google) provides Chewing support . JMCCE (reworked version) supports libchewing
Diffstat (limited to 'inputmethod/libchewing')
-rw-r--r--inputmethod/libchewing/Makefile5
-rw-r--r--inputmethod/libchewing/PLIST21
-rw-r--r--inputmethod/libchewing/distinfo10
-rw-r--r--inputmethod/libchewing/patches/patch-configure15
-rw-r--r--inputmethod/libchewing/patches/patch-configure.ac15
5 files changed, 50 insertions, 16 deletions
diff --git a/inputmethod/libchewing/Makefile b/inputmethod/libchewing/Makefile
index 3ad6ada64a8..fe3daba8613 100644
--- a/inputmethod/libchewing/Makefile
+++ b/inputmethod/libchewing/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2013/08/10 07:11:02 obache Exp $
+# $NetBSD: Makefile,v 1.8 2013/08/10 09:14:22 obache Exp $
#
-DISTNAME= libchewing-0.3.3
+DISTNAME= libchewing-0.3.5
CATEGORIES= chinese inputmethod
MASTER_SITES= http://chewing.googlecode.com/files/
EXTRACT_SUFX= .tar.bz2
@@ -13,6 +13,7 @@ LICENSE= gnu-lgpl-v2.1
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
+INFO_FILES= yes
PKGCONFIG_OVERRIDE= chewing.pc.in
diff --git a/inputmethod/libchewing/PLIST b/inputmethod/libchewing/PLIST
index 4a60ed6f877..aa7925755f8 100644
--- a/inputmethod/libchewing/PLIST
+++ b/inputmethod/libchewing/PLIST
@@ -1,16 +1,17 @@
-@comment $NetBSD: PLIST,v 1.3 2009/11/24 11:31:04 obache Exp $
+@comment $NetBSD: PLIST,v 1.4 2013/08/10 09:14:22 obache Exp $
include/chewing/chewing.h
include/chewing/chewingio.h
include/chewing/global.h
include/chewing/mod_aux.h
+info/libchewing.info
lib/libchewing.la
+lib/libchewing/ch_index_begin.dat
+lib/libchewing/ch_index_phone.dat
+lib/libchewing/dict.dat
+lib/libchewing/fonetree.dat
+lib/libchewing/ph_index.dat
+lib/libchewing/pinyin.tab
+lib/libchewing/swkb.dat
+lib/libchewing/symbols.dat
+lib/libchewing/us_freq.dat
lib/pkgconfig/chewing.pc
-share/chewing/ch_index_begin.dat
-share/chewing/ch_index_phone.dat
-share/chewing/dict.dat
-share/chewing/fonetree.dat
-share/chewing/ph_index.dat
-share/chewing/pinyin.tab
-share/chewing/swkb.dat
-share/chewing/symbols.dat
-share/chewing/us_freq.dat
diff --git a/inputmethod/libchewing/distinfo b/inputmethod/libchewing/distinfo
index d6b8834104d..c45e4a2f3cf 100644
--- a/inputmethod/libchewing/distinfo
+++ b/inputmethod/libchewing/distinfo
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.6 2011/10/08 08:17:51 obache Exp $
+$NetBSD: distinfo,v 1.7 2013/08/10 09:14:22 obache Exp $
-SHA1 (libchewing-0.3.3.tar.bz2) = 24ade7bbb0288f71588bb45831d7fc9d5137a4cb
-RMD160 (libchewing-0.3.3.tar.bz2) = b36c1fd997e3223423ffb11249836205a1ff5bae
-Size (libchewing-0.3.3.tar.bz2) = 1798134 bytes
+SHA1 (libchewing-0.3.5.tar.bz2) = 5ee3941f0f62fa14fbda53e1032970b04a7a88b7
+RMD160 (libchewing-0.3.5.tar.bz2) = 02e571d1441f6397efe815d3812acc0f70c2d203
+Size (libchewing-0.3.5.tar.bz2) = 1978489 bytes
+SHA1 (patch-configure) = 1dac333234433e9cc52dbe1625271eccf3e631ba
+SHA1 (patch-configure.ac) = bb1d458d4f32c461a746dc88fb5019e790240af9
diff --git a/inputmethod/libchewing/patches/patch-configure b/inputmethod/libchewing/patches/patch-configure
new file mode 100644
index 00000000000..e832d2966ae
--- /dev/null
+++ b/inputmethod/libchewing/patches/patch-configure
@@ -0,0 +1,15 @@
+$NetBSD: patch-configure,v 1.1 2013/08/10 09:14:22 obache Exp $
+
+* test(1) portability fix
+
+--- configure.orig 2013-08-10 08:57:00.000000000 +0000
++++ configure
+@@ -13368,7 +13368,7 @@ CC_FOR_BUILD=${CC_FOR_BUILD-${CC}}
+
+ # Default CFLAGS
+ AM_CFLAGS="$CFLAGS -Wall"
+-if test x$ac_cv_func_asprintf == xyes; then :
++if test x$ac_cv_func_asprintf = xyes; then :
+ AM_CPPFLAGS="$AM_CPPFLAGS -D_GNU_SOURCE"
+ fi
+
diff --git a/inputmethod/libchewing/patches/patch-configure.ac b/inputmethod/libchewing/patches/patch-configure.ac
new file mode 100644
index 00000000000..4fa35bef1bb
--- /dev/null
+++ b/inputmethod/libchewing/patches/patch-configure.ac
@@ -0,0 +1,15 @@
+$NetBSD: patch-configure.ac,v 1.1 2013/08/10 09:14:22 obache Exp $
+
+* test(1) portability fix
+
+--- configure.ac.orig 2013-07-28 07:30:39.000000000 +0000
++++ configure.ac
+@@ -87,7 +87,7 @@ AC_SUBST(CC_FOR_BUILD)
+
+ # Default CFLAGS
+ AM_CFLAGS="$CFLAGS -Wall"
+-AS_IF([test x$ac_cv_func_asprintf == xyes],
++AS_IF([test x$ac_cv_func_asprintf = xyes],
+ [AM_CPPFLAGS="$AM_CPPFLAGS -D_GNU_SOURCE"])
+
+ AX_WITH_CURSES