From unknown Sat Jun 21 05:19:43 2025 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 Content-Type: text/plain 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-Spam-Score: -1.6 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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 From unknown Sat Jun 21 05:19:43 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#60820] [PATCH] Add 'totpages' latex package. Resent-From: Nicolas Goaziou Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 15 Jan 2023 18:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60820 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Matthieu Lemerre Cc: 60820@debbugs.gnu.org Received: via spool by 60820-submit@debbugs.gnu.org id=B60820.16738071852138 (code B ref 60820); Sun, 15 Jan 2023 18:27:01 +0000 Received: (at 60820) by debbugs.gnu.org; 15 Jan 2023 18:26:25 +0000 Received: from localhost ([127.0.0.1]:59537 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pH7i4-0000YQ-QT for submit@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 ) id 1pH7i2-0000YB-1u for 60820@debbugs.gnu.org; Sun, 15 Jan 2023 13:26:23 -0500 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by mail.gandi.net (Postfix) with ESMTPSA id 2C80E240003; Sun, 15 Jan 2023 18:26:14 +0000 (UTC) From: Nicolas Goaziou References: <87358cwxot.fsf@cea.fr> Date: Sun, 15 Jan 2023 19:26:06 +0100 In-Reply-To: <87358cwxot.fsf@cea.fr> (Matthieu Lemerre's message of "Sat, 14 Jan 2023 23:36:34 +0100") Message-ID: <87358br6wx.fsf@nicolasgoaziou.fr> 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hello, Matthieu Lemerre 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 From unknown Sat Jun 21 05:19:43 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#60820] [PATCH] Add 'totpages' latex package. Resent-From: racin@free.fr Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 23 Jan 2023 21:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60820 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Nicolas Goaziou Cc: 60820@debbugs.gnu.org Received: via spool by 60820-submit@debbugs.gnu.org id=B60820.16745109409325 (code B ref 60820); Mon, 23 Jan 2023 21:56:02 +0000 Received: (at 60820) by debbugs.gnu.org; 23 Jan 2023 21:55:40 +0000 Received: from localhost ([127.0.0.1]:55486 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pK4mx-0002QL-NT for submit@debbugs.gnu.org; Mon, 23 Jan 2023 16:55:39 -0500 Received: from smtp5-g21.free.fr ([212.27.42.5]:40690) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pK4mu-0002QA-Ok for 60820@debbugs.gnu.org; Mon, 23 Jan 2023 16:55:37 -0500 Received: from zimbra109-e19.priv.proxad.net (unknown [172.20.243.130]) by smtp5-g21.free.fr (Postfix) with ESMTP id 0AF7F5FF88; Mon, 23 Jan 2023 22:55:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1674510935; bh=Tq3owb59c4hmhL7LisY/5WhZ7R/kv3SQM3DzIiw08Ss=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=HCUPP1/+H3i6iwd6jjNewwNX4bveEMz2zt7WsQNT4Q3qvHJP+OLzyuR/tuc0SMUJQ L1fYjrvCyafc7m89+MckbGHIC0RG214W+l/psqr1xBj5mrxDKC5szOA2Dl07s1ohmU k2DecWRdlyJ1mOYJGE8XKldoEqcVofeh2cZBkj9G4c5EnHAZNwo/jwdPd9LJu/8Hih iVs9Lzlo18D5x5/Ip8/uxqWsM2lWRFFgan7pY5NuKv/NK5JHupPLQTTyJohncJm5uK 42vZVXT2XOcfT6b8UxuizC3Q3Q4G7ONc5d2SeUgEgzaV/w+EwIKeBHtdf1ZaevaKCD tqjLnIEqFiVvQ== Date: Mon, 23 Jan 2023 22:55:34 +0100 (CET) From: racin@free.fr Message-ID: <2038367541.192525317.1674510934926.JavaMail.zimbra@free.fr> In-Reply-To: <87358br6wx.fsf@nicolasgoaziou.fr> References: <87358cwxot.fsf@cea.fr> <87358br6wx.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [93.6.34.225] X-Mailer: Zimbra 8.8.7_GA_1002 (ZimbraWebClient - FF108 (Linux)/8.8.7_GA_1002) Thread-Topic: Add 'totpages' latex package. Thread-Index: BttaRA1JPGvTgTLo6WEFfCERNwxzKQ== X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, > > +(define-public texlive-latex-totpages > The name should be texlive-totpages. Is there a reason why? The package lives under the latex/ directory, like the hyphenat and totpages package, which have latex- in their name. > > + (package > > + (inherit (simple-texlive-package "texlive-latex-totpages" > > + (list "doc/latex/totpages/" > > + "source/latex/totpages/" > > + "tex/latex/totpages/") > > + (base32 > > + "1mmya2fqdskyavw3hvdiygfyp9cll7bl4lpi7pl2jf9s7ds49j5a") > > + #:trivial? #t)) I am confused. The hyphenat package also has a .ins in its archive, and it is defined as a trivial package. Maybe I need to just remove source/latex/totpages from the list? Best regards, Matthieu -- Nicolas Goaziou From unknown Sat Jun 21 05:19:43 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#60820] [PATCH] Add 'totpages' latex package. Resent-From: Nicolas Goaziou Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 24 Jan 2023 13:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60820 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: racin@free.fr Cc: 60820@debbugs.gnu.org Received: via spool by 60820-submit@debbugs.gnu.org id=B60820.167456620616992 (code B ref 60820); Tue, 24 Jan 2023 13:17:02 +0000 Received: (at 60820) by debbugs.gnu.org; 24 Jan 2023 13:16:46 +0000 Received: from localhost ([127.0.0.1]:56129 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pKJAM-0004Q0-Dv for submit@debbugs.gnu.org; Tue, 24 Jan 2023 08:16:46 -0500 Received: from relay11.mail.gandi.net ([217.70.178.231]:36523) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pKJAJ-0004PY-Gr for 60820@debbugs.gnu.org; Tue, 24 Jan 2023 08:16:44 -0500 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by mail.gandi.net (Postfix) with ESMTPSA id 360BD10000E; Tue, 24 Jan 2023 13:16:35 +0000 (UTC) From: Nicolas Goaziou References: <87358cwxot.fsf@cea.fr> <87358br6wx.fsf@nicolasgoaziou.fr> <2038367541.192525317.1674510934926.JavaMail.zimbra@free.fr> Date: Tue, 24 Jan 2023 14:16:29 +0100 In-Reply-To: <2038367541.192525317.1674510934926.JavaMail.zimbra@free.fr> (racin@free.fr's message of "Mon, 23 Jan 2023 22:55:34 +0100 (CET)") Message-ID: <87r0vknkcy.fsf@nicolasgoaziou.fr> 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hello, racin@free.fr writes: >> > +(define-public texlive-latex-totpages > >> The name should be texlive-totpages. > > Is there a reason why? The package lives under the latex/ directory, like the hyphenat and totpages package, which have latex- in their name. Guix dropped the directory part in package names months ago. It doesn't always make sense: some packages install files in more than one top-level directory. Also, it was decided packages should follow TeXLive naming scheme, as used in "texlive.tlpdb". As another data point, if you import hyphenat guix shell subversion -- import texlive hyphenat you can see the suggested name is "texlive-hyphenat": (... (simple-texlive-package "texlive-hyphenat" ...)) Note also that a number of deprecation functions in "tex.scm" already move packages to the suggested naming scheme, e.g.: (define-deprecated-package texlive-latex-beamer texlive-beamer) It is unfortunate that hyphenat package was pushed with the wrong name. It will need a deprecation notice at some point. >> > + (package >> > + (inherit (simple-texlive-package "texlive-latex-totpages" >> > + (list "doc/latex/totpages/" >> > + "source/latex/totpages/" >> > + "tex/latex/totpages/") >> > + (base32 >> > + "1mmya2fqdskyavw3hvdiygfyp9cll7bl4lpi7pl2jf9s7ds49j5a") >> > + #:trivial? #t)) > > I am confused. The hyphenat package also has a .ins in its archive, > and it is defined as a trivial package. Again, current hyphenat package is wrong. You should not consider it as an example. It simply does not install enough files. Guix provides an helper function to determine if a TeXLive package is complete or not, `files-differ?' in (guix import texlive): $ guix repl scheme@(guix-user)> ,use (guix import texlive) scheme@(guix-user)> (files-differ? "/gnu/store/n7pbka00i9y7jvbvqpm2jzf961cmlyya-texlive-latex-hyphenat-59745/share" "hyphenat") $1 = ("texmf-dist/source/latex/hyphenat/hyphenat.ins" "texmf-dist/source/latex/hyphenat/hyphenat.dtx") It means that hyphenat package doesn't install its sources. Not good. > Maybe I need to just remove source/latex/totpages from the list? Please don't. I already suggested how to deal with the issue. Do not hesitate to ping me if you have troubles with what I suggest. Regards, -- Nicolas Goaziou From unknown Sat Jun 21 05:19:43 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#60820] [PATCH] Add 'totpages' latex package. Resent-From: racin@free.fr Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 24 Jan 2023 22:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60820 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Nicolas Goaziou Cc: 60820 <60820@debbugs.gnu.org> Received: via spool by 60820-submit@debbugs.gnu.org id=B60820.16745991432539 (code B ref 60820); Tue, 24 Jan 2023 22:26:02 +0000 Received: (at 60820) by debbugs.gnu.org; 24 Jan 2023 22:25:43 +0000 Received: from localhost ([127.0.0.1]:57793 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pKRja-0000et-L2 for submit@debbugs.gnu.org; Tue, 24 Jan 2023 17:25:42 -0500 Received: from smtp3-g21.free.fr ([212.27.42.3]:22654) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pKRjX-0000eh-Pi for 60820@debbugs.gnu.org; Tue, 24 Jan 2023 17:25:41 -0500 Received: from zimbra109-e19.priv.proxad.net (unknown [172.20.243.130]) by smtp3-g21.free.fr (Postfix) with ESMTP id 3759A13F86E; Tue, 24 Jan 2023 23:25:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1674599138; bh=Cb5CjEzfD1lgDL7eCBhv4Q99mSz38r+9TWJAdRg7HzA=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=Bm4gi/YevV+6fgoZkxo1PdH4fFAP6kYBYGrCW5ZwC6zhMA5HYayNeNS9oi7ZUrKo6 xBX4cMcviYxzKVGQXQtLYNRXjrKl9X10OjKNfl6iT8XBjN41N4AzZSzrzMop9/9Dj7 D97vT8upMtnEXcnQ+nZ1ptjTQmW6UEOQ5I3k84ZiDubC1Dvlj1kj4yqzcVneiwTjzf cwgb0Th6I6W8iM2yICueMp9Y8qoQsBLjaV8GE0mlXW9VZFrYUIV0yJ5Me/6m8oo6tq pHnfQLCN+IvY7UYHAeUGDzz0Mlk0why9rbSB59Ge7xgiq2fw1fXm1cXWgecMaKu8Gi /MZ0J9OrlC/cA== Date: Tue, 24 Jan 2023 23:25:37 +0100 (CET) From: racin@free.fr Message-ID: <2117265375.197499488.1674599137755.JavaMail.zimbra@free.fr> In-Reply-To: <87r0vknkcy.fsf@nicolasgoaziou.fr> References: <87358cwxot.fsf@cea.fr> <87358br6wx.fsf@nicolasgoaziou.fr> <2038367541.192525317.1674510934926.JavaMail.zimbra@free.fr> <87r0vknkcy.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [93.6.34.225] X-Mailer: Zimbra 8.8.7_GA_1002 (ZimbraWebClient - FF108 (Linux)/8.8.7_GA_1002) Thread-Topic: Add 'totpages' latex package. Thread-Index: Zl9dxcVmiR8Bdw4OMx7nVb+v7Ew+iA== X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, > >> > +(define-public texlive-latex-totpages > > > >> The name should be texlive-totpages. > > > > Is there a reason why? The package lives under the latex/ directory, like the hyphenat and totpages package, which have latex- in their name. > Guix dropped the directory part in package names months ago. It doesn't > always make sense: some packages install files in more than one > top-level directory. Also, it was decided packages should follow TeXLive > naming scheme, as used in "texlive.tlpdb". Thanks, it makes sense now. I did not understand that some cleanup was going on. > It means that hyphenat package doesn't install its sources. Not good. Thanks, I now know how to check if my package is correctly installed. I am not sure why we would want to install the sources in the final package, instead of the .sty and the .pdf of the documentation > I already suggested how to deal with the issue. > Do not hesitate to ping me if you have troubles with what I suggest. Thanks. The issue that I had is that the new definition is much more complex than what the importer suggested, or what old packages like hyphenat were doing, even though it is a very simple package. But I think I understand what it does and I can replicate that. Best regards, Matthieu From unknown Sat Jun 21 05:19:43 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#60820] [PATCH] Add 'totpages' latex package. Resent-From: Nicolas Goaziou Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 25 Jan 2023 16:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60820 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: racin@free.fr Cc: 60820 <60820@debbugs.gnu.org> Received: via spool by 60820-submit@debbugs.gnu.org id=B60820.167466457227520 (code B ref 60820); Wed, 25 Jan 2023 16:37:01 +0000 Received: (at 60820) by debbugs.gnu.org; 25 Jan 2023 16:36:12 +0000 Received: from localhost ([127.0.0.1]:59796 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pKikq-00079j-Lk for submit@debbugs.gnu.org; Wed, 25 Jan 2023 11:36:11 -0500 Received: from relay11.mail.gandi.net ([217.70.178.231]:60103) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pKikk-000799-D3 for 60820@debbugs.gnu.org; Wed, 25 Jan 2023 11:36:07 -0500 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by mail.gandi.net (Postfix) with ESMTPSA id 45DBE10000B; Wed, 25 Jan 2023 16:35:54 +0000 (UTC) From: Nicolas Goaziou References: <87358cwxot.fsf@cea.fr> <87358br6wx.fsf@nicolasgoaziou.fr> <2038367541.192525317.1674510934926.JavaMail.zimbra@free.fr> <87r0vknkcy.fsf@nicolasgoaziou.fr> <2117265375.197499488.1674599137755.JavaMail.zimbra@free.fr> Date: Wed, 25 Jan 2023 17:35:43 +0100 In-Reply-To: <2117265375.197499488.1674599137755.JavaMail.zimbra@free.fr> (racin@free.fr's message of "Tue, 24 Jan 2023 23:25:37 +0100 (CET)") Message-ID: <87fsbyo9ls.fsf@nicolasgoaziou.fr> 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hello, racin@free.fr writes: > Thanks, I now know how to check if my package is correctly installed. > I am not sure why we would want to install the sources in the final package, > instead of the .sty and the .pdf of the documentation It is not "instead of". We want to install all of them, while, when possible, generating them from source. Let's assume for a second Guix provides all TeX Live packages piece-wise. The idea is that if someone installs all the packages, they would get the whole TeX Live distribution, including the sources, i.e., the "texlive" package. Regards, -- Nicolas Goaziou From unknown Sat Jun 21 05:19:43 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#60820] [PATCH] Add 'totpages' latex package. Resent-From: racin@free.fr Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 25 Jan 2023 17:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60820 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Nicolas Goaziou Cc: 60820 <60820@debbugs.gnu.org> Received: via spool by 60820-submit@debbugs.gnu.org id=B60820.16746685711792 (code B ref 60820); Wed, 25 Jan 2023 17:43:02 +0000 Received: (at 60820) by debbugs.gnu.org; 25 Jan 2023 17:42:51 +0000 Received: from localhost ([127.0.0.1]:59878 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pKjnP-0000Sp-Fs for submit@debbugs.gnu.org; Wed, 25 Jan 2023 12:42:51 -0500 Received: from smtp1-g21.free.fr ([212.27.42.1]:15442) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pKjnN-0000Sg-8L for 60820@debbugs.gnu.org; Wed, 25 Jan 2023 12:42:50 -0500 Received: from zimbra109-e19.priv.proxad.net (unknown [172.20.243.130]) by smtp1-g21.free.fr (Postfix) with ESMTP id 3F308B0059C; Wed, 25 Jan 2023 18:42:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1674668567; bh=CVP5GoghGdPhZ5U5B8JpWSUN6ufrW3sR9eYLz9TalkI=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=NFobzr09XrtmRUd54KbbJSOatl2yHVZoEd4H3aBsmqKr/2cvTODRWX0WN1mhLl5/q zs8j0MgayFzPeqnkwiaCKE6T9n1edcUVvO3qG2vbAOfeL1ONf7dB9RvVJ3B5EWxuAp PCOpcqwAGs8DJMSkGi3Dny4UEIpTGDIaLJej7TAfVUQH53s9QrBqsQOHvG/Ul/Bn3/ Yd/6QCtWcJ1v8ErEjs14H8r1vpOUjxcK7dRJqGx///HdCVhkd2gGGgNpN0yypJ8J8G +zZZaR5FOPgsk+IXLKPagOVOVptaC7dzbyzukqoPoq87Fd6l8Nu+5RQXT+aRpRy7sS W1BsCqOBl2UFg== Date: Wed, 25 Jan 2023 18:42:46 +0100 (CET) From: racin@free.fr Message-ID: <1193870067.201946967.1674668566774.JavaMail.zimbra@free.fr> In-Reply-To: <87fsbyo9ls.fsf@nicolasgoaziou.fr> References: <87358cwxot.fsf@cea.fr> <87358br6wx.fsf@nicolasgoaziou.fr> <2038367541.192525317.1674510934926.JavaMail.zimbra@free.fr> <87r0vknkcy.fsf@nicolasgoaziou.fr> <2117265375.197499488.1674599137755.JavaMail.zimbra@free.fr> <87fsbyo9ls.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [93.6.34.225] X-Mailer: Zimbra 8.8.7_GA_1002 (ZimbraWebClient - FF108 (Linux)/8.8.7_GA_1002) Thread-Topic: Add 'totpages' latex package. Thread-Index: d2BJN1KESjuyfG3ZLzkrkNK/FnVCVA== X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, > It is not "instead of". We want to install all of them, while, when > possible, generating them from source. > Let's assume for a second Guix provides all TeX Live packages > piece-wise. The idea is that if someone installs all the packages, they > would get the whole TeX Live distribution, including the sources, i.e., > the "texlive" package. But if someone need the source, my understanding is that one can just use guix build -S or some other command to retrieve them. So I don't see the interest of having them too in the compiled output, as they are not useful for normal usage of the package; it seems to take up space for no reason. Sorry to bother you with my questions, as I am new to guix. Regards, Matthieu Lemerre From unknown Sat Jun 21 05:19:43 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#60820] [PATCH] Add 'totpages' latex package. Resent-From: Nicolas Goaziou Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 27 Jan 2023 09:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60820 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: racin@free.fr Cc: 60820 <60820@debbugs.gnu.org> Received: via spool by 60820-submit@debbugs.gnu.org id=B60820.167481015430032 (code B ref 60820); Fri, 27 Jan 2023 09:03:01 +0000 Received: (at 60820) by debbugs.gnu.org; 27 Jan 2023 09:02:34 +0000 Received: from localhost ([127.0.0.1]:36730 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pLKd0-0007oJ-LH for submit@debbugs.gnu.org; Fri, 27 Jan 2023 04:02:34 -0500 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:57113) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pLKcy-0007o6-P7 for 60820@debbugs.gnu.org; Fri, 27 Jan 2023 04:02:33 -0500 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by mail.gandi.net (Postfix) with ESMTPSA id C25F324001D; Fri, 27 Jan 2023 09:02:22 +0000 (UTC) From: Nicolas Goaziou References: <87358cwxot.fsf@cea.fr> <87358br6wx.fsf@nicolasgoaziou.fr> <2038367541.192525317.1674510934926.JavaMail.zimbra@free.fr> <87r0vknkcy.fsf@nicolasgoaziou.fr> <2117265375.197499488.1674599137755.JavaMail.zimbra@free.fr> <87fsbyo9ls.fsf@nicolasgoaziou.fr> <1193870067.201946967.1674668566774.JavaMail.zimbra@free.fr> Date: Fri, 27 Jan 2023 10:02:11 +0100 In-Reply-To: <1193870067.201946967.1674668566774.JavaMail.zimbra@free.fr> (racin@free.fr's message of "Wed, 25 Jan 2023 18:42:46 +0100 (CET)") Message-ID: <878rhol59o.fsf@nicolasgoaziou.fr> 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hello, racin@free.fr writes: >> Let's assume for a second Guix provides all TeX Live packages >> piece-wise. The idea is that if someone installs all the packages, they >> would get the whole TeX Live distribution, including the sources, i.e., >> the "texlive" package. > > But if someone need the source, my understanding is that one can just use guix build -S > or some other command to retrieve them. > So I don't see the interest of having them too in the compiled output, as they are not useful for > normal usage of the package; it seems to take up space for no reason. I don't know if the reason is strong enough, but I gave you one above. In any case, the main nit here is that we try to generate files from source, which "#trivial? #t" prevents. > Sorry to bother you with my questions, as I am new to guix. No problem! Regards, -- Nicolas Goaziou From unknown Sat Jun 21 05:19:43 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Matthieu Lemerre Subject: bug#60820: closed (Re: [bug#60820] [PATCH] Add 'totpages' latex package.) Message-ID: References: <87ttxdjow1.fsf@nicolasgoaziou.fr> <87358cwxot.fsf@cea.fr> X-Gnu-PR-Message: they-closed 60820 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 60820@debbugs.gnu.org Date: Tue, 18 Apr 2023 13:35:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1681824902-13930-1" This is a multi-part message in MIME format... ------------=_1681824902-13930-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #60820: [PATCH] Add 'totpages' latex package. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 60820@debbugs.gnu.org. --=20 60820: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D60820 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1681824902-13930-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 60820-done) by debbugs.gnu.org; 18 Apr 2023 13:34:05 +0000 Received: from localhost ([127.0.0.1]:58178 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1polTA-0003at-U7 for submit@debbugs.gnu.org; Tue, 18 Apr 2023 09:34:05 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:37739) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1polT9-0003aV-61 for 60820-done@debbugs.gnu.org; Tue, 18 Apr 2023 09:34:03 -0400 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by mail.gandi.net (Postfix) with ESMTPSA id 1340910000D; Tue, 18 Apr 2023 13:33:56 +0000 (UTC) From: Nicolas Goaziou To: racin@free.fr Subject: Re: [bug#60820] [PATCH] Add 'totpages' latex package. References: <87358cwxot.fsf@cea.fr> <87358br6wx.fsf@nicolasgoaziou.fr> <2038367541.192525317.1674510934926.JavaMail.zimbra@free.fr> <87r0vknkcy.fsf@nicolasgoaziou.fr> <2117265375.197499488.1674599137755.JavaMail.zimbra@free.fr> <87fsbyo9ls.fsf@nicolasgoaziou.fr> <1193870067.201946967.1674668566774.JavaMail.zimbra@free.fr> <878rhol59o.fsf@nicolasgoaziou.fr> Date: Tue, 18 Apr 2023 15:33:50 +0200 In-Reply-To: <878rhol59o.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Fri, 27 Jan 2023 10:02:11 +0100") Message-ID: <87ttxdjow1.fsf@nicolasgoaziou.fr> 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-done Cc: 60820 <60820-done@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hello, Nicolas Goaziou writes: > racin@free.fr writes: > >> But if someone need the source, my understanding is that one can just use guix build -S >> or some other command to retrieve them. >> So I don't see the interest of having them too in the compiled output, as they are not useful for >> normal usage of the package; it seems to take up space for no reason. > > I don't know if the reason is strong enough, but I gave you one above. > > In any case, the main nit here is that we try to generate files from > source, which "#trivial? #t" prevents. I renamed the package, updated its definition, set propagated inputs, and applied it. Thank you for the initial work. You make a fair point with the source distribution, but unfortunately, it didn't raise much interest so far. It might be worth asking it on Guix Devel ML. Meanwhile, I'm closing this bug. Regards, -- Nicolas Goaziou ------------=_1681824902-13930-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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 To: guix-patches@gnu.org Subject: [PATCH] Add 'totpages' latex package. Date: Sat, 14 Jan 2023 23:36:34 +0100 Message-ID: <87358cwxot.fsf@cea.fr> MIME-Version: 1.0 Content-Type: text/plain 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-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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 ------------=_1681824902-13930-1--