From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SKPBFqqm7mCkUAEAgWs5BA (envelope-from ) for ; Wed, 14 Jul 2021 10:56:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 8MJnEqqm7mBvVwAAbx9fmQ (envelope-from ) for ; Wed, 14 Jul 2021 08:56:10 +0000 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 C584A10B46 for ; Wed, 14 Jul 2021 10:56:09 +0200 (CEST) Received: from localhost ([::1]:57904 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m3aga-0002li-US for larch@yhetil.org; Wed, 14 Jul 2021 04:56:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55966) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m3agU-0002la-GV for guix-patches@gnu.org; Wed, 14 Jul 2021 04:56:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59528) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m3agU-0001VU-5T for guix-patches@gnu.org; Wed, 14 Jul 2021 04:56:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m3agU-0001MT-4y for guix-patches@gnu.org; Wed, 14 Jul 2021 04:56:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48443] [PATCH 1/2] gnu: Add texlive-libkpathsea. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 14 Jul 2021 08:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48443 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Thiago Jung Bauermann Cc: 48443@debbugs.gnu.org Received: via spool by 48443-submit@debbugs.gnu.org id=B48443.16262529605225 (code B ref 48443); Wed, 14 Jul 2021 08:56:02 +0000 Received: (at 48443) by debbugs.gnu.org; 14 Jul 2021 08:56:00 +0000 Received: from localhost ([127.0.0.1]:42841 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m3agS-0001MD-D5 for submit@debbugs.gnu.org; Wed, 14 Jul 2021 04:56:00 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:47351) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m3agQ-0001M5-Kk for 48443@debbugs.gnu.org; Wed, 14 Jul 2021 04:55:59 -0400 Received: from nijino.local (80-121-26-175.adsl.highway.telekom.at [80.121.26.175]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4GPrvJ46yKz3xRR; Wed, 14 Jul 2021 10:55:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1626252956; bh=kJCStXJDWoU+R6GHtSDVTRAn0I2FLiyc8OF81bynfPY=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=R0W/2wKm0i+La/ufvkv5XkBNvw9XNoAUh9PgD1tyzWB0NgfYBl462U9Az+vH7JwmF FYswos7ccEvIAJSxOnMADZhQZ3wsKmmWFs/KYCeFj+/TNBxMbe8UT/7Iau220SRko+ CV7x3WBHj091hWmgxUGpUZMpHvsAqMBfIhQOR8rQ= Message-ID: <969b22ea43c5975192e99570d6ad79ebe26efd04.camel@student.tugraz.at> From: Leo Prikler Date: Wed, 14 Jul 2021 10:55:55 +0200 In-Reply-To: <2781292.7Eo9FbQQbZ@popigai> References: <7264704.8eCzXKmJsZ@popigai> <2781292.7Eo9FbQQbZ@popigai> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1626252969; 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: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:dkim-signature; bh=kJCStXJDWoU+R6GHtSDVTRAn0I2FLiyc8OF81bynfPY=; b=StoisG7rzy/13s4ErPTXyekaG02dXzhkUY7ARZ9f/oYM3ipLZgBUvG5G4whxB86VB583qi KgEjtrGzxVdKqYqDAXXLyHbuAmhEPeMMWaSzX4KO1Pch37lu3pu1zAhbCE8FRp5jtDC4c5 ZjXCEkjTiixQpFJee39R/tWvGjo8QoJLGQfQ1AZu8QEjO3IcYDrDLd5r4BB/JAx243qaKM BHywC3dN1Slrm1Z+JAKYfqlqXhCqgvLRJyYkUYITwoxRbC+rugufPHu2hFRGGDGfbPsvni pWLDigbHKOW8JccjqgLLQNPW7CfCllFCr3GHmIQfcTQq4pgsz9lgFi5jAbFVDg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626252969; a=rsa-sha256; cv=none; b=Lk/2uDqiDCpYat3srzpn+QfhJNxlIty57xMffXWu3j2n7EY/gclcQs4EGxpPtlKDJ6CywZ MA5hW+3dIndW4YGfSQMrbZM/tSKBoRG4+AWt4PzS0EcYFUx9Ejedk5zg5EOB7G0ou59/O/ dgd31gTLA1cBBcKUJSNLjZQ3pGfk9814fJXXL3I4Hu6lGem5z15GTuGR54/qnPxThf258i unzEctxt/I8Ko2wnl05PD8PmOj9tUjbmY025ovys2LOTQJZq3+fACy8Jy2TPluup8Q1zKi h5SeZDXEkmmF2h3u5oum2VYh+PmStaipCq03tvIRtk6vy6/iwvUWB2YcdprbjA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b="R0W/2wKm"; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.30 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b="R0W/2wKm"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: C584A10B46 X-Spam-Score: -1.30 X-Migadu-Scanner: scn1.migadu.com X-TUID: nhmVlxuvRigM Hi Thiago, Am Dienstag, den 13.07.2021, 22:48 -0300 schrieb Thiago Jung Bauermann: > [...] > > > On the part of inputs, sure, we could make libkpathsea smaller, but > > I > > have little experience with TeX Live and its build system, so I > > decided > > not to change its inputs for now. If you have suggestions on how a > > better closure could be achieved, please do bring them forth. > > I was able to build the package with an empty input list. I compared > a texlive-libkpathsea built with your unchanged patches and one with > the empty input list and they are identical, except for the hash of > the /gnu/store directory. Even the binary files, which I compared > using hexdump. So my suggestion is to use an empty input list. :-) Thanks for checking, v3 now uses an empty input list. > > > In addition, if it were a separate package then texlive-bin could > > > be > > > made to use it, rather than shipping its own copy. > > > > Perhaps that's an idea worth entertaining, but given the TeX Live > > build > > system I fear it's not an overwhelmingly practical one. > > I can look into that separately, after your patches go in. Fair enough. > > > > + (name "texlive-libkpathsea") > > > > + (source > > > > + (origin > > > > + (inherit (package-source texlive-bin)) > > > > > > Perhaps a ‘texlive-source-src’ variable analogous to ‘texlive- > > > extra- > > > src’ and ‘texlive-texmf-src’ would be useful? > > > > I'm… not too sure on this one. What would texlive-source-src > > capture? > > Just the upstream source? Then we'd have to carefully apply all > > the > > fitting patches. The same as (package-source texlive-bin)? What's > > the > > point then? > > Yes, the point would be just to not duplicate the origin information. > There would indeed be more work sorting out which security updates > apply. I'm not really convince that would help us. texlive-libkpathsea still needs to inherit from the origin so as to strip away all the others sources. So would every other part of texlive if built on its own. Perhaps one could instead do computed origins, but that increases complexity rather than reducing it. Therefore I'm not convinced extracting this origin into its own variable is beneficial. Regards, Leo