aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2017-10-11 10:41:28 -0700
committerDavid Spencer <idlemoor@slackbuilds.org>2017-10-14 14:48:20 +0100
commit659ebafc0171a08dfbacee5b6b8c8acf3091e207 (patch)
treee2261eec2117650937590f8241dc168e9cf83149 /graphics
parent60e052049b5b23735490fc98b5926e546be6c03e (diff)
graphics/exact-image: Updated for version 1.0.1.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/exact-image/exact-image.SlackBuild30
-rw-r--r--graphics/exact-image/exact-image.info6
-rw-r--r--graphics/exact-image/raw.patch11
3 files changed, 26 insertions, 21 deletions
diff --git a/graphics/exact-image/exact-image.SlackBuild b/graphics/exact-image/exact-image.SlackBuild
index 062349e00f9a..60c49df0615d 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 <slackbuilds@jaxartes.net>
+
+# Copyright 2010 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# 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 0992dfa62a52..900204e63ecb 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 555fef4fc13c..000000000000
--- 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*/;
- }