Initial import of scim-fcitx 3.1.1

scim-fcitx is an scim IMEngine module for fcitx.

ok ajacoutot@
This commit is contained in:
kevlo 2008-10-29 02:24:17 +00:00
parent f0ddbfff4e
commit 2ea672b75f
7 changed files with 145 additions and 0 deletions

View File

@ -0,0 +1,42 @@
# $OpenBSD: Makefile,v 1.1.1.1 2008/10/29 02:24:17 kevlo Exp $
SHARED_ONLY= Yes
COMMENT= scim input method module for fcitx
V= 3.1.1
DISTNAME= scim-fcitx.$V
PKGNAME= scim-fcitx-$V
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= c m stdc++
MODULES= devel/gettext
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=scim/}
EXTRACT_SUFX= .tar.bz2
LIB_DEPENDS= scim-1.0::inputmethods/scim
WRKDIST= ${WRKDIR}/fcitx
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>

View File

@ -0,0 +1,5 @@
MD5 (scim-fcitx.3.1.1.tar.bz2) = eB3JbrzjHilJ7LDDwcdp9g==
RMD160 (scim-fcitx.3.1.1.tar.bz2) = fAZK9LjIR8qsGuJ9Y1bpuSW7ZSg=
SHA1 (scim-fcitx.3.1.1.tar.bz2) = kA1MTeAbyHofm1Q6/BXozLGud3U=
SHA256 (scim-fcitx.3.1.1.tar.bz2) = Q0AMAMd3vlqcp/NphW6JgZzYMvG7P/JkFmDf+oh98qU=
SIZE (scim-fcitx.3.1.1.tar.bz2) = 1612134

View File

@ -0,0 +1,32 @@
$OpenBSD: patch-configure,v 1.1.1.1 2008/10/29 02:24:17 kevlo Exp $
--- configure.orig Sat Oct 25 15:48:33 2008
+++ configure Sat Oct 25 15:50:24 2008
@@ -465,7 +465,7 @@ ac_includes_default="\
# include <unistd.h>
#endif"
-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS SCIM_FCITX_MAJOR_VERSION SCIM_FCITX_MINOR_VERSION SCIM_FCITX_MICRO_VERSION SCIM_FCITX_VERSION INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL INSTALL_LTDL_TRUE INSTALL_LTDL_FALSE CONVENIENCE_LTDL_TRUE CONVENIENCE_LTDL_FALSE LIBADD_DL LIBTOOL_DEPS PKG_CONFIG ac_pt_PKG_CONFIG SCIM_CFLAGS SCIM_LIBS ac_aux_dir SCIM_DEBUG_FLAGS SCIM_ICONDIR SCIM_DATADIR SCIM_MODULEDIR SCIM_FCITXDATADIR LIBOBJS LTLIBOBJS'
+ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS SCIM_FCITX_MAJOR_VERSION SCIM_FCITX_MINOR_VERSION SCIM_FCITX_MICRO_VERSION SCIM_FCITX_VERSION INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL INSTALL_LTDL_TRUE INSTALL_LTDL_FALSE CONVENIENCE_LTDL_TRUE CONVENIENCE_LTDL_FALSE LIBADD_DL LIBTOOL_DEPS LIBTOOL_EXPORT_OPTIONS PKG_CONFIG ac_pt_PKG_CONFIG SCIM_CFLAGS SCIM_LIBS ac_aux_dir SCIM_DEBUG_FLAGS SCIM_ICONDIR SCIM_DATADIR SCIM_MODULEDIR SCIM_FCITXDATADIR LIBOBJS LTLIBOBJS'
ac_subst_files=''
# Initialize some variables set by options.
@@ -19017,6 +19017,11 @@ LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
# Always use our own libtool.
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+# libtool option to control which symbols are exported
+# right now, symbols starting with _ are not exported
+# !!! DO NOT USE IT !!!
+LIBTOOL_EXPORT_OPTIONS=''
+
# Prevent multiple expansion
@@ -24486,6 +24491,7 @@ s,@CONVENIENCE_LTDL_TRUE@,$CONVENIENCE_LTDL_TRUE,;t t
s,@CONVENIENCE_LTDL_FALSE@,$CONVENIENCE_LTDL_FALSE,;t t
s,@LIBADD_DL@,$LIBADD_DL,;t t
s,@LIBTOOL_DEPS@,$LIBTOOL_DEPS,;t t
+s,@LIBTOOL_EXPORT_OPTIONS@,$LIBTOOL_EXPORT_OPTIONS,;t t
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
s,@SCIM_CFLAGS@,$SCIM_CFLAGS,;t t

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-src_sp_cpp,v 1.1.1.1 2008/10/29 02:24:17 kevlo Exp $
--- src/sp.cpp.orig Sat Oct 25 15:36:52 2008
+++ src/sp.cpp Sat Oct 25 15:37:30 2008
@@ -11,6 +11,7 @@ using namespace scim;
#include <sys/stat.h>
#include <limits.h>
#include <ctype.h>
+#include <unistd.h>
#include "main.h"
#include "sp.h"

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-src_tools_cpp,v 1.1.1.1 2008/10/29 02:24:17 kevlo Exp $
--- src/tools.cpp.orig Sat Oct 25 15:34:40 2008
+++ src/tools.cpp Sat Oct 25 15:35:41 2008
@@ -14,6 +14,7 @@ using namespace scim;
#include <sys/stat.h>
#include <limits.h>
#include <string.h>
+#include <unistd.h>
#include "version.h"
#include "PYFA.h"

View File

@ -0,0 +1 @@
scim-fcitx is an scim IMEngine module for fcitx.

View File

@ -0,0 +1,43 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/10/29 02:24:17 kevlo Exp $
@bin bin/createPYMB
@bin bin/mb2txt
@bin bin/txt2mb
@comment lib/scim-1.0/1.4.0/IMEngine/fcitx.la
lib/scim-1.0/1.4.0/IMEngine/fcitx.so
share/scim/fcitx/
share/scim/fcitx/cj.mb
share/scim/fcitx/erbi.mb
share/scim/fcitx/punc.mb
share/scim/fcitx/pySym.mb
share/scim/fcitx/pybase.mb
share/scim/fcitx/pyphrase.mb
share/scim/fcitx/sp.dat
share/scim/fcitx/tables.conf
share/scim/fcitx/wbx.mb
share/scim/icons/fcitx/
share/scim/icons/fcitx/cangjie.png
share/scim/icons/fcitx/erbi.png
share/scim/icons/fcitx/fcitx.png
share/scim/icons/fcitx/full-letter.png
share/scim/icons/fcitx/full-punct.png
share/scim/icons/fcitx/gbk.png
share/scim/icons/fcitx/half-letter.png
share/scim/icons/fcitx/half-punct.png
share/scim/icons/fcitx/legend.png
share/scim/icons/fcitx/lock.png
share/scim/icons/fcitx/nocangjie.png
share/scim/icons/fcitx/noerbi.png
share/scim/icons/fcitx/nofcitx.png
share/scim/icons/fcitx/nogbk.png
share/scim/icons/fcitx/nolegend.png
share/scim/icons/fcitx/nolock.png
share/scim/icons/fcitx/nopinyin.png
share/scim/icons/fcitx/noquwei.png
share/scim/icons/fcitx/noshuangpin.png
share/scim/icons/fcitx/nowubi86.png
share/scim/icons/fcitx/nowubi98.png
share/scim/icons/fcitx/pinyin.png
share/scim/icons/fcitx/quwei.png
share/scim/icons/fcitx/shuangpin.png
share/scim/icons/fcitx/wubi86.png
share/scim/icons/fcitx/wubi98.png