[MacPorts] #45354: gdk-pixbuf2 @2.31.1 Hidden dependency on shared-mime-info
MacPorts
noreply at macports.org
Tue Oct 14 15:07:23 PDT 2014
#45354: gdk-pixbuf2 @2.31.1 Hidden dependency on shared-mime-info
--------------------------+----------------------
Reporter: bgilbert@… | Owner: devans@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: gdk-pixbuf2 |
--------------------------+----------------------
Changes (by devans@…):
* cc: ryandesign@… (added)
* version: 2.3.1 =>
Comment:
I've taken a look at this issue and so far have not been able to establish
any dependency on shared-mime-info hidden or not.
As you've said, as currently configured, gdk-pixbuf auto-configures
whether or not to use gio sniffing based on a test program that calls two
gio functions, g_content_type_guess() and g_content_type_from_mime_type()
using an inline png test image. If both routines return the same result
then the gdk-pixbuf gio code is enabled. If not, gdk-pixbuf uses another
approach using internal data for guessing the mime type.
I thought perhaps this meant that glib (home of gio) depended on share-
mime-info as you imply but this appears not to be the case either.
In my final test, I did a clean build of glib2 and gdk-pixbuf2 by first
deactivating all installed ports, then doing a forced rebuild of glib2 and
gdk-pixbuf2 in that sequence. I have confirmed that shared-mime-info is
not active at any time during this process and yet the gdk-pixbuf2
configuration test passed and gio sniffing was enabled in gdk-pixbuf2.
So, unless you have further evidence to the contrary, I don't think there
is anything to be done here.
--
Ticket URL: <https://trac.macports.org/ticket/45354#comment:3>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list