From owner-freebsd-x11@FreeBSD.ORG Wed Jun 6 13:16:26 2012 Return-Path: Delivered-To: x11@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A80521065670; Wed, 6 Jun 2012 13:16:26 +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 8F7F78FC1A; Wed, 6 Jun 2012 13:16:26 +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 q56DGQ8P049719; Wed, 6 Jun 2012 13:16:26 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q56DGQSq049718; Wed, 6 Jun 2012 13:16:26 GMT (envelope-from bapt@FreeBSD.org) X-Authentication-Warning: freefall.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f Date: Wed, 6 Jun 2012 15:16:23 +0200 From: Baptiste Daroussin To: x11@FreeBSD.org, danfe@FreeBSD.org Message-ID: <20120606131623.GA82148@ithaqua.etoilebsd.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="J/dobhs11T7y2rNN" Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Subject: Proposition to make nvidia driver stop overwritting files 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: Wed, 06 Jun 2012 13:16:26 -0000 --J/dobhs11T7y2rNN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, I would like to propose a way to make nvidia drivers stop overwritting files namely libGL.so.1 and libglx.so. Why stop overwritting files is important to me? first pkgng do not support it in fact is forbid it for sake of consistency and integrity of the installed package. second if you upgrade libGL after having the nvidia drivers already installed your drivers will stop working as expected Unless you are going to manurally reinstall the drivers. That is for the rationnal now the proposition. I have modified rtld so that libmap.conf is now aware of 2 new directives: include and includedir this is in current and have been MFCed into 9 no MFC to 8 planned for now as it depends on previous modifications of rtld which were not MFC to 8 yet. What I would love to see is: nvidia drivers no more installing libGL.so.1 and libglx.so files but instead of that install libGL-nvidia.so.1 and libglx-nvidia.so.1 And same for every single library possibly overwritten by nvidia For FreeBSD version not supporting include{,dir} in libmap.conf, add an entry to libmap.conf to map libGL.so.1 to libGL-nvidia.so.1 etc. for FreeBSD version supporting those directives just make sure that includedir ${LOCALBASE}/etc/libmap exists if not add the line. and add a nvidia.conf file into etc/libmap with the mapping in it. I'm aware of the move of the old libGL and libglx in the @exec @unexec, this isn't sufficient and it still break the consistency of the installed packages database. regards, Bapt --J/dobhs11T7y2rNN Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAk/PWCcACgkQ8kTtMUmk6ExLzwCeNqRAchTI5sQj/JCIc3gYEtdz JX8AniK+8uxLIxhKj8LbqQK215N7+Rw0 =FRxP -----END PGP SIGNATURE----- --J/dobhs11T7y2rNN--