[ibus-indic-table] Fixed bug inscript chars do not display in aux chars

anish anishpatil at fedoraproject.org
Tue Oct 18 12:10:16 UTC 2011


commit bc878c332a9a4c8a84d5ad2db5e160c818104fbe
Author: anish <anish at dhcp193-44.pnq.redhat.com>
Date:   Tue Oct 18 17:40:54 2011 +0530

    Fixed bug inscript chars do not display in aux chars

 bug-684118-inscript.patch |   54 +++++++++++++++++++++++++++++++++++++++++++++
 ibus-indic-table.spec     |    7 +++++-
 2 files changed, 60 insertions(+), 1 deletions(-)
---
diff --git a/bug-684118-inscript.patch b/bug-684118-inscript.patch
new file mode 100644
index 0000000..b98bdc1
--- /dev/null
+++ b/bug-684118-inscript.patch
@@ -0,0 +1,54 @@
+Only in ibus-indic-table-1.3.1/engine: factory.pyc
+diff -rup ibus-indic-table-1.3.1-old/engine/indic_table.py ibus-indic-table-1.3.1/engine/indic_table.py
+--- ibus-indic-table-1.3.1-old/engine/indic_table.py	2011-10-18 16:43:25.693319285 +0530
++++ ibus-indic-table-1.3.1/engine/indic_table.py	2011-10-18 17:12:11.053358653 +0530
+@@ -102,7 +102,7 @@ class editor(object):
+         self._is_inscript = False
+         self._ins_keys = {}
+         try:
+-            if self.db.get_ime_property('INSCRIPT'):
++            if self.db.get_ime_property('inscript'):
+                 self._is_inscript = True
+                 keyvals = self.db.get_all_values()
+                 for keyval in keyvals:
+Only in ibus-indic-table-1.3.1/engine: indic_table.pyc
+Only in ibus-indic-table-1.3.1/engine: tabdict.pyc
+diff -rup ibus-indic-table-1.3.1-old/engine/tabsqlitedb.py ibus-indic-table-1.3.1/engine/tabsqlitedb.py
+--- ibus-indic-table-1.3.1-old/engine/tabsqlitedb.py	2011-10-18 16:43:25.695319285 +0530
++++ ibus-indic-table-1.3.1/engine/tabsqlitedb.py	2011-10-18 16:46:45.023323832 +0530
+@@ -325,8 +325,11 @@ class tabsqlitedb:
+             if res:
+                 self.db.execute(sqlstr,(val,attr))
+             else:
+-                #print '"',attr,'"'," didn't in ime property now!"
+-                pass
++                if attr.strip() == "inscript":
++                    sqlstr1 = 'INSERT INTO main.ime (attr,val) VALUES (?,?);'
++                    self.db.execute(sqlstr1,(attr,val))
++                else:
++                    pass
+         # then flush previous cache
+         self.ime_property_cache = {}
+         # we need to update some self variables now.
+Only in ibus-indic-table-1.3.1/engine: tabsqlitedb.pyc
+diff -rup ibus-indic-table-1.3.1-old/indic-tables/template.txt ibus-indic-table-1.3.1/indic-tables/template.txt
+--- ibus-indic-table-1.3.1-old/indic-tables/template.txt	2011-10-18 16:43:25.713319285 +0530
++++ ibus-indic-table-1.3.1/indic-tables/template.txt	2011-10-18 17:26:08.612377764 +0530
+@@ -128,10 +128,10 @@ character_1	goucima_1
+ character_1	goucima_2
+ END_GOUCI
+ BEGIN_DEFINATION_INKEYS
+-  "ENG_KEY" : "INSCRIPT_KEY" 
+-  "!": ऍ
+-  "1": १
+-  "@":ॅ
+-  "2": २
+-  "#":#
++  ENG_KEY : INSCRIPT_KEY
++  !: ऍ
++  1: १
++  @:ॅ
++  2: २
++  #:#
+ END_DEFINATION_INKEYS
+Only in ibus-indic-table-1.3.1/indic-tables: template.txt~
diff --git a/ibus-indic-table.spec b/ibus-indic-table.spec
index 0fca3e7..636c86f 100644
--- a/ibus-indic-table.spec
+++ b/ibus-indic-table.spec
@@ -1,6 +1,6 @@
 Name:       ibus-indic-table
 Version:    1.3.1
-Release:    11%{?dist}
+Release:    12%{?dist}
 Summary:    The Table engine for IBus platform
 License:    LGPLv2+
 Group:      System Environment/Libraries
@@ -15,6 +15,7 @@ Patch5:     bug-742852.patch
 Patch6:	    bug-683749.patch
 Patch7:     bug-684118.patch
 Patch8:	    bug-684118-template.patch
+Patch9:	    bug-684118-inscript.patch
 Requires:       ibus
 BuildRequires:  ibus-devel
 BuildArch:  noarch
@@ -33,6 +34,7 @@ The Indic Table engine for IBus platform.
 %patch6 -p1
 %patch7 -p1
 %patch8 -p1
+%patch9 -p1
 
 %build
 %configure --disable-static --disable-additional
@@ -53,6 +55,9 @@ make DESTDIR=${RPM_BUILD_ROOT} NO_INDEX=true install pkgconfigdir=%{_datadir}/pk
 %{_datadir}/pkgconfig/%{name}.pc
 
 %changelog
+* Thu Oct 18 2011 Anish Patil <apatil at redhat.com> - 1.3.1-12
+- Fixed the #bug-684118-inscript.patch
+
 * Thu Oct 17 2011 Anish Patil <apatil at redhat.com> - 1.3.1-11
 - Fixed the #bug-684118-template.patch
 


More information about the scm-commits mailing list