Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Mar 2012 21:21:52 +0200
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Freddie Cash <fjwcash@gmail.com>
Cc:        freebsd-ports <freebsd-ports@freebsd.org>
Subject:   Re: Fix nvidia-like ports, help needed
Message-ID:  <20120302192152.GQ75778@deviant.kiev.zoral.com.ua>
In-Reply-To: <CAOjFWZ4_R7BxmF0kZa2b%2B1xxPHDGYSffRHRT4UDrmwBZJ7upyw@mail.gmail.com>
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> <CAOjFWZ7v2YcuA%2Bye5xrCFJ8%2BF=gNq9og2QZ=k9YJ4wkeT-Ucyw@mail.gmail.com> <20120302190217.GN75778@deviant.kiev.zoral.com.ua> <CAOjFWZ4_R7BxmF0kZa2b%2B1xxPHDGYSffRHRT4UDrmwBZJ7upyw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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
> <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 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120302192152.GQ75778>