Opened 5 years ago

Closed 2 years ago

#58261 closed update (fixed)

glib2(-devel): update to latest version 2.60.0

Reported by: dbevans (David B. Evans) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: chrstphrchvz (Christopher Chavez), l2dy (Zero King)
Port: glib2 glib2-devel

Description


Change History (16)

comment:1 Changed 5 years ago by dbevans (David B. Evans)

Port: glib2-devel added

comment:2 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

The build system has changed to meson, with which I am not familiar.

comment:3 Changed 5 years ago by dbevans (David B. Evans)

OK, I'll take a look and (hopefully) submit a PR. I'm dealing with a lot other meson issues anyway.

comment:4 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

The main difficulty is that we have a big patch and ed script for the autoconf system that implements support for the universal variant, which upstream was not interested in. We would need to investigate whether something similar needs to be done for the meson system.

Whatever you come up with, let's play with glib2-devel first and get it working before touching glib2.

pango-devel will also need to switch to meson, if you're interested in looking at that too. No patches there so it should be easier.

I know we have a meson portgroup, it's just unfamiliar territory for me.

comment:5 in reply to:  4 ; Changed 5 years ago by dbevans (David B. Evans)

Replying to ryandesign:

The main difficulty is that we have a big patch and ed script for the autoconf system that implements support for the universal variant, which upstream was not interested in. We would need to investigate whether something similar needs to be done for the meson system.

Whatever you come up with, let's play with glib2-devel first and get it working before touching glib2.

Agreed. patch-configure-switch-for-gappinfo-impl.diff is also autoconf specific so that needs to be ported to meson. I'm working on that now. Once I get it working without +universal, I'll post it as a WIP PR so we both can work on it. Once you agree to the changes, we can merge it as glib2-devel and see what happens :-).

comment:6 in reply to:  5 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to dbevans:

Agreed. patch-configure-switch-for-gappinfo-impl.diff is also autoconf specific so that needs to be ported to meson. I'm working on that now.

I believe upstream has already ported that to meson.

comment:8 Changed 5 years ago by chrstphrchvz (Christopher Chavez)

This ticket's type should be set to "update"

comment:9 Changed 5 years ago by chrstphrchvz (Christopher Chavez)

Cc: chrstphrchvz added

comment:10 Changed 5 years ago by mf2k (Frank Schima)

Type: defectupdate

comment:11 Changed 5 years ago by l2dy (Zero King)

Cc: l2dy added

comment:12 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

There's an attempt to update the port here: https://github.com/macports/macports-ports/pull/5808

I objected to it in November 2019 but it has been changed since then and I haven't tried to reevaluate it.

comment:13 Changed 3 years ago by Lord-Kamina (Gregorio Litenstein)

Resolution: fixed
Status: assignedclosed

In 58f6d4c7c04f308f3c8a1e7fea3fc08ff23d7ceb/macports-ports (master):

glib2-devel: Update to 2.62.5

Closes: #58261

I’ve updated this for meson; refreshed patch offsets and done my best to duplicate the x11/quartz selection logic. It builds and has been tested insofar as I built gdk-pixbuf, gtk3, gobject-introspection and several ports and apps depending on them and they all worked fine. As for tests proper, about 12 of them fail; a few of those were failing in 2.58.3 too; not sure if the new failures are my fault, new bugs, new tests or what.

P.S. @dbevans you can have your tarballs and eat them too. :P

comment:14 Changed 3 years ago by l2dy (Zero King)

Resolution: fixed
Status: closedreopened

The main port glib2 has not been updated yet. Reopening.

comment:16 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: reopenedclosed
Note: See TracTickets for help on using tickets.