[Spice-devel] [PATCH spice-gtk] build: Avoids a Meson warning

Frediano Ziglio freddy77 at gmail.com
Fri Nov 3 09:06:04 UTC 2023


Avoids:

WARNING: Project specifies a minimum meson_version '>= 0.56' but uses features which were added in newer versions:
 * 0.58.0: {'str.replace'}

This was a regression introduced by commit 3892983edab7d9d1bcb808f6bdc4fdcfb3914683
(cfr "Use visibility instead of just filtering using version script").

Signed-off-by: Frediano Ziglio <freddy77 at gmail.com>
---
 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index 44017e55..55c0a893 100644
--- a/meson.build
+++ b/meson.build
@@ -4,7 +4,7 @@
 project('spice-gtk', 'c',
          version : run_command('build-aux/git-version-gen', '@0@/.tarball-version'.format(meson.project_source_root()), check : true).stdout().strip(),
          license : 'LGPLv2.1',
-         meson_version : '>= 0.56',
+         meson_version : '>= 0.58',
          default_options : ['buildtype=debugoptimized',
                             'warning_level=2'])
 
-- 
2.41.0



More information about the Spice-devel mailing list