pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/inputmethod/libchewing libchewing: Update to 0.5.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e51cb66ffe17
branches:  trunk
changeset: 447431:e51cb66ffe17
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Sat Feb 20 21:22:04 2021 +0000

description:
libchewing: Update to 0.5.1

Changelog:
What's New in libchewing 0.5.1 (May 18, 2016)
---------------------------------------------------------
* Bug fixed:
  - Fix wrong CHEWING_DATADIR definition in CMake build #222.
  - Fix j, k selection when symbol in between #149 #221.


What's New in libchewing 0.5.0 (May 2, 2016)
---------------------------------------------------------
* New feature
  - Add Carpalx keyboard layout support #217.

* Dictionary
  - Update dictionary #151 #155 #188 #191 #201.
  - Add debug tool: dump_database.
  - Sort tsi.src #212.

* Misc
  - Tweak several comments.
  - Fix libchewing document.
  - Remove old/dead code.
  - Improve code readability and consistency.
  - Update automake syntax #114.
  - Add test cases #169 #177.
  - Update Python sample code.
  - Add debug tool dump_database.
  - Integrate coverity scan in https://scan.coverity.com/.

* Platform-specific
  - Update README for OS X.
  - Set WITH_INTERNAL_SQLITE3 to true by default in MS-Windows.
  - Fix Visual Studio compiling warnings/errors #168 #171 #189 #190 #213.
  - Add a cmake option BUILD_DLL to enable building *.dll with MS VC++ #185.
  - Make the python binding of libchewing support Windows dll files #186.
  - Don't use SIGSTOP in MS-Windows.

* Bug fixed
  - Check if ld supports --no-defined #144.
  - Fix unexpected candidate disorder for '1' #153
  - Replace bash-izm '==' operator with '=' for test(1) # 158.
  - Fix several Coverity errors #172 #173.
  - Fix ChewingKillChar which is disabling OpenSymbolChoice #160 #181.
  - ㄅ cannot overwrite ㄆ in HSU and ET26 #170 #183.

* Successful stories:
  - Rime Input Method Engine (RIME) takes partial dictionary from
    libchewing.
  - PIME (writing input methods for Windows easily with Python) supports
    Chewing IM by default.

diffstat:

 inputmethod/libchewing/Makefile                   |   9 ++-
 inputmethod/libchewing/distinfo                   |  12 ++---
 inputmethod/libchewing/patches/patch-configure    |  49 -----------------------
 inputmethod/libchewing/patches/patch-configure.ac |  39 ------------------
 4 files changed, 10 insertions(+), 99 deletions(-)

diffs (132 lines):

diff -r 944e326a1264 -r e51cb66ffe17 inputmethod/libchewing/Makefile
--- a/inputmethod/libchewing/Makefile   Sat Feb 20 21:20:22 2021 +0000
+++ b/inputmethod/libchewing/Makefile   Sat Feb 20 21:22:04 2021 +0000
@@ -1,10 +1,11 @@
-# $NetBSD: Makefile,v 1.27 2020/11/05 09:06:56 ryoon Exp $
+# $NetBSD: Makefile,v 1.28 2021/02/20 21:22:04 ryoon Exp $
 #
 
-DISTNAME=      libchewing-0.4.0
-PKGREVISION=   15
+GITHUB_PROJECT=        libchewing
+GITHUB_RELEASE=        v${PKGVERSION_NOREV}
+DISTNAME=      libchewing-0.5.1
 CATEGORIES=    chinese inputmethod
-MASTER_SITES=  https://github.com/chewing/libchewing/releases/download/v${PKGVERSION_NOREV}/
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=chewing/}
 EXTRACT_SUFX=  .tar.bz2
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
diff -r 944e326a1264 -r e51cb66ffe17 inputmethod/libchewing/distinfo
--- a/inputmethod/libchewing/distinfo   Sat Feb 20 21:20:22 2021 +0000
+++ b/inputmethod/libchewing/distinfo   Sat Feb 20 21:22:04 2021 +0000
@@ -1,8 +1,6 @@
-$NetBSD: distinfo,v 1.9 2015/11/03 22:13:37 agc Exp $
+$NetBSD: distinfo,v 1.10 2021/02/20 21:22:04 ryoon Exp $
 
-SHA1 (libchewing-0.4.0.tar.bz2) = 7409b0a6753e14510c96574714dcec86c7b10138
-RMD160 (libchewing-0.4.0.tar.bz2) = 7abc4191e0295d566b1409c12d593ee0e4b50637
-SHA512 (libchewing-0.4.0.tar.bz2) = 6a9b12816c13d7b4a0a3ca9e73560fcbb8d3e032aab3f5b90f40a6de9e7d81e934536242b4ac26db33739c7841185cc4aa10a8272cd26a76c27bdac6e75aa4a9
-Size (libchewing-0.4.0.tar.bz2) = 3014558 bytes
-SHA1 (patch-configure) = 2f855e174fa486932dea90d013e525c1c5ef24a1
-SHA1 (patch-configure.ac) = 2a47e597f14cf363055f5b8409289f6edbc544e2
+SHA1 (libchewing-0.5.1.tar.bz2) = b5c8b920b414e74de69c7e0200dac3d3fa9e9e14
+RMD160 (libchewing-0.5.1.tar.bz2) = 4d6b48f8a40c99b5c36539a255368e0a622d5f78
+SHA512 (libchewing-0.5.1.tar.bz2) = a6551661bb5e56bba59730b93b373db56af7d42f2ab4881fbfff8727689dd2604d42d2e5c0b04820df66a431dfb5fcb73cc5c9b538615da76198ee3635501c1f
+Size (libchewing-0.5.1.tar.bz2) = 3141084 bytes
diff -r 944e326a1264 -r e51cb66ffe17 inputmethod/libchewing/patches/patch-configure
--- a/inputmethod/libchewing/patches/patch-configure    Sat Feb 20 21:20:22 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,49 +0,0 @@
-$NetBSD: patch-configure,v 1.2 2014/08/02 04:54:07 obache Exp $
-
-* test(1) portability fix
-  https://github.com/chewing/libchewing/pull/158
-
---- configure.orig     2014-04-11 01:49:45.000000000 +0000
-+++ configure
-@@ -13212,7 +13212,7 @@ else
-   with_sqlite3=yes
- fi
- 
-- if test x"$with_sqlite3" == x"yes"; then
-+ if test x"$with_sqlite3" = x"yes"; then
-   WITH_SQLITE3_TRUE=
-   WITH_SQLITE3_FALSE='#'
- else
-@@ -13229,7 +13229,7 @@ else
-   with_internal_sqlite3=no
- fi
- 
-- if test x"$with_internal_sqlite3" == x"yes"; then
-+ if test x"$with_internal_sqlite3" = x"yes"; then
-   WITH_INTERNAL_SQLITE3_TRUE=
-   WITH_INTERNAL_SQLITE3_FALSE='#'
- else
-@@ -13239,12 +13239,12 @@ fi
- 
- 
- # for sqlite
--if test x"$with_sqlite3" == x"yes"; then :
-+if test x"$with_sqlite3" = x"yes"; then :
- 
- 
- $as_echo "#define WITH_SQLITE3 1" >>confdefs.h
- 
--       if test x"$with_internal_sqlite3" == x"no"; then :
-+       if test x"$with_internal_sqlite3" = x"no"; then :
- 
-               { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sqlite3_open" >&5
- $as_echo_n "checking for library containing sqlite3_open... " >&6; }
-@@ -14065,7 +14065,7 @@ CC_FOR_BUILD=${CC_FOR_BUILD-${CC}}
- AM_CFLAGS="$AM_CFLAGS -Wall $CFLAGS"
- 
- # Add '_GNU_SOURCE' for asprintf
--if test x$ac_cv_func_asprintf == xyes; then :
-+if test x$ac_cv_func_asprintf = xyes; then :
-   DEFAULT_CPPFLAGS="$DEFAULT_CPPFLAGS -D_GNU_SOURCE"
- fi
- 
diff -r 944e326a1264 -r e51cb66ffe17 inputmethod/libchewing/patches/patch-configure.ac
--- a/inputmethod/libchewing/patches/patch-configure.ac Sat Feb 20 21:20:22 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,39 +0,0 @@
-$NetBSD: patch-configure.ac,v 1.2 2014/08/02 04:54:07 obache Exp $
-
-* test(1) portability fix
-  https://github.com/chewing/libchewing/pull/158
-
---- configure.ac.orig  2014-04-11 01:24:52.000000000 +0000
-+++ configure.ac
-@@ -79,18 +79,18 @@ AC_ARG_WITH([sqlite3],
-             AS_HELP_STRING([--with-sqlite3], [Use sqlite3 to store userphrase @<:@default=yes@:>@]),
-             [],
-             [with_sqlite3=yes])
--AM_CONDITIONAL([WITH_SQLITE3], [test x"$with_sqlite3" == x"yes"])
-+AM_CONDITIONAL([WITH_SQLITE3], [test x"$with_sqlite3" = x"yes"])
- 
- AC_ARG_WITH([internal-sqlite3],
-             AS_HELP_STRING([--with-internal-sqlite3], [Use internal sqlite3 instead of system-wide @<:@default=no@:>@]),
-             [],
-             [with_internal_sqlite3=no])
--AM_CONDITIONAL([WITH_INTERNAL_SQLITE3], [test x"$with_internal_sqlite3" == x"yes"])
-+AM_CONDITIONAL([WITH_INTERNAL_SQLITE3], [test x"$with_internal_sqlite3" = x"yes"])
- 
- # for sqlite
--AS_IF([test x"$with_sqlite3" == x"yes"], [
-+AS_IF([test x"$with_sqlite3" = x"yes"], [
-        AC_DEFINE([WITH_SQLITE3], [1], [Use sqlite3 to store userphrase])
--       AS_IF([test x"$with_internal_sqlite3" == x"no"],
-+       AS_IF([test x"$with_internal_sqlite3" = x"no"],
-              [
-               AC_SEARCH_LIBS([sqlite3_open], [sqlite3],
-                              [AS_IF([test x$ac_cv_search_sqlite3_open != x"none required"],
-@@ -126,7 +126,7 @@ AC_SUBST(CC_FOR_BUILD)
- AM_CFLAGS="$AM_CFLAGS -Wall $CFLAGS"
- 
- # Add '_GNU_SOURCE' for asprintf
--AS_IF([test x$ac_cv_func_asprintf == xyes],
-+AS_IF([test x$ac_cv_func_asprintf = xyes],
-       [DEFAULT_CPPFLAGS="$DEFAULT_CPPFLAGS -D_GNU_SOURCE"])
- 
- AX_WITH_CURSES


Home | Main Index | Thread Index | Old Index