From ee10b823c6bfc5b98cf9e1d3645b1f3a8901282b Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 11 Nov 2022 19:35:13 +0100 Subject: extra/tracker3: tried to build without documenrtation (because buildign the documentation fails) --- extra/tracker3/PKGBUILD | 23 +++++++++++++++++++++++ extra/tracker3/tracker-no-doc.patch | 11 +++++++++++ 2 files changed, 34 insertions(+) create mode 100644 extra/tracker3/tracker-no-doc.patch diff --git a/extra/tracker3/PKGBUILD b/extra/tracker3/PKGBUILD index 7c5c36eb..a25ec7c2 100644 --- a/extra/tracker3/PKGBUILD +++ b/extra/tracker3/PKGBUILD @@ -21,3 +21,26 @@ if [ "$CARCH" = 'i486' ]; then ' )" fi + +# Don't care about broken uptream stuff, especially if it all it does +# is documenration: +# tracker/docs/reference/libtracker-sparql/meson.build:63:7: ERROR: hotdoc.generate_doc +# keyword argument 'dependencies' was of type array[CustomTarget | InternalDependency] +# but should have been array[Dependency | StaticLibrary | SharedLibrary +eval "$( + declare -f build | \ + sed ' + s/arch-meson/arch-meson -D docs=false/ + ' +)" + +# more no-doc patching +source+=('tracker-no-doc.patch') +sha256sums+=('2621451f3dc44ad458934c6c2cbdf27d73f94e6470082b3f01b5ffb6d752deda') +eval "$( + declare -f prepare | \ + sed ' + /}/ i \ + patch -Np1 < ${srcdir}/tracker-no-doc.patch + ' +)" diff --git a/extra/tracker3/tracker-no-doc.patch b/extra/tracker3/tracker-no-doc.patch new file mode 100644 index 00000000..a765e186 --- /dev/null +++ b/extra/tracker3/tracker-no-doc.patch @@ -0,0 +1,11 @@ +diff -rauN tracker/src/tracker/meson.build tracker-no-doc-patch/src/tracker/meson.build +--- tracker/src/tracker/meson.build 2022-11-11 19:22:29.894088303 +0100 ++++ tracker-no-doc-patch/src/tracker/meson.build 2022-11-11 19:22:54.514113426 +0100 +@@ -1,7 +1,6 @@ + modules = [ + 'endpoint', + 'export', +- 'help', + 'import', + 'sparql', + 'sql', -- cgit v1.2.3-70-g09d2