diff options
| author | Guangyuan Yang <ygy@FreeBSD.org> | 2020-12-29 14:58:55 +0000 |
|---|---|---|
| committer | Guangyuan Yang <ygy@FreeBSD.org> | 2020-12-29 14:58:55 +0000 |
| commit | 784693f56c9c8899036fc4aa340be19676b514c8 (patch) | |
| tree | 57d3ceb2bb056eb915f7f25ff148aea78c8807cb /textproc/fcitx5/files/patch-src_lib_fcitx-utils_Fcitx5Download.cmake.in | |
| parent | 0109871be7f4defa811d2e308db09de0ee44b2c5 (diff) | |
Add Fcitx5 IME framework and related ports
The Fcitx5 IME framework is the future version of the legacy Fcitx IME framework.
Main parts of Fcitx5:
- x11/xcb-imdkit
- textproc/fcitx5
Application supports libraries of Fcitx5:
- textproc/fcitx5-qt
- textproc/fcitx5-gtk
GUI configuration tool of Fcitx5:
- textproc/fcitx5-configtool
IME addons for Fcitx5:
- chinese/fcitx5-rime
- japanese/fcitx5-anthy
textproc/fcitx5 and chinese/fcitx cannot be installed at the same time right now, due to development environment and runtime conflicts users could possibly run into.
Submitted by: Ka Ho Ng <khng300@gmail.com>
Approved by: lwhsu
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D27667
Diffstat (limited to 'textproc/fcitx5/files/patch-src_lib_fcitx-utils_Fcitx5Download.cmake.in')
| -rw-r--r-- | textproc/fcitx5/files/patch-src_lib_fcitx-utils_Fcitx5Download.cmake.in | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/textproc/fcitx5/files/patch-src_lib_fcitx-utils_Fcitx5Download.cmake.in b/textproc/fcitx5/files/patch-src_lib_fcitx-utils_Fcitx5Download.cmake.in new file mode 100644 index 000000000000..08e1fbc0352a --- /dev/null +++ b/textproc/fcitx5/files/patch-src_lib_fcitx-utils_Fcitx5Download.cmake.in @@ -0,0 +1,25 @@ +--- src/lib/fcitx-utils/Fcitx5Download.cmake.in.orig 2020-12-04 23:50:28 UTC ++++ src/lib/fcitx-utils/Fcitx5Download.cmake.in +@@ -1,11 +1,16 @@ ++SET(FCITX5_DOWNLOAD_DISALLOWED $ENV{FCITX5_DOWNLOAD_DISALLOWED}) + if (NOT EXISTS "@FCITX5_DOWNLOAD_DEST@") + message(STATUS "Downloading '@FCITX5_DOWNLOAD_URL@' to '@FCITX5_DOWNLOAD_DEST@'...") +- file(DOWNLOAD +- "@FCITX5_DOWNLOAD_URL@" +- "@FCITX5_DOWNLOAD_DEST@" +- EXPECTED_HASH SHA256=@FCITX5_DOWNLOAD_SHA256@ +- TLS_VERIFY ON +- SHOW_PROGRESS) ++ if (NOT FCITX5_DOWNLOAD_DISALLOWED) ++ file(DOWNLOAD ++ "@FCITX5_DOWNLOAD_URL@" ++ "@FCITX5_DOWNLOAD_DEST@" ++ EXPECTED_HASH SHA256=@FCITX5_DOWNLOAD_SHA256@ ++ TLS_VERIFY ON ++ SHOW_PROGRESS) ++ else() ++ message(FATAL_ERROR "Downloading is disallowed") ++ endif() + else() + file(SHA256 "@FCITX5_DOWNLOAD_DEST@" actual_value) + if(NOT "${actual_value}" STREQUAL "@FCITX5_DOWNLOAD_SHA256@") |
