diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /gnome-extra/zeitgeist | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'gnome-extra/zeitgeist')
7 files changed, 315 insertions, 0 deletions
diff --git a/gnome-extra/zeitgeist/Manifest b/gnome-extra/zeitgeist/Manifest new file mode 100644 index 000000000000..133dde31364d --- /dev/null +++ b/gnome-extra/zeitgeist/Manifest @@ -0,0 +1,2 @@ +DIST zeitgeist-0.9.15.tar.xz 812972 SHA256 f3092aed4b2d28a8e55c93116ba1926f86b397aecbea499c7849bd4b30d97ebe SHA512 bec7e206d982b7d6a055600cd9acb84811c8f717b6328032a7179e984fd0e5fa691c2272a21c4442fac0a471f615ed4d1fde6d5d6e1ba3e106cae2b2bdf26025 WHIRLPOOL f72fb0823476b5b74ca5e8b3b44f010843d2af21cbb0882c8d3d1bbbd1f4f4b81777d191dcfd1243a69d5ae2508c391aa4a6bb260a6f549d340a2d4b7b94026b +DIST zeitgeist-0.9.16.tar.xz 807092 SHA256 6ed3e60d0cd82ea58ee134c19beccafac10eb0f71977f3848755dacbf0927d3a SHA512 eb28215c937b71c8cec12f55236db4281ad529b2854ecb3c093477d45cd8348c6ea764e2cf00a99d41645b27b685a5325f0631b318409735b578a5871087b0f1 WHIRLPOOL 7ad3f528ffa938d14e9fbfe3f4e94ac5ad06bc48b13e261a0e8f43b88a9750a41d5e9212da7cc492f7c0197a4b12391d58e3f51a2a18a85b2663414332434c9b diff --git a/gnome-extra/zeitgeist/files/zeitgeist-0.9.14-gio-backport.patch b/gnome-extra/zeitgeist/files/zeitgeist-0.9.14-gio-backport.patch new file mode 100644 index 000000000000..178215ddbf13 --- /dev/null +++ b/gnome-extra/zeitgeist/files/zeitgeist-0.9.14-gio-backport.patch @@ -0,0 +1,18 @@ +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 diff --git a/gnome-extra/zeitgeist/files/zeitgeist-0.9.15-fix-array-length-string-join.patch b/gnome-extra/zeitgeist/files/zeitgeist-0.9.15-fix-array-length-string-join.patch new file mode 100644 index 000000000000..857df8a11856 --- /dev/null +++ b/gnome-extra/zeitgeist/files/zeitgeist-0.9.15-fix-array-length-string-join.patch @@ -0,0 +1,29 @@ +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 + diff --git a/gnome-extra/zeitgeist/files/zeitgeist-0.9.15-python-detection.patch b/gnome-extra/zeitgeist/files/zeitgeist-0.9.15-python-detection.patch new file mode 100644 index 000000000000..79184f70a2ba --- /dev/null +++ b/gnome-extra/zeitgeist/files/zeitgeist-0.9.15-python-detection.patch @@ -0,0 +1,38 @@ +From dd46d6f8db69ee8d291d63251d841e73070cd526 Mon Sep 17 00:00:00 2001 +From: Gilles Dartiguelongue <eva@gentoo.org> +Date: Sun, 4 Jan 2015 00:09:14 +0100 +Subject: [PATCH] Make python module detection match detected python + +Some distribution might provided multiple python and configure can know +about which exactly though AM_PATH_PYTHON. +--- + configure.ac | 11 ++++++----- + 1 file changed, 6 insertions(+), 5 deletions(-) + +diff --git a/configure.ac b/configure.ac +index acf7daa..6136ad6 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -269,13 +269,14 @@ if test "x$HAVE_RAPPER" = "xno"; then + fi + + # check for python-rdflib ++AM_PATH_PYTHON([2.7]) ++ + AC_MSG_CHECKING([for python-rdflib]) +-echo "import rdflib" | python - 2>/dev/null +-if test $? -ne 0 ; then +- AC_MSG_FAILURE([failed. Please install the python-rdflib package.]) +-else ++AS_IF([$PYTHON -c "import rdflib" 2>/dev/null], [ + AC_MSG_RESULT([yes]) +-fi ++], [ ++ AC_MSG_FAILURE([failed. Please install the python-rdflib package.]) ++]) + + ################################################# + # Summary +-- +2.3.0 + diff --git a/gnome-extra/zeitgeist/metadata.xml b/gnome-extra/zeitgeist/metadata.xml new file mode 100644 index 000000000000..c7101ef2abbc --- /dev/null +++ b/gnome-extra/zeitgeist/metadata.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>desktop-misc</herd> + <maintainer> + <email>jlec@gentoo.org</email> + </maintainer> + <longdescription> +The engine is the main module that accepts all incoming events and allows +applications to fetch as well as subscribe to be notified when events +are logged. It is the heart of Zeitgeist. +</longdescription> + <use> + <flag name="datahub">Use build datahub for passive event injection</flag> + <flag name="extensions">Use <pkg>gnome-extra/zeitgeist-extentions</pkg> to enhance the internal routines</flag> + <flag name="downloads-monitor">Monitor the XDG_DOWNLOAD_DIRECTORY</flag> + <flag name="fts">Enable the full text search extension</flag> + <flag name="plugins">Use <pkg>gnome-extra/zeitgeist-datasources</pkg> to enable numerous packages to inject events</flag> + <flag name="sql-debug">Enable SQL debugging</flag> + <flag name="telepathy">Enable telepathy framework as data source</flag> + </use> + <upstream> + <remote-id type="launchpad">zeitgeist</remote-id> + </upstream> +</pkgmetadata> diff --git a/gnome-extra/zeitgeist/zeitgeist-0.9.15.ebuild b/gnome-extra/zeitgeist/zeitgeist-0.9.15.ebuild new file mode 100644 index 000000000000..d09bf5a43420 --- /dev/null +++ b/gnome-extra/zeitgeist/zeitgeist-0.9.15.ebuild @@ -0,0 +1,104 @@ +# 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="http://launchpad.net/zeitgeist/" +SRC_URI="http://launchpad.net/zeitgeist/${DIR_PV}/${PV}/+download/${P}.tar.xz + http://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 +} diff --git a/gnome-extra/zeitgeist/zeitgeist-0.9.16.ebuild b/gnome-extra/zeitgeist/zeitgeist-0.9.16.ebuild new file mode 100644 index 000000000000..ea851a835f0f --- /dev/null +++ b/gnome-extra/zeitgeist/zeitgeist-0.9.16.ebuild @@ -0,0 +1,99 @@ +# 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="http://launchpad.net/zeitgeist/" +SRC_URI="http://launchpad.net/zeitgeist/${DIR_PV}/${PV}/+download/${P}.tar.xz + http://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.35.4: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 + + 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 +} |