From abda22ecb103947372c7359c9e94dab7121f4217 Mon Sep 17 00:00:00 2001 From: Runciter Date: Sun, 1 Dec 2024 21:00:29 +0000 Subject: gnu: freedict-tools: Fix non-determinism of dictzip compressed file headers. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reset .dict file mtime to start of the epoch before compressing with dictzip. * gnu/packages/patches/freedict-tools-fix-determinism.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/dictionaries.scm (freedict-tools): Use it. Signed-off-by: Runciter Signed-off-by: Ludovic Courtès --- gnu/packages/dictionaries.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gnu/packages/dictionaries.scm') diff --git a/gnu/packages/dictionaries.scm b/gnu/packages/dictionaries.scm index c46b1265c7..21c3f668d2 100644 --- a/gnu/packages/dictionaries.scm +++ b/gnu/packages/dictionaries.scm @@ -484,7 +484,8 @@ for SKK Japanese input systems, and various dictionary files. (commit "3596640e6e0582cc5fb76a342e5d8e7413aa4b34"))) ;"0.6.0" tag (file-name (git-file-name name version)) (sha256 - (base32 "1raayynvn1j8x0ck8pnbbljl6zxnsyzzil7y54xz03dpj7k9w7mk")))) + (base32 "1raayynvn1j8x0ck8pnbbljl6zxnsyzzil7y54xz03dpj7k9w7mk")) + (patches (search-patches "freedict-tools-fix-determinism.patch")))) (inputs (list espeak-ng python perl -- cgit v1.2.3