From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id MEavNOgEMGO39QAAbAwnHQ (envelope-from ) for ; Sun, 25 Sep 2022 09:36:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id WLy2NOgEMGM+6AAA9RJhRA (envelope-from ) for ; Sun, 25 Sep 2022 09:36:08 +0200 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 921E822C64 for ; Sun, 25 Sep 2022 09:36:08 +0200 (CEST) Received: from localhost ([::1]:35388 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ocMBL-0000ym-HO for larch@yhetil.org; Sun, 25 Sep 2022 03:36:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40806) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ocMAI-0000xW-Dm for guix-patches@gnu.org; Sun, 25 Sep 2022 03:35:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46689) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ocMAI-0006ph-2U for guix-patches@gnu.org; Sun, 25 Sep 2022 03:35:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ocMAH-00026S-Tn for guix-patches@gnu.org; Sun, 25 Sep 2022 03:35:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57963] [PATCH 0/1] Support user's fontconfig. Resent-From: Taiju HIGASHI Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 25 Sep 2022 07:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57963 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Liliana Marie Prikler Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 57963@debbugs.gnu.org, Andrew Tropin Received: via spool by 57963-submit@debbugs.gnu.org id=B57963.16640912768049 (code B ref 57963); Sun, 25 Sep 2022 07:35:01 +0000 Received: (at 57963) by debbugs.gnu.org; 25 Sep 2022 07:34:36 +0000 Received: from localhost ([127.0.0.1]:45767 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ocM9r-00025l-TZ for submit@debbugs.gnu.org; Sun, 25 Sep 2022 03:34:36 -0400 Received: from mail-pj1-f52.google.com ([209.85.216.52]:34730) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ocM9l-00025S-In for 57963@debbugs.gnu.org; Sun, 25 Sep 2022 03:34:34 -0400 Received: by mail-pj1-f52.google.com with SMTP id a5-20020a17090aa50500b002008eeb040eso10478351pjq.1 for <57963@debbugs.gnu.org>; Sun, 25 Sep 2022 00:34:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=taiju-info.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date; bh=+VPWIpU/6IMrda+EfilhqAxsCJJRHbFXEImL5RK7RoI=; b=7taMKx8heD9NJqvmnSVY2eHSP5eHQOYKrTwXilRee0D2QqoNcDpjj8XhvIcKhK/kap 9vsKYMfsCkivEKM81MORCy2BvZdgGm6c13UCDLEGHmPxsxDfwRDfydlXdV++Qb4RhB0h RRei/zsfuxXoO73nbat9t0A/vlpuBRel99T334qo6/k4z2zanoirmVP/o/PCRNsfHcHT JKuqUbkNgCUvXQrTfTbquL0NuWvjKjFB8qGQ3SJjUvSiHYcu3O7JOWPh74VFMaAHv6iB kls4QUeozobwsvWRHfpiXQxx3C1G+WB8RZLna9tbAcZGYNaHAPGptuPLpIYbO1G9VHx+ GP5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date; bh=+VPWIpU/6IMrda+EfilhqAxsCJJRHbFXEImL5RK7RoI=; b=jjTxfFlUFo+r65mSHf8UVimoxBXfm2GNp/pf7I+BmE1ykmWj/XDqrQifsYkFt/WEQW E94RyoTDzr7iL184LTsovAly1PyEKQW+g4rVSikRFVVkiPu0hEVvtiG4uN4nvGsKvGi0 85uHY6B3zEoPGhf1FXYqUhTqzzao69AEwG8tsq5uTrK0j8/5GrSDOf6UKX2jogl7+dNB lp7ga7Oxrt9RkcI41+6UkODFR31UPStqOC6DGkD0PoBBihs58dgcFqNV1znCt5TywzmE prVkjCseKkfM/+boa+tGDzsdVTpc6tjvJ/kfPQXbxGm6GZ3gSSkyzncAqW6PWs42nnli gvWw== X-Gm-Message-State: ACrzQf3xMqGsDLt25jGibjGhznJFL4X8/3aPSSshcaBjBH7C/oiKLDOd vTmi+v5iya/fLWsnDtAPzIhLyg6JX5n5FTFJ X-Google-Smtp-Source: AMsMyM7Klo75C/nZ+EglK0uilFdLJbiMTmzNT5labjzlhhnqYbjnbONCCc8r94ycqw98CBp2qv6gnw== X-Received: by 2002:a17:90b:4d8a:b0:205:a847:d8ba with SMTP id oj10-20020a17090b4d8a00b00205a847d8bamr3531067pjb.93.1664091263845; Sun, 25 Sep 2022 00:34:23 -0700 (PDT) Received: from Taix ([240b:253:ec40:2400:b7d1:436e:2d61:e925]) by smtp.gmail.com with ESMTPSA id f17-20020a170902ce9100b001786b712bf7sm8905764plg.151.2022.09.25.00.34.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Sep 2022 00:34:23 -0700 (PDT) From: Taiju HIGASHI References: <20220921002721.23511-1-higashi@taiju.info> <20220922012033.30835-1-higashi@taiju.info> <87pmfoq6kt.fsf@trop.in> <87sfkjiyck.fsf@gnu.org> <875yhfwxe9.fsf@taiju.info> <871qs093dq.fsf_-_@gnu.org> <87edw0v0qk.fsf@taiju.info> <0fdb0df07f50700454bf34cbb0d86c46bb9afe79.camel@gmail.com> <87leq7ud1s.fsf@taiju.info> Date: Sun, 25 Sep 2022 16:34:20 +0900 In-Reply-To: <87leq7ud1s.fsf@taiju.info> (Taiju HIGASHI's message of "Sun, 25 Sep 2022 16:29:51 +0900") Message-ID: <87bkr3ucub.fsf@taiju.info> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (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 X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1664091368; 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=+VPWIpU/6IMrda+EfilhqAxsCJJRHbFXEImL5RK7RoI=; b=pqbJeAai8GuY+mjXiMiBygriTzWCdEHbgcO7ovjosQlna+hPR5bAmrKzHPy3QsbXou3V/F U2GneIbmqvKl+ANz6to/scWY9Z57Ms6cP1LY4XaKWSHEygLtVpJ3gjyLpTkF+EnhfgGnyB kxZL7gmSggoKbF1+GIO1OlBAG0NzbtpWF5mwlVbVw//t3kNbPbG5GLciUuOYkSCMdQV7Pj Qs9m4N3dWUYnIEUsGoDnywai2aBIbfXXTJoOitrDTVZnwO8vLPJJcDNm6nO67Vk1qYupky XRj4I/YTP56Q+jVM1VL7WCYbQKl0chvinxgnSa08JdfrNgPKgiZTgfWl9h1BfQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664091368; a=rsa-sha256; cv=none; b=abjnm4SG4VJxvO89cqOIn/ov+/xcmnUmZRDhVyWEv1qFukIQiVpS6Qdil8a77cxRu9jpYG iskXGea2/QA+IiBVqp6EaYh+SxIOe65bjUoGGQ4LFv9njQcSPHY09Iv1tGH7Ow4etc/eQd eF7j+3GrawIhz9nZDeh4RliaWNoEEXCr+bSzKgji88wOMIDWly4mLQrZvG9fDpRktzkDv0 0Pzlcgw0gAPsrzuT8wTkPqaQzJ4yl4PrO/AVkL6hY+IB2h1F3sZTgk+KvFrhcg3Ld7dTiG g/OhVDWjYdOGwODmai6+ItBmQRL7VuIbYkBKIUXhtRTAm8kCXlTirqDMJMfWRQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=taiju-info.20210112.gappssmtp.com header.s=20210112 header.b=7taMKx8h; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 4.15 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=taiju-info.20210112.gappssmtp.com header.s=20210112 header.b=7taMKx8h; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 921E822C64 X-Spam-Score: 4.15 X-Migadu-Scanner: scn1.migadu.com X-TUID: Gxj6P/I/tblX Taiju HIGASHI writes: > Liliana Marie Prikler writes: > >> Am Sonntag, dem 25.09.2022 um 07:58 +0900 schrieb Taiju HIGASHI: >>> Ludovic Court=C3=A8s writes: >>> >>> > Anyway, it does look like your v2 is the way to go, with the >>> > obvious caveat that using it is tricky: one needs to know about >>> > fontconfig=E2=80=99s config file format and about sxml. >>> > >>> > Maybe we can go with v2 for now (it provides a useful =E2=80=9Cescape >>> > hatch=E2=80=9D) but prepare for more conventional configuration bindi= ngs? >>> >>> By conventional configuration binding, do you mean adding something >>> like home-fontconfig-configuration to provide a dedicated=C2=A0 fontcon= fig >>> configuration? >> I think Ludo means that we should provide the most useful options (like >> the fontconfig dirs) as dedicated record fields, while leaving an >> "extra-config" escape hatch, that can be used with SXML or a raw string >> for stuff that's too complicated (my personal preference would still be >> SXML over the raw string, but YMMV). > > I see. For example, > > For example, would it be as follows? > > (service home-fontconfig-service-type > (home-fontconfig-configuration > (dir "~/.config/fontconfig/my-fonts1.conf")) > (extra-config > (list > "~/.config/fontconfig/my-fonts2.conf"))) It was wrong. The following is more correct. --8<---------------cut here---------------start------------->8--- (service home-fontconfig-service-type (home-fontconfig-configuration (dirs (list "~/.config/fontconfig/my-fonts1.conf")) (extra-config (list "...")))) --8<---------------cut here---------------end--------------->8--- Thanks, --=20 Taiju