From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39636) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fUJkn-00027G-RA for guix-patches@gnu.org; Sat, 16 Jun 2018 18:33:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fUJkk-0004tE-NR for guix-patches@gnu.org; Sat, 16 Jun 2018 18:33:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:44335) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fUJkk-0004t8-K4 for guix-patches@gnu.org; Sat, 16 Jun 2018 18:33:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fUJkk-0001YN-EN for guix-patches@gnu.org; Sat, 16 Jun 2018 18:33:02 -0400 Subject: [bug#31866] [PATCH] gnu: emacs-image+: Don't propagate inputs. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39467) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fUJkH-0001tN-Rz for guix-patches@gnu.org; Sat, 16 Jun 2018 18:32:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fUJkE-0004bQ-Of for guix-patches@gnu.org; Sat, 16 Jun 2018 18:32:33 -0400 Received: from mail-wm0-x22d.google.com ([2a00:1450:400c:c09::22d]:37291) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fUJkE-0004bA-Ig for guix-patches@gnu.org; Sat, 16 Jun 2018 18:32:30 -0400 Received: by mail-wm0-x22d.google.com with SMTP id r125-v6so9347061wmg.2 for ; Sat, 16 Jun 2018 15:32:30 -0700 (PDT) Received: from localhost.localdomain ([37.171.5.73]) by smtp.gmail.com with ESMTPSA id o13-v6sm3726833wmc.8.2018.06.16.15.32.28 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 16 Jun 2018 15:32:28 -0700 (PDT) From: Pierre Neidhardt Date: Sun, 17 Jun 2018 00:32:24 +0200 Message-Id: <20180616223224.10789-1-ambrevar@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 31866@debbugs.gnu.org * gnu/packages/emacs.scm (emacs-image+)[propagated-inputs]: Remove imagemagick [Inputs]: Add imagemagick [arguments]: Substitute path to imagemagick commands --- 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 4999dda55..b81706248 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -11204,7 +11204,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 -- 2.17.1