GNU bug report logs - #60820
[PATCH] Add 'totpages' latex package.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Matthieu Lemerre <racin@HIDDEN>; Keywords: patch; dated Sat, 14 Jan 2023 22:37:01 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at 60820 <at> debbugs.gnu.org:


Received: (at 60820) by debbugs.gnu.org; 15 Jan 2023 18:26:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 15 13:26:25 2023
Received: from localhost ([127.0.0.1]:59537 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pH7i4-0000YQ-QT
	for submit <at> debbugs.gnu.org; Sun, 15 Jan 2023 13:26:25 -0500
Received: from relay1-d.mail.gandi.net ([217.70.183.193]:60595)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1pH7i2-0000YB-1u
 for 60820 <at> debbugs.gnu.org; Sun, 15 Jan 2023 13:26:23 -0500
Received: (Authenticated sender: admin@HIDDEN)
 by mail.gandi.net (Postfix) with ESMTPSA id 2C80E240003;
 Sun, 15 Jan 2023 18:26:14 +0000 (UTC)
From: Nicolas Goaziou <mail@HIDDEN>
To: Matthieu Lemerre <racin@HIDDEN>
Subject: Re: [bug#60820] [PATCH] Add 'totpages' latex package.
References: <87358cwxot.fsf@HIDDEN>
Date: Sun, 15 Jan 2023 19:26:06 +0100
In-Reply-To: <87358cwxot.fsf@HIDDEN> (Matthieu Lemerre's message of "Sat, 14
 Jan 2023 23:36:34 +0100")
Message-ID: <87358br6wx.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 60820
Cc: 60820 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Hello,

Matthieu Lemerre <racin@HIDDEN> writes:

> 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!

Thank you.

> +(define-public texlive-latex-totpages

The name should be texlive-totpages.

> +  (package
> +    (inherit (simple-texlive-package "texlive-latex-totpages"
> +                                     (list "doc/latex/totpages/"
> +                                           "source/latex/totpages/"
> +                                           "tex/latex/totpages/")
> +                                     (base32
> +                                      "1mmya2fqdskyavw3hvdiygfyp9cll7bl4lpi7pl2jf9s7ds49j5a")
> +                                     #:trivial? #t))

This is not a trivial package. The source contains ".ins" files that
should be used to generate the library itself. See, for example,
texlive-tabu package.

Regards,
-- 
Nicolas Goaziou




Information forwarded to guix-patches@HIDDEN:
bug#60820; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 14 Jan 2023 22:36:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 14 17:36:47 2023
Received: from localhost ([127.0.0.1]:55742 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pGp8p-0003UT-2J
	for submit <at> 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 <racin@HIDDEN>) id 1pGp8m-0003UK-Ef
 for submit <at> 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 <racin@HIDDEN>) id 1pGp8m-0007Dk-73
 for guix-patches@HIDDEN; 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 <racin@HIDDEN>) id 1pGp8i-00053t-V1
 for guix-patches@HIDDEN; Sat, 14 Jan 2023 17:36:43 -0500
Received: (Authenticated sender: matthieu@HIDDEN)
 by mail.gandi.net (Postfix) with ESMTPSA id 88546E0002
 for <guix-patches@HIDDEN>; Sat, 14 Jan 2023 22:36:35 +0000 (UTC)
From: Matthieu Lemerre <racin@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] Add 'totpages' latex package.
Date: Sat, 14 Jan 2023 23:36:34 +0100
Message-ID: <87358cwxot.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: neutral client-ip=2001:4b98:dc4:8::224;
 envelope-from=racin@HIDDEN; 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-Spam-Score: -1.6 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.6 (--)


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
-- 
2.38.1





Acknowledgement sent to Matthieu Lemerre <racin@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#60820; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 15 Jan 2023 18:30:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.