Bug 37362

Summary: The Ted port is incompatible with FreeBSD lpc(1)
Product: Ports & Packages Reporter: Greg Shenaut <greg>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch-appUtil-utilPrinter.c none

Description Greg Shenaut 2002-04-23 02:20:00 UTC
The Ted program uses lpc(1) to get a list of printers that it uses in
its print dialog.  It uses the command "[/usr/sbin/]lpc status", which
is rejected by FreeBSD's version of lpc.

Fix: 

In the source file "appUtil/appPrinter.c", change "lpc status"
to "lpc status all" in two places.
How-To-Repeat: Any request to print within Ted
Comment 1 Jonathan 2003-08-18 03:06:44 UTC
Hi:

 Below is the patch to fix the lpc problem. The port was tested in accordance 
with section 2.4 of the Porters Handbook. Portlint -Av was run and only two 
warnings were generated. Both of them were trivial. The patched Ted port was 
tested for printing on a Canon S300 printer using CUPS. Footnotes, 
strikethrough, Subscript, Superscript, Symbol font, Tables and embedded 
pictures printed OK. Endnotes are broken, I have notified the developer about 
this. He will get a fix for it in the future.


Place the following patch in /usr/ports/editors/ted/files
I apologize for the extreme tardiness in getting this port fixed.
Comment 2 Pete Fritchman freebsd_committer freebsd_triage 2003-08-18 03:48:50 UTC
State Changed
From-To: open->closed

Patch from maintainer committed, thanks!