Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 295315 - app-misc/muttprint: documentation installed outside /usr/share/doc/${PF}
Summary: app-misc/muttprint: 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
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-01 12:59 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2009-12-03 18:38 UTC (History)
0 users

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


Attachments
fix for muttprint-0.72d-r1.ebuild (muttprint-doc.diff,349 bytes, patch)
2009-12-03 18:04 UTC, Thomas Beierlein
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2009-12-01 12:59:03 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 Dawid Węgliński (RETIRED) gentoo-dev 2009-12-03 02:22:02 UTC
Diego, how did you figured it out?

sapphire doc # pwd
/var/tmp/portage/app-misc/muttprint-0.72d-r1/image/usr/share/doc
sapphire doc # ls -l
drwxr-xr-x 2 root root 4096 2009-12-03 03:18 muttprint-0.72d
sapphire doc #
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-12-03 13:04:30 UTC
Note the missing -r1?
Comment 3 Thomas Beierlein gentoo-dev 2009-12-03 18:04:57 UTC
Created attachment 211886 [details, diff]
fix for muttprint-0.72d-r1.ebuild

Simple fix ${P} should be ${PF}.
Comment 4 Víctor Ostorga (RETIRED) gentoo-dev 2009-12-03 18:38:04 UTC
+  03 Dec 2009; Víctor Ostorga <vostorga@gentoo.org>
+  muttprint-0.72d-r1.ebuild:
+  Fixing documentation path, patch thanks to Thomas Beierlein
+  <tb@forth-ev.de> bug #295315