From 3e28863648e7f36866b06565c0bfde5acb28777c Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Mon, 28 Aug 2017 16:21:10 +0800 Subject: [PATCH] Fixes pinyin and bopomofo config --- ibus-libpinyin-1.9.x-head.patch | 22 ++++++++++++++++++++++ ibus-libpinyin.spec | 7 +++++-- 2 files changed, 27 insertions(+), 2 deletions(-) diff --git a/ibus-libpinyin-1.9.x-head.patch b/ibus-libpinyin-1.9.x-head.patch index e69de29..f5024fe 100644 --- a/ibus-libpinyin-1.9.x-head.patch +++ b/ibus-libpinyin-1.9.x-head.patch @@ -0,0 +1,22 @@ +commit 8882bce91bdc944bc7b6e028c239fc049c69c0cd +Author: Peng Wu +Date: Mon Aug 28 16:14:24 2017 +0800 + + fixes LibPinyinConfig::valueChangedCallback method + +diff --git a/src/PYPConfig.cc b/src/PYPConfig.cc +index d4e2cfa..0eef387 100644 +--- a/src/PYPConfig.cc ++++ b/src/PYPConfig.cc +@@ -311,9 +311,9 @@ LibPinyinConfig::valueChangedCallback (IBusConfig *config, + + self->valueChanged (section, name, value); + +- if (self->m_section == "engine/pinyin") ++ if (self->m_section == "engine/libpinyin") + LibPinyinBackEnd::instance ().setPinyinOptions (self); +- if (self->m_section == "engine/bopomofo") ++ if (self->m_section == "engine/libbopomofo") + LibPinyinBackEnd::instance ().setChewingOptions (self); + } + diff --git a/ibus-libpinyin.spec b/ibus-libpinyin.spec index ab0abca..168bc47 100644 --- a/ibus-libpinyin.spec +++ b/ibus-libpinyin.spec @@ -1,8 +1,8 @@ -%global snapshot 0 +%global snapshot 1 Name: ibus-libpinyin Version: 1.9.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Intelligent Pinyin engine based on libpinyin for IBus License: GPLv2+ Group: System Environment/Libraries @@ -86,6 +86,9 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" %{_datadir}/ibus/component/* %changelog +* Mon Aug 28 2017 Peng Wu - 1.9.1-2 +- Fixes pinyin and bopomofo config + * Thu Aug 24 2017 Peng Wu - 1.9.1-1 - Update to 1.9.1 - add sort candidate option to setup dialog