GNU bug report logs - #58572
gnu: Add bespokesynth

Previous Next

Package: guix-patches;

Reported by: Sughosha <Sughosha <at> proton.me>

Date: Sun, 16 Oct 2022 19:25:02 UTC

Severity: normal

To reply to this bug, email your comments to 58572 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#58572; Package guix-patches. (Sun, 16 Oct 2022 19:25:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sughosha <Sughosha <at> proton.me>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 16 Oct 2022 19:25:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Sughosha <Sughosha <at> proton.me>
To: "guix-patches <at> gnu.org" <guix-patches <at> gnu.org>
Subject: gnu: Add bespokesynth
Date: Sun, 16 Oct 2022 19:23:56 +0000
[Message part 1 (text/plain, inline)]
Empty Message
[0001-gnu-Add-juce.patch (text/x-patch, attachment)]
[0002-gnu-Add-tuning-library.patch (text/x-patch, attachment)]
[0003-gnu-Add-readerwriterqueue.patch (text/x-patch, attachment)]
[0004-gnu-Add-bespokesynth.patch (text/x-patch, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#58572; Package guix-patches. (Sun, 16 Oct 2022 19:37:02 GMT) Full text and rfc822 format available.

Message #8 received at 58572 <at> debbugs.gnu.org (full text, mbox):

From: Sughosha <Sughosha <at> proton.me>
To: "58572 <at> debbugs.gnu.org" <58572 <at> debbugs.gnu.org>
Subject: Add missing patches
Date: Sun, 16 Oct 2022 19:36:03 +0000
[Message part 1 (text/plain, inline)]
I forgot to add the patchfiles to git before submiting above patches.
[gnu-Add-patches-required-for-bespokesynth-and-tuning.patch (text/x-patch, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#58572; Package guix-patches. (Mon, 17 Oct 2022 19:30:02 GMT) Full text and rfc822 format available.

Message #11 received at 58572 <at> debbugs.gnu.org (full text, mbox):

From: Sughosha <Sughosha <at> proton.me>
To: "58572 <at> debbugs.gnu.org" <58572 <at> debbugs.gnu.org>
Subject: Re: Add missing patches
Date: Mon, 17 Oct 2022 19:28:57 +0000
[Message part 1 (text/plain, inline)]
webkitgtk-with-libsoup2 is not needed for bespokesynth. It seems that cmake just looks for it in general for juce based plugins.
[v2-0001-gnu-bespokesynth-Remove-unneeded-dependency.patch (text/x-patch, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#58572; Package guix-patches. (Wed, 26 Oct 2022 20:02:02 GMT) Full text and rfc822 format available.

Message #14 received at 58572 <at> debbugs.gnu.org (full text, mbox):

From: Sughosha <Sughosha <at> proton.me>
To: "58572 <at> debbugs.gnu.org" <58572 <at> debbugs.gnu.org>
Subject: [PATCH v3] gnu: juce: Fix paths
Date: Wed, 26 Oct 2022 20:01:11 +0000
* gnu/packages/music.scm (juce)[arguments]: Fix paths.
[inputs]: Add dconf, fontconfig and glib:bin.
[propagated-inputs]: Add xdg-open.
---
 gnu/packages/music.scm | 21 ++++++++++++++++++++-
 1 file changed, 20 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 6d0fd1e9c0..2fee51ed1f 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -1890,14 +1890,33 @@ (define-public juce
     (build-system cmake-build-system)
     ;; TODO: Use installed packages instead of bundled dependencies.
     (arguments
-     (list #:tests? #f)) ;no test suite
+     (list #:tests? #f ;no test suite
+           #:phases #~(modify-phases %standard-phases
+                        (add-after 'unpack 'fix-paths
+                          (lambda _
+                            (substitute* "extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_CodeBlocks.h"
+                              (("/usr/include/freetype2")
+                               (string-append #$freetype "/include/freetype")))
+                            (substitute* "modules/juce_graphics/native/juce_linux_Fonts.cpp"
+                              (("/etc/fonts")
+                               (string-append #$fontconfig "/etc/fonts")))
+                            (substitute* "modules/juce_gui_basics/native/x11/juce_linux_XWindowSystem.cpp"
+                              (("/usr/bin/dconf")
+                               (string-append #$dconf "/bin/dconf"))
+                              (("/usr/bin/gsettings")
+                               (string-append (ungexp glib "bin")
+                                              "/bin/gsettings"))))))))
     (native-inputs (list pkg-config))
     (inputs (list alsa-lib
                   curl
+                  dconf
+                  fontconfig
                   freetype
+                  `(,glib "bin")
                   jack-1
                   libx11
                   python))
+    (propagated-inputs (list xdg-utils)) ;for xdg-open to open web browser
     (home-page "https://juce.com")
     (synopsis "Cross-platform C++ application framework")
     (description
-- 
2.38.0





This bug report was last modified 1 year and 153 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.