diffstat of debian/ for mathjax_2.7.4+dfsg-1 mathjax_2.7.4+dfsg-1co1 changelog | 6 ++++++ control | 2 +- packer/packMJfile | 9 +++++---- 3 files changed, 12 insertions(+), 5 deletions(-) diff -Nru mathjax-2.7.4+dfsg/debian/changelog mathjax-2.7.4+dfsg/debian/changelog --- mathjax-2.7.4+dfsg/debian/changelog 2018-05-15 15:04:35.000000000 +0000 +++ mathjax-2.7.4+dfsg/debian/changelog 2019-02-23 22:08:13.000000000 +0000 @@ -1,3 +1,9 @@ +mathjax (2.7.4+dfsg-1co1) apertis; urgency=medium + + * Drop build-depend on yui-compressor and stop compression the javascript + + -- Sjoerd Simons Sat, 23 Feb 2019 23:08:13 +0100 + mathjax (2.7.4+dfsg-1) unstable; urgency=medium * Update Vcs fields for migration to salsa.debian.org. diff -Nru mathjax-2.7.4+dfsg/debian/control mathjax-2.7.4+dfsg/debian/control --- mathjax-2.7.4+dfsg/debian/control 2018-05-15 15:04:35.000000000 +0000 +++ mathjax-2.7.4+dfsg/debian/control 2019-02-23 22:08:13.000000000 +0000 @@ -3,7 +3,7 @@ Priority: optional Maintainer: Dmitry Shachnev Uploaders: Debian Javascript Maintainers -Build-Depends: debhelper (>= 11), perl, yui-compressor +Build-Depends: debhelper (>= 11), perl Standards-Version: 4.1.4 Homepage: https://www.mathjax.org Vcs-Git: https://salsa.debian.org/js-team/mathjax.git diff -Nru mathjax-2.7.4+dfsg/debian/packer/packMJfile mathjax-2.7.4+dfsg/debian/packer/packMJfile --- mathjax-2.7.4+dfsg/debian/packer/packMJfile 2018-05-15 15:04:35.000000000 +0000 +++ mathjax-2.7.4+dfsg/debian/packer/packMJfile 2019-02-23 22:08:11.000000000 +0000 @@ -10,11 +10,11 @@ $bindir = $FindBin::Bin; -$JAVA = "java"; +#$JAVA = "java"; $SED = "sed"; -$YUICOMPRESSOR = "/usr/share/yui-compressor/yui-compressor.jar"; +#$YUICOMPRESSOR = "/usr/share/yui-compressor/yui-compressor.jar"; -$YUIFILTER = "$bindir/yuiFilter"; +#$YUIFILTER = "$bindir/yuiFilter"; $src = shift; $dst = shift; @@ -29,7 +29,8 @@ print "Compressing: $src\n"; print "--------------------------------------------"; # The sed command uncomments the 'MathJax.isPacked = true;' from MathJax.js -system("cat '$src' | $SED \"s\/^.*\\/\\/ \\(MathJax.isPacked = true;\\).*$\/\\1\/\" | $JAVA -jar '$YUICOMPRESSOR' -v -o '$dst' --type js 2>&1 | $YUIFILTER"); +#system("cat '$src' | $SED \"s\/^.*\\/\\/ \\(MathJax.isPacked = true;\\).*$\/\\1\/\" | $JAVA -jar '$YUICOMPRESSOR' -v -o '$dst' --type js 2>&1 | $YUIFILTER"); +system("cp '$src' '$dst'"); open(MJX,"<", $dst); @lines = ;