gnu: transmission: Move '.desktop' file to the "gui" output.
Fixes <http://bugs.gnu.org/23066>. Reported by Danny Milosavljevic <dannym@scratchpost.org>. * gnu/packages/bittorrent.scm (transmission)[arguments]: In 'move-gui', move 'share/applications' to the 'gui' output.
This commit is contained in:
parent
8463d1345e
commit
0736643424
|
@ -1,6 +1,6 @@
|
||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2014 Taylan Ulrich Bayirli/Kammer <taylanbayirli@gmail.com>
|
;;; Copyright © 2014 Taylan Ulrich Bayirli/Kammer <taylanbayirli@gmail.com>
|
||||||
;;; Copyright © 2014, 2015 Ludovic Courtès <ludo@gnu.org>
|
;;; Copyright © 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org>
|
||||||
;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
|
;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
|
||||||
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
|
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
|
||||||
;;;
|
;;;
|
||||||
|
@ -73,7 +73,12 @@
|
||||||
(mkdir-p (string-append gui "/bin"))
|
(mkdir-p (string-append gui "/bin"))
|
||||||
(rename-file (string-append out "/bin/transmission-gtk")
|
(rename-file (string-append out "/bin/transmission-gtk")
|
||||||
(string-append gui
|
(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)))
|
%standard-phases)))
|
||||||
(inputs
|
(inputs
|
||||||
`(("inotify-tools" ,inotify-tools)
|
`(("inotify-tools" ,inotify-tools)
|
||||||
|
|
Loading…
Reference in New Issue