Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot use Fcitx5 Input Method #35

Open
LFRon opened this issue Jan 22, 2025 · 5 comments
Open

Cannot use Fcitx5 Input Method #35

LFRon opened this issue Jan 22, 2025 · 5 comments

Comments

@LFRon
Copy link

LFRon commented Jan 22, 2025

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!

@ivan-hc
Copy link
Owner

ivan-hc commented Jan 22, 2025

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.

@LFRon
Copy link
Author

LFRon commented Jan 22, 2025

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

@ivan-hc
Copy link
Owner

ivan-hc commented Jan 22, 2025

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

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

BINSAVED="fc- gdb"

@LFRon
Copy link
Author

LFRon commented Jan 23, 2025

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!

@ivan-hc
Copy link
Owner

ivan-hc commented Jan 30, 2025

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants