Tinysparql is a low-footprint RDF triple store with a SPARQL 1.1 interface.
This package is known to build and work properly using an LFS 12.4 platform.
Download (HTTP): https://download.gnome.org/sources/tinysparql/3.9/tinysparql-3.9.2.tar.xz
Download MD5 sum: 0a862bbde0b653668e84ab30869aa35e
Download size: 2.0 MB
Estimated disk space required: 62 MB (with tests)
Estimated build time: 0.4 SBU (with tests)
JSON-GLib-1.10.6 and Vala-0.56.18
GLib-2.84.4 (with GObject Introspection), ICU-77.1, libsoup-3.6.5, localsearch-3.9.0 (runtime), PyGObject-3.52.3, and SQLite-3.50.4
asciidoc-10.2.1, Avahi-0.8, Graphviz-13.1.2, bash-completion, and libstemmer
Fix the location to install the documentation into:
sed -e "s/'generate'/&, '--no-namespace-dir'/"         \
    -e "/--output-dir/s/@OUTPUT@/&\/tinysparql-3.9.2/" \
    -i docs/reference/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.UTF-8 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.