guix-commits
[Top][All Lists]
Advanced

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

07/07: gnu: emacs-image+: Don't propagate inputs.


From: Ludovic Courtès
Subject: 07/07: gnu: emacs-image+: Don't propagate inputs.
Date: Mon, 18 Jun 2018 17:20:00 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 92d581a0fd9118d8586aff2746339007f67da232
Author: Pierre Neidhardt <address@hidden>
Date:   Sun Jun 17 00:32:24 2018 +0200

    gnu: emacs-image+: Don't propagate inputs.
    
    * gnu/packages/emacs.scm (emacs-image+)[propagated-inputs]: Remove 
imagemagick
    [Inputs]: Add imagemagick
    [arguments]: Substitute path to imagemagick commands
    
    Signed-off-by: Ludovic Courtès <address@hidden>
---
 gnu/packages/emacs.scm | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 793d403..70b6327 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -11217,7 +11217,22 @@ provided by other Emacs packages dealing with pass:
           (base32
            "0v66wk9nh0raih4jhrzmmyi5lbysjnmbv791vm2230ffi2hmwxnd"))))
       (build-system emacs-build-system)
-      (propagated-inputs `(("imagemagick" ,imagemagick)))
+      (inputs `(("imagemagick" ,imagemagick)))
+      (arguments
+       `(#:phases
+         (modify-phases %standard-phases
+           (add-after 'unpack 'configure
+             (lambda* (#:key inputs outputs #:allow-other-keys)
+               (let ((imagemagick (assoc-ref inputs "imagemagick")))
+                 ;; Specify the absolute file names of the various
+                 ;; programs so that everything works out-of-the-box.
+                 (chmod "image+.el" #o666)
+                 (emacs-substitute-variables
+                     "image+.el"
+                   ("imagex-convert-command"
+                    (string-append imagemagick "/bin/convert"))
+                   ("imagex-identify-command"
+                    (string-append imagemagick "/bin/identify")))))))))
       (home-page "https://github.com/mhayashi1120/Emacs-imagex";)
       (synopsis "Image manipulation extensions for Emacs")
       (description



reply via email to

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