Opened 13 years ago

Closed 12 years ago

#28385 closed update (fixed)

libpng: update to 1.5.x

Reported by: rmstonecipher@… Owned by: rmstonecipher@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc: ryandesign (Ryan Carsten Schmidt), waqar@…, neverpanic (Clemens Lang)
Port: libpng

Description (last modified by rmstonecipher@…)

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 (2)

libpng15_revbump_ports (2.9 KB) - added by rmstonecipher@… 13 years ago.
libpng15.diff (1001 bytes) - added by neverpanic (Clemens Lang) 12 years ago.
Ptach against the Portfile to update libpng to 1.15.11

Download all attachments as: .zip

Change History (19)

Changed 13 years ago by rmstonecipher@…

Attachment: libpng15_revbump_ports added

comment:1 Changed 13 years ago by jmroot (Joshua Root)

Cc: ryandesign@… waqar@… added

comment:2 in reply to:  description Changed 13 years ago by su-v

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

comment:3 Changed 13 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 13 years ago by matt.cottrell@…

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

comment:5 Changed 13 years ago by rmstonecipher@…

Description: modified (diff)

comment:6 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

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 Changed 13 years ago by jmroot (Joshua Root)

In the meantime, 1.4.7 is out.

comment:8 in reply to:  7 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to jmr@…:

In the meantime, 1.4.7 is out.

Thanks. r78163

comment:9 Changed 13 years ago by nerdling (Jeremy Lavergne)

Summary: graphics/libpng upgrade version to 1.5.1graphics/libpng upgrade version to 1.5.5
Version: 1.9.2

libpng is up to 1.5.5 now.

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

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

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

Summary: graphics/libpng upgrade version to 1.5.5libpng: 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 12 years ago by neverpanic (Clemens Lang)

Any progress on this?

Changed 12 years ago by neverpanic (Clemens Lang)

Attachment: libpng15.diff added

Ptach against the Portfile to update libpng to 1.15.11

comment:13 Changed 12 years ago by neverpanic (Clemens Lang)

Cc: cal@… added
Keywords: haspatch 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 12 years 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 12 years ago by neverpanic (Clemens Lang)

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 12 years ago by ryandesign (Ryan Carsten Schmidt)

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 12 years ago by rmstonecipher@…

Resolution: fixed
Status: newclosed

r97300 brought libpng up to version 1.5.12.

Note: See TracTickets for help on using tickets.