[pkg-nvidia-devel] [patch 190xx] [35/k] add infrastructure for legacy drivers, part 1

Russ Allbery rra at debian.org
Sat May 8 03:54:48 UTC 2010

Andreas Beckmann <debian at abeckmann.de> writes:

> here I'm adding some infrastructure for supporting legacy versions.
> While this is not needed for nvidia-graphics-drivers itself (all new
> placeholder substitutions and substvars will be empty), this will be
> helpful for backporting all the recent changes in n-g-d to
> n-g-d-legacy-XYZxx because the differences between the two sources will
> be minimized. Also merging changes between the different source packages
> will be easier because they no longer use different filenames.

Hurm.  It feels like there should be some easier way to do this.  It would
be nice if we could isolate more of the changes in the legacy packages
rather than making nvidia-graphics-drivers more obscure.

What if we copied all the nvidia-glx* files over to the legacy packages
as-is, rather than adding the -LEGACY suffix to every file in
nvidia-graphics-drivers, and then if $(legacy) is set, rename all files
matching nvidia-glx{,-dev,-ia32}.* and nvidia-kernel-source.* to add the
legacy version in the rules file?  That preserves the desire to keep the
file names the same in all packages, while having the file names be
"right" in the primary package.

> Changelog:
>  * debian/rules.defs, debian/rules: add variable/placeholder LEGACY
>    and new subst vars nvidia:Legacy and nvidia:LegacyDesc

This bit certainly seems fine.

Russ Allbery (rra at debian.org)               <http://www.eyrie.org/~eagle/>

More information about the Pkg-nvidia-devel mailing list