New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #28385 (closed update: fixed)

Opened 2 years ago

Last modified 9 months ago

libpng: update to 1.5.x

Reported by: rmstonecipher@… Owned by: rmstonecipher@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc: ryandesign@…, waqar@…, cal@…
Port: libpng

Description (last modified by rmstonecipher@…) (diff)

libpng 1.5.1 has been released.
Attached is a list of other ports which currently link against libpng14.dylib and will need their revisions incremented to link against libpng15.dylib.
If other ports not in the list fit this description, please list them in this ticket.
Because libpng 1.5 is very different from libpng 1.4 and 1.2, it will be necessary to test ports against libpng 1.5 rather than just incrementing revisions and assuming they will work.
Once we are sure most ports work with libpng 1.5 I will commit the update to libpng as well as revision bumps to all ports in the attached list and any others listed in replies to this ticket.
For now, let's set a target date of 1 year from the release of libpng 1.5.1: 2012-02-03

Cheers,
Ryan Stonecipher

Attachments

libpng15_revbump_ports (2.9 KB) - added by rmstonecipher@… 2 years ago.
libpng15.diff (1001 bytes) - added by cal@… 11 months ago.
Ptach against the Portfile to update libpng to 1.15.11

Change History

Changed 2 years ago by rmstonecipher@…

comment:1 Changed 2 years ago by jmr@…

  • Cc ryandesign@…, waqar@… added

comment:2 in reply to: ↑ description Changed 2 years ago by suv-sf@…

MyPaint - still hasn't been revbumped since the upgrade to libpng 1.4.5 - see earlier comment

comment:3 follow-up: ↓ 4 Changed 2 years ago by l2g@…

Port exact-image was just added 3 days ago.

$ port deps exact-image
Full Name: exact-image @0.8.4_0
Library Dependencies: antigraingeometry, libpng, jasper, expat, lcms

comment:4 in reply to: ↑ 3 Changed 2 years ago by matt.cottrell@…

You can add the arb port to the list of those now using libpng14.dylib.

comment:5 Changed 2 years ago by rmstonecipher@…

  • Description modified (diff)

comment:6 Changed 2 years ago by ryandesign@…

I don't think we need to list in this ticket any new ports that declare dependencies on libpng; those can be found easily enough with grep. exact-image already declares it, and arb should have, and does, as of r75955. If you find a port not in the list above that uses libpng without declaring a dependency on it, instead of adding a note here to that effect, why not add the libpng dependency to the port? Then there will never again be the possibility of it being left out for future updates.

comment:7 follow-up: ↓ 8 Changed 2 years ago by jmr@…

In the meantime, 1.4.7 is out.

comment:8 in reply to: ↑ 7 Changed 2 years ago by ryandesign@…

Replying to jmr@…:

In the meantime, 1.4.7 is out.

Thanks. r78163

comment:9 Changed 20 months ago by snc@…

  • Version 1.9.2 deleted
  • Summary changed from graphics/libpng upgrade version to 1.5.1 to graphics/libpng upgrade version to 1.5.5

libpng is up to 1.5.5 now.

comment:10 Changed 17 months ago by ryandesign@…

Duplicate #32564 points out that the libpng in /usr/X11 on Lion is 1.5.4.

comment:11 Changed 15 months ago by ryandesign@…

  • Summary changed from graphics/libpng upgrade version to 1.5.5 to libpng: update to 1.5.x

It has now been over a year since the release of libpng 1.5.x so maybe it's time to do this. The current version is 1.5.9.

comment:12 Changed 11 months ago by cal@…

Any progress on this?

Changed 11 months ago by cal@…

Ptach against the Portfile to update libpng to 1.15.11

comment:13 Changed 11 months ago by cal@…

  • Keywords haspatch added
  • Cc cal@… added

I've updated my libpng to 1.15.11 with the attached patch. The following ports (I had installed) were rebuilt by rev-upgrade and failed against the newer libpng:

Most "big" and important ports (e.g., qt4-mac, gtk2) rebuilt just fine against the newer libpng.

comment:14 Changed 9 months ago by rmstonecipher@…

With the addition of rev-upgrade in release 2.1.0, is it still necessary to increase the revision of dependent ports?

comment:15 Changed 9 months ago by cal@…

Yes, it is. MPAB (and thus the buildbots) have no implementation of rev-upgrade, so the revbump is still needed to get the buildbots to rebuild the broken packages.

comment:16 Changed 9 months ago by ryandesign@…

Right. Without that, users might download a binary, only to have rev-upgrade find out that it's broken because it links with the wrong library version, and then have to rebuild it on the user's system anyway. rev-upgrade is there to help us figure out which ports need a revision increase, not to eliminate that need.

Also, users could turn rev-upgrade off. I certainly do; even the small amount of time it takes on my current Mac adds up, given how much I use MacPorts on an average day.

comment:17 Changed 9 months ago by rmstonecipher@…

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

r97300 brought libpng up to version 1.5.12.

Note: See TracTickets for help on using tickets.