New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #18054 (closed update: fixed)

Opened 4 years ago

Last modified 4 years ago

glib2: update to 2.20.0

Reported by: devans@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc: mcalhoun@…
Port: glib2

Description

Attached patch updates glib2 to version 2.18.4 as well as adding a missing build dependency on gtk-doc which was revealed in the process of attempting to install in a fresh install of MacPorts.

Attachments

patch-glib2-Portfile.diff (1.0 KB) - added by devans@… 4 years ago.
Patch for Portfile

Change History

Changed 4 years ago by devans@…

Patch for Portfile

comment:1 follow-up: ↓ 2 Changed 4 years ago by ryandesign@…

  • Status changed from new to assigned

Thanks, I'll update to 2.18.4 at the same time that I fix the 64-bit build issues.

Regarding gtk-doc: Are you talking about this issue?

comment:2 in reply to: ↑ 1 Changed 4 years ago by devans@…

Regarding gtk-doc: Are you talking about this issue?

I don't think so. I installed a fresh system with no ports installed at all and attempted an install of port gimp. When it got around to glib2, glib2 build failed trying to build documentation (the default) because no gtk-doc was installed as a dependency. Manually installing gtk-doc (and its dependencies) fixed the problem. I assumed that it had just been a long time since anyone did a fresh install from scratch that this had gone unnoticed.

comment:3 Changed 4 years ago by ryandesign@…

gtk-doc is supposed to be optional. In what way did it fail without gtk-doc installed?

comment:4 Changed 4 years ago by blb@…

For the gtk-doc issue, if it's gtkdoc-rebase, see also #17258 and #17275.

comment:5 follow-up: ↓ 6 Changed 4 years ago by devans@…

OK, I took a second look and it does seem to be the problem you reported. Guess it's time to go to bed. Sorry.

At any rate, it needs to be fixed. Something similar to the two that blb mentions perhaps. I see that upstream has made a change in gtk-doc to address the issue but I don't see how that helps if gtk-doc is not installed.

As a separate topic you might want to add a variant to enable gtk-doc in case someone wants it.

comment:6 in reply to: ↑ 5 ; follow-up: ↓ 7 Changed 4 years ago by ryandesign@…

Replying to devans@…:

As a separate topic you might want to add a variant to enable gtk-doc in case someone wants it.

Why would someone want it? I don't know what it is.

comment:7 in reply to: ↑ 6 Changed 4 years ago by devans@…

Replying to ryandesign@…:

Why would someone want it? I don't know what it is.

It's the tool used by GTK+ and GNOME projects to automatically generate API documentation in HTML format from comments in the C code. See http://www.gtk.org/gtk-doc/

Its more of a maintainer function (to rebuild the HTML docs when the API changes) but it is available as a configure option.

Just updated the projects homepage and description text in r45530.

comment:8 Changed 4 years ago by devans@…

After sleeping on this, I guess I agree that most MacPorts users would not find a gtk-doc variant useful so feel free to disregard my previous request for same.

comment:9 follow-up: ↓ 10 Changed 4 years ago by ryandesign@…

See #18575 for one issue I'm having updating glib2 to 2.18.4.

comment:10 in reply to: ↑ 9 Changed 4 years ago by ryandesign@…

Replying to ryandesign@…:

See #18575 for one issue I'm having updating glib2 to 2.18.4.

Hm, nevermind that, the issue is already present with 2.18.3.

comment:11 Changed 4 years ago by devans@…

  • Summary changed from glib2: update to 2.18.4 to glib2: update to 2.20.0

Updating summary (and request) now that Glib 2.20.0 and GTK+ 2.16.0 have been released.

Glib 2.20.0 Release Announcement
GTK+ 2.16.0 Release Announcement

comment:12 Changed 4 years ago by mcalhoun@…

  • Cc mcalhoun@… added

Cc Me!

comment:13 Changed 4 years ago by mcalhoun@…

  • Status changed from assigned to closed
  • Resolution set to fixed

Fixed in r49132 (maintainer timeout).

comment:14 Changed 4 years ago by jmr@…

  • Type changed from enhancement to update

comment:15 Changed 4 years ago by anonymous

  • Milestone Port Updates deleted

Milestone Port Updates deleted

Note: See TracTickets for help on using tickets.