Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 299332 - net-p2p/giftui: documentation installed outside /usr/share/doc/${PF}
Summary: net-p2p/giftui: documentation installed outside /usr/share/doc/${PF}
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-02 12:59 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2010-06-19 07:54 UTC (History)
0 users

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 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-01-02 12:59:41 UTC
You're getting this bug because the package in summary installs its documentation (or at least part of it) outside the usual /usr/share/doc/${PF} directory.

First, please keep in mind that this bug might not be noticeable for -r0 ebuilds, but it might be for -r1 and later, since if the ebuild has same name and version of the package, for -r0 it might correspond properly.

To fix this, if the package uses autotools, recent version (autoconf 2.61+) have two ./configure switches: --docdir and --htmldir to decide where to put the documentation. Older versions might require you override docdir/htmldir or other custom variables during make install.

For non-autotooled build systems, good luck, since I cannot tell you how to achieve the proper results, the same holds true with totally broken buildsystems even when based on autotools.

Thanks,
Diego
Comment 1 Stanislav Ochotnicky (RETIRED) gentoo-dev 2010-06-18 20:04:06 UTC
Hmm, I emerged this package and this is what I get:
# qlist giftui
/usr/share/doc/giftui-0.4.1/COPYING
/usr/share/doc/giftui-0.4.1/ChangeLog
/usr/share/doc/giftui-0.4.1/TODO
/usr/share/doc/giftui-0.4.1/AUTHORS
/usr/share/doc/giftui-0.4.1/NEWS
/usr/share/doc/giftui-0.4.1/README
/usr/share/pixmaps/giftui.png
/usr/share/applications/giftui.desktop
/usr/share/giftui/icons/opennap-network.png
/usr/share/giftui/icons/openft-down.png
/usr/share/giftui/icons/fasttrack-search.png
/usr/share/giftui/icons/fasttrack-up.png
/usr/share/giftui/icons/gnutella-up.png
/usr/share/giftui/icons/opennap-up.png
/usr/share/giftui/icons/opennap-search.png
/usr/share/giftui/icons/fasttrack-network.png
/usr/share/giftui/icons/openft-network.png
/usr/share/giftui/icons/gnutella-down.png
/usr/share/giftui/icons/openft-up.png
/usr/share/giftui/icons/opennap-down.png
/usr/share/giftui/icons/openft-search.png
/usr/share/giftui/icons/gnutella-network.png
/usr/share/giftui/icons/gnutella-search.png
/usr/share/giftui/icons/fasttrack-down.png
/usr/bin/giftui
/etc/gconf/schemas/giftui.schemas

I don't see anything out of ordinary. Perhaps there is something I am missing?
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-06-19 00:21:20 UTC
It's installing in ../doc/${P} rather than ../doc/${PF}, it's missing -r1.
Comment 3 Stanislav Ochotnicky (RETIRED) gentoo-dev 2010-06-19 07:38:45 UTC
You're right, should have realized...Thanks
Comment 4 Stanislav Ochotnicky (RETIRED) gentoo-dev 2010-06-19 07:54:17 UTC
Fixed in -r2