Subject: bug#29521: closed (Re: [bug#29521] [PATCH] gnu: gnome-default-applications: Change defaults.list to gnome-mimeapps.list.)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 02 Apr 2020 16:57:01 +0000

Your bug report

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

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
29521: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=29521
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#29521] [PATCH] gnu: gnome-default-applications: Change defaults.list to gnome-mimeapps.list.
From: Marius Bakke <[email-masked]>
To: Brendan Tildesley <[email-masked]>, [email-masked]
Date: Thu, 02 Apr 2020 18:56:04 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Brendan Tildesley <[email-masked]> 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!

Subject: [PATCH] gnu: gnome-default-applications: Change defaults.list to gnome-mimeapps.list.
From: Brendan Tildesley <[email-masked]>
To: [email-masked]
Date: Fri, 1 Dec 2017 14:14:06 +1100
List-Id: <debbugs-submit.debbugs.gnu.org>

* 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