diff mbox series

[meta-gnome] gimp: Remove default dependency to libheif from meta-multimedia

Message ID 20250406220722.26730-1-yoann.congal@smile.fr
State Under Review
Headers show
Series [meta-gnome] gimp: Remove default dependency to libheif from meta-multimedia | expand

Commit Message

Yoann Congal April 6, 2025, 10:07 p.m. UTC
From: Yoann Congal <yoann.congal@smile.fr>

meta-gnome does not currently depend on meta-multimedia.
When "commercial" is in LICENSE_FLAGS_ACCEPTED, gimp depends on libheif
by default but libheif is in meta-multimedia. That leads to build
failures, for example, in the reproducible-meta-oe AB build[0].

To fix this, remove the default "heif" PACKAGECONFIG.

To enable heif support in gimp, users can add "commercial" in
LICENSE_FLAGS_ACCEPTED and add meta-multimedia to their build.

[0]: https://autobuilder.yoctoproject.org/valkyrie/#/builders/87/builds/39/steps/16/logs/stdio

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>

---
PS: Another fix would be to make meta-gnome depend on meta-multimedia but
that seemed quite intrusive for this feature.
---
 meta-gnome/recipes-gimp/gimp/gimp_3.0.2.bb | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-gnome/recipes-gimp/gimp/gimp_3.0.2.bb b/meta-gnome/recipes-gimp/gimp/gimp_3.0.2.bb
index 3c83b2ee3a..b1e61bf4ec 100644
--- a/meta-gnome/recipes-gimp/gimp/gimp_3.0.2.bb
+++ b/meta-gnome/recipes-gimp/gimp/gimp_3.0.2.bb
@@ -96,7 +96,6 @@  PACKAGECONFIG ?= " \
     mng \
     webp \
     ${@oe.utils.conditional('SITEINFO_BITS', '32', '', 'vector-icons', d)} \
-    ${@bb.utils.contains('LICENSE_FLAGS_ACCEPTED', 'commercial', 'heif', '', d)} \
     ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 xcursor', '', d)} \
 "