[khronos-opencl-headers] 01/94: initial packaging of the opencl headers from khronos
Andreas Beckmann
anbe at moszumanska.debian.org
Mon Sep 21 02:39:00 UTC 2015
This is an automated email from the git hooks/post-receive script.
anbe pushed a commit to branch master
in repository khronos-opencl-headers.
commit c0008f403edc25923dfd6179f043f642c7014728
Author: Andreas Beckmann <debian at abeckmann.de>
Date: Thu Sep 30 09:54:49 2010 +0000
initial packaging of the opencl headers from khronos
git-svn-id: svn://svn.debian.org/svn/pkg-nvidia/packages/khronos-opencl-headers/trunk@1584 b6a4b1ba-b714-0410-8a2d-fc0b36c6496e
---
debian/README.source | 12 ++++++++++
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 23 +++++++++++++++++++
debian/copyright | 45 +++++++++++++++++++++++++++++++++++++
debian/opencl-headers.README.Debian | 14 ++++++++++++
debian/opencl-headers.install | 3 +++
debian/rules | 20 +++++++++++++++++
debian/source/format | 1 +
debian/watch | 4 ++++
10 files changed, 128 insertions(+)
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..67d4ec8
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,12 @@
+khronos-opencl-headers for Debian
+---------------------------------
+
+The headers can be downloaded as individual files from
+<http://www.khronos.org/registry/cl/>. The get-orig-source target in
+debian/rules can be used to download them all and generate a tarball.
+The API version to download has to be defined in debian/rules.
+
+As upstream version number use A.B-YYYY.MM.DD where A.B is the API version,
+followed by the date of last modification that can be found in the VCS
+generated Revision:/Date: comment in the headers.
+
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..96830a7
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+khronos-opencl-headers (1.0-2010.06.13-0) UNRELEASED; urgency=low
+
+ * Initial release. (Closes: #598477)
+
+ -- Andreas Beckmann <debian at abeckmann.de> Tue, 28 Sep 2010 14:20:06 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..45a4fb7
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+8
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..f8486b3
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,23 @@
+Source: khronos-opencl-headers
+Section: devel
+Priority: extra
+Maintainer: Andreas Beckmann <debian at abeckmann.de>
+Build-Depends: debhelper (>= 8)
+Standards-Version: 3.9.1
+Homepage: http://www.khronos.org/registry/cl/
+Vcs-Svn: svn://svn.debian.org/svn/pkg-nvidia/packages/khronos-opencl-headers/trunk
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-nvidia/packages/khronos-opencl-headers/
+
+Package: opencl-headers
+Architecture: all
+Depends: ${misc:Depends}
+Breaks: nvidia-libopencl1-dev (<< 195.36.31-5~), nvidia-cuda-dev (<< 3.1-2~)
+Replaces: nvidia-libopencl1-dev (<< 195.36.31-5~), nvidia-cuda-dev (<< 3.1-2~)
+Description: OpenCL (Open Computing Language) header files
+ OpenCL (Open Computing Language) is a multi-vendor open standard for
+ general-purpose parallel programming of heterogeneous systems that include
+ CPUs, GPUs and other processors.
+ .
+ This package provides the development header files for the OpenCL API 1.0
+ as published by The Khronos Group Inc. The corresponding specification and
+ documentation can be found on the Khronos website.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..85e4de7
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,45 @@
+Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
+Name: OpenCL headers
+Maintainer: The Khronos Group Inc. <http://www.khronos.org/>
+Source: http://www.khronos.org/registry/cl/
+
+Files: *
+Copyright: (c) 2008-2010 The Khronos Group Inc.
+License: other-KHRONOS
+ Permission is hereby granted, free of charge, to any person obtaining a
+ copy of this software and/or associated documentation files (the
+ "Materials"), to deal in the Materials without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Materials, and to
+ permit persons to whom the Materials are furnished to do so, subject to
+ the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included
+ in all copies or substantial portions of the Materials.
+ .
+ THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+ MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
+
+Files: debian/*
+Copyright: © 2010 Andreas Beckmann <debian at abeckmann.de>
+License: GPL-3+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+ .
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+ Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License along
+ with this program. If not, see <http://www.gnu.org/licenses/>.
+ .
+ The GNU General Public License version 3 may be found on Debian systems
+ in /usr/share/common-licenses/GPL-3.
diff --git a/debian/opencl-headers.README.Debian b/debian/opencl-headers.README.Debian
new file mode 100644
index 0000000..ffcd7d7
--- /dev/null
+++ b/debian/opencl-headers.README.Debian
@@ -0,0 +1,14 @@
+opencl-headers for Debian
+-------------------------
+
+This package contains the OpenCL API headers as published by The Khronos
+Group Inc. These headers are free. There is no OpenCL library included
+because no free OpenCL implementation (that I know of) exists at the moment.
+
+Non-free OpenCL implementations are available from e.g. NVIDIA (packaged in
+Debian as nvidia-libopencl1 and nvidia-opencl-icd) or AMD/ATI.
+
+The OpenCL specifications can be freely downloaded from
+<http://www.khronos.org/registry/cl/> but cannot be redistributed.
+
+ -- Andreas Beckmann <debian at abeckmann.de> Wed, 29 Sep 2010 10:00:57 +0200
diff --git a/debian/opencl-headers.install b/debian/opencl-headers.install
new file mode 100644
index 0000000..a04db7f
--- /dev/null
+++ b/debian/opencl-headers.install
@@ -0,0 +1,3 @@
+opencl.h usr/include/CL/
+cl*.h usr/include/CL/
+cl*.hpp usr/include/CL/
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..bd4a041
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,20 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@
+
+api = 1.0
+headers = opencl.h cl_platform.h cl.h cl_ext.h cl_d3d10.h cl_gl.h cl_gl_ext.h
+headers_hpp = cl.hpp
+get-orig-source:
+ rm -rf opencl-headers-$(api)
+ mkdir opencl-headers-$(api)
+ set -e; cd opencl-headers-$(api) ; \
+ for h in $(headers) ; do \
+ wget http://www.khronos.org/registry/cl/api/$(api)/$$h ; \
+ done ; \
+ for h in $(headers_hpp) ; do \
+ wget http://www.khronos.org/registry/cl/api/1.1/$$h ; \
+ done
+ tar cfz opencl-headers-$(api).tar.gz --owner=root --group=src opencl-headers-$(api)
+ rm -rf opencl-headers-$(api)
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..5fd3435
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+# There is no tarball or similar distribution available from
+# http://www.khronos.org/registry/cl/
+# The headers have to be downloaded file-by-file. The get-orig-source
+# taregt in debian/rules canbe used to download and tar them.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opencl/khronos-opencl-headers.git
More information about the Pkg-opencl-commits
mailing list