Add instructions for testing
Signed-off-by: Masanori Ogino <mogino@acm.org>
This commit is contained in:
parent
c785b652da
commit
5f63a39eea
3 changed files with 28 additions and 3 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -4,4 +4,8 @@
|
|||
build/
|
||||
patches/
|
||||
|
||||
sj3main.dic
|
||||
private.dic
|
||||
study.dic
|
||||
|
||||
*.orig
|
||||
|
|
|
|||
21
README.md
21
README.md
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -47,8 +47,8 @@
|
|||
#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__) && !defined(__DragonFly__)
|
||||
#define ErrorOutFile "/dev/console"
|
||||
#else
|
||||
/* #define ErrorOutFile "/dev/stderr" */ /* for test */
|
||||
#define ErrorOutFile "/dev/null"
|
||||
#define ErrorOutFile "/dev/stderr"
|
||||
/*#define ErrorOutFile "/dev/null"*/
|
||||
#endif
|
||||
|
||||
#define SocketName "/tmp/sj3sock"
|
||||
|
|
@ -58,7 +58,7 @@
|
|||
#define UserDictionary "private.dic"
|
||||
#define StudyFile "study.dat"
|
||||
#define RunCmdFile "/usr/local/lib/sj3/serverrc"
|
||||
#define DictRootDir "/usr/local/lib/sj3/dict"
|
||||
#define DictRootDir "/usr/local/share/sj3/dict"
|
||||
|
||||
#define DEFRKFILE "/usr/local/lib/sj3/sjrk"
|
||||
#define DEFRCFILE "/usr/local/lib/sj3/sjrc"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue