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-08-30 14:48:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nodejs-electron (Old) and /work/SRC/openSUSE:Factory/.nodejs-electron.new.2083 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nodejs-electron" Tue Aug 30 14:48:56 2022 rev:31 rq:999893 version:19.0.14 Changes: -------- --- /work/SRC/openSUSE:Factory/nodejs-electron/nodejs-electron.changes 2022-08-09 15:27:29.833478582 +0200 +++ /work/SRC/openSUSE:Factory/.nodejs-electron.new.2083/nodejs-electron.changes 2022-08-30 14:49:17.220090875 +0200 @@ -1,0 +2,17 @@ +Wed Aug 24 21:56:28 UTC 2022 - Bruno Pitrus <brunopit...@hotmail.com> +- New upstream version 19.0.14 + * Picture-In-Picture mode no longer becomes a red rectangle on hover. + +------------------------------------------------------------------- +Sat Aug 20 22:23:53 UTC 2022 - Bruno Pitrus <brunopit...@hotmail.com> +- New upstream release 19.0.13 + * Fixed crash in renderer when resuming system from sleep. + * backported fix for CVE-2022-2618 + * backported fix for CVE-2022-2624 +- New upstream release 19.0.12 + * Fixed an issue where app.relaunch loses args when execPath is specified. + * Fixed support for Wayland client-side decorations. + * backported fix for CVE-2022-2610 + * backported fix for CVE-2022-2615 + +------------------------------------------------------------------- Old: ---- electron-19.0.11.tar.zst New: ---- electron-19.0.14.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nodejs-electron.spec ++++++ --- /var/tmp/diff_new_pack.Ym9Xk9/_old 2022-08-30 14:49:26.288114013 +0200 +++ /var/tmp/diff_new_pack.Ym9Xk9/_new 2022-08-30 14:49:26.308114064 +0200 @@ -114,16 +114,20 @@ %if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150500 || 0%{?fedora_version} %bcond_without system_crc32c %bcond_without system_nghttp2 -%bcond_without system_jxl %bcond_without system_nvctrl %else %bcond_with system_crc32c %bcond_with system_nghttp2 -%bcond_with system_jxl %bcond_with system_nvctrl %endif -%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150500 || 0%{?fedora} >= 37 +%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150600 || 0%{?fedora_version} +%bcond_without system_jxl +%else +%bcond_with system_jxl +%endif + +%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150600 || 0%{?fedora} >= 37 %bcond_without system_dav1d %else %bcond_with system_dav1d @@ -135,7 +139,7 @@ -%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150500 || 0%{?fedora} >= 37 +%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150600 || 0%{?fedora} >= 37 %bcond_without system_spirv %else %bcond_with system_spirv @@ -200,13 +204,13 @@ Name: nodejs-electron -Version: 19.0.11 +Version: 19.0.14 Release: 0 Summary: Build cross platform desktop apps with JavaScript, HTML, and CSS License: MIT AND BSD-3-Clause AND LGPL-2.1-or-later Group: Productivity/Networking/Web/Browsers URL: https://github.com/electron/electron -Source0: %{mod_name}-%{version}.tar.zst +Source0: %{mod_name}-%{version}.tar.xz Source1: create_tarball.sh Source10: electron-launcher.sh Source11: electron.desktop @@ -444,7 +448,6 @@ %endif BuildRequires: util-linux BuildRequires: vulkan-headers -BuildRequires: zstd %if %{with system_abseil} BuildRequires: pkgconfig(absl_algorithm_container) >= 20211000 BuildRequires: pkgconfig(absl_base) @@ -578,7 +581,7 @@ BuildRequires: pkgconfig(vpx) >= 1.8.2 %endif %if %{without clang} -%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150500 || 0%{?fedora} +%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150600 || 0%{?fedora} BuildRequires: gcc >= 10 BuildRequires: gcc-c++ >= 10 %else @@ -729,7 +732,7 @@ -%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150500 || 0%{?fedora} +%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150600 || 0%{?fedora} export CC=gcc export CXX=g++ export AR=gcc-ar @@ -910,7 +913,6 @@ %endif - # Create the configuration for GN # Available options: out/Release/gn args --list out/Release/ myconf_gn="" @@ -1126,7 +1128,7 @@ rsync -av third_party/icu/common/icudtl.dat %{buildroot}%{_libdir}/electron/ %endif -echo -n "%{version}" > %{buildroot}%{_libdir}/electron/version +install -pTm644 electron/ELECTRON_VERSION %{buildroot}%{_libdir}/electron/version # Install folders required for webapps mkdir -p "%{buildroot}%{_sysconfdir}/webapps" ++++++ create_tarball.sh ++++++ --- /var/tmp/diff_new_pack.Ym9Xk9/_old 2022-08-30 14:49:26.708115085 +0200 +++ /var/tmp/diff_new_pack.Ym9Xk9/_new 2022-08-30 14:49:26.712115095 +0200 @@ -116,23 +116,21 @@ --gs-url-base=chromium-optimization-profiles/pgo_profiles -#The following commands overwrite this file which is needed during build. -#The precise content is unimportant, but we cache the original one for reproducibility. -mv -v src/third_party/node/node_modules.tar.gz.sha1{,.bak} # Needed to get typescript compiler -echo ">>>>>> Get node modules for third_party/node" -bash src/third_party/node/update_npm_deps +echo ">>>>>> Download and unpack webui-node-modules tarball for third_party/node" +python3 src/third_party/depot_tools/download_from_google_storage.py \ + --no_resume --extract --no_auth --bucket chromium-nodejs \ + -s src/third_party/node/node_modules.tar.gz.sha1 if [ $? -ne 0 ]; then - echo "ERROR: npm ci failed" + echo "ERROR: download_from_google_storage failed" cleanup_and_exit 1 fi -mv -v src/third_party/node/node_modules.tar.gz.sha1{.bak,} -# Remove unnecessary repack of node_modules +# we don't need the orig tarball rm -v src/third_party/node/node_modules.tar.gz echo ">>>>>> Get node modules for electron" pushd src/electron || cleanup_and_exit 1 -yarn install --frozen-lockfile --ignore-scripts +yarn install --frozen-lockfile --ignore-engines --ignore-scripts if [ $? -ne 0 ]; then echo "ERROR: yarn install failed" cleanup_and_exit 1 @@ -393,8 +391,8 @@ popd || cleanup_and_exit 1 echo ">>>>>> Create tarball" -#Use zst, it decompresses faster. -ZSTD_CLEVEL=19 ZSTD_NBTHREADS="$(nproc)" tar --zstd -vvcf "${ELECTRON_PKGDIR}/${ELECTRON_PKGNAME}-${ELECTRON_PKGVERSION}.tar.zst" src +#I would like to use zst, as it decompresses MUCH faster, but unfortunately it is not supported by OBS diff view yet +XZ_OPT="-T$(nproc) -e9 -vv" tar -vvcJf "${ELECTRON_PKGDIR}/${ELECTRON_PKGNAME}-${ELECTRON_PKGVERSION}.tar.xz" src if [ $? -ne 0 ]; then echo "ERROR: tar cf failed" cleanup_and_exit 1