all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] Add ZynAddSubFX
@ 2015-08-31 17:17 Ricardo Wurmus
  2015-09-01 21:32 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Ricardo Wurmus @ 2015-08-31 17:17 UTC (permalink / raw)
  To: guix-devel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0001-gnu-Add-minixml.patch --]
[-- Type: text/x-patch, Size: 1887 bytes --]

From 3926ec4243d497438b080b83678b2bd05105024d Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <rekado@elephly.net>
Date: Mon, 31 Aug 2015 17:33:56 +0200
Subject: [PATCH 1/2] gnu: Add minixml.

* gnu/packages/xml.scm (minixml): New variable.
---
 gnu/packages/xml.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index 2bce636..dc4b198 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -467,3 +467,31 @@ Canonical XML (part of Libxml2) and Exclusive Canonical XML (part of
 Libxml2).")
     (license (license:x11-style "file://COPYING"
                                 "See 'COPYING' in the distribution."))))
+
+(define-public minixml
+  (package
+    (name "minixml")
+    (version "2.9")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "http://www.msweet.org/files/project3/mxml-"
+                                  version ".tar.gz"))
+              (sha256
+               (base32
+                "14pzhlfidj5v1qbxy7a59yn4jz9pnjrs2zwalz228jsq7ijm9vfd"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:tests? #f))  ;no "check" target
+    (home-page "http://www.minixml.org/")
+    (synopsis "Small XML parsing library")
+    (description
+     "Mini-XML is a small XML library that you can use to read and write XML
+and XML-like data files in your application without requiring large
+non-standard libraries.
+
+Mini-XML supports reading of UTF-8 and UTF-16 and writing of UTF-8 encoded XML
+files and strings. Data is stored in a linked-list tree structure, preserving
+the XML data hierarchy, and arbitrary element names, attributes, and attribute
+values are supported with no preset limits, just available memory.")
+    ;; LGPL 2.0 with additional exceptions for static linking
+    (license license:lgpl2.0+)))
-- 
2.5.0


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0002-gnu-Add-ZynAddSubFX.patch --]
[-- Type: text/x-patch, Size: 2218 bytes --]

From 93385af3c66a35c7102229a49b571655145e5898 Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <rekado@elephly.net>
Date: Mon, 31 Aug 2015 17:34:28 +0200
Subject: [PATCH 2/2] gnu: Add ZynAddSubFX.

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

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 3d319ae..fd4b1b7 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -27,6 +27,7 @@
   #:use-module (guix build-system python)
   #:use-module (guix build-system waf)
   #:use-module (gnu packages)
+  #:use-module (gnu packages algebra)
   #:use-module (gnu packages audio)
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages base) ;libbdf
@@ -71,6 +72,7 @@
   #:use-module (gnu packages texlive)
   #:use-module (gnu packages web)
   #:use-module (gnu packages xml)
+  #:use-module (gnu packages xorg)
   #:use-module (gnu packages xiph)
   #:use-module (gnu packages zip)
   #:use-module ((srfi srfi-1) #:select (last)))
@@ -782,3 +784,33 @@ projects.")
      "Frescobaldi is a LilyPond sheet music text editor with syntax
 highlighting and automatic completion.")
     (license license:gpl2+)))
+
+(define-public zynaddsubfx
+  (package
+    (name "zynaddsubfx")
+    (version "2.5.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "mirror://sourceforge/zynaddsubfx/zynaddsubfx/"
+                    version "/zynaddsubfx-" version ".tar.gz"))
+              (sha256
+               (base32
+                "01c4v5lbzard6y00cjq3b6a50cafqwfwibzng9gdsajczhnbkqz2"))))
+    (build-system cmake-build-system)
+    (inputs
+     `(("liblo" ,liblo)
+       ("ntk" ,ntk)
+       ("alsa-lib" ,alsa-lib)
+       ("jack" ,jack-1)
+       ("fftw" ,fftw)
+       ("minixml" ,minixml)
+       ("libxpm" ,libxpm)
+       ("zlib" ,zlib)))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (home-page "http://zynaddsubfx.sf.net/")
+    (synopsis "Software synthesizer")
+    (description
+     "ZynAddSubFX is a feature heavy realtime software synthesizer.")
+    (license license:gpl2)))
-- 
2.5.0


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

* Re: [PATCH] Add ZynAddSubFX
  2015-08-31 17:17 [PATCH] Add ZynAddSubFX Ricardo Wurmus
@ 2015-09-01 21:32 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2015-09-01 21:32 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: guix-devel

Ricardo Wurmus <rekado@elephly.net> skribis:

> From 3926ec4243d497438b080b83678b2bd05105024d Mon Sep 17 00:00:00 2001
> From: Ricardo Wurmus <rekado@elephly.net>
> Date: Mon, 31 Aug 2015 17:33:56 +0200
> Subject: [PATCH 1/2] gnu: Add minixml.
>
> * gnu/packages/xml.scm (minixml): New variable.

[...]

> +    (description
> +     "Mini-XML is a small XML library that you can use to read and write XML
> +and XML-like data files in your application without requiring large
> +non-standard libraries.
> +
> +Mini-XML supports reading of UTF-8 and UTF-16 and writing of UTF-8 encoded XML
> +files and strings. Data is stored in a linked-list tree structure, preserving
> +the XML data hierarchy, and arbitrary element names, attributes, and attribute
> +values are supported with no preset limits, just available memory.")

Maybe something neutral?  Like “Mini-XML is a small C library to read
and write XML files in UTF-8 and UTF-16.”

> +    ;; LGPL 2.0 with additional exceptions for static linking
> +    (license license:lgpl2.0+)))

2.0 or later?

OK with this/these change(s).

> From 93385af3c66a35c7102229a49b571655145e5898 Mon Sep 17 00:00:00 2001
> From: Ricardo Wurmus <rekado@elephly.net>
> Date: Mon, 31 Aug 2015 17:34:28 +0200
> Subject: [PATCH 2/2] gnu: Add ZynAddSubFX.
>
> * gnu/packages/music.scm (zynaddsubfx): New variable.

[...]

> +    (home-page "http://zynaddsubfx.sf.net/")
> +    (synopsis "Software synthesizer")
> +    (description
> +     "ZynAddSubFX is a feature heavy realtime software synthesizer.")

You’ll have to expound a bit, I think.  :-)

Otherwise OK.

(I like the name, BTW.)

Ludo’.

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

end of thread, other threads:[~2015-09-01 21:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-31 17:17 [PATCH] Add ZynAddSubFX Ricardo Wurmus
2015-09-01 21:32 ` Ludovic Courtès

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.