[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#855137: marked as done (unblock: mathjax/2.7.0-2)



Your message dated Sat, 04 Mar 2017 08:51:00 +0000
with message-id <cf30dfe3-7bbb-afb7-df08-02a2f39f0ba0@thykier.net>
and subject line Re: Bug#855137: unblock: mathjax/2.7.0-2
has caused the Debian Bug report #855137,
regarding unblock: mathjax/2.7.0-2
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
855137: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=855137
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Dear release team,

I would like to fix bug #854399, which tells that MathJax by default downloads
and evaluates a JS file from https://cdn.mathjax.org/.

In https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=854399#10 I listed the
three possible ways to fix it. A) is not applicable for Stretch because it
means packaging a new source. As it turns out, C) is not possible too,
because accessibility-menu.js is just a wrapper that loads other extensions
from MathJax-a11y repository, and I do not want to bundle all of them.

So I would like to go with B), which means disabling the accessibility menu
in the packaged version of MathJax.

The debdiff for what I would like to upload is attached. It is quite a long
patch because there are many configurations. This patch can be replaced with
(and is identical to) one sed call in debian/rules, but I prefer the patch
because it is easier to revert after build.

Please let me know if it is OK to upload this to sid.

--
Dmitry Shachnev
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+mathjax (2.7.0-2) unstable; urgency=medium
+
+  * Remove [Contrib]/a11y/accessibility-menu.js from all configurations,
+    downloading and running JS code from web is a security breach
+    (no_accessibility_menu.diff; closes: #854399).
+
+ -- Dmitry Shachnev <mitya57@debian.org>  Tue, 14 Feb 2017 18:00:27 +0300
+
 mathjax (2.7.0-1) unstable; urgency=medium
 
   * New upstream release.
--- /dev/null
+++ b/debian/patches/no_accessibility_menu.diff
@@ -0,0 +1,340 @@
+Description: remove accessibility-menu.js from the default extensions list
+ This extension is loaded from external source, which is considered a privacy
+ breach. We will be able to re-introduce it later when it is packaged.
+ .
+ This patch was generated automatically by running:
+ sed -i 's|,"\[Contrib\]/a11y/accessibility-menu.js"||' unpacked/config/*.js
+Author: Dmitry Shachnev <mitya57@debian.org>
+Forwarded: not-needed
+Last-Update: 2017-02-14
+
+--- a/unpacked/config/AM_CHTML-full.js
++++ b/unpacked/config/AM_CHTML-full.js
+@@ -14,7 +14,7 @@
+  */
+ 
+ MathJax.Hub.Config({
+-  extensions: ["asciimath2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","fast-preview.js","AssistiveMML.js","[Contrib]/a11y/accessibility-menu.js"],
++  extensions: ["asciimath2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","fast-preview.js","AssistiveMML.js"],
+   jax: ["input/AsciiMath","output/CommonHTML","output/PreviewHTML"]
+ });
+ 
+--- a/unpacked/config/AM_CHTML.js
++++ b/unpacked/config/AM_CHTML.js
+@@ -14,7 +14,7 @@
+  */
+ 
+ MathJax.Hub.Config({
+-  extensions: ["asciimath2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","fast-preview.js","AssistiveMML.js","[Contrib]/a11y/accessibility-menu.js"],
++  extensions: ["asciimath2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","fast-preview.js","AssistiveMML.js"],
+   jax: ["input/AsciiMath","output/CommonHTML","output/PreviewHTML"]
+ });
+ 
+--- a/unpacked/config/AM_HTMLorMML-full.js
++++ b/unpacked/config/AM_HTMLorMML-full.js
+@@ -15,7 +15,7 @@
+ 
+ MathJax.Hub.Config({
+   config: ["MMLorHTML.js"],
+-  extensions: ["asciimath2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","fast-preview.js","AssistiveMML.js","[Contrib]/a11y/accessibility-menu.js"],
++  extensions: ["asciimath2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","fast-preview.js","AssistiveMML.js"],
+   jax: ["input/AsciiMath","output/HTML-CSS","output/NativeMML","output/PreviewHTML"]
+ });
+ 
+--- a/unpacked/config/AM_HTMLorMML.js
++++ b/unpacked/config/AM_HTMLorMML.js
+@@ -15,7 +15,7 @@
+ 
+ MathJax.Hub.Config({
+   config: ["MMLorHTML.js"],
+-  extensions: ["asciimath2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","fast-preview.js","AssistiveMML.js","[Contrib]/a11y/accessibility-menu.js"],
++  extensions: ["asciimath2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","fast-preview.js","AssistiveMML.js"],
+   jax: ["input/AsciiMath","output/HTML-CSS","output/NativeMML","output/PreviewHTML"]
+ });
+ 
+--- a/unpacked/config/AM_SVG-full.js
++++ b/unpacked/config/AM_SVG-full.js
+@@ -14,7 +14,7 @@
+  */
+ 
+ MathJax.Hub.Config({
+-  extensions: ["asciimath2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","fast-preview.js","AssistiveMML.js","[Contrib]/a11y/accessibility-menu.js"],
++  extensions: ["asciimath2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","fast-preview.js","AssistiveMML.js"],
+   jax: ["input/AsciiMath","output/SVG","output/PreviewHTML"]
+ });
+ 
+--- a/unpacked/config/AM_SVG.js
++++ b/unpacked/config/AM_SVG.js
+@@ -14,7 +14,7 @@
+  */
+ 
+ MathJax.Hub.Config({
+-  extensions: ["asciimath2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","fast-preview.js","AssistiveMML.js","[Contrib]/a11y/accessibility-menu.js"],
++  extensions: ["asciimath2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","fast-preview.js","AssistiveMML.js"],
+   jax: ["input/AsciiMath","output/SVG","output/PreviewHTML"]
+ });
+ 
+--- a/unpacked/config/Accessible-full.js
++++ b/unpacked/config/Accessible-full.js
+@@ -15,7 +15,7 @@
+ 
+ MathJax.Hub.Config({
+   config: ["MMLorHTML.js"],
+-  extensions: ["tex2jax.js","mml2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","TeX/noErrors.js","TeX/noUndefined.js","TeX/AMSmath.js","TeX/AMSsymbols.js","fast-preview.js","AssistiveMML.js","[Contrib]/a11y/accessibility-menu.js"],
++  extensions: ["tex2jax.js","mml2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","TeX/noErrors.js","TeX/noUndefined.js","TeX/AMSmath.js","TeX/AMSsymbols.js","fast-preview.js","AssistiveMML.js"],
+   jax: ["input/TeX","input/MathML","output/HTML-CSS","output/NativeMML","output/PreviewHTML"],
+   menuSettings: {
+     zoom: "Double-Click",
+--- a/unpacked/config/Accessible.js
++++ b/unpacked/config/Accessible.js
+@@ -15,7 +15,7 @@
+ 
+ MathJax.Hub.Config({
+   config: ["MMLorHTML.js"],
+-  extensions: ["tex2jax.js","mml2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","TeX/noErrors.js","TeX/noUndefined.js","TeX/AMSmath.js","TeX/AMSsymbols.js","fast-preview.js","AssistiveMML.js","[Contrib]/a11y/accessibility-menu.js"],
++  extensions: ["tex2jax.js","mml2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","TeX/noErrors.js","TeX/noUndefined.js","TeX/AMSmath.js","TeX/AMSsymbols.js","fast-preview.js","AssistiveMML.js"],
+   jax: ["input/TeX","input/MathML","output/HTML-CSS","output/NativeMML","output/PreviewHTML"],
+   menuSettings: {
+     zoom: "Double-Click",
+--- a/unpacked/config/MML_CHTML-full.js
++++ b/unpacked/config/MML_CHTML-full.js
+@@ -14,7 +14,7 @@
+  */
+ 
+ MathJax.Hub.Config({
+-  extensions: ["mml2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","fast-preview.js","AssistiveMML.js","[Contrib]/a11y/accessibility-menu.js"],
++  extensions: ["mml2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","fast-preview.js","AssistiveMML.js"],
+   jax: ["input/MathML","output/CommonHTML","output/PreviewHTML"]
+ });
+ 
+--- a/unpacked/config/MML_CHTML.js
++++ b/unpacked/config/MML_CHTML.js
+@@ -14,7 +14,7 @@
+  */
+ 
+ MathJax.Hub.Config({
+-  extensions: ["mml2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","fast-preview.js","AssistiveMML.js","[Contrib]/a11y/accessibility-menu.js"],
++  extensions: ["mml2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","fast-preview.js","AssistiveMML.js"],
+   jax: ["input/MathML","output/CommonHTML","output/PreviewHTML"]
+ });
+ 
+--- a/unpacked/config/MML_HTMLorMML-full.js
++++ b/unpacked/config/MML_HTMLorMML-full.js
+@@ -15,7 +15,7 @@
+ 
+ MathJax.Hub.Config({
+   config: ["MMLorHTML.js"],
+-  extensions: ["mml2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","fast-preview.js","AssistiveMML.js","[Contrib]/a11y/accessibility-menu.js"],
++  extensions: ["mml2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","fast-preview.js","AssistiveMML.js"],
+   jax: ["input/MathML","output/HTML-CSS","output/NativeMML","output/PreviewHTML"]
+ });
+ 
+--- a/unpacked/config/MML_HTMLorMML.js
++++ b/unpacked/config/MML_HTMLorMML.js
+@@ -15,7 +15,7 @@
+ 
+ MathJax.Hub.Config({
+   config: ["MMLorHTML.js"],
+-  extensions: ["mml2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","fast-preview.js","AssistiveMML.js","[Contrib]/a11y/accessibility-menu.js"],
++  extensions: ["mml2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","fast-preview.js","AssistiveMML.js"],
+   jax: ["input/MathML","output/HTML-CSS","output/NativeMML","output/PreviewHTML"]
+ });
+ 
+--- a/unpacked/config/MML_SVG-full.js
++++ b/unpacked/config/MML_SVG-full.js
+@@ -14,7 +14,7 @@
+  */
+ 
+ MathJax.Hub.Config({
+-  extensions: ["mml2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","fast-preview.js","AssistiveMML.js","[Contrib]/a11y/accessibility-menu.js"],
++  extensions: ["mml2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","fast-preview.js","AssistiveMML.js"],
+   jax: ["input/MathML","output/SVG","output/PreviewHTML"]
+ });
+ 
+--- a/unpacked/config/MML_SVG.js
++++ b/unpacked/config/MML_SVG.js
+@@ -14,7 +14,7 @@
+  */
+ 
+ MathJax.Hub.Config({
+-  extensions: ["mml2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","fast-preview.js","AssistiveMML.js","[Contrib]/a11y/accessibility-menu.js"],
++  extensions: ["mml2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","fast-preview.js","AssistiveMML.js"],
+   jax: ["input/MathML","output/SVG","output/PreviewHTML"]
+ });
+ 
+--- a/unpacked/config/TeX-AMS-MML_HTMLorMML-full.js
++++ b/unpacked/config/TeX-AMS-MML_HTMLorMML-full.js
+@@ -15,7 +15,7 @@
+ 
+ MathJax.Hub.Config({
+   config: ["MMLorHTML.js"],
+-  extensions: ["tex2jax.js","mml2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","TeX/noErrors.js","TeX/noUndefined.js","TeX/AMSmath.js","TeX/AMSsymbols.js","fast-preview.js","AssistiveMML.js","[Contrib]/a11y/accessibility-menu.js"],
++  extensions: ["tex2jax.js","mml2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","TeX/noErrors.js","TeX/noUndefined.js","TeX/AMSmath.js","TeX/AMSsymbols.js","fast-preview.js","AssistiveMML.js"],
+   jax: ["input/TeX","input/MathML","output/HTML-CSS","output/NativeMML","output/PreviewHTML"]
+ });
+ 
+--- a/unpacked/config/TeX-AMS-MML_HTMLorMML.js
++++ b/unpacked/config/TeX-AMS-MML_HTMLorMML.js
+@@ -15,7 +15,7 @@
+ 
+ MathJax.Hub.Config({
+   config: ["MMLorHTML.js"],
+-  extensions: ["tex2jax.js","mml2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","TeX/noErrors.js","TeX/noUndefined.js","TeX/AMSmath.js","TeX/AMSsymbols.js","fast-preview.js","AssistiveMML.js","[Contrib]/a11y/accessibility-menu.js"],
++  extensions: ["tex2jax.js","mml2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","TeX/noErrors.js","TeX/noUndefined.js","TeX/AMSmath.js","TeX/AMSsymbols.js","fast-preview.js","AssistiveMML.js"],
+   jax: ["input/TeX","input/MathML","output/HTML-CSS","output/NativeMML","output/PreviewHTML"]
+ });
+ 
+--- a/unpacked/config/TeX-AMS-MML_SVG-full.js
++++ b/unpacked/config/TeX-AMS-MML_SVG-full.js
+@@ -14,7 +14,7 @@
+  */
+ 
+ MathJax.Hub.Config({
+-  extensions: ["tex2jax.js","mml2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","TeX/noErrors.js","TeX/noUndefined.js","TeX/AMSmath.js","TeX/AMSsymbols.js","fast-preview.js","AssistiveMML.js","[Contrib]/a11y/accessibility-menu.js"],
++  extensions: ["tex2jax.js","mml2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","TeX/noErrors.js","TeX/noUndefined.js","TeX/AMSmath.js","TeX/AMSsymbols.js","fast-preview.js","AssistiveMML.js"],
+   jax: ["input/TeX","input/MathML","output/SVG","output/PreviewHTML"]
+ });
+ 
+--- a/unpacked/config/TeX-AMS-MML_SVG.js
++++ b/unpacked/config/TeX-AMS-MML_SVG.js
+@@ -14,7 +14,7 @@
+  */
+ 
+ MathJax.Hub.Config({
+-  extensions: ["tex2jax.js","mml2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","TeX/noErrors.js","TeX/noUndefined.js","TeX/AMSmath.js","TeX/AMSsymbols.js","fast-preview.js","AssistiveMML.js","[Contrib]/a11y/accessibility-menu.js"],
++  extensions: ["tex2jax.js","mml2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","TeX/noErrors.js","TeX/noUndefined.js","TeX/AMSmath.js","TeX/AMSsymbols.js","fast-preview.js","AssistiveMML.js"],
+   jax: ["input/TeX","input/MathML","output/SVG","output/PreviewHTML"]
+ });
+ 
+--- a/unpacked/config/TeX-AMS_CHTML-full.js
++++ b/unpacked/config/TeX-AMS_CHTML-full.js
+@@ -14,7 +14,7 @@
+  */
+ 
+ MathJax.Hub.Config({
+-  extensions: ["tex2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","TeX/noErrors.js","TeX/noUndefined.js","TeX/AMSmath.js","TeX/AMSsymbols.js","fast-preview.js","AssistiveMML.js","[Contrib]/a11y/accessibility-menu.js"],
++  extensions: ["tex2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","TeX/noErrors.js","TeX/noUndefined.js","TeX/AMSmath.js","TeX/AMSsymbols.js","fast-preview.js","AssistiveMML.js"],
+   jax: ["input/TeX","output/CommonHTML","output/PreviewHTML"]
+ });
+ 
+--- a/unpacked/config/TeX-AMS_CHTML.js
++++ b/unpacked/config/TeX-AMS_CHTML.js
+@@ -14,7 +14,7 @@
+  */
+ 
+ MathJax.Hub.Config({
+-  extensions: ["tex2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","TeX/noErrors.js","TeX/noUndefined.js","TeX/AMSmath.js","TeX/AMSsymbols.js","fast-preview.js","AssistiveMML.js","[Contrib]/a11y/accessibility-menu.js"],
++  extensions: ["tex2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","TeX/noErrors.js","TeX/noUndefined.js","TeX/AMSmath.js","TeX/AMSsymbols.js","fast-preview.js","AssistiveMML.js"],
+   jax: ["input/TeX","output/CommonHTML","output/PreviewHTML"]
+ });
+ 
+--- a/unpacked/config/TeX-AMS_HTML-full.js
++++ b/unpacked/config/TeX-AMS_HTML-full.js
+@@ -14,7 +14,7 @@
+  */
+ 
+ MathJax.Hub.Config({
+-  extensions: ["tex2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","TeX/noErrors.js","TeX/noUndefined.js","TeX/AMSmath.js","TeX/AMSsymbols.js","fast-preview.js","AssistiveMML.js","[Contrib]/a11y/accessibility-menu.js"],
++  extensions: ["tex2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","TeX/noErrors.js","TeX/noUndefined.js","TeX/AMSmath.js","TeX/AMSsymbols.js","fast-preview.js","AssistiveMML.js"],
+   jax: ["input/TeX","output/HTML-CSS","output/PreviewHTML"]
+ });
+ 
+--- a/unpacked/config/TeX-AMS_HTML.js
++++ b/unpacked/config/TeX-AMS_HTML.js
+@@ -14,7 +14,7 @@
+  */
+ 
+ MathJax.Hub.Config({
+-  extensions: ["tex2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","TeX/noErrors.js","TeX/noUndefined.js","TeX/AMSmath.js","TeX/AMSsymbols.js","fast-preview.js","AssistiveMML.js","[Contrib]/a11y/accessibility-menu.js"],
++  extensions: ["tex2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","TeX/noErrors.js","TeX/noUndefined.js","TeX/AMSmath.js","TeX/AMSsymbols.js","fast-preview.js","AssistiveMML.js"],
+   jax: ["input/TeX","output/HTML-CSS","output/PreviewHTML"]
+ });
+ 
+--- a/unpacked/config/TeX-AMS_SVG-full.js
++++ b/unpacked/config/TeX-AMS_SVG-full.js
+@@ -14,7 +14,7 @@
+  */
+ 
+ MathJax.Hub.Config({
+-  extensions: ["tex2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","TeX/noErrors.js","TeX/noUndefined.js","TeX/AMSmath.js","TeX/AMSsymbols.js","fast-preview.js","AssistiveMML.js","[Contrib]/a11y/accessibility-menu.js"],
++  extensions: ["tex2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","TeX/noErrors.js","TeX/noUndefined.js","TeX/AMSmath.js","TeX/AMSsymbols.js","fast-preview.js","AssistiveMML.js"],
+   jax: ["input/TeX","output/SVG","output/PreviewHTML"]
+ });
+ 
+--- a/unpacked/config/TeX-AMS_SVG.js
++++ b/unpacked/config/TeX-AMS_SVG.js
+@@ -14,7 +14,7 @@
+  */
+ 
+ MathJax.Hub.Config({
+-  extensions: ["tex2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","TeX/noErrors.js","TeX/noUndefined.js","TeX/AMSmath.js","TeX/AMSsymbols.js","fast-preview.js","AssistiveMML.js","[Contrib]/a11y/accessibility-menu.js"],
++  extensions: ["tex2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","TeX/noErrors.js","TeX/noUndefined.js","TeX/AMSmath.js","TeX/AMSsymbols.js","fast-preview.js","AssistiveMML.js"],
+   jax: ["input/TeX","output/SVG","output/PreviewHTML"]
+ });
+ 
+--- a/unpacked/config/TeX-MML-AM_CHTML-full.js
++++ b/unpacked/config/TeX-MML-AM_CHTML-full.js
+@@ -14,7 +14,7 @@
+  */
+ 
+ MathJax.Hub.Config({
+-  extensions: ["tex2jax.js","mml2jax.js","asciimath2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","TeX/noErrors.js","TeX/noUndefined.js","TeX/AMSmath.js","TeX/AMSsymbols.js","fast-preview.js","AssistiveMML.js","[Contrib]/a11y/accessibility-menu.js"],
++  extensions: ["tex2jax.js","mml2jax.js","asciimath2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","TeX/noErrors.js","TeX/noUndefined.js","TeX/AMSmath.js","TeX/AMSsymbols.js","fast-preview.js","AssistiveMML.js"],
+   jax: ["input/TeX","input/MathML","input/AsciiMath","output/CommonHTML","output/PreviewHTML"]
+ });
+ 
+--- a/unpacked/config/TeX-MML-AM_CHTML.js
++++ b/unpacked/config/TeX-MML-AM_CHTML.js
+@@ -14,7 +14,7 @@
+  */
+ 
+ MathJax.Hub.Config({
+-  extensions: ["tex2jax.js","mml2jax.js","asciimath2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","TeX/noErrors.js","TeX/noUndefined.js","TeX/AMSmath.js","TeX/AMSsymbols.js","fast-preview.js","AssistiveMML.js","[Contrib]/a11y/accessibility-menu.js"],
++  extensions: ["tex2jax.js","mml2jax.js","asciimath2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","TeX/noErrors.js","TeX/noUndefined.js","TeX/AMSmath.js","TeX/AMSsymbols.js","fast-preview.js","AssistiveMML.js"],
+   jax: ["input/TeX","input/MathML","input/AsciiMath","output/CommonHTML","output/PreviewHTML"]
+ });
+ 
+--- a/unpacked/config/TeX-MML-AM_HTMLorMML-full.js
++++ b/unpacked/config/TeX-MML-AM_HTMLorMML-full.js
+@@ -15,7 +15,7 @@
+ 
+ MathJax.Hub.Config({
+   config: ["MMLorHTML.js"],
+-  extensions: ["tex2jax.js","mml2jax.js","asciimath2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","TeX/noErrors.js","TeX/noUndefined.js","TeX/AMSmath.js","TeX/AMSsymbols.js","fast-preview.js","AssistiveMML.js","[Contrib]/a11y/accessibility-menu.js"],
++  extensions: ["tex2jax.js","mml2jax.js","asciimath2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","TeX/noErrors.js","TeX/noUndefined.js","TeX/AMSmath.js","TeX/AMSsymbols.js","fast-preview.js","AssistiveMML.js"],
+   jax: ["input/TeX","input/MathML","input/AsciiMath","output/HTML-CSS","output/NativeMML","output/PreviewHTML"]
+ });
+ 
+--- a/unpacked/config/TeX-MML-AM_HTMLorMML.js
++++ b/unpacked/config/TeX-MML-AM_HTMLorMML.js
+@@ -15,7 +15,7 @@
+ 
+ MathJax.Hub.Config({
+   config: ["MMLorHTML.js"],
+-  extensions: ["tex2jax.js","mml2jax.js","asciimath2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","TeX/noErrors.js","TeX/noUndefined.js","TeX/AMSmath.js","TeX/AMSsymbols.js","fast-preview.js","AssistiveMML.js","[Contrib]/a11y/accessibility-menu.js"],
++  extensions: ["tex2jax.js","mml2jax.js","asciimath2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","TeX/noErrors.js","TeX/noUndefined.js","TeX/AMSmath.js","TeX/AMSsymbols.js","fast-preview.js","AssistiveMML.js"],
+   jax: ["input/TeX","input/MathML","input/AsciiMath","output/HTML-CSS","output/NativeMML","output/PreviewHTML"]
+ });
+ 
+--- a/unpacked/config/TeX-MML-AM_SVG-full.js
++++ b/unpacked/config/TeX-MML-AM_SVG-full.js
+@@ -14,7 +14,7 @@
+  */
+ 
+ MathJax.Hub.Config({
+-  extensions: ["tex2jax.js","mml2jax.js","asciimath2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","TeX/noErrors.js","TeX/noUndefined.js","TeX/AMSmath.js","TeX/AMSsymbols.js","fast-preview.js","AssistiveMML.js","[Contrib]/a11y/accessibility-menu.js"],
++  extensions: ["tex2jax.js","mml2jax.js","asciimath2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","TeX/noErrors.js","TeX/noUndefined.js","TeX/AMSmath.js","TeX/AMSsymbols.js","fast-preview.js","AssistiveMML.js"],
+   jax: ["input/TeX","input/MathML","input/AsciiMath","output/SVG","output/PreviewHTML"]
+ });
+ 
+--- a/unpacked/config/TeX-MML-AM_SVG.js
++++ b/unpacked/config/TeX-MML-AM_SVG.js
+@@ -14,7 +14,7 @@
+  */
+ 
+ MathJax.Hub.Config({
+-  extensions: ["tex2jax.js","mml2jax.js","asciimath2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","TeX/noErrors.js","TeX/noUndefined.js","TeX/AMSmath.js","TeX/AMSsymbols.js","fast-preview.js","AssistiveMML.js","[Contrib]/a11y/accessibility-menu.js"],
++  extensions: ["tex2jax.js","mml2jax.js","asciimath2jax.js","MathEvents.js","MathZoom.js","MathMenu.js","toMathML.js","TeX/noErrors.js","TeX/noUndefined.js","TeX/AMSmath.js","TeX/AMSsymbols.js","fast-preview.js","AssistiveMML.js"],
+   jax: ["input/TeX","input/MathML","input/AsciiMath","output/SVG","output/PreviewHTML"]
+ });
+ 
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 no_extra_fonts.diff
 update_url.diff
+no_accessibility_menu.diff

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Dmitry Shachnev:
> Control: retitle -1 unblock: mathjax/2.7.0-2
> 
> Hi, and sorry for the delay.
> 
> On Wed, Feb 22, 2017 at 08:58:00PM +0000, Niels Thykier wrote:
>> Control: tags -1 confirmed
>>
>> Hi,
>>
>> Assuming it is just introducing that package and replacing a file or two
>> with a symlink (or a href in HTML), then we are ok with granting the
>> exception (assuming it can be implemented in a timely fashion).
>>
>> Please let us know once the new package is ready and mathjax is updated
>> and ready for our review.
> 
> Actually I have found a way to implement my original plan. Now the
> accessibility-menu.js extension is bundled with MathJax package (so that
> it no longer loads any resources via HTTP by default), but when one actually
> wants to enable some accessibility features, the corresponding extensions
> are loaded via HTTP.
> 
> Packaging the whole MathJax-a11y repository is harder than it seemed to me:
> it depends on https://github.com/zorkow/speech-rule-engine which is not yet
> packaged. So I did not go this way for Stretch.
> 
> The new version has just been accepted, the debdiff is attached.
> 
> --
> Dmitry Shachnev
> 

That seems like a reasonable trade-off.  Unblocked.

Thanks,
~Niels

--- End Message ---

Reply to: