diff --git a/.cvsignore b/.cvsignore index 06dc1ec..782a069 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -ibus-anthy-1.1.0.20090402.tar.gz +ibus-anthy-1.1.0.20090603.tar.gz diff --git a/ibus-anthy-HEAD.patch b/ibus-anthy-HEAD.patch index 3d8ce41..8b13789 100644 --- a/ibus-anthy-HEAD.patch +++ b/ibus-anthy-HEAD.patch @@ -1,32 +1 @@ -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() + diff --git a/ibus-anthy.spec b/ibus-anthy.spec index 91fe5f9..96b0c37 100644 --- a/ibus-anthy.spec +++ b/ibus-anthy.spec @@ -1,14 +1,14 @@ %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %define mod_path ibus-1.1 Name: ibus-anthy -Version: 1.1.0.20090402 -Release: 2%{?dist} +Version: 1.1.0.20090603 +Release: 1%{?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 +# Patch0: ibus-anthy-HEAD.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -28,7 +28,7 @@ libanthy. %prep %setup -q -%patch0 -p1 +# %patch0 -p1 %build %configure --disable-static @@ -51,11 +51,15 @@ rm -rf $RPM_BUILD_ROOT # %dir %{python_sitearch}/ibus %{python_sitearch}/anthy.py* %{python_sitearch}/_anthy.so -%{_libexecdir}/ibus-engine-anthy +%{_libexecdir}/* %{_datadir}/ibus-anthy %{_datadir}/ibus/component/* %changelog +* Wed Jun 03 2009 Huang Peng - 1.1.0.20090603-1 +- Update to 1.1.0.20090603 +- Implement setup ui. + * Thu Apr 30 2009 Huang Peng - 1.1.0.20090402-2 - Update to upstream HEAD version - Fix bug 498250 - Cannot type zenkaku-space diff --git a/sources b/sources index 2c8a582..54fa52f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -2d5ae290174ed2f326006659deabc127 ibus-anthy-1.1.0.20090402.tar.gz +b8e9970bf6dbaf1dde27c8a3eb5622d9 ibus-anthy-1.1.0.20090603.tar.gz