Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 510730 - app-admin/eselect-opengl - update header files to match media-libs/mesa
Summary: app-admin/eselect-opengl - update header files to match media-libs/mesa
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on: 531842
Blocks:
  Show dependency tree
 
Reported: 2014-05-19 10:46 UTC by nE0sIghT
Modified: 2014-12-31 12:23 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nE0sIghT 2014-05-19 10:46:51 UTC
With recently mesa change ( http://cgit.freedesktop.org/mesa/mesa/commit/?id=a36f7e6 ) PFNGLBLENDCOLORPROC and PFNGLBLENDEQUATIONPROC was removed from GL/gl.h

They are defined in GL/glext.h under "ifndef GL_VERSION_1_4" condition

eselect-opengl provides glext.h from http://www.opengl.org/registry/api/glxext.h that defines PFNGLBLENDCOLORPROC and PFNGLBLENDEQUATIONPROC under "ifndef GL_VERSION_1_2" condition, so when i select non xorg-x11 OpenGL implementation PFNGLBLENDCOLORPROC and PFNGLBLENDEQUATIONPROC became unavailable for me (when >=mesa-10 installed).
This is break pcsx2 build

I'm not OpenGL guru, but think that eselect-opengl must provide newer version if glext.h: http://www.opengl.org/registry/api/GL/glext.h for >=mesa-10

Link to that updated header is available under opengl.org registry page: http://www.opengl.org/registry/
Comment 1 nE0sIghT 2014-05-19 21:21:03 UTC
(In reply to nE0sIghT from comment #0)
> ..
> eselect-opengl provides glext.h from
> http://www.opengl.org/registry/api/glxext.h
> ...

There is typo in URL.
Of course current (used in eselect-opengl) URL is http://www.opengl.org/registry/api/glext.h
Newer is http://www.opengl.org/registry/api/GL/glext.h
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-12-31 12:23:54 UTC
Starting with 1.3*, eselect-opengl no longer installs header files. We unconditionally use header files from mesa instead.