diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2003-12-28 11:18:18 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2003-12-28 11:18:18 +0000 |
commit | 6a5159fe047b80ae3f3813e7ee39553bc8d713fc (patch) | |
tree | e0a59c123ef53d7dfe7971f7bb27266254490511 /textproc/iiimf-server | |
parent | move patch-panel-plugin::Makefile.in from / to files/ (diff) |
New port: iiimf-*
IIIMF stands for Internet/Intranet Input Method Framework.
IIIMF is designed to be the next generation of input method framework
which provides the following capabilities;
* Multiplatform, platform independent.
* Multlingual and Full UNICODE support, but satisfactory for native speakers.
* Windowing System Independent.
* Multiple language engines concurrently run.
* Multiuser.
* Distributed, lightweight clients and scalable server.
* Extensible in multiple means.
* Input method protocol efficient enough to be used over low-speed modem
connection.
* Easy input method engine development with plugin API.
* Easy input method enabling with libiiimcf, even on console apps.
* Small core part to start from.
WWW: http://www.openi18n.org/subgroups/im/IIIMF/
PR: ports/60087
Submitted by: Kuang-che Wu <kcwu@csie.org>
Notes
Notes:
svn path=/head/; revision=96776
Diffstat (limited to 'textproc/iiimf-server')
-rw-r--r-- | textproc/iiimf-server/Makefile | 41 | ||||
-rw-r--r-- | textproc/iiimf-server/distinfo | 1 | ||||
-rw-r--r-- | textproc/iiimf-server/files/patch-iiimsf_src_IMAuth.cpp | 11 | ||||
-rw-r--r-- | textproc/iiimf-server/files/patch-iiimsf_src_Makefile.in | 21 | ||||
-rw-r--r-- | textproc/iiimf-server/files/patch-iiimsf_src_iwrap.c | 10 | ||||
-rw-r--r-- | textproc/iiimf-server/files/patch-iiimsf_src_watchdog.c | 11 | ||||
-rw-r--r-- | textproc/iiimf-server/pkg-descr | 21 | ||||
-rw-r--r-- | textproc/iiimf-server/pkg-plist | 4 |
8 files changed, 120 insertions, 0 deletions
diff --git a/textproc/iiimf-server/Makefile b/textproc/iiimf-server/Makefile new file mode 100644 index 000000000000..bf729a8e0216 --- /dev/null +++ b/textproc/iiimf-server/Makefile @@ -0,0 +1,41 @@ +# New ports collection makefile for: iiimf-server +# Date created: 6 Dec 2003 +# Whom: Kuang-che Wu <kcwu@csie.org> +# +# $FreeBSD$ +# + +PORTNAME= iiimf-server +PORTVERSION= ${IIIMF_VER:S/_/./:C/-.*//} +CATEGORIES= textproc +MASTER_SITES= http://www.openi18n.org/download/docs/im-sdk/ +DISTNAME= im-sdk +DISTFILES= ${DISTNAME}.${IIIMF_VER:S/-/./}${EXTRACT_SUFX} + +MAINTAINER= kcwu@csie.org +COMMENT= Internet/Intranet Input Method Server Framework + +LIB_DEPENDS= iiimp.0:${PORTSDIR}/textproc/iiimf-protocol-lib +BUILD_DEPENDS= ${LOCALBASE}/include/iiimf/iml/SunIM.h:${PORTSDIR}/textproc/iiimf-headers + +IIIMF_VER= r11_4-1467 +WRKSRC= ${WRKDIR}/${DISTNAME}-${IIIMF_VER}/iiimsf +USE_BZIP2= yes +USE_GMAKE= yes +INSTALLS_SHLIB= yes +USE_REINPLACE= yes +HAS_CONFIGURE= yes +CONFIGURE_ARGS= --prefix=${PREFIX} + +post-patch: + ${REINPLACE_CMD} -e "s,-lpthread,-pthread,g" \ + -e "s,-D_POSIX_C_SOURCE=199506L,,g" \ + -e "s,has_xiccallback=no,has_xiccallback=yes,g" \ + -e "s,/usr/lib/im,${PREFIX}/lib/im,g" \ + -e "s,-I\$${IM_INCLUDEDIR},-I${LOCALBASE}/include/iiimf,g" \ + ${WRKSRC}/configure + ${REINPLACE_CMD} -e "s,/usr/lib/im,${PREFIX}/lib/im,g" \ + ${WRKSRC}/src/IMSvrCfg.cpp \ + ${WRKSRC}/src/watchdog.c + +.include <bsd.port.mk> diff --git a/textproc/iiimf-server/distinfo b/textproc/iiimf-server/distinfo new file mode 100644 index 000000000000..4ec913af341f --- /dev/null +++ b/textproc/iiimf-server/distinfo @@ -0,0 +1 @@ +MD5 (im-sdk.r11_4.1467.tar.bz2) = ca6b6ac7c41641db6eaa0fa395748f90 diff --git a/textproc/iiimf-server/files/patch-iiimsf_src_IMAuth.cpp b/textproc/iiimf-server/files/patch-iiimsf_src_IMAuth.cpp new file mode 100644 index 000000000000..2a34ac6d5450 --- /dev/null +++ b/textproc/iiimf-server/files/patch-iiimsf_src_IMAuth.cpp @@ -0,0 +1,11 @@ +--- src/IMAuth.cpp.orig Sat Dec 6 02:39:41 2003 ++++ src/IMAuth.cpp Sat Dec 6 02:39:50 2003 +@@ -47,7 +47,7 @@ + #include <stdlib.h> + #include <string.h> + #include <ctype.h> +-#include <alloca.h> ++#include <sys/types.h> + #include <sys/socket.h> + #include <netinet/in.h> + #include <arpa/inet.h> diff --git a/textproc/iiimf-server/files/patch-iiimsf_src_Makefile.in b/textproc/iiimf-server/files/patch-iiimsf_src_Makefile.in new file mode 100644 index 000000000000..6630a5d55ceb --- /dev/null +++ b/textproc/iiimf-server/files/patch-iiimsf_src_Makefile.in @@ -0,0 +1,21 @@ +--- src/Makefile.in.orig Sun Dec 7 18:11:19 2003 ++++ src/Makefile.in Sun Dec 7 18:12:23 2003 +@@ -154,7 +154,7 @@ + + htt_SOURCES = watchdog.c + +-htt_server_LDADD = $(LIB_DIR)/iml/libiml.la $(IM_LIBDIR)/iiimp/libiiimp.la $(SOCKET_LIBS) $(LIBCRYPT_FLAGS) $(LIBPAM_FLAGS) $(LIBWRAP_FLAGS) $(THREAD_LIBS) ++htt_server_LDADD = $(LIB_DIR)/iml/libiml.la -L$(prefix)/lib -liiimp $(SOCKET_LIBS) $(LIBCRYPT_FLAGS) $(LIBPAM_FLAGS) $(LIBWRAP_FLAGS) $(THREAD_LIBS) + bin_PROGRAMS = htt_server htt + subdir = src + mkinstalldirs = $(SHELL) $(top_srcdir)/../acfiles/mkinstalldirs +@@ -180,8 +180,7 @@ + IIIMP_IMState.$(OBJEXT) IIIMP_ICState.$(OBJEXT) \ + IIIMPUtil.$(OBJEXT) IIIMPTrans.$(OBJEXT) + htt_server_OBJECTS = $(am_htt_server_OBJECTS) +-htt_server_DEPENDENCIES = $(LIB_DIR)/iml/libiml.la \ +- $(IM_LIBDIR)/iiimp/libiiimp.la ++htt_server_DEPENDENCIES = $(LIB_DIR)/iml/libiml.la + htt_server_LDFLAGS = + + DEFS = @DEFS@ diff --git a/textproc/iiimf-server/files/patch-iiimsf_src_iwrap.c b/textproc/iiimf-server/files/patch-iiimsf_src_iwrap.c new file mode 100644 index 000000000000..e31626b3b759 --- /dev/null +++ b/textproc/iiimf-server/files/patch-iiimsf_src_iwrap.c @@ -0,0 +1,10 @@ +--- src/iwrap.c.orig Sat Dec 6 02:44:54 2003 ++++ src/iwrap.c Sat Dec 6 02:45:05 2003 +@@ -51,6 +51,7 @@ + #include <tcpd.h> + #endif + ++#include <sys/types.h> + #ifdef HAVE_PAM + #include <security/pam_appl.h> + #endif diff --git a/textproc/iiimf-server/files/patch-iiimsf_src_watchdog.c b/textproc/iiimf-server/files/patch-iiimsf_src_watchdog.c new file mode 100644 index 000000000000..0ea2ed146c79 --- /dev/null +++ b/textproc/iiimf-server/files/patch-iiimsf_src_watchdog.c @@ -0,0 +1,11 @@ +--- src/watchdog.c.orig Sat Dec 6 02:47:06 2003 ++++ src/watchdog.c Sat Dec 6 02:47:34 2003 +@@ -324,6 +324,8 @@ + if ((pid_t)(-1) == pgrp) + fprintf (stderr,"cannot set session id"); + ++#elif defined(__FreeBSD__) ++ setsid(); + #else /* !SunOS */ + pgrp = setpgrp(); + #endif /* !SunOS */ diff --git a/textproc/iiimf-server/pkg-descr b/textproc/iiimf-server/pkg-descr new file mode 100644 index 000000000000..ac72b20e8941 --- /dev/null +++ b/textproc/iiimf-server/pkg-descr @@ -0,0 +1,21 @@ +IIIMF stands for Internet/Intranet Input Method Framework. +IIIMF is designed to be the next generation of input method framework +which provides the following capabilities; + +* Multiplatform, platform independent. +* Multlingual and Full UNICODE support, but satisfactory for native speakers. +* Windowing System Independent. +* Multiple language engines concurrently run. +* Multiuser. +* Distributed, lightweight clients and scalable server. +* Extensible in multiple means. +* Input method protocol efficient enough to be used over low-speed modem + connection. +* Easy input method engine development with plugin API. +* Easy input method enabling with libiiimcf, even on console apps. +* Small core part to start from. + +WWW: http://www.openi18n.org/subgroups/im/IIIMF/ + +- Kuang-che Wu + kcwu@csie.org diff --git a/textproc/iiimf-server/pkg-plist b/textproc/iiimf-server/pkg-plist new file mode 100644 index 000000000000..2fadb979635f --- /dev/null +++ b/textproc/iiimf-server/pkg-plist @@ -0,0 +1,4 @@ +lib/im/htt_server +lib/im/htt +lib/im/htt.conf +@dirrm lib/im |