Package: emscripten / 3.1.6~dfsg-5

Metadata

Package Version Patches format
emscripten 3.1.6~dfsg-5 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
1001_python3_shebang.patch | (download)

system/bin/sdl-config | 2 1 + 1 - 0 !
tests/gen_large_switchcase.py | 2 1 + 1 - 0 !
tests/gen_many_js_functions.py | 2 1 + 1 - 0 !
third_party/websockify/run | 2 1 + 1 - 0 !
third_party/websockify/websockify/websocket.py | 2 1 + 1 - 0 !
third_party/websockify/websockify/websocketproxy.py | 2 1 + 1 - 0 !
tools/scons/site_scons/site_tools/emscripten/__init__.py | 2 1 + 1 - 0 !
tools/scons/site_scons/site_tools/emscripten/emscripten.py | 2 1 + 1 - 0 !
8 files changed, 8 insertions(+), 8 deletions(-)

 consistently use python3 in shebang
1002_find_syntax.patch | (download)

tests/third_party/freealut/Makefile.am | 2 1 + 1 - 0 !
tests/third_party/freealut/Makefile.in | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 avoid obsolete gnu-specific find syntax
 The syntax "find -perm +222" was a GNU extension
 which was dropped since findutils 4.5.11.
1004_acorn_ecmaVersion.patch | (download)

tools/acorn-optimizer.js | 4 2 + 2 - 0 !
tools/building.py | 2 1 + 1 - 0 !
2 files changed, 3 insertions(+), 3 deletions(-)

 use latest ecmaversion
 Acorn 8.0.0 introduced ecmaScript 'latest'
 to be as relaxed as possible,
 and at the same time made defining ecmaScript mandatory.
 .
 This patch declares ecmaScript at both places it is used
 to avoid warning when upgrading to acon 8,
 and while at it switches to this new 'latest'.
 .
 Also, corresponding closure-compiler option is updated.
 .
 See also <https://github.com/emscripten-core/emscripten/issues/11303#issuecomment-698673424>
1005_reproducible_build.patch | (download)

tools/create_dom_pk_codes.py | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 make the build reproducible
1007_tests_support_skip_closure compiler.patch | (download)

tests/common.py | 12 12 + 0 - 0 !
tests/runner.py | 1 1 + 0 - 0 !
tests/test_core.py | 10 6 + 4 - 0 !
tests/test_other.py | 103 71 + 32 - 0 !
4 files changed, 90 insertions(+), 36 deletions(-)

---
1008_tests_no_hardcode_tool_name.patch | (download)

tests/test_other.py | 12 6 + 6 - 0 !
1 file changed, 6 insertions(+), 6 deletions(-)

---
2001_explicit_shebang.patch | (download)

src/compiler.js | 2 1 + 1 - 0 !
tests/sourcemap2json.js | 2 1 + 1 - 0 !
third_party/websockify/other/js/websockify.js | 2 1 + 1 - 0 !
third_party/websockify/other/launch.sh | 2 1 + 1 - 0 !
third_party/websockify/other/websockify.rb | 2 1 + 1 - 0 !
third_party/websockify/other/wswrap | 2 1 + 1 - 0 !
third_party/websockify/rebind | 2 1 + 1 - 0 !
tools/acorn-optimizer.js | 2 1 + 1 - 0 !
tools/lz4-compress.js | 2 1 + 1 - 0 !
tools/preprocessor.js | 2 1 + 1 - 0 !
10 files changed, 10 insertions(+), 10 deletions(-)

 explicit call executable in shebang
 Omit python3: Handled by packaging routines
2002_avoid_git.patch | (download)

tools/install.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 avoid calling git during build
2003_avoid_install_packaging.patch | (download)

tools/install.py | 41 39 + 2 - 0 !
1 file changed, 39 insertions(+), 2 deletions(-)

 avoid install packaging files
 Also avoid third-party files unused at runtime,
 confusing packaging routines.
2004_privacy.patch | (download)

README.md | 4 0 + 4 - 0 !
site/source/_themes/emscripten_sphinx_rtd_theme/layout.html | 5 1 + 4 - 0 !
tools/toolchain_profiler.results_template.html | 2 1 + 1 - 0 !
3 files changed, 2 insertions(+), 9 deletions(-)

 avoid privacy leaks in html code and documentation
2005_versioned_llvm.patch | (download)

emcc.py | 5 5 + 0 - 0 !
tools/config_template.py | 3 3 + 0 - 0 !
tools/shared.py | 2 1 + 1 - 0 !
3 files changed, 9 insertions(+), 1 deletion(-)

 use versioned llvm
 Also, partly revert commit 8c097f62 to set unix macros
 until <https://reviews.llvm.org/D108735> lands in Debian-packaged LLVM.
2006_call_emscripten_in_PATH.patch | (download)

cmake/Modules/Platform/Emscripten.cmake | 14 7 + 7 - 0 !
tests/benchmark_sse.py | 2 1 + 1 - 0 !
tests/common.py | 8 4 + 4 - 0 !
tests/test_benchmark.py | 2 1 + 1 - 0 !
tests/test_browser.py | 2 1 + 1 - 0 !
tests/test_core.py | 6 3 + 3 - 0 !
tests/test_other.py | 28 14 + 14 - 0 !
tests/test_sockets.py | 4 2 + 2 - 0 !
tools/building.py | 4 2 + 2 - 0 !
tools/maybe_wasm2js.py | 2 1 + 1 - 0 !
tools/scons/site_scons/site_tools/emscripten/emscripten.py | 14 5 + 9 - 0 !
tools/shared.py | 14 7 + 7 - 0 !
12 files changed, 48 insertions(+), 52 deletions(-)

 call emscripten scripts in path when called from emscripten
2007_es_check.patch | (download)

tests/common.py | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 use eslint instead of es-check missing in debian
2008_minify_html.patch | (download)

emcc.py | 29 3 + 26 - 0 !
1 file changed, 3 insertions(+), 26 deletions(-)

 use htmlmin instead of html-minifier-terser missing in debian
2009_closure compiler.patch | (download)

tools/building.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 work around old quirky closure-compiler in debian
 Fake closure-compiler version check,
 which hangs with old Debian release.
2010_avoid_npm.patch | (download)

Makefile | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 avoid using npm during build
2011_system_shared_tools.patch | (download)

tools/config.py | 3 3 + 0 - 0 !
tools/config_template.py | 3 2 + 1 - 0 !
2 files changed, 5 insertions(+), 1 deletion(-)

 detect and use system shared helper tools by default
2012_source map.patch | (download)

package.json | 2 1 + 1 - 0 !
tests/sourcemap2json.js | 13 6 + 7 - 0 !
tests/test_core.py | 3 2 + 1 - 0 !
3 files changed, 9 insertions(+), 9 deletions(-)

 use older nodejs module source-map
 Debian package node-source-map is too old
 (see bug#1004658).
 .
 This patch essentially reverts upstream git commit 21df9ee.
2013_system_shared_node_modules.patch | (download)

tests/test_sockets.py | 5 0 + 5 - 0 !
tools/shared.py | 6 3 + 3 - 0 !
tools/wasm2c.py | 4 2 + 2 - 0 !
3 files changed, 5 insertions(+), 10 deletions(-)

 use system shared nodejs modules
 Also, use native wasm2c.
 See also <https://github.com/emscripten-core/emscripten/issues/12688>
2014_no_root_bypass_frozen_cache.patch | (download)

tools/config.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 avoid root bypass of frozen cache
2015_binaryen_version.patch | (download)

tools/building.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 use newer binaryen
2016_nodejs_12.patch | (download)

tests/common.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 support nodejs v12.x
 NodeJS option --unhandled-rejections was introduced in v12.0.0
 but option value "throw" was introduced later.
 .
 See <https://nodejs.org/docs/latest-v12.x/api/cli.html#cli_unhandled_rejections_mode>