[Spice-devel] [PATCH spice-common 2/4] meson: Bump requirement to 0.48

Eduardo Lima (Etrunko) etrunko at redhat.com
Mon Feb 4 20:05:17 UTC 2019


On 2/4/19 10:47 AM, Frediano Ziglio wrote:
>>
>> This version is already required by both spice-server and spice-gtk, so
>> there is no much sense in keeping it for spice-protocol as well.
>>
> 
> spice-server currently requires 0.47.2.


Message is wrong, I thought spice-server would get 0.48 before sending
this patch..
> 
>> It is necessary to update the usage of the python module as described in
>> the documentation:
>>
>> https://mesonbuild.com/Release-notes-for-0-48-0.html#python3-module-is-deprecated
>>
>> Which gets rid of the following warning message:
>>
>> WARNING: Deprecated features used:
>>  * 0.48.0: {'python3 module'}
>>
>> Signed-off-by: Eduardo Lima (Etrunko) <etrunko at redhat.com>
>> ---
>>  meson.build | 6 +++---
>>  1 file changed, 3 insertions(+), 3 deletions(-)
>>
>> diff --git a/meson.build b/meson.build
>> index e26d817..5fe735f 100644
>> --- a/meson.build
>> +++ b/meson.build
>> @@ -2,7 +2,7 @@
>>  # project definition
>>  #
>>  project('spice-common', 'c',
>> -         meson_version : '>= 0.47.0',
>> +         meson_version : '>= 0.48.0',
>>           license : 'LGPLv2.1')
>>  
>>  if not meson.is_subproject()
>> @@ -133,8 +133,8 @@ foreach dep, version : optional_deps
>>  endforeach
>>  
>>  # Python
>> -py_module = import('python3')
>> -python = py_module.find_python()
>> +py_module = import('python')
>> +python = py_module.find_installation()
>>  
>>  if get_option('python-checks')
>>    foreach module : ['six', 'pyparsing']
> 
> Frediano
> 


-- 
Eduardo de Barros Lima (Etrunko)
Software Engineer - RedHat
etrunko at redhat.com


More information about the Spice-devel mailing list