[Spice-devel] [PATCH vdagent 01/11] Bump GLib version to 2.34
Frediano Ziglio
fziglio at redhat.com
Wed Sep 27 10:23:36 UTC 2017
>
> This is required for the following GMainLoop integration,
> which utilizes some of the new functions/definitions, namely:
>
> [definition][GLib version]
> g_clear_pointer() 2.34
> G_SOURCE_REMOVE 2.32
> G_SOURCE_CONTINUE 2.32
> g_unix_signal_add() 2.30
Which distribution are we going to not support?
Surely RHEL 6 which we should support till 2021 (not considering
extended support).
Can we write some compatibility code?
g_clear_pointer is just a macro, we have a compatible macro in
spice-server.
G_SOURCE_REMOVE and G_SOURCE_CONTINUE are just TRUE/FALSE renamed
in recent GLib.
g_unix_signal_add maybe not too difficult to write a compatible
GSource.
> ---
> configure.ac | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/configure.ac b/configure.ac
> index fbc20a9..d92b527 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -85,7 +85,7 @@ AC_ARG_ENABLE([static-uinput],
> [enable_static_uinput="$enableval"],
> [enable_static_uinput="no"])
>
> -PKG_CHECK_MODULES([GLIB2], [glib-2.0 >= 2.28])
> +PKG_CHECK_MODULES([GLIB2], [glib-2.0 >= 2.34])
> PKG_CHECK_MODULES(X, [xfixes xrandr >= 1.3 xinerama x11])
> PKG_CHECK_MODULES(SPICE, [spice-protocol >= 0.12.13])
> PKG_CHECK_MODULES(ALSA, [alsa >= 1.0.22])
Frediano
More information about the Spice-devel
mailing list