Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package nodejs-electron for openSUSE:Factory checked in at 2021-08-11 11:47:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nodejs-electron (Old) and /work/SRC/openSUSE:Factory/.nodejs-electron.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nodejs-electron" Wed Aug 11 11:47:25 2021 rev:5 rq:911292 version:13.1.8 Changes: -------- --- /work/SRC/openSUSE:Factory/nodejs-electron/nodejs-electron.changes 2021-07-16 00:02:59.120464010 +0200 +++ /work/SRC/openSUSE:Factory/.nodejs-electron.new.1899/nodejs-electron.changes 2021-08-11 11:48:44.749636178 +0200 @@ -1,0 +2,15 @@ +Tue Aug 10 12:18:01 UTC 2021 - Andreas Schneider <a...@cryptomilk.org> + +- Update to version 13.1.8 + * https://github.com/electron/electron/releases/tag/v13.1.8 +- Removed chromium-90-compiler.patch +- Added chromium-91-compiler.patch +- Added chromium-freetype-2.11.patch + +------------------------------------------------------------------- +Mon Jul 26 04:49:50 UTC 2021 - Andreas Schneider <a...@cryptomilk.org> + +- Update to version 13.1.7 + * https://github.com/electron/electron/releases/tag/v13.1.7 + +------------------------------------------------------------------- Old: ---- chromium-90-compiler.patch electron-13.1.6.tar.xz New: ---- chromium-91-compiler.patch chromium-freetype-2.11.patch electron-13.1.8.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nodejs-electron.spec ++++++ --- /var/tmp/diff_new_pack.Z6l7UR/_old 2021-08-11 11:49:17.757596475 +0200 +++ /var/tmp/diff_new_pack.Z6l7UR/_new 2021-08-11 11:49:17.761596470 +0200 @@ -44,7 +44,7 @@ %bcond_with system_vpx %bcond_with clang Name: nodejs-electron -Version: 13.1.6 +Version: 13.1.8 Release: 0 Summary: Build cross platform desktop apps with JavaScript, HTML, and CSS License: MIT @@ -55,7 +55,7 @@ Source10: electron-launcher.sh Source11: electron.desktop Source12: electron-logo-symbolic.svg -Patch0: chromium-90-compiler.patch +Patch0: chromium-91-compiler.patch %if 0%{?sle_version} < 150300 || 0%{?fedora_version} < 34 # Fixed with ld.gold >= 2.36 # https://sourceware.org/bugzilla/show_bug.cgi?id=26200 @@ -73,6 +73,7 @@ Patch12: chromium-86-fix-vaapi-on-intel.patch Patch13: chromium-91-GCC_fix_vector_types_in_pcscan.patch Patch14: chromium-gcc11.patch +Patch15: chromium-freetype-2.11.patch # Fix building sql recover_module Patch20: electron-13-fix-sql-virtualcursor-type.patch # Always disable use_thin_lto which is an lld feature ++++++ chromium-90-compiler.patch -> chromium-91-compiler.patch ++++++ --- /work/SRC/openSUSE:Factory/nodejs-electron/chromium-90-compiler.patch 2021-06-29 22:43:01.342854842 +0200 +++ /work/SRC/openSUSE:Factory/.nodejs-electron.new.1899/chromium-91-compiler.patch 2021-08-11 11:48:00.137689837 +0200 @@ -1,6 +1,6 @@ From f4d0b0eb899005b4b8b6388e1d8bb82cc0018fc8 Mon Sep 17 00:00:00 2001 From: Mike Gilbert <flop...@gentoo.org> -Date: Tue, 13 Apr 2021 07:59:41 +0000 +Date: Wed, 7 Apr 2021 08:50:04 +0000 Subject: [PATCH] Disable various compiler configs --- @@ -8,10 +8,10 @@ 1 file changed, 17 insertions(+), 42 deletions(-) diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn -index 2166af0..90ad0c1 100644 +index 72ea590..539672d 100644 --- a/build/config/compiler/BUILD.gn +++ b/build/config/compiler/BUILD.gn -@@ -267,8 +267,6 @@ config("compiler") { +@@ -273,8 +273,6 @@ config("compiler") { configs += [ # See the definitions below. @@ -20,7 +20,7 @@ ":compiler_codegen", ":compiler_deterministic", ] -@@ -509,24 +507,6 @@ config("compiler") { +@@ -518,24 +516,6 @@ config("compiler") { ldflags += [ "-Wl,-z,keep-text-section-prefix" ] } @@ -45,7 +45,7 @@ # C11/C++11 compiler flags setup. # --------------------------- if (is_linux || is_chromeos || is_android || (is_nacl && is_clang) || -@@ -1640,7 +1620,7 @@ config("chromium_code") { +@@ -1643,7 +1623,7 @@ config("chromium_code") { defines = [ "_HAS_NODISCARD" ] } } else { @@ -54,7 +54,7 @@ if (treat_warnings_as_errors) { cflags += [ "-Werror" ] -@@ -1649,10 +1629,6 @@ config("chromium_code") { +@@ -1652,10 +1632,6 @@ config("chromium_code") { # well. ldflags = [ "-Werror" ] } @@ -65,7 +65,7 @@ # In Chromium code, we define __STDC_foo_MACROS in order to get the # C99 macros on Mac and Linux. -@@ -1661,15 +1637,6 @@ config("chromium_code") { +@@ -1664,15 +1640,6 @@ config("chromium_code") { "__STDC_FORMAT_MACROS", ] @@ -81,7 +81,7 @@ if (is_mac) { cflags_objc = [ "-Wobjc-missing-property-synthesis" ] cflags_objcc = [ "-Wobjc-missing-property-synthesis" ] -@@ -2069,7 +2036,8 @@ config("default_stack_frames") { +@@ -2068,7 +2035,8 @@ config("default_stack_frames") { } # Default "optimization on" config. @@ -91,7 +91,7 @@ if (is_win) { if (chrome_pgo_phase != 2) { # Favor size over speed, /O1 must be before the common flags. -@@ -2104,7 +2072,8 @@ config("optimize") { +@@ -2103,7 +2071,8 @@ config("optimize") { } # Turn off optimizations. @@ -101,7 +101,7 @@ if (is_win) { cflags = [ "/Od", # Disable optimization. -@@ -2144,7 +2113,8 @@ config("no_optimize") { +@@ -2143,7 +2112,8 @@ config("no_optimize") { # Turns up the optimization level. On Windows, this implies whole program # optimization and link-time code generation which is very expensive and should # be used sparingly. @@ -111,7 +111,7 @@ if (is_nacl && is_nacl_irt) { # The NaCl IRT is a special case and always wants its own config. # Various components do: -@@ -2176,7 +2146,8 @@ config("optimize_max") { +@@ -2175,7 +2145,8 @@ config("optimize_max") { # # TODO(crbug.com/621335) - rework how all of these configs are related # so that we don't need this disclaimer. @@ -121,7 +121,7 @@ if (is_nacl && is_nacl_irt) { # The NaCl IRT is a special case and always wants its own config. # Various components do: -@@ -2201,7 +2172,8 @@ config("optimize_speed") { +@@ -2200,7 +2171,8 @@ config("optimize_speed") { } } @@ -131,7 +131,7 @@ cflags = [ "-O1" ] + common_optimize_on_cflags ldflags = common_optimize_on_ldflags visibility = [ ":default_optimization" ] -@@ -2320,7 +2292,8 @@ config("win_pdbaltpath") { +@@ -2319,7 +2291,8 @@ config("win_pdbaltpath") { } # Full symbols. @@ -141,7 +141,7 @@ if (is_win) { if (is_clang) { cflags = [ "/Z7" ] # Debug information in the .obj files. -@@ -2423,7 +2396,8 @@ config("symbols") { +@@ -2422,7 +2395,8 @@ config("symbols") { # Minimal symbols. # This config guarantees to hold symbol for stack trace which are shown to user # when crash happens in unittests running on buildbot. @@ -151,7 +151,7 @@ if (is_win) { # Functions, files, and line tables only. cflags = [] -@@ -2482,7 +2456,8 @@ config("minimal_symbols") { +@@ -2481,7 +2455,8 @@ config("minimal_symbols") { # This configuration contains function names only. That is, the compiler is # told to not generate debug information and the linker then just puts function # names in the final debug information. ++++++ chromium-freetype-2.11.patch ++++++ Index: electron-13.1.8/third_party/skia/src/ports/SkFontHost_FreeType_common.cpp =================================================================== --- electron-13.1.8.orig/third_party/skia/src/ports/SkFontHost_FreeType_common.cpp 2021-08-10 14:35:22.935150265 +0200 +++ electron-13.1.8/third_party/skia/src/ports/SkFontHost_FreeType_common.cpp 2021-08-10 15:53:57.085844267 +0200 @@ -665,12 +665,21 @@ void colrv1_draw_paint(SkCanvas* canvas, canvas->drawPaint(paint); break; } +#if FREETYPE_MAJOR == 2 && FREETYPE_MINOR >= 11 + case FT_COLR_PAINTFORMAT_TRANSFORM: { + SkMatrix transform = ToSkMatrix(colrv1_paint.u.transform.affine); + + canvas->concat(transform); + break; + } +#else case FT_COLR_PAINTFORMAT_TRANSFORMED: { SkMatrix transform = ToSkMatrix(colrv1_paint.u.transformed.affine); canvas->concat(transform); break; } +#endif case FT_COLR_PAINTFORMAT_TRANSLATE: { SkMatrix translate = SkMatrix::Translate( SkFixedToScalar(colrv1_paint.u.translate.dx), @@ -768,6 +777,16 @@ bool colrv1_traverse_paint(SkCanvas* can traverse_result = colrv1_start_glyph(canvas, palette, face, paint.u.colr_glyph.glyphID, FT_COLOR_NO_ROOT_TRANSFORM); break; +#if FREETYPE_MAJOR == 2 && FREETYPE_MINOR >= 11 + case FT_COLR_PAINTFORMAT_TRANSFORM: + canvas->saveLayer(nullptr, nullptr); + // Traverse / draw operation will apply transform. + colrv1_draw_paint(canvas, palette, face, paint); + traverse_result = + colrv1_traverse_paint(canvas, palette, face, paint.u.transform.paint); + canvas->restore(); + break; +#else case FT_COLR_PAINTFORMAT_TRANSFORMED: canvas->saveLayer(nullptr, nullptr); // Traverse / draw operation will apply transform. @@ -776,6 +795,7 @@ bool colrv1_traverse_paint(SkCanvas* can colrv1_traverse_paint(canvas, palette, face, paint.u.transformed.paint); canvas->restore(); break; +#endif case FT_COLR_PAINTFORMAT_TRANSLATE: canvas->saveLayer(nullptr, nullptr); // Traverse / draw operation will apply transform. ++++++ create_tarball.sh ++++++ --- /var/tmp/diff_new_pack.Z6l7UR/_old 2021-08-11 11:49:17.821596398 +0200 +++ /var/tmp/diff_new_pack.Z6l7UR/_new 2021-08-11 11:49:17.821596398 +0200 @@ -11,7 +11,7 @@ # The chromium version we want to base electron on. Use the same version # as in network:chromium/chromium if you update. -CHROMIUM_VERSION="91.0.4472.114" +CHROMIUM_VERSION="91.0.4472.164" echo "NAME: $ELECTRON_PKGNAME" echo "VERSION: $ELECTRON_PKGVERSION" ++++++ electron-13.1.6.tar.xz -> electron-13.1.8.tar.xz ++++++ /work/SRC/openSUSE:Factory/nodejs-electron/electron-13.1.6.tar.xz /work/SRC/openSUSE:Factory/.nodejs-electron.new.1899/electron-13.1.8.tar.xz differ: char 15, line 1