[PATCH weston] configure: don't control egl version

Pekka Paalanen ppaalanen at gmail.com
Fri Nov 27 02:30:53 PST 2015


On Wed, 18 Nov 2015 13:33:19 +0200
Pekka Paalanen <ppaalanen at gmail.com> wrote:

> On Wed, 18 Nov 2015 10:23:50 +0000
> "Ucan, Emre (ADITG/SW1)" <eucan at de.adit-jv.com> wrote:
> 
> > The required version only corresponds to version of mesa implementation.
> > This mesa version requirement causes configure errors,
> > when weston is configured for a different egl implementation than mesa.
> > Because the version of the egl drivers are not alligned
> > to the mesa version.  
> 
> Yes, this is sad. When Mesa started providing a egl.pc file and others,
> it encoded the Mesa version in them, not the EGL version. I've tried to
> ask around about this and people mostly do not care. I think someone
> even said that other implementations should just advertise Mesa version
> numbers in their .pc files.
> 
> Furthermore, Mesa does not install any .pc file that would be specific
> to Mesa, which means that egl.pc et al. are the only way to impose
> version requirements on Mesa at build time.
> 
> We should also note, that .pc version requirements are build time
> requirements, not necessarily runtime requirements. That's hard to
> remember, and especially tricky with EGL and GL libs that have several
> implementations.
> 
> Often binaries are built against Mesa, but then deployed with a
> proprietary EGL/GL stack. This is probably a major reason why people
> don't care that egl.pc encodes Mesa version. If you hacked Weston to
> use some proprietary APIs, this won't work.
> 
> > Therefore, I deleted the version controlling for egl,
> > so that weston can be configured for a different egl implementation.  
> 
> Because of all the above, I will not object to this patch, so:
> Acked-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
> 

Hi Emre,

thanks for the poke. Indeed, it's been a while without any comment.
Pushed:
   062edf2..7d967da  master -> master


Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 811 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20151127/68296901/attachment.sig>


More information about the wayland-devel mailing list