[arch-commits] Commit in fcitx5-lua/trunk (PKGBUILD unbreak-lua54.patch)

Felix Yan felixonmars at archlinux.org
Fri Jul 31 19:25:41 UTC 2020


    Date: Friday, July 31, 2020 @ 19:25:41
  Author: felixonmars
Revision: 666356

upgpkg: fcitx5-lua 0.0.0.20200801-1

Modified:
  fcitx5-lua/trunk/PKGBUILD
Deleted:
  fcitx5-lua/trunk/unbreak-lua54.patch

---------------------+
 PKGBUILD            |   15 ++++-----------
 unbreak-lua54.patch |   18 ------------------
 2 files changed, 4 insertions(+), 29 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-31 19:25:20 UTC (rev 666355)
+++ PKGBUILD	2020-07-31 19:25:41 UTC (rev 666356)
@@ -1,8 +1,8 @@
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
 
 pkgname=fcitx5-lua
-pkgver=0.0.0.20200728
-_commit=17c57a79a550a1f94b12a3279e6014ce0f8f1b4e
+pkgver=0.0.0.20200801
+_commit=0bb3ba21b471a4994fc3418f4aa20373474cb817
 pkgrel=1
 pkgdesc="Lua support for Fcitx 5"
 arch=('x86_64')
@@ -10,16 +10,9 @@
 license=('GPL')
 depends=('fcitx5' 'lua')
 makedepends=('extra-cmake-modules' 'ninja')
-source=("https://github.com/fcitx/fcitx5-lua/archive/$_commit/fcitx5-lua-$_commit.tar.gz"
-        unbreak-lua54.patch)
-sha512sums=('62b694d7406028031eb11bef6350c5c78d46a2a3778a1dbb72608500618e42e64643566c8b06ae7bcf928ccc0db8ff13f284750eef5070cc9343cef717c46bbc'
-            '74b1fa15c36fd7a58c259fba85876a451d4ca0b154585162235b9ae16a015368da0b9c97d88c591a6cb03cd20357a5b450a6073cc68c8cf8730ed12298401dfa')
+source=("https://github.com/fcitx/fcitx5-lua/archive/$_commit/fcitx5-lua-$_commit.tar.gz")
+sha512sums=('384d81388b60cd144a31c3bffc6aca711e0ee5ddace614fff9102e7d7584a9db91e0f65ed9facf78290f6d7b57fe2daedea52d9887cc5d6baec9b88be95f19c8')
 
-prepare() {
-  cd $pkgname-$_commit
-  patch -Rp1 -i ../unbreak-lua54.patch
-}
-
 build(){
   cd $pkgname-$_commit
 

Deleted: unbreak-lua54.patch
===================================================================
--- unbreak-lua54.patch	2020-07-31 19:25:20 UTC (rev 666355)
+++ unbreak-lua54.patch	2020-07-31 19:25:41 UTC (rev 666356)
@@ -1,18 +0,0 @@
-diff --git a/src/addonloader/luahelper.h b/src/addonloader/luahelper.h
-index 6c57851..0452e6b 100644
---- a/src/addonloader/luahelper.h
-+++ b/src/addonloader/luahelper.h
-@@ -91,13 +91,6 @@ constexpr char kLuaModuleName[] = "__fcitx_luaaddon";
- 
- LuaAddonState *GetLuaAddonState(lua_State *lua);
- 
--// These functions are required for GetLuaAddonState.
--extern decltype(&::lua_getglobal) _fcitx_lua_getglobal;
--extern decltype(&::lua_touserdata) _fcitx_lua_touserdata;
--extern decltype(&::lua_settop) _fcitx_lua_settop;
--extern decltype(&::lua_close) _fcitx_lua_close;
--extern decltype(&::luaL_newstate) _fcitx_luaL_newstate;
--
- FCITX_DECLARE_LOG_CATEGORY(lua_log);
- #define FCITX_LUA_INFO() FCITX_LOGC(::fcitx::lua_log, Info)
- #define FCITX_LUA_WARN() FCITX_LOGC(::fcitx::lua_log, Warn)



More information about the arch-commits mailing list