Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 414921 - app-admin/eselect-opengl: reconsider symlinking includes
Summary: app-admin/eselect-opengl: reconsider symlinking includes
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-06 19:29 UTC by Michał Górny
Modified: 2014-04-25 18:43 UTC (History)
0 users

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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-05-06 19:29:18 UTC
Considering the fact that more and more headers are going to need to be symlinked in eselect-opengl, I think we should reconsider it.

My suggestion is that we -- instead of linking all the header files -- just symlink/update opengl.pc and put an appropriate -I... in there.
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2012-06-07 13:19:14 UTC
You would have a problem with packages not using opengl expecting the headers to be on the correct place. (which actually is lots and lots of stuff)
Comment 2 SpanKY gentoo-dev 2014-04-25 17:16:16 UTC
compiling random code would also now require pkg-config invocation which has never been the case in the past, and isn't the case in other distros.  people expect to be able to just "#include <GL/foo.h>" and have it work ...
Comment 3 Matt Turner gentoo-dev 2014-04-25 18:43:04 UTC
(In reply to SpanKY from comment #2)
> compiling random code would also now require pkg-config invocation which has
> never been the case in the past, and isn't the case in other distros. 
> people expect to be able to just "#include <GL/foo.h>" and have it work ...

Agreed. There's no way we can require people to use opengl.pc.

Closing unless there's another solution.