Skip to content

Commit cb622d2

Browse files
rockaberberman
andauthored
Update libraries (#34)
ndk 28.0.13004108 cmake 3.31.6 fcitx5 & libime to master boost 1.87.0 fmt 11.1.4 libiconv 1.18 libuv 1.50.0 librime 1.13.1 zstd 1.5.7 ndk 28.0.13004108 cmake 3.31.6 build fcitx5 for host libime --------- Co-authored-by: Potato Hatsue <1793913507@qq.com>
1 parent c51cf3a commit cb622d2

33 files changed

+197
-144
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,22 @@ jobs:
1111
container: archlinux:base-devel
1212
env:
1313
ABI: "armeabi-v7a,arm64-v8a,x86,x86_64"
14-
NDK_VERSION: "25.2.9519653"
15-
CMAKE_VERSION: "3.22.1"
14+
NDK_VERSION: "28.0.13004108"
15+
CMAKE_VERSION: "3.31.6"
1616
ANDROID_PLATFORM: "23"
1717

1818
steps:
1919
- name: Install build dependencies
20+
# android-actions/setup-android needs unzip
21+
# sdkmanager needs jre
2022
run: |
2123
pacman -Syu --needed --noconfirm \
22-
git unzip ghc cabal-install haskell-shake haskell-aeson-pretty \
23-
cmake extra-cmake-modules ninja fmt fcitx5 boost python opencc jre-openjdk gperf
24+
git unzip jre-openjdk \
25+
ghc cabal-install haskell-shake haskell-aeson-pretty \
26+
cmake extra-cmake-modules ninja \
27+
boost \
28+
python opencc \
29+
gperf
2430
2531
- name: Fetch source code
2632
uses: actions/checkout@v4

.gitmodules

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@
5353
[submodule "libime"]
5454
path = libime
5555
url = https://github.com/fcitx/libime
56-
fetchRecurseSubmodules = true
5756
[submodule "libime-jyutping"]
5857
path = libime-jyutping
5958
url = https://github.com/fcitx/libime-jyutping
@@ -65,4 +64,7 @@
6564
url = https://github.com/tlwg/libthai
6665
[submodule "libiconv"]
6766
path = libiconv
68-
url = https://git.savannah.gnu.org/git/libiconv
67+
url = https://github.com/fcitx5-android/libiconv
68+
[submodule "fcitx5"]
69+
path = fcitx5
70+
url = https://github.com/fcitx/fcitx5

Lua

Submodule Lua updated 1 file

README.md

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,22 @@ Build static libraries for [fcitx5-android](https://github.com/fcitx5-android/fc
66

77
Cabal is required to build this project.
88

9-
* NDK Vesion: `25.2.9519653`
10-
* CMake Version: `3.22.1`
9+
### Android related
10+
1111
* Android Platform (API Level): `23`
12-
* `bash tar unzip curl git python ghc haskell-shake haskell-aeson-pretty cabal-install`
13-
* `fcitx5` (`fcitx5-modules` on Debian): for `comp-spell-dict`
14-
* `libime` (`libime-bin` on Debian) >= 1.0.5 : for various `libime_*` tools
12+
* Android NDK: `28.0.13004108`
13+
* CMake Version: `3.31.6`
14+
15+
both can be installed with `sdkmanager` command line tool.
16+
17+
### System dependencies
18+
19+
* `tar curl git`
20+
* `ghc haskell-shake haskell-aeson-pretty cabal-install`: haskell stuff
21+
* `cmake extra-cmake-modules ninja`: cmake stuff
22+
* `python`: build dep of `opencc`
1523
* `opencc`: for `opencc_dict`
24+
* `gperf`: build dep of `libiconv`
1625

1726
## Libraries
1827

build.cfg

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,31 +9,31 @@ lm_sc = lm_sc.arpa-20250113.tar.zst
99
lm_sc_sha256 = ee83ecf20d52e8bccdba4cf6cd57183d53c257713a5eb77ee3a63d50fc3796dd
1010

1111
# pinyin dict
12-
pinyin_dict = dict-20241001.tar.zst
13-
pinyin_dict_sha256 = d3313b88a68620a23bc8d5f9564cf1b678848dc7af541c4f5f02198e5a3686bf
12+
pinyin_dict = dict-20250327.tar.zst
13+
pinyin_dict_sha256 = 7ca6be4754c0d4c27ba7702c0dce651659bd2ca1faa5cbf2848d81a0053c8c13
1414

1515
# table dict
1616
table = table-20240108.tar.gz
1717
table_sha256 = 729c596d86907de727c74d0fc3fd241c406c5debd2b4cb74eefe022387ee9dae
1818

1919
## https://github.com/fcitx/fcitx5-chinese-addons/blob/master/im/pinyin/chaizi.txt
2020
# extra pinyin dict
21-
chinese_addon_repo = https://raw.githubusercontent.com/fcitx/fcitx5-chinese-addons/5.1.2/im/pinyin/
21+
chinese_addon_repo = https://raw.githubusercontent.com/fcitx/fcitx5-chinese-addons/5.0.0/im/pinyin/
2222
chaizi_sha256 = cd659605360120f7390fda1a278eea12c4df6d763a95c8099068ab09cfafd058
2323

2424
## https://github.com/fcitx/fcitx5-chinese-addons/blob/master/modules/pinyinhelper/CMakeLists.txt
2525
# py stroke
26-
py_stroke = py_stroke-20121124.tar.gz
27-
py_stroke_sha256 = 8eb128a9bfa43952e67cf2fcee1fd134c6f4cfd317bc2f6c38a615f5eb64e248
26+
py_stroke = py_stroke-20250329.tar.gz
27+
py_stroke_sha256 = c1a7ca7225d3614ab83353fc827503006a980447762018f53760425d7b5303a6
2828

2929
# py table
3030
py_table = py_table-20121124.tar.gz
3131
py_table_sha256 = 42146ac97de6c13d55f9e99ed873915f4c66739e9c11532a34556badf9792c04
3232

33-
## https://github.com/boostorg/boost/releases
33+
## https://github.com/boostorg/boost/releases boost-<boost_version>-cmake.tar.xz
3434
# boost
35-
boost_version = 1.86.0
36-
boost_sha256 = 2c5ec5edcdff47ff55e27ed9560b0a0b94b07bd07ed9928b476150e16b0efc57
35+
boost_version = 1.87.0
36+
boost_sha256 = 7da75f171837577a52bbf217e17f8ea576c7c246e4594d617bfde7fafd408be5
3737

3838
## https://github.com/fcitx/libime-jyutping/blob/master/data/CMakeLists.txt
3939
# jyutping dict

fcitx5

Submodule fcitx5 added at 8af72c5

libiconv

Submodule libiconv updated 193 files

libime

Submodule libime updated 92 files

0 commit comments

Comments
 (0)