[arch-commits] Commit in opencl-headers/repos/testing-any (4 files)

Laurent Carlier lcarlier at archlinux.org
Tue Dec 20 09:56:48 UTC 2016


    Date: Tuesday, December 20, 2016 @ 09:56:47
  Author: lcarlier
Revision: 284352

archrelease: copy trunk to testing-any

Added:
  opencl-headers/repos/testing-any/LICENSE.txt
    (from rev 284351, opencl-headers/trunk/LICENSE.txt)
  opencl-headers/repos/testing-any/PKGBUILD
    (from rev 284351, opencl-headers/trunk/PKGBUILD)
Deleted:
  opencl-headers/repos/testing-any/LICENSE.txt
  opencl-headers/repos/testing-any/PKGBUILD

-------------+
 LICENSE.txt |   40 +++++++++++++-------------
 PKGBUILD    |   87 +++++++++++++++++++++++++++++++---------------------------
 2 files changed, 67 insertions(+), 60 deletions(-)

Deleted: LICENSE.txt
===================================================================
--- LICENSE.txt	2016-12-20 09:56:43 UTC (rev 284351)
+++ LICENSE.txt	2016-12-20 09:56:47 UTC (rev 284352)
@@ -1,20 +0,0 @@
- * Copyright (c) 2008-2010 The Khronos Group Inc.
- *
- * 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.

Copied: opencl-headers/repos/testing-any/LICENSE.txt (from rev 284351, opencl-headers/trunk/LICENSE.txt)
===================================================================
--- LICENSE.txt	                        (rev 0)
+++ LICENSE.txt	2016-12-20 09:56:47 UTC (rev 284352)
@@ -0,0 +1,20 @@
+ * Copyright (c) 2008-2010 The Khronos Group Inc.
+ *
+ * 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.

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-12-20 09:56:43 UTC (rev 284351)
+++ PKGBUILD	2016-12-20 09:56:47 UTC (rev 284352)
@@ -1,40 +0,0 @@
-# $Id$
-# Maintainer: Stéphane Gaudreault <stephane at archlinux.org>
-# Contributor: Sylvain HENRY <hsyl20 at yahoo.fr>
-
-pkgname=opencl-headers
-pkgver=2.1.20161129 # date of the commit, branch 2.1
-pkgrel=1
-epoch=2
-pkgdesc='OpenCL (Open Computing Language) header files'
-arch=('any')
-url='https://www.khronos.org/registry/cl/'
-license=('custom')
-makedepends=(git python)
-source=('git+https://github.com/KhronosGroup/OpenCL-Headers.git#commit=abb2958'
-        'git+https://github.com/KhronosGroup/OpenCL-CLHPP.git#commit=d54d52c'
-        'LICENSE.txt')
-sha256sums=('SKIP'
-            'SKIP'
-            'd1059405dce021e0c0a7f7e01b48447e641477e0c14a9bc29983f4202b67c410')
-
-package() {
-  cd "${srcdir}"/OpenCL-Headers
-
-  install -dm755 "${pkgdir}"/usr/include/CL
-
-  for h in *.h; do
-    install -m 644 ${h} "${pkgdir}"/usr/include/CL/
-  done
-
-  # remove useless headers
-  rm "${pkgdir}"/usr/include/CL/{cl_d3d,cl_dx9}*.h
-
-  cd "${srcdir}"/OpenCL-CLHPP
-
-  python gen_cl_hpp.py -i input_cl.hpp -o cl.hpp
-  install -m 644 cl.hpp "${pkgdir}"/usr/include/CL/
-  install -m 644 input_cl2.hpp "${pkgdir}"/usr/include/CL/cl2.hpp
-
-  install -D -m644 ../LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}

Copied: opencl-headers/repos/testing-any/PKGBUILD (from rev 284351, opencl-headers/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-12-20 09:56:47 UTC (rev 284352)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: Sylvain HENRY <hsyl20 at yahoo.fr>
+
+pkgname=opencl-headers
+pkgver=2.1.20161129 # date of the commit, branch 2.1
+pkgrel=2
+epoch=2
+pkgdesc='OpenCL (Open Computing Language) header files'
+arch=('any')
+url='https://www.khronos.org/registry/cl/'
+license=('custom')
+makedepends=(git python)
+source=('git+https://github.com/KhronosGroup/OpenCL-Headers.git#commit=abb2958'
+        'git+https://github.com/KhronosGroup/OpenCL-CLHPP.git#commit=d54d52c'
+        'LICENSE.txt')
+sha256sums=('SKIP'
+            'SKIP'
+            'd1059405dce021e0c0a7f7e01b48447e641477e0c14a9bc29983f4202b67c410')
+
+prepare() {
+  cd "${srcdir}"/OpenCL-CLHPP
+
+  # https://github.com/KhronosGroup/OpenCL-CLHPP/issues/26
+  git cherry-pick -n befe77b66fd3dd87ce9fef940e475cdc71d8bd9f
+}
+
+package() {
+  cd "${srcdir}"/OpenCL-Headers
+
+  install -dm755 "${pkgdir}"/usr/include/CL
+
+  for h in *.h; do
+    install -m 644 ${h} "${pkgdir}"/usr/include/CL/
+  done
+
+  # remove useless headers
+  rm "${pkgdir}"/usr/include/CL/{cl_d3d,cl_dx9}*.h
+
+  cd "${srcdir}"/OpenCL-CLHPP
+
+  python gen_cl_hpp.py -i input_cl.hpp -o cl.hpp
+  install -m 644 cl.hpp "${pkgdir}"/usr/include/CL/
+  install -m 644 input_cl2.hpp "${pkgdir}"/usr/include/CL/cl2.hpp
+
+  install -D -m644 ../LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}



More information about the arch-commits mailing list