* [bug#63111] [PATCH] gnu: fwupd: Update to 1.8.14.
@ 2023-04-27 12:33 Josselin Poiret via Guix-patches via
2023-04-28 19:10 ` bug#63111: " Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Josselin Poiret via Guix-patches via @ 2023-04-27 12:33 UTC (permalink / raw)
To: 63111; +Cc: Josselin Poiret
From: Josselin Poiret <dev@jpoiret.xyz>
* gnu/packages/firmware.scm (fwupd): Update to 1.8.14. Also, change two
files' timestamp because they are zipped up by Python.
---
gnu/packages/firmware.scm | 13 +++++++++++--
1 file 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 @@ (define-public b43-tools
(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 @@ (define-public fwupd
(file-name (git-file-name name version))
(sha256
(base32
- "02jf052qj1nl47ppqrgz3s9qapq4pajgkf6lbj5rxr5sshlrw44n"))))
+ "179yc0nbbyrdya5q16ncf7lkslrhr3i90rgb9vdmv751ikilkby6"))))
(build-system meson-build-system)
(arguments
(list
@@ -236,6 +236,15 @@ (define-public fwupd
(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")))
base-commit: fa685c87eaa9888a4278f39bb2b815673589dced
--
2.39.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#63111: [PATCH] gnu: fwupd: Update to 1.8.14.
2023-04-27 12:33 [bug#63111] [PATCH] gnu: fwupd: Update to 1.8.14 Josselin Poiret via Guix-patches via
@ 2023-04-28 19:10 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2023-04-28 19:10 UTC (permalink / raw)
To: Josselin Poiret; +Cc: 63111-done
Josselin Poiret <dev@jpoiret.xyz> skribis:
> From: Josselin Poiret <dev@jpoiret.xyz>
>
> * gnu/packages/firmware.scm (fwupd): Update to 1.8.14. Also, change two
> files' timestamp because they are zipped up by Python.
Applied, thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-04-28 19:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-27 12:33 [bug#63111] [PATCH] gnu: fwupd: Update to 1.8.14 Josselin Poiret via Guix-patches via
2023-04-28 19:10 ` bug#63111: " Ludovic Courtès
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).