Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jan 2018 07:20:10 +0000 (UTC)
From:      Don Lewis <truckman@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r459819 - in head/sysutils/zeitgeist: . files
Message-ID:  <201801240720.w0O7KArn043940@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: truckman
Date: Wed Jan 24 07:20:10 2018
New Revision: 459819
URL: https://svnweb.freebsd.org/changeset/ports/459819

Log:
  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)

Added:
  head/sysutils/zeitgeist/files/
  head/sysutils/zeitgeist/files/patch-libzeitgeist_timestamp.vala   (contents, props changed)
  head/sysutils/zeitgeist/files/patch-libzeitgeist_where-clause.vala   (contents, props changed)
Modified:
  head/sysutils/zeitgeist/Makefile
  head/sysutils/zeitgeist/distinfo
  head/sysutils/zeitgeist/pkg-descr

Modified: head/sysutils/zeitgeist/Makefile
==============================================================================
--- head/sysutils/zeitgeist/Makefile	Wed Jan 24 07:18:38 2018	(r459818)
+++ head/sysutils/zeitgeist/Makefile	Wed Jan 24 07:20:10 2018	(r459819)
@@ -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}
 
+USES=		gmake gettext pathfix python:2 pkgconfig libtool sqlite tar:xz
 USE_GNOME=	intlhack glib20 introspection:build
+USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
-USES=		gmake gettext pathfix python:2 pkgconfig libtool sqlite tar:xz
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 INSTALL_TARGET=	install-strip

Modified: head/sysutils/zeitgeist/distinfo
==============================================================================
--- head/sysutils/zeitgeist/distinfo	Wed Jan 24 07:18:38 2018	(r459818)
+++ head/sysutils/zeitgeist/distinfo	Wed Jan 24 07:20:10 2018	(r459819)
@@ -1,2 +1,3 @@
+TIMESTAMP = 1509207424
 SHA256 (zeitgeist-0.9.16.tar.xz) = 6ed3e60d0cd82ea58ee134c19beccafac10eb0f71977f3848755dacbf0927d3a
 SIZE (zeitgeist-0.9.16.tar.xz) = 807092

Added: head/sysutils/zeitgeist/files/patch-libzeitgeist_timestamp.vala
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/zeitgeist/files/patch-libzeitgeist_timestamp.vala	Wed Jan 24 07:20:10 2018	(r459819)
@@ -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;
+     }
+ 
+     /**

Added: head/sysutils/zeitgeist/files/patch-libzeitgeist_where-clause.vala
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/zeitgeist/files/patch-libzeitgeist_where-clause.vala	Wed Jan 24 07:20:10 2018	(r459819)
@@ -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;
+         }
+ 

Modified: head/sysutils/zeitgeist/pkg-descr
==============================================================================
--- head/sysutils/zeitgeist/pkg-descr	Wed Jan 24 07:18:38 2018	(r459818)
+++ head/sysutils/zeitgeist/pkg-descr	Wed Jan 24 07:20:10 2018	(r459819)
@@ -3,4 +3,4 @@ Zeitgeist is a service which logs the users's activiti
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801240720.w0O7KArn043940>