forked from pool/nodejs-electron
- Update to 35.2.1
* Chromium 134.0.6998.205
* Node 22.14.0
* V8 13.4
* Removed AVIF image format
* Added excludeUrls to webRequest filter and deprecated the use of empty arrays in urls property.
* Added fromVersionID on ServiceWorkers to get an instance of ServiceWorkerMain.
* Deprecated getPreloads and setPreloads on Session.
* Moved 'console-message' arguments into event object.
* Added ServiceWorkerMain class to interact with service workers in the main process.
* Added contextBridge.executeInMainWorld to safely execute code across world boundaries.
* Added frame to 'console-message' event.
* Added optional animation parameter to BrowserWindow.setVibrancy.
* Added permission support for document.executeCommand("paste").
* Added support for service worker preload scripts.
* Support Portal's globalShortcuts.
Electron must be run with --enable-features=GlobalShortcutsPortal in order to have the feature working.
* see https://github.com/electron/electron/releases/tag/v35.0.0 and https://www.electronjs.org/blog/electron-35-0 for more
- Remove Fedora 40 support
* drop bundled-minizip.patch
* drop quiche-absl-HexStringToBytes.patch
- Leap 15.6: use backported wayland-protocols
* drop wayland-protocol-toplevel-icon.patch
* drop wayland-protocol-toplevel-icon-2.patch
* drop wayland-protocol-toplevel-drag.patch
- Build with LTO also on 15.6 (so now we enable it everywhere)
- Fedora: use system simdjson
* merge system-ada-url.patch into use-system-libraries-in-node.patch
- Drop no longer applicable patches
* account_id-missing-optional.patch
* blink-platform-INSIDE_BLINK-Wodr.patch
* boringssl-internal-addc-cxx.patch
* build-without-extensions.patch
* css_attr_value_tainting-missing-once_flag.patch
* electron-13-fix-base-check-nomerge.patch
* exception_context-missing-variant.patch
* fix-build-without-safebrowsing.patch
* fix-build-without-service-discovery.patch
* ip_protection_data_types-missing-optional.patch
* node-compiler.patch
* skia_image_decoder_base-missing-stack.patch
* vtt_scanner-missing-variant.patch
* wayland_connection-Wchanges-meaning.patch
- Add backported or upstreamable patches
* ax_platform_node_id-fpermissive.patch
* browser_process_impl-fix-safe_browsing_mode-0.patch
* content_browser_client-incomplete-WebUIController.patch
* css_shape_value-constructor.patch
* exception_state-constexpr-initializer.patch
* fix-build-without-pdf.patch
* fix-build-without-video-effects.patch
* media_session_uma_helper-missing-optional.patch
* object_paint_properties-explicit-specialization-in-non-namespace-scope.patch
* perfetto-ThreadTrack-Current-null-dereference.patch
* picture_in_picture_window_manager_uma_helper-missing-optional.patch
* plugin_utils-build-without-electron_extensions.patch
* raw_ptr-fpermissive.patch
* resource_response-Wchanges-meaning.patch
* resource-Wchanges-meaning.patch
* string-hasher-flax-vector-conversions.patch
* string_truncator-convert.patch
* style_scope-unqualified-To.patch
* to_vector-std-projected-gcc119888.patch
* unexportable_key_service_impl-Wlto-type-mismatch.patch
* xml_document_parser-Wmissing-template-keyword.patch
- merge remove-libphonenumber.patch & delete-old-language-detection-which-uses-tflite.patch
into remove-ai-language-detection-factory-which-requires-tflite-and-libphonenumber.patch
- Revert upstream change which breaks build with old abseil
* webrtc-make_ref_counted-absl2024-nullability.patch
- Conditionally (15.6) remove feature change which needs new spirv
* angle-SPV_BINARY_TO_TEXT_OPTION_NESTED_INDENT.patch
- Use system sqlite in node (except 15.6)
* system-sqlite.patch
- Remove more rust code
* chromium-132-no-rust.patch
- Actually disable AVIF support without disabling AV1 video
* disable-avif-really.patch
- Various other build fixes
* absl_strings-missing-headers.patch
* blink-shape_result-highway.patch
* build-without-mesage-center.patch
* fix-system-highway.patch
* gn-logspam-breaks-install.patch
* permission-gcc14.2.patch
OBS-URL: https://build.opensuse.org/request/show/1272836
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-electron?expand=0&rev=202
322 lines
12 KiB
Diff
322 lines
12 KiB
Diff
--- src/components/browsing_data/core/BUILD.gn.old
|
|
+++ src/components/browsing_data/core/BUILD.gn
|
|
@@ -36,9 +36,7 @@ static_library("core") {
|
|
deps = [
|
|
"//base",
|
|
"//components/autofill/core/browser",
|
|
- "//components/bookmarks/browser",
|
|
"//components/history/core/browser",
|
|
- "//components/password_manager/core/browser",
|
|
"//components/pref_registry",
|
|
"//components/prefs",
|
|
"//components/strings",
|
|
--- src/components/sync/BUILD.gn.old
|
|
+++ src/components/sync/BUILD.gn
|
|
@@ -11,7 +11,6 @@ group("sync") {
|
|
"//components/sync/engine",
|
|
"//components/sync/model",
|
|
"//components/sync/nigori",
|
|
- "//components/sync/service",
|
|
]
|
|
if (is_chromeos) {
|
|
public_deps += [ "//components/sync/chromeos" ]
|
|
--- src/components/permissions/prediction_service/BUILD.gn.old
|
|
+++ src/components/permissions/prediction_service/BUILD.gn
|
|
@@ -31,8 +31,6 @@ source_set("prediction_service") {
|
|
]
|
|
public_deps = [
|
|
":prediction_service_messages_proto",
|
|
- "//components/optimization_guide/core",
|
|
- "//components/optimization_guide/proto:optimization_guide_proto",
|
|
]
|
|
|
|
if (build_with_tflite_lib) {
|
|
--- src/components/embedder_support/BUILD.gn.old
|
|
+++ src/components/embedder_support/BUILD.gn
|
|
@@ -24,12 +24,8 @@ static_library("browser_util") {
|
|
deps = [
|
|
":embedder_support",
|
|
"//build:branding_buildflags",
|
|
- "//components/background_sync",
|
|
- "//components/content_settings/browser",
|
|
"//components/content_settings/core/browser",
|
|
- "//components/content_settings/core/browser:cookie_settings",
|
|
"//components/permissions",
|
|
- "//components/policy/core/common",
|
|
"//components/prefs",
|
|
"//components/version_info",
|
|
"//content/public/browser",
|
|
--- src/components/permissions/BUILD.gn.orig 2025-04-11 12:05:19.206024144 +0200
|
|
+++ src/components/permissions/BUILD.gn 2025-04-11 20:04:52.832323166 +0200
|
|
@@ -119,10 +119,7 @@ source_set("permissions") {
|
|
]
|
|
deps = [
|
|
"//base",
|
|
- "//components/back_forward_cache",
|
|
- "//components/content_settings/browser",
|
|
"//components/content_settings/core/browser",
|
|
- "//components/content_settings/core/browser:cookie_settings",
|
|
"//components/favicon/core:core",
|
|
"//components/guest_view/buildflags",
|
|
"//components/keyed_service/content",
|
|
--- src/components/proxy_config/BUILD.gn.old
|
|
+++ src/components/proxy_config/BUILD.gn
|
|
@@ -23,9 +23,6 @@ component("proxy_config") {
|
|
|
|
deps = [
|
|
"//base",
|
|
- "//components/policy:generated",
|
|
- "//components/policy/core/browser",
|
|
- "//components/policy/core/common",
|
|
"//components/prefs",
|
|
"//components/strings",
|
|
"//net",
|
|
@@ -42,7 +39,7 @@ component("proxy_config") {
|
|
deps += [ "//components/pref_registry" ]
|
|
}
|
|
|
|
- if (!is_ios) {
|
|
+ if (false) {
|
|
sources += [
|
|
"proxy_policy_handler.cc",
|
|
"proxy_policy_handler.h",
|
|
--- src/components/content_settings/core/browser/BUILD.gn.orig
|
|
+++ src/components/content_settings/core/browser/BUILD.gn
|
|
@@ -69,7 +69,7 @@ static_library("browser") {
|
|
"//url",
|
|
]
|
|
|
|
- if (!is_ios) {
|
|
+ if (false) {
|
|
sources += [
|
|
"insecure_private_network_policy_handler.cc",
|
|
"insecure_private_network_policy_handler.h",
|
|
@@ -78,8 +78,6 @@ static_library("browser") {
|
|
|
|
if (use_blink) {
|
|
deps += [
|
|
- "//components/policy:generated",
|
|
- "//components/policy/core/browser",
|
|
"//components/privacy_sandbox:privacy_sandbox_prefs",
|
|
]
|
|
}
|
|
@@ -93,7 +91,7 @@ source_set("cookie_settings") {
|
|
"cookie_settings.h",
|
|
]
|
|
|
|
- if (!is_ios) {
|
|
+ if (false) {
|
|
sources += [
|
|
"cookie_settings_policy_handler.cc",
|
|
"cookie_settings_policy_handler.h",
|
|
--- src/electron/chromium_src/BUILD.gn.orig
|
|
+++ src/electron/chromium_src/BUILD.gn
|
|
@@ -466,7 +466,7 @@ source_set("chrome_spellchecker") {
|
|
"//chrome/browser/spellchecker/spellcheck_service.h",
|
|
]
|
|
|
|
- if (!is_mac) {
|
|
+ if (false) {
|
|
sources += [
|
|
"//chrome/browser/spellchecker/spellcheck_language_blocklist_policy_handler.cc",
|
|
"//chrome/browser/spellchecker/spellcheck_language_blocklist_policy_handler.h",
|
|
--- src/chrome/common/BUILD.gn.old
|
|
+++ src/chrome/common/BUILD.gn
|
|
@@ -210,14 +210,11 @@ static_library("common_lib") {
|
|
"//components/nacl/common:switches",
|
|
"//components/net_log",
|
|
"//components/network_session_configurator/common",
|
|
- "//components/ntp_tiles",
|
|
"//components/offline_pages/buildflags",
|
|
"//components/offline_pages/core:switches",
|
|
"//components/omnibox/common",
|
|
"//components/page_load_metrics/common:page_load_metrics_mojom",
|
|
"//components/password_manager/core/common",
|
|
- "//components/policy:generated",
|
|
- "//components/policy/core/common",
|
|
"//components/prefs",
|
|
"//components/safe_browsing:buildflags",
|
|
"//components/safe_search_api",
|
|
@@ -606,8 +603,6 @@ static_library("url_constants") {
|
|
"//components/lens:buildflags",
|
|
"//components/nacl/common:buildflags",
|
|
"//components/optimization_guide/optimization_guide_internals/webui:url_constants",
|
|
- "//components/password_manager/content/common",
|
|
- "//components/safe_browsing/core/common",
|
|
"//device/vr/buildflags",
|
|
]
|
|
}
|
|
--- src/components/search_engines/BUILD.gn.orig 2025-04-11 12:05:19.397475381 +0200
|
|
+++ src/components/search_engines/BUILD.gn 2025-04-11 20:05:37.960311107 +0200
|
|
@@ -12,49 +12,21 @@ if (is_android) {
|
|
static_library("search_engines") {
|
|
sources = [
|
|
"choice_made_location.h",
|
|
- "default_search_manager.cc",
|
|
- "default_search_manager.h",
|
|
- "enterprise/default_search_policy_handler.cc",
|
|
- "enterprise/default_search_policy_handler.h",
|
|
"enterprise/enterprise_search_manager.cc",
|
|
"enterprise/enterprise_search_manager.h",
|
|
- "keyword_table.cc",
|
|
- "keyword_table.h",
|
|
"keyword_web_data_service.cc",
|
|
"keyword_web_data_service.h",
|
|
- "reconciling_template_url_data_holder.cc",
|
|
- "reconciling_template_url_data_holder.h",
|
|
"search_engine_choice/search_engine_choice_metrics_service_accessor.h",
|
|
- "search_engine_choice/search_engine_choice_service.cc",
|
|
- "search_engine_choice/search_engine_choice_service.h",
|
|
- "search_engine_choice/search_engine_choice_utils.cc",
|
|
- "search_engine_choice/search_engine_choice_utils.h",
|
|
"search_engines_pref_names.h",
|
|
- "search_host_to_urls_map.cc",
|
|
- "search_host_to_urls_map.h",
|
|
"search_terms_data.cc",
|
|
"search_terms_data.h",
|
|
- "template_url.cc",
|
|
- "template_url.h",
|
|
"template_url_data.cc",
|
|
"template_url_data.h",
|
|
- "template_url_data_util.cc",
|
|
- "template_url_data_util.h",
|
|
- "template_url_fetcher.cc",
|
|
- "template_url_fetcher.h",
|
|
"template_url_id.h",
|
|
- "template_url_parser.cc",
|
|
- "template_url_parser.h",
|
|
- "template_url_prepopulate_data.cc",
|
|
- "template_url_prepopulate_data.h",
|
|
- "template_url_service.cc",
|
|
- "template_url_service.h",
|
|
"template_url_service_client.h",
|
|
"template_url_service_observer.h",
|
|
"template_url_starter_pack_data.cc",
|
|
"template_url_starter_pack_data.h",
|
|
- "util.cc",
|
|
- "util.h",
|
|
]
|
|
|
|
public_deps = [
|
|
@@ -68,7 +46,6 @@ static_library("search_engines") {
|
|
"//components/sync",
|
|
"//components/webdata/common",
|
|
"//third_party/metrics_proto",
|
|
- "//third_party/omnibox_proto",
|
|
"//third_party/search_engines_data:prepopulated_engines",
|
|
]
|
|
|
|
@@ -77,16 +47,10 @@ static_library("search_engines") {
|
|
"//components/country_codes",
|
|
"//components/crash/core/common:crash_key",
|
|
"//components/database_utils",
|
|
- "//components/infobars/core",
|
|
- "//components/lens:lens",
|
|
- "//components/lens/proto/server:proto",
|
|
"//components/metrics",
|
|
"//components/omnibox/common",
|
|
- "//components/policy:generated",
|
|
- "//components/policy/core/browser",
|
|
"//components/pref_registry",
|
|
"//components/regional_capabilities",
|
|
- "//components/search_provider_logos:switches",
|
|
"//components/signin/public/base",
|
|
"//components/strings",
|
|
"//components/url_formatter",
|
|
@@ -98,7 +62,6 @@ static_library("search_engines") {
|
|
"//services/network/public/mojom",
|
|
"//sql",
|
|
"//third_party/metrics_proto",
|
|
- "//third_party/omnibox_proto",
|
|
"//ui/base",
|
|
"//ui/gfx",
|
|
"//ui/gfx/geometry",
|
|
@@ -124,7 +87,7 @@ static_library("search_engines") {
|
|
]
|
|
}
|
|
|
|
- if (!is_android) {
|
|
+ if (false) {
|
|
sources += [ "search_engine_choice/generated_marketing_snippets.cc" ]
|
|
deps += [
|
|
":generate_search_engine_icons",
|
|
@@ -133,7 +96,7 @@ static_library("search_engines") {
|
|
]
|
|
}
|
|
|
|
- if (is_linux || is_win || is_mac || is_chromeos) {
|
|
+ if (false) {
|
|
sources += [
|
|
"enterprise/search_aggregator_policy_handler.cc",
|
|
"enterprise/search_aggregator_policy_handler.h",
|
|
--- src/components/search/BUILD.gn.old
|
|
+++ src/components/search/BUILD.gn
|
|
@@ -6,10 +6,6 @@ static_library("search") {
|
|
sources = [
|
|
"ntp_features.cc",
|
|
"ntp_features.h",
|
|
- "search.cc",
|
|
- "search.h",
|
|
- "search_provider_observer.cc",
|
|
- "search_provider_observer.h",
|
|
]
|
|
|
|
deps = [
|
|
--- src/extensions/common/BUILD.gn.orig 2025-04-11 12:05:20.590871749 +0200
|
|
+++ src/extensions/common/BUILD.gn 2025-04-11 20:05:59.704305366 +0200
|
|
@@ -313,8 +313,6 @@ static_library("common") {
|
|
"extension_set.cc",
|
|
"extension_set.h",
|
|
"extension_updater_uma.h",
|
|
- "extension_urls.cc",
|
|
- "extension_urls.h",
|
|
"extension_utility_types.h",
|
|
"extensions_client.cc",
|
|
"extensions_client.h",
|
|
@@ -524,8 +522,6 @@ static_library("common") {
|
|
"//components/crx_file",
|
|
"//components/nacl/common:buildflags",
|
|
"//components/pdf/common:util",
|
|
- "//components/safe_browsing/core/common",
|
|
- "//components/safe_browsing/core/common/hashprefix_realtime:hash_realtime_utils",
|
|
"//components/url_formatter",
|
|
"//components/url_matcher",
|
|
"//components/version_info",
|
|
--- src/components/password_manager/core/browser/password_manager_switches.cc.orig 2024-12-08 18:34:56.591340037 +0100
|
|
+++ src/components/password_manager/core/browser/password_manager_switches.cc 2024-12-18 12:47:00.934694855 +0100
|
|
@@ -10,11 +10,9 @@ namespace password_manager {
|
|
// Specifies which encryption storage backend to use. Possible values are
|
|
// kwallet, kwallet5, kwallet6, gnome-libsecret, basic.
|
|
// Any other value will lead to Chrome detecting the best backend automatically.
|
|
-const char kPasswordStore[] = "password-store";
|
|
|
|
// Enables the feature of allowing the user to disable the backend via a
|
|
// setting.
|
|
-const char kEnableEncryptionSelection[] = "enable-encryption-selection";
|
|
#endif // BUILDFLAG(IS_LINUX)
|
|
|
|
// Enables Password Sharing button in password details UI in settings when
|
|
--- src/components/password_manager/core/browser/password_manager_switches.h.orig 2024-12-08 18:34:56.591340037 +0100
|
|
+++ src/components/password_manager/core/browser/password_manager_switches.h 2024-12-18 12:48:40.918030653 +0100
|
|
@@ -11,8 +11,8 @@
|
|
namespace password_manager {
|
|
|
|
#if BUILDFLAG(IS_LINUX)
|
|
-extern const char kPasswordStore[];
|
|
-extern const char kEnableEncryptionSelection[];
|
|
+inline constexpr const char kPasswordStore[] = "password-store";
|
|
+inline constexpr const char kEnableEncryptionSelection[] = "enable-encryption-selection";
|
|
#endif // BUILDFLAG(IS_LINUX)
|
|
|
|
extern const char kEnableShareButtonUnbranded[];
|
|
--- src/chrome/common/extensions/BUILD.gn.orig 2025-01-02 10:33:17.939583644 +0100
|
|
+++ src/chrome/common/extensions/BUILD.gn 2025-01-02 11:36:57.232099250 +0100
|
|
@@ -76,7 +76,6 @@ source_set("extensions") {
|
|
"//chrome/common/extensions/api:extensions_features",
|
|
"//components/app_constants",
|
|
"//components/device_signals/core/common:features",
|
|
- "//components/policy/core/common",
|
|
"//components/url_formatter",
|
|
"//components/version_info",
|
|
"//extensions:extensions_resources",
|