From 8d920f02f48ff9a60df0580b51a902bdd73c0406 Mon Sep 17 00:00:00 2001 From: Andreas Müller Date: Tue, 6 Jul 2021 11:13:26 +0200 Subject: gegl: Disable pango on native build to fix gimp build segfaults MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Achieve by adding a PACKAGECONFIG for pango and keep that out of native. * pango support is not required for gimp build * pango support caused random segmentation faults building gimp. To work around vector support was disabled for many arches. Am not sure but segfaults might be caused by missing font configuration on native: | Fontconfig error: Cannot load default config file Now with upcoming pango 1.48.7 build of gimp build is broken completely: All calls of gegl caused segfaults. Signed-off-by: Andreas Müller Signed-off-by: Khem Raj --- meta-gnome/recipes-gimp/gegl/gegl_0.4.30.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-gnome/recipes-gimp/gegl/gegl_0.4.30.bb b/meta-gnome/recipes-gimp/gegl/gegl_0.4.30.bb index bb0cd1f8a9..1fc8832257 100644 --- a/meta-gnome/recipes-gimp/gegl/gegl_0.4.30.bb +++ b/meta-gnome/recipes-gimp/gegl/gegl_0.4.30.bb @@ -6,7 +6,6 @@ DEPENDS = " \ intltool-native \ babl \ glib-2.0 \ - pango \ cairo \ expat \ zlib \ @@ -28,7 +27,7 @@ SRC_URI = " \ " SRC_URI[sha256sum] = "c112782cf4096969e23217ccdfabe42284e35d5435ff0c43d40e4c70faeca8dd" -PACKAGECONFIG ??= "gexiv2 jpeg libpng libraw librsvg poppler sdl2" +PACKAGECONFIG ??= "gexiv2 jpeg libpng libraw librsvg pango poppler sdl2" PACKAGECONFIG_class-native = "libpng librsvg" PACKAGECONFIG[jasper] = "-Djasper=enabled,-Djasper=disabled,jasper" @@ -40,6 +39,7 @@ PACKAGECONFIG[libav] = "-Dlibav=enabled,-Dlibav=disabled,libav" PACKAGECONFIG[libpng] = "-Dlibpng=enabled,-Dlibpng=disabled,libpng" PACKAGECONFIG[libraw] = "-Dlibraw=enabled,-Dlibraw=disabled,libraw" PACKAGECONFIG[librsvg] = "-Dlibrsvg=enabled,-Dlibrsvg=disabled,librsvg" +PACKAGECONFIG[pango] = "-Dpango=enabled -Dpangocairo=enabled,-Dpango=disabled -Dpangocairo=disabled,pango" PACKAGECONFIG[poppler] = "-Dpoppler=enabled,-Dpoppler=disabled,poppler" PACKAGECONFIG[sdl] = "-Dsdl1=enabled,-Dsdl1=disabled,virtual/libsdl" PACKAGECONFIG[sdl2] = "-Dsdl2=enabled,-Dsdl2=disabled,virtual/libsdl2" -- cgit 1.2.3-korg