Dominique Leuenberger 2021-10-26 18:13:32 +00:00 committed by Git OBS Bridge
commit 62fc14d3bc
8 changed files with 101 additions and 23 deletions

View File

@ -1,3 +1,28 @@
-------------------------------------------------------------------
Fri Oct 22 21:27:02 UTC 2021 - Wolfgang Rosenauer <wr@rosenauer.org>
- Mozilla Thunderbird 91.2.1
* Preference added to disable automatic pausing RSS feed updates
after a fetch failure
* several bugfixes as outlined in release notes
https://www.thunderbird.net/en-US/thunderbird/91.2.1/releasenotes/
-------------------------------------------------------------------
Fri Oct 22 09:16:01 UTC 2021 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Increase memory required per threads for aarch64 to avoid OOM
-------------------------------------------------------------------
Thu Oct 21 13:23:29 UTC 2021 - Martin Liška <mliska@suse.cz>
- Enable LTO on Tumbleweed.
-------------------------------------------------------------------
Fri Oct 15 20:29:41 UTC 2021 - Wolfgang Rosenauer <wr@rosenauer.org>
- add mozilla-bmo1724679.patch (bmo#1724679, boo#1182863)
fix some env variables which are enabled for any value
-------------------------------------------------------------------
Mon Oct 4 19:55:48 UTC 2021 - Wolfgang Rosenauer <wr@rosenauer.org>

View File

@ -26,8 +26,8 @@
# major 69
# mainver %major.99
%define major 91
%define mainver %major.2.0
%define orig_version 91.2.0
%define mainver %major.2.1
%define orig_version 91.2.1
%define orig_suffix %{nil}
%define update_channel release
%define source_prefix thunderbird-%{orig_version}
@ -208,6 +208,7 @@ Patch27: mozilla-s390x-skia-gradient.patch
Patch28: mozilla-libavcodec58_91.patch
Patch29: mozilla-silence-no-return-type.patch
Patch30: mozilla-bmo531915.patch
Patch31: mozilla-bmo1724679.patch
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: /bin/sh
@ -309,6 +310,7 @@ fi
%patch28 -p1
%patch29 -p1
%patch30 -p1
%patch31 -p1
%endif
%build
@ -390,7 +392,7 @@ echo "export MOZ_REQUIRE_SIGNING="
echo ""
cat << EOF
%else
%ifarch ppc64 ppc64le
%ifarch aarch64 ppc64 ppc64le
%limit_build -m 2500
%else
%limit_build -m 2000
@ -459,7 +461,7 @@ ac_add_options --enable-optimize="-O1"
%endif
%ifarch x86_64
# LTO needs newer toolchain stack only (at least GCC 8.2.1 (r268506)
%if 0%{?suse_version} > 1500 && 0%{?suse_version} < 1550
%if 0%{?suse_version} > 1500
ac_add_options --enable-lto
%if 0%{?do_profiling}
ac_add_options MOZ_PGO=1

51
mozilla-bmo1724679.patch Normal file
View File

@ -0,0 +1,51 @@
diff --git a/toolkit/components/remote/nsRemoteService.cpp b/toolkit/components/remote/nsRemoteService.cpp
--- a/toolkit/components/remote/nsRemoteService.cpp
+++ b/toolkit/components/remote/nsRemoteService.cpp
@@ -107,7 +107,8 @@
bool useX11Remote = mozilla::widget::GdkIsX11Display();
# if defined(MOZ_ENABLE_DBUS)
- if (!useX11Remote || getenv(DBUS_REMOTE_ENV)) {
+ const char* dbusRemoteEnv = getenv(DBUS_REMOTE_ENV);
+ if (!useX11Remote || (dbusRemoteEnv && *dbusRemoteEnv == '1')) {
client = MakeUnique<nsDBusRemoteClient>();
}
# endif
diff --git a/toolkit/xre/nsAppRunner.cpp b/toolkit/xre/nsAppRunner.cpp
--- a/toolkit/xre/nsAppRunner.cpp
+++ b/toolkit/xre/nsAppRunner.cpp
@@ -4125,7 +4125,7 @@
const char* x11Display = PR_GetEnv("DISPLAY");
// MOZ_ENABLE_WAYLAND is our primary Wayland on/off switch.
const char* waylandPref = PR_GetEnv("MOZ_ENABLE_WAYLAND");
- bool enableWayland = !x11Display || (waylandPref && *waylandPref);
+ bool enableWayland = !x11Display || (waylandPref && *waylandPref == '1');
if (!enableWayland) {
const char* backendPref = PR_GetEnv("GDK_BACKEND");
enableWayland = (backendPref && strncmp(backendPref, "wayland", 7) == 0);
diff --git a/widget/gtk/nsFilePicker.cpp b/widget/gtk/nsFilePicker.cpp
--- a/widget/gtk/nsFilePicker.cpp
+++ b/widget/gtk/nsFilePicker.cpp
@@ -616,7 +616,7 @@
if (mUseNativeFileChooser && sGtkNativeDialogShowPtr != nullptr) {
const char* portalEnvString = g_getenv("GTK_USE_PORTAL");
bool setPortalEnv =
- (portalEnvString && atoi(portalEnvString) == 0) || !portalEnvString;
+ (portalEnvString && *portalEnvString == '0') || !portalEnvString;
if (setPortalEnv) {
setenv("GTK_USE_PORTAL", "1", true);
}
diff --git a/widget/gtk/nsWindow.cpp b/widget/gtk/nsWindow.cpp
--- a/widget/gtk/nsWindow.cpp
+++ b/widget/gtk/nsWindow.cpp
@@ -8835,7 +8835,7 @@
// decorations does not work with CSD.
// We check GTK_CSD as well as gtk_window_should_use_csd() does.
const char* csdOverride = getenv("GTK_CSD");
- if (csdOverride && atoi(csdOverride)) {
+ if (csdOverride && *csdOverride == '1') {
sGtkWindowDecoration = GTK_DECORATION_CLIENT;
return sGtkWindowDecoration;
}

View File

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

View File

@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEQ2D+IQnEl2MYb44h6+QekPbxL20FAmFbNVsACgkQ6+QekPbx
L22tnA//dFdV39Q3JTn1bOPpNPQ50W3iXYx3BRldWBRCX3bQHvP9zdxLZfiLPjoL
zFaVHd1Fx5CdD4nH/8jbZ5PeOTIa2mcdUJWqEshGKCymBTTuFPQG4l0BGrn5JvXX
bMh8dVdeFHSMcu0MwZYGFDfESEpsJLl2SO3LsK8HAKxMsXOywzb11QZmQ48OXACu
w5LyROCXgPBJaIQ2Fq6CW4geC2c3TBTMyqJ8rWWgqm4KIfflUCaVKCpDbn9wyMQp
kEW/t6D4bB7yE7rcCqmjACZhMELEFHqSuwW70OvGu1ifp9Xr6sojDzPzA+TJtF3W
iM3Vyvs0CU3BsvRDcaLZDBkfryfP9leCTUsNDaD2JeF3twl1tngAIhCnyG0O3E/c
smoAyNzUOy0mhzeFs9l0f2cH5xukKafczlWurdVwoueEDCwGeUxcU7ZLQcaXOKTD
fwLMKwq3/twmIMITw9TF+2obmrTUXp/sL65CmCH+hjvpcsmVsFIbTzOehu6OzZMS
4AA8Ur+gVyNdMFzk0n0uHl/QXqV3F7bXEgHsUC39H3IY2z6CcnV5F27TREM4gdTS
mDu2lx0uGqqGUDF/lk4knzcestAeEdj/ABUXrLOU0p/0PFC+JpMIqRoC2UDwK4gs
tIOB6CKDxnSZIPunfXTM8IxTpyVeuyLHNqfQrcJzaJbz8fUCK3k=
=o6xJ
-----END PGP SIGNATURE-----

View File

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

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEQ2D+IQnEl2MYb44h6+QekPbxL20FAmFvlyMACgkQ6+QekPbx
L212GRAArUXsgwb8krkx/Kv4jNM5lQjNqkHJ8DKkXBX/CGBX6rui/6xetLJFFzJo
h+KmfCa7/Bl4KJk0+IKCNI53SvLAvgc4LJME2ohLrD2k/IJ8t1HI6XeHpDV18nTL
LRWs+6vq61fTunxJahRHe20dmUT4unGEp30LS7Y9K4EYNRBNTBEwBoFRzDKQTYdL
Z6MQd5qttutSPRB46zDOEmYmXze7eJPiVcdaGwFCbKyvtUfw7ZKXDUkjpMtmwk1d
C1+bA5Dio9kHoQdSvP/d53MnY8iEdXs66lUektpKHs2730xrnAKHg3rBCXzj+Sos
X68X50zzz2K6l1/WTQQilFaHT74Yb3KTU/c6RrwADqHxZzS+9AEBe2Kj3z8OdLxv
PsQ8uBH2/fFpugYaSzOCCnQUTAAc6I3Ycnf53OQ6KrgUcn2TPu2bzG4TblnTpXm6
lrf9jRM99VH6smRsYesPX8nGO2/FVVdrixAt3AoNvcX+kiBnggGgI6ac29b/Vl+i
myAlwDovnkP8GhXDI6QkmuDPQyveHjHqDzxAfmEfZG8HscPLBrkrTTtggqg3GveH
pOwACu3vdEX/43gJUVMa/1SPKjsGIPaSwsoQ8q18mRZWEUTIV7VX9K2zvKUcFYYw
CrAatZDl7SX9uxCJLZfM5kDTp/eqRfFBOtftCcz3EKw3+MpRM3g=
=k1/A
-----END PGP SIGNATURE-----