GIMP-appimage icon indicating copy to clipboard operation
GIMP-appimage copied to clipboard

Cannot use Fcitx5 Input Method

Open LFRon opened this issue 11 months ago • 5 comments

I found this appimage of GIMP cannot use Fcitx5 Input Method,this problem might affect the experience from Korea,China,etc. Could developer add IM support?Thanks!

LFRon avatar Jan 22 '25 06:01 LFRon

Hi, is this the first time you use this appimage?

I ask because just today I made some changes in it.

Btw, this appimage relies on your local fonts in /usr/share/fonts and your locale in /usr/lib/locale... if you have these, the package should at least run in your language.

ivan-hc avatar Jan 22 '25 07:01 ivan-hc

Hi, is this the first time you use this appimage?

I ask because just today I made some changes in it.

Btw, this appimage relies on your local fonts in /usr/share/fonts and your locale in /usr/lib/locale... if you have these, the package should at least run in your language.

I tried,which could show in my language,but I cannot use Fcitx5 IM entering text

Image

LFRon avatar Jan 22 '25 13:01 LFRon

uhm... I cannot test, since I'm italian... would you like to fork this repo and test changes?

It is enough to add the arch linux package/packages needed for this, in DEPENDENCES https://github.com/ivan-hc/GIMP-appimage/blob/7bcd776a608094392eec6abde0a1507c3a9e2505/gimp-junest.sh#L5

since it does not includes all dependencies, but only what its needed to work to be lightweight, you should also add keywords here https://github.com/ivan-hc/GIMP-appimage/blob/7bcd776a608094392eec6abde0a1507c3a9e2505/gimp-junest.sh#L13

ivan-hc avatar Jan 22 '25 13:01 ivan-hc

uhm... I cannot test, since I'm italian... would you like to fork this repo and test changes?

It is enough to add the arch linux package/packages needed for this, in DEPENDENCES

GIMP-appimage/gimp-junest.sh

Line 5 in 7bcd776 DEPENDENCES="ffmpeg graphviz sdl2" #SYNTAX: "APP1 APP2 APP3 APP4...", LEAVE BLANK IF NO OTHER DEPENDENCIES ARE NEEDED

since it does not includes all dependencies, but only what its needed to work to be lightweight, you should also add keywords here

GIMP-appimage/gimp-junest.sh

Line 13 in 7bcd776 BINSAVED="fc- gdb"

OK,Let me have a try,thanks!

LFRon avatar Jan 23 '25 07:01 LFRon

@LFRon in your fork, try to add fcitx5 in the script like this, you need to change two lines in "gimp-junest.sh":

line 5 from

DEPENDENCES="ffmpeg graphviz sdl2"

to

DEPENDENCES="ffmpeg graphviz sdl2 fcitx5"

line 339, from

		[ -n "$lib_browser_launcher" ] && [[ "$arg" =~ (babl|gegl|hicolor-icon-theme|xapp) ]] && tar fx "$pkg_full_path" -C ./base/ --warning=no-unknown-keyword --exclude='.PKGINFO'

to

		[ -n "$lib_browser_launcher" ] && [[ "$arg" =~ (fcitx5|babl|gegl|hicolor-icon-theme|xapp) ]] && tar fx "$pkg_full_path" -C ./base/ --warning=no-unknown-keyword --exclude='.PKGINFO'

...the latter forces the full package into the AppImage, since this release only bundles selected libraries. Forced packages are also babl, gegl, xapp and hicolor-icon-theme.

Run the workflow in the Actions tab named "GIMP Stable Appimage" and download the AppImage from your "releases" section when the workflow has finished.

ivan-hc avatar Jan 30 '25 02:01 ivan-hc

I'm closing due to inactivity

ivan-hc avatar Jun 04 '25 14:06 ivan-hc