From owner-freebsd-ports Sat Jan 11 22:13:22 2003 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6EC5D37B401 for ; Sat, 11 Jan 2003 22:13:20 -0800 (PST) Received: from priv-edtnes61.telusplanet.net (outbound01.telus.net [199.185.220.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id 67D0C44017 for ; Sat, 11 Jan 2003 22:13:17 -0800 (PST) (envelope-from mike@freebsd.schema.ca) Received: from freebsd.schema.ca ([142.59.253.48]) by priv-edtnes61.telusplanet.net (InterMail vM.5.01.05.17 201-253-122-126-117-20021021) with ESMTP id <20030112061311.XXUA7527.priv-edtnes61.telusplanet.net@freebsd.schema.ca> for ; Sat, 11 Jan 2003 23:13:11 -0700 Received: from freebsd.schema.ca (localhost [127.0.0.1]) by freebsd.schema.ca (8.12.5/8.12.5) with ESMTP id h0C6DBDd005505 for ; Sat, 11 Jan 2003 23:13:11 -0700 (MST) (envelope-from mike@freebsd.schema.ca) Received: (from mike@localhost) by freebsd.schema.ca (8.12.5/8.12.5/Submit) id h0C6DBFA005504 for ports@freebsd.org; Sat, 11 Jan 2003 23:13:11 -0700 (MST) Date: Sat, 11 Jan 2003 23:13:11 -0700 From: "Mike A. Oligny" To: ports@freebsd.org Subject: ghostscript-gnu and HylaFAX problem (and solution) Message-ID: <20030112061310.GA5465@freebsd.schema.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.3i Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Several scripts installed by the ghostscript-gnu port assume that their dependencies will be in the path: ps2pdf -> ps2pdf12/13/14/whatever -> ps2pdfwr -> gs This breaks the e-mail-as-PDF function of HylaFAX. My question is, should these scripts be fixed, or should HylaFAX be setting a path before it runs them? /usr/local/bin/ps2pdf: #!/bin/sh # $Id: ps2pdf,v 1.1 2000/03/09 08:40:40 lpd Exp $ # Convert PostScript to PDF. # Currently, we produce PDF 1.2 by default, but this is not guaranteed # not to change in the future. exec ps2pdf12 "$@" /usr/local/bin/ps2pdf12: #!/bin/sh # $Id: ps2pdf12,v 1.1 2000/03/09 08:40:40 lpd Exp $ # Convert PostScript to PDF 1.2 (Acrobat 3-and-later compatible). exec ps2pdfwr -dCompatibilityLevel=1.2 "$@" /usr/local/bin/ps2pdfwr: #!/bin/sh # $Id: ps2pdfwr,v 1.6.2.1 2002/01/22 21:34:04 jackiem Exp $ # Convert PostScript to PDF without specifying CompatibilityLevel. # We have to include the options twice because -I only takes effect if it # appears before other options. exec gs $OPTIONS -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite "-sOutputFile=$outfile" $OPTIONS -c .setpdfwrite -f "$infile" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message