Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26226 - media-libs/t1lib-5.0.0-r1 installs some doc files in wrong directory
Summary: media-libs/t1lib-5.0.0-r1 installs some doc files in wrong directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Mamoru KOMACHI (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-08 12:45 UTC by Tristan Henderson
Modified: 2003-08-09 00:13 UTC (History)
0 users

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


Attachments
updated ebuild which correctly installs documentation files (t1lib-5.0.0-r1.ebuild,1.73 KB, text/plain)
2003-08-08 12:46 UTC, Tristan Henderson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tristan Henderson 2003-08-08 12:45:28 UTC
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 "doc" is set, since I believe that this is 
the purpose of the "doc" flag.

It might be preferable to use "dodoc" 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 "dodoc" for some documentation files, but "doins" for others. In any case, I have kept the use 
of "doins" in the attached ebuild.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Tristan Henderson 2003-08-08 12:46:02 UTC
Created attachment 15775 [details]
updated ebuild which correctly installs documentation files
Comment 2 Mamoru KOMACHI (RETIRED) gentoo-dev 2003-08-08 22:56:26 UTC
Yes, it should be /usr/share/doc/${PF} instead of /usr/share/doc/${P}.
I'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'll use doins for the
meantime ;-) ).
Comment 3 Mamoru KOMACHI (RETIRED) gentoo-dev 2003-08-09 00:13:20 UTC
I added doc to IUSE flag since your patch doesn'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.