devel/glib20 and net/glib-networking should have the same
major version, otherwise strange things may happen (such
as ports depending on www/webkit2-gtk3).
Created attachment 232287 [details]
Created attachment 232288 [details]
# portlint -C
WARN: Makefile: Consider adding support for a NLS knob to conditionally disable gettext support.
WARN: Makefile: "USES" has to appear earlier.
WARN: Consider to set DEVELOPER=yes in /etc/make.conf
0 fatal errors and 3 warnings found.
Created attachment 232727 [details]
glib-networking has only 3 consumers: libsoup, libsoup3, gimp-app. All built fine. However, libsoup has around 121 consumers and many of those have their own consumers. I haven't tested runtime.
attachment 232287 [details] can probably land now while attachment 232727 [details] need to wait for bug 262635. That's assuming someone can confirm "strange things" from comment 0.
How do we usefully coordinate this update? Clearly glib-networking is de-synced from glib20 (glib20 v2.70.4, glib-networking v2.66.0 in ports main right now), but there's also a glib20 v2.72 update looming -- which will de-sync them even more.
Since the glib20 update is currently not assigned to desktop@ I wouldn't even normally see it.
Based on jbeich@'s comment #5 I'll try to land glib-networking -> 2.70.1 at least.
(In reply to Jan Beich from comment #5)
For example, when browsing the web with luakit, I am getting loads of:
(<unknown>:36853): GLib-Net-WARNING **: 19:20:24.367: ../tls/gnutls/gtlscertificate-gnutls.c:145: invalid property id 3 for "private-key" of type 'GParamBoxed' in 'GTlsCertificateGnutls'
I am hoping to have some sort of process in place to keep glib and
glib-networking in sync. Since they do not have the same maintainer,
I don't know how (to keep them in sync).
A commit in branch main references this bug:
Author: Adriaan de Groot <adridg@FreeBSD.org>
AuthorDate: 2022-04-11 22:18:25 +0000
Commit: Adriaan de Groot <adridg@FreeBSD.org>
CommitDate: 2022-04-13 10:34:08 +0000
net/glib-networking: update to 2.70.1 to match glib
glib-networking and glib (glib20) should be kept in sync
with major.minor versions. Update to catch up with glib.
Bump PORTREVISION on direct consumers, but not transitively.
Note that the PR has a newer patch, but that bumps glib
by a minor revision as well, to 2.72, which is tricky in itself.
Transitive consumers of libsoup and libsoup3 all build,
except for net-im/libnice, but that fails locally without this
change as well, so I'm going to choose to ignore that.
Obtained from: email@example.com
devel/libsoup/Makefile | 2 +-
devel/libsoup3/Makefile | 2 +-
graphics/gimp-app/Makefile | 2 +-
net/glib-networking/Makefile | 3 +--
net/glib-networking/distinfo | 6 +++---
5 files changed, 7 insertions(+), 8 deletions(-)
**not** closing this one, as the title is for 2.72, which should be landed in-sync with the glib update in the linked PR.
I missed this when I landed an update to glib-networking 2.72.0, however, I have been running it just fine with no weird issues with 2.70 and luakit-devel.
Have I missed something ?
Closing this, since 2.72 has now landed.
I thought, though, that glib and glib-networking should best maintain the same major.minor versions, so don't update one without the other.