Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #14421 (assigned enhancement)

Opened 8 months ago

Last modified 2 days ago

doxygen-1.5.7: consider no_tex (or lite?) variant

Reported by: css@… Owned by: css@…
Priority: Normal Milestone: Port Enhancements
Component: ports Version: 1.6.0
Keywords: Cc: tsunanet@…, raimue@…
Port: doxygen

Description

Consider a lightweight doxygen build process with a no_tex variant. Removing the tex dependency would reduce the feature set, but it would allow for a much faster build process for users who do not need such an extensive dependency list.

Or should this be extended to a lite variant? What about graphviz and all it pulls in? Which features, if withheld, would allow the port to retain broad usability?

Prompted by discussions on #14328.

Attachments

Portfile-nopdf.diff (1.2 kB) - added by css@… 8 days ago.
Make sure to reset the build.target and destroot.target to not include the docs

Change History

follow-up: ↓ 2   Changed 8 months ago by css@…

  • status changed from new to assigned

The ability to generate TeX documentation is a feature of doxygen ... it's used beyond just the manual.

MacPorts has a general policy to install everything by default, and the TeX dependencies are in place so that doxygen users can generate other forms of documentation. The idea is that the default install can do everything supported by the upstream package.

I don't like the idea of subtraction by variant, but that's something to accept given the policy as well as the problems handling default variants.

Although I have to admit I configured doxygen without TeX all the time before the ports system arrived. :)

in reply to: ↑ 1   Changed 8 months ago by raimue@…

Replying to css@macports.org:

The ability to generate TeX documentation is a feature of doxygen ... it's used beyond just the manual.

True. I forgot about this completely in my earlier comment. Although the doxygen project itself releases an .app package with dot, but without tex. And tex pulls in a lot of dependencies. I still vote for making tex optional.

  Changed 7 weeks ago by css@…

There are existing variants for graphviz that can simplify its features, so once I figure out the best way to remove doxygen's documentation (and it currently looks like I'll need to manually patch its Makefile.in to remove the doc directory), it should be possible to conduct a streamlined build without the heavyweight dependencies.

  Changed 8 days ago by css@…

  • port set to doxygen

It seems like changing the build.target to all might be all that's needed to avoid building the documentation. If you pass on the PDF, then you can pass on installing texlive just to install doxygen.

  Changed 8 days ago by css@…

  • summary changed from doxygen-1.5.4: consider no_tex (or lite?) variant to doxygen-1.5.7: consider no_tex (or lite?) variant

The attached patch creates a docs variant that builds and installs the doxygen PDF. This variants adds dependencies on ghostscript and texlive... both of which are indeed somewhat heavyweight dependencies. Skipping the doc s allows a much faster doxygen build.

Changed 8 days ago by css@…

Make sure to reset the build.target and destroot.target to not include the docs

  Changed 4 days ago by css@…

I went ahead and committed this to r40482, as it really does make doxygen a faster install.

  Changed 2 days ago by css@…

r40525 fixes a typo in the docs variant.

Note: See TracTickets for help on using tickets.