diff --git a/inputmethod/libchewing/Makefile b/inputmethod/libchewing/Makefile index 1e237b10f24f..8e7121fafa2c 100644 --- a/inputmethod/libchewing/Makefile +++ b/inputmethod/libchewing/Makefile @@ -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 diff --git a/inputmethod/libchewing/distinfo b/inputmethod/libchewing/distinfo index e4938207a8d9..796b69e6c431 100644 --- a/inputmethod/libchewing/distinfo +++ b/inputmethod/libchewing/distinfo @@ -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 --git a/inputmethod/libchewing/patches/patch-configure b/inputmethod/libchewing/patches/patch-configure deleted file mode 100644 index 297e9b6092f5..000000000000 --- a/inputmethod/libchewing/patches/patch-configure +++ /dev/null @@ -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 --git a/inputmethod/libchewing/patches/patch-configure.ac b/inputmethod/libchewing/patches/patch-configure.ac deleted file mode 100644 index e88682a0cde1..000000000000 --- a/inputmethod/libchewing/patches/patch-configure.ac +++ /dev/null @@ -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