summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
author ltlnx2023-10-09 14:28:19 +0200
committer Willy Sudiarto Raharjo2023-10-09 14:28:19 +0200
commite63f170b1f11e9ba9e563546d2220049e79c5577 (patch)
tree28eb0f98224c71f52e107168856c133248e91f1c /misc
parent829a813cc7abd692fe80da9fe901a0d4ea6cf418 (diff)
downloadslackbuilds-e63f170b1f11e9ba9e563546d2220049e79c5577.tar.gz
misc/fcitx5-chinese-addons: Updated for version 5.1.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc')
-rw-r--r--misc/fcitx5-chinese-addons/fcitx5-chinese-addons.SlackBuild6
-rw-r--r--misc/fcitx5-chinese-addons/fcitx5-chinese-addons.info8
-rw-r--r--misc/fcitx5-chinese-addons/patches/disable-lua-req.patch30
3 files changed, 6 insertions, 38 deletions
diff --git a/misc/fcitx5-chinese-addons/fcitx5-chinese-addons.SlackBuild b/misc/fcitx5-chinese-addons/fcitx5-chinese-addons.SlackBuild
index 348bc92ece..1bae1b63ac 100644
--- a/misc/fcitx5-chinese-addons/fcitx5-chinese-addons.SlackBuild
+++ b/misc/fcitx5-chinese-addons/fcitx5-chinese-addons.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2022 Wen-Wei Kao (ltlnx), Taichung, Taiwan
+# Copyright 2022-2023 Wen-Wei Kao (ltlnx), Taichung, Taiwan
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=fcitx5-chinese-addons
-VERSION=${VERSION:-5.1.0}
+VERSION=${VERSION:-5.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -74,8 +74,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-patch -p1 < $CWD/patches/disable-lua-req.patch
-
mkdir -p build
cd build
cmake \
diff --git a/misc/fcitx5-chinese-addons/fcitx5-chinese-addons.info b/misc/fcitx5-chinese-addons/fcitx5-chinese-addons.info
index 1ef7359020..65f5e22cd6 100644
--- a/misc/fcitx5-chinese-addons/fcitx5-chinese-addons.info
+++ b/misc/fcitx5-chinese-addons/fcitx5-chinese-addons.info
@@ -1,10 +1,10 @@
PRGNAM="fcitx5-chinese-addons"
-VERSION="5.1.0"
+VERSION="5.1.1"
HOMEPAGE="https://github.com/fcitx/fcitx5-chinese-addons"
-DOWNLOAD="https://download.fcitx-im.org/fcitx5/fcitx5-chinese-addons/fcitx5-chinese-addons-5.1.0_dict.tar.xz"
-MD5SUM="958bcf0ca84327235e590c5e6946d6d9"
+DOWNLOAD="https://download.fcitx-im.org/fcitx5/fcitx5-chinese-addons/fcitx5-chinese-addons-5.1.1_dict.tar.xz"
+MD5SUM="a49f29938f4ca6afcc27ba1d0b40057f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="fcitx5 fcitx5-qt libime"
MAINTAINER="ltlnx"
-EMAIL="ltlnx@gmx.com"
+EMAIL="ltlnx@disroot.org"
diff --git a/misc/fcitx5-chinese-addons/patches/disable-lua-req.patch b/misc/fcitx5-chinese-addons/patches/disable-lua-req.patch
deleted file mode 100644
index b309d6f131..0000000000
--- a/misc/fcitx5-chinese-addons/patches/disable-lua-req.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From 37592053f8ba71f08dde2058c7763f28809e401e Mon Sep 17 00:00:00 2001
-From: Weng Xuetian <wengxt@gmail.com>
-Date: Sun, 20 Aug 2023 09:59:10 -0700
-Subject: [PATCH] fix build without lua
-
----
- im/pinyin/pinyin.cpp | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/im/pinyin/pinyin.cpp b/im/pinyin/pinyin.cpp
-index de428ed..360a691 100644
---- a/im/pinyin/pinyin.cpp
-+++ b/im/pinyin/pinyin.cpp
-@@ -826,6 +826,8 @@ std::string PinyinEngine::evaluateCustomPhrase(InputContext *inputContext,
- if (!result.empty()) {
- return result;
- }
-+
-+#ifdef FCITX_HAS_LUA
- if (stringutils::startsWith(key, "lua:")) {
- RawConfig config;
- auto ret = imeapi()->call<ILuaAddon::invokeLuaFunction>(
-@@ -834,6 +836,7 @@ std::string PinyinEngine::evaluateCustomPhrase(InputContext *inputContext,
- return ret.value();
- }
- }
-+#endif
- return "";
- }
-