Sat Aug 10 09:31:37 2013 UTC ()
Update scim-chewing to 0.3.5.

What's New in SCIM-chewing 0.3.5
---------------------------------------------------------
* Gtk+ 3.x support
* Handle translated Chi-Eng mode switch properly
* Fix incorrect color cand problem
* Support THL (Taiwan Huayu Luomapinyin) and MPS2 Pinyin keyboard


(obache)
diff -r1.22 -r1.23 pkgsrc/inputmethod/scim-chewing/Makefile
diff -r1.2 -r1.3 pkgsrc/inputmethod/scim-chewing/distinfo
diff -r0 -r1.1 pkgsrc/inputmethod/scim-chewing/patches/patch-configure
diff -r0 -r1.1 pkgsrc/inputmethod/scim-chewing/patches/patch-configure.ac

cvs diff -r1.22 -r1.23 pkgsrc/inputmethod/scim-chewing/Makefile (expand / switch to unified diff)

--- pkgsrc/inputmethod/scim-chewing/Makefile 2013/08/10 07:11:02 1.22
+++ pkgsrc/inputmethod/scim-chewing/Makefile 2013/08/10 09:31:37 1.23
@@ -1,27 +1,26 @@ @@ -1,27 +1,26 @@
1# $NetBSD: Makefile,v 1.22 2013/08/10 07:11:02 obache Exp $ 1# $NetBSD: Makefile,v 1.23 2013/08/10 09:31:37 obache Exp $
2# 2#
3 3
4DISTNAME= scim-chewing-0.3.4 4DISTNAME= scim-chewing-0.3.5
5PKGREVISION= 12 
6CATEGORIES= inputmethod 5CATEGORIES= inputmethod
7MASTER_SITES= http://chewing.googlecode.com/files/ 6MASTER_SITES= http://chewing.googlecode.com/files/
8EXTRACT_SUFX= .tar.bz2 7EXTRACT_SUFX= .tar.bz2
9 8
10MAINTAINER= obache@NetBSD.org 9MAINTAINER= obache@NetBSD.org
11HOMEPAGE= http://chewing.im/ 10HOMEPAGE= http://chewing.im/
12COMMENT= SCIM IMEngine module for Chewing input method 11COMMENT= SCIM IMEngine module for Chewing input method
13LICENSE= gnu-gpl-v2 12LICENSE= gnu-gpl-v2
14 13
15USE_LANGUAGES= c c++ 14USE_LANGUAGES= c c++
16USE_PKGLOCALEDIR= yes 15USE_PKGLOCALEDIR= yes
17USE_LIBTOOL= yes 16USE_LIBTOOL= yes
18USE_TOOLS+= gmake msgfmt pkg-config intltool 17USE_TOOLS+= gmake msgfmt pkg-config intltool
19GNU_CONFIGURE= yes 18GNU_CONFIGURE= yes
20 19
21USE_SCIM_GTKUTILS= yes 20USE_SCIM_GTKUTILS= yes
22 21
23.include "../../devel/gettext-lib/buildlink3.mk" 22.include "../../devel/gettext-lib/buildlink3.mk"
24BUILDLINK_API_DEPENDS.libchewing+= libchewing>=0.3.3 23BUILDLINK_API_DEPENDS.libchewing+= libchewing>=0.3.4
25.include "../../inputmethod/libchewing/buildlink3.mk" 24.include "../../inputmethod/libchewing/buildlink3.mk"
26.include "../../inputmethod/scim/buildlink3.mk" 25.include "../../inputmethod/scim/buildlink3.mk"
27.include "../../mk/bsd.pkg.mk" 26.include "../../mk/bsd.pkg.mk"

cvs diff -r1.2 -r1.3 pkgsrc/inputmethod/scim-chewing/distinfo (expand / switch to unified diff)

--- pkgsrc/inputmethod/scim-chewing/distinfo 2011/10/08 08:25:10 1.2
+++ pkgsrc/inputmethod/scim-chewing/distinfo 2013/08/10 09:31:37 1.3
@@ -1,5 +1,7 @@ @@ -1,5 +1,7 @@
1$NetBSD: distinfo,v 1.2 2011/10/08 08:25:10 obache Exp $ 1$NetBSD: distinfo,v 1.3 2013/08/10 09:31:37 obache Exp $
2 2
3SHA1 (scim-chewing-0.3.4.tar.bz2) = f6c8d16f19f17449ee169f1ca787350353e93b05 3SHA1 (scim-chewing-0.3.5.tar.bz2) = f26ced990f0c9e5d43e271cd6e77583de81a008d
4RMD160 (scim-chewing-0.3.4.tar.bz2) = 77fefe65d26c0f3369ed7dec0c46e6e986851ab2 4RMD160 (scim-chewing-0.3.5.tar.bz2) = e174c062d9f603ab08fcffb67d273821ee0ff06c
5Size (scim-chewing-0.3.4.tar.bz2) = 374182 bytes 5Size (scim-chewing-0.3.5.tar.bz2) = 352975 bytes
 6SHA1 (patch-configure) = bc99480445633ea0d0fd7e12d17185f1eaabad9c
 7SHA1 (patch-configure.ac) = c699dfea2d256c38824c6ccd132a90f7de0ae751

File Added: pkgsrc/inputmethod/scim-chewing/patches/patch-configure
$NetBSD: patch-configure,v 1.1 2013/08/10 09:31:37 obache Exp $

* relax required chwing version

--- configure.orig	2013-08-10 09:18:56.000000000 +0000
+++ configure
@@ -19601,12 +19601,12 @@ if test -n "$CHEWING_CFLAGS"; then
     pkg_cv_CHEWING_CFLAGS="$CHEWING_CFLAGS"
  elif test -n "$PKG_CONFIG"; then
     if test -n "$PKG_CONFIG" && \
-    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"chewing = \$CHEWING_VERSION\""; } >&5
-  ($PKG_CONFIG --exists --print-errors "chewing = $CHEWING_VERSION") 2>&5
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"chewing >= \$CHEWING_VERSION\""; } >&5
+  ($PKG_CONFIG --exists --print-errors "chewing >= $CHEWING_VERSION") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
-  pkg_cv_CHEWING_CFLAGS=`$PKG_CONFIG --cflags "chewing = $CHEWING_VERSION" 2>/dev/null`
+  pkg_cv_CHEWING_CFLAGS=`$PKG_CONFIG --cflags "chewing >= $CHEWING_VERSION" 2>/dev/null`
 		      test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
@@ -19618,12 +19618,12 @@ if test -n "$CHEWING_LIBS"; then
     pkg_cv_CHEWING_LIBS="$CHEWING_LIBS"
  elif test -n "$PKG_CONFIG"; then
     if test -n "$PKG_CONFIG" && \
-    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"chewing = \$CHEWING_VERSION\""; } >&5
-  ($PKG_CONFIG --exists --print-errors "chewing = $CHEWING_VERSION") 2>&5
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"chewing >= \$CHEWING_VERSION\""; } >&5
+  ($PKG_CONFIG --exists --print-errors "chewing >= $CHEWING_VERSION") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
-  pkg_cv_CHEWING_LIBS=`$PKG_CONFIG --libs "chewing = $CHEWING_VERSION" 2>/dev/null`
+  pkg_cv_CHEWING_LIBS=`$PKG_CONFIG --libs "chewing >= $CHEWING_VERSION" 2>/dev/null`
 		      test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
@@ -19644,14 +19644,14 @@ else
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-	        CHEWING_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "chewing = $CHEWING_VERSION" 2>&1`
+	        CHEWING_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "chewing >= $CHEWING_VERSION" 2>&1`
         else
-	        CHEWING_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "chewing = $CHEWING_VERSION" 2>&1`
+	        CHEWING_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "chewing >= $CHEWING_VERSION" 2>&1`
         fi
 	# Put the nasty error message in config.log where it belongs
 	echo "$CHEWING_PKG_ERRORS" >&5
 
-	as_fn_error $? "Package requirements (chewing = $CHEWING_VERSION) were not met:
+	as_fn_error $? "Package requirements (chewing >= $CHEWING_VERSION) were not met:
 
 $CHEWING_PKG_ERRORS
 

File Added: pkgsrc/inputmethod/scim-chewing/patches/patch-configure.ac
$NetBSD: patch-configure.ac,v 1.1 2013/08/10 09:31:37 obache Exp $

* relax required chwing version

--- configure.ac.orig	2012-12-31 05:55:13.000000000 +0000
+++ configure.ac
@@ -59,7 +59,7 @@ PKG_CHECK_MODULES(SCIM_GTKUTILS,[scim-gt
 
 AC_SUBST(SCIM_VERSION)
 
-PKG_CHECK_MODULES(CHEWING, [chewing = $CHEWING_VERSION])
+PKG_CHECK_MODULES(CHEWING, [chewing >= $CHEWING_VERSION])
 AC_SUBST(CHEWING_VERSION)
 
 AM_CONDITIONAL(SCIM_BUILD_SETUP, [test "$SCIM_HAS_GTKUTILS" = "yes"])