summaryrefslogtreecommitdiffstats
path: root/graphics/potrace
diff options
context:
space:
mode:
author Kyle Guinn <elyk03@gmail.com>2017-08-08 23:17:08 -0500
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2017-08-12 06:58:54 +0700
commit3e9cdb1770988d684aa65e8a7ecc1090c317f288 (patch)
tree34334f440ca735a6ae1c08aa1703685fda5c141e /graphics/potrace
parent920ab518254caf7afacd1673c9b6e1d833cada91 (diff)
downloadslackbuilds-3e9cdb1770988d684aa65e8a7ecc1090c317f288.tar.gz
slackbuilds-3e9cdb1770988d684aa65e8a7ecc1090c317f288.tar.xz
graphics/potrace: Updated for version 1.15.
Signed-off-by: Kyle Guinn <elyk03@gmail.com>
Diffstat (limited to 'graphics/potrace')
-rw-r--r--graphics/potrace/README15
-rw-r--r--graphics/potrace/potrace.SlackBuild8
-rw-r--r--graphics/potrace/potrace.info6
3 files changed, 14 insertions, 15 deletions
diff --git a/graphics/potrace/README b/graphics/potrace/README
index 6abad90620..43fdf649d0 100644
--- a/graphics/potrace/README
+++ b/graphics/potrace/README
@@ -1,14 +1,13 @@
Potrace is a tool for tracing a bitmap, which means, transforming a bitmap
into a smooth, scalable image. The input is a bitmap (PBM, PGM, PPM, or BMP
-format), and the default output is an encapsulated PostScript file (EPS). A
-typical use is to create EPS files from scanned data, such as company or
-university logos, handwritten notes, etc. The resulting image is not "jaggy"
-like a bitmap, but smooth. It can then be rendered at any resolution.
+format), and the output is one of several vector file formats. A typical use
+is to create SVG or PDF files from scanned data, such as company or university
+logos, handwritten notes, etc. The resulting image is not "jaggy" like a
+bitmap, but smooth. It can then be rendered at any resolution.
-Potrace can currently produce the following output formats: EPS, PostScript,
-PDF, SVG (scalable vector graphics), DXF, GeoJSON, PGM (for easy antialiasing
-of pixel-based images), Gimppath, and XFig. Additional backends might be
-added in the future.
+Potrace can currently produce the following output formats: SVG, PDF, EPS,
+PostScript, DXF, GeoJSON, PGM (for easy antialiasing of pixel-based images),
+Gimppath, and XFig. Additional backends might be added in the future.
Mkbitmap is a program distributed with Potrace which can be used to pre-
process the input for better tracing behavior on greyscale and color images.
diff --git a/graphics/potrace/potrace.SlackBuild b/graphics/potrace/potrace.SlackBuild
index 788471e9cf..d4aadb4bb3 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.14}
+VERSION=${VERSION:-1.15}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -37,7 +37,7 @@ fi
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
+PKG=$TMP/package-$PRGNAM-$VERSION
OUTPUT=${OUTPUT:-/tmp}
DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README"
@@ -79,14 +79,14 @@ chmod -R u+w,go-w,a+rX-st .
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
- --infodir=/usr/info \
--mandir=/usr/man \
+ --infodir=/usr/info \
--docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux \
--disable-dependency-tracking \
--enable-shared \
--disable-static \
--with-libpotrace \
+ --build=$ARCH-slackware-linux \
CFLAGS="$SLKCFLAGS" \
make
diff --git a/graphics/potrace/potrace.info b/graphics/potrace/potrace.info
index 69fafce112..594c2c01e6 100644
--- a/graphics/potrace/potrace.info
+++ b/graphics/potrace/potrace.info
@@ -1,8 +1,8 @@
PRGNAM="potrace"
-VERSION="1.14"
+VERSION="1.15"
HOMEPAGE="http://potrace.sourceforge.net/"
-DOWNLOAD="http://potrace.sourceforge.net/download/1.14/potrace-1.14.tar.gz"
-MD5SUM="cd8086c8afa700ad912fd98562299360"
+DOWNLOAD="http://potrace.sourceforge.net/download/1.15/potrace-1.15.tar.gz"
+MD5SUM="60cecdaa9d14e0008f96b68dce77d246"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""