Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jul 2004 18:25:52 -0600
From:      "Jie Gao" <gaoj@cpsc.ucalgary.ca>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        freebsd-ports@FreeBSD.org
Subject:   ports/69401: New port: textproc/skim -- An input method platform based on SCIM library and KDE/QT
Message-ID:  <200407220025.i6M0Pqpi016726@imgw1.cpsc.ucalgary.ca>
Resent-Message-ID: <200407220030.i6M0UNZU025417@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         69401
>Category:       ports
>Synopsis:       New port: textproc/skim -- An input method platform based on SCIM library and KDE/QT
>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:   Thu Jul 22 00:30:22 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Jie Gao
>Release:        FreeBSD 5.2.1-RELEASE-p5 i386
>Organization:
>Environment:
System: FreeBSD aibsd 5.2.1-RELEASE-p5 FreeBSD 5.2.1-RELEASE-p5 #0: Mon May 3 02:43:15 MDT 2004 gaoj@aibsd:/usr/obj/usr/src/sys/AIBSD i386


	
>Description:
	
A New port textproc/skim.

Skim is a input method platform based upon scim libraries optimized for KDE. It
provides a GUI panel (named scim-panel-kde), a KConfig config module and
SetupUIs for itself and scim-lib. It also has its own plugin system which
supports on-demand loadable actions.

WWW: http://scim.freedesktop.org/

This port depends on textproc/scim, and requires version 0.99.4 or above. So
this PR depends on PR ports/69400

>How-To-Repeat:
	
>Fix:

	

--- textproc-skim.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:
#
#	textproc/skim/
#	textproc/skim/Makefile
#	textproc/skim/distinfo
#	textproc/skim/pkg-descr
#	textproc/skim/pkg-plist
#	textproc/skim/pkg-message
#	textproc/skim/files
#	textproc/skim/files/patch-plugins-scimlauncher-scimlauncher.cpp
#
echo c - textproc/skim/
mkdir -p textproc/skim/ > /dev/null 2>&1
echo x - textproc/skim/Makefile
sed 's/^X//' >textproc/skim/Makefile << 'END-of-textproc/skim/Makefile'
X# New ports collection makefile for:    skim
X# Date created:		21 July 2004
X# Whom:			Jie Gao	<gaoj@cpsc.ucalgary.ca>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	skim
XPORTVERSION=	0.9.3
XCATEGORIES=	textproc kde
XMASTER_SITES=	http://freedesktop.org/~cougar/skim/downloads/
X
XMAINTAINER=	gaoj@cpsc.ucalgary.ca
XCOMMENT=	An input method platform based on SCIM library and KDE/QT
X
XLIB_DEPENDS=	scim-1.0.3:${PORTSDIR}/textproc/scim
X
XUSE_KDELIBS_VER=3
XUSE_ICONV=	yes
XUSE_GMAKE=	yes
XUSE_REINPLACE=	yes
XGNU_CONFIGURE=  yes
XCONFIGURE_ENV=	PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
X		PTHREAD_LIBS="${PTHREAD_LIBS}"
X
Xpre-configure:
X	${REINPLACE_CMD} "s,-pedantic,,g; \
X		s,-pthread,${PTHREAD_LIBS},g" ${WRKSRC}/configure
X	${REINPLACE_CMD} "s, | .*freebsd\*)$$,*),g" ${WRKSRC}/admin/ltmain.sh
X
Xpost-install:
X	@${CAT} ${PKGMESSAGE}
X	@${ECHO} To display this message again, type make post-install
X
X.include <bsd.port.mk>
END-of-textproc/skim/Makefile
echo x - textproc/skim/distinfo
sed 's/^X//' >textproc/skim/distinfo << 'END-of-textproc/skim/distinfo'
XMD5 (skim-0.9.3.tar.gz) = e3dd8d58262fdd379e9921ab384051b0
XSIZE (skim-0.9.3.tar.gz) = 876274
END-of-textproc/skim/distinfo
echo x - textproc/skim/pkg-descr
sed 's/^X//' >textproc/skim/pkg-descr << 'END-of-textproc/skim/pkg-descr'
XSkim is a input method platform based upon scim libraries optimized for KDE. It
Xprovides a GUI panel (named scim-panel-kde), a KConfig config module and
XSetupUIs for itself and scim-lib. It also has its own plugin system which
Xsupports on-demand loadable actions.
X
XWWW: http://scim.freedesktop.org/
END-of-textproc/skim/pkg-descr
echo x - textproc/skim/pkg-plist
sed 's/^X//' >textproc/skim/pkg-plist << 'END-of-textproc/skim/pkg-plist'
Xbin/skim
Xbin/scim-panel-kde
Xlib/kde3/kcm_skimplugin_configplugin.la
Xlib/kde3/kcm_skimplugin_configplugin.so
Xlib/kde3/kcm_skimplugin_scim_global.la
Xlib/kde3/kcm_skimplugin_scim_global.so
Xlib/kde3/kcm_skimplugin_inputwindow.la
Xlib/kde3/kcm_skimplugin_inputwindow.so
Xlib/kde3/kcm_skimplugin_mainwindow.la
Xlib/kde3/kcm_skimplugin_mainwindow.so
Xlib/kde3/kcm_skimplugin_scim_imengines.la
Xlib/kde3/kcm_skimplugin_scim_imengines.so
Xlib/kde3/kcm_skimplugin_scim_qtimm.la
Xlib/kde3/kcm_skimplugin_scim_qtimm.so
Xlib/kde3/kcm_skimplugin_scim_smartpinyin.la
Xlib/kde3/kcm_skimplugin_scim_smartpinyin.so
Xlib/kde3/kcm_skimplugin_scim_tables.la
Xlib/kde3/kcm_skimplugin_scim_tables.so
Xlib/kde3/kcm_skimplugin_scim_x.la
Xlib/kde3/kcm_skimplugin_scim_x.so
Xlib/kde3/kcm_skimplugin_systemtray.la
Xlib/kde3/kcm_skimplugin_systemtray.so
Xlib/kde3/skimplugin_inputwindow.la
Xlib/kde3/skimplugin_inputwindow.so
Xlib/kde3/skimplugin_mainwindow.la
Xlib/kde3/skimplugin_mainwindow.so
Xlib/kde3/skimplugin_scim.la
Xlib/kde3/skimplugin_scim.so
Xlib/kde3/skimplugin_setupwindow.la
Xlib/kde3/skimplugin_setupwindow.so
Xlib/kde3/skimplugin_systemtray.la
Xlib/kde3/skimplugin_systemtray.so
Xlib/skim/libscim-kdeutils.la
Xlib/skim/libscim-kdeutils.so
Xlib/skim/libscim-kdeutils.so.0
Xlib/skim/libskim.la
Xlib/skim/libskim.so
Xlib/skim/libskim.so.0
Xshare/applnk/Utilities/skim.desktop
Xshare/apps/skim/mainwindowui.rc
Xshare/apps/skim/pics/full_width_letter.png
Xshare/apps/skim/pics/full_width_punct.png
Xshare/apps/skim/pics/half_width_letter.png
Xshare/apps/skim/pics/half_width_punct.png
Xshare/apps/skim/pics/keyboard.png
Xshare/apps/skim/pics/pin_down.png
Xshare/apps/skim/pics/pin_up.png
Xshare/apps/skim/pics/skim.png
Xshare/config.kcfg/generictable.kcfg
Xshare/config.kcfg/qtimm.kcfg
Xshare/config.kcfg/scimkdeconfig.kcfg
Xshare/config.kcfg/smartpinyin.kcfg
Xshare/doc/HTML/en/skim/common
Xshare/doc/HTML/en/skim/index.cache.bz2
Xshare/doc/HTML/en/skim/index.docbook
Xshare/doc/HTML/en/skim/inputwindow.png
Xshare/doc/HTML/en/skim/kdesystray.png
Xshare/doc/HTML/en/skim/kdex.dtd
Xshare/doc/HTML/en/skim/mainwindow.png
Xshare/doc/HTML/en/skim/setupwindow.png
Xshare/locale/zh_CN/LC_MESSAGES/skim.mo
Xshare/services/skimconfiguredialog/kcm_skimplugin_configplugin_config.desktop
Xshare/services/skimconfiguredialog/skimplugin_scim_global_config.desktop
Xshare/services/skimconfiguredialog/skimplugin_inputwindow_config.desktop
Xshare/services/skimconfiguredialog/skimplugin_mainwindow_config.desktop
Xshare/services/skimconfiguredialog/skimplugin_scim_imengines_config.desktop
Xshare/services/skimconfiguredialog/skimplugin_scim_qtimm_config.desktop
Xshare/services/skimconfiguredialog/skimplugin_scim_smartpinyin_config.desktop
Xshare/services/skimconfiguredialog/skimplugin_scim_table_config.desktop
Xshare/services/skimconfiguredialog/skimplugin_scim_x_config.desktop
Xshare/services/skimconfiguredialog/skimplugin_systemtray_config.desktop
Xshare/services/skimplugin_inputwindow.desktop
Xshare/services/skimplugin_mainwindow.desktop
Xshare/services/skimplugin_scim.desktop
Xshare/services/skimplugin_setupwindow.desktop
Xshare/services/skimplugin_systemtray.desktop
Xshare/servicetypes/skimplugin.desktop
Xshare/servicetypes/skimui.desktop
X@cwd %%X11BASE%%
Xlib/scim-1.0/1.0.0/Config/kconfig.la
Xlib/scim-1.0/1.0.0/Config/kconfig.so
Xlib/scim-1.0/1.0.0/Config/kconfig.so.0
X@cwd %%LOCALBASE%%
X@dirrm share/services/skimconfiguredialog
X@dirrm share/doc/HTML/en/skim
X@dirrm share/apps/skim/pics
X@dirrm share/apps/skim
X@dirrm lib/skim
END-of-textproc/skim/pkg-plist
echo x - textproc/skim/pkg-message
sed 's/^X//' >textproc/skim/pkg-message << 'END-of-textproc/skim/pkg-message'
X------------------------------------------------------------------------------
XThe installation of skim has finished. You can find correponding menu items in
XKDE's menu and Control Center.
X
XPlease note this port contains only KDE/QT frontends and utilities to the SCIM
Xplatform. If you want to use any actual input method, please install the 
Xfollowing ports as needed:
X
X Chinese:
X  chinese/scim-tables	Table based input methods: Array30, CangJie, Cantonese,
X                        Dayi, Erbi, EZ, Jyutping, Simplex, Wubi, Ziranma, ZhuYin
X  chinese/scim-chinese	Smart pinyin
X    
X Korean:
X  korean/scim-tables	Table based input methods: Hangul, Hanja
X
X Japanese:
X  japanese/scim-tables	Table based input methods: HIRAGANA, KATAKANA, Nippon
X
XYou can use the command `skim' to start after properly setting SCIM (please 
Xrefer to the message displayed by scim installation).
X------------------------------------------------------------------------------
END-of-textproc/skim/pkg-message
echo c - textproc/skim/files
mkdir -p textproc/skim/files > /dev/null 2>&1
echo x - textproc/skim/files/patch-plugins-scimlauncher-scimlauncher.cpp
sed 's/^X//' >textproc/skim/files/patch-plugins-scimlauncher-scimlauncher.cpp << 'END-of-textproc/skim/files/patch-plugins-scimlauncher-scimlauncher.cpp'
X--- plugins/scimlauncher/scimlauncher.cpp~	Sun Jul 11 06:19:13 2004
X+++ plugins/scimlauncher/scimlauncher.cpp	Wed Jul 21 15:32:13 2004
X@@ -31,6 +31,20 @@
X K_EXPORT_COMPONENT_FACTORY( skimplugin_scim,
X                               KGenericFactory<ScimLauncher>( "skimplugin_scim" ) );
X 
X+char* mystrndup (const char* s, size_t n){
X+	size_t len=strlen(s);
X+	if(len>n)
X+		len=n;
X+	char* newc=(char*)malloc(len+1);
X+
X+	if (newc==NULL)
X+		return NULL;
X+
X+	newc[len] = '\0';
X+	return (char *)memcpy(newc, s, len);
X+}
X+#define strndup mystrndup
X+
X ScimThread::ScimThread(QString _args)
X {
X     args = "skim " + _args;
END-of-textproc/skim/files/patch-plugins-scimlauncher-scimlauncher.cpp
exit
--- textproc-skim.sh ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407220025.i6M0Pqpi016726>