+++ /dev/null
-From b1e82de434a7b63fe1290d0051de58350b069991 Mon Sep 17 00:00:00 2001
-From: Philip Withnall <philip@tecnocode.co.uk>
-Date: Sun, 16 Feb 2014 15:08:49 +0000
-Subject: libzeitgeist: Add a missing dependency on gio-2.0
-
-This actually makes the zeitgeist vapi file usable.
-
-Signed-off-by: Seif Lotfy <seif@lotfy.com>
----
-diff --git a/libzeitgeist/zeitgeist-2.0.deps b/libzeitgeist/zeitgeist-2.0.deps
-index ff8d39b..59eec5d 100644
---- a/libzeitgeist/zeitgeist-2.0.deps
-+++ b/libzeitgeist/zeitgeist-2.0.deps
-@@ -1 +1,2 @@
- zeitgeist-datamodel-2.0
-+gio-2.0
---
-cgit v0.9.0.2-2-gbebe
+++ /dev/null
-From 201bd67de450320520a12e2b0c465c8eb6818bd2 Mon Sep 17 00:00:00 2001
-From: Rico Tzschichholz <ricotz@ubuntu.com>
-Date: Mon, 17 Mar 2014 20:57:49 +0100
-Subject: [PATCH] WhereClause: Fix array-length to work with string.joinv of
- vala-0.24
-
----
- libzeitgeist/where-clause.vala | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/libzeitgeist/where-clause.vala b/libzeitgeist/where-clause.vala
-index a830599..d981914 100644
---- a/libzeitgeist/where-clause.vala
-+++ b/libzeitgeist/where-clause.vala
-@@ -211,7 +211,11 @@ namespace Zeitgeist
- */
- private T[] generic_array_to_unowned_array<T> (GenericArray<T> gptrarr)
- {
-+#if VALA_0_24
-+ long[] pointers = new long[gptrarr.length];
-+#else
- long[] pointers = new long[gptrarr.length + 1];
-+#endif
- Memory.copy(pointers, ((PtrArray *) gptrarr)->pdata,
- (gptrarr.length) * sizeof (void *));
- return (T[]) pointers;
---
-2.3.0
-
+++ /dev/null
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-AUTOTOOLS_AUTORECONF=true
-PYTHON_COMPAT=( python2_7 )
-VALA_MIN_API_VERSION=0.22
-
-inherit autotools-utils bash-completion-r1 eutils python-r1 vala versionator
-
-DIR_PV=$(get_version_component_range 1-2)
-
-DESCRIPTION="Service to log activities and present to other apps"
-HOMEPAGE="https://launchpad.net/zeitgeist/"
-SRC_URI="https://launchpad.net/zeitgeist/${DIR_PV}/${PV}/+download/${P}.tar.xz
- https://dev.gentoo.org/~eva/distfiles/${PN}/${P}.tar.xz"
-
-LICENSE="LGPL-2+ LGPL-3+ GPL-2+"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86"
-IUSE="+datahub downloads-monitor extensions +fts icu introspection nls plugins sql-debug telepathy"
-
-REQUIRED_USE="
- ${PYTHON_REQUIRED_USE}
- downloads-monitor? ( datahub )"
-
-RDEPEND="
- ${PYTHON_DEPS}
- !gnome-extra/zeitgeist-datahub
- dev-libs/json-glib
- dev-python/dbus-python[${PYTHON_USEDEP}]
- dev-python/pygobject:2[${PYTHON_USEDEP}]
- dev-python/pyxdg[${PYTHON_USEDEP}]
- dev-python/rdflib[${PYTHON_USEDEP}]
- media-libs/raptor:2
- >=dev-libs/glib-2.26.0:2
- >=dev-db/sqlite-3.7.11:3
- sys-apps/dbus
- datahub? ( x11-libs/gtk+:3 )
- extensions? ( gnome-extra/zeitgeist-extensions )
- fts? ( dev-libs/xapian[inmemory] )
- icu? ( dev-libs/dee[icu?,${PYTHON_USEDEP}] )
- introspection? ( dev-libs/gobject-introspection )
- plugins? ( gnome-extra/zeitgeist-datasources )
- telepathy? ( net-libs/telepathy-glib )
-"
-DEPEND="${RDEPEND}
- $(vala_depend)
- >=dev-util/intltool-0.35
- virtual/pkgconfig
-"
-
-src_prepare() {
- # pure-python module is better managed manually, see src_install
- sed -e 's:python::g' \
- -i Makefile.am || die
-
- # Fix direct invocation of python in configure
- epatch "${FILESDIR}"/${PN}-0.9.15-python-detection.patch
-
- # Fix vapi dependencies
- epatch "${FILESDIR}"/${PN}-0.9.14-gio-backport.patch
-
- # Fix query generation, from master
- epatch "${FILESDIR}"/${PN}-0.9.15-fix-array-length-string-join.patch
-
- autotools-utils_src_prepare
- vala_src_prepare
-}
-
-src_configure() {
- local myeconfargs=(
- --docdir="${EPREFIX}/usr/share/doc/${PF}"
- --with-session-bus-services-dir="${EPREFIX}/usr/share/dbus-1/services"
- $(use_enable sql-debug explain-queries)
- $(use_enable datahub)
- $(use_enable downloads-monitor)
- $(use_enable telepathy)
- $(use_enable introspection)
- $(use_with icu dee-icu)
- )
-
- use nls || myeconfargs+=( --disable-nls )
- use fts && myeconfargs+=( --enable-fts )
-
- python_setup
- autotools-utils_src_configure
-}
-
-src_test() {
- autotools-utils_src_test TESTS_ENVIRONMENT="dbus-run-session"
-}
-
-src_install() {
- dobashcomp data/completions/zeitgeist-daemon
- autotools-utils_src_install
- cd python || die
- python_moduleinto ${PN}
- python_foreach_impl python_domodule *py
-
- # Redundant NEWS/AUTHOR installation
- rm -r "${D}"/usr/share/zeitgeist/doc/ || die
-}