NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.77k stars 13.88k forks source link

Please add the input method Fcitx5. #102626

Closed ghost closed 3 years ago

ghost commented 3 years ago

Project description

Fcitx5 is the under development successor of Fcitx.

Metadata

For more information, please visit this site.

omasanori commented 3 years ago

As a Japanese-speaking NixOS user, the quality of Fcitx5 support will substantially affect my UX. Thus, I'd support this if some help is needed.

asdf8dfafjk commented 3 years ago

@alissa42

I use fcitx4 extensively and I am interested in fcitx5. Is there someplace where I can read about what features fcitx5 offers over fcitx4?

I believe the first 3 points you listed are already satisfied by fctix4. (Probably the 4th too, I only use zhengma but https://wiki.archlinux.org/index.php/Fcitx#Chinese lists quite a few chinese input methods).

I hope fcitx5 is good and I might try to make a crude derivation.

Noting for later:

Looking at fcitx-anthy vs fcitx5-anthy, their last common commit was https://github.com/fcitx/fcitx5-anthy/commit/f51f29d3f3c8bb696c195d0d3290cf758bad797c on Sept 2017. fcitx-table also seems to have diverged https://github.com/fcitx/fcitx-table-extra/commit/feb887ea756d8cc9caab3bf07fa1addef1ab0587

Thus it appears that using fcitx5 would also require repackaging the input methods.

CoelacanthusHex commented 3 years ago

Is there someplace where I can read about what features fcitx5 offers over fcitx4?

I write a blog for Chinese users: https://blog.coelacanthus.moe/tech/welcome-to-fcitx5/

and there are others: 尝鲜可能比 sunpinyin 好一点的新拼音输入法 配置Fcitx5输入法, 肥猫百万词库就是赞 fcitx5 简评和使用方法 linux下的fcitx5谁体验过? 如何现在就在 Arch Linux 用上 Fcitx 5

also in Chinese

As well, Fcitx5 support lua add-ons, there is an article (in Chinese):

使用 fcitx5-lua 编写 lua 插件

And Fcitx5 rewrite with c++ and modular

importantly, there will be no further maintaince for fcitx4, according to fcitx dev

CoelacanthusHex commented 3 years ago

@alissa42 you seem losing some source/package https://github.com/fcitx/libime (as dep of Chinese add-ons https://github.com/fcitx/xcb-imdkit (as dep,a basic IME lib) https://github.com/fcitx/fcitx5-lua (provide lua support) https://github.com/fcitx/libime-jyutping (provide better 粵語 support) https://github.com/fcitx/fcitx5-m17n https://github.com/fcitx/fcitx5-libthai https://github.com/fcitx/fcitx5-sayura https://github.com/fcitx/fcitx5-table-other https://github.com/fcitx/fcitx5-table-extra https://github.com/fcitx/fcitx5-chewing (for traditional Chinese) https://github.com/fcitx/fcitx5-zhuyin (also)

CoelacanthusHex commented 3 years ago

Some notes about other distribution:

Vonfry commented 3 years ago

Should we keep fcitx4 in nixpkgs or update it into 5?

In my opinion, it is not too difficult for second case because fcitx is based on cmake and the nixos module need not modify too much.

jansol commented 3 years ago

Keep it for now but mark it as deprecated with a note about fcitx5? That way existing installs continue working for the time being and users get notified that development has moved to a new fork. The fcitx5 derivation can start out as a copy of the fcitx4 one, adjusted for the new version.

CoelacanthusHex commented 3 years ago

Keep it for now but mark it as deprecated with a note about fcitx5? That way existing installs continue working for the time being and users get notified that development has moved to a new fork. The fcitx5 derivation can start out as a copy of the fcitx4 one, adjusted for the new version.

I think it is appropriate.

poscat0x04 commented 3 years ago

see also https://fcitx-im.org/wiki/Compile_from_source

poscat0x04 commented 3 years ago

Trying to package fcitx5: https://github.com/NixOS/nixpkgs/pull/104658

berberman commented 3 years ago

fcitx5-mozc (Japanese) is on the way: #109735

FWIW, fcitx5-pinyin-moegirl and fcitx5-pinyin-zhwiki are available in my flake repo.