[asl] 01/02: Cherry-pick and install upstream manpages.
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Fri Dec 2 14:38:42 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 asl.
commit 015575b0b78762dd3a0fe714e65aca8286069167
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date: Fri Dec 2 14:11:37 2016 +0000
Cherry-pick and install upstream manpages.
- New patch Add-upstream-manpages.patch.
- Use pandoc to generate the manpages.
- Install and clean pandoc artefacts.
- Remove lintian override for missing manpages.
Gbp-Dch: full
---
debian/asl-tools.lintian-overrides | 3 --
debian/asl-tools.manpages | 1 +
debian/clean | 1 +
debian/control | 3 +-
debian/patches/Add-upstream-manpages.patch | 67 ++++++++++++++++++++++++++++++
debian/patches/series | 1 +
debian/rules | 4 ++
7 files changed, 76 insertions(+), 4 deletions(-)
diff --git a/debian/asl-tools.lintian-overrides b/debian/asl-tools.lintian-overrides
deleted file mode 100644
index 18d46d6..0000000
--- a/debian/asl-tools.lintian-overrides
+++ /dev/null
@@ -1,3 +0,0 @@
-# Upstream does not provide manpages for the tools yet.
-# See: https://github.com/AvtechScientific/ASL/issues/28
-binary-without-manpage
diff --git a/debian/asl-tools.manpages b/debian/asl-tools.manpages
new file mode 100644
index 0000000..6b3a2b0
--- /dev/null
+++ b/debian/asl-tools.manpages
@@ -0,0 +1 @@
+asl-hardware.1
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..6b3a2b0
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1 @@
+asl-hardware.1
diff --git a/debian/control b/debian/control
index 4407796..6f088f3 100644
--- a/debian/control
+++ b/debian/control
@@ -10,7 +10,8 @@ Build-Depends: cmake (>= 3.0.2),
libboost-system-dev (>= 1.53),
libmatio-dev (>= 1.5.2),
libvtk6-dev,
- ocl-icd-opencl-dev | opencl-dev
+ ocl-icd-opencl-dev | opencl-dev,
+ pandoc
Build-Depends-Indep: doxygen,
graphviz
Standards-Version: 3.9.8
diff --git a/debian/patches/Add-upstream-manpages.patch b/debian/patches/Add-upstream-manpages.patch
new file mode 100644
index 0000000..948dd33
--- /dev/null
+++ b/debian/patches/Add-upstream-manpages.patch
@@ -0,0 +1,67 @@
+From: Ghislain Antony Vaillant <ghisvail at gmail.com>
+Date: Fri, 2 Dec 2016 14:10:48 +0000
+Subject: Add upstream manpages.
+
+---
+ doc/Man-Pages/asl-hardware.1.org | 52 ++++++++++++++++++++++++++++++++++++++++
+ 1 file changed, 52 insertions(+)
+ create mode 100644 doc/Man-Pages/asl-hardware.1.org
+
+diff --git a/doc/Man-Pages/asl-hardware.1.org b/doc/Man-Pages/asl-hardware.1.org
+new file mode 100644
+index 0000000..4a72858
+--- /dev/null
++++ b/doc/Man-Pages/asl-hardware.1.org
+@@ -0,0 +1,52 @@
++# This file can be converted to a man page in one of the following ways:
++# 1. Emacs command:
++# M-x org-e-man-export-to-man
++# 2. pandoc:
++# pandoc asl-hardware.1.org -s -t man -o asl-hardware.1
++#
++# Alternative way: 'help2man' <https://www.gnu.org/software/help2man/>
++#
++#
++# Advanced Simulation Library <http://asl.org.il/>
++#
++# Copyright 2015 Avtech Scientific <http://avtechscientific.com/>
++#
++#
++# This file is part of Advanced Simulation Library (ASL).
++#
++# ASL is free software: you can redistribute it and/or modify it
++# under the terms of the GNU Affero General Public License as
++# published by the Free Software Foundation, version 3 of the License.
++#
++# ASL 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 Affero General Public License for more details.
++#
++# You should have received a copy of the GNU Affero General Public License
++# along with ASL. If not, see <http://www.gnu.org/licenses/>.
++#
++
++#+TITLE: ASL-HARDWARE(1)
++#+AUTHOR: Avtech Scientific <http://avtechscientific.com/>
++#+DATE: November 2016
++
++* NAME
++
++ asl-hardware - display certain capabilities of the available OpenCL-enalbed devices
++
++* SYNOPSIS
++
++ *asl-hardware*
++
++* DESCRIPTION
++
++ Display certain essential capabilities of all available OpenCL-enalbed devices. This information is useful for configuration of kernels automatically generated by the computational engine of the Advanced Simulation Library.
++
++* COPYRIGHT
++
++ Copyright © 2015 Avtech Scientific. License: AGPLv3 or an optional commercial license <http://asl.org.il/licensing/>.
++
++* SEE ALSO
++
++ Advanced Simulation Library <http://asl.org.il/>, clinfo(1).
diff --git a/debian/patches/series b/debian/patches/series
index 26f2de1..874823e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
Use-system-MathJax.patch
Fix-spelling-errors-reported-by-Lintian.patch
+Add-upstream-manpages.patch
diff --git a/debian/rules b/debian/rules
index 64b9c7a..febe581 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,6 +26,10 @@ override_dh_auto_configure-arch:
override_dh_auto_configure-indep:
dh_auto_configure -- $(BUILD_OPTIONS) -DWITH_API_DOC=ON
+override_dh_auto_build-arch:
+ dh_auto_build --arch
+ pandoc doc/Man-Pages/asl-hardware.1.org -s -t man -o asl-hardware.1
+
override_dh_installdocs-indep:
dh_installdocs --indep
dh_doxygen --indep
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/asl.git
More information about the debian-science-commits
mailing list