From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id MOfxKD2xP2QjVgAASxT56A (envelope-from ) for ; Wed, 19 Apr 2023 11:15:41 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 2BEQKT2xP2TORgEA9RJhRA (envelope-from ) for ; Wed, 19 Apr 2023 11:15:41 +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 5932A2A15E for ; Wed, 19 Apr 2023 11:15:41 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pp3u5-0000gl-ER; Wed, 19 Apr 2023 05:15:05 -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 1pp3tv-0000gV-16 for guix-devel@gnu.org; Wed, 19 Apr 2023 05:14:55 -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 1pp3ts-0003sp-T3 for guix-devel@gnu.org; Wed, 19 Apr 2023 05:14:54 -0400 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by mail.gandi.net (Postfix) with ESMTPSA id 5B43F1C0014; Wed, 19 Apr 2023 09:14:46 +0000 (UTC) From: Nicolas Goaziou To: Simon Tournier Cc: Guix Devel , Ricardo Wurmus Subject: Re: Question about packaging TexLive References: <86fs8wjm1y.fsf@gmail.com> Date: Wed, 19 Apr 2023 11:14:43 +0200 In-Reply-To: <86fs8wjm1y.fsf@gmail.com> (Simon Tournier's message of "Wed, 19 Apr 2023 10:47:21 +0200") Message-ID: <87mt34qlmk.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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=1681895741; a=rsa-sha256; cv=none; b=Cn+5jVINMwlNN4w9wo83Anyf+AFq/hPL1vUJ54emKc+H4Frd5itVbJVN4HDDHUYH+0HTgb hDvgCbHlYCXoqA991uwzgAU973+OpcALx/bSYd8Hf4aYKmJ88UlraTxEH9Hlh/agqurdTJ bFs1vF/DBl7NdYp0O2tjFrYh7FtxOz1JbeuywOTTuzDSTdlWP7q3qWFRi8TCsLACjqMbik FNrs+oL/BGUyiHDEfb2h/EoDg2b0ZT9/QXIJXPhJsr6N8+t1WLPTsEPQfSWADCNbeT7/ZD 48RBmnrWIwAKsOUqtFHuOGcp3FVK6OATqhggHEpTq6PV7LrEg39BnoBdmbkBHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1681895741; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=6qj3zIxli+mrQyzxk1IUHsrMuBzDUfxqhprdbEYL4kM=; b=osSKRM2S7EhEgXNSxBLMAj6B1FIqvWLz9/aEkZtZKlcoc/u4OYu8YGAsRUhO6x+n1Mb6DQ uodpWTp7W9+pye3Y/foEqdIpjbxzUa593tei1wufgN9jwYm0iyHOXTqYeyOFOQC/weWir4 kBo0adi83eoo5LJaB5+iCiywyqcoVhL6ko8jFvebw+Mx/J2OZgITM5HPMqFBxxnGEFFTSh Po7cxI27A+9zTkeW73DKTAdp4N9YBaIju/k2FmtWhJAfTwNnAUNzs/Oc+MmuKqUh7eHwu8 vM/opt0wRxIneMXf7JCdH1l9XoyH8Ku+sWOE1moFOYL4iq5+imzEe/sk5BPTfg== X-Migadu-Spam-Score: -3.11 X-Spam-Score: -3.11 X-Migadu-Queue-Id: 5932A2A15E 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: h3EoT8f0xMGt Hello, Simon Tournier writes: > Other said, any objection to go from this pattern: > > --8<---------------cut here---------------start------------->8--- > (define-public texlive-foo > (package > (name "texlive-foo") > (version (number->string %texlive-revision)) > (source (origin > (method svn-multi-fetch) > (uri (svn-multi-reference > (url (string-append "svn://www.tug.org/texlive/tags/" > %texlive-tag "/Master/texmf-dist")) > (locations '("/metafont/" > "/fonts/source/public/modes/")) > (revision %texlive-revision))) > (file-name (string-append name "-" version "-checkout")) > (sha256 > (base32 > "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx")))) > (build-system gnu-build-system) > (arguments > `(#:tests? #f ; no test target > #:phases > [...] > --8<---------------cut here---------------end--------------->8--- > > > to this pattern: > > --8<---------------cut here---------------start------------->8--- > (define-public texlive-foo > (package > (inherit (simple-texlive-package > "texlive-foo" > (list "/tex/generic/foo") > (base32 > "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx") > #:trivial? #t)) > --8<---------------cut here---------------end--------------->8--- > > It is about ~35 packages, if I count correctly. > > WDYT? I think this is necessary but not sufficient. 1. "#:trivial? #t" means we're giving up generating ".sty" files from source; 2. Some affected packages are also missing propagated inputs (e.g., texlive-latex-graphics for texlive-latex-fncychap); 3. Some affected package also need to be renamed (texlive-latex-fncychap, texlive-latex-framed). AFAIU, this changes will probably ease time travelling, but the massive rebuild it will entail will have to be repeated for the other steps. So maybe we could do every step above in one go? Regards, -- Nicolas Goaziou