summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorAndreas Enge <andreas@enge.fr>2013-11-25 23:09:20 +0100
committerAndreas Enge <andreas@enge.fr>2013-11-25 23:10:30 +0100
commitc079848873c6bc49a35aad1b299967ce5be999ed (patch)
tree7f245ae81e8c1a450ec9cd722c8ff994acbc807a /gnu/packages
parent4aa0891cd2a0ea72796a123e23e045819899d1a9 (diff)
gnu: Add soprano.
* gnu/packages/rdf.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add module.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/rdf.scm55
1 files changed, 55 insertions, 0 deletions
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 <andreas@enge.fr>
+;;;
+;;; 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 <http://www.gnu.org/licenses/>.
+
+(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+)))