Skip to content

Commit 625e548

Browse files
authored
emscripten 4.0.13; sync fcitx5 for iso-codes (#65)
1 parent c348794 commit 625e548

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
runs-on: ${{ matrix.os }}
3535
needs: lint
3636
env:
37-
EMSCRIPTEN_VERSION: '4.0.12'
37+
EMSCRIPTEN_VERSION: '4.0.13'
3838
strategy:
3939
fail-fast: false
4040
matrix:
@@ -47,6 +47,11 @@ jobs:
4747
with:
4848
submodules: recursive
4949

50+
- uses: actions/checkout@v5
51+
with:
52+
repository: emscripten-core/emsdk
53+
path: emsdk
54+
5055
- uses: actions/setup-node@v4
5156
with:
5257
node-version: 24.x
@@ -74,9 +79,8 @@ jobs:
7479
pnpm --prefix=fcitx5-webview i
7580
7681
- name: Install emsdk
82+
working-directory: emsdk
7783
run: |
78-
git clone https://github.com/emscripten-core/emsdk
79-
cd emsdk
8084
./emsdk install ${{ env.EMSCRIPTEN_VERSION }}
8185
./emsdk activate ${{ env.EMSCRIPTEN_VERSION }}
8286

CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@ option(ENABLE_LIBUUID "" OFF)
5858
option(BUILD_SPELL_DICT "" OFF)
5959
option(BUILD_PREVIEW "" OFF)
6060

61-
# Override iso-codes paths and xkb default rules file
62-
set(ISOCODES_ISO3166_JSON "${CMAKE_INSTALL_PREFIX}/share/iso-codes/json/iso_3166-1.json")
61+
# Override iso-codes path and xkb default rules file
6362
set(ISOCODES_ISO639_JSON "${CMAKE_INSTALL_PREFIX}/share/iso-codes/json/iso_639-3.json")
6463
set(XKEYBOARDCONFIG_XKBBASE "${CMAKE_INSTALL_PREFIX}/share/xkeyboard-config-2")
6564
set(XKEYBOARDCONFIG_DATADIR "${CMAKE_INSTALL_PREFIX}/share")

src/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ if (RIME_ONLY)
4141
else()
4242
list(APPEND EXE_LINK_OPTIONS
4343
"--preload-file ${PREBUILDER_SHARE_DIR}/xkeyboard-config-2@/usr/share/xkeyboard-config-2"
44-
"--preload-file ${PROJECT_BINARY_DIR}/sysroot${ISOCODES_ISO3166_JSON}@${ISOCODES_ISO3166_JSON}"
4544
"--preload-file ${PROJECT_BINARY_DIR}/sysroot${ISOCODES_ISO639_JSON}@${ISOCODES_ISO639_JSON}"
4645
"--preload-file ${INSTALL_SHARE_DIR}/locale@/usr/share/locale"
4746
"--preload-file ${INSTALL_SHARE_DIR}/fcitx5@/usr/share/fcitx5"

0 commit comments

Comments
 (0)