[Top][All Lists]

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

[bug#26988] Add desktop-file-utils to all gtk applications

From: 宋文武
Subject: [bug#26988] Add desktop-file-utils to all gtk applications
Date: Tue, 04 Jul 2017 19:40:39 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

A profile hook checks manifest entries for some condition, then usually
adding a item to the profile's united output.

In case of the current 'xdg-desktop-database', it checks if any entry
has a reference of glib, then adding the 'mimeinfo.cache' to the

So, ...

Danny Milosavljevic <address@hidden> writes:

> Hi 宋文武,
> On Mon, 03 Jul 2017 23:32:11 +0800
> address@hidden (宋文武) wrote:
>> >> GTK+ and Qt, it won't catch some cases where we add the ".desktop" file
>> >> manually such as "rxvt-unicode".
> How about just adding desktop-file-utils as a native-input to rxvt-unicode 
> (and other few special cases) with a comment saying that's because of the 
> desktop file?

In the sitution where you have rxvt-unicode but not any glib based
applications in your profile, this will ensure the 'mimeinfo.cache' got
built.  But since there are no glib based things, I guess it won't be used.

>> So I end up with modify the profile hook to test for GLib, it should
>> work in most cases.
> Glib is a basic C library that hasn't much to do with GUI.  I think that if 
> you check for glib you'll run the hook for system daemons, dbus etc.

Yeah, the hook only run once for all the packages in the profile.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]