guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/05: gnu: lirc: Build reproducibly.


From: guix-commits
Subject: 04/05: gnu: lirc: Build reproducibly.
Date: Fri, 20 Jan 2023 10:42:12 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit ea37595a7c71a430b0d1a2c860b9b0e37ec126bd
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Jan 15 01:00:29 2023 +0100

    gnu: lirc: Build reproducibly.
    
    * gnu/packages/lirc.scm (lirc)[arguments]: Add a new 'omit-pip-sourceball 
phase.
---
 gnu/packages/lirc.scm | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/lirc.scm b/gnu/packages/lirc.scm
index 5c89e83d7c..58d63cbdab 100644
--- a/gnu/packages/lirc.scm
+++ b/gnu/packages/lirc.scm
@@ -83,7 +83,15 @@
              (substitute* "doc/Makefile.in"
                (("^vardocs_DATA =.*") "vardocs_DATA =\n")
                (("^varimage_DATA =.*") "varimage_DATA =\n"))
-             #t)))))
+             #t))
+         (add-after 'unpack 'omit-pip-sourceball
+           ;; ‘make install’ invokes ’setup.py sdist’, which has no known (to
+           ;; nckx) way to enforce mtimes.  The utility of this is 
questionable,
+           ;; IMO: let's disable it entirely & listen for complaints, if any.
+           (lambda _
+             (substitute* "Makefile.in"
+               (("(PYTHON_TARBALL.*=).*" _ tarball=)
+                (string-append tarball= "\n"))))))))
     (native-inputs
      (list pkg-config libxslt))
     (inputs



reply via email to

[Prev in Thread] Current Thread [Next in Thread]