From owner-freebsd-ports@FreeBSD.ORG Fri Mar 2 19:21:59 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3899D106566B for ; Fri, 2 Mar 2012 19:21:59 +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 BAAA48FC0A for ; Fri, 2 Mar 2012 19:21:58 +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 q22JLqmu015307; Fri, 2 Mar 2012 21:21:52 +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 q22JLq2p084446; Fri, 2 Mar 2012 21:21:52 +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 q22JLqbW084445; Fri, 2 Mar 2012 21:21:52 +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:21:52 +0200 From: Konstantin Belousov To: Freddie Cash Message-ID: <20120302192152.GQ75778@deviant.kiev.zoral.com.ua> References: <20120228211513.GD99283@azathoth.lan> <4F4D44F0.9060901@FreeBSD.org> <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> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2D20dG0OqTzqkNh7" Content-Disposition: inline In-Reply-To: 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: 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:21:59 -0000 --2D20dG0OqTzqkNh7 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 02, 2012 at 11:10:06AM -0800, Freddie Cash wrote: > On Fri, Mar 2, 2012 at 11:02 AM, Konstantin Belousov > wrote: > > On Fri, Mar 02, 2012 at 10:54:46AM -0800, Freddie Cash wrote: > >> On Fri, Mar 2, 2012 at 10:49 AM, Konstantin Belousov > >> wrote: > >> > And yes, I use a script that checks PCI devices on boot and symlinks > >> > libGL.so.1 and libglx.so to appropriate implementations. The only tr= ouble > >> > right now is that reinstall of libGL or nvidia driver ports requires > >> > manual fixing of the .so. > >> > >> Ah, but splitting the GL bits out into slave ports would fix that. =9A= :) > > > > No, it moves the moment of problem from mesa/nvidia update to mesa-libGL > > and nvidia-libGL update. And, libGl.so.1 from Mesa is already in the > > separate port, FWIW. >=20 > How? Unless the ports include the creation of the symlink (which they > shouldn't), then there is no problem anymore. >=20 > You install nvidia-gl port, you get libGL-nvidia.so installed. So nvidia-something port needs to install libGL-nvidia.so.1, and not libGL.so.1. >=20 > You install mesa-gl port, you get libGL-mesa.so installed. >=20 > You run the "alternatives" script to create the symlink (or manually > create it, or tweak a knob somewhere to create it), and then never > touch it again. >=20 > Update nvidia-gl port, only libGL-nvidia.so gets updated. The symlink > doesn't change. >=20 > Update mesa-gl port, only libGL-mesa.so gets updated. The symlink > doesn't change. >=20 > Where's the problem? Should I repeat what I said already, or can I just point to my other message ? 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. --2D20dG0OqTzqkNh7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iEYEARECAAYFAk9RHc8ACgkQC3+MBN1Mb4jgHQCeJQ37iO3r4eIwRp/CIbWUgcVS 4j8AnjlJp6Mioe/TvJHbaV79hzfgc8Iu =WCF+ -----END PGP SIGNATURE----- --2D20dG0OqTzqkNh7--