Gentoo Archives: gentoo-commits

From: "Gilles Dartiguelongue (eva)" <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in gnome-extra/zeitgeist: ChangeLog zeitgeist-0.9.15.ebuild
Date: Tue, 03 Mar 2015 23:48:40
Message-Id: 20150303234832.41DCB12FBD@oystercatcher.gentoo.org
1 eva 15/03/03 23:48:32
2
3 Modified: ChangeLog
4 Added: zeitgeist-0.9.15.ebuild
5 Log:
6 Version bump, fix bug #518174. Move vala_src_prepare call after potential eautoreconf, fix configure to properly detect/use python, make unittest run within a dbus session, do not install docs in multiple paths.
7
8 (Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key C6085806)
9
10 Revision Changes Path
11 1.44 gnome-extra/zeitgeist/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/zeitgeist/ChangeLog?rev=1.44&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/zeitgeist/ChangeLog?rev=1.44&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/zeitgeist/ChangeLog?r1=1.43&r2=1.44
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/gnome-extra/zeitgeist/ChangeLog,v
20 retrieving revision 1.43
21 retrieving revision 1.44
22 diff -u -r1.43 -r1.44
23 --- ChangeLog 4 Jul 2014 02:32:45 -0000 1.43
24 +++ ChangeLog 3 Mar 2015 23:48:32 -0000 1.44
25 @@ -1,6 +1,15 @@
26 # ChangeLog for gnome-extra/zeitgeist
27 -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/zeitgeist/ChangeLog,v 1.43 2014/07/04 02:32:45 patrick Exp $
29 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/zeitgeist/ChangeLog,v 1.44 2015/03/03 23:48:32 eva Exp $
31 +
32 +*zeitgeist-0.9.15 (03 Mar 2015)
33 +
34 + 03 Mar 2015; Gilles Dartiguelongue <eva@g.o> +zeitgeist-0.9.15.ebuild,
35 + +files/zeitgeist-0.9.15-fix-array-length-string-join.patch,
36 + +files/zeitgeist-0.9.15-python-detection.patch:
37 + Version bump, fix bug #518174. Move vala_src_prepare call after potential
38 + eautoreconf, fix configure to properly detect/use python, make unittest run
39 + within a dbus session, do not install docs in multiple paths.
40
41 04 Jul 2014; Patrick Lauer <patrick@g.o> metadata.xml:
42 Remove unneeded useflag description from metadata.xml
43
44
45
46 1.1 gnome-extra/zeitgeist/zeitgeist-0.9.15.ebuild
47
48 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/zeitgeist/zeitgeist-0.9.15.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/zeitgeist/zeitgeist-0.9.15.ebuild?rev=1.1&content-type=text/plain
50
51 Index: zeitgeist-0.9.15.ebuild
52 ===================================================================
53 # Copyright 1999-2015 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/gnome-extra/zeitgeist/zeitgeist-0.9.15.ebuild,v 1.1 2015/03/03 23:48:32 eva Exp $
56
57 EAPI=5
58 AUTOTOOLS_AUTORECONF=true
59 PYTHON_COMPAT=( python2_7 )
60 VALA_MIN_API_VERSION=0.22
61
62 inherit autotools-utils bash-completion-r1 eutils python-r1 vala versionator
63
64 DIR_PV=$(get_version_component_range 1-2)
65
66 DESCRIPTION="Service to log activities and present to other apps"
67 HOMEPAGE="http://launchpad.net/zeitgeist/"
68 SRC_URI="http://launchpad.net/zeitgeist/${DIR_PV}/${PV}/+download/${P}.tar.xz
69 http://dev.gentoo.org/~eva/distfiles/${PN}/${P}.tar.xz"
70
71 LICENSE="LGPL-2+ LGPL-3+ GPL-2+"
72 SLOT="0"
73 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
74 IUSE="+datahub downloads-monitor extensions +fts icu introspection nls plugins sql-debug telepathy"
75
76 REQUIRED_USE="
77 ${PYTHON_REQUIRED_USE}
78 downloads-monitor? ( datahub )"
79
80 RDEPEND="
81 ${PYTHON_DEPS}
82 !gnome-extra/zeitgeist-datahub
83 dev-libs/json-glib
84 dev-python/dbus-python[${PYTHON_USEDEP}]
85 dev-python/pygobject:2[${PYTHON_USEDEP}]
86 dev-python/pyxdg[${PYTHON_USEDEP}]
87 dev-python/rdflib[${PYTHON_USEDEP}]
88 media-libs/raptor:2
89 >=dev-libs/glib-2.26.0:2
90 >=dev-db/sqlite-3.7.11:3
91 sys-apps/dbus
92 datahub? ( x11-libs/gtk+:3 )
93 extensions? ( gnome-extra/zeitgeist-extensions )
94 fts? ( dev-libs/xapian[inmemory] )
95 icu? ( dev-libs/dee[icu?,${PYTHON_USEDEP}] )
96 introspection? ( dev-libs/gobject-introspection )
97 plugins? ( gnome-extra/zeitgeist-datasources )
98 telepathy? ( net-libs/telepathy-glib )
99 "
100 DEPEND="${RDEPEND}
101 $(vala_depend)
102 >=dev-util/intltool-0.35
103 virtual/pkgconfig
104 "
105
106 src_prepare() {
107 # pure-python module is better managed manually, see src_install
108 sed -e 's:python::g' \
109 -i Makefile.am || die
110
111 # Fix direct invocation of python in configure
112 epatch "${FILESDIR}"/${PN}-0.9.15-python-detection.patch
113
114 # Fix vapi dependencies
115 epatch "${FILESDIR}"/${PN}-0.9.14-gio-backport.patch
116
117 # Fix query generation, from master
118 epatch "${FILESDIR}"/${PN}-0.9.15-fix-array-length-string-join.patch
119
120 autotools-utils_src_prepare
121 vala_src_prepare
122 }
123
124 src_configure() {
125 local myeconfargs=(
126 --docdir="${EPREFIX}/usr/share/doc/${PF}"
127 --with-session-bus-services-dir="${EPREFIX}/usr/share/dbus-1/services"
128 $(use_enable sql-debug explain-queries)
129 $(use_enable datahub)
130 $(use_enable downloads-monitor)
131 $(use_enable telepathy)
132 $(use_enable introspection)
133 $(use_with icu dee-icu)
134 )
135
136 use nls || myeconfargs+=( --disable-nls )
137 use fts && myeconfargs+=( --enable-fts )
138
139 python_setup
140 autotools-utils_src_configure
141 }
142
143 src_test() {
144 autotools-utils_src_test TESTS_ENVIRONMENT="dbus-run-session"
145 }
146
147 src_install() {
148 dobashcomp data/completions/zeitgeist-daemon
149 autotools-utils_src_install
150 cd python || die
151 python_moduleinto ${PN}
152 python_foreach_impl python_domodule *py
153
154 # Redundant NEWS/AUTHOR installation
155 rm -r "${D}"/usr/share/zeitgeist/doc/ || die
156 }