Re: [PATCH 0/5]: Add even more LV2 libraries

2015-02-11 Thread Ludovic Courtès
All 5 look good to me.

Thanks,
Ludo’.



Re: [PATCH 0/5]: Add even more LV2 libraries

2015-02-10 Thread Ricardo Wurmus
Ludovic Courtès writes:
 - serd
 - sord
 - sratom

 I think these should go to rdf.scm, no?

I moved serd and sord to rdf.scm, but left sratom in audio.scm because
it is very specific to LV2 atoms.

 - lilv
 - suil

 Its ‘description’ is bit long, IMO.

The description has been shortened.  Attached are updated patches for
these five packages.

~~ Ricardo

From a17b861614f20d98e240c975d58d00470c912830 Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus rek...@elephly.net
Date: Tue, 10 Feb 2015 10:07:57 +0100
Subject: [PATCH 1/5] gnu: Add serd.

* gnu/packages/rdf.scm (serd): New variable.
---
 gnu/packages/rdf.scm | 28 +++-
 1 file changed, 27 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/rdf.scm b/gnu/packages/rdf.scm
index ff74b2f..dde883b 100644
--- a/gnu/packages/rdf.scm
+++ b/gnu/packages/rdf.scm
@@ -19,12 +19,13 @@
 
 (define-module (gnu packages rdf)
   #:use-module ((guix licenses)
-#:select (bsd-style gpl2 lgpl2.0+ lgpl2.1 lgpl2.1+))
+#:select (bsd-style isc gpl2 lgpl2.0+ lgpl2.1 lgpl2.1+))
   #:use-module (guix packages)
   #:use-module (guix download)
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system python)
+  #:use-module (guix build-system waf)
   #:use-module (gnu packages)
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages databases)
@@ -228,6 +229,31 @@ Turtle/N3 and read them in SPARQL XML, RDF/XML and Turtle/N3.)
 and triple stores.)
 (license lgpl2.1+))) ; or any choice of gpl2+ or asl2.0
 
+(define-public serd
+  (package
+(name serd)
+(version 0.20.0)
+(source (origin
+ (method url-fetch)
+ (uri (string-append http://download.drobilla.net/serd-;
+ version
+ .tar.bz2))
+ (sha256
+  (base32
+   1gxbzqsm212wmn8qkdd3lbl6wbv7fwmaf9qh2nxa4yxjbr7mylb4
+(build-system waf-build-system)
+(arguments `(#:tests? #f)) ; no check target
+(home-page http://drobilla.net/software/serd/;)
+(synopsis Library for RDF syntax supporting Turtle and NTriples)
+(description
+ Serd is a lightweight C library for RDF syntax which supports reading
+and writing Turtle and NTriples.  Serd is not intended to be a swiss-army
+knife of RDF syntax, but rather is suited to resource limited or performance
+critical applications (e.g. converting many gigabytes of NTriples to Turtle),
+or situations where a simple reader/writer with minimal dependencies is
+ideal (e.g. in LV2 implementations or embedded applications).)
+(license isc)))
+
 (define-public soprano
   (package
 (name soprano)
-- 
2.1.0

From 92c58fd1ba47e84066100379248b4a4682414eef Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus rek...@elephly.net
Date: Tue, 10 Feb 2015 10:09:39 +0100
Subject: [PATCH 2/5] gnu: Add sord.

* gnu/packages/rdf.scm (sord): New variable.
---
 gnu/packages/rdf.scm | 24 
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/rdf.scm b/gnu/packages/rdf.scm
index dde883b..588a4b7 100644
--- a/gnu/packages/rdf.scm
+++ b/gnu/packages/rdf.scm
@@ -254,6 +254,30 @@ or situations where a simple reader/writer with minimal dependencies is
 ideal (e.g. in LV2 implementations or embedded applications).)
 (license isc)))
 
+(define-public sord
+  (package
+(name sord)
+(version 0.12.2)
+(source (origin
+ (method url-fetch)
+ (uri (string-append http://download.drobilla.net/sord-;
+ version
+ .tar.bz2))
+ (sha256
+  (base32
+   0rq7vafdv4vsxi6xk9zf5shr59w3kppdhqbj78185rz5gp9kh1dx
+(build-system waf-build-system)
+(arguments `(#:tests? #f)) ; no check target
+(inputs
+ `((serd ,serd)))
+(native-inputs
+ `((pkg-config ,pkg-config)))
+(home-page http://drobilla.net/software/sord/;)
+(synopsis C library for storing RDF data in memory)
+(description
+ Sord is a lightweight C library for storing RDF data in memory.)
+(license isc)))
+
 (define-public soprano
   (package
 (name soprano)
-- 
2.1.0

From f82f0d9c9ad4205b2ed5dae4dc157f204ffbd941 Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus rek...@elephly.net
Date: Tue, 10 Feb 2015 10:21:30 +0100
Subject: [PATCH 3/5] gnu: Add sratom.

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

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index f83c5d2..1105ec2 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -31,6 +31,7 @@
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages pulseaudio)  ;libsndfile, libsamplerate
   #:use-module (gnu packages python)
+  #:use-module (gnu packages rdf)
   #:use-module (gnu packages readline)
   

Re: [PATCH 0/5]: Add even more LV2 libraries

2015-02-03 Thread Ricardo Wurmus

Ludovic Courtès writes:
 - serd
 - sord
 - sratom

 I think these should go to rdf.scm, no?

Yes, I think that would be better.

 - suil

 Its ‘description’ is bit long, IMO.

Agreed.  I'll shorten the description and post an updated patch set.

 Thanks!

Thanks for taking the time for the review!

~~ Ricardo




Re: [PATCH 0/5]: Add even more LV2 libraries

2015-02-02 Thread Ludovic Courtès
Ricardo Wurmus rek...@elephly.net skribis:

 This patch set adds the following libraries, all of which are
 dependencies of Ardour (and possibly other LV2 hosts):

 - serd
 - sord
 - sratom

I think these should go to rdf.scm, no?

 - lilv
 - suil

Its ‘description’ is bit long, IMO.

Apart from that the 5 patches LGTM at first sight.

Thanks!

Ludo’.



[PATCH 0/5]: Add even more LV2 libraries

2015-01-29 Thread Ricardo Wurmus
Hi Guix,

here's another batch of LV2-related patches.  They depend on some of the
previous patches[1] and on the waf-build-system[2].

This patch set adds the following libraries, all of which are
dependencies of Ardour (and possibly other LV2 hosts):

- serd
- sord
- sratom
- lilv
- suil

~~ Ricardo

[1]: http://lists.gnu.org/archive/html/guix-devel/2015-01/msg00446.html
[2]: http://lists.gnu.org/archive/html/guix-devel/2015-01/msg00439.html

From dc48b2ca6ec4ee1bbe8c5cba317923610ee9718e Mon Sep 17 00:00:00 2001
From: rekado rek...@elephly.net
Date: Thu, 29 Jan 2015 23:08:34 +0100
Subject: [PATCH 1/5] gnu: Add serd.

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

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index e513d12..e98b460 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -187,3 +187,28 @@ implementation of the Open Sound Control (OSC) protocol.)
 core, LV2 is a simple stable interface, accompanied by extensions which add
 functionality to support the needs of increasingly powerful audio software.)
 (license license:isc)))
+
+(define-public serd
+  (package
+(name serd)
+(version 0.20.0)
+(source (origin
+ (method url-fetch)
+ (uri (string-append http://download.drobilla.net/serd-;
+ version
+ .tar.bz2))
+ (sha256
+  (base32
+   1gxbzqsm212wmn8qkdd3lbl6wbv7fwmaf9qh2nxa4yxjbr7mylb4
+(build-system waf-build-system)
+(arguments `(#:tests? #f)) ; no check target
+(home-page http://drobilla.net/software/serd/;)
+(synopsis Library for RDF syntax supporting Turtle and NTriples)
+(description
+ Serd is a lightweight C library for RDF syntax which supports reading
+and writing Turtle and NTriples.  Serd is not intended to be a swiss-army
+knife of RDF syntax, but rather is suited to resource limited or performance
+critical applications (e.g. converting many gigabytes of NTriples to Turtle),
+or situations where a simple reader/writer with minimal dependencies is
+ideal (e.g. in LV2 implementations or embedded applications).)
+(license license:isc)))
-- 
2.1.0

From ab8639959f1485d77e5056b41b41eadbad003605 Mon Sep 17 00:00:00 2001
From: rekado rek...@elephly.net
Date: Thu, 29 Jan 2015 23:09:19 +0100
Subject: [PATCH 2/5] gnu: Add sord.

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

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index e98b460..e6cfbdd 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -212,3 +212,27 @@ critical applications (e.g. converting many gigabytes of NTriples to Turtle),
 or situations where a simple reader/writer with minimal dependencies is
 ideal (e.g. in LV2 implementations or embedded applications).)
 (license license:isc)))
+
+(define-public sord
+  (package
+(name sord)
+(version 0.12.2)
+(source (origin
+ (method url-fetch)
+ (uri (string-append http://download.drobilla.net/sord-;
+ version
+ .tar.bz2))
+ (sha256
+  (base32
+   0rq7vafdv4vsxi6xk9zf5shr59w3kppdhqbj78185rz5gp9kh1dx
+(build-system waf-build-system)
+(arguments `(#:tests? #f)) ; no check target
+(inputs
+ `((serd ,serd)))
+(native-inputs
+ `((pkg-config ,pkg-config)))
+(home-page http://drobilla.net/software/sord/;)
+(synopsis C library for storing RDF data in memory)
+(description
+ Sord is a lightweight C library for storing RDF data in memory.)
+(license license:isc)))
-- 
2.1.0

From 2fa73ab2fbbe27dbb9c89a7e525b4b4e4e72d015 Mon Sep 17 00:00:00 2001
From: rekado rek...@elephly.net
Date: Thu, 29 Jan 2015 23:10:01 +0100
Subject: [PATCH 3/5] gnu: Add sratom.

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

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index e6cfbdd..744cf84 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -236,3 +236,30 @@ ideal (e.g. in LV2 implementations or embedded applications).)
 (description
  Sord is a lightweight C library for storing RDF data in memory.)
 (license license:isc)))
+
+(define-public sratom
+  (package
+(name sratom)
+(version 0.4.6)
+(source (origin
+ (method url-fetch)
+ (uri (string-append http://download.drobilla.net/sratom-;
+ version
+ .tar.bz2))
+ (sha256
+  (base32
+   080jjiyxjnj7hf25844hd9rb01grvzz1rk8mxcdnakywmspbxfd4
+(build-system waf-build-system)
+(arguments `(#:tests?