Re: [Development] Update QtWayland CI to Wayland 1.6+

2016-01-14 Thread Pier Luigi Fiorini
2016-01-14 10:15 GMT+01:00 Jędrzej Nowacki :

> On Monday 11 of January 2016 00:27:08 Pier Luigi Fiorini wrote:
> > Hi,
> >
> > We are starting to have QtWayland patches that require at least Wayland
> 1.6
> > available, such as:
> >
> > - https://codereview.qt-project.org/#/c/104222/
> > - https://codereview.qt-project.org/#/c/112141/
> > - https://codereview.qt-project.org/#/c/144891/
> >
> > We need to update CI to at least Wayland 1.6 as soon as possible.
> >
> > If I recall CI is running Ubuntu 14.04 LTS now, but LTS is released every
> > two years.
> >
> > The next LTS should be 16.04 which means that until April we cannot merge
> > those patches making the first one more than 1 year old.
> >
> > Would it be possible to switch to a distro that potentially has more
> > frequent updates to avoid repeating the same problem again in the future?
>
> Hi,
>
>  I guess the whole point of having Ubuntu 14.04 LTS in CI is to support
> that
> platform as long as it is important. As you said it will be important until
> 16.04 release. I think we could potentially remove 14.04 from CI on dev
> branch
> after Qt 5.7 release. Can't you "ifdef" you code, so it "works" with the
> older
> Wayland too?



Nope, unfortunately in order to use the newer protocol we need to link to
libwayland >= 1.6

Recent versions of Wayland (>= 1.8) should let us target a new protocol
version while linking to an older version mitigating the problem in the
future, but still Ubuntu is probably not the best option for Wayland.

-- 
Out of the box experience
http://hawaiios.org/
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Update QtWayland CI to Wayland 1.6+

2016-01-14 Thread Pier Luigi Fiorini
2016-01-14 15:39 GMT+01:00 Thiago Macieira :

> On Thursday 14 January 2016 10:15:40 Jędrzej Nowacki wrote:
> >  I guess the whole point of having Ubuntu 14.04 LTS in CI is to support
> that
> > platform as long as it is important. As you said it will be important
> until
> > 16.04 release. I think we could potentially remove 14.04 from CI on dev
> > branch after Qt 5.7 release. Can't you "ifdef" you code, so it "works"
> with
> > the older Wayland too?
>
> I don't think it makes sense to support Wayland that old, especially not
> on a
> distro that decided to not support Wayland. It's probably better to just
> skip
> building Wayland altogether if the found libraries are too old.
>
> We just need a newer distro that does support Wayland to be present.


That looks like a future proof solution, perhaps OpenSuSE - the new 42
release has Wayland 1.8 as far as I can tell [*]

[*]
http://download.opensuse.org/repositories/openSUSE:/42/images/repo/openSUSE-42.1-x86_64-Build0008-Media1/suse/x86_64/libwayland-server0-1.8.0-1.4.x86_64.rpm


-- 
Out of the box experience
http://hawaiios.org/
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Update QtWayland CI to Wayland 1.6+

2016-01-14 Thread Thiago Macieira
On Thursday 14 January 2016 15:12:43 Rutledge Shawn wrote:
> > True, so the assumption is that Qt should compile on the 14.04 for now. It
> >  doesn't mean that the provided Wayland will be used. I'm fine with that
> > :-)

Right, that's just a matter of a configure-time check and disable the module if 
it's too old.

> But the one that we ship with the Qt installer had better work, right?  It’s
> built on some version of RedHat AFAIK.

Assuming there's a interest in providing binaries, yes. It would be really 
nice to build the QPA plugin for Wayland in our regular binaries, so the 
machine used to build the binaries will need a recent version of Wayland.

I don't think there's use in providing a pre-built Compositor module for 
desktop Linux.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Update QtWayland CI to Wayland 1.6+

2016-01-14 Thread Jędrzej Nowacki
On Monday 11 of January 2016 00:27:08 Pier Luigi Fiorini wrote:
> Hi,
> 
> We are starting to have QtWayland patches that require at least Wayland 1.6
> available, such as:
> 
> - https://codereview.qt-project.org/#/c/104222/
> - https://codereview.qt-project.org/#/c/112141/
> - https://codereview.qt-project.org/#/c/144891/
> 
> We need to update CI to at least Wayland 1.6 as soon as possible.
> 
> If I recall CI is running Ubuntu 14.04 LTS now, but LTS is released every
> two years.
> 
> The next LTS should be 16.04 which means that until April we cannot merge
> those patches making the first one more than 1 year old.
> 
> Would it be possible to switch to a distro that potentially has more
> frequent updates to avoid repeating the same problem again in the future?

Hi,

 I guess the whole point of having Ubuntu 14.04 LTS in CI is to support that 
platform as long as it is important. As you said it will be important until 
16.04 release. I think we could potentially remove 14.04 from CI on dev branch 
after Qt 5.7 release. Can't you "ifdef" you code, so it "works" with the older 
Wayland too?

Cheers,
 Jędrek
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Update QtWayland CI to Wayland 1.6+

2016-01-14 Thread Jędrzej Nowacki
On Thursday 14 of January 2016 06:39:29 Thiago Macieira wrote:
> On Thursday 14 January 2016 10:15:40 Jędrzej Nowacki wrote:
> >  I guess the whole point of having Ubuntu 14.04 LTS in CI is to support
> >  that
> > 
> > platform as long as it is important. As you said it will be important
> > until
> > 16.04 release. I think we could potentially remove 14.04 from CI on dev
> > branch after Qt 5.7 release. Can't you "ifdef" you code, so it "works"
> > with
> > the older Wayland too?
> 
> I don't think it makes sense to support Wayland that old, especially not on
> a distro that decided to not support Wayland. It's probably better to just
> skip building Wayland altogether if the found libraries are too old.
> 
> We just need a newer distro that does support Wayland to be present.

True, so the assumption is that Qt should compile on the 14.04 for now. It 
doesn't mean that the provided Wayland will be used. I'm fine with that :-)

Cheers,
 Jędrek
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Update QtWayland CI to Wayland 1.6+

2016-01-14 Thread Rutledge Shawn

> On 14 Jan 2016, at 16:05, Jędrzej Nowacki  
> wrote:
> 
> On Thursday 14 of January 2016 06:39:29 Thiago Macieira wrote:
>> On Thursday 14 January 2016 10:15:40 Jędrzej Nowacki wrote:
>>> I guess the whole point of having Ubuntu 14.04 LTS in CI is to support
>>> that
>>> 
>>> platform as long as it is important. As you said it will be important
>>> until
>>> 16.04 release. I think we could potentially remove 14.04 from CI on dev
>>> branch after Qt 5.7 release. Can't you "ifdef" you code, so it "works"
>>> with
>>> the older Wayland too?
>> 
>> I don't think it makes sense to support Wayland that old, especially not on
>> a distro that decided to not support Wayland. It's probably better to just
>> skip building Wayland altogether if the found libraries are too old.
>> 
>> We just need a newer distro that does support Wayland to be present.
> 
> True, so the assumption is that Qt should compile on the 14.04 for now. It 
> doesn't mean that the provided Wayland will be used. I'm fine with that :-)

But the one that we ship with the Qt installer had better work, right?  It’s 
built on some version of RedHat AFAIK.

___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Update QtWayland CI to Wayland 1.6+

2016-01-14 Thread Thiago Macieira
On Thursday 14 January 2016 10:15:40 Jędrzej Nowacki wrote:
>  I guess the whole point of having Ubuntu 14.04 LTS in CI is to support that
> platform as long as it is important. As you said it will be important until
> 16.04 release. I think we could potentially remove 14.04 from CI on dev
> branch after Qt 5.7 release. Can't you "ifdef" you code, so it "works" with
> the older Wayland too?

I don't think it makes sense to support Wayland that old, especially not on a 
distro that decided to not support Wayland. It's probably better to just skip 
building Wayland altogether if the found libraries are too old.

We just need a newer distro that does support Wayland to be present.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


[Development] Update QtWayland CI to Wayland 1.6+

2016-01-10 Thread Pier Luigi Fiorini
Hi,

We are starting to have QtWayland patches that require at least Wayland 1.6
available, such as:

- https://codereview.qt-project.org/#/c/104222/
- https://codereview.qt-project.org/#/c/112141/
- https://codereview.qt-project.org/#/c/144891/

We need to update CI to at least Wayland 1.6 as soon as possible.

If I recall CI is running Ubuntu 14.04 LTS now, but LTS is released every
two years.

The next LTS should be 16.04 which means that until April we cannot merge
those patches making the first one more than 1 year old.

Would it be possible to switch to a distro that potentially has more
frequent updates to avoid repeating the same problem again in the future?

-- 
Out of the box experience
http://hawaiios.org/
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development