7
0
Files
nodejs-electron/remove-rust.patch
Bruno Pitrus f9784f9258 Accepting request 1201463 from home:dziobian:gulgul-ultron:19
- Update to 31.6.0
  * ABI break: NODE_MODULE_VERSION is now 125
  * Chromium 126.0.6478.234
  * Node 20.17.0
  * V8 12.6
  * Breaking change: Remove WebSQL support
  * Breaking change: nativeImage.toDataURL will preserve PNG colorspace
  * Added options parameter to Session.clearData API.
  * Extended webContents.setWindowOpenHandler to support manual creation of BrowserWindow.
  * clearData method added to Session
  * Extended WebContentsView to accept pre-existing webContents object.
  * see https://www.electronjs.org/blog/electron-31-0 and https://github.com/electron/electron/releases/tag/v31.0.0 for more
- Drop no longer needed patches
  * electron-13-fix-use-thin-lto.patch
  * remove-openscreen.patch
  * system-yuv.patch
  * chromium-122-abseil-shims.patch
  * electron-16-std-vector-non-const.patch
  * fake_ssl_socket_client-Wlto-type-mismatch.patch
  * angle-FramebufferVk-powf.patch
  * span_reader-missing-optional.patch
  * bitset-missing-uint8_t-memcpy.patch
  * temporal_scalability_id_extractor-missing-bitset.patch
  * gpu_adapter_info-missing-optional.patch
  * first_party_sets_handler_database_helper-missing-optional.patch
  * async_iterable-forwarding.patch
  * script_streamer-atomic-include.patch
- Add patches to fix build
  * fix-build-without-safebrowsing.patch
  * fix-build-without-supervised-users.patch
  * Cr126-abseil-shims.patch
  * absl-base-dynamic_annotations.patch
  * webp-no-sharpyuv.patch
  * http_auth_ntlm_mechanism-could-not-convert-to-base-span.patch
  * angle-State-constexpr.patch
  * color_provider-incomplete-ColorProviderInternal.patch
  * run_segmenter-missing-optional.patch
  * page_popup_controller-missing-optional.patch
  * native_css_paint_definition-expected-unqualified-id.patch
  * text_decoder-missing-optional.patch
  * real_time_reporting_bindings-forward-declaration.patch
  * blink-platform-INSIDE_BLINK-Wodr.patch
  * quiche-QuicIntervalDeque-no-match-for-operator-mm.patch
  * ConsumeRadii-linker-error.patch
- Conditionally revert upstreamed ffmpeg-7-ffmpeg_video_decoder-reordered_opaque.patch on old ffmpeg
- Revert upstream changes to build with system abseil (quiche-absl-HexStringToBytes.patch)
- Refresh bad-font-gc patches from Debian
- aarch64: disable LTO also on Fedora 39 due to OOM

OBS-URL: https://build.opensuse.org/request/show/1201463
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-electron?expand=0&rev=171
2024-09-16 18:02:24 +00:00

127 lines
5.6 KiB
Diff

Remove this dead code which brings a dependency on rustc
--- src/components/BUILD.gn.orig 2024-03-27 16:30:09.189645288 +0100
+++ src/components/BUILD.gn 2024-03-28 23:11:14.847582213 +0100
@@ -282,7 +282,6 @@ test("components_unittests") {
"//components/profile_metrics:unit_tests",
"//components/proxy_config:unit_tests",
"//components/push_notification:unit_tests",
- "//components/qr_code_generator:unit_tests",
"//components/query_parser:unit_tests",
"//components/reading_list/core:unit_tests",
"//components/reporting/client:unit_tests",
--- src/chrome/browser/BUILD.gn.orig
+++ src/chrome/browser/BUILD.gn
@@ -1972,7 +1972,6 @@ static_library("browser") {
"//chrome/browser/profiling_host",
# TODO(crbug.com/40228447): break this dep when favicon is in its own target
- "//chrome/browser/share",
"//chrome/browser/ui",
"//chrome/browser/storage_access_api",
"//chrome/browser/top_level_storage_access_api:permissions",
@@ -2106,7 +2105,6 @@ static_library("browser") {
"//chrome/browser/safe_browsing:advanced_protection",
"//chrome/browser/safe_browsing:metrics_collector",
"//chrome/browser/safe_browsing:verdict_cache_manager_factory",
- "//chrome/browser/share",
"//chrome/browser/sharing:buildflags",
"//chrome/browser/sharing/proto",
"//chrome/browser/signin:identity_manager_provider",
@@ -4598,7 +4596,6 @@ static_library("browser") {
"//chrome/browser/policy:path_parser",
"//chrome/browser/profile_resetter:profile_reset_report_proto",
"//chrome/browser/resources:component_extension_resources",
- "//chrome/browser/share/proto:proto",
"//chrome/browser/smart_card",
"//chrome/browser/support_tool:support_tool_proto",
"//chrome/browser/themes",
@@ -8407,7 +8404,6 @@ static_library("test_support") {
"//build:chromeos_buildflags",
"//chrome/app/theme:theme_resources",
"//chrome/browser/policy/messaging_layer/proto:crd_event_proto",
- "//chrome/browser/share:share",
"//chrome/common",
"//chrome/common/notifications",
"//chrome/common/safe_browsing:proto",
--- src/chrome/browser/ui/BUILD.gn.orig
+++ src/chrome/browser/ui/BUILD.gn
@@ -451,7 +451,6 @@ static_library("ui") {
"//chrome/browser/resources:dev_ui_resources",
"//chrome/browser/resources:resources",
"//chrome/browser/safe_browsing",
- "//chrome/browser/share",
"//chrome/browser/storage_access_api",
"//chrome/browser/themes",
"//chrome/browser/ui/side_panel:side_panel_enums",
@@ -591,7 +590,6 @@ static_library("ui") {
"//components/privacy_sandbox:tracking_protection_settings",
"//components/profile_metrics",
"//components/proxy_config",
- "//components/qr_code_generator:bitmap_generator",
"//components/query_parser",
"//components/reading_list/core",
"//components/reading_list/features:flags",
--- src/build/rust/rust_target.gni.orig
+++ src/build/rust/rust_target.gni
@@ -7,7 +7,7 @@ import("//build/rust/rust_unit_test.gni"
# The //build directory is re-used for non-Chromium products. We do not support
# cxx bindings in such contexts, because //third_party may be missing.
-if (build_with_chromium) {
+if (false) {
import("//third_party/rust/cxx/chromium_integration/rust_cxx.gni")
}
--- src/chrome/test/BUILD.gn.orig
+++ src/chrome/test/BUILD.gn
@@ -1942,7 +1942,6 @@ if (!is_android) {
"//components/privacy_sandbox/privacy_sandbox_attestations:test_support",
"//components/privacy_sandbox/privacy_sandbox_attestations/proto:proto",
"//components/proxy_config",
- "//components/qr_code_generator:bitmap_generator",
"//components/reading_list/core",
"//components/reading_list/features:flags",
"//components/resources",
@@ -5593,7 +5592,6 @@ if (!is_android) {
if (!is_chromeos) {
sources += [ "../browser/webauthn/enclave_authenticator_browsertest.cc" ]
deps += [
- "//chrome/browser/webauthn:test_support",
"//components/os_crypt/sync:test_support",
]
}
@@ -6867,7 +6865,6 @@ test("unit_tests") {
"//chrome/browser/safe_browsing:metrics_collector",
"//chrome/browser/safe_browsing:verdict_cache_manager_factory",
"//chrome/browser/segmentation_platform:test_utils",
- "//chrome/browser/share",
"//chrome/browser/sharing/proto",
"//chrome/browser/storage_access_api",
"//chrome/browser/supervised_user:test_support",
@@ -7028,7 +7025,6 @@ test("unit_tests") {
"//components/privacy_sandbox/privacy_sandbox_attestations:test_support",
"//components/privacy_sandbox/privacy_sandbox_attestations/proto:proto",
"//components/proxy_config",
- "//components/qr_code_generator:bitmap_generator",
"//components/query_parser",
"//components/query_tiles:unit_tests",
"//components/reading_list/core",
@@ -7193,7 +7189,6 @@ test("unit_tests") {
"//third_party/metrics_proto",
"//third_party/microsoft_webauthn",
"//third_party/re2",
- "//third_party/rust/fend_core/v1/wrapper:unit_tests",
"//third_party/webrtc_overrides:webrtc_component",
"//third_party/widevine/cdm:headers",
"//third_party/zlib/google:compression_utils",
@@ -8443,8 +8438,6 @@ test("unit_tests") {
"//chrome/browser/ui/webui/side_panel/performance_controls:mojo_bindings",
"//chrome/browser/ui/webui/side_panel/user_notes:mojo_bindings",
"//chrome/browser/web_applications:web_applications_test_support",
- "//chrome/browser/webauthn:test_support",
- "//chrome/browser/webauthn/proto",
"//chrome/common/accessibility:mojo_bindings",
"//components/app_constants",
"//components/color",