Changes between Initial Version and Version 1 of Ticket #45354, comment 8


Ignore:
Timestamp:
Oct 16, 2014, 8:53:30 PM (10 years ago)
Author:
dbevans (David B. Evans)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #45354, comment 8

    initial v1  
    11Confirmed that although, technically, neither glib2 nor gdkpixbuf2 depend on shared-mime-info, g_content_type_guess() does use it to guess mime type if present.  If not, it doesn't fail but falls back to either 'text/plain' if it appears to text or 'application/octet-stream' otherwise.  gdk-pixbuf2 will then fail to configure gio sniffing if shared-mime-info (including any previously cached mime data) is not available.
    22
    3 Since glib2 can't depend on shared-mime-info due to the creation of a dependency loop, this means not just gdk-pixbuf2, but any port that wants to use this gio sniffing facility, needs to have shared-mime-info in its dependency tree at run time.  Both gtk2 and gtk3 have shared-mime-info as a run time dependency so this is covered in many cases.
     3Since glib2 can't depend on shared-mime-info due to the creation of a dependency loop, this means not just gdk-pixbuf2, but any port that wants to use this gio sniffing facility, needs to have shared-mime-info in its dependency tree at run time.  Both gtk2 and gtk3 have shared-mime-info as a run time dependency so this is covered in many (but not all?) cases.
    44
    55Library dependency on shared-mime-info added to gdk-pixbuf2 and revision incremented in r126880 to ensure the presence of shared-mime-info when gdk-pixbuf2 is configured and run.