mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-19 00:18:26 +00:00
passt needs gio but not gdbus-codegen. Make gdbus-codegen optional, dbus_display (not handled) which requires it will still fail as expected. Closes: https://bugs.gentoo.org/964165 Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr> Part-of: https://github.com/gentoo/gentoo/pull/44350 Closes: https://github.com/gentoo/gentoo/pull/44350 Signed-off-by: Sam James <sam@gentoo.org>
18 lines
721 B
Diff
18 lines
721 B
Diff
see https://bugs.gentoo.org/964165, patch sent to qemu-devel ml
|
|
passt needs gio but not gdbus-codegen. Make gdbus-codegen optional,
|
|
dbus_display which requires it will still fail as expected.
|
|
--- a/meson.build
|
|
+++ b/meson.build
|
|
@@ -1126,8 +1126,7 @@ if not get_option('gio').auto() or have_system
|
|
gio = not_found
|
|
endif
|
|
if gio.found()
|
|
- gdbus_codegen = find_program('gdbus-codegen',
|
|
- required: get_option('gio'))
|
|
+ gdbus_codegen = find_program('gdbus-codegen', required: false)
|
|
gio_unix = dependency('gio-unix-2.0', required: get_option('gio'),
|
|
method: 'pkg-config')
|
|
gio = declare_dependency(dependencies: [gio, gio_unix],
|
|
--
|
|
2.51.0
|
|
|