ports/103616: foo2hp part of print/foo2zjs broken

Armin Pirkovitsch a.pirko at inode.at
Mon Sep 25 12:30:22 UTC 2006


>Number:         103616
>Category:       ports
>Synopsis:       foo2hp part of print/foo2zjs broken
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 25 12:30:20 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Armin Pirkovitsch
>Release:        6.1 RELEASE
>Organization:
>Environment:
FreeBSD oh-sub1.local 6.1-RELEASE-p2 FreeBSD 6.1-RELEASE-p2 #6: Mon Jul  3 21:19:49 CEST 2006     root at oh-sub1.local:/usr/obj/usr/src/sys/OH-SUB1_32SMP  i386

>Description:
foo2zjs contains a program called foo2hp and a script foo2hp-wrapper and both are broken.
The wrapper uses gs -sDEVICE=cups which is only available with cups-pstoraster espgs (gs -> espgs) and the lines 37-39, 214-215, 216-231 and 658-665 will kill the content of the pipe.
The foo2hp program however cores when you enable 2 bpp (bits per plane) (not enough memory allocated)
On the webpage of foo2hp the coder mentions that you shall not use foo2hp from the foo2zjs package but the "standalone" version - the source of both versions is however the same.

>How-To-Repeat:
install foo2zjs and cups
fix foo2hp-wrapper to use espgs instead of gs and comment out the above mentioned lines (otherwise gs will stop / the pipe content will be lost and nothing will be handed to gs)
install for example HP Color Laserjet 1600 in cups and set it to 2 bpp.
print and watch foo2hp die...
>Fix:
I'd suggest to not install those two broken parts of foo2zjs.
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list