gnu: netsurf: Remove timestamp from build.

* gnu/packages/web.scm (netsurf)[arguments]: Add 'remove-timestamps phase.
This commit is contained in:
Vagrant Cascadian 2022-06-02 13:11:33 -07:00 committed by Vagrant Cascadian
parent aaed8bab46
commit 76668c4b13
No known key found for this signature in database
GPG Key ID: DC518FC87F9716AA

View File

@ -5526,6 +5526,12 @@ w3c webidl files and a binding configuration file.")
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(delete 'configure) (delete 'configure)
(add-after 'unpack 'remove-timestamps
;; Avoid embedding timestamp for reproducible builds
(lambda _
(substitute* "utils/git-testament.pl"
(("WT_COMPILEDATE ..$compiledate")
"WT_COMPILEDATE \\\""))))
(add-after 'build 'adjust-welcome (add-after 'build 'adjust-welcome
(lambda _ (lambda _
(substitute* "frontends/gtk/res/welcome.html" (substitute* "frontends/gtk/res/welcome.html"