aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosselin Poiret <dev@jpoiret.xyz>2023-04-27 14:33:22 +0200
committerLudovic Courtès <ludo@gnu.org>2023-04-28 21:04:03 +0200
commit8a8bd15bfa640e2a377f44ab1c59c5be0c525f86 (patch)
treecb29bb46289703ffd01bdb22f059deb4869d5052
parent87ba11eff1b7a1784c94c897d468ba28822b0609 (diff)
downloadguix-8a8bd15bfa640e2a377f44ab1c59c5be0c525f86.tar
guix-8a8bd15bfa640e2a377f44ab1c59c5be0c525f86.tar.gz
gnu: fwupd: Update to 1.8.14.
* gnu/packages/firmware.scm (fwupd): Update to 1.8.14. Also, change two files' timestamp because they are zipped up by Python. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/packages/firmware.scm13
1 files changed, 11 insertions, 2 deletions
diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm
index 0b7fff035a..b6b053b6b4 100644
--- a/gnu/packages/firmware.scm
+++ b/gnu/packages/firmware.scm
@@ -199,7 +199,7 @@ driver.")
(define-public fwupd
(package
(name "fwupd")
- (version "1.8.3")
+ (version "1.8.14")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -208,7 +208,7 @@ driver.")
(file-name (git-file-name name version))
(sha256
(base32
- "02jf052qj1nl47ppqrgz3s9qapq4pajgkf6lbj5rxr5sshlrw44n"))))
+ "179yc0nbbyrdya5q16ncf7lkslrhr3i90rgb9vdmv751ikilkby6"))))
(build-system meson-build-system)
(arguments
(list
@@ -236,6 +236,15 @@ driver.")
(substitute* "src/fu-self-test.c"
(("/bin/sh")
(which "sh")))))
+ ;; These two files are zipped by Python, so need a newer timestamp.
+ (add-after 'unpack 'newer-timestamps-for-python-zip
+ (lambda _
+ (let ((circa-1980 (* 10 366 24 60 60)))
+ (for-each (lambda (file)
+ (make-file-writable file)
+ (utime file circa-1980 circa-1980))
+ '("./libfwupdplugin/tests/colorhug/firmware.bin"
+ "./libfwupdplugin/tests/colorhug/firmware.bin.asc")))))
(add-before 'build 'setup-home
(lambda _
(setenv "HOME" "/tmp")))