me
/
guix
Archived
1
0
Fork 0

gnu: directfb: Remove timestamp to build reproducibly.

* gnu/packages/graphics.scm (directfb)[arguments]: Add 'remove-buildtime
  phase.
Vagrant Cascadian 2022-08-17 17:03:30 -07:00 committed by Vagrant Cascadian
parent ec6122250d
commit 397b103bef
No known key found for this signature in database
GPG Key ID: DC518FC87F9716AA
1 changed files with 5 additions and 0 deletions

View File

@ -177,6 +177,11 @@ framebuffer graphics, audio output and input event.")
(arguments (arguments
`(#:phases `(#:phases
(modify-phases %standard-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 (add-after 'unpack 'disable-configure-during-bootstrap
(lambda _ (lambda _
(substitute* "autogen.sh" (substitute* "autogen.sh"