From 38c0a5706a1a28f4a903de2aa1c4fd75ed5e98f4 Mon Sep 17 00:00:00 2001 From: suvari Date: Sat, 21 Jun 2025 20:20:55 +0300 Subject: [PATCH] zeitgeist: fix build --- util/admin/zeitgeist/actions.py | 17 ++++++++++++----- util/admin/zeitgeist/pspec.xml | 13 +++++++++++-- 2 files changed, 23 insertions(+), 7 deletions(-) diff --git a/util/admin/zeitgeist/actions.py b/util/admin/zeitgeist/actions.py index 3f72174248..4529e972bf 100644 --- a/util/admin/zeitgeist/actions.py +++ b/util/admin/zeitgeist/actions.py @@ -4,16 +4,23 @@ # Licensed under the GNU General Public License, version 3. # See the file https://www.gnu.org/licenses/gpl-3.0.txt -from pisi.actionsapi import shelltools, autotools, get +from pisi.actionsapi import shelltools, autotools, get, pisitools def setup(): shelltools.system("NOCONFIGURE=1 ./autogen.sh") - autotools.configure("--enable-fts --enable-datahub") + autotools.configure("--disable-systemd-services \ + --without-systemd \ + --enable-fts \ + --enable-datahub") def build(): autotools.make() def install(): - data = "nodist_systemd_user_DATA = ''" - doc = "zeitgeistdoc_DATA = 'AUTHORS COPYING MAINTAINERS NEWS'" - autotools.rawInstall("DESTDIR=%s %s %s" % (get.installDIR(), data, doc)) + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + # unneeded systemd service file + pisitools.removeDir("/usr/lib/systemd") + + # data = "nodist_systemd_user_DATA = ''" + # doc = "zeitgeistdoc_DATA = 'AUTHORS COPYING MAINTAINERS NEWS'" + # autotools.rawInstall("DESTDIR=%s %s %s" % (get.installDIR(), data, doc)) diff --git a/util/admin/zeitgeist/pspec.xml b/util/admin/zeitgeist/pspec.xml index dc8b2b0650..ea1e5615b4 100644 --- a/util/admin/zeitgeist/pspec.xml +++ b/util/admin/zeitgeist/pspec.xml @@ -53,8 +53,16 @@ /etc /usr/bin /usr/libexec - /usr/lib - /usr/share + + /usr/share/vala + /usr/share/bash-completion + /usr/share/man + /usr/share/zeitgeist/doc + /usr/share/zeitgeist/ontology + /usr/share/dbus-1 + /usr/lib/libzeitgeist-2.0.so* + /usr/lib/girepository-1.0 + /usr/lib/python3.11/site-packages @@ -67,6 +75,7 @@ /usr/include /usr/lib/pkgconfig + /usr/share/gir-1.0