Initial import of scim-chewing 0.3.2
scim-chewing is an scim IMEngine module for chewing. ok ajacoutot@
This commit is contained in:
parent
a9bfa6c2d4
commit
f0ddbfff4e
49
inputmethods/scim-chewing/Makefile
Normal file
49
inputmethods/scim-chewing/Makefile
Normal file
@ -0,0 +1,49 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2008/10/29 02:23:07 kevlo Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
COMMENT= scim input method module for chewing
|
||||
|
||||
DISTNAME= scim-chewing-0.3.2
|
||||
|
||||
CATEGORIES= inputmethods chinese
|
||||
|
||||
HOMEPAGE= http://www.scim-im.org/
|
||||
|
||||
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
|
||||
|
||||
# GPLv2
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
WANTLIB= X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes \
|
||||
Xi Xinerama Xrandr Xrender atk-1.0 cairo expat fontconfig \
|
||||
freetype gdk-x11-2.0 gdk_pixbuf-2.0 glib-2.0 glitz \
|
||||
gmodule-2.0 gobject-2.0 gtk-x11-2.0 m pango-1.0 \
|
||||
pangocairo-1.0 pangoft2-1.0 pcre pixman-1 png stdc++ z
|
||||
|
||||
|
||||
MODULES= devel/gettext \
|
||||
textproc/intltool
|
||||
|
||||
MASTER_SITES= http://chewing.csie.net/download/scim/
|
||||
EXTRACT_SUFX= .tar.bz2
|
||||
|
||||
BUILD_DEPENDS= ::textproc/p5-XML-Parser
|
||||
LIB_DEPENDS= gtk-x11-2.0,gdk-x11-2.0,gdk_pixbuf-2.0::x11/gtk+2 \
|
||||
chewing::chinese/libchewing \
|
||||
scim-1.0,scim-gtkutils-1.0,scim-x11utils-1.0::inputmethods/scim
|
||||
|
||||
USE_X11= Yes
|
||||
USE_LIBTOOL= Yes
|
||||
LIBTOOL_FLAGS= --tag=disable-static
|
||||
|
||||
CONFIGURE_STYLE=gnu
|
||||
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
||||
--disable-static
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
|
||||
.include <bsd.port.mk>
|
5
inputmethods/scim-chewing/distinfo
Normal file
5
inputmethods/scim-chewing/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (scim-chewing-0.3.2.tar.bz2) = RTzlJvDogJg2lIX2Ui6dQA==
|
||||
RMD160 (scim-chewing-0.3.2.tar.bz2) = jiPAZQhHTB8yLiSfK80FxdArLwM=
|
||||
SHA1 (scim-chewing-0.3.2.tar.bz2) = Ol4ErU5B9szFLmS1RPbTcxdewHY=
|
||||
SHA256 (scim-chewing-0.3.2.tar.bz2) = b09OqqK+jPscBkyCs1LyylIm8mtyEw1EZRGYGcgftGs=
|
||||
SIZE (scim-chewing-0.3.2.tar.bz2) = 318744
|
@ -0,0 +1,30 @@
|
||||
$OpenBSD: patch-src_scim_chewing_imengine_cpp,v 1.1.1.1 2008/10/29 02:23:07 kevlo Exp $
|
||||
--- src/scim_chewing_imengine.cpp.orig Wed Oct 1 17:53:55 2008
|
||||
+++ src/scim_chewing_imengine.cpp Sat Oct 25 16:48:55 2008
|
||||
@@ -591,7 +591,7 @@ bool ChewingIMEngineInstance::commit( ChewingOutput *p
|
||||
SCIM_DEBUG_IMENGINE( 2 ) <<
|
||||
"IMEngine Instance Commit\n";
|
||||
// commit string
|
||||
- m_commit_string = L"";
|
||||
+ m_commit_string = WideString ();
|
||||
if ( pgo->keystrokeRtn & KEYSTROKE_COMMIT ) {
|
||||
for ( int i = 0; i < pgo->nCommitStr; i++ ) {
|
||||
m_commit_string += utf8_mbstowcs((char *)pgo->commitStr[ i ].s,
|
||||
@@ -601,7 +601,7 @@ bool ChewingIMEngineInstance::commit( ChewingOutput *p
|
||||
}
|
||||
commit_string( m_commit_string );
|
||||
}
|
||||
- m_preedit_string = L"";
|
||||
+ m_preedit_string = WideString ();
|
||||
// preedit string
|
||||
// XXX show Interval
|
||||
for ( int i = 0; i < pgo->chiSymbolCursor; i++ ) {
|
||||
@@ -684,7 +684,7 @@ bool ChewingIMEngineInstance::commit( ChewingOutput *p
|
||||
}
|
||||
|
||||
// show aux string
|
||||
- m_aux_string = L"";
|
||||
+ m_aux_string = WideString ();
|
||||
if ( pgo->bShowMsg ) {
|
||||
for ( int i = 0; i < pgo->showMsgLen; i++ ) {
|
||||
m_aux_string += utf8_mbstowcs((char *)pgo->showMsg[ i ].s, MAX_UTF8_SIZE);
|
1
inputmethods/scim-chewing/pkg/DESCR
Normal file
1
inputmethods/scim-chewing/pkg/DESCR
Normal file
@ -0,0 +1 @@
|
||||
scim-chewing is an scim IMEngine module for chewing.
|
7
inputmethods/scim-chewing/pkg/PLIST
Normal file
7
inputmethods/scim-chewing/pkg/PLIST
Normal file
@ -0,0 +1,7 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/10/29 02:23:07 kevlo Exp $
|
||||
@comment lib/scim-1.0/1.4.0/IMEngine/chewing.la
|
||||
lib/scim-1.0/1.4.0/IMEngine/chewing.so
|
||||
@comment lib/scim-1.0/1.4.0/SetupUI/chewing-imengine-setup.la
|
||||
lib/scim-1.0/1.4.0/SetupUI/chewing-imengine-setup.so
|
||||
share/scim/icons/scim-chewing-swap-colors.png
|
||||
share/scim/icons/scim-chewing.png
|
Loading…
x
Reference in New Issue
Block a user