From 1dc7ce451d7bd67238b8b02f2db820989cfa6b5a Mon Sep 17 00:00:00 2001 From: Rafael dos Santos Silva Date: Thu, 12 Jan 2023 23:35:56 -0300 Subject: [PATCH] Add explicit SVG delete to ImageMagick --- image/base/install-imagemagick | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/image/base/install-imagemagick b/image/base/install-imagemagick index 15c6e59..bebf027 100755 --- a/image/base/install-imagemagick +++ b/image/base/install-imagemagick @@ -2,8 +2,8 @@ set -e # version check: https://github.com/ImageMagick/ImageMagick/releases -IMAGE_MAGICK_VERSION="7.1.0-55" -IMAGE_MAGICK_HASH="77e1535448d6c7f951a8c9d10804246b76044b879adf5bf1f12c836ed9d4b5ec" +IMAGE_MAGICK_VERSION="7.1.0-57" +IMAGE_MAGICK_HASH="e0157354e0282d34968af6686830216b48d175b65720cd9650b4fae5af2f6251" # We use debian, but GitHub CI is stuck on Ubuntu Bionic, so this must be compatible with both LIBJPEGTURBO=$(cat /etc/issue | grep -qi Debian && echo 'libjpeg62-turbo libjpeg62-turbo-dev' || echo 'libjpeg-turbo8 libjpeg-turbo8-dev') @@ -19,7 +19,7 @@ apt -y -q remove imagemagick apt -y -q install git make gcc pkg-config autoconf curl g++ yasm cmake \ libde265-0 libde265-dev ${LIBJPEGTURBO} x265 libx265-dev libtool \ libpng16-16 libpng-dev ${LIBJPEGTURBO} ${LIBWEBP} libwebp-dev libgomp1 \ - libwebpmux3 libwebpdemux2 ghostscript libxml2-dev libxml2-utils \ + libwebpmux3 libwebpdemux2 ghostscript libxml2-dev libxml2-utils librsvg2-dev \ libltdl7-dev libbz2-dev gsfonts libtiff-dev libfreetype6-dev libjpeg-dev # Use backports instead of compiling it @@ -55,6 +55,7 @@ PKG_CONF_LIBDIR=$PREFIX/lib LDFLAGS=-L$PREFIX/lib CFLAGS=-I$PREFIX/include ./con --with-png \ --with-tiff \ --with-heic \ + --with-rsvg \ --with-webp make all && make install -- 2.25.1