[qgis] 01/01: Add path to limit the dot graph for the QGIS API documentation.

Bas Couwenberg sebastic at xs4all.nl
Sat Mar 1 18:27:17 UTC 2014


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

sebastic-guest pushed a commit to branch master
in repository qgis.

commit 3e32ab78794c0e58c7ccc73168d407f50c05d039
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sat Mar 1 18:52:38 2014 +0100

    Add path to limit the dot graph for the QGIS API documentation.
---
 debian/changelog                                      |  1 +
 debian/patches/qgis-api-doc-MAX_DOT_GRAPH_DEPTH.patch | 16 ++++++++++++++++
 debian/patches/series                                 |  1 +
 3 files changed, 18 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 15d254d..bb7e0c3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ qgis (2.2.0-1~exp1) experimental; urgency=low
   * Don't use -0 revision, shlibs depends use upstream version only.
   * Update symbols for armel, kfreebsd-amd64, kfreebsd-i386 & mipsel.
   * Add patches for changes from upstream release_2.2 branch.
+  * Add path to limit the dot graph for the QGIS API documentation.
 
  -- Bas Couwenberg <sebastic at xs4all.nl>  Sat, 01 Mar 2014 14:42:10 +0100
 
diff --git a/debian/patches/qgis-api-doc-MAX_DOT_GRAPH_DEPTH.patch b/debian/patches/qgis-api-doc-MAX_DOT_GRAPH_DEPTH.patch
new file mode 100644
index 0000000..fecc81b
--- /dev/null
+++ b/debian/patches/qgis-api-doc-MAX_DOT_GRAPH_DEPTH.patch
@@ -0,0 +1,16 @@
+Description: Limit the QGIS API Documentation dot graph depth.
+ QGIS FTBFS on armhf where the build gets killed waiting for the API
+ documentation generation to finish. Limiting the depth should reduce
+ the time needed to generate the API documentation.
+Author: Bas Couwenberg <sebastic at xs4all.nl>
+--- a/cmake_templates/Doxyfile.in
++++ b/cmake_templates/Doxyfile.in
+@@ -1595,7 +1595,7 @@ DOT_GRAPH_MAX_NODES    = 50
+ # code bases. Also note that the size of a graph can be further restricted by
+ # DOT_GRAPH_MAX_NODES. Using a depth of 0 means no depth restriction.
+ 
+-MAX_DOT_GRAPH_DEPTH    = 0
++MAX_DOT_GRAPH_DEPTH    = 2
+ 
+ # Set the DOT_TRANSPARENT tag to YES to generate images with a transparent
+ # background. This is disabled by default, because dot on Windows does not
diff --git a/debian/patches/series b/debian/patches/series
index f882626..b7fb9ff 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,6 +5,7 @@ python-env.patch
 use-local-icon.patch
 fix-qreal-vs-double.patch
 disable-features-on-arm.patch
+qgis-api-doc-MAX_DOT_GRAPH_DEPTH.patch
 0001-oracle-provider-replace-rownum-0-with-1-0-to-retriev.patch
 0001-don-t-open-the-identify-dialog-beforehand-if-Open-fe.patch
 0001-Georeferencer-fix-bad-allocation-error.patch

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



More information about the Pkg-grass-devel mailing list