Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 230473

Summary: virtual/texi2dvi needed
Product: Gentoo Linux Reporter: Ulrich Müller <ulm>
Component: New packagesAssignee: TeX project <tex>
Status: RESOLVED FIXED    
Severity: enhancement CC: base-system
Priority: High Keywords: Tracker
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 231137, 231138, 231140    
Bug Blocks:    
Attachments: texi2dvi-0.ebuild

Description Ulrich Müller gentoo-dev 2008-07-02 07:32:51 UTC
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 Ulrich Müller gentoo-dev 2008-07-02 07:34:44 UTC
> 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 Ulrich Müller gentoo-dev 2008-07-02 08:04:30 UTC
Created attachment 159241 [details]
texi2dvi-0.ebuild
Comment 3 Alexis Ballier gentoo-dev 2008-07-02 08:14:25 UTC
(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.
Comment 4 Ulrich Müller gentoo-dev 2008-07-02 10:42:35 UTC
> (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 Ulrich Müller gentoo-dev 2008-07-07 16:54:58 UTC
In CVS.
Comment 6 Ulrich Müller gentoo-dev 2008-07-08 08:09:20 UTC
Reopening as tracker for packages that should depend on virtual/texi2dvi.