#38134: ImageMagick: update to latest version --------------------------+-------------------------- Reporter: david@… | Owner: ryandesign@… Type: update | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: haspatch Port: ImageMagick | --------------------------+-------------------------- Comment (by ryandesign@…): I'm [http://www.imagemagick.org/discourse-server/viewtopic.php?f=2&t=22932 asking the ImageMagick developers] for guidance about how we should be packaging this. Replying to [comment:5 ryandesign@…]:
I see it's not only the quantum depths that are now in the library name. It's also the HDRI option: http://www.imagemagick.org/discourse- server/viewtopic.php?f=2&t=22477 . That's not going to work either; we're going to have to remove the hdri variant and decide to either have it always on (probably) or always off. This now makes me unsure about all the other variants and I'll have to test them all and figure out how many more we'll have to remove.
Looking in configure.ac in the source, I can now confirm that only the pixel quantum and the HDRI option affect the library name. Replying to [comment:7 ryandesign@…]:
php-imagick doesn't build against 6.8.3-6 either. Seems that ImageMagick changed where the headers are located, so projects like php-imagick that hardcode where they look for the ImageMagick header fail: http://studio.imagemagick.org/discourse-server/viewtopic.php?f=3&t=22887
I was able to patch php-imagick to fix this.
The fix is to ask ImageMagick where the headers are. But 6.8.3-6 has a bug where if you ask it where the headers are, it tells you the wrong answer: http://www.imagemagick.org/discourse- server/viewtopic.php?f=4&t=22858
This was fixed in 6.8.3-7. -- Ticket URL: <https://trac.macports.org/ticket/38134#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X