Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.
Merged

mozc #47

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,6 @@ jobs:
if: ${{ github.ref == 'refs/heads/master' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Download artifact
uses: actions/download-artifact@v4
with:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
build
*.bz2
meta-*.json
cache/*mozc*
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Build plugins for [fcitx5-macos](https://github.com/fcitx-contrib/fcitx5-macos).
* [chewing](https://github.com/fcitx/fcitx5-chewing): LGPL-2.1-or-later

### Japanese
* [mozc](https://github.com/fcitx/mozc): BSD-3-Clause
* [skk](https://github.com/fcitx/fcitx5-skk): GPL-3.0-or-later
* [anthy](https://github.com/fcitx/fcitx5-anthy): GPL-2.0-or-later

Expand Down
1 change: 1 addition & 0 deletions all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
set -e

all_plugins=(
mozc
bamboo
chewing
hangul
Expand Down
15 changes: 15 additions & 0 deletions scripts/mozc.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
set -e
mkdir -p fcitx5-mozc
. ./common.sh mozc $1

mkdir -p $DESTDIR$INSTALL_PREFIX/{lib/{fcitx5,mozc},share/fcitx5/{addon,inputmethod}}
for file in libmozc-$ARCH.so mozc_server-$ARCH mozc-addon.conf mozc.conf; do
[[ -f $CACHE_DIR/$file ]] || wget -P $CACHE_DIR https://github.com/fcitx-contrib/mozc-cmake/releases/download/latest/$file
done
cp $CACHE_DIR/libmozc-$ARCH.so $DESTDIR$INSTALL_PREFIX/lib/fcitx5/libmozc.so
cp $CACHE_DIR/mozc_server-$ARCH $DESTDIR$INSTALL_PREFIX/lib/mozc/mozc_server
cp $CACHE_DIR/mozc-addon.conf $DESTDIR$INSTALL_PREFIX/share/fcitx5/addon/mozc.conf
cp $CACHE_DIR/mozc.conf $DESTDIR$INSTALL_PREFIX/share/fcitx5/inputmethod/mozc.conf

f5m_split_data
f5m_make_tarball mozc