[Fedora-i18n-bugs] [ibus-indic-table] Resolved bug #703124
Pravin Satpute
pravins at fedoraproject.org
Mon May 9 11:24:30 UTC 2011
commit b0fdc59aaa1a4b9c12686423146eed12aad90e0f
Author: प्रविण सातपुते <psatpute at redhat.com>
Date: Mon May 9 16:54:02 2011 +0530
Resolved bug #703124
bug-703124.patch | 13 +++++++++++++
ibus-indic-table.spec | 9 +++++++--
2 files changed, 20 insertions(+), 2 deletions(-)
---
diff --git a/bug-703124.patch b/bug-703124.patch
new file mode 100644
index 0000000..90064bb
--- /dev/null
+++ b/bug-703124.patch
@@ -0,0 +1,13 @@
+diff -rup ibus-indic-table-1.3.1/engine/tabsqlitedb.py ibus-indic-table-1.3.1_mod/engine/tabsqlitedb.py
+--- ibus-indic-table-1.3.1/engine/tabsqlitedb.py 2011-03-08 16:13:25.000000000 +0530
++++ ibus-indic-table-1.3.1_mod/engine/tabsqlitedb.py 2011-05-09 16:44:04.695463674 +0530
+@@ -678,7 +678,7 @@ class tabsqlitedb:
+ SELECT * FROM user_db.phrases WHERE mlen < %(mk)d %(condition)s
+ UNION ALL
+ SELECT * FROM mudb.phrases WHERE mlen < %(mk)d %(condition)s )
+- ORDER BY user_freq DESC, freq DESC, id ASC, mlen ASC limit 100;''' % { 'mk':_len+x_len, 'condition':_condition}
++ ORDER BY user_freq DESC, freq DESC, id ASC, mlen ASC limit 42;''' % { 'mk':_len+x_len, 'condition':_condition}
+ # we have redefine the __int__(self) in class tabdict.tab_key to return the key id, so we can use map to got key id :)
+ _tabkeys = map(int,tabkeys[:_len])
+ _tabkeys += _tabkeys + _tabkeys
+Only in ibus-indic-table-1.3.1_mod/engine: tabsqlitedb.py~
diff --git a/ibus-indic-table.spec b/ibus-indic-table.spec
index 18e0a8e..1dd9917 100644
--- a/ibus-indic-table.spec
+++ b/ibus-indic-table.spec
@@ -1,12 +1,13 @@
Name: ibus-indic-table
Version: 1.3.1
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: The Table engine for IBus platform
License: LGPLv2+
Group: System Environment/Libraries
URL: http://code.google.com/p/ibus/
Source0: http://fedorapeople.org/~nkumar/ibus-indic-table/ibus-indic-table-1.3.1/%{name}-%{version}.tar.gz
-Patch0: i-i-t-683739.patch
+Patch0: i-i-t-683739.patch
+Patch1: bug-703124.patch
Requires: ibus
BuildRequires: ibus-devel
BuildArch: noarch
@@ -17,6 +18,7 @@ The Indic Table engine for IBus platform.
%prep
%setup -q
%patch0 -p1
+%patch1 -p1 -b .2-reduced-limit-for-query
%build
%configure --disable-static --disable-additional
@@ -37,6 +39,9 @@ make DESTDIR=${RPM_BUILD_ROOT} NO_INDEX=true install pkgconfigdir=%{_datadir}/pk
%{_datadir}/pkgconfig/%{name}.pc
%changelog
+* Mon May 09 2011 Pravin Satpute <psatpute at redhat.com> - 1.3.1-3
+- reolves bug #703124
+
* Wed Mar 16 2011 Naveen Kumar <nav007 at gmail.com> - 1.3.1-2
- reolves bug #683739
- apply patch i-i-t-683739.patch
More information about the i18n-bugs
mailing list