Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 443950 - dev-cpp/cairomm-1.10.0 USE="doc" installs documentation outside /usr/share/doc/$PF
Summary: dev-cpp/cairomm-1.10.0 USE="doc" installs documentation outside /usr/share/do...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: GNOME C++ Bindings Maintainers (OBSOLETE)
Depends on:
Reported: 2012-11-19 20:26 UTC by Chris Mayo
Modified: 2015-03-06 01:56 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Chris Mayo 2012-11-19 20:26:53 UTC
$ ls /usr/share/doc/cairomm-1.*

AUTHORS.bz2  ChangeLog.bz2  NEWS.bz2  README.bz2

Fixed for me by adding to src_prepare():

sed -i 's:libdocdir = \$(datarootdir)/doc/\$(book_name):libdocdir = /usr/share/doc/${PF}:' docs/ || die "sed failed"
Comment 1 Pacho Ramos gentoo-dev 2013-09-29 11:05:35 UTC
+  29 Sep 2013; Pacho Ramos <> cairomm-1.10.0.ebuild:
+  Fix docs installation patch, #443950 by Chris Mayo
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2015-03-06 01:56:55 UTC
This fix is wrong because it breaks html links in gtkmm documentation, which are determined at gtkmm's build time, and therefore must not change when cairomm is version- or revision-bumped.

Just like with gtk-docs, the *mm packages need to install their doxygen API docs in a fixed location determined by the upstream build system.

I will be reverting this in cairomm-1.10.0-r1.