From 793e0b3abd7460a52c5a8e810f7b45322d3f84ca Mon Sep 17 00:00:00 2001 From: Sughosha Date: Thu, 20 Oct 2022 22:34:24 +0200 Subject: [PATCH 2/2] gnu: yoshimi: Fix preset paths and viewing manual * gnu/packages/music.scm (yoshimi) [arguments]: Fix preset paths. [propagated-inputs]: Add xdg-utils. --- gnu/packages/music.scm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index c1355bfbf4..f69277875a 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -3060,6 +3060,13 @@ (define-public yoshimi ;; Move SSE compiler optimization flags from generic target to ;; athlon64 and core2 targets, because otherwise the build would fail ;; on non-Intel machines. + (add-after 'unpack 'fix-paths + (lambda* (#:key outputs #:allow-other-keys) + (substitute* (list "src/Interface/InterChange.cpp" + "src/Misc/Bank.cpp" + "src/Misc/Config.cpp") + (("/usr/share") (string-append (assoc-ref outputs "out") + "/share"))))) (add-after 'unpack 'remove-sse-flags-from-generic-target (lambda _ (substitute* "src/CMakeLists.txt" @@ -3083,6 +3090,8 @@ (define-public yoshimi ("zlib" ,zlib))) (native-inputs (list pkg-config)) + (propagated-inputs + (list xdg-utils)) ; to view manual (home-page "http://yoshimi.sourceforge.net/") (synopsis "Multi-paradigm software synthesizer") (description -- 2.38.0