GNU bug report logs -
#43185
[PATCH 0/1] gnu: emacs-auctex: Configure executable paths.
Previous Next
Reported by: Arun Isaac <arunisaac <at> systemreboot.net>
Date: Thu, 3 Sep 2020 17:24:01 UTC
Severity: normal
Tags: patch
Done: Arun Isaac <arunisaac <at> systemreboot.net>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 43185 in the body.
You can then email your comments to 43185 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#43185
; Package
guix-patches
.
(Thu, 03 Sep 2020 17:24:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Arun Isaac <arunisaac <at> systemreboot.net>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Thu, 03 Sep 2020 17:24:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
This patch configures variables in emacs-auctex to use absolute store paths to
ghostscript and texlive commands. This means we have to add ghostscript to the
inputs. This, of course, greatly increases the closure size of
emacs-auctex. But, ghostscript is required for auctex to generate in buffer
previews. Generating in buffer previews is an important feature of auctex and
users would expect that to work out of the box without having to manually
install ghostscript into their profile.
Arun Isaac (1):
gnu: emacs-auctex: Configure executable paths.
gnu/packages/emacs-xyz.scm | 19 ++++++++++++++++++-
1 file changed, 18 insertions(+), 1 deletion(-)
--
2.28.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#43185
; Package
guix-patches
.
(Thu, 03 Sep 2020 17:38:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 43185 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/emacs-xyz.scm (emacs-auctex): Configure absolute paths to
ghostscript and texlive executables.
[inputs]: Add ghostscript.
---
gnu/packages/emacs-xyz.scm | 19 ++++++++++++++++++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 3482686ccd..e5d748b611 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -175,6 +175,7 @@
#:use-module (gnu packages xdisorg)
#:use-module (gnu packages shells)
#:use-module (gnu packages sqlite)
+ #:use-module (gnu packages ghostscript)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages video)
#:use-module (gnu packages haskell-xyz)
@@ -1914,6 +1915,21 @@ as a library for other Emacs packages.")
#:exclude '("^tests/" "^latex/README")
#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'configure
+ (lambda* (#:key inputs #:allow-other-keys)
+ (emacs-substitute-variables "preview.el"
+ ("preview-gs-command"
+ (string-append (assoc-ref inputs "ghostscript") "/bin/gs")))
+ (substitute* "preview.el"
+ (("\"dvipng ")
+ (string-append "\"" (assoc-ref inputs "texlive")
+ "/bin/dvipng "))
+ (("\"dvips ")
+ (string-append "\"" (assoc-ref inputs "texlive")
+ "/bin/dvips "))
+ (("\"pdf2dsc ")
+ (string-append "\"" (assoc-ref inputs "ghostscript")
+ "/bin/pdf2dsc ")))))
(add-after 'install 'install-doc
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
@@ -1928,7 +1944,8 @@ as a library for other Emacs packages.")
(native-inputs
`(("perl" ,perl)))
(inputs
- `(("texlive" ,(texlive-union (list texlive-amsfonts)))))
+ `(("ghostscript" ,ghostscript)
+ ("texlive" ,(texlive-union (list texlive-amsfonts)))))
(home-page "https://www.gnu.org/software/auctex/")
(synopsis "Integrated environment for TeX")
(description
--
2.28.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#43185
; Package
guix-patches
.
(Fri, 04 Sep 2020 09:58:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 43185 <at> debbugs.gnu.org (full text, mbox):
Hello Arun,
> * gnu/packages/emacs-xyz.scm (emacs-auctex): Configure absolute paths to
> ghostscript and texlive executables.
> [inputs]: Add ghostscript.
This looks fine to me.
Thanks,
Mathieu
Reply sent
to
Arun Isaac <arunisaac <at> systemreboot.net>
:
You have taken responsibility.
(Fri, 04 Sep 2020 11:02:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Arun Isaac <arunisaac <at> systemreboot.net>
:
bug acknowledged by developer.
(Fri, 04 Sep 2020 11:02:01 GMT)
Full text and
rfc822 format available.
Message #16 received at 43185-done <at> debbugs.gnu.org (full text, mbox):
Pushed to master, thanks for the review!
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 02 Oct 2020 11:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 3 years and 206 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.