Added fix for addon installing and langpacks

This commit is contained in:
Jan Horak 2021-09-07 11:44:35 +02:00
parent f640939196
commit 7333da7c72
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,22 @@
diff --git a/mail/config/mozconfigs/common b/mail/config/mozconfigs/common
--- a/mail/config/mozconfigs/common
+++ b/mail/config/mozconfigs/common
@@ -1,6 +1,3 @@
ac_add_options --enable-application=comm/mail
-# Disable enforcing that add-ons are signed by the trusted root.
-MOZ_REQUIRE_SIGNING=
-
. "$topsrcdir/build/mozconfig.common.override"
diff --git a/mail/moz.configure b/mail/moz.configure
--- a/mail/moz.configure
+++ b/mail/moz.configure
@@ -12,6 +12,7 @@
imply_option("MOZ_CRASHREPORTER_URL", "https://crash-reports.thunderbird.net/")
imply_option("--enable-default-browser-agent", False)
+imply_option("MOZ_REQUIRE_SIGNING", False)
@depends(target_is_windows, target_is_linux)

View File

@ -129,6 +129,7 @@ Patch304: mozilla-1245783.patch
# Upstream patches # Upstream patches
Patch402: mozilla-526293.patch Patch402: mozilla-526293.patch
Patch406: mozilla-1170092.patch Patch406: mozilla-1170092.patch
Patch407: mozilla-1727113-enableaddons.diff
%if %{official_branding} %if %{official_branding}
# Required by Mozilla Corporation # Required by Mozilla Corporation
@ -292,6 +293,9 @@ debug %{name}, you want to install %{name}-debuginfo instead.
%patch402 -p1 -b .526293 %patch402 -p1 -b .526293
%patch406 -p1 -b .1170092-etc-conf %patch406 -p1 -b .1170092-etc-conf
pushd comm
%patch407 -p1 -b .1727113-enableaddons.diff
popd
%if %{official_branding} %if %{official_branding}
# Required by Mozilla Corporation # Required by Mozilla Corporation