Update to 91.0
This commit is contained in:
parent
d996b693ea
commit
c50dfcd979
@ -1,12 +0,0 @@
|
|||||||
diff -up thunderbird-68.0/toolkit/moz.configure.elfhack thunderbird-68.0/toolkit/moz.configure
|
|
||||||
--- thunderbird-68.0/toolkit/moz.configure.elfhack 2019-08-29 16:33:28.491708653 +0200
|
|
||||||
+++ thunderbird-68.0/toolkit/moz.configure 2019-08-29 16:33:58.019805525 +0200
|
|
||||||
@@ -1130,7 +1130,7 @@ with only_when('--enable-compile-environ
|
|
||||||
help='{Enable|Disable} elf hacks')
|
|
||||||
|
|
||||||
set_config('USE_ELF_HACK',
|
|
||||||
- depends_if('--enable-elf-hack')(lambda _: True))
|
|
||||||
+ depends_if('--enable-elf-hack')(lambda _: False))
|
|
||||||
|
|
||||||
|
|
||||||
@depends(check_build_environment)
|
|
@ -1,12 +0,0 @@
|
|||||||
diff -up thunderbird-78.12.0/python/mach/mach/main.py.python3.10 thunderbird-78.12.0/python/mach/mach/main.py
|
|
||||||
--- thunderbird-78.12.0/python/mach/mach/main.py.python3.10 2021-07-27 08:10:52.680466611 +0200
|
|
||||||
+++ thunderbird-78.12.0/python/mach/mach/main.py 2021-07-27 08:11:17.377561233 +0200
|
|
||||||
@@ -16,7 +16,7 @@ import os
|
|
||||||
import sys
|
|
||||||
import traceback
|
|
||||||
import uuid
|
|
||||||
-from collections import Iterable
|
|
||||||
+from collections.abc import Iterable
|
|
||||||
|
|
||||||
from six import string_types
|
|
||||||
|
|
@ -1,23 +1,39 @@
|
|||||||
mk_add_options MOZ_CO_PROJECT=mail
|
mk_add_options MOZ_CO_PROJECT=mail
|
||||||
ac_add_options --enable-application=comm/mail
|
ac_add_options --enable-application=comm/mail
|
||||||
mk_add_options AUTOCONF=autoconf-2.13
|
|
||||||
|
|
||||||
ac_add_options --enable-default-toolkit=cairo-gtk3-wayland
|
|
||||||
|
|
||||||
ac_add_options --prefix="$PREFIX"
|
|
||||||
ac_add_options --libdir="$LIBDIR"
|
|
||||||
ac_add_options --with-system-jpeg
|
|
||||||
ac_add_options --with-system-zlib
|
ac_add_options --with-system-zlib
|
||||||
ac_add_options --with-system-libvpx
|
|
||||||
ac_add_options --disable-tests
|
|
||||||
ac_add_options --disable-strip
|
ac_add_options --disable-strip
|
||||||
# temporary disable system cairo, because compilation fails
|
#ac_add_options --enable-libnotify
|
||||||
ac_add_options --disable-necko-wifi
|
ac_add_options --enable-necko-wifi
|
||||||
ac_add_options --disable-updater
|
ac_add_options --disable-updater
|
||||||
ac_add_options --with-system-icu
|
ac_add_options --enable-chrome-format=omni
|
||||||
|
ac_add_options --enable-pulseaudio
|
||||||
|
ac_add_options --enable-av1
|
||||||
|
ac_add_options --without-system-icu
|
||||||
|
ac_add_options --enable-release
|
||||||
|
ac_add_options --update-channel=release
|
||||||
|
ac_add_options --allow-addon-sideload
|
||||||
|
ac_add_options --enable-js-shell
|
||||||
|
ac_add_options --with-unsigned-addon-scopes=app,system
|
||||||
|
|
||||||
# lightning related
|
|
||||||
ac_add_options --enable-calendar
|
|
||||||
|
|
||||||
|
#mk_add_options AUTOCONF=autoconf-2.13
|
||||||
|
|
||||||
|
#ac_add_options --enable-default-toolkit=cairo-gtk3-wayland
|
||||||
|
|
||||||
|
#ac_add_options --prefix="$PREFIX"
|
||||||
|
#ac_add_options --libdir="$LIBDIR"
|
||||||
|
#ac_add_options --with-system-jpeg
|
||||||
|
#ac_add_options --with-system-zlib
|
||||||
|
#ac_add_options --with-system-libvpx
|
||||||
|
#ac_add_options --disable-tests
|
||||||
|
#ac_add_options --disable-strip
|
||||||
|
## temporary disable system cairo, because compilation fails
|
||||||
|
#ac_add_options --disable-necko-wifi
|
||||||
|
#ac_add_options --disable-updater
|
||||||
|
#ac_add_options --with-system-icu
|
||||||
|
|
||||||
export BUILD_OFFICIAL=1
|
export BUILD_OFFICIAL=1
|
||||||
export MOZILLA_OFFICIAL=1
|
export MOZILLA_OFFICIAL=1
|
||||||
|
@ -89,13 +89,13 @@ ExcludeArch: s390x
|
|||||||
|
|
||||||
Summary: Mozilla Thunderbird mail/newsgroup client
|
Summary: Mozilla Thunderbird mail/newsgroup client
|
||||||
Name: thunderbird
|
Name: thunderbird
|
||||||
Version: 78.12.0
|
Version: 91.0
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
URL: http://www.mozilla.org/projects/thunderbird/
|
URL: http://www.mozilla.org/projects/thunderbird/
|
||||||
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
||||||
Source0: https://archive.mozilla.org/pub/thunderbird/releases/%{version}%{?pre_version}/source/thunderbird-%{version}%{?pre_version}.source.tar.xz
|
Source0: https://archive.mozilla.org/pub/thunderbird/releases/%{version}%{?pre_version}/source/thunderbird-%{version}%{?pre_version}.source.tar.xz
|
||||||
%if %{build_langpacks}
|
%if %{build_langpacks}
|
||||||
Source1: thunderbird-langpacks-%{version}-20210721.tar.xz
|
Source1: thunderbird-langpacks-%{version}-20210816.tar.xz
|
||||||
%endif
|
%endif
|
||||||
Source3: get-calendar-langpacks.sh
|
Source3: get-calendar-langpacks.sh
|
||||||
Source4: cbindgen-vendor-0.14.3.tar.xz
|
Source4: cbindgen-vendor-0.14.3.tar.xz
|
||||||
@ -119,11 +119,9 @@ Patch417: build-aarch64-user_vfp.patch
|
|||||||
Patch418: mozilla-1512162.patch
|
Patch418: mozilla-1512162.patch
|
||||||
Patch419: bindgen-d0dfc52706f23db9dc9d74642eeebd89d73cb8d0.patch
|
Patch419: bindgen-d0dfc52706f23db9dc9d74642eeebd89d73cb8d0.patch
|
||||||
Patch103: rhbz-1219542-s390-build.patch
|
Patch103: rhbz-1219542-s390-build.patch
|
||||||
Patch104: build-python3.10.patch
|
|
||||||
|
|
||||||
# PPC fix
|
# PPC fix
|
||||||
Patch304: mozilla-1245783.patch
|
Patch304: mozilla-1245783.patch
|
||||||
Patch307: build-disable-elfhack.patch
|
|
||||||
|
|
||||||
# Fedora specific patches
|
# Fedora specific patches
|
||||||
|
|
||||||
@ -154,7 +152,7 @@ BuildRequires: libjpeg-devel
|
|||||||
BuildRequires: zip
|
BuildRequires: zip
|
||||||
BuildRequires: bzip2-devel
|
BuildRequires: bzip2-devel
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
BuildRequires: libIDL-devel
|
#BuildRequires: libIDL-devel
|
||||||
BuildRequires: pkgconfig(gtk+-3.0)
|
BuildRequires: pkgconfig(gtk+-3.0)
|
||||||
BuildRequires: pkgconfig(gtk+-2.0)
|
BuildRequires: pkgconfig(gtk+-2.0)
|
||||||
BuildRequires: krb5-devel
|
BuildRequires: krb5-devel
|
||||||
@ -175,7 +173,7 @@ BuildRequires: libffi-devel
|
|||||||
%endif
|
%endif
|
||||||
BuildRequires: startup-notification-devel
|
BuildRequires: startup-notification-devel
|
||||||
BuildRequires: alsa-lib-devel
|
BuildRequires: alsa-lib-devel
|
||||||
BuildRequires: autoconf213
|
#BuildRequires: autoconf213
|
||||||
BuildRequires: desktop-file-utils
|
BuildRequires: desktop-file-utils
|
||||||
BuildRequires: libcurl-devel
|
BuildRequires: libcurl-devel
|
||||||
BuildRequires: mesa-libGL-devel
|
BuildRequires: mesa-libGL-devel
|
||||||
@ -266,7 +264,6 @@ debug %{name}, you want to install %{name}-debuginfo instead.
|
|||||||
|
|
||||||
%if 0%{?fedora} >= 35
|
%if 0%{?fedora} >= 35
|
||||||
# since python3.10 we need to use `from collections.abc` instead of `from collections`.
|
# since python3.10 we need to use `from collections.abc` instead of `from collections`.
|
||||||
%patch104 -p1 -b .python3.10
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%patch304 -p1 -b .1245783
|
%patch304 -p1 -b .1245783
|
||||||
@ -281,14 +278,13 @@ debug %{name}, you want to install %{name}-debuginfo instead.
|
|||||||
%ifarch %{arm}
|
%ifarch %{arm}
|
||||||
%patch415 -p1 -b .mozilla-1238661
|
%patch415 -p1 -b .mozilla-1238661
|
||||||
%endif
|
%endif
|
||||||
%patch416 -p1 -b .SIOCGSTAMP
|
#FIXME %patch416 -p1 -b .SIOCGSTAMP
|
||||||
%patch417 -p1 -b .aarch64-user_vfp
|
%patch417 -p1 -b .aarch64-user_vfp
|
||||||
%patch418 -p1 -b .mozbz-1512162
|
%patch418 -p1 -b .mozbz-1512162
|
||||||
# most likely fixed
|
# most likely fixed
|
||||||
#%patch419 -p1 -b .bindgen
|
#%patch419 -p1 -b .bindgen
|
||||||
|
|
||||||
%if 0%{?disable_elfhack}
|
%if 0%{?disable_elfhack}
|
||||||
%patch307 -p1 -b .elfhack
|
|
||||||
%endif
|
%endif
|
||||||
#cd ..
|
#cd ..
|
||||||
|
|
||||||
@ -458,8 +454,6 @@ MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -Wformat-security -Wformat -Werror=format-security
|
|||||||
# Workaround for mozbz#1531309
|
# Workaround for mozbz#1531309
|
||||||
MOZ_OPT_FLAGS=$(echo "$MOZ_OPT_FLAGS" | %{__sed} -e 's/-Werror=format-security//')
|
MOZ_OPT_FLAGS=$(echo "$MOZ_OPT_FLAGS" | %{__sed} -e 's/-Werror=format-security//')
|
||||||
%endif
|
%endif
|
||||||
# Disable null pointer gcc6 optimization (rhbz#1311886)
|
|
||||||
MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -fno-delete-null-pointer-checks"
|
|
||||||
# Use hardened build?
|
# Use hardened build?
|
||||||
%if %{?hardened_build}
|
%if %{?hardened_build}
|
||||||
MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -fPIC -Wl,-z,relro -Wl,-z,now"
|
MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -fPIC -Wl,-z,relro -Wl,-z,now"
|
||||||
@ -489,39 +483,38 @@ MOZ_LINK_FLAGS="-Wl,--no-keep-memory"
|
|||||||
echo "ac_add_options --enable-linker=gold" >> .mozconfig
|
echo "ac_add_options --enable-linker=gold" >> .mozconfig
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
%if 0%{?flatpak}
|
||||||
|
# Make sure the linker can find libraries in /app/lib64 as we don't use
|
||||||
|
# __global_ldflags that normally sets this.
|
||||||
|
MOZ_LINK_FLAGS="$MOZ_LINK_FLAGS -L%{_libdir}"
|
||||||
|
%endif
|
||||||
|
%ifarch %{arm} %{ix86} %{s390x}
|
||||||
|
export RUSTFLAGS="-Cdebuginfo=0"
|
||||||
|
%endif
|
||||||
# We don't want thunderbird to use CK_GCM_PARAMS_V3 in nss
|
# We don't want thunderbird to use CK_GCM_PARAMS_V3 in nss
|
||||||
MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -DNSS_PKCS11_3_0_STRICT"
|
MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -DNSS_PKCS11_3_0_STRICT"
|
||||||
|
|
||||||
|
echo "export CFLAGS=\"$MOZ_OPT_FLAGS\"" >> .mozconfig
|
||||||
export CFLAGS=`echo $MOZ_OPT_FLAGS |sed -e 's/-fpermissive//g'`
|
echo "export CXXFLAGS=\"$MOZ_OPT_FLAGS\"" >> .mozconfig
|
||||||
export CXXFLAGS=$MOZ_OPT_FLAGS
|
echo "export LDFLAGS=\"$MOZ_LINK_FLAGS\"" >> .mozconfig
|
||||||
export LDFLAGS=$MOZ_LINK_FLAGS
|
|
||||||
|
|
||||||
export PREFIX='%{_prefix}'
|
|
||||||
export LIBDIR='%{_libdir}'
|
|
||||||
|
|
||||||
%ifarch %{arm} %{ix86}
|
|
||||||
export RUSTFLAGS="-Cdebuginfo=0"
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%if 0%{?build_with_clang}
|
%if 0%{?build_with_clang}
|
||||||
export LLVM_PROFDATA="llvm-profdata"
|
echo "export LLVM_PROFDATA=\"llvm-profdata\"" >> .mozconfig
|
||||||
export AR="llvm-ar"
|
echo "export AR=\"llvm-ar\"" >> .mozconfig
|
||||||
export NM="llvm-nm"
|
echo "export NM=\"llvm-nm\"" >> .mozconfig
|
||||||
export RANLIB="llvm-ranlib"
|
echo "export RANLIB=\"llvm-ranlib\"" >> .mozconfig
|
||||||
echo "ac_add_options --enable-linker=lld" >> .mozconfig
|
echo "ac_add_options --enable-linker=lld" >> .mozconfig
|
||||||
%else
|
%else
|
||||||
export CC=gcc
|
echo "export CC=gcc" >> .mozconfig
|
||||||
export CXX=g++
|
echo "export CXX=g++" >> .mozconfig
|
||||||
export AR="gcc-ar"
|
echo "export AR=\"gcc-ar\"" >> .mozconfig
|
||||||
export NM="gcc-nm"
|
echo "export NM=\"gcc-nm\"" >> .mozconfig
|
||||||
export RANLIB="gcc-ranlib"
|
echo "export RANLIB=\"gcc-ranlib\"" >> .mozconfig
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?build_with_pgo}
|
%if 0%{?build_with_pgo}
|
||||||
echo "ac_add_options MOZ_PGO=1" >> .mozconfig
|
echo "ac_add_options MOZ_PGO=1" >> .mozconfig
|
||||||
echo "ac_add_options --enable-lto" >> .mozconfig
|
# PGO build doesn't work with ccache
|
||||||
|
export CCACHE_DISABLE=1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
MOZ_SMP_FLAGS=-j1
|
MOZ_SMP_FLAGS=-j1
|
||||||
@ -538,7 +531,7 @@ MOZ_SMP_FLAGS=-j1
|
|||||||
|
|
||||||
export MOZ_MAKE_FLAGS="$MOZ_SMP_FLAGS"
|
export MOZ_MAKE_FLAGS="$MOZ_SMP_FLAGS"
|
||||||
export STRIP=/bin/true
|
export STRIP=/bin/true
|
||||||
./mach build
|
./mach build -v
|
||||||
|
|
||||||
# create debuginfo for crash-stats.mozilla.com
|
# create debuginfo for crash-stats.mozilla.com
|
||||||
%if %{enable_mozilla_crashreporter}
|
%if %{enable_mozilla_crashreporter}
|
||||||
@ -773,6 +766,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|||||||
#===============================================================================
|
#===============================================================================
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Aug 16 2021 Jan Horak <jhorak@redhat.com> - 91.0-1
|
||||||
|
- Update to 91.0 build1
|
||||||
|
|
||||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 78.12.0-2
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 78.12.0-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user