unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#49028] [PATCH] gnu: Add mda-lv2
@ 2021-06-14 19:32 Thorsten Wilms
  2021-06-18 14:36 ` Xinglu Chen
  2021-06-20 14:26 ` Thorsten Wilms
  0 siblings, 2 replies; 7+ messages in thread
From: Thorsten Wilms @ 2021-06-14 19:32 UTC (permalink / raw)
  To: 49028; +Cc: Thorsten Wilms

* gnu/packages/audio.scm (mda-lv2): New variable.
---
 gnu/packages/audio.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 3885a22e10..e352f797da 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -5275,3 +5275,38 @@ Icecast server.")
 generator, generating audio signals out of Linux's /dev/dsp audio
 device.  There is support for mono and/or stereo and 8 or 16 bit samples.")
     (license license:gpl2)))
+
+(define-public mda-lv2
+  (package
+   (name "mda-lv2")
+   (version "1.2.6")
+   (source
+    (origin
+     (method url-fetch)
+     (uri
+      ;; Tarball from gitlab lacks waflib directory content, so take it from
+      ;; drobilla.net.
+      (string-append "http://download.drobilla.net/mda-lv2-"
+		     version ".tar.bz2"))
+     (sha256
+      (base32 "1nspk2j11l65m5r9z5isw8j749vh9a89wgx8mkrrq15f4iq12rnd"))))
+   (build-system waf-build-system)
+   (arguments
+    `(#:tests? #f  ; There are no tests.
+      #:configure-flags
+      (list (string-append "--prefix="
+			   (assoc-ref %outputs "out")))))
+   (inputs
+    `(("lv2" ,lv2)))
+   (native-inputs
+    `(("pkg-config" ,pkg-config)))
+   (native-search-paths
+    (list (search-path-specification
+           (variable "LV2_PATH")
+           (files '("lib/lv2")))))
+   (home-page "https://drobilla.net/software/mda-lv2")
+   (synopsis "Audio plug-in pack for LV2")
+   (description
+    "A port of the MDA VST plugins to LV2. Includes effects and a few
+instruments.")
+   (license (list license:gpl3+ license:gpl3+))))
-- 
2.32.0





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

* [bug#49028] [PATCH] gnu: Add mda-lv2
  2021-06-14 19:32 [bug#49028] [PATCH] gnu: Add mda-lv2 Thorsten Wilms
@ 2021-06-18 14:36 ` Xinglu Chen
  2021-06-20 14:26 ` Thorsten Wilms
  1 sibling, 0 replies; 7+ messages in thread
From: Xinglu Chen @ 2021-06-18 14:36 UTC (permalink / raw)
  To: Thorsten Wilms, 49028; +Cc: Thorsten Wilms

[-- Attachment #1: Type: text/plain, Size: 1830 bytes --]

On Mon, Jun 14 2021, Thorsten Wilms wrote:

> +(define-public mda-lv2
> +  (package
> +   (name "mda-lv2")
> +   (version "1.2.6")
> +   (source
> +    (origin
> +     (method url-fetch)
> +     (uri
> +      ;; Tarball from gitlab lacks waflib directory content, so take it from
> +      ;; drobilla.net.
> +      (string-append "http://download.drobilla.net/mda-lv2-"
> +		     version ".tar.bz2"))

The waflib directory is a submodule in the Git repo, something like this
should work (untested):

  (git-reference
    (url "https://gitlab.com/drobilla/mda-lv2")
    (commit (string-append "v" version))
    (recursive? #t))
  
> +     (sha256
> +      (base32 "1nspk2j11l65m5r9z5isw8j749vh9a89wgx8mkrrq15f4iq12rnd"))))
> +   (build-system waf-build-system)
> +   (arguments
> +    `(#:tests? #f  ; There are no tests.
> +      #:configure-flags
> +      (list (string-append "--prefix="
> +			   (assoc-ref %outputs "out")))))
> +   (inputs
> +    `(("lv2" ,lv2)))
> +   (native-inputs
> +    `(("pkg-config" ,pkg-config)))
> +   (native-search-paths
> +    (list (search-path-specification
> +           (variable "LV2_PATH")
> +           (files '("lib/lv2")))))
> +   (home-page "https://drobilla.net/software/mda-lv2")
> +   (synopsis "Audio plug-in pack for LV2")
> +   (description
> +    "A port of the MDA VST plugins to LV2. Includes effects and a few
> +instruments.")

The description should consist of one or more full sentences, and use
double spaces between sentences.  Maybe something like this:

  MDA-LV2 is an LV2 port of the MDA plugins.  It includes effects and
  a few instrument plugins.
  
> +   (license (list license:gpl3+ license:gpl3+))))

The two licenses are the same, simply ‘license:gpl3+’ would do.

Could you send an updated patch?


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]

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

* [bug#49028] [PATCH] gnu: Add mda-lv2
  2021-06-14 19:32 [bug#49028] [PATCH] gnu: Add mda-lv2 Thorsten Wilms
  2021-06-18 14:36 ` Xinglu Chen
@ 2021-06-20 14:26 ` Thorsten Wilms
  2021-06-22  7:44   ` Xinglu Chen
  1 sibling, 1 reply; 7+ messages in thread
From: Thorsten Wilms @ 2021-06-20 14:26 UTC (permalink / raw)
  To: 49028; +Cc: Xinglu Chen

I fixed the description and license. I think there’s no need to change
away from the tarball, as it’s actually an official release on the code
author’s domain.

Thanks, Xinglu Chen!


* gnu/packages/audio.scm (mda-lv2): New variable.
---
 gnu/packages/audio.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 3885a22e10..e352f797da 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -5275,3 +5275,38 @@ Icecast server.")
 generator, generating audio signals out of Linux's /dev/dsp audio
 device.  There is support for mono and/or stereo and 8 or 16 bit
samples.") (license license:gpl2)))
+
+(define-public mda-lv2
+  (package
+   (name "mda-lv2")
+   (version "1.2.6")
+   (source
+    (origin
+     (method url-fetch)
+     (uri
+      ;; Tarball from gitlab lacks waflib directory content, so take
it from
+      ;; drobilla.net.
+      (string-append "http://download.drobilla.net/mda-lv2-"
+		     version ".tar.bz2"))
+     (sha256
+      (base32
"1nspk2j11l65m5r9z5isw8j749vh9a89wgx8mkrrq15f4iq12rnd"))))
+   (build-system waf-build-system)
+   (arguments
+    `(#:tests? #f  ; There are no tests.
+      #:configure-flags
+      (list (string-append "--prefix="
+			   (assoc-ref %outputs "out")))))
+   (inputs
+    `(("lv2" ,lv2)))
+   (native-inputs
+    `(("pkg-config" ,pkg-config)))
+   (native-search-paths
+    (list (search-path-specification
+           (variable "LV2_PATH")
+           (files '("lib/lv2")))))
+   (home-page "https://drobilla.net/software/mda-lv2")
+   (synopsis "Audio plug-in pack for LV2")
+   (description
+ MDA-LV2 is an LV2 port of the MDA plugins.  It includes effects and
+a few instrument plugins.
+   (license license:gpl3+)))
-- 
2.32.0




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

* [bug#49028] [PATCH] gnu: Add mda-lv2
  2021-06-20 14:26 ` Thorsten Wilms
@ 2021-06-22  7:44   ` Xinglu Chen
  2021-06-22 11:00     ` [bug#49028] [PATCH v3] Add mda-lv2. * gnu/packages/audio.scm (mda-lv2): New variable Thorsten Wilms
  0 siblings, 1 reply; 7+ messages in thread
From: Xinglu Chen @ 2021-06-22  7:44 UTC (permalink / raw)
  To: Thorsten Wilms, 49028

[-- Attachment #1: Type: text/plain, Size: 2454 bytes --]

On Sun, Jun 20 2021, Thorsten Wilms wrote:

> I fixed the description and license. I think there’s no need to change
> away from the tarball, as it’s actually an official release on the code
> author’s domain.

Fair enough.

> Thanks, Xinglu Chen!

You are welcome!

Note that things that shouldn’t be part of the commit message should be
put below the ‘---’ line.  The subject should also contain “[PATCH v2]”
to reflect that this is the second version of the patch, you can pass
the ‘--reroll-count=2’ to ‘git send-email’.

Also, I am not able to apply the patch, ‘git am’ reports:

  Applying: gnu: Add mda-lv2
  error: corrupt patch at line 12
  error: could not build fake ancestor
  hint: Use 'git am --show-current-patch=diff' to see the failed patch
  Patch failed at 0001 gnu: Add mda-lv2
  When you have resolved this problem, run "git am --continue".
  If you prefer to skip this patch, run "git am --skip" instead.
  To restore the original branch and stop patching, run "git am --abort".

Your previous patch did apply cleanly, did you do anything differently?

> +(define-public mda-lv2
> +  (package
> +   (name "mda-lv2")
> +   (version "1.2.6")
> +   (source
> +    (origin
> +     (method url-fetch)
> +     (uri
> +      ;; Tarball from gitlab lacks waflib directory content, so take
> it from
> +      ;; drobilla.net.

This comment isn’t accurate anymore, so there is probably no need for
it.

> +      (string-append "http://download.drobilla.net/mda-lv2-"
> +		     version ".tar.bz2"))
> +     (sha256
> +      (base32
> "1nspk2j11l65m5r9z5isw8j749vh9a89wgx8mkrrq15f4iq12rnd"))))
> +   (build-system waf-build-system)
> +   (arguments
> +    `(#:tests? #f  ; There are no tests.
> +      #:configure-flags
> +      (list (string-append "--prefix="
> +			   (assoc-ref %outputs "out")))))
> +   (inputs
> +    `(("lv2" ,lv2)))
> +   (native-inputs
> +    `(("pkg-config" ,pkg-config)))
> +   (native-search-paths
> +    (list (search-path-specification
> +           (variable "LV2_PATH")
> +           (files '("lib/lv2")))))
> +   (home-page "https://drobilla.net/software/mda-lv2")
> +   (synopsis "Audio plug-in pack for LV2")
> +   (description
> + MDA-LV2 is an LV2 port of the MDA plugins.  It includes effects and
> +a few instrument plugins.

The description should be put inside double quotes :)

Could you send a v3?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]

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

* [bug#49028] [PATCH v3] Add mda-lv2. * gnu/packages/audio.scm (mda-lv2): New variable.
  2021-06-22  7:44   ` Xinglu Chen
@ 2021-06-22 11:00     ` Thorsten Wilms
  2021-06-23  8:46       ` Xinglu Chen
  2021-06-28 14:49       ` bug#49028: " Efraim Flashner
  0 siblings, 2 replies; 7+ messages in thread
From: Thorsten Wilms @ 2021-06-22 11:00 UTC (permalink / raw)
  To: 49028; +Cc: Xinglu Chen, Thorsten Wilms

---
 gnu/packages/audio.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 3885a22e10..22dc71fe50 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -5275,3 +5275,36 @@ Icecast server.")
 generator, generating audio signals out of Linux's /dev/dsp audio
 device.  There is support for mono and/or stereo and 8 or 16 bit samples.")
     (license license:gpl2)))
+
+(define-public mda-lv2
+  (package
+   (name "mda-lv2")
+   (version "1.2.6")
+   (source
+    (origin
+     (method url-fetch)
+     (uri
+      (string-append "http://download.drobilla.net/mda-lv2-"
+		     version ".tar.bz2"))
+     (sha256
+      (base32 "1nspk2j11l65m5r9z5isw8j749vh9a89wgx8mkrrq15f4iq12rnd"))))
+   (build-system waf-build-system)
+   (arguments
+    `(#:tests? #f  ; There are no tests.
+      #:configure-flags
+      (list (string-append "--prefix="
+			   (assoc-ref %outputs "out")))))
+   (inputs
+    `(("lv2" ,lv2)))
+   (native-inputs
+    `(("pkg-config" ,pkg-config)))
+   (native-search-paths
+    (list (search-path-specification
+           (variable "LV2_PATH")
+           (files '("lib/lv2")))))
+   (home-page "https://drobilla.net/software/mda-lv2")
+   (synopsis "Audio plug-in pack for LV2")
+   (description
+    "MDA-LV2 is an LV2 port of the MDA plugins.  It includes effects and a few
+instrument plugins.")
+   (license license:gpl3+)))
-- 
2.32.0





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

* [bug#49028] [PATCH v3] Add mda-lv2. * gnu/packages/audio.scm (mda-lv2): New variable.
  2021-06-22 11:00     ` [bug#49028] [PATCH v3] Add mda-lv2. * gnu/packages/audio.scm (mda-lv2): New variable Thorsten Wilms
@ 2021-06-23  8:46       ` Xinglu Chen
  2021-06-28 14:49       ` bug#49028: " Efraim Flashner
  1 sibling, 0 replies; 7+ messages in thread
From: Xinglu Chen @ 2021-06-23  8:46 UTC (permalink / raw)
  To: Thorsten Wilms, 49028; +Cc: Thorsten Wilms

[-- Attachment #1: Type: text/plain, Size: 322 bytes --]

On Tue, Jun 22 2021, Thorsten Wilms wrote:

> ---
>  gnu/packages/audio.scm | 33 +++++++++++++++++++++++++++++++++
>  1 file changed, 33 insertions(+)

LGTM, apart from the commit summary being a little messed up. :)

I don’t have commit access though, so you will have to wait for someone
else to merge it.


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]

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

* bug#49028: [PATCH v3] Add mda-lv2. * gnu/packages/audio.scm (mda-lv2): New variable.
  2021-06-22 11:00     ` [bug#49028] [PATCH v3] Add mda-lv2. * gnu/packages/audio.scm (mda-lv2): New variable Thorsten Wilms
  2021-06-23  8:46       ` Xinglu Chen
@ 2021-06-28 14:49       ` Efraim Flashner
  1 sibling, 0 replies; 7+ messages in thread
From: Efraim Flashner @ 2021-06-28 14:49 UTC (permalink / raw)
  To: Thorsten Wilms; +Cc: 49028-done, Xinglu Chen

[-- Attachment #1: Type: text/plain, Size: 236 bytes --]

Thanks. Patch pushed!

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

end of thread, other threads:[~2021-06-28 14:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-14 19:32 [bug#49028] [PATCH] gnu: Add mda-lv2 Thorsten Wilms
2021-06-18 14:36 ` Xinglu Chen
2021-06-20 14:26 ` Thorsten Wilms
2021-06-22  7:44   ` Xinglu Chen
2021-06-22 11:00     ` [bug#49028] [PATCH v3] Add mda-lv2. * gnu/packages/audio.scm (mda-lv2): New variable Thorsten Wilms
2021-06-23  8:46       ` Xinglu Chen
2021-06-28 14:49       ` bug#49028: " Efraim Flashner

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).