summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorKyle Guinn <elyk03@gmail.com>2019-09-26 21:20:49 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-09-28 17:40:04 +0700
commit90476a0916a88953b00e1030acdcb1eee30cce54 (patch)
tree211b2957b91e1a122684399a89c556f77d407d6a /graphics
parent79c8dbedec7b742237eccc7f5b4098d74f03db52 (diff)
downloadslackbuilds-90476a0916a88953b00e1030acdcb1eee30cce54.tar.gz
graphics/potrace: Updated for version 1.16.
Signed-off-by: Kyle Guinn <elyk03@gmail.com>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/potrace/patches/make-check-tolerance.diff34
-rw-r--r--graphics/potrace/potrace.SlackBuild7
-rw-r--r--graphics/potrace/potrace.info6
3 files changed, 4 insertions, 43 deletions
diff --git a/graphics/potrace/patches/make-check-tolerance.diff b/graphics/potrace/patches/make-check-tolerance.diff
deleted file mode 100644
index 54dff3781a..0000000000
--- a/graphics/potrace/patches/make-check-tolerance.diff
+++ /dev/null
@@ -1,34 +0,0 @@
-diff --git a/check/pdf-check.sh b/check/pdf-check.sh
---- a/check/pdf-check.sh
-+++ b/check/pdf-check.sh
-@@ -72,11 +72,11 @@
- echo "GS does not understand PDF; skipping this test" >& 2
- exit 77
- fi
--actiondiff "$TMP2" "$REFDATA" 1000
-+actiondiff "$TMP2" "$REFDATA" 1200
-
- action $POTRACE -r50 -p -L 0 -B 0 --opaque -b pdf -o "$TMP1" "$DATA"
- action "$GS" -q -dNOPAUSE -sDEVICE=pbmraw -g460x394 -r100x100 -sOutputFile="$TMP2" -- "$TMP1"
--actiondiff "$TMP2" "$REFDATA" 1200
-+actiondiff "$TMP2" "$REFDATA" 1600
-
- action $POTRACE -r50 -p -L 0 -B 0 -A 160 -b pdf -o "$TMP1" "$DATA"
- action "$GS" -q -dNOPAUSE -sDEVICE=pbmraw -g568x528 -r100x100 -sOutputFile="$TMP2" -- "$TMP1"
-diff --git a/check/postscript-check.sh b/check/postscript-check.sh
---- a/check/postscript-check.sh
-+++ b/check/postscript-check.sh
-@@ -70,11 +70,11 @@
- echo "Something is wrong with $GS; skipping this test" >& 2
- exit 77
- fi
--actiondiff "$TMP2" "$REFDATA" 1000
-+actiondiff "$TMP2" "$REFDATA" 1200
-
- action $POTRACE -r50 -p -L 0 -B 0 --opaque -o "$TMP1" "$DATA"
- action "$GS" -q -dNOPAUSE -sDEVICE=pbmraw -g460x394 -r100x100 -sOutputFile="$TMP2" -- "$TMP1"
--actiondiff "$TMP2" "$REFDATA" 1200
-+actiondiff "$TMP2" "$REFDATA" 1600
-
- action $POTRACE -r50 -p -L 0 -B 0 -A 160 -o "$TMP1" "$DATA"
- action "$GS" -q -dNOPAUSE -sDEVICE=pbmraw -g568x528 -r100x100 -sOutputFile="$TMP2" -- "$TMP1"
diff --git a/graphics/potrace/potrace.SlackBuild b/graphics/potrace/potrace.SlackBuild
index 20dc9cd6a3..e98cf3a4fc 100644
--- a/graphics/potrace/potrace.SlackBuild
+++ b/graphics/potrace/potrace.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=potrace
-VERSION=${VERSION:-1.15}
+VERSION=${VERSION:-1.16}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -70,11 +70,6 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go-w,a+rX-st .
-# https://sourceforge.net/p/potrace/discussion/300717/thread/80794047/
-# plus another tolerance change. If you still have problems with the
-# `make check` line below, feel free to comment it out.
-patch -p1 < $CWD/patches/make-check-tolerance.diff
-
# For metric units and papersizes, use the following flags to configure:
# --enable-metric Use metric units (centimeters) as default
# --enable-a4 Use A4 as the default papersize
diff --git a/graphics/potrace/potrace.info b/graphics/potrace/potrace.info
index 594c2c01e6..c21077bb26 100644
--- a/graphics/potrace/potrace.info
+++ b/graphics/potrace/potrace.info
@@ -1,8 +1,8 @@
PRGNAM="potrace"
-VERSION="1.15"
+VERSION="1.16"
HOMEPAGE="http://potrace.sourceforge.net/"
-DOWNLOAD="http://potrace.sourceforge.net/download/1.15/potrace-1.15.tar.gz"
-MD5SUM="60cecdaa9d14e0008f96b68dce77d246"
+DOWNLOAD="http://potrace.sourceforge.net/download/1.16/potrace-1.16.tar.gz"
+MD5SUM="5f0bd87ddd9a620b0c4e65652ef93d69"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""