From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Mar 17 04:10:02 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 588A9106564A for ; Mon, 17 Mar 2008 04:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 430148FC1B for ; Mon, 17 Mar 2008 04:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m2H4A2js021390 for ; Mon, 17 Mar 2008 04:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2H4A2HF021389; Mon, 17 Mar 2008 04:10:02 GMT (envelope-from gnats) Resent-Date: Mon, 17 Mar 2008 04:10:02 GMT Resent-Message-Id: <200803170410.m2H4A2HF021389@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Timothy Bourke Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 891D9106566B for ; Mon, 17 Mar 2008 04:09:47 +0000 (UTC) (envelope-from tbourke@triptrop.cse.unsw.edu.au) Received: from tone.orchestra.cse.unsw.EDU.AU (tone.orchestra.cse.unsw.EDU.AU [129.94.242.59]) by mx1.freebsd.org (Postfix) with ESMTP id 110098FC14 for ; Mon, 17 Mar 2008 04:09:46 +0000 (UTC) (envelope-from tbourke@triptrop.cse.unsw.edu.au) Received: From triptrop.cse.unsw.edu.au ([129.94.175.153]) (for ) By tone With Smtp ; Mon, 17 Mar 2008 14:54:39 +1100 Received: from triptrop.cse.unsw.edu.au (localhost [127.0.0.1]) by triptrop.cse.unsw.edu.au (8.14.2/8.13.6) with ESMTP id m2H3pamQ038034 for ; Mon, 17 Mar 2008 14:51:36 +1100 (EST) (envelope-from tbourke@triptrop.cse.unsw.edu.au) Received: (from tbourke@localhost) by triptrop.cse.unsw.edu.au (8.14.2/8.13.6/Submit) id m2H3pas6038033; Mon, 17 Mar 2008 14:51:36 +1100 (EST) (envelope-from tbourke) Message-Id: <200803170351.m2H3pas6038033@triptrop.cse.unsw.edu.au> Date: Mon, 17 Mar 2008 14:51:36 +1100 (EST) From: Timothy Bourke To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/121775: [NEW PORT] graphics/imgtops: Create efficient Encapsulated Postscript files from images X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Mar 2008 04:10:02 -0000 >Number: 121775 >Category: ports >Synopsis: [NEW PORT] graphics/imgtops: Create efficient Encapsulated Postscript files from images >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Mar 17 04:10:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Timothy Bourke >Release: FreeBSD 6.3-RELEASE i386 >Organization: >Environment: System: FreeBSD triptrop 6.3-RELEASE FreeBSD 6.3-RELEASE #4: Thu Mar 13 14:01:14 EST 2008 >Description: Command-line utilities for converting bitmage images (JPEG, PNG, GIF, Targa, BMP, etc.) to and from encapsulated postscript. Special care is taken to minimize the size of output files without reducing image quality. WWW: http://imgtops.sourceforge.net Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- imgtops-1.0.shar begins here --- # 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: # # imgtops # imgtops/Makefile # imgtops/pkg-descr # imgtops/distinfo # imgtops/files # imgtops/files/patch-setup.py # echo c - imgtops mkdir -p imgtops > /dev/null 2>&1 echo x - imgtops/Makefile sed 's/^X//' >imgtops/Makefile << 'END-of-imgtops/Makefile' X# New ports collection makefile for: imgtops X# Date created: 17 Mar 2008 X# Whom: Timothy Bourke X# X# $FreeBSD$ X# X XPORTNAME= imgtops XPORTVERSION= 1.0 XCATEGORIES= graphics XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR=${PORTNAME} X XMAINTAINER= timbob@bigpond.com XCOMMENT= Create efficient Encapsulated Postscript files from images X XRUN_DEPENDS+= ${PYTHON_SITELIBDIR}/PIL.pth:${PORTSDIR}/graphics/py-imaging X XUSE_GHOSTSCRIPT_RUN= yes XUSE_PYTHON= 2.2+ XUSE_PYDISTUTILS= yes XINSTALLS_EGGINFO= yes X XPLIST_FILES= bin/imgtops \ X bin/epstoimg X XMAN1= imgtops.1 epstoimg.1 X Xpost-install: X ${CHMOD} 644 ${MANPREFIX}/man/man1/imgtops.1 X ${CHMOD} 644 ${MANPREFIX}/man/man1/epstoimg.1 X X.include END-of-imgtops/Makefile echo x - imgtops/pkg-descr sed 's/^X//' >imgtops/pkg-descr << 'END-of-imgtops/pkg-descr' XCommand-line utilities for converting bitmage images (JPEG, PNG, GIF, Targa, XBMP, etc.) to and from encapsulated postscript. Special care is taken to Xminimize the size of output files without reducing image quality. X XWWW: http://imgtops.sourceforge.net END-of-imgtops/pkg-descr echo x - imgtops/distinfo sed 's/^X//' >imgtops/distinfo << 'END-of-imgtops/distinfo' XMD5 (imgtops-1.0.tar.gz) = c9cddec4678dae1faa799bc9d9010859 XSHA256 (imgtops-1.0.tar.gz) = 97eae13a38b1145ae3fb4b5aa66a4b88b1a2ee12a0c322f6ec83f54d6112b2fa XSIZE (imgtops-1.0.tar.gz) = 18183 END-of-imgtops/distinfo echo c - imgtops/files mkdir -p imgtops/files > /dev/null 2>&1 echo x - imgtops/files/patch-setup.py sed 's/^X//' >imgtops/files/patch-setup.py << 'END-of-imgtops/files/patch-setup.py' X--- setup.py.orig 2003-09-05 14:25:18.000000000 +1000 X+++ setup.py 2008-03-17 14:35:54.000000000 +1100 X@@ -1,6 +1,6 @@ X #!/usr/bin/env python X X-import sys X+import sys, os X X if sys.hexversion < 0x02020000: X print X@@ -59,7 +59,8 @@ X print 'To use "epstoimg" you will need the Ghostscript interpreter' X print 'installed. (see http://www.ghostscript.com/)' X print X-if get_yesno( 'Do you want to install epstoimg? [Y/n] ', 1 ): X+# if get_yesno( 'Do you want to install epstoimg? [Y/n] ', 1 ): X+if True: X if sys.platform == 'win32': X default = '+gswin32c.exe' X else: X@@ -68,7 +69,9 @@ X print X print 'Enter the full pathname of the Ghostscript interpreter,' X print 'or "+foo" to search the PATH for "foo" at runtime:' X- gs = raw_input( '[%s] ' % (default,) ) X+ # gs = raw_input( '[%s] ' % (default,) ) X+ gs = os.environ['PREFIX'] + '/bin/gs' X+ print "ghostscript: " + gs X if gs == '': X gs = default X END-of-imgtops/files/patch-setup.py exit --- imgtops-1.0.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: