[pgrouting] 08/11: Use libjs-mathjax instead of online version.
Sebastiaan Couwenberg
sebastic at moszumanska.debian.org
Fri Feb 5 12:05:55 UTC 2016
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository pgrouting.
commit f42cc96b8016b01824a7daa8a73b451c2853a274
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Fri Feb 5 11:49:19 2016 +0100
Use libjs-mathjax instead of online version.
---
debian/changelog | 1 +
debian/control | 4 +++-
debian/control.in | 4 +++-
debian/patches/privacy-breach-uses-embedded-file.patch | 15 +++++++++++++++
debian/patches/series | 1 +
debian/rules | 1 +
6 files changed, 24 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 63b3eaa..734f786 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ pgrouting (2.1.0-1) UNRELEASED; urgency=medium
- Add license & copyright for new files
* Override dh_install to use --list-missing.
* Don't symlink before_node_net1.png, no longer included.
+ * Use libjs-mathjax instead of online version.
-- Bas Couwenberg <sebastic at debian.org> Fri, 05 Feb 2016 10:50:07 +0100
diff --git a/debian/control b/debian/control
index 5bf0878..34d9e2c 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,7 @@ Build-Depends: cmake,
debhelper (>= 9),
libboost-graph-dev,
libcgal-dev,
+ libjs-mathjax,
postgresql-server-dev-all,
python-sphinx (>= 1.0.7+dfsg)
Standards-Version: 3.9.6
@@ -31,7 +32,8 @@ Description: basic routing functionality support for PostgreSQL 9.5
Package: postgresql-9.5-pgrouting-doc
Architecture: all
Section: doc
-Depends: ${misc:Depends},
+Depends: libjs-mathjax,
+ ${misc:Depends},
${sphinxdoc:Depends}
Description: basic routing functionality support for PostgreSQL 9.5 (Documentation)
pgRouting is part of PostLBS, which provides core tools for Location Based
diff --git a/debian/control.in b/debian/control.in
index f1990df..f1d476b 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -7,6 +7,7 @@ Build-Depends: cmake,
debhelper (>= 9),
libboost-graph-dev,
libcgal-dev,
+ libjs-mathjax,
postgresql-server-dev-all,
python-sphinx (>= 1.0.7+dfsg)
Standards-Version: 3.9.6
@@ -31,7 +32,8 @@ Description: basic routing functionality support for PostgreSQL PGVERSION
Package: postgresql-PGVERSION-pgrouting-doc
Architecture: all
Section: doc
-Depends: ${misc:Depends},
+Depends: libjs-mathjax,
+ ${misc:Depends},
${sphinxdoc:Depends}
Description: basic routing functionality support for PostgreSQL PGVERSION (Documentation)
pgRouting is part of PostLBS, which provides core tools for Location Based
diff --git a/debian/patches/privacy-breach-uses-embedded-file.patch b/debian/patches/privacy-breach-uses-embedded-file.patch
new file mode 100644
index 0000000..5b4c423
--- /dev/null
+++ b/debian/patches/privacy-breach-uses-embedded-file.patch
@@ -0,0 +1,15 @@
+Description: Use libjs-mathjax instead of online version.
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: not-needed
+
+--- a/doc/conf.py.in
++++ b/doc/conf.py.in
+@@ -25,7 +25,7 @@ needs_sphinx = '1.1'
+
+ # Add any Sphinx extension module names here, as strings. They can be extensions
+ # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
+-mathjax_path="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"
++mathjax_path="mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML"
+ extensions = ['sphinx.ext.todo', 'sphinx.ext.mathjax']
+
+ # Add any paths that contain templates here, relative to this directory.
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..1a4adf4
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+privacy-breach-uses-embedded-file.patch
diff --git a/debian/rules b/debian/rules
index ba9499e..b8eef59 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,6 +23,7 @@ override_dh_auto_build:
ln -s ../pgrouting.png build-$$v/doc/html/en/_static/images/pgrouting.png; \
rm build-$$v/doc/html/en/_static/images/ccbysa.png; \
ln -s ../../_images/ccbysa.png build-$$v/doc/html/en/_static/images/ccbysa.png; \
+ ln -s /usr/share/javascript/mathjax build-$$v/doc/html/en/_static/mathjax; \
done
override_dh_auto_install:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/pgrouting.git
More information about the Pkg-grass-devel
mailing list