GNU bug report logs -
#72869
[PATCH] gnu: texlive-digestif: Fix build.
Previous Next
Reported by: Ada Stevenson <adanskana <at> gmail.com>
Date: Thu, 29 Aug 2024 08:29:02 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#72869: [PATCH] gnu: texlive-digestif: Fix build.
which was filed against the guix-patches package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 72869 <at> debbugs.gnu.org.
--
72869: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=72869
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Hi Ada,
Ada Stevenson <adanskana <at> gmail.com> skribis:
> * gnu/packages/tex.scm (texlive-digestif):
> [arguments]: <#:phases>: Add 'fix-data-path phase.
> This hardcodes the path for 'digestif.zip', which was not being found
> previously.
>
> Change-Id: I2884185d0daa8919dd72e8b9055eb3988eb40f5d
Applied on ‘core-updates’ (to be merged real soon) after splitting the
long line.
Thanks!
Ludo’.
[Message part 3 (message/rfc822, inline)]
* gnu/packages/tex.scm (texlive-digestif):
[arguments]: <#:phases>: Add 'fix-data-path phase.
This hardcodes the path for 'digestif.zip', which was not being found
previously.
Change-Id: I2884185d0daa8919dd72e8b9055eb3988eb40f5d
---
gnu/packages/tex.scm | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 828bcde0e2..b94d1dd67e 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -33786,7 +33786,14 @@ (define-public texlive-digestif
"1s7nmbjxpa6klmh0cc6g4s6vd9wmlv4dxp51xb4b872hrj510zbi")))
(outputs '("out" "doc"))
(build-system texlive-build-system)
- (arguments (list #:link-scripts #~(list "digestif.texlua")))
+ (arguments (list #:link-scripts #~(list "digestif.texlua")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-data-path
+ (lambda _
+ (substitute* "scripts/digestif/digestif.texlua"
+ (("(local archive = )(.*)$" all beginning end)
+ (string-append beginning "\"" #$output "/share/texmf-dist/scripts/digestif/digestif.zip\"" "\n"))))))))
(home-page "https://ctan.org/pkg/digestif")
(synopsis "Editor plugin for LaTeX, ConTeXt etc.")
(description
base-commit: 53f1d10f089dd1bf155a95d0ba166728498972bb
--
2.45.2
This bug report was last modified 269 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.