Introduction to libime
The libime package provides a library with support functions for
implementing generic input methods.
Notat
En internettforbindelse er nødvendig for å bygge denne pakken.
Systemsertifikatlageret må kanskje konfigureres med
make-ca før du bygger denne pakken.
Additional Downloads
libime Dependencies
Required
Boost,
CMake,
extra-cmake-modules, and Fcitx5-5.1.14
Optional
doxygen (to build the documentation)
Installation of libime
Unpack the kenlm submodule into the right place:
tar -xvf ../bcd4af619a2fa45f5876d8855f7876cc09f663af.tar.gz -C src/libime/core &&
rmdir src/libime/core/kenlm &&
mv src/libime/core/kenlm-bcd4af619a2fa45f5876d8855f7876cc09f663af src/libime/core/kenlm
Install libime by running the following commands:
mkdir build &&
cd build &&
cmake -D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_SKIP_INSTALL_RPATH=ON \
-D BUILD_SHARED_LIBS=ON \
-D ENABLE_TEST=OFF \
-Wno-dev .. &&
make
If you have passed the -D ENABLE_DOC=ON
parameter to CMake, build the documentation by executing the
following commands:
make doc
Now, as the root
user:
make install
If you have built the documentation, install it as the root
user:
install -v -m755 -d /usr/share/doc/libime-1.1.11 &&
cp -rv doc/html/* /usr/share/doc/libime-1.1.11
Command Explanations
-D
CMAKE_SKIP_INSTALL_RPATH=ON
: Denne bryteren gjør at
cmake fjerner
hardkodede biblioteksøk stier (rpath) når du installerer en binær
kjørbar fil eller et delt bibliotek. Denne pakken trenger ikke
rpath når den er installert på standard plassering, og rpath kan
noen ganger forårsake uønskede effekter eller til og med
sikkerhetsproblemer.
-D BUILD_SHARED_LIBS=ON
:
This ensures shared libraries are built.
-D ENABLE_DOC=ON
: Use this switch if
you want to build the documentation (requires doxygen).