Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Mar 2009 15:41:17 +0800 (CST)
From:      Hsin-Han You <hhyou@cs.nctu.edu.tw>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        clsung@FreeBSD.org
Subject:   ports/132318: [PATCH] chinese/libchewing: update to 0.3.2
Message-ID:  <200903050741.n257fHBi075843@vega.cs.nctu.edu.tw>
Resent-Message-ID: <200903050800.n2580Dij077467@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         132318
>Category:       ports
>Synopsis:       [PATCH] chinese/libchewing: update to 0.3.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 05 08:00:13 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Hsin-Han You
>Release:        FreeBSD 7.1-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD vega.cs.nctu.edu.tw 7.1-RELEASE-p2 FreeBSD 7.1-RELEASE-p2 #0: Mon Feb  2 10:53:19 UTC
>Description:
- Update to 0.3.2

Removed file(s):
- files/patch-configure
- files/patch-src-char.c
- files/patch-src-dict.c

Port maintainer (clsung@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- libchewing-0.3.2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/chinese/libchewing/Makefile,v
retrieving revision 1.12
diff -u -u -r1.12 Makefile
--- Makefile	25 Jul 2008 14:34:12 -0000	1.12
+++ Makefile	5 Mar 2009 07:41:08 -0000
@@ -6,14 +6,14 @@
 #
 
 PORTNAME=	libchewing
-PORTVERSION=	0.3.0
-PORTREVISION=	1
+PORTVERSION=	0.3.2
 CATEGORIES=	chinese textproc
 MASTER_SITES=	http://chewing.csie.net/download/libchewing/
 
 MAINTAINER=	clsung@FreeBSD.org
 COMMENT=	The Chewing intelligent phonetic input method library
 
+USE_BZIP2=	yes
 USE_GNOME=	gnomehack pkgconfig
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/chinese/libchewing/distinfo,v
retrieving revision 1.5
diff -u -u -r1.5 distinfo
--- distinfo	16 May 2006 02:50:15 -0000	1.5
+++ distinfo	5 Mar 2009 07:41:08 -0000
@@ -1,3 +1,3 @@
-MD5 (libchewing-0.3.0.tar.gz) = d60bdc2b3f81b70963cd01a93049a8e3
-SHA256 (libchewing-0.3.0.tar.gz) = f7247eb82af9ba67c03964153a6df3694568358d9161c4a60b03aec5c1f0d98c
-SIZE (libchewing-0.3.0.tar.gz) = 2172069
+MD5 (libchewing-0.3.2.tar.bz2) = ef70745ffdf199aa17e533427c63499f
+SHA256 (libchewing-0.3.2.tar.bz2) = 056327f562b4cc2b95f7c5bb409398c0dfe58f3b5b6861bc6d2768776e170f15
+SIZE (libchewing-0.3.2.tar.bz2) = 1802842
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/chinese/libchewing/pkg-plist,v
retrieving revision 1.4
diff -u -u -r1.4 pkg-plist
--- pkg-plist	16 May 2006 02:50:15 -0000	1.4
+++ pkg-plist	5 Mar 2009 07:41:08 -0000
@@ -1,24 +1,20 @@
-include/chewing/char.h
 include/chewing/chewing.h
 include/chewing/chewingio.h
-include/chewing/chewing-utf8-util.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/libchewing.so
 lib/libchewing.so.3
 libdata/pkgconfig/chewing.pc
-%%DATADIR%%/ch_index.dat
+%%DATADIR%%/ch_index_begin.dat
+%%DATADIR%%/ch_index_phone.dat
 %%DATADIR%%/dict.dat
 %%DATADIR%%/fonetree.dat
 %%DATADIR%%/ph_index.dat
 %%DATADIR%%/pinyin.tab
+%%DATADIR%%/swkb.dat
+%%DATADIR%%/symbols.dat
 %%DATADIR%%/us_freq.dat
 @dirrm include/chewing
 @dirrm %%DATADIR%%
Index: files/patch-configure
===================================================================
RCS file: files/patch-configure
diff -N files/patch-configure
--- files/patch-configure	6 Feb 2006 14:37:08 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,10 +0,0 @@
---- configure.orig	Mon Aug  8 23:54:12 2005
-+++ configure	Mon Feb  6 14:36:19 2006
-@@ -24667,6 +24667,7 @@
- s,@LIBOBJS@,$LIBOBJS,;t t
- s,@LIBDEBUG@,$LIBDEBUG,;t t
- s,@LTLIBOBJS@,$LTLIBOBJS,;t t
-+s,@LIBTOOL_EXPORT_OPTIONS@,$LIBTOOL_EXPORT_OPTIONS,;t t
- CEOF
- 
- _ACEOF
Index: files/patch-src-char.c
===================================================================
RCS file: files/patch-src-char.c
diff -N files/patch-src-char.c
--- files/patch-src-char.c	20 May 2006 16:23:34 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,11 +0,0 @@
---- src/char.c.orig	Mon May 15 14:49:43 2006
-+++ src/char.c	Sun May 21 00:14:41 2006
-@@ -126,7 +126,7 @@
- 
- 	fgettab( buf, 1000, dictfile );
- 	/* only read 6 bytes to wrd_ptr->word avoid buffer overflow */
--	sscanf( buf, "%hu %6s", &sh, wrd_ptr->word );
-+	sscanf( buf, "%hu %6[^ ]", &sh, wrd_ptr->word );
- 	assert( wrd_ptr->word != NULL );
- }
- 
Index: files/patch-src-dict.c
===================================================================
RCS file: files/patch-src-dict.c
diff -N files/patch-src-dict.c
--- files/patch-src-dict.c	20 May 2006 16:23:34 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,11 +0,0 @@
---- src/dict.c.orig	Mon May 15 14:49:43 2006
-+++ src/dict.c	Sun May 21 00:14:29 2006
-@@ -101,7 +101,7 @@
- 	char buf[ 1000 ];
- 
- 	fgettab( buf, 1000, dictfile );
--	sscanf( buf, "%s %d", phr_ptr->phrase, &( phr_ptr->freq ) );
-+	sscanf( buf, "%[^ ] %d", phr_ptr->phrase, &( phr_ptr->freq ) );
- }
- 
- int GetPhraseFirst( Phrase *phr_ptr, int phone_phr_id )
--- libchewing-0.3.2.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903050741.n257fHBi075843>