From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id cOPjE0D9JmRIawEASxT56A (envelope-from ) for ; Fri, 31 Mar 2023 17:33:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 0BvYE0D9JmTCSQAA9RJhRA (envelope-from ) for ; Fri, 31 Mar 2023 17:33:20 +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 03087D5DF for ; Fri, 31 Mar 2023 17:33:19 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1piGkX-00034B-55; 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-000320-53 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-0000tv-Sl 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-0007Sj-Og for guix-patches@gnu.org; Fri, 31 Mar 2023 11:33:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62570] [PATCH 4/6] gnu: texlive-latex-acronym: Replace with texlive-acronym. 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.168027677728634 (code B ref 62570); Fri, 31 Mar 2023 15:33:02 +0000 Received: (at 62570) by debbugs.gnu.org; 31 Mar 2023 15:32:57 +0000 Received: from localhost ([127.0.0.1]:34280 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piGkK-0007Rf-Fz for submit@debbugs.gnu.org; Fri, 31 Mar 2023 11:32:56 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:50747) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piGk6-0007QL-OX 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 22E19E001B for <62570@debbugs.gnu.org>; Fri, 31 Mar 2023 15:32:36 +0000 (UTC) From: Nicolas Goaziou Date: Fri, 31 Mar 2023 17:32:24 +0200 Message-Id: <20230331153226.607420-4-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=1680276800; a=rsa-sha256; cv=none; b=cD66acyWJJMjSzPHguF3wYNWVr3nRMkgDKMYFdxLXF2+c9i7zMj6b/LFfFpkTiNbH3/Nra KE/etpoxP3fnWut6yBkrBS8HWoiztdiC8auZCZPace9L8We7cNLK6BH8Py/ugbWQ7KnrlU eLHcqmRsjqkSSKZSl4csTWY4zdabeEWCPasZJqhoTIf/0pUxKtpBAUr2jN+sd6N/429Jfw ChlecdlNUdjptQADPFEj3f4UUdTXEk0Dot+HAmDltCQTq+DFvdPoO7fbSG0ihItX+WKWKk UnWW5DPlQB2F90xUzkM93BHtL7Zz4ItUygNncKSq7dGkx/IWO1zJeaVuRAcPDA== 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=1680276800; 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=H8UAavr9olUlLdRxK0x19eamG2LZZT354J3+s96jipc=; b=KZQnIRMFr4r3Pp27aWnm6b08G83Q6bu8XJhTVVuYjxYOoa2AK3ZXbKRfR4uYw/AACdKLXc MkGyqLbV6BFALtmLNFT4UC6XYW4lTVzEtEq6qD6mJltBo02WyAACSZU0Sh3dkWV12eeIJA 44E6zUiCdYz87iNtpTHO0Oxc7nAJMxD5M02Sf8lO/x50v8/9q7vd3PBQCFy/S5SYHUwf97 kZVc0Psi9cHxrZ3aDm8FiLPsyGXdzZca883OG4kXHGQga7uBDRcc4LXBlS7HNV5yoF9e4D +b6w/9ADQbQWdltujljqOewBhW9OJQC8hGCD7k//6yOHI00juI0PsTsntYAwEA== X-Migadu-Spam-Score: -1.82 X-Migadu-Scanner: scn1.migadu.com 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-Spam-Score: -1.82 X-Migadu-Queue-Id: 03087D5DF X-TUID: sE8rxR9mvmcA * gnu/packages/tex.scm (texlive-latex-acronym): Deprecate package. (texlive-acronym): New variable. --- gnu/packages/tex.scm | 59 +++++++++++++++++++++++++++++--------------- 1 file changed, 39 insertions(+), 20 deletions(-) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index d78b1672f1..94bb47d626 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -8171,28 +8171,47 @@ (define-public texlive-latex-preview files.") (license license:gpl3+))) -(define-public texlive-latex-acronym - (package - (name "texlive-latex-acronym") - (version (number->string %texlive-revision)) - (source (origin - (method svn-fetch) - (uri (texlive-ref "latex" "acronym")) - (file-name (string-append name "-" version "-checkout")) - (sha256 - (base32 - "09pd4wynksg1y1ddxnqbhk2dc185zw5nyi794d86n3qx8l014ijy")))) - (build-system texlive-build-system) - (arguments '(#:tex-directory "latex/acronym")) - (home-page "https://www.ctan.org/pkg/acronym") - (synopsis "Expand acronyms at least once") - (description - "This package ensures that all acronyms used in the text are spelled out -in full at least once. It also provides an environment to build a list of +(define-public texlive-acronym + (let ((template (simple-texlive-package + "texlive-acronym" + (list "doc/latex/acronym/" + "source/latex/acronym/" + "tex/latex/acronym/") + (base32 + "0p2sws3qy7wv0v6bsy6c5j36n9s1ps7b1z7dmg1370schrjpqnfh")))) + (package + (inherit template) + (outputs '("out" "doc")) + (arguments + (substitute-keyword-arguments (package-arguments template) + ((#:tex-directory _ #t) "latex/acronym") + ((#:build-targets _ '()) '(list "acronym.ins")) + ((#:phases phases) + #~(modify-phases #$phases + (add-after 'unpack 'chdir + (lambda _ (chdir "source/latex/acronym/"))) + (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-bigfoot texlive-relsize texlive-xstring)) + (home-page "https://ctan.org/pkg/acronym") + (synopsis "Expand acronyms at least once") + (description + "This package ensures that all acronyms used in the text are spelled +out in full at least once. It also provides an environment to build a list of acronyms used. The package is compatible with PDF bookmarks. The package -requires the suffix package, which in turn requires that it runs under +requires the @code{suffix} package, which in turn requires that it runs under e-TeX.") - (license license:lppl1.3+))) + (license license:lppl1.3+)))) + +(define-deprecated-package texlive-latex-acronym texlive-acronym) (define-public texlive-pdftex (package -- 2.39.2