aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Langlois <pierre.langlois@gmx.com>2019-03-26 21:41:59 +0000
committerLudovic Courtès <ludo@gnu.org>2019-03-31 23:32:47 +0200
commit7a352f76cfed0236eadf507debe1059f256653a4 (patch)
tree65b6e6eaec69ac245550479b00028cad5f09e2cd
parentbab7a49558e28388d064063ae674117ca4a964df (diff)
downloadpatches-7a352f76cfed0236eadf507debe1059f256653a4.tar
patches-7a352f76cfed0236eadf507debe1059f256653a4.tar.gz
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>
-rw-r--r--gnu/packages/gpodder.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/gpodder.scm b/gnu/packages/gpodder.scm
index ea1a3108ca..badb7f867f 100644
--- a/gnu/packages/gpodder.scm
+++ b/gnu/packages/gpodder.scm
@@ -69,6 +69,13 @@
(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