| Summary: | Port fcitx support to both fcitx 4 & 5 | ||
|---|---|---|---|
| Product: | SDL | Reporter: | wengxt |
| Component: | *don't know* | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | sdl |
| Version: | HG 2.1 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Attachments: |
Patch to support fcitx 5
Update the patch to support build with cmake |
||
(In reply to wengxt from comment #0) > Created attachment 4318 [details] > Patch to support fcitx 5 > > Due to the new major fcitx version is coming close, the existing code need > to be ported to use new Fcitx dbus interface. > > The new dbus interface is supported by both fcitx 4 and 5, and has a good > side effect, which is that it will work with flatpak for free. Also the > patch remove the dependency on fcitx header. Instead, it just hardcodes a > few enum value in the code so need to handle the different header for fcitx4 > or 5. Nice job! Created attachment 4337 [details]
Update the patch to support build with cmake
Patch added, thanks! https://hg.libsdl.org/SDL/rev/a73b49512ba2 |
Created attachment 4318 [details] Patch to support fcitx 5 Due to the new major fcitx version is coming close, the existing code need to be ported to use new Fcitx dbus interface. The new dbus interface is supported by both fcitx 4 and 5, and has a good side effect, which is that it will work with flatpak for free. Also the patch remove the dependency on fcitx header. Instead, it just hardcodes a few enum value in the code so need to handle the different header for fcitx4 or 5.