GNOME Bugzilla – Bug 597696
gsoc branch of pygobject depends on glib 2.22+
Last modified: 2009-11-09 22:07:56 UTC
Created attachment 144963 [details] update configure.ac for new glib version dependency GSoC branch will not build without glib 2.22+. Attached match modifies configure for the dependency.
Zach, thanks for your bug report. However, as PyGI is an optional build, I don't think we want the dependency on GLib >= 2.22 for the whole project. In fact, I added a PKG_CHECK_MODULES line regarding this dependency further down in the configure.ac file, although it doesn't seem to work (since at that stage the GLib has already been checked). If you have an idea about how to bump the required GLib version in case GObject-Introspection support is enabled, it'd be useful :-)
I think that GObjectIntrospection must avoid the use of GLib 2.22 symbols or add directives to enable it when 2.22 is installed.
Created attachment 145174 [details] [review] This patch drops GLib 2.22 dependency and allows to use its symbols only if available Dropping GLib 2.22 dependency will help to merge to master. On systems with 2.22.x versions, this patch allows to use its symbols.
Created attachment 145182 [details] [review] This patch improves dropping GLib 2.22 dependency by avoiding modifications to configure.ac
We recently decided to keep the GI module in a separate product. The clunky dependency depending on whether GObject-Introspection is enable or not doesn't apply anymore. I suggest to close this as WONTFIX and reopen a new bug if the dependency against GLib 2.22 is still an issue in PyGI.
Will check again vs PyGI