From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Oct 13 08:00:46 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 08B8216A4D1 for ; Wed, 13 Oct 2004 08:00:46 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D1DA643D66 for ; Wed, 13 Oct 2004 08:00:45 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i9D80jfr066640 for ; Wed, 13 Oct 2004 08:00:45 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i9D80jI1066639; Wed, 13 Oct 2004 08:00:45 GMT (envelope-from gnats) Resent-Date: Wed, 13 Oct 2004 08:00:45 GMT Resent-Message-Id: <200410130800.i9D80jI1066639@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Kuang-che Wu Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 02B5516A4CE for ; Wed, 13 Oct 2004 07:58:59 +0000 (GMT) Received: from mail4out.giga.net.tw (mail4out.giga.net.tw [203.133.1.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 75FA843D3F for ; Wed, 13 Oct 2004 07:58:58 +0000 (GMT) (envelope-from kcwu@kcwu.homeip.net) Received: from kcwu.homeip.net (61-70-142-187.adsl.static.giga.net.tw [61.70.142.187]) by mail4out.giga.net.tw (Postfix) with ESMTP id 7514958D7 for ; Wed, 13 Oct 2004 16:07:07 +0800 (CST) Received: from kcwu.homeip.net (kc@kcwu.homeip.net [127.0.0.1]) by kcwu.homeip.net (8.13.1/8.13.1) with ESMTP id i9D7xDKT009808 for ; Wed, 13 Oct 2004 15:59:13 +0800 (CST) (envelope-from kcwu@kcwu.homeip.net) Received: (from kcwu@localhost) by kcwu.homeip.net (8.13.1/8.13.1/Submit) id i9D7xCBI009807; Wed, 13 Oct 2004 15:59:12 +0800 (CST) (envelope-from kcwu) Message-Id: <200410130759.i9D7xCBI009807@kcwu.homeip.net> Date: Wed, 13 Oct 2004 15:59:12 +0800 (CST) From: Kuang-che Wu To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/72627: [NEW PORT] chinese/iiimf-le-xcin: IIIMF xcin language engine, a traditional Chinese input method X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Oct 2004 08:00:46 -0000 >Number: 72627 >Category: ports >Synopsis: [NEW PORT] chinese/iiimf-le-xcin: IIIMF xcin language engine, a traditional Chinese input method >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Oct 13 08:00:45 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Kuang-che Wu >Release: FreeBSD 6.0-CURRENT i386 >Organization: >Environment: System: FreeBSD kcwu.homeip.net 6.0-CURRENT FreeBSD 6.0-CURRENT #0: Sat Sep 4 05:33:38 CST >Description: A IIIMF language engine which ported from a popular traditional chinese input method, xcin, which was written using XIM protocol. It is now includes following input methods: CangJie Simplex Phone PinYin NoTonePinYin Cantonese PinYin Array EZ Telecode WWW: http://tciiimf.sourceforge.net/ - Kuang-che Wu kcwu@csie.org Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- iiimf-le-xcin-0.1.7.shar begins here --- # 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: # # iiimf-le-xcin # iiimf-le-xcin/pkg-descr # iiimf-le-xcin/Makefile # iiimf-le-xcin/pkg-plist # iiimf-le-xcin/distinfo # iiimf-le-xcin/files # iiimf-le-xcin/files/patch-src_Makefile.am # iiimf-le-xcin/files/patch-acfiles_check_sys.m4 # echo c - iiimf-le-xcin mkdir -p iiimf-le-xcin > /dev/null 2>&1 echo x - iiimf-le-xcin/pkg-descr sed 's/^X//' >iiimf-le-xcin/pkg-descr << 'END-of-iiimf-le-xcin/pkg-descr' XA IIIMF language engine which ported from a popular traditional chinese Xinput method, xcin, which was written using XIM protocol. It is now Xincludes following input methods: X CangJie X Simplex X Phone X PinYin X NoTonePinYin X Cantonese PinYin X Array X EZ X Telecode X XWWW: http://tciiimf.sourceforge.net/ X X- Kuang-che Wu X kcwu@csie.org END-of-iiimf-le-xcin/pkg-descr echo x - iiimf-le-xcin/Makefile sed 's/^X//' >iiimf-le-xcin/Makefile << 'END-of-iiimf-le-xcin/Makefile' X# New ports collection makefile for: iiimf-le-xcin X# Date created: 2004-09-09 X# Whom: Kuang-che Wu X# X# $FreeBSD$ X# X XPORTNAME= iiimf-le-xcin XPORTVERSION= 0.1.7 XCATEGORIES= chinese textproc XMASTER_SITES= http://people.redhat.com/llch/iiimf-xcin/ XEXTRACT_SUFX= -2.src.rpm X XMAINTAINER= kcwu@csie.org XCOMMENT= IIIMF xcin language engine, a traditional Chinese input method X XEXTRACT_DEPENDS= rpm2cpio.pl:${PORTSDIR}/archivers/rpm2cpio XRUN_DEPENDS= ${LOCALBASE}/lib/im/htt:${PORTSDIR}/textproc/iiimf-server X XWRKSRC= ${WRKDIR}/iiimf-xcin XUSE_BZIP2= yes XUSE_XLIB= yes XUSE_GNOME= libxml2 XUSE_REINPLACE= yes XUSE_AUTOCONF_VER= 259 XUSE_AUTOHEADER_VER= 259 XAUTOMAKE_ARGS= --add-missing XUSE_AUTOMAKE_VER= 19 XUSE_LIBTOOL_VER= 15 XCONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} X Xdo-extract: X ${MKDIR} ${WRKDIR} X cd ${WRKDIR} && \ X ${LOCALBASE}/bin/rpm2cpio.pl ${DISTDIR}/${DISTFILES} | \ X ${CPIO} -iud X cd ${WRKDIR} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \ X ${WRKDIR}/${DISTNAME}.tar.bz2 ${EXTRACT_AFTER_ARGS} X Xpost-patch: X ${REINPLACE_CMD} -e "s,/usr/lib/im,${PREFIX}/lib/im,g" \ X ${WRKSRC}/acfiles/im_common.m4 \ X ${WRKSRC}/src/cin2tab/constant.h \ X ${WRKSRC}/src/xcin.c \ X ${WRKSRC}/src/xmlconf.c \ X ${WRKSRC}/xcin.xml.conf X Xpre-configure: X cd ${WRKSRC} && ${ACLOCAL} -I ${LOCALBASE}/share/aclocal -I acfiles X X.include END-of-iiimf-le-xcin/Makefile echo x - iiimf-le-xcin/pkg-plist sed 's/^X//' >iiimf-le-xcin/pkg-plist << 'END-of-iiimf-le-xcin/pkg-plist' Xlib/im/leif/xcin.so Xlib/im/leif/xcin.so.0 Xlib/im/locale/zh_TW/xcin/cin2tab Xlib/im/locale/zh_TW/xcin/xcin.xml.conf Xlib/im/locale/zh_TW/xcin/tab/array30.tab Xlib/im/locale/zh_TW/xcin/tab/cj.tab Xlib/im/locale/zh_TW/xcin/tab/cj5.tab Xlib/im/locale/zh_TW/xcin/tab/ez.tab Xlib/im/locale/zh_TW/xcin/tab/jyutping0.tab Xlib/im/locale/zh_TW/xcin/tab/phone.tab Xlib/im/locale/zh_TW/xcin/tab/pinyin.tab Xlib/im/locale/zh_TW/xcin/tab/pinyin0.tab Xlib/im/locale/zh_TW/xcin/tab/simplex.tab Xlib/im/locale/zh_TW/xcin/tab/simplex5.tab Xlib/im/locale/zh_TW/xcin/tab/sys.tab Xlib/im/locale/zh_TW/xcin/tab/telecode.tab X@dirrm lib/im/locale/zh_TW/xcin/tab X@dirrm lib/im/locale/zh_TW/xcin X@unexec rmdir %D/lib/im/locale/zh_TW 2>/dev/null || true X@unexec rmdir %D/lib/im/locale 2>/dev/null || true X@unexec rmdir %D/lib/im/leif 2>/dev/null || true END-of-iiimf-le-xcin/pkg-plist echo x - iiimf-le-xcin/distinfo sed 's/^X//' >iiimf-le-xcin/distinfo << 'END-of-iiimf-le-xcin/distinfo' XMD5 (iiimf-le-xcin-0.1.7-2.src.rpm) = a0a3547812a4be9571dd028870381e5f XSIZE (iiimf-le-xcin-0.1.7-2.src.rpm) = 1323099 END-of-iiimf-le-xcin/distinfo echo c - iiimf-le-xcin/files mkdir -p iiimf-le-xcin/files > /dev/null 2>&1 echo x - iiimf-le-xcin/files/patch-src_Makefile.am sed 's/^X//' >iiimf-le-xcin/files/patch-src_Makefile.am << 'END-of-iiimf-le-xcin/files/patch-src_Makefile.am' X--- src/Makefile.am.orig Thu Sep 9 18:51:35 2004 X+++ src/Makefile.am Thu Sep 9 18:52:22 2004 X@@ -5,6 +5,7 @@ X libdir = $(prefix)/lib/im/leif X X xcin_la_CFLAGS = $(SHLIBCFLAGS) \ X+ $(X_CFLAGS) \ X $(THREAD_CXX_CFLAGS) \ X -DNO_COLOR_FEEDBACK -DNO_CARET_NEGO \ X -I$(IM_INCLUDEDIR)/iml -I$(XML_CFLAGS) X@@ -13,7 +14,7 @@ X -shared -module -rpath \ X $(IM_LEIFDIR) $(SHLIBLDFLAGS) $(THREAD_LDFLAGS) X X-xcin_la_LIBADD = $(THREAD_LIBS) $(XML_LIBS) X+xcin_la_LIBADD = $(THREAD_LIBS) $(XML_LIBS) $(X_LIBS) X X xcin_la_SOURCES = xcin.c gen_inp.c charcode.c debugInfo.c keymap.c le_proc.c key_event.c define.c xmlconf.c X END-of-iiimf-le-xcin/files/patch-src_Makefile.am echo x - iiimf-le-xcin/files/patch-acfiles_check_sys.m4 sed 's/^X//' >iiimf-le-xcin/files/patch-acfiles_check_sys.m4 << 'END-of-iiimf-le-xcin/files/patch-acfiles_check_sys.m4' X--- acfiles/check_sys.m4.orig Wed Dec 10 12:42:54 2003 X+++ acfiles/check_sys.m4 Fri Sep 10 00:33:55 2004 X@@ -73,6 +73,11 @@ X ## Checks for thread library. X AC_CHECK_LIB(pthread, pthread_create, [ HAVE_LIBPTHREAD="yes" ]) X AC_CHECK_LIB(thread, thr_create, [ HAVE_LIBUITHREAD="yes" ]) X+ X+ case "${target}" in X+ *freebsd*) HAVE_LIBPTHREAD="yes";; X+ esac X+ X if test "X${HAVE_LIBPTHREAD}" = "Xyes" ; then X HAVE_THREAD="pthread" X elif test "X${HAVE_LIBUITHREAD}" = "Xyes" ; then X@@ -194,8 +199,6 @@ X COMMON_CXX_CFLAGS="${COMMON_CXX_CFLAGS} -DLinux" X ;; X *freebsd*) X- THREAD_LDFLAGS="-pthread" X- PTHREAD_LIBS="" X ;; X esac X X@@ -245,9 +248,9 @@ X *solaris*@cc:*) X THREAD_CXX_CFLAGS="-mt" X ;; X- *freebsd*@gcc:*) X- THREAD_LDFLAGS="-pthread" X- THREAD_LIBS="" X+ *freebsd*) X+ THREAD_CXX_CFLAGS="${PTHREAD_CFLAGS}" X+ THREAD_LIBS="${PTHREAD_LIBS}" X ;; X *linux*) X THREAD_CXX_CFLAGS="${THREAD_CXX_CFLAGS} -D_SVID_SOURCE -D_BSD_SOURCE" END-of-iiimf-le-xcin/files/patch-acfiles_check_sys.m4 exit --- iiimf-le-xcin-0.1.7.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: