From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id cN4WHZ0Q8V7CdwAA0tVLHw (envelope-from ) for ; Mon, 22 Jun 2020 20:12:13 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id iPQAGZ0Q8V6KZwAAB5/wlQ (envelope-from ) for ; Mon, 22 Jun 2020 20:12:13 +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 589769400C1 for ; Mon, 22 Jun 2020 20:12:12 +0000 (UTC) Received: from localhost ([::1]:59036 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jnSna-0007jh-2x for larch@yhetil.org; Mon, 22 Jun 2020 16:12:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34700) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jnSnS-0007i3-FH for guix-patches@gnu.org; Mon, 22 Jun 2020 16:12:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51328) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jnSnS-000750-5y for guix-patches@gnu.org; Mon, 22 Jun 2020 16:12:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jnSnR-0000u0-VJ for guix-patches@gnu.org; Mon, 22 Jun 2020 16:12:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#39602] Generate font catalogues for the X server Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 22 Jun 2020 20:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39602 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Ivan Kozlov , 39602@debbugs.gnu.org Received: via spool by 39602-submit@debbugs.gnu.org id=B39602.15928566743412 (code B ref 39602); Mon, 22 Jun 2020 20:12:01 +0000 Received: (at 39602) by debbugs.gnu.org; 22 Jun 2020 20:11:14 +0000 Received: from localhost ([127.0.0.1]:34641 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jnSmg-0000sx-26 for submit@debbugs.gnu.org; Mon, 22 Jun 2020 16:11:14 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:53049) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jnSmb-0000sh-An for 39602@debbugs.gnu.org; Mon, 22 Jun 2020 16:11:12 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 2C5465C0E65; Mon, 22 Jun 2020 16:11:04 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Mon, 22 Jun 2020 16:11:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm3; bh=6x0P3fqRJhka8UdgkfnzFVnvWk siSDXzojYyjI6hlYk=; b=VR3AFqu0nn4G1Yir4nSpA1qKr5ZJSqb5O5X6V5WOBW bhWECUyPepYDkyI83nrJWtd81tN8/8mioJhJtvQZnUJJRFN4CO96yFJGBlISONWJ J81wUvafgvFahdKRPJoZbcmhAHcgdDvBw95DE31Yz5j+mRHYrgFxshaFPwqrm5z0 EO/l5RpBHBsnK36iUmQoPkpQvrwl41qSmBv/DC4qbqlp3MxLNcGiGFxWn66fXa2e JqxPP5nKpdfOeeI1Ia9/UFc9HU+7ngeVlnEVZwpAsqhgShu3DTDoPtaE+gbnMTz5 Vo+MdnB3KFQSmlc0Ee3nEgBRlwzkUIL0JCQUGyTtB6Ng== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=6x0P3f qRJhka8UdgkfnzFVnvWksiSDXzojYyjI6hlYk=; b=tcfZMuBvnT0bjl2IbFApGW IS2iwfxmzM4TBwcPkG2PAs3sknjBj+BL9ltxAgpQkpHWnxyutCrdwsa0Ik03vE89 eaxBCDab8+Cd+bvRJdN97pGIF/wV++JMGMCH1Q5Tq5HeApTt3kR1+yaf/Mh1GZKk 7gXvfQPjw01iMj8GRsK/meQaB/sOE0l6kUsM7AJMVcZHD962eDlxc3/IfNRvSdWk 5EGl9TW8hNA0gSItjDOOn0Gmdeo0fRtPllx4mHuPaJG5AqhT+JPAhBNx7ZgKZc5b uqyp9MorpZ0slBRQ037vZaV+YwFEmwOc/aa+Q4p90ge0oiQbO08dyQVtFoAvUydw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudekvddgudegkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufgjfhffkfggtgesghdtre ertddtjeenucfhrhhomhepofgrrhhiuhhsuceurghkkhgvuceomhgsrghkkhgvsehfrghs thhmrghilhdrtghomheqnecuggftrfgrthhtvghrnhepudevieeigffhfeejfeduleffie dujeeukefgtefhuefhfeduleeltdfggeevleefnecukfhppeekkedrleehrddutdeirdek tdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmsg grkhhkvgesfhgrshhtmhgrihhlrdgtohhm X-ME-Proxy: Received: from localhost (ti0006q161-3115.bb.online.no [88.95.106.80]) by mail.messagingengine.com (Postfix) with ESMTPA id 584B93280060; Mon, 22 Jun 2020 16:11:03 -0400 (EDT) From: Marius Bakke In-Reply-To: <2060961581700625@iva4-64850291ca1c.qloud-c.yandex.net> References: <2060961581700625@iva4-64850291ca1c.qloud-c.yandex.net> Date: Mon, 22 Jun 2020 22:11:01 +0200 Message-ID: <87k0zyc14a.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.7 (-) 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-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=fastmail.com header.s=fm3 header.b=VR3AFqu0; dkim=fail (rsa verify failed) header.d=messagingengine.com header.s=fm3 header.b=tcfZMuBv; dmarc=fail reason="SPF not aligned (relaxed)" header.from=fastmail.com (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-Spam-Score: -2.01 X-TUID: xTDHzNYupbuu --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ivan Kozlov writes: > Actually, I am sending this as a patch. > > This should produce a "share/fontpath.d" directory in the profile which i= s a font catalogue as described in Xserver(1). Then the X server font path = can be set to include this catalogue and it will find the installed fonts. = This concerns all legacy X11 applications using the core fonts system, and = most importantly xterm. > > The hook =E2=80=98fonts-dir-file=E2=80=99 was originally added for this p= urpose as the comments can tell; you would include e. g. "share/fonts/X11/m= isc" from the profile in the font path, which is a union directory with sym= bolic links to fonts that want to install there and a fonts.dir file descri= bing all of them. This has not been working for ages, since the X.org serve= r stopped following symbolic links to font files for security reasons. It s= hould be removed. Thanks for this investigation, and the patch! Overall it LGTM, but I wonder how useful it is, seeing as no one has reported the issue. Would it make sense to add hooks in the configuration system instead for setting font path and a font union? A patch to remove the legacy broken 'fonts-dir-file' generation from (guix profiles) would be welcome, by the way. Thanks, Marius --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl7xEFUACgkQoqBt8qM6 VPo6JAf+I3yM+lOO/MwUBjqXXAJUj+egPaG3zD9erp8VMElegfIGH4ay4w2nZ3pd 9FdZDO2qk+4J+R61fIy9bm3rkrK5tipOGlqH+wwl8fD8zESURq0nyJO8umQjP3lW IZzBuAVe3UAZAaqfF7fUwua7rK9LW8T0ipXJGtvOhVZgUNYcAOL/IhqV/seO5IHd 7k/o9O2wuedz6UHpkcnITvujKjqj9F2kdK95K/VrQn0yNWyI+/aGzumSiehPNu4t rMEv8pkbISSN6k0K9wNJ0agnKSFeY1w68NI58KlNDOTETv2n1xgEKsP/B2GH/KnI vCRswEOOTKKg2q1Q2mpUhkWRzAwtig== =vG5u -----END PGP SIGNATURE----- --=-=-=--