Hello community, here is the log from the commit of package mozjs68 for openSUSE:Factory checked in at 2020-05-05 18:54:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mozjs68 (Old) and /work/SRC/openSUSE:Factory/.mozjs68.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mozjs68" Tue May 5 18:54:01 2020 rev:4 rq:799700 version:68.7.0 Changes: -------- --- /work/SRC/openSUSE:Factory/mozjs68/mozjs68.changes 2020-04-25 20:19:30.608931542 +0200 +++ /work/SRC/openSUSE:Factory/.mozjs68.new.2738/mozjs68.changes 2020-05-05 18:54:05.493244890 +0200 @@ -1,0 +2,7 @@ +Sat May 2 13:59:04 UTC 2020 - John Paul Adrian Glaubitz <adrian.glaub...@suse.com> + +- Add patch to drop unused LLVM and Rust build dependencies + + Remove-unused-LLVM-and-Rust-build-dependencies.patch +- Drop cargo, clang-devel, llvm-devel and rust from BuildRequires + +------------------------------------------------------------------- New: ---- Remove-unused-LLVM-and-Rust-build-dependencies.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mozjs68.spec ++++++ --- /var/tmp/diff_new_pack.pla7Pe/_old 2020-05-05 18:54:09.041252530 +0200 +++ /var/tmp/diff_new_pack.pla7Pe/_new 2020-05-05 18:54:09.041252530 +0200 @@ -39,19 +39,16 @@ Patch10: Skip-tests-expected-fail-i586-ppc64.patch Patch11: gcc10-include-fix.patch Patch12: mozilla-disable-wasm-emulate-arm-unaligned-fp-access.patch +Patch13: Remove-unused-LLVM-and-Rust-build-dependencies.patch BuildRequires: autoconf213 -BuildRequires: cargo -BuildRequires: clang-devel BuildRequires: gcc-c++ -BuildRequires: llvm-devel BuildRequires: memory-constraints BuildRequires: pkgconfig BuildRequires: python BuildRequires: python-xml BuildRequires: python3-base BuildRequires: readline-devel -BuildRequires: rust BuildRequires: pkgconfig(icu-i18n) >= 63.1 BuildRequires: pkgconfig(libffi) BuildRequires: pkgconfig(zlib) ++++++ Remove-unused-LLVM-and-Rust-build-dependencies.patch ++++++ Description: Remove unused LLVM and Rust build dependencies Since the Javascript engine is normally part of Firefox, its build system has dependencies on the LLVM and Rust toolchains. This limits the number of architectures which mozjs68 can be built on. . It turns out, however, that neither LLVM nor Rust are used when mozjs68 is being built and these build dependencies are therefore not necessary. . This patch removes them and allows mozjs68 to be built on any architecture. . Author: John Paul Adrian Glaubitz <glaub...@physik.fu-berlin.de> Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=959144 Forwarded: no Last-Update: 2020-04-30 Index: mozjs68-68.6.0/js/moz.configure =================================================================== --- mozjs68-68.6.0.orig/js/moz.configure +++ mozjs68-68.6.0/js/moz.configure @@ -18,11 +18,6 @@ def building_js(build_project): option(env='JS_STANDALONE', default=building_js, help='Reserved for internal use') -include('../build/moz.configure/rust.configure', - when='--enable-compile-environment') -include('../build/moz.configure/bindgen.configure', - when='--enable-compile-environment') - @depends('JS_STANDALONE') def js_standalone(value): if value: Index: mozjs68-68.6.0/moz.configure =================================================================== --- mozjs68-68.6.0.orig/moz.configure +++ mozjs68-68.6.0/moz.configure @@ -598,36 +598,6 @@ set_config('MAKENSISU_FLAGS', nsis_flags check_prog('7Z', ('7z', '7za'), allow_missing=True, when=target_is_windows) - -@depends(host_c_compiler, c_compiler, bindgen_config_paths) -def llvm_objdump(host_c_compiler, c_compiler, bindgen_config_paths): - clang = None - for compiler in (host_c_compiler, c_compiler): - if compiler and compiler.type == 'clang': - clang = compiler.compiler - break - elif compiler and compiler.type == 'clang-cl': - clang = os.path.join(os.path.dirname(compiler.compiler), 'clang') - break - - if not clang and bindgen_config_paths: - clang = bindgen_config_paths.clang_path - llvm_objdump = 'llvm-objdump' - if clang: - out = check_cmd_output(clang, '--print-prog-name=llvm-objdump', - onerror=lambda: None) - if out: - llvm_objdump = out.rstrip() - return (llvm_objdump,) - - -llvm_objdump = check_prog('LLVM_OBJDUMP', llvm_objdump, what='llvm-objdump', - when='--enable-compile-environment', - paths=toolchain_search_path) - -add_old_configure_assignment('LLVM_OBJDUMP', llvm_objdump) - - # Please do not add configure checks from here on. # Fallthrough to autoconf-based configure