From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33029) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dS4qR-0007Em-TZ for guix-patches@gnu.org; Mon, 03 Jul 2017 13:09:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dS4qM-0003zs-48 for guix-patches@gnu.org; Mon, 03 Jul 2017 13:09:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:47902) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dS4qM-0003zU-0q for guix-patches@gnu.org; Mon, 03 Jul 2017 13:09:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dS4qL-0005Hb-LM for guix-patches@gnu.org; Mon, 03 Jul 2017 13:09:01 -0400 Subject: [bug#26988] Add desktop-file-utils to all gtk applications Resent-Message-ID: Date: Mon, 3 Jul 2017 19:08:20 +0200 From: Danny Milosavljevic Message-ID: <20170703190820.473d59c4@scratchpost.org> In-Reply-To: <87eftx1qpw.fsf@member.fsf.org> References: <20170518230111.53a91ffe@scratchpost.org> <87inkwa1n1.fsf@fastmail.com> <20170520150411.21c3e0aa@scratchpost.org> <87h90f5e2h.fsf@fastmail.com> <87efvj549b.fsf@fastmail.com> <87eftx1qpw.fsf@member.fsf.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Cc: 26988-done@debbugs.gnu.org Hi =E5=AE=8B=E6=96=87=E6=AD=A6, On Mon, 03 Jul 2017 23:32:11 +0800 iyzsong@member.fsf.org (=E5=AE=8B=E6=96=87=E6=AD=A6) wrote: > >> GTK+ and Qt, it won't catch some cases where we add the ".desktop" file > >> manually such as "rxvt-unicode". =20 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 d= esktop file? > 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. Glib is basically the runtime library that makes C sane to use for any purp= ose. Also, desktop-file-utils itself requires glib so make sure you don't enter = an endless loop :)