7
0

Accepting request 1227018 from home:dziobian:gulgul-ultron:19

- New upstream release 31.7.6
  * no user-visible changes
- Leap: build with gcc 14
- Drop Fedora 39 support

OBS-URL: https://build.opensuse.org/request/show/1227018
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-electron?expand=0&rev=181
This commit is contained in:
2024-11-28 05:42:29 +00:00
committed by Git OBS Bridge
parent 2c5d3b4c57
commit 8c83bca413
4 changed files with 31 additions and 43 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1aedd2bdbf6a9832fee9557e9ce0e29e442f3cb3400e83da544572c80b48ad97
size 603507753

3
electron-31.7.6.tar.zst Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4f4e50a8786181d6f0f246150f6c99cc988bea00c7978ae44c4c019fdf4add8b
size 604163877

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Nov 27 20:33:48 UTC 2024 - Bruno Pitrus <brunopitrus@hotmail.com>
- New upstream release 31.7.6
* no user-visible changes
- Leap: build with gcc 14
- Drop Fedora 39 support
-------------------------------------------------------------------
Tue Nov 26 14:11:01 UTC 2024 - Bruno Pitrus <brunopitrus@hotmail.com>

View File

@@ -105,7 +105,7 @@ BuildArch: i686
%if 0%{?suse_version} || 0%{?fedora} < 40 || 0%{?fedora} >= 41
%if 0%{?suse_version} || 0%{?fedora} >= 41
%bcond_without system_minizip
%else
%bcond_with system_minizip
@@ -143,11 +143,7 @@ BuildArch: i686
%bcond_with ffmpeg_6
%endif
%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150700 || 0%{?fedora} >= 40
%bcond_without gcc14
%else
%bcond_with gcc14
%endif
%if 0%{?fedora}
@@ -159,18 +155,15 @@ BuildArch: i686
%endif
%if 0%{?fedora} >= 39
%if 0%{?fedora}
%bcond_without system_vma
%else
%bcond_with system_vma
%endif
%if 0%{?fedora} >= 40
%bcond_without system_ada
%else
%bcond_with system_vma
%bcond_with system_ada
%endif
# requires `run_convert_utf8_to_latin1_with_errors`
%if 0%{?fedora} >= 41
%bcond_without system_simdutf
@@ -182,7 +175,7 @@ BuildArch: i686
%bcond_with system_avif
# Some chromium code assumes absl::string_view is a typedef for std::string_view. This is not true on GCC7 systems such as Leap.
%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150700 || 0%{?fedora} >= 39
%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150700 || 0%{?fedora}
%bcond_without system_abseil
%else
%bcond_with system_abseil
@@ -201,14 +194,11 @@ BuildArch: i686
%define PYVER 311
%endif
%if 0%{?fedora} >= 40
%if 0%{?fedora}
%define AVFORMAT_VER 6.0.1
%define RPMFUSION_VER 6.1-3
%endif
%if 0%{?fedora} >= 38 && 0%{?fedora} < 40
%define AVFORMAT_VER 6.0.1
%define RPMFUSION_VER 6.0.1-2
%endif
%if 0%{?suse_version}
@@ -233,7 +223,7 @@ BuildArch: i686
Name: nodejs-electron
Version: 31.7.5
Version: 31.7.6
%global tag_version %version
Release: 0
Summary: Build cross platform desktop apps with JavaScript, HTML, and CSS
@@ -382,12 +372,8 @@ Patch2054: bad-font-gc11.patch
Patch2055: bad-font-gc1.patch
Patch2056: bad-font-gc2.patch
Patch2057: bad-font-gc3.patch
#Work around gcc14 overly aggressive optimizer. Interestingly applying this patch produces a *different* crash on gcc13 + LTO.
%if %{with gcc14}
#Work around gcc14 overly aggressive optimizer.
Patch2058: v8-strict-aliasing.patch
%else
Source2058: v8-strict-aliasing.patch
%endif
#Fix opus audio not working (eg. Element voice messages)
Patch2059: disable-FFmpegAllowLists.patch
@@ -678,15 +664,13 @@ BuildRequires: libjpeg-turbo-devel
BuildRequires: pkgconfig(vpx) >= 1.13~
%endif
%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150700 || 0%{?fedora}
BuildRequires: gcc >= 13
BuildRequires: gcc-c++ >= 13
%else
BuildRequires: gcc13-PIE
BuildRequires: gcc13-c++
%endif
%if %{with gcc14}
BuildRequires: gcc >= 14
BuildRequires: gcc-c++ >= 14
%else
BuildRequires: gcc14-PIE
BuildRequires: gcc14-c++
%endif
%if %{with pipewire}
BuildRequires: pkgconfig(libpipewire-0.3)
BuildRequires: pkgconfig(libspa-0.2)
@@ -1070,11 +1054,11 @@ export AR=gcc-ar
export NM=gcc-nm
export RANLIB=gcc-ranlib
%else
export CC=gcc-13
export CXX=g++-13
export AR=gcc-ar-13
export NM=gcc-nm-13
export RANLIB=gcc-ranlib-13
export CC=gcc-14
export CXX=g++-14
export AR=gcc-ar-14
export NM=gcc-nm-14
export RANLIB=gcc-ranlib-14
%endif
@@ -1238,11 +1222,7 @@ myconf_gn+=' symbol_level=0'
myconf_gn+=' blink_symbol_level=0'
myconf_gn+=' v8_symbol_level=0'
%else
%if 0%{?fedora} == 39
myconf_gn+=' symbol_level=1'
%else
myconf_gn+=' symbol_level=2'
%endif
myconf_gn+=' blink_symbol_level=1'
myconf_gn+=' v8_symbol_level=1'
%endif