[MacPorts] #45354: gdk-pixbuf2 @2.31.1 Hidden dependency on shared-mime-info

MacPorts noreply at macports.org
Wed Oct 15 12:40:26 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  |
--------------------------+----------------------

Comment (by ryandesign@…):

 Replying to [comment:5 bgilbert@…]:
 > It turns out that `shared-mime-info` doesn't delete its cache files when
 it is uninstalled (filed as #45396), so removing it is not enough to get
 your system back to a pristine state.  That explains why GIO content
 sniffing is enabled during gdk-pixbuf builds: the builders have had
 `shared-mime-info` installed ''at some point in the past''.

 Good catch!

 Replying to [ticket:45354 bgilbert@…]:
 > Possible fixes:
 >
 > 1. Add a `shared-mime-info` dependency to `glib2`, since GIO is really
 the component that uses the `shared-mime-info` database.

 Can't: shared-mime-info already depends on glib2, so glib2 cannot depend
 on shared-mime-info because circular dependencies are not supported.

 > 2. Add a `shared-mime-info` dependency to `gdk-pixbuf2`, and either
 build-depend on `shared-mime-info` or configure with `--enable-gio-
 sniffing`.

 This sounds reasonable. It would want to be a library dependency though.
 Just listing a build dependency won't get the port installed, in the event
 that a binary from our server is used.

-- 
Ticket URL: <https://trac.macports.org/ticket/45354#comment:7>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list