From 65a1a96721426900861d6159838fb2491ddef65b Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Wed, 26 Aug 2020 17:48:25 +0800 Subject: [PATCH] Update to 1.11.93 --- .gitignore | 1 + ...-libpinyin-1.11.92-fixes-lua-compile.patch | 19 ------------------- ibus-libpinyin.spec | 15 ++++++++++----- sources | 2 +- 4 files changed, 12 insertions(+), 25 deletions(-) delete mode 100644 ibus-libpinyin-1.11.92-fixes-lua-compile.patch diff --git a/.gitignore b/.gitignore index 700188f..a7485ad 100644 --- a/.gitignore +++ b/.gitignore @@ -32,3 +32,4 @@ /ibus-libpinyin-1.11.1.tar.gz /ibus-libpinyin-1.11.91.tar.gz /ibus-libpinyin-1.11.92.tar.gz +/ibus-libpinyin-1.11.93.tar.gz diff --git a/ibus-libpinyin-1.11.92-fixes-lua-compile.patch b/ibus-libpinyin-1.11.92-fixes-lua-compile.patch deleted file mode 100644 index 6e4fa3e..0000000 --- a/ibus-libpinyin-1.11.92-fixes-lua-compile.patch +++ /dev/null @@ -1,19 +0,0 @@ -commit f3faeeff3fbe3bf9e30ed4461c2c8d0466966e56 -Author: Peng Wu -Date: Mon Jul 6 09:59:05 2020 +0800 - - fixes lmyoslib.c - -diff --git a/lua/lmyoslib.c b/lua/lmyoslib.c -index 868fc56..fc6a24b 100644 ---- a/lua/lmyoslib.c -+++ b/lua/lmyoslib.c -@@ -57,7 +57,7 @@ static int getfield (lua_State *L, const char *key, int d) { - res = (int)lua_tointeger(L, -1); - else { - if (d < 0) -- return luaL_error(L, "field " LUA_QS " missing in date table", key); -+ return luaL_error(L, "field '%s' missing in date table", key); - res = d; - } - lua_pop(L, 1); diff --git a/ibus-libpinyin.spec b/ibus-libpinyin.spec index b2181db..fb584d5 100644 --- a/ibus-libpinyin.spec +++ b/ibus-libpinyin.spec @@ -1,8 +1,8 @@ %global snapshot 0 Name: ibus-libpinyin -Version: 1.11.92 -Release: 4%{?dist} +Version: 1.11.93 +Release: 1%{?dist} Summary: Intelligent Pinyin engine based on libpinyin for IBus License: GPLv3+ URL: https://github.com/libpinyin/ibus-libpinyin @@ -10,7 +10,6 @@ Source0: http://downloads.sourceforge.net/libpinyin/ibus-libpinyin/%{name}-%{ %if %snapshot Patch0: ibus-libpinyin-1.12.x-head.patch %endif -Patch1: ibus-libpinyin-1.11.92-fixes-lua-compile.patch Requires: python3-gobject Requires: ibus >= 1.5.11 @@ -41,7 +40,6 @@ input method based on libpinyin for IBus. %if %snapshot %patch0 -p1 -b .head %endif -%patch1 -p1 -b .lua %build %configure --disable-static \ @@ -72,7 +70,7 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/ibus-setup-libbopo %files -f %{name}.lang %doc AUTHORS COPYING README -%{_datadir}/appdata/*.appdata.xml +%{_datadir}/metainfo/*.appdata.xml %{_datadir}/glib-2.0/schemas/*.gschema.xml %{_datadir}/applications/ibus-setup-libpinyin.desktop %{_datadir}/applications/ibus-setup-libbopomofo.desktop @@ -82,6 +80,7 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/ibus-setup-libbopo %{_datadir}/ibus-libpinyin/setup %{_datadir}/ibus-libpinyin/base.lua %{_datadir}/ibus-libpinyin/user.lua +%{_datadir}/ibus-libpinyin/network.txt %{_datadir}/ibus-libpinyin/db/english.db %{_datadir}/ibus-libpinyin/db/strokes.db %dir %{_datadir}/ibus-libpinyin @@ -89,6 +88,12 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/ibus-setup-libbopo %{_datadir}/ibus/component/* %changelog +* Wed Aug 26 2020 Peng Wu - 1.11.93-1 +- Update to 1.11.93 +- switch to use GPLv3+ license +- support network dictionary +- bug fixes + * Tue Jul 28 2020 Fedora Release Engineering - 1.11.92-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index d89a658..a517a09 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ibus-libpinyin-1.11.92.tar.gz) = 0dca9db0925738bd0cba313895aaadf0d831d3003f36b41edfafa0231ccd84573c9d9090cd3770b815030b98297041e3dd2e9a55b4dec99552e344a0bc0fd118 +SHA512 (ibus-libpinyin-1.11.93.tar.gz) = 03e84fd84acc24ed4d1037e37d1631abf3db6326b86775fd9b6e4e241b3612c52f1ae69c8919771868bed6533506f5cc9b0f34f799f7df04e22f4ed448548145