all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#60435] [PATCH] gnu: Add giada.
@ 2022-12-30 21:26 Sughosha via Guix-patches via
  2023-03-21 15:03 ` Maxim Cournoyer
  0 siblings, 1 reply; 2+ messages in thread
From: Sughosha via Guix-patches via @ 2022-12-30 21:26 UTC (permalink / raw)
  To: 60435

* gnu/packages/music.scm (giada): New public variable.
---
 gnu/packages/music.scm | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 5be767a138..e15cf5efb7 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -156,6 +156,7 @@ (define-module (gnu packages music)
   #:use-module (gnu packages perl-web)
   #:use-module (gnu packages php)
   #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages pretty-print) ;for fmt
   #:use-module (gnu packages protobuf)
   #:use-module (gnu packages pulseaudio) ;libsndfile
   #:use-module (gnu packages python)
@@ -4059,6 +4060,45 @@ (define-public sooperlooper
 available memory.")
     (license license:gpl2+)))
 
+(define-public giada
+  (package
+    (name "giada")
+    (version "0.23.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/monocasual/giada")
+                     (commit (string-append "v" version))
+                     ;; TODO: Use installed libraries.
+                     (recursive? #t)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "01r7iz8s33cdiia3gxb6s1nb4h4fzc3sr8gv1is0axjqwzbmqg3c"))))
+    (build-system cmake-build-system)
+    (arguments (list #:tests? #f)) ;no test target
+    (native-inputs (list imagemagick json-modern-cxx pkg-config))
+    (inputs (list alsa-lib
+                  fmt
+                  hicolor-icon-theme
+                  jack-1
+                  libsamplerate
+                  libsndfile
+                  libx11
+                  libxcursor
+                  libxft
+                  libxinerama
+                  libxpm
+                  libxrandr
+                  pulseaudio
+                  rtmidi))
+    (home-page "https://giadamusic.com")
+    (synopsis "Music production tool")
+    (description
+     "Giada is a music production tool featuring a sample player, loop machine,
+song editor, live recorder, FX processor and MIDI controller.")
+    (license license:gpl3+)))
+
 (define-public moc
   (package
     (name "moc")
-- 
2.38.1





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

* [bug#60435] [PATCH] gnu: Add giada.
  2022-12-30 21:26 [bug#60435] [PATCH] gnu: Add giada Sughosha via Guix-patches via
@ 2023-03-21 15:03 ` Maxim Cournoyer
  0 siblings, 0 replies; 2+ messages in thread
From: Maxim Cournoyer @ 2023-03-21 15:03 UTC (permalink / raw)
  To: Sughosha; +Cc: 60435

Hi Sugosha,

Sughosha <Sughosha@proton.me> writes:

> * gnu/packages/music.scm (giada): New public variable.
> ---
>  gnu/packages/music.scm | 40 ++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 40 insertions(+)
>
> diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
> index 5be767a138..e15cf5efb7 100644
> --- a/gnu/packages/music.scm
> +++ b/gnu/packages/music.scm
> @@ -156,6 +156,7 @@ (define-module (gnu packages music)
>    #:use-module (gnu packages perl-web)
>    #:use-module (gnu packages php)
>    #:use-module (gnu packages pkg-config)
> +  #:use-module (gnu packages pretty-print) ;for fmt
>    #:use-module (gnu packages protobuf)
>    #:use-module (gnu packages pulseaudio) ;libsndfile
>    #:use-module (gnu packages python)
> @@ -4059,6 +4060,45 @@ (define-public sooperlooper
>  available memory.")
>      (license license:gpl2+)))
>  
> +(define-public giada
> +  (package
> +    (name "giada")
> +    (version "0.23.0")
> +    (source (origin
> +              (method git-fetch)
> +              (uri (git-reference
> +                     (url "https://github.com/monocasual/giada")
> +                     (commit (string-append "v" version))
> +                     ;; TODO: Use installed libraries.
> +                     (recursive? #t)))
> +              (file-name (git-file-name name version))
> +              (sha256
> +               (base32
> +                "01r7iz8s33cdiia3gxb6s1nb4h4fzc3sr8gv1is0axjqwzbmqg3c"))))
> +    (build-system cmake-build-system)
> +    (arguments (list #:tests? #f)) ;no test target
> +    (native-inputs (list imagemagick json-modern-cxx pkg-config))
> +    (inputs (list alsa-lib
> +                  fmt
> +                  hicolor-icon-theme
> +                  jack-1
> +                  libsamplerate
> +                  libsndfile
> +                  libx11
> +                  libxcursor
> +                  libxft
> +                  libxinerama
> +                  libxpm
> +                  libxrandr
> +                  pulseaudio
> +                  rtmidi))
> +    (home-page "https://giadamusic.com")
> +    (synopsis "Music production tool")
> +    (description
> +     "Giada is a music production tool featuring a sample player, loop machine,
> +song editor, live recorder, FX processor and MIDI controller.")
> +    (license license:gpl3+)))

Thanks for this work!  It seems Debian has done the hard un-bundling
work for 0.22.0 [0]; it'd be a shame not to reuse it.  Could you give it
a try?  It may involve adding a couple dependencies to Guix, such as
juce, which doesn't seem to be packaged.

[0]  https://sources.debian.org/src/giada/0.22.0-2/debian/patches/

-- 
Thanks,
Maxim




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

end of thread, other threads:[~2023-03-21 15:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-30 21:26 [bug#60435] [PATCH] gnu: Add giada Sughosha via Guix-patches via
2023-03-21 15:03 ` Maxim Cournoyer

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.