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 iCPpMw/VP2RvLgAASxT56A (envelope-from ) for ; Wed, 19 Apr 2023 13:48:31 +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 aADNMw/VP2RJbwEA9RJhRA (envelope-from ) for ; Wed, 19 Apr 2023 13:48:31 +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 7AD1CE372 for ; Wed, 19 Apr 2023 13:48:31 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pp6IR-0003xZ-RL; Wed, 19 Apr 2023 07:48:23 -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 1pp6Hr-0003eg-VE for guix-devel@gnu.org; Wed, 19 Apr 2023 07:47:51 -0400 Received: from relay5-d.mail.gandi.net ([2001:4b98:dc4:8::225]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pp6HV-00041j-Tt for guix-devel@gnu.org; Wed, 19 Apr 2023 07:47:47 -0400 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by mail.gandi.net (Postfix) with ESMTPSA id 35E771C0003; Wed, 19 Apr 2023 11:47:19 +0000 (UTC) From: Nicolas Goaziou To: Ricardo Wurmus Cc: Simon Tournier , Guix Devel Subject: Re: Question about packaging TexLive References: <86fs8wjm1y.fsf@gmail.com> <87mt34qlmk.fsf@nicolasgoaziou.fr> <87o7nkqkap.fsf@elephly.net> Date: Wed, 19 Apr 2023 13:47:16 +0200 In-Reply-To: <87o7nkqkap.fsf@elephly.net> (Ricardo Wurmus's message of "Wed, 19 Apr 2023 11:36:46 +0200") Message-ID: <87ildsqekb.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2001:4b98:dc4:8::225; envelope-from=mail@nicolasgoaziou.fr; helo=relay5-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1681904911; a=rsa-sha256; cv=none; b=oes8ZJd+SamoLOrSpeoukfjv0ZuP5BK1sGh+hla6c2rdv+ggsTC4r4f6sQmEdjk+NTJlxH RLlBS3MAbRJpG3ee3IA+vIKBVXviK3cmsrRiTIxR4rWiKLDhLoGKTPSqwjSN+hZ1Kzw/vH j8aCdKIFELKn67A2HGuKEw076hVb2xBaiCIpM0ghFXjpR5si/FMeRaO4VLbsZnE6zJy6k1 w/oK0+yCETFkz54Ua8zFwxbWSf7OFqwo7oJC69BZsmEPh69KsVTS8Ng/XIdgLZlBruaatW kDVVh5YSCjDlDjk4WAzN2eZg+Yc+TQL2Q8E4nXAac/yrzfnt71KZcxaYLH4TNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1681904911; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=p6QD0DXodfQP9HUdrOefq/3aVxdGnRbfETQDqWsMObA=; b=N+Szdmp8f+w5VUhvpALs40Lr7uMPTX6ioKnMizCGrkVnLcxO+OISXp7R6ZrPAGCkPml326 g0A5wQY8S4qE058gnTfYRf8FRDAg3+aPmic8hYbF7oXyxDubkv/DeMWlUfWsP91ULKYJh+ mRZO3N8NQ1LcD43VdRTtWpRvNYkV8EvJ9PkUCKsA3WSNnaH1TsoXQEg/++0g1R5OhS/WKp Hw9MzmdEw2nB6f5qXslqwypb7yvjWxpBUhYjdv1RMS8PNzHqJbZk86lxasQt1wxx2PkvuO OxQAo29K9g0nTmfWoYEWcy6moptgF+OOHMCS+tDSwkqsMM4aD+aCSnI2Ho2h+Q== X-Migadu-Spam-Score: -3.41 X-Spam-Score: -3.41 X-Migadu-Queue-Id: 7AD1CE372 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=none X-TUID: DtHi0O7/65CL Ricardo Wurmus writes: > Nicolas Goaziou writes: > >> 1. "#:trivial? #t" means we're giving up generating ".sty" files from >> source; > > Trivial should only ever be used for packages where there aren=E2=80=99t = any > sources to build from. We are on the same length. However, some packages do use "#:trivial #t" even though they should not, e.g., `texlive-latex-marginfix'. My point is that we should not make "#:trivial #t" the default, assuming that was a possibility stemming from Simon's question. >> 2. Some affected packages are also missing propagated inputs (e.g., >> texlive-latex-graphics for texlive-latex-fncychap); > > Correct. The old importer didn=E2=80=99t know about dependencies. The n= ewer > importer uses tlpdb to get a list of dependencies. AFAIU, this is not sufficient. All dependencies do not appear in "texlive.tlpbd". For example, `texlive-halloweenmath' has no "depend" entry in the tlpbd. Yet, it requires both texlive-amsmath and texlive-pict2e (i.e., "halloweenmath.sty" contains "\RequirePackage{amsmath,pict2e}"). So, unless I'm mistaken, most dependencies have to be resolved manually. > All packages must be checked for completeness. All new packages I=E2=80= =99ve > added have been checked. All old packages must be checked before > renaming them. The way to check them is to build them and then check > the outputs with something like this: > > --8<---------------cut here---------------start------------->8--- > ,use (guix import texlive) > ,pp (files-differ? "/gnu/store/=E2=80=A6-texlive-amsfonts-fixed-59745/sha= re/" "amsfonts") > --8<---------------cut here---------------end--------------->8--- > > This compares outputs with tlpdb. I use this valuable tool, but this is somewhat tedious. Could this become a test in the linter? > Note that simple-texlive-package is far from perfect. We have many > tex packages that require excessive workarounds to ensure that files end > up in the correct location and that superfluous files are removed. > simple-texlive-package should eventually take care of all of this, but I > haven=E2=80=99t been able to make time to work on it. We may need to update more Texlive packages to get a better grasp of the changes required in `simple-texlive-packages'. When doing such updates, I mostly copy and paste definition from previously updated packages, which is a good thing. However, some translations seem complicated. > All this work should be done on a separate feature branch. Agreed. Regards,