From phj@cn.FreeBSD.org  Fri Sep  8 03:12:55 2000
Return-Path: <phj@cn.FreeBSD.org>
Received: from cn.FreeBSD.org (cn.freebsd.org [202.103.100.254])
	by hub.freebsd.org (Postfix) with ESMTP id C957037B424
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  8 Sep 2000 03:12:53 -0700 (PDT)
Received: (from phj@localhost)
	by cn.FreeBSD.org (8.9.3/8.9.2) id SAA39573;
	Fri, 8 Sep 2000 18:12:45 +0800 (CST)
	(envelope-from phj)
Message-Id: <200009081012.SAA39573@cn.FreeBSD.org>
Date: Fri, 8 Sep 2000 18:12:45 +0800 (CST)
From: phj@cn.freebsd.org
Reply-To: phj@cn.freebsd.org
To: FreeBSD-gnats-submit@freebsd.org
Subject: New Port,chinese GB,BIG5,input server.
X-Send-Pr-Version: 3.2

>Number:         21109
>Category:       ports
>Synopsis:       New Port,A Chinese GB,BIG5,Japanese input server,support XIM.
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    vanilla
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 08 03:20:01 PDT 2000
>Closed-Date:    Mon Sep 11 20:37:42 PDT 2000
>Last-Modified:  Mon Sep 11 20:38:50 PDT 2000
>Originator:     Peng HaiJie
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
cn.FreeBSD.org
>Environment:
FreeBSD sea.transfar.com 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Wed Aug 16 09:38:39 CST 2000     phj@sea.transfar.com:/usr/src/sys/compile/KERNEL.20000816  i386

>Description:
	input server which support XIM protocol,ported from linux version.

>How-To-Repeat:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	chinput
#	chinput/pkg
#	chinput/pkg/COMMENT
#	chinput/pkg/DESCR
#	chinput/pkg/PLIST
#	chinput/patches
#	chinput/files
#	chinput/files/md5
#	chinput/Makefile
#
echo c - chinput
mkdir -p chinput > /dev/null 2>&1
echo c - chinput/pkg
mkdir -p chinput/pkg > /dev/null 2>&1
echo x - chinput/pkg/COMMENT
sed 's/^X//' >chinput/pkg/COMMENT << 'END-of-chinput/pkg/COMMENT'
XChinese GB2312,BIG5,Japanese code input server.
END-of-chinput/pkg/COMMENT
echo x - chinput/pkg/DESCR
sed 's/^X//' >chinput/pkg/DESCR << 'END-of-chinput/pkg/DESCR'
XPorted from Chinput-2.1 on Linux platform .
X
XChinese GB,BIG5,Japanese code input server.
X
X-- Peng HaiJie (phj@cn.freebsd.org)
END-of-chinput/pkg/DESCR
echo x - chinput/pkg/PLIST
sed 's/^X//' >chinput/pkg/PLIST << 'END-of-chinput/pkg/PLIST'
X@name zh-chinput-2.1
X@cwd /usr/local
Xbin/chinput
Xbin/txt2tab
Xbin/tab2txt
Xshare/chinput/pinyin.map
Xshare/chinput/usrphrase.tab
Xshare/chinput/sysphrase.tab
Xshare/chinput/Chinput.ad
Xshare/chinput/Table.cit
Xshare/chinput/doc/CHANGES
Xshare/chinput/doc/API
Xshare/chinput/doc/BUGS
Xshare/chinput/doc/COPYING
Xshare/chinput/doc/FAQ
Xshare/chinput/doc/INSTALL
Xshare/chinput/doc/README
Xshare/chinput/doc/README.znpy
Xshare/chinput/doc/USAGE
Xshare/chinput/doc/TODO
Xshare/chinput/doc/Makefile
X@dirrm share/chinput/doc
X@dirrm share/chinput
END-of-chinput/pkg/PLIST
echo c - chinput/patches
mkdir -p chinput/patches > /dev/null 2>&1
echo c - chinput/files
mkdir -p chinput/files > /dev/null 2>&1
echo x - chinput/files/md5
sed 's/^X//' >chinput/files/md5 << 'END-of-chinput/files/md5'
XMD5 (zh-chinput-2.1.tar.gz) = be3603854ef3f90aa7e3bcbb98a48080
END-of-chinput/files/md5
echo x - chinput/Makefile
sed 's/^X//' >chinput/Makefile << 'END-of-chinput/Makefile'
X# ex:ts=8
X# Ports collection makefile for:  chinput
X# Date created:			  09/07/2000
X# Whom:				  Peng HaiJie	(phj@cn.freebsd.org)
X#
X# $FreeBSD$
X#
X
XPORTNAME=	chinput
XPORTVERSION=	2.1
XCATEGORIES=	chinese x11
XMASTER_SITES=	ftp://ftp.cn.freebsd.org/pub/ported/
X
XDISTNAME=	zh-chinput-2.1
X
XMAINTAINER=	phj@cn.FreeBSD.org
X
XRUN_DEPENDS=	cxterm:${PORTSDIR}/chinese/cxterm
X
XWRKSRC=		${WRKDIR}/${PORTNAME}
X
X.include <bsd.port.mk>
END-of-chinput/Makefile
exit


>Fix:
>Release-Note:
>Audit-Trail:

From: Peng HaiJie <phj@cn.freebsd.org>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: ports/21109: New Port,A Chinese GB,BIG5,Japanese input 
 server,support XIM.
Date: Tue, 12 Sep 2000 10:15:49 +0800

 patch of src/HZpyInput.c
 
     *** src/HZpyInput.c.orig    Tue Sep 12 08:23:19 2000
     --- src/HZpyInput.c Tue Sep 12 08:11:45 2000
     ***************
     *** 47,56 ****
       #include <stdio.h>
       #include <signal.h>
       #include <stdarg.h>
       #include <sys/ipc.h>
       #include <sys/shm.h>
       #include <sys/param.h>
     - #include <sys/types.h>
       #include <sys/stat.h>
 
 
     --- 47,56 ----
       #include <stdio.h>
       #include <signal.h>
       #include <stdarg.h>
     + #include <sys/types.h>
       #include <sys/ipc.h>
       #include <sys/shm.h>
       #include <sys/param.h>
       #include <sys/stat.h>
 
 
Responsible-Changed-From-To: freebsd-ports->vanilla 
Responsible-Changed-By: vanilla 
Responsible-Changed-When: Mon Sep 11 20:04:00 PDT 2000 
Responsible-Changed-Why:  
I will take this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=21109 
State-Changed-From-To: open->closed 
State-Changed-By: vanilla 
State-Changed-When: Mon Sep 11 20:37:42 PDT 2000 
State-Changed-Why:  
Committed, thanks. 

I remove RUN_DEPENDS line, 
because chinput is XIM server, it don't need to depend to any 
X terminal program. 

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