FreeBSD Bugzilla – Attachment 63716 Details for
Bug 94956
[NEW PORT] chinese/oxim: Open X Input Method server
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
oxim-1.0.1.shar
oxim-1.0.1.shar (text/plain), 6.21 KB, created by
Rong-En Fan
on 2006-03-26 15:30:21 UTC
(
hide
)
Description:
oxim-1.0.1.shar
Filename:
MIME Type:
Creator:
Rong-En Fan
Created:
2006-03-26 15:30:21 UTC
Size:
6.21 KB
patch
obsolete
># 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: ># ># oxim ># oxim/files ># oxim/files/patch-configure ># oxim/files/patch-gtk-immodule-gtkintl.h ># oxim/Makefile ># oxim/distinfo ># oxim/pkg-descr ># oxim/pkg-plist ># oxim/pkg-message ># >echo c - oxim >mkdir -p oxim > /dev/null 2>&1 >echo c - oxim/files >mkdir -p oxim/files > /dev/null 2>&1 >echo x - oxim/files/patch-configure >sed 's/^X//' >oxim/files/patch-configure << 'END-of-oxim/files/patch-configure' >X--- configure.orig Sat Mar 18 10:57:51 2006 >X+++ configure Sat Mar 18 11:02:32 2006 >X@@ -29642,6 +29642,7 @@ >X test $found = y && break >X done >X fi >X+if test "$enable_bimsphone_module" = "yes" ; then >X if test $found = n; then >X echo "$as_me:$LINENO: result: You need Berkeley DB to compile bimsphone module." >&5 >X echo "${ECHO_T}You need Berkeley DB to compile bimsphone module." >&6 >X@@ -29652,6 +29653,10 @@ >X DB_INC=${db_include} >X >X DB_LIBS=${db_lib} >X+else >X+DB_INC= >X+DB_LIBS= >X+fi >X >X >X #----------------------------------------------------------------------- >END-of-oxim/files/patch-configure >echo x - oxim/files/patch-gtk-immodule-gtkintl.h >sed 's/^X//' >oxim/files/patch-gtk-immodule-gtkintl.h << 'END-of-oxim/files/patch-gtk-immodule-gtkintl.h' >X--- src/gtk-immodule/gtkintl.h.orig Thu Mar 23 08:43:55 2006 >X+++ src/gtk-immodule/gtkintl.h Thu Mar 23 08:46:33 2006 >X@@ -1,7 +1,7 @@ >X #ifndef __GTKINTL_H__ >X #define __GTKINTL_H__ >X #define ENABLE_NLS 1 >X-#define GTK_LOCALEDIR "/usr/share/locale" >X+#define GTK_LOCALEDIR "%%PREFIX%%/share/locale" >X #define GETTEXT_PACKAGE "gtk20" >X >X #ifdef ENABLE_NLS >END-of-oxim/files/patch-gtk-immodule-gtkintl.h >echo x - oxim/Makefile >sed 's/^X//' >oxim/Makefile << 'END-of-oxim/Makefile' >X# New ports collection makefile for: oxim >X# Date created: Mar 19 2005da >X# Whom: Rong-En Fan <rafan@infor.org> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= oxim >XPORTVERSION= 1.0.1 >XCATEGORIES= chinese textproc >XMASTER_SITES= ftp://140.111.128.66/odp/OXIM/Source/ >X >XMAINTAINER= rafan@infor.org >XCOMMENT= Open X Input Method server >X >X# make sure we have the required libchewing >XLIB_DEPENDS= Xft.2:${PORTSDIR}/x11-fonts/libXft >XBUILD_DEPENDS= zh-libchewing>=0.2.7:${PORTSDIR}/chinese/libchewing >XRUN_DEPENDS= zh-libchewing>=0.2.7:${PORTSDIR}/chinese/libchewing \ >X zh-fireflyttf>=0:${PORTSDIR}/chinese/fireflyttf >X >XOPTIONS= GTK2 "Enable GTK2 input method module" On >X >XUSE_ICONV= yes >XUSE_X_PREFIX= yes >XUSE_GNOME= >X >XGNU_CONFIGURE= yes >XINSTALLS_SHLIB= yes >XCPPFLAGS+= -I${LOCALBASE}/include -I${X11BASE}/include >XLDFLAGS+= -L${LOCALBASE}/lib -liconv >XCONFIGURE_ENV+= CONFIG_SHELL=${SH} \ >X CHEWING_CFLAGS=-I${LOCALBASE}/include \ >X CPPFLAGS="${CPPFLAGS}" \ >X LDFLAGS="${LDFLAGS}" >XCONFIGURE_ARGS+=--disable-bimsphone-module \ >X --disable-static \ >X --with-conf-dir=${PREFIX}/etc/${PORTNAME} >X >X.include <bsd.port.pre.mk> >X >X.if defined(WITHOUT_GTK2) >XCONFIGURE_ARGS+= --disable-gtk-immodule >XPLIST_SUB+= GTK2="@comment " >X.else >XUSE_GNOME+= gtk20 >XCONFIGURE_ARGS+= --enable-gtk-immodule >XPLIST_SUB+= GTK2="" >X.endif >X >X# TODO WITHOUT_NLS knob >X#.if !defined(WITHOUT_NLS) >XUSE_GETTEXT= yes >XPLIST_SUB+= NLS="" >XLDFLAGS+= -lintl >XCONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" >X#.else >X#CONFIGURE_ARGS+=--disable-nls >X#PLIST_SUB+= NLS="@comment " >X#.endif >X >Xpost-patch: >X ${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|' \ >X ${WRKSRC}/src/gtk-immodule/gtkintl.h >Xpost-install: >X.if !defined(WITHOUT_GTK2) >X @gtk-query-immodules-2.0 > ${PREFIX}/etc/gtk-2.0/gtk.immodules >X.endif >X @${CAT} ${PKGMESSAGE} >X @${ECHO} To display this message again, type ${PKG_INFO} -D ${PKGNAME} >X >X.include <bsd.port.post.mk> >END-of-oxim/Makefile >echo x - oxim/distinfo >sed 's/^X//' >oxim/distinfo << 'END-of-oxim/distinfo' >XMD5 (oxim-1.0.1.tar.gz) = c884153c122e4110a85184141de53aca >XSHA256 (oxim-1.0.1.tar.gz) = 2099c98f8b0aa9830b92f0dff42fc461cce92ce48d43d81b4d8036bdb4d019a2 >XSIZE (oxim-1.0.1.tar.gz) = 3023499 >END-of-oxim/distinfo >echo x - oxim/pkg-descr >sed 's/^X//' >oxim/pkg-descr << 'END-of-oxim/pkg-descr' >Xoxim is a common input method server, which focuses mainly on Chinese. >XIt is mainly developed by Firefly <firefly@ossii.com.tw>, and is a >Xfork from xcin 2.5.3 (pre-release version). In addition to the >Xoriginal Root and OverTheSpot input style inherited from xcin, it >Xalso supports OnTheSpot and OnTheSpotQT. You can easily use oxim in >XGTK and QT based software. >X >XWWW: http://opendesktop.org.tw/ >END-of-oxim/pkg-descr >echo x - oxim/pkg-plist >sed 's/^X//' >oxim/pkg-plist << 'END-of-oxim/pkg-plist' >Xbin/oxim >Xbin/oxim2tab >Xetc/oxim/locale.list >Xetc/oxim/oxim.conf >Xlib/liboxim.la >Xlib/liboxim.so >Xlib/liboxim.so.0 >X%%GTK2%%lib/gtk-2.0/immodules/gtk-im-oxim.la >X%%GTK2%%lib/gtk-2.0/immodules/gtk-im-oxim.so >Xlib/oxim/modules/chewing.la >Xlib/oxim/modules/chewing.so >Xlib/oxim/modules/gen-inp.la >Xlib/oxim/modules/gen-inp.so >Xlib/oxim/modules/unicode.la >Xlib/oxim/modules/unicode.so >Xlib/oxim/tables/array30.tab >Xlib/oxim/tables/cns11643.tab >Xlib/oxim/tables/cnscj.tab >Xlib/oxim/tables/cnsimplex.tab >Xlib/oxim/tables/cnsphone.tab >Xlib/oxim/tables/default.phr >Xlib/oxim/tables/ez.tab >Xlib/oxim/tables/sys.tab >X@dirrm etc/oxim >X@dirrm lib/oxim/tables >X@dirrm lib/oxim/modules >X@dirrm lib/oxim >X%%GTK2%%@dirrmtry lib/gtk-2.0/immodules >X%%GTK2%%@dirrmtry lib/gtk-2.0 >X%%GTK2%%@exec gtk-query-immodules-2.0 > %D/etc/gtk-2.0/gtk.immodules >X%%GTK2%%@unexec gtk-query-immodules-2.0 > %D/etc/gtk-2.0/gtk.immodules >END-of-oxim/pkg-plist >echo x - oxim/pkg-message >sed 's/^X//' >oxim/pkg-message << 'END-of-oxim/pkg-message' >X-------------------------------------------------------------------- >XRemember to set environment variables: >X >X (csh/tcsh) (sh/bash) >X setenv XMODIFIERS @im=oxim export XMODIFIERS='@im=xcin' >X setenv GTK_IM_MODULE oxim export GTK_IM_MODULE=oxim >X setenv QT_IM_MODULE xim export QT_IM_MODULE=xim >X >XIf you have disabled GTK2 support, you may want to use ``xim'' for >XGTK_IM_MODULE (GTK2 support is enabled by default). >X >XFinally, to start the oxim input method daemon, use command: >X >X exec oxim & >X >X-------------------------------------------------------------------- >END-of-oxim/pkg-message >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 94956
: 63716