Page MenuHomeFreeBSD

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

Authored by vishwin on Oct 15 2024, 9:30 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 9, 3:05 AM
Unknown Object (File)
Fri, Dec 6, 11:48 PM
Unknown Object (File)
Sat, Nov 23, 5:52 PM
Unknown Object (File)
Thu, Nov 21, 5:44 PM
Unknown Object (File)
Nov 6 2024, 12:49 PM
Unknown Object (File)
Oct 31 2024, 7:25 AM
Unknown Object (File)
Oct 31 2024, 7:24 AM
Unknown Object (File)
Oct 31 2024, 7:07 AM
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
  • devel/glib20: update to 2.82.4

use GNetworkMonitorNetlink commit directly instead of patch file

This revision now requires review to proceed.Thu, Dec 12, 8:00 PM