From unknown Sat Aug 16 16:18:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38498: Fontconfig does not find fonts in non-default profiles Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 05 Dec 2019 10:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 38498 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 38498@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15755426238510 (code B ref -1); Thu, 05 Dec 2019 10:44:01 +0000 Received: (at submit) by debbugs.gnu.org; 5 Dec 2019 10:43:43 +0000 Received: from localhost ([127.0.0.1]:43039 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1icobn-0002DA-FR for submit@debbugs.gnu.org; Thu, 05 Dec 2019 05:43:43 -0500 Received: from lists.gnu.org ([209.51.188.17]:37021) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1icobl-0002D3-QX for submit@debbugs.gnu.org; Thu, 05 Dec 2019 05:43:42 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49764) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1icobk-0006SG-69 for bug-guix@gnu.org; Thu, 05 Dec 2019 05:43:41 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1icobi-0002QA-EW for bug-guix@gnu.org; Thu, 05 Dec 2019 05:43:39 -0500 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:55567) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1icobi-0002Fe-3U for bug-guix@gnu.org; Thu, 05 Dec 2019 05:43:38 -0500 X-Originating-IP: 92.169.151.76 Received: from bababa (lfbn-1-4156-76.w92-169.abo.wanadoo.fr [92.169.151.76]) (Authenticated sender: pierre@atlas.engineer) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 683871C0005 for ; Thu, 5 Dec 2019 10:43:35 +0000 (UTC) From: Pierre Neidhardt Date: Thu, 05 Dec 2019 11:43:34 +0100 Message-ID: <871rtjm4rt.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 217.70.183.197 X-Spam-Score: 0.9 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable The fontconfig package has this bit: =2D-8<---------------cut here---------------start------------->8--- (string-append "--with-add-fonts=3D" "~/.guix-profile/share/fonts," "/run/current-system/profile/share/fonts") =2D-8<---------------cut here---------------end--------------->8--- If I understand correctly, fonts can only be installed at the system level or in ~/.guix-profile. Is there a way to install fonts in a non-default profile? If not, it would be nice to implement it. Can we use an environment variab= le? =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl3o31YACgkQm9z0l6S7 zH++YAf8CtKgVxKHG1p+eYpbx6MRoMNNdBknY7mKgXKvijClAaHEgBOS7w6aV30C NXgLJ4cs7qrJwVzt/CQxUALyMsD3M8+IUnjOKeCduogC8TbhWY3LO2NXJgHe+upE ViQLPmEXKgUz3wFwKc7EHUAapGWT1aoJe/ukBJ8h1KuChHH9U0iTmrPMc2Bm03wM f75TN8Ax2o1Dd6dN2g+pM9lXU/v35jV132NmIDn1fkIzzYfmL94a4rJknQkqbxrx G+vwsbqbxDELc2w2W2z6sfvySEFpnz22ejIbpfa7zjFM4B9+X0UB3Zjp8uNEpyWB txIvcvPVuij6dA56QbsnuWyWuTmVhQ== =tPIT -----END PGP SIGNATURE----- --=-=-=-- From unknown Sat Aug 16 16:18:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38498: Acknowledgement (Fontconfig does not find fonts in non-default profiles) Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 05 Dec 2019 10:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38498 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 38498@debbugs.gnu.org Received: via spool by 38498-submit@debbugs.gnu.org id=B38498.15755428598974 (code B ref 38498); Thu, 05 Dec 2019 10:48:02 +0000 Received: (at 38498) by debbugs.gnu.org; 5 Dec 2019 10:47:39 +0000 Received: from localhost ([127.0.0.1]:43045 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1icofb-0002Kg-1M for submit@debbugs.gnu.org; Thu, 05 Dec 2019 05:47:39 -0500 Received: from relay11.mail.gandi.net ([217.70.178.231]:41567) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1icofY-0002KV-Kk for 38498@debbugs.gnu.org; Thu, 05 Dec 2019 05:47:37 -0500 Received: from bababa (lfbn-1-4156-76.w92-169.abo.wanadoo.fr [92.169.151.76]) (Authenticated sender: pierre@atlas.engineer) by relay11.mail.gandi.net (Postfix) with ESMTPSA id F3C53100008 for <38498@debbugs.gnu.org>; Thu, 5 Dec 2019 10:47:34 +0000 (UTC) From: Pierre Neidhardt In-Reply-To: References: <871rtjm4rt.fsf@ambrevar.xyz> Date: Thu, 05 Dec 2019 11:47:34 +0100 Message-ID: <87y2vrkq0p.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable This issue overlaps with #31403. =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl3o4EYACgkQm9z0l6S7 zH8DGQf+Ku7bHLq5EFkE4TnA7EEoU5o0Hn5ONKRP8b7HD0DIGh4KdeOe9SGL+0A9 jE37lITb2x2QtAyqdgsRUkH6bhnNpecYZJKOYh+WSGTfvFYDC/jh3uYPSjpLWr6x mm0mrXfCNmt9CG7410slCrJzAeGMLBDxzgFa+vaPyzeDx0Kr/QLTDaM5MjVMp9Kr e2XgLzqttFsc/LCsA5d+WQmYZ+5hl8PcMn0aFKO1BNpbxC5PXWPjr2NLaTir9AjP 5EgbcgrSudqo7SKwDleL/k1DaCE13fqTwwoJuiWW629/LFkKsPy//iqj3JMD5k9Z qFKgPX+K1cy6NG3TicZ4WEXPyD414w== =Ma42 -----END PGP SIGNATURE----- --=-=-=-- From unknown Sat Aug 16 16:18:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38498: Fontconfig does not find fonts in non-default profiles Resent-From: Alex Kost Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 05 Dec 2019 17:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38498 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Pierre Neidhardt Cc: 38498@debbugs.gnu.org Received: via spool by 38498-submit@debbugs.gnu.org id=B38498.157556560415347 (code B ref 38498); Thu, 05 Dec 2019 17:07:02 +0000 Received: (at 38498) by debbugs.gnu.org; 5 Dec 2019 17:06:44 +0000 Received: from localhost ([127.0.0.1]:45106 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1icuaS-0003zT-38 for submit@debbugs.gnu.org; Thu, 05 Dec 2019 12:06:44 -0500 Received: from mail-lj1-f174.google.com ([209.85.208.174]:38524) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1icuaQ-0003zD-K7 for 38498@debbugs.gnu.org; Thu, 05 Dec 2019 12:06:43 -0500 Received: by mail-lj1-f174.google.com with SMTP id k8so4439600ljh.5 for <38498@debbugs.gnu.org>; Thu, 05 Dec 2019 09:06:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=MD5GTOtnybNbptyNw6SnCyd4lMOBEqnfeMK1R/IDfBY=; b=scdeDomyk8h5fqWarau5BVb9TVjYZo7/RgygGibK0R/isNoGudou1OPXDTA/7FRkXJ UNxBfQFIpVYXwf84FfBebVUYDO4uNa8NHTAhJbT/yjqykb0c0s/V1dH77N5jBFWLqRoj cnhrCgNn4E0d4vv0n55rx6y66qwILd49RARHT69XQu3lkHAC8mAeD41UhNg/bA7XHGgx AQF1bm8v0ypHaXfL/yuV4D2EfiqLbT79BCA9FI+fbR9JKoawvfYahQd879Dbv3sLjgUX l1OjQM5z3zRWY6MDRuVbf83afbBI6DERTGJ1viMKBeaffIFWBrerI60gmRnGTTsCEtBT UWTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=MD5GTOtnybNbptyNw6SnCyd4lMOBEqnfeMK1R/IDfBY=; b=AEDtmGc2haekx5Rncqbbg6hBcgON+O93zJCsXilkrPya6ZFIAKfdXZavk6g03qWnFD t9/ZOzniAp3LDPHGXQdZ4mqzwOyWBHj4Q60TgjFnoajzqgsWv314pDS4oDLeV1OHf64U MX5jowXP5QKEVMMe+X1cOkNvk6bTRcfpWl+FeK6tSSfu9Zwgtw6f2KQwTgvnE+u4h8qw rhhK+7Fm5Katn7XIlrtUabK3zhEHbP74Ulm9NnJaLcHvhp5Xcz3eSzMkbfjS7DjDN5Sb lFPvUQ2JcA808fZvjV6DPSXO060Tj7y4R5yj+zblDSzFzwtn+5OLFLytevj9XQsxi6qb xaIA== X-Gm-Message-State: APjAAAWCdv++7qxFlAI/LApw67YHJMCdZR2thU6eamwoobK6tu+/cHM5 OeX6E8bKELtgOeFbcwuHNJss/GGR X-Google-Smtp-Source: APXvYqwlQQTN6qSZhxt2TguLWSa+BEr78qRLgJwerVvaBZCaQm7Y2IUT/jF+3BrWY6c+bwuikzQ9eQ== X-Received: by 2002:a2e:9741:: with SMTP id f1mr5887543ljj.123.1575565596286; Thu, 05 Dec 2019 09:06:36 -0800 (PST) Received: from leviafan ([217.107.194.29]) by smtp.gmail.com with ESMTPSA id n5sm5067293ljh.86.2019.12.05.09.06.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Dec 2019 09:06:34 -0800 (PST) From: Alex Kost References: <871rtjm4rt.fsf@ambrevar.xyz> Date: Thu, 05 Dec 2019 20:06:42 +0300 In-Reply-To: <871rtjm4rt.fsf@ambrevar.xyz> (Pierre Neidhardt's message of "Thu, 05 Dec 2019 11:43:34 +0100") Message-ID: <87o8wm66sd.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Pierre Neidhardt (2019-12-05 11:43 +0100) wrote: > The fontconfig package has this bit: > > (string-append "--with-add-fonts=" > "~/.guix-profile/share/fonts," > "/run/current-system/profile/share/fonts") > > If I understand correctly, fonts can only be installed at the system > level or in ~/.guix-profile. > Is there a way to install fonts in a non-default profile? I install fonts into a special profile. All you need to do is edit your "~/.config/fontconfig/fonts.conf" file. Mine looks like this: --=-=-= Content-Type: text/plain Content-Disposition: inline; filename=fonts.conf ~/.guix-profiles/fonts/fonts/share/fonts --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable This allows =E2=80=98fc-cache=E2=80=99 and similar commands to find fonts f= rom a non-standard directory. --=20 Alex --=-=-=-- From unknown Sat Aug 16 16:18:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38498: Fontconfig does not find fonts in non-default profiles Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 05 Dec 2019 17:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38498 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Alex Kost Cc: 38498@debbugs.gnu.org Received: via spool by 38498-submit@debbugs.gnu.org id=B38498.157556838420236 (code B ref 38498); Thu, 05 Dec 2019 17:54:02 +0000 Received: (at 38498) by debbugs.gnu.org; 5 Dec 2019 17:53:04 +0000 Received: from localhost ([127.0.0.1]:45145 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1icvJH-0005GK-Um for submit@debbugs.gnu.org; Thu, 05 Dec 2019 12:53:04 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:58405) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1icvJG-0005Ft-Aq for 38498@debbugs.gnu.org; Thu, 05 Dec 2019 12:53:03 -0500 X-Originating-IP: 92.169.151.76 Received: from mimimi (lfbn-1-4156-76.w92-169.abo.wanadoo.fr [92.169.151.76]) (Authenticated sender: pierre@atlas.engineer) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 3553060006; Thu, 5 Dec 2019 17:52:59 +0000 (UTC) From: Pierre Neidhardt In-Reply-To: <87o8wm66sd.fsf@gmail.com> References: <871rtjm4rt.fsf@ambrevar.xyz> <87o8wm66sd.fsf@gmail.com> Date: Thu, 05 Dec 2019 18:52:59 +0100 Message-ID: <87fthylkw4.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Thank you Alex, that's what I did and it works. That said, I think it'd be nice if Guix would automatically do this for us. After all, it already handles multiple-profiles properly for so many other things! :) =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl3pQ/sACgkQm9z0l6S7 zH9u4wf5AXm93xe/mGPlESoYDy96AfNeGL10PNcmLINf0a5kruqdCcvSSnMl8mG2 NeyV/TnCRLtHcY6e+BKzSNOfpVajrYLZ8L6VUSiHeRFujvALeRk7hl0Pe/OrQq6i 7V3GI55xdALA4hNOCZ1YEwMv59ebr9syaM808rNpG5Ry4o5SwjIYS65h5VZYeXrY HXuC0L8Eay5fULJ6UGdqtQLFbC1Y9ArFw66KLK61Shz7+oN18LLHh9OlwZZJNgzo 9HELMFNuP/v5nlMUdz8C0smStPuogFPLUDLGXTI0ocGGDktkVLOiC2FGER0qg2Mg hbxtPEeHS8m0cF3hMElzG5/35sMBZg== =lygP -----END PGP SIGNATURE----- --=-=-=-- From unknown Sat Aug 16 16:18:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38498: Fontconfig does not find fonts in non-default profiles Resent-From: Alex Kost Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 06 Dec 2019 17:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38498 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Pierre Neidhardt Cc: 38498@debbugs.gnu.org Received: via spool by 38498-submit@debbugs.gnu.org id=B38498.15756543439387 (code B ref 38498); Fri, 06 Dec 2019 17:46:01 +0000 Received: (at 38498) by debbugs.gnu.org; 6 Dec 2019 17:45:43 +0000 Received: from localhost ([127.0.0.1]:47003 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1idHfj-0002RL-1O for submit@debbugs.gnu.org; Fri, 06 Dec 2019 12:45:43 -0500 Received: from mail-lf1-f52.google.com ([209.85.167.52]:39966) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1idHfh-0002R0-Az for 38498@debbugs.gnu.org; Fri, 06 Dec 2019 12:45:42 -0500 Received: by mail-lf1-f52.google.com with SMTP id y5so5893893lfy.7 for <38498@debbugs.gnu.org>; Fri, 06 Dec 2019 09:45:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=H4OBV/QdsfIfSt4MU6+VsmjB37mjY3cC2EB7EtC3VyQ=; b=O34dXVt6e4JAOvgJ7H7ZotC9Fn7Na5LWK04teCkfa6QDVIRFX9rnuaTZbh7JJSGel6 vstMCXvceVgQegkkMkEjqeyFo6sJekK4D1obbJLrF37QKjz+OuA/C4nWSDPrtysUqZmE yc0PVKBTJYbDFlhu/aGnzdTSF+t5hrzEtJsx6yqOEKF/24bzxEYrOfrX0bJRGlGSbZ4z +4bTmUsexa01evYXgbWlSiJ8i2c98CSMoxq7KWtWFqDwq3L+Qdd1PjFoP41Eid4mG4Ms sokBszl0iDapx6rwbCe0Eu8rJ8Gd9XiI9bYHaN2LINak0IRylTxRCedzMHcqgxQcO1Hm a4wQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=H4OBV/QdsfIfSt4MU6+VsmjB37mjY3cC2EB7EtC3VyQ=; b=TrxnMlnqTBPPLLahE0LxlqxLtHHHAOjMlpG/XDNVVp+EcHFYzApboURbVy20RgSu9B l0brR0UZD1n43Ra3WekBIuIX3AL+wNyPP5JhWqlMvwHisI+jHrfGKRsP8Yz3U5pHP4Wd kayNv7UHSZmeJLzb5Ie8rMc/3MsLkRNOi1QbFfHDhMR95vH7m+Gne++LACGKkKUu3DZm GfSS6zXzgfTG0nNM11VfVG7ZgE6jP4MPBgZXNNP7TpTB3763aA/4TeA42Ap89CDTeoFO ExZSNlaZDtKjwHb8/CDxGtf6bBK4sQvxWxjI9YHjo0R92XLqW9FL7TzgFklioySqLrat ky/w== X-Gm-Message-State: APjAAAWNwxPWhzw4uAGb6m4z+NpwB8byk/D1Haz4tgnheRHQsWcDufIq 5dvv7gQQSPU/euNP41nXPX+7w4Pl X-Google-Smtp-Source: APXvYqzxTcVmLoSZVvsKSZdFrSMcwhmIq2sTPKPbSZ1RQUneZR1GLb8JoOlG39M0BO778Dhm1Cwfxw== X-Received: by 2002:a19:4f54:: with SMTP id a20mr9017410lfk.39.1575654334922; Fri, 06 Dec 2019 09:45:34 -0800 (PST) Received: from leviafan ([217.107.194.17]) by smtp.gmail.com with ESMTPSA id z13sm6915608ljh.21.2019.12.06.09.45.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Dec 2019 09:45:33 -0800 (PST) From: Alex Kost References: <871rtjm4rt.fsf@ambrevar.xyz> <87o8wm66sd.fsf@gmail.com> <87fthylkw4.fsf@ambrevar.xyz> Date: Fri, 06 Dec 2019 20:45:43 +0300 In-Reply-To: <87fthylkw4.fsf@ambrevar.xyz> (Pierre Neidhardt's message of "Thu, 05 Dec 2019 18:52:59 +0100") Message-ID: <87immtuz3s.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Pierre Neidhardt (2019-12-05 18:52 +0100) wrote: > Thank you Alex, that's what I did and it works. > > That said, I think it'd be nice if Guix would automatically do this for > us. After all, it already handles multiple-profiles properly for so > many other things! :) TBH I don't understand all the problems related to multiple-profiles that were discussed and "solved" recently. I have been using multiple profiles for at least 5 years (I don't even have ~/.guix-profile on my disk) and I have not had any serious problems, just some small obstacles that can be easily overpassed. Anyway, what I have written is not related to the bug, sorry for the noise :-) -- Alex From unknown Sat Aug 16 16:18:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38498: Fontconfig does not find fonts in non-default profiles Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 06 Dec 2019 18:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38498 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Alex Kost Cc: 38498@debbugs.gnu.org Received: via spool by 38498-submit@debbugs.gnu.org id=B38498.157565529414410 (code B ref 38498); Fri, 06 Dec 2019 18:02:01 +0000 Received: (at 38498) by debbugs.gnu.org; 6 Dec 2019 18:01:34 +0000 Received: from localhost ([127.0.0.1]:47012 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1idHv4-0003kL-Et for submit@debbugs.gnu.org; Fri, 06 Dec 2019 13:01:34 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:52645) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1idHv2-0003k5-M1 for 38498@debbugs.gnu.org; Fri, 06 Dec 2019 13:01:33 -0500 X-Originating-IP: 92.169.151.76 Received: from mimimi (lfbn-1-4156-76.w92-169.abo.wanadoo.fr [92.169.151.76]) (Authenticated sender: pierre@atlas.engineer) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 89EE86000A; Fri, 6 Dec 2019 18:01:30 +0000 (UTC) From: Pierre Neidhardt In-Reply-To: <87immtuz3s.fsf@gmail.com> References: <871rtjm4rt.fsf@ambrevar.xyz> <87o8wm66sd.fsf@gmail.com> <87fthylkw4.fsf@ambrevar.xyz> <87immtuz3s.fsf@gmail.com> Date: Fri, 06 Dec 2019 19:01:29 +0100 Message-ID: <87blslgwp2.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Alex Kost writes: > TBH I don't understand all the problems related to multiple-profiles > that were discussed and "solved" recently. I have been using multiple > profiles for at least 5 years (I don't even have ~/.guix-profile on my > disk) and I have not had any serious problems, just some small obstacles > that can be easily overpassed. The point of multi-profile support is to: =2D behave in the most expected way; =2D factor the work upstream. The less time individual users spend on their ad-hoc multi-profile support, the more time they can spend on other (more productive) things=C2= =A0:) We lose generality in making ~/.guix-profile special. =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl3ql3kACgkQm9z0l6S7 zH/b6ggAsQdLL8Qt29KLEmT6JAzYyYonC9aGGmzjL5Jog9o69oiVQphpOlBymdVM 48RHwu4PLENtm+0oVt2vu4U5H6k7bvYykBIUdnwSbNkDgRsFI0T4dgva9pMG/fRm 5wZBoNw2WWRjM7SeYOJY+1p51polMbT7XNZvzrDMvVFsm8kumUgmpXM1uIrAlmJ8 mqzOXkD1AGx4L3s1I7L9KPqwzdORfDXdsMATWAz0kzkvh6uMIEnQmAcIX2LZFrOQ pQtbK2H3VM+oR8TkK7mlLxKuBLW3MFMLWQUVUSRjMu7a7xuY+QqxfCL62k/ahfXE EP4vHUB7FnpEYhNiwqwZZMyDojMqKQ== =56Of -----END PGP SIGNATURE----- --=-=-=-- From unknown Sat Aug 16 16:18:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38498: Fontconfig does not find fonts in non-default profiles Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 10 Dec 2019 16:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38498 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Pierre Neidhardt Cc: Alex Kost , 38498@debbugs.gnu.org Received: via spool by 38498-submit@debbugs.gnu.org id=B38498.15759968042210 (code B ref 38498); Tue, 10 Dec 2019 16:54:01 +0000 Received: (at 38498) by debbugs.gnu.org; 10 Dec 2019 16:53:24 +0000 Received: from localhost ([127.0.0.1]:56496 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ieilI-0000ZZ-5T for submit@debbugs.gnu.org; Tue, 10 Dec 2019 11:53:24 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52179) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ieilG-0000ZH-G8 for 38498@debbugs.gnu.org; Tue, 10 Dec 2019 11:53:22 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:55227) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ieil9-0007RM-Ea; Tue, 10 Dec 2019 11:53:15 -0500 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=53590 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ieil8-0001pM-UM; Tue, 10 Dec 2019 11:53:15 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <871rtjm4rt.fsf@ambrevar.xyz> <87o8wm66sd.fsf@gmail.com> <87fthylkw4.fsf@ambrevar.xyz> <87immtuz3s.fsf@gmail.com> <87blslgwp2.fsf@ambrevar.xyz> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 20 Frimaire an 228 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: Tue, 10 Dec 2019 17:53:13 +0100 In-Reply-To: <87blslgwp2.fsf@ambrevar.xyz> (Pierre Neidhardt's message of "Fri, 06 Dec 2019 19:01:29 +0100") Message-ID: <87o8wgm8au.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello! Pierre Neidhardt skribis: > We lose generality in making ~/.guix-profile special. I think we all agree on that. Fontconfig is one of the very few cases where we ended up resorting to that. The reason I think is simply that Fontconfig honors ~/.config/fontconfig/fonts.xml but does not honor a search path environment variable as is customary. We could fix that by adding a patch so that Fontconfig would honor $FONTCONFIG_FONT_PATH or similar. WDYT? Thanks, Ludo=E2=80=99. From unknown Sat Aug 16 16:18:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38498: Fontconfig does not find fonts in non-default profiles Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 10 Dec 2019 17:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38498 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Alex Kost , 38498@debbugs.gnu.org Received: via spool by 38498-submit@debbugs.gnu.org id=B38498.15759979195050 (code B ref 38498); Tue, 10 Dec 2019 17:12:02 +0000 Received: (at 38498) by debbugs.gnu.org; 10 Dec 2019 17:11:59 +0000 Received: from localhost ([127.0.0.1]:56521 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iej3G-0001JO-M8 for submit@debbugs.gnu.org; Tue, 10 Dec 2019 12:11:58 -0500 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:33833) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iej3E-0001J4-5O for 38498@debbugs.gnu.org; Tue, 10 Dec 2019 12:11:57 -0500 X-Originating-IP: 92.169.151.76 Received: from bababa (lfbn-1-4156-76.w92-169.abo.wanadoo.fr [92.169.151.76]) (Authenticated sender: mail@ambrevar.xyz) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id EEBCD1C002B; Tue, 10 Dec 2019 17:11:52 +0000 (UTC) From: Pierre Neidhardt In-Reply-To: <87o8wgm8au.fsf@gnu.org> References: <871rtjm4rt.fsf@ambrevar.xyz> <87o8wm66sd.fsf@gmail.com> <87fthylkw4.fsf@ambrevar.xyz> <87immtuz3s.fsf@gmail.com> <87blslgwp2.fsf@ambrevar.xyz> <87o8wgm8au.fsf@gnu.org> Date: Tue, 10 Dec 2019 18:11:52 +0100 Message-ID: <875ziods13.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi! Ludovic Court=C3=A8s writes: > We could fix that by adding a patch so that Fontconfig would honor > $FONTCONFIG_FONT_PATH or similar. Have we ever asked upstream? Maybe they would consider adding it. If they don't, I'm in favour of a patch! :) =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl3v0dgACgkQm9z0l6S7 zH8g0Qf+LoL/nxXR2FfiQQAI9EwuZMJowKGfUeGm31D+E3189fG3tx1xZl8u0v17 FpyAIWOnrXyuxhn0pIOz/8lgA0CPjgCNvgXIT7QJzXVGTMri3e7dwnJTrNkwtePA SF2gzS1a2LRtYGkmzfMnIiYcEZscDizZpMlx+EjoN32K1uVGbJiTtOa80Qt8Sl2w ygHR0fdJLsbkPuuhl/N+OgbOP/KfK+3crc/mIVpZvSVBqccHkJ+FCsuCmDA9LFdN YcawsGge5twTZnXrm2Q3ZijUPtZPtzDZmHQcpIUxD6vSneVQ5RxHKZlgqxThPjs/ ZM/NgA3J6LD5EbF0lJiQZ5U+y5CPFA== =tVs2 -----END PGP SIGNATURE----- --=-=-=-- From unknown Sat Aug 16 16:18:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38498: Fontconfig does not find fonts in non-default profiles Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 12 Dec 2019 13:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38498 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Pierre Neidhardt Cc: Alex Kost , 38498@debbugs.gnu.org Received: via spool by 38498-submit@debbugs.gnu.org id=B38498.15761558757050 (code B ref 38498); Thu, 12 Dec 2019 13:05:01 +0000 Received: (at 38498) by debbugs.gnu.org; 12 Dec 2019 13:04:35 +0000 Received: from localhost ([127.0.0.1]:59153 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ifO8x-0001pc-L2 for submit@debbugs.gnu.org; Thu, 12 Dec 2019 08:04:35 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34645) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ifO8w-0001pN-7c for 38498@debbugs.gnu.org; Thu, 12 Dec 2019 08:04:34 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:36243) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ifO8p-0005iY-I6; Thu, 12 Dec 2019 08:04:28 -0500 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=43158 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ifO8p-0007Lo-23; Thu, 12 Dec 2019 08:04:27 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <871rtjm4rt.fsf@ambrevar.xyz> <87o8wm66sd.fsf@gmail.com> <87fthylkw4.fsf@ambrevar.xyz> <87immtuz3s.fsf@gmail.com> <87blslgwp2.fsf@ambrevar.xyz> <87o8wgm8au.fsf@gnu.org> <875ziods13.fsf@ambrevar.xyz> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 22 Frimaire an 228 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: Thu, 12 Dec 2019 14:04:23 +0100 In-Reply-To: <875ziods13.fsf@ambrevar.xyz> (Pierre Neidhardt's message of "Tue, 10 Dec 2019 18:11:52 +0100") Message-ID: <87zhfx8zl4.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi! Pierre Neidhardt skribis: > Ludovic Court=C3=A8s writes: > >> We could fix that by adding a patch so that Fontconfig would honor >> $FONTCONFIG_FONT_PATH or similar. > > Have we ever asked upstream? Maybe they would consider adding it. > If they don't, I'm in favour of a patch! :) I don=E2=80=99t think anyone asked upstream and I agree that we should! It could help to have a patch ready to get the discussion started anyway. Thanks, Ludo=E2=80=99. From unknown Sat Aug 16 16:18:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38498: Fontconfig does not find fonts in non-default profiles Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 13 Dec 2019 13:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38498 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Alex Kost , 38498@debbugs.gnu.org Received: via spool by 38498-submit@debbugs.gnu.org id=B38498.15762426784006 (code B ref 38498); Fri, 13 Dec 2019 13:12:01 +0000 Received: (at 38498) by debbugs.gnu.org; 13 Dec 2019 13:11:18 +0000 Received: from localhost ([127.0.0.1]:33199 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ifkj0-00012Y-Cf for submit@debbugs.gnu.org; Fri, 13 Dec 2019 08:11:18 -0500 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:53879) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ifkiy-00012N-3v for 38498@debbugs.gnu.org; Fri, 13 Dec 2019 08:11:17 -0500 X-Originating-IP: 92.169.151.76 Received: from bababa (lfbn-idf2-1-1340-76.w92-169.abo.wanadoo.fr [92.169.151.76]) (Authenticated sender: mail@ambrevar.xyz) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 2A2DB40014; Fri, 13 Dec 2019 13:11:13 +0000 (UTC) From: Pierre Neidhardt In-Reply-To: <87zhfx8zl4.fsf@gnu.org> References: <871rtjm4rt.fsf@ambrevar.xyz> <87o8wm66sd.fsf@gmail.com> <87fthylkw4.fsf@ambrevar.xyz> <87immtuz3s.fsf@gmail.com> <87blslgwp2.fsf@ambrevar.xyz> <87o8wgm8au.fsf@gnu.org> <875ziods13.fsf@ambrevar.xyz> <87zhfx8zl4.fsf@gnu.org> Date: Fri, 13 Dec 2019 14:11:13 +0100 Message-ID: <87fthobcb2.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Just read this: https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/126 Could we do the following: use a profile hook to generate a config file and set the environment variable FONTCONFIG_FILE to this file? (I feel that we can't do that because the path of the hook-generated cannot be known in advance.) I looked at what NixOS does in nixpkgs/pkgs/development/libraries/fontconfig/default.nix: > - NixOS creates /etc/fonts/${configVersion}/fonts.conf link to $out/etc/= fonts/fonts.conf, > and other modifications should go to /etc/fonts/${configVersion}/conf= .d We don't have a global font folder and we probably don't want to have one, so I guess this is not ideal. The fontconfig setting in Nix is =2D-8<---------------cut here---------------start------------->8--- ~/.nix-profile/lib/X11/fonts ~/.nix-profile/share/fonts /nix/var/nix/profiles/default/lib/X11/fonts /nix/var/nix/profiles/default/share/fonts =2D-8<---------------cut here---------------end--------------->8--- so it probably suffers from the same issue. =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl3zjfEACgkQm9z0l6S7 zH+QbwgAqJTw89PdsUFAnV0151Sak2ZNUDIx9qjR+obyTGbfiQp7HnYoapH5HkFx 3HLfVxt1Q+vH4/r0M7LW6I53iqgPhaPrQK5QErsGpsydnv147s5bf2KeVvxgVUY9 peQhsorrJlZPFXVMALUyTBqxgTOgdXT/lFWOg7icLCBtQb5WKGu45cQUz6ULT/Ta SkEsgrPUfe/CELPPqXW9po6nRIgjAuRP0OrZPIzKgciHq+1dQaCfi0/yNqrZJmMh F//FhwM2oWUYIJjskJeivZnAOE3mHY14ORYOxp1Ex1yjYhXBaclsQQZamMgdP58c 8J/wjBZ+r45VuzPnqZKcfbiZVs5mlQ== =y3yi -----END PGP SIGNATURE----- --=-=-=-- From unknown Sat Aug 16 16:18:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38498: Fontconfig does not find fonts in non-default profiles Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 14 Dec 2019 22:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38498 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Pierre Neidhardt Cc: Alex Kost , 38498@debbugs.gnu.org Received: via spool by 38498-submit@debbugs.gnu.org id=B38498.157636342222139 (code B ref 38498); Sat, 14 Dec 2019 22:44:02 +0000 Received: (at 38498) by debbugs.gnu.org; 14 Dec 2019 22:43:42 +0000 Received: from localhost ([127.0.0.1]:35851 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1igG8U-0005l0-Dj for submit@debbugs.gnu.org; Sat, 14 Dec 2019 17:43:42 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33974) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1igG8M-0005k1-UW for 38498@debbugs.gnu.org; Sat, 14 Dec 2019 17:43:37 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:36420) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1igG8H-0007Sn-Md; Sat, 14 Dec 2019 17:43:29 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=37458 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ig85V-0001MD-8r; Sat, 14 Dec 2019 09:08:05 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <871rtjm4rt.fsf@ambrevar.xyz> <87o8wm66sd.fsf@gmail.com> <87fthylkw4.fsf@ambrevar.xyz> <87immtuz3s.fsf@gmail.com> <87blslgwp2.fsf@ambrevar.xyz> <87o8wgm8au.fsf@gnu.org> <875ziods13.fsf@ambrevar.xyz> <87zhfx8zl4.fsf@gnu.org> <87fthobcb2.fsf@ambrevar.xyz> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 24 Frimaire an 228 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: Sat, 14 Dec 2019 15:08:03 +0100 In-Reply-To: <87fthobcb2.fsf@ambrevar.xyz> (Pierre Neidhardt's message of "Fri, 13 Dec 2019 14:11:13 +0100") Message-ID: <87r217yp8c.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello, Pierre Neidhardt skribis: > Just read this: > https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/126 > > Could we do the following: use a profile hook to generate a config file > and set the environment variable FONTCONFIG_FILE to this file? I guess that would work. > (I feel that we can't do that because the path of the hook-generated > cannot be known in advance.) =E2=80=98FONTCONFIG_FILE=E2=80=99 could be a search path of =E2=80=98fontco= nfig=E2=80=99 (the usual way), but then we=E2=80=99d hit , meaning that it would not be set automatically. Thoughts? Ludo=E2=80=99. From unknown Sat Aug 16 16:18:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38498: Fontconfig does not find fonts in non-default profiles Resent-From: Bengt Richter Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 15 Dec 2019 22:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38498 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Pierre Neidhardt Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 38498@debbugs.gnu.org, Alex Kost Reply-To: Bengt Richter Received: via spool by 38498-submit@debbugs.gnu.org id=B38498.15764480648459 (code B ref 38498); Sun, 15 Dec 2019 22:15:02 +0000 Received: (at 38498) by debbugs.gnu.org; 15 Dec 2019 22:14:24 +0000 Received: from localhost ([127.0.0.1]:37360 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1igc9f-0002CN-Th for submit@debbugs.gnu.org; Sun, 15 Dec 2019 17:14:24 -0500 Received: from imta-35.everyone.net ([216.200.145.35]:36310 helo=imta-38.everyone.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1igc9d-0002CE-I7 for 38498@debbugs.gnu.org; Sun, 15 Dec 2019 17:14:22 -0500 Received: from pps.filterd (m0004961.ppops.net [127.0.0.1]) by imta-38.everyone.net (8.16.0.27/8.16.0.27) with SMTP id xBFME01r031096; Sun, 15 Dec 2019 14:14:17 -0800 X-Eon-Originating-Account: qYotQos_ILbXX4VeNCl5Ks_cnbOzsFqTTI4PAZrwFyY X-Eon-Dm: m0117124.ppops.net Received: by m0117124.mta.everyone.net (EON-AUTHRELAY2 - 32d0d199) id m0117124.5dc217e5.7ddc74; Sun, 15 Dec 2019 14:14:16 -0800 X-Eon-Sig: AQMHrIJd9rA4oaeBvAIAAAAE,7ab1c80a5f94b91866c52a7581ece154 X-Eip: 5T34S4hVQFODUAtLoAHU_CYG3jc0Ibhd6_3p1Hi1RkA Date: Sun, 15 Dec 2019 14:14:06 -0800 From: Bengt Richter Message-ID: <20191215221406.GA1010@PhantoNv4ArchGx.localdomain> References: <871rtjm4rt.fsf@ambrevar.xyz> <87o8wm66sd.fsf@gmail.com> <87fthylkw4.fsf@ambrevar.xyz> <87immtuz3s.fsf@gmail.com> <87blslgwp2.fsf@ambrevar.xyz> <87o8wgm8au.fsf@gnu.org> <875ziods13.fsf@ambrevar.xyz> <87zhfx8zl4.fsf@gnu.org> <87fthobcb2.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87fthobcb2.fsf@ambrevar.xyz> User-Agent: Mutt/1.12.2 (2019-09-21) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-12-15_07:, , signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1034 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1911140001 definitions=main-1912150207 X-Spam-Score: -0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.5 (-) Hi Guix, On +2019-12-13 14:11:13 +0100, Pierre Neidhardt wrote: > Just read this: > https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/126 > > Could we do the following: use a profile hook to generate a config file > and set the environment variable FONTCONFIG_FILE to this file? > > (I feel that we can't do that because the path of the hook-generated > cannot be known in advance.) > > > I looked at what NixOS does in > nixpkgs/pkgs/development/libraries/fontconfig/default.nix: > > > - NixOS creates /etc/fonts/${configVersion}/fonts.conf link to $out/etc/fonts/fonts.conf, > > and other modifications should go to /etc/fonts/${configVersion}/conf.d > ┌─────────────────────────────────────────────────────────────────────────┐ │ > We don't have a global font folder and we probably don't want to have │ │ > one, so I guess this is not ideal. │ └─────────────────────────────────────────────────────────────────────────┘ > How about an interplanetary font folder? cf. IPLD[1] :-) I'm thinking fonts might be a good use case as content-addressable items identified by what I call vbr's (Verifiable Blob References). A poc vbr implementation is demoed below. [1] git clone https://github.com/ipld/specs.git > The fontconfig setting in Nix is > > --8<---------------cut here---------------start------------->8--- > > ~/.nix-profile/lib/X11/fonts > ~/.nix-profile/share/fonts > > /nix/var/nix/profiles/default/lib/X11/fonts > /nix/var/nix/profiles/default/share/fonts > --8<---------------cut here---------------end--------------->8--- > > so it probably suffers from the same issue. > I have been working on my own spin on content-addressability by way of what I call a vbr -- Verifiable Blob Reference. It is a name that can be used for a symbolic link or a filename. It is formed by a prefix followed by a guix hash followed by a single hyphen followed by the basename of the file (or -bnam opt), like prefix-hash-basename -- but the final guix hash you see in the final name is not the guix hash of the file bytes, though that is used to form an intermediate name string ("prefix-hashOfFileBytes-basename"). The final hash in the final name is a guix hash of the intermediate name string per se, and _that_ hash is placed between "prefix-" and "-basename" to form the final name so that the final name is "prefix-hashOfIntermediateNameString-basename" So the final name's hash is dependent on both the source bytes and characters of the name. I'm hoping it will be hard to modify source file bytes to produce the same final name. I'm thinking is kind of like the old trick of taking the CRC32 of a packet with the CRC slot set to a known value and stuffing the resulting CRC back in that slot. I am not a crypto expert by any means, so comments on weaknesses are appreciated. The above describes one variant. There is also a self-referential version where the vbr text can be embedded in the file, but that requires a substitution trick in the file byte stream feeding the hash so the self-reference slot(s) can be fixed value(s) during hashing. Still a wip but a single slot in first or last pages of a file is not too bad :-) This in turn has text vs binary variations. I've seen similar to the latter described, but not my repeat hash vbr method, though I wouldn't be that surprised if someone says, "Yeah, that's called frobulation." or something. I am re-inventing wheels I notice every time a scan the internet, but hope to contribute something useful, eventually :) Since this started with fonts, I'll start with a sample ┌──────────────────────────────────────────────────────────────────────────────────────────┐ │ this shows verifiable blob reference (vbr) names for duplicated 12x22 font files │ ├──────────────────────────────────────────────────────────────────────────────────────────┤ │ $ find /gnu -type f -iname '*12x22*'|while read x;do vbr GxFont12x22- $x;done │ │ GxFont12x22-0jhp0cswgvpg4awc7cnadi9jymglnfryj0l9fcg1z7wd5sw8210a-sun12x22.psfu.gz │ │ GxFont12x22-0ylkkdlwhzfw3dadsqhhh021xafz97zajc3qcgrbv6vmdlk3chpn-LatGrkCyr-12x22.psfu.gz │ │ GxFont12x22-0awqnypd4np6zpjy12wd2fq5ri9ifamapadfmn1h9k2vjjnndwpd-iso01-12x22.psfu.gz │ │ GxFont12x22-1hy97l5n7363q5w5x19f7c8klabbprrpx5r1ki4swbn372326jgl-iso02-12x22.psfu.gz │ │ GxFont12x22-1zrlk9zvpkmhcl0cyxy5pnm6mqy7qranx40gz5gy3wvf0cnpm6dp-README.12x22 │ │ $ │ │ $ find /usr -type f -iname '*12x22*'|while read x;do vbr GxFont12x22- $x;done │ │ find: ?/usr/share/polkit-1/rules.d?: Permission denied │ │ GxFont12x22-0jhp0cswgvpg4awc7cnadi9jymglnfryj0l9fcg1z7wd5sw8210a-sun12x22.psfu.gz │ │ GxFont12x22-0ylkkdlwhzfw3dadsqhhh021xafz97zajc3qcgrbv6vmdlk3chpn-LatGrkCyr-12x22.psfu.gz │ │ GxFont12x22-0awqnypd4np6zpjy12wd2fq5ri9ifamapadfmn1h9k2vjjnndwpd-iso01-12x22.psfu.gz │ │ GxFont12x22-1hy97l5n7363q5w5x19f7c8klabbprrpx5r1ki4swbn372326jgl-iso02-12x22.psfu.gz │ │ GxFont12x22-1zrlk9zvpkmhcl0cyxy5pnm6mqy7qranx40gz5gy3wvf0cnpm6dp-README.12x22 │ └──────────────────────────────────────────────────────────────────────────────────────────┘ Potentially, the store could contain vbr names naming links to the foreign versions in /usr and which could be verified any time desired for integrity and identity, and presence: if absent, it would be optional to go to a substitutes repo or anywhere on the web to refresh a local cache. If you find the name you can verify that the referenced blob is identical to any other with the same name and dereferencing. More discussion below. The names are made so that the hash part is dependent on both the file bytes and the name itself as axplained below. Following is an example poc vbr session. Pretty simple so far, but bigger dreams afoot ;-) The commands are (others are wip, not shown :) vbr prefix- filepath # prefix includes single trailing - for now vbr -ck [ vbr-link | vbr-file-name ] The rest made this a monster post, so if vbr and potential uses is of interest, perhaps someone could copy this as the seed of a new thread in a more appropriate list for discussing guix architectural evolution and factoring out of minimalist components for use separately and/or in minimal environments? Also the guile language tower interests me :) The following is an example of a possible format for sharing embedded snippets simply and bitwise unambiguously. Lots of other possibilities exist ;-) ┌─────────────────────────────────────────────────────────────────────────┐ │ v1Snippet-1mzfvrqhllz92siajm2rq7h7a67hg486wnyjwxznhc0zmzxg9n2v-xxx │ ├─────────────────────────────────────────────────────────────────────────┤ │ Among other things, I discuss using vbr's as verifiable blob references │ │ for what UEFI bios reads from /boot and so for what a boot loader sees, │ │ and so forth. Also the role of vbr's in casual but unambigous sharing │ │ of snippets within emails and docs, for automatic search and validated │ │ extraction. │ └─────────────────────────────────────────────────────────────────────────┘ The above could be cleanly automated but was done ad hoc by selecting the five lines of box content before boxing it, and then executing --8<---------------cut here---------------start------------->8--- cat > /tmp/xxx;cat /tmp/xxx|boxit -title "$(vbr v1Snippet- /tmp/xxx)" --8<---------------cut here---------------end--------------->8--- as a shell filter command on the region. The part after -title put the vbr in title above the boxed content. So a search on v1Snippet-... in e.g. this email lists archives in mbox format would allow automated extraction of the box content and checking that the vbr was correct. Of course you could do a vbr for a base64 part of an email too, before or after decoding. I think vbr is simple enough to integrate easily into the guix architeture. Or WDYT, Ludo ;-) Ok, this is getting long again ;-/ Can't resist including the /boot use: Here is a use case re booting images. for f in /boot/*{x,g};do vbr v1Boot- "$f";done ┌──────────────────────────────────────────────────────────────────────────────────────────┐ │ veebers for what UEFI sees, which it could keep as whitelist │ ├──────────────────────────────────────────────────────────────────────────────────────────┤ │ v1Boot-0c9w9bjwbhn8hn7w427qar8wgdbyic7xv88pjs4yji79n9f2433v-vmlinuz-linux │ │ v1Boot-1dp21vvpx99nqjy2z8s239f8bgiqh43lzxm91j7a3n2867ngadj0-initramfs-linux-fallback.img │ │ v1Boot-1bxpkf7i3w7q3c4ziasp2vgg17xq5j3vdqp9y633l5212ddypj8d-initramfs-linux.img │ │ v1Boot-02yla7mv6qg16j0zw0dyy339zdn827xlv964hbinx7hnhi5ax3kk-intel-ucode.img │ └──────────────────────────────────────────────────────────────────────────────────────────┘ This would enable safe booting via TFPT, without signatures, assuming you checked and trusted the vbr when you efibootmgr'd it. The UEFI could load speculatively and display a computed vbr for an image it loaded and didn't recognize. The user could then check the the web for a trusted opinion and bail or proceed (given UEFI password) to accept the new image and white-list it with one-shot trial boot if desired. This would also be a nice way to validate a boot-to-guile image ;-) -- Regards, Bengt Richter From unknown Sat Aug 16 16:18:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38498: Fontconfig does not find fonts in non-default profiles Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 16 Dec 2019 15:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38498 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Bengt Richter Cc: 38498@debbugs.gnu.org, Alex Kost , Pierre Neidhardt Received: via spool by 38498-submit@debbugs.gnu.org id=B38498.15765099312325 (code B ref 38498); Mon, 16 Dec 2019 15:26:01 +0000 Received: (at 38498) by debbugs.gnu.org; 16 Dec 2019 15:25:31 +0000 Received: from localhost ([127.0.0.1]:40222 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1igsFW-0000bQ-Ou for submit@debbugs.gnu.org; Mon, 16 Dec 2019 10:25:30 -0500 Received: from mail-qk1-f193.google.com ([209.85.222.193]:34173) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1igsFU-0000b8-P8 for 38498@debbugs.gnu.org; Mon, 16 Dec 2019 10:25:29 -0500 Received: by mail-qk1-f193.google.com with SMTP id j9so4548006qkk.1 for <38498@debbugs.gnu.org>; Mon, 16 Dec 2019 07:25:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=chbLAOMYsqteEJWq/f639WsBazIptjr+ICOHJUe4saI=; b=WEQVUC6AT9HseOr99jcrIKL4AsiLB+9j28SEKn/mGzzC3khkf03qI21BfzbNWLpdGh rcC5EsqSMfcArxlXAAcPUGBMq4oKhXf3vP4TSHSgvwyAThy3ZOg5X6dFOmYpSvcz8FZP brUU3L5HjZ3erSzL05J9B/5vNf+ubWj22Js0p+gD+oAqjd6UweaphgPlbi83d8FGg1V3 RQe+dSDYbTa7miP0J8GLIxQfnz4gI+OaUpt62r77VGefaINRnYeUr2+lFyF6rlvT/OgD cNytZ59tqoY5WXiNQ6mNdX+1+7Ab8fNVyaB2UfiVpjKrbFYK90yq7JvjxX18FDxbWtIr VK1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=chbLAOMYsqteEJWq/f639WsBazIptjr+ICOHJUe4saI=; b=rM1MBTJq0/MfQwA2ltDTsjUJdfoI4WhfRSsHDtUuxf07jn8ZAiZnWpPS2+J96i/u1X vYSEDf/8AM+XlvigKABNtXMGGosRDqO7NLZV+Dj0mkfGGPObMpqi7XvxHsYPYDGWg/jV W8NdsAKofj+tMOaLJI+WWVUOOtzNOGLH+Pps+ikDSfhgdAOCUeVky8l3jsoJNKYNfSus SkZEewcio1NvSARa3gXbyO6TTKzyjH7O/4YBVpzWnqZTVX8DYO5vm/uQJTzNu9r0ELep ZKPeAkcIOlLFOgsY07Yg+eKxaC3eGKM466QixZXW+XL31pxJ7DPsGMAP1YquYQ2zYUDD Aqbg== X-Gm-Message-State: APjAAAX7n1Rwsvs0Ad9NyNl9ioeFKrbDBoMp7VTnHw0AuJlYyCPQlmzR 7VL8o3xKHQLBk8mvCTH4oylKh5PTuGDqU51lA1M= X-Google-Smtp-Source: APXvYqzQh651GI5jFxyGD0Mu4OgWAM2HA8RTpNdROI2fShnMyjewjumB1WUHKlB7UAKI+Hxy/8UEvYrCRHGUjRxNbrk= X-Received: by 2002:a37:4146:: with SMTP id o67mr26983306qka.232.1576509923283; Mon, 16 Dec 2019 07:25:23 -0800 (PST) MIME-Version: 1.0 References: <871rtjm4rt.fsf@ambrevar.xyz> <87o8wm66sd.fsf@gmail.com> <87fthylkw4.fsf@ambrevar.xyz> <87immtuz3s.fsf@gmail.com> <87blslgwp2.fsf@ambrevar.xyz> <87o8wgm8au.fsf@gnu.org> <875ziods13.fsf@ambrevar.xyz> <87zhfx8zl4.fsf@gnu.org> <87fthobcb2.fsf@ambrevar.xyz> <20191215221406.GA1010@PhantoNv4ArchGx.localdomain> In-Reply-To: <20191215221406.GA1010@PhantoNv4ArchGx.localdomain> From: zimoun Date: Mon, 16 Dec 2019 16:25:12 +0100 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Bengt, On Sun, 15 Dec 2019 at 23:15, Bengt Richter wrote: > How about an interplanetary font folder? cf. IPLD[1] :-) I am not sure it is related to the issue discussed here, IMHO. However, if you are interested in IPFS stuff, give a look at this patch [#] because it still needs some love to be merged... [#] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=33899 All the best, simon From unknown Sat Aug 16 16:18:18 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Pierre Neidhardt Subject: bug#38498: closed (Re: bug#38498: Fontconfig does not find fonts in non-default profiles) Message-ID: References: <875yioz4ve.fsf@gmail.com> <871rtjm4rt.fsf@ambrevar.xyz> X-Gnu-PR-Message: they-closed 38498 X-Gnu-PR-Package: guix Reply-To: 38498@debbugs.gnu.org Date: Fri, 19 Aug 2022 14:27:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1660919222-23512-1" This is a multi-part message in MIME format... ------------=_1660919222-23512-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #38498: Fontconfig does not find fonts in non-default profiles which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 38498@debbugs.gnu.org. --=20 38498: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D38498 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1660919222-23512-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 38498-done) by debbugs.gnu.org; 19 Aug 2022 14:26:39 +0000 Received: from localhost ([127.0.0.1]:58996 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oP2xL-00066c-8u for submit@debbugs.gnu.org; Fri, 19 Aug 2022 10:26:39 -0400 Received: from mail-qk1-f177.google.com ([209.85.222.177]:36702) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oP2xI-00066O-JC for 38498-done@debbugs.gnu.org; Fri, 19 Aug 2022 10:26:38 -0400 Received: by mail-qk1-f177.google.com with SMTP id n21so3351746qkk.3 for <38498-done@debbugs.gnu.org>; Fri, 19 Aug 2022 07:26:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc; bh=7tNJefiuv9T2O3WPslB/vDUVjjiM9lDZvfEnQFGFHNc=; b=jvphbR06eJAzBrC6jqHUL899EKY8dImQA4dahq46gAchXAxoF5Nwzl2v0I5QB5BmgD 7TMG5X8iBu+H2Z3XLQ95McGBuLqAe2Lus2wnGX3Ebfp4GCQ4NJi9RbgaRp/d2VGTZ5OV 24BnVIan64Dkrgn7sq797wkSUSEoRJb8ArvVedDgnZ6KVOL1or78zrygfGmATGpnRAhL EFUjwey2N9ypa0fzwJqra6BHqoZg01vJ7vD/Xl2pzQ/V5X/cHoIf3f70aH1Hn55DLrpv JovZLFPP0O5SF041qK+zSbj4+Hy+MDyUR9ODneV9yXWCvvCSlA/FGX1L3LXmnE+xbwtf z23g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc; bh=7tNJefiuv9T2O3WPslB/vDUVjjiM9lDZvfEnQFGFHNc=; b=upcWRVhypp7jBADogF9LSkZZAJE8baVfVMKZPhbbU6qpJjIqqhlvYHxiMNIgpmOgTK nPmIJiSzDD6Ccpg8atKqI+PyU43emil92vAZBauunxk3SfKqVTi/x+Bsgl/WJEqcsiYl Bxq9aDTZuW2aRJ7J1UfE44ECkGQnOSH1zcMOaN/tNF0Pn7bKNGNmlYONi7BC/UN77qMJ yAOfwyIqOx8yQet2szsjL/LObrlYA+338URpXo3zm2lJmBf5be7dddwMpWA7BIxrkafm PjvtNtfLioWS96WtoHHnAPoaWkzb7s4w7cME7wseC2jTEGfZr+hDEq+7DIitzgsUsVSd daxg== X-Gm-Message-State: ACgBeo1TGCYYF3NoN4D1xk6g2zwY24Wnd9NWrC/H0i9UoYobZWWb3+GI p14sEWHblq8okh99iZebZygDOcFjyTY= X-Google-Smtp-Source: AA6agR7kiOUy33nmS+QXtLXKlOvNAIlDemXDDGVwYK7V+SEfTTwqa2h5XmRjhoKs9SF03OJE7ja6EA== X-Received: by 2002:a05:620a:271f:b0:6b9:3b62:c67e with SMTP id b31-20020a05620a271f00b006b93b62c67emr5317704qkp.164.1660919190834; Fri, 19 Aug 2022 07:26:30 -0700 (PDT) Received: from hurd (dsl-10-149-103.b2b2c.ca. [72.10.149.103]) by smtp.gmail.com with ESMTPSA id l16-20020a37f910000000b006bbe6e89bdcsm487793qkj.31.2022.08.19.07.26.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Aug 2022 07:26:30 -0700 (PDT) From: Maxim Cournoyer To: Pierre Neidhardt Subject: Re: bug#38498: Fontconfig does not find fonts in non-default profiles References: <871rtjm4rt.fsf@ambrevar.xyz> Date: Fri, 19 Aug 2022 10:26:29 -0400 In-Reply-To: <871rtjm4rt.fsf@ambrevar.xyz> (Pierre Neidhardt's message of "Thu, 05 Dec 2019 11:43:34 +0100") Message-ID: <875yioz4ve.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi Pierre, Pierre Neidhardt writes: > The fontconfig package has this bit: > > (string-append "--with-add-fonts=" > "~/.guix-profile/share/fonts, " > "/run/current-system/profile/share/fonts") > > If I understand correctly, fonts can onl [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (maxim.cournoyer[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.222.177 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.222.177 listed in list.dnswl.org] X-Debbugs-Envelope-To: 38498-done Cc: 38498-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Hi Pierre, Pierre Neidhardt writes: > The fontconfig package has this bit: > > (string-append "--with-add-fonts=" > "~/.guix-profile/share/fonts," > "/run/current-system/profile/share/fonts") > > If I understand correctly, fonts can only be installed at the system > level or in ~/.guix-profile. This is no longer true, since commit c738a054cac00441a4f697f0b40705d0b3f4a7a7, which allowed fontconfig to find fonts via a search path specification using XDG_DATA_DIRS. Closing. Maxim ------------=_1660919222-23512-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 5 Dec 2019 10:43:43 +0000 Received: from localhost ([127.0.0.1]:43039 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1icobn-0002DA-FR for submit@debbugs.gnu.org; Thu, 05 Dec 2019 05:43:43 -0500 Received: from lists.gnu.org ([209.51.188.17]:37021) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1icobl-0002D3-QX for submit@debbugs.gnu.org; Thu, 05 Dec 2019 05:43:42 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49764) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1icobk-0006SG-69 for bug-guix@gnu.org; Thu, 05 Dec 2019 05:43:41 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1icobi-0002QA-EW for bug-guix@gnu.org; Thu, 05 Dec 2019 05:43:39 -0500 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:55567) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1icobi-0002Fe-3U for bug-guix@gnu.org; Thu, 05 Dec 2019 05:43:38 -0500 X-Originating-IP: 92.169.151.76 Received: from bababa (lfbn-1-4156-76.w92-169.abo.wanadoo.fr [92.169.151.76]) (Authenticated sender: pierre@atlas.engineer) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 683871C0005 for ; Thu, 5 Dec 2019 10:43:35 +0000 (UTC) From: Pierre Neidhardt To: bug-guix@gnu.org Subject: Fontconfig does not find fonts in non-default profiles Date: Thu, 05 Dec 2019 11:43:34 +0100 Message-ID: <871rtjm4rt.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 217.70.183.197 X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable The fontconfig package has this bit: =2D-8<---------------cut here---------------start------------->8--- (string-append "--with-add-fonts=3D" "~/.guix-profile/share/fonts," "/run/current-system/profile/share/fonts") =2D-8<---------------cut here---------------end--------------->8--- If I understand correctly, fonts can only be installed at the system level or in ~/.guix-profile. Is there a way to install fonts in a non-default profile? If not, it would be nice to implement it. Can we use an environment variab= le? =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl3o31YACgkQm9z0l6S7 zH++YAf8CtKgVxKHG1p+eYpbx6MRoMNNdBknY7mKgXKvijClAaHEgBOS7w6aV30C NXgLJ4cs7qrJwVzt/CQxUALyMsD3M8+IUnjOKeCduogC8TbhWY3LO2NXJgHe+upE ViQLPmEXKgUz3wFwKc7EHUAapGWT1aoJe/ukBJ8h1KuChHH9U0iTmrPMc2Bm03wM f75TN8Ax2o1Dd6dN2g+pM9lXU/v35jV132NmIDn1fkIzzYfmL94a4rJknQkqbxrx G+vwsbqbxDELc2w2W2z6sfvySEFpnz22ejIbpfa7zjFM4B9+X0UB3Zjp8uNEpyWB txIvcvPVuij6dA56QbsnuWyWuTmVhQ== =tPIT -----END PGP SIGNATURE----- --=-=-=-- ------------=_1660919222-23512-1--