From 659ebafc0171a08dfbacee5b6b8c8acf3091e207 Mon Sep 17 00:00:00 2001 From: Benjamin Trigona-Harany Date: Wed, 11 Oct 2017 10:41:28 -0700 Subject: graphics/exact-image: Updated for version 1.0.1. Signed-off-by: Benjamin Trigona-Harany --- graphics/exact-image/exact-image.SlackBuild | 30 ++++++++++++++++++++++------- graphics/exact-image/exact-image.info | 6 +++--- graphics/exact-image/raw.patch | 11 ----------- 3 files changed, 26 insertions(+), 21 deletions(-) delete mode 100644 graphics/exact-image/raw.patch (limited to 'graphics/exact-image') diff --git a/graphics/exact-image/exact-image.SlackBuild b/graphics/exact-image/exact-image.SlackBuild index 062349e00f9a5..60c49df0615d7 100644 --- a/graphics/exact-image/exact-image.SlackBuild +++ b/graphics/exact-image/exact-image.SlackBuild @@ -1,10 +1,30 @@ #!/bin/sh + # Slackware build script for exact-image -# Written by Benjamin Trigona-Harany + +# Copyright 2010 Benjamin Trigona-Harany +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# 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. PRGNAM=exact-image -VERSION=${VERSION:-0.9.2} -BUILD=${BUILD:-3} +VERSION=${VERSION:-1.0.1} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -53,11 +73,7 @@ find -L . \ eval $(perl -V:vendorlib) sed "s,@vendorlib@,$vendorlib,g" $CWD/fixup-perl_paths.diff | patch -p1 --verbose -# Fix for swig-3.0.7 -sed -i -e '/^# manually/d' api/api-swig.hh - patch -p1 < $CWD/c98.patch -patch -p1 < $CWD/raw.patch ./configure \ --bindir=/usr/bin \ diff --git a/graphics/exact-image/exact-image.info b/graphics/exact-image/exact-image.info index 0992dfa62a524..900204e63ecb4 100644 --- a/graphics/exact-image/exact-image.info +++ b/graphics/exact-image/exact-image.info @@ -1,8 +1,8 @@ PRGNAM="exact-image" -VERSION="0.9.2" +VERSION="1.0.1" HOMEPAGE="http://www.exactcode.de/site/open_source/exactimage/" -DOWNLOAD="http://dl.exactcode.de/oss/exact-image/exact-image-0.9.2.tar.bz2" -MD5SUM="bb9c8be82a4b5126be0224529ea7c4c7" +DOWNLOAD="http://dl.exactcode.de/oss/exact-image/exact-image-1.0.1.tar.bz2" +MD5SUM="1f03ef559ca81cf7a1651a72fd9fe98f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="agg" diff --git a/graphics/exact-image/raw.patch b/graphics/exact-image/raw.patch deleted file mode 100644 index 555fef4fc13c9..0000000000000 --- a/graphics/exact-image/raw.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- exact-image-0.9.2/codecs/raw.cc.orig 2017-07-05 09:07:52.988538841 +0700 -+++ exact-image-0.9.2/codecs/raw.cc 2017-07-05 09:08:21.813539168 +0700 -@@ -71,7 +71,7 @@ - if (!image.getRawData()) - return false; - -- return stream->write ((char*)image.getRawData(), image.stride()*image.h) -+ return (bool) stream->write ((char*)image.getRawData(), image.stride()*image.h) - /* == - (size_t) image.stride()*image.h*/; - } -- cgit v1.2.3