forked from pool/nodejs-electron
- Update to version 17.1.2 * https://github.com/electron/electron/releases/tag/v17.1.2 * https://github.com/electron/electron/releases/tag/v17.1.1 * https://github.com/electron/electron/releases/tag/v17.1.0 * Added electron-17-breakpad-align-int-types.patch * Added chromium-98-compiler.patch * Added chromium-98-MiraclePtr-gcc-ice.patch * Added chromium-98-WaylandFrameManager-check.patch * Added chromium-98-EnumTable-crash.patch * Added chromium-ffmpeg-first-dts.patch * Added system-libdrm.patch * Removed chromium-94-ffmpeg-roll.patch * Removed chromium-95-compiler.patch * Removed chromium-96-CommandLine-include.patch * Removed chromium-96-DrmRenderNodePathFinder-include.patch * Removed chromium-96-RestrictedCookieManager-tuple.patch * Removed electron-16-node-fix-python3.10-import.patch - Fix building with gcc-12 * Added electron-16-fix-swiftshader-template.patch * Added electron-16-v8-missing-utility-include.patch - Fix building on Fedora 36 and newer - Updated ffmpeg patches OBS-URL: https://build.opensuse.org/request/show/962506 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nodejs-electron?expand=0&rev=20
76 lines
3.2 KiB
Diff
76 lines
3.2 KiB
Diff
Index: electron-17.1.0/chrome/browser/about_flags.cc
|
|
===================================================================
|
|
--- electron-17.1.0.orig/chrome/browser/about_flags.cc 2022-03-07 17:20:30.424811477 +0100
|
|
+++ electron-17.1.0/chrome/browser/about_flags.cc 2022-03-09 08:25:19.662417046 +0100
|
|
@@ -3822,12 +3822,12 @@ const FeatureEntry kFeatureEntries[] = {
|
|
flag_descriptions::kWebXrForceRuntimeDescription, kOsDesktop,
|
|
MULTI_VALUE_TYPE(kWebXrForceRuntimeChoices)},
|
|
#endif // ENABLE_VR
|
|
-#if BUILDFLAG(IS_CHROMEOS_ASH)
|
|
+#if BUILDFLAG(IS_CHROMEOS_ASH) || (defined(OS_LINUX) && !defined(OS_ANDROID))
|
|
{"disable-accelerated-mjpeg-decode",
|
|
flag_descriptions::kAcceleratedMjpegDecodeName,
|
|
- flag_descriptions::kAcceleratedMjpegDecodeDescription, kOsCrOS,
|
|
+ flag_descriptions::kAcceleratedMjpegDecodeDescription, kOsCrOS | kOsLinux,
|
|
SINGLE_DISABLE_VALUE_TYPE(switches::kDisableAcceleratedMjpegDecode)},
|
|
-#endif // BUILDFLAG(IS_CHROMEOS_ASH)
|
|
+#endif // BUILDFLAG(IS_CHROMEOS_ASH) || (defined(OS_LINUX) && !defined(OS_ANDROID))
|
|
{"system-keyboard-lock", flag_descriptions::kSystemKeyboardLockName,
|
|
flag_descriptions::kSystemKeyboardLockDescription, kOsDesktop,
|
|
FEATURE_VALUE_TYPE(features::kSystemKeyboardLock)},
|
|
Index: electron-17.1.0/chrome/browser/flag_descriptions.cc
|
|
===================================================================
|
|
--- electron-17.1.0.orig/chrome/browser/flag_descriptions.cc 2022-03-07 17:20:30.960813654 +0100
|
|
+++ electron-17.1.0/chrome/browser/flag_descriptions.cc 2022-03-09 08:25:19.662417046 +0100
|
|
@@ -3981,12 +3981,24 @@ const char kUseAngleGL[] = "OpenGL";
|
|
|
|
#if BUILDFLAG(IS_CHROMEOS_ASH)
|
|
|
|
+#endif
|
|
+
|
|
+// Chrome OS and Linux --------------------------------------------------------
|
|
+
|
|
+#if BUILDFLAG(IS_CHROMEOS_ASH) || (defined(OS_LINUX) && !defined(OS_ANDROID))
|
|
+
|
|
const char kAcceleratedMjpegDecodeName[] =
|
|
"Hardware-accelerated mjpeg decode for captured frame";
|
|
const char kAcceleratedMjpegDecodeDescription[] =
|
|
"Enable hardware-accelerated mjpeg decode for captured frame where "
|
|
"available.";
|
|
|
|
+#endif
|
|
+
|
|
+// Chrome OS ------------------------------------------------------------------
|
|
+
|
|
+#if BUILDFLAG(IS_CHROMEOS_ASH)
|
|
+
|
|
const char kAllowDisableMouseAccelerationName[] =
|
|
"Allow disabling mouse acceleration";
|
|
const char kAllowDisableMouseAccelerationDescription[] =
|
|
Index: electron-17.1.0/chrome/browser/flag_descriptions.h
|
|
===================================================================
|
|
--- electron-17.1.0.orig/chrome/browser/flag_descriptions.h 2022-03-07 17:20:30.960813654 +0100
|
|
+++ electron-17.1.0/chrome/browser/flag_descriptions.h 2022-03-09 08:25:19.666416981 +0100
|
|
@@ -2299,9 +2299,21 @@ extern const char kUseAngleGL[];
|
|
|
|
#if BUILDFLAG(IS_CHROMEOS_ASH)
|
|
|
|
+#endif
|
|
+
|
|
+// Chrome OS and Linux --------------------------------------------------------
|
|
+
|
|
+#if BUILDFLAG(IS_CHROMEOS_ASH) || (defined(OS_LINUX) && !defined(OS_ANDROID))
|
|
+
|
|
extern const char kAcceleratedMjpegDecodeName[];
|
|
extern const char kAcceleratedMjpegDecodeDescription[];
|
|
|
|
+#endif
|
|
+
|
|
+#if BUILDFLAG(IS_CHROMEOS_ASH)
|
|
+
|
|
+// Chrome OS ------------------------------------------------------------------
|
|
+
|
|
extern const char kAllowDisableMouseAccelerationName[];
|
|
extern const char kAllowDisableMouseAccelerationDescription[];
|
|
|