- Replace ./rusty_v8-0.106.0.tar.gz with ./rusty_v8-0.106.0.tar.zst
* Update ./compiler-rt-adjust-paths.patch for clang19 pathing. OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/deno?expand=0&rev=249
This commit is contained in:
parent
3a4889d824
commit
ec22473193
17
_service
17
_service
@ -13,6 +13,17 @@
|
|||||||
<param name="versionrewrite-replacement">\1</param>
|
<param name="versionrewrite-replacement">\1</param>
|
||||||
<param name="changesgenerate">enable</param>
|
<param name="changesgenerate">enable</param>
|
||||||
</service>
|
</service>
|
||||||
|
<service name="obs_scm" mode="manual">
|
||||||
|
<param name="url">https://github.com/denoland/rusty_v8</param>
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="revision">v0.106.0</param>
|
||||||
|
<param name="version">0.106.0</param>
|
||||||
|
<param name="exclude">.git</param>
|
||||||
|
<param name="exclude">.github</param>
|
||||||
|
<param name="exclude">.gitignore</param>
|
||||||
|
<param name="exclude">.prettierrc.json</param>
|
||||||
|
<param name="exclude">.rustfmt.toml</param>
|
||||||
|
</service>
|
||||||
<service name="cargo_vendor" mode="manual">
|
<service name="cargo_vendor" mode="manual">
|
||||||
<param name="update">false</param>
|
<param name="update">false</param>
|
||||||
<param name="respect-lockfile">true</param>
|
<param name="respect-lockfile">true</param>
|
||||||
@ -26,5 +37,11 @@
|
|||||||
<param name="preserve-root">true</param>
|
<param name="preserve-root">true</param>
|
||||||
<param name="reproducible">true</param>
|
<param name="reproducible">true</param>
|
||||||
</service>
|
</service>
|
||||||
|
<service name="roast" mode="manual">
|
||||||
|
<param name="target">rusty_v8</param>
|
||||||
|
<param name="outfile">rusty_v8-0.106.0.tar.zst</param>
|
||||||
|
<param name="preserve-root">true</param>
|
||||||
|
<param name="reproducible">true</param>
|
||||||
|
</service>
|
||||||
</services>
|
</services>
|
||||||
|
|
||||||
|
@ -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
|
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
|
--- a/rusty_v8/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
|
+++ b/rusty_v8/build/config/clang/BUILD.gn 2024-11-10 19:52:00.676576200 +0800
|
||||||
@@ -192,12 +192,15 @@
|
@@ -192,12 +192,15 @@
|
||||||
} else if (is_linux || is_chromeos) {
|
} else if (is_linux || is_chromeos) {
|
||||||
if (current_cpu == "x64") {
|
if (current_cpu == "x64") {
|
||||||
|
14
deno.changes
14
deno.changes
@ -1,17 +1,9 @@
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Nov 10 11:55:09 UTC 2024 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
|
Sun Nov 10 12:18:13 UTC 2024 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
|
||||||
|
|
||||||
|
- Replace ./rusty_v8-0.106.0.tar.gz with ./rusty_v8-0.106.0.tar.zst
|
||||||
- Fix ./compiler-rt-adjust-paths.patch
|
- Fix ./compiler-rt-adjust-paths.patch
|
||||||
|
* Update ./compiler-rt-adjust-paths.patch for clang19 pathing.
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sun Nov 10 11:26:41 UTC 2024 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
|
|
||||||
|
|
||||||
- Update ./compiler-rt-adjust-paths.patch for clang19 pathing.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sun Nov 10 10:33:10 UTC 2024 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
|
|
||||||
|
|
||||||
- Add ./rusty_v8-0.106.0.tar.gz. This will be applied with a patch before compilation.
|
|
||||||
- Add back registry.tar.zst.
|
- Add back registry.tar.zst.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
%global _lto_cflags %nil
|
%global _lto_cflags %nil
|
||||||
%global _v8_version 0.106.0
|
%global _v8_version 0.106.0
|
||||||
Name: deno
|
Name: deno
|
||||||
Version: 2.0.6
|
Version: 0.106.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A secure JavaScript and TypeScript runtime
|
Summary: A secure JavaScript and TypeScript runtime
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -29,7 +29,7 @@ Group: Productivity/Other
|
|||||||
URL: https://github.com/denoland/deno
|
URL: https://github.com/denoland/deno
|
||||||
Source0: %{name}-%{version}.tar.zst
|
Source0: %{name}-%{version}.tar.zst
|
||||||
Source1: registry.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
|
Patch1: compiler-rt-adjust-paths.patch
|
||||||
BuildRequires: cargo-packaging
|
BuildRequires: cargo-packaging
|
||||||
BuildRequires: clang
|
BuildRequires: clang
|
||||||
@ -103,7 +103,7 @@ updated with the --reload flag.
|
|||||||
# Extract vendor source
|
# Extract vendor source
|
||||||
tar xvf %{SOURCE1}
|
tar xvf %{SOURCE1}
|
||||||
# Now we patch V8 or %%{SOURCE2}
|
# 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
|
%build
|
||||||
export CARGO_HOME="$PWD/.cargo"
|
export CARGO_HOME="$PWD/.cargo"
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:a381badc47c6f15acb5fe0b5b40234162349ed9d4e4fd7c83a7f5547c0fc69c5
|
|
||||||
size 22297783
|
|
3
rusty_v8-0.106.0.tar.zst
Normal file
3
rusty_v8-0.106.0.tar.zst
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:4bbdc154daf89cabfa796298714f20bf5df5ad8c238e774be0cd7f2979c2c79b
|
||||||
|
size 62136047
|
Loading…
x
Reference in New Issue
Block a user