Update to 1.0.2

Among the changes it makes it compatible with newer vala
This commit is contained in:
Baptiste Daroussin 2020-09-25 13:01:30 +00:00
parent cda73aa06f
commit 6a23426340
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=550028
5 changed files with 10 additions and 32 deletions

View File

@ -3,8 +3,7 @@
# NOTE: please keep zeitgeist in sysutils/qzeitgeist in sync
PORTNAME= zeitgeist
PORTVERSION= 0.9.16
PORTREVISION= 3
PORTVERSION= 1.0.2
CATEGORIES= sysutils
MASTER_SITES= https://launchpad.net/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}/${PORTVERSION}/+download/

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1509207424
SHA256 (zeitgeist-0.9.16.tar.xz) = 6ed3e60d0cd82ea58ee134c19beccafac10eb0f71977f3848755dacbf0927d3a
SIZE (zeitgeist-0.9.16.tar.xz) = 807092
TIMESTAMP = 1601038477
SHA256 (zeitgeist-1.0.2.tar.xz) = d023b5904c7076b2701df915dd29b77e256a86d9e80ecfb92f36c9f26371a8ce
SIZE (zeitgeist-1.0.2.tar.xz) = 840360

View File

@ -1,12 +0,0 @@
--- libzeitgeist/timestamp.vala.orig 2014-07-03 07:46:47 UTC
+++ libzeitgeist/timestamp.vala
@@ -76,8 +76,7 @@ namespace Zeitgeist.Timestamp
*/
public int64 from_timeval (TimeVal timeval)
{
- var m_seconds = (int64) (timeval.tv_sec) * 1000;
- return m_seconds + ((int64) timeval.tv_usec / 1000);
+ return timeval.tv_sec * 1000 + timeval.tv_usec / 1000;
}
/**

View File

@ -1,11 +0,0 @@
--- libzeitgeist/where-clause.vala.orig 2017-09-03 19:29:23 UTC
+++ libzeitgeist/where-clause.vala
@@ -217,7 +217,7 @@ namespace Zeitgeist
long[] pointers = new long[gptrarr.length + 1];
#endif
Memory.copy(pointers, ((PtrArray *) gptrarr)->pdata,
- (gptrarr.length) * sizeof (void *));
+ gptrarr.length * sizeof (void *));
return (T[]) pointers;
}

View File

@ -1,6 +1,6 @@
bin/zeitgeist-daemon
%%DATAHUB%%bin/zeitgeist-datahub
%%DATAHUB%%etc/xdg/autostart/zeitgeist-datahub.desktop
bin/zeitgeist-datahub
etc/xdg/autostart/zeitgeist-datahub.desktop
include/zeitgeist-2.0/zeitgeist-datamodel.h
include/zeitgeist-2.0/zeitgeist.h
lib/girepository-1.0/Zeitgeist-2.0.typelib
@ -22,17 +22,19 @@ lib/libzeitgeist-2.0.so.0.0.0
%%PYTHON_SITELIBDIR%%/zeitgeist/mimetypes.py
%%PYTHON_SITELIBDIR%%/zeitgeist/mimetypes.pyc
%%PYTHON_SITELIBDIR%%/zeitgeist/mimetypes.pyo
@comment lib/systemd/user/zeitgeist.service
libdata/pkgconfig/zeitgeist-2.0.pc
man/man1/zeitgeist-daemon.1.gz
%%DATAHUB%%man/man1/zeitgeist-datahub.1.gz
man/man1/zeitgeist-datahub.1.gz
share/bash-completion/completions/zeitgeist-daemon
share/dbus-1/services/org.gnome.zeitgeist.service
share/dbus-1/services/org.gnome.zeitgeist.Engine.service
share/gir-1.0/Zeitgeist-2.0.gir
share/vala/vapi/zeitgeist-2.0.deps
share/vala/vapi/zeitgeist-2.0.vapi
share/vala/vapi/zeitgeist-datamodel-2.0.vapi
%%DATADIR%%/doc/AUTHORS
%%DATADIR%%/doc/NEWS
%%DATADIR%%/doc/README.md
%%DATADIR%%/ontology/nao.trig
%%DATADIR%%/ontology/ncal.trig
%%DATADIR%%/ontology/nco.trig