[Spice-devel] [PATCH spice-common 1/3] Add support for building with meson/ninja

Christophe Fergeau cfergeau at redhat.com
Tue May 15 14:48:02 UTC 2018


On Thu, May 10, 2018 at 10:26:59AM -0300, Eduardo Lima (Etrunko) wrote:
> >> +option('protocol-version',
> >> +    type : 'string',
> >> +    value : '0.12.12',
> >> +    description : 'SPICE protocol version required (default=0.12.12)')
> >> +
> > 
> > Why now there's an option for this ?
> > 
> 
> I added this because at the moment, spice-server and spice-gtk have
> different protocol requirements. It can be removed if we agree that the
> protocol version required is the same for both.

Building spice-common though only requires a specific spice-protocol
version. The fact that the users of spice-common need a different
spice-protocol version when building their own source unrelated to
spice-common is a different matter. So in spice-common you could just
check for 0.12.12 as currently is done for the autotools, and have an
additional version check in spice-gtk/meson.build and spice/meson.build.

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20180515/ff521f55/attachment.sig>


More information about the Spice-devel mailing list