From owner-freebsd-ports@FreeBSD.ORG Fri Mar 2 19:43:46 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A06241065677; Fri, 2 Mar 2012 19:43:46 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 07DD28FC23; Fri, 2 Mar 2012 19:43:45 +0000 (UTC) Received: from skuns.kiev.zoral.com.ua (localhost [127.0.0.1]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id q22JhcSA025994; Fri, 2 Mar 2012 21:43:38 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.5/8.14.5) with ESMTP id q22Jhakx084575; Fri, 2 Mar 2012 21:43:36 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.5/8.14.5/Submit) id q22JhaKq084574; Fri, 2 Mar 2012 21:43:36 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 2 Mar 2012 21:43:36 +0200 From: Konstantin Belousov To: Doug Barton Message-ID: <20120302194336.GR75778@deviant.kiev.zoral.com.ua> 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> <20120302190217.GN75778@deviant.kiev.zoral.com.ua> <20120302192152.GQ75778@deviant.kiev.zoral.com.ua> <4F51210E.3040104@FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0Qexx6XJGNEACt6j" Content-Disposition: inline In-Reply-To: <4F51210E.3040104@FreeBSD.org> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.0 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: Freddie Cash , freebsd-ports Subject: Re: Fix nvidia-like ports, help needed X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2012 19:43:46 -0000 --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--