ports/80801: [PATCH] net/gaim: fix the trouble of Chinese input

chinsan chinsan at mail2000.com.tw
Mon May 9 01:40:03 UTC 2005


>Number:         80801
>Category:       ports
>Synopsis:       [PATCH] net/gaim: fix the trouble of Chinese input
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 09 01:40:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     chinsan
>Release:        FreeBSD 5.3-RELEASE i386
>Organization:
FreeBSD Taiwan
>Environment:
System: FreeBSD chinsan.twbbs.org 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004 root at harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
	- add option of Chinese user (even all CJK user)
	- port maintainer(marcus at FreeBSD.org) is CC'd
	Thanks. :)
	
>How-To-Repeat:

	The default value in Gaim is
	ctrl_enter_sends = FALSE  &  enter_sends = TRUE

	But, it will confuse many people if they use this with their 
	own XIM(or GTK_IM_MOUDULE).

	Especially, the IM users in Taiwan often talks with Gaim as their
	GUI IM client program.

	Also, I will sumimit the problem to Gaim developers 
	as soon as possible.

>Fix:

--- gaim.patch begins here ---
diff -ruN gaim.orig/Makefile gaim/Makefile
--- gaim.orig/Makefile	Wed Apr  6 11:46:38 2005
+++ gaim/Makefile	Mon May  9 09:07:19 2005
@@ -33,7 +33,8 @@
 
 MAN1=		gaim.1 gaim-remote.1
 
-OPTIONS=	SILC "Secure Internet Live Conferencing support" off \
+OPTIONS=	BIG5 "With Big5 Chinese input fix" off \
+		SILC "Secure Internet Live Conferencing support" off \
 		GTKSPELL "spell checking support" on \
 		AUDIO "audio support" on \
 		GNUTLS "GNUTLS encryption support" off \
@@ -128,5 +129,8 @@
 		-e 's|TCL_VERSION found but 8.3 required|TCL_VERSION found but ${TCLTK_VER} required|g' \
 		-e 's|TCL_MINOR_VERSION" -ne 3|TCL_MINOR_VERSION" -ne ${TCLTK_VER:E}|' \
 			${WRKSRC}/configure
+.if defined(WITH_BIG5)
+EXTRA_PATCHES+=	${FILESDIR}/extra-patch-src_gtkconv.c
+.endif
 
 .include <bsd.port.post.mk>
diff -ruN gaim.orig/files/extra-patch-src_gtkconv.c gaim/files/extra-patch-src_gtkconv.c
--- gaim.orig/files/extra-patch-src_gtkconv.c	Thu Jan  1 08:00:00 1970
+++ gaim/files/extra-patch-src_gtkconv.c	Mon May  9 08:38:32 2005
@@ -0,0 +1,13 @@
+--- src.orig/gtkconv.c	Mon May  9 08:36:54 2005
++++ src/gtkconv.c	Mon May  9 08:37:32 2005
+@@ -6369,8 +6369,8 @@
+ 	/* Conversations */
+ 	gaim_prefs_add_none("/gaim/gtk/conversations");
+ 	gaim_prefs_add_bool("/gaim/gtk/conversations/close_on_tabs", TRUE);
+-	gaim_prefs_add_bool("/gaim/gtk/conversations/ctrl_enter_sends", FALSE);
+-	gaim_prefs_add_bool("/gaim/gtk/conversations/enter_sends", TRUE);
++	gaim_prefs_add_bool("/gaim/gtk/conversations/ctrl_enter_sends", TRUE);
++	gaim_prefs_add_bool("/gaim/gtk/conversations/enter_sends", FALSE);
+ 	gaim_prefs_add_bool("/gaim/gtk/conversations/escape_closes", FALSE);
+ 	gaim_prefs_add_bool("/gaim/gtk/conversations/send_formatting", FALSE);
+ 	gaim_prefs_add_bool("/gaim/gtk/conversations/send_bold", FALSE);
--- gaim.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list