Bug#368972: libgl1-mesa-directfb-dev: missing GL/glx.h

Marcelo E. Magallon mmagallo at debian.org
Wed May 31 03:17:48 UTC 2006


On Fri, May 26, 2006 at 05:32:11PM +0200, Loic Dachary wrote:

 >  > > The package conflicts with libgl1-mesa-dev but does not provide
 >  > > 
 >  > > /usr/include/GL/glx.h
 >  > > /usr/include/GL/glxext.h
 >  > > /usr/include/GL/glx_mangle.h
 >  > 
 >  > Yeah, these are all specific to GLX, which is specific to X...
 > 
 >         Now that you mention it :-) I'll have to figure out how
 > one is supposed to declare that glx.h is needed (libgl1-dev is not
 > appropriate...)

 The bug is actually libgl1-mesa-directfb-dev providing libgl-dev.

 libgl-dev should provide these files (because I say so) since the GLX
 binding is the most common one (probably the expected one) in Unix.

 In fact the GL spec for Linux calls for GLX.

 If you need an specific target you must build-depend on it (like
 libgl1-mesa-directfb-dev or libgl1-mesa-glide3-dev).  You can't just
 depend on libgl-dev.

 Marcelo




More information about the Pkg-mesa-devel mailing list