From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id yHqZI2Laz2PasQAAbAwnHQ (envelope-from ) for ; Tue, 24 Jan 2023 14:17:22 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id UK9VI2Laz2NYnwAAauVa8A (envelope-from ) for ; Tue, 24 Jan 2023 14:17:22 +0100 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 513C73F513 for ; Tue, 24 Jan 2023 14:17:22 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pKJAf-00025P-Up; Tue, 24 Jan 2023 08:17:05 -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 1pKJAd-00024d-BF for guix-patches@gnu.org; Tue, 24 Jan 2023 08:17:03 -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 1pKJAd-0004OF-1d for guix-patches@gnu.org; Tue, 24 Jan 2023 08:17:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pKJAc-0004Qc-G7 for guix-patches@gnu.org; Tue, 24 Jan 2023 08:17:02 -0500 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-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=1674566242; a=rsa-sha256; cv=none; b=Sd6T936bpa+qxE7ARy6l/v/4gU875nKkjg0QPLQYeSDU8D9W96rcIc20jZhETCVgYlWY0m fHfJ53oWiBlT0xx7KT2GUadMtXXRzWFvN5Ig0irT0dvcA6xfYxu+VidZO1H6OAB91CvZxQ pzPP5wOlk6iux76YejFaag0GKgphGe7DBURUsM1lOTKtTvvoAA5FuHjY71BmR4CNusa/s7 pfjJ9FShMVICassTtHVXMVaUt9Zj+NRUJOM3xEnCnJ1ErWzSJNPm1gi+eCODUsXCiZymD1 3UPFfr+6a9202az/GL+kAk4koei+qnKVP0HMGOuHHDrWZ9IotqkJ1wedQaqJLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674566242; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: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=48hybbPAyGHdUT1N5mqZ4OG5w96LdSXF0Wus5MN2FAM=; b=KrpDZulGDV8kep8NtMWsyOO+q1z3fDFrFnSpPBqkzWikI4UAfaIZ0rqNTVq6T58iuD9/Hs wgsh/EKM3yOQLaKrJ1bT3yi8QY0bKCQz+xY7zVqxyr1m/WcjwVtKn1GvH2tbMdvuTvYnqu xvSPSuPelEl+rOJIPs1kBYJXyK0u3IkIuD3Embx1I1rQFJmMYNa+U462v/vw/4kcMBbh9c kdoooAkogCi749T/M8UkjK18e+S8den6vjHfho+L/JcuZnhlat0zzUCLBdzkQ91zQtpGtJ NS41Yeu0JLlkRjL2kSioxo40b5anlc+MQsETy+x+eVv1ffHwjzTX2wsJM+pcOw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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"; dmarc=none X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -2.39 X-Spam-Score: -2.39 X-Migadu-Queue-Id: 513C73F513 Authentication-Results: aspmx1.migadu.com; dkim=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"; dmarc=none X-TUID: oEgyb7BTq7ez 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