Skip to content

Latest commit

 

History

History
115 lines (79 loc) · 3.32 KB

README.en.md

File metadata and controls

115 lines (79 loc) · 3.32 KB

cskk logo

LibCSKK

Cobalt SKK library.

CSKK is a library to implement Simple Kana-Kanji henkan.

Of course, this library is named as 'CSKK' because it is extensionally equal to SKK.

For Fcitx5: fcitx5-cskk

Logos and icons: cskk-icons

Reference

Build requirement

  • libxkbcommon

In Ubuntu e.g.

    sudo apt install libxkbcommon-dev
  • cbindgen
    cargo install --force cbindgen
  • cargo-c
    cargo install --force cargo-c

Install

When you have root priviledge, run the following. cargo cbuild --release This installs the files generated under target/{arch}/release to proper system directories and the data under assets/ to proper proper data directory's libcskk/ direcotry.

    cargo cinstall --release

To install to non-standard directories, append following options like this. See cargo-c for details.

    cargo cinstall --release --prefix="/tmp" --datadir="$HOME/.local/share"
  • prefix: Prefix appended to the default libdir, includedir, pkgconfigdir, and datarootdir. Default is '/usr/local'
  • libdir: Directory to install the library. Default is '/lib'
  • includedir: Directory to install the header file. Default is '/include'
  • pkgconfigdir: Directory to install the .pc file for pkg-config. Default is '/lib/pkgconfig'
  • datarootdir: Directory to install the data files (assets directory in cskk project's case). Default is 'share'
  • datadir: Override datarootdir. An option to install data to a directory out of prefixed dirs. Default is unset (use datarootdir as is)

Development status

Simulating DDSKK feature

  • ひらがな入力
  • カタカナ入力・カタカナモード
  • カタカナ入力・カタカナモード
  • Basic 漢字変換
  • static dictionary
  • user dictionary
    • ddskk compatible since v0.11.0
  • 接頭辞・接尾辞変換
  • 数値変換
  • auto-start-henkan
  • 実装見込が現在ないもの
    • Kuten 変換
    • 今日の日付入力
    • 異字体変換
    • SKK辞書サーバー対応
    • 外部辞書

Simulating ueno/libskk feature

  • 句読点設定
  • AZIK rule
  • Nicola rule

C FFI + IME plugin

Better development env, publish env

  • github projects board や issue にこれらのリストを移す
  • changelog

Copyright

Copyright (C) 2018 Naoaki Iwakiri

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.