[compute] 01/14: initial debianization

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Fri Dec 18 17:56:57 UTC 2015


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

ghisvail-guest pushed a commit to branch debian/sid
in repository compute.

commit 3b1c51774a133c6df6f69275faf327ad3182ba8f
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Mon Jul 27 11:26:56 2015 +0100

    initial debianization
---
 debian/changelog                                 |   5 +
 debian/compat                                    |   1 +
 debian/control                                   |  35 +++++
 debian/copyright                                 | 180 +++++++++++++++++++++++
 debian/docs                                      |   1 +
 debian/gbp.conf                                  |   6 +
 debian/patches/fix-cmake-config-installdir.patch |  25 ++++
 debian/patches/series                            |   1 +
 debian/rules                                     |  15 ++
 debian/source/format                             |   1 +
 debian/watch                                     |   4 +
 11 files changed, 274 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..c877fea
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+compute (0.4-1) UNRELEASED; urgency=low
+
+  * Initial release. (Closes: #794649)
+
+ -- Ghislain Antony Vaillant <ghisvail at gmail.com>  Mon, 27 Jul 2015 11:11:49 +0100
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..a6b01d3
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,35 @@
+Source: compute
+Section: science
+Priority: optional
+Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders: Ghislain Antony Vaillant <ghisvail at gmail.com>
+Build-Depends: cmake,
+               debhelper (>= 9),
+               libboost-dev (>= 1.48),
+               ocl-icd-opencl-dev | opencl-dev
+Standards-Version: 3.9.6
+Homepage: http://kylelutz.github.io/compute/
+Vcs-Git: git://anonscm.debian.org/debian-science/packages/compute.git
+Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/compute.git
+
+Package: libcompute-dev
+Section: libdevel
+Architecture: any
+Depends: ${misc:Depends},
+         libboost-dev,
+         ocl-icd-opencl-dev | opencl-dev
+Description: cross-platform C++ library for GPU computing
+ Boost.Compute is a GPU/parallel-computing library for C++ based on OpenCL.
+ .
+ The core library is a thin C++ wrapper over the OpenCL API and provides access
+ to compute devices, contexts, command queues and memory buffers.
+ .
+ On top of the core library is a generic, STL-like interface providing common
+ algorithms (e.g. transform(), accumulate(), sort()) along with common
+ containers (e.g. vector<T>, flat_set<T>). It also features a number of
+ extensions including parallel-computing algorithms (e.g. exclusive_scan(),
+ scatter(), reduce()) and a number of fancy iterators (e.g.
+ transform_iterator<>, permutation_iterator<>, zip_iterator<>). 
+ .
+ This package provides the development files for the standalone compute 
+ package.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..53eff50
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,180 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: boost-compute
+Source: https://github.com/boostorg/compute
+
+Files: *
+Copyright: 2013-2014 Kyle Lutz <kyle.r.lutz at gmail.com>
+License: BSL-1.0
+
+Files: include/boost/compute/algorithm/set_difference.hpp
+       include/boost/compute/algorithm/partition_point.hpp
+       include/boost/compute/algorithm/unique.hpp
+       include/boost/compute/algorithm/unique_copy.hpp
+       include/boost/compute/algorithm/includes.hpp
+       include/boost/compute/algorithm/search.hpp
+       include/boost/compute/algorithm/detail/compact.hpp
+       include/boost/compute/algorithm/detail/search_all.hpp
+       include/boost/compute/algorithm/detail/balanced_path.hpp
+       include/boost/compute/algorithm/detail/merge_path.hpp
+       include/boost/compute/algorithm/detail/merge_with_merge_path.hpp
+       include/boost/compute/algorithm/detail/binary_find.hpp
+       include/boost/compute/algorithm/prev_permutation.hpp
+       include/boost/compute/algorithm/find_end.hpp
+       include/boost/compute/algorithm/search_n.hpp
+       include/boost/compute/algorithm/set_union.hpp
+       include/boost/compute/algorithm/rotate.hpp
+       include/boost/compute/algorithm/set_intersection.hpp
+       include/boost/compute/algorithm/next_permutation.hpp
+       include/boost/compute/algorithm/set_symmetric_difference.hpp
+       include/boost/compute/algorithm/stable_partition.hpp
+       include/boost/compute/algorithm/is_permutation.hpp
+       include/boost/compute/algorithm/rotate_copy.hpp
+       include/boost/compute/random/discrete_distribution.hpp
+       include/boost/compute/random/uniform_int_distribution.hpp
+       include/boost/compute/random/linear_congruential_engine.hpp
+       include/boost/compute/random/bernoulli_distribution.hpp
+       test/test_search_n.cpp
+       test/test_rotate.cpp
+       test/test_set_difference.cpp
+       test/test_prev_permutation.cpp
+       test/test_unique_copy.cpp
+       test/test_set_symmetric_difference.cpp
+       test/test_set_union.cpp
+       test/test_discrete_distribution.cpp
+       test/test_linear_congruential_engine.cpp
+       test/test_bernoulli_distribution.cpp
+       test/test_set_intersection.cpp
+       test/test_unique.cpp
+       test/test_next_permutation.cpp
+       test/test_stable_partition.cpp
+       test/test_partition_point.cpp
+       test/test_search.cpp
+       test/test_rotate_copy.cpp
+       test/test_find_end.cpp
+       test/test_is_permutation.cpp
+       test/test_uniform_int_distribution.cpp
+       test/test_includes.cpp
+       perf/perf_rotate_copy.cpp
+       perf/perf_stl_unique.cpp
+       perf/perf_search.cpp
+       perf/perf_stl_set_difference.cpp
+       perf/perf_discrete_distribution.cpp
+       perf/perf_stl_stable_partition.cpp
+       perf/perf_stl_search.cpp
+       perf/perf_set_intersection.cpp
+       perf/perf_linear_congruential_engine.cpp
+       perf/perf_prev_permutation.cpp
+       perf/perf_set_union.cpp
+       perf/perf_stable_partition.cpp
+       perf/perf_stl_find_end.cpp
+       perf/perf_nth_element.cpp
+       perf/perf_stl_prev_permutation.cpp
+       perf/perf_next_permutation.cpp
+       perf/perf_stl_set_union.cpp
+       perf/perf_stl_search_n.cpp
+       perf/perf_set_symmetric_difference.cpp
+       perf/perf_stl_is_permutation.cpp
+       perf/perf_stl_rotate_copy.cpp
+       perf/perf_binary_find.cpp
+       perf/perf_unique.cpp
+       perf/perf_partition_point.cpp
+       perf/perf_stl_next_permutation.cpp
+       perf/perf_search_n.cpp
+       perf/perf_uniform_int_distribution.cpp
+       perf/perf_stl_set_intersection.cpp
+       perf/perf_stl_unique_copy.cpp
+       perf/perf_bernoulli_distribution.cpp
+       perf/perf_stl_set_symmetric_difference.cpp
+       perf/perf_stl_partition.cpp
+       perf/perf_rotate.cpp
+       perf/perf_is_permutation.cpp
+       perf/perf_set_difference.cpp
+       perf/perf_unique_copy.cpp
+       perf/perf_stl_partition_point.cpp
+       perf/perf_stl_includes.cpp
+       perf/perf_stl_reverse.cpp
+       perf/perf_partition.cpp
+       perf/perf_includes.cpp
+       perf/perf_find_end.cpp
+       perf/perf_stl_rotate.cpp
+Copyright: 2014 Roshan <thisisroshansmail at gmail.com>>
+License: BSL-1.0
+
+Files: include/boost/compute/algorithm/lexicographical_compare.hpp
+       test/test_lexicographical_compare.cpp
+       example/opencv_convolution.cpp
+       example/opencv_histogram.cpp
+       example/opencv_optical_flow.cpp
+       example/opencv_sobel_filter.cpp
+Copyright: 2014 Mageswaran.D <mageswaran1989 at gmail.com>
+License: BSL-1.0
+
+Files: test/test_unsupported_extension.cpp
+       test/test_context_error.cpp
+       example/nbody.cpp
+Copyright: 2014 Fabian Köhler <fabian2804 at googlemail.com>
+License: BSL-1.0
+
+Files: example/simple_moving_average.cpp
+       example/matrix_transpose.cpp
+       perf/perf_exclusive_scan.cpp
+Copyright: 2014 Benoit Dequidt <benoit.dequidt at gmail.com>
+License: BSL-1.0
+
+Files: perf/perf_stl_max_element.cpp
+       perf/perf_max_element.cpp
+Copyright: 2013-2014 Rastko Anicic <anicic.rastko at gmail.com>
+License: BSL-1.0
+
+Files: test/context_setup.hpp
+       test/opencl_version_check.hpp
+Copyright: 2013-2014 Denis Demidov
+License: BSL-1.0
+
+Files: debian/*
+Copyright: 2015 Ghislain Antony Vaillant <ghisvail at gmail.com>
+License: Expat
+
+License: BSL-1.0
+ Boost Software License - Version 1.0 - August 17th, 2003
+ . 
+ Permission is hereby granted, free of charge, to any person or organization
+ obtaining a copy of the software and accompanying documentation covered by
+ this license (the "Software") to use, reproduce, display, distribute,
+ execute, and transmit the Software, and to prepare derivative works of the
+ Software, and to permit third-parties to whom the Software is furnished to
+ do so, all subject to the following:
+ . 
+ The copyright notices in the Software and this entire statement, including
+ the above license grant, this restriction and the following disclaimer,
+ must be included in all copies of the Software, in whole or in part, and
+ all derivative works of the Software, unless such copies or derivative
+ works are solely in the form of machine-executable object code generated by
+ a source language processor.
+ . 
+ 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, TITLE AND NON-INFRINGEMENT. IN NO EVENT
+ SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
+ FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ DEALINGS IN THE SOFTWARE.
+
+License: Expat
+ 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/docs b/debian/docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..02ed790
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,6 @@
+[DEFAULT]
+upstream-branch = master
+debian-branch = debian/sid
+upstream-tag = upstream/v%(version)s
+debian-tag = debian/%(version)s
+pristine-tar = True
diff --git a/debian/patches/fix-cmake-config-installdir.patch b/debian/patches/fix-cmake-config-installdir.patch
new file mode 100644
index 0000000..b4be0d4
--- /dev/null
+++ b/debian/patches/fix-cmake-config-installdir.patch
@@ -0,0 +1,25 @@
+From 1df43402a05943c3b441356e5808ddf3ac4ab854 Mon Sep 17 00:00:00 2001
+From: Marius Brehler <marius.brehler at tu-dortmund.de>
+Date: Sat, 6 Jun 2015 10:19:24 +0200
+Subject: [PATCH] Install BoostComputeConfig.cmake to lib/cmake/BoostCompute
+
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 23ec49e..cce290c 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -96,7 +96,7 @@ configure_file(
+ # install cmake config file
+ install(
+   FILES ${BoostCompute_BINARY_DIR}/BoostComputeConfig.cmake
+-  DESTINATION share/cmake/BoostCompute
++  DESTINATION lib/cmake/BoostCompute
+ )
+ 
+ # install header files
+-- 
+2.1.4
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..8bc371e
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix-cmake-config-installdir.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..a3e67c8
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,15 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+	dh $@ --buildsystem=cmake
+
+override_dh_auto_configure:
+	dh_auto_configure -- \
+		-DBOOST_COMPUTE_BUILD_BENCHMARKS=OFF \
+		-DBOOST_COMPUTE_BUILD_EXAMPLES=OFF \
+		-DBOOST_COMPUTE_BUILD_TESTS=OFF
+
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..211f4cd
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=3
+opts=uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/,\
+filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/compute-$1\.tar\.gz/ \
+  https://github.com/boostorg/compute/tags .*/v?(\d\S*)\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/compute.git



More information about the debian-science-commits mailing list