From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 UGm0I2v9JmQmcQEASxT56A (envelope-from ) for ; Fri, 31 Mar 2023 17:34:03 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id sDRSI2v9JmQ5DAAAauVa8A (envelope-from ) for ; Fri, 31 Mar 2023 17:34:03 +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 16B3BD5F0 for ; Fri, 31 Mar 2023 17:34:02 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1piGkW-00033o-UK; Fri, 31 Mar 2023 11:33:08 -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-000321-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 1piGkR-0000u0-7r 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 1piGkR-0007Sq-3w for guix-patches@gnu.org; Fri, 31 Mar 2023 11:33:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62570] [PATCH 5/6] gnu: texlive-latex-totcount: Replace with texlive-totcount. Resent-From: Nicolas Goaziou Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 31 Mar 2023 15:33:03 +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.168027677728641 (code B ref 62570); Fri, 31 Mar 2023 15:33:03 +0000 Received: (at 62570) by debbugs.gnu.org; 31 Mar 2023 15:32:57 +0000 Received: from localhost ([127.0.0.1]:34282 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piGkK-0007Rn-Tp for submit@debbugs.gnu.org; Fri, 31 Mar 2023 11:32:57 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:36551) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piGk7-0007QN-30 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 74483E0006 for <62570@debbugs.gnu.org>; Fri, 31 Mar 2023 15:32:37 +0000 (UTC) From: Nicolas Goaziou Date: Fri, 31 Mar 2023 17:32:25 +0200 Message-Id: <20230331153226.607420-5-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=1680276843; a=rsa-sha256; cv=none; b=ex5UhgawmegZVRUpHyJ5dQ9m6gugRkrMGniAeZPlT2VJOGQaldzSsEmsVY7k8qrbM5nveV 6NG4puuRn2kPdSJf6iUAP4yNCnx6gbsK7cykicIQDP702P6rATlS2+Q+RuHaS7UyiwGdbd BXY5ksENNGve4QnnQsjbyQZOvQBYYpoOBCBfBYgLAl+FT2RN2sqH3LO/ME1Y2CMi2el0RM Klh/9coOKgoCaSkdm4hDiYsyXk53C9i7POkivSXY1ieKdLoOHch9ek3xTSi3hPmWbKbJpz Rv6uRdMH/wcNMzrZPktf193S8g4UMhHOl1Gec0MZhRByud6LptqR4Wa//FgiqA== 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=1680276843; 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=hqXhX7CJVN7/feAVSXGita7punlbGDgC05ji+HKBuew=; b=Xyk47ZKpQ5lKDK2eRg4R0qHi5zMCcJjsieipyoXChprPDjC5x9K8Fe42G9qp4ej5MwFogx JQMYGbcEyHnv1A1JgmdWanqy12Bzm8DbT05GflL0COjGaA6w24fXQBdvpS60iCqJO+PnuD Xy6UkqLMfiKGk+nwtWLa1xHoTy3h5xZ1sZocX7htMJTtQ0qp2uJt0seiss+AEycrP8DM73 AlnHbzhLo028NESauAoFiwjg4rnlICiTIp0O9VsMVN3V+gp6Dy69ZUqZBm1h1nuyxreBBe 0Z7rvQIIVC+inmrvluu4SVYIjT/q5QxV0avzrBJ6HTqhvxdNKa8na/FC4cLchw== 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: 16B3BD5F0 X-TUID: LoZNEDqJmoSP * gnu/packages/tex.scm (texlive-totcount): New variable. (texlive-latex-totcount): Deprecate package. --- gnu/packages/tex.scm | 53 ++++++++++++++++++++++++++++++++------------ 1 file changed, 39 insertions(+), 14 deletions(-) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 94bb47d626..2e31d74498 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -12611,22 +12611,47 @@ (define-public texlive-substr @end itemize") (license license:lppl1.0+))) -(define-public texlive-latex-totcount - (package - (inherit (simple-texlive-package - "texlive-latex-totcount" - (list "doc/latex/totcount/" - "tex/latex/totcount/") - (base32 "0z4mijyk3z7555q8da41aiji602plis5z261z4rr1fl8sndhnhn1") - #:trivial? #t)) - (build-system texlive-build-system) - (home-page "https://ctan.org/pkg/totcount") - (synopsis "Find the last value of a counter") - (description - "This package records the value that was last set, for any counter of +(define-public texlive-totcount + (let ((template (simple-texlive-package + "texlive-totcount" + (list "doc/latex/totcount/" + "source/latex/totcount/" + "tex/latex/totcount/") + (base32 + "1rj9ncip5h2cbdljjqwxqsg14pb4mimzhz290q872n32w7rxkp28")))) + (package + (inherit template) + (outputs '("out" "doc")) + (build-system texlive-build-system) + (arguments + (substitute-keyword-arguments (package-arguments template) + ((#:tex-directory _ #t) "latex/totcount") + ((#:tex-format _ #t) "latex") + ((#:build-targets _ '()) '(list "totcount.ins")) + ((#:phases phases) + #~(modify-phases #$phases + (add-after 'unpack 'chdir + (lambda _ (chdir "source/latex/totcount/"))) + (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-latex-graphics)) + (home-page "https://ctan.org/pkg/totcount") + (synopsis "Find the last value of a counter") + (description + "This package records the value that was last set, for any counter of interest. Since most such counters are simply incremented when they are changed, the recorded value will usually be the maximum value.") - (license license:lppl1.3c+))) + (license license:lppl1.3c+)))) + +(define-deprecated-package texlive-latex-totcount texlive-totcount) (define-public texlive-xetex (package -- 2.39.2