Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/folks/, dev-libs/folks/files/
Date: Sun, 01 Mar 2020 16:18:52
Message-Id: 1583079454.d3644542d9a1733f4d9da11f05084ea9ae5b6396.leio@gentoo
1 commit: d3644542d9a1733f4d9da11f05084ea9ae5b6396
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 1 08:48:10 2020 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 1 16:17:34 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3644542
7
8 dev-libs/folks: bump to 0.13.1
9
10 Package-Manager: Portage-2.3.84, Repoman-2.3.20
11 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
12
13 dev-libs/folks/Manifest | 1 +
14 .../folks/files/0.13.1-meson-0.53-compat.patch | 31 ++++++++
15 dev-libs/folks/folks-0.13.1.ebuild | 83 ++++++++++++++++++++++
16 3 files changed, 115 insertions(+)
17
18 diff --git a/dev-libs/folks/Manifest b/dev-libs/folks/Manifest
19 index 499f5bcc9ef..7b6fbc09eb5 100644
20 --- a/dev-libs/folks/Manifest
21 +++ b/dev-libs/folks/Manifest
22 @@ -1 +1,2 @@
23 DIST folks-0.12.1.tar.xz 522688 BLAKE2B 584957b628e286b850ee45c3f79d942ae602124e0130eeddc8806ae6fc12accd26c140df5caa0a1a68c84bff707df785d863d2f69ee9a0b6b450b8159c21fb39 SHA512 f60e993508137b33602ccc814bde45ad780d61afb0566f8175fd01b3dcaa5f5771e11d98156c4ecfd85f920a7adc140a5b2582eaaa97568b8fb3b3761668decb
24 +DIST folks-0.13.1.tar.xz 515584 BLAKE2B fe4e368e60dd41a72f449f130993eb7b8792b2a38218ff7117a8e5ec192d53d2b8f5ab09a2318267cf2fd7a717048b8715289b2f411c59846c6c98235ec32149 SHA512 b134172077bed1655cd7f24b1402ed347d405b22114c33d6638040a5e475632ea33cde898a08fc143eaefc7057d4b6dccceac7e797e1976fdf88c58764818afe
25
26 diff --git a/dev-libs/folks/files/0.13.1-meson-0.53-compat.patch b/dev-libs/folks/files/0.13.1-meson-0.53-compat.patch
27 new file mode 100644
28 index 00000000000..a31a5c697e2
29 --- /dev/null
30 +++ b/dev-libs/folks/files/0.13.1-meson-0.53-compat.patch
31 @@ -0,0 +1,31 @@
32 +From c973f2910322a2b6cfae210730bfd6d3d8259e01 Mon Sep 17 00:00:00 2001
33 +From: Mart Raudsepp <leio@g.o>
34 +Date: Sun, 1 Mar 2020 10:41:30 +0200
35 +Subject: [PATCH] meson: Disable unused dbusmock check as tests are commented
36 + out
37 +
38 +This avoids issues with meson-0.53 like commit 1853567d79024, but
39 +by just dropping the check, because the 0.13.1 release had tests
40 +commented out fully anyhow.
41 +---
42 + meson.build | 4 ----
43 + 1 file changed, 4 deletions(-)
44 +
45 +diff --git a/meson.build b/meson.build
46 +index 8d09149e..8f52bb7e 100644
47 +--- a/meson.build
48 ++++ b/meson.build
49 +@@ -123,10 +123,6 @@ endif
50 +
51 + if bluez_backend_enabled
52 + libebook_dep = dependency('libebook-1.2', version: '>=' + min_eds_version)
53 +- # Needed for the BlueZ tests
54 +- pymod = import('python')
55 +- py_installation = pymod.find_installation('python3')
56 +- python_dbusmock = py_installation.dependency('dbusmock')
57 + endif
58 +
59 + if import_tool_enabled
60 +--
61 +2.20.1
62 +
63
64 diff --git a/dev-libs/folks/folks-0.13.1.ebuild b/dev-libs/folks/folks-0.13.1.ebuild
65 new file mode 100644
66 index 00000000000..600f6208d59
67 --- /dev/null
68 +++ b/dev-libs/folks/folks-0.13.1.ebuild
69 @@ -0,0 +1,83 @@
70 +# Copyright 1999-2020 Gentoo Authors
71 +# Distributed under the terms of the GNU General Public License v2
72 +
73 +EAPI=7
74 +VALA_USE_DEPEND="vapigen"
75 +VALA_MAX_API_VERSION="0.44" # tests-utils fails to build with newer with v0.12.1
76 +
77 +inherit gnome.org gnome2-utils meson vala xdg
78 +
79 +DESCRIPTION="Library for aggregating people from multiple sources"
80 +HOMEPAGE="https://wiki.gnome.org/Projects/Folks"
81 +
82 +LICENSE="LGPL-2.1+"
83 +SLOT="0/25" # subslot = libfolks soname version
84 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-linux"
85 +
86 +IUSE="bluetooth eds +telepathy tracker utils"
87 +REQUIRED_USE="bluetooth? ( eds )"
88 +RESTRICT="test"
89 +
90 +DEPEND="
91 + >=dev-libs/glib-2.44:2
92 + >=dev-libs/libgee-0.10:0.8[introspection]
93 + >=dev-libs/gobject-introspection-1.54:=
94 + telepathy? (
95 + >=net-libs/telepathy-glib-0.19.9
96 + dev-libs/dbus-glib
97 + )
98 + tracker? ( app-misc/tracker:0/2.0 )
99 + eds? ( >=gnome-extra/evolution-data-server-3.33.2:= )
100 + dev-libs/libxml2:2
101 + utils? ( sys-libs/readline:0= )
102 +"
103 +# telepathy-mission-control needed at runtime; it is used by the telepathy
104 +# backend via telepathy-glib's AccountManager binding.
105 +RDEPEND="${DEPEND}
106 + bluetooth? ( >=net-wireless/bluez-5[obex] )
107 + telepathy? ( net-im/telepathy-mission-control )
108 +"
109 +BDEPEND="
110 + >=dev-util/meson-0.49
111 + >=sys-devel/gettext-0.19.8
112 + virtual/pkgconfig
113 + $(vala_depend)
114 + telepathy? ( net-libs/telepathy-glib[vala] )
115 + eds? ( gnome-extra/evolution-data-server[vala] )
116 +"
117 +
118 +PATCHES=(
119 + # Alternative to https://gitlab.gnome.org/GNOME/folks/issues/119 as tests are commented out in 0.13.1 release
120 + "${FILESDIR}"/${PV}-meson-0.53-compat.patch
121 +)
122 +
123 +src_prepare() {
124 + vala_src_prepare
125 + xdg_src_prepare
126 +}
127 +
128 +src_configure() {
129 + local emesonargs=(
130 + $(meson_use bluetooth bluez_backend)
131 + $(meson_use eds eds_backend)
132 + $(meson_use eds ofono_backend)
133 + $(meson_use telepathy telepathy_backend)
134 + $(meson_use tracker tracker_backend)
135 + -Dzeitgeist=false # last rited package
136 + -Dimport_tool=true
137 + $(meson_use utils inspect_tool)
138 + -Dinstalled_tests=false
139 + -Ddocs=false # Needs find_program sedding to specific version; only dev docs, don't bother
140 + )
141 + meson_src_configure
142 +}
143 +
144 +pkg_postinst() {
145 + xdg_pkg_postinst
146 + gnome2_schemas_update
147 +}
148 +
149 +pkg_postrm() {
150 + xdg_pkg_postrm
151 + gnome2_schemas_update
152 +}