graphics/potrace: Updated for version 1.15.

Signed-off-by: Kyle Guinn <elyk03@gmail.com>
This commit is contained in:
Kyle Guinn 2017-08-08 23:17:08 -05:00 committed by Willy Sudiarto Raharjo
parent 920ab51825
commit 3e9cdb1770
3 changed files with 14 additions and 15 deletions

View file

@ -1,14 +1,13 @@
Potrace is a tool for tracing a bitmap, which means, transforming a bitmap 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 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 format), and the output is one of several vector file formats. A typical use
typical use is to create EPS files from scanned data, such as company or is to create SVG or PDF files from scanned data, such as company or university
university logos, handwritten notes, etc. The resulting image is not "jaggy" logos, handwritten notes, etc. The resulting image is not "jaggy" like a
like a bitmap, but smooth. It can then be rendered at any resolution. bitmap, but smooth. It can then be rendered at any resolution.
Potrace can currently produce the following output formats: EPS, PostScript, Potrace can currently produce the following output formats: SVG, PDF, EPS,
PDF, SVG (scalable vector graphics), DXF, GeoJSON, PGM (for easy antialiasing PostScript, DXF, GeoJSON, PGM (for easy antialiasing of pixel-based images),
of pixel-based images), Gimppath, and XFig. Additional backends might be Gimppath, and XFig. Additional backends might be added in the future.
added in the future.
Mkbitmap is a program distributed with Potrace which can be used to pre- 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. process the input for better tracing behavior on greyscale and color images.

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=potrace PRGNAM=potrace
VERSION=${VERSION:-1.14} VERSION=${VERSION:-1.15}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -37,7 +37,7 @@ fi
CWD=$(pwd) CWD=$(pwd)
TMP=${TMP:-/tmp/SBo} TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM-$VERSION
OUTPUT=${OUTPUT:-/tmp} OUTPUT=${OUTPUT:-/tmp}
DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README" DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README"
@ -79,14 +79,14 @@ chmod -R u+w,go-w,a+rX-st .
--libdir=/usr/lib${LIBDIRSUFFIX} \ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \ --sysconfdir=/etc \
--localstatedir=/var \ --localstatedir=/var \
--infodir=/usr/info \
--mandir=/usr/man \ --mandir=/usr/man \
--infodir=/usr/info \
--docdir=/usr/doc/$PRGNAM-$VERSION \ --docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux \
--disable-dependency-tracking \ --disable-dependency-tracking \
--enable-shared \ --enable-shared \
--disable-static \ --disable-static \
--with-libpotrace \ --with-libpotrace \
--build=$ARCH-slackware-linux \
CFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \
make make

View file

@ -1,8 +1,8 @@
PRGNAM="potrace" PRGNAM="potrace"
VERSION="1.14" VERSION="1.15"
HOMEPAGE="http://potrace.sourceforge.net/" HOMEPAGE="http://potrace.sourceforge.net/"
DOWNLOAD="http://potrace.sourceforge.net/download/1.14/potrace-1.14.tar.gz" DOWNLOAD="http://potrace.sourceforge.net/download/1.15/potrace-1.15.tar.gz"
MD5SUM="cd8086c8afa700ad912fd98562299360" MD5SUM="60cecdaa9d14e0008f96b68dce77d246"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="" REQUIRES=""