<div dir="ltr"><div><div>Thanks for clarifying, Andreas.<br><br></div>Alberto, can you add nvidia-304.shlibs to the Ubuntu packaging then, please?<br></div>Also, since you no longer allow different versions of Nvidia drivers to
 be co-installed, do libcuda.* and libOpenCL.* need to be installed in 
/usr/lib/nvidia-304?<br>If they were installed in 
/usr/lib/$(DEB_HOST_MULTIARCH) we wouldn't have to do things like we did
 in pycuda [1] in order to locate them.<br>
<br>[1] <a href="https://launchpadlibrarian.net/131896714/pycuda_2012.1-1ubuntu2_2012.1-1ubuntu3.diff.gz" target="_blank">https://launchpadlibrarian.net/131896714/pycuda_2012.1-1ubuntu2_2012.1-1ubuntu3.diff.gz</a></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On 11 July 2013 12:32, Andreas Beckmann <span dir="ltr"><<a href="mailto:anbe@debian.org" target="_blank">anbe@debian.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On 2013-07-11 11:24, Graham Inggs wrote:<br>
> My apologies Andreas, I see you are already providing libcuda-5.0-1 in<br>
> 304.88-4.<br>
><br>
> Should we have libcuda1.shlibs in the Debian package and nvidia-304.shlibs<br>
> in the Ubuntu package as per my attached diffs?<br>
> I think then we wouldn't need to use shlibs.local in nvidia-cuda-toolkit<br>
> and other packages.<br>
<br>
</div></div>For Ubuntu this looks right since you want to remap to the virtual<br>
package that may be provided by several packages. Once 5.5 approaches,<br>
you will<br>
  Provides: libcuda-5.0-1, libcuda-5.5-1<br>
and the shlibs will be bumped to only libcuda-5.5-1.<br>
Everything built against the older version will continue to run,<br>
everything built against the newer version will require the never version.<br>
<br>
For Debian there is no need to remap libcuda1 to a virtual package as<br>
there will be only one libcuda1 and that has a proper .symbols file<br>
generating a proper versioned dependency. More strict libcuda1<br>
versioning will probably come from the nvidia-cuda-toolkit libraries<br>
being linked, too.<br>
<br>
Packages built against Debian's Nvidia stack won't be installable on<br>
Ubuntu and vice versa, but I think that was never intended. Rebuilding<br>
on the other distribution should hopefully work out-of-the-box without<br>
requiring "if Ubuntu/if Debian" switches.<br>
<span class="HOEnZb"><font color="#888888"><br>
Andreas<br>
</font></span></blockquote></div><br></div>