<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>230473</bug_id>
          
          <creation_ts>2008-07-02 07:32 0000</creation_ts>
          <short_desc>virtual/texi2dvi needed</short_desc>
          <delta_ts>2008-07-10 16:32:12 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <keywords>Tracker</keywords>
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>231137</dependson>
    
    <dependson>231138</dependson>
    
    <dependson>231140</dependson>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>ulm@gentoo.org</reporter>
          <assigned_to>tex@gentoo.org</assigned_to>
          <cc>base-system@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>ulm@gentoo.org</who>
            <bug_when>2008-07-02 07:32:51 0000</bug_when>
            <thetext>sys-apps/texinfo installs scripts texi2dvi, texi2pdf etc. which are not functional because the necessary dependencies on TeX are missing (probably they can&apos;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 -&gt; sys-apps/texinfo
   - working TeX installation -&gt; virtual/latex-base
   - texinfo.tex -&gt; dev-texlive/texlive-texinfo, or one of the monolithic
     TeX packages

Therefore I propose to introduce a new virtual with the following dependencies:

   &quot;sys-apps/texinfo
    virtual/latex-base
    || ( dev-texlive/texlive-texinfo app-text/tetex app-text/ptex )&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ulm@gentoo.org</who>
            <bug_when>2008-07-02 07:34:44 0000</bug_when>
            <thetext>&gt; So depending on texinfo alone is not sufficient if packages need texi2dvi
&gt; at build time. See bug 222501 comment 1 and bug 230133 for recent examples.

This should be bug 222501 comment 2 of course.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ulm@gentoo.org</who>
            <bug_when>2008-07-02 08:04:30 0000</bug_when>
            <thetext>Created an attachment (id=159241)
texi2dvi-0.ebuild

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>aballier@gentoo.org</who>
            <bug_when>2008-07-02 08:14:25 0000</bug_when>
            <thetext>(In reply to comment #2)
&gt; Created an attachment (id=159241) [edit]
&gt; 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&apos;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&apos;t better.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ulm@gentoo.org</who>
            <bug_when>2008-07-02 10:42:35 0000</bug_when>
            <thetext>&gt; (maybe add a homepage? not sure if it makes sense for virtuals).

According to &lt;http://devmanual.gentoo.org/general-concepts/virtuals/&gt;:
&quot;[...] a new-style virtual has an empty string for the value of the LICENSE and HOMEPAGE variables.&quot;
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ulm@gentoo.org</who>
            <bug_when>2008-07-07 16:54:58 0000</bug_when>
            <thetext>In CVS.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ulm@gentoo.org</who>
            <bug_when>2008-07-08 08:09:20 0000</bug_when>
            <thetext>Reopening as tracker for packages that should depend on virtual/texi2dvi.
</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>159241</attachid>
            <date>2008-07-02 08:04 0000</date>
            <desc>texi2dvi-0.ebuild</desc>
            <filename>texi2dvi-0.ebuild</filename>
            <type>text/plain</type>
            <data encoding="base64">IyBDb3B5cmlnaHQgMTk5OS0yMDA4IEdlbnRvbyBGb3VuZGF0aW9uCiMgRGlzdHJpYnV0ZWQgdW5k
ZXIgdGhlIHRlcm1zIG9mIHRoZSBHTlUgR2VuZXJhbCBQdWJsaWMgTGljZW5zZSB2MgojICRIZWFk
ZXI6ICQKCkRFU0NSSVBUSU9OPSJWaXJ0dWFsIGZvciB0ZXhpMmR2aSIKSE9NRVBBR0U9IiIKU1JD
X1VSST0iIgoKTElDRU5TRT0iIgpTTE9UPSIwIgpLRVlXT1JEUz0iYWxwaGEgYW1kNjQgYXJtIGhw
cGEgaWE2NCBtNjhrIG1pcHMgcHBjIHBwYzY0IHMzOTAgc2ggc3BhcmMgeDg2IH54ODYtZmJzZCIK
SVVTRT0iIgoKREVQRU5EPSIiClJERVBFTkQ9InN5cy1hcHBzL3RleGluZm8KCXZpcnR1YWwvbGF0
ZXgtYmFzZQoJfHwgKAoJCWRldi10ZXhsaXZlL3RleGxpdmUtdGV4aW5mbwoJCWFwcC10ZXh0L3Rl
dGV4CgkJYXBwLXRleHQvcHRleAoJKSIK
</data>        

          </attachment>
    </bug>

</bugzilla>