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 2022-12-20 20:20:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nodejs-electron (Old)
 and      /work/SRC/openSUSE:Factory/.nodejs-electron.new.1835 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nodejs-electron"

Tue Dec 20 20:20:35 2022 rev:48 rq:1043804 version:21.3.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/nodejs-electron/nodejs-electron.changes  
2022-12-07 17:37:24.381341188 +0100
+++ 
/work/SRC/openSUSE:Factory/.nodejs-electron.new.1835/nodejs-electron.changes    
    2022-12-20 20:21:16.594137866 +0100
@@ -1,0 +2,8 @@
+Mon Dec 19 16:16:22 UTC 2022 - Bruno Pitrus <brunopit...@hotmail.com>
+- Pass --gc-sections to linker. Upstream build process expects this to be done,
+  and it MASSIVELY reduces size of non-LTO builds.
+- Switch to GNU bfd linker on ix86 and arm now that it works correctly.
+- Enable debuginfo generation on ix86 and arm now that it works correctly.
+- Fix build on Leap 15.5
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ nodejs-electron.spec ++++++
--- /var/tmp/diff_new_pack.7dvXi0/_old  2022-12-20 20:21:19.726155028 +0100
+++ /var/tmp/diff_new_pack.7dvXi0/_new  2022-12-20 20:21:19.730155050 +0100
@@ -83,12 +83,6 @@
 %bcond_with gold
 %endif
 
-# Both BFD and Gold run out of memory on 32-bit.
-%ifarch %ix86 %arm
-%bcond_without lld
-%else
-%bcond_with lld
-%endif
 
 %endif #with clang
 
@@ -115,11 +109,6 @@
 %bcond_with system_harfbuzz
 %endif
 
-%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150500 || 0%{?fedora} >= 
37
-%bcond_without system_avif
-%else
-%bcond_with system_avif
-%endif
 
 %bcond_without system_freetype
 %bcond_without system_nghttp2
@@ -129,12 +118,14 @@
 
 %if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150600 || 0%{?fedora} >= 
37
 %bcond_without system_aom
+%bcond_without system_avif
 %bcond_without icu_71
 %bcond_without ffmpeg_5
 %bcond_without system_dav1d
 %bcond_without system_spirv
 %else
 %bcond_with system_aom
+%bcond_with system_avif
 %bcond_with icu_71
 %bcond_with ffmpeg_5
 %bcond_with system_dav1d
@@ -537,7 +528,7 @@
 BuildRequires:  pkgconfig(libavutil)
 %endif
 %if %{with system_avif}
-BuildRequires:  pkgconfig(libavif)
+BuildRequires:  pkgconfig(libavif) >= 0.10
 %endif
 BuildRequires:  pkgconfig(libbrotlidec)
 BuildRequires:  pkgconfig(libbrotlienc)
@@ -779,8 +770,13 @@
 export CFLAGS="$(echo ${CFLAGS} | sed -e 's/-g /-g1 /g' -e 's/-g$/-g1/g')"
 %endif
 
-
-export LDFLAGS="%{?build_ldflags}"
+#The chromium build process passes lots of .o files directly to the linker 
instead of using static libraries,
+#and relies on the linker eliminating unused sections.
+#Re-add these parameters from build/config/compiler/BUILD.gn.
+export LDFLAGS="%{?build_ldflags} -Wl,-O2 -Wl,--gc-sections "
+%if %{without lld} && %{without gold}
+export LDFLAGS="$LDFLAGS -Wl,--gc-keep-exported"
+%endif
 
 
 %if %{with clang}
@@ -1097,7 +1093,7 @@
 %endif
 %ifarch %ix86 %arm
 #Sorry, no debug on 32bit.
-myconf_gn+=" symbol_level=0" 
+myconf_gn+=" symbol_level=1" 
 myconf_gn+=" blink_symbol_level=0"
 myconf_gn+=" v8_symbol_level=0"
 %endif
@@ -1130,6 +1126,9 @@
 myconf_gn+=" enable_background_contents=false"
 myconf_gn+=" enable_xz_extractor=false"
 myconf_gn+=" enable_feed_v2=false"
+myconf_gn+=" ozone_platform_headless=false"
+myconf_gn+=" angle_enable_gl_null=false"
+
 
 
 #Do not build Chromecast

Reply via email to