Add instructions for testing

Signed-off-by: Masanori Ogino <mogino@acm.org>
This commit is contained in:
Masanori Ogino 2023-11-27 15:22:42 +09:00
commit 5f63a39eea
3 changed files with 28 additions and 3 deletions

View file

@ -8,6 +8,27 @@ SJ3 is a kana-kanji conversion system for Japanese text input.
Unless otherwise noted, SJ3 is released under the MIT License.
## Installation
NB: Ugly hacks here and there...
```
cmake -B build -DCMAKE_C_FLAGS="-w"
cmake --build build
./build/sj3mkdic dict/visual.dic dict/sj3main.dic > /dev/null
sudo cp ./build/sj3serv /usr/local/bin/
sudo mkdir -p /usr/local/share/sj3/dict
sudo cp ./dict/sj3main.dic /usr/local/share/sj3/dict/
sudo mkdir -p /usr/local/lib/sj3
sudo cp ./server/serverrc /usr/local/lib/sj3/
sudo uim-module-manager --register sj3
uim-pref-gtk3
# Enable SJ3
# Modify socket path to /tmp/sj3sock
# Press OK
# Restart X session
```
## Acknowledgments
We highly appreciate the release of SJ3 source code as a free and open source