[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: gnu: transmission: Move '.desktop' file to the "gui" output.
From: |
Ludovic Courtès |
Subject: |
02/02: gnu: transmission: Move '.desktop' file to the "gui" output. |
Date: |
Sat, 02 Apr 2016 20:40:23 +0000 |
civodul pushed a commit to branch master
in repository guix.
commit 07366434240747f9dbbc7c3b606bb07ad9e66502
Author: Ludovic Courtès <address@hidden>
Date: Sat Apr 2 22:37:15 2016 +0200
gnu: transmission: Move '.desktop' file to the "gui" output.
Fixes <http://bugs.gnu.org/23066>.
Reported by Danny Milosavljevic <address@hidden>.
* gnu/packages/bittorrent.scm (transmission)[arguments]: In 'move-gui',
move 'share/applications' to the 'gui' output.
---
gnu/packages/bittorrent.scm | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/bittorrent.scm b/gnu/packages/bittorrent.scm
index a930eab..26b0fc6 100644
--- a/gnu/packages/bittorrent.scm
+++ b/gnu/packages/bittorrent.scm
@@ -1,6 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014 Taylan Ulrich Bayirli/Kammer <address@hidden>
-;;; Copyright © 2014, 2015 Ludovic Courtès <address@hidden>
+;;; Copyright © 2014, 2015, 2016 Ludovic Courtès <address@hidden>
;;; Copyright © 2016 Leo Famulari <address@hidden>
;;; Copyright © 2016 Efraim Flashner <address@hidden>
;;;
@@ -73,7 +73,12 @@
(mkdir-p (string-append gui "/bin"))
(rename-file (string-append out "/bin/transmission-gtk")
(string-append gui
- "/bin/transmission-gtk"))))
+ "/bin/transmission-gtk"))
+
+ ;; Move the '.desktop' file as well.
+ (mkdir (string-append gui "/share"))
+ (rename-file (string-append out "/share/applications")
+ (string-append gui "/share/applications"))))
%standard-phases)))
(inputs
`(("inotify-tools" ,inotify-tools)