Date: Fri, 2 Mar 2012 21:43:36 +0200 From: Konstantin Belousov <kostikbel@gmail.com> To: Doug Barton <dougb@freebsd.org> Cc: Freddie Cash <fjwcash@gmail.com>, freebsd-ports <freebsd-ports@freebsd.org> Subject: Re: Fix nvidia-like ports, help needed Message-ID: <20120302194336.GR75778@deviant.kiev.zoral.com.ua> In-Reply-To: <4F51210E.3040104@FreeBSD.org> References: <20120228223656.GF99283@azathoth.lan> <4F509414.3070605@FreeBSD.org> <20120302094710.GD75778@deviant.kiev.zoral.com.ua> <4F51133C.7030902@FreeBSD.org> <20120302184931.GM75778@deviant.kiev.zoral.com.ua> <CAOjFWZ7v2YcuA%2Bye5xrCFJ8%2BF=gNq9og2QZ=k9YJ4wkeT-Ucyw@mail.gmail.com> <20120302190217.GN75778@deviant.kiev.zoral.com.ua> <CAOjFWZ4_R7BxmF0kZa2b%2B1xxPHDGYSffRHRT4UDrmwBZJ7upyw@mail.gmail.com> <20120302192152.GQ75778@deviant.kiev.zoral.com.ua> <4F51210E.3040104@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--0Qexx6XJGNEACt6j Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 02, 2012 at 11:35:42AM -0800, Doug Barton wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 >=20 > 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. >=20 > Right, I see your point. If the symlink solution is used, slave ports > are likely unnecessary. >=20 > 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 application= s. Sure, there may be bugs (and usually there are). --0Qexx6XJGNEACt6j Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iEYEARECAAYFAk9RIugACgkQC3+MBN1Mb4hsyACg6tlDFNv2sas76ARGD+fU4y7/ CTsAoPCCLWUovTuD8ZlmEpgr2QKEn8qj =B6jv -----END PGP SIGNATURE----- --0Qexx6XJGNEACt6j--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120302194336.GR75778>