#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)
Change History (12)
comment:1 Changed 13 years ago by someuser12
Changed 13 years ago by someuser12
Attachment: | libtiff__tif_config.h.ed.diff added |
---|
Changed 13 years ago by someuser12
Attachment: | libtiff__tiffconf.h.ed.diff added |
---|
comment:3 Changed 13 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.0 → tiff: 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.1 → tiff: 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 12 years ago by jmroot (Joshua Root)
Cc: | jeremyhu@… added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:9 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Looks like we forgot to deal with the OpenGL issues mentioned above. See #43642.
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.