[ibus-indic-table/f16] Fixed inscript mode do not show inscript char in aux text

anish anishpatil at fedoraproject.org
Tue Oct 18 12:20:40 UTC 2011


commit ee384ea55b9eb6a5f636c101d6e5c5a0a8c9439d
Author: anish <anish at dhcp193-44.pnq.redhat.com>
Date:   Tue Oct 18 17:51:08 2011 +0530

    Fixed inscript mode do not show inscript char in aux text

 bug-684118-inscript.patch |   54 +++++++++++++++++++++++++++++++++++++++++++++
 ibus-indic-table.spec     |   34 +++++++++++++++++----------
 2 files changed, 75 insertions(+), 13 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 40b10c3..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:    10%{?dist}
+Release:    12%{?dist}
 Summary:    The Table engine for IBus platform
 License:    LGPLv2+
 Group:      System Environment/Libraries
@@ -12,9 +12,10 @@ Patch2:     bug-683826-683743.patch
 Patch3:     bug-741176.patch
 Patch4:     bug-741176-minor-symbol.patch
 Patch5:     bug-742852.patch
-Patch6:     bug-683749.patch
-Patch7:	    bug-684118.patch
-Patch8:     bug-684118-template.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,21 +55,27 @@ make DESTDIR=${RPM_BUILD_ROOT} NO_INDEX=true install pkgconfigdir=%{_datadir}/pk
 %{_datadir}/pkgconfig/%{name}.pc
 
 %changelog
-* Thu Oct 17 2011 Anish Patil <apatil at redhat.com> - 1.3.1-10
+* 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
 
-* Thu Oct 13 2011 Anish Patil <apatil at redhat.com> - 1.3.1-9
-- Fixed the bug #684118 
+* Thu Oct 13 2011 Anish Patil <apatil at redhat.com> - 1.3.1-10
+- Fixed the bug #684118
 
-* Mon Oct 05 2011 Anish Patil <apatil at redhat.com> - 1.3.1-8
-- Fixed the bug #683749
+* Mon Oct 05 2011 Anish Patil <apatil at redhat.com> - 1.3.1-9
+- Fixed the bug 683749
 
-* Mon Oct 03 2011 Anish Patil <apatil at redhat.com> - 1.3.1-7
-- Fixed the bug #742852
+* Mon Oct 03 2011 Anish Patil <apatil at redhat.com> - 1.3.1-8
+- Fixed the bug 742852
 
-* Fri Sep 30 2011 Anish Patil <apatil at redhat.com> - 1.3.1-6
-- Resolves bug #741176 added unicode support for localized string
+* Fri Sep 30 2011 Anish Patil <apatil at redhat.com> - 1.3.1-7
+- Added patch in spec file 
 
+* Fri Sep 30 2011 Anish Patil <apatil at redhat.com> - 1.3.1-6
+- Resolves bug #741176 added unicode support for localized string 
+ 
 * Mon Sep 26 2011 Anish Patil <apatil at redhat.com> - 1.3.1-5
 - reolves bug #741176
 


More information about the scm-commits mailing list