ubuntu / gnome-sdk

GNOME SDK/Platform snap
22 stars 23 forks source link

Enable introspection in the glib part build #208

Closed seb128 closed 5 months ago

seb128 commented 5 months ago

The bindings moved between those components upstream this cycle.

We are using build-packages for gobject-introspection instead of using the local part to avoid a dependency loop, we could also build glib once without introspection/don't stage that one but it seems that if the distro g-i version is recent enough it's simpler to just use it

seb128 commented 5 months ago

I've not build tested it yet but I'm doing that now

For extra context https://gitlab.gnome.org/GNOME/gobject-introspection/-/commit/afbe7697e

build: Do not install generated GLib GIR files

GLib 2.79 ships its own introspection data.

We need to keep generating the introspection data for GIRepository-2.0,
but we don't need to install its dependencies.