2023-02-12 12:26:45 +00:00
|
|
|
<!--
|
|
|
|
Copyright (C) 2023 CismonX <admin@cismon.net>
|
2023-07-28 00:30:25 +00:00
|
|
|
|
2023-02-12 12:26:45 +00:00
|
|
|
Copying and distribution of this file, with or without modification, are
|
|
|
|
permitted in any medium without royalty, provided the copyright notice and
|
|
|
|
this notice are preserved. This file is offered as-is, without any warranty.
|
|
|
|
-->
|
|
|
|
|
|
|
|
|
|
|
|
Prerequisites
|
|
|
|
-------------
|
|
|
|
|
|
|
|
Runtime requirements:
|
|
|
|
- POSIX.1-2001 compliant operating system
|
|
|
|
- GNU Readline (optional)
|
|
|
|
|
|
|
|
Build tools:
|
|
|
|
- GNU Autotools (Autoconf, Automake, Libtool, Autoconf Archive)
|
|
|
|
- pkg-config
|
|
|
|
- POSIX-compliant make
|
|
|
|
- C compiler with ISO C99 support
|
|
|
|
- GNU Texinfo (optional, for building the user manual)
|
|
|
|
|
|
|
|
Other softwares (optional):
|
|
|
|
- DejaGnu (for running tests)
|
|
|
|
- Rime IME core library: <https://github.com/rime/librime>
|
|
|
|
|
|
|
|
|
|
|
|
Build and Install
|
|
|
|
-----------------
|
|
|
|
|
|
|
|
ARIF can be built and installed from source using the GNU build system.
|
|
|
|
|
|
|
|
Notable build options:
|
2023-04-28 02:05:41 +00:00
|
|
|
- `--with-readline[=PKGCONFIGDIR]` (default), `--without-readline`
|
2023-02-12 12:26:45 +00:00
|
|
|
* Whether to build the ARIF library with GNU Readline features.
|
|
|
|
- `--enable-arify` (default), `--disable-arify`
|
|
|
|
* Whether to build the `arify` command-line tool.
|
2023-04-28 02:05:41 +00:00
|
|
|
- `--with-rime[=PKGCONFIGDIR]`, `--without-rime` (default)
|
2023-02-12 12:26:45 +00:00
|
|
|
* Whether to build the example Rime IME integration.
|
|
|
|
|
|
|
|
Example shell script:
|
|
|
|
|
|
|
|
mkdir build && cd build
|
2023-07-25 16:07:32 +00:00
|
|
|
autoreconf -i ..
|
2023-02-12 12:26:45 +00:00
|
|
|
../configure --prefix=${HOME}/.local
|
|
|
|
make
|
|
|
|
make install
|