guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: transmission: Install icons to the "gui" out


From: guix-commits
Subject: branch master updated: gnu: transmission: Install icons to the "gui" output.
Date: Thu, 02 Apr 2020 05:03:59 -0400

This is an automated email from the git hooks/post-receive script.

ambrevar pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new bf155ce  gnu: transmission: Install icons to the "gui" output.
bf155ce is described below

commit bf155ce30cd417f8dba9ab04c1d39cc3249bb930
Author: Pierre Neidhardt <address@hidden>
AuthorDate: Thu Apr 2 11:00:02 2020 +0200

    gnu: transmission: Install icons to the "gui" output.
    
    * gnu/packages/bittorrent.scm (transmission)[arguments]: Move the "icons" 
and
      "pixmaps" folders to the "gui" output.  Previously, if the user only 
install
      the "gui" output, the icon would be missing.
---
 gnu/packages/bittorrent.scm | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/bittorrent.scm b/gnu/packages/bittorrent.scm
index 0f63c3d..03c7fe4 100644
--- a/gnu/packages/bittorrent.scm
+++ b/gnu/packages/bittorrent.scm
@@ -94,10 +94,13 @@
                             (string-append gui
                                            "/bin/transmission-gtk"))
 
-               ;; Move the '.desktop' file as well.
+               ;; Move the '.desktop' and icon files as well.
                (mkdir (string-append gui "/share"))
-               (rename-file (string-append out "/share/applications")
-                            (string-append gui "/share/applications")))
+               (for-each
+                (lambda (dir)
+                  (rename-file (string-append out "/share/" dir)
+                               (string-append gui "/share/" dir)))
+                '("applications" "icons" "pixmaps")))
              #t)))))
     (inputs
      `(("inotify-tools" ,inotify-tools)



reply via email to

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