varnamproject / varnam-fcitx5

Fcitx5 wrapper for Varnam input method. Easily type Indian languages on Linux desktops.
https://varnamproject.com/
GNU General Public License v3.0
6 stars 1 forks source link

Feature request: Flatpak support #5

Open wengxt opened 5 months ago

wengxt commented 5 months ago

Fcitx 5 engine can be distributed via Flatpak.

https://fcitx-im.org/wiki/Install_Fcitx_5#Install_Fcitx_5_from_Flatpak https://github.com/flathub/?q=org.fcitx.Fcitx5&type=all&language=&sort=

To support flatpak, usually it need to support:

  1. Non-hardcoded path to load data, since it need to be installed to a special prefix. It can be hardcoded at compile time, but I don't really suggest that, since if you want also android support, it has to be based on the XDG_* path.
  2. Icon naming

Reference: https://github.com/fcitx/flatpak-fcitx5/