GNU bug report logs - #29521
[PATCH] gnu: gnome-default-applications: Change defaults.list to gnome-mimeapps.list.

Previous Next

Package: guix-patches;

Reported by: Brendan Tildesley <brendan.tildesley <at> openmailbox.org>

Date: Fri, 1 Dec 2017 16:19:02 UTC

Severity: normal

Tags: patch

Done: Marius Bakke <mbakke <at> fastmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 29521 in the body.
You can then email your comments to 29521 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#29521; Package guix-patches. (Fri, 01 Dec 2017 16:19:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Brendan Tildesley <brendan.tildesley <at> openmailbox.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 01 Dec 2017 16:19:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Brendan Tildesley <brendan.tildesley <at> openmailbox.org>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: gnome-default-applications: Change defaults.list to
 gnome-mimeapps.list.
Date: Fri,  1 Dec 2017 14:14:06 +1100
* gnu/packages/gnome.scm (gnome-default-applications)

[arguments]: Change deprecated defaults.list filename to gnome-mimeapps.list.
The old defaults.list was changed to mimeapps.list in the mime spec. The
gnome- prefix makes the file only be read when XDG_CURRENT_DESKTOP=GNOME.
---
 gnu/packages/gnome.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 9a46495f1..b02e2a567 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -5879,7 +5879,7 @@ software that do not provide their own configuration interface.")
          (let* ((out (assoc-ref %outputs "out"))
                 (apps (string-append out "/share/applications")))
            (mkdir-p apps)
-           (call-with-output-file (string-append apps "/defaults.list")
+           (call-with-output-file (string-append apps "/gnome-mimeapps.list")
              (lambda (port)
                (format port "[Default Applications]\n")
                (format port "inode/directory=org.gnome.Nautilus.desktop\n")))
-- 
2.15.0





Information forwarded to guix-patches <at> gnu.org:
bug#29521; Package guix-patches. (Tue, 05 Dec 2017 12:34:02 GMT) Full text and rfc822 format available.

Message #8 received at 29521 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Brendan Tildesley <brendan.tildesley <at> openmailbox.org>
Cc: 29521 <at> debbugs.gnu.org
Subject: Re: [bug#29521] [PATCH] gnu: gnome-default-applications: Change
 defaults.list to gnome-mimeapps.list.
Date: Tue, 05 Dec 2017 13:33:15 +0100
Hi Brendan,

Brendan Tildesley <brendan.tildesley <at> openmailbox.org> skribis:

> * gnu/packages/gnome.scm (gnome-default-applications)
>
> [arguments]: Change deprecated defaults.list filename to gnome-mimeapps.list.
> The old defaults.list was changed to mimeapps.list in the mime spec. The
> gnome- prefix makes the file only be read when XDG_CURRENT_DESKTOP=GNOME.

So is ‘defaults.list’ currently ignored?  Or will it be ignored in the
future?

Also, what if XDG_CURRENT_DESKTOP is unset, as is probably the case
currently?

Anyway, thanks for looking into it!

Ludo’.




Information forwarded to guix-patches <at> gnu.org:
bug#29521; Package guix-patches. (Fri, 22 Dec 2017 09:03:02 GMT) Full text and rfc822 format available.

Message #11 received at 29521 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Brendan Tildesley <brendan.tildesley <at> openmailbox.org>
Cc: 29521 <at> debbugs.gnu.org
Subject: Re: [bug#29521] [PATCH] gnu: gnome-default-applications: Change
 defaults.list to gnome-mimeapps.list.
Date: Fri, 22 Dec 2017 10:02:46 +0100
Hello,

ludo <at> gnu.org (Ludovic Courtès) skribis:

> Brendan Tildesley <brendan.tildesley <at> openmailbox.org> skribis:
>
>> * gnu/packages/gnome.scm (gnome-default-applications)
>>
>> [arguments]: Change deprecated defaults.list filename to gnome-mimeapps.list.
>> The old defaults.list was changed to mimeapps.list in the mime spec. The
>> gnome- prefix makes the file only be read when XDG_CURRENT_DESKTOP=GNOME.
>
> So is ‘defaults.list’ currently ignored?  Or will it be ignored in the
> future?
>
> Also, what if XDG_CURRENT_DESKTOP is unset, as is probably the case
> currently?

Ping!  :-)

Ludo’.




Information forwarded to guix-patches <at> gnu.org:
bug#29521; Package guix-patches. (Mon, 30 Mar 2020 02:36:25 GMT) Full text and rfc822 format available.

Message #14 received at 29521 <at> debbugs.gnu.org (full text, mbox):

From: Brendan Tildesley <mail <at> brendan.scot>
To: 29521 <at> debbugs.gnu.org
Cc: Ludovic Courtès <ludo <at> gnu.org>
Subject: Re: [PATCH] gnu: gnome-default-applications: Change defaults.list to
 gnome-mimeapps.list.
Date: Sun, 29 Mar 2020 16:12:19 +1100
[Message part 1 (text/plain, inline)]
I apologise for not following up with my bug reports. Here is the latest 
spec and a thread from 2014 that explains defaults.list appears to be 
long since unused, that debian uses it only for historical reasons that 
are perhaps a decade old.

It was mentioned in this 6 year old thread that GNOME was using 
defaults.list. Is there any reason to think that it does now and that we 
shouldn't just set it to mimeapps.list? I haven't gone into GNOME 
sources to figure out what it ultimately does.

-- https://specifications.freedesktop.org/mime-apps-spec/latest/ar01s02.html

As you can see, there is no defaults.list specified at all.

-- https://lists.freedesktop.org/archives/xdg/2014-February/013183.html


As for should XDG_CURRENT_DESKTOP, having a brief look at the spec, this 
is merely a way to make desktop items appear in or not appear in the 
menus of a certain desktop environment. In a .desktop file you can have 
smoething like |OnlyShowIn|=GNOME or |NotShowIn=XFCE. If the respective 
desktop environment you are using follows the standard it will check 
these to decide if it should show or hide the entry. I believe it is 
unrelated to the defaults.list vs mimeapps.list problem.|

||-- 
https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html


[Message part 2 (text/html, inline)]

Reply sent to Marius Bakke <mbakke <at> fastmail.com>:
You have taken responsibility. (Thu, 02 Apr 2020 16:57:01 GMT) Full text and rfc822 format available.

Notification sent to Brendan Tildesley <brendan.tildesley <at> openmailbox.org>:
bug acknowledged by developer. (Thu, 02 Apr 2020 16:57:01 GMT) Full text and rfc822 format available.

Message #19 received at 29521-done <at> debbugs.gnu.org (full text, mbox):

From: Marius Bakke <mbakke <at> fastmail.com>
To: Brendan Tildesley <brendan.tildesley <at> openmailbox.org>,
 29521-done <at> debbugs.gnu.org
Subject: Re: [bug#29521] [PATCH] gnu: gnome-default-applications: Change
 defaults.list to gnome-mimeapps.list.
Date: Thu, 02 Apr 2020 18:56:04 +0200
[Message part 1 (text/plain, inline)]
Brendan Tildesley <brendan.tildesley <at> openmailbox.org> writes:

> * gnu/packages/gnome.scm (gnome-default-applications)
>
> [arguments]: Change deprecated defaults.list filename to gnome-mimeapps.list.
> The old defaults.list was changed to mimeapps.list in the mime spec. The
> gnome- prefix makes the file only be read when XDG_CURRENT_DESKTOP=GNOME.

Applied, thanks!
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 01 May 2020 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 361 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.