I found the perfect solution to the problem.
In addition to what I did in this comment:
https://bugs.launchpad.net/ubuntu/+source/linux-restricted-modules-2.6.20/+bug/98641/comments/25
I have changed the way in which the debian/nvidia-glx-new.* (e.g. debian
/nvidia-glx-new.links) files are created. Here is what it looks like in
the debian/rules
for i in -dev.dirs -dev.links -dev.postinst -dev.postrm \
-dev.preinst .dirs .docs .examples .links.amd64 \
.links .override .postinst .postrm .preinst \
.prerm .README.Debian .reportbug .shlibs; \
do sed -e "s/@@VERSION@@/$(nv_new_version)/g" -e
"s/@@NV_LEGACY@@/-new/g" \
-e "s:@dirname@:$(nv_new_dirname):" -e "s/@@NV_ALT@@/new/g" \
< debian/nvidia-glx-new$$i.in > debian/nvidia-glx-new$$i; \
done
Differently from what happens with the other 2 drivers, the nvidia-glx-new.*
files are generated from debian/nvidia-glx-new$$i.in instead of
debian/nvidia-glx$$i.in .
Of course I had to make a copy of each debian/nvidia-glx.*.in file and rename
it as debian/nvidia-glx-new.*.in. This was the only way to make sure that the
nvidia-glx-new driver has its own links (in debian/nvidia-glx-new.links.in) to
the modules it needs (i.e. libwfb). Neither nvidia-glx nor nvidia-glx have the
libwfb module, therefore there is no need for them to have a (a broken) link to
such module.
This solution is more flexible and will make nvidia-glx-new easier to
adapt to any new module which NVIDIA will decide to add to its latest
driver.
I have read this page
https://wiki.ubuntu.com/MOTU/Contributing
and since I modified only the debian/ folder I did what the part of that
guide titled "Preparing Patches" suggests (i.e. diff -urN debian.old
debian > ../packagename.debian.patch)
The bug affects both Feisty and Gutsy therefore I had to make two
patches.
The only things the maintainer will have to do is:
1) replace my signature with his in the debian/changelog since I'm not part of
the kernel team.
2) replace "feisty-security" with "feisty", in the debian/changelog (since this
is not a security update).
** Attachment added: "Patch for Feisty"
http://launchpadlibrarian.net/8893026/linux-restricted-modules-2.6.20-2.6.20.5.debian.patch
--
[nvidia-glx-new] NVidia driver missing libwfb
https://bugs.launchpad.net/bugs/98641
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs