Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 116658 - dev-cpp/gtkmm doc issues
Summary: dev-cpp/gtkmm doc issues
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: GNOME C++ Bindings Maintainers (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-24 17:52 UTC by Carsten Lohrke (RETIRED)
Modified: 2006-10-28 17:19 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 Carsten Lohrke (RETIRED) gentoo-dev 2005-12-24 17:52:14 UTC
I'm using gtkmm-2.4.11 and noticed two doc related issues with it: It installs the documentation in  /usr/share/doc/gtkmm-2.4/docs instead /usr/share/doc/${PF} as it should and moreover it installs 40MB of docs I'm not interested in at all.

Adding doc to IUSE and the code below to the ebuild worked fine for me and should work with the latest ebuild as well. It would be nice, if you'd apply it.

src_unpack() {
	unpack ${A}
	if ! use doc ; then
		local SUBDIRS=$(grep "SUBDIRS =.*docs" ${S}/Makefile.in)
		sed -i -e "s:${SUBDIRS}:${SUBDIRS/docs/}:" ${S}/Makefile.in
	fi
}
Comment 1 David Wang 2006-05-25 19:33:56 UTC
I've tested this on gtkmm-2.8.1, and it mostly works.  It still creates /usr/share/doc/gtkmm-2.4/tests, which can be fixed by changing the sed line to:

sed -i -e "s:${SUBDIRS}:${SUBDIRS/docs tests/}:" ${S}/Makefile.in
Comment 2 Gioele Barabucci 2006-10-12 04:45:29 UTC
The problem is still there with gtkmm 2.8.3.
32MB of unwanted documentation even when USE=-doc= is used.

Is it possible to integrate these changes into the current ebuild?
Comment 3 John N. Laliberte (RETIRED) gentoo-dev 2006-10-28 17:08:29 UTC
the 2.10.x series has a doc switch that is integrated with configure.
Comment 4 Carsten Lohrke (RETIRED) gentoo-dev 2006-10-28 17:19:33 UTC
Hooray! :)