Date: Fri, 2 Mar 2012 11:10:06 -0800 From: Freddie Cash <fjwcash@gmail.com> To: freebsd-ports <freebsd-ports@freebsd.org> Subject: Re: Fix nvidia-like ports, help needed Message-ID: <CAOjFWZ4_R7BxmF0kZa2b%2B1xxPHDGYSffRHRT4UDrmwBZJ7upyw@mail.gmail.com> In-Reply-To: <20120302190217.GN75778@deviant.kiev.zoral.com.ua> References: <20120223211406.GA14803@azathoth.lan> <4F46D751.2090100@FreeBSD.org> <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> <CAOjFWZ7v2YcuA%2Bye5xrCFJ8%2BF=gNq9og2QZ=k9YJ4wkeT-Ucyw@mail.gmail.com> <20120302190217.GN75778@deviant.kiev.zoral.com.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Mar 2, 2012 at 11:02 AM, Konstantin Belousov <kostikbel@gmail.com> 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 >> <kostikbel@gmail.com> 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 trou= ble >> > 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. =C2= =A0:) > > 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. How? Unless the ports include the creation of the symlink (which they shouldn't), then there is no problem anymore. You install nvidia-gl port, you get libGL-nvidia.so installed. You install mesa-gl port, you get libGL-mesa.so installed. 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. Update nvidia-gl port, only libGL-nvidia.so gets updated. The symlink doesn't change. Update mesa-gl port, only libGL-mesa.so gets updated. The symlink doesn't change. Where's the problem? --=20 Freddie Cash fjwcash@gmail.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOjFWZ4_R7BxmF0kZa2b%2B1xxPHDGYSffRHRT4UDrmwBZJ7upyw>