Skip to content

Commit 017b2f6

Browse files
rockaberberman
authored andcommitted
Update libraries (fcitx5-android#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 1bf7cc7 commit 017b2f6

31 files changed

+196
-141
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,23 @@ 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
30+
2431
- name: Fetch source code
2532
uses: actions/checkout@v4
2633
with:

.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 & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,28 +7,29 @@ lm_sc = lm_sc.arpa-20241001.tar.zst
77
lm_sc_sha256 = 54934e73966eb38ea4fe8eae9c61dfe486af37da1cb5316a06b19c7d289e3063
88

99
# pinyin dict
10-
pinyin_dict = dict-20241001.tar.zst
11-
pinyin_dict_sha256 = d3313b88a68620a23bc8d5f9564cf1b678848dc7af541c4f5f02198e5a3686bf
10+
pinyin_dict = dict-20250327.tar.zst
11+
pinyin_dict_sha256 = 7ca6be4754c0d4c27ba7702c0dce651659bd2ca1faa5cbf2848d81a0053c8c13
1212

1313
# table dict
1414
table = table-20240108.tar.gz
1515
table_sha256 = 729c596d86907de727c74d0fc3fd241c406c5debd2b4cb74eefe022387ee9dae
1616

1717
# extra pinyin dict
18-
chinese_addon_repo = https://raw.githubusercontent.com/fcitx/fcitx5-chinese-addons/5.1.2/im/pinyin/
18+
chinese_addon_repo = https://raw.githubusercontent.com/fcitx/fcitx5-chinese-addons/5.0.0/im/pinyin/
1919
chaizi_sha256 = cd659605360120f7390fda1a278eea12c4df6d763a95c8099068ab09cfafd058
2020

2121
# py stroke
22-
py_stroke = py_stroke-20121124.tar.gz
23-
py_stroke_sha256 = 8eb128a9bfa43952e67cf2fcee1fd134c6f4cfd317bc2f6c38a615f5eb64e248
22+
py_stroke = py_stroke-20250329.tar.gz
23+
py_stroke_sha256 = c1a7ca7225d3614ab83353fc827503006a980447762018f53760425d7b5303a6
2424

2525
# py table
2626
py_table = py_table-20121124.tar.gz
2727
py_table_sha256 = 42146ac97de6c13d55f9e99ed873915f4c66739e9c11532a34556badf9792c04
2828

29+
## https://github.com/boostorg/boost/releases boost-<boost_version>-cmake.tar.xz
2930
# boost
30-
boost_version = 1.86.0
31-
boost_sha256 = 2c5ec5edcdff47ff55e27ed9560b0a0b94b07bd07ed9928b476150e16b0efc57
31+
boost_version = 1.87.0
32+
boost_sha256 = 7da75f171837577a52bbf217e17f8ea576c7c246e4594d617bfde7fafd408be5
3233

3334
# jyutping dict
3435
jyutping_dict = jyutping-dict-20180104.tar.xz

fcitx5

Submodule fcitx5 added at 8af72c5

libiconv

Submodule libiconv updated 193 files

0 commit comments

Comments
 (0)