Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 312363
Collapse All | Expand All

(-)gnome2.eclass (-1 / +12 lines)
Lines 67-73 Link Here
67
67
68
	# Prevent a QA warning
68
	# Prevent a QA warning
69
	if hasq doc ${IUSE} ; then
69
	if hasq doc ${IUSE} ; then
70
		G2CONF="${G2CONF} $(use_enable doc gtk-doc)"
70
		G2CONF="${G2CONF}
71
			$(use_enable doc gtk-doc)
72
			--with-html-dir=/usr/share/doc/${PF}/gtk-doc"
71
	fi
73
	fi
72
74
73
	# Avoid sandbox violations caused by misbehaving packages (bug #128289)
75
	# Avoid sandbox violations caused by misbehaving packages (bug #128289)
Lines 115-120 Link Here
115
117
116
	# Make sure this one doesn't get in the portage db
118
	# Make sure this one doesn't get in the portage db
117
	rm -fr "${D}/usr/share/applications/mimeinfo.cache"
119
	rm -fr "${D}/usr/share/applications/mimeinfo.cache"
120
121
	if hasq doc ${IUSE} ; then
122
		local gtkdoc
123
		dodir "/usr/share/gtk-doc/html"
124
125
		for gtkdoc in "${D}/usr/share/doc/${PF}/gtk-doc/*"; do
126
			ln -s "../../doc/${PF}/gtk-doc/$(basename ${gtkdoc})" "${D}/usr/share/gtk-doc/html/$(basename ${gtkdoc})"
127
		done
128
	fi
118
}
129
}
119
130
120
gnome2_pkg_preinst() {
131
gnome2_pkg_preinst() {

Return to bug 312363