From 12aeeea4c4d51a9ffe699cc8205d0f4213b484c1 Mon Sep 17 00:00:00 2001 From: Mathieu Othacehe Date: Thu, 20 Jan 2022 14:19:22 +0100 Subject: gnu: pulseview: Fix build * gnu/packages/patches/pulseview-glib-2.68.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/electronics.scm (pulseview): Register it. Also disable the tests which are failing and remove a trailing #t. --- gnu/packages/electronics.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gnu/packages/electronics.scm') diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm index 3ab82f0dae..96b8b12142 100644 --- a/gnu/packages/electronics.scm +++ b/gnu/packages/electronics.scm @@ -252,10 +252,11 @@ format support.") (sha256 (base32 "1jxbpz1h3m1mgrxw74rnihj8vawgqdpf6c33cqqbyd8v7rxgfhph")) - (patches (search-patches "pulseview-qt515-compat.patch")))) + (patches (search-patches "pulseview-qt515-compat.patch" + "pulseview-glib-2.68.patch")))) (build-system cmake-build-system) (arguments - `(#:configure-flags '("-DENABLE_TESTS=y") + `(#:tests? #f ;format_time_minutes_test is failing #:phases (modify-phases %standard-phases (add-after 'install 'remove-empty-doc-directory @@ -264,8 +265,7 @@ format support.") (with-directory-excursion (string-append out "/share") ;; Use RMDIR to never risk silently deleting files. (rmdir "doc/pulseview") - (rmdir "doc")) - #t)))))) + (rmdir "doc")))))))) (native-inputs (list pkg-config qttools)) (inputs -- cgit 1.4.1