Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 241262 - app-text/highlight: documentation installed outside /usr/share/doc/${PF}
Summary: app-text/highlight: 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: TeX project
URL:
Whiteboard:
Keywords:
: 294284 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-10-11 10:38 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2010-06-19 08:16 UTC (History)
1 user (show)

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


Attachments
qlist output (list.txt,7.56 KB, text/plain)
2010-04-21 16:07 UTC, onip
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-10-11 10:38:21 UTC
./usr/share/doc/highlight/
./usr/share/doc/highlight/examples/
./usr/share/doc/highlight/examples/plugins/
./usr/share/doc/highlight/examples/plugins/dokuwiki/
./usr/share/doc/highlight/examples/plugins/dokuwiki/syntax.php
./usr/share/doc/highlight/examples/plugins/movabletype/
./usr/share/doc/highlight/examples/plugins/movabletype/README
./usr/share/doc/highlight/examples/plugins/movabletype/highlight.pl
./usr/share/doc/highlight/examples/plugins/wordpress/
./usr/share/doc/highlight/examples/plugins/wordpress/README
./usr/share/doc/highlight/examples/plugins/wordpress/highlight.php
./usr/share/doc/highlight/examples/swig/
./usr/share/doc/highlight/examples/swig/testmod.py
./usr/share/doc/highlight/examples/swig/testmod.pl
./usr/share/doc/highlight/examples/swig/highlight.i
./usr/share/doc/highlight/examples/swig/makefile
./usr/share/doc/highlight/examples/highlight_pipe.php
./usr/share/doc/highlight/examples/highlight_pipe.pm
./usr/share/doc/highlight/examples/highlight_pipe.py
./usr/share/doc/highlight/AUTHORS
./usr/share/doc/highlight/README
./usr/share/doc/highlight/README_DE
./usr/share/doc/highlight/README_INDENT
./usr/share/doc/highlight/README_REGEX
./usr/share/doc/highlight/README_LANGLIST
./usr/share/doc/highlight/ChangeLog
./usr/share/doc/highlight/COPYING
./usr/share/doc/highlight/INSTALL
./usr/share/doc/highlight/README_SWIG
app-text/highlight-2.6.10.tbz2


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 2009-06-09 23:09:49 UTC
Diego, these files are used from the GUI (USE=qt4) directly and can't be packed because of it. At least, readme, changelog and license.. (They are in the menus)

I'll leave this open for you to decide..
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-02-24 20:37:01 UTC
*** Bug 294284 has been marked as a duplicate of this bug. ***
Comment 3 onip 2010-04-21 16:07:49 UTC
Created attachment 228641 [details]
qlist output

Every file, not only documentation, is not prefixed with /usr .
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2010-06-19 08:16:48 UTC
(In reply to comment #3)
> Created an attachment (id=228641) [details]
> qlist output
> 
> Every file, not only documentation, is not prefixed with /usr .
> 

That was bug 323103 which got falsely fixed without revision bump. :-/

Anyway, this bug is now fixed in 3.0_beta