Skip to contentSkip to conversation

poppler: add dependency on glib-2.0-native

PATCH New Martin Jansa 1 participant 1 message May 15, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 poppler: add dependency on glib-2.0-native

* in some builds (probably without gobject-introspection-data enabled) it fails to find native glib-mkenums and fails with:
poppler/23.04.0-r0/recipe-sysroot-native/usr/bin/python3-native/python3: can't open file 'poppler/23.04.0-r0/poppler-23.04.0/glib/GLIB2_MKENUMS-NOTFOUND': [Errno 2] No such file or directory

---
 meta-oe/recipes-support/poppler/poppler_23.04.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/poppler/poppler_23.04.0.bb +1 -1
index 19bdce4d86..099be58a42 100644
@@ -10,7 +10,7 @@ SRC_URI = "http://poppler.freedesktop.org/${BP}.tar.xz \
            "
 SRC_URI[sha256sum] = "b6d893dc7dcd4138b9e9df59a13c59695e50e80dc5c2cacee0674670693951a1"
 
-DEPENDS = "fontconfig zlib cairo lcms glib-2.0"
+DEPENDS = "fontconfig zlib cairo lcms glib-2.0 glib-2.0-native"
 
 inherit cmake pkgconfig gobject-introspection
 
Signature · 1 line
2.40.1