From fef4d368aad0c5aa8df29f3245d690783d0e430e Mon Sep 17 00:00:00 2001 From: Alessandro Tagliapietra Date: Fri, 3 Oct 2014 10:45:54 +0200 Subject: [PATCH] Added lcms for cedar 14 compatibility --- README.md | 22 +++++++++++++++++++++- bin/compile | 4 ++-- 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f4fe43a..21655aa 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ heroku-buildpack-vips Heroku buildpack with [libvips](https://github.com/jcupitt/libvips) installed. -Current vips version is 7.40.10 with webp 0.4.0, orc 0.4.18, fftw 3.3.4, libgsf 1.14.30 and imagemagick 6.8.9 +Current vips version is 7.40.10 with webp 0.4.0, orc 0.4.18, fftw 3.3.4, libgsf 1.14.30, imagemagick 6.8.9 and lcms 2.6 ## Usage @@ -272,6 +272,26 @@ make install # Build path cd $BUILD_PATH +############### +# LCMS # +############### + +# Download lcms dependency +curl -L http://downloads.sourceforge.net/project/lcms/lcms/2.6/lcms2-2.6.tar.gz -o lcms.tar.gz +# Unzip +tar -xvf lcms.tar.gz +# Get into lcms folder +cd lcms2-2.6 +# Configure build +./configure --prefix $OUT_PATH +# Make lcms +make +# Install lcms +make install + +# Build path +cd $BUILD_PATH + ############### # VIPS # ############### diff --git a/bin/compile b/bin/compile index 466076c..e12b178 100644 --- a/bin/compile +++ b/bin/compile @@ -29,14 +29,14 @@ mkdir -p $output_dir mkdir -p $temp_app_dir echo "Downloading libvips and unpacking" | indent -curl -s https://s3-eu-west-1.amazonaws.com/visup-misc/heroku-buildpack-vips/201410011500.tar.gz | tar xz -C $output_dir +curl -s https://s3-eu-west-1.amazonaws.com/visup-misc/heroku-buildpack-vips/201410031030.tar.gz | tar xz -C $output_dir if [ $? != 0 ]; then echo "Error downloading vips and unpacking to build dir" | indent exit 1 fi -curl -s https://s3-eu-west-1.amazonaws.com/visup-misc/heroku-buildpack-vips/201410011500.tar.gz | tar xz -C $temp_app_dir +curl -s https://s3-eu-west-1.amazonaws.com/visup-misc/heroku-buildpack-vips/201410031030.tar.gz | tar xz -C $temp_app_dir if [ $? != 0 ]; then echo "Error downloading vips and unpacking to app dir" | indent