spiegel-keyman/docs/linux/ibus-keyman.md
Eberhard Beilharz 5cf88878da docs(linux): Move Linux documentation
This change moves the Linux developer documentation to the new location
`docs/linux` as discussed in our planning meeting.
2022-12-05 18:07:10 +01:00

33 lines
769 B
Markdown

# Keyman engine for IBus
All commands to be run in `linux/ibus-keyman`.
Source code for Keyman engine for IBus is in [linux/ibus-keyman](../../linux/ibus-keyman/).
## Requirements
You need autoconf, autopoint, gettext, automake and libtool to generate the build system.
Run `./autogen.sh` to run them.
## Building
```bash
./autogen.sh
./configure
make
sudo make install
```
For a debug build:
```bash
./configure CPPFLAGS=-DG_MESSAGES_DEBUG CFLAGS="-g -O0" CXXFLAGS="-g -O0"
```
To use the header files from the source repo, you need to specify paths to the include files in core:
```bash
./configure CPPFLAGS="-DG_MESSAGES_DEBUG -I../../core/build/arch/debug/include/ -I../../common/include/ -I../../core/include/" \
CFLAGS="-g -O0" CXXFLAGS="-g -O0"
```