From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 8MKDN179JmTGUgEASxT56A (envelope-from ) for ; Fri, 31 Mar 2023 17:33:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id +PUgN179JmTxswAAauVa8A (envelope-from ) for ; Fri, 31 Mar 2023 17:33:50 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 92EFBDD75 for ; Fri, 31 Mar 2023 17:33:49 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1piGkX-00034k-F1; Fri, 31 Mar 2023 11:33:09 -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 1piGkV-00031z-2K for guix-patches@gnu.org; Fri, 31 Mar 2023 11:33:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1piGkQ-0000ts-KU for guix-patches@gnu.org; Fri, 31 Mar 2023 11:33:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1piGkQ-0007Sc-CP for guix-patches@gnu.org; Fri, 31 Mar 2023 11:33:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62570] [PATCH 3/6] gnu: texlive-latex-bigfoot: Replace with texlive-bigfoot. Resent-From: Nicolas Goaziou Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 31 Mar 2023 15:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62570 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62570@debbugs.gnu.org Received: via spool by 62570-submit@debbugs.gnu.org id=B62570.168027677628626 (code B ref 62570); Fri, 31 Mar 2023 15:33:02 +0000 Received: (at 62570) by debbugs.gnu.org; 31 Mar 2023 15:32:56 +0000 Received: from localhost ([127.0.0.1]:34278 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piGkK-0007Rc-0t for submit@debbugs.gnu.org; Fri, 31 Mar 2023 11:32:56 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:44583) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piGk6-0007QK-MS for 62570@debbugs.gnu.org; Fri, 31 Mar 2023 11:32:46 -0400 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by mail.gandi.net (Postfix) with ESMTPSA id ABF45E0014 for <62570@debbugs.gnu.org>; Fri, 31 Mar 2023 15:32:36 +0000 (UTC) From: Nicolas Goaziou Date: Fri, 31 Mar 2023 17:32:23 +0200 Message-Id: <20230331153226.607420-3-mail@nicolasgoaziou.fr> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230331153226.607420-1-mail@nicolasgoaziou.fr> References: <20230331153226.607420-1-mail@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1680276830; a=rsa-sha256; cv=none; b=j1wz8xKh5C4rwjZFcHlO7bjtVHxWK2ZtXuWJ84zq0qTqOpezBurQXaEdNwnjm6R3ZueTpJ Xhn2iLtM95XVVRpmEUQm6eKu1JPrLOMFefN9FuyYNwy17uAcrtrxdnRXEDIpEekxkrL6gX MoSJpF4oYagfmPnwSaYuWp5tnI9f4EfWi2aCEdXXrvGo3C+a9GHG5Y5DSZ7kku2HPNvKaG YsEWOjth4uDflN+zG2Nf7AuTMlaCPboKcAaefgvRT6FBiqtn2WJoXdSZ+CBvA+bPgxI04b VJiois4wZiRFGTIaXlgoE8c8mdlclnpHyrmUup7gB4z813zlMbPDQiJ5SALOXA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1680276830; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=83Ivn+8UWIl00J4hRFGAMChU82qgcRKzE5VuMqxSztg=; b=Ozg2kBB/KXb6WtQH4ITcihzzKRm8G+HeSkCwlgTDqFk+bKB5xPMNyngXG1bm/Q+ROim2os dfvdq0iT0pBU0KuTVeSHBEtubPzySD0JsxGOrP8xqemKMlNfRYRuOpfp0pV0GRjHglnhJk UAU6E+Sqjz4p0Ux+2+nURaLnliGjJyUWwli2huoaaHagf/VfZ2NTFe8Ma0CCw7Qf2EoNPb ooIRWFBKj4Re3MqXtOOL3EnSuouy3FgCkE8wPb/L3RGIC1y1PLOld/KjanaDN442SEGJ2R BkHefI++wjTSzAzC8Id9gynuitowK0r18fH0hwzvr+1WDc+mlbtosgNyvCdmCg== Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -1.82 X-Spam-Score: -1.82 X-Migadu-Queue-Id: 92EFBDD75 X-TUID: FM3soLWfFCL6 * gnu/packages/tex.scm (texlive-bigfoot): New variable. (texlive-latex-bigfoot): Deprecate package. (texlive-pstool): Use new variable. --- gnu/packages/tex.scm | 82 ++++++++++++++++++++++++++------------------ 1 file changed, 48 insertions(+), 34 deletions(-) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 0f87dc4a77..d78b1672f1 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -4865,40 +4865,54 @@ (define-public texlive-latex-amsrefs conjunction with BibTeX or as a replacement for BibTeX.") (license license:lppl1.3+))) -(define-public texlive-latex-bigfoot - (package - (name "texlive-latex-bigfoot") - (version (number->string %texlive-revision)) - (source (origin - (method svn-fetch) - (uri (texlive-ref "latex" "bigfoot")) - (file-name (string-append name "-" version "-checkout")) - (sha256 - (base32 - "092g8alnsdwlgl1isdnqrr32l161994295kadr1n05d81xgj5wnv")))) - (build-system texlive-build-system) - (arguments - '(#:tex-directory "latex/bigfoot" - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'remove-generated-file - (lambda _ - (for-each delete-file (find-files "." "\\.drv$")) - #t))))) - (home-page "https://www.ctan.org/pkg/bigfoot") - (synopsis "Footnotes for critical editions") - (description - "This package aims to provide a one-stop solution to requirements for -footnotes. It offers: Multiple footnote apparatus superior to that of +(define-public texlive-bigfoot + (let ((template (simple-texlive-package + "texlive-bigfoot" + (list "doc/latex/bigfoot/" + "source/latex/bigfoot/" + "tex/latex/bigfoot/") + (base32 + "140b4bbjcgajd1flznmi3ga6lx5pna2nxybr2dqm9515lny8gwf0")))) + (package + (inherit template) + (outputs '("out" "doc")) + (arguments + (substitute-keyword-arguments (package-arguments template) + ((#:tex-directory _ #t) "latex/bigfoot") + ((#:build-targets _ '()) '(list "bigfoot.ins")) + ((#:phases phases) + #~(modify-phases #$phases + (add-after 'unpack 'chdir + (lambda _ (chdir "source/latex/bigfoot/"))) + (add-after 'chdir 'delete-drv-files + (lambda _ + (for-each delete-file (find-files "." "\\.drv$")))) + (replace 'copy-files + (lambda* (#:key inputs #:allow-other-keys) + (let ((origin (assoc-ref inputs "source")) + (source (string-append #$output + "/share/texmf-dist/source")) + (doc (string-append #$output:doc + "/share/texmf-dist/doc"))) + (copy-recursively (string-append origin "/source") source) + (copy-recursively (string-append origin "/doc") doc)))))))) + (propagated-inputs + (list texlive-etex texlive-ncctools)) + (home-page "https://ctan.org/pkg/bigfoot") + (synopsis "Footnotes for critical editions") + (description + "The package aims to provide a one-stop solution to requirements for +footnotes. It offers multiple footnote apparatus superior to that of @code{manyfoot}. Footnotes can be formatted in separate paragraphs, or be run -into a single paragraph (this choice may be selected per footnote series); -Things you might have expected (such as @code{\\verb}-like material in -footnotes, and color selections over page breaks) now work. Note that the -majority of the bigfoot package's interface is identical to that of -@code{manyfoot}; users should seek information from that package's -documentation. The bigfoot bundle also provides the @code{perpage} and -@code{suffix} packages.") - (license license:gpl2+))) +into a single paragraph. Note that the majority of the @code{bigfoot} +package's interface is identical to that of @code{manyfoot}; users should seek +information from that package's documentation. + +The @code{bigfoot} bundle also provides the @code{perpage} and @code{suffix} +packages.") + (license license:gpl2+)))) + +(define-deprecated-package texlive-latex-bigfoot texlive-bigfoot) (define-public texlive-latex-blindtext (package @@ -5342,7 +5356,7 @@ (define-public texlive-pstool "12clzcw2cl7g2chr2phgmmiwxw4859cln1gbx1wgp8bl9iw590nc") #:trivial? #t)) (propagated-inputs - (list texlive-latex-bigfoot ; for suffix + (list texlive-bigfoot ; for suffix texlive-filemod texlive-latex-graphics texlive-latex-ifplatform -- 2.39.2