1
0
Files
nodejs-electron/remove-rust.patch
Bruno Pitrus 29251bbf34 Accepting request 1187058 from home:dziobian:gulgul-ultron:19
- New upstream release 30.2.0
  * Node 20.15.0
  * Enabled the Windows Control Overlay API on Linux.
  * Expose systemPreferences to utilityProcess.
  * Fixed a focus issue when calling BrowserWindow.setTopBrowserView.
  * Fixed an issue where fetch-dependent interfaces could be missing in Web Workers with nodeIntegrationInWorker enabled.
  * Fixed an issue where control could fail to return properly after saving a dialog using showOpenDialogSync on Linux.
  * Fixes an issue where the user-specified default path did not work in some circumstances when using Linux dialogs.
  * Fixes potentially incorrect exit code in UtilityProcess.
  * (Leap 15.5) Fix heap buffer overflow in libaom (CVE-2024-5493 bsc#1225690)
  * Security fixes for V8: CVE-2024-6100, CVE-2024-6101 (bsc#1226504)
  * Fix use after free in Swiftshader (CVE-2024-6291 bsc#1226933)
- Update to 30.1.2 XXXFIXMEXXX
  * ABI break: NODE_MODULE_VERSION is now 123
  * Chromium 124.0.6367.243
  * Node 20.14.0
  * V8 12.4
  * Added WebContentsView and BaseWindow, replacing the now-deprecated BrowserView APIs.
  * cross-origin iframes now use Permission Policy to access features
  * Removed: The --disable-color-correct-rendering switch
  * The inputFieldType property in the context-menu params has been removed
  * Removed: process.getIOCounters()
  * see https://www.electronjs.org/blog/electron-30-0 and https://github.com/electron/electron/releases/tag/v30.0.0 for more
- Fedora: use bundled simdutf as the system version is too old
- Drop no longer needed patches
  * chromium-122-avoid-SFINAE-TypeConverter.patch
  * chromium-122-BookmarkNode-missing-operator.patch
  * chromium-98-EnumTable-crash.patch
  * chromium-gcc11.patch
  * CVE-2024-30260-undici-clear-proxy-authorization.patch
  * CVE-2024-30261-undici-fetch-integrity.patch
  * ElectronDesktopWindowTreeHostLinux-OnWindowTiledStateChanged-crash.patch
  * grid_sizing_tree-Wchanges-meaning.patch
  * hit_test_request-missing-optional.patch
  * InternalAllocator-too-many-initializers.patch
  * material_color_utilities-tones-missing-round.patch
  * nested-nested-nested-nested-nested-nested-regex-patterns.patch
  * perfetto-numeric_storage-double_t.patch
  * plus_address_types-missing-optional.patch
  * race_network_request_write_buffer_manager-missing-optional.patch
  * resolution_monitor-missing-bitset.patch
  * script_promise_resolver-explicit-specialization.patch
  * search_engine_choice_service-missing-optional.patch
  * text_break_iterator-icu74-breakAllLineBreakClassTable-should-be-consistent.patch
  * v8-instance-type-inl-constexpr-used-before-its-definition.patch
- Drop no longer needed -Wno-error=narrowing from CXXFLAGS
- Add patches to fix build
  * chromium-124-shims.patch
  * enable_stack_trace_line_numbers-symbol_level.patch
  * angle-FramebufferVk-powf.patch
  * licenses.py-FileNotFoundError.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
  * preview_cancel_reason-missing-string.patch
  * script_streamer-atomic-include.patch
- Add -Wno-packed-not-aligned -Wno-address to CXXFLAGS to suppress build logspam
- Add libaom_av1_encoder-aom37-AV1E_SET_MAX_CONSEC_FRAME_DROP_CBR.patch to build with old libaom
- Add backported DesktopNativeWidgetAura-HandleActivationChanged-crash.patch
- Revert upstream changes which introduce a use-after-free bug causing crashes (bsc#1224178 deb#1067886)
  * bad-font-gc0000.patch
  * bad-font-gc000.patch
  * bad-font-gc00.patch
  * bad-font-gc0.patch
  * bad-font-gc11.patch
  * bad-font-gc1.patch
  * bad-font-gc2.patch
  * bad-font-gc3.patch

OBS-URL: https://build.opensuse.org/request/show/1187058
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-electron?expand=0&rev=159
2024-07-12 10:45:39 +00:00

103 lines
4.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/1335199): 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/ui/actions:actions_headers",
@@ -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/ui/side_panel:side_panel_enums",
"//chrome/browser/ui/webui/location_internals:mojo_bindings",
@@ -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/chrome/test/BUILD.gn.orig
+++ src/chrome/test/BUILD.gn
@@ -1923,7 +1923,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",
@@ -6774,7 +6773,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/sync_file_system/drive_backend:sync_file_system_drive_proto",
@@ -6927,7 +6925,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",
@@ -8360,11 +8357,6 @@ test("unit_tests") {
data += [ "//ash/components/arc/test/data/icons/" ]
- data_deps += [
- # enclave_manager_unittest.cc runs this binary as part of its testing
- # process.
- "//third_party/cloud_authenticator/test/local_service:cloud_authenticator_test_service",
- ]
if (include_js2gtest_tests && is_chromeos_ash) {
data += js2gtest_js_libraries