Subject: Re: Package for NVidia drivers
To: Quentin Garnier <cube@NetBSD.org>
From: None <jmmv@menta.net>
List: tech-pkg
Date: 02/07/2004 18:43:37
On Sat, Feb 07, 2004 at 06:27:01PM +0100, Quentin Garnier wrote:
> Hi,
> 
> I'd like to package the NVidia driver port for NetBSD, but I can't find a
> way to do it properly.
> 
> Installing the LKM is no big deal, it will end up somewhere in a lkm/ dir,
> and everyone is happy.
> 
> The difficult part is first, installing the XFree86 driver somewhere
> XFree86 can actually find it.  Installing in ${X11PREFIX} won't do the
> trick when using xpkgwedge.

You can also do this through the INSTALL script, that is, copy the driver
inside the X11 tree (using the X11BASE variable).

> There is also the issue of overwriting libGL.so and friends inside the
> XFree86 distribution (in order to have things such as glxgears working
> directly), but it should be possible to use an INSTALL/DEINSTALL script to
> make backups of the overwritten files and restore them afterwards.

Sounds good.

Cheers