[Fedora-packaging] shared-mime-info inconsistencies

Matthias Clasen mclasen at redhat.com
Tue May 25 19:50:31 UTC 2010

On Tue, 2010-05-25 at 20:57 +0200, Michel Alexandre Salim wrote:
> According to http://fedoraproject.org/wiki/Packaging:ScriptletSnippets#mimeinfo
> packages should not depend on shared-mime-info, but instead only
> update its database if it happens to be installed. I would expect
> shared-mime-info to be pulled in by either specifying it in comps.xml
> or as a dependency to gvfs (on GNOME) or its KDE equivalent, but
> instead it is required by gnome-vfs2 (which should not pull it in
> anymore, now that we have gvfs) as well as PackageKit, several
> NetworkManager subpackages, and several other applications.
> Should we consider these packaging bugs? I'd file the bugs and fix
> them, but first we probably need to decide on what is the right way to
> pull in shared-mime-info on a normal installation, and ensuring that a
> fix does not break upgrades.

There is a big difference between a package like gedit, which just adds
information about its supported mime types, and gvfs or PackageKit,
which rely on the mime database for a core part of their functionality.

More information about the devel mailing list