Hi Julian, On Thu, Oct 24, 2013 at 18:03:58 +0200, Julian Wollrath wrote:
> @@ -749,6 +751,36 @@ Description: Developer documentation for Mesa > extensions, the complete set of release notes and the development header > files common to all Mesa packages. > > +Package: libopencl1-mesa > +Section: libs > +Architecture: linux-any > +Provides: libopencl1 > +Depends: > + libclc-r600, That looks like a no-go to me. I don't want a runtime lib depending on -dev packages (libclc-r600 appears to pull in libclc-dev and libclang-foo-dev). How does that stuff all work? > + ocl-icd-libopencl1, > + ${shlibs:Depends}, > + ${misc:Depends}, > +Description: free implementation of the OpenCL API -- ICD runtime > + This package contains the mesa implementation of the OpenCL (Open Compute > + Language) library, which is intended for use with an ICD loader. OpenCL > + provides a standardized interface for computational analysis on graphical > + processing units. > + > +Package: libopencl1-mesa-dbg > +Section: debug > +Architecture: linux-any > +Depends: > + libopencl1-mesa (= ${binary:Version}), > + ${shlibs:Depends}, > + ${misc:Depends}, > +Description: free implementation of the OpenCL API -- debugging symbols > + This package contains the mesa implementation of the OpenCL (Open Compute > + Language) library, which is intended for use with an ICD loader. OpenCL > + provides a standardized interface for computational analysis on graphical > + processing units. > + . > + This package contains the debugging symbols for the mesa OpenCL ICD library. > + > Package: libosmesa6 > Section: libs > Architecture: any > diff --git a/debian/libopencl1-mesa.install.in > b/debian/libopencl1-mesa.install.in > new file mode 100644 > index 0000000..867081c > --- /dev/null > +++ b/debian/libopencl1-mesa.install.in > @@ -0,0 +1,2 @@ > +dri/etc/OpenCL/vendors/mesa.icd etc/OpenCL/vendors Why does that belong in /etc? It doesn't smell like something users should need to configure. > +dri/usr/lib/${DEB_HOST_MULTIARCH}/libMesaOpenCL* > usr/lib/${DEB_HOST_MULTIARCH} > diff --git a/debian/not-installed b/debian/not-installed > index 03e3006..0236e1c 100644 > --- a/debian/not-installed > +++ b/debian/not-installed > @@ -12,7 +12,14 @@ NOT_INSTALLED := \ > usr/include/GL/glx_mangle.h \ > usr/include/GL/osmesa.h \ > usr/include/GL/wglext.h \ > - usr/include/GL/wmesa.h > + usr/include/GL/wmesa.h \ > + usr/include/CL/cl_ext.h \ > + usr/include/CL/cl_gl_ext.h \ > + usr/include/CL/cl_gl.h \ > + usr/include/CL/cl.h \ > + usr/include/CL/cl.hpp \ > + usr/include/CL/cl_platform.h \ > + usr/include/CL/opencl.h > > # Architecture-specific additional files: > NOT_INSTALLED_i386 = \ > diff --git a/debian/rules b/debian/rules > index 696678d..50ecfa3 100755 > --- a/debian/rules > +++ b/debian/rules > @@ -109,6 +109,7 @@ confflags-dri = \ > --with-dri-drivers="$(DRI_DRIVERS)" \ > --with-dri-driverdir=/usr/lib/$(DEB_HOST_MULTIARCH)/dri \ > > --with-dri-searchpath='/usr/lib/$(DEB_HOST_MULTIARCH)/dri:\$$$${ORIGIN}/dri:/usr/lib/dri' > \ > + --enable-opencl --enable-opencl-icd \ > --enable-osmesa \ > --enable-glx-tls \ > --enable-shared-glapi \ > -- > 1.8.4.rc3 > Cheers, Julien
signature.asc
Description: Digital signature