!7 Upgrade to version 1.15.3
From: @chen-jan Reviewed-by: @lyn1001 Signed-off-by: @lyn1001
This commit is contained in:
commit
9a339f00e9
@ -1,22 +0,0 @@
|
||||
From f3faeeff3fbe3bf9e30ed4461c2c8d0466966e56 Mon Sep 17 00:00:00 2001
|
||||
From: Peng Wu <alexepico@gmail.com>
|
||||
Date: Mon, 6 Jul 2020 09:59:05 +0800
|
||||
Subject: [PATCH] fixes lmyoslib.c
|
||||
|
||||
---
|
||||
lua/lmyoslib.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
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);
|
||||
Binary file not shown.
BIN
ibus-libpinyin-1.15.3.tar.gz
Normal file
BIN
ibus-libpinyin-1.15.3.tar.gz
Normal file
Binary file not shown.
@ -1,14 +1,12 @@
|
||||
Name: ibus-libpinyin
|
||||
Version: 1.10.0
|
||||
Release: 6
|
||||
Version: 1.15.3
|
||||
Release: 1
|
||||
Summary: Intelligent Pinyin engine based on libpinyin for IBus
|
||||
License: GPLv2+
|
||||
Group: System Environment/Libraries
|
||||
URL: https://github.com/libpinyin/ibus-libpinyin
|
||||
Source0: http://downloads.sourceforge.net/libpinyin/ibus-libpinyin/%{name}-%{version}.tar.gz
|
||||
|
||||
Patch0001: fixes-lmyoslib.c.patch
|
||||
|
||||
Requires: python3-gobject ibus >= 1.5.11
|
||||
BuildRequires: gcc-c++ gettext-devel intltool libtool pkgconfig sqlite-devel libuuid-devel lua-devel
|
||||
BuildRequires: python3-devel desktop-file-utils ibus-devel >= 1.5.11 libpinyin-devel >= 2.1.0
|
||||
@ -37,6 +35,8 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/ibus-setup-libbopomof
|
||||
%install
|
||||
%{make_install}
|
||||
|
||||
%py_byte_compile %{__python3} $RPM_BUILD_ROOT%{_datadir}/ibus-libpinyin/setup
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
%post
|
||||
@ -51,7 +51,7 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/ibus-setup-libbopomof
|
||||
%doc AUTHORS COPYING README
|
||||
%dir %{_datadir}/ibus-libpinyin
|
||||
%dir %{_datadir}/ibus-libpinyin/db
|
||||
%{_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
|
||||
@ -59,13 +59,18 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/ibus-setup-libbopomof
|
||||
%{_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
|
||||
%{_datadir}/ibus-libpinyin/db/table.db
|
||||
%{_datadir}/ibus/component/*
|
||||
%{_libexecdir}/ibus-engine-libpinyin
|
||||
%{_libexecdir}/ibus-setup-libpinyin
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Sep 04 2023 chenchen <chen_aka_jan@163.com> - 1.15.3-1
|
||||
- Upgrade to version 1.15.3
|
||||
|
||||
* Sat Aug 08 2020 lingsheng <lingsheng@huawei.com> - 1.10.0-6
|
||||
- Fix build with lua 5.4
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user