<?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>26226</bug_id>
          
          <creation_ts>2003-08-08 12:45 0000</creation_ts>
          <short_desc>media-libs/t1lib-5.0.0-r1 installs some doc files in wrong directory</short_desc>
          <delta_ts>2003-08-09 00:13:20 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>
          
          
          
          <priority>P2</priority>
          <bug_severity>trivial</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>T.Henderson@cs.ucl.ac.uk</reporter>
          <assigned_to>usata@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>T.Henderson@cs.ucl.ac.uk</who>
            <bug_when>2003-08-08 12:45:28 0000</bug_when>
            <thetext>media-libs/t1lib-5.0.0-r1 installs some documentation in /usr/share/doc/t1lib-5.0.0-r1 (correct) and 
some in /usr/share/doc/t1lib-5.0.0 (incorrect). This is because the ebuild installs to 
/usr/share/doc/${P} instead of /usr/share/doc/${PF}. Please find an ebuild attached which fixes 
this. It also only installs the PDF and dvi files if the USE flag &quot;doc&quot; is set, since I believe that this is 
the purpose of the &quot;doc&quot; flag.

It might be preferable to use &quot;dodoc&quot; to install the PDF files, since this automatically determines the 
appropriate directory for installation. But this will gzip the files, which might be why the ebuild author 
uses &quot;dodoc&quot; for some documentation files, but &quot;doins&quot; for others. In any case, I have kept the use 
of &quot;doins&quot; in the attached ebuild.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>T.Henderson@cs.ucl.ac.uk</who>
            <bug_when>2003-08-08 12:46:02 0000</bug_when>
            <thetext>Created an attachment (id=15775)
updated ebuild which correctly installs documentation files
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>usata@gentoo.org</who>
            <bug_when>2003-08-08 22:56:26 0000</bug_when>
            <thetext>Yes, it should be /usr/share/doc/${PF} instead of /usr/share/doc/${P}.
I&apos;ll fix it soon.  Also, I have the opinion about dodoc, and it would
be a nice idea to create another bug for it (I&apos;ll use doins for the
meantime ;-) ).
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>usata@gentoo.org</who>
            <bug_when>2003-08-09 00:13:20 0000</bug_when>
            <thetext>I added doc to IUSE flag since your patch doesn&apos;t have it.
Please make sure you list all the USE flag in your ebuild next
time (cf. emerge -pv t1lib tells you what USE flags are being set).
Thanks for the contribution.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>15775</attachid>
            <date>2003-08-08 12:46 0000</date>
            <desc>updated ebuild which correctly installs documentation files</desc>
            <filename>t1lib-5.0.0-r1.ebuild</filename>
            <type>text/plain</type>
            <data encoding="base64">IyBDb3B5cmlnaHQgMTk5OS0yMDAzIEdlbnRvbyBUZWNobm9sb2dpZXMsIEluYy4KIyBEaXN0cmli
dXRlZCB1bmRlciB0aGUgdGVybXMgb2YgdGhlIEdOVSBHZW5lcmFsIFB1YmxpYyBMaWNlbnNlIHYy
CiMgJEhlYWRlcjogL2hvbWUvY3Zzcm9vdC9nZW50b28teDg2L21lZGlhLWxpYnMvdDFsaWIvdDFs
aWItNS4wLjAtcjEuZWJ1aWxkLHYgMS4yIDIwMDMvMDgvMDQgMTU6MTc6NTQgdXNhdGEgRXhwICQK
CmluaGVyaXQgZ251Y29uZmlnCgpJVVNFPSJYIHRldGV4IgoKUz0ke1dPUktESVJ9LyR7UH0KREVT
Q1JJU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