[arch-commits] Commit in fcitx5-lua/repos/community-testing-x86_64 (3 files)

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


    Date: Friday, July 31, 2020 @ 19:25:56
  Author: felixonmars
Revision: 666357

archrelease: copy trunk to community-testing-x86_64

Added:
  fcitx5-lua/repos/community-testing-x86_64/PKGBUILD
    (from rev 666356, fcitx5-lua/trunk/PKGBUILD)
Deleted:
  fcitx5-lua/repos/community-testing-x86_64/PKGBUILD
  fcitx5-lua/repos/community-testing-x86_64/unbreak-lua54.patch

---------------------+
 PKGBUILD            |   59 ++++++++++++++++++++++----------------------------
 unbreak-lua54.patch |   18 ---------------
 2 files changed, 26 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-31 19:25:41 UTC (rev 666356)
+++ PKGBUILD	2020-07-31 19:25:56 UTC (rev 666357)
@@ -1,33 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=fcitx5-lua
-pkgver=0.0.0.20200728
-_commit=17c57a79a550a1f94b12a3279e6014ce0f8f1b4e
-pkgrel=1
-pkgdesc="Lua support for Fcitx 5"
-arch=('x86_64')
-url="https://github.com/fcitx/fcitx5-lua"
-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')
-
-prepare() {
-  cd $pkgname-$_commit
-  patch -Rp1 -i ../unbreak-lua54.patch
-}
-
-build(){
-  cd $pkgname-$_commit
-
-  cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib .
-  ninja
-}
-
-package() {
-  cd $pkgname-$_commit
-  DESTDIR="$pkgdir" ninja install
-}

Copied: fcitx5-lua/repos/community-testing-x86_64/PKGBUILD (from rev 666356, fcitx5-lua/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-31 19:25:56 UTC (rev 666357)
@@ -0,0 +1,26 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=fcitx5-lua
+pkgver=0.0.0.20200801
+_commit=0bb3ba21b471a4994fc3418f4aa20373474cb817
+pkgrel=1
+pkgdesc="Lua support for Fcitx 5"
+arch=('x86_64')
+url="https://github.com/fcitx/fcitx5-lua"
+license=('GPL')
+depends=('fcitx5' 'lua')
+makedepends=('extra-cmake-modules' 'ninja')
+source=("https://github.com/fcitx/fcitx5-lua/archive/$_commit/fcitx5-lua-$_commit.tar.gz")
+sha512sums=('384d81388b60cd144a31c3bffc6aca711e0ee5ddace614fff9102e7d7584a9db91e0f65ed9facf78290f6d7b57fe2daedea52d9887cc5d6baec9b88be95f19c8')
+
+build(){
+  cd $pkgname-$_commit
+
+  cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib .
+  ninja
+}
+
+package() {
+  cd $pkgname-$_commit
+  DESTDIR="$pkgdir" ninja install
+}

Deleted: unbreak-lua54.patch
===================================================================
--- unbreak-lua54.patch	2020-07-31 19:25:41 UTC (rev 666356)
+++ unbreak-lua54.patch	2020-07-31 19:25:56 UTC (rev 666357)
@@ -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