ports/108821: [MAINTAINER] chinese/gcin: Apply patch while sets GTK_IM_MODULE as 'gcin'
chinsan
chinsan at FreeBSD.org
Tue Feb 6 06:30:17 UTC 2007
>Number: 108821
>Category: ports
>Synopsis: [MAINTAINER] chinese/gcin: Apply patch while sets GTK_IM_MODULE as 'gcin'
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Tue Feb 06 06:30:16 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: chinsan
>Release: FreeBSD 6.2-STABLE i386
>Organization:
Taiwan
>Environment:
System: FreeBSD chinsan.twbbs.org 6.2-STABLE FreeBSD 6.2-STABLE #6: Mon Feb 5 23:22:25 CST
>Description:
- Apply patch while sets GTK_IM_MODULE as 'gcin'.
Contributed by: eliu(the author of gcin)
Noticed by: Edward Lee
- This PR includes ports/108791, please close ports/108791.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- gcin-1.3.3_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/chinese/gcin/Makefile /usr/home/chinsan/project/gcin/Makefile
--- /usr/ports/chinese/gcin/Makefile Mon Feb 5 14:17:08 2007
+++ /usr/home/chinsan/project/gcin/Makefile Tue Feb 6 14:20:52 2007
@@ -7,6 +7,7 @@
PORTNAME= gcin
PORTVERSION= 1.3.3
+PORTREVISION= 1
CATEGORIES= chinese textproc gnome
MASTER_SITES= http://cle.linux.org.tw/gcin/download/:main \
http://ftp.twaren.net/local-distfiles/gcin/:main \
@@ -62,8 +63,8 @@
${WRKSRC}/scripts/utf8-edit ${WRKSRC}/scripts/gcin-user-setup \
${WRKSRC}/scripts/gtab.append_prepare
@${REINPLACE_CMD} -e 's,wget,fetch,' ${WRKSRC}/scripts/noseeing-inst
- @${REINPLACE_CMD} -e 's,gcin-im-client.h,im-client/gcin-im-client.h,' \
- ${WRKSRC}/gtk-im/gtkimcontextgcin.c
+ @${REINPLACE_CMD} -e 's,gcin-im-client.h,im-client/gcin-im-client.h,; \
+ s,if 1,if 0,' ${WRKSRC}/gtk-im/gtkimcontextgcin.c
@${REINPLACE_CMD} -e 's,/usr/X11R6,${X11BASE},' \
${WRKSRC}/IMdkit/lib/Makefile ${WRKSRC}/Makefile \
${WRKSRC}/qt-im/Makefile ${WRKSRC}/scripts/modify-XIM \
diff -ruN --exclude=CVS /usr/ports/chinese/gcin/pkg-message /usr/home/chinsan/project/gcin/pkg-message
--- /usr/ports/chinese/gcin/pkg-message Fri Apr 7 11:22:56 2006
+++ /usr/home/chinsan/project/gcin/pkg-message Mon Feb 5 17:59:35 2007
@@ -1,11 +1,10 @@
---------------------------------------------------------------------
-Remember to set environment varible:
-
- (csh/tcsh) (sh/bash)
- setenv XMODIFIERS @im=gcin export XMODIFIERS='@im=gcin'
-
-Finally, to start the GCIN input method daemon, use command:
+[1;32m=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
+[1;33mRemember to set these environment varibles (such as your ~/.xinitrc):
+[1;36m
+ export XMODIFIERS='@im=gcin'
+ export GTK_IM_MODULE=xim
+ # Finally, to start the GCIN input method daemon, use command:
exec gcin &
---------------------------------------------------------------------
+[1;32m=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=[0m
--- gcin-1.3.3_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list