Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 297108 - sci-geosciences/gtk-g-rays: documentation installed outside /usr/share/doc/${PF}
Summary: sci-geosciences/gtk-g-rays: 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: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-15 23:05 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2010-07-29 11:42 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 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-12-15 23:05:27 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 Samuli Suominen (RETIRED) gentoo-dev 2010-07-29 11:42:46 UTC
>>> Installing (1 of 1) sci-geosciences/gtk-g-rays2-1.20
 * checking 22 files for package collisions
--- /usr/
--- /usr/share/
--- /usr/share/locale/
--- /usr/share/locale/en/
--- /usr/share/locale/en/LC_MESSAGES/
>>> /usr/share/locale/en/LC_MESSAGES/gtk-g-rays2.mo
--- /usr/share/doc/
>>> /usr/share/doc/gtk-g-rays2-1.20/
>>> /usr/share/doc/gtk-g-rays2-1.20/html/
>>> /usr/share/doc/gtk-g-rays2-1.20/html/grays-files.png
>>> /usr/share/doc/gtk-g-rays2-1.20/html/grays0.png
>>> /usr/share/doc/gtk-g-rays2-1.20/html/grays3.png
>>> /usr/share/doc/gtk-g-rays2-1.20/html/grays99.png
>>> /usr/share/doc/gtk-g-rays2-1.20/html/grays1.png
>>> /usr/share/doc/gtk-g-rays2-1.20/html/grays2.png
>>> /usr/share/doc/gtk-g-rays2-1.20/html/grays-files1.png
>>> /usr/share/doc/gtk-g-rays2-1.20/html/grays4.png
>>> /usr/share/doc/gtk-g-rays2-1.20/html/gtkGrays2.html
>>> /usr/share/doc/gtk-g-rays2-1.20/AUTHORS.bz2
>>> /usr/share/doc/gtk-g-rays2-1.20/gtkGrays2.pdf
>>> /usr/share/doc/gtk-g-rays2-1.20/ChangeLog.bz2
>>> /usr/share/doc/gtk-g-rays2-1.20/wbt201.defaults.txt
>>> /usr/share/doc/gtk-g-rays2-1.20/README.bz2
--- /usr/share/applications/
>>> /usr/share/applications/gtk-g-rays2.desktop
>>> /usr/share/gtk-g-rays2/
>>> /usr/share/gtk-g-rays2/gtk-g-rays2.glade
>>> /usr/share/gtk-g-rays2/gps201.png
>>> /usr/share/gtk-g-rays2/gps201_icon.png
--- /usr/share/icons/
--- /usr/share/icons/hicolor/
--- /usr/share/icons/hicolor/48x48/
--- /usr/share/icons/hicolor/48x48/apps/
>>> /usr/share/icons/hicolor/48x48/apps/gtk-g-rays2.png
--- /usr/bin/
>>> /usr/bin/gtk-g-rays2
>>> /usr/bin/g-rays2-rfcomm.sh
 * Updating icons cache ...