rpms/libchewing/devel libchewing-0.3.0-11.bz195416.patch, NONE, 1.1 libchewing.spec, 1.17, 1.18

Caius Chance (cchance) fedora-extras-commits at redhat.com
Thu Apr 24 06:36:32 UTC 2008


Author: cchance

Update of /cvs/pkgs/rpms/libchewing/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17343

Modified Files:
	libchewing.spec 
Added Files:
	libchewing-0.3.0-11.bz195416.patch 
Log Message:
* Tue Apr 22 2008 Caius Chance <cchance at redhat.com> - 0.3.0-11.fc9
- Resolves: rhbz195416 (Initial input mode between Chinese and English.)



libchewing-0.3.0-11.bz195416.patch:

--- NEW FILE libchewing-0.3.0-11.bz195416.patch ---
diff -up libchewing-0.3.0/include/global.h.9-bz195416 libchewing-0.3.0/include/global.h
diff -up libchewing-0.3.0/src/chewingio.c.9-bz195416 libchewing-0.3.0/src/chewingio.c
--- libchewing-0.3.0/src/chewingio.c.9-bz195416	2008-04-24 14:56:45.000000000 +1000
+++ libchewing-0.3.0/src/chewingio.c	2008-04-24 16:31:32.000000000 +1000
@@ -255,13 +255,7 @@ CHEWING_API int chewing_Configure( Chewi
 
 CHEWING_API void chewing_set_ChiEngMode( ChewingContext *ctx, int mode )
 {
-	ChewingData *pgdata = ctx->data;
-
-	if ( pgdata->bFirstKey == 0 ) {
-		pgdata->bChiSym = mode;
-		pgdata->bCaseChange = ( mode == CHINESE_MODE ? 0 : 1 );
-		pgdata->bFirstKey = 1;
-	}
+	ctx->data->bChiSym = ( mode == CHINESE_MODE ? 1 : 0 );
 }
 
 CHEWING_API int chewing_get_ChiEngMode( ChewingContext *ctx ) 


Index: libchewing.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libchewing/devel/libchewing.spec,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- libchewing.spec	13 Feb 2008 01:20:52 -0000	1.17
+++ libchewing.spec	24 Apr 2008 06:35:50 -0000	1.18
@@ -1,6 +1,6 @@
 Name:		libchewing
 Version:	0.3.0
-Release: 	10%{?dist}
+Release: 	11%{?dist}
 Summary:      	Intelligent phonetic input method library for Traditional Chinese
 
 Group: 		System Environment/Libraries
@@ -15,6 +15,7 @@
 Patch5:		libchewing-0.3.0-7.bz237233.patch
 Patch6:		libchewing-0.3.0-8.bz237916.patch
 Patch7:		libchewing-0.3.0-9.bz200694.patch
+Patch8:	        libchewing-0.3.0-11.bz195416.patch
 
 BuildRoot:  	%{_tmppath}/%{name}-%{version}-root
 
@@ -44,6 +45,7 @@
 %patch5 -p1 -b .6-bz237233
 %patch6 -p1 -b .7-bz237916
 %patch7 -p1 -b .8-bz200694
+%patch8 -p1 -b .9-bz195416
 
 %build
 %configure --disable-static
@@ -77,6 +79,9 @@
 %{_libdir}/*.so
 
 %changelog
+* Tue Apr 22 2008 Caius Chance <cchance at redhat.com> - 0.3.0-11.fc9
+- Resolves: rhbz195416 (Initial input mode between Chinese and English.)
+
 * Wed Feb 13 2008 Caius Chance <cchance at redhat.com> - 0.3.0-10.fc9
 - Rebuild for F9.
 




More information about the fedora-extras-commits mailing list