thunderbird: 78.13.0 -> 91.0

This commit is contained in:
Yureka 2021-07-13 19:15:12 +02:00
parent 8b1c14045d
commit fb9860709c
3 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,13 @@
Remove about:buildconfig. If used as-is, it would add unnecessary runtime dependencies.
--- a/comm/mail/base/jar.mn
+++ b/comm/mail/base/jar.mn
@@ -119,9 +119,6 @@ messenger.jar:
% override chrome://mozapps/content/profile/profileDowngrade.js chrome://messenger/content/profileDowngrade.js
% override chrome://mozapps/content/profile/profileDowngrade.xhtml chrome://messenger/content/profileDowngrade.xhtml
-* content/messenger/buildconfig.html (content/buildconfig.html)
-% override chrome://global/content/buildconfig.html chrome://messenger/content/buildconfig.html
-
# L10n resources and overrides.
% override chrome://mozapps/locale/profile/profileDowngrade.dtd chrome://messenger/locale/profileDowngrade.dtd
% override chrome://global/locale/netError.dtd chrome://messenger/locale/netError.dtd

View File

@ -9,6 +9,34 @@ in
rec { rec {
thunderbird = common rec { thunderbird = common rec {
pname = "thunderbird";
version = "91.0";
application = "comm/mail";
binaryName = pname;
src = fetchurl {
url = "mirror://mozilla/thunderbird/releases/${version}/source/thunderbird-${version}.source.tar.xz";
sha512 = "f3fcaff97b37ef41850895e44fbd2f42b0f1cb982542861bef89ef7ee606c6332296d61f666106be9455078933a2844c46bf243b71cc4364d9ff457d9c808a7a";
};
patches = [
./no-buildconfig-90.patch
];
meta = with lib; {
description = "A full-featured e-mail client";
homepage = "https://thunderbird.net/";
maintainers = with maintainers; [ eelco lovesegfault pierron vcunat ];
platforms = platforms.unix;
badPlatforms = platforms.darwin;
broken = stdenv.buildPlatform.is32bit; # since Firefox 60, build on 32-bit platforms fails with "out of memory".
# not in `badPlatforms` because cross-compilation on 64-bit machine might work.
license = licenses.mpl20;
};
updateScript = callPackage ./update.nix {
attrPath = "thunderbird-unwrapped";
};
};
thunderbird-78 = common rec {
pname = "thunderbird"; pname = "thunderbird";
version = "78.13.0"; version = "78.13.0";
application = "comm/mail"; application = "comm/mail";

View File

@ -27659,7 +27659,10 @@ with pkgs;
}); });
thunderbird-unwrapped = thunderbirdPackages.thunderbird; thunderbird-unwrapped = thunderbirdPackages.thunderbird;
thunderbird-78-unwrapped = thunderbirdPackages.thunderbird-78;
thunderbird = wrapThunderbird thunderbird-unwrapped { }; thunderbird = wrapThunderbird thunderbird-unwrapped { };
thunderbird-78 = wrapThunderbird thunderbird-78-unwrapped { };
thunderbird-wayland = wrapThunderbird thunderbird-unwrapped { forceWayland = true; };
thunderbolt = callPackage ../os-specific/linux/thunderbolt {}; thunderbolt = callPackage ../os-specific/linux/thunderbolt {};