From ed7356e4c3fba76214dc4b613b409623d2ee466a Mon Sep 17 00:00:00 2001 From: 4fury-c3440d8 Date: Wed, 13 Oct 2021 19:14:55 +0300 Subject: [PATCH] zeitgeist logging framework. --- util/admin/zeitgeist/actions.py | 19 +++++ .../files/Use_GenericArray_API_only.patch | 25 ++++++ util/admin/zeitgeist/pspec.xml | 81 +++++++++++++++++++ 3 files changed, 125 insertions(+) create mode 100644 util/admin/zeitgeist/actions.py create mode 100644 util/admin/zeitgeist/files/Use_GenericArray_API_only.patch create mode 100644 util/admin/zeitgeist/pspec.xml diff --git a/util/admin/zeitgeist/actions.py b/util/admin/zeitgeist/actions.py new file mode 100644 index 0000000000..808a3591c3 --- /dev/null +++ b/util/admin/zeitgeist/actions.py @@ -0,0 +1,19 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# 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 + +def setup(): + shelltools.system("NOCONFIGURE=1 ./autogen.sh") + autotools.configure() + +def build(): + autotools.make() + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + +# pisitools.dodoc("AUTHORS", "NEWS") diff --git a/util/admin/zeitgeist/files/Use_GenericArray_API_only.patch b/util/admin/zeitgeist/files/Use_GenericArray_API_only.patch new file mode 100644 index 0000000000..76cdcc4723 --- /dev/null +++ b/util/admin/zeitgeist/files/Use_GenericArray_API_only.patch @@ -0,0 +1,25 @@ +From 64ac3a6f94cd299e5e14945dc31b48f009dec152 Mon Sep 17 00:00:00 2001 +From: Rico Tzschichholz +Date: Wed, 30 Dec 2020 16:50:32 +0100 +Subject: [PATCH] Use GenericArray API only + +--- + libzeitgeist/where-clause.vala | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libzeitgeist/where-clause.vala b/libzeitgeist/where-clause.vala +index 204e9b1a..c3e6fa62 100644 +--- a/libzeitgeist/where-clause.vala ++++ b/libzeitgeist/where-clause.vala +@@ -216,7 +216,7 @@ namespace Zeitgeist + #else + long[] pointers = new long[gptrarr.length + 1]; + #endif +- Memory.copy(pointers, ((PtrArray *) gptrarr)->pdata, ++ Memory.copy(pointers, (void*) gptrarr.data, + gptrarr.length * sizeof (void *)); + return (T[]) pointers; + } +-- +GitLab + diff --git a/util/admin/zeitgeist/pspec.xml b/util/admin/zeitgeist/pspec.xml new file mode 100644 index 0000000000..02736949db --- /dev/null +++ b/util/admin/zeitgeist/pspec.xml @@ -0,0 +1,81 @@ + + + + + zeitgeist + https://zeitgeist.freedesktop.org/ + + fury + uglyside@yandex.ru + + LGPL-2.1 + library + util.admin + Activity logging framework. + Zeitgeist is a service which logs the users's activities and events (files opened, websites visites, conversations held with other people, etc.) and makes relevant information available to other applications. + + https://gitlab.freedesktop.org/zeitgeist/zeitgeist/-/archive/v1.0.3/zeitgeist-v1.0.3.tar.bz2 + + + dbus-devel + gtk3-devel + vala-devel + glib2-devel + sqlite-devel + python3-six + python3-devel + python3-rdflib + python3-isodate + json-glib-devel + python3-pyparsing + telepathy-glib-devel + gobject-introspection-devel + + + Use_GenericArray_API_only.patch + + + + + zeitgeist + + gtk3 + glib2 + sqlite + python3 + json-glib + dbus-python3 + telepathy-glib + + + /etc/xdg + /usr/bin + /usr/lib + /usr/share + /usr/share/man + + + + + zeitgeist-devel + + zeitgeist + glib2-devel + + + /usr/include + /usr/lib/pkgconfig + + + + + + 2021-10-13 + 1.0.3 + First build. + fury + uglyside@yandex.ru + + + +