From b2394cdcbdff7cec994be985815f9b8cc3fe8c88 Mon Sep 17 00:00:00 2001 From: Robin Lee Date: Aug 23 2013 16:18:39 +0000 Subject: Update to 0.3.2 - Remove fcitx-0.3.0-logging.patch - Requires fcitx-pinyin - Update URL and Source0 URL - Revise description following upstream wiki --- diff --git a/.gitignore b/.gitignore index 225f8b5..24833e4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /fcitx-cloudpinyin-0.2.1.tar.xz /fcitx-cloudpinyin-0.2.3.tar.xz /fcitx-cloudpinyin-0.3.0.tar.xz +/fcitx-cloudpinyin-0.3.2.tar.xz diff --git a/fcitx-cloudpinyin-0.3.0-logging.patch b/fcitx-cloudpinyin-0.3.0-logging.patch deleted file mode 100644 index be4c2f4..0000000 --- a/fcitx-cloudpinyin-0.3.0-logging.patch +++ /dev/null @@ -1,30 +0,0 @@ -diff -up fcitx-cloudpinyin-0.3.0/src/cloudpinyin.c.logging fcitx-cloudpinyin-0.3.0/src/cloudpinyin.c ---- fcitx-cloudpinyin-0.3.0/src/cloudpinyin.c.logging 2013-05-23 12:50:15.898226808 +0200 -+++ fcitx-cloudpinyin-0.3.0/src/cloudpinyin.c 2013-05-23 12:55:20.623396540 +0200 -@@ -51,8 +51,6 @@ - - #define CLOUDPINYIN_CHECK_PAGE_NUMBER 3 - --#define LOGLEVEL DEBUG -- - typedef struct _CloudCandWord { - boolean filled; - uint64_t timestamp; -@@ -279,7 +277,7 @@ void CloudPinyinAddCandidateWord(void* a - - if (inputString) { - CloudPinyinCache* cacheEntry = CloudPinyinCacheLookup(cloudpinyin, inputString); -- FcitxLog(LOGLEVEL, "%s", inputString); -+ FcitxLog(DEBUG, "%s", inputString); - if (cacheEntry == NULL) - CloudPinyinAddInputRequest(cloudpinyin, inputString); - _CloudPinyinAddCandidateWord(cloudpinyin, inputString); -@@ -445,7 +443,7 @@ void CloudPinyinHandleRequest(FcitxCloud - strToFree = GetCurrentString(cloudpinyin, &inputString); - - if (inputString) { -- FcitxLog(LOGLEVEL, "fill: %s %s", inputString, queue->pinyin); -+ FcitxLog(DEBUG, "fill: %s %s", inputString, queue->pinyin); - if (strcmp(inputString, queue->pinyin) == 0) - { - if (CHECK_VALID_IM) diff --git a/fcitx-cloudpinyin.spec b/fcitx-cloudpinyin.spec index 11b6ec3..9febd88 100644 --- a/fcitx-cloudpinyin.spec +++ b/fcitx-cloudpinyin.spec @@ -1,23 +1,22 @@ Name: fcitx-cloudpinyin -Version: 0.3.0 -Release: 4%{?dist} +Version: 0.3.2 +Release: 1%{?dist} Summary: Cloudpinyin module for fcitx Group: System Environment/Libraries License: GPLv2+ -URL: http://code.google.com/p/fcitx/ -Source0: http://fcitx.googlecode.com/files/%{name}-%{version}.tar.xz -Patch0: %{name}-0.3.0-logging.patch +URL: https://fcitx-im.org/wiki/Cloudpinyin +Source0: http://download.fcitx-im.org/fcitx-cloudpinyin/%{name}-%{version}.tar.xz BuildRequires: cmake, fcitx-devel, gettext, intltool, libcurl-devel, pkgconfig -Requires: fcitx +Requires: fcitx, fcitx-pinyin %description -Cloulpinyin is an based cloud compute input method. +Cloudpinyin is Fcitx addon that will add one candidate word to your pinyin +list. It current support four provider, Sogou, QQ, Baidu, Google. %prep %setup -q -n %{name}-%{version} -%patch0 -p1 -b .logging %build @@ -47,6 +46,13 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Aug 23 2013 Robin Lee - 0.3.2-1 +- Update to 0.3.2 +- Remove fcitx-0.3.0-logging.patch +- Requires fcitx-pinyin +- Update URL and Source0 URL +- Revise description following upstream wiki + * Sat Aug 03 2013 Fedora Release Engineering - 0.3.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild @@ -56,7 +62,7 @@ rm -rf $RPM_BUILD_ROOT * Wed Feb 13 2013 Fedora Release Engineering - 0.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild -* Wed Dec 13 2012 Liang Suilong - 0.3.0-1 +* Thu Dec 13 2012 Liang Suilong - 0.3.0-1 - Upstream to fcitx-cloudpinyin-0.3.0 * Sun Jul 29 2012 Liang Suilong - 0.2.3-1 diff --git a/sources b/sources index 8bec109..7d879fa 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -8bffd65fe2172d61edde46ad53380150 fcitx-cloudpinyin-0.3.0.tar.xz +3a60a887ccd8171510d2c3518100d098 fcitx-cloudpinyin-0.3.2.tar.xz