diff --git a/chinese/libchewing/Makefile b/chinese/libchewing/Makefile index 7a0862d8963..43433c2b293 100644 --- a/chinese/libchewing/Makefile +++ b/chinese/libchewing/Makefile @@ -1,8 +1,8 @@ -# $OpenBSD: Makefile,v 1.1.1.1 2008/10/04 09:16:11 kevlo Exp $ +# $OpenBSD: Makefile,v 1.2 2009/01/09 07:33:51 kevlo Exp $ COMMENT= intelligent phonetic input method library -DISTNAME= libchewing-0.3.1 +DISTNAME= libchewing-0.3.2 PKGNAME= zh-${DISTNAME} SHARED_LIBS= chewing 0.0 # .3.1 diff --git a/chinese/libchewing/distinfo b/chinese/libchewing/distinfo index 99fb21834b9..396ba9cd4c5 100644 --- a/chinese/libchewing/distinfo +++ b/chinese/libchewing/distinfo @@ -1,5 +1,5 @@ -MD5 (libchewing-0.3.1.tar.bz2) = GHR0ADj6obSF0UhMBUq/Kg== -RMD160 (libchewing-0.3.1.tar.bz2) = kDhpALnxNze0zToHsDsCxt6HnIg= -SHA1 (libchewing-0.3.1.tar.bz2) = AdawiInjKL6s809lXhGkFX0Lg9M= -SHA256 (libchewing-0.3.1.tar.bz2) = jAyKCFmmqbtevGybQQ7ovM/6ffnOQNlUPvcZCBnNHIk= -SIZE (libchewing-0.3.1.tar.bz2) = 1747544 +MD5 (libchewing-0.3.2.tar.bz2) = 73B0X/3xmaoX5TNCfGNJnw== +RMD160 (libchewing-0.3.2.tar.bz2) = LKEYA/pPFj+QQyBIXShRQpZ6cGQ= +SHA1 (libchewing-0.3.2.tar.bz2) = I+sJqxfEMs77jPQsdYEGtxtQ1V8= +SHA256 (libchewing-0.3.2.tar.bz2) = BWMn9WK0zCuV98W7QJOYwN/ljztbaGG8bSdod24XDxU= +SIZE (libchewing-0.3.2.tar.bz2) = 1802842 diff --git a/chinese/libchewing/patches/patch-configure b/chinese/libchewing/patches/patch-configure index 8fc72326767..fb834681eac 100644 --- a/chinese/libchewing/patches/patch-configure +++ b/chinese/libchewing/patches/patch-configure @@ -1,7 +1,7 @@ -$OpenBSD: patch-configure,v 1.1.1.1 2008/10/04 09:16:11 kevlo Exp $ ---- configure.orig Wed Oct 1 16:48:55 2008 -+++ configure Fri Oct 3 15:25:55 2008 -@@ -12615,48 +12615,8 @@ echo "${ECHO_T}no" >&6; } +$OpenBSD: patch-configure,v 1.2 2009/01/09 07:33:51 kevlo Exp $ +--- configure.orig Sat Dec 13 18:12:31 2008 ++++ configure Sat Dec 13 18:15:09 2008 +@@ -12622,48 +12622,7 @@ echo "${ECHO_T}no" >&6; } fi pkg_failed=no @@ -13,12 +13,12 @@ $OpenBSD: patch-configure,v 1.1.1.1 2008/10/04 09:16:11 kevlo Exp $ - pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS" - else - if test -n "$PKG_CONFIG" && \ -- { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\"") >&5 -- ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5 +- { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"check >= \$CHECK_REQUIRED_VERSION\"") >&5 +- ($PKG_CONFIG --exists --print-errors "check >= $CHECK_REQUIRED_VERSION") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then -- pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.4" 2>/dev/null` +- pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= $CHECK_REQUIRED_VERSION" 2>/dev/null` -else - pkg_failed=yes -fi @@ -31,12 +31,12 @@ $OpenBSD: patch-configure,v 1.1.1.1 2008/10/04 09:16:11 kevlo Exp $ - pkg_cv_CHECK_LIBS="$CHECK_LIBS" - else - if test -n "$PKG_CONFIG" && \ -- { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\"") >&5 -- ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5 +- { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"check >= \$CHECK_REQUIRED_VERSION\"") >&5 +- ($PKG_CONFIG --exists --print-errors "check >= $CHECK_REQUIRED_VERSION") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then -- pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.4" 2>/dev/null` +- pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= $CHECK_REQUIRED_VERSION" 2>/dev/null` -else - pkg_failed=yes -fi @@ -44,13 +44,13 @@ $OpenBSD: patch-configure,v 1.1.1.1 2008/10/04 09:16:11 kevlo Exp $ -else - pkg_failed=untried -fi - +- - - if test $pkg_failed = yes; then if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then -@@ -12680,9 +12640,7 @@ elif test $pkg_failed = untried; then +@@ -12687,9 +12646,7 @@ elif test $pkg_failed = untried; then else CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS CHECK_LIBS=$pkg_cv_CHECK_LIBS @@ -59,5 +59,5 @@ $OpenBSD: patch-configure,v 1.1.1.1 2008/10/04 09:16:11 kevlo Exp $ - enable_check=yes + enable_check=no fi - if test $enable_check = "yes"; then + if test x$enable_check = "xyes"; then ENABLE_UNIT_TEST_TRUE= diff --git a/chinese/libchewing/pkg/PLIST b/chinese/libchewing/pkg/PLIST index e56d780a431..768d4f97cf1 100644 --- a/chinese/libchewing/pkg/PLIST +++ b/chinese/libchewing/pkg/PLIST @@ -1,23 +1,17 @@ -@comment $OpenBSD: PLIST,v 1.1.1.1 2008/10/04 09:16:11 kevlo Exp $ +@comment $OpenBSD: PLIST,v 1.2 2009/01/09 07:33:51 kevlo Exp $ %%SHARED%% include/chewing/ -include/chewing/char.h -include/chewing/chewing-utf8-util.h include/chewing/chewing.h include/chewing/chewingio.h -include/chewing/dict.h include/chewing/global.h -include/chewing/hanyupinyin.h -include/chewing/hash.h include/chewing/mod_aux.h -include/chewing/userphrase.h -include/chewing/zuin.h lib/libchewing.a lib/libchewing.la lib/pkgconfig/ lib/pkgconfig/chewing.pc share/chewing/ -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