libime-1.1.11

Introduction to libime

The libime package provides a library with support functions for implementing generic input methods.

[Notat]

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).

Contents

Installed Programs: libime_history, libime_migrate_fcitx4_pinyin, libime_migrate_fcitx4_table, libime_pinyindict, libime_prediction, libime_slm_build_binary, and libime_tabledict
Installed Libraries: libIMECore, libIMEPinyin, and libIMETable
Installed Directories: /usr/include/LibIME, /usr/lib/libime, and /usr/share/libime

Short Descriptions

libime_history

is a helper tool for dealing with bigrams

libime_migrate_fcitx4_pinyin

is a tool which migrates Fcitx 4 pinyin dictionaries to Fcitx 5

libime_migrate_fcitx4_table

is a tool which migrates Fcitx 4 tables to Fcitx 5

libime_pinyindict

is a helper tool for dealing with pinyin dictionaries

libime_prediction

is a helper tool for dealing with word predictions

libime_slm_build_binary

builds a binary file from an ARPA file for faster load times

libime_tabledict

is a helper tool for dealing with table-based dictionaries

libIMECore

is the libime core library

libIMEPinyin

is the libime pinyin library

libIMETable

is the libime table-based input library