[libclc] 85/291: Imported Debian patch 0~git20130819-1

Andreas Beckmann anbe at moszumanska.debian.org
Tue Sep 8 10:53:36 UTC 2015


This is an automated email from the git hooks/post-receive script.

anbe pushed a commit to branch master
in repository libclc.

commit 2b5e8f2820d7cb5b64cf6311522e555ffb05fe93
Author: Michael Gilbert <mgilbert at debian.org>
Date:   Mon Sep 2 17:56:00 2013 +0000

    Imported Debian patch 0~git20130819-1
---
 debian/changelog               | 12 +++++++++
 debian/compat                  |  1 +
 debian/control                 | 49 +++++++++++++++++++++++++++++++++++
 debian/copyright               | 59 ++++++++++++++++++++++++++++++++++++++++++
 debian/libclc-dev.install      |  2 ++
 debian/libclc-ptx.install      |  1 +
 debian/libclc-r600.install     |  1 +
 debian/patches/clangpath.patch | 15 +++++++++++
 debian/patches/series          |  1 +
 debian/rules                   | 19 ++++++++++++++
 debian/source/format           |  1 +
 debian/watch                   |  2 ++
 12 files changed, 163 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..d6e9a5c
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,12 @@
+libclc (0~git20130819-1) unstable; urgency=low
+
+  [ Julian Wollrath ]
+  * Initial release (closes: #719909).
+
+  [ Michael Gilbert ]
+  * Add debian/watch.
+  * Simplify debian/rules.
+  * Improve debian/control.
+  * Set maintainer to the Debian OpenCL team.
+
+ -- Michael Gilbert <mgilbert at debian.org>  Mon, 02 Sep 2013 17:56:00 +0000
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..a2cdd59
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,49 @@
+Source: libclc
+Section: libs
+Priority: extra
+Maintainer: Debian OpenCL team <pkg-opencl-devel at lists.alioth.debian.org>
+Uploaders:
+ Michael Gilbert <mgilbert at debian.org>,
+ Julian Wollrath <jwollrath at web.de>,
+Build-Depends:
+ debhelper (>= 9),
+ llvm-3.3-dev,
+ clang-3.3,
+ python,
+Standards-Version: 3.9.4
+Homepage: http://libclc.llvm.org
+
+Package: libclc-ptx
+Architecture: all
+Depends:
+ ${misc:Depends},
+Description: OpenCL C language implementation - ptx support
+ libclc is an open implementation of the OpenCL C programming language,
+ as specified by the OpenCL 1.1 Specification.
+ .
+ libclc is intended to be used with the Clang compiler's OpenCL frontend.
+ .
+ This package contains support for the PTX platform.
+
+Package: libclc-r600
+Architecture: all
+Depends:
+ ${misc:Depends},
+Description: OpenCL C language implementation - r600 support
+ libclc is an open implementation of the OpenCL C programming language,
+ as specified by the OpenCL 1.1 Specification.
+ .
+ This package contains support for the r600 (AMD GPU) platform.
+
+Package: libclc-dev
+Section: libdevel
+Architecture: all
+Depends:
+ ${misc:Depends},
+ libclc-r600 (= ${binary:Version}) | libclc-ptx (= ${binary:Version}),
+ libclang-common-3.3-dev,
+Description: OpenCL C language implementation - development files
+ libclc is an open implementation of the OpenCL C programming language,
+ as specified by the OpenCL 1.1 Specification.
+ .
+ This package contains development header files.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..271fe10
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,59 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0
+Upstream-Name: libclc
+Source: http://libclc.llvm.org
+
+Files: *
+Copyright: 2011-2013 Peter Collingbourne <peter at pcc.me.uk>
+License: BSD or MIT
+
+Files: debian/*
+Copyright: 2013 Julian Wollrath <jwollrath at web.de>, Michael Gilbert <mgilbert at debian.org>
+License: BSD or MIT
+
+License: BSD
+ All rights reserved.
+ .
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ with the Software without restriction, including without limitation the
+ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+ sell copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+ .
+     * Redistributions of source code must retain the above copyright notice,
+       this list of conditions and the following disclaimers.
+ .
+     * Redistributions in binary form must reproduce the above copyright
+       notice, this list of conditions and the following disclaimers in the
+       documentation and/or other materials provided with the distribution.
+ .
+     * The names of the contributors may not be used to endorse or promote
+       products derived from this Software without specific prior written
+       permission.
+ .
+ THE SOFTWARE IS 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
+ CONTRIBUTORS 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 SOFTWARE OR THE USE OR OTHER DEALINGS WITH
+ THE SOFTWARE.
+
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ 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 Software.
+ .
+ THE SOFTWARE IS 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 SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ THE SOFTWARE.
diff --git a/debian/libclc-dev.install b/debian/libclc-dev.install
new file mode 100644
index 0000000..f49c875
--- /dev/null
+++ b/debian/libclc-dev.install
@@ -0,0 +1,2 @@
+usr/include
+usr/lib/pkgconfig
diff --git a/debian/libclc-ptx.install b/debian/libclc-ptx.install
new file mode 100644
index 0000000..d9cb807
--- /dev/null
+++ b/debian/libclc-ptx.install
@@ -0,0 +1 @@
+usr/lib/clc/*ptx*.bc
diff --git a/debian/libclc-r600.install b/debian/libclc-r600.install
new file mode 100644
index 0000000..1d30fbe
--- /dev/null
+++ b/debian/libclc-r600.install
@@ -0,0 +1 @@
+usr/lib/clc/*r600*.bc
diff --git a/debian/patches/clangpath.patch b/debian/patches/clangpath.patch
new file mode 100644
index 0000000..bfe6bdb
--- /dev/null
+++ b/debian/patches/clangpath.patch
@@ -0,0 +1,15 @@
+description: set appropriate path to clang
+author: Michael Gilbert <mgilbert at debian.org>
+--- libclc.orig/configure.py	2013-09-02 17:29:12.448415742 +0000
++++ libclc/configure.py	2013-09-02 19:09:55.188570466 +0000
+@@ -65,8 +65,8 @@
+                  llvm_config(['--ldflags'])
+ llvm_cxxflags = llvm_config(['--cxxflags']) + ' -fno-exceptions -fno-rtti'
+ 
+-llvm_clang_cxx = os.path.join(llvm_bindir, 'clang++')
+-llvm_clang = os.path.join(llvm_bindir, 'clang')
++llvm_clang_cxx = 'clang++'
++llvm_clang = 'clang'
+ llvm_link = os.path.join(llvm_bindir, 'llvm-link')
+ llvm_opt = os.path.join(llvm_bindir, 'opt')
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..f850983
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+clangpath.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..8d0897f
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,19 @@
+#!/usr/bin/make -f
+
+export DH_VERBOSE=1
+
+confflags=--prefix=/usr \
+          --with-llvm-config=/usr/bin/llvm-config-3.3 \
+
+%:
+	dh $@ --parallel
+
+override_dh_auto_configure:
+	./configure.py $(confflags)
+
+override_dh_auto_clean:
+	dh_auto_clean
+	test ! -e Makefile || make clean
+	rm -f Makefile libclc.pc
+	find -name '*.pyc' -execdir rm -f {} \;
+	find -name '*.d' -execdir rm -f {} \;
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..f86bffb
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+# upstream uses git, but has made no tags, so there is currently no way to
+# watch upstream changes

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opencl/libclc.git



More information about the Pkg-opencl-commits mailing list