summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2012-02-16 07:46:28 +0000
committerJustin Lecher <jlec@gentoo.org>2012-02-16 07:46:28 +0000
commit80e62acf2082178a70e4c96d1fea56a421d37d75 (patch)
treec1945f7937112a7d61aab201f345f0dcbfabbe79 /gnome-extra
parentDepend on gnome-settings-daemon[policykit] (bug #403527 comment #2). (diff)
downloadgentoo-2-80e62acf2082178a70e4c96d1fea56a421d37d75.tar.gz
gentoo-2-80e62acf2082178a70e4c96d1fea56a421d37d75.tar.bz2
gentoo-2-80e62acf2082178a70e4c96d1fea56a421d37d75.zip
Initial addition, written by me
(Portage version: 2.2.0_alpha86/cvs/Linux x86_64)
Diffstat (limited to 'gnome-extra')
-rw-r--r--gnome-extra/zeitgeist-extensions/ChangeLog10
-rw-r--r--gnome-extra/zeitgeist-extensions/Manifest4
-rw-r--r--gnome-extra/zeitgeist-extensions/metadata.xml20
-rw-r--r--gnome-extra/zeitgeist-extensions/zeitgeist-extensions-0.0.13.ebuild64
4 files changed, 98 insertions, 0 deletions
diff --git a/gnome-extra/zeitgeist-extensions/ChangeLog b/gnome-extra/zeitgeist-extensions/ChangeLog
new file mode 100644
index 000000000000..1d0ffb5c9dc6
--- /dev/null
+++ b/gnome-extra/zeitgeist-extensions/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for gnome-extra/zeitgeist-extensions
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/zeitgeist-extensions/ChangeLog,v 1.1 2012/02/16 07:46:28 jlec Exp $
+
+*zeitgeist-extensions-0.0.13 (16 Feb 2012)
+
+ 16 Feb 2012; Justin Lecher <jlec@gentoo.org>
+ +zeitgeist-extensions-0.0.13.ebuild, +metadata.xml:
+ Initial addition, written by me
+
diff --git a/gnome-extra/zeitgeist-extensions/Manifest b/gnome-extra/zeitgeist-extensions/Manifest
new file mode 100644
index 000000000000..520e22285437
--- /dev/null
+++ b/gnome-extra/zeitgeist-extensions/Manifest
@@ -0,0 +1,4 @@
+DIST zeitgeist-extensions-0.0.13.tar.gz 30700 RMD160 d6b03b7a8fc9cae81831b3e4c2e4b21d45dbcbcf SHA1 01cb6a4b0b3e46cbd8630ec340ce35bd605dac3c SHA256 c8a93b419c7f81fad2dcda2aa40ae4a610432b971d7deca20bcd1451bd841d65
+EBUILD zeitgeist-extensions-0.0.13.ebuild 1529 RMD160 406f555c0d8a3cff5fd64d4eb06cc2fe07787d28 SHA1 b176242ad8c6f5ee4626c213f4802be3ae71477a SHA256 c6f27ab0985bc631fefd3c3ab9101a40dc1943470a6f3d3a40990bca957f928d
+MISC ChangeLog 313 RMD160 347dfe19ee6be3208c6c65df81bc371289b4e008 SHA1 5355bc121806edd20bf2563f1e549da92f961edf SHA256 d93c8875ba440cae14cdca7c81785a5195db52f662eccc36ea7a7a5fd738c6c0
+MISC metadata.xml 825 RMD160 f52fa60e7aeeb87c3161dab2bb90a5deccde5199 SHA1 b0894c0d37cfb031c235d03eaa2ed98e0587405b SHA256 e1b0db9d04a1b2772cbbe3803d02ecd451d1206a172139fa5d3ae2e2462d3966
diff --git a/gnome-extra/zeitgeist-extensions/metadata.xml b/gnome-extra/zeitgeist-extensions/metadata.xml
new file mode 100644
index 000000000000..4d4ab4b20036
--- /dev/null
+++ b/gnome-extra/zeitgeist-extensions/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>gnome</herd>
+ <maintainer>
+ <email>jlec@gentoo.org</email>
+ </maintainer>
+ <longdescription>
+The Extensions allow manipulating events before/after insertion as well as
+before fetching from the engine. They run in the Zeitgeist process. Default
+Extension are Blacklists and Datasource Registery.
+</longdescription>
+ <use>
+ <flag name="fts">Enable the full text search</flag>
+ <flag name="geolocation">Add the physical location of the computer at the moment when events are inserted</flag>
+ <flag name="memprofile">Memory profiling extension</flag>
+ <flag name="sqldebug">debug zeitgeists sql statements</flag>
+ <flag name="tracker">Notify Tracker on events</flag>
+ </use>
+</pkgmetadata>
diff --git a/gnome-extra/zeitgeist-extensions/zeitgeist-extensions-0.0.13.ebuild b/gnome-extra/zeitgeist-extensions/zeitgeist-extensions-0.0.13.ebuild
new file mode 100644
index 000000000000..d0616dc1d042
--- /dev/null
+++ b/gnome-extra/zeitgeist-extensions/zeitgeist-extensions-0.0.13.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/zeitgeist-extensions/zeitgeist-extensions-0.0.13.ebuild,v 1.1 2012/02/16 07:46:28 jlec Exp $
+
+EAPI=4
+
+PYTHON_DEPEND="2"
+PYTHON_USE_WITH="sqlite"
+
+inherit python
+
+DESCRIPTION="Extensions to the engine such as Teamgeist, Relevancy Providers and Machine Learning Algorithms"
+HOMEPAGE="https://launchpad.net/zeitgeist-extensions/"
+SRC_URI="http://launchpad.net/${PN}/trunk/fts-${PV}/+download/${P}.tar.gz"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+LICENSE="GPL-3"
+IUSE="fts geolocation memprofile sqldebug tracker"
+
+RDEPEND="
+ fts? (
+ dev-libs/xapian-bindings[python]
+ dev-python/dbus-python
+ dev-python/pygobject
+ dev-python/pyxdg
+ )
+ geolocation? (
+ dev-python/dbus-python
+ dev-python/python-geoclue
+ )
+ memprofile? (
+ dev-python/dbus-python
+ )
+ sqldebug? ( dev-python/python-sqlparse )
+ tracker? (
+ app-misc/tracker
+ dev-python/pygobject
+ dev-python/dbus-python
+ )"
+DEPEND=""
+
+src_install() {
+ insinto /usr/share/zeitgeist/_zeitgeist/engine/extensions
+ use fts && doins ./fts/fts.py
+ if use geolocation; then
+ dodoc ./geolocation/example.py
+ doins ./geolocation/geolocation.py
+ fi
+ if use memprofile; then
+ doins ./memory-profile/profile_memory.py
+ newdoc ./memory-profile/README README-memprofile
+ fi
+ use sqldebug && doins ./debug_sql/debug_sql.py
+ use tracker && doins ./tracker/tracker.py
+}
+
+pkg_postinst() {
+ python_mod_optimize /usr/share/zeitgeist/_zeitgeist/engine/extensions
+}
+
+pkg_postrm() {
+ python_mod_cleanup /usr/share/zeitgeist/_zeitgeist/engine/extensions
+}