[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: gnu: libmateweather: Fix tests.
From: |
guix-commits |
Subject: |
01/02: gnu: libmateweather: Fix tests. |
Date: |
Tue, 16 Jun 2020 10:34:27 -0400 (EDT) |
mothacehe pushed a commit to branch master
in repository guix.
commit e23ec7144c264902ac13fa75e01a206e4d907e5a
Author: Mathieu Othacehe <m.othacehe@gmail.com>
AuthorDate: Tue Jun 16 16:25:37 2020 +0200
gnu: libmateweather: Fix tests.
Apply the following upstream fix:
https://github.com/mate-desktop/libmateweather/commit/ea13e06563fb5fa53f8a9643156a64825e986acb.
* gnu/packages/mate.scm (libmateweather)[source]: Fix tests by renaming
America/Godthab timezone to America/Nuuk.
---
gnu/packages/mate.scm | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm
index 8b548b5..864fa8d 100644
--- a/gnu/packages/mate.scm
+++ b/gnu/packages/mate.scm
@@ -6,6 +6,7 @@
;;; Copyright © 2019, 2020 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2019 Guy Fleury Iteriteka <hoonandon@gmail.com>
;;; Copyright © 2020 Jonathan Brielmaier <jonathan.brielmaier@web.de>
+;;; Copyright © 2020 Mathieu Othacehe <m.othacehe@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -264,7 +265,16 @@ desktop and the mate-about program.")
name "-" version ".tar.xz"))
(sha256
(base32
- "094mnlczxq9crjj8z7dzs1zmwscdkbp54l3qjaf4a4bhd8lihv8d"))))
+ "094mnlczxq9crjj8z7dzs1zmwscdkbp54l3qjaf4a4bhd8lihv8d"))
+ (modules '((guix build utils)))
+ ;; This is fixed by commit ea13e065 upstream. Remove this once 1.25.0
+ ;; is out.
+ (snippet
+ '(begin
+ (substitute* "data/Locations.xml.in"
+ (("Godthab")
+ "Nuuk"))
+ #t))))
(build-system gnu-build-system)
(arguments
'(#:configure-flags