Opened 12 years ago

Closed 11 years ago

Last modified 10 years ago

#32936 closed update (fixed)

tiff: update to 4.0.2

Reported by: jmroot (Joshua Root) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc: jeremyhu (Jeremy Huddleston Sequoia), someuser12, ryandesign (Ryan Carsten Schmidt)
Port: tiff

Description

Note that this release is not ABI compatible with 3.x, so dependents will need to be rev bumped.

Attachments (3)

libtiff__tif_config.h.ed.diff (335 bytes) - added by someuser12 12 years ago.
libtiff__tiffconf.h.ed.diff (494 bytes) - added by someuser12 12 years ago.
Portfile.diff (1.4 KB) - added by someuser12 12 years ago.

Download all attachments as: .zip

Change History (12)

comment:1 Changed 12 years ago by someuser12

I attach unified diff's between present tiff 3.9.5 and what might be a tiff 4.0.0. I was able to build and run it under Leopard (i386) and Snow Leopard (both x86_64 and universal).

However, there was a recent discussion on libtiff's mailing list about introducing versioned symbols, having Linux distributions in mind. Within a few weeks, there would be a release of tiff 3.9.6 and of tiff 4.0.1, both with versioned symbols. I don't know if versioned symbols exist under Mac OS; if yes, maybe it would be better to skip tiff 4.0.0 and wait for tiff version 4.0.1 before rev bumping the dependents.

Changed 12 years ago by someuser12

Changed 12 years ago by someuser12

Attachment: libtiff__tiffconf.h.ed.diff added

comment:2 Changed 12 years ago by someuser12

Cc: macosx12345@… added

Cc Me!

comment:3 Changed 12 years ago by someuser12

Libtiff version 4.0.1 was released a few days ago. It introduces versioned symbols but they are not enabled by default. I updated my Portfile proposal to version 4.0.1 but I did not enable versioned symbols since it seems useless under Mac OS X (the linker doesn't have this feature). Please correct if anything is wrong.

The portfile (and patches) were tested under Mac OS 10.6 with MacPorts 2.0.3.

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

Keywords: haspatch added
Summary: tiff: update to 4.0.0tiff: update to 4.0.1

Changed 12 years ago by someuser12

Attachment: Portfile.diff added

comment:5 Changed 12 years ago by someuser12

Update proposal to libtiff 4.0.2.

I removed the outdated invocation of --with-apple-opengl-framework (it seems deprecated in the autoconf macros since 2007 and has been removed from the configure script as of tiff 4.0) and replaced it with the opengl variant.

Also, following #34717, I updated the maintainer line.

Portfile and patched were tested under Mac OS 10.6 with MacPorts 2.1.1.

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

Owner: changed from waqar@… to macports-tickets@…

waqar has retired.

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

Cc: ryandesign@… added
Summary: tiff: update to 4.0.1tiff: update to 4.0.2

The opengl variant you've added only adds dependencies; this is not usually sufficient. If the tiff build system automatically enables OpenGL support if mesa and freeglut are installed, then you must add a configure argument or environment variable or similar to the portfile so that OpenGL support is not enabled if the opengl variant is not selected.

It seems that OpenGL support is currently enabled all the time in the tiff 3.9.5 portfile. Why not do this as well with the new tiff 4 portfile?

comment:8 Changed 11 years ago by jmroot (Joshua Root)

Cc: jeremyhu@… added
Resolution: fixed
Status: newclosed

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

Looks like we forgot to deal with the OpenGL issues mentioned above. See #43642.

Note: See TracTickets for help on using tickets.