Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 831139 - media-gfx/krita-5.0.2 should build and install included GMic plugin
Summary: media-gfx/krita-5.0.2 should build and install included GMic plugin
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement with 2 votes (vote)
Assignee: Gentoo KDE team
Depends on:
Reported: 2022-01-13 16:37 UTC by Frank Krömmelbein
Modified: 2023-10-13 23:28 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Frank Krömmelbein 2022-01-13 16:37:05 UTC
Since version 5.0.0 of krita external G`Mic plugin provided via media-gfx/gmic with +krita useflag did not work anymore. See:
Note: Krita 5 comes with its own integrated version of the G'MIC-Qt plug-in. The versions provided here won't work for Krita 5.

Pluginification of G’MIC (MR 581)
G’MIC has been moved to a build-in plugin again, which should improve the G’MIC situation on MacOS.

I then have disabled krita useflag of media-gfx/gmic, and tried the available  useflags for krita
[ebuild   R   ~] media-gfx/krita-5.0.2:5::gentoo  USE="color-management fftw gif gsl jpeg mypaint-brush-engine openexr pdf qtmedia raw vc webp -debug -heif -test" PYTHON_SINGLE_TARGET="python3_9 -python3_8 -python3_10" 0 KiB

But when I try to open the plugin I always get this error message:
The GMic plugin is not installed or could not be loaded.
Comment 1 Andreas Sturmlechner gentoo-dev 2022-01-13 17:09:46 UTC
I didn't want anything to do with gmic in the past, and I don't really want now either. Looking at krita build system, it uses ExternalProject_Add( ext_gmic ...) inside 3rdparty/CMakeLists.txt as well as 3rdparty_plugins/ext_gmic/CMakeLists.txt to fetch something during cmake. It is unclear to me how either directory is being used from elsewhere inside the build system. That tells me that krita upstream is not really interested in having distributions package it for krita at all.
Comment 2 Andreas Sturmlechner gentoo-dev 2022-01-13 17:19:44 UTC
To make that clear: any solution to build gmic as part of krita should be contributed to upstream krita before we will use it downstream. I am not going to carry patches forever to workaround upstream's appimage distribution bias.

Interestingly enough, going to they show Gentoo as distributing 5.0.2 - and make you download an appimage file for gmic.
Comment 3 Frank Krömmelbein 2022-01-14 18:10:20 UTC
Thanks for the information.
My hope was that the whole thing would have been relatively easy to implement.
But unfortunately that's not the case.
Comment 4 Andreas Sturmlechner gentoo-dev 2022-01-14 19:43:51 UTC
Does their gmic appimage do anything for you?
Comment 5 Frank Krömmelbein 2022-01-15 19:14:17 UTC
(In reply to Andreas Sturmlechner from comment #4)
> Does their gmic appimage do anything for you?

That doesn't seem to exist anymore for the current version, the linked file doesn't exist.
-> 404 The requested URL was not found on this server.

For the older version 4.4.8 there is a corresponding file:

But what works really good, is the complete image of Krita with GMIC.
But I don't like this solution, I'm not a fan of appimage, snap & co...