-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I was recently made aware that some packages are directly fooling around
with the /etc/env.d/09opengl file that opengl-update creates. This is
wrong, bad, unsupported, etc.

Picture it as using a non-public API in a package -- it works, but it
may break at any time. Well, now it's broken.

The name changed in >=opengl-update-2.1_pre1, so packages with this
broken behavior may break.

Here's an example of one correct way to work around a problem where
things only compile against xorg-x11's OpenGL (not even addressing the
problems with the need to do this):

CURRENT="$(opengl-update --get-implementation)"
opengl-update xorg-x11
compile etc
opengl-update ${CURRENT}

This could, of course, be made fancier, checking $CURRENT =
opengl-update, etc.

Thanks,
Donnie
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFB9ujIXVaO67S1rtsRApjLAJ0agzIn7stddBAEoGWRJz9aRWvpbQCgnM/u
2jyU038l3ZuiPuf0GumTe5c=
=FfLC
-----END PGP SIGNATURE-----

--
gentoo-dev@gentoo.org mailing list



Reply via email to