X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=thunderbird.spec;h=35dc629271c0f5238f94f4157889ac934f50ed02;hb=cfca2744d898311245e0d0435bc13143d60cdc4c;hp=98530ae767a3ea83f2dac70bef637054f20e2dd2;hpb=f1e321c96394b25315288852782054a2805ec50c;p=packages%2Fthunderbird.git diff --git a/thunderbird.spec b/thunderbird.spec index 98530ae..35dc629 100644 --- a/thunderbird.spec +++ b/thunderbird.spec @@ -4,17 +4,17 @@ # # Conditional builds %bcond_with tests # enable tests (whatever they check) -%bcond_without ldap # disable e-mail address lookups in LDAP directories %bcond_without lightning # disable Sunbird/Lightning calendar %bcond_without official # official Thunderbird branding %bcond_with crashreporter # report crashes to crash-stats.mozilla.com -%bcond_without gold # use default linker instead of gold +%bcond_with gold # use gold instead of default linker # - disabled shared_js - https://bugzilla.mozilla.org/show_bug.cgi?id=1039964 %bcond_with shared_js # shared libmozjs library [broken] %bcond_without system_icu # build without system ICU %bcond_with system_cairo # build with system cairo (not supported in 60.0) %bcond_with system_libvpx # build with system libvpx (60.7.0 does not build with libvpx 1.8) -%bcond_without clang # build using Clang/LLVM +%bcond_with clang # build using Clang/LLVM +%bcond_with lowmem # lower memory requirements # UPDATING TRANSLATIONS: %if 0 @@ -31,147 +31,148 @@ curl -s $U | sed -ne 's,.*href="\([^"]\+\)/".*,'"$U"'xpi/\1.xpi,p' %undefine crashreporter %endif -%define nspr_ver 4.21 -%define nss_ver 3.44.1 +%ifarch %{ix86} %{arm} aarch64 +%define with_lowmem 1 +%endif -# The actual sqlite version (see RHBZ#480989): -%define sqlite_build_version %(pkg-config --silence-errors --modversion sqlite3 2>/dev/null || echo ERROR) +%define nspr_ver 4.25 +%define nss_ver 3.53.1 Summary: Thunderbird - email client Summary(pl.UTF-8): Thunderbird - klient poczty Name: thunderbird -Version: 68.0 +Version: 78.2.0 Release: 1 License: MPL v2.0 Group: X11/Applications/Mail Source0: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/source/%{name}-%{version}.source.tar.xz -# Source0-md5: 79fbff6edded2fce28026c617dec805c +# Source0-md5: 8a6017a88eee1fb98ca002de0b0e0a64 Source1: %{name}.desktop Source2: %{name}.sh -Source100: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/ar.xpi -# Source100-md5: d5e114116a5e36856f3353f153d7bc61 -Source101: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/ast.xpi -# Source101-md5: 2b2ac31bfb2e429f64323f35e62baf8f -Source102: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/be.xpi -# Source102-md5: ddf45714aa4b4f31aa396c3860b2228f -Source103: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/bg.xpi -# Source103-md5: c20fc99646e5ef9f0c766d86b9da1adb -Source104: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/br.xpi -# Source104-md5: d7ce37e52ea831a4e123f970e4b3d266 -Source105: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/ca.xpi -# Source105-md5: c57d00bfcad2db63acd5f04b3aa5394e -Source106: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/cs.xpi -# Source106-md5: 60ffd65ac5ccb8289adfb517a1a62dca -Source107: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/cy.xpi -# Source107-md5: b352ccb56b4d8eefe53ca9db54ade441 -Source108: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/da.xpi -# Source108-md5: b2580d68bc3696c93becb7f580896df1 -Source109: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/de.xpi -# Source109-md5: c6554eb16f9fba7cdcfcedc5d541b6f5 -Source110: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/dsb.xpi -# Source110-md5: 4ac6ee426e196b3226368413179a8e6c -Source111: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/el.xpi -# Source111-md5: dd31d910010462670a49a946993f5a82 -Source112: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/en-GB.xpi -# Source112-md5: 3ba76b86401665573f7feb53bec585cc -Source113: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/en-US.xpi -# Source113-md5: afc3399baafd6dd40280146762b7e215 -Source114: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/es-AR.xpi -# Source114-md5: 24f9ce861b8bede5feb33aab47d84ce4 -Source115: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/es-ES.xpi -# Source115-md5: 4eacbc0393b84e2eb3817c0c6ced62b4 -Source116: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/et.xpi -# Source116-md5: 70074fc2361424d42b51e422f8a74ae2 -Source117: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/eu.xpi -# Source117-md5: 303a3c31980e3d2a88787553cdb04280 -Source118: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/fi.xpi -# Source118-md5: ccddfdfa45aa87421c9e729fe771f510 -Source119: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/fr.xpi -# Source119-md5: 140d6f3befda4f227756304317f3e279 -Source120: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/fy-NL.xpi -# Source120-md5: c656b1c21c64435bfbca05e2c4d462a0 -Source121: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/ga-IE.xpi -# Source121-md5: 84deed1b3170bc89cf928650da717feb -Source122: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/gd.xpi -# Source122-md5: 7321c9f9fcd844ff4954f4e87b303bd7 -Source123: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/gl.xpi -# Source123-md5: 77475473005736d8a4782ffe7303067a -Source124: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/he.xpi -# Source124-md5: 65cc42ea29a8decab59a053a4727217e -Source125: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/hr.xpi -# Source125-md5: 51f62444887a5e30804ed38b69c7acff -Source126: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/hsb.xpi -# Source126-md5: f1370c44368e674977135a79c379c798 -Source127: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/hu.xpi -# Source127-md5: fe8b2c7631f8dd7a21504eb685ff7531 -Source128: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/hy-AM.xpi -# Source128-md5: 2d662e9d1f7e041da00010f156cdf768 -Source129: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/id.xpi -# Source129-md5: b13d1286a490e1116ed7980e85d5a099 -Source130: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/is.xpi -# Source130-md5: 8be73084b5812588158986735f71a3f3 -Source131: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/it.xpi -# Source131-md5: e8513a35d4d7bbcaabbfd78da24db72a -Source132: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/ja.xpi -# Source132-md5: 0d64b38da764674fbb18396dc991d332 -Source133: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/kab.xpi -# Source133-md5: b2d1d5dd6a2be6e021f73003da3044a4 -Source134: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/kk.xpi -# Source134-md5: 962a95cfcb93aa72cc46d37b8d24d853 -Source135: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/ko.xpi -# Source135-md5: 9da478aee2b85aa1af91d4adde523860 -Source136: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/lt.xpi -# Source136-md5: d53cadbd712b26134b333a2c2540c0a3 -Source137: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/ms.xpi -# Source137-md5: ec17a19acd79bdf956d3f0df67c8d381 -Source138: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/nb-NO.xpi -# Source138-md5: ff43e00a84325083b1eab08744e0c473 -Source139: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/nl.xpi -# Source139-md5: a5d721f6b688d57074dd39ef95e2a6cf -Source140: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/nn-NO.xpi -# Source140-md5: acfcb526762615d5cb7570b49b147537 -Source141: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/pl.xpi -# Source141-md5: 0564c146722bae34ad39efd801eff587 -Source142: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/pt-BR.xpi -# Source142-md5: 72a8bc3dbda72559437efc12caecb8e8 -Source143: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/pt-PT.xpi -# Source143-md5: 8f09353c5b9e69f995b6737862979dec -Source144: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/rm.xpi -# Source144-md5: 3c7e21574546f6bc11f6cfaac4416893 -Source145: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/ro.xpi -# Source145-md5: ee7293b221c8d32d76bae90b87734561 -Source146: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/ru.xpi -# Source146-md5: 7357452581604895bae66088fa3ef54e -Source147: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/si.xpi -# Source147-md5: 5e12bef0bc2a742a22ca6b8babb13fa5 -Source148: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/sk.xpi -# Source148-md5: 67cdb3d53d79af83a5fa19b8467f67a4 -Source149: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/sl.xpi -# Source149-md5: 72f988b4997bef2c8aa1a13b3968ba60 -Source150: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/sq.xpi -# Source150-md5: fba648aacaf1f623262d2d2ae7b67553 -Source151: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/sr.xpi -# Source151-md5: 80a3e322da3c9359483347c9469ddd67 -Source152: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/sv-SE.xpi -# Source152-md5: ef7617e052a45d2864dd9bebc22c74ad -Source153: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/tr.xpi -# Source153-md5: 2d239b6eb141d30d6f60b603459a8e6a -Source154: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/uk.xpi -# Source154-md5: 3c16e9c798c6289855daad0c28568fe0 -Source155: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/vi.xpi -# Source155-md5: d6552117e8bf0da91d32af77d278da50 -Source156: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/zh-CN.xpi -# Source156-md5: b3fde48e00cb3c7a4ce2e59e5afc4fde -Source157: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/zh-TW.xpi -# Source157-md5: dadb95754415a28ad5e5a7818e2edb5d +Source100: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ar.xpi +# Source100-md5: de505819f02c729372fab2955e9a3afc +Source101: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ast.xpi +# Source101-md5: a6560732f2138f785431763aa51aab60 +Source102: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/be.xpi +# Source102-md5: a09571436156edfc5ee6455138052851 +Source103: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/bg.xpi +# Source103-md5: f16d2b22065dfcbbf872af20ed1a3e9c +Source104: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/br.xpi +# Source104-md5: 7f8fde06970a44407d0795c14a5f45b7 +Source105: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ca.xpi +# Source105-md5: 4db9883bf2f2197c69d5533e10d2be5e +Source106: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/cs.xpi +# Source106-md5: 83b9e7fa4507dc36f066b2123f85a23a +Source107: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/cy.xpi +# Source107-md5: cb41d16f6863b6eaf6fabde19449fb1f +Source108: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/da.xpi +# Source108-md5: 9bba72601a8c69d55b75d82238871308 +Source109: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/de.xpi +# Source109-md5: afaaa74914c384891fd96d652258519b +Source110: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/dsb.xpi +# Source110-md5: 0f614c0d97cad358531acee3c31e553a +Source111: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/el.xpi +# Source111-md5: eaeaca8a26411ba4c1e559da67401d78 +Source112: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/en-GB.xpi +# Source112-md5: 55f88c0b40b46f3f6bec1b8a6179d562 +Source113: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/en-US.xpi +# Source113-md5: 3faf9f58003b11f109b267b6fcf0a11e +Source114: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/es-AR.xpi +# Source114-md5: f813521212ef550fdb0b344c33842deb +Source115: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/es-ES.xpi +# Source115-md5: 6584f0077571f502ce395c830f2e98ce +Source116: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/et.xpi +# Source116-md5: 8fe51378ae559f7eb1fc7cfbf76d9e20 +Source117: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/eu.xpi +# Source117-md5: c48ecc20003e5f3bd247005e26e6a75b +Source118: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/fi.xpi +# Source118-md5: 6318e5d3312088e016da52571ce6dd17 +Source119: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/fr.xpi +# Source119-md5: 413d3bd99777bb39639273d7090bc69c +Source120: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/fy-NL.xpi +# Source120-md5: 6fd087430eb3f12bd52d6ba2f00442ee +Source121: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ga-IE.xpi +# Source121-md5: 4b3dacc9b8ca25f1e10c0a612575e932 +Source122: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/gd.xpi +# Source122-md5: b017fb55b247558d4f5222860c6b8528 +Source123: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/gl.xpi +# Source123-md5: 01ffe7441a7242eb0a46fe334506f32a +Source124: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/he.xpi +# Source124-md5: e836272404ae5047514d81ded8b6c701 +Source125: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/hr.xpi +# Source125-md5: 8e143b7da73e0e4c073cc294de794657 +Source126: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/hsb.xpi +# Source126-md5: 076314c88aeabcc4774302b121ce8bdf +Source127: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/hu.xpi +# Source127-md5: fa440aae9f359e7c576ecdedf52671a9 +Source128: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/hy-AM.xpi +# Source128-md5: ba36067ce5f59983dd34ee069cb802ef +Source129: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/id.xpi +# Source129-md5: 4a7c51c5ffbe243e6c45972b099f70d5 +Source130: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/is.xpi +# Source130-md5: bc9b18168f0c31e2047d62f861f09de9 +Source131: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/it.xpi +# Source131-md5: 0fa5006054e118b04ebecb544b53e181 +Source132: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ja.xpi +# Source132-md5: 624e276989009b4f0be30b4f2d98fa53 +Source133: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/kab.xpi +# Source133-md5: 8f17a0fba666687f0b1a6c84a103ee84 +Source134: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/kk.xpi +# Source134-md5: d74abcc70929f68595f53ad9991812b7 +Source135: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ko.xpi +# Source135-md5: f83f83497585f8771df978410b8222a3 +Source136: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/lt.xpi +# Source136-md5: 7a0ce91057d95b320bcf15a76085ccbc +Source137: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ms.xpi +# Source137-md5: 48e51e11a60542dc063b132d7818f89c +Source138: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/nb-NO.xpi +# Source138-md5: 2094755e277ba2235e33cd8bb80446fe +Source139: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/nl.xpi +# Source139-md5: 4130b03126a262006457547b143e567e +Source140: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/nn-NO.xpi +# Source140-md5: a103543d68f1ac22641586922d5a47e4 +Source141: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/pl.xpi +# Source141-md5: d869d9fa31ac1d34bfded0cc09f17273 +Source142: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/pt-BR.xpi +# Source142-md5: ded879e1d41a9aa2eba7eac6fb434d20 +Source143: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/pt-PT.xpi +# Source143-md5: 19b58e46ad809deb4aff3439d32f5080 +Source144: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/rm.xpi +# Source144-md5: 5fc7cb544ee8d076089cfe22a4733a87 +Source145: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ro.xpi +# Source145-md5: db3d5dc5cef9cfd2db33d3544e59ef89 +Source146: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ru.xpi +# Source146-md5: f80243231dcf31fb58b7f3ce838c6d46 +Source147: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/si.xpi +# Source147-md5: d4553bcacdf36af5c4d873ff103b7ca3 +Source148: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/sk.xpi +# Source148-md5: 948c917fe6f95efa47a322a14be9f3aa +Source149: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/sl.xpi +# Source149-md5: ffb2995ea43a90e3b9d89462317a9486 +Source150: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/sq.xpi +# Source150-md5: 07079843e6c5deebc75ef2b3382a7877 +Source151: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/sr.xpi +# Source151-md5: a9db7ffea6fdabd2adeaafab7caef903 +Source152: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/sv-SE.xpi +# Source152-md5: 4de1f4bd66df2da0f983d69261f08ea3 +Source153: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/tr.xpi +# Source153-md5: 6f3263458995440cb4c2660c7d991ad0 +Source154: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/uk.xpi +# Source154-md5: b6ef6581b53ac54d5f3b032a3d0a7f90 +Source155: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/vi.xpi +# Source155-md5: ce59974b2006cf9c419c15c7265e2237 +Source156: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/zh-CN.xpi +# Source156-md5: 1ededefdc8017318fea1d89f06acc3f2 +Source157: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/zh-TW.xpi +# Source157-md5: 7dd73f0cd9e8a7c43cef2cb6ca888066 Patch0: prefs.patch Patch1: no-subshell.patch Patch2: enable-addons.patch +Patch3: %{name}-system-virtualenv.patch URL: http://www.mozilla.org/projects/thunderbird/ BuildRequires: alsa-lib-devel BuildRequires: autoconf2_13 >= 2.13 %{?with_gold:BuildRequires: binutils >= 3:2.20.51.0.7} -BuildRequires: bzip2-devel %{?with_system_cairo:BuildRequires: cairo-devel >= 1.10.2-5} BuildRequires: cargo %{?with_clang:BuildRequires: clang} @@ -180,7 +181,7 @@ BuildRequires: dbus-glib-devel >= 0.60 BuildRequires: fontconfig-devel >= 2.7.0 BuildRequires: freetype-devel >= 1:2.1.8 BuildRequires: glib2-devel >= 1:2.22 -BuildRequires: gtk+3-devel >= 3.4.0 +BuildRequires: gtk+3-devel >= 3.14.0 BuildRequires: libatomic-devel BuildRequires: libevent-devel BuildRequires: libffi-devel > 3.0.9 @@ -190,10 +191,11 @@ BuildRequires: libiw-devel BuildRequires: libjpeg-devel >= 6b BuildRequires: libjpeg-turbo-devel BuildRequires: libpng-devel >= 2:1.6.25 -BuildRequires: libstdc++-devel +BuildRequires: libstdc++-devel >= 6:4.8.1 %{?with_system_libvpx:BuildRequires: libvpx-devel >= 1.5.0} BuildRequires: llvm-devel BuildRequires: mozldap-devel +BuildRequires: nodejs >= 8.11 BuildRequires: nspr-devel >= 1:%{nspr_ver} BuildRequires: nss-devel >= 1:%{nss_ver} BuildRequires: pango-devel >= 1:1.22.0 @@ -203,10 +205,8 @@ BuildRequires: pkgconfig BuildRequires: python >= 1:2.7 BuildRequires: python-virtualenv BuildRequires: rust >= 1.34.0 -BuildRequires: rust-cbindgen >= 0.8.2 +BuildRequires: rust-cbindgen >= 0.14.1 BuildRequires: sed >= 4.0 -BuildRequires: sqlite3-devel >= 3.28.0 -BuildRequires: startup-notification-devel >= 0.8 BuildRequires: virtualenv BuildRequires: xorg-lib-libX11-devel BuildRequires: xorg-lib-libXcomposite-devel @@ -223,19 +223,20 @@ Requires(post): mktemp >= 1.5-18 %{?with_system_cairo:Requires: cairo >= 1.10.2-5} Requires: dbus-glib >= 0.60 Requires: glib2 >= 1:2.22 -Requires: gtk+3 >= 3.4.0 +Requires: glibc >= 6:2.17 +Requires: gtk+3 >= 3.14.0 Requires: libpng >= 2:1.6.25 +Requires: libstdc++ >= 6:4.8.1 %{?with_system_libvpx:Requires: libvpx >= 1.5.0} Requires: myspell-common Requires: nspr >= 1:%{nspr_ver} Requires: nss >= 1:%{nss_ver} Requires: pango >= 1:1.22.0 -Requires: sqlite3 >= %{sqlite_build_version} -Requires: startup-notification >= 0.8 Requires: libjpeg-turbo Obsoletes: icedove Obsoletes: mozilla-thunderbird Obsoletes: mozilla-thunderbird-dictionary-en-US +Obsoletes: thunderbird-addon-lightning < 78.0 Conflicts: thunderbird-lang-resources < %{version} BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -248,10 +249,11 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) # firefox/thunderbird/seamonkey provide their own versions %define _noautoprovfiles %{_libdir}/%{name}/components +%define moz_caps liblgpllibs.so libmozalloc.so libmozgtk.so libmozjs.so libmozsandbox.so libmozsqlite3.so libmozwayland.so librnp.so libxul.so # we don't want these to satisfy packages depending on xulrunner -%define _noautoprov libmozalloc.so libmozjs.so libxul.so +%define _noautoprov %{moz_caps} # and as we don't provide them, don't require either -%define _noautoreq libmozalloc.so libmozjs.so libxul.so +%define _noautoreq %{moz_caps} %define topdir %{_builddir}/thunderbird-%{version} %define objdir %{topdir}/obj-%{_target_cpu} @@ -263,21 +265,6 @@ Thunderbird is an open-source, fast and portable email client. Thunderbird jest mającym otwarte źródła, szybkim i przenośnym klientem poczty. -%package addon-lightning -Summary: An integrated calendar for Thunderbird -Summary(pl.UTF-8): Zintegrowany kalendarz dla Thunderbird -License: MPL 1.1 or GPL v2+ or LGPL v2.1+ -Group: Applications/Networking -Requires: %{name} = %{version}-%{release} -Obsoletes: icedove-addon-lightning - -%description addon-lightning -Lightning is an calendar extension to Thunderbird email client. - -%description addon-lightning -l pl.UTF-8 -Lightning to rozszerzenie do klienta poczty Thunderbird dodające -funkcjonalność kalendarza. - %package lang-ar Summary: Arabic resources for Thunderbird Summary(pl.UTF-8): Arabskie pliki językowe dla Thunderbirda @@ -1253,6 +1240,7 @@ unpack() { %patch0 -p1 %patch1 -p1 %patch2 -p0 +%patch3 -p2 %build cp -p %{_datadir}/automake/config.* build/autoconf @@ -1268,8 +1256,23 @@ export CXX="clang++" export CC="%{__cc}" export CXX="%{__cxx}" %endif +%ifarch %{ix86} +export CFLAGS="%{rpmcflags} -D_FILE_OFFSET_BITS=64" +export CXXFLAGS="%{rpmcxxflags} -D_FILE_OFFSET_BITS=64" +%else export CFLAGS="%{rpmcflags} -D_FILE_OFFSET_BITS=64" export CXXFLAGS="%{rpmcxxflags} -D_FILE_OFFSET_BITS=64" +%endif + +%if %{with lowmem} +export CFLAGS="$CFLAGS -g0" +export CXXFLAGS="$CXXFLAGS -g0" +export MOZ_DEBUG_FLAGS=" " +export LLVM_USE_SPLIT_DWARF=1 +export LLVM_PARALLEL_LINK_JOBS=1 +export MOZ_LINK_FLAGS="-Wl,--no-keep-memory -Wl,--reduce-memory-overheads" +export RUSTFLAGS="-Cdebuginfo=0" +%endif %if %{with crashreporter} export MOZ_DEBUG_SYMBOLS=1 @@ -1304,29 +1307,21 @@ ac_add_options --enable-crashreporter %else ac_add_options --disable-crashreporter %endif -#ac_add_options --disable-elf-hack -ac_add_options --disable-gconf +%ifarch %{ix86} %{x8664} %{arm} +ac_add_options --disable-elf-hack +%endif ac_add_options --disable-necko-wifi ac_add_options --disable-updater ac_add_options --enable-alsa ac_add_options --enable-application=comm/mail ac_add_options --enable-chrome-format=omni ac_add_options --enable-default-toolkit=cairo-gtk3 -%if %{with ldap} -ac_add_options --enable-ldap -%else -ac_add_options --disable-ldap -%endif %{?with_official:ac_add_options --enable-official-branding} %{?with_gold:ac_add_options --enable-linker=gold} -ac_add_options --enable-readline %{?with_shared_js:ac_add_options --enable-shared-js} -ac_add_options --enable-startup-notification %{?with_system_cairo:ac_add_options --enable-system-cairo} ac_add_options --enable-system-ffi -ac_add_options --enable-system-sqlite ac_add_options --with-distribution-id=org.pld-linux -ac_add_options --with-system-bz2 ac_add_options --with%{!?with_system_icu:out}-system-icu ac_add_options --with-system-jpeg ac_add_options --with-system-libevent @@ -1337,7 +1332,18 @@ ac_add_options --with-system-png ac_add_options --with-system-zlib EOF -export MOZ_MAKE_FLAGS="-j1" +%if ! %{with clang} +# On x86_64 architectures, Mozilla can build up to 4 jobs at once in parallel, +# however builds tend to fail on other arches when building in parallel. +MOZ_PARALLEL_BUILD=1 +%ifarch %{x8664} +jobs="%{__jobs}" +[ -n "$jobs" -a "$jobs" -gt 4 ] && MOZ_PARALLEL_BUILD=4 || MOZ_PARALLEL_BUILD="$jobs" +%endif +export MOZ_PARALLEL_BUILD +%else +%{?__jobs:export MOZ_PARALLEL_BUILD="%__jobs"} +%endif AUTOCONF=/usr/bin/autoconf2_13 ./mach build @@ -1415,14 +1421,6 @@ exit 0 %post %update_desktop_database_post -# make temporary HOME, as it attempts to touch files in $HOME/.mozilla -# dangerous if you run this with sudo with keep_env += HOME -# also TMPDIR could be pointing to sudo user's homedir so we reset that too. -export HOME=$(mktemp -d) -unset TMPDIR TMP || : -umask 022 -%{_libdir}/%{name}/thunderbird -register -rm -rf $HOME %postun %update_desktop_database_postun @@ -1438,8 +1436,12 @@ rm -rf $HOME %attr(755,root,root) %{_libdir}/%{name}/libmozgtk.so %attr(755,root,root) %{_libdir}/%{name}/liblgpllibs.so %{?with_shared_js:%attr(755,root,root) %{_libdir}/%{name}/libmozjs.so} +%ifarch %{ix86} %{x8664} %attr(755,root,root) %{_libdir}/%{name}/libmozsandbox.so +%endif +%attr(755,root,root) %{_libdir}/%{name}/libmozsqlite3.so %attr(755,root,root) %{_libdir}/%{name}/libmozwayland.so +%attr(755,root,root) %{_libdir}/%{name}/librnp.so %attr(755,root,root) %{_libdir}/%{name}/libxul.so %attr(755,root,root) %{_libdir}/%{name}/*-bin %attr(755,root,root) %{_libdir}/%{name}/pingsender @@ -1448,8 +1450,6 @@ rm -rf $HOME %attr(755,root,root) %{_libdir}/%{name}/thunderbird %{_libdir}/%{name}/application.ini -%{_libdir}/%{name}/blocklist.xml -%{_libdir}/%{name}/chrome.manifest %{_libdir}/%{name}/dependentlibs.list %{_libdir}/%{name}/omni.ja %{_libdir}/%{name}/platform.ini @@ -1467,9 +1467,6 @@ rm -rf $HOME %{_libdir}/%{name}/Throbber-small.gif %endif -%dir %{_libdir}/%{name}/distribution -%dir %{_libdir}/%{name}/distribution/extensions - # symlinks %{_libdir}/%{name}/chrome %{_libdir}/%{name}/defaults @@ -1482,14 +1479,9 @@ rm -rf $HOME %dir %{_datadir}/%{name} %{_datadir}/%{name}/chrome %{_datadir}/%{name}/defaults +%dir %{_datadir}/%{name}/extensions %{_datadir}/%{name}/isp -%if %{with lightning} -%files addon-lightning -%defattr(644,root,root,755) -%{_libdir}/%{name}/distribution/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}.xpi -%endif - %files lang-ar %defattr(644,root,root,755) %{_datadir}/%{name}/extensions/langpack-ar@thunderbird.mozilla.org.xpi