| Summary: | dev-util/qmtest: documentation installed outside /usr/share/doc/${PF} | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
| Component: | New packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
*** Bug 295207 has been marked as a duplicate of this bug. *** Index: qmtest-2.4.1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-util/qmtest/qmtest-2.4.1.ebuild,v
retrieving revision 1.4
diff -u -B -r1.4 qmtest-2.4.1.ebuild
--- qmtest-2.4.1.ebuild 7 Apr 2011 19:34:23 -0000 1.4
+++ qmtest-2.4.1.ebuild 12 May 2011 00:19:57 -0000
@@ -29,4 +29,8 @@
src_install() {
distutils_src_install
find "${D}" -name config.py -print0 | xargs -0 sed -i "s:${D}:/usr:"
+ dodir /usr/share/doc/${PF}
+ rm -r "${D}"/usr/share/doc/${PN}/{COPYING,LICENSE.OPL} || die
+ mv "${D}"/usr/share/doc/${PN}/* "${D}"/usr/share/doc/${PF} || die
+ rm -r "${D}"/usr/share/doc/${PN} || die
}
+ 12 May 2011; Michael Weber <xmw@gentoo.org> qmtest-2.4.1.ebuild:
+ fixing /usr/share/doc/, bug 241282
+
|
[snip] ./usr/share/doc/qmtest/html/tutorial/extending-test-classes.html ./usr/share/doc/qmtest/html/tutorial/reference-config-file.html ./usr/share/doc/qmtest/html/tutorial/extending-database-classes.html ./usr/share/doc/qmtest/html/tutorial/concepts-context.html ./usr/share/doc/qmtest/html/tutorial/command-run.html ./usr/share/doc/qmtest/html/tutorial/command-create.html ./usr/share/doc/qmtest/html/tutorial/command-report.html ./usr/share/doc/qmtest/print/ ./usr/share/doc/qmtest/print/tutorial.pdf ./usr/share/doc/qmtest/examples/ ./usr/share/doc/qmtest/examples/xml_tdb/ ./usr/share/doc/qmtest/examples/xml_tdb/suite.qms ./usr/share/doc/qmtest/examples/xml_tdb/exec2.qmt ./usr/share/doc/qmtest/examples/xml_tdb/exec0.qmt ./usr/share/doc/qmtest/examples/xml_tdb/exec1.qmt ./usr/share/doc/qmtest/examples/xml_tdb/QMTest/ ./usr/share/doc/qmtest/examples/xml_tdb/QMTest/configuration ./usr/share/doc/qmtest/examples/compilation_tdb/ ./usr/share/doc/qmtest/examples/compilation_tdb/first.cc ./usr/share/doc/qmtest/examples/compilation_tdb/third.cxx ./usr/share/doc/qmtest/examples/compilation_tdb/context ./usr/share/doc/qmtest/examples/compilation_tdb/second.c ./usr/share/doc/qmtest/examples/compilation_tdb/expectations.qme ./usr/share/doc/qmtest/examples/compilation_tdb/subdir/ ./usr/share/doc/qmtest/examples/compilation_tdb/subdir/test.cc ./usr/share/doc/qmtest/examples/compilation_tdb/QMTest/ ./usr/share/doc/qmtest/examples/compilation_tdb/QMTest/configuration dev-util/qmtest-2.4.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