splitting off nvidia-graphics-drivers-legacy-340xx

Graham Inggs graham at nerve.org.za
Thu Aug 13 12:53:45 UTC 2015


On 12 August 2015 at 10:44, Andreas Beckmann <anbe at debian.org> wrote:
> I completely missed that 340.xx is sufficient for nvidia-cuda-toolkit
> 6.5 (only 7.0 needs 346.xx), so I didn't think about starting that
> transition so far. Now we will have to wait for the libstdc++v5
> transition to finish.

Did you already request a transition slot from RT?
If not, I can ask them in person. :)

> And once all this is over (most likely with 355+ in sid), I'm looking
> forward to maybe unifying the nvidia-settings packaging with Ubuntu.

Please see the attached addition to the 'as-needed' patch for the
newer gtk2/gtk3 versions of nvidia-settings.

With this patch in place, we get rid of many additional dependencies
and can then use something along the lines of the following to change
the gtk2/gtk3 dependencies from AND to OR.

override_dh_gencontrol:
    sed -i -e 's/libgtk2.0-0\([^,]*, \)//'
$(CURDIR)/debian/nvidia-settings.substvars
    sed -i -e 's/libgtk-3-0/libgtk2.0-0 (>= 2.8.0) | libgtk-3-0/'
$(CURDIR)/debian/nvidia-settings.substvars
    dh_gencontrol

That is assuming we want to prefer gtk2 over gtk3.  If not, it should
be easy to reverse.

Let me know if these changes seem reasonable and I will commit them.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: as-needed-v2.patch
Type: text/x-diff
Size: 1410 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20150813/5777fc05/attachment.patch>


More information about the pkg-nvidia-devel mailing list