[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/10: gnu: libreoffice: Build reproducibly.
From: |
guix-commits |
Subject: |
09/10: gnu: libreoffice: Build reproducibly. |
Date: |
Mon, 30 Nov 2020 15:47:12 -0500 (EST) |
nckx pushed a commit to branch master
in repository guix.
commit 0d5578c12beec105f5ec113cc50deab703270a82
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Mon Nov 30 21:15:44 2020 +0100
gnu: libreoffice: Build reproducibly.
* gnu/packages/libreoffice.scm (libreoffice)[native-inputs]: Add ziptime.
[arguments]: Add a 'reset-zip-timestamps phase that invokes it.
---
gnu/packages/libreoffice.scm | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/libreoffice.scm b/gnu/packages/libreoffice.scm
index d2bf5b0..714072e 100644
--- a/gnu/packages/libreoffice.scm
+++ b/gnu/packages/libreoffice.scm
@@ -1102,7 +1102,8 @@ converting QuarkXPress file format. It supports versions
3.1 to 4.1.")
("flex" ,flex)
("pkg-config" ,pkg-config)
("python" ,python-wrapper)
- ("which" ,which)))
+ ("which" ,which)
+ ("ziptime" ,ziptime)))
(inputs
`(("bluez" ,bluez)
("boost" ,boost)
@@ -1216,6 +1217,13 @@ converting QuarkXPress file format. It supports
versions 3.1 to 4.1.")
"/bin/xdg-open")))
#t))
+ (add-after 'install 'reset-zip-timestamps
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (for-each (lambda (file)
+ (invoke "ziptime" file))
+ ;; So many different extensions for .zip files.
+ (find-files out "\\.(bau|dat|otp|ott|zip)$")))))
(add-after 'install 'bin-and-desktop-install
;; Create 'soffice' and 'libreoffice' symlinks to the executable
;; script.
- branch master updated (d6c4a43 -> 265e185), guix-commits, 2020/11/30
- 01/10: gnu: suil: Update to 0.10.8., guix-commits, 2020/11/30
- 02/10: gnu: sratom: Update to 0.6.6., guix-commits, 2020/11/30
- 03/10: gnu: drbd-utils: Update to 9.15.1., guix-commits, 2020/11/30
- 04/10: gnu: mtools: Update to 4.0.26., guix-commits, 2020/11/30
- 05/10: gnu: photoflare: Update to 1.6.6., guix-commits, 2020/11/30
- 06/10: gnu: Add ziptime., guix-commits, 2020/11/30
- 09/10: gnu: libreoffice: Build reproducibly.,
guix-commits <=
- 07/10: gnu: sudo: Update to 1.9.4., guix-commits, 2020/11/30
- 08/10: gnu: libfprint: Update to 1.90.4., guix-commits, 2020/11/30
- 10/10: gnu: dfu-util: Update to 0.10., guix-commits, 2020/11/30