From 1564d1fd96dd956ca4315516329392073d1ee375 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Mon, 9 Nov 2020 19:52:10 +0100 Subject: 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(+) (limited to 'gnu/packages/gnome.scm') diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 17cdc93a00..8c3b739083 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 _ -- cgit v1.2.3