rpms/libchewing/devel libchewing-0.3.0-8.bz237916.patch, NONE, 1.1 libchewing.spec, 1.14, 1.15

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Fri Jun 1 06:29:17 UTC 2007


Author: cchance

Update of /cvs/dist/rpms/libchewing/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv28358

Modified Files:
	libchewing.spec 
Added Files:
	libchewing-0.3.0-8.bz237916.patch 
Log Message:
* Fri Jun 01 2007 Caius Chance <cchance at redhat.com> - 0.3.0-8.devel
- Fixed bz#237916: [chewing] Candidate list (symbol) page change inaccracy.


libchewing-0.3.0-8.bz237916.patch:
 chewingutil.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

--- NEW FILE libchewing-0.3.0-8.bz237916.patch ---
--- libchewing-0.3.0/src/chewingutil.c.orig	2007-05-30 18:06:40.000000000 +1000
+++ libchewing-0.3.0/src/chewingutil.c	2007-05-30 18:07:20.000000000 +1000
@@ -133,7 +133,7 @@ int HaninSymbolInput(
 	pai->avail[ 0 ].id = -1;  
 	pai->nAvail = 1;
 	pai->currentAvail = 0;
-	pci->nChoicePerPage = (selectAreaLen - 5) / ( 2 + 3) ;
+	pci->nChoicePerPage = selectAreaLen ;
 	if ( pci->nChoicePerPage > MAX_SELKEY ) {
 		pci->nChoicePerPage = MAX_SELKEY;
 	}
@@ -982,7 +982,7 @@ int OpenSymbolChoice( ChewingData *pgdat
 		pci->nTotalChoice++; 
 	}
 
-	pci->nChoicePerPage = (pgdata->config.selectAreaLen - 5) / ( 2 + 3) ;
+	pci->nChoicePerPage = pgdata->config.selectAreaLen ;
 	if ( pci->nChoicePerPage > MAX_SELKEY )
 		pci->nChoicePerPage = MAX_SELKEY ;
 	pci->nPage = CEIL_DIV( pci->nTotalChoice, pci->nChoicePerPage );


Index: libchewing.spec
===================================================================
RCS file: /cvs/dist/rpms/libchewing/devel/libchewing.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- libchewing.spec	20 Apr 2007 07:23:52 -0000	1.14
+++ libchewing.spec	1 Jun 2007 06:29:15 -0000	1.15
@@ -1,7 +1,7 @@
 Name:		libchewing
 Version:	0.3.0
-Release: 	7%{?dist}
-Summary:      Intelligent phonetic input method library for Traditional Chinese
+Release: 	8%{?dist}
+Summary:      	Intelligent phonetic input method library for Traditional Chinese
 
 Group: 		System Environment/Libraries
 License:	GPL
@@ -13,6 +13,7 @@
 Patch3:		libchewing-0.3.0-5.bz216581b.patch
 Patch4:		libchewing-0.3.0-6.bz231568.patch
 Patch5:		libchewing-0.3.0-7.bz237233.patch
+Patch6:		libchewing-0.3.0-8.bz237916.patch
 
 BuildRoot:  	%{_tmppath}/%{name}-%{version}-root
 
@@ -24,10 +25,10 @@
 input method that is useful for inputting Mandarin Chinese.
 
 
-%package  -n %{name}-devel
+%package -n %{name}-devel
 Summary:	Development files for libchewing
 Group: 		Development/Libraries
-Requires: %{name} = %{version}-%{release}, pkgconfig
+Requires: 	%{name} = %{version}-%{release}, pkgconfig
 
 %description -n %{name}-devel
 Headers and other files needed to develop applications using the %name library.
@@ -40,6 +41,7 @@
 %patch3 -p1 -b .4-bz216581b
 %patch4 -p1 -b .5-bz231568
 %patch5 -p1 -b .6-bz237233
+%patch6 -p1 -b .7-bz237916
 
 %build
 %configure --disable-static
@@ -73,6 +75,9 @@
 %{_libdir}/*.so
 
 %changelog
+* Fri Jun 01 2007 Caius Chance <cchance at redhat.com> - 0.3.0-8.devel
+- Fixed bz#237916: [chewing] Candidate list (symbol) page change inaccracy.
+
 * Fri Apr 20 2007 Caius Chance <cchance at redhat.com> - 0.3.0-7.fc7
 - Fixed bz#237233: Up arrow on candidate list doesn't work.
 




More information about the fedora-cvs-commits mailing list