Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 385112 Details for
Bug 518422
dev-libs/glib and all packages which install gio modules should run gio-querymodules in pkg_postinst() phase
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
glib-2.40.0-r1.ebuild.patch
glib-2.40.0-r1.ebuild.patch (text/plain), 1019 bytes, created by
Alexander Tsoy
on 2014-09-19 12:21:56 UTC
(
hide
)
Description:
glib-2.40.0-r1.ebuild.patch
Filename:
MIME Type:
Creator:
Alexander Tsoy
Created:
2014-09-19 12:21:56 UTC
Size:
1019 bytes
patch
obsolete
>--- glib-2.40.0-r1.ebuild.orig 2014-09-15 12:31:06.000000000 +0400 >+++ glib-2.40.0-r1.ebuild 2014-09-19 16:09:44.538614560 +0400 >@@ -64,6 +64,10 @@ > > DOCS="AUTHORS ChangeLog* NEWS* README" > >+MULTILIB_CHOST_TOOLS=( >+ /usr/bin/gio-querymodules >+) >+ > pkg_setup() { > if use kernel_linux ; then > CONFIG_CHECK="~INOTIFY_USER" >@@ -270,6 +274,12 @@ > } > > pkg_postinst() { >+ multilib_pkg_postinst() { >+ einfo "Generating GIO modules cache..." >+ ${CHOST}-gio-querymodules "${EROOT}/usr/$(get_libdir)/gio/modules" >+ } >+ multilib_foreach_abi multilib_pkg_postinst >+ > if has_version '<x11-libs/gtk+-3.0.12:3'; then > # To have a clear upgrade path for gtk+-3.0.x users, have to resort to > # a warning instead of a blocker >@@ -278,3 +288,11 @@ > ewarn "You should upgrade to a newer version of gtk+:3 immediately." > fi > } >+ >+pkg_prerm() { >+ multilib_pkg_prerm() { >+ einfo "Removing GIO modules cache..." >+ rm -f "${EROOT}/usr/$(get_libdir)/gio/modules/giomodule.cache" >+ } >+ multilib_foreach_abi multilib_pkg_prerm >+}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 518422
:
381746
| 385112 |
385122