sys-apps/texinfo installs scripts texi2dvi, texi2pdf etc. which are not functional because the necessary dependencies on TeX are missing (probably they can't be added due to circular dependencies). So depending on texinfo alone is not sufficient if packages need texi2dvi at build time. See bug 222501 comment 1 and bug 230133 for recent examples. For proper function of texi2dvi, the following are needed (I hope that the list is complete) - texi2dvi script -> sys-apps/texinfo - working TeX installation -> virtual/latex-base - texinfo.tex -> dev-texlive/texlive-texinfo, or one of the monolithic TeX packages Therefore I propose to introduce a new virtual with the following dependencies: "sys-apps/texinfo virtual/latex-base || ( dev-texlive/texlive-texinfo app-text/tetex app-text/ptex )"
> So depending on texinfo alone is not sufficient if packages need texi2dvi > at build time. See bug 222501 comment 1 and bug 230133 for recent examples. This should be bug 222501 comment 2 of course.
Created attachment 159241 [details] texi2dvi-0.ebuild
(In reply to comment #2) > Created an attachment (id=159241) [edit] > texi2dvi-0.ebuild Good for me (maybe add a homepage? not sure if it makes sense for virtuals). If base-system is ok, please send it to -dev ml or tell me to do so ;) I think that's the best way to handle it as adding the whole TeX dependencies on a package in system is probably not a good idea; and conditionally installing texi2dvi isn't better.
> (maybe add a homepage? not sure if it makes sense for virtuals). According to <http://devmanual.gentoo.org/general-concepts/virtuals/>: "[...] a new-style virtual has an empty string for the value of the LICENSE and HOMEPAGE variables."
In CVS.
Reopening as tracker for packages that should depend on virtual/texi2dvi.