2013-11-25 17:09:20 -05:00
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2014-03-09 06:42:37 -04:00
|
|
|
;;; Copyright © 2013, 2014 Andreas Enge <andreas@enge.fr>
|
2013-11-25 17:09:20 -05:00
|
|
|
;;;
|
|
|
|
;;; 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/>.
|
|
|
|
|
2013-11-25 17:14:07 -05:00
|
|
|
(define-module (gnu packages rdf)
|
2014-04-16 04:07:52 -04:00
|
|
|
#:use-module ((guix licenses) #:select (lgpl2.0+ lgpl2.1 lgpl2.1+))
|
2013-11-25 17:09:20 -05:00
|
|
|
#:use-module (guix packages)
|
|
|
|
#:use-module (guix download)
|
|
|
|
#:use-module (guix build-system cmake)
|
2013-12-05 18:05:13 -05:00
|
|
|
#:use-module (guix build-system gnu)
|
2014-04-16 04:58:31 -04:00
|
|
|
#:use-module (gnu packages)
|
gnu: Consolidate databases in (gnu packages databases).
* gnu/packages/databases.scm: New file, with the contents of the
following deleted files.
* gnu/packages/mysql.scm, gnu/packages/postgresql.scm,
gnu/packages/recutils.scm, gnu/packages/sqlite.scm,
gnu/packages/bdb.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/apl.scm, gnu/packages/dc.scm, gnu/packages/games.scm,
gnu/packages/gnunet.scm, gnu/packages/linux.scm, gnu/packages/mail.scm,
gnu/packages/mpd.scm, gnu/packages/nvi.scm, gnu/packages/openldap.scm,
gnu/packages/package-management.scm, gnu/packages/python.scm,
gnu/packages/qt.scm, gnu/packages/rdf.scm,
gnu/packages/version-control.scm: Adjust to new module name.
2014-09-08 11:48:03 -04:00
|
|
|
#:use-module (gnu packages databases)
|
2014-04-16 04:07:52 -04:00
|
|
|
#:use-module (gnu packages boost)
|
2013-12-05 18:05:13 -05:00
|
|
|
#:use-module (gnu packages compression)
|
|
|
|
#:use-module (gnu packages curl)
|
2014-04-24 18:24:48 -04:00
|
|
|
#:use-module (gnu packages doxygen)
|
2014-05-17 08:43:34 -04:00
|
|
|
#:use-module (gnu packages gnupg)
|
|
|
|
#:use-module (gnu packages linux)
|
|
|
|
#:use-module (gnu packages multiprecision)
|
|
|
|
#:use-module (gnu packages pcre)
|
|
|
|
#:use-module (gnu packages perl)
|
2013-11-25 17:09:20 -05:00
|
|
|
#:use-module (gnu packages pkg-config)
|
2013-12-05 18:05:13 -05:00
|
|
|
#:use-module (gnu packages qt)
|
|
|
|
#:use-module (gnu packages xml))
|
|
|
|
|
|
|
|
(define-public raptor2
|
|
|
|
(package
|
|
|
|
(name "raptor2")
|
2015-01-17 12:13:58 -05:00
|
|
|
(version "2.0.15")
|
2013-12-05 18:05:13 -05:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "http://download.librdf.org/source/" name
|
|
|
|
"-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2015-01-17 12:13:58 -05:00
|
|
|
"1vc02im4mpc28zxzgli68k6j0dakh0k3s389bm436yvqajxg19xd"))))
|
2013-12-05 18:05:13 -05:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(inputs
|
|
|
|
`(("curl" ,curl)
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
("libxslt" ,libxslt)
|
|
|
|
("zlib" ,zlib)))
|
2014-03-09 06:42:37 -04:00
|
|
|
(arguments
|
|
|
|
`(#:parallel-tests? #f))
|
2013-12-05 18:05:13 -05:00
|
|
|
(home-page "http://librdf.org/raptor/")
|
|
|
|
(synopsis "RDF syntax library")
|
|
|
|
(description "Raptor is a C library providing a set of parsers and
|
|
|
|
serialisers that generate Resource Description Framework (RDF) triples
|
|
|
|
by parsing syntaxes or serialise the triples into a syntax. The supported
|
|
|
|
parsing syntaxes are RDF/XML, N-Quads, N-Triples 1.0 and 1.1, TRiG,
|
|
|
|
Turtle 2008 and 2013, RDFa 1.0 and 1.1, RSS tag soup including all versions
|
|
|
|
of RSS, Atom 1.0 and 0.3, GRDDL and microformats for HTML, XHTML and
|
|
|
|
XML. The serialising syntaxes are RDF/XML (regular, abbreviated, XMP),
|
|
|
|
Turtle 2013, N-Quads, N-Triples 1.1, Atom 1.0, RSS 1.0, GraphViz DOT,
|
|
|
|
HTML and JSON.")
|
|
|
|
(license lgpl2.1+))) ; or any choice of gpl2+ or asl2.0
|
2013-11-25 17:09:20 -05:00
|
|
|
|
2014-04-16 04:07:52 -04:00
|
|
|
(define-public clucene
|
|
|
|
(package
|
|
|
|
(name "clucene")
|
|
|
|
(version "2.3.3.4")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://sourceforge/clucene/"
|
|
|
|
"clucene-core-unstable/2.3/clucene-core-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2014-04-16 04:58:31 -04:00
|
|
|
"1arffdwivig88kkx685pldr784njm0249k0rb1f1plwavlrw9zfx"))
|
2014-10-06 07:26:19 -04:00
|
|
|
(patches (list
|
|
|
|
(search-patch "clucene-pkgconfig.patch")
|
|
|
|
(search-patch "clucene-contribs-lib.patch")))))
|
2014-04-16 04:07:52 -04:00
|
|
|
(build-system cmake-build-system)
|
|
|
|
(inputs
|
|
|
|
`(("boost" ,boost) ; could also use bundled copy
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
(arguments
|
|
|
|
`(#:test-target "cl_test"
|
2014-10-06 07:26:19 -04:00
|
|
|
#:configure-flags '("-DBUILD_CONTRIBS_LIB=ON")
|
2014-04-16 04:07:52 -04:00
|
|
|
#:tests? #f)) ; Tests do not compile, as TestIndexSearcher.cpp uses
|
|
|
|
; undeclared usleep. After fixing this, one needs to run
|
|
|
|
; "make test" in addition to "make cl_test", then
|
|
|
|
; SimpleTest fails.
|
|
|
|
; Notice that the library appears to be unmaintained
|
|
|
|
; with no reaction to bug reports.
|
|
|
|
(home-page "http://clucene.sourceforge.net/")
|
|
|
|
(synopsis "C text indexing and searching library")
|
|
|
|
(description "CLucene is a high-performance, scalable, cross platform,
|
|
|
|
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)))
|
|
|
|
|
2014-05-17 08:43:34 -04:00
|
|
|
(define-public rasqal
|
|
|
|
(package
|
|
|
|
(name "rasqal")
|
2015-01-17 12:47:03 -05:00
|
|
|
(version "0.9.33")
|
2014-05-17 08:43:34 -04:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "http://download.librdf.org/source/" name
|
|
|
|
"-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2015-01-17 12:47:03 -05:00
|
|
|
"0z6rrwn4jsagvarg8d5zf0j352kjgi33py39jqd29gbhcnncj939"))))
|
2014-05-17 08:43:34 -04:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(native-inputs
|
|
|
|
`(("perl" ,perl)
|
|
|
|
("perl-xml-dom" ,perl-xml-dom) ; for the tests
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
(inputs
|
|
|
|
`(("libgcrypt" ,libgcrypt)
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
("mpfr" ,mpfr)
|
|
|
|
("pcre" ,pcre)
|
|
|
|
("util-linux" ,util-linux)))
|
2014-05-17 08:55:27 -04:00
|
|
|
(propagated-inputs
|
|
|
|
`(("raptor2" ,raptor2))) ; stipulated by rasqal.pc
|
2014-05-17 08:43:34 -04:00
|
|
|
(arguments
|
|
|
|
`(#:parallel-tests? #f
|
|
|
|
; test failure reported upstream, see
|
|
|
|
; http://bugs.librdf.org/mantis/view.php?id=571
|
|
|
|
#:tests? #f))
|
|
|
|
(home-page "http://librdf.org/rasqal/")
|
|
|
|
(synopsis "RDF query library")
|
|
|
|
(description "Rasqal is a C library that handles Resource Description
|
|
|
|
Framework (RDF) query language syntaxes, query construction and execution
|
|
|
|
of queries returning results as bindings, boolean, RDF graphs/triples or
|
|
|
|
syntaxes. The supported query languages are SPARQL Query 1.0,
|
|
|
|
SPARQL Query 1.1, SPARQL Update 1.1 (no executing) and the Experimental
|
|
|
|
SPARQL extensions (LAQRS). Rasqal can write binding query results in the
|
|
|
|
SPARQL XML, SPARQL JSON, CSV, TSV, HTML, ASCII tables, RDF/XML and
|
2014-05-17 08:59:15 -04:00
|
|
|
Turtle/N3 and read them in SPARQL XML, RDF/XML and Turtle/N3.")
|
|
|
|
(license lgpl2.1+))) ; or any choice of gpl2+ or asl2.0
|
|
|
|
|
|
|
|
(define-public redland
|
|
|
|
(package
|
|
|
|
(name "redland")
|
|
|
|
(version "1.0.17")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "http://download.librdf.org/source/" name
|
|
|
|
"-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"109n0kp39p966dpiasad2bb7q66rwbcb9avjvimw28chnpvlf66y"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(native-inputs
|
|
|
|
`(("perl" ,perl) ; needed for installation
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
(inputs
|
|
|
|
`(("bdb" ,bdb)
|
|
|
|
("rasqal" ,rasqal)))
|
|
|
|
(home-page "http://librdf.org/")
|
|
|
|
(synopsis "RDF library")
|
|
|
|
(description "The Redland RDF Library (librdf) provides the RDF API
|
|
|
|
and triple stores.")
|
2014-05-17 08:43:34 -04:00
|
|
|
(license lgpl2.1+))) ; or any choice of gpl2+ or asl2.0
|
|
|
|
|
2013-11-25 17:09:20 -05:00
|
|
|
(define-public soprano
|
|
|
|
(package
|
|
|
|
(name "soprano")
|
2014-04-28 14:09:27 -04:00
|
|
|
(version "2.9.4")
|
2013-11-25 17:09:20 -05:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://sourceforge/soprano/Soprano/"
|
|
|
|
version "/"
|
|
|
|
"soprano-" version ".tar.bz2"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2014-04-28 14:20:52 -04:00
|
|
|
"1rg0x7yg0a1cbnxz7kqk52580wla8jbnj4d4r3j7l7g7ajyny1k4"))
|
|
|
|
(patches (list (search-patch "soprano-find-clucene.patch")))))
|
2013-11-25 17:09:20 -05:00
|
|
|
(build-system cmake-build-system)
|
gnu: Move numerous "inputs" which should be "native-inputs".
* gnu/packages/avahi.scm, gnu/packages/cdrom.scm, gnu/packages/cryptsetup.scm,
gnu/packages/curl.scm, gnu/packages/emacs.scm, gnu/packages/fontutils.scm,
gnu/packages/gdb.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/glib.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm, gnu/packages/gnuzilla.scm, gnu/packages/graphviz.scm,
gnu/packages/groff.scm, gnu/packages/gstreamer.scm, gnu/packages/gtk.scm,
gnu/packages/gv.scm, gnu/packages/imagemagick.scm, gnu/packages/irssi.scm,
gnu/packages/kde.scm, gnu/packages/libcanberra.scm, gnu/packages/libtiff.scm,
gnu/packages/linux.scm, gnu/packages/lvm.scm, gnu/packages/mp3.scm,
gnu/packages/netpbm.scm, gnu/packages/parted.scm, gnu/packages/pdf.scm,
gnu/packages/pulseaudio.scm, gnu/packages/qemu.scm, gnu/packages/qt.scm,
gnu/packages/ratpoison.scm, gnu/packages/rdf.scm, gnu/packages/slim.scm,
gnu/packages/texlive.scm, gnu/packages/version-control.scm,
gnu/packages/video.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/xml.scm, gnu/packages/xnee.scm, gnu/packages/xorg.scm,
gnu/packages/zip.scm: Move some build-time dependencies from `inputs' to
`native-inputs'.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2013-12-15 06:01:56 -05:00
|
|
|
(native-inputs
|
2014-04-24 18:24:48 -04:00
|
|
|
`(("doxygen" ,doxygen)
|
|
|
|
("pkg-config" ,pkg-config)))
|
2014-03-09 09:37:14 -04:00
|
|
|
(inputs
|
2014-04-28 14:20:52 -04:00
|
|
|
`(("clucene" ,clucene)
|
2014-04-28 14:09:27 -04:00
|
|
|
("qt" ,qt-4)
|
2014-05-17 11:12:27 -04:00
|
|
|
("rasqal" ,rasqal)
|
|
|
|
("redland" ,redland)))
|
2013-11-25 17:09:20 -05:00
|
|
|
(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+)))
|