[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 14/18] audio/dbus: fix building
From: |
Paolo Bonzini |
Subject: |
[PULL 14/18] audio/dbus: fix building |
Date: |
Tue, 12 Jul 2022 14:49:52 +0200 |
From: Marc-André Lureau <marcandre.lureau@redhat.com>
Commit c9c847481 broken dbus audio module compilation with bad
'CONFIG_GIO' usage. Furthermore, it implied extra dependency on audio
module which aren't necessary.
The problem was that 'dbus_display' is not correctly automatically set
on MacOS, because opengl dependency wasn't taken into account.
Fixes: c9c847481 ("audio/dbus: Fix building with modules on macOS")
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20220622154918.560870-1-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
audio/meson.build | 2 +-
meson.build | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/audio/meson.build b/audio/meson.build
index 94dab16891..3abee90860 100644
--- a/audio/meson.build
+++ b/audio/meson.build
@@ -28,7 +28,7 @@ endforeach
if dbus_display
module_ss = ss.source_set()
- module_ss.add(when: [gio, pixman, opengl, 'CONFIG_GIO'], if_true:
files('dbusaudio.c'))
+ module_ss.add(when: gio, if_true: files('dbusaudio.c'))
audio_modules += {'dbus': module_ss}
endif
diff --git a/meson.build b/meson.build
index 013c694a49..ad92d288a6 100644
--- a/meson.build
+++ b/meson.build
@@ -1672,6 +1672,8 @@ dbus_display = get_option('dbus_display') \
error_message: '-display dbus requires --enable-modules') \
.require(gdbus_codegen.found(),
error_message: '-display dbus requires gdbus-codegen') \
+ .require(opengl.found(),
+ error_message: '-display dbus requires epoxy/egl') \
.allowed()
have_virtfs = get_option('virtfs') \
--
2.36.1
- [PULL 00/18] Misc patches for 2022-07-12, Paolo Bonzini, 2022/07/12
- [PULL 01/18] tests/vm: do not specify -bios option, Paolo Bonzini, 2022/07/12
- [PULL 02/18] scsi/lsi53c895a: fix use-after-free in lsi_do_msgout (CVE-2022-0216), Paolo Bonzini, 2022/07/12
- [PULL 07/18] configure: allow more host/target combos to use the host compiler, Paolo Bonzini, 2022/07/12
- [PULL 05/18] configure, pc-bios/s390-ccw: pass cross CFLAGS correctly, Paolo Bonzini, 2022/07/12
- [PULL 03/18] pc-bios/optionrom: use -m16 unconditionally, Paolo Bonzini, 2022/07/12
- [PULL 12/18] build: improve -fsanitize-coverage-allowlist check, Paolo Bonzini, 2022/07/12
- [PULL 14/18] audio/dbus: fix building,
Paolo Bonzini <=
- [PULL 10/18] configure: pass whole target name to probe_target_compiler, Paolo Bonzini, 2022/07/12
- [PULL 09/18] tests/tcg: compile system emulation tests as freestanding, Paolo Bonzini, 2022/07/12
- [PULL 04/18] configure, pc-bios/optionrom: pass cross CFLAGS correctly, Paolo Bonzini, 2022/07/12
- [PULL 16/18] build: Do not depend on pc-bios for config-host.mak, Paolo Bonzini, 2022/07/12
- [PULL 15/18] accel: kvm: Fix memory leak in find_stats_descriptors, Paolo Bonzini, 2022/07/12
- [PULL 06/18] configure, pc-bios/vof: pass cross CFLAGS correctly, Paolo Bonzini, 2022/07/12
- [PULL 17/18] qga: Relocate a path emitted in the help text, Paolo Bonzini, 2022/07/12
- [PULL 18/18] meson: place default firmware path under .../share, Paolo Bonzini, 2022/07/12