zeitgeist rebuild.

This commit is contained in:
uglyside
2025-06-15 11:08:17 +03:00
parent 748aafb6c8
commit 7eee93328a
5 changed files with 176 additions and 130 deletions
+7 -7
View File
@@ -4,16 +4,16 @@
# 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, pisitools, get
from pisi.actionsapi import shelltools, autotools, get
def setup():
shelltools.system("NOCONFIGURE=1 ./autogen.sh")
autotools.configure("--enable-fts")
shelltools.system("NOCONFIGURE=1 ./autogen.sh")
autotools.configure("--enable-fts --enable-datahub")
def build():
autotools.make()
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
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))
@@ -0,0 +1,39 @@
From 1be2a5fff77cdf61c843edc8356dfdef3fd2dbfc Mon Sep 17 00:00:00 2001
From: Rico Tzschichholz <ricotz@ubuntu.com>
Date: Fri, 9 Sep 2022 14:49:27 +0200
Subject: [PATCH] datahub: Fix wrong parameter for Event.full() ctor
Thanks to Mamoru TASAKA
Fixes https://gitlab.freedesktop.org/zeitgeist/zeitgeist/issues/19
---
datahub/telepathy-observer.vala | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/datahub/telepathy-observer.vala b/datahub/telepathy-observer.vala
index cd670d06..bb34581c 100644
--- a/datahub/telepathy-observer.vala
+++ b/datahub/telepathy-observer.vala
@@ -96,8 +96,7 @@ public class TelepathyObserver : DataProvider
ZG.ACCESS_EVENT,
"",
actor,
- null,
- obj_path);
+ null, null);
/*
* Whether user initiated the chat or not
@@ -217,8 +216,7 @@ public class TelepathyObserver : DataProvider
ZG.ACCESS_EVENT,
ZG.USER_ACTIVITY,
actor,
- null,
- obj_path);
+ null, null);
if (!channel.requested)
event_template.manifestation = ZG.WORLD_ACTIVITY;
/*
--
GitLab
@@ -0,0 +1,27 @@
From 33ab4cce74857f928382ba6cfada111a64dafe88 Mon Sep 17 00:00:00 2001
From: Rico Tzschichholz <ricotz@ubuntu.com>
Date: Wed, 11 Jan 2023 11:01:45 +0100
Subject: [PATCH] python: Replace getargspec with getfullargspec
Fixes https://gitlab.freedesktop.org/zeitgeist/zeitgeist/issues/26
---
python/client.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/python/client.py b/python/client.py
index 39b2fb0a..25d81c53 100644
--- a/python/client.py
+++ b/python/client.py
@@ -1097,7 +1097,7 @@ class ZeitgeistClient(object):
if callable(normal_reply_handler):
normal_reply_handler(normal_reply_data)
-_FIND_EVENTS_FOR_TEMPLATES_ARGS = inspect.getargspec(
- ZeitgeistClient.find_events_for_templates)[0]
+_FIND_EVENTS_FOR_TEMPLATES_ARGS = inspect.getfullargspec(
+ ZeitgeistClient.find_events_for_templates).args
# vim:noexpandtab:ts=4:sw=4
--
GitLab
@@ -1,25 +0,0 @@
From 64ac3a6f94cd299e5e14945dc31b48f009dec152 Mon Sep 17 00:00:00 2001
From: Rico Tzschichholz <ricotz@ubuntu.com>
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
+103 -98
View File
@@ -1,106 +1,111 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>zeitgeist</Name>
<Homepage>https://zeitgeist.freedesktop.org/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>LGPL-2.1</License>
<IsA>library</IsA>
<PartOf>util.admin</PartOf>
<Summary>Activity logging framework.</Summary>
<Description>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.</Description>
<Archive sha1sum="15def247e8aa94d5259ed4dacd596e3645be225b" type="tarbz2">
https://gitlab.freedesktop.org/zeitgeist/zeitgeist/-/archive/v1.0.4/zeitgeist-v1.0.4.tar.bz2
</Archive>
<BuildDependencies>
<Dependency>dbus-devel</Dependency>
<Dependency>gtk3-devel</Dependency>
<Dependency>vala-devel</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>sqlite-devel</Dependency>
<Dependency>python3-six</Dependency>
<Dependency>python3-devel</Dependency>
<Dependency>python3-rdflib</Dependency>
<Dependency>python3-isodate</Dependency>
<Dependency>json-glib-devel</Dependency>
<Dependency>python3-pyparsing</Dependency>
<Dependency>xapian-core-devel</Dependency>
<Dependency>telepathy-glib-devel</Dependency>
<Dependency>gobject-introspection-devel</Dependency>
</BuildDependencies>
<Patches>
<!-- <Patch level='1'>Use_GenericArray_API_only.patch</Patch> -->
</Patches>
</Source>
<Source>
<Name>zeitgeist</Name>
<Homepage>https://zeitgeist.freedesktop.org/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>LGPLv2.1</License>
<PartOf>util.admin</PartOf>
<Summary>Activity logging framework.</Summary>
<Description>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.</Description>
<Archive sha1sum="15def247e8aa94d5259ed4dacd596e3645be225b" type="tarbz2">https://gitlab.freedesktop.org/zeitgeist/zeitgeist/-/archive/v1.0.4/zeitgeist-v1.0.4.tar.bz2</Archive>
<BuildDependencies>
<Dependency>dbus-devel</Dependency>
<Dependency>gtk3-devel</Dependency>
<Dependency>vala-devel</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>python3-six</Dependency>
<Dependency>sqlite-devel</Dependency>
<Dependency>python3-devel</Dependency>
<Dependency>python3-rdflib</Dependency>
<Dependency>python3-isodate</Dependency>
<Dependency>json-glib-devel</Dependency>
<Dependency>python3-pyparsing</Dependency>
<Dependency>xapian-core-devel</Dependency>
<Dependency>telepathy-glib-devel</Dependency>
<Dependency>gobject-introspection-devel</Dependency>
</BuildDependencies>
<Patches>
<!-- <Patch level='1'></Patch> -->
<Patch level='1'>Fix_wrong_parameter_for_Event.full()_ctor.patch</Patch>
<Patch level='1'>Replace_getargspec_with_getfullargspec.patch</Patch>
</Patches>
</Source>
<Package>
<Name>zeitgeist</Name>
<RuntimeDependencies>
<Dependency>gtk3</Dependency>
<Dependency>glib2</Dependency>
<Dependency>sqlite</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>python3</Dependency>
<Dependency>json-glib</Dependency>
<Dependency>xapian-core</Dependency>
<Dependency>dbus-python3</Dependency>
<Dependency>telepathy-glib</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="config">/etc/xdg</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="executable">/usr/libexec/zeitgeist/zeitgeist-fts</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share</Path>
<Path fileType="man">/usr/share/man</Path>
</Files>
</Package>
<Package>
<Name>zeitgeist</Name>
<RuntimeDependencies>
<Dependency>gtk3</Dependency>
<Dependency>glib2</Dependency>
<Dependency>sqlite</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>python3</Dependency>
<Dependency>json-glib</Dependency>
<Dependency>xapian-core</Dependency>
<Dependency>dbus-python3</Dependency>
<Dependency>telepathy-glib</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="config">/etc</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="executable">/usr/libexec/zeitgeist/zeitgeist-fts</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share</Path>
</Files>
</Package>
<Package>
<Name>zeitgeist-devel</Name>
<RuntimeDependencies>
<Dependency release='current'>zeitgeist</Dependency>
<Dependency>glib2-devel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<Package>
<Name>zeitgeist-devel</Name>
<RuntimeDependencies>
<Dependency release='current'>zeitgeist</Dependency>
<Dependency>glib2-devel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="4">
<Date>2023-11-04</Date>
<Version>1.0.4</Version>
<Comment>Rebuild.</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
<Update release="3">
<Date>2022-12-28</Date>
<Version>1.0.4</Version>
<Comment>Rebuild.</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
<Update release="2">
<Date>2022-01-18</Date>
<Version>1.0.4</Version>
<Comment>Version bump</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
<Update release="1">
<Date>2021-10-13</Date>
<Version>1.0.3</Version>
<Comment>First build</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
</History>
<History>
<Update release="5">
<Date>2025-06-15</Date>
<Version>1.0.4</Version>
<Comment>Rebuild.</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2023-11-04</Date>
<Version>1.0.4</Version>
<Comment>Rebuild.</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
<Update release="3">
<Date>2022-12-28</Date>
<Version>1.0.4</Version>
<Comment>Rebuild.</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
<Update release="2">
<Date>2022-01-18</Date>
<Version>1.0.4</Version>
<Comment>Version bump</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
<Update release="1">
<Date>2021-10-13</Date>
<Version>1.0.3</Version>
<Comment>First build</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
</History>
</PISI>