| Summary: | gtkglext requires non-existent /etc/env.d/09opengl file. | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | James C. Georgas <james.georgas> |
| Component: | New packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
James C. Georgas
2005-02-01 16:00:25 UTC
Thanks. This ebuild has issues... I think that if there's a problem with the nvidia headers, as the comment in this ebuild suggests, then they should be fixed in the nvidia ebuild. Changing the current opengl implementation with opengl-update causes another bug in this ebuild. Since the code that changes the opengl implementation is in pkg_setup() and the code that restores it is in pkg_postinst(), they can me called in two separate invocations of the ebuild. This means that the second invocation will not have the variable USING_X11 set, and the test will error out because it will only see [ -eq 1 ], and try to interpret -eq as a unary operator. The result will be that if the opengl implementation was changed in pkg_setup(), then it will not be changed back by the second invocation. I saw this error, probably because I built a binary package during the install. |