* [bug#38127] [PATCH] gnu: Add x42-plugins.
@ 2019-11-08 10:55 Alexandros Theodotou
2019-11-10 22:00 ` Marius Bakke
0 siblings, 1 reply; 4+ messages in thread
From: Alexandros Theodotou @ 2019-11-08 10:55 UTC (permalink / raw)
To: 38127
NOTE: this patch depends on
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=38121 and
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=38126
From ee2e983068b3dd11aaed7c703388904749e77a44 Mon Sep 17 00:00:00 2001
From: Alexandros Theodotou <alex@zrythm.org>
Date: Fri, 8 Nov 2019 10:54:00 +0000
Subject: [PATCH] gnu: Add x42-plugins.
* gnu/packages/music.scm: (x42-plugins): New variable.
---
gnu/packages/music.scm | 55 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 55 insertions(+)
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index a30765e87f..a6caf4d0ff 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -24,6 +24,7 @@
;;; Copyright © 2019 Jakob L. Kreuze <zerodaysfordays@sdf.lonestar.org>
;;; Copyright © 2019 raingloom <raingloom@protonmail.com>
;;; Copyright © 2019 David Wilson <david@daviwil.com>
+;;; Copyright © 2019 Alexandros Theodotou <alex@zrythm.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -4699,3 +4700,57 @@ You can also get metadata about the playing track
such as the artist and title
for integration into status line generators or other command-line
tools.")
(home-page "https://github.com/altdesktop/playerctl")
(license license:lgpl3+)))
+
+(define-public x42-plugins
+ (package
+ (name "x42-plugins")
+ (version "20191013")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://gareus.org/misc/x42-plugins/x42-plugins-"
+ version ".tar.xz"))
+ (sha256
+ (base32
+ "18kn1bmc0s6dp834kc51ibifzzn3bxwya4p8s8yq9f4mpmkghi24"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:tests? #f ; no "check" target
+ #:make-flags
+ (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
+ "LIBZITACONVOLVER=-lzita-convolver"
+ (string-append
+ "FONTFILE=" (assoc-ref %build-inputs "font-dejavu")
+ "/share/fonts/truetype/DejaVuSans-Bold.ttf"))
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'build 'set-CC-variable
+ (lambda _ (setenv "CC" "gcc") #t))
+ (delete 'configure))))
+ (inputs
+ `(("cairo" ,cairo)
+ ("fftwf" ,fftwf)
+ ("jack" ,jack-1)
+ ("fftw" ,fftw)
+ ("ftgl" ,ftgl)
+ ("glib" ,glib)
+ ("glibc" ,glibc)
+ ("glu" ,glu)
+ ("hicolor-icon-theme" ,hicolor-icon-theme)
+ ("libsamplerate" ,libsamplerate)
+ ("libx11" ,libx11)
+ ("libltc" ,libltc)
+ ("pango" ,pango)
+ ("zita-convolver" ,zita-convolver)))
+ (native-inputs
+ `(("help2man" ,help2man)
+ ("liblo" ,liblo)
+ ("lv2" ,lv2)
+ ("font-dejavu" ,font-dejavu)
+ ("pkg-config" ,pkg-config)))
+ (synopsis "Collection of LV2/JACK audio/MIDI processing plugins")
+ (description "x42-plugins is a collection of over 80 cross-platform
LV2
+audio and MIDI plugins that can also run as standalone JACK
applications.")
+ (home-page "https://x42-plugins.com/x42/")
+ (license license:gpl2+)))
--
2.24.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [bug#38127] [PATCH] gnu: Add x42-plugins.
2019-11-08 10:55 [bug#38127] [PATCH] gnu: Add x42-plugins Alexandros Theodotou
@ 2019-11-10 22:00 ` Marius Bakke
2019-11-11 1:53 ` Alexandros Theodotou
0 siblings, 1 reply; 4+ messages in thread
From: Marius Bakke @ 2019-11-10 22:00 UTC (permalink / raw)
To: Alexandros Theodotou, 38127
[-- Attachment #1: Type: text/plain, Size: 1217 bytes --]
Alexandros Theodotou <alex@zrythm.org> writes:
> NOTE: this patch depends on
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=38121 and
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=38126
> From ee2e983068b3dd11aaed7c703388904749e77a44 Mon Sep 17 00:00:00 2001
> From: Alexandros Theodotou <alex@zrythm.org>
> Date: Fri, 8 Nov 2019 10:54:00 +0000
> Subject: [PATCH] gnu: Add x42-plugins.
>
> * gnu/packages/music.scm: (x42-plugins): New variable.
The patch LGTM overall, but indentation seems to be off. Can you run
this through "./etc/indent-code.el"?
[...]
> + (synopsis "Collection of LV2/JACK audio/MIDI processing plugins")
> + (description "x42-plugins is a collection of over 80 cross-platform
> LV2
> +audio and MIDI plugins that can also run as standalone JACK
> applications.")
> + (home-page "https://x42-plugins.com/x42/")
> + (license license:gpl2+)))
I notice in the FAQ that "Some binaries are provided as demo. A
license/signature file is required to remove the evaluation
restrictions".
If there are such binaries in the source tarball, they must be removed
with a source 'snippet' to ensure 'guix build --source' contains only
free software.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* [bug#38127] [PATCH] gnu: Add x42-plugins.
2019-11-10 22:00 ` Marius Bakke
@ 2019-11-11 1:53 ` Alexandros Theodotou
2019-11-13 22:26 ` bug#38127: " Marius Bakke
0 siblings, 1 reply; 4+ messages in thread
From: Alexandros Theodotou @ 2019-11-11 1:53 UTC (permalink / raw)
To: Marius Bakke, 38127
[-- Attachment #1.1: Type: text/plain, Size: 1095 bytes --]
Thanks for the pointers!
> The patch LGTM overall, but indentation seems to be off. Can you run
> this through "./etc/indent-code.el"?
That script gives me weird indentation that I don't see in any
packages, like:
(define-public dpf-plugins
(package
(name
^ missing space
Hopefully the updated patch looks better, I tried to match the other
packages in music.scm.
> > +audio and MIDI plugins that can also run as standalone JACK
> > applications.")
> > + (home-page "https://x42-plugins.com/x42/")
> > + (license license:gpl2+)))
>
> I notice in the FAQ that "Some binaries are provided as demo. A
> license/signature file is required to remove the evaluation
> restrictions".
>
> If there are such binaries in the source tarball, they must be
> removed
> with a source 'snippet' to ensure 'guix build --source' contains only
> free software.
This tarball only contains sources and is specifically targeted at
distro packagers (see https://github.com/x42/x42-plugins). I believe
the binaries are provided as separate downloads on the website.
[-- Attachment #1.2: 0001-gnu-Add-x42-plugins.patch --]
[-- Type: text/x-patch, Size: 2640 bytes --]
From 05ffc94c834f99b3cb56a9ebc97096958a07981e Mon Sep 17 00:00:00 2001
From: Alexandros Theodotou <alex@zrythm.org>
Date: Fri, 8 Nov 2019 10:54:00 +0000
Subject: [PATCH] gnu: Add x42-plugins.
* gnu/packages/music.scm: (x42-plugins): New variable.
---
gnu/packages/music.scm | 55 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 55 insertions(+)
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 2f023685df..5efdae31e4 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -4737,3 +4737,58 @@ for integration into status line generators or other command-line tools.")
effects. It contains a bitcrusher, delay, distortion, equalizer, compressor,
and reverb.")
(license license:gpl2+)))
+
+(define-public x42-plugins
+ (package
+ (name "x42-plugins")
+ (version "20191013")
+ (source
+ (origin
+ (method url-fetch)
+ (uri
+ (string-append "http://gareus.org/misc/x42-plugins/x42-plugins-"
+ version ".tar.xz"))
+ (sha256
+ (base32
+ "18kn1bmc0s6dp834kc51ibifzzn3bxwya4p8s8yq9f4mpmkghi24"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:tests? #f ; no "check" target
+ #:make-flags
+ (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
+ "LIBZITACONVOLVER=-lzita-convolver"
+ (string-append "FONTFILE="
+ (assoc-ref %build-inputs "font-dejavu")
+ "/share/fonts/truetype/DejaVuSans-Bold.ttf"))
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'build 'set-CC-variable
+ (lambda _
+ (setenv "CC" "gcc")
+ #t))
+ (delete 'configure))))
+ (inputs
+ `(("cairo" ,cairo)
+ ("fftwf" ,fftwf)
+ ("jack" ,jack-1)
+ ("fftw" ,fftw)
+ ("ftgl" ,ftgl)
+ ("glib" ,glib)
+ ("glu" ,glu)
+ ("hicolor-icon-theme" ,hicolor-icon-theme)
+ ("libsamplerate" ,libsamplerate)
+ ("libx11" ,libx11)
+ ("libltc" ,libltc)
+ ("pango" ,pango)
+ ("zita-convolver" ,zita-convolver)))
+ (native-inputs
+ `(("help2man" ,help2man)
+ ("liblo" ,liblo)
+ ("lv2" ,lv2)
+ ("font-dejavu" ,font-dejavu)
+ ("pkg-config" ,pkg-config)))
+ (synopsis "Collection of LV2/JACK audio/MIDI processing plugins")
+ (description "x42-plugins is a collection of over 80 cross-platform LV2
+audio and MIDI plugins that can also run as standalone JACK applications.")
+ (home-page "https://x42-plugins.com/x42/")
+ (license license:gpl2+)))
--
2.24.0
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply related [flat|nested] 4+ messages in thread
* bug#38127: [PATCH] gnu: Add x42-plugins.
2019-11-11 1:53 ` Alexandros Theodotou
@ 2019-11-13 22:26 ` Marius Bakke
0 siblings, 0 replies; 4+ messages in thread
From: Marius Bakke @ 2019-11-13 22:26 UTC (permalink / raw)
To: Alexandros Theodotou, 38127-done
[-- Attachment #1: Type: text/plain, Size: 1376 bytes --]
Alexandros Theodotou <alex@zrythm.org> writes:
>> > +audio and MIDI plugins that can also run as standalone JACK
>> > applications.")
>> > + (home-page "https://x42-plugins.com/x42/")
>> > + (license license:gpl2+)))
>>
>> I notice in the FAQ that "Some binaries are provided as demo. A
>> license/signature file is required to remove the evaluation
>> restrictions".
>>
>> If there are such binaries in the source tarball, they must be
>> removed
>> with a source 'snippet' to ensure 'guix build --source' contains only
>> free software.
> This tarball only contains sources and is specifically targeted at
> distro packagers (see https://github.com/x42/x42-plugins). I believe
> the binaries are provided as separate downloads on the website.
OK, that's reassuring. Thanks for checking!
> From 05ffc94c834f99b3cb56a9ebc97096958a07981e Mon Sep 17 00:00:00 2001
> From: Alexandros Theodotou <alex@zrythm.org>
> Date: Fri, 8 Nov 2019 10:54:00 +0000
> Subject: [PATCH] gnu: Add x42-plugins.
>
> * gnu/packages/music.scm: (x42-plugins): New variable.
[...]
> + (inputs
> + `(("cairo" ,cairo)
> + ("fftwf" ,fftwf)
> + ("jack" ,jack-1)
> + ("fftw" ,fftw)
I removed 'fftw', since it appeared unused. Let me know if that was
mistaken. I also sorted these alphabetically out of preference.
Applied!
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-11-13 22:27 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-08 10:55 [bug#38127] [PATCH] gnu: Add x42-plugins Alexandros Theodotou
2019-11-10 22:00 ` Marius Bakke
2019-11-11 1:53 ` Alexandros Theodotou
2019-11-13 22:26 ` bug#38127: " Marius Bakke
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).