GNU bug report logs - #36513
texlive-union: Build missing font maps.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Ricardo Wurmus <rekado@HIDDEN>; dated Fri, 5 Jul 2019 15:56:01 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at 36513 <at> debbugs.gnu.org:


Received: (at 36513) by debbugs.gnu.org; 19 Jul 2019 12:04:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jul 19 08:04:33 2019
Received: from localhost ([127.0.0.1]:55269 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hoRcn-0004M1-Gs
	for submit <at> debbugs.gnu.org; Fri, 19 Jul 2019 08:04:33 -0400
Received: from eggs.gnu.org ([209.51.188.92]:32793)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1hoRcl-0004Lp-SG
 for 36513 <at> debbugs.gnu.org; Fri, 19 Jul 2019 08:04:32 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:56505)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1hoRcg-00067V-0D; Fri, 19 Jul 2019 08:04:26 -0400
Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=60586 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1hoRcf-0005gb-K0; Fri, 19 Jul 2019 08:04:25 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Ricardo Wurmus <rekado@HIDDEN>
Subject: Re: [bug#36513] texlive-union: Build missing font maps.
References: <87d0ioschd.fsf@HIDDEN> <87muhfghu4.fsf@HIDDEN>
 <87zhlfgh4g.fsf@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 1 Thermidor an 227 de la =?utf-8?Q?R=C3=A9volution?=
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Fri, 19 Jul 2019 14:04:24 +0200
In-Reply-To: <87zhlfgh4g.fsf@HIDDEN> (Ricardo Wurmus's message of "Mon,
 15 Jul 2019 22:47:11 +0200")
Message-ID: <87tvbib587.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 36513
Cc: Pierre Neidhardt <mail@HIDDEN>, 36513 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hello,

Ricardo Wurmus <rekado@HIDDEN> skribis:

> In addition to this change I just pushed to wip-texlive a number of
> changes that may lead to an even bigger number of rebuilds due to
> changes in the svn fetcher and even more TeX packages.
>
> (I noticed that the branch name =E2=80=9Cwip-texlive=E2=80=9D was already=
 taken by the
> attempt to add a new importer, so I just cherry-picked that commit and
> replaced the branch.)
>
> I don=E2=80=99t know yet if it leads to practical improvements for users,=
 but at
> least it greatly simplifies the definition of texlive-* packages.
>
> I have yet to double check the often unclear licenses of the
> texlive-hyphen-* packages.  Other than that and the WIP commit by Pierre
> at the tip I think these changes are very close to their final form.

Yay, very nice!

When it=E2=80=99s ready, we can ask berlin to build it as a separate branch=
 and
merge it once it=E2=80=99s done.

Thanks a lot!

Ludo=E2=80=99.




Information forwarded to guix-patches@HIDDEN:
bug#36513; Package guix-patches. Full text available.

Message received at 36513 <at> debbugs.gnu.org:


Received: (at 36513) by debbugs.gnu.org; 15 Jul 2019 20:47:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 15 16:47:27 2019
Received: from localhost ([127.0.0.1]:49266 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hn7sb-0001tT-Bb
	for submit <at> debbugs.gnu.org; Mon, 15 Jul 2019 16:47:27 -0400
Received: from sender-of-o51.zoho.com ([135.84.80.216]:21263)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rekado@HIDDEN>) id 1hn7sZ-0001tJ-2G
 for 36513 <at> debbugs.gnu.org; Mon, 15 Jul 2019 16:47:24 -0400
ARC-Seal: i=1; a=rsa-sha256; t=1563223636; cv=none; d=zoho.com; s=zohoarc; 
 b=FLpHn81YmrWVnsG8HsJWUQrKBubtAt1oIqGhBNJoKm9tEu0RWG+srim33JPKcbgimJHZ7ENNgdAApRXMfXImbZjuLozZoyYD3cni5O7m7u099xkTYCCdIZ/1jouY2dmQPl0aiKrtdeG5cA0JybL3QKZfNcenyi7+6b5PAv8nkns=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com;
 s=zohoarc; t=1563223636;
 h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results;
 bh=KV/j9Pxs+DynEVPkBCUE17KzTinRC+zIDUrK/t2iCwc=; 
 b=FiHMrnoIsXG8HMhTErDlCpzpQ3rZEZdo6xx539TVof6BvrJhZyy9S/b+UAjM21/YukicbuE8xUu8c5YBD6oKpubIos7+7ZMJaJdieAjkJGD8vN8KARQChQb5RJieNOYJiz5LNpd6ZpoiE7D2fsIksUy2pkvCnUsS5+nOAfkcJkY=
ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass  header.i=elephly.net;
 spf=pass  smtp.mailfrom=rekado@HIDDEN;
 dmarc=pass header.from=<rekado@HIDDEN> header.from=<rekado@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1563223636; 
 s=zoho; d=elephly.net; i=rekado@HIDDEN;
 h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding;
 l=1524; bh=KV/j9Pxs+DynEVPkBCUE17KzTinRC+zIDUrK/t2iCwc=;
 b=UX3BIGW3BSlrAgSM8G2DCCGoX7Abci9wcce+rB2G5tyyUscmPAzNa/aMJjJQoEZe
 VuvnOAJ0unzTmxoJqkoALClZc1QczQXj9rW6gX38DC9V8NfkNYfG8wBrbUDcQ5zuqDx
 UJCRNQiTchIcspAUElEoaQf4iWYkk/7UGAFIwuD0=
Received: from localhost (p54AD4F5F.dip0.t-ipconnect.de [84.173.79.95]) by
 mx.zohomail.com with SMTPS id 1563223635461963.4126747932363;
 Mon, 15 Jul 2019 13:47:15 -0700 (PDT)
References: <87d0ioschd.fsf@HIDDEN> <87muhfghu4.fsf@HIDDEN>
User-agent: mu4e 1.2.0; emacs 26.2
From: Ricardo Wurmus <rekado@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Subject: Re: [bug#36513] texlive-union: Build missing font maps.
In-reply-to: <87muhfghu4.fsf@HIDDEN>
X-URL: https://elephly.net
X-PGP-Key: https://elephly.net/rekado.pubkey
X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
Date: Mon, 15 Jul 2019 22:47:11 +0200
Message-ID: <87zhlfgh4g.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-ZohoMailClient: External
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 36513
Cc: Pierre Neidhardt <mail@HIDDEN>, 36513 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


Hi Ludo,

> Ricardo Wurmus <rekado@HIDDEN> skribis:
>
>>>From 11900d109a617d07e0085a25e747da76fcb12c2e Mon Sep 17 00:00:00 2001
>> From: Ricardo Wurmus <rekado@HIDDEN>
>> Date: Fri, 5 Jul 2019 17:48:45 +0200
>> Subject: [PATCH] gnu: texlive-union: Build font maps.
>>
>> * gnu/packages/tex.scm (texlive-union)[arguments]: Execute updmap to gen=
erate
>> missing font maps.
>> [native-inputs]: Add coreutils, sed, and updmap.cfg.
>
> I=E2=80=99m blissfully ignorant about TeX=E2=80=99s font maps, but I can =
say that this
> fixes a warning about missing font maps that I had when using a
> =E2=80=98texlive-union=E2=80=99 as a package input.
>
> Now, that probably leads to a big rebuild.  Can we estimate the number
> of dependents?

In addition to this change I just pushed to wip-texlive a number of
changes that may lead to an even bigger number of rebuilds due to
changes in the svn fetcher and even more TeX packages.

(I noticed that the branch name =E2=80=9Cwip-texlive=E2=80=9D was already t=
aken by the
attempt to add a new importer, so I just cherry-picked that commit and
replaced the branch.)

I don=E2=80=99t know yet if it leads to practical improvements for users, b=
ut at
least it greatly simplifies the definition of texlive-* packages.

I have yet to double check the often unclear licenses of the
texlive-hyphen-* packages.  Other than that and the WIP commit by Pierre
at the tip I think these changes are very close to their final form.

--
Ricardo





Information forwarded to guix-patches@HIDDEN:
bug#36513; Package guix-patches. Full text available.

Message received at 36513 <at> debbugs.gnu.org:


Received: (at 36513) by debbugs.gnu.org; 15 Jul 2019 20:32:12 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 15 16:32:12 2019
Received: from localhost ([127.0.0.1]:49237 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hn7ds-0001QG-34
	for submit <at> debbugs.gnu.org; Mon, 15 Jul 2019 16:32:12 -0400
Received: from eggs.gnu.org ([209.51.188.92]:48161)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1hn7do-0001Py-JZ
 for 36513 <at> debbugs.gnu.org; Mon, 15 Jul 2019 16:32:10 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:56446)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1hn7dg-0007t5-TJ; Mon, 15 Jul 2019 16:32:03 -0400
Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=53330 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1hn7dU-0003Lo-E9; Mon, 15 Jul 2019 16:31:51 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Ricardo Wurmus <rekado@HIDDEN>
Subject: Re: [bug#36513] texlive-union: Build missing font maps.
References: <87d0ioschd.fsf@HIDDEN>
Date: Mon, 15 Jul 2019 22:31:47 +0200
In-Reply-To: <87d0ioschd.fsf@HIDDEN> (Ricardo Wurmus's message of "Fri,
 05 Jul 2019 17:54:54 +0200")
Message-ID: <87muhfghu4.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 36513
Cc: 36513 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hello,

Ricardo Wurmus <rekado@HIDDEN> skribis:

>>From 11900d109a617d07e0085a25e747da76fcb12c2e Mon Sep 17 00:00:00 2001
> From: Ricardo Wurmus <rekado@HIDDEN>
> Date: Fri, 5 Jul 2019 17:48:45 +0200
> Subject: [PATCH] gnu: texlive-union: Build font maps.
>
> * gnu/packages/tex.scm (texlive-union)[arguments]: Execute updmap to gene=
rate
> missing font maps.
> [native-inputs]: Add coreutils, sed, and updmap.cfg.

I=E2=80=99m blissfully ignorant about TeX=E2=80=99s font maps, but I can sa=
y that this
fixes a warning about missing font maps that I had when using a
=E2=80=98texlive-union=E2=80=99 as a package input.

Now, that probably leads to a big rebuild.  Can we estimate the number
of dependents?

Thank you!

Ludo=E2=80=99.




Information forwarded to guix-patches@HIDDEN:
bug#36513; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 5 Jul 2019 15:55:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jul 05 11:55:26 2019
Received: from localhost ([127.0.0.1]:53639 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hjQYY-0007KF-6G
	for submit <at> debbugs.gnu.org; Fri, 05 Jul 2019 11:55:26 -0400
Received: from lists.gnu.org ([209.51.188.17]:33741)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rekado@HIDDEN>) id 1hjQYV-0007K5-U1
 for submit <at> debbugs.gnu.org; Fri, 05 Jul 2019 11:55:24 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:38504)
 by lists.gnu.org with esmtp (Exim 4.86_2)
 (envelope-from <rekado@HIDDEN>) id 1hjQYL-0004Nm-Ks
 for guix-patches@HIDDEN; Fri, 05 Jul 2019 11:55:19 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_NONE,
 URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <rekado@HIDDEN>) id 1hjQYG-0007Jr-1k
 for guix-patches@HIDDEN; Fri, 05 Jul 2019 11:55:11 -0400
Received: from sender-of-o51.zoho.com ([135.84.80.216]:21241)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <rekado@HIDDEN>)
 id 1hjQYE-0006mc-J7; Fri, 05 Jul 2019 11:55:07 -0400
ARC-Seal: i=1; a=rsa-sha256; t=1562342099; cv=none; d=zoho.com; s=zohoarc; 
 b=NSH002z5WT11YzkLEJF95rxm8CRvN4ibjp7i9BalqFgWB1zzhAUPgxsb9AFdBhxOxVPppgkQgU+5alHcToPXBKqjmr+pWmCXjQF7rjaPvkv2+rc5OaTkbtvsAipnBYvYVodOy+no0lKI2m/Ax9wFkN86GYNGjqqV/MSUh+isPkw=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com;
 s=zohoarc; t=1562342099;
 h=Content-Type:Cc:Date:From:MIME-Version:Message-ID:Subject:To:ARC-Authentication-Results;
 bh=p8rReO2NNhdfbimir55o2ShvkoLeAZ4qE5AK96XDQBo=; 
 b=lDsIxnyChlMvwCN/fC74FuQCaRFbwzTsiAuGgYAcfE3Msnwzx88JMuQhRoYHmZX4OXdOmNTieYygfx6Zg0+QN0lbJvOBJZelYLkKwzkNZ+mfZb4ItGCc0FXe//W0lgwbQr39FcugAFSA+uh8sMAnz4QYjuqRVcfagdXYe2CnZ4E=
ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass  header.i=elephly.net;
 spf=pass  smtp.mailfrom=rekado@HIDDEN;
 dmarc=pass header.from=<rekado@HIDDEN> header.from=<rekado@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1562342099; 
 s=zoho; d=elephly.net; i=rekado@HIDDEN;
 h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type;
 l=3773; bh=p8rReO2NNhdfbimir55o2ShvkoLeAZ4qE5AK96XDQBo=;
 b=cmYC05aMJgBiVUbzlOWo9ftGw/A3w+ggKU7X/FeFL5KGPlUlSTjcnxH9TTJXbSLs
 XROAiDjQYhgR/Z6i7ft80Uwjw2wRmvG6lSN5ZyGGZIOADyn0gf/s4434M+rknFmTiK+
 EjBFheqerUL0dhCixEXgwx5R92WdVPWkeLFURdA8=
Received: from localhost (141.80.247.250 [141.80.247.250]) by mx.zohomail.com
 with SMTPS id 1562342097400409.2248423731804;
 Fri, 5 Jul 2019 08:54:57 -0700 (PDT)
User-agent: mu4e 1.2.0; emacs 26.2
From: Ricardo Wurmus <rekado@HIDDEN>
To: guix-patches@HIDDEN
Subject: texlive-union: Build missing font maps.
X-URL: https://elephly.net
X-PGP-Key: https://elephly.net/rekado.pubkey
X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
Date: Fri, 05 Jul 2019 17:54:54 +0200
Message-ID: <87d0ioschd.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-ZohoMailClient: External
X-Zoho-Virus-Status: 1
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 135.84.80.216
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
Cc: ludo@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi Guix,

this patch causes texlive-union to include pdftex.map, among other font
map files.  This is achieved by running updmap in the builder.

This should fix a couple of problems.

Unfortunately, this doesn=E2=80=99t fix the same problem with the profile h=
ook,
so I think this means that the profile hook should be using
texlive-union to avoid duplication.

What do you think?

--
Ricardo


--=-=-=
Content-Type: text/x-patch
Content-Disposition: inline;
 filename=0001-gnu-texlive-union-Build-font-maps.patch

From 11900d109a617d07e0085a25e747da76fcb12c2e Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <rekado@HIDDEN>
Date: Fri, 5 Jul 2019 17:48:45 +0200
Subject: [PATCH] gnu: texlive-union: Build font maps.

* gnu/packages/tex.scm (texlive-union)[arguments]: Execute updmap to generate
missing font maps.
[native-inputs]: Add coreutils, sed, and updmap.cfg.
---
 gnu/packages/tex.scm | 38 ++++++++++++++++++++++++++++++++++----
 1 file changed, 34 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index ec35315f22..85c72e006a 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -2387,16 +2387,18 @@ standard LaTeX packages."
            #:builder
            (begin
              (use-modules (ice-9 match)
+                          (ice-9 popen)
                           (srfi srfi-26)
                           (guix build union)
                           (guix build utils)
                           (guix build texlive-build-system))
              (let* ((out       (assoc-ref %outputs "out"))
                     (texmf.cnf (string-append out "/share/texmf-dist/web2c/texmf.cnf")))
-               ;; Build a modifiable union of all inputs (but exclude bash)
+               ;; Build a modifiable union of all inputs (but exclude bash and
+               ;; the updmap.cfg file)
                (match (filter (match-lambda
                                 ((name . _)
-                                 (not (string=? "bash" name))))
+                                 (not (member name '("bash" "updmap.cfg")))))
                               %build-inputs)
                  (((names . directories) ...)
                   (union-build (assoc-ref %outputs "out")
@@ -2413,19 +2415,47 @@ standard LaTeX packages."
                   (string-append "TEXMFROOT = " out "/share\n"))
                  (("^TEXMF = .*")
                   "TEXMF = $TEXMFROOT/share/texmf-dist\n"))
-               (setenv "PATH" (string-append (assoc-ref %build-inputs "bash")
-                                             "/bin"))
+               (setenv "PATH" (string-append
+                               (assoc-ref %build-inputs "bash") "/bin:"
+                               (assoc-ref %build-inputs "coreutils") "/bin:"
+                               (string-append out "/bin")))
                (for-each
                 (cut wrap-program <>
                      `("TEXMFCNF" ":" suffix (,(dirname texmf.cnf)))
                      `("TEXMF"    ":" suffix (,(string-append out "/share/texmf-dist"))))
                 (find-files (string-append out "/bin") ".*"))
+
+               ;; Remove invalid maps from config file.
+               (let ((port (open-pipe* OPEN_WRITE "updmap-sys"
+                                       "--syncwithtrees"
+                                       "--nohash"
+                                       (assoc-ref %build-inputs "updmap.cfg"))))
+                 (display "Y\n" port)
+                 (when (not (zero? (status:exit-val (close-pipe port))))
+                   (error "failed to filter updmap.cfg")))
+               ;; Generate maps.
+               (invoke "updmap-sys" "--force"
+                       (string-append out "/share/texmf-config/web2c/updmap.cfg"))
                #t))))
         (inputs
          `(("bash" ,bash)
            ,@(map (lambda (package)
                     (list (package-name package) package))
                   (append default-packages packages))))
+        (native-inputs
+         `(("coreutils" ,coreutils)
+           ("sed" ,sed)
+           ("updmap.cfg"
+            ,(origin
+               (method url-fetch)
+               (uri (string-append "https://tug.org/svn/texlive/tags/"
+                                   %texlive-tag "/Master/texmf-dist/web2c/updmap.cfg"
+                                   "?revision=" (number->string %texlive-revision)))
+               (file-name (string-append "updmap.cfg-"
+                                         (number->string %texlive-revision)))
+               (sha256
+                (base32
+                 "06mwpy5i218g5k3sf4gba0fmxgas82hkzx9fhwn67z5ik37d8apq"))))))
         (home-page (package-home-page texlive-bin))
         (synopsis "Union of TeX Live packages")
         (description "This package provides a subset of the TeX Live
-- 
2.21.0


--=-=-=--





Acknowledgement sent to Ricardo Wurmus <rekado@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#36513; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 19 Jul 2019 12:15:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.