From owner-freebsd-x11@FreeBSD.ORG Thu Feb 23 21:14:11 2012 Return-Path: Delivered-To: x11@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 92425106566B; Thu, 23 Feb 2012 21:14:11 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5AE9A8FC15; Thu, 23 Feb 2012 21:14:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q1NLEBVB071901; Thu, 23 Feb 2012 21:14:11 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q1NLEAXx071898; Thu, 23 Feb 2012 21:14:10 GMT (envelope-from bapt@FreeBSD.org) X-Authentication-Warning: freefall.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f Date: Thu, 23 Feb 2012 22:14:07 +0100 From: Baptiste Daroussin To: John Hein Message-ID: <20120223211406.GA14803@azathoth.lan> References: <20120222222544.GA88092@azathoth.lan> <20293.31720.350021.74506@gromit.timing.com> <20120223013502.GA78308@FreeBSD.org> <20120223072132.GB88092@azathoth.lan> <20120223093421.Horde.oN2FMZjmRSRPRfoNKQ4BA-g@webmail.leidinger.net> <20294.39398.620930.217619@gromit.timing.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FCuugMFkClbJLl1L" Content-Disposition: inline In-Reply-To: <20294.39398.620930.217619@gromit.timing.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: ports@FreeBSD.org, Alexander Leidinger , Alexey Dokuchaev , x11@FreeBSD.org Subject: Re: Fix nvidia-like ports, help needed X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Feb 2012 21:14:11 -0000 --FCuugMFkClbJLl1L Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 23, 2012 at 12:56:22PM -0700, John Hein wrote: > Baptiste Daroussin wrote at 11:28 +0000 on Feb 23, 2012: > > On 23.02.2012 08:34, Alexander Leidinger wrote: > > > Do you havea list of packages which overzrite something, respectively > > > do you have a list of files which are overwriten? > > > > > > If we just talk about the nvidia lib, installing the mesa and nvidia > > > ones into subdirectories and asking to add (or adding > > > automatically/optionally) ldconfig_paths=3D"$ldconfig_paths > > > /usr/local/lib/-gl/" to rc.conf could be an option. > >=20 > > Currently, no I don't have a list of packages that overwrite things,= =20 > > anyway way I do really like this kind of solution, I don't know yet ho= w=20 > > this can be automated, it really looks the right way. >=20 > If the nvidia libGL can be dynamically linked with, say, a vnc server, and > have it be a drop in replacement for the mesa libGL, then ldconfig_paths > would be fine. If not, then those apps which need the mesa libGL would > need to link with -rpath perhaps to point at the "right" libGL (or > pass appropriate path info to those apps that might use dlopen(3)). > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" Another solution could be to add an entry (and drop it in deinstallation to libmap.conf) when installing the nvidia driver, in that case installing it = ad libGL-nvidia.so.1 and adding: libGL.so.1 libGL-nvidia.so.1 or something like that. regards, Bapt --FCuugMFkClbJLl1L Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk9GrB4ACgkQ8kTtMUmk6EyzwQCgjLUDAkysMPPCPf6RY/BTmNN/ xrEAoLVX1gZaLFQBbC4JnznmLQsZihIP =ZJ1q -----END PGP SIGNATURE----- --FCuugMFkClbJLl1L--