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.
Thanks,
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.
On Tue, May 25, 2010 at 9:50 PM, Matthias Clasen mclasen@redhat.com wrote:
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.
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.
gvfs does not depend on shared-mime-info, though. gnome-vfs2 does (is it needed?). Also, do the various NetworkManager packages need to depend on s-m-i?
Thanks,
devel@lists.stg.fedoraproject.org