The first attached ebuild (and diff) enables optional support of latex2html and docbook editing in LyX. The second attached ebuild removes this optional support altogether. Why remove these programs from the ebuild dependencies? latex2html and sgmltools-lite are just two of the optional tools you can install to gain access to the endless number of LyX supported features; there are so many other things that one can install to enable more features in LyX: other graphical converters, document converters, other LaTeX styles, other LaTeX packages... These are purely runtime requirements, completely independent from the LyX compilation. I do not think that these additional packages should be included in RDEPEND with optional use flags, as gentoo does now, because recompiling the whole LyX just to get them is not very clever. I think that the short-term solution is to add many einfo at the end of the ebuild to list the missing packages that the user could install. In the long-term, ebuilds need a way to "suggest", to use Debian terminology, separate runtime dependencies that one can install without the need to recompile the whole program.
Created attachment 102177 [details] optional support for HTML output and Docbook editing
Created attachment 102178 [details, diff] optional support for HTML output and Docbook editing (diff against lyx-1.4.2.ebuild)
Created attachment 102180 [details] new ebuild without dependencies on additional programs
Created attachment 102182 [details, diff] new ebuild without dependencies on additional programs (diff against lyx-1.4.2.ebuild)
latex2html is currently used in ebuilds. as far as docbook support i think last version when docbook support worked in lyx was some 1.2 or so. are you able to work with lyx+docbook?
docbook useflag added to lyx 1.6 ebuild
i think we can close this, since 1.6 is in tree.
(In reply to comment #7) > i think we can close this, since 1.6 is in tree. > yep they're now optional and controlled via useflags for the 1.6 series