ports/142765: [NEW PORT] graphics/tumble Converts images to PDFs
Rob Farmer
rfarmer at predatorlabs.net
Wed Jan 13 03:50:01 UTC 2010
>Number: 142765
>Category: ports
>Synopsis: [NEW PORT] graphics/tumble Converts images to PDFs
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Wed Jan 13 03:50:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Rob Farmer
>Release: 9.0-CURRENT
>Organization:
>Environment:
FreeBSD amethyst.predatorlabs.net 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r202069: Mon Jan 11 00:32:29 PST 2010 rfarmer at amethyst.predatorlabs.net:/usr/obj/usr/src/sys/AMETHYST i386
>Description:
Tumble is a utility to construct PDF files from one or more image files. Supported input image file formats are JPEG, and black and white TIFF (single- or multi-page). Black and white images will be encoded in the PDF output using lossless Group 4 fax compression (ITU-T recommendation T.6). This provides a very good compression ratio for text and line art. JPEG images will be preserved with the original coding.
The current version of Tumble will only work on little-endian systems, such as x86, VAX, and Alpha. The byte order dependencies will be fixed in a later release.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# graphics/tumble
# graphics/tumble/Makefile
# graphics/tumble/pkg-descr
# graphics/tumble/distinfo
#
echo c - graphics/tumble
mkdir -p graphics/tumble > /dev/null 2>&1
echo x - graphics/tumble/Makefile
sed 's/^X//' >graphics/tumble/Makefile << '38196b2e8f88c88bb310ae33b6ce92b5'
X# New ports collection makefile for: lcdtest
X# Date created: 12 Jan 2010
X# Whom: Rob Farmer <rfarmer at predatorlabs.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME= tumble
XPORTVERSION= 0.33
XCATEGORIES= graphics print
XMASTER_SITES= http://tumble.brouhaha.com/download/ \
X http://www.predatorlabs.net/dl/
X
XMAINTAINER= rfarmer at predatorlabs.net
XCOMMENT= Creates a PDF file from image files
X
XLIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \
X netpbm.1:${PORTSDIR}/graphics/netpbm
XBUILD_DEPENDS= ${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex
X
XUSE_GMAKE= yes
XUSE_BISON= build
X
XCFLAGS+= -I${LOCALBASE}/include
XLDFLAGS+= -L${LOCALBASE}/lib
X
XONLY_FOR_ARCHS= amd64 arm i386 ia64 pc98
XONLY_FOR_ARCHS_REASON= Only works on little endian systems
X
XPLIST_FILES= bin/tumble
XPORTDOCS= README
X
Xpost-patch:
X ${REINPLACE_CMD} -e 's|-O3|${CFLAGS}|' ${WRKSRC}/Makefile
X ${REINPLACE_CMD} -e 's|LDFLAGS =|LDFLAGS= ${LDFLAGS}|' ${WRKSRC}/Makefile
X ${REINPLACE_CMD} -e 's|-lpbm|-lnetpbm|' ${WRKSRC}/Makefile
X
Xdo-install:
X ${INSTALL_PROGRAM} ${WRKSRC}/tumble ${PREFIX}/bin/
X.if !defined(NOPORTDOCS)
X ${MKDIR} ${DOCSDIR}
X ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
38196b2e8f88c88bb310ae33b6ce92b5
echo x - graphics/tumble/pkg-descr
sed 's/^X//' >graphics/tumble/pkg-descr << '21ff13e2d665b0511d50fcd6741c12dc'
XTumble is a utility to construct PDF files from one or more image
Xfiles. Supported input image file formats are JPEG, and black and
Xwhite TIFF (single- or multi-page). Black and white images will be
Xencoded in the PDF output using lossless Group 4 fax compression
X(ITU-T recommendation T.6). This provides a very good compression
Xratio for text and line art. JPEG images will be preserved with the
Xoriginal coding.
X
XThe current version of Tumble will only work on little-endian systems,
Xsuch as x86, VAX, and Alpha. The byte order dependencies will be fixed
Xin a later release.
21ff13e2d665b0511d50fcd6741c12dc
echo x - graphics/tumble/distinfo
sed 's/^X//' >graphics/tumble/distinfo << '8d410bc51af5fd77cc6e11d12aaff468'
XMD5 (tumble-0.33.tar.gz) = caf7d189c4c5f2f4ba004bcc8912669e
XSHA256 (tumble-0.33.tar.gz) = d579d572b4335d8c4008695fee9f32051194499987c340b14f17b294ece7643e
XSIZE (tumble-0.33.tar.gz) = 42983
8d410bc51af5fd77cc6e11d12aaff468
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list