Page MenuHomeFreeBSD

devel/glib20 and devel/gobject-introspection: update to 2.82.1 and 1.82.0
AcceptedPublic

Authored by vishwin on Oct 15 2024, 9:30 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 6, 12:49 PM
Unknown Object (File)
Thu, Oct 31, 7:25 AM
Unknown Object (File)
Thu, Oct 31, 7:24 AM
Unknown Object (File)
Thu, Oct 31, 7:07 AM
Unknown Object (File)
Mon, Oct 28, 3:08 PM
Unknown Object (File)
Sat, Oct 26, 1:45 PM
Unknown Object (File)
Fri, Oct 25, 11:11 PM
Unknown Object (File)
Fri, Oct 25, 10:52 PM
Subscribers

Details

Reviewers
arrowd
Group Reviewers
desktop
gnome
Summary

Changelogs:

These are and have always meant to be maintained and updated together. They are slated to merge at some point.

Several GLib introspection data files now live in glib rather than introspection, which is problematic for us since keeping them available for consumers requires -Dintrospection=disabled in glib, which causes a circular dependency.

Since our build and packaging system is fully deterministic, we cannot quite follow upstream's advice exactly; however since introspection only becomes a build dependency in glib when -Dintrospection=true, this is workable. Introduce bootstrap flavours of both ports:

  • glib-bootstrap is the same -Dintrospection=disabled as before, to facilitate...
  • gobject-introspection-bootstrap links to the above and serves only as a build dependency for...
  • glib with '-Dintrospection=enabled`
  • gobject-introspection links to the above

In-place building of this sequence will not work and is not supported, you must use isolated environments like poudriere. poudriere-testport(8) will fail on glib default flavour during the install/delete phase as the bootstrap flavour will still be present in the environment.

Test Plan

exp-run will be needed, especially for gobject-introspection as it is stricter on consumers. Light runtime testing has commenced.

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 60027
Build 56911: arc lint + arc unit

Event Timeline

vishwin created this revision.
arrowd added a subscriber: arrowd.

At first I was thinking to simply replicate glibs build process in the gobject-introspection port, but your approach is much more concise. Cool!

Building outside the jail should still be possible by installing and removing bootstrap packages manually. I think this warrants an UPDATING entry.

devel/gobject-introspection/Makefile
21

This should either be default_USE= gnome=glib20 or remove gnome from USES, since there is no accompanying USE_GNOME.

This revision is now accepted and ready to land.Oct 16 2024, 5:39 AM