update to 1.4.1
This commit is contained in:
parent
7b500f73da
commit
d2e7d429f7
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
/ibus-libpinyin-1.4.0.tar.gz
|
||||
/ibus-libpinyin-1.4.1.tar.gz
|
||||
|
0
ibus-libpinyin-1.4.x-head.patch
Normal file
0
ibus-libpinyin-1.4.x-head.patch
Normal file
@ -1,23 +0,0 @@
|
||||
commit 3717bfcf2b5334c4d5800cb2239ab33410e7c26a
|
||||
Author: Peng Wu <alexepico@gmail.com>
|
||||
Date: Tue Apr 17 12:45:47 2012 +0800
|
||||
|
||||
update pinyin_choose_candidate
|
||||
|
||||
diff --git a/src/PYPPhoneticEditor.cc b/src/PYPPhoneticEditor.cc
|
||||
index 4bd68fc..fe047fa 100644
|
||||
--- a/src/PYPPhoneticEditor.cc
|
||||
+++ b/src/PYPPhoneticEditor.cc
|
||||
@@ -379,11 +379,10 @@ LibPinyinPhoneticEditor::selectCandidate (guint i)
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
- guint8 len = pinyin_choose_candidate (m_instance, lookup_cursor, *token);
|
||||
+ lookup_cursor = pinyin_choose_candidate (m_instance, lookup_cursor, *token);
|
||||
pinyin_guess_sentence (m_instance);
|
||||
|
||||
PinyinKeyPosVector & pinyin_poses = m_instance->m_pinyin_key_rests;
|
||||
- lookup_cursor += len;
|
||||
if (lookup_cursor == pinyin_poses->len) {
|
||||
commit();
|
||||
return TRUE;
|
@ -1,12 +1,12 @@
|
||||
Name: ibus-libpinyin
|
||||
Version: 1.4.0
|
||||
Version: 1.4.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Intelligent Pinyin engine based on libpinyin for IBus
|
||||
License: GPLv2+
|
||||
Group: System Environment/Libraries
|
||||
URL: https://github.com/libpinyin/ibus-libpinyin
|
||||
Source0: https://github.com/downloads/libpinyin/ibus-libpinyin/%{name}-%{version}.tar.gz
|
||||
Patch0: ibus-libpinyin-for-0.6.0.patch
|
||||
Patch0: ibus-libpinyin-1.4.x-head.patch
|
||||
|
||||
BuildRequires: gettext-devel
|
||||
BuildRequires: intltool
|
||||
@ -30,7 +30,7 @@ input method based on libpinyin for IBus.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -R -b .6.0
|
||||
%patch0 -p1 -b .head
|
||||
|
||||
%build
|
||||
%configure --disable-static \
|
||||
@ -64,5 +64,8 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_datadir}/ibus/component/*
|
||||
|
||||
%changelog
|
||||
* Wed Jul 04 2012 Peng Wu <pwu@redhat.com> - 1.4.1-1
|
||||
- Update to 1.4.1
|
||||
|
||||
* Fri Jun 01 2012 Peng Wu <pwu@redhat.com> - 1.4.0-1
|
||||
- The first version.
|
||||
|
Loading…
Reference in New Issue
Block a user