Bug 2335927 - Gmic plugin is not listed in filter menu of Gimp 3
Summary: Gmic plugin is not listed in filter menu of Gimp 3
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gmic
Version: 41
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Daniel Berrangé
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2350855 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-01-06 18:40 UTC by Fabrice Salvaire
Modified: 2025-03-20 04:35 UTC (History)
4 users (show)

Fixed In Version: gmic-3.5.2-4.fc43 gmic-3.5.2-7.fc42 gmic-3.5.2-7.fc41
Clone Of:
Environment:
Last Closed: 2025-03-19 00:16:34 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Fabrice Salvaire 2025-01-06 18:40:04 UTC
Description of problem:

I installed
- gimp-3.0.0~RC2-2.fc41.x86_64
- gmic-libs-3.4.0-4.fc41.x86_64
- gmic-3.4.0-4.fc41.x86_64
- gmic-gimp-3.4.0-4.fc41.x86_64

But Gmic is not listed in Gimp 3 filter menu.

Comment 1 Fabrice Salvaire 2025-01-06 18:53:07 UTC
First reason is (in French):

Sauter le greffon potentiel « /usr/lib64/gimp/3.0/plug-ins/gmic_gimp_qt » : les greffons doivent être installés dans des sous-répertoires.

But it still fails after to make a subdirectory with:

(gmic_gimp_qt:7259): GLib-GObject-CRITICAL **: 19:50:45.654: g_object_new_valist: assertion 'G_TYPE_IS_OBJECT (object_type)' failed
**
LibGimp:ERROR:../libgimp/gimp.c:500:gimp_main: assertion failed: (GIMP_IS_PLUG_IN (PLUG_IN))
Bail out! LibGimp:ERROR:../libgimp/gimp.c:500:gimp_main: assertion failed: (GIMP_IS_PLUG_IN (PLUG_IN))
/usr/lib64/gimp/3.0/plug-ins/gmic_gimp_qt/gmic_gimp_qt: fatal error: Abandon
GIMP-AVERTISSEMENT: gimp: gimp_wire_read(): unexpected EOF

Comment 2 Olivier Samyn 2025-03-07 09:11:32 UTC
Same problem happens with Fedora 42 package recompiled for Fedora 41.
The solution seems to be really easy: change the global `gimpplugindir` variable to contain the desired folder `gmic_gimp_qt`. This is the value used in upstream CMakeList.txt.

Proposed spec change:

--- gmic.old.spec       2025-03-07 08:57:35.233333325 +0100
+++ gmic.spec   2025-03-07 09:05:21.698963451 +0100
@@ -1,4 +1,4 @@
-%global gimpplugindir %(%___build_pre; gimptool --gimpplugindir)/plug-ins
+%global gimpplugindir %(%___build_pre; gimptool --gimpplugindir)/plug-ins/gmic_gimp_qt

 %global use_system_cimg 1

Comment 3 Fedora Update System 2025-03-07 16:56:03 UTC
FEDORA-2025-dd1dba4fff (gmic-3.5.2-4.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-dd1dba4fff

Comment 4 Fedora Update System 2025-03-07 16:59:54 UTC
FEDORA-2025-dd1dba4fff (gmic-3.5.2-4.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 5 Olivier Samyn 2025-03-07 17:29:33 UTC
It's nice to see this solved for Fedora 43 that will be out in October.

If in the mean time this could be backported to FC42 and FC41 that would be great ! :-)

Comment 6 Daniel Berrangé 2025-03-07 17:44:02 UTC
(In reply to Olivier Samyn from comment #5)
> If in the mean time this could be backported to FC42 and FC41 that would be
> great ! :-)

Yes, that's already in progress, it is just a slow build and I'm doing them in reverse order so they've not appeared as updates yet.

Comment 7 Daniel Berrangé 2025-03-07 17:45:19 UTC
> The solution seems to be really easy: change the global `gimpplugindir` variable to contain the desired folder `gmic_gimp_qt`. This is the value used in upstream CMakeList.txt.

Thankyou for pointing this out, it was indeed that easy.

Comment 8 Olivier Samyn 2025-03-07 18:34:13 UTC
Thanks for the follow-up. I was surprised to already see the bug report closed without the FC41 and FC42 builds. 

Hence my comment above.

Comment 9 Fedora Update System 2025-03-07 18:38:54 UTC
FEDORA-2025-059830ba8a (gmic-3.5.2-4.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-059830ba8a

Comment 10 Fedora Update System 2025-03-07 22:03:10 UTC
FEDORA-2025-bb9469f396 (CImg-3.5.2-1.fc41 and gmic-3.5.2-4.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-bb9469f396

Comment 11 Fedora Update System 2025-03-08 02:25:34 UTC
FEDORA-2025-bb9469f396 has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-bb9469f396`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-bb9469f396

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2025-03-08 02:58:57 UTC
FEDORA-2025-059830ba8a has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-059830ba8a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-059830ba8a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 13 Daniel Berrangé 2025-03-10 16:11:10 UTC
*** Bug 2350855 has been marked as a duplicate of this bug. ***

Comment 14 Fedora Update System 2025-03-11 01:22:18 UTC
FEDORA-2025-059830ba8a has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-059830ba8a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-059830ba8a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 15 Fedora Update System 2025-03-11 01:54:16 UTC
FEDORA-2025-bb9469f396 has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-bb9469f396`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-bb9469f396

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 16 Fedora Update System 2025-03-19 00:16:34 UTC
FEDORA-2025-059830ba8a (gmic-3.5.2-7.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 17 Fedora Update System 2025-03-20 04:35:30 UTC
FEDORA-2025-bb9469f396 (CImg-3.5.2-1.fc41 and gmic-3.5.2-7.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.