Tinysparql is a low-footprint RDF triple store with a SPARQL 1.1 interface.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
Download (HTTP): https://download.gnome.org/sources/tinysparql/3.8/tinysparql-3.8.0.tar.xz
Download MD5 sum: b265db81d1292d405945dbeb168a361b
Download size: 2.0 MB
Estimated disk space required: 60 MB (with tests)
Estimated build time: 0.5 SBU (with tests)
JSON-GLib-1.10.0 and Vala-0.56.17
GLib-2.82.2 (with GObject Introspection), ICU-75.1, libsoup-3.4.4, PyGObject-3.50.0, SQLite-3.47.0, and localsearch-3.8.0 (runtime)
asciidoc-10.2.1, Avahi-0.8, Graphviz-12.2.0, and bash-completion
Fix the location to install the documentation into:
mv docs/reference/libtracker-sparql/doc/{Tsparql-3.0,tinysparql-3.8.0} && sed '/docs_name/s/Tsparql-3.0/tinysparql-3.8.0/' \ -i docs/reference/libtracker-sparql/meson.build
Install Tinysparql by running the following commands:
mkdir build && cd build && meson setup --prefix=/usr \ --buildtype=release \ -D man=false \ -D systemd_user_services=false \ .. && ninja
Now, as the root
user:
ninja install
To test the results, issue: meson configure -D debug=true && LC_ALL=C ninja test. The test suite should be run from a graphical session. One test is known to fail due to the manual pages not being generated.
--buildtype=release
:
Specify a buildtype suitable for stable releases of the package, as
the default may produce unoptimized binaries.
-D man=false
: This switch
prevents the build process from generating man pages. Omit this
switch if you have asciidoc-10.2.1 installed and wish to
generate and install the man pages.
-D
systemd_user_services=false
: This switch prevents the
build process from installing systemd user services since they are
useless on SysV systems.
meson configure -D debug=true: This command enables some debug checks necessary for the test suite. We don't want to enable them for the installed tinysparql libraries and programs, so we run the test suite after installation.