Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 294279 - dev-libs/libindicate: documentation installed outside /usr/share/doc/${PF}
Summary: dev-libs/libindicate: 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: Romain Perier (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-23 19:22 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2009-12-19 16:53 UTC (History)
2 users (show)

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


Attachments
libindicate-0.2.3.diff (libindicate-0.2.3.diff,492 bytes, patch)
2009-12-06 00:56 UTC, Daniel Pielmeier
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-11-23 19:22:49 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 Romain Perier (RETIRED) gentoo-dev 2009-11-23 22:35:07 UTC
+23 Nov 2009; Romain Perier <mrpouet@gentoo.org>
+  libindicate-0.2.3.ebuild,
+  files/libindicate-0.2.3-optional-gtk-support.patch:
+  Fix bug #294279, skip test programs installed in /usr/libexec and respect
+  $PF for examples code, many thanks to Flameeyes.

Fixed without a bump ;)
Comment 2 Daniel Pielmeier gentoo-dev 2009-12-06 00:56:41 UTC
Created attachment 212194 [details, diff]
libindicate-0.2.3.diff

docdir is needed independent of USE="-doc"
Comment 3 Daniel Pielmeier gentoo-dev 2009-12-06 00:57:10 UTC
See above patch.
Comment 4 Romain Perier (RETIRED) gentoo-dev 2009-12-19 16:53:22 UTC
+*libindicate-0.2.3-r1 (19 Dec 2009)
+
+  19 Dec 2009; Romain Perier <mrpouet@gentoo.org>
+  +libindicate-0.2.3-r1.ebuild:                  
+  Fix bug #294279, put --docdir unconditionnally in my_conf (due to example
+  code installed all the time). thanks to Daniel Pielmeier.

Fixed (really this time), sorry for the noise :)