Add USE_LDCONFIG

Add TIMESTAMP

Fix build with vala 0.36

Update WWW in pkg-descr

Pet portlint

PR:		222033, 221941
Submitted by:	cpm
Approved by:	maintainer timeout (13 weeks)
This commit is contained in:
Don Lewis 2018-01-24 07:20:10 +00:00
parent 92dfcf9c2e
commit 62b124f601
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=459819
5 changed files with 29 additions and 3 deletions

View file

@ -4,6 +4,7 @@
PORTNAME= zeitgeist
PORTVERSION= 0.9.16
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= https://launchpad.net/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}/${PORTVERSION}/+download/
@ -20,9 +21,10 @@ BUILD_DEPENDS= valac:lang/vala \
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/xdg/__init__.py:devel/py-xdg@${PY_FLAVOR} \
${PYTHON_SITELIBDIR}/dbus/__init__.py:devel/py-dbus@${PY_FLAVOR}
USE_GNOME= intlhack glib20 introspection:build
GNU_CONFIGURE= yes
USES= gmake gettext pathfix python:2 pkgconfig libtool sqlite tar:xz
USE_GNOME= intlhack glib20 introspection:build
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip

View file

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

View file

@ -0,0 +1,12 @@
--- 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

@ -0,0 +1,11 @@
--- 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

@ -3,4 +3,4 @@ Zeitgeist is a service which logs the users's activities and events
and makes relevant information available to other applications. It is able to
establish relationships between items based on similarity and usage patterns.
WWW: http://zeitgeist-project.com
WWW: https://wiki.gnome.org/Projects/Zeitgeist