Date: Sat, 11 Jan 2003 23:13:11 -0700 From: "Mike A. Oligny" <mike@freebsd.schema.ca> To: ports@freebsd.org Subject: ghostscript-gnu and HylaFAX problem (and solution) Message-ID: <20030112061310.GA5465@freebsd.schema.ca>
next in thread | raw e-mail | index | archive | help
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. <snip> # 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030112061310.GA5465>