Commit 6e91355d authored by Tony Mancill's avatar Tony Mancill

add path to use local MathJax.js from libjs-mathjax package

Addresses privacy breach lintian warning.
parent 13b46263
......@@ -43,7 +43,7 @@ Description: Java lightweight mathematics and statistics components
Package: libcommons-math3-java-doc
Architecture: all
Section: doc
Depends: ${misc:Depends}
Depends: ${misc:Depends}, libjs-mathjax
Suggests: libcommons-math3-java
Description: Java lightweight mathematics and statistics components - documentation
Commons Math is a Java library of lightweight, self-contained mathematics
......
--- a/build.xml
+++ b/build.xml
@@ -245,7 +245,7 @@
doctitle="<h1>${component.title} ${component.version}</h1>"
windowtitle="${component.title} ${component.version}"
bottom="Copyright (c) 2003-${current.year} Apache Software Foundation"
- additionalparam="-header '<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>'"
+ additionalparam="-header '<script type="text/javascript" src="file:///usr/share/javascript/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>'"
classpathref="compile.classpath">
<link href="http://java.sun.com/j2se/1.5.0/docs/api/"/>
</javadoc>
--- a/pom.xml
+++ b/pom.xml
@@ -524,7 +524,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
- <additionalparam>-header &apos;&lt;script type=&quot;text/javascript&quot; src=&quot;http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML&quot;&gt;&lt;/script&gt;&apos;</additionalparam>
+ <additionalparam>-header &apos;&lt;script type=&quot;text/javascript&quot; src=&quot;file:///usr/share/javascript/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML&quot;&gt;&lt;/script&gt;&apos;</additionalparam>
</configuration>
</plugin>
</plugins>
@@ -670,7 +670,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
- <additionalparam>-header &apos;&lt;script type=&quot;text/javascript&quot; src=&quot;http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML&quot;&gt;&lt;/script&gt;&apos;</additionalparam>
+ <additionalparam>-header &apos;&lt;script type=&quot;text/javascript&quot; src=&quot;file:///usr/share/javascript/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML&quot;&gt;&lt;/script&gt;&apos;</additionalparam>
</configuration>
</plugin>
</plugins>
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -77,7 +77,7 @@
</menu>
<head>
- <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
+ <script type="text/javascript" src="file:///usr/share/javascript/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
</script>
</head>
01_ignore_unstable_tests.diff
02_MATH-1207.patch
03_libjs-mathjax.patch
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment