From patchwork Sat Jan 14 22:36:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthieu Lemerre X-Patchwork-Id: 46121 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 B5D6D27BBEB; Sat, 14 Jan 2023 23:28:01 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,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 719EA27BBEB for ; Sat, 14 Jan 2023 23:27:58 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pGpw4-0006AR-7j; Sat, 14 Jan 2023 18:27:40 -0500 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 1pGp94-0007Fo-EY for guix-patches@gnu.org; Sat, 14 Jan 2023 17:37:02 -0500 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 1pGp94-00055f-6H for guix-patches@gnu.org; Sat, 14 Jan 2023 17:37:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pGp93-0003V1-TQ for guix-patches@gnu.org; Sat, 14 Jan 2023 17:37:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60820] [PATCH] Add 'totpages' latex package. Resent-From: Matthieu Lemerre Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 14 Jan 2023 22:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 60820 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60820@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167373580713426 (code B ref -1); Sat, 14 Jan 2023 22:37:01 +0000 Received: (at submit) by debbugs.gnu.org; 14 Jan 2023 22:36:47 +0000 Received: from localhost ([127.0.0.1]:55742 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pGp8p-0003UT-2J for submit@debbugs.gnu.org; Sat, 14 Jan 2023 17:36:47 -0500 Received: from lists.gnu.org ([209.51.188.17]:42286) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pGp8m-0003UK-Ef for submit@debbugs.gnu.org; Sat, 14 Jan 2023 17:36:45 -0500 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 1pGp8m-0007Dk-73 for guix-patches@gnu.org; Sat, 14 Jan 2023 17:36:44 -0500 Received: from relay4-d.mail.gandi.net ([2001:4b98:dc4:8::224]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pGp8i-00053t-V1 for guix-patches@gnu.org; Sat, 14 Jan 2023 17:36:43 -0500 Received: (Authenticated sender: matthieu@lemer.re) by mail.gandi.net (Postfix) with ESMTPSA id 88546E0002 for ; Sat, 14 Jan 2023 22:36:35 +0000 (UTC) From: Matthieu Lemerre Date: Sat, 14 Jan 2023 23:36:34 +0100 Message-ID: <87358cwxot.fsf@cea.fr> MIME-Version: 1.0 Received-SPF: neutral client-ip=2001:4b98:dc4:8::224; envelope-from=racin@free.fr; helo=relay4-d.mail.gandi.net X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_NEUTRAL=0.779, SPOOFED_FREEMAIL=0.001 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-Mailman-Approved-At: Sat, 14 Jan 2023 18:27:38 -0500 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 Hi Guix! This is my first guix package -- I have some texlive, ocaml and emacs packages missing for my installation, so I thought it would be best to share them! Bests Matthieu --- gnu/packages/tex.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index dafed9d3c3..1e28c36549 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -11935,6 +11935,25 @@ (define-public texlive-latex-hyphenat fonts.") (license license:lppl1.3c+))) +(define-public texlive-latex-totpages + (package + (inherit (simple-texlive-package "texlive-latex-totpages" + (list "doc/latex/totpages/" + "source/latex/totpages/" + "tex/latex/totpages/") + (base32 + "1mmya2fqdskyavw3hvdiygfyp9cll7bl4lpi7pl2jf9s7ds49j5a") + #:trivial? #t)) + (build-system texlive-build-system) + (version "2.00") + (home-page "https://ctan.org/pkg/totpages") + (synopsis "Count pages in a document, and report last page number") + (description + "The package counts the actual pages in the document (as opposed to reporting the +number of the last page, as does lastpage). The counter itself may be shipped +out to the DVI file. The package uses the everyshi package for its task.") + (license license:lppl))) + (define-public texlive-latex-lastpage (package (inherit (simple-texlive-package