[pdal] 02/04: Add patch to fix FTBFS with sphinx >= 1.6.4-1. (closes: #877117)
Bas Couwenberg
sebastic at debian.org
Fri Sep 29 09:56:09 UTC 2017
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository pdal.
commit 5c1c2da314bc626dfcb72bc9bb33c3d6784d1835
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Fri Sep 29 10:40:27 2017 +0200
Add patch to fix FTBFS with sphinx >= 1.6.4-1. (closes: #877117)
---
debian/changelog | 2 ++
debian/patches/series | 1 +
...OPTIONS-does-not-define-SOURCELINK_SUFFIX.patch | 34 ++++++++++++++++++++++
3 files changed, 37 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 8d45541..81499c0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ pdal (1.5.0-4) UNRELEASED; urgency=medium
* Bump Standards-Version to 4.1.0, no changes.
* Update privacy-breach.patch to fix privacy-breach-generic issues.
* Add python3-sphinx to build dependencies.
+ * Add patch to fix FTBFS with sphinx >= 1.6.4-1.
+ (closes: #877117)
-- Bas Couwenberg <sebastic at debian.org> Sat, 23 Sep 2017 03:02:55 +0200
diff --git a/debian/patches/series b/debian/patches/series
index 080f495..c965fa7 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
privacy-breach.patch
disable-sphinxcontrib-bibtex.patch
use-mathjax-package.patch
+sphinx-DOCUMENTATION_OPTIONS-does-not-define-SOURCELINK_SUFFIX.patch
diff --git a/debian/patches/sphinx-DOCUMENTATION_OPTIONS-does-not-define-SOURCELINK_SUFFIX.patch b/debian/patches/sphinx-DOCUMENTATION_OPTIONS-does-not-define-SOURCELINK_SUFFIX.patch
new file mode 100644
index 0000000..f8fea5f
--- /dev/null
+++ b/debian/patches/sphinx-DOCUMENTATION_OPTIONS-does-not-define-SOURCELINK_SUFFIX.patch
@@ -0,0 +1,34 @@
+Description: Fix FTBFS with sphinx >= 1.6.4-1.
+ sphinx (1.6.4-1) contains the following change:
+ .
+ * dh_sphinxdoc: Turn warning about missing SOURCELINK_SUFFIX to an error.
+ .
+ Which causes this build failure:
+ .
+ dh_sphinxdoc: DOCUMENTATION_OPTIONS does not define SOURCELINK_SUFFIX
+Author: Bas Couwenberg <sebastic at debian.org>
+
+--- a/doc/rtd_theme/layout.html
++++ b/doc/rtd_theme/layout.html
+@@ -165,7 +165,8 @@
+ VERSION:'{{ release|e }}',
+ COLLAPSE_INDEX:false,
+ FILE_SUFFIX:'{{ '' if no_search_suffix else file_suffix }}',
+- HAS_SOURCE: {{ has_source|lower }}
++ HAS_SOURCE: {{ has_source|lower }},
++ SOURCELINK_SUFFIX: '{{ sourcelink_suffix }}'
+ };
+ </script>
+ {%- for scriptfile in script_files %}
+--- a/doc/rtd_theme/layout_old.html
++++ b/doc/rtd_theme/layout_old.html
+@@ -91,7 +91,8 @@
+ VERSION: '{{ release|e }}',
+ COLLAPSE_INDEX: false,
+ FILE_SUFFIX: '{{ '' if no_search_suffix else file_suffix }}',
+- HAS_SOURCE: {{ has_source|lower }}
++ HAS_SOURCE: {{ has_source|lower }},
++ SOURCELINK_SUFFIX: '{{ sourcelink_suffix }}'
+ };
+ </script>
+ {%- for scriptfile in script_files %}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/pdal.git
More information about the Pkg-grass-devel
mailing list