From root@chinsan.twbbs.org  Thu May  5 09:29:05 2005
Return-Path: <root@chinsan.twbbs.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id 81D3D16A4CE; Thu,  5 May 2005 09:29:05 +0000 (GMT)
Received: from chinsan.twbbs.org (sw169-31-180.adsl.seed.net.tw [221.169.31.180])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id B3C4043D73; Thu,  5 May 2005 09:29:04 +0000 (GMT)
	(envelope-from root@chinsan.twbbs.org)
Received: from chinsan.twbbs.org (localhost [127.0.0.1])
	by chinsan.twbbs.org (8.13.1/8.13.1) with ESMTP id j459T4Hu016451;
	Thu, 5 May 2005 17:29:04 +0800 (CST)
	(envelope-from root@chinsan.twbbs.org)
Received: (from root@localhost)
	by chinsan.twbbs.org (8.13.1/8.13.1/Submit) id j459T3Wa016450;
	Thu, 5 May 2005 17:29:03 +0800 (CST)
	(envelope-from root)
Message-Id: <200505050929.j459T3Wa016450@chinsan.twbbs.org>
Date: Thu, 5 May 2005 17:29:03 +0800 (CST)
From: chinsan <chinsan@mail2000.com.tw>
Reply-To: chinsan <chinsan@mail2000.com.tw>
To: FreeBSD-gnats-submit@freebsd.org
Cc: statue@freebsd.netlab.cse.yzu.edu.tw, statue@webbbs.yzu.edu.tw,
	vanilla@freebsd.org
Subject: [UPDATE] chinese/gcin: update to 0.9.3
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         80651
>Category:       ports
>Synopsis:       [UPDATE] chinese/gcin: update to 0.9.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    vanilla
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 05 09:30:02 GMT 2005
>Closed-Date:    Thu May 05 13:52:33 GMT 2005
>Last-Modified:  Thu May 05 13:52:33 GMT 2005
>Originator:     chinsan
>Release:        FreeBSD 5.3-RELEASE i386
>Organization:
>Environment:
System: FreeBSD chinsan.twbbs.org 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
	- update to 0.9.3(which add ``simplex'' new input method)
	- add pkg-message about gcin MINI-HOWTO
	- add feedback URL into ``about'' dialog
	- fix pkg-plist to make deinstall happy
	- port maintainer(statue@freebsd.netlab.cse.yzu.edu.tw) is CC'd

>How-To-Repeat:
>Fix:


--- NEW.gcin.0.9.3.patch begins here ---
diff -ruN gcin.orig/Makefile gcin/Makefile
--- gcin.orig/Makefile	Fri Apr 29 21:58:52 2005
+++ gcin/Makefile	Thu May  5 12:16:10 2005
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	gcin
-PORTVERSION=	0.9.2
+PORTVERSION=	0.9.3
 CATEGORIES=	chinese
 MASTER_SITES=	http://www.csie.nctu.edu.tw/~cp76/gcin/download/
 
@@ -24,5 +24,11 @@
 .if ${OSVERSION} <= 500034
 USE_GCC=	3.4
 .endif
+
+post-install:
+	@${CAT} ${PKGMESSAGE}
+	@${ECHO}
+	@${ECHO} To display this message again, type \`pkg_info -D ${PKGNAME}\'
+	@${ECHO}
 
 .include <bsd.port.post.mk>
diff -ruN gcin.orig/distinfo gcin/distinfo
--- gcin.orig/distinfo	Fri Apr 29 21:58:52 2005
+++ gcin/distinfo	Thu May  5 10:41:26 2005
@@ -1,2 +1,2 @@
-MD5 (gcin-0.9.2.tar.bz2) = d1b26b72f3fb6fbfb286cc64d5992ef9
-SIZE (gcin-0.9.2.tar.bz2) = 1109165
\ No newline at end of file
+MD5 (gcin-0.9.3.tar.bz2) = 6fc8be96ee415af8496fb4e4e5cfbaa0
+SIZE (gcin-0.9.3.tar.bz2) = 1168314
diff -ruN gcin.orig/files/patch-about.c gcin/files/patch-about.c
--- gcin.orig/files/patch-about.c	Thu Jan  1 08:00:00 1970
+++ gcin/files/patch-about.c	Thu May  5 11:42:04 2005
@@ -0,0 +1,20 @@
+--- about.c.orig	Thu May  5 11:32:39 2005
++++ about.c	Thu May  5 11:41:34 2005
+@@ -69,10 +69,16 @@
+     gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 3);
+ 
+     GtkWidget *separator = gtk_hseparator_new ();
++    GtkWidget *vseparator = gtk_vseparator_new ();
+     gtk_box_pack_start(GTK_BOX(vbox), separator, FALSE, FALSE, 3);
+ 
+-    GtkWidget *label_sf = gtk_label_new ("http://www.csie.nctu.edu.tw/~cp76/gcin");
++    GtkWidget *label_sf = gtk_label_new ("gcin WWW:\nhttp://www.csie.nctu.edu.tw/~cp76/gcin");
++    gtk_misc_set_alignment (GTK_MISC (label_sf), 0, 0);
++    GtkWidget *label_FreeBSD = gtk_label_new ("FeeeBack:\nhttp://cle.linux.org.tw/gcin/");
++    gtk_misc_set_alignment (GTK_MISC (label_FreeBSD), 0, 0);
+     gtk_box_pack_start(GTK_BOX(vbox), label_sf, FALSE, FALSE, 0);
++    gtk_box_pack_start(GTK_BOX(vbox), vseparator, FALSE, FALSE, 3);
++    gtk_box_pack_start(GTK_BOX(vbox), label_FreeBSD, FALSE, FALSE, 0);
+ 
+ 
+     /* Now on to the image stuff */
diff -ruN gcin.orig/pkg-message gcin/pkg-message
--- gcin.orig/pkg-message	Thu Jan  1 08:00:00 1970
+++ gcin/pkg-message	Thu May  5 11:29:18 2005
@@ -0,0 +1,25 @@
+--------------------------------------------------------------------
+Remember to set environment varible:
+
+  (csh/tcsh) 				(sh/bash)
+  setenv XMODIFIERS @im=xcin		export XMODIFIERS='@im=xcin'
+  setenv GTK_IM_MODULE xim		export GTK_IM_MODULE=xim
+  setenv QT_IM_SWITCHER imsw-multi	export QT_IM_SWITCHER=imsw-multi
+  setenv QT_IM_MODULE xim		export QT_IM_MODULE=xim
+
+and set LANG, LC_CTYPE to one of zh_TW.UTF-8, zh_TW.Big5 value:
+  	(csh/tcsh)			(sh/bash)
+Big5:  	setenv LC_CTYPE zh_TW.Big5	export LC_CTYPE=zh_TW.Big5
+  	setenv LANG zh_TW.Big5		export LANG=zh_TW.Big5
+or
+UTF-8:
+	setenv LC_CTYPE zh_TW.UTF-8	export LC_CTYPE=zh_TW.UTF-8
+	setenv LANG zh_TW.UTF-8		export LANG=zh_TW.UTF-8
+
+Finally, to start the GCIN input method daemon, use command:
+
+  exec gcin &
+
+If you get problem with gcin, please visit http://cle.linux.org.tw/gcin/
+Happy Gcining...:-)
+--------------------------------------------------------------------
diff -ruN gcin.orig/pkg-plist gcin/pkg-plist
--- gcin.orig/pkg-plist	Fri Apr 22 23:55:09 2005
+++ gcin/pkg-plist	Thu May  5 11:49:01 2005
@@ -25,9 +25,10 @@
 %%DATADIR%%/table/hsu.kbm
 %%DATADIR%%/table/ibm.kbm
 %%DATADIR%%/table/jyutping.gtab
-%%DATADIR%%/table/phrase.table
-%%DATADIR%%/table/pho.tab
 %%DATADIR%%/table/pho-huge.tab
+%%DATADIR%%/table/pho.tab
+%%DATADIR%%/table/phrase.table
+%%DATADIR%%/table/simplex.gtab
 %%DATADIR%%/table/pinyin.gtab
 %%DATADIR%%/table/symbol-table
 %%DATADIR%%/table/tsin
@@ -41,11 +42,11 @@
 share/icons/gcin.png
 share/icons/gcin/pin-fixed24.png
 share/icons/gcin/pin-float16.png
-@dirrm %%DOCSDIR%%
-@dirrm share/icons/gcin
+@unexec rmdir %D/%%DOCSDIR%%  2>/dev/null || true
+@unexec rmdir %D/share/icons/gcin  2>/dev/null || true
 @unexec rmdir %D/share/applications 2>/dev/null || true
 @unexec rmdir %D/share/icons 2>/dev/null || true
-@dirrm %%DATADIR%%/table
-@dirrm %%DATADIR%%/script
-@dirrm %%DATADIR%%
+@unexec rmdir %D/%%DATADIR%%/table 2>/dev/null || true
+@unexec rmdir %D/%%DATADIR%%/script 2>/dev/null || true
+@unexec rmdir %D/%%DATADIR%% 2>/dev/null || true
 @unexec rmdir %D/lib/gtk-2.0/immodules 2>/dev/null || true
--- NEW.gcin.0.9.3.patch ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->vanilla 
Responsible-Changed-By: vanilla 
Responsible-Changed-When: Thu May 5 09:48:48 GMT 2005 
Responsible-Changed-Why:  
I will handle this one. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=80651 
State-Changed-From-To: open->closed 
State-Changed-By: vanilla 
State-Changed-When: Thu May 5 13:52:25 GMT 2005 
State-Changed-Why:  
Committed, thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=80651 
>Unformatted:
