From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <guix-patches-bounces+larch=yhetil.org@gnu.org>
Received: from mp2 ([2001:41d0:2:bcc0::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms0.migadu.com with LMTPS
	id 6NQhDacP72C2fgAAgWs5BA
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Wed, 14 Jul 2021 18:24:07 +0200
Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp2 with LMTPS
	id EH/lCKcP72DkfAAAB5/wlQ
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Wed, 14 Jul 2021 16:24:07 +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 369AB1A7E7
	for <larch@yhetil.org>; Wed, 14 Jul 2021 18:24:06 +0200 (CEST)
Received: from localhost ([::1]:52080 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	id 1m3hg5-0000qV-Bo
	for larch@yhetil.org; Wed, 14 Jul 2021 12:24:05 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:38798)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1m3hg2-0000qN-8X
 for guix-patches@gnu.org; Wed, 14 Jul 2021 12:24:02 -0400
Received: from debbugs.gnu.org ([209.51.188.43]:34269)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1m3hg2-0005Ff-0E
 for guix-patches@gnu.org; Wed, 14 Jul 2021 12:24:02 -0400
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1m3hg1-00059B-P2
 for guix-patches@gnu.org; Wed, 14 Jul 2021 12:24:01 -0400
X-Loop: help-debbugs@gnu.org
Subject: [bug#48443] [PATCH 1/2] gnu: Add texlive-libkpathsea.
Resent-From: Thiago Jung Bauermann <bauermann@kolabnow.com>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: guix-patches@gnu.org
Resent-Date: Wed, 14 Jul 2021 16:24:01 +0000
Resent-Message-ID: <handler.48443.B48443.162627982419761@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 48443
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: Leo Prikler <leo.prikler@student.tugraz.at>
Cc: 48443@debbugs.gnu.org
Received: via spool by 48443-submit@debbugs.gnu.org id=B48443.162627982419761
 (code B ref 48443); Wed, 14 Jul 2021 16:24:01 +0000
Received: (at 48443) by debbugs.gnu.org; 14 Jul 2021 16:23:44 +0000
Received: from localhost ([127.0.0.1]:45815 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1m3hfj-00058f-NY
 for submit@debbugs.gnu.org; Wed, 14 Jul 2021 12:23:43 -0400
Received: from mx.kolabnow.com ([95.128.36.42]:60118)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bauermann@kolabnow.com>) id 1m3hfi-00058S-4u
 for 48443@debbugs.gnu.org; Wed, 14 Jul 2021 12:23:42 -0400
Received: from localhost (unknown [127.0.0.1])
 by ext-mx-out002.mykolab.com (Postfix) with ESMTP id EE5F91326;
 Wed, 14 Jul 2021 18:23:35 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h=
 content-type:content-type:content-transfer-encoding:mime-version
 :references:in-reply-to:message-id:date:date:subject:subject
 :from:from:received:received:received; s=dkim20160331; t=
 1626279815; x=1628094216; bh=7d5fz1Yot2dFXHnP3b6pgPI/1R5XDWks7bT
 x+s2l+6s=; b=G4o62hIxZqb9TwOIReVpILRcgK4ZbDFvYV5ZICdvQPA3YirXtBJ
 r6akrshX9tjO/hH7BETZGbegm1Q23Tv1AMVJzpiIezwbLNn/IblQZsOEscpz8UW7
 +8C3LYEoR4nFiRx4kse9z8cQGSugNEEaFv3L06S35+QSdOKayh87nTlQujjmzZtU
 8fr4rXuvtwfLzbf79ipeTlY4PqwqueQDwtdzhd4C9reztwRwWVg3uDEsQWUrW7Nu
 +ZsbYFvVtUpjV7PKixl26KKDWjyIdgzAZ30C5S5TWHk0WhqYVlxX6I4A+wrIhmro
 G0LFLdDZevkRxHM2FxtwBnIS97dwSajR+Mga6AOHqjritWnowz0c0dlbCW04hCqi
 c8JiVAE3yurJAA8AVonZabdXEBHPKTBuz1HM3/wL12VZIIk5xqwJmIGBgbqMugjB
 GCOFh1oG1N7TJTQcF39/2pnXEOVMa6ueeYVsXYNKuzwnDzHgQc9lLLapGVHGAP2i
 Mint2msw8nbfzqhrmHemMMqnWHVFQWRvIbahybHjzCdocYs8soRua8rWi2Z9ab7x
 UM/MJ1HdqIMI0js2sitDS160qGO8hV14tD8SRBRGdTJTCMPBcbyWaaoji8sxfTYZ
 gQ8Pt9EZwsiTusbU+cbiuZ5/2DRLoXdGZe/eCUUjWE3Zu7epsOCsxJkA=
X-Virus-Scanned: amavisd-new at mykolab.com
Received: from mx.kolabnow.com ([127.0.0.1])
 by localhost (ext-mx-out002.mykolab.com [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 7JmGiweNAkzA; Wed, 14 Jul 2021 18:23:35 +0200 (CEST)
Received: from int-mx001.mykolab.com (unknown [10.9.13.1])
 by ext-mx-out002.mykolab.com (Postfix) with ESMTPS id 6033A1288;
 Wed, 14 Jul 2021 18:23:34 +0200 (CEST)
Received: from ext-subm002.mykolab.com (unknown [10.9.6.2])
 by int-mx001.mykolab.com (Postfix) with ESMTPS id 01913192B;
 Wed, 14 Jul 2021 18:23:32 +0200 (CEST)
Date: Wed, 14 Jul 2021 13:23:26 -0300
Message-ID: <10314452.DzVqUJa3KR@popigai>
In-Reply-To: <969b22ea43c5975192e99570d6ad79ebe26efd04.camel@student.tugraz.at>
References: <cd5aec2d967863cd640ae493b2c3f9cae0248b4d.camel@student.tugraz.at>
 <2781292.7Eo9FbQQbZ@popigai>
 <969b22ea43c5975192e99570d6ad79ebe26efd04.camel@student.tugraz.at>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="UTF-8"
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-BeenThere: guix-patches@gnu.org
List-Id: <guix-patches.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>,
 <mailto:guix-patches-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/guix-patches>
List-Post: <mailto:guix-patches@gnu.org>
List-Help: <mailto:guix-patches-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>,
 <mailto:guix-patches-request@gnu.org?subject=subscribe>
Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org
Sender: "Guix-patches" <guix-patches-bounces+larch=yhetil.org@gnu.org>
Reply-to:  Thiago Jung Bauermann <bauermann@kolabnow.com>
X-ACL-Warn: ,  Thiago Jung Bauermann via Guix-patches <guix-patches@gnu.org>
From:  Thiago Jung Bauermann via Guix-patches via <guix-patches@gnu.org>
X-Migadu-Flow: FLOW_IN
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1626279847;
	h=from:from:sender:sender:reply-to: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=7d5fz1Yot2dFXHnP3b6pgPI/1R5XDWks7bTx+s2l+6s=;
	b=NNPhx5eb0leJKk89xvD5dIUvmULEwwRaV9qHZlNVluhnY6SgCPasN5CL0xZ50Q4US1W0D4
	YzupjoqF9qXdeYlqk3MiCq0ZiVbMgKfwBQgPlWeXrOG3KiG0MH6KW589Qtn1fenbndpQyv
	DO/aJFHm9UKtKXvB6ucUuCDDjfmRHI7u9XknMnIMcvvqD6rjSR2MxHdfW9gSeubzF1OQTt
	XaKvpzSC98ueySUh6dpnUqBBaKIjCcwbX3/UsMn0X15XSdB0kbtPiLtaugqE/DVp9K6fWz
	lDuegQAOlLHX7rkfqenxXa8KIBHf/9SrPLrB+rHEy2aulI6QTEKCimiGxWfu5Q==
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626279847; a=rsa-sha256; cv=none;
	b=fAhF51wjcn7O9JMnw50jiwXc4/6nsrfYx/65MwXHti6B115XbATZmtNizrQeiAkbcspa/U
	4HE2Mor//z+yBs+gee8bIaEtx+32Ohpvmzpe07V9JcEzcFerxuo7KRjyjGFeGxM5GlJg1t
	E/5hgSIufm7o15EHwH/50qHcSASHQkI95iccgCwnkA9ZxKhlfBh2z86ND3HfTEugSRPPsP
	7TQnxWNt4Xt7GjOneG8dXEY3KCUu1nQuE1kjodv4yB8CaJxqtJl/tihCb99TOUsAvGelDf
	LqCwtjU3cmFKcjzZTMq3jth+QCHCAHurKda5t+vO4EwQZx+AVN12m2To9Q8zjw==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=kolabnow.com header.s=dkim20160331 header.b=G4o62hIx;
	dmarc=pass (policy=none) header.from=gnu.org;
	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: -2.40
Authentication-Results: aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=kolabnow.com header.s=dkim20160331 header.b=G4o62hIx;
	dmarc=pass (policy=none) header.from=gnu.org;
	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: 369AB1A7E7
X-Spam-Score: -2.40
X-Migadu-Scanner: scn1.migadu.com
X-TUID: 9DqcvBvvbtoC

Hi Leo,

Em quarta-feira, 14 de julho de 2021, =C3=A0s 05:55:55 -03, Leo Prikler=20
escreveu:
> Am Dienstag, den 13.07.2021, 22:48 -0300 schrieb Thiago Jung Bauermann:
> > [...]
> >=20
> > > 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.
> >=20
> > 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. :-)
>=20
> Thanks for checking, v3 now uses an empty input list.

Thanks! v3 looks great to me.
=20
> > > > > +    (name "texlive-libkpathsea")
> > > > > +    (source
> > > > > +     (origin
> > > > > +       (inherit (package-source texlive-bin))
> > > >=20
> > > > Perhaps a =E2=80=98texlive-source-src=E2=80=99 variable analogous t=
o =E2=80=98texlive-
> > > > extra-
> > > > src=E2=80=99 and =E2=80=98texlive-texmf-src=E2=80=99 would be usefu=
l?
> > >=20
> > > I'm=E2=80=A6 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?
> >=20
> > Yes, the point would be just to not duplicate the origin information.
> > There would indeed be more work sorting out which security updates
> > apply.
>=20
> 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.

Yes, that is true. In my previous message I was agreeing with you that the=
=20
origin idea didn=E2=80=99t bring much benefit. Sorry for not being clear.

=2D-=20
Thanks,
Thiago