GNU bug report logs - #72655
[PATCH] Add bespokesynth package

Previous Next

Package: guix-patches;

Reported by: Apoorv <apoorvs <at> tuta.io>

Date: Fri, 16 Aug 2024 10:37:01 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 72655 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#72655; Package guix-patches. (Fri, 16 Aug 2024 10:37:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Apoorv <apoorvs <at> tuta.io>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 16 Aug 2024 10:37:01 GMT) Full text and rfc822 format available.

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

From: Apoorv <apoorvs <at> tuta.io>
To: Guix Patches <guix-patches <at> gnu.org>
Subject: [PATCH] Add bespokesynth package
Date: Fri, 16 Aug 2024 12:35:57 +0200 (CEST)
[Message part 1 (text/plain, inline)]
This is a patch to add a new package, `bespokesynth` to `gnu/packages/music.scm`.

-- 
 Sent with Tuta; enjoy secure & ad-free emails: 
 https://tuta.com
[Message part 2 (text/html, inline)]
[0002-Add-bespokesynth-package.patch (text/x-patch, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#72655; Package guix-patches. (Tue, 04 Feb 2025 09:13:02 GMT) Full text and rfc822 format available.

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

From: 宋文武 <iyzsong <at> envs.net>
To: Apoorv <apoorvs <at> tuta.io>
Cc: 72655 <at> debbugs.gnu.org
Subject: Re: [bug#72655] [PATCH] Add bespokesynth package
Date: Tue, 04 Feb 2025 17:16:19 +0800
Hello,

Apoorv <apoorvs <at> tuta.io> writes:
> Subject: [PATCH 02/13] Add bespokesynth package
>
> ---
>  gnu/packages/music.scm | 53 ++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 53 insertions(+)
>
> diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
> index 0b418fa7a7..7a4b272013 100644
> --- a/gnu/packages/music.scm
> +++ b/gnu/packages/music.scm
> @@ -8028,6 +8028,59 @@ (define-public airwindows-lv2
>        "This is an LV2 port of the Airwindows plugins originally created by Chris Johnson.")
>       (license license:expat))))
>  
> +(define-public bespokesynth
> +  (let ((commit "faf42ee537195c114837ed2571e2c9ec5830aab0")
> +        (revision "1"))
> +    (package
> +     (name "bespokesynth")
> +     (version (git-version "1.2.1" revision commit))
> +     (source
> +      (origin
> +       (method git-fetch)
> +       (uri (git-reference
> +             (url "https://github.com/BespokeSynth/BespokeSynth")
> +             (recursive? #t)
> +             (commit commit)))

There are bundled dependencies (JUCE, jsoncpp, nanovg, etc.) in its
'libs' directory, could you give a try to unbundle them?


> +       (file-name (git-file-name name version))
> +       (sha256
> +        (base32 "0np0762vzqbxx0srgyi2kimzd3h3lycmr83wi67df9x83dyck152"))))
> +     (inputs (list xcb-util-cursor
> +                   xcb-util-keysyms
> +                   xcb-util
> +                   libxkbcommon
> +                   libxcb
> +                   gtk+
> +                   webkitgtk

um, webkitgtk is for GTK4, while gtk+ is GTK3, does it really use
different versions of GTK at the same time?

> +                   curl
> +                   alsa-lib
> +                   alsa-utils
> +                   jack-2
> +                   freetype
> +                   libxinerama
> +                   libxrandr
> +                   mesa
> +                   libxcursor
> +                   libusb))
> +     (native-inputs (list ninja patchelf pkg-config python))

How's patchelf used?

> +     (build-system cmake-build-system)
> +     (arguments
> +      (list
> +       #:tests? #f ;No test target available
> +       #:build-type "Release"
> +       #:phases
> +       #~(modify-phases
> +          %standard-phases
> +          (add-after 'unpack 'pre-configure
> +                     (lambda _
> +                       ;; Override default location of fonts.conf.
> +                       (substitute* "libs/JUCE/modules/juce_graphics/native/juce_Fonts_linux.cpp"
> +                                    (("/usr/share/fonts/fonts.conf")
> +                                     "/run/current-system/profile/etc/fonts/fonts.conf")))))))
> +     (home-page "http://bespokesynth.com/")
> +     (synopsis "Software modular synth")
> +     (description "Software modular synth")

Description should be a little longer, and be full sentences.

> +     (license license:gpl3))))
> +
>  ;;;
>  ;;; Avoid adding new packages to the end of this file. To reduce the chances
>  ;;; of a merge conflict, place them above by existing packages with similar

Actually I can't apply this patch cleanly, could you add it in the
middle of the file and sent the patch use 'git send-email'?


Thanks.




Information forwarded to guix-patches <at> gnu.org:
bug#72655; Package guix-patches. (Sat, 15 Mar 2025 18:25:02 GMT) Full text and rfc822 format available.

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

From: Apoorv <apoorvs <at> tuta.io>
To: 72655 <72655 <at> debbugs.gnu.org>
Subject: RE: Add bespokesynth package
Date: Sat, 15 Mar 2025 19:24:05 +0100 (CET)
[Message part 1 (text/plain, inline)]
Here is the updated patch.
-- 
 Secured with Tuta Mail: 
 https://tuta.com/free-email
[Message part 2 (text/html, inline)]
[0001-Add-bespokesynth-package-definition.patch (text/x-patch, attachment)]

This bug report was last modified 94 days ago.

Previous Next


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