From patchwork Thu Aug 29 08:26:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ada Stevenson X-Patchwork-Id: 67392 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 6914727BBEA; Thu, 29 Aug 2024 09:28:36 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id E63E627BBE2 for ; Thu, 29 Aug 2024 09:28:34 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sjaVo-0002pg-UF; Thu, 29 Aug 2024 04:28:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sjaVn-0002pK-Fj for guix-patches@gnu.org; Thu, 29 Aug 2024 04:28:11 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sjaVn-0006r9-6R for guix-patches@gnu.org; Thu, 29 Aug 2024 04:28:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=g3nVBNs7sQc6Oo+SNpNDLPay5hepk6XW4RmVQzO6izA=; b=OFVjNjuazP20l6OOW3xrfWoG1ZXh2ri8spQTilQmDeJsCJQ+NXSHU9JLBt7JfOkLdHOs49ur+A8rx5+A//m4GET3wEge6DbkC3GVL7bV2vURZpBeKj+d7HjIQqVAkZ5k0PrKkC8OMpWB/4j+D+DhZobcpf4E9pA3FAQBuNAyqYcxBCvg2mJ7qk+hUh8tmEYTE7JgnSYGRMKoOXHm0qleJbFWUXj3fCpW4ioGjGq3oR2+ZX/hC5T2nQ+iV2/5rOv7YwkdDFUJTxL89WMGYiecDG40LSYT8gnZngbsO4lxXaWl+SBvKiG7xjXKcR/ADddmUzSjCQ6i3wbQti7Zim5Y3A==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sjaWc-00078A-Lh; Thu, 29 Aug 2024 04:29:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72869] [PATCH] gnu: texlive-digestif: Fix build. Resent-From: Ada Stevenson Original-Sender: "Debbugs-submit" Resent-CC: andreas@enge.fr, guix@nicolasgoaziou.fr, guix-patches@gnu.org Resent-Date: Thu, 29 Aug 2024 08:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 72869 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72869@debbugs.gnu.org Cc: Ada Stevenson , Andreas Enge , Nicolas Goaziou X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Andreas Enge , Nicolas Goaziou Received: via spool by submit@debbugs.gnu.org id=B.172492009227319 (code B ref -1); Thu, 29 Aug 2024 08:29:02 +0000 Received: (at submit) by debbugs.gnu.org; 29 Aug 2024 08:28:12 +0000 Received: from localhost ([127.0.0.1]:50342 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sjaVn-00076Z-Oo for submit@debbugs.gnu.org; Thu, 29 Aug 2024 04:28:12 -0400 Received: from lists.gnu.org ([209.51.188.17]:33252) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sjaVm-00076R-BB for submit@debbugs.gnu.org; Thu, 29 Aug 2024 04:28:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sjaUt-0002iC-0h for guix-patches@gnu.org; Thu, 29 Aug 2024 04:27:15 -0400 Received: from mail-pl1-x631.google.com ([2607:f8b0:4864:20::631]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sjaUr-0006oG-B9 for guix-patches@gnu.org; Thu, 29 Aug 2024 04:27:14 -0400 Received: by mail-pl1-x631.google.com with SMTP id d9443c01a7336-203d80c817cso235375ad.2 for ; Thu, 29 Aug 2024 01:27:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724920031; x=1725524831; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=g3nVBNs7sQc6Oo+SNpNDLPay5hepk6XW4RmVQzO6izA=; b=TKfNoHbs9mruDGpB0aYumenkPbqS2OcNdINl1SZYsueUXi4++m+tnVw6Zda74/ir0H fgdr+1xAxA5Aw/tBZBZfsZaQpINNR2+QXlqpVkiZb07h1xfg6jBZ9IkFBuKf70fVrWeU v48YPG+UUWIrEEXJ3xCShgfhJOeril0SQG8/HRVc48zz9lRZEoNJfN4K90lyB4gfQacD YEurhE5BGEIWgcfpdB1/ugpSIvYAIyPpF/kGeFZS9MccLhMHZJjiXQ8kl8rstY7MrRCa BldRovnxNQ3456FNQzZ7mDXaTw8eFGyBC1psG/f+FQ7oeogA+PNUMw/zamaoiglZXdDv 0Mcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724920031; x=1725524831; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=g3nVBNs7sQc6Oo+SNpNDLPay5hepk6XW4RmVQzO6izA=; b=dB72lvZ638wPP0CUyIMk/Qn4ibqv6vEE7dvF3B4K6xI+3SxiPZH0DMXaiQyyhzrBgG /5SEXm0ULwcQ/To2KEXHP1dxonwCvNOGKDmPO0edw95sr71n0rFIqQHbhgiUjCxI7F53 qXctNaylCLaTcxk6nvEoWWm39BNTseG7AEu+sNndXCoU7kPyR1mRrjIm7CR4T3jYUwVh se9aJqtiSUQ3g84vF43vnHT1O0sN1Vv+5vS8/pnMLV6zYp3/6Ys/cDQi9NgFV63o9AcT 9GgGUODfD+m+oryxDdfFblDY7jtPpM6Gev1MEbTAb9SFc7ZZgl6HII+TfCjdD+13mHv8 zrjA== X-Gm-Message-State: AOJu0Yw/RGw+WQwFw8oGCUt2hbg+6cdec4cXE6d7cist5HLTHIkq7e3n 2CQEI60UZzxe9JVdWhsltuWUxzqB016wS382zGYaUQqeTr0HIXyTX0dKew== X-Google-Smtp-Source: AGHT+IEOkYWZr6LsI28wzjaGOC5R4uyWT+YbDHXxtoUszVlmpd2LzxIylkfm0R6y78+kgwSJaVOqyA== X-Received: by 2002:a05:6a20:a12a:b0:1c0:f5fa:db13 with SMTP id adf61e73a8af0-1cce100427amr1126155637.2.1724920030446; Thu, 29 Aug 2024 01:27:10 -0700 (PDT) Received: from kissakoira.uniwa.uwa.edu.au ([130.95.40.105]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2d844611316sm3398789a91.25.2024.08.29.01.27.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Aug 2024 01:27:10 -0700 (PDT) From: Ada Stevenson Date: Thu, 29 Aug 2024 16:26:53 +0800 Message-ID: <95a661ba4df1fe42b81dec1f054d997df60738c5.1724919903.git.adanskana@gmail.com> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::631; envelope-from=adanskana@gmail.com; helo=mail-pl1-x631.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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(-) base-commit: 53f1d10f089dd1bf155a95d0ba166728498972bb 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