aboutsummaryrefslogtreecommitdiffstats
path: root/meta-gnome/recipes-gimp/gegl/gegl_0.4.30.bb
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@gmail.com>2021-07-06 11:13:26 +0200
committerKhem Raj <raj.khem@gmail.com>2021-07-08 09:21:41 -0700
commit8d920f02f48ff9a60df0580b51a902bdd73c0406 (patch)
tree96da05bb8a5e503ab8ea7cd47f05f47850c23bf8 /meta-gnome/recipes-gimp/gegl/gegl_0.4.30.bb
parent6044584c9ad16abafa2fa1ac463998f7c901dda5 (diff)
downloadmeta-openembedded-contrib-8d920f02f48ff9a60df0580b51a902bdd73c0406.tar.gz
gegl: Disable pango on native build to fix gimp build segfaults
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 <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-gnome/recipes-gimp/gegl/gegl_0.4.30.bb')
-rw-r--r--meta-gnome/recipes-gimp/gegl/gegl_0.4.30.bb4
1 files 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"