summary refs log tree commit diff
path: root/gnu/local.mk
diff options
context:
space:
mode:
authorSarah Morgensen <iskarian@mgsn.dev>2021-06-18 17:52:05 -0700
committerLudovic Courtès <ludo@gnu.org>2021-07-11 18:17:31 +0200
commit6f12880a76a6c91058718d15845f8b9d9b529a5a (patch)
tree099a2b83d254c93ba850dbfa1782ea0ec752b59c /gnu/local.mk
parent9b4c3c675c05870e5983c21ce4ff944e0b0bc2fa (diff)
downloadguix-6f12880a76a6c91058718d15845f8b9d9b529a5a.tar.gz
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).

* gnu/packages/patches/fontconfig-cache-ignore-mtime.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/fontutils.scm (fontconfig)[source]: Use it.
[arguments]: Unset SOURCE_DATE_EPOCH for tests.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/local.mk')
-rw-r--r--gnu/local.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/local.mk b/gnu/local.mk
index 901fc7c4ba..bc9a34fd8e 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1019,6 +1019,7 @@ dist_patch_DATA =						\
   %D%/packages/patches/fifo-map-remove-catch.hpp.patch		\
   %D%/packages/patches/findutils-localstatedir.patch		\
   %D%/packages/patches/flann-cmake-3.11.patch			\
+  %D%/packages/patches/fontconfig-cache-ignore-mtime.patch	\
   %D%/packages/patches/foobillard++-pkg-config.patch		\
   %D%/packages/patches/foomatic-filters-CVE-2015-8327.patch	\
   %D%/packages/patches/foomatic-filters-CVE-2015-8560.patch	\