Update to 1.6.99.20150203

This commit is contained in:
Peng Wu 2015-02-03 15:25:12 +08:00
parent e3558534eb
commit 31ac414140
4 changed files with 10 additions and 32 deletions

1
.gitignore vendored
View File

@ -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

View File

@ -1,25 +0,0 @@
From 5e6708be79ff90cf483bfc66e30437d5019404a0 Mon Sep 17 00:00:00 2001
From: Peng Wu <alexepico@gmail.com>
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

View File

@ -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 <pwu@redhat.com> - 1.6.99.20150203-1
- Update to 1.6.99.20150203
* Wed Jan 7 2015 Peng Wu <pwu@redhat.com> - 1.6.92-5
- Use opencc 1.0.2

View File

@ -1 +1 @@
728564474c4b413f4fb6e1c96ffb70d4 ibus-libpinyin-1.6.92.tar.gz
9220244c1c720b6550b285c1e73cd67b ibus-libpinyin-1.6.99.20150203.tar.gz