Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 202574 - sci-libs/itpp-4.0.0 - html documentation is installed in a wrong directory
Summary: sci-libs/itpp-4.0.0 - html documentation is installed in a wrong directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Markus Dittrich (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-17 13:52 UTC by Adam Piątyszek
Modified: 2007-12-19 15:06 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Piątyszek 2007-12-17 13:52:13 UTC
Hi!

I have just noticed that itpp-4.0.0.ebuild installs the generated HTML documentation (USE=doc) into /usr/share/doc/itpp and the rest of documentation files are installed into /usr/share/doc/itpp-4.0.0.

According to GNU Coding Standards, the default docdir setting is $(datarootdir)/doc/yourpkg, which results in /usr/share/doc/itpp. But Gentoo installs documentation packages into directories named using package versions.

To fix this problem, the configure script should be given an explicit --docdir setting.

BR,
/Adam

PS. I have not verified other itpp ebuilds, but this should be checked for at least itpp-3.10.12 (the current stable). Others (4.0.0-rc2 and 3.99.3.1) should be removed since itpp-4.0.1 stable is now available.
Comment 1 Markus Dittrich (RETIRED) gentoo-dev 2007-12-18 11:42:36 UTC
Thanks for pointing this out, Adam; I just fixed this
in the itpp-4.0.1 ebuild. I haven't had a chance to look
at 3.10.12 yet but I will do so later.

cheers,
Markus
Comment 2 Adam Piątyszek 2007-12-18 12:53:20 UTC
(In reply to comment #1)
> Thanks for pointing this out, Adam; I just fixed this
> in the itpp-4.0.1 ebuild. I haven't had a chance to look
> at 3.10.12 yet but I will do so later.

Thanks. itpp-3.10.12 is free of this problem, because at that time "--docdir" switch not existed in autoconf. I manually added support using "--with-docdir", which by default installed the documentation to /usr/share/doc/itpp-VERSION.

But, what about 4.0.0? I suggest you remove it from portage, since I do not expect regressions in 4.0.1 and it is still not marked stable on any architecture.

BR,
/Adam
Comment 3 Markus Dittrich (RETIRED) gentoo-dev 2007-12-19 15:06:33 UTC
I'll remove 4.0.0 soon but I'd like to keep it around for another
week or so just to be sure. Most people will pull in 4.0.1 and
should be fine.

Markus