source: gs2-extensions/imagemagick/trunk/src/packages/CASCADE-MAKE/TIFF.sh@ 32909

Last change on this file since 32909 was 32909, checked in by ak19, 3 years ago

Rebuilding linux imagemagick tarball after testing GS3 binary on Ubuntu 18.04 showed that its imagemagick installation was broken because identify linked to a png library on the system, which then needed a different version of libz as it found the one included incompatible and nothing compatible on the syste. And so the identify command in the bundled imagemagick failed. During the course of producing a new ImageMagick tarball, I went through the checks in the README written since the El Capitan tarball was created which required the binary ImageMagicks that we bundle to support GIF, JPEG, PNG and TIFF. However the old and locally rebuilt ImageMagick tarball didn't have TIFF support. In order to get TIFF support in the Linux ImageMagick tarball (which we didn't have before), needed to switch to a newer ImageMagick version at least. However, I first tried switching to a newer tiff library and left that in as the date for the newer ImageMagick match better with the date for the newer tiff. Upgrading Tiff from 3.9.4 to versions 3.9.7 and 4.0.7 made no difference. Neither did 4.0.10, until Imagemagick got upgraded alongside to 6.9.10-33. Then ImageMagick finally had tiff support and so listed tiff among its delegates. The older ImageMagick 6.9.5.4 worked with tiff-3.9.4 on El Capitan to produce Imagemagick binaries with tiff support. In case El Capitan breaks with the update, we can switch back to those versions for El Capitan.

  • Property svn:executable set to *
File size: 893 bytes
Line 
1#!/bin/bash
2
3package=tiff
4#version=-3.9.4
5version=-4.0.10
6
7progname=$0
8
9source ../cascade-make/lib/cascade-lib.bash GEXTIMAGEMAGICK ../.. $*
10
11prefix=$GEXTIMAGEMAGICK_INSTALLED
12
13# Need to configure with jpeg-8 library and include directories,
14# else configure of tiff will look for libjpeg.so.62 and end up compiling against that
15# http://www.imagemagick.org/discourse-server/viewtopic.php?f=2&t=18566
16opt_run_untar $force_untar $auto_untar $package $version
17opt_run_configure $force_config $auto_config $package $version $prefix --with-jpeg-lib-dir=$GEXTIMAGEMAGICK_INSTALLED/lib --with-jpeg-include-dir=$GEXTIMAGEMAGICK_INSTALLED/include --disable-shared
18
19opt_run_make $compile $package $version
20opt_run_make $install $package $version "install"
21opt_run_make $clean $package $version "clean"
22opt_run_make $distclean $package $version "distclean"
23
24opt_run_tarclean $tarclean $package $version
Note: See TracBrowser for help on using the repository browser.