From keith@freebsd.sinica.edu.tw Tue Nov  2 00:45:26 1999
Return-Path: <keith@freebsd.sinica.edu.tw>
Received: from freebsd.sinica.edu.tw (freebsd.sinica.edu.tw [140.109.13.51])
	by hub.freebsd.org (Postfix) with ESMTP id 163D414CAD
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  2 Nov 1999 00:45:15 -0800 (PST)
	(envelope-from keith@freebsd.sinica.edu.tw)
Received: (from keith@localhost)
	by freebsd.sinica.edu.tw (8.9.3/8.9.2) id QAA35955;
	Tue, 2 Nov 1999 16:45:16 +0800 (CST)
	(envelope-from keith)
Message-Id: <199911020845.QAA35955@freebsd.sinica.edu.tw>
Date: Tue, 2 Nov 1999 16:45:16 +0800 (CST)
From: Keith Jang <keith@ml.tw.freebsd.org>
Sender: keith@freebsd.sinica.edu.tw
Reply-To: jtjang@gcn.net.tw
To: FreeBSD-gnats-submit@freebsd.org
Subject: Update port: chinese/xcin25
X-Send-Pr-Version: 3.2

>Number:         14656
>Category:       ports
>Synopsis:       Update chinese/xcin25 to the latest version
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov  2 00:50:01 PST 1999
>Closed-Date:    Sat Nov 6 01:29:28 PST 1999
>Last-Modified:  Sat Nov  6 01:29:53 PST 1999
>Originator:     Keith Jang
>Release:        FreeBSD 3.2-STABLE i386
>Organization:
Personal use
>Environment:

FreeBSD 4.0-CURRENT #0: Mon Nov  1 14:43:52 GMT 1999

>Description:

chinese/xcin25 is out-of-date.

>How-To-Repeat:


>Fix:
	
Please commit the following patch, thanks.


--- xcin25/Makefile.orig	Tue Nov  2 16:13:31 1999
+++ xcin25/Makefile	Tue Nov  2 16:12:31 1999
@@ -1,22 +1,23 @@
 # New ports collection makefile for:	xcin25
-# Version required:	xcin-2.5.2b
+# Version required:	xcin-2.5.2b2
 # Date created:		18 Oct 1999
-# Whom:			Keith Jang <jtjang@gcn.net.tw>
+# Whom:			Keith Jang <keith@freebsd.sinica.edu.tw>
 #
 # $FreeBSD: ports/chinese/xcin25/Makefile,v 1.12 1999/10/19 08:01:36 foxfair Exp $
 #
 
-DISTNAME=	xcin-2.5-19991017
-PKGNAME=	zh-xcin-2.5.2b
+DISTNAME=	xcin-2.5-19991027
+PKGNAME=	zh-xcin-2.5.2b2
 CATEGORIES=	chinese x11
 MASTER_SITES=	ftp://xcin.linux.org.tw/pub/xcin/xcin/devel/
 
-MAINTAINER=	jtjang@gcn.net.tw
+MAINTAINER=	keith@freebsd.sinica.edu.tw
 
 LIB_DEPENDS=	tabe.0:${PORTSDIR}/chinese/libtabe \
 		intl.1:${PORTSDIR}/devel/gettext
 BUILD_DEPENDS=	${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db
-RUN_DEPENDS=	${PREFIX}/lib/X11/locale/zh_TW.Big5/XLC_LOCALE:${PORTSDIR}/x11/XFree86
+RUN_DEPENDS=	${PREFIX}/lib/X11/locale/zh_TW.Big5/XLC_LOCALE:${PORTSDIR}/x11/XFree86 \
+		${PREFIX}/lib/X11/fonts/TrueType/bsmi00lp.ttf:${PORTSDIR}/chinese/arphicttf
 
 WRKSRC=		${WRKDIR}/xcin-2.5
 USE_X_PREFIX=	yes
@@ -31,8 +32,8 @@
 		--with-intllib=${LOCALBASE}/lib
 
 post-install:
-	${STRIP} ${PREFIX}/bin/xcin2.5
-	${STRIP} ${PREFIX}/lib/X11/xcin25/bin/cin2tab
+	strip ${PREFIX}/bin/xcin2.5
+	strip ${PREFIX}/lib/X11/xcin25/bin/cin2tab
 .if !defined(NOPORTDOCS)
 	${MKDIR} ${PREFIX}/lib/X11/xcin25/doc
 	${INSTALL_MAN} ${WRKSRC}/doc/Bugs ${PREFIX}/lib/X11/xcin25/doc
@@ -52,6 +53,8 @@
 	${INSTALL_MAN} ${WRKSRC}/doc/internal/IMdkit \
 		${PREFIX}/lib/X11/xcin25/doc/internal
 	${INSTALL_MAN} ${WRKSRC}/doc/internal/gen_inp \
+		${PREFIX}/lib/X11/xcin25/doc/internal
+	${INSTALL_MAN} ${WRKSRC}/doc/internal/gui_request \
 		${PREFIX}/lib/X11/xcin25/doc/internal
 	${INSTALL_MAN} ${WRKSRC}/doc/internal/module \
 		${PREFIX}/lib/X11/xcin25/doc/internal

--- xcin25/files/md5.orig	Tue Nov  2 16:13:31 1999
+++ xcin25/files/md5	Tue Nov  2 15:50:30 1999
@@ -1 +1 @@
-MD5 (xcin-2.5-19991017.tar.gz) = e7a1d7f5c4346e12a39f551713f53f45
+MD5 (xcin-2.5-19991027.tar.gz) = f7413f95ca840624a9579b7e9a95c704

--- xcin25/patches/patch-af.orig	Thu Jan  1 00:00:00 1970
+++ xcin25/patches/patch-af	Tue Nov  2 15:57:20 1999
@@ -0,0 +1,11 @@
+--- src/Cinput/bimsphone/bimsphone.c.orig	Tue Nov  2 15:55:11 1999
++++ src/Cinput/bimsphone/bimsphone.c	Tue Nov  2 15:56:46 1999
+@@ -362,7 +362,7 @@
+ 	inpinfo->mcch[i].wch = (wchar_t)0;
+         strncpy(inpinfo->mcch[i].s, selection+(*base+i)*2, 2);
+     }
+-    inpinfo->mcch[i].wch = (wchar_t)0;
++/*    inpinfo->mcch[i].wch = (wchar_t)0; */
+     inpinfo->n_mcch = i;
+     iccf->mode &= ~(PHONE_MODE_COMPOSEDOK);
+ 

--- xcin25/pkg/PLIST.orig	Tue Nov  2 16:13:31 1999
+++ xcin25/pkg/PLIST	Tue Nov  2 16:08:56 1999
@@ -19,6 +19,7 @@
 lib/X11/xcin25/doc/UserGuide
 lib/X11/xcin25/doc/internal/IMdkit
 lib/X11/xcin25/doc/internal/gen_inp
+lib/X11/xcin25/doc/internal/gui_request
 lib/X11/xcin25/doc/internal/module
 lib/X11/xcin25/doc/internal/structer
 lib/X11/xcin25/doc/modules/bimsphone


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: vanilla 
State-Changed-When: Sat Nov 6 01:29:28 PST 1999 
State-Changed-Why:  
Commited, thanks. 
>Unformatted:
