compiled on old laptop with CPU T5200 Compile Flags: CFLAGS="-march=generic -Os -pipe" LDFLAGS="-Wl,-O1" export CFLAGS LDFLAGS Dependencies: cmake compiletc gettext-dev git gob2 ibus-dev libchewing-dev Commands: git clone https://github.com/definite/ibus-chewing.git wget https://releases.pagure.org/cmake-fedora/cmake-fedora-2.9.2-modules-only.tar.gz cd ibus-chewing/ tar xf ../cmake-fedora-2.9.2-modules-only.tar.gz # Fix an issue with deprecated schema entries: sed -i 's@/desktop/ibus@/org/freedesktop/ibus@g' CMakeLists.txt mkdir build cd build # optionally add "-Wno-deprecated -Wno-dev" # to suppress deprecated functionality warnings # this project is old... cmake .. \ -DCMAKE_INSTALL_PREFIX='/usr/local' \ -DLIBEXEC_DIR='/usr/local/lib/ibus-chewing' \ -DDATA_DIR='/usr/local/share' \ -DPRJ_DOC_DIR='/usr/local/share/doc/ibus-chewing' \ -DPRJ_DATA_DIR='/usr/local/share/ibus-chewing'