summaryrefslogtreecommitdiff
path: root/inputmethod
diff options
context:
space:
mode:
authorobache <obache>2009-11-24 11:31:04 +0000
committerobache <obache>2009-11-24 11:31:04 +0000
commit1be1090d4954094963dd874704aa41afab04ec57 (patch)
tree268830672973265c10fbe6af2cec4e26c1154e1f /inputmethod
parent0e9b41a4147dbfa4e930599b0d7c84aa23d9c7dc (diff)
downloadpkgsrc-1be1090d4954094963dd874704aa41afab04ec57.tar.gz
Update libchewing to 0.3.2.
What's New in libchewing 0.3.2 --------------------------------------------------------- * Add gcc visibility support to hide private APIs. * APIs and Headers refactoring. * Doxygen-friendly API documentation. * New binary data manipulation approach to dramatically reduce storage usage and loading time via memory mapping. (enabled by default) * New word segmentation method based on mmseg. * Improved auto-learn new phrases method. * Improved test suite and added simple benchmark program. * Option to indicate the behavior for phrase choice to be rearward or not. * New APIs to enumerate supported keyboard types. * Repair improper memory access. * API united in Win32 and UNIX world. * Initial Pythin binding support. * Merged with libchewing-data project. (r342) * Canonical debugging messages. * Successful stories: . OpenBSD porting . ibus-chewing : chewing engine for ibus input method framework. . UIM-chewing leveraging libchewing 0.3.x development branch. What's New in libchewing 0.3.1 ---------------------------------------------------------- * New keyboard layout DACHEN_CP26. * Add key '`' to open symbol table. * Erase candidate and reset its length when 'Esc' key is handled. * Closes candidate window when user pressed 'Up' key. * Doing select at the end of edit buffer works on the last phrase (interval). * Improved reminding message text. * Sync with libchewingdata project. * A new HanYu-PinYin mapping table * More robust behavior when IM crashes. * Allow '#' comment and blank line in tsi.src. * Fix chewing switch between Full/Half mode and cursor moves one space in gedit. * Fix when list available phrases to choice, user's own phrases are not included. * Release PgUp/PgDn key event to running applications. * Fix portability issues on FreeBSD. * Fix incorrect initialization. * Fix pinyin key order, put "shun" before "shuo". * Fix various potenital boffer overflow bugs. * Fix various memory leaks. * chewing_set_PinYinMethod to support multiple PinYin methods. * chewing_handle_CtrlOption was removed. * New structure SymbolEntry. * Rename selectAreaLen to candPerPage. * Added bEasySymbolInput. What's New in libchewing 0.3.0 ---------------------------------------------------------- * This is a new development branch differing a lot from 0.2.x series, and breaks API/ABI for new features. * UTF-8 based language engine core for common Unicode environment. * Porting layer for POSIX/Unix-like and Win32 to reduce the redundant porting process. * New API design for better consistency. * Merge the efforts from libchewing-data subproject, which means various phrases have been reviewed and corrected. * Zuin fixes and symbol improvements. * Support key 'j' / 'k' for paging in selection mode. * Fix some internal memory management bugs and leaks. * Improved internal test suite. * New binary-form of user hash data to speed up loading and solve hash data corruption. * Better calculating of internal tree and phone constants. * Revised tsi.src for richer phrases and avoiding crashes. * Merge phone and phrase from CNS11643. * Reduce the amount for the expose for internal symbols. * Improved Han-Yu PinYin to use table-lookup implementation. * Experimental frequency-evaluation. (re-compute chewing lifetime) * Implement the choice mechanism for pair symbols. * Improved Tab handling to allow the switching over different frequency orders of candidated phrases. * New auxiliary module for simpler API uses. * Experimental memory-mapping based binary data handling to speed up data loading. * Successful stories: . Sun Solaris 10 U2 and 11 will provide built-in Chewing IM support. . OXIM input method suite from OpenDesktop/OSSI provides Chewing support as its default input method. . New Win32-Chewing subproject to provide efficient input mthod solution on Microsoft Windows platforms.
Diffstat (limited to 'inputmethod')
-rw-r--r--inputmethod/libchewing/DESCR6
-rw-r--r--inputmethod/libchewing/Makefile7
-rw-r--r--inputmethod/libchewing/PLIST16
-rw-r--r--inputmethod/libchewing/buildlink3.mk6
-rw-r--r--inputmethod/libchewing/distinfo11
-rw-r--r--inputmethod/libchewing/patches/patch-aa38
-rw-r--r--inputmethod/libchewing/patches/patch-ab12
-rw-r--r--inputmethod/libchewing/patches/patch-ac13
8 files changed, 22 insertions, 87 deletions
diff --git a/inputmethod/libchewing/DESCR b/inputmethod/libchewing/DESCR
index ae894cd0d1f..a7bf6d5793c 100644
--- a/inputmethod/libchewing/DESCR
+++ b/inputmethod/libchewing/DESCR
@@ -1,2 +1,4 @@
-libchewing is derived from Chewing input method, a xcin module focusing on
-intelligent phonetic processing by lckung and kpchen.
+This is an intelligent Chinese phonetic input method library, which abstracts
+the behavior of popular Taiwanese/Chinese intelligent phonetic input method
+usage into several APIs ready for integration. The known examples are
+xcin-chewing, scim-chewing, iiimf-le-chewing, etc.
diff --git a/inputmethod/libchewing/Makefile b/inputmethod/libchewing/Makefile
index 81e0d82c0bb..bac4fbe953b 100644
--- a/inputmethod/libchewing/Makefile
+++ b/inputmethod/libchewing/Makefile
@@ -1,11 +1,12 @@
-# $NetBSD: Makefile,v 1.2 2008/07/14 12:56:07 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2009/11/24 11:31:04 obache Exp $
#
-DISTNAME= libchewing-0.2.7
+DISTNAME= libchewing-0.3.2
CATEGORIES= chinese inputmethod
MASTER_SITES= http://chewing.csie.net/download/libchewing/
+EXTRACT_SUFX= .tar.bz2
-MAINTAINER= rxg@NetBSD.org
+MAINTAINER= obache@NetBSD.org
HOMEPAGE= http://chewing.csie.net/
COMMENT= The intelligent phonetic input method library
diff --git a/inputmethod/libchewing/PLIST b/inputmethod/libchewing/PLIST
index 98170c722af..4a60ed6f877 100644
--- a/inputmethod/libchewing/PLIST
+++ b/inputmethod/libchewing/PLIST
@@ -1,18 +1,16 @@
-@comment $NetBSD: PLIST,v 1.2 2009/06/14 18:01:31 joerg Exp $
-include/chewing/char.h
+@comment $NetBSD: PLIST,v 1.3 2009/11/24 11:31:04 obache Exp $
include/chewing/chewing.h
include/chewing/chewingio.h
-include/chewing/chewingutil.h
-include/chewing/dict.h
include/chewing/global.h
-include/chewing/hanyupinying.h
-include/chewing/hash.h
-include/chewing/userphrase.h
-include/chewing/zuin.h
+include/chewing/mod_aux.h
lib/libchewing.la
lib/pkgconfig/chewing.pc
-share/chewing/ch_index.dat
+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/buildlink3.mk b/inputmethod/libchewing/buildlink3.mk
index 600a3763a6a..94e39bda4a8 100644
--- a/inputmethod/libchewing/buildlink3.mk
+++ b/inputmethod/libchewing/buildlink3.mk
@@ -1,12 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.6 2009/03/20 19:24:46 joerg Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2009/11/24 11:31:04 obache Exp $
BUILDLINK_TREE+= libchewing
.if !defined(LIBCHEWING_BUILDLINK3_MK)
LIBCHEWING_BUILDLINK3_MK:=
-BUILDLINK_API_DEPENDS.libchewing+= libchewing>=0.2.7
-BUILDLINK_ABI_DEPENDS.libchewing+= libchewing>=0.2.7
+BUILDLINK_API_DEPENDS.libchewing+= libchewing>=0.3.2
+BUILDLINK_ABI_DEPENDS.libchewing+= libchewing>=0.3.2
BUILDLINK_PKGSRCDIR.libchewing?= ../../inputmethod/libchewing
.endif # LIBCHEWING_BUILDLINK3_MK
diff --git a/inputmethod/libchewing/distinfo b/inputmethod/libchewing/distinfo
index 3fdc97ab13c..fc66b08d62f 100644
--- a/inputmethod/libchewing/distinfo
+++ b/inputmethod/libchewing/distinfo
@@ -1,8 +1,5 @@
-$NetBSD: distinfo,v 1.4 2006/10/22 20:32:36 rillig Exp $
+$NetBSD: distinfo,v 1.5 2009/11/24 11:31:04 obache Exp $
-SHA1 (libchewing-0.2.7.tar.gz) = 7adcf9d24d3a16af9e580cc41dcd217adef56c8a
-RMD160 (libchewing-0.2.7.tar.gz) = e1b82f093de6d00ff78c8d940489498611ac6ba3
-Size (libchewing-0.2.7.tar.gz) = 1758321 bytes
-SHA1 (patch-aa) = 415ea4754c7a30437aaf62c0b9bc49dab3484421
-SHA1 (patch-ab) = ac219afb516248db5d058d5225694e5d127236ec
-SHA1 (patch-ac) = 66935c82edc482939003fe7d3bed88280a1a6c56
+SHA1 (libchewing-0.3.2.tar.bz2) = 23eb09ab17c432cefb8cf42c758106b71b50d55f
+RMD160 (libchewing-0.3.2.tar.bz2) = 2ca11803fa4f163f904320485d285142967a7064
+Size (libchewing-0.3.2.tar.bz2) = 1802842 bytes
diff --git a/inputmethod/libchewing/patches/patch-aa b/inputmethod/libchewing/patches/patch-aa
deleted file mode 100644
index e914b464cba..00000000000
--- a/inputmethod/libchewing/patches/patch-aa
+++ /dev/null
@@ -1,38 +0,0 @@
-$NetBSD: patch-aa,v 1.1 2006/01/30 20:32:21 rillig Exp $
-
-Keywords: c90
-
---- src/hanyupinying.c.orig 2005-08-08 15:34:44.000000000 +0200
-+++ src/hanyupinying.c 2006-01-30 21:24:48.000000000 +0100
-@@ -26,7 +26,6 @@ int HANYU_INITIALS, HANYU_FINALS, INIT_F
-
- static PinYingZuinMap* InitialsMap()
- {
-- HANYU_INITIALS = 26;
- static PinYingZuinMap map[ 26 ] = {
- {"b" , "1"}, {"p" , "q"}, {"m" , "a"}, {"f" ,"z"},
- {"d" , "2"}, {"t" , "w"}, {"n" , "s"}, {"l" ,"x"},
-@@ -36,12 +35,13 @@ static PinYingZuinMap* InitialsMap()
- {"shi", "g"}, {"sh", "g"}, {"ri", "b"}, {"r" ,"b"},
- {"z" , "y"}, {"c" , "h"}, {"s" , "n"}
- };
-+
-+ HANYU_INITIALS = 26;
- return map;
- }
-
- static PinYingZuinMap* FinalsMap()
- {
-- HANYU_FINALS = 72;
- static PinYingZuinMap map[ 72 ] = {
- {"uang","j;"}, {"wang","j;"},
- {"wong","j/"}, {"weng","j/"},
-@@ -92,6 +92,8 @@ static PinYingZuinMap* FinalsMap()
- {"u","j"},
- {"E",","}
- };
-+
-+ HANYU_FINALS = 72;
- return map;
- }
-
diff --git a/inputmethod/libchewing/patches/patch-ab b/inputmethod/libchewing/patches/patch-ab
deleted file mode 100644
index d8311f3de82..00000000000
--- a/inputmethod/libchewing/patches/patch-ab
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-ab,v 1.1 2006/02/26 12:04:57 rxg Exp $
-
---- configure.orig 2006-02-26 20:00:43.000000000 +0800
-+++ configure
-@@ -24562,6 +24562,7 @@ s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t
- s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
- s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
- s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
-+s,@LIBTOOL_EXPORT_OPTIONS@,$LIBTOOL_EXPORT_OPTIONS,;t t
- s,@exec_prefix@,$exec_prefix,;t t
- s,@prefix@,$prefix,;t t
- s,@program_transform_name@,$program_transform_name,;t t
diff --git a/inputmethod/libchewing/patches/patch-ac b/inputmethod/libchewing/patches/patch-ac
deleted file mode 100644
index cb50a838df6..00000000000
--- a/inputmethod/libchewing/patches/patch-ac
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ac,v 1.1 2006/10/22 20:32:36 rillig Exp $
-
---- autogen.sh.orig 2005-08-08 15:35:00.000000000 +0200
-+++ autogen.sh 2006-10-22 22:30:32.000000000 +0200
-@@ -10,7 +10,7 @@ ${ACLOCAL:-aclocal} ${ACLOCAL_ARG}
-
- # Darwin has different name for "libtoolize"
- UNAME=`uname`
--if [ "x${UNAME}" == "xDarwin" ]; then
-+if [ "x${UNAME}" = "xDarwin" ]; then
- ${LIBTOOLIZE:-glibtoolize} -c --automake
- else
- ${LIBTOOLIZE:-libtoolize} -c --automake