Opened 7 years ago

Closed 7 years ago

#56081 closed update (fixed)

glib2, glib2-devel: update to latest stable release 2.56.0

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

Description

Required by gobject-introspectioin 2.56.0 and its dependents to support much of the current GNOME 3.28.0 release.

Change History (5)

comment:1 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Status: newaccepted

I'm working on this update. Give me a couple days. The appinfo patch needs to be remade because of upstream refactoring. And the upstream refactoring broke compatibility with 10.8 and earlier for which I have a patch. I'm also taking the opportunity to switch the portfiles over to using pkgconfig and autoreconf.

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

I have this update done, but am testing it further before committing.

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

Waiting expectantly, thanks.

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

In a8ab1a53805b8a0cb80e34639c62266ee4a03b22/macports-ports:

glib2-devel: Update to 2.56.0

See: #56081

Also, patch configure.ac, not configure. The reason why we were patching
configure was that patching configure.ac would have required running
autoreconf, and that would have required pkg-config, and at the time,
pkg-config depended on glib2, and MacPorts cannot accommodate circular
dependencies. pkg-config has included its own private copy of glib2
since f0e3b8c11602b61d2ac6d9ec1f69541c1d197257, so this reason no
longer applies.

We have been maintaining a large configure patch which needs to be
tediously regenerated from the configure.ac patch whenever glib2 is
updated. That effort is saved by being able to use the configure.ac
patch directly.

The Portfile is also simplified by allowing pkg-config to find the
libraries of the dependencies, rather than having to specify each of
them manually.

Reverts 847ba0283b0e043211bcaa4f2f6824f5f290dfa5.

See: #55577

Also, add SIZEOF_SSIZE_T handling to config.h.ed. This should have been
done in 2eb6602f8fbd933b0337bcf89bbcdcb233e8148a when similar patching
was added to the configure script. Add a comment to the patch to remind
the maintainer to update config.h.ed too.

Also, no longer undefine AC_APPLE_UNIVERSAL_BUILD in config.h. It's
unclear why we were ever doing this. config.h is only used at build
time. The only thing AC_APPLE_UNIVERSAL_BUILD currently does is ensure
WORDS_BIGENDIAN is defined correctly. glib doesn't use WORDS_BIGENDIAN;
it uses its own G_BYTE_ORDER, G_BIG_ENDIAN and G_LITTLE_ENDIAN. Maybe
AC_APPLE_UNIVERSAL_BUILD used to do something more objectionable.

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

Resolution: fixed
Status: acceptedclosed

In db9f7311c52cf7ad198a8aff1fd9c80e8f11d8b5/macports-ports:

glib2: Update to 2.56.0

Closes: #56081

Also, patch configure.ac, not configure. The reason why we were patching
configure was that patching configure.ac would have required running
autoreconf, and that would have required pkg-config, and at the time,
pkg-config depended on glib2, and MacPorts cannot accommodate circular
dependencies. pkg-config has included its own private copy of glib2
since f0e3b8c11602b61d2ac6d9ec1f69541c1d197257, so this reason no
longer applies.

We have been maintaining a large configure patch which needs to be
tediously regenerated from the configure.ac patch whenever glib2 is
updated. That effort is saved by being able to use the configure.ac
patch directly.

The Portfile is also simplified by allowing pkg-config to find the
libraries of the dependencies, rather than having to specify each of
them manually.

Reverts 847ba0283b0e043211bcaa4f2f6824f5f290dfa5.

See: #55577

Also, add SIZEOF_SSIZE_T handling to config.h.ed. This should have been
done in 2eb6602f8fbd933b0337bcf89bbcdcb233e8148a when similar patching
was added to the configure script. Add a comment to the patch to remind
the maintainer to update config.h.ed too.

Also, no longer undefine AC_APPLE_UNIVERSAL_BUILD in config.h. It's
unclear why we were ever doing this. config.h is only used at build
time. The only thing AC_APPLE_UNIVERSAL_BUILD currently does is ensure
WORDS_BIGENDIAN is defined correctly. glib doesn't use WORDS_BIGENDIAN;
it uses its own G_BYTE_ORDER, G_BIG_ENDIAN and G_LITTLE_ENDIAN. Maybe
AC_APPLE_UNIVERSAL_BUILD used to do something more objectionable.

Note: See TracTickets for help on using tickets.