rpms/ibus-anthy/F-11 ibus-anthy-HEAD.patch, NONE, 1.1 ibus-anthy.spec, 1.15, 1.16
Huang Peng
phuang at fedoraproject.org
Thu Apr 30 04:32:17 UTC 2009
Author: phuang
Update of /cvs/pkgs/rpms/ibus-anthy/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv10449
Modified Files:
ibus-anthy.spec
Added Files:
ibus-anthy-HEAD.patch
Log Message:
Fix bug 498250 - Cannot type zenkaku-space
ibus-anthy-HEAD.patch:
--- NEW FILE ibus-anthy-HEAD.patch ---
diff --git a/engine/engine.py b/engine/engine.py
index 98c46b5..de87b74 100644
--- a/engine/engine.py
+++ b/engine/engine.py
@@ -640,16 +640,21 @@ class Engine(ibus.EngineBase):
def __on_key_space(self):
if self.__input_mode == INPUT_MODE_WIDE_LATIN:
- # Input Wide Latin chars
- char = unichr(keysyms.space)
- wide_char = symbol_rule.get(char, None)
- if wide_char == None:
- wide_char = ibus.unichar_half_to_full(char)
+ # Input Wide space U+3000
+ wide_char = symbol_rule[unichr(keysyms.space)]
self.__commit_string(wide_char)
return True
if self.__preedit_ja_string.is_empty():
- return False
+ if self.__input_mode in (INPUT_MODE_HIRAGANA, INPUT_MODE_KATAKANA):
+ # Input Wide space U+3000
+ wide_char = symbol_rule[unichr(keysyms.space)]
+ self.__commit_string(wide_char)
+ return True
+ else:
+ # Input Half space U+0020
+ self.__commit_string(unichr(keysyms.space))
+ return True
if self.__convert_mode != CONV_MODE_ANTHY:
self.__begin_anthy_convert()
Index: ibus-anthy.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ibus-anthy/F-11/ibus-anthy.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -p -r1.15 -r1.16
--- ibus-anthy.spec 2 Apr 2009 07:46:34 -0000 1.15
+++ ibus-anthy.spec 30 Apr 2009 04:31:46 -0000 1.16
@@ -2,12 +2,13 @@
%define mod_path ibus-1.1
Name: ibus-anthy
Version: 1.1.0.20090402
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: The Anthy engine for IBus input platform
License: GPLv2+
Group: System Environment/Libraries
URL: http://code.google.com/p/ibus/
Source0: http://ibus.googlecode.com/files/%{name}-%{version}.tar.gz
+Patch0: ibus-anthy-HEAD.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -27,6 +28,7 @@ libanthy.
%prep
%setup -q
+%patch0 -p1
%build
%configure --disable-static
@@ -54,6 +56,10 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/ibus/component/*
%changelog
+* Thu Apr 30 2009 Huang Peng <shawn.p.huang at gmail.com> - 1.1.0.20090402-2
+- Update to upstream HEAD version
+- Fix bug 498250 - Cannot type zenkaku-space
+
* Thu Apr 02 2009 Huang Peng <shawn.p.huang at gmail.com> - 1.1.0.20090402-1
- Update to 1.1.0.20090402.
- Fix bug 490747 - Muhenkan (no-conversion) key does not undo conversion
More information about the fedora-extras-commits
mailing list