Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 230473 - virtual/texi2dvi needed
Summary: virtual/texi2dvi needed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: TeX project
URL:
Whiteboard:
Keywords: Tracker
Depends on: 231137 231138 231140
Blocks:
  Show dependency tree
 
Reported: 2008-07-02 07:32 UTC by Ulrich Müller
Modified: 2008-07-10 16:32 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
texi2dvi-0.ebuild (texi2dvi-0.ebuild,423 bytes, text/plain)
2008-07-02 08:04 UTC, Ulrich Müller
Details

Note You need to log in before you can comment on or make changes to this bug.
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.