Skip to content

Commit

Permalink
Let's try building libraw ourselves
Browse files Browse the repository at this point in the history
  • Loading branch information
Webreaper committed Mar 15, 2024
1 parent 0d18582 commit 960e9e5
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.9.3
1.9.4
12 changes: 11 additions & 1 deletion make_imagemagick.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion validate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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."

0 comments on commit 960e9e5

Please sign in to comment.