guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

08/09: gnu: gnome-default-applications: Add Evince for PDF and PS.


From: Ludovic Courtès
Subject: 08/09: gnu: gnome-default-applications: Add Evince for PDF and PS.
Date: Fri, 1 Dec 2017 10:00:39 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit 8ad4f0aa315d69ff6b2df50e21ef01a60b0d2aec
Author: Ludovic Courtès <address@hidden>
Date:   Fri Dec 1 15:37:08 2017 +0100

    gnu: gnome-default-applications: Add Evince for PDF and PS.
    
    * gnu/packages/gnome.scm (gnome-default-applications)[propagated-inputs]:
    Add EVINCE.
    [arguments]: Associate Evince with application/pdf and
    application/postscript.
---
 gnu/packages/gnome.scm | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 9a46495..2ea681e 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -5870,7 +5870,8 @@ software that do not provide their own configuration 
interface.")
     (build-system trivial-build-system)
     (source #f)
     (propagated-inputs
-     `(("nautilus" ,nautilus)))
+     `(("nautilus" ,nautilus)
+       ("evince" ,evince)))
     (arguments
      `(#:modules ((guix build utils))
        #:builder
@@ -5882,7 +5883,9 @@ software that do not provide their own configuration 
interface.")
            (call-with-output-file (string-append apps "/defaults.list")
              (lambda (port)
                (format port "[Default Applications]\n")
-               (format port "inode/directory=org.gnome.Nautilus.desktop\n")))
+               (format port "inode/directory=org.gnome.Nautilus.desktop\n")
+               (format port "application/pdf=evince.desktop\n")
+               (format port "application/postscript=evince.desktop\n")))
            #t))))
     (synopsis "Default MIME type associations for the GNOME desktop")
     (description



reply via email to

[Prev in Thread] Current Thread [Next in Thread]