Subject: pkg/6601: packages with texinfo documents should use makeinfo, not emacs
To: None <gnats-bugs@gnats.netbsd.org>
From: None <woods@mail.weird.com>
List: netbsd-bugs
Date: 12/16/1998 14:26:12
>Number: 6601
>Category: pkg
>Synopsis: packages with texinfo documents should use makeinfo, not emacs
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Wed Dec 16 11:35:01 1998
>Last-Modified:
>Originator: Greg A. Woods
>Organization:
Planix, Inc.; Toronto, Ontario; Canada
>Release: pkgsrc sup as of Mon Nov 16 08:02:37 EST 1998
>Environment:
System: NetBSD 1.3I
>Description:
Since there is a gtexinfo package, makeinfo from that package
should always be used to format texinfo documents for info
instead of using emacs (since gtexinfo is much smaller than
emacs, and has much better and more complete handling for
texinfo documents).
>How-To-Repeat:
Observe that some packages, such as ispell, still use emacs to
format their texinfo documents.
>Fix:
Add patches to any pkgsrc module for packages which still use
emacs for for formatting texinfo documents to instead use
something like:
makeinfo --no-split --force -o $@ $<
Add "BUILD_DEPENDS = makeinfo:../../devel/gtexinfo
install-info:../../devel/gtexinfo" to the package's pkgsrc
Makefile (are both recommended when from the same pkg?).
Optionally remove any "*_DEPENDS = emacs" if the package no
longer needs emacs to build/run.
If the package doesn't already use "install-info" to add the DIR
entry, then patch it to do so.
If the package's texinfo documents don't include @direntry, then
patch them to do so.
>Audit-Trail:
>Unformatted: