[forge] 01/02: Initial debianization.

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Wed Sep 14 07:35:56 UTC 2016


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

ghisvail-guest pushed a commit to branch debian/master
in repository forge.

commit ff2ffa64853d4c964c15bcfd31e2a0f269226479
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Mon Sep 12 21:20:07 2016 +0100

    Initial debianization.
---
 debian/changelog                        |  5 +++
 debian/clean                            |  2 +
 debian/compat                           |  1 +
 debian/control                          | 58 +++++++++++++++++++++++++
 debian/copyright                        | 76 +++++++++++++++++++++++++++++++++
 debian/forge-doc.doc-base               |  9 ++++
 debian/forge-doc.install                |  1 +
 debian/gbp.conf                         |  9 ++++
 debian/libforge-dev.install             |  3 ++
 debian/libforge0.install                |  1 +
 debian/patches/Use-system-MathJax.patch | 19 +++++++++
 debian/patches/series                   |  1 +
 debian/rules                            | 22 ++++++++++
 debian/source/format                    |  1 +
 debian/upstream/metadata                |  5 +++
 debian/watch                            |  3 ++
 16 files changed, 216 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..77c91cd
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+forge (0.9.0-1) UNRELEASED; urgency=low
+
+  * Initial release. (Closes: #834723)
+
+ -- Ghislain Antony Vaillant <ghisvail at gmail.com>  Mon, 12 Sep 2016 21:23:06 +0100
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..b7410a6
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,2 @@
+# Artifacts from the build system.
+include/fg/version.h
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..93c2434
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,58 @@
+Source: forge
+Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders: Ghislain Antony Vaillant <ghisvail at gmail.com>
+Section: libs
+Priority: optional
+Build-Depends: cmake (>= 3.0),
+               debhelper (>= 9),
+               libfontconfig1-dev,
+               libfreeimage-dev,
+               libfreetype6-dev,
+               libglbinding-dev,
+               libglfw3-dev,
+               libglm-dev
+Build-Depends-Indep: doxygen
+Standards-Version: 3.9.8
+Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/forge.git
+Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/forge.git
+Homepage: https://github.com/arrayfire/forge
+
+Package: libforge0
+Architecture: any
+Multi-Arch: same
+Depends: ${misc:Depends},
+         ${shlibs:Depends}
+Pre-Depends: ${misc:Pre-Depends}
+Description: high-performance OpenGL visualization
+ A prototype of the OpenGL interop library that can be used with ArrayFire. The
+ goal of Forge is to provide high performance OpenGL visualizations for C/C++
+ applications that use CUDA/OpenCL.
+ .
+ This package provides the shared libraries.
+
+Package: libforge-dev
+Architecture: any
+Multi-Arch: same
+Section: libdevel
+Depends: ${misc:Depends},
+         libforge0 (= ${binary:Version})
+Suggests: forge-doc
+Description: development files for forge
+ A prototype of the OpenGL interop library that can be used with ArrayFire. The
+ goal of Forge is to provide high performance OpenGL visualizations for C/C++
+ applications that use CUDA/OpenCL.
+ .
+ This package provides the development files.
+
+Package: forge-doc
+Architecture: all
+Multi-Arch: foreign
+Section: doc
+Depends: ${misc:Depends},
+         libjs-mathjax
+Description: documentation for forge
+ A prototype of the OpenGL interop library that can be used with ArrayFire. The
+ goal of Forge is to provide high performance OpenGL visualizations for C/C++
+ applications that use CUDA/OpenCL.
+ .
+ This package provides the documentation.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..21a1423
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,76 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: forge
+Source: https://github.com/arrayfire/forge
+
+Files: *
+Copyright: 2014 ArrayFire
+License: BSD-3-Clause
+
+Files: CMakeModules/FindFontConfig.cmake
+Copyright: 2011-2012 Nicolas P. Rougier
+License: BSD-2-Clause
+
+Files: CMakeModules/FindGLFW.cmake
+Copyright: assembly3d
+License: BSD-3-Clause
+
+Files: CMakeModules/FindOpenCL.cmake
+Copyright: 2014 Matthaeus G. Chajdas
+License: BSD-3-Clause
+
+Files: CMakeModules/glsl2cpp.cpp
+Copyright: 2015 Umar Arshad
+ 2015 Pradeep Garigipati
+License: BSD-3-Clause
+
+Files: debian/*
+Copyright: 2016 Ghislain Antony Vaillant <ghisvail at gmail.com>
+License: BSD-3-Clause
+
+License: BSD-2-Clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+ .
+ 1. Redistributions of source code must retain the above copyright notice, this
+ list of conditions and the following disclaimer.
+ .
+ 2. Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+License: BSD-3-Clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+ .
+ 1. Redistributions of source code must retain the above copyright notice, this
+ list of conditions and the following disclaimer.
+ .
+ 2. Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+ .
+ 3. Neither the name of the copyright holder nor the names of its contributors
+ may be used to endorse or promote products derived from this software without
+ specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/debian/forge-doc.doc-base b/debian/forge-doc.doc-base
new file mode 100644
index 0000000..3b8a121
--- /dev/null
+++ b/debian/forge-doc.doc-base
@@ -0,0 +1,9 @@
+Document: forge-doc
+Title: API documentation for forge
+Author: ArrayFire
+Abstract: This is the reference documentation for forge.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/forge-doc/html/index.htm
+Files: /usr/share/doc/forge-doc/html/*.htm
diff --git a/debian/forge-doc.install b/debian/forge-doc.install
new file mode 100644
index 0000000..22a4cdc
--- /dev/null
+++ b/debian/forge-doc.install
@@ -0,0 +1 @@
+usr/share/doc/forge-doc
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..ea5c858
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,9 @@
+[DEFAULT]
+upstream-branch = upstream/latest
+debian-branch = debian/master
+upstream-tag = upstream/%(version)s
+debian-tag = debian/%(version)s
+pristine-tar = True
+
+[pq]
+patch-numbers = False
diff --git a/debian/libforge-dev.install b/debian/libforge-dev.install
new file mode 100644
index 0000000..bb72267
--- /dev/null
+++ b/debian/libforge-dev.install
@@ -0,0 +1,3 @@
+usr/include
+usr/lib/*/*.so
+usr/lib/*/cmake
diff --git a/debian/libforge0.install b/debian/libforge0.install
new file mode 100644
index 0000000..3de3b10
--- /dev/null
+++ b/debian/libforge0.install
@@ -0,0 +1 @@
+usr/lib/*/*.so.*
diff --git a/debian/patches/Use-system-MathJax.patch b/debian/patches/Use-system-MathJax.patch
new file mode 100644
index 0000000..5edef9b
--- /dev/null
+++ b/debian/patches/Use-system-MathJax.patch
@@ -0,0 +1,19 @@
+From: Ghislain Antony Vaillant <ghisvail at gmail.com>
+Date: Wed, 24 Aug 2016 11:23:13 +0100
+Subject: Use system MathJax.
+
+---
+ docs/doxygen.mk | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/docs/doxygen.mk
++++ b/docs/doxygen.mk
+@@ -1452,7 +1452,7 @@
+ # The default value is: http://cdn.mathjax.org/mathjax/latest.
+ # This tag requires that the tag USE_MATHJAX is set to YES.
+ 
+-MATHJAX_RELPATH        = http://cdn.mathjax.org/mathjax/latest
++MATHJAX_RELPATH        = /usr/share/javascript/mathjax
+ 
+ # The MATHJAX_EXTENSIONS tag can be used to specify one or more MathJax
+ # extension names that should be enabled during MathJax rendering. For example
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..fa6ab1e
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+Use-system-MathJax.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..4b5d1e4
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,22 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE = 1
+
+# Hardening options.
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+BUILD_OPTIONS = -DBUILD_EXAMPLES=OFF \
+	-DFG_INSTALL_CMAKE_DIR="lib/$(DEB_HOST_MULTIARCH)/cmake/Forge" \
+	-DFG_INSTALL_LIB_DIR="lib/$(DEB_HOST_MULTIARCH)" \
+	-DUSE_SYSTEM_GLBINDING=ON
+
+%:
+	dh $@ --parallel
+
+override_dh_auto_configure-arch:
+	dh_auto_configure -- $(BUILD_OPTIONS) -DBUILD_DOCUMENTATION=OFF
+
+override_dh_auto_configure-indep:
+	dh_auto_configure -- $(BUILD_OPTIONS) -DBUILD_DOCUMENTATION=ON \
+		-DFG_INSTALL_DOC_DIR="share/doc/forge-doc"
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/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..8764742
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+Bug-Database: https://github.com/arrayfire/forge/issues
+Bug-Submit: https://github.com/arrayfire/forge/issues/new
+Name: forge
+Repository: git at github.com:arrayfire/forge.git
+Repository-Browse: https://github.com/arrayfire/forge
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..1c56113
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/forge-$1\.tar\.gz/ \
+https://github.com/arrayfire/forge/tags .*/v?(\d\S*)\.tar\.gz

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



More information about the debian-science-commits mailing list