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.

Full log


View this message in rfc822 format

From: Brendan Tildesley <brendan.tildesley <at> openmailbox.org>
To: 29521 <at> debbugs.gnu.org
Subject: [bug#29521] [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





This bug report was last modified 5 years and 111 days ago.

Previous Next


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