Skip to content

Commit

Permalink
Merge pull request #68 from zonble/master
Browse files Browse the repository at this point in the history
Adds the traditional BPMF mode
  • Loading branch information
zonble authored Jul 31, 2022
2 parents b2da409 + ad420c0 commit 7204f5c
Show file tree
Hide file tree
Showing 21 changed files with 15,079 additions and 102 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: CI
on: [push, pull_request]

jobs:
build_ubuntu_21:
build_ubuntu_22:
runs-on: ubuntu-latest
container: ubuntu:impish-20220316
container: ubuntu:jammy-20220531

steps:
- uses: actions/checkout@v1
Expand All @@ -15,7 +15,7 @@ jobs:
apt-get update
apt install -y clang
apt install -y cmake extra-cmake-modules gettext libfmt-dev
apt install -y fcitx5=5.0.5-1ubuntu2 libfcitx5core-dev=5.0.5-1ubuntu2 libfcitx5config-dev=5.0.5-1ubuntu2 libfcitx5utils-dev=5.0.5-1ubuntu2
apt install -y fcitx5 libfcitx5core-dev libfcitx5config-dev libfcitx5utils-dev
- name: Build
run: |
mkdir -p build
Expand All @@ -36,7 +36,7 @@ jobs:
build_ubuntu_20:
runs-on: ubuntu-latest
container: ubuntu:focal-20220316
container: ubuntu:focal-20220531

steps:
- uses: actions/checkout@v1
Expand Down
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ message(STATUS "CMAKE_INSTALL_DATADIR ${CMAKE_INSTALL_DATADIR}")

# McBopomofo data
configure_file(data/data.txt mcbopomofo-data.txt)
configure_file(data/data-plain-bpmf.txt mcbopomofo-data-plain-bpmf.txt)
configure_file(data/add-phrase-hook.sh mcbopomofo-add-phrase-hook.sh)
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/mcbopomofo-data.txt" DESTINATION "${FCITX_INSTALL_PKGDATADIR}/data")
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/mcbopomofo-data-plain-bpmf.txt" DESTINATION "${FCITX_INSTALL_PKGDATADIR}/data")
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/mcbopomofo-add-phrase-hook.sh" DESTINATION "${FCITX_INSTALL_PKGDATADIR}/data")
1 change: 1 addition & 0 deletions data/24x24/apps/fcitx-mcbopomofo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions data/32x32/apps/fcitx-mcbopomofo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions data/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
foreach(size 64)
foreach(size 24 32 64)
install(DIRECTORY ${size}x${size} DESTINATION ${CMAKE_INSTALL_DATADIR}/icons/hicolor
PATTERN .* EXCLUDE
PATTERN *~ EXCLUDE)
endforeach(size 64)
PATTERN .* EXCLUDE
PATTERN *~ EXCLUDE)
endforeach(size 24 32 64)
Loading

0 comments on commit 7204f5c

Please sign in to comment.