Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 518422 | Differences between
and this patch

Collapse All | Expand All

(-)glib-2.40.0-r1.ebuild.orig (+18 lines)
Lines 64-69 Link Here
64
64
65
DOCS="AUTHORS ChangeLog* NEWS* README"
65
DOCS="AUTHORS ChangeLog* NEWS* README"
66
66
67
MULTILIB_CHOST_TOOLS=(
68
	/usr/bin/gio-querymodules
69
)
70
67
pkg_setup() {
71
pkg_setup() {
68
	if use kernel_linux ; then
72
	if use kernel_linux ; then
69
		CONFIG_CHECK="~INOTIFY_USER"
73
		CONFIG_CHECK="~INOTIFY_USER"
Lines 270-275 Link Here
270
}
274
}
271
275
272
pkg_postinst() {
276
pkg_postinst() {
277
	multilib_pkg_postinst() {
278
		einfo "Generating GIO modules cache..."
279
		${CHOST}-gio-querymodules "${EROOT}/usr/$(get_libdir)/gio/modules"
280
	}
281
	multilib_foreach_abi multilib_pkg_postinst
282
273
	if has_version '<x11-libs/gtk+-3.0.12:3'; then
283
	if has_version '<x11-libs/gtk+-3.0.12:3'; then
274
		# To have a clear upgrade path for gtk+-3.0.x users, have to resort to
284
		# To have a clear upgrade path for gtk+-3.0.x users, have to resort to
275
		# a warning instead of a blocker
285
		# a warning instead of a blocker
Lines 278-280 Link Here
278
		ewarn "You should upgrade to a newer version of gtk+:3 immediately."
288
		ewarn "You should upgrade to a newer version of gtk+:3 immediately."
279
	fi
289
	fi
280
}
290
}
291
292
pkg_prerm() {
293
	multilib_pkg_prerm() {
294
		einfo "Removing GIO modules cache..."
295
		rm -f "${EROOT}/usr/$(get_libdir)/gio/modules/giomodule.cache"
296
	}
297
	multilib_foreach_abi multilib_pkg_prerm
298
}

Return to bug 518422