Re: file triggers in rawhide

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Kalev Lember wrote:

> On 11/30/2015 09:45 PM, Rex Dieter wrote:
>> I don't recall exactly, but I think one reason was because it would be
>> added
>> a hundred times all over.  In this particular case, we're saving .spec
>> scriptlets but (re)adding dependencies, so arguably not much
>> simplification gained.
> 
> RPM has pretty good support for autogenerating dependencies these days.
> If it turns out it makes sense to have the dependencies, I'm sure they
> can be made completely automatic without needing to manually add
> anything in individual spec files.
> 
> Although I am not sure it's worth much effort because like mclasen wrote
> above, desktop-file-utils is going to be always installed in a
> Workstation install. :)

I'm ok with it being automatic, as long as the dep is only added when really 
needed (ie, only when .desktop files include any MimeType= keys)

>> I suppose the flipside is that *something* should depend on desktop-file-
>> utils (ideally something low-level)...  maybe any library (or app) that
>> expects xdg mimetype support to be present, so for starters that could
>> include stuff like:
>> glib2, qt
>> (similar arguments can be made for update-mime-desktop and
>> gtk-update-icon- cache scriptlets)
> 
> gtk2 and gtk3 already have a hard dependency on gtk-update-icon-cache.
> Not sure if glib2 is a good place for desktop dependencies

glib (gio) is where some mime handler functions live, for example:
https://developer.gnome.org/gio/stable/gio-GContentType.html

I think it not unreasonable to expect those to "just work".

-- Rex

--
desktop mailing list
desktop@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/desktop@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Fedora Users]     [Fedora KDE]     [Fedora Announce]     [Fedora Docs]     [Fedora Config]     [PAM]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux