ports/78264: [New port] textproc/scim-table-imengine: The table based input method engine for scim
Jie Gao
gaoj at cpsc.ucalgary.ca
Wed Mar 2 02:10:18 UTC 2005
>Number: 78264
>Category: ports
>Synopsis: [New port] textproc/scim-table-imengine: The table based input method engine for scim
>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 Mar 02 02:10:16 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Jie Gao
>Release: FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD aibsd 5.3-STABLE FreeBSD 5.3-STABLE #3: Sat Jan 15 20:23:09 MST 2005 root at aibsd:/usr/obj/usr/src/sys/AIBSD i386
>Description:
This is a new port: textproc/scim-table-imengine
This IM engine was included as part of scim in 1.0.x version, and splited into
a separate package since 1.2.0.
This PR depends on PR ports/78260 .
>How-To-Repeat:
N/A
>Fix:
Use the following SHAR to create the port directory
--- scim-table-imengine.sh 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:
#
# scim-table-imengine/
# scim-table-imengine/files
# scim-table-imengine/files/patch-Makefile.in
# scim-table-imengine/files/patch-icons-Makefile.in
# scim-table-imengine/files/extrapatch-4-stable-src-Makefile.in
# scim-table-imengine/files/scim-make-table.sh
# scim-table-imengine/pkg-descr
# scim-table-imengine/pkg-plist
# scim-table-imengine/Makefile
# scim-table-imengine/pkg-message
# scim-table-imengine/distinfo
#
echo c - scim-table-imengine/
mkdir -p scim-table-imengine/ > /dev/null 2>&1
echo c - scim-table-imengine/files
mkdir -p scim-table-imengine/files > /dev/null 2>&1
echo x - scim-table-imengine/files/patch-Makefile.in
sed 's/^X//' >scim-table-imengine/files/patch-Makefile.in << 'END-of-scim-table-imengine/files/patch-Makefile.in'
X--- Makefile.in.orig Tue Mar 1 14:02:56 2005
X+++ Makefile.in Tue Mar 1 14:03:08 2005
X@@ -247,7 +247,7 @@
X
X EXTRA_DIST = config.rpath mkinstalldirs bootstrap scim-tables.spec
X AUTOMAKE_OPTIONS = gnu
X-SUBDIRS = intl m4 src zh ja ko additional icons po
X+SUBDIRS = intl m4 src icons po
X MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure $(AUX_DIST)
X CLEANFILES = *.bak
X ACLOCAL_AMFLAGS = -I m4
END-of-scim-table-imengine/files/patch-Makefile.in
echo x - scim-table-imengine/files/patch-icons-Makefile.in
sed 's/^X//' >scim-table-imengine/files/patch-icons-Makefile.in << 'END-of-scim-table-imengine/files/patch-icons-Makefile.in'
X--- icons/Makefile.in.orig Tue Mar 1 14:02:22 2005
X+++ icons/Makefile.in Tue Mar 1 14:02:45 2005
X@@ -222,33 +222,7 @@
X sysconfdir = @sysconfdir@
X target_alias = @target_alias@
X MAINTAINERCLEANFILES = Makefile.in
X-INST_ICONS = table.png \
X- Amharic.png \
X- Arabic.png \
X- Array30.png \
X- CangJie.png \
X- CangJie3.png \
X- Cantonese.png \
X- CantonHK.png \
X- Quick.png \
X- Stroke5.png \
X- Dayi.png \
X- Erbi.png \
X- Erbi-QS.png \
X- EZ.png \
X- Hangul.png \
X- Hanja.png \
X- HIRAGANA.png \
X- Jyutping.png \
X- KATAKANA.png \
X- Nippon.png \
X- Simplex.png \
X- Viqr.png \
X- Wubi.png \
X- Yawerty.png \
X- ZhuYin.png \
X- Ziranma.png
X-
X+INST_ICONS = table.png
X EXTRA_DIST = $(INST_ICONS)
X icondir = $(SCIM_ICONDIR)
X icon_DATA = $(INST_ICONS)
END-of-scim-table-imengine/files/patch-icons-Makefile.in
echo x - scim-table-imengine/files/extrapatch-4-stable-src-Makefile.in
sed 's/^X//' >scim-table-imengine/files/extrapatch-4-stable-src-Makefile.in << 'END-of-scim-table-imengine/files/extrapatch-4-stable-src-Makefile.in'
X--- src/Makefile.in.orig Sun Feb 27 07:54:20 2005
X+++ src/Makefile.in Tue Mar 1 16:51:10 2005
X@@ -40,7 +40,7 @@
X POST_UNINSTALL = :
X build_triplet = @build@
X host_triplet = @host@
X-bin_PROGRAMS = scim-make-table$(EXEEXT)
X+bin_PROGRAMS =
X subdir = src
X DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
X $(srcdir)/Makefile.in
END-of-scim-table-imengine/files/extrapatch-4-stable-src-Makefile.in
echo x - scim-table-imengine/files/scim-make-table.sh
sed 's/^X//' >scim-table-imengine/files/scim-make-table.sh << 'END-of-scim-table-imengine/files/scim-make-table.sh'
X#!/bin/sh
X
Xcat <<EOF
X************************************************************
X** N O T E **
X************************************************************
X
XThis is NOT a working scim-make-table. Due to the limitation
Xon your system, scim-make-table cannot be compiled. So you
Xcannot build binary im tables on this system.
X
XHowever, the scim-tables im engine is available, i.e. You
Xstill have the chance to use table-based input methods for
Xscim. You can let someone build a tgz package for
X{zh,ja,ko}-scim-tables port on a 5.x system and then install
Xit on your system.
XEOF
Xexit 2
END-of-scim-table-imengine/files/scim-make-table.sh
echo x - scim-table-imengine/pkg-descr
sed 's/^X//' >scim-table-imengine/pkg-descr << 'END-of-scim-table-imengine/pkg-descr'
XSmart Common Input Method platform, in short SCIM, is a development platform to
Xmake Input Method developers live easier. It has very clear architecture and
Xvery simple programming interface.
X
XThis is the im engine for table based input methods.
X
XWWW: http://www.scim-im.org
END-of-scim-table-imengine/pkg-descr
echo x - scim-table-imengine/pkg-plist
sed 's/^X//' >scim-table-imengine/pkg-plist << 'END-of-scim-table-imengine/pkg-plist'
Xbin/scim-make-table
Xlib/scim-1.0/IMEngine/table.so
Xlib/scim-1.0/SetupUI/table-imengine-setup.so
Xshare/scim/icons/table.png
Xshare/locale/zh_CN/LC_MESSAGES/scim-tables.mo
Xshare/locale/zh_TW/LC_MESSAGES/scim-tables.mo
Xshare/locale/ja/LC_MESSAGES/scim-tables.mo
Xshare/locale/ko/LC_MESSAGES/scim-tables.mo
Xshare/locale/de/LC_MESSAGES/scim-tables.mo
Xshare/locale/fr/LC_MESSAGES/scim-tables.mo
X at unexec rmdir %D/lib/scim-1.0/IMEngine 2>/dev/null || true
X at unexec rmdir %D/lib/scim-1.0/SetupUI 2>/dev/null || true
END-of-scim-table-imengine/pkg-plist
echo x - scim-table-imengine/Makefile
sed 's/^X//' >scim-table-imengine/Makefile << 'END-of-scim-table-imengine/Makefile'
X# New ports collection makefile for: scim-table-imengine
X# Date created: 01 March 2005
X# Whom: Jie Gao <gaoj at cpsc.ucalgary.ca>
X#
X# $FreeBSD$
X#
X
XPORTNAME= scim-table-imengine
XPORTVERSION= 0.5.1
XCATEGORIES= textproc
XDISTNAME= scim-tables-${PORTVERSION}
XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=scim
X
XMAINTAINER= gaoj at cpsc.ucalgary.ca
XCOMMENT= SCIM table based input method engine
X
XLIB_DEPENDS= scim-1.0.6:${PORTSDIR}/textproc/scim
X
XUSE_X_PREFIX= yes
XUSE_GMAKE= yes
XGNU_CONFIGURE= yes
XUSE_LIBTOOL_VER= 15
XUSE_GNOME= intlhack
X
X.include <bsd.port.pre.mk>
X
X.if ${OSVERSION} < 500035
XEXTRA_PATCHES= ${FILESDIR}/extrapatch-4-stable-src-Makefile.in
X.endif
X
XCONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -D__STDC_ISO_10646__" \
X LDFLAGS="-L${LOCALBASE}/lib -lintl"
X
Xpost-install:
X.if ${OSVERSION} < 500035
X @${INSTALL_SCRIPT} ${FILESDIR}/scim-make-table.sh ${PREFIX}/bin/scim-make-table
X.endif
X @${CAT} ${PKGMESSAGE}
X @${ECHO}
X @${ECHO} To display this message again, type \`pkg_info -D ${PKGNAME}\'
X @${ECHO}
X
X.include <bsd.port.post.mk>
END-of-scim-table-imengine/Makefile
echo x - scim-table-imengine/pkg-message
sed 's/^X//' >scim-table-imengine/pkg-message << 'END-of-scim-table-imengine/pkg-message'
X------------------------------------------------------------------------------
XThe installation of SCIM table-based im engine has finished. Please note this
Xport is only an engine for table-based input methods and does not contain any
Xactual input methods.
X
XIf you are using a 4.x system, please note there is no working scim-make-table
Xcommand available in this port. Run `scim-make-table' command to get more
Xinformation.
X
XThe following ports can utilize this table-based imengine:
X
X Chinese:
X chinese/scim-tables Array30, CangJie, Cantonese, Dayi, Erbi, EZ, Jyutping,
X Simplex, Stroke, Wubi, Ziranma, ZhuYin
X Korean:
X korean/scim-tables Hangul, Hanja
X
X Japanese:
X japanese/scim-tables HIRAGANA, KATAKANA, Nippon
X
XAs a common rule, set XMODIFIERS to '@im=SCIM' and use `scim -d' to start the
Xscim daemon.
X------------------------------------------------------------------------------
END-of-scim-table-imengine/pkg-message
echo x - scim-table-imengine/distinfo
sed 's/^X//' >scim-table-imengine/distinfo << 'END-of-scim-table-imengine/distinfo'
XMD5 (scim-tables-0.5.1.tar.gz) = 3249d0fbdb731c2003bea093dc43f19c
XSIZE (scim-tables-0.5.1.tar.gz) = 4718906
END-of-scim-table-imengine/distinfo
exit
--- scim-table-imengine.sh ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list