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>
This commit is contained in:
Andreas Müller
2021-07-06 11:13:26 +02:00
committed by Khem Raj
parent 6044584c9a
commit 8d920f02f4
+2 -2
View File
@@ -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"