Re: [OE-core] libsdl and opengl DISTRO_FEATURE

2014-01-22 Thread Burton, Ross
On 13 January 2014 09:58, Nicolas Dechesne nicolas.deche...@linaro.org wrote:
 if we make it a PACKAGECONFIG instead, would that be considered the right
 fix for this bug?

Yeah, until we have a replacement for the opengl DISTRO_FEATURE then
you'll want to use explicit PACKAGECONFIG options for GL and GLES.

Ross
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] libsdl and opengl DISTRO_FEATURE

2014-01-13 Thread Nicolas Dechesne
hi there,

it has been brought to the list already, at least in [1], but libsdl recipe
implicitely assumes that 'opengl' distro feature means GL/GLX support.

the recipe does this:

${@base_contains('DISTRO_FEATURES', 'opengl', '--enable-video-opengl',
'--disable-video-opengl', d)} \


and the configure checks for GL/gl.h, GL/glx.h and GL/glu.h.

this is quite an issue on ARM platforms with no such support. Based on
previous discussions i understand that nobody should assume that 'opengl'
in distro feature means GL or GLES, so I am tempted to conclude that this
is a bug in the SDL recipe. is that correct?

if we make it a PACKAGECONFIG instead, would that be considered the right
fix for this bug?

thanks



[1] http://comments.gmane.org/gmane.comp.handhelds.openembedded.core/42830
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core