Fcitx5-GTK-5.1.5

#### Supplemental Linux® From Scratch - Version 13.0

### Chapter 13. Fcitx

- Prev

  Fcitx5-Qt-5.1.12

- Next

  Fcitx5-Lua-5.0.15

- Up
- Home

# Fcitx5-GTK-5.1.5

## Introduction to Fcitx5-GTK

The Fcitx5-GTK package provides a GTK frontend for Fcitx.

- Download: https://github.com/fcitx/fcitx5-gtk/archive/5.1.5/fcitx5-gtk-5.1.5.tar.gz

### Fcitx5-GTK Dependencies

#### Required

CMake, Extra-CMake-Modules (ECM), Fcitx5-5.1.17, GLib, GTK3, GTK4 (only one of the two is required, but both are recommended), and libxkbcommon

## Installation of Fcitx5-GTK

Install Fcitx5-GTK 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 ENABLE_GIR=ON               \
          -D ENABLE_GTK2_IM_MODULE=OFF   \
          -D ENABLE_GTK3_IM_MODULE=ON    \
          -D ENABLE_GTK4_IM_MODULE=ON    \
          -Wno-dev .. &&

    make

Now, as the `root` user:

    make install

If you have compiled in GTK3 support, update the GTK3 input method module cache as the `root` user:

    gtk-query-immodules-3.0 --update-cache

## Command Explanations

`-D CMAKE_SKIP_INSTALL_RPATH=ON`: This switch makes cmake remove hardcoded library search paths (rpath) when installing a binary executable file or a shared library. This package does not need rpath once it's installed into the standard location, and rpath may sometimes cause unwanted effects or even security issues.

## Contents

Installed Programs: fcitx5-gtk3-immodule-probing and fcitx5-gtk4-immodule-probing,
Installed Libraries: libFcitx5GClient
Installed Plugins: im-fcitx5 (GTK3 plugin) and libim-fcitx5 (GTK4 plugin)
Installed Directories: /usr/include/Fcitx5/GClient

### Short Descriptions

fcitx5-gtk3-immodule-probing | is a debugging application for GTK3 input methods
fcitx5-gtk4-immodule-probing | is a debugging application for GTK4 input methods
`libFcitx5GClient` | is the Fcitx DBus client library for GLib

- Prev

  Fcitx5-Qt-5.1.12

- Next

  Fcitx5-Lua-5.0.15

- Up
- Home