all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#60108] [PATCH] gnu: musescore: Fix build.
@ 2022-12-15 23:31 Liliana Marie Prikler
  2022-12-15 23:31 ` [bug#60108] [PATCH v2] " Vivien Kraus via Guix-patches via
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Liliana Marie Prikler @ 2022-12-15 23:31 UTC (permalink / raw)
  To: 60108; +Cc: Nicolas Goaziou

* gnu/packages/music.scm (musescore)[snippet]: Remove crashpad_handler and
associated install actions.
[arguments]<#:configure-flags>: Add “-DBUILD_DIAGNOSTICS=OFF”.
---
 gnu/packages/music.scm | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 614eb57791..0d7fb21701 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -4787,14 +4787,19 @@ (define-public musescore
         (base32 "16rcwr6fzghv8100syzicabqg8jqvng3zzsi6h3ja4zkp9hcbkcr"))
        (modules '((guix build utils)))
        (snippet
-        ;; Remove unused libraries.
         '(begin
+           ;; Remove unused libraries...
            (for-each delete-file-recursively
-                     '("thirdparty/freetype"))))))
+                     '("thirdparty/freetype"))
+           ;; ... and precompiled binaries.
+           (delete-file-recursively "src/diagnostics/crashpad_handler")
+           (substitute* "src/diagnostics/CMakeLists.txt"
+             (("install") "#install"))))))
     (build-system qt-build-system)
     (arguments
      `(#:configure-flags
        `("-DDOWNLOAD_SOUNDFONT=OFF"
+         "-DBUILD_DIAGNOSTICS=OFF"
          "-DMUSESCORE_BUILD_CONFIG=release"
          "-DUSE_SYSTEM_FREETYPE=ON")
        ;; There are tests, but no simple target to run.  The command used to
-- 
2.38.1





^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-12-19 17:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-15 23:31 [bug#60108] [PATCH] gnu: musescore: Fix build Liliana Marie Prikler
2022-12-15 23:31 ` [bug#60108] [PATCH v2] " Vivien Kraus via Guix-patches via
2022-12-19 17:19   ` Nicolas Goaziou
2022-12-16 17:39 ` [bug#60108] [PATCH] " Nicolas Goaziou
2022-12-18 16:27 ` Vivien Kraus via Guix-patches via
2022-12-18 20:12   ` Vivien Kraus via Guix-patches via
2022-12-19 15:40     ` Nicolas Goaziou
2022-12-19 16:52       ` Vivien Kraus via Guix-patches via

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.