[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/03: gnu: totem: Fix test failure with GStreamer 1.18.
From: |
guix-commits |
Subject: |
01/03: gnu: totem: Fix test failure with GStreamer 1.18. |
Date: |
Mon, 9 Nov 2020 16:10:06 -0500 (EST) |
mbakke pushed a commit to branch staging
in repository guix.
commit 1564d1fd96dd956ca4315516329392073d1ee375
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Mon Nov 9 19:52:10 2020 +0100
gnu: totem: Fix test failure with GStreamer 1.18.
* gnu/packages/gnome.scm (totem)[arguments]: Add phase "patch-failing-test".
---
gnu/packages/gnome.scm | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 17cdc93..8c3b739 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -6077,6 +6077,14 @@ discovery protocols.")
(substitute* "meson_post_install.py"
(("gtk-update-icon-cache") "true"))
#t))
+ (add-after 'unpack 'patch-failing-test
+ (lambda _
+ ;; Work around test failure with GStreamer 1.18, because the test
+ ;; relies on "und" not being mapped to a particular language:
+ ;; https://gitlab.gnome.org/GNOME/totem/-/issues/450
+ (substitute* "src/test-totem.c"
+ (("und") "nosuchlang"))
+ #t))
(add-before
'install 'disable-cache-generation
(lambda _