[MacPorts] #69601: Installing recent versions of yq or wget installs libnetpbm which has a full X11/UI list of dependencies
MacPorts
noreply at macports.org
Thu Nov 21 06:45:23 UTC 2024
#69601: Installing recent versions of yq or wget installs libnetpbm which has a
full X11/UI list of dependencies
----------------------------+------------------------
Reporter: tux-o-matic | Owner: ryandesign
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: wget yq groff |
----------------------------+------------------------
Comment (by ryandesign):
Replying to [comment:17 Dave-Allured]:
> It looks like `openldap` and `wget` use the same troff/texinfo source
format for man pages. `wget` builds them with the lighter weight
`texinfo` port. Therefore I suggest seeing whether `texinfo` can be
substituted for the `groff` dependency in `openldap`.
I don't see any way for that to be possible. troff and texinfo are not the
same format. Each format needs to be manipulated by tools that understand
that format.
wget distributes its documentation in texinfo (texi) format. Its build
system uses `makeinfo` to convert the texinfo file to info format for use
with the `info` command. `makeinfo` used to be included with macOS; on
older macOS versions it will use the macOS copy of `makeinfo` if the
texinfo port is not installed. wget's build also uses a bundled perl
script called texi2pod.pl to convert the texinfo file to perl's pod
documentation format, and then uses perl's pod2man program to convert it
to *roff format, which is what manpages are and what the `man` program
reads.
openldap, on the other hand, doesn't install documentation in info format
at all, only in *roff format. It distributes its documentation in *roff
format in fact, but the *roff files it distributes are not the final files
users will see in the `man` program; rather, they're templates that still
need some processing. There are placeholders to be replaced with real
values (like the openldap version number) which the build system does
using `sed`, and include statements which need to be replaced with the
contents of the files being included, which the build system does using
`soelim`.
--
Ticket URL: <https://trac.macports.org/ticket/69601#comment:19>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list