From 4d4080689fe0b96344115dfb98a04f044a73fc03701a0bfebebdea4c0900a5be Mon Sep 17 00:00:00 2001 From: Avindra Goolcharan Date: Sun, 19 Jun 2022 00:05:25 +0000 Subject: [PATCH] 0.44.1 OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=30 --- _service | 4 ++-- fix-cflags.patch | 20 ++++++++++++++++++++ rusty_v8-0.42.1.tar.xz | 3 --- rusty_v8-0.44.1.tar.xz | 3 +++ rusty_v8.changes | 24 ++++++++++++++++++++++++ rusty_v8.spec | 7 ++++--- vendor.tar.xz | 4 ++-- 7 files changed, 55 insertions(+), 10 deletions(-) create mode 100644 fix-cflags.patch delete mode 100644 rusty_v8-0.42.1.tar.xz create mode 100644 rusty_v8-0.44.1.tar.xz diff --git a/_service b/_service index ed5031a..0092d6c 100644 --- a/_service +++ b/_service @@ -2,8 +2,8 @@ https://github.com/denoland/rusty_v8 git - v0.42.1 - 0.42.1 + v0.44.1 + 0.44.1 .git .github .gitignore diff --git a/fix-cflags.patch b/fix-cflags.patch new file mode 100644 index 0000000..09a36e5 --- /dev/null +++ b/fix-cflags.patch @@ -0,0 +1,20 @@ +diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn +index 9cdafb2..211684c 100644 +--- a/build/config/compiler/BUILD.gn ++++ b/build/config/compiler/BUILD.gn +@@ -1548,15 +1548,6 @@ config("default_warnings") { + cflags += [ "-Wno-unqualified-std-cast-call" ] + } + +- if (!is_nacl && !(is_chromeos || +- default_toolchain == "//build/toolchain/cros:target")) { +- # TODO(https://crbug.com/1316298): Re-enable once test failure is figured out +- cflags += [ +- "-Xclang", +- "-no-opaque-pointers", +- ] +- } +- + if (is_fuchsia) { + # TODO(https://bugs.chromium.org/p/fuchsia/issues/detail?id=77383) + cflags += [ "-Wno-deprecated-copy" ] diff --git a/rusty_v8-0.42.1.tar.xz b/rusty_v8-0.42.1.tar.xz deleted file mode 100644 index ac5f7aa..0000000 --- a/rusty_v8-0.42.1.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e6f267fbed8bd6964a4aee7d1d16204e2ee8ef500bb830172891bd81ccbca5fb -size 53220456 diff --git a/rusty_v8-0.44.1.tar.xz b/rusty_v8-0.44.1.tar.xz new file mode 100644 index 0000000..d165cbe --- /dev/null +++ b/rusty_v8-0.44.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fe0d93e1d183912e430170771545e459f2475e281f7288cd7b6c7f61a937e925 +size 52174092 diff --git a/rusty_v8.changes b/rusty_v8.changes index 3b36165..f53a908 100644 --- a/rusty_v8.changes +++ b/rusty_v8.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Sat Jun 18 20:52:42 UTC 2022 - Avindra Goolcharan + +- update to 0.44.1: + * CI changes +- includes 0.44.0: + * Rolling to V8 10.4.132.5 (#1002) +- includes 0.43.1: + * fix(v8): don't crash on Apple Silicon when mprotect() fails + expectedly (#982) + * Rolling to V8 10.3.174.6 (#984) +- includes 0.43.0: + * Set v8::Promise internal field count to 1 (#967) + * Upgrade V8 to 10.3.174.3 (#969) + * chore: upgrade Rust crates (#972) + * feat: Context slots (#937) + * feat: add ObjectTemplate::set_immutable_proto() (#977) + * chore: update README to reflect Python 3 requirement (#980) + * chore: clean up and remove redundant gn args (#981) + * chore: reduce size of distributed static library (#918) + * feat: add Context::get_extras_binding_object (#975) + * ShadowRealm integration callback (#959) +- add fix-cflags.patch to fix build + ------------------------------------------------------------------- Thu May 19 20:52:00 UTC 2022 - Avindra Goolcharan diff --git a/rusty_v8.spec b/rusty_v8.spec index 3d6160d..d4d8ae0 100644 --- a/rusty_v8.spec +++ b/rusty_v8.spec @@ -17,7 +17,7 @@ Name: rusty_v8 -Version: 0.42.1 +Version: 0.44.1 Release: 0 Summary: Build tooling for Deno (do not install or use!) License: MIT @@ -25,6 +25,7 @@ Group: Productivity/Other URL: https://github.com/denoland/rusty_v8 Source0: %{name}-%{version}.tar.xz Source1: vendor.tar.xz +Patch0: fix-cflags.patch BuildRequires: clang BuildRequires: gn BuildRequires: lld @@ -32,7 +33,7 @@ BuildRequires: llvm BuildRequires: ninja BuildRequires: pkgconfig BuildRequires: python -BuildRequires: python2-setuptools +BuildRequires: python3-setuptools BuildRequires: rust-packaging BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gmodule-2.0) @@ -48,7 +49,7 @@ cruft that is dragged along into the deno build from V8, Chromium, etc. %prep -%autosetup -a1 +%autosetup -a1 -p1 %define cargo_registry $(pwd)/vendor %{cargo_prep} diff --git a/vendor.tar.xz b/vendor.tar.xz index 134074a..92b3e3c 100644 --- a/vendor.tar.xz +++ b/vendor.tar.xz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:41454c9026910ec1e88bab212b72e2ca975bddaaccce6f732de406544865755c -size 8665636 +oid sha256:310033373174bcea47d5d9eb251995802891d202fde1bcb6785ceca553fae592 +size 8690028