Bug 15091

Summary: add -I option to gnu groff and gnu soelim
Product: Base System Reporter: Karl Dietz <kd>
Component: gnuAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 3.3-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Karl Dietz 1999-11-25 21:50:00 UTC
	GNU groff does not know about a -I parameter to add
	include search paths.

	Peter Miller made a patch to add the -I and uses it in
	his programs.

	I maintain a prog by PM (ports/net/dnsutl) and got a
	request to add man pages to the port.

	The patch is for groff-1.11 but did apply cleanly to
	FreeBSD's groff-1.10.

	The original patch is at http://www.canb.aaug.org.au/~millerp/

	Patch by Peter Miller <millerp@canb.auug.org.au>

Fix: apply this patch (or the one at Peter's page)

How-To-Repeat: 
	
	try to install man pages from ports/net/dnsutl/work/...
Comment 1 Alexey M. Zelkin 1999-11-26 20:17:06 UTC
hi,

On Thu, Nov 25, 1999 at 10:55:42PM +0100, Karl Dietz wrote:
 
> >Number:         15091
> >Category:       gnu
> >Synopsis:       add -I option to gnu groff and gnu soelim

> 	GNU groff does not know about a -I parameter to add
> 	include search paths.
Why ?

> 
> 	Peter Miller made a patch to add the -I and uses it in
> 	his programs.
You have to submit this patch to official groff maintainer and
then next release out we'll import such change.

> 
> 	I maintain a prog by PM (ports/net/dnsutl) and got a
> 	request to add man pages to the port.
> 
> 	The patch is for groff-1.11 but did apply cleanly to
> 	FreeBSD's groff-1.10.
We have groff-1.11 imported.

-- 
/* Alexey Zelkin                       && phantom@cris.net    */
/* Tavric National University          && phantom@crimea.edu  */
/* http://www.ccssu.crimea.ua/~phantom && phantom@FreeBSD.org */
Comment 2 Karl Dietz 1999-11-28 20:29:27 UTC
On Fri, 26 Nov 1999, Alexey Zelkin wrote:

> > >Number:         15091
> > >Category:       gnu
> > >Synopsis:       add -I option to gnu groff and gnu soelim
> 
> > 	GNU groff does not know about a -I parameter to add
> > 	include search paths.
> Why ?

I don't know why it's not supported. But if you mean
"what do you need it for" to have a search path to common
include (e.g. COPYRIGHT, etc.)

> > 
> > 	Peter Miller made a patch to add the -I and uses it in
> > 	his programs.
> You have to submit this patch to official groff maintainer and
> then next release out we'll import such change.

at the time this patch was prepared, there was no GNU groff maintainer.
And GNU groff had not been updated to 1.11 quite a long time. (IIRC)


I will talk to the original author to submit it to GNU groff.

Regards,
         Karl
Comment 3 Karl Dietz 1999-11-30 21:11:43 UTC
Hi Alexey,

> > You have to submit this patch to official groff maintainer and
> > then next release out we'll import such change.
> 
> at the time this patch was prepared, there was no GNU groff maintainer.
> And GNU groff had not been updated to 1.11 quite a long time. (IIRC)
> 
> I will talk to the original author to submit it to GNU groff.

I contacted the author. He said the patch has been accepted by groff
maintainer, but not yet included.

So this PR should either be changed to "please import new groff
as soon as there is one" or closed.

Regards,
         Karl
Comment 4 Jeroen Ruigrok van der Werven freebsd_committer freebsd_triage 2000-01-12 13:47:18 UTC
State Changed
From-To: open->closed

The attached patch made it in groff 1.15.  This version got imported into 
CURRENT.  A MFC is scheduled in the near future when everything is considered 
to have not broken everything. 

This PR can be closed since I keep another PR open for the MFC and I made 
a note for myself about our soelim versus gsoelim in the groff package.