graphics/GraphicsMagick: Updated for version 1.3.45.

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2024-09-08 03:10:42 -04:00 committed by Willy Sudiarto Raharjo
parent 02e04f3360
commit 5a51c392cf
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 23 additions and 14 deletions

View file

@ -8,6 +8,7 @@
# MIA. Original version had no license; I'm licensing the update under the
# terms of the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
# 20240908 bkw: update for v1.3.45.
# 20240822 bkw: update for v1.3.44.
# 20231108 bkw: update for v1.3.42.
# 20230710 bkw: update for v1.3.40.
@ -49,7 +50,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=GraphicsMagick
VERSION=${VERSION:-1.3.44}
VERSION=${VERSION:-1.3.45}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -87,6 +88,7 @@ fi
set -e
DELAY="${DELAY:-5}"
OLDVER="$(pkg-config --silence-errors --modversion $PRGNAM || true)"
if [ "$OLDVER" != "" ]; then
cat <<EOF 1>&2
@ -94,13 +96,18 @@ if [ "$OLDVER" != "" ]; then
*
* $PRGNAM is already installed (version $OLDVER).
*
* If the build fails, 'removepkg $PRGNAM' and try again.
* Press Ctrl-C to abort now, or wait $DELAY seconds for the build to start.
* If it fails, run:
*
* # removepkg $PRGNAM
*
* ...and try again.
*
* Don't say I didn't warn you.
*
************************************************************************
EOF
sleep 3
sleep $DELAY
fi
@ -111,8 +118,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
# libfpx isn't autodetected, so let's help it a bit:
if [ -e /usr/include/fpxlib.h ]; then
@ -248,9 +255,10 @@ find $PKG -name perllocal.pod \
-o -name "*.bs" | \
xargs rm -rf || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a ChangeLog *.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKGDOC
cp -a ChangeLog *.txt $PKGDOC
cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
mkdir -p $PKG/install
sed \

View file

@ -1,8 +1,8 @@
PRGNAM="GraphicsMagick"
VERSION="1.3.44"
HOMEPAGE="http://www.graphicsmagick.org/"
DOWNLOAD="https://downloads.sourceforge.net/project/graphicsmagick/graphicsmagick/1.3.44/GraphicsMagick-1.3.44.tar.xz"
MD5SUM="fee1b4d292eaf69db861936c70650ebb"
VERSION="1.3.45"
HOMEPAGE="https://graphicsmagick.sourceforge.io/index.html"
DOWNLOAD="https://downloads.sourceforge.net/project/graphicsmagick/graphicsmagick/1.3.45/GraphicsMagick-1.3.45.tar.xz"
MD5SUM="5eb76e9af7b887a8828fce11aa1e2f1c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""

View file

@ -8,8 +8,9 @@ JPEG-2000, PNG, PDF, PNM, and TIFF.
If you have an older version of GraphicsMagick installed, it's a good
idea to 'removepkg GraphicsMagick' before building the new version. If
you don't do this, the build might work anyway... Upgrading from 1.3.29
to 1.3.30 has been tested and seems to work, but I make no guarantees.
you don't do this, the build might work anyway... Upgrading from
1.3.29 to 1.3.30 and 1.3.44 to 1.3.45 has been tested and seems to
work, but I make no guarantees.
This build includes PerlMagick (the Perl language bindings for
GraphicsMagick) and TclMagick (Tcl bindings). If you really need to,