diff --git a/_service b/_service index 15dcc83..06a074d 100644 --- a/_service +++ b/_service @@ -13,6 +13,17 @@ \1 enable + + https://github.com/denoland/rusty_v8 + git + v0.106.0 + 0.106.0 + .git + .github + .gitignore + .prettierrc.json + .rustfmt.toml + false true @@ -26,5 +37,11 @@ true true + + rusty_v8 + rusty_v8-0.106.0.tar.zst + true + true + diff --git a/compiler-rt-adjust-paths.patch b/compiler-rt-adjust-paths.patch index fb62e87..618f5cb 100644 --- a/compiler-rt-adjust-paths.patch +++ b/compiler-rt-adjust-paths.patch @@ -1,6 +1,6 @@ diff -ruN v8-0.106.0.orig/build/config/clang/BUILD.gn v8-0.106.0/build/config/clang/BUILD.gn ---- a/v8-0.106.0.orig/build/config/clang/BUILD.gn 2024-11-10 19:22:12.986627534 +0800 -+++ b/v8-0.106.0/build/config/clang/BUILD.gn 2024-11-10 19:52:00.676576200 +0800 +--- a/rusty_v8/build/config/clang/BUILD.gn 2024-11-10 19:22:12.986627534 +0800 ++++ b/rusty_v8/build/config/clang/BUILD.gn 2024-11-10 19:52:00.676576200 +0800 @@ -192,12 +192,15 @@ } else if (is_linux || is_chromeos) { if (current_cpu == "x64") { diff --git a/deno.changes b/deno.changes index 1064070..34ba0f7 100644 --- a/deno.changes +++ b/deno.changes @@ -1,17 +1,9 @@ ------------------------------------------------------------------- -Sun Nov 10 11:55:09 UTC 2024 - Soc Virnyl Estela +Sun Nov 10 12:18:13 UTC 2024 - Soc Virnyl Estela +- Replace ./rusty_v8-0.106.0.tar.gz with ./rusty_v8-0.106.0.tar.zst - Fix ./compiler-rt-adjust-paths.patch - -------------------------------------------------------------------- -Sun Nov 10 11:26:41 UTC 2024 - Soc Virnyl Estela - -- Update ./compiler-rt-adjust-paths.patch for clang19 pathing. - -------------------------------------------------------------------- -Sun Nov 10 10:33:10 UTC 2024 - Soc Virnyl Estela - -- Add ./rusty_v8-0.106.0.tar.gz. This will be applied with a patch before compilation. + * Update ./compiler-rt-adjust-paths.patch for clang19 pathing. - Add back registry.tar.zst. ------------------------------------------------------------------- diff --git a/deno.spec b/deno.spec index 4d92d4f..906c44b 100644 --- a/deno.spec +++ b/deno.spec @@ -21,7 +21,7 @@ %global _lto_cflags %nil %global _v8_version 0.106.0 Name: deno -Version: 2.0.6 +Version: 0.106.0 Release: 0 Summary: A secure JavaScript and TypeScript runtime License: MIT @@ -29,7 +29,7 @@ Group: Productivity/Other URL: https://github.com/denoland/deno Source0: %{name}-%{version}.tar.zst Source1: registry.tar.zst -Source2: http://crates.io/api/v1/crates/v8/%{_v8_version}/download#/rusty_v8-%{_v8_version}.tar.gz +Source2: rusty_v8-%{_v8_version}.tar.zst Patch1: compiler-rt-adjust-paths.patch BuildRequires: cargo-packaging BuildRequires: clang @@ -103,7 +103,7 @@ updated with the --reload flag. # Extract vendor source tar xvf %{SOURCE1} # Now we patch V8 or %%{SOURCE2} -echo -e "\n[patch.crates-io]\nv8 = { path = './v8-0.106.0' }" >> Cargo.toml +echo -e "\n[patch.crates-io]\nv8 = { path = './rusty_v8' }" >> Cargo.toml %build export CARGO_HOME="$PWD/.cargo" diff --git a/rusty_v8-0.106.0.tar.gz b/rusty_v8-0.106.0.tar.gz deleted file mode 100644 index 0537191..0000000 --- a/rusty_v8-0.106.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a381badc47c6f15acb5fe0b5b40234162349ed9d4e4fd7c83a7f5547c0fc69c5 -size 22297783 diff --git a/rusty_v8-0.106.0.tar.zst b/rusty_v8-0.106.0.tar.zst new file mode 100644 index 0000000..3a6b24c --- /dev/null +++ b/rusty_v8-0.106.0.tar.zst @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4bbdc154daf89cabfa796298714f20bf5df5ad8c238e774be0cd7f2979c2c79b +size 62136047