Skip to contentSkip to conversation

build-sys: fix a meson deprecation warning

PATCH Applied [email protected] 2 participants 2 messages Jan 13, 2022 – Jan 15, 2022 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 build-sys: fix a meson deprecation warning

From: Marc-André Lureau <[email protected]>

WARNING: Deprecated features used:
* 0.56.0: {'meson.source_root'}

---
 tests/qtest/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/qtest/meson.build +1 -1
index 37e1eaa4498e..2f6687576757 100644
@@ -103,7 +103,7 @@ if dbus_daemon.found() and config_host.has_key('GDBUS_CODEGEN')
   #qtests_i386 += ['dbus-vmstate-test']
   dbus_vmstate1 = custom_target('dbus-vmstate description',
                                 output: ['dbus-vmstate1.h', 'dbus-vmstate1.c'],
-                                input: meson.source_root() / 'backends/dbus-vmstate1.xml',
+                                input: meson.project_source_root() / 'backends/dbus-vmstate1.xml',
                                 command: [config_host['GDBUS_CODEGEN'],
                                           '@INPUT@',
                                           '--interface-prefix', 'org.qemu',
Signature · 1 line
2.34.1.428.gdcc0cd074f0c
#1 lore raw
Quoted 16 lines · On 1/13/22 17:21, [email protected] wrote:

From: Marc-André Lureau <[email protected]>

WARNING: Deprecated features used:
* 0.56.0: {'meson.source_root'}

---
  tests/qtest/meson.build | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
tests/qtest/meson.build +0 -0
index 37e1eaa4498e..2f6687576757 100644

tests/qtest/meson.build if dbus_daemon.found() and config_host.has_key('GDBUS_CODEGEN') · line 109

Quoted 8 lines
tests/qtest/meson.build +1 -1
@@ -103,7 +103,7 @@ if dbus_daemon.found() and config_host.has_key('GDBUS_CODEGEN')
    #qtests_i386 += ['dbus-vmstate-test']
    dbus_vmstate1 = custom_target('dbus-vmstate description',
                                  output: ['dbus-vmstate1.h', 'dbus-vmstate1.c'],
-                                input: meson.source_root() / 'backends/dbus-vmstate1.xml',
+                                input: meson.project_source_root() / 'backends/dbus-vmstate1.xml',
                                  command: [config_host['GDBUS_CODEGEN'],
                                            '@INPUT@',
                                            '--interface-prefix', 'org.qemu',

Queued, thanks.

Paolo