aboutsummaryrefslogtreecommitdiff
path: root/graphics/vips
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-02-25 16:02:01 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-27 01:09:47 +0700
commit3519901ef6666a797fc1a35e18ffe73eb005de6d (patch)
tree681d3398de36aa964d4df0013c472f16bc6d2eb6 /graphics/vips
parentd9a4048ca6d03a45d0bca9b0356a80b385320cfa (diff)
graphics/vips: Updated for version 8.12.2.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/vips')
-rw-r--r--graphics/vips/README13
-rw-r--r--graphics/vips/vips.SlackBuild50
-rw-r--r--graphics/vips/vips.info8
3 files changed, 33 insertions, 38 deletions
diff --git a/graphics/vips/README b/graphics/vips/README
index cdf96e994615..d29d016e6b8c 100644
--- a/graphics/vips/README
+++ b/graphics/vips/README
@@ -1,6 +1,7 @@
-VIPS is a free image processing system. It includes a range of filters,
-arithmetic operations, colour processing, histograms, and geometric
-transforms. It supports ten pixel formats, from 8-bit unsigned int
-to 128-bit complex. As well as the usual JPEG, TIFF, PNG and WebP images,
-it also supports scientific formats like FITS, OpenEXR, Matlab, Analyze,
-PFM, Radiance, OpenSlide and DICOM (via libMagick).
+VIPS is a free image processing system. It includes a range of
+filters, arithmetic operations, colour processing, histograms,
+and geometric transforms. It supports ten pixel formats, from 8-bit
+unsigned int to 128-bit complex. As well as the usual JPEG, TIFF,
+PNG and WebP images, it also supports scientific formats like FITS,
+OpenEXR, Matlab, Analyze, PFM, Radiance, OpenSlide and DICOM (via
+libMagick).
diff --git a/graphics/vips/vips.SlackBuild b/graphics/vips/vips.SlackBuild
index 4c41517ba7e7..f12db0c048b9 100644
--- a/graphics/vips/vips.SlackBuild
+++ b/graphics/vips/vips.SlackBuild
@@ -22,27 +22,26 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
+
+# 20220222 bkw: Modified by SlackBuilds.org: fix build on 15.0,
+# by upgrading to v8.12.2.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM="vips"
-VERSION=${VERSION:-8.1.1}
+VERSION=${VERSION:-8.12.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -52,8 +51,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -68,45 +67,40 @@ fi
set -e
-rm -rf $TMP/$PRGNAM-$VERSION $PKG
+# 20220225 bkw: upstream changed the project name from vips to libvips.
+SRCNAM=libvips
+
+rm -rf $TMP/$SRCNAM-$VERSION $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $TMP/$PRGNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $TMP/$SRCNAM-$VERSION
chown -R root.root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-sed -i \
- -e "s:PYTHON_EXEC_PREFIX/lib/:PYTHON_EXEC_PREFIX/lib${LIBDIRSUFFIX}/:" \
- configure
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-./configure \
+sh autogen.sh \
--prefix=/usr \
--sysconfdir=/etc \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--localstatedir=/var \
--mandir=/usr/man \
--enable-static=no \
- --build=$ARCH-slackware-linux \
- $gtk_option
+ --build=$ARCH-slackware-linux
make V=1
-make install DESTDIR=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $(find $PKG/usr/man -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
+make install-strip DESTDIR=$PKG
+gzip -9 $PKG/usr/man/man*/*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ChangeLog TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING NEWS THANKS ChangeLog README* $PKG/usr/doc/$PRGNAM-$VERSION
+
+rm -f $PKG/usr/lib*/*.la
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/graphics/vips/vips.info b/graphics/vips/vips.info
index 2536f1730ff1..376e7c375785 100644
--- a/graphics/vips/vips.info
+++ b/graphics/vips/vips.info
@@ -1,8 +1,8 @@
PRGNAM="vips"
-VERSION="8.1.1"
-HOMEPAGE="https://jcupitt.github.io/libvips/"
-DOWNLOAD="https://ftp.fau.de/macports/distfiles/vips/vips-8.1.1.tar.gz"
-MD5SUM="7311df69cf0f3ae0666e0ead15b98cb0"
+VERSION="8.12.2"
+HOMEPAGE="https://github.com/libvips/libvips"
+DOWNLOAD="https://github.com/libvips/libvips/archive/v8.12.2/libvips-8.12.2.tar.gz"
+MD5SUM="db209262e6c62952603b6ed4149c1e98"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""