gnu: fvwm: Use make-desktop-entry-file.
* gnu/packages/fvwm.scm (fvwm)[arguments]: Adjust 'install-xsession to use make-desktop-entry-file.
This commit is contained in:
parent
678fdbb37a
commit
c0153167e8
1 changed files with 5 additions and 12 deletions
|
@ -54,18 +54,11 @@
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
(xsessions (string-append out "/share/xsessions")))
|
(xsessions (string-append out "/share/xsessions")))
|
||||||
(mkdir-p xsessions)
|
(mkdir-p xsessions)
|
||||||
(with-output-to-file
|
(make-desktop-entry-file
|
||||||
(string-append xsessions "/fvwm2.desktop")
|
(string-append xsessions "/fvwm2.desktop")
|
||||||
(lambda _
|
#:name "FVWM"
|
||||||
(format #t
|
#:exec (string-append out "/bin/" ,name)
|
||||||
"[Desktop Entry]~@
|
#:comment '("FVWM")))
|
||||||
Name=FVWM~@
|
|
||||||
Comment=FVWM~@
|
|
||||||
Exec=~a/bin/fvwm~@
|
|
||||||
TryExec=~@*~a/bin/fvwm~@
|
|
||||||
Icon=~@
|
|
||||||
Type=Application~%"
|
|
||||||
out))))
|
|
||||||
#t)))))
|
#t)))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("perl" ,perl)
|
`(("perl" ,perl)
|
||||||
|
|
Reference in a new issue