From mboxrd@z Thu Jan  1 00:00:00 1970
From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=)
Subject: Re: LibreOffice Fonts
Date: Wed, 04 Oct 2017 16:12:55 +0200
Message-ID: <87k20b80ig.fsf@gnu.org>
References: <8760c3g7w9.fsf@ksu.edu> <87bmlpppv6.fsf@gnu.org>
	<20171002150504.73bagyq4hrmx22ip@abyayala> <87d1652m64.fsf@gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Return-path: <guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org>
Received: from eggs.gnu.org ([2001:4830:134:3::10]:37120)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <ludo@gnu.org>) id 1dzkPy-0007zA-L2
	for guix-devel@gnu.org; Wed, 04 Oct 2017 10:13:04 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <ludo@gnu.org>) id 1dzkPx-0004u8-KO
	for guix-devel@gnu.org; Wed, 04 Oct 2017 10:12:58 -0400
In-Reply-To: <87d1652m64.fsf@gmail.com> (Maxim Cournoyer's message of "Mon, 02
	Oct 2017 18:57:07 -0400")
List-Id: "Development of GNU Guix and the GNU System distribution."
	<guix-devel.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-devel>,
	<mailto:guix-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/guix-devel/>
List-Post: <mailto:guix-devel@gnu.org>
List-Help: <mailto:guix-devel-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-devel>,
	<mailto:guix-devel-request@gnu.org?subject=subscribe>
Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org
Sender: "Guix-devel" <guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org>
To: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Cc: guix-devel@gnu.org, Tom Balzer <tbalzer@ksu.edu>

Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:

> ng0 <ng0@infotropique.org> writes:

[...]

>> What about an fontcache-service that basically
>> is mcron running daily "fc-cache -f"
>> or even "fc-cache -fr"?
>
> Is there no way to provide it the way it should, i.e. as a
> profile hook? I understand the issue that the cache generated would be
> read-only, but that cache would be in the system and users running
> fc-cache themselves would produce cache in their $HOME, so I don't
> immediately see an issue there (other than I haven't had time yet to
> look into it -- it's on my TODO).

We could have a profile hook that creates the cache, but how would we
arrange to have ~/.cache/fontconfig pointing to the right thing?

I mean =E2=80=98guix package=E2=80=99 could modify ~/.cache/fontconfig, but=
 that=E2=80=99s not
something we=E2=80=99ve done until now (=E2=80=98guix package=E2=80=99 only=
 touches
~/.guix-profile and /var/guix/profiles.)

Thoughts?

Ludo=E2=80=99.