summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorVagrant Cascadian <vagrant@reproducible-builds.org>2022-08-17 17:03:30 -0700
committerVagrant Cascadian <vagrant@debian.org>2022-08-19 15:53:12 -0700
commit397b103bef313c84eb662051fbcd28e223806bd3 (patch)
tree4c12af13c6d1d497c2be365dea8fdda45735926d /gnu/packages
parentec6122250de7c83a7e77054584a34767b11337db (diff)
downloadguix-397b103bef313c84eb662051fbcd28e223806bd3.tar.gz
gnu: directfb: Remove timestamp to build reproducibly.
* gnu/packages/graphics.scm (directfb)[arguments]: Add 'remove-buildtime
  phase.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/graphics.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index 1d6dd28c5c..1afaf687be 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -177,6 +177,11 @@ framebuffer graphics, audio output and input event.")
     (arguments
      `(#:phases
        (modify-phases %standard-phases
+         (add-after 'unpack 'remove-buildtime
+           ;; Remove embedded build time for reproducible builds
+           (lambda _
+             (substitute* "src/core/core.c"
+               (("..BUILDTIME..") ""))))
          (add-after 'unpack 'disable-configure-during-bootstrap
            (lambda _
              (substitute* "autogen.sh"