more virtual packages for providing libcuda.so.1 and libOpenCL.so.1 (was: Re: why is "src:glx-alternatives" in Ubuntu?)

Andreas Beckmann anbe at debian.org
Tue Jun 4 14:03:52 UTC 2013


On 2013-06-04 15:11, Graham Inggs wrote:
> On 03/06/2013 11:57, Graham Inggs wrote:
>> I'm going to try out my libcuda5 ideas in a PPA for Saucy.  I'll try
>> to do something about libopencl as well.
>> If it works, I'll attach patches to LP: #1129409, unless any of you
>> think this is a bad idea.

> So far, this appears to work.  I have tested locally and have uploaded
> to a PPA [1].  The i386 builds have all completed successfully.

Thanks for testing!

> Basically what I have done is made the Ubuntu nvidia driver package
> provide libcuda5 and libopencl1.
> Packages that build against the libcuda library can now build-depend on
> libcuda5 instead of libcuda1 | nvidia-current | nvidia-current-updates,
> etc.

libcuda5 implies there would be libcuda.so.5 ...

I'd prefer the less ambiguous virtual package name of libcuda-5.0-1

> Packages that build-depend on libcuda5 get a static shlibs.local that
> replaces dependencies on the libcuda library with a dependency on the
> libcuda5 virtual package.
> 
> I attach the debdiffs for reference.
> 
> I am thinking that it may be a good idea to get libopencl1 renamed to
> libopencl1.2 to reflect the current version of the API.

But the libopencl1 name is based on the SONAME, not some API.
That said, I would agree on a libopencl-1.2-1 virtual package ...

Andreas

PS: please keep pkg-nvidia-devel@ Cc:ed



More information about the pkg-nvidia-devel mailing list