Fix nvidia-like ports, help needed

Konstantin Belousov kostikbel at gmail.com
Fri Mar 2 19:43:46 UTC 2012


On Fri, Mar 02, 2012 at 11:35:42AM -0800, Doug Barton wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> 
> On 03/02/2012 11:21, Konstantin Belousov wrote:
> > The renames of the libGL.so inside the packages are orthohonal to
> > package splits. The issue is that libGL.so.1 installed by both packages
> > (graphics/libGL and x11/nvidia-driver). And not that the nvidia-driver
> > contains some other stuff.
> 
> Right, I see your point. If the symlink solution is used, slave ports
> are likely unnecessary.
> 
> Another question that occurred to me, has anyone tested that ports built
> against one version of the GL stuff can safely be run if the other
> version suddenly appears at runtime?

The different libGL.so versions should be ABI-compatible. The OpenGL
extension mechanism assumes that OpenGL consumers test the presence
of the optional features at runtime and adapts. You do not link directly
to the new symbol in libGL, but call a function to get the function
pointer for extension.

On other systems, different OpenGL providers support different versions
of OpenGL standard, and this usually not cause much problem for applications.

Sure, there may be bugs (and usually there are).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20120302/dfdc4cba/attachment.pgp


More information about the freebsd-ports mailing list