forked from pool/nodejs-electron
- Update to 22.0.2
* ABI break: NODE_MODULE_VERSION is now 110. Native modules may need recompiling
* Chromium to 108.0.5359.179
* Node v16.17.1
* V8 v10.8
* Added WebContents input-event event.
* Deprecated BrowserWindow scroll-touch-* events.
* The deprecated new-window event has been removed.
* Added contextBridge.exposeInIsolatedWorld(worldId, key, api) to expose
an API to an isolatedWorld within a renderer from a preload script.
* Added webContents.close() method.
* Added new UtilityProcess API to launch chromium child process with node integration.
* Added new WebContents event content-bounds-updated.
* Added support for navigator.mediaDevices.getDisplayMedia via a new
session handler, ses.setDisplayMediaRequestHandler.
* Added support for serialPort.forget() as well as a new event
serial-port-revoked emitted when a given origin is revoked.
- Drop patches applied upstream
* argument_spec-missing-isnan-isinf.patch
* chromium-103.0.5060.53-python3-do-not-use-deprecated-mode-U.patch
* content_language_parser-missing-string.patch
* gtk_ui_platform_stub-incomplete-type-LinuxInputMethodContext.patch
* node-system-libs.patch
* pending_beacon_dispatcher-virtual-functions-cannot-be-constexpr.patch
* std_lib_extras-missing-intptr_t.patch
* system-abseil-missing-shims.patch
- Re-add electron_serial_delegate-ambiguous-Observer.patch due to upstream reintroducing the invalid code
- Add patches to fix build errors
* chromium-108-abseil-shims.patch
* crashpad-elf_image_reader-ProgramHeaderTableSpecific-expected-unqualified-id.patch
* document_loader-private-DecodedBodyData.patch
* first_party_set_parser-IssueWithMetadata-no-known-conversion.patch
* print_dialog_gtk-no-kEnableOopPrintDriversJobPrint.patch
* swiftshader-LLVMJIT-AddressSanitizerPass-dead-code-remove.patch
- Conditionally reverse upstream changes to fix build with old harfbuzz
* harfbuzz-replace-chromium-scoped-type.patch
- Switch to bundled libjxl on Fedora 36 due to system version being too old
OBS-URL: https://build.opensuse.org/request/show/1059202
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-electron?expand=0&rev=57
56 lines
2.4 KiB
Diff
56 lines
2.4 KiB
Diff
Index: chromium-98.0.4758.80/build/linux/unbundle/libdrm.gn
|
|
===================================================================
|
|
--- chromium-98.0.4758.80.orig/build/linux/unbundle/libdrm.gn
|
|
+++ chromium-98.0.4758.80/build/linux/unbundle/libdrm.gn
|
|
@@ -11,7 +11,10 @@ pkg_config("system_libdrm") {
|
|
|
|
shim_headers("libdrm_shim") {
|
|
root_path = "src/include"
|
|
- headers = [ "drm.h" ]
|
|
+ headers = [
|
|
+ "drm.h",
|
|
+ "drm_fourcc.h",
|
|
+ ]
|
|
}
|
|
|
|
source_set("libdrm") {
|
|
Index: chromium-98.0.4758.80/ui/ozone/platform/drm/gpu/crtc_controller.h
|
|
===================================================================
|
|
--- chromium-98.0.4758.80.orig/ui/ozone/platform/drm/gpu/crtc_controller.h
|
|
+++ chromium-98.0.4758.80/ui/ozone/platform/drm/gpu/crtc_controller.h
|
|
@@ -11,7 +11,7 @@
|
|
#include <xf86drmMode.h>
|
|
|
|
#include "base/memory/weak_ptr.h"
|
|
-#include "third_party/libdrm/src/include/drm/drm_fourcc.h"
|
|
+#include <drm_fourcc.h>
|
|
#include "third_party/perfetto/include/perfetto/tracing/traced_value_forward.h"
|
|
#include "ui/gfx/swap_result.h"
|
|
#include "ui/ozone/platform/drm/common/scoped_drm_types.h"
|
|
Index: chromium-98.0.4758.80/ui/ozone/platform/drm/gpu/hardware_display_controller.cc
|
|
===================================================================
|
|
--- chromium-98.0.4758.80.orig/ui/ozone/platform/drm/gpu/hardware_display_controller.cc
|
|
+++ chromium-98.0.4758.80/ui/ozone/platform/drm/gpu/hardware_display_controller.cc
|
|
@@ -20,7 +20,7 @@
|
|
#include "base/ranges/algorithm.h"
|
|
#include "base/strings/stringprintf.h"
|
|
#include "base/trace_event/typed_macros.h"
|
|
-#include "third_party/libdrm/src/include/drm/drm_fourcc.h"
|
|
+#include <drm_fourcc.h>
|
|
#include "third_party/perfetto/include/perfetto/tracing/traced_value.h"
|
|
#include "third_party/skia/include/core/SkCanvas.h"
|
|
#include "third_party/skia/include/core/SkImage.h"
|
|
Index: chromium-98.0.4758.80/media/gpu/chromeos/video_decoder_pipeline_unittest.cc
|
|
===================================================================
|
|
--- chromium-98.0.4758.80.orig/media/gpu/chromeos/video_decoder_pipeline_unittest.cc
|
|
+++ chromium-98.0.4758.80/media/gpu/chromeos/video_decoder_pipeline_unittest.cc
|
|
@@ -23,7 +23,7 @@
|
|
#include "media/gpu/chromeos/mailbox_video_frame_converter.h"
|
|
#include "testing/gmock/include/gmock/gmock.h"
|
|
#include "testing/gtest/include/gtest/gtest.h"
|
|
-#include "third_party/libdrm/src/include/drm/drm_fourcc.h"
|
|
+#include <drm_fourcc.h>
|
|
|
|
#if BUILDFLAG(IS_CHROMEOS_ASH)
|
|
// gn check does not account for BUILDFLAG(), so including this header will
|