GNU bug report logs - #18640
[wishlist] fontconfig's cache is not refreshed automatically

Previous Next

Package: guix;

Reported by: Mark H Weaver <mhw <at> netris.org>

Date: Sun, 5 Oct 2014 21:54:02 UTC

Severity: wishlist

Done: 宋文武 <iyzsong <at> envs.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 18640 in the body.
You can then email your comments to 18640 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#18640; Package guix. (Sun, 05 Oct 2014 21:54:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mark H Weaver <mhw <at> netris.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 05 Oct 2014 21:54:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Mark H Weaver <mhw <at> netris.org>
To: bug-guix <at> gnu.org
Subject: [wishlist] fontconfig's cache is not refreshed automatically
Date: Sun, 05 Oct 2014 17:53:16 -0400
When a user runs emacs (or any other program that uses fontconfig), a
cache is created in ~/.cache/fontconfig.  This cache is not updated
automatically after installing new fonts, and must be manually cleared
out.

I guess this might be related to our use of Jan 1, 1970 as the
timestamps for all files in /gnu/store (which includes user profiles).

We should either modify fontconfig to detect a stale cache using a
method that works on Guix, or else notify the user that they must clear
the cache after installing ttf fonts.

      Mark




Reply sent to 宋文武 <iyzsong <at> envs.net>:
You have taken responsibility. (Fri, 11 Aug 2023 09:59:02 GMT) Full text and rfc822 format available.

Notification sent to Mark H Weaver <mhw <at> netris.org>:
bug acknowledged by developer. (Fri, 11 Aug 2023 09:59:02 GMT) Full text and rfc822 format available.

Message #10 received at 18640-done <at> debbugs.gnu.org (full text, mbox):

From: 宋文武 <iyzsong <at> envs.net>
To: 18640-done <at> debbugs.gnu.org
Subject: Re: fontconfig's cache is not refreshed automatically
Date: Fri, 11 Aug 2023 17:58:46 +0800
Hello, I believe this issue had been fixed by:

commit 6f12880a76a6c91058718d15845f8b9d9b529a5a
Author: Sarah Morgensen <iskarian <at> mgsn.dev>
Date:   Fri Jun 18 17:52:05 2021 -0700

    gnu: fontconfig: Use (locally) deterministic caching
    
    Make fontconfig use directory contents rather than modification time to
    determine cache validity (by pretending that mtime is broken).

Closing.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 08 Sep 2023 11:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 228 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.