* [PATCH]: Add LRDF.
@ 2015-01-26 9:24 Ricardo Wurmus
2015-01-26 20:23 ` Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Ricardo Wurmus @ 2015-01-26 9:24 UTC (permalink / raw
To: Guix-devel
[-- Attachment #1: 0001-gnu-Add-LRDF.patch --]
[-- Type: text/x-patch, Size: 4209 bytes --]
From c9fef4f37e21fa103920eda9a4405220730ace4d Mon Sep 17 00:00:00 2001
From: rekado <rekado@elephly.net>
Date: Mon, 26 Jan 2015 09:49:52 +0100
Subject: [PATCH] gnu: Add LRDF.
* gnu/packages/rdf.scm (lrdf): New variable.
---
gnu/packages/rdf.scm | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 58 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/rdf.scm b/gnu/packages/rdf.scm
index 1acbd38..436a696 100644
--- a/gnu/packages/rdf.scm
+++ b/gnu/packages/rdf.scm
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013, 2014, 2015 Andreas Enge <andreas@enge.fr>
+;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -18,21 +19,24 @@
(define-module (gnu packages rdf)
#:use-module ((guix licenses)
- #:select (bsd-style lgpl2.0+ lgpl2.1 lgpl2.1+))
+ #:select (bsd-style 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 (gnu packages)
+ #:use-module (gnu packages autotools)
#:use-module (gnu packages databases)
#:use-module (gnu packages boost)
#:use-module (gnu packages compression)
#:use-module (gnu packages curl)
+ #:use-module (gnu packages cyrus-sasl)
#:use-module (gnu packages doxygen)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages linux)
#:use-module (gnu packages multiprecision)
+ #:use-module (gnu packages openssl)
#:use-module (gnu packages pcre)
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
@@ -107,6 +111,59 @@ full-featured indexing and searching API. It is a port of the very popular
Java Lucene text search engine API to C++.")
(license lgpl2.1)))
+(define-public lrdf
+ (package
+ (name "lrdf")
+ (version "0.5.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/swh/LRDF/archive/"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "18p2flb2sv2hq6w2qkd29z9c7knnwqr3f12i2srshlzx6vwkm05s"))))
+ (build-system gnu-build-system)
+ (arguments
+ '(#:phases (alist-cons-after
+ 'unpack 'remove-out-of-tree-references
+ (lambda _
+ ;; remove symlinks to files in /usr/
+ (delete-file-recursively "m4")
+ (for-each delete-file '("config.guess"
+ "config.sub"
+ "depcomp"
+ "install-sh"
+ "ltmain.sh"
+ "missing"))
+ ;; remove_test depends on an out-of-tree RDF file
+ (substitute* "examples/Makefile.am"
+ (("instances_test remove_test") "instances_test")
+ (("\\$\\(TESTS\\) remove_test") "$(TESTS)")))
+ (alist-cons-before
+ 'configure 'autoreconf
+ (lambda* (#:key inputs #:allow-other-keys)
+ (zero? (system* "autoreconf" "-vfi")))
+ %standard-phases))))
+ (inputs
+ `(("raptor" ,raptor2)
+ ("cyrus-sasl" ,cyrus-sasl)
+ ("openssl" ,openssl)
+ ("zlib" ,zlib)))
+ (native-inputs
+ `(("autoconf" ,autoconf)
+ ("automake" ,automake)
+ ("libtool" ,libtool)
+ ("pkg-config" ,pkg-config)))
+ (home-page "https://github.com/swh/LRDF")
+ (synopsis "Lightweight RDF library for accessing plugin metadata in the
+LADSPA plugin system")
+ (description
+ "LRDF is a library to make it easy to manipulate RDF files describing
+LADSPA plugins. It can also be used for general RDF manipulation. It can
+read RDF/XLM and N3 files and export N3 files, and it also has a light
+taxonomic inference capablility.")
+ (license gpl2)))
+
(define-public rasqal
(package
(name "rasqal")
--
2.1.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH]: Add LRDF.
2015-01-26 9:24 [PATCH]: Add LRDF Ricardo Wurmus
@ 2015-01-26 20:23 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2015-01-26 20:23 UTC (permalink / raw
To: Ricardo Wurmus; +Cc: Guix-devel
Ricardo Wurmus <rekado@elephly.net> skribis:
> From c9fef4f37e21fa103920eda9a4405220730ace4d Mon Sep 17 00:00:00 2001
> From: rekado <rekado@elephly.net>
> Date: Mon, 26 Jan 2015 09:49:52 +0100
> Subject: [PATCH] gnu: Add LRDF.
>
> * gnu/packages/rdf.scm (lrdf): New variable.
[...]
> + (home-page "https://github.com/swh/LRDF")
> + (synopsis "Lightweight RDF library for accessing plugin metadata in the
> +LADSPA plugin system")
Could you prune a few words? :-)
> + (license gpl2)))
GPLv2-only, right?
OK to push with the shorter synopsis.
Thank you,
Ludo’.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-01-26 20:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-26 9:24 [PATCH]: Add LRDF Ricardo Wurmus
2015-01-26 20:23 ` 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.