[Pkg-javascript-commits] [mathjax] 01/01: Update to version 2.7.2.

Dmitry Shachnev mitya57 at moszumanska.debian.org
Thu Dec 21 21:07:02 UTC 2017


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

mitya57 pushed a commit to branch master
in repository mathjax.

commit 95a97fea2d4366c8ebc5ee39fc2a2e92eb7a78e5
Author: Dmitry Shachnev <mitya57 at gmail.com>
Date:   Fri Dec 22 00:06:16 2017 +0300

    Update to version 2.7.2.
    
    Drop dont_use_default_as_property_name.diff, applied upstream.
    Refresh no_extra_fonts.diff.
    
    Closes: #883227.
---
 debian/changelog                                   |   7 +-
 .../patches/dont_use_default_as_property_name.diff | 131 ---------------------
 debian/patches/no_extra_fonts.diff                 |   2 +-
 debian/patches/series                              |   1 -
 4 files changed, 4 insertions(+), 137 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index a972633..5e72a62 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,8 @@
-mathjax (2.7.1+dfsg-1) UNRELEASED; urgency=medium
+mathjax (2.7.2+dfsg-1) UNRELEASED; urgency=medium
 
-  * New upstream release.
+  * New upstream release (closes: #883227).
   * Update packer and combiner code to the latest upstream version.
-  * Replace local_accessibility_menu.diff with upstream patch to fix
-    syntax in a11y extensions (dont_use_default_as_property_name.diff).
+  * Drop local_accessibility_menu.diff, no longer needed.
   * Update debian/copyright.
   * Strip some minified JS libraries from the upstream tarball.
     These libraries come from speech-rule-engine and wicked-good-xpath,
diff --git a/debian/patches/dont_use_default_as_property_name.diff b/debian/patches/dont_use_default_as_property_name.diff
deleted file mode 100644
index 100acdd..0000000
--- a/debian/patches/dont_use_default_as_property_name.diff
+++ /dev/null
@@ -1,131 +0,0 @@
-Description: do not use default as a property name, to make yui-compressor not fail
-Origin: upstream, https://github.com/mathjax/MathJax-a11y/commit/8bfb77d0c6a751e5
-Last-Update: 2017-06-29
-
---- a/unpacked/extensions/a11y/accessibility-menu.js
-+++ b/unpacked/extensions/a11y/accessibility-menu.js
-@@ -43,7 +43,7 @@
-   var Accessibility = EXTENSIONS["accessibility-menu"] = {
-     version: '1.2.2',
-     prefix: '', //'Accessibility-',
--    default: {},
-+    defaults: {},
-     modules: [],
-     MakeOption: function(name) {
-       return Accessibility.prefix + name;
-@@ -52,11 +52,11 @@
-       return SETTINGS[Accessibility.MakeOption(option)];
-     },
-     AddDefaults: function() {
--      var keys = KEYS(Accessibility.default);
-+      var keys = KEYS(Accessibility.defaults);
-       for (var i = 0, key; key = keys[i]; i++) {
-         var option = Accessibility.MakeOption(key);
-         if (typeof(SETTINGS[option]) === 'undefined') {
--          SETTINGS[option] = Accessibility.default[key];
-+          SETTINGS[option] = Accessibility.defaults[key];
-         }
-       }
-     },
-@@ -87,7 +87,7 @@
-       }
-     },
-     Register: function(module) {
--      Accessibility.default[module.option] = false;
-+      Accessibility.defaults[module.option] = false;
-       Accessibility.modules.push(module);
-     },
-     Startup: function() {
---- a/unpacked/extensions/a11y/collapsible.js
-+++ b/unpacked/extensions/a11y/collapsible.js
-@@ -94,7 +94,7 @@
-       punctuated: {
-         endpunct: NOCOLLAPSE,
-         startpunct: NOCOLLAPSE,
--        default: 12
-+        value: 12
-       }
-     },
-     //
-@@ -108,7 +108,7 @@
-       text: "...",
-       appl: {
-         "limit function": "lim",
--        default: "f()"
-+        value: "f()"
-       },
-       fraction: "/",
-       sqrt: "\u221A",
-@@ -119,14 +119,14 @@
-       vector: {
-         binomial: "(:)",
-         determinant: "|:|",
--        default: "\u27E8:\u27E9"
-+        value: "\u27E8:\u27E9"
-       },
-       matrix: {
-         squarematrix: "[::]",
-         rowvector: "\u27E8\u22EF\u27E9",
-         columnvector: "\u27E8\u22EE\u27E9",
-         determinant: "|::|",
--        default: "(::)"
-+        value: "(::)"
-       },
-       cases: "{:",
-       infixop: {
-@@ -134,11 +134,11 @@
-         subtraction: "\u2212",
-         multiplication: "\u22C5",
-         implicit: "\u22C5",
--        default: "+"
-+        value: "+"
-       },
-       punctuated: {
-         text: "...",
--        default: ","
-+        value: ","
-       }
-     },
- 
-@@ -265,10 +265,10 @@
-         else if (this.COLLAPSE[type] && this.MARKER[type]) {
-           var role = mml.attr["data-semantic-role"];
-           var complexity = this.COLLAPSE[type];
--          if (typeof(complexity) !== "number") complexity = complexity[role] || complexity.default;
-+          if (typeof(complexity) !== "number") complexity = complexity[role] || complexity.value;
-           if (mml.complexity > complexity) {
-             var marker = this.MARKER[type];
--            if (typeof(marker) !== "string") marker = marker[role] || marker.default;
-+            if (typeof(marker) !== "string") marker = marker[role] || marker.value;
-             mml = this.MakeAction(this.Marker(marker),mml);
-           }
-         }
-@@ -348,7 +348,7 @@
-     Collapse_appl: function (mml) {
-       if (this.UncollapseChild(mml,2,2)) {
-         var marker = this.MARKER.appl;
--        marker = marker[mml.attr["data-semantic-role"]] || marker.default;
-+        marker = marker[mml.attr["data-semantic-role"]] || marker.value;
-         mml = this.MakeAction(this.Marker(marker),mml);
-       }
-       return mml;
---- a/unpacked/extensions/a11y/explorer.js
-+++ b/unpacked/extensions/a11y/explorer.js
-@@ -37,7 +37,7 @@
-     //
-     // Default configurations.
-     //
--    default: {
-+    defaults: {
-       walker: 'syntactic',
-       highlight: 'none',
-       background: 'blue',
-@@ -56,7 +56,7 @@
-     },
- 
-     addDefaults: function() {
--      var defaults = MathJax.Hub.CombineConfig('explorer', Assistive.default);
-+      var defaults = MathJax.Hub.CombineConfig('explorer', Assistive.defaults);
-       var keys = Object.keys(defaults);
-       for (var i = 0, key; key = keys[i]; i++) {
-         if (typeof(SETTINGS[Assistive.prefix + key]) === 'undefined') {
diff --git a/debian/patches/no_extra_fonts.diff b/debian/patches/no_extra_fonts.diff
index a9d5d0f..b2cc38b 100644
--- a/debian/patches/no_extra_fonts.diff
+++ b/debian/patches/no_extra_fonts.diff
@@ -36,7 +36,7 @@ Last-Update: 2016-02-14
      fontInUse: "generic",
 --- a/unpacked/jax/output/SVG/jax.js
 +++ b/unpacked/jax/output/SVG/jax.js
-@@ -119,8 +119,7 @@
+@@ -121,8 +121,7 @@
  
      hideProcessedMath: true,           // use display:none until all math is processed
  
diff --git a/debian/patches/series b/debian/patches/series
index 2b4ce2a..a51cfdb 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,2 @@
 no_extra_fonts.diff
 update_url.diff
-dont_use_default_as_property_name.diff

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



More information about the Pkg-javascript-commits mailing list