tinysparql: Use docs from the tarball

The Meson build script will not use gi-docgen or graphviz
since the API reference ships prebuilt in the tarball.

This has apparently been the case since gi-docgen has been introduced:
https://github.com/GNOME/tinysparql/commit/c27eb6be6ce747c4112f528acd214d63f1504476
This commit is contained in:
Jan Tojnar
2025-05-07 02:08:52 +02:00
parent 14a3cc9268
commit ad4f0f91f3
+1 -12
View File
@@ -15,8 +15,6 @@
&& stdenv.hostPlatform.emulatorAvailable buildPackages,
vala,
python3,
gi-docgen,
graphviz,
libxml2,
glib,
wrapGAppsNoGuiHook,
@@ -67,8 +65,6 @@ stdenv.mkDerivation (finalAttrs: {
gettext
glib
wrapGAppsNoGuiHook
gi-docgen
graphviz
(python3.pythonOnBuildForHost.withPackages (p: [ p.pygobject3 ]))
]
++ lib.optionals withIntrospection [
@@ -126,15 +122,8 @@ stdenv.mkDerivation (finalAttrs: {
doCheck = true;
postPatch = ''
chmod +x \
docs/reference/docgen-wrapper.sh \
docs/reference/embed-files.py \
docs/reference/generate-svgs.sh
patchShebangs \
utils/data-generators/cc/generate \
docs/reference/docgen-wrapper.sh \
docs/reference/embed-files.py \
docs/reference/generate-svgs.sh
utils/data-generators/cc/generate
# File "/build/tinysparql-3.8.0/tests/functional-tests/test_cli.py", line 233, in test_help
# self.assertIn("TINYSPARQL-IMPORT(1)", output, "Manpage not found")