gstreamer meson build: using pango fallback requires using a more recent version of glib than the gstreamer fallback specifies

Christian Wick c.wick at
Thu Nov 10 11:17:52 UTC 2022


while building the main branch from scratch in a minimal Ubuntu 22.04 
docker container I have realized that there seems to be an issue 
concerning different glib version requirements if libpango and glib are 
not installed in the system and the fallbacks have to be used.
The gobject-introspection fallback (*1) in pango-1.5.10  (fixed version 
in gstreamer wrap file) contains a reference to the main branch of the 
gobject-introspection git repo. So it does not use a fixed version.
The glib fallback (*2) in pango-1.5.10 also does not use a fixed version.

As the the gobject-introspection seems to be directly coupled to the 
required glib version (*3), this results in conflict with the glib 
fallback from the gstreamer wrap file.
Currently the gstreamer wrap file specified 2.72.2.
However, gobject-introspection main branch requires a more recent 
version 2.74.1.

I have used this wrap file content to fix the local build:

diff --git a/subprojects/glib.wrap b/subprojects/glib.wrap
index 6fbad4d5a4..5972a60abf 100644
--- a/subprojects/glib.wrap
+++ b/subprojects/glib.wrap
@@ -1,11 +1,2 @@
-directory = glib-2.72.2
-source_url =
-source_filename = glib-2.72.2.tar.xz
-source_hash = 
-wrapdb_version = 2.72.2-1
-dependency_names = gthread-2.0, gobject-2.0, gmodule-no-export-2.0, 
gmodule-export-2.0, gmodule-2.0, glib-2.0, gio-2.0, gio-windows-2.0, 
-program_names = glib-genmarshal, glib-mkenums, glib-compile-schemas, 
glib-compile-resources, gio-querymodules, gdbus-codegen
+filename = pango-1.50.10/subprojects/glib.wrap

Is this a bug or do I have to configure meson build in a different way 
when there are almost no dependencies provided by the system itself?
(This issues arises if "-Dintrospection=enabled -Dpython=enabled".)

Best regards,


More information about the gstreamer-devel mailing list