mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: djview: Fix executable's name in desktop file.
* gnu/packages/djvu.scm (djview)[inputs]: Re-order inputs alphabetically. [arguments]: Add a phase to fix executable's name in desktop file.
This commit is contained in:
parent
794ebb6b74
commit
f8c2d32461
1 changed files with 12 additions and 3 deletions
|
@ -73,11 +73,20 @@ (define-public djview
|
|||
`(("pkg-config" ,pkg-config)
|
||||
("qttools" ,qttools)))
|
||||
(inputs
|
||||
`(("glib" ,glib)
|
||||
`(("djvulibre" ,djvulibre)
|
||||
("glib" ,glib)
|
||||
("libxt" ,libxt)
|
||||
("libtiff" ,libtiff)
|
||||
("qtbase" ,qtbase)
|
||||
("djvulibre" ,djvulibre)))
|
||||
("qtbase" ,qtbase)))
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'fix-desktop-file
|
||||
;; Executable is "djview", not "djview4".
|
||||
(lambda _
|
||||
(substitute* "desktopfiles/djvulibre-djview4.desktop"
|
||||
(("Exec=djview4 %f") "Exec=djview %f"))
|
||||
#t)))))
|
||||
(home-page "http://djvu.sourceforge.net/")
|
||||
(synopsis "Viewer for the DjVu image format")
|
||||
(description "DjView is a standalone viewer for DjVu files.
|
||||
|
|
Loading…
Reference in a new issue