[Spice-devel] [PATCH v2 08/10] gtk: require gtk+ 3.16

Gerd Hoffmann kraxel at redhat.com
Tue Mar 15 07:01:24 UTC 2016


On Mo, 2016-03-14 at 12:03 -0400, Marc-André Lureau wrote:
> Hi
> 
> ----- Original Message -----
> > On Fr, 2016-03-11 at 21:50 +0100, Marc-André Lureau wrote:
> > > 3.16 is the minimal version for GtkGLArea widget, used in following
> > > patches.
> > 
> > > -  3.0) GTK_REQUIRED=2.91.3
> > > +  3.0) GTK_REQUIRED=3.16
> > 
> > That puts the bar pretty high.  3.16 is only one year old and hasn't yet
> > found its way into LTS and enterprise distros yet ...
> 
> Yes, that's why we did our last release with older gtk support last week.

Ok.

> 3.16 is needed for gtkglarea and it the proper way to do GL with gtk.
> It fixes number of issues, such as portability to wayland which was
> non-trivial.

Sure.

> If need be, we could lower gtk3 requirement to 3.10 (droping wayland
> support in this case). Afaik, 3.16 is going to make it in rhel7 as
> part of regular desktop rebase.

I think we should continue to support older 3.x versions for a while.

Dropping wayland isn't an option I think.  Is it possible to build
with/without glarea support (depending on the installed gtk version) and
hiding that from applications without too much fuss?  I.e. with the
glarea widget being a child of the new gtkstack widget, can we swap that
for a drawingarea and render the old-style egl way in case we find old
gtk version, without that being visible outside spice-gtk?

Another reasonable option would be going for two git branches:  Using
last weeks release as base for a stable branch and plan to do bugfix
releases (possibly backporting support for new spice protocol features
too) for a year or two.

cheers,
  Gerd



More information about the Spice-devel mailing list