gstreamer meson build: using pango fallback requires using a more recent version of glib than the gstreamer fallback specifies
Christian Wick
c.wick at mail.de
Thu Nov 10 11:17:52 UTC 2022
Hi,
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 @@
-[wrap-file]
-directory = glib-2.72.2
-source_url =
https://download.gnome.org/sources/glib/2.72/glib-2.72.2.tar.xz
-source_filename = glib-2.72.2.tar.xz
-source_hash =
78d599a133dba7fe2036dfa8db8fb6131ab9642783fc9578b07a20995252d2de
-wrapdb_version = 2.72.2-1
-
-[provide]
-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,
gio-unix-2.0
-program_names = glib-genmarshal, glib-mkenums, glib-compile-schemas,
glib-compile-resources, gio-querymodules, gdbus-codegen
-
+[wrap-redirect]
+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,
Christian
(*1)
https://gitlab.gnome.org/GNOME/pango/-/blob/1.50.10/subprojects/gobject-introspection.wrap
(*2)
https://gitlab.gnome.org/GNOME/pango/-/blob/1.50.10/subprojects/glib.wrap
(*3)
https://gitlab.gnome.org/GNOME/gobject-introspection/-/blob/0a8367524cec8d4d0dec1b3f05eeb2f8d1b6aedd/meson.build#L127-L130
More information about the gstreamer-devel
mailing list