Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 443950

Summary: dev-cpp/cairomm-1.10.0 USE="doc" installs documentation outside /usr/share/doc/$PF
Product: Gentoo Linux Reporter: Chris Mayo <aklhfex>
Component: New packagesAssignee: GNOME C++ Bindings Maintainers (OBSOLETE) <gnome-mm+disabled>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Chris Mayo 2012-11-19 20:26:53 UTC
$ ls /usr/share/doc/cairomm-1.*
/usr/share/doc/cairomm-1.0:
reference

/usr/share/doc/cairomm-1.10.0:
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/Makefile.in || die "sed failed"
Comment 1 Pacho Ramos gentoo-dev 2013-09-29 11:05:35 UTC
+  29 Sep 2013; Pacho Ramos <pacho@gentoo.org> 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.