gnu: gpodder: Build reproducibly.

* gnu/packages/gpodder.scm (gpodder)[arguments]: Add 'do-not-run-msgmerge'
phase before 'install'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Pierre Langlois 2019-03-26 21:41:59 +00:00 committed by Ludovic Courtès
parent bab7a49558
commit 7a352f76cf
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -69,6 +69,13 @@ (define-public gpodder
(substitute* "src/gpodder/util.py"
(("xdg-open") (string-append xdg-utils "/bin/xdg-open")))
#t)))
;; 'msgmerge' introduces non-determinism by resetting the
;; POT-Creation-Date in .po files.
(add-before 'install 'do-not-run-msgmerge
(lambda _
(substitute* "makefile"
(("msgmerge") "true"))
#t))
(add-before 'install 'make-po-files-writable
(lambda _
(for-each