From 960e9e59bef1195a0c8823aff87b9fd1932c2fd5 Mon Sep 17 00:00:00 2001 From: Mark Otway Date: Fri, 15 Mar 2024 08:29:01 +0000 Subject: [PATCH] Let's try building libraw ourselves --- VERSION | 2 +- make_imagemagick.sh | 12 +++++++++++- validate.sh | 2 +- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/VERSION b/VERSION index 77fee73..d615fd0 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.9.3 +1.9.4 diff --git a/make_imagemagick.sh b/make_imagemagick.sh index 3f4709e..6261a3a 100644 --- a/make_imagemagick.sh +++ b/make_imagemagick.sh @@ -18,6 +18,16 @@ cd build cmake --preset=release .. make install +echo "=== Building libraw..." +cd /home +mkdir libraw +curl https://www.libraw.org/data/LibRaw-0.21.2.tar.gz | tar zx -C libraw --strip-components 1 +cd /home/libraw +./configure +make -j 4 +make install +cd .. + cd /home echo "=== Building ImageMagick..." mkdir ImageMagick @@ -30,7 +40,7 @@ make install cd .. ldconfig -rm -rf libheif ImageMagick +rm -rf libheif ImageMagick libraw rm -rf /var/lib/apt/lists/* convert -version | tee imagemagick_version.txt diff --git a/validate.sh b/validate.sh index d1a3417..d288696 100644 --- a/validate.sh +++ b/validate.sh @@ -8,7 +8,7 @@ exiftool -ver echo "=== Validating ImageMagick" which convert -convert -list configure +magick -list format convert -version | tee imagemagick_version.txt echo "=== Completed Build."