Bug 230473 - virtual/texi2dvi needed
Bug#: 230473 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: tex@gentoo.org Reported By: ulm@gentoo.org
Component: Ebuilds
URL: 
Summary: virtual/texi2dvi needed
Keywords:  Tracker
Status Whiteboard: 
Opened: 2008-07-02 07:32 0000
Description:   Opened: 2008-07-02 07:32 0000
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 )"

------- Comment #1 From Ulrich Müller 2008-07-02 07:34:44 0000 -------
> 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.

------- Comment #2 From Ulrich Müller 2008-07-02 08:04:30 0000 -------
Created an attachment (id=159241) [details]
texi2dvi-0.ebuild

------- Comment #3 From Alexis Ballier 2008-07-02 08:14:25 0000 -------
(In reply to comment #2)
> Created an attachment (id=159241) [edit] [details]
> 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.

------- Comment #4 From Ulrich Müller 2008-07-02 10:42:35 0000 -------
> (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."

------- Comment #5 From Ulrich Müller 2008-07-07 16:54:58 0000 -------
In CVS.

------- Comment #6 From Ulrich Müller 2008-07-08 08:09:20 0000 -------
Reopening as tracker for packages that should depend on virtual/texi2dvi.