[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: gnu: transmission: Move remaining GUI-related files to "gui" outp
From: |
guix-commits |
Subject: |
02/02: gnu: transmission: Move remaining GUI-related files to "gui" output. |
Date: |
Wed, 18 Nov 2020 17:47:47 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit 0305bc91762f9d5e01abd3d55e8dd9d3d1ecbdad
Author: Simon South <simon@simonsouth.net>
AuthorDate: Thu Nov 12 11:27:06 2020 -0500
gnu: transmission: Move remaining GUI-related files to "gui" output.
* gnu/packages/bittorrent.scm (transmission)[arguments]<phases>: Expand
"move-gui" phase to move remaining GUI-related files (AppData file,
localization files, man page) to "gui" output.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/bittorrent.scm | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/bittorrent.scm b/gnu/packages/bittorrent.scm
index 54f955a..09bff49 100644
--- a/gnu/packages/bittorrent.scm
+++ b/gnu/packages/bittorrent.scm
@@ -93,14 +93,18 @@
(rename-file (string-append out "/bin/transmission-gtk")
(string-append gui "/bin/transmission-gtk"))
- ;; Move the '.desktop' and icon files as well.
(mkdir (string-append gui "/share"))
(for-each
(lambda (dir)
(rename-file (string-append out "/share/" dir)
(string-append gui "/share/" dir)))
- '("applications" "icons" "pixmaps")))
- #t)))))
+ '("appdata" "applications" "icons" "locale" "pixmaps"))
+
+ (mkdir-p (string-append gui "/share/man/man1"))
+ (rename-file
+ (string-append out "/share/man/man1/transmission-gtk.1")
+ (string-append gui "/share/man/man1/transmission-gtk.1"))
+ #t))))))
(inputs
`(("libevent" ,libevent)
("curl" ,curl)