Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/gnome-online-accounts/, net-libs/gnome-online-accounts/files/
Date: Mon, 28 Nov 2022 23:26:42
Message-Id: 1669677984.daf448f27a18e8e36c2a391d71355903fb406e9c.mattst88@gentoo
1 commit: daf448f27a18e8e36c2a391d71355903fb406e9c
2 Author: Christophe Lermytte <gentoo <AT> lermytte <DOT> be>
3 AuthorDate: Mon Nov 28 17:05:03 2022 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 28 23:26:24 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=daf448f2
7
8 net-libs/gnome-online-accounts: add upstream patch for meson dependency fix
9
10 The patch is currently not yet in upstream's "gnome-43" branch (which
11 produces the 3.46.x track), but I will ask ebassi to cherry-pick it so
12 we can drop this patch in the near future.
13
14 Closes: https://bugs.gentoo.org/882625
15 Closes: https://github.com/gentoo/gentoo/pull/28463
16 Signed-off-by: Christophe Lermytte <gentoo <AT> lermytte.be>
17 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
18
19 ...ne-accounts-3.46.0-fix-meson-dependencies.patch | 27 ++++++++++++++++++++++
20 .../gnome-online-accounts-3.46.0.ebuild | 4 ++++
21 2 files changed, 31 insertions(+)
22
23 diff --git a/net-libs/gnome-online-accounts/files/gnome-online-accounts-3.46.0-fix-meson-dependencies.patch b/net-libs/gnome-online-accounts/files/gnome-online-accounts-3.46.0-fix-meson-dependencies.patch
24 new file mode 100644
25 index 000000000000..0014033fb1f0
26 --- /dev/null
27 +++ b/net-libs/gnome-online-accounts/files/gnome-online-accounts-3.46.0-fix-meson-dependencies.patch
28 @@ -0,0 +1,27 @@
29 +https://gitlab.gnome.org/GNOME/gnome-online-accounts/-/commit/f10c48ee114f719c63a8eabccdfb401a14219f46
30 +https://bugs.gentoo.org/882625
31 +
32 +From: Emmanuele Bassi <ebassi@×××××.org>
33 +Date: Wed, 5 Oct 2022 22:15:37 +0100
34 +Subject: [PATCH] build: Use the appropriate dependency object
35 +
36 +Just using `link_with` will not ensure that the GOA web extension shared
37 +module is properly built against libgoa-backend and libgoa; the
38 +generated headers must be transitively available by the time we build
39 +the shared module.
40 +
41 +Fixes: #226
42 +--- a/src/goabackend/meson.build
43 ++++ b/src/goabackend/meson.build
44 +@@ -157,9 +157,8 @@ libgoa_web_extension = shared_module(
45 + 'goawebextension',
46 + libgoawebextension_sources,
47 + include_directories: common_incs + [goa_inc],
48 +- dependencies: deps,
49 ++ dependencies: [deps, libgoa_backend_dep],
50 + c_args: cflags,
51 +- link_with: libgoa_backend,
52 + install: true,
53 + install_dir: join_paths(goa_pkglibdir, 'web-extensions')
54 + )
55 +GitLab
56
57 diff --git a/net-libs/gnome-online-accounts/gnome-online-accounts-3.46.0.ebuild b/net-libs/gnome-online-accounts/gnome-online-accounts-3.46.0.ebuild
58 index cf7e18995da4..14fd00afc7fe 100644
59 --- a/net-libs/gnome-online-accounts/gnome-online-accounts-3.46.0.ebuild
60 +++ b/net-libs/gnome-online-accounts/gnome-online-accounts-3.46.0.ebuild
61 @@ -50,6 +50,10 @@ DEPEND="${RDEPEND}
62 "
63 BDEPEND="gtk-doc? ( dev-util/gtk-doc )"
64
65 +PATCHES=(
66 + "${FILESDIR}/${P}-fix-meson-dependencies.patch"
67 +)
68 +
69 src_prepare() {
70 default
71 use vala && vala_setup