From c079848873c6bc49a35aad1b299967ce5be999ed Mon Sep 17 00:00:00 2001 From: Andreas Enge Date: Mon, 25 Nov 2013 23:09:20 +0100 Subject: gnu: Add soprano. * gnu/packages/rdf.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add module. --- gnu/packages/rdf.scm | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 gnu/packages/rdf.scm (limited to 'gnu') diff --git a/gnu/packages/rdf.scm b/gnu/packages/rdf.scm new file mode 100644 index 0000000000..0e2e6d1b1b --- /dev/null +++ b/gnu/packages/rdf.scm @@ -0,0 +1,55 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2013 Andreas Enge +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages kde) + #:use-module ((guix licenses) #:select (lgpl2.0+)) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix build-system cmake) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages qt)) + +(define-public soprano + (package + (name "soprano") + (version "2.9.3") + ;; 2.9.4 requires clucene, see + ;; http://www.mailinglistarchive.com/html/lfs-book@linuxfromscratch.org/2013-10/msg00285.html + ;; The stable clucene-0.9.21b fails one of its tests; + ;; in the unstable clucene-2.3.3.4 the binary cl_test is not found. + ;; In any case, the library seems to be unmaintained. + (source (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/soprano/Soprano/" + version "/" + "soprano-" version ".tar.bz2")) + (sha256 + (base32 + "08gb5d8bgy7vc6qd6r1kkmmc5rli67dlglpjqjlahpnvs26r1cwl")))) + (build-system cmake-build-system) + ;; FIXME: Add optional dependencies: Raptor, Redland, odbci, clucene; doxygen + (inputs + `(("pkg-config" ,pkg-config) + ("qt" ,qt-4))) + (home-page "http://soprano.sourceforge.net/") + (synopsis "RDF data library for Qt") + (description "Soprano (formerly known as QRDF) is a library which +provides a highly usable object-oriented C++/Qt4 framework for RDF data. It +uses different RDF storage solutions as backends through a simple plugin +system.") + (license lgpl2.0+))) -- cgit 1.4.1