findarray30code/README.md
2018-01-05 07:58:20 +08:00

2.7 KiB
Raw Blame History

Summary 摘要

Code-searcher for Array30, a chinese input method. under X11 license (instead of the tables that is under Array Input Method Public License)

It supports CJK characters, incl. Extension A - E.

行列30輸入法查碼器。除碼表外採用行列輸入法的開放授權外採 X11 授權。支援含擴展 A 至 E 區之漢字。

Dependencies 相依套件

  • Python >= 3.4 (with "sqlite3" module)
  • Python3-PyQt4 >= 4.11
  • sqlite3 module for Python 3.4
  • libQt >= 4.8.5
  • pip3 (recommented)
  • Hanazono Font (for some characters in Extention blocks)

Install (under *nix) 安裝(於 *nix

If you use Debian(-based) Linux Distro (eg. Ubuntu, Linux Mint), you can see Section "Deb package Deb 套件"

若您使用 Debian 系 Linux 發行版(例如 Ubuntu, Linux Mint可見段落「Deb package Deb 套件」

  1. Install the dependencies above. 安裝相依套件。

  2. Download the zip file of all the source code, and extract it. 下載源碼壓縮檔,解壓縮 。

  3. Open a terminal and enter the main folder of the source code, then key in 打開終端機進入原始碼內容根目錄,輸入:

    ./setup.py install

  • p.s. if the depended packages listed above can be installed on Windows, it may be exexuted on Windows (I'm not so sure). 若上列相依套件可被 Windows 安裝,則可於 Windows 執行(不太確定)。

Run 執行

Execute ``findarray30code'' in a terminal.

執行 ``findarray30code'' 於終端機。

Remove (under *nix) 移除(於 *nix

It's recommended to remove it with "pip3". Please use the command after being sure that you have the authority to access the destination folder 建議使用 pip3 移除之,在確認您有存取目的資料夾權限後,請使用該指令:

pip3 uninstall findarray30code

Deb package Deb 套件

The .deb file in the repo. can be installed on Debian-based Linux.

本 repo 附上 .deb 套件可供 Debian-based Linux 安裝。

The way to package the .deb file is like the following command, and you need to install fpm first:

打包為 .deb 的方法如以下指令。需先安裝 fpm

cd /path/to/findarray30code ; \
fpm -s python -t deb --name findarray30code --version 0.0.2 --iteration 1 \
-d 'python3 >= 3.4' -d 'python3-pyqt4 >= 4.11'   -x '**/*.py'  \
--description "Code-searcher for Array30, a chinese input method." \
-m 'Yoxem Chen <emailaddress@emailaddress>' --python-pip /usr/bin/pip3 \
--python-bin /usr/bin/python3 .