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 IAL+OV39JmRIawEASxT56A (envelope-from ) for ; Fri, 31 Mar 2023 17:33:50 +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 EKDyOV39JmSlPQEA9RJhRA (envelope-from ) for ; Fri, 31 Mar 2023 17:33:49 +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 C0FCBD2FC 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-00034Z-Dk; 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-00031y-6y 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-0000u1-MD 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-0007Sy-Fh for guix-patches@gnu.org; Fri, 31 Mar 2023 11:33:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62570] [PATCH 6/6] gnu: texlive-latex-lastpage: Replace with texlive-lastpage. 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.168027677728649 (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]:34284 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piGkL-0007Ru-Ai for submit@debbugs.gnu.org; Fri, 31 Mar 2023 11:32:57 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:39525) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piGk7-0007QO-Gs for 62570@debbugs.gnu.org; Fri, 31 Mar 2023 11:32:47 -0400 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by mail.gandi.net (Postfix) with ESMTPSA id DC109E0007 for <62570@debbugs.gnu.org>; Fri, 31 Mar 2023 15:32:37 +0000 (UTC) From: Nicolas Goaziou Date: Fri, 31 Mar 2023 17:32:26 +0200 Message-Id: <20230331153226.607420-6-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=1680276829; a=rsa-sha256; cv=none; b=ZSt9gP6N/hAdGw6quTa3yivZHoBSYnqFdbc6F6a34mA2sShYl3eZm6c07qW76PRnuDHj0E fAsjqsfIXffLdiWntQIP1U0BKtFmtKokwfC+5SqpJZzgThm8V4+fcSW5AYjc2kr/oFjp+0 XcDrNIi3d/Je6hFWoPqv0i3WG3ro8a6cY46TyEPhNl3oqupGBIP+kObgx0g4vtD1eQLwPw OyPTEvA8BvKX9JBruboIKgHdyuD2IFqt3IzW26E9MK9AcVQd6rfEexZ2AktD6JyVmNhKvQ AntoETEdFZsS44jFfo5y1SJmcssn9LrW34a4mxWGqqzDGUtreSR84NmhpDUHlw== 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=1680276829; 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=p80PqzUFnSLY7sKn5lCpBg6ZRK3HLWsxwgOYgBaPFEo=; b=oAh1Z/U4TpkhwTpVgxwUbxSfc6ytt41iIYw/IPGyg5ebGcJmxv6yD7Txj9jTQ06ooz8ww6 FnjjIO7+rJHK/1cb2DYwGxV0nQV61xZVaxxcxixwaiDzt5D/K9ue9PbgHzYU3dIgJnoZeu yH9cmSPe2DNcJOLrjqudoHw84RSEaQdc88LwIuTTXAWDlFqOkEIxrqvpSvoGmacBlDMqYT HUDE2+n8d2ltqh4UFV5CZalEsRD7ZMRJaGcn/CfpgDtPYE6G0nqH1SC4D2jWic/EclTsYY BL45HH+itdfotp4piLfPFdnoYsz2C2ferxO5NQCAwWrq4ptr2Jsgrf/fvXXUZw== 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: C0FCBD2FC X-TUID: PbrswdDt4A9X * gnu/packages/tex.scm (texlive-lastpage): New variable. (texlive-latex-lastpage): Deprecate variable. --- gnu/packages/tex.scm | 53 +++++++++++++++++++++++++++++++------------- 1 file changed, 37 insertions(+), 16 deletions(-) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 2e31d74498..f26b62a155 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -12469,23 +12469,44 @@ (define-public texlive-latex-hyphenat fonts.") (license license:lppl1.3c+))) -(define-public texlive-latex-lastpage - (package - (inherit (simple-texlive-package - "texlive-latex-lastpage" - (list "doc/latex/lastpage/" - "tex/latex/lastpage/") - (base32 "0q6x743b8fkw9r82lrxy49f9xsg81bffynwvpnvpnp3h4mkafvdb") - #:trivial? #t)) - (build-system texlive-build-system) - (home-page "https://ctan.org/pkg/lastpage") - (synopsis "Reference last page for Page N of M type footers") - (description - "This package enables referencing the number of pages in a LaTeX document -through the introduction of a new label which can be referenced like +(define-public texlive-lastpage + (let ((template (simple-texlive-package + "texlive-lastpage" + (list "doc/latex/lastpage/" + "source/latex/lastpage/" + "tex/latex/lastpage/") + (base32 + "1cmzl0jkid4w60bjlyxrc5bynbc3lwq5nr77rsip0q9hprxykxks")))) + (package + (inherit template) + (outputs '("out" "doc")) + (arguments + (substitute-keyword-arguments (package-arguments template) + ((#:tex-directory _ #t) "latex/lastpage") + ((#:build-targets _ '()) '(list "lastpage.ins")) + ((#:phases phases) + #~(modify-phases #$phases + (add-after 'unpack 'chdir + (lambda _ (chdir "source/latex/lastpage/"))) + (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)))))))) + (home-page "https://ctan.org/pkg/lastpage") + (synopsis "Reference last page for Page N of M type footers") + (description + "This package enables referencing the number of pages in a LaTeX +document through the introduction of a new label which can be referenced like @code{\\pageref{LastPage}} to give a reference to the last page of a document. -It is particularly useful in the page footer that says: Page N of M.") - (license license:lppl1.3c+))) +It is particularly useful in the page footer that says: @samp{Page N of M}.") + (license license:lppl1.3+)))) + +(define-deprecated-package texlive-latex-lastpage texlive-lastpage) (define-public texlive-latex-tabto-ltx (package -- 2.39.2