[MacPorts] #44165: Incomplete mpkg of gtk2 port
MacPorts
noreply at macports.org
Sat Jun 28 17:38:24 PDT 2014
#44165: Incomplete mpkg of gtk2 port
----------------------------------+--------------------------------
Reporter: manuel.op.de.coul@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.0
Resolution: | Keywords:
Port: gtk2 |
----------------------------------+--------------------------------
Comment (by ctreleaven@…):
I notice that gtk2 includes the following post-activate block which will
NOT be executed in the mpkg:
{{{
113 post-activate {
114 ui_debug "Updating gdk-pixbuf.loaders..."
115 system "${prefix}/bin/gdk-pixbuf-query-loaders \
116 >${prefix}/etc/gtk-2.0/gdk-pixbuf.loaders"
117 ui_debug "Updating immodules.cache..."
118 system "${prefix}/bin/gtk-query-immodules-2.0 --update-cache"
119 }
}}}
Perhaps one of these steps does some magic with the mime files?
In addition, any post-activate code in any dependency will also not have
been performed. You'll need to spleunk around to find out what each of
the ports does and then do it manually. I think this is documented
somewhere but it really should be shouted out in bold caps. Wonder if
there is a ticket about enhancing the packaging code to allow us to do
this sort of stuff at install time?
--
Ticket URL: <https://trac.macports.org/ticket/44165#comment:3>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list