From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id +GW7NlgI1mTVLQEASxT56A (envelope-from ) for ; Fri, 11 Aug 2023 12:07:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id iPalNVgI1mSW0wAAG6o9tA (envelope-from ) for ; Fri, 11 Aug 2023 12:07:20 +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 86EB2444F3 for ; Fri, 11 Aug 2023 12:07:19 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=envs.net header.s=modoboa header.b=mMLA4kHL; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1691748440; h=from:from:sender:sender:reply-to: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=QYpqTVC7jugtd6rIu+WUrK4GGTP6QZ7cx7XZdHVu0gc=; b=rRq9g7nW6jDllKDEn5PPZpJD7PET1v7+U+pCAYSTYUSr4OJDeGJ9BcRNu0nV/i1zTTk/jo BR2SIHHs14b0DCRorjiE9YRU0PUofWhd6GOvR2dRX1wciQOSNK4K/V5v9cQDazg3qmKiYU gF8G/BCYQx9+LJdbkID83TKO4MnrDSNynSrwmq4Ni7MiuTMOBvLJtVUm5QxUoVrmWh3lf+ /SS4yeL64kk64TTAphCwzlVwWdB6UJZxHmKqi4Kmn3fTEcVkxQQkzQgKLwo8KVTuz3nyur MDyfFOJ835yctif3pH5JiH1+3/4Qtzqf5XLigzkvWIZi3XG8sbcXomc/4DAbLw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=envs.net header.s=modoboa header.b=mMLA4kHL; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1691748440; a=rsa-sha256; cv=none; b=L4YZNJjaF6/TrJkWyn2SdJXVSoMbXnOBmazeJUi8dlfwyjayRe6YmG5Mq4CSHyuGcrID71 Vcin3u/SUf7xuwK9dp2DYWajkb3PrRrWXsGJ02nt/4PppPUMk4LMoTlc/r+Aq8Pr1ZqPGc 5ABa6r78BQZmsgbe5xjc/FHFjM9EeOy9AFAqNxOeHSzlUYs/QuD17tMzspoV/xOc/gEpkl OktTyY7ZNa1ks0wX2/zTOdzKlK3f4mIaFSdEj8xgvJUvOQo4kpi4HXJIp3ZK5IhKoJ/ndM dSjJ+BKCDnLVSx5aRmPmDpupLFVhJJg8hWyy87KrJ455JHADOxkAB+yQkstqEQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qUP2t-00055O-5J; Fri, 11 Aug 2023 06:07:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qUP2s-00054z-94 for bug-guix@gnu.org; Fri, 11 Aug 2023 06:07:02 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qUP2s-0003I3-14 for bug-guix@gnu.org; Fri, 11 Aug 2023 06:07:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qUP2r-0007XW-JY for bug-guix@gnu.org; Fri, 11 Aug 2023 06:07:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#26877: building fonts: fontcache must be updated regulary Resent-From: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 11 Aug 2023 10:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26877 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer Cc: Mark H Weaver , Ludovic =?UTF-8?Q?Court=C3=A8s?= , 26877@debbugs.gnu.org, ng0 Received: via spool by 26877-submit@debbugs.gnu.org id=B26877.169174838928944 (code B ref 26877); Fri, 11 Aug 2023 10:07:01 +0000 Received: (at 26877) by debbugs.gnu.org; 11 Aug 2023 10:06:29 +0000 Received: from localhost ([127.0.0.1]:44959 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qUP2L-0007Wm-8T for submit@debbugs.gnu.org; Fri, 11 Aug 2023 06:06:29 -0400 Received: from mail.envs.net ([5.199.136.28]:58292) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qUP2G-0007WU-RV for 26877@debbugs.gnu.org; Fri, 11 Aug 2023 06:06:27 -0400 Received: from localhost (mail.envs.net [127.0.0.1]) by mail.envs.net (Postfix) with ESMTP id C9E8738A001D; Fri, 11 Aug 2023 10:06:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=envs.net; s=modoboa; t=1691748382; bh=QYpqTVC7jugtd6rIu+WUrK4GGTP6QZ7cx7XZdHVu0gc=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=mMLA4kHL4i46VWqXUa8cEyKegBkSmazubZXR6173l3iDdJFrg/4O1elkTw3rOJhO2 hIJuWuSXUUogR1BY9lx7ZIvXDCnwLCkUpoBrLvTqZwR/L9pGoPTTCp/JG7VWbWqC+w vhFl4R5++QyTXfClldU7+YdyCC1C+ubBugGveSuhQZ92ySMI97VM2uJ3PXCWZU/sXh O+etmjqlr36cRSdE2r2B02aUBEhO5KWIDCaBAOUHoDQsXmZBY6YniYJ4Kx92T/Poc2 F4tOwLkUhshyj1+QQbBvInqw09AK/sHVhyOK86t+8bZVHD4LTICRJ1+Pzbd+YztxKA vc7ncVfHgqxGMl13CK20fsmP1yxUMv+HIjY7sI+toVKRdlJ/Pp1CPeStvgVJ3E6Ty0 zuHZiwU1pqOytmC1PqhufpD1ytCCXn5c4gKrMFmSD6S2VNa+lktZJ4qZUF+032FjJY nAsvN0wNlpeGqNT8GEd9z4uGkpdSHcu3jGL5Oo/PE7BZm/LW0D+Uc+8QOD/e5qRka2 FjqnCa3MwsPUmQ88OVmgnM7OvoHyRYDhQUd8cQ8VyKk53O19KvUxhmQtaBZQA1AJNZ QHzAnlwzdGyv+d+wt9KcAi6f1/2+OnIKATUSSDQ1o26lmXhoSritdurqRvjPk1elFg tgXFmv4zogOTafc/bfBQ7eLA= X-Virus-Scanned: Debian amavisd-new at mail.envs.net Received: from mail.envs.net ([127.0.0.1]) by localhost (mail.envs.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 0MWJV0T0a2Fl; Fri, 11 Aug 2023 10:06:15 +0000 (UTC) Received: from localhost (unknown [36.170.59.125]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.envs.net (Postfix) with ESMTPSA; Fri, 11 Aug 2023 10:06:15 +0000 (UTC) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 63be9e18; Fri, 11 Aug 2023 10:06:24 +0000 (UTC) References: <20170511083658.fuc54qhzo7ismnha@abyayala> <8760h7guba.fsf@netris.org> <8760h7nmec.fsf@gnu.org> <871quth9rw.fsf@gmail.com> Date: Fri, 11 Aug 2023 18:06:24 +0800 In-Reply-To: <871quth9rw.fsf@gmail.com> (Maxim Cournoyer's message of "Sun, 10 Jul 2022 00:27:47 -0400") Message-ID: <87350pdhb3.fsf@envs.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.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: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= From: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= via Bug reports for GNU Guix Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 86EB2444F3 X-Migadu-Scanner: mx1.migadu.com X-Spam-Score: -5.18 X-Migadu-Spam-Score: -5.18 X-TUID: V04YBRGj8utq Maxim Cournoyer writes: > Hello, > > ludo@gnu.org (Ludovic Court=C3=A8s) writes: > >> Hi, >> >> Mark H Weaver skribis: >> >>> The usual Guix way to handle things like this is to arrange for the font >>> cache to be part of the profile, and to create a profile hook that >>> creates the cache from all of the built packages included within. >> >> The problem is that the cache should be mutable so that one can run >> =E2=80=9Cfc-cache -f=E2=80=9D after having dropped files in ~/.local/sha= re/fonts, for >> instance. >> >> That said, quite surprisingly, I think I never had to run =E2=80=98fc-ca= che=E2=80=99 >> except in the situation above. > > I've never had to do this in years, although I don't use "loose" fonts > manually installed under ~/.local/share/fonts. > > Should we close the issue? Our fontconfig package now honors fonts > found under XDG_DATA_DIRS, and it seems to just work. Hello, I think we can close this now, since this commit: commit 6f12880a76a6c91058718d15845f8b9d9b529a5a Author: Sarah Morgensen mgsn.dev> Date: Fri Jun 18 17:52:05 2021 -0700 gnu: fontconfig: Use (locally) deterministic caching =20=20=20=20 Make fontconfig use directory contents rather than modification time to determine cache validity (by pretending that mtime is broken). There is no need to run 'fc-cache' manually, and applications just need close/restart to use newly install fonts (also manual run here doesn't remove the need of restart).