From 31ac414140407cfe229ce5b399a9f199e58a8c4f Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Tue, 3 Feb 2015 15:25:12 +0800 Subject: [PATCH] Update to 1.6.99.20150203 --- .gitignore | 1 + ibus-libpinyin-1.7.x-head.patch | 25 ------------------------- ibus-libpinyin.spec | 14 ++++++++------ sources | 2 +- 4 files changed, 10 insertions(+), 32 deletions(-) diff --git a/.gitignore b/.gitignore index 70b0bdb..7aeaa47 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /ibus-libpinyin-1.5.92.tar.gz /ibus-libpinyin-1.6.91.tar.gz /ibus-libpinyin-1.6.92.tar.gz +/ibus-libpinyin-1.6.99.20150203.tar.gz diff --git a/ibus-libpinyin-1.7.x-head.patch b/ibus-libpinyin-1.7.x-head.patch index ef40062..e69de29 100644 --- a/ibus-libpinyin-1.7.x-head.patch +++ b/ibus-libpinyin-1.7.x-head.patch @@ -1,25 +0,0 @@ -From 5e6708be79ff90cf483bfc66e30437d5019404a0 Mon Sep 17 00:00:00 2001 -From: Peng Wu -Date: Mon, 11 Nov 2013 15:38:35 +0800 -Subject: [PATCH] fixes pinyin properties - ---- - src/PYPinyinProperties.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/PYPinyinProperties.cc b/src/PYPinyinProperties.cc -index 66205de..2d562cc 100644 ---- a/src/PYPinyinProperties.cc -+++ b/src/PYPinyinProperties.cc -@@ -189,7 +189,7 @@ PinyinProperties::reset (void) - - gboolean - PinyinProperties::propertyActivate (const gchar *prop_name, guint prop_state) { -- const static std::string mode_chinese ("mode.chinese"); -+ const static std::string mode_chinese ("InputMode"); - const static std::string mode_full ("mode.full"); - const static std::string mode_full_punct ("mode.full_punct"); - const static std::string mode_simp ("mode.simp"); --- -1.8.3.1 - diff --git a/ibus-libpinyin.spec b/ibus-libpinyin.spec index e01723c..cf5eaca 100644 --- a/ibus-libpinyin.spec +++ b/ibus-libpinyin.spec @@ -1,8 +1,8 @@ -%global snapshot 1 +%global snapshot 0 Name: ibus-libpinyin -Version: 1.6.92 -Release: 5%{?dist} +Version: 1.6.99.20150203 +Release: 1%{?dist} Summary: Intelligent Pinyin engine based on libpinyin for IBus License: GPLv2+ Group: System Environment/Libraries @@ -11,7 +11,6 @@ Source0: http://downloads.sourceforge.net/libpinyin/ibus-libpinyin/%{name}-%{ %if %snapshot Patch0: ibus-libpinyin-1.7.x-head.patch %endif -Patch1: ibus-libpinyin-use-opencc.patch Requires: pygobject3 Requires: ibus >= 1.5.4 @@ -26,7 +25,8 @@ BuildRequires: lua-devel BuildRequires: python2-devel BuildRequires: desktop-file-utils BuildRequires: ibus-devel >= 1.5.4 -BuildRequires: libpinyin-devel >= 0.9.91 +BuildRequires: libpinyin-devel >= 1.0.99 +BuildRequires: gtk3-devel # Requires(post): sqlite @@ -45,7 +45,6 @@ input method based on libpinyin for IBus. %if %snapshot %patch0 -p1 -b .head %endif -%patch1 -p1 -b .opencc %build %configure --disable-static \ @@ -90,6 +89,9 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" %{_datadir}/ibus/component/* %changelog +* Tue Feb 3 2015 Peng Wu - 1.6.99.20150203-1 +- Update to 1.6.99.20150203 + * Wed Jan 7 2015 Peng Wu - 1.6.92-5 - Use opencc 1.0.2 diff --git a/sources b/sources index 64e7962..80e4524 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -728564474c4b413f4fb6e1c96ffb70d4 ibus-libpinyin-1.6.92.tar.gz +9220244c1c720b6550b285c1e73cd67b ibus-libpinyin-1.6.99.20150203.tar.gz