GNU bug report logs - #63111
[PATCH] gnu: fwupd: Update to 1.8.14.

Previous Next

Package: guix-patches;

Reported by: Josselin Poiret <dev <at> jpoiret.xyz>

Date: Thu, 27 Apr 2023 12:34:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Josselin Poiret <dev <at> jpoiret.xyz>
To: guix-patches <at> gnu.org
Cc: Josselin Poiret <dev <at> jpoiret.xyz>
Subject: [PATCH] gnu: fwupd: Update to 1.8.14.
Date: Thu, 27 Apr 2023 14:33:22 +0200
From: Josselin Poiret <dev <at> 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





This bug report was last modified 2 years and 85 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.