rpms/ibus-table/F-11 ibus-table-1.1.0.20090316-4.candidate_order.patch, NONE, 1.1 .cvsignore, 1.8, 1.9 ibus-table.spec, 1.17, 1.18 sources, 1.9, 1.10

Caius Chance cchance at fedoraproject.org
Tue Jun 16 04:09:30 UTC 2009


Author: cchance

Update of /cvs/pkgs/rpms/ibus-table/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18434

Modified Files:
	.cvsignore ibus-table.spec sources 
Added Files:
	ibus-table-1.1.0.20090316-4.candidate_order.patch 
Log Message:
Resolves rhbz#505700 (Cannot input Cangjie and Quick.)


ibus-table-1.1.0.20090316-4.candidate_order.patch:

--- NEW FILE ibus-table-1.1.0.20090316-4.candidate_order.patch ---
diff -up ibus-table-1.1.0.20090316/engine/table.py.2-candidate_order ibus-table-1.1.0.20090316/engine/table.py
--- ibus-table-1.1.0.20090316/engine/table.py.2-candidate_order	2009-06-15 09:47:54.000000000 +1000
+++ ibus-table-1.1.0.20090316/engine/table.py	2009-06-15 09:49:39.000000000 +1000
@@ -26,6 +26,7 @@ __all__ = (
 )
 
 import os
+import locale
 import ibus
 from ibus import Property
 from ibus import keysyms
@@ -102,7 +103,8 @@ class editor(object):
     def get_chinese_mode (self):
         '''Use LC_CTYPE in your box to determine the _chinese_mode'''
         try:
-            __lc = os.environ['LC_CTYPE'].split('.')[0].lower()
+	    if locale.setlocale(locale.LC_ALL, ''):
+                __lc = locale.getlocale()[0].lower()
             if __lc.find('zh_') == 0:
                 # this is a zh_XX
                 __place =__lc.split('_')[1]


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/ibus-table/F-11/.cvsignore,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -p -r1.8 -r1.9
--- .cvsignore	27 May 2009 06:22:24 -0000	1.8
+++ .cvsignore	16 Jun 2009 04:08:59 -0000	1.9
@@ -1 +1,2 @@
 ibus-table-1.1.0.20090527.tar.gz
+ibus-table-1.1.0.20090316.tar.gz


Index: ibus-table.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ibus-table/F-11/ibus-table.spec,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -p -r1.17 -r1.18
--- ibus-table.spec	27 May 2009 06:22:24 -0000	1.17
+++ ibus-table.spec	16 Jun 2009 04:08:59 -0000	1.18
@@ -1,11 +1,14 @@
 Name:       ibus-table
-Version:    1.1.0.20090527
+Version:    1.1.0.20090610
 Release:    1%{?dist}
 Summary:    The Table engine for IBus platform
 License:    LGPLv2+
 Group:      System Environment/Libraries
 URL:        http://code.google.com/p/ibus/
-Source0:    http://ibus.googlecode.com/files/%{name}-%{version}.tar.gz
+#Source0:    http://ibus.googlecode.com/files/%{name}-%{version}.tar.gz
+Source0:    http://ibus.googlecode.com/files/%{name}-1.1.0.20090306.tar.gz
+Patch0:     ibus-table-1.1.0.20090316-1.bz490396.no_speedmeter.patch
+Patch1:     ibus-table-1.1.0.20090316-4.candidate_order.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:  noarch
 BuildRequires:  ibus-devel > 1.1.0
@@ -23,7 +26,9 @@ Requires:   %{name} = %{version}-%{relea
 This package contains additional tables.
 
 %prep
-%setup -q
+%setup -q -n %{name}-1.1.0.20090316
+%patch0 -p1
+%patch1 -p1
 
 %build
 %configure --disable-static --enable-additional
@@ -104,6 +109,9 @@ ibus-table-createdb -i -n %{_datadir}/ib
 %{_datadir}/%{name}/icons/latex.svg
 
 %changelog
+* Tue Jun 16 2009 Caius 'kaio' Chance <k AT kaio.me> - 1.1.0.20090609-1.fc11
+- Resolves: rhbz#505700 (Cannout input CangJie and Quick.)
+
 * Wed May 27 2009 Caius 'kaio' Chance <cchance at redhat.com> - 1.1.0.20090527-1.fc11
 - Updated source tarball from upstream, which with candidate order fix.
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/ibus-table/F-11/sources,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -p -r1.9 -r1.10
--- sources	27 May 2009 06:22:25 -0000	1.9
+++ sources	16 Jun 2009 04:08:59 -0000	1.10
@@ -1 +1,2 @@
 84a2cceaf596780269af80c897d5f037  ibus-table-1.1.0.20090527.tar.gz
+f512ac6bd166c68c8308a255fcd77d48  ibus-table-1.1.0.20090316.tar.gz




More information about the fedora-extras-commits mailing list