GNU bug report logs - #72869
[PATCH] gnu: texlive-digestif: Fix build.

Previous Next

Package: guix-patches;

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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 72869 in the body.
You can then email your comments to 72869 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to andreas <at> enge.fr, guix <at> nicolasgoaziou.fr, guix-patches <at> gnu.org:
bug#72869; Package guix-patches. (Thu, 29 Aug 2024 08:29:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ada Stevenson <adanskana <at> gmail.com>:
New bug report received and forwarded. Copy sent to andreas <at> enge.fr, guix <at> nicolasgoaziou.fr, guix-patches <at> gnu.org. (Thu, 29 Aug 2024 08:29:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ada Stevenson <adanskana <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Ada Stevenson <adanskana <at> gmail.com>
Subject: [PATCH] gnu: texlive-digestif: Fix build.
Date: Thu, 29 Aug 2024 16:26:53 +0800
* 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





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Fri, 30 Aug 2024 08:50:02 GMT) Full text and rfc822 format available.

Notification sent to Ada Stevenson <adanskana <at> gmail.com>:
bug acknowledged by developer. (Fri, 30 Aug 2024 08:50:02 GMT) Full text and rfc822 format available.

Message #10 received at 72869-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Ada Stevenson <adanskana <at> gmail.com>
Cc: Andreas Enge <andreas <at> enge.fr>, Nicolas Goaziou <guix <at> nicolasgoaziou.fr>,
 72869-done <at> debbugs.gnu.org
Subject: Re: [bug#72869] [PATCH] gnu: texlive-digestif: Fix build.
Date: Fri, 30 Aug 2024 10:46:35 +0200
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’.




Information forwarded to guix-patches <at> gnu.org:
bug#72869; Package guix-patches. (Fri, 30 Aug 2024 08:52:01 GMT) Full text and rfc822 format available.

Message #13 received at 72869-done <at> debbugs.gnu.org (full text, mbox):

From: adanskana <at> gmail.com
To: Ludovic Courtès <ludo <at> gnu.org>,
 72869-done <at> debbugs.gnu.org, Andreas Enge <andreas <at> enge.fr>,
 Nicolas Goaziou <guix <at> nicolasgoaziou.fr>
Subject: Re: [bug#72869] [PATCH] gnu: texlive-digestif: Fix build.
Date: Fri, 30 Aug 2024 08:49:09 +0000
Hi Ludo',

On 30/08/2024 08:46, Ludovic Courtès <ludo <at> gnu.org> wrote:
> 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.

Thank you! And you're welcome :)

> 
> Thanks!
> 
> Ludo’.
> 

Warmly, 

Ada




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 27 Sep 2024 11:24:09 GMT) Full text and rfc822 format available.

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.