From 2da68d4dc6dd442b465498caa80f8b001b0f7f1fb4fa4f3dba357605e72329d0 Mon Sep 17 00:00:00 2001 From: Soc Virnyl Estela Date: Wed, 24 Sep 2025 21:13:04 +0800 Subject: [PATCH 1/8] update: bump package to version 2.5.0 Signed-off-by: Soc Virnyl Estela --- _service | 2 +- deno-2.4.5.tar.zst | 3 -- deno-2.5.0.tar.zst | 3 ++ deno.changes | 106 +++++++++++++++++++++++++++++++++++++++++++++ deno.spec | 2 +- registry.tar.zst | 4 +- 6 files changed, 113 insertions(+), 7 deletions(-) delete mode 100644 deno-2.4.5.tar.zst create mode 100644 deno-2.5.0.tar.zst diff --git a/_service b/_service index 7264a33..59e61d9 100644 --- a/_service +++ b/_service @@ -8,7 +8,7 @@ true registry https://github.com/denoland/deno - v2.4.5 + v2.5.0 ^v?(.*) $1 true diff --git a/deno-2.4.5.tar.zst b/deno-2.4.5.tar.zst deleted file mode 100644 index f0b7bcf..0000000 --- a/deno-2.4.5.tar.zst +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:02a920017735a1aaa4c140515b6070d11ae7ce979d7425ddee1ddb3a899bf621 -size 108134388 diff --git a/deno-2.5.0.tar.zst b/deno-2.5.0.tar.zst new file mode 100644 index 0000000..b652b01 --- /dev/null +++ b/deno-2.5.0.tar.zst @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:910155f8eab058cb050faa129cc9fdbb532360dcccd448253fb0ee9da1f26cb2 +size 108249572 diff --git a/deno.changes b/deno.changes index a394a2d..b3fda3f 100644 --- a/deno.changes +++ b/deno.changes @@ -1,3 +1,109 @@ +------------------------------------------------------------------- +Wed Sep 24 12:50:55 UTC 2025 - Soc Virnyl Estela + +- Update to version 2.5.0: + * chore: release deno_bundle_runtime (#30674) + * 2.5.0 (#30673) + * fix(lsp): auto-import dep entries from workspace member import maps (#30667) + * feat(bundle): support html entrypoint (#29856) + * fix(publish): unfurl import.meta.resolve calls (#30663) + * fix(dts): align crypto.getRandomValues in lib.deno_crypto.d.ts with lib.dom.d.ts and lib.webworker.d.ts (#30647) + * ci: disable symcache generation on Windows, part 4 (#30661) + * test: disable test-dgram-send-empty-buffer.js on mac (#30660) + * ci: disable symcache generation on Windows, part 3 (#30654) + * bench: disable type-checking std submodule (#30653) + * ci: disable symcache generation on Windows, part 2 (#30651) + * test: de-flake specs tests in `deno install` (#30645) + * chore: remove flake in permissions_audit_with_traces test (#30649) + * feat(ext/node): add sqlite-type symbol for DatabaseSync (#30511) + * feat(unstable): use Node.js `setTimeout` and `setInterval` (#29993) + * ci: disable symcache generation on Windows (#30646) + * chore: upgrade hickory-dns to 0.25.2 (#30582) + * feat(install): update warning for npm package build scripts (#30527) + * fix(ext/node): set socket.authorized to true for https request (#30641) + * feat: V8 14.0.0 (#30629) + * feat(BREAKING/fmt): prompt or require `deno fmt .` when providing no files and no config files discovered (#30623) + * fix(dts): specify the underlying buffer type in more places (#30640) + * feat: permission audit log (#30575) + * feat(install): refresh install report (#30615) + * fix(tests): Switch from --nocapture to --no-capture (#30638) + * fix(ext/node): readline line separators (#30630) + * fix(ext/node): `fs.mkdtemp` and `fs.mkdtempSync` compatibility (#30602) + * fix(lsp): import rewrites in moved file (#30628) + * fix(bundle): avoid cloning parsed source, restore owned transpile assertion (#30624) + * fix(unstable): make QuicListener yield QuicIncoming (#30150) + * fix(ext/node): fix hang induced by maxSockets bounds (#30622) + * fix(bundle): properly display error on invalid config in watch mode (#30621) + * fix(node): improve directory import error suggestion (#30619) + * fix(cache): cache and uninstall are package manager subcommands (#30613) + * feat(bundle): runtime API for deno bundle (#29949) + * fix(check): support "moduleResolution": "bundler" in compiler options (#30603) + * feat(cli): reload environment variables with `--watch` and `--env-file` (#30197) + * fix(ext/node): ignore Node.js' `--experimental-*` flags when spawning child process (#26351) + * fix(cli/run): resolve conflict when dir has same name as a task (#29538) + * feat(lint): no-unversioned-import rule (#30609) + * fix(ext/node): fs.symlink and fs.symlinkSync compatibility (#30555) + * fix(install/cache): better discovery for config file based on entrypoint (#30608) + * refactor(webgpu): make cppgc arguments safer (#30563) + * feat: `deno run` with no arguments prints list of available tasks (#30592) + * feat: TypeScript 5.9.2 (#30601) + * fix(ext/fetch): only uppercase known methods (#30290) + * feat(node): implement async hooks for nextTick TickObject tracking (#30578) + * feat(lint): no-import-prefix workspace rule (#30598) + * fix(types): specify `ArrayBuffer` as a backing buffer type for `Response.body` and `Response.bytes` (#30435) + * fix(types): specify `ArrayBuffer` as a backing buffer type for `TextEncoder.encode()` (#30434) + * feat(ext/fetch): Parse unix socket and vsock proxies from env var (#30377) + * fix(check): support "compilerOptions.rootDirs" in tsconfig (#30495) + * chore(deps): bump tracing-subscriber from 0.3.19 to 0.3.20 (#30565) + * feat(test): Add setup and teardown APIs to `Deno.test` API (#30504) + * feat: permissions in the config file (#30330) + * fix(check): don't ignore ambient declarations for existent files (#30591) + * feat(ext/process): add collector utilities to `ChildProcess.stdout` & `ChildProcess.stderr` (#30552) + * chore(test): add `reason` field to node compat test config (#30469) + * refactor: reorganize `tools/test` module (#30590) + * fix(ext/node): implement http.res.setHeaders (#30586) + * fix(ext/webgpu): add illegal constructor errors (#30500) + * fix(ext/node): path.relative compatibility (#30566) + * fix(ext/node): Readable adapter cancel semantics (#30526) + * fix(lsp): goto-type-definition for builtin on startup (#30499) + * fix(cli): support data urls in preload by not splitting on comma. (#30544) + * fix(init): use temp `node_modules` folders for `deno init --npm ...` (#30492) + * fix: upgrade to swc_ecma_parser 23 (#30564) + * feat(fmt): apply object spacing to import/export lines (#30371) + * refactor(permissions): remove `all` state in permissions (#30548) + * fix(ext/node): support JS underlying stream in TLS (#30465) + * feat(unstable): WebSocket headers field (#30321) + * fix(install): print install report on `add`, `cache`, and all `install` variants, move scripts and deprecation warnings after the report (#30549) + * feat: add `tcpBacklog` arg to `Deno.listen{Tls}` and `Deno.serve` (#30541) + * fix(install): don't try to re-symlink binaries in node_modules if the symlink is correct (#30546) + * fix(bundle): do not error on fallible dynamic imports/requires (#30522) + * fix(node): regression where Node fs APIs required elevated permissions on Windows (#30535) + * fix(ext/node): path.normalize compatibility (#30537) + * feat(npm): support `bundleDependencies` in npm dependencies (#30521) + * fix: add another space after warning symbol (#30482) + * fix(bundle): don't error when using npm package without bin as entrypoint (#30523) + * fix(unstable): support unstable-raw-imports when prewarmed (#30530) + * fix(ext/node): `fs.exists` and `fs.existsSync` compatibility (#30507) + * refactor: rename internal flag to --trace-ops (#30520) + * fix(node_resolver): incorrect resolution of `require("..")` (#30524) + * fix(install): force refresh if cannot find version (#30483) + * fix(ext/node): handle `null` keypair in tls connect (#30516) + * fix(ext/node): http.server.listen to handle signal option (#30515) + * chore: fix wpt_epoch CI (#30501) + * fix(napi): buffer finalizer is nullable (#30514) + * fix(ext/node): `fs.path`' `makelong` and `resolve` compatibility (#30503) + * fix(ext/node): `crypto.hkdfSync` returns wrong result for non-Uint8Array TypedArray inputs (#30463) + * feat: allow disable hostname verification in TLS (#30409) + * fix: pass npm process state when spawning script in npm package via Node APIs (#30490) + * fix(init): eliminate flickering progress bar (#30496) + * chore: mark inspector_does_not_hang test as flaky (#30493) + * fix: do not have duplicate progress bars for post install scripts (#30489) + * chore: make deprecation_warnings_no_repeat as flaky (#30491) + * chore(test): preserve node test fixtures line endings (#30488) + * chore: add test for top level return statement with unstable-detect-cjs (#30480) + * fix(npm): do not error on failure to write warned script file (#30479) + * refactor: remove WorkspaceDirectoryProvider (#30467) + ------------------------------------------------------------------- Mon Sep 15 14:53:43 UTC 2025 - Soc Virnyl Estela diff --git a/deno.spec b/deno.spec index c27ad45..2b155d0 100644 --- a/deno.spec +++ b/deno.spec @@ -21,7 +21,7 @@ %global _lto_cflags %nil %global _v8_version 137.2.1 Name: deno -Version: 2.4.5 +Version: 2.5.0 Release: 0 Summary: A secure JavaScript and TypeScript runtime License: MIT diff --git a/registry.tar.zst b/registry.tar.zst index bc51ec4..f69212f 100644 --- a/registry.tar.zst +++ b/registry.tar.zst @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:42e43f1fa75464a39c7cb7115be2a77044c998c22311750510c9127cce61b8cf -size 196435103 +oid sha256:96eafbe75298e1dfd465c2b8ff4fe60eb769a3604f26735318af5972e9c9757c +size 198804273 -- 2.51.1 From 7a81a1b1dcbb938b90b2ae86cd6c906bed7a733088930e8251219d5209fad0cc Mon Sep 17 00:00:00 2001 From: Soc Virnyl Estela Date: Sat, 14 Feb 2026 22:09:26 +0800 Subject: [PATCH 2/8] bump to version 2.6.9 Signed-off-by: Soc Virnyl Estela --- _service | 2 +- chromium-rust-toolchain.tar.xz | 3 ++ deno-2.5.0.tar.zst | 3 -- deno-2.6.9.tar.zst | 3 ++ deno.changes | 61 ++++++++++++++++++++++++++++++++++ deno.spec | 35 ++++++++++++++----- registry.tar.zst | 4 +-- 7 files changed, 97 insertions(+), 14 deletions(-) create mode 100644 chromium-rust-toolchain.tar.xz delete mode 100644 deno-2.5.0.tar.zst create mode 100644 deno-2.6.9.tar.zst diff --git a/_service b/_service index 59e61d9..f7a59d6 100644 --- a/_service +++ b/_service @@ -8,7 +8,7 @@ true registry https://github.com/denoland/deno - v2.5.0 + v2.6.9 ^v?(.*) $1 true diff --git a/chromium-rust-toolchain.tar.xz b/chromium-rust-toolchain.tar.xz new file mode 100644 index 0000000..89d2baa --- /dev/null +++ b/chromium-rust-toolchain.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5ca1ca6268ce2dcfe878c623f0f49e4eba983bb36e79ceddb9c745ef48efc933 +size 140484296 diff --git a/deno-2.5.0.tar.zst b/deno-2.5.0.tar.zst deleted file mode 100644 index b652b01..0000000 --- a/deno-2.5.0.tar.zst +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:910155f8eab058cb050faa129cc9fdbb532360dcccd448253fb0ee9da1f26cb2 -size 108249572 diff --git a/deno-2.6.9.tar.zst b/deno-2.6.9.tar.zst new file mode 100644 index 0000000..099c3e8 --- /dev/null +++ b/deno-2.6.9.tar.zst @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5f78553c4848887de2dfa8e72293558c663ab173ac03ea98facb8ad35e91ec99 +size 109752171 diff --git a/deno.changes b/deno.changes index b3fda3f..3338766 100644 --- a/deno.changes +++ b/deno.changes @@ -1,3 +1,64 @@ +------------------------------------------------------------------- +Sat Feb 14 14:07:00 UTC 2026 - Soc Virnyl Estela + +- Update to version 2.6.9: + * 2.6.9 (#32110) + * ci: use code blocks for test lists in Node compat Slack messages (#32103) + * fix(repl): handle EOF gracefully in JSON REPL mode (#32108) + * fix(compile): use a temporary directory with a node_modules folder when compiling npm specifiers (#32084) + * fix(ext/node): serialize workerData before resolving worker filename (#32091) + * fix(ext/node): `fs.writeFile` and `FileHandle.writeFile` compatibility (#32077) + * fix(ext/node): emit close on both paired MessagePorts (#32092) + * fix(ext/webgpu): GPUQuene writeBuffer size given in elements of TA (#32031) + * fix(ext/node): read from stdin when spawns node with no args (#32088) + * fix(ext/node): unref stdin on pause to allow process exit (#32086) + * fix(test): user input clearing test runner output (#32082) + * fix(ext/node): add `threadName` to worker_threads module (#32072) + * fix(ext/node): set exitCode/signalCode correctly for killed child processes (#32081) + * fix(ext/node): emit error event for worker with missing main module (#32062) + * ci: add detailed Node compat test insights as Slack thread reply (#32080) + * fix(ext/node): unref child_process stdio streams by default (#32071) + * test: disable test-worker-fshandles-open-close-on-termination.js (#32079) + * fix: support loading `npm:` and `jsr:` specifiers in required ES modules (#31974) + * fix(ext/node): fix 'test-worker-process-{argv,env}.js' tests (#32065) + * fix(ext/otel): use correct severity for `console.trace` (#32068) + * fix(ext/node): validate execArgv and NODE_OPTIONS in worker_threads (#32066) + * fix(ext/node): emit error event for worker_threads terminal errors (#32052) + * fix(ext/node): add `worker.cpuUsage([prev])` API (#32050) + * fix(ext/node): propagate worker exit code from process.exit() (#32061) + * fix(ext/node): Fix `.only` tests compatibilty (#32043) + * chore: make approve_scripts tests less flaky (#32059) + * feat(upgrade): ability to verify zip archive against checksum (#31804) + * fix(ext/node): handle raw fd instead rid in isatty (#31912) + * feat(upgrade): add context to error messages for better troubleshooting (#32018) + * fix(ext/node): implement Symbol.asyncDispose for node Worker (#32051) + * feat(doc): support markdown files (#32024) + * fix: `deno info` npm subpath import (#32056) + * fix(node/crypto): randomBytes returns buffer with dedicated ArrayBuffer (#32048) + * fix: unstable_cron_socket_serve_reject flakiness caused by control socket coordination (#32053) + * fix(audit): make 'Path' property more readable (#32049) + * fix(ext/node): fix multiple node:zlib compatibility issues (#32039) + * fix(ext/node): add hasColors() to process.stdout and process.stderr (#31985) + * fix(ext/node): implement Node worker BroadcastChannel ref/unref (#32036) + * fix(ext/node): implement `DatabaseSync.setAuthorizer()` (#32009) + * fix(flags): extra trailing space in zsh directory completions (#32042) + * feat: Send reject-ack message through cron socket (#32035) + * fix(ext/node): add stub for ServerResponse.writeEarlyHints (#32029) + * fix(cli): pull in tunnel fix for windows (#32033) + * fix(ext/node): add zstd compression support to node:zlib (#32025) + * fix: add raw.esm.sh to default `--allow-import` list (#32030) + * chore: remove some top level entries from repo (#32022) + * fix: flaky cron socket tests (#32023) + * fix(ext/node): make `child_process` stdio streams Socket instances (#31975) + * fix: support DENO_SERVE_ADDRESS not being applied to the first server (#31982) + * fix: run on pre-Windows 10 version 1709 (#32002) + +------------------------------------------------------------------- +Sat Feb 14 13:31:06 UTC 2026 - Soc Virnyl Estela + +- Add chromium-rust-toolchain.tar.xz. This was based from the python script + located at `tools/rust-toolchain.py` in rusty_v8. + ------------------------------------------------------------------- Wed Sep 24 12:50:55 UTC 2025 - Soc Virnyl Estela diff --git a/deno.spec b/deno.spec index 2b155d0..d99f458 100644 --- a/deno.spec +++ b/deno.spec @@ -19,9 +19,9 @@ %global _lto_cflags %nil -%global _v8_version 137.2.1 +%global _v8_version 145.0.0 Name: deno -Version: 2.5.0 +Version: 2.6.9 Release: 0 Summary: A secure JavaScript and TypeScript runtime License: MIT @@ -29,6 +29,7 @@ Group: Productivity/Other URL: https://github.com/denoland/deno Source0: %{name}-%{version}.tar.zst Source1: registry.tar.zst +Source2: https://storage.googleapis.com/chromium-browser-clang/Linux_x64/rust-toolchain-a4cfac7093a1c1c7fbdb6bc75d6b6dc4d385fc69-2-llvmorg-22-init-17020-gbd1bd178.tar.xz#/chromium-rust-toolchain.tar.xz BuildRequires: cargo-packaging %if 0%{?suse_version} > 1600 @@ -41,14 +42,22 @@ BuildRequires: gcc-c++ # needed by `libz-ng-sys` after 1.36.1 # see: https://build.opensuse.org/package/show/devel:languages:javascript/deno#comment-1808174 BuildRequires: cmake -BuildRequires: cargo >= 1.80 +BuildRequires: cargo +BuildRequires: cargo-packaging +BuildRequires: clang21 +BuildRequires: clang21-devel +BuildRequires: fdupes BuildRequires: gn -BuildRequires: lld -BuildRequires: llvm -BuildRequires: llvm-gold +BuildRequires: lld21 +BuildRequires: rust-bindgen +BuildRequires: llvm21 +BuildRequires: llvm21-devel BuildRequires: ninja BuildRequires: pkgconfig BuildRequires: python3-base +BuildRequires: zstd +BuildRequires: rust-src +BuildRequires: python3-base BuildRequires: rusty_v8 = %{_v8_version} BuildRequires: zstd BuildRequires: pkgconfig(glib-2.0) @@ -107,13 +116,18 @@ updated with the --reload flag. %autosetup -a1 -p1 unlink rusty_v8 || true -ln -sf %{_libdir}/crates/rusty_v8/ $PWD/rusty_v8 +mkdir -p $PWD/rusty_v8 +cp -a %{_libdir}/crates/rusty_v8/* $PWD/rusty_v8/ +mkdir -p $PWD/rusty_v8/third_party/rust-toolchain +tar xf %{SOURCE2} \ + -C $PWD/rusty_v8/third_party/rust-toolchain echo -e "\n[patch.crates-io]\nv8 = { path = './rusty_v8' }" >> Cargo.toml %build export CARGO_HOME="$PWD/.cargo" # Ensure that the clang version matches. This command came from Archlinux. Thanks. export CLANG_VERSION=$(clang --version | grep -m1 version | sed 's/.* \([0-9]\+\).*/\1/') +export LIBCLANG_PATH=%{_libdir} export V8_FROM_SOURCE=1 export CLANG_BASE_PATH=%{_prefix} %if 0%{?suse_version} > 1600 @@ -127,7 +141,12 @@ export CXXFLAGS="%{optflags}" %endif # https://www.chromium.org/developers/gn-build-configuration -export GN_ARGS="clang_version=${CLANG_VERSION} use_lld=true enable_nacl = false blink_symbol_level = 0 v8_symbol_level = 0" +export RUSTC_SYSROOT=$(rustc --print sysroot) +export RUSTC_VERSION=$(rustc -V | cut -d' ' -f2) +export GN="/usr/bin/gn" +export NINJA="/usr/bin/ninja" +export RUSTC="/usr/bin/rustc" +export GN_ARGS="clang_version=${CLANG_VERSION} use_lld=true v8_symbol_level=0" %{__cargo} update v8 --offline %{cargo_build} diff --git a/registry.tar.zst b/registry.tar.zst index f69212f..a50b61f 100644 --- a/registry.tar.zst +++ b/registry.tar.zst @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:96eafbe75298e1dfd465c2b8ff4fe60eb769a3604f26735318af5972e9c9757c -size 198804273 +oid sha256:a9089a23147f43e1465793ebd43c491db4dcac2b3bc58342753b3f8c374a7353 +size 211811383 -- 2.51.1 From c20bd30a1cce64f6d9512854c70a66820acdee505c1c37252b302cffd55566fd Mon Sep 17 00:00:00 2001 From: Soc Virnyl Estela Date: Sun, 15 Feb 2026 00:53:28 +0800 Subject: [PATCH 3/8] fix copy operation Signed-off-by: Soc Virnyl Estela --- deno.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deno.spec b/deno.spec index d99f458..a411e1f 100644 --- a/deno.spec +++ b/deno.spec @@ -117,7 +117,7 @@ updated with the --reload flag. unlink rusty_v8 || true mkdir -p $PWD/rusty_v8 -cp -a %{_libdir}/crates/rusty_v8/* $PWD/rusty_v8/ +cp -a %{_libdir}/crates/rusty_v8/. $PWD/rusty_v8/ mkdir -p $PWD/rusty_v8/third_party/rust-toolchain tar xf %{SOURCE2} \ -C $PWD/rusty_v8/third_party/rust-toolchain -- 2.51.1 From 30dc0e678acb46b2de7a463393f348b125dd7a4536e1326e733569af2a2d6b7d Mon Sep 17 00:00:00 2001 From: Soc Virnyl Estela Date: Sun, 15 Feb 2026 08:18:04 +0800 Subject: [PATCH 4/8] Revert "use macro bcond to select BuildRequires clang/gcc" This reverts commit 54ce3fda2f5e219759f2e67592cfc7f4fefa539509f9d8f16b47d950df72cec3. --- deno.changes | 8 -------- deno.spec | 10 ++-------- 2 files changed, 2 insertions(+), 16 deletions(-) diff --git a/deno.changes b/deno.changes index c3a71c5..a394a2d 100644 --- a/deno.changes +++ b/deno.changes @@ -1,11 +1,3 @@ -------------------------------------------------------------------- -Tue Nov 18 13:12:51 UTC 2025 - Giacomo Comes - -- use macro bcond to select BuildRequires clang/gcc -- use BuildRequires clang19 by default - * allow to select BuildRequires gcc only for tumbleweed since - for leap build doesn't work - ------------------------------------------------------------------- Mon Sep 15 14:53:43 UTC 2025 - Soc Virnyl Estela diff --git a/deno.spec b/deno.spec index 47cfa7c..c27ad45 100644 --- a/deno.spec +++ b/deno.spec @@ -18,12 +18,6 @@ # -%bcond_without clang -%if 0%{?suse_version} > 1600 -#uncomment next line to select gcc for tumbleweed -#%%bcond_with clang -%endif - %global _lto_cflags %nil %global _v8_version 137.2.1 Name: deno @@ -37,7 +31,7 @@ Source0: %{name}-%{version}.tar.zst Source1: registry.tar.zst BuildRequires: cargo-packaging -%if %{with clang} +%if 0%{?suse_version} > 1600 BuildRequires: clang19 %else BuildRequires: gcc @@ -122,7 +116,7 @@ export CARGO_HOME="$PWD/.cargo" export CLANG_VERSION=$(clang --version | grep -m1 version | sed 's/.* \([0-9]\+\).*/\1/') export V8_FROM_SOURCE=1 export CLANG_BASE_PATH=%{_prefix} -%if %{with clang} +%if 0%{?suse_version} > 1600 export CC=clang export CXX=clang++ export CFLAGS="%{optflags} -Wno-unknown-warning-option" -- 2.51.1 From d2672026789085cb1db646701f8e9589accfb5b00b521352106dadbf2c3479da Mon Sep 17 00:00:00 2001 From: Giacomo Comes Date: Tue, 18 Nov 2025 09:46:28 -0400 Subject: [PATCH 5/8] use macro bcond to select BuildRequires clang/gcc use BuildRequires clang19 by default * allow to select BuildRequires gcc only for tumbleweed since for leap build doesn't work --- deno.changes | 8 ++++++++ deno.spec | 10 ++++++++-- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/deno.changes b/deno.changes index 3338766..85b833d 100644 --- a/deno.changes +++ b/deno.changes @@ -59,6 +59,14 @@ Sat Feb 14 13:31:06 UTC 2026 - Soc Virnyl Estela - Add chromium-rust-toolchain.tar.xz. This was based from the python script located at `tools/rust-toolchain.py` in rusty_v8. +------------------------------------------------------------------- +Tue Nov 18 13:12:51 UTC 2025 - Giacomo Comes + +- use macro bcond to select BuildRequires clang/gcc +- use BuildRequires clang19 by default + * allow to select BuildRequires gcc only for tumbleweed since + for leap build doesn't work + ------------------------------------------------------------------- Wed Sep 24 12:50:55 UTC 2025 - Soc Virnyl Estela diff --git a/deno.spec b/deno.spec index a411e1f..9c0188a 100644 --- a/deno.spec +++ b/deno.spec @@ -18,6 +18,12 @@ # +%bcond_without clang +%if 0%{?suse_version} > 1600 +#uncomment next line to select gcc for tumbleweed +#%%bcond_with clang +%endif + %global _lto_cflags %nil %global _v8_version 145.0.0 Name: deno @@ -32,7 +38,7 @@ Source1: registry.tar.zst Source2: https://storage.googleapis.com/chromium-browser-clang/Linux_x64/rust-toolchain-a4cfac7093a1c1c7fbdb6bc75d6b6dc4d385fc69-2-llvmorg-22-init-17020-gbd1bd178.tar.xz#/chromium-rust-toolchain.tar.xz BuildRequires: cargo-packaging -%if 0%{?suse_version} > 1600 +%if %{with clang} BuildRequires: clang19 %else BuildRequires: gcc @@ -130,7 +136,7 @@ export CLANG_VERSION=$(clang --version | grep -m1 version | sed 's/.* \([0-9]\+\ export LIBCLANG_PATH=%{_libdir} export V8_FROM_SOURCE=1 export CLANG_BASE_PATH=%{_prefix} -%if 0%{?suse_version} > 1600 +%if %{with clang} export CC=clang export CXX=clang++ export CFLAGS="%{optflags} -Wno-unknown-warning-option" -- 2.51.1 From 66ef1c8e169c1c2af1117dcb65336a103e1f7e08091a74ccab23bfcde27c73f2 Mon Sep 17 00:00:00 2001 From: Soc Virnyl Estela Date: Sun, 15 Feb 2026 22:34:33 +0800 Subject: [PATCH 6/8] add back bcond by cherry picking Signed-off-by: Soc Virnyl Estela --- deno.changes | 6 ++++++ deno.spec | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/deno.changes b/deno.changes index 85b833d..894236d 100644 --- a/deno.changes +++ b/deno.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Feb 15 14:33:34 UTC 2026 - Soc Virnyl Estela + +- Add back bcond with clang but set it to clang21. rusty_v8 requires + clang20 and above + ------------------------------------------------------------------- Sat Feb 14 14:07:00 UTC 2026 - Soc Virnyl Estela diff --git a/deno.spec b/deno.spec index 9c0188a..1482e18 100644 --- a/deno.spec +++ b/deno.spec @@ -39,7 +39,7 @@ Source2: https://storage.googleapis.com/chromium-browser-clang/Linux_x64/ BuildRequires: cargo-packaging %if %{with clang} -BuildRequires: clang19 +BuildRequires: clang21 %else BuildRequires: gcc BuildRequires: gcc-c++ -- 2.51.1 From 5c677561f82bf8b3fca4043e456b05a3897de61466cb48175d4291a3ca59aebe Mon Sep 17 00:00:00 2001 From: Soc Virnyl Estela Date: Mon, 16 Feb 2026 00:00:27 +0800 Subject: [PATCH 7/8] Remove gcc switch. Set clang minver to 19. Ensure we use the LLVM toolchain and not GCC for the C compiler. Only pp64 requires gcc-c++ Signed-off-by: Soc Virnyl Estela --- deno.changes | 6 ++++++ deno.spec | 34 +++++++++------------------------- 2 files changed, 15 insertions(+), 25 deletions(-) diff --git a/deno.changes b/deno.changes index 894236d..dcb83c2 100644 --- a/deno.changes +++ b/deno.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Feb 15 15:49:38 UTC 2026 - Soc Virnyl Estela + +- Remove gcc switch. Set clang minver to 19. Ensure we use the LLVM toolchain + and not GCC for the C compiler. Only pp64 requires gcc-c++ + ------------------------------------------------------------------- Sun Feb 15 14:33:34 UTC 2026 - Soc Virnyl Estela diff --git a/deno.spec b/deno.spec index 1482e18..287f370 100644 --- a/deno.spec +++ b/deno.spec @@ -17,15 +17,9 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # - -%bcond_without clang -%if 0%{?suse_version} > 1600 -#uncomment next line to select gcc for tumbleweed -#%%bcond_with clang -%endif - %global _lto_cflags %nil %global _v8_version 145.0.0 +%global _min_clang_version 19 Name: deno Version: 2.6.9 Release: 0 @@ -38,26 +32,19 @@ Source1: registry.tar.zst Source2: https://storage.googleapis.com/chromium-browser-clang/Linux_x64/rust-toolchain-a4cfac7093a1c1c7fbdb6bc75d6b6dc4d385fc69-2-llvmorg-22-init-17020-gbd1bd178.tar.xz#/chromium-rust-toolchain.tar.xz BuildRequires: cargo-packaging -%if %{with clang} -BuildRequires: clang21 -%else -BuildRequires: gcc -BuildRequires: gcc-c++ -%endif - # needed by `libz-ng-sys` after 1.36.1 # see: https://build.opensuse.org/package/show/devel:languages:javascript/deno#comment-1808174 BuildRequires: cmake BuildRequires: cargo BuildRequires: cargo-packaging -BuildRequires: clang21 -BuildRequires: clang21-devel BuildRequires: fdupes BuildRequires: gn -BuildRequires: lld21 BuildRequires: rust-bindgen -BuildRequires: llvm21 -BuildRequires: llvm21-devel +BuildRequires: clang >= %{_min_clang_version} +BuildRequires: clang-devel >= %{_min_clang_version} +BuildRequires: llvm >= %{_min_clang_version} +BuildRequires: llvm-devel >= %{_min_clang_version} +BuildRequires: lld >= %{_min_clang_version} BuildRequires: ninja BuildRequires: pkgconfig BuildRequires: python3-base @@ -72,6 +59,9 @@ BuildRequires: pkgconfig(gobject-2.0) BuildRequires: pkgconfig(gthread-2.0) BuildRequires: pkgconfig(protobuf) ExclusiveArch: %{rust_tier1_arches} +%ifarch ppc64 # wants g++ for some reason +BuildRequires: gcc-c++ +%endif # PATCH-FIX-OPENSUSE - Disable LTO (to reduce req memory) Patch10: deno-disable-lto.patch @@ -136,16 +126,10 @@ export CLANG_VERSION=$(clang --version | grep -m1 version | sed 's/.* \([0-9]\+\ export LIBCLANG_PATH=%{_libdir} export V8_FROM_SOURCE=1 export CLANG_BASE_PATH=%{_prefix} -%if %{with clang} export CC=clang export CXX=clang++ export CFLAGS="%{optflags} -Wno-unknown-warning-option" export CXXFLAGS="%{optflags} -Wno-unknown-warning-option" -%else -export CFLAGS="%{optflags}" -export CXXFLAGS="%{optflags}" -%endif - # https://www.chromium.org/developers/gn-build-configuration export RUSTC_SYSROOT=$(rustc --print sysroot) export RUSTC_VERSION=$(rustc -V | cut -d' ' -f2) -- 2.51.1 From 522653c2b95699320722e52195b12cce15131c4a09514556298177b81e8bb5fa Mon Sep 17 00:00:00 2001 From: Soc Virnyl Estela Date: Mon, 16 Feb 2026 00:06:02 +0800 Subject: [PATCH 8/8] remove rust-src as build requirement Signed-off-by: Soc Virnyl Estela --- deno.changes | 5 +++++ deno.spec | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/deno.changes b/deno.changes index dcb83c2..64a6e00 100644 --- a/deno.changes +++ b/deno.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Feb 15 16:05:45 UTC 2026 - Soc Virnyl Estela + +- Remove requirement `rust-src` + ------------------------------------------------------------------- Sun Feb 15 15:49:38 UTC 2026 - Soc Virnyl Estela diff --git a/deno.spec b/deno.spec index 287f370..8452396 100644 --- a/deno.spec +++ b/deno.spec @@ -49,7 +49,6 @@ BuildRequires: ninja BuildRequires: pkgconfig BuildRequires: python3-base BuildRequires: zstd -BuildRequires: rust-src BuildRequires: python3-base BuildRequires: rusty_v8 = %{_v8_version} BuildRequires: zstd -- 2.51.1