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
@@ -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