From: iyzsong@member.fsf.org (宋文武)
To: Marius Bakke <mbakke@fastmail.com>
Cc: 26988-done@debbugs.gnu.org
Subject: bug#26988: Add desktop-file-utils to all gtk applications
Date: Mon, 03 Jul 2017 23:32:11 +0800 [thread overview]
Message-ID: <87eftx1qpw.fsf@member.fsf.org> (raw)
In-Reply-To: <87efvj549b.fsf@fastmail.com> (Marius Bakke's message of "Sun, 21 May 2017 04:32:16 +0200")
Marius Bakke <mbakke@fastmail.com> writes:
> Marius Bakke <mbakke@fastmail.com> writes:
>
>> Danny Milosavljevic <dannym@scratchpost.org> writes:
>>
>>> Hi Marius,
>>> Hi 宋文武,
Hello Marius and Danny,
>>> Marius Bakke <mbakke@fastmail.com> wrote:
>>>
>>>> Danny Milosavljevic <dannym@scratchpost.org> writes:
>>>>
>>>> > these are two patches I propose we add in order to add
>>>> > desktop-file-utils to all gtk applications. This means that the
>>>> > profile hook would pick up the desktop files (as soon as possible).
>>>>
>>>> So if I read (guix profiles) correctly, the hook only runs when
>>>> 'desktop-file-utils' is referenced. Would checking for a gtk reference
>>>> as well not achieve the same effect? Or is that too expensive?
Yes, it will work better. It's expensive slightly by adding the
latest version of desktop-file-utils into the profile closure, but
the 'xdg-mime-database' does that already.
>>> [...]
>>
>> IIUC, the idea is to run the hook every time a package with a ".desktop"
>> file has changed. Even if we propagate "desktop-file-utils" from say,
>> GTK+ and Qt, it won't catch some cases where we add the ".desktop" file
>> manually such as "rxvt-unicode".
Yes, but normally one would have other applications that using GTK+ or
GLib, which will make the hook run.
So I end up with modify the profile hook to test for GLib, it should
work in most cases.
Thanks for the patches!
next prev parent reply other threads:[~2017-07-03 15:38 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-18 21:01 bug#26988: Add desktop-file-utils to all gtk applications Danny Milosavljevic
2017-05-18 21:07 ` bug#26988: [PATCH] gnu: Move desktop-file-utils to (gnu packages freedesktop) Danny Milosavljevic
2017-05-18 21:19 ` bug#26988: [PATCH] gnu: gtk+-2: Add desktop-file-utils to propagated-inputs Danny Milosavljevic
2017-05-19 23:05 ` bug#26988: Add desktop-file-utils to all gtk applications Marius Bakke
2017-05-20 13:04 ` Danny Milosavljevic
2017-05-20 23:00 ` Marius Bakke
2017-05-21 2:32 ` Marius Bakke
2017-07-03 15:32 ` 宋文武 [this message]
2017-07-03 17:08 ` [bug#26988] " Danny Milosavljevic
2017-07-04 11:40 ` 宋文武
2017-06-05 19:22 ` bug#26988: [PATCH v2 0/2] " Danny Milosavljevic
2017-06-05 19:22 ` bug#26988: [PATCH v2 1/2] gnu: Move desktop-file-utils to (gnu packages freedesktop) Danny Milosavljevic
2017-06-15 8:27 ` [bug#26988] " Danny Milosavljevic
2017-06-05 19:22 ` bug#26988: [PATCH v2 2/2] gnu: gtk+-2: Add desktop-file-utils to propagated-inputs Danny Milosavljevic
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87eftx1qpw.fsf@member.fsf.org \
--to=iyzsong@member.fsf.org \
--cc=26988-done@debbugs.gnu.org \
--cc=mbakke@fastmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.