[ibus-indic-table/f15] fixed the bug 741176

anish anishpatil at fedoraproject.org
Tue Sep 27 05:42:20 UTC 2011


commit 3a69b8867068c8e52bee609bca06338399d9e1dc
Author: anish <anish at dhcp193-44.pnq.redhat.com>
Date:   Tue Sep 27 11:13:12 2011 +0530

    fixed the bug 741176

 bug-741176.patch      |   57 +++++++++++++++++++++++++++++++++++++++++++++++++
 ibus-indic-table.spec |    9 ++++++-
 2 files changed, 64 insertions(+), 2 deletions(-)
---
diff --git a/bug-741176.patch b/bug-741176.patch
new file mode 100644
index 0000000..c955882
--- /dev/null
+++ b/bug-741176.patch
@@ -0,0 +1,57 @@
+diff -rpu ibus-indic-table-1.3.1-org/engine/main.py ibus-indic-table-1.3.1/engine/main.py
+--- ibus-indic-table-1.3.1-org/engine/main.py	2011-09-26 16:25:34.227875356 +0530
++++ ibus-indic-table-1.3.1/engine/main.py	2011-09-26 16:27:03.299877389 +0530
+@@ -103,7 +103,8 @@ class IMApp:
+                 if not os.access( icon, os.F_OK):
+                     icon = ''
+             layout = self.__factory.db.get_ime_property ("layout")
+-            
++            symbol = self.__factory.db.get_ime_property("symbol")
++
+             self.__component.add_engine(name,
+                                         longname,
+                                         description,
+@@ -111,7 +112,8 @@ class IMApp:
+                                         license,
+                                         author,
+                                         icon,
+-                                        layout)
++                                        layout,
++                                        symbol)
+             self.__bus.register_component(self.__component)
+ 
+ 
+@@ -163,6 +165,7 @@ def main():
+         #    return
+ 
+         egs = Element('engines')
++
+         for _db in dbs:
+             _sq_db = tabsqlitedb.tabsqlitedb (os.path.join (db_dir, _db))
+             _engine = SubElement (egs,'engine')
+@@ -207,6 +210,12 @@ def main():
+ 
+             _desc = SubElement (_engine, 'description')
+             _desc.text = _sq_db.get_ime_property ('description')
++            
++            _page_size_ibus = SubElement(_engine,'page_size')
++            _page_size_ibus.text = _sq_db.get_ime_property('page_size')
++            
++            _symbol = SubElement(_engine,'symbol')
++            _symbol.text = _sq_db.get_ime_property('symbol')
+ 
+         # now format the xmlout pretty
+         indent (egs)
+diff -rpu ibus-indic-table-1.3.1-org/engine/tabsqlitedb.py ibus-indic-table-1.3.1/engine/tabsqlitedb.py
+--- ibus-indic-table-1.3.1-org/engine/tabsqlitedb.py	2011-09-26 16:25:34.227875356 +0530
++++ ibus-indic-table-1.3.1/engine/tabsqlitedb.py	2011-09-26 16:28:43.773879681 +0530
+@@ -108,7 +108,8 @@ class tabsqlitedb:
+                       # we use this entry for those IME, which don't
+                       # have rules to build up phrase, but still need
+                       # auto commit to preedit
+-                      'page_size':'6'
++                      'page_size':'6',
++                      'symbol':'म'
+                       }
+             # inital the attribute in ime table, which should be updated from mabiao
+             for _name in ime_keys:
diff --git a/ibus-indic-table.spec b/ibus-indic-table.spec
index 3d92084..fa06b20 100644
--- a/ibus-indic-table.spec
+++ b/ibus-indic-table.spec
@@ -1,6 +1,6 @@
 Name:       ibus-indic-table
 Version:    1.3.1
-Release:    4%{?dist}
+Release:    5%{?dist}
 Summary:    The Table engine for IBus platform
 License:    LGPLv2+
 Group:      System Environment/Libraries
@@ -9,6 +9,7 @@ Source0:    http://fedorapeople.org/~nkumar/ibus-indic-table/ibus-indic-table-1.
 Patch0:	    i-i-t-683739.patch
 Patch1:	    bug-703124.patch
 Patch2:     bug-683826-683743.patch
+Patch3:     bug-741176.patch
 Requires:       ibus
 BuildRequires:  ibus-devel
 BuildArch:  noarch
@@ -21,6 +22,7 @@ The Indic Table engine for IBus platform.
 %patch0 -p1
 %patch1 -p1 -b .2-reduced-limit-for-query
 %patch2 -p1
+%patch3 -p1
 
 %build
 %configure --disable-static --disable-additional
@@ -41,7 +43,10 @@ make DESTDIR=${RPM_BUILD_ROOT} NO_INDEX=true install pkgconfigdir=%{_datadir}/pk
 %{_datadir}/pkgconfig/%{name}.pc
 
 %changelog
-* Wed Sep 27 2011 Anish Patil <apatil at redhat.com> - 1.3.1-4
+* Mon Sep 27 2011 Anish Patil <apatil at redhat.com> - 1.3.1-5
+- reolves bug #741176
+
+* Wed Sep 21 2011 Anish Patil <apatil at redhat.com> - 1.3.1-4
 - reolves bug #683826 and #683743
 
 * Mon May 09 2011 Pravin Satpute <psatpute at redhat.com> - 1.3.1-3


More information about the scm-commits mailing list