From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id +MS8DY9sPWHqiwAAgWs5BA (envelope-from ) for ; Sun, 12 Sep 2021 04:57:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id ULZeCY9sPWEJWgAAbx9fmQ (envelope-from ) for ; Sun, 12 Sep 2021 02:57:19 +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 9D0152683 for ; Sun, 12 Sep 2021 04:57:18 +0200 (CEST) Received: from localhost ([::1]:42220 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mPFgD-0001EG-G7 for larch@yhetil.org; Sat, 11 Sep 2021 22:57:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38110) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mPFfy-0001E7-LD for guix-patches@gnu.org; Sat, 11 Sep 2021 22:57:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58387) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mPFfy-0000nZ-EO for guix-patches@gnu.org; Sat, 11 Sep 2021 22:57:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mPFfy-0005Kh-6Y for guix-patches@gnu.org; Sat, 11 Sep 2021 22:57:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50358] [PATCH core-updates-frozen 0/8] Shortened Rust bootstrap & other fixes. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 12 Sep 2021 02:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50358 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 50358@debbugs.gnu.org Received: via spool by 50358-submit@debbugs.gnu.org id=B50358.163141539320465 (code B ref 50358); Sun, 12 Sep 2021 02:57:02 +0000 Received: (at 50358) by debbugs.gnu.org; 12 Sep 2021 02:56:33 +0000 Received: from localhost ([127.0.0.1]:41700 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mPFfV-0005K1-Dk for submit@debbugs.gnu.org; Sat, 11 Sep 2021 22:56:33 -0400 Received: from mail-qv1-f48.google.com ([209.85.219.48]:44711) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mPFfS-0005Jj-42 for 50358@debbugs.gnu.org; Sat, 11 Sep 2021 22:56:31 -0400 Received: by mail-qv1-f48.google.com with SMTP id 62so3942350qvb.11 for <50358@debbugs.gnu.org>; Sat, 11 Sep 2021 19:56:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=NDokAIGQlmWq0+t80VNWFp9OZ8JMmWZK8cGRJbUNw98=; b=gNu82UnLbdZXsraShRYtRu4auWgJASL8/mfbw8s5yftKLXjtprmZDuliTXkNR/nq9D a4+EA+19KGD8ph2dPEmLLc1VKcU5uVsz8GE6YtcL4x+zb/CPZLXH6nP/CDbch6Uohyje WU9X7aIAYtt4J2+uKPKEcvCcdvcbH3eyjeo5Sc/Izif16wP6KqTqil/iuAFHzOkdBoZP ya71vBTK8lkTVxVYZfbDlk8EXYJpo+tXas7Cg41D+pb8XWMJu+p2xKWTwqhr3RMm2wzA Na1fRfzB9HlMAqEVWOySNOqzgF7iPbZZ7voeqw0qenqA6+o3p2wH1hr0Tdqjmo94hOqW 1S2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=NDokAIGQlmWq0+t80VNWFp9OZ8JMmWZK8cGRJbUNw98=; b=7KC4uOS315KYSGVAu26hm6SWdDlabmWqmjLurCoh0J5VPbUg+JDWNXY9QE86reXQgk 3lrpB3Rt0Q7ArKiBVcd5U9D56Fk6FHxgr6MmkInLRFi/GE3zRGYpAr/W9uBnCITx5J+z GyDUnrZ1E6vQ58NRJvQ6sldRM64HLLFqw+iaJsssxUygtWrYyLAdaB+2CrWHPtcNpdAl l5kuwwClxD5QcPKkgssFR+T1cPhFF1j5GcmEJr3e7QlzOE6W0ECtZUFhRDa+q4XVlYPO rbQw0P9PY+r/VfiRX7FSsDt8QqMGsyyWo0qUnvcGRmoG5e2JMdbX8ECM9GWo7BWqsvKg f+Uw== X-Gm-Message-State: AOAM532XJQeZn0JxySrJfFwDGpLQuTPiIUmDDMdCBzSyg7VR9iXeG0xg uYXiTrIAL7YYMG6BwnJgrC5BHPYZV3k= X-Google-Smtp-Source: ABdhPJzQFFYuDisVqM4sBO4Hztq3rHhl1t2ed4BtG2c2CJ+Kt/zBq4J5JYrpmAEbj9vaaAuw6bHLLg== X-Received: by 2002:a0c:ab4e:: with SMTP id i14mr4579771qvb.28.1631415384336; Sat, 11 Sep 2021 19:56:24 -0700 (PDT) Received: from hurd (dsl-10-134-93.b2b2c.ca. [72.10.134.93]) by smtp.gmail.com with ESMTPSA id a8sm1915832qtx.39.2021.09.11.19.56.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 Sep 2021 19:56:24 -0700 (PDT) From: Maxim Cournoyer References: <20210903153116.22517-1-maxim.cournoyer@gmail.com> <20210903153116.22517-8-maxim.cournoyer@gmail.com> <87y28710vw.fsf_-_@gnu.org> Date: Sat, 11 Sep 2021 22:56:23 -0400 In-Reply-To: <87y28710vw.fsf_-_@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Wed, 08 Sep 2021 18:35:15 +0200") Message-ID: <87k0jmpkmg.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1631415438; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=NDokAIGQlmWq0+t80VNWFp9OZ8JMmWZK8cGRJbUNw98=; b=ERDwOATmip+ZeX1Q6w5skXD+PxVleVeEnALucZkCI8oP6MlS3ulkY0NbOiJDsUK6DN69M8 av4PXr3bu2Uk6JLOl1Bqk1AE46WrPwKPDvZoP79GyGoJFpLOP2itX9s0z9EDD00vMgvKxG 7p+Zv1nSVBtO/xVlYE8kiXx81hWLI6bGKHkXQDUZDdcd+Wy6fdjJsVaoCE6Jo7odzjVbyo XUGjFzViO6nrk9s7p9UBa5zGuINZzhZVx8QpMS7JTh8W1OBx5neb2DcCU0024vFpkcFCL4 d90LwiXaW53N2MsiZ56Wagls4uvxox12svjUdcl1umrk6x4K2pQdJvZRjP6X8A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631415438; a=rsa-sha256; cv=none; b=f/h8mytU3i/TAHjbSP3+YYZvIPBNbDmsrz5ISUTrj7n6h+WFtcgeneEaO6AWYJLUpCWHCP Ggs8g10Anmgc83WA0FkpJA8zKMp4BuzsEcR/tLGcW58QQI+4XETFNkZJLBhCCYClk0QLYM MSpaU16zaoRmaSuo9wNrMeTUJPrRKEAtvHmhpRSozqFpyY9My+GcX5jlbZDJIJ7PwV7B6E dcMYdyZVK53qJA44+pilcQSMzqk1kFZ/Z7gWgueFR3pj1s1LBjQHdzLGXprK/NKhclMydz 50huWx+X7djHL/3kY3g8g7qXt5YyFyqpMdW9tDjjvOzRP97JWnx+99TDzLK/2w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=gNu82UnL; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.31 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=gNu82UnL; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.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-Migadu-Queue-Id: 9D0152683 X-Spam-Score: -1.31 X-Migadu-Scanner: scn0.migadu.com X-TUID: aZPV+GVSYSjR Hi! Ludovic Court=C3=A8s writes: > Maxim Cournoyer skribis: > >> Fixes . >> >> * gnu/packages/fontutils.scm (fontconfig)[source]: Fix indentation. >> [configure-flags]: Drop the "--with-add-fonts" configure option as it's = no >> longer necessary/desirable to special case the system and user profiles. >> [native-search-paths]: New search path. > > Nice, LGTM! Good to see a bug in the 30,000 range closed. :-) :-) >> + (native-search-paths >> + ;; Since version 2.13.94, fontconfig knows to find fonts from >> + ;; XDG_DATA_DIRS. >> + (list (search-path-specification >> + (variable "XDG_DATA_DIRS") >> + (files '("share"))))) > > A potential drawback is that it=E2=80=99ll end up searching too many > directories: $XDG_DATA_DIRS has 10 entries (7 if we remove duplicates) > for me on Guix System, 3 of which have a fonts/ sub-directory. Hmm > maybe that=E2=80=99s not so bad after all. That's a defect with XDG_DATA_DIRS :-(. I feel like search-path-specification should be augmented to express patterns that would be useful with search paths such as the too wide XDG_DATA_DIRS: enable only when a child directory/file is present, for example. So far we've been adding ad-hoc fixes in build systems (such as for the qt-build-system, via (guix build qt-utils)); it seems it'd be cleaner to add this capability at the search path level. What do you think? Maxim