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/files: zeitgeist-0.9.15-python-detection.patch zeitgeist-0.9.15-fix-array-length-string-join.patch
Date: Tue, 03 Mar 2015 23:48:37
Message-Id: 20150303234832.36A0612FBA@oystercatcher.gentoo.org
1 eva 15/03/03 23:48:32
2
3 Added: zeitgeist-0.9.15-python-detection.patch
4 zeitgeist-0.9.15-fix-array-length-string-join.patch
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.1 gnome-extra/zeitgeist/files/zeitgeist-0.9.15-python-detection.patch
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/zeitgeist/files/zeitgeist-0.9.15-python-detection.patch?rev=1.1&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/zeitgeist/files/zeitgeist-0.9.15-python-detection.patch?rev=1.1&content-type=text/plain
15
16 Index: zeitgeist-0.9.15-python-detection.patch
17 ===================================================================
18 From dd46d6f8db69ee8d291d63251d841e73070cd526 Mon Sep 17 00:00:00 2001
19 From: Gilles Dartiguelongue <eva@g.o>
20 Date: Sun, 4 Jan 2015 00:09:14 +0100
21 Subject: [PATCH] Make python module detection match detected python
22
23 Some distribution might provided multiple python and configure can know
24 about which exactly though AM_PATH_PYTHON.
25 ---
26 configure.ac | 11 ++++++-----
27 1 file changed, 6 insertions(+), 5 deletions(-)
28
29 diff --git a/configure.ac b/configure.ac
30 index acf7daa..6136ad6 100644
31 --- a/configure.ac
32 +++ b/configure.ac
33 @@ -269,13 +269,14 @@ if test "x$HAVE_RAPPER" = "xno"; then
34 fi
35
36 # check for python-rdflib
37 +AM_PATH_PYTHON([2.7])
38 +
39 AC_MSG_CHECKING([for python-rdflib])
40 -echo "import rdflib" | python - 2>/dev/null
41 -if test $? -ne 0 ; then
42 - AC_MSG_FAILURE([failed. Please install the python-rdflib package.])
43 -else
44 +AS_IF([$PYTHON -c "import rdflib" 2>/dev/null], [
45 AC_MSG_RESULT([yes])
46 -fi
47 +], [
48 + AC_MSG_FAILURE([failed. Please install the python-rdflib package.])
49 +])
50
51 #################################################
52 # Summary
53 --
54 2.3.0
55
56
57
58
59 1.1 gnome-extra/zeitgeist/files/zeitgeist-0.9.15-fix-array-length-string-join.patch
60
61 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/zeitgeist/files/zeitgeist-0.9.15-fix-array-length-string-join.patch?rev=1.1&view=markup
62 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/zeitgeist/files/zeitgeist-0.9.15-fix-array-length-string-join.patch?rev=1.1&content-type=text/plain
63
64 Index: zeitgeist-0.9.15-fix-array-length-string-join.patch
65 ===================================================================
66 From 201bd67de450320520a12e2b0c465c8eb6818bd2 Mon Sep 17 00:00:00 2001
67 From: Rico Tzschichholz <ricotz@××××××.com>
68 Date: Mon, 17 Mar 2014 20:57:49 +0100
69 Subject: [PATCH] WhereClause: Fix array-length to work with string.joinv of
70 vala-0.24
71
72 ---
73 libzeitgeist/where-clause.vala | 4 ++++
74 1 file changed, 4 insertions(+)
75
76 diff --git a/libzeitgeist/where-clause.vala b/libzeitgeist/where-clause.vala
77 index a830599..d981914 100644
78 --- a/libzeitgeist/where-clause.vala
79 +++ b/libzeitgeist/where-clause.vala
80 @@ -211,7 +211,11 @@ namespace Zeitgeist
81 */
82 private T[] generic_array_to_unowned_array<T> (GenericArray<T> gptrarr)
83 {
84 +#if VALA_0_24
85 + long[] pointers = new long[gptrarr.length];
86 +#else
87 long[] pointers = new long[gptrarr.length + 1];
88 +#endif
89 Memory.copy(pointers, ((PtrArray *) gptrarr)->pdata,
90 (gptrarr.length) * sizeof (void *));
91 return (T[]) pointers;
92 --
93 2.3.0