From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: [PATCH]: Add LRDF. Date: Mon, 26 Jan 2015 10:24:18 +0100 Message-ID: <87ppa1vqt2.fsf@mango.localdomain> Mime-Version: 1.0 Content-Type: text/x-patch; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51569) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFfuJ-00077e-BY for guix-devel@gnu.org; Mon, 26 Jan 2015 04:24:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YFfuD-0005fl-NK for guix-devel@gnu.org; Mon, 26 Jan 2015 04:24:31 -0500 Received: from sender1.zohomail.com ([74.201.84.155]:29908) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFfuD-0005fE-FC for guix-devel@gnu.org; Mon, 26 Jan 2015 04:24:25 -0500 Content-Disposition: inline; filename=0001-gnu-Add-LRDF.patch List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Guix-devel >From c9fef4f37e21fa103920eda9a4405220730ace4d Mon Sep 17 00:00:00 2001 From: rekado 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 +;;; Copyright © 2015 Ricardo Wurmus ;;; ;;; 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