gnu: djvusmooth: Fix path to djvused.
* gnu/packages/djvu.scm (djvusmooth)[arguments]: Add 'fix-paths' phase.master
parent
824a9f1060
commit
446ec88a40
|
@ -295,7 +295,16 @@ and white.")
|
||||||
("python2-subprocess32" ,python2-subprocess32)
|
("python2-subprocess32" ,python2-subprocess32)
|
||||||
("python2-wxpython" ,python2-wxpython)))
|
("python2-wxpython" ,python2-wxpython)))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:python ,python-2))
|
`(#:python ,python-2
|
||||||
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'fix-paths
|
||||||
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
|
(substitute* "lib/djvused.py"
|
||||||
|
(("djvused_path = 'djvused'")
|
||||||
|
(string-append "djvused_path = '"
|
||||||
|
(assoc-ref inputs "djvulibre")
|
||||||
|
"/bin/djvused'"))))))))
|
||||||
(synopsis "Graphical editor for DjVu documents")
|
(synopsis "Graphical editor for DjVu documents")
|
||||||
(description
|
(description
|
||||||
"@code{djvusmooth} is a graphical editor for DjVu_ documents.
|
"@code{djvusmooth} is a graphical editor for DjVu_ documents.
|
||||||
|
|
Reference in New Issue