Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package crubit for openSUSE:Factory checked in at 2026-12-01 16:59:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/crubit (Old) and /work/SRC/openSUSE:Factory/.crubit.new.1340718 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "crubit" Tue Dec 1 16:59:05 2026 rev:2 rq:1401744 version:0.20261106 Changes: -------- --- /work/SRC/openSUSE:Factory/crubit/crubit.changes 2026-11-28 23:24:21.346311317 +0100 +++ /work/SRC/openSUSE:Factory/.crubit.new.1340718/crubit.changes 2026-12-01 17:02:18.917495840 +0100 @@ -1,0 +2,12 @@ +Mon Nov 30 12:44:27 UTC 2026 - Andreas Schwab <[email protected]> + +- Enable build on riscv64 + +------------------------------------------------------------------- +Fri Nov 27 13:59:22 UTC 2026 - Ruediger Oertel <[email protected]> + +- add esbuild and typescript here to reduce turnaround time + in chromium build +- add typescript_native_preview.patch + +------------------------------------------------------------------- New: ---- TypeScript-7.0.2-vendor.tar.gz TypeScript-7.0.2.tar.gz esbuild-0.28.2-vendor.tar.gz esbuild-0.28.2.tar.gz typescript_native_preview.patch ----------(New B)---------- New: in chromium build - add typescript_native_preview.patch ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ crubit.spec ++++++ --- /var/tmp/diff_new_pack.eRa11z/_old 2026-12-01 17:02:22.555648321 +0100 +++ /var/tmp/diff_new_pack.eRa11z/_new 2026-12-01 17:02:22.558648447 +0100 @@ -16,6 +16,9 @@ # %define ninja_version 1.13.2 +%define esbuild_version 0.28.2 +%define typescript_version 7.0.2 + %define rust_system_version 1.99 %define rust_version 1.100.0 # define rust_target @@ -26,6 +29,9 @@ %global rustarch %{_arch} %global rust_target %{_arch}-unknown-linux-gnu %endif +%ifarch riscv64 +%global rust_target riscv64gc-unknown-linux-gnu +%endif Name: crubit Version: 0.20261106 @@ -38,8 +44,13 @@ #Source1: vendor.tar.xz Source2: crubit-rpmlintrc Source3: ninja-%{ninja_version}.tar.gz -Source6: rustc-%{rust_version}-src.tar.xz -ExclusiveArch: aarch64 x86_64 ppc64le +Source4: esbuild-%{esbuild_version}.tar.gz +Source5: esbuild-%{esbuild_version}-vendor.tar.gz +Source6: TypeScript-%{typescript_version}.tar.gz +Source7: TypeScript-%{typescript_version}-vendor.tar.gz +Source8: rustc-%{rust_version}-src.tar.xz +Patch1: typescript_native_preview.patch +ExclusiveArch: aarch64 x86_64 ppc64le riscv64 # LLVM version %if 0%{?suse_version} >= 1699 # LLVM version @@ -77,6 +88,8 @@ %else BuildRequires: libstdc++-devel %endif +BuildRequires: golang(API) +BuildRequires: golang-packaging %description Crubit is a bidirectional bindings generator for C++ and Rust, allowing users to: @@ -85,15 +98,32 @@ Call back and forth between Rust and C++ with no performance cost: no copies or heap allocations required. Use idiomatic types from both Rust and C++, such as Vec, Result, Option, std::vector, std::unique_ptr, std::shared_ptr, and more! +This package collects chromium dependencies needed in higher/different versions than in the distribution + %prep #setup -q -a 1 #rm -f rust-toolchain.toml %setup -q -n crubit -tar xfp %{S:6} -C %{_builddir} + +# ninja %if 0%{?suse_version} < 1600 tar xfp %{S:3} -C %{_builddir} %endif +# esbuild +tar xfp %{S:4} -C %{_builddir} +tar xfp %{S:5} -C %{_builddir} + +# typescript +tar xfp %{S:6} -C %{_builddir} +tar xfp %{S:7} -C %{_builddir}/TypeScript-%{typescript_version}/tsc +pushd %{_builddir}/TypeScript-%{typescript_version}/tsc/internal/bundled/libs +%patch -p2 -P1 +popd + +# rust for a nightly build including rustc-dev +tar xfp %{S:8} -C %{_builddir} + %build export CC=clang-%{llvm_version} export CXX=clang++-%{llvm_version} @@ -105,6 +135,16 @@ popd %endif +pushd %{_builddir}/esbuild-%{esbuild_version} +%goprep github.com/evanw/esbuild +%gobuild -mod=vendor ./cmd/esbuild +popd + +pushd %{_builddir}/TypeScript-%{typescript_version}/tsc +%{goprep} github.com/microsoft/typescript-go +%{gobuild} -mod=vendor ./cmd/tsgo +popd + STAGE0_RUSTC="/usr/bin/rustc" STAGE0_CARGO="/usr/bin/cargo" @@ -174,6 +214,13 @@ mkdir -p %buildroot/usr/lib64/crubit/ninja install -m 0755 %{_builddir}/ninja-%{ninja_version}/ninja %buildroot/usr/lib64/crubit/ninja %endif + +mkdir -p %buildroot/usr/lib64/crubit/esbuild +install -m 0755 %{_builddir}/go/bin/esbuild %buildroot/usr/lib64/crubit/esbuild + +mkdir -p %buildroot/usr/lib64/crubit/typescript +install -m 0755 %{_builddir}/go/bin/tsgo %buildroot/usr/lib64/crubit/typescript + mkdir -p %buildroot/usr/lib64/crubit/bin mkdir -p %buildroot/usr/lib64/crubit/lib install -m 0755 target/release/cc_bindings_from_rs %buildroot/usr/lib64/crubit/bin @@ -189,6 +236,8 @@ %if 0%{?suse_version} < 1600 %{_prefix}/lib64/crubit/ninja %endif +%{_prefix}/lib64/crubit/esbuild +%{_prefix}/lib64/crubit/typescript %{_prefix}/lib64/crubit/rust-sysroot %{_prefix}/lib64/crubit/bin/* %{_prefix}/lib64/crubit/lib/* ++++++ _scmsync.obsinfo ++++++ --- /var/tmp/diff_new_pack.eRa11z/_old 2026-12-01 17:02:22.606650459 +0100 +++ /var/tmp/diff_new_pack.eRa11z/_new 2026-12-01 17:02:22.610650626 +0100 @@ -1,7 +1,7 @@ -mtime: 1795739654 -commit: 4d2091fb7c4d1f2baf11cd28abc6e02764e7906387be553dafc6d8ff16688eb8 +mtime: 1796058267 +commit: 8dfe774f1b67adce1e0848f4a6b269dc6a1dd8790755fdcc62200798b898ebeb url: https://src.opensuse.org/chromium/crubit -revision: 4d2091fb7c4d1f2baf11cd28abc6e02764e7906387be553dafc6d8ff16688eb8 +revision: 8dfe774f1b67adce1e0848f4a6b269dc6a1dd8790755fdcc62200798b898ebeb trackingbranch: main projectscmsync: https://src.opensuse.org/chromium/_ObsPrj.git ++++++ build.specials.obscpio ++++++ ++++++ build.specials.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.gitignore new/.gitignore --- old/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/.gitignore 2026-11-30 18:04:27.000000000 +0100 @@ -0,0 +1,5 @@ +*.obscpio +*.osc +_build.* +_service:* +.pbuild ++++++ typescript_native_preview.patch ++++++ diff --git a/lib/lib.dom.d.ts b/lib/lib.dom.d.ts index 9e127c3..88c6398 100644 --- a/lib/lib.dom.d.ts +++ b/lib/lib.dom.d.ts @@ -13567,7 +13567,10 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/innerHTML) */ - innerHTML: string; + // Chromium modification to work around + // https://github.com/microsoft/TypeScript/issues/30024. + get innerHTML(): string; + set innerHTML(html: string|TrustedHTML); /** * The **`Element.localName`** read-only property returns the local part of the qualified name of an element. * @@ -17768,7 +17771,8 @@ interface HTMLElement extends Element, ElementCSSInlineStyle, ElementContentEdit * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/hidden) */ - hidden: boolean | "until-found"; + // Chromium modification since a lot of errors are thrown when `hidden` is boolean|"until-found" + hidden: boolean; /** * The HTMLElement property **`inert`** reflects the value of the element's inert attribute. It is a boolean value that, when present, makes the browser "ignore" user input events for the element, including focus events and events from assistive technologies. The browser may also ignore page search and text selection in the element. This can be useful when building UIs such as modals where you would want to "trap" the focus inside the modal when it's visible. * @@ -20440,7 +20444,10 @@ interface HTMLScriptElement extends HTMLElement { * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/src) */ - src: string; + // Chromium modification to work around + // https://github.com/microsoft/TypeScript/issues/30024. + get src(): string; + set src(url: string|TrustedScriptURL); /** * The **`text`** property of the HTMLScriptElement interface represents the inline text content of the <script> element. It behaves in the same way as the textContent and innerText property. * @@ -35294,7 +35301,10 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot { * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/innerHTML) */ - innerHTML: string; + // Chromium modification to work around + // https://github.com/microsoft/TypeScript/issues/30024. + get innerHTML(): string; + set innerHTML(html: string|TrustedHTML); /** * The **`mode`** read-only property of the ShadowRoot specifies its mode — either open or closed. This defines whether or not the shadow root's internal features are accessible from JavaScript. *
