guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: djvusmooth: Fix path to djvused.


From: guix-commits
Subject: branch master updated: gnu: djvusmooth: Fix path to djvused.
Date: Thu, 26 Nov 2020 03:45:21 -0500

This is an automated email from the git hooks/post-receive script.

glv pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 446ec88  gnu: djvusmooth: Fix path to djvused.
446ec88 is described below

commit 446ec88a4021e1fadc34a6e4c29d6c8105c841b2
Author: Guillaume Le Vaillant <glv@posteo.net>
AuthorDate: Thu Nov 26 09:37:34 2020 +0100

    gnu: djvusmooth: Fix path to djvused.
    
    * gnu/packages/djvu.scm (djvusmooth)[arguments]: Add 'fix-paths' phase.
---
 gnu/packages/djvu.scm | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/djvu.scm b/gnu/packages/djvu.scm
index 605a922..e68231a 100644
--- a/gnu/packages/djvu.scm
+++ b/gnu/packages/djvu.scm
@@ -295,7 +295,16 @@ and white.")
        ("python2-subprocess32" ,python2-subprocess32)
        ("python2-wxpython" ,python2-wxpython)))
     (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")
     (description
      "@code{djvusmooth} is a graphical editor for DjVu_ documents.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]