From 7345fa4a898306fd2df62adf4f9049225058e0f7 Mon Sep 17 00:00:00 2001 From: Joonas Niilola Date: Sun, 9 Jan 2022 18:19:02 +0200 Subject: mail-client/thunderbird: add 91.4.1 Signed-off-by: Joonas Niilola --- mail-client/thunderbird/Manifest | 64 ++ mail-client/thunderbird/thunderbird-91.4.1.ebuild | 1130 +++++++++++++++++++++ 2 files changed, 1194 insertions(+) create mode 100644 mail-client/thunderbird/thunderbird-91.4.1.ebuild diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest index 1632b291..a525c88d 100644 --- a/mail-client/thunderbird/Manifest +++ b/mail-client/thunderbird/Manifest @@ -63,3 +63,67 @@ DIST thunderbird-91.4.0-vi.xpi 706359 BLAKE2B e94cab57c25110b0d7ad38d98bfe24d4d4 DIST thunderbird-91.4.0-zh-CN.xpi 714608 BLAKE2B d1932a4b0cd1698291d1838973d8ea677a2084359fa3ebfc6f6fa4100d61e4f4ab747cb5cdf55b59d0d4a8e5015240bc3b2044dad35ab67231fbcc117afd9495 SHA512 d91f7d7ac2cd9ef3f57d446354c15a9a828167bcca4c574aa910b80bb2c1d4ad24b5f38fc5629bd43412bf8e6bc0ab704272ba6221d0ab55a4ee11880d1be06c DIST thunderbird-91.4.0-zh-TW.xpi 715957 BLAKE2B 0bfc3b3cbc415e429feaee7564b8b948db81a717eef8c738648bab7ad9ed04d996c284fbd1ef40013c39955d49502a1e23b6764e0866ae60d082ccefd0633a6e SHA512 e146d14ecfb96ee85e38680bbcdec34ad13228ebe5dc10128992280905a216ad1028171a6d7b289285c3dbc943dbea6db46533db93906134a1ad4a28373f95bc DIST thunderbird-91.4.0.source.tar.xz 401512224 BLAKE2B c3daf5e0d4d916b0d5f258599a5866a0d4f0b272ca15a083d4a5533546aa6033a7b076da77b74f8698b2828b6b3f786469017ef51e313fb55753e59cb8bbf974 SHA512 f19eba17b8018d11358258f6c9fbe4b2d20858f5afdf82ad5a81de5f6191f833ecf01ee4631297b0880dfa8b76baa1f9cd09a976cab2d2206ca5a902283fa102 +DIST thunderbird-91.4.1-af.xpi 560246 BLAKE2B 95239a0d07de28b7bd7f31d458924cf8cba5f553858e5e05811b166456166547fd347e057a44ef5f224324f6475272ce9e5c486c535693ffc447cb503e66cae1 SHA512 9d16103bffb0caec1dda18efe4784ef2a680e38305d16e00a833a914085f5505630cec79f59574da080efe01e12a3ee2ef80bebd3c26bce8d7c1255843eed530 +DIST thunderbird-91.4.1-ar.xpi 660313 BLAKE2B c2c154f84984309231597c2adf9e05453b59d1b279b7bb57cc1ac8ad98dd3c60838b3b0bdf4e70a73b1732290891f0af2332d8c7f39fa8638bfd10c560e75525 SHA512 0f366a7abbc5c8db13eb28b3a1dd0e376785b30d708620f3a4642e620f624cd8786de5714d34f0c10f01bca688cbea4b11da1ffea309574e3be9385e55f0aac2 +DIST thunderbird-91.4.1-ast.xpi 577053 BLAKE2B e0fabe62f470792f5c098e801b2dec58fc91e272bdf5fedd40c98babaa7161da0e6dc950984b14400f7c900592af74f3f0a685ff25334e88d90ae85dd5155c90 SHA512 9c5e8482009cbadac5f843bc53560bd9d5d6d85117f86916832a964e8aaec08f8b0d57365c91a5b680edfaa18766f8467ff72bb7b738aaaa369cdb4468e6a451 +DIST thunderbird-91.4.1-be.xpi 687228 BLAKE2B 80c35dbccb29556ea05e722ac350d6efc556560064d671d751ba8ba40376d61df1ee2d7a9d3ca098c90171702213dc707d6bcabd54c70e69c0984a05112cb2a8 SHA512 a25443bc776875eb1b83360d90c79be6fd9aa514f71a71cc4d7adc7a26b6074ef09aed3c4b77b32964add76ee4b2b25992add40b52844c113c198e46fd2dbb38 +DIST thunderbird-91.4.1-bg.xpi 686417 BLAKE2B 444f29037a2a64eb6862d1e3f4a7cc7903ebac0d855934648b6e0a0000a8f10131c9a0e92e66f6c0b53eba8a4f4d7ffab933eb40e5b7f786a2a2411fc53af292 SHA512 4a8a31984d7eb2a277b7bf464a0477380b81b0836afa037af484b4443906e86176c3947463fea6600486c054bdd8b94a5c6d83ac5822eabcbbc0cfff7366ce92 +DIST thunderbird-91.4.1-br.xpi 616017 BLAKE2B b13c758fe51f5b85d6e3d2642d415a4df07f7f5f650e5a2d6e205e9a7e824cc78821d90331d415fb383cf09ed189dd8a9e21122fd86f63e4b25e68728ee84d72 SHA512 b3db289fe6a81191fadf567da66ebfb4acf691e326e23e87172637e495791403b5c77d1c6ae18da9bd0e411e9f1a539f1e567b8f7a04710667ee963d0c7ad728 +DIST thunderbird-91.4.1-ca.xpi 641159 BLAKE2B 171280020e5fec93b793c3a9c1babfc1a13905669ecc3e92b004cbb15356b681087caeb894c7973f4008006c556c3ce4318c1ee5d5c5115ef4fed58b6b3c79d6 SHA512 430ba739825d7cc4f546e6769496f27e724ecbd8c30898fa2bf675bed91775710a975bc572bf6ba3ca90efd7ab07524428555be357a92a08bbbe14948fb1826c +DIST thunderbird-91.4.1-cak.xpi 647217 BLAKE2B b756b3f65801f044c251fb9a4d47b9f1dd3aeaebdc9831af5f20aff25048c78f735afcf53957f60b9be2b3193f1cfb15454bdfa5ae0ab2476fa4bb220a400eaf SHA512 73252550fadc91b29f75014041b65aca8998efa07354660f8ed32befb8e16618522c00de98952f426c950cbbcd2ba62a49a8d6a815786839256a446acc55f534 +DIST thunderbird-91.4.1-cs.xpi 698289 BLAKE2B 84f6603e35f669f08c7d9b7b4613d5da56b65ad00c0a25267e106aa06f799ed6dc6698a058135d20a010237a070606dc94704a3d378c806e5dc5762a15c32c19 SHA512 4a8018e983dfb153f3f8578556a5a3a47092881fa597ddc8e39ba2e7adcf7a1a6ebd06966c53eedd623a567f6d9adb18782eb5a1b5d18ad51a7515d869d45dc3 +DIST thunderbird-91.4.1-cy.xpi 673998 BLAKE2B c5f8c84e847d71c91ae79fd46ef6ec7efaa42e4de41ebc95c86eab7249e6f22a3ad3551891d85da9c4523b44362620dc2ecb606ef3647dc4a7e550318bcfd47b SHA512 82869097158ccc38c79b3c9a54c13f2d17c135aad49e27fc603b9a09fe89a5865d75f5b0daa0eb6ccbbc199e3217de0938a54627fa5889547ce4fa8de8e1b5c3 +DIST thunderbird-91.4.1-da.xpi 655952 BLAKE2B 17f01695864c7463737f11511005ca026ee7b19825b21dcd7521e78c98c28011488862f95fa760e9c94e96be02401f5b33a7518d0fe5ea47412b74a0585b240d SHA512 6b6847223824a0d93c2875c7aab7ffcb522f361dcdc7828e29f8868aabb1ab47ff50c466c3594ce31472a9398d9dfb963fd6c8feda38183851e2b90a04787df3 +DIST thunderbird-91.4.1-de.xpi 687004 BLAKE2B c46fc96430c0b5e53911924af653f7fb1ab6c6cabb6c0d5c28f27b2fcd39695a9cfa5179b06acc502a6ed34690a185753263c5ea18f9f3ef50be6bad6847b854 SHA512 63c13b0256ff83494f70d39cc458b8b1b76d37d57fd0824345ace7cabf3a8bd0afff185320942aa80385d42cb2f246c2fbbe6a30777d591fc37a4ab5756ab7e6 +DIST thunderbird-91.4.1-dsb.xpi 707237 BLAKE2B 17d4c9edd9cba8779058fec8fb3c313f78b12987a12792d0b34830dd868b321c307a34d3dbc30aa91e90d9d971b1c8b40ab92b37fbb2b7060dad9d7737e1b852 SHA512 a70bf6f691696349f94eef6704a534164cf253baf969fa784ea5b883e9a2b9b00598468106c98212b442d6510e42aed51273b370ef667b5c59a9beb3a22814f5 +DIST thunderbird-91.4.1-el.xpi 803556 BLAKE2B cbb949d4390d81b6221941004488152685af001e3afae704e05051b27c0b3626f2f3032c22f9c74c1ae460d221eda5affb5110511c9aa797a74a872334c8d171 SHA512 7006a5a03536bf425b61cf815cad32d86dc56a09cf170bb48a39404780decc761a7b06f7f25022f088e4607ce44f8619efb4637e51edbf080221c542f8f26b51 +DIST thunderbird-91.4.1-en-CA.xpi 634128 BLAKE2B 82d6ba831a92b149fdc3351a3313ea3b3b33d593b7b046b29ffa121d6b5bdf7fbe2480178556a89e94e559f9f0168ec9c4b4cf493b07c60a7f28ce7e63a13012 SHA512 55485b9c6281474c032a4b51c128b7f02f847cdc9e92aaac07dc65c92f090b2deb982b96debe844ee4fea683a890eaa5b0b6cc5f5af2577e452cac084f99755b +DIST thunderbird-91.4.1-en-GB.xpi 636516 BLAKE2B 71a85c2393e94b1bdba629907023e2e297b3873569fccdd1add095e7e134a5431113f37710112e6220365c0181ec4ff1bf3db379f680294c6d8e43ceb2b6209d SHA512 465951f7279a2c18aabd26ef5d3b31022167b6c30a7d490163643dff0a2cbf3c723e460f38d05a7285571f649c2396d1d8ecf73488cbb1ca79ee213d7bd4bd84 +DIST thunderbird-91.4.1-es-AR.xpi 685106 BLAKE2B 8ee71caaeabb1f958bac1f294a1fac894cf5311ab2dcc76f2d7807676746fe08861633121d3becc42b4d0a85dc464c16d4871ad1462da5cfc4771344da6afce3 SHA512 845397a154cd9c26491aba614e2193859343253d8d0c00bc500336e9184d736c9819a7135176b1cdfecdb0ae6be6a4dacef4da858924c3696a748a5bb5286dbe +DIST thunderbird-91.4.1-es-ES.xpi 573863 BLAKE2B 050523996c80cffa075aa6f5f8965e0d8fddc2b6da62eeacf24106c4f66d64535e197026c54d2098b545b1bec353dcd9867b1e0e6c8354db28b24aaad4f6b4ae SHA512 d6b5eb08335f7b36de9be0b2ca6b25d6918ed83aa591c8a67daa4a8f93fbadcfee2466a696926c2c39fd2701d61dd27642d6565d4ce7b17a04992a9a3fe318e9 +DIST thunderbird-91.4.1-et.xpi 598834 BLAKE2B 47d2d65536977150a5e33b50f8e0bfb06528fe4894d056cd36626373040f5347d1171e430a24157f3987b0353c3a17c3f607396876d0e0d27303f58d9afeec3f SHA512 e2c60b1c16e306c89732c8b49c2071598a5e286826e845e21abbf8b4352d3ab342ee77120db99c7dabea4f1420395035e0ee282fa93a8a3cfe43a788b8c5081f +DIST thunderbird-91.4.1-eu.xpi 666126 BLAKE2B 48280ce0d1079eec357f21ea88c8b9866298ce72023ad09c29b334731b475969275a4906270c2d15aacf1be91706f7d0e17343b8c6e0ad3cfd91012067c875f9 SHA512 efe46649f5db6c68a2cbe2d429ddf8dedfe62e26c0456f6038a6e871abb63bfcabdc4056ca0b61d97318ae4aa924bcbe0a8a08b26471a37a53bf07bb1a20a8e2 +DIST thunderbird-91.4.1-fi.xpi 664680 BLAKE2B 02cf643c40858b45b9594a4d737e6e0a15016c5fd0f8456939a2eec0aea859921a05ffb371288225d7c9b9ed255126162c67d6ab941dd044f67b35638928f698 SHA512 dbedd79f6cf0fb8b191a22154242dde86ee987d3b7c7edb3d33976aba7c242d71833626bce952d2d3816e24962906e9a7e65e44fdc5d16137f0e7741b23593ed +DIST thunderbird-91.4.1-fr.xpi 697506 BLAKE2B 3610effab4459561982d9c94480a6e4d3e7f9e07db6d2a7a244e77b794a5dc7968ca93ec99f8a648f3fcc6c07d13bc46d1a99a324850b33684ee58300d97a7a7 SHA512 2c3f0d6f0dadd09b4251e296154dcc83791487ffb18984a1556dfec48381b93f8274bd33a7031f261ac029bf600379734233fe58ab847842bd5f621068bcdc9d +DIST thunderbird-91.4.1-fy-NL.xpi 680172 BLAKE2B cd20fe34d40ff6dfd4465e0af662587b3ff8421aa3ce60ad48dafe76eab2b6bc6a94382eeebcc5f533c2850280d4b601e792f0ee72435e8b0bd2e72c87dc499e SHA512 7b1fd22aef57e9e22f0c5149fb74796a542d502025273e984195c247f0172115a4069198a80b99790278c07e85d4896f5be7ad361b8c532e2df891cd4e4ddf04 +DIST thunderbird-91.4.1-ga-IE.xpi 601909 BLAKE2B f278ed45afa59d1ec1d092de96af454a47b2f0083e9e5c7457f17a3e827643f5343f389cdc93fb8af469df86658993a6ea4aa169a260a8a2d28d23c6bf65db2c SHA512 00051ced5c1186eb9798764c3221344db3bed2436162e5691b74a7ed0f09149e9ee07c671b6a84c95cd3fed348419698b7507a89c9843eb32bd447f929dd599a +DIST thunderbird-91.4.1-gd.xpi 635777 BLAKE2B 95f7b6d6e3b3346af350c19edcdc9d276057ef8923fa3e021c7a0b176ddc47feafef4c61b6b1c8b9ac971570ae42664b9b0a2c5ab9ff25edbd8ab47ff670ed19 SHA512 8c20acb907b2c25327aac6ab47fb03a30a8e407584384b4d8e45dbf99b19c001fcdd49fdf18cec0558422a909ad779d8b2aa2761e9e17ecebba07c50542aa5cf +DIST thunderbird-91.4.1-gl.xpi 671076 BLAKE2B 20c4996e966c69cd484dfcd6342094f1f28dc8a6b31ab8421d7a8390eb08f86732fb3af301f6fc2b343879e3b450a7b389b8003c341ab9ae46d49b995cf34fe9 SHA512 2fee05db8eb7310d672bb8ce22c29e70cab50f9b577a1dbe4da9e7a6194b9aac73a69a84525feaebdff48c16019d4471adcc5d967a198ade3c6eb3ff06b4d0df +DIST thunderbird-91.4.1-he.xpi 665956 BLAKE2B 4edfb447075f10b6f7a6fc88414540bae2379ffe088e47c7bae31f425a934a9d2b33b2a06406c1d4beb965dd57ed9c600a0e2c83450ce8ec86541e99f57c802b SHA512 76e9451fa02a8b4f08bf519cf720e574698542f9a1ca5e85508bd429efb7df4d2897a1a19c36644e91e15260df50adcfeb25ed6d275367a78fb03ff702913885 +DIST thunderbird-91.4.1-hr.xpi 641173 BLAKE2B 3f4273f7e0236142ca42b3b9891418fa9aa05992f7c939a6dddd7564ed6552e534e325b5190dfeb23f28e25036243c6032af34ed14054194157a747e188be0c5 SHA512 8272a9a22662911afb4082152e2ca07014ceeda6641150a015849d1765e323f035cb5b98ed34d6347f9f685346f137a4dbbd661444734b8e177f438e9b45ab90 +DIST thunderbird-91.4.1-hsb.xpi 704706 BLAKE2B eeda0279e87ef3dede961598670dec15b17b517d16696014f1666f3c1ac960afc86f5ab36b54d55e7c94331b8f7b493acc7b774847bf1dbbd2fb97bab275ef4a SHA512 1c0c51a789f7823421ff0afa8bd775a7980bba7c6dd3882a35ade2ed3436adf84c249333071a51d2de61d46c86b28b91c86bb8548309e95f4e6fcf646272e3b9 +DIST thunderbird-91.4.1-hu.xpi 707541 BLAKE2B 0327c9427499f898c6d680b7b92b521b3a9af5fd13921e89c9189f96dc8bd82e8112316e9f06df033af1640279b6313bf73a74840afa6a97cb9fabd8fc33d963 SHA512 ef37bf12fcd637542ef6661858ad54ee47f76ca3f0280a4d1df7deb46ded59fbf773f4b3c5684397b0c6dedbadd930c0cac8fe9bb9bc06423d186e35d4fd7360 +DIST thunderbird-91.4.1-id.xpi 639036 BLAKE2B d1ea4d37d86b74a4ee3fcd752343f56aedff20e919b21f00a942c445b012d5ba92d450d7dbe3254dddd6bb7ac8a30be22d3f0337dcac318fbfacf6ab425dfdd0 SHA512 42dca44531dc90c70808992eeab9f634001ccdce99efea775b6a7222bc3faf366679019d57c1ad3881c7c7efd87e90d4fde71383188413ff9a082eaf6b1f51b8 +DIST thunderbird-91.4.1-is.xpi 575007 BLAKE2B d1913b54b14a0c3482661e1842d1393bf517f8f075c44636e6649178e798835f57265d06ee18204f4704253c89982d96cc4c8609c364b0941e5a796b5480d595 SHA512 a4bbf5af715763c86fb85ecd63acfb61ba76dab1c586871e5ffca82bba39d0fadffeb2813dac3922ba2344a8f18f15d1ac9ea2aefeb1b9d41a4544e7bead6445 +DIST thunderbird-91.4.1-it.xpi 600162 BLAKE2B e75693f0deef68a602d6503296c9aa6e67c5d25af748a4d244a19bf357fcb9fc95f3751ec6296104276f9b95147296aefafcb7c464808a84d4eed89227091339 SHA512 d7f1c29950e6458563c9052041eecf2ae7a097af2567512613dba29ad593b3252d0a9a4a040e3121a0018cf05d168d7d9277a003beabe92345eebf764e6be44c +DIST thunderbird-91.4.1-ja.xpi 741230 BLAKE2B 8459e5b3b38b36aa4da9dc9dcae53da94172ab79fdaad86225e3676ec12951dd2c03c1b882488ec803607e86fe1f2de59fa2033e7ff08902e7d2c79054efc604 SHA512 2b054c3a2b6552ab15b680a49f082e45e6d4a3276cdec699be4d0bc139f4e85085a42aeacbd0165962dee7d2a550a51e492e3f3c7515ce11718bea79e26309b8 +DIST thunderbird-91.4.1-ka.xpi 746753 BLAKE2B 7e98c3f4e104c61da35ef1d870ed0081a0c63f7ed902e6759776ef36b478d0f566b51e587ef63e79347f237423caef39df4331985070e6cc51d7e8b4a0e2695c SHA512 f9098ab0c5fe9a4c9aefd9c2bd79b5b47e4043440cd2f47517396b204c5902d19d5afdbcfcb777148b9e57dcdd2b9b65d8db0baf1f4e2f2d65957223dc1f2142 +DIST thunderbird-91.4.1-kab.xpi 672041 BLAKE2B de100f27c7551489fd6796cdf1225ea5858c1e0e6184401eb37ef375d8d76f2fd3aa1bacc6d52b8856c0cd40f72e091ada8f315d2dcaface8ae4f9cf182c166b SHA512 471b97ae72c70b5ef79146b3e1b8ecc76439cc37fa47e0e66edd1c9b353a6f9857833724a70ca2896e17570f2d62a445c845f98c6dde63999ec06a9ddd7f91a7 +DIST thunderbird-91.4.1-kk.xpi 731350 BLAKE2B 27c69e0064f30e76c9e1f43108d888fa4717c8b95d7a9d9202c3a65d758f0fb729315c69472fb6086ba2226eb40ebe5fb658e319b33a9b56e8a70dc3a1d30ba0 SHA512 8669879c7b4debfd880d8e477692fe18aa8cada29fb3abd0e0294a32ba9d2aa5de58ab9dd303e36a7757ca8aba301e1149ca30324d32e1efb5c1670088ba42f1 +DIST thunderbird-91.4.1-ko.xpi 695482 BLAKE2B 4837dd1524c72a0256b601296712f27a5e62e8fbca53e6fc433df4e2cd60f2aac75efcc935f9d7701792e3643691374ec5616c26ee61fefa60880e48889e95bd SHA512 d281f98215b92d54e6c5b845e684fa5ac3fb5240a3bbb3ff8f1ae19c863a62c7034e306485eb2724905c0e6a8e66b74bc6d60815f8b1a3b2378b69e50e1a8d70 +DIST thunderbird-91.4.1-lt.xpi 688961 BLAKE2B 21d9510065c93de320a02283cb3d3b422dfe97ce40dfbc5df7dec6cd3a21b14a2660f02c05a0954ded36b22d595b2479eedfe67cce4789993b73417a30bf8fb8 SHA512 a2e14b4c91e7c2afbc06df8a0114e16a0a9b0416e0d2d08d81d5f3c07d384c9f812ff6f124e47dd0c26124abf3aa20d70242d71884f6502ca4b450a6496d22f0 +DIST thunderbird-91.4.1-lv.xpi 614288 BLAKE2B dba930f61b008e73c3a1876118456600935b12bf2422b327b3a6cb7072dbfce8d33b20e2eb9523039bd3c2b6f0c5a6d79ba3ddd58bfbb51243483321c09da18a SHA512 a80a53aa5f2a16a96e76a410041754798445d39945186d6916f3ad45b3a4ebb6556e9f061ae018e7c6abe38333f754d3b8d230549d28bdb54f82f9b27e271652 +DIST thunderbird-91.4.1-ms.xpi 574046 BLAKE2B 6968ebd8c18ae9fd68d49bbe408973870545fac02a1d5b87ff0b7d5514b09fa2d922bfd1dfb1bd526e5767042a0b4472dddf7b43a118df303129e463531c36d9 SHA512 f9df949af74b019f037c063ac1b8c1d047a4b66d64d9be9733727c0039b2a154b0bc08f5b5ec33ed4caa5f9bc10d9ac90888330da858d5870f68b9e6558444a2 +DIST thunderbird-91.4.1-nb-NO.xpi 645842 BLAKE2B cccf0daeeabbcfc446e571585b98ef8fe2225f50d2fa99379de6f13a52ac9e7b948265c700a973f497d1cead7995d947e3f9c3a5f382fb2ce01a5d61096ec420 SHA512 bd1d02ba42a8807d7053e98b83a5e8e085c7cc0b50c6a48ed222da8c859ec5434979ed7ca292165f80aa148386e4e835ea782fc1bc1f0ba32cf769b116ed4465 +DIST thunderbird-91.4.1-nl.xpi 671291 BLAKE2B 99ec0596df4014925f5ce044e9b3949fe448eb9775773020a595c60b7c7a32d8b438679209973dd314f8f8179c8d6e6aaf5283acb83ef30e0e1fccc25025579a SHA512 d86b2f004498a4a73a4791d537792eadbf260fbdca611c9475a03345ce50e0dd87241d98524277267df4f2ed0b2ced4445634432841aaa613d64d4d471f901d9 +DIST thunderbird-91.4.1-nn-NO.xpi 649227 BLAKE2B 332531bc9afbd76c251943cc92f8cf1e968c0c99f7c2c477b62254f35d51f4f778f54abd6b850d29356ea1ac14b6c40f82667ac5efe2d14a24e7484e0558f248 SHA512 491908db3b145e5707500e584d8ecc9f0659345a712e223bb4719f6547909d0891ba52340a1eee03678c74c6861b55d8bd961e84e7bd5895f3a63fc21434346c +DIST thunderbird-91.4.1-pa-IN.xpi 647736 BLAKE2B 2b1840ef534e55aa6f91f920e4121bda43f20e748429dc2bf2042c4b762d8694998361484daa9fac0403fe1299a99a30633f121ec6a75c02599e95521ec70ee6 SHA512 6f1ec506660b8eede4a46a10f1c373559bf95ad8cb598b93d6cdc44ab03a021164399ad5ae2776fe679277fda38a9b5aa2f2eed7a677d8ecaaa5881da0c25e00 +DIST thunderbird-91.4.1-pl.xpi 680303 BLAKE2B aebd923996bae366d14f055816fe9643ed2d4800d65999c02e057edb36b6543de3b4209116611310cd3ffeeb5b0e11dff56a3fb30c5817cf68cde5a7437266d4 SHA512 5227a55d2c91553d96b6cba2e06b473c9018ce11522b2d0e141bdfe4a43803cbb82d7b6ca0d3c35203a762f37c08e5924c26cdea321b1f5951e30e19e7d32ca7 +DIST thunderbird-91.4.1-pt-BR.xpi 678982 BLAKE2B 3e81a8103d0cf0e29555b4605201ee10b470108785d93a95a15254362271c2af91edd47e5ea6c9c6f8216d7ecdbeb4241e42d876349eeeb2fc9d649c56a6a8f6 SHA512 385d598e4d49ffc401c5f106894b57385471cf4fd29b28e7d9b66cc7852e8bb1d83fae04f0bb2658b1513e340526750019cde73463308a73324c6b52bfdece04 +DIST thunderbird-91.4.1-pt-PT.xpi 665710 BLAKE2B ccc2e5b297fbdbfc8952273b29c9e0bdde47f0651a245d6771ec04ea77d56cd856ed1e4dc1a4a773abb7f9dbc431c340dd5c6de3c51eb1535788f4c8197adac7 SHA512 8c9ae02a81340bac2981555f03b9bf490d6e63abab3569db11de34adef4e3e6397acceec9ec8a6fb3e105a84f94d2622b9aae422e3c0079adcd5b71bbc951738 +DIST thunderbird-91.4.1-rm.xpi 671678 BLAKE2B 52905453ed5836525ee5d99f52a438ac266419cc38d38b23d5a9238c62ad7eabdb2deba2824d4fdc755b1b373ed288c839ac4195e6b2b5bfe223f27e1847611b SHA512 7b94912cc2867d4105a404e60239584714dc1cedc5e22fa31246f65e30fb28eb564d0b9f38b782b2df4ce7d5cfbe16051258a986ddc61a5051ff1c7c2ad86463 +DIST thunderbird-91.4.1-ro.xpi 656465 BLAKE2B b985752c66ab7134bf3f13fd5e0dee608105c2b5fc6e3f4e80d54c0d3fd67d3716c5dcc1f6571c670a2c9ba61fe4601aa46e989c51804c539dad40430d6591d4 SHA512 a686efb134d53985ab8cafa7b2d9668190dcd0d08aa1c505489b443606eafd7cb70bb7b40acb03d2f77f49ed8eaab8e7467b43ae8404702136248e5dcc9b7af6 +DIST thunderbird-91.4.1-ru.xpi 783359 BLAKE2B c3ae8fae7a17974c4154bda8bc6f5884100976626206568aa90e11d443f009c3fd060ee352f1b30108162a51a5d7dabc34827072e439b45958906ba170b42d4c SHA512 3133603ff09377c35e9f1a915a033243ca3446be23e1fe680ccb998de0069f21333ee9349c5f0426352691fd7e80b93a98f0333257cd18c00104a82c3217872b +DIST thunderbird-91.4.1-sk.xpi 707731 BLAKE2B b1b704798924a573b8227df05b52dfd8b3935f5ec2a8a623303f4beda02b0650369a2bcd29a49d1a05d20463953b7887e85536f963d29b90030005e1a726623c SHA512 4073fab914b5b8e519ffad67b2f354b69a0e957cf541ee2d3c4c045164af2969654599e4baa0ed10dda101bf5887da8812cc4397ae00f70aa4525c0cbf04ae2c +DIST thunderbird-91.4.1-sl.xpi 660447 BLAKE2B 25db7239e3bc1fbd3b8f9b70b697f02aa9a56ca5c09148b4dfb55c75e63c1f5010979520972faf3a61a16c398fb8a48a5574cbfd94bd4f0b8fb2b719d15bf23d SHA512 f56d1efaf7b25f36ece50196a1034eee1f9d4bf86c82e03c458e575fd6f9b23a444ddc1fc810cb234a77c456db2726ed4e6d41194555a68537f1bef587f0919b +DIST thunderbird-91.4.1-sq.xpi 693389 BLAKE2B edd42e5d23f229fc80a7b13a8af406e1d90d2a89fb4978aa303fce6abe3d295ebe7c282ffef1de3b47a177a6d7719329edc90c7e75513c5e182e44f5fb6e863f SHA512 44c49e0d28020229801538d65e4c531e9d78190e8d6ff09806a0369f62781c45b53be865d3447a86b3d7d6ebccd8e9ca29e658dde96748fd659ec89fbd8c7c6c +DIST thunderbird-91.4.1-sr.xpi 703327 BLAKE2B ca0dffa110030e408f74e97e4f41da7cfee1b0de54e17f8133298de10541836fcaacf0c5ad01900b650da2803c06b6fb37a44a71a8033b957a6520d497fabf80 SHA512 672920d69a2dbcd9835e8ddd9bae53fbd93879fd097ff059cfb7dccb7467d7f547a504744e8a69e8aec5bd5b4e8018de4922164d91b2626063ba02cad71ab06b +DIST thunderbird-91.4.1-sv-SE.xpi 675813 BLAKE2B 679674889e0392f7142ecf083dc3fa1ef60b3e0fdd554a27f4107cfebeeaff80fc9f5ba21e01cda551cd4b7b4a6e899f6673eec9ab3787c301897cfe10335707 SHA512 6e40f6e3e17acc0149c3949f11fa62cf98abc8e9e7fdcde1a16c437c0496093c3ae23101331df9f2e5709e52c36153abfa0da729eff148b5554617c1838f3596 +DIST thunderbird-91.4.1-th.xpi 741243 BLAKE2B c06a4510fc3759bbd4a2f585b686f6c8533d733bb26cb1e8c6f637764d965a392160216e37e112aa4bccfd874b777d05ae70aca9bb5e341d0963554e66c14ac7 SHA512 67aecdb4d232a9f91beeeb613077fa805b57a9e76fc68e3446adb7c1560d3e1f1f5f1137242a75426ef1bef1113bdc5257966f4e6e2f9c61f7fb02369354f4ed +DIST thunderbird-91.4.1-tr.xpi 685073 BLAKE2B d414ed733e5acbf462649d3de3ad1eeb5e50e0b4050b41c1fa52ebbfbe65fbcb002890e482726237b0c5c93aeefd7f77ce36d3899eeceb7b51e4b13bb6260056 SHA512 43391233895d6f3cc54eb8d500bba07d36f745bdd3668c8323bfb66b19520586ff57ea2fb482ce108553218504f73cc74320eda948c7eacf3d9433b47010b8db +DIST thunderbird-91.4.1-uk.xpi 780971 BLAKE2B f61575b1292a5f4c561bfa8a3d990aae4357525e01fdc0cecd0b171ff453768aefc17e5c205e9f9509dcebce29dc7749047f6039b41419be91fcaa043d452cd9 SHA512 d6065783ec5e047306a083db728ce1b5f83c48a2021700aa1e6af5f38e592c22a404a0940f794a238bd9fc514d3f2e0b3d613b20b9e8c86ed17107ee848bb36a +DIST thunderbird-91.4.1-uz.xpi 588118 BLAKE2B b1c0526e316af5c30dba79e6c52d9e8ec3494aa1719127896357d60f55333097aae2438e30fcd04a36bab95e6b60994e20b25c4b0e17aeeb7e607da76bda5716 SHA512 7a5c576587919466d1fd5424e054a0c2207de979a8bfef1d32bd60ea2e35d1bd199f8ea3617521b0a6d9bb8abc9b5e4a796c084760adf0fd47dbf95fa2e564b5 +DIST thunderbird-91.4.1-vi.xpi 706360 BLAKE2B 9c06b70220402d9c04256528fc62260b774f0ed7ec5db99b0329ccbe4edf5faa1dfd4001b455ec6685557f52fdb88f4ce3bb5f81fe59a5742b8e03f3dc2d979d SHA512 907f641363331b4d9170b1a71fbe8a9f793a0520137ec84eb5d925f097b9d204f9f2f0a8094c04668f5a6ad371809b03480a19ac8df6db8b64e23cf609fcd543 +DIST thunderbird-91.4.1-zh-CN.xpi 714609 BLAKE2B 5681115a1b4418d4c82308115b42910401d62ccb718679b3aa5075fb703cc4bf186885ccb83f51240594e576e3037de8afc9ad5ed0f61d01e978960e377b5976 SHA512 62dd3f25eadad68192f9e9a2e24580ba19638bca97ad243d2546c0912cd2db1107303678ec68f06bf7205f182582449ab030dac56371987626ef9fdc7d0c6523 +DIST thunderbird-91.4.1-zh-TW.xpi 715956 BLAKE2B 6f500459be5ac8e610909c4802268f9e142071cb0549864d540a913a17da9125069017660f062eafae737707e5e1bf9e7fabe1a7f0e6055e1ddd05d27a12a25c SHA512 33905cb91ecddcf63240886fd51dba3454edf23fbf09a3ec19d8ea0585b5e54bcc79dd37b3e87d1e571bb5c4c317fb732546d51917b9e41b47339e3819a8fa91 +DIST thunderbird-91.4.1.source.tar.xz 408805472 BLAKE2B b12d55ca45579c7a7d230100b9e4af1e6461ba6b6778b23d951ccfb3b497e2cf86e3952e09c57bc3477742f66283e9101f70edf70cf3bd92296982b25ef6c448 SHA512 aa442ef886277f5091ebadff907a29451a0ee6542f24adb5c1fb4223193d719c2cb01474d3ccd96067695b19ce3cbf042893b0beaaeb7c65e0660ab5072bf82e diff --git a/mail-client/thunderbird/thunderbird-91.4.1.ebuild b/mail-client/thunderbird/thunderbird-91.4.1.ebuild new file mode 100644 index 00000000..785fc691 --- /dev/null +++ b/mail-client/thunderbird/thunderbird-91.4.1.ebuild @@ -0,0 +1,1130 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +FIREFOX_PATCHSET="firefox-91esr-patches-03.tar.xz" + +LLVM_MAX_SLOT=13 + +PYTHON_COMPAT=( python3_{7..10} ) +PYTHON_REQ_USE="ncurses,sqlite,ssl" + +WANT_AUTOCONF="2.1" + +VIRTUALX_REQUIRED="pgo" + +MOZ_ESR= + +MOZ_PV=${PV} +MOZ_PV_SUFFIX= +if [[ ${PV} =~ (_(alpha|beta|rc).*)$ ]] ; then + MOZ_PV_SUFFIX=${BASH_REMATCH[1]} + + # Convert the ebuild version to the upstream Mozilla version + MOZ_PV="${MOZ_PV/_alpha/a}" # Handle alpha for SRC_URI + MOZ_PV="${MOZ_PV/_beta/b}" # Handle beta for SRC_URI + MOZ_PV="${MOZ_PV%%_rc*}" # Handle rc for SRC_URI +fi + +if [[ -n ${MOZ_ESR} ]] ; then + # ESR releases have slightly different version numbers + MOZ_PV="${MOZ_PV}esr" +fi + +MOZ_PN="${PN%-bin}" +MOZ_P="${MOZ_PN}-${MOZ_PV}" +MOZ_PV_DISTFILES="${MOZ_PV}${MOZ_PV_SUFFIX}" +MOZ_P_DISTFILES="${MOZ_PN}-${MOZ_PV_DISTFILES}" + +inherit autotools check-reqs desktop flag-o-matic gnome2-utils \ + llvm multiprocessing pax-utils python-any-r1 toolchain-funcs \ + virtualx xdg + +MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/releases/${MOZ_PV}" + +if [[ ${PV} == *_rc* ]] ; then + MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/candidates/${MOZ_PV}-candidates/build${PV##*_rc}" +fi + +PATCH_URIS=( + https://dev.gentoo.org/~{polynomial-c,whissi}/mozilla/patchsets/${FIREFOX_PATCHSET} +) + +SRC_URI="${MOZ_SRC_BASE_URI}/source/${MOZ_P}.source.tar.xz -> ${MOZ_P_DISTFILES}.source.tar.xz + ${PATCH_URIS[@]}" + +DESCRIPTION="Thunderbird Mail Client" +HOMEPAGE="https://www.thunderbird.net/" + +KEYWORDS="amd64 ~arm64 ~ppc64 x86" + +SLOT="0/$(ver_cut 1)" +LICENSE="MPL-2.0 GPL-2 LGPL-2.1" + +IUSE="+clang cpu_flags_arm_neon dbus debug eme-free hardened hwaccel" +IUSE+=" jack lto +openh264 pgo pulseaudio sndio selinux" +IUSE+=" +system-av1 +system-harfbuzz +system-icu +system-jpeg +system-libevent +system-libvpx +system-webp" +IUSE+=" wayland wifi" + +REQUIRED_USE="debug? ( !system-av1 ) + pgo? ( lto ) + wifi? ( dbus )" + +BDEPEND="${PYTHON_DEPS} + app-arch/unzip + app-arch/zip + >=dev-util/cbindgen-0.19.0 + >=net-libs/nodejs-10.23.1 + virtual/pkgconfig + >=virtual/rust-1.51.0 + || ( + ( + sys-devel/clang:13 + sys-devel/llvm:13 + clang? ( + =sys-devel/lld-13* + pgo? ( =sys-libs/compiler-rt-sanitizers-13*[profile] ) + ) + ) + ( + sys-devel/clang:12 + sys-devel/llvm:12 + clang? ( + =sys-devel/lld-12* + pgo? ( =sys-libs/compiler-rt-sanitizers-12*[profile] ) + ) + ) + ( + sys-devel/clang:11 + sys-devel/llvm:11 + clang? ( + =sys-devel/lld-11* + pgo? ( =sys-libs/compiler-rt-sanitizers-11*[profile] ) + ) + ) + ) + amd64? ( >=dev-lang/nasm-2.13 ) + x86? ( >=dev-lang/nasm-2.13 )" + +CDEPEND=" + >=dev-libs/nss-3.68 + >=dev-libs/nspr-4.32 + dev-libs/atk + dev-libs/expat + >=x11-libs/cairo-1.10[X] + >=x11-libs/gtk+-3.4.0:3[X] + x11-libs/gdk-pixbuf + >=x11-libs/pango-1.22.0 + >=media-libs/mesa-10.2:* + media-libs/fontconfig + >=media-libs/freetype-2.4.10 + >=media-libs/libpng-1.6.35:0=[apng(+)] + kernel_linux? ( !pulseaudio? ( media-libs/alsa-lib ) ) + virtual/freedesktop-icon-theme + >=x11-libs/pixman-0.19.2 + >=dev-libs/glib-2.26:2 + >=sys-libs/zlib-1.2.3 + >=dev-libs/libffi-3.0.10:= + media-video/ffmpeg + x11-libs/libX11 + x11-libs/libxcb + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXrender + x11-libs/libXt + dbus? ( + sys-apps/dbus + dev-libs/dbus-glib + ) + system-av1? ( + >=media-libs/dav1d-0.8.1:= + >=media-libs/libaom-1.0.0:= + ) + system-harfbuzz? ( + >=media-libs/harfbuzz-2.8.1:0= + >=media-gfx/graphite2-1.3.13 + ) + system-icu? ( >=dev-libs/icu-69.1:= ) + system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 ) + system-libevent? ( >=dev-libs/libevent-2.0:0=[threads] ) + system-libvpx? ( >=media-libs/libvpx-1.8.2:0=[postproc] ) + system-webp? ( >=media-libs/libwebp-1.1.0:0= ) + wifi? ( + kernel_linux? ( + sys-apps/dbus + dev-libs/dbus-glib + net-misc/networkmanager + ) + ) + jack? ( virtual/jack ) + selinux? ( sec-policy/selinux-mozilla ) + sndio? ( media-sound/sndio )" + +RDEPEND="${CDEPEND} + jack? ( virtual/jack ) + openh264? ( media-libs/openh264:*[plugin] ) + pulseaudio? ( + || ( + media-sound/pulseaudio + >=media-sound/apulse-0.1.12-r4 + ) + ) + selinux? ( sec-policy/selinux-mozilla ) + !&2 + return 1 + fi + + if use clang ; then + if ! has_version -b "=sys-devel/lld-${LLVM_SLOT}*" ; then + einfo "=sys-devel/lld-${LLVM_SLOT}* is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 + return 1 + fi + + if use pgo ; then + if ! has_version -b "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*" ; then + einfo "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}* is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 + return 1 + fi + fi + fi + + einfo "Using LLVM slot ${LLVM_SLOT} to build" >&2 +} + +MOZ_LANGS=( + af ar ast be bg br ca cak cs cy da de dsb + el en-CA en-GB en-US es-AR es-ES et eu + fi fr fy-NL ga-IE gd gl he hr hsb hu + id is it ja ka kab kk ko lt lv ms nb-NO nl nn-NO + pa-IN pl pt-BR pt-PT rm ro ru + sk sl sq sr sv-SE th tr uk uz vi zh-CN zh-TW +) + +mozilla_set_globals() { + # https://bugs.gentoo.org/587334 + local MOZ_TOO_REGIONALIZED_FOR_L10N=( + fy-NL ga-IE gu-IN hi-IN hy-AM nb-NO ne-NP nn-NO pa-IN sv-SE + ) + + local lang xflag + for lang in "${MOZ_LANGS[@]}" ; do + # en and en_US are handled internally + if [[ ${lang} == en ]] || [[ ${lang} == en-US ]] ; then + continue + fi + + # strip region subtag if $lang is in the list + if has ${lang} "${MOZ_TOO_REGIONALIZED_FOR_L10N[@]}" ; then + xflag=${lang%%-*} + else + xflag=${lang} + fi + + SRC_URI+=" l10n_${xflag/[_@]/-}? (" + SRC_URI+=" ${MOZ_SRC_BASE_URI}/linux-x86_64/xpi/${lang}.xpi -> ${MOZ_P_DISTFILES}-${lang}.xpi" + SRC_URI+=" )" + IUSE+=" l10n_${xflag/[_@]/-}" + done +} +mozilla_set_globals + +moz_clear_vendor_checksums() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -ne 1 ]] ; then + die "${FUNCNAME} requires exact one argument" + fi + + einfo "Clearing cargo checksums for ${1} ..." + + sed -i \ + -e 's/\("files":{\)[^}]*/\1/' \ + "${S}"/third_party/rust/${1}/.cargo-checksum.json \ + || die +} + +moz_install_xpi() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 2 ]] ; then + die "${FUNCNAME} requires at least two arguments" + fi + + local DESTDIR=${1} + shift + + insinto "${DESTDIR}" + + local emid xpi_file xpi_tmp_dir + for xpi_file in "${@}" ; do + emid= + xpi_tmp_dir=$(mktemp -d --tmpdir="${T}") + + # Unpack XPI + unzip -qq "${xpi_file}" -d "${xpi_tmp_dir}" || die + + # Determine extension ID + if [[ -f "${xpi_tmp_dir}/install.rdf" ]] ; then + emid=$(sed -n -e '/install-manifest/,$ { /em:id/!d; s/.*[\">]\([^\"<>]*\)[\"<].*/\1/; p; q }' "${xpi_tmp_dir}/install.rdf") + [[ -z "${emid}" ]] && die "failed to determine extension id from install.rdf" + elif [[ -f "${xpi_tmp_dir}/manifest.json" ]] ; then + emid=$(sed -n -e 's/.*"id": "\([^"]*\)".*/\1/p' "${xpi_tmp_dir}/manifest.json") + [[ -z "${emid}" ]] && die "failed to determine extension id from manifest.json" + else + die "failed to determine extension id" + fi + + einfo "Installing ${emid}.xpi into ${ED}${DESTDIR} ..." + newins "${xpi_file}" "${emid}.xpi" + done +} + +mozconfig_add_options_ac() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 2 ]] ; then + die "${FUNCNAME} requires at least two arguments" + fi + + local reason=${1} + shift + + local option + for option in ${@} ; do + echo "ac_add_options ${option} # ${reason}" >>${MOZCONFIG} + done +} + +mozconfig_add_options_mk() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 2 ]] ; then + die "${FUNCNAME} requires at least two arguments" + fi + + local reason=${1} + shift + + local option + for option in ${@} ; do + echo "mk_add_options ${option} # ${reason}" >>${MOZCONFIG} + done +} + +mozconfig_use_enable() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 1 ]] ; then + die "${FUNCNAME} requires at least one arguments" + fi + + local flag=$(use_enable "${@}") + mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" "${flag}" +} + +mozconfig_use_with() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 1 ]] ; then + die "${FUNCNAME} requires at least one arguments" + fi + + local flag=$(use_with "${@}") + mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" "${flag}" +} + +pkg_pretend() { + if [[ ${MERGE_TYPE} != binary ]] ; then + if use pgo ; then + if ! has usersandbox $FEATURES ; then + die "You must enable usersandbox as X server can not run as root!" + fi + fi + + # Ensure we have enough disk space to compile + if use pgo || use lto || use debug ; then + CHECKREQS_DISK_BUILD="13500M" + else + CHECKREQS_DISK_BUILD="6400M" + fi + + check-reqs_pkg_pretend + fi +} + +pkg_setup() { + if [[ ${MERGE_TYPE} != binary ]] ; then + if use pgo ; then + if ! has userpriv ${FEATURES} ; then + eerror "Building ${PN} with USE=pgo and FEATURES=-userpriv is not supported!" + fi + fi + + # Ensure we have enough disk space to compile + if use pgo || use lto || use debug ; then + CHECKREQS_DISK_BUILD="13500M" + else + CHECKREQS_DISK_BUILD="6400M" + fi + + check-reqs_pkg_setup + + llvm_pkg_setup + + if use clang && use lto ; then + local version_lld=$(ld.lld --version 2>/dev/null | awk '{ print $2 }') + [[ -n ${version_lld} ]] && version_lld=$(ver_cut 1 "${version_lld}") + [[ -z ${version_lld} ]] && die "Failed to read ld.lld version!" + + # temp fix for https://bugs.gentoo.org/768543 + # we can assume that rust 1.{49,50}.0 always uses llvm 11 + local version_rust=$(rustc -Vv 2>/dev/null | grep -F -- 'release:' | awk '{ print $2 }') + [[ -n ${version_rust} ]] && version_rust=$(ver_cut 1-2 "${version_rust}") + [[ -z ${version_rust} ]] && die "Failed to read version from rustc!" + + if ver_test "${version_rust}" -ge "1.49" && ver_test "${version_rust}" -le "1.50" ; then + local version_llvm_rust="11" + else + local version_llvm_rust=$(rustc -Vv 2>/dev/null | grep -F -- 'LLVM version:' | awk '{ print $3 }') + [[ -n ${version_llvm_rust} ]] && version_llvm_rust=$(ver_cut 1 "${version_llvm_rust}") + [[ -z ${version_llvm_rust} ]] && die "Failed to read used LLVM version from rustc!" + fi + + if ver_test "${version_lld}" -ne "${version_llvm_rust}" ; then + eerror "Rust is using LLVM version ${version_llvm_rust} but ld.lld version belongs to LLVM version ${version_lld}." + eerror "You will be unable to link ${CATEGORY}/${PN}. To proceed you have the following options:" + eerror " - Manually switch rust version using 'eselect rust' to match used LLVM version" + eerror " - Switch to dev-lang/rust[system-llvm] which will guarantee matching version" + eerror " - Build ${CATEGORY}/${PN} without USE=lto" + die "LLVM version used by Rust (${version_llvm_rust}) does not match with ld.lld version (${version_lld})!" + fi + fi + + if ! use clang && [[ $(gcc-major-version) -eq 11 ]] \ + && ! has_version -b ">sys-devel/gcc-11.1.0:11" ; then + # bug 792705 + eerror "Using GCC 11 to compile firefox is currently known to be broken (see bug #792705)." + die "Set USE=clang or select "${S}"/api-google.key || die + echo -n "${MOZ_API_KEY_LOCATION//gGaPi/}" > "${S}"/api-location.key || die + echo -n "${MOZ_API_KEY_MOZILLA//m0ap1/}" > "${S}"/api-mozilla.key || die + + xdg_src_prepare +} + +src_configure() { + # Show flags set at the beginning + einfo "Current BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}" + einfo "Current CFLAGS:\t\t${CFLAGS:-no value set}" + einfo "Current CXXFLAGS:\t\t${CXXFLAGS:-no value set}" + einfo "Current LDFLAGS:\t\t${LDFLAGS:-no value set}" + einfo "Current RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}" + + local have_switched_compiler= + if use clang && ! tc-is-clang ; then + # Force clang + einfo "Enforcing the use of clang due to USE=clang ..." + have_switched_compiler=yes + AR=llvm-ar + CC=${CHOST}-clang + CXX=${CHOST}-clang++ + NM=llvm-nm + RANLIB=llvm-ranlib + elif ! use clang && ! tc-is-gcc ; then + # Force gcc + have_switched_compiler=yes + einfo "Enforcing the use of gcc due to USE=-clang ..." + AR=gcc-ar + CC=${CHOST}-gcc + CXX=${CHOST}-g++ + NM=gcc-nm + RANLIB=gcc-ranlib + fi + + if [[ -n "${have_switched_compiler}" ]] ; then + # Because we switched active compiler we have to ensure + # that no unsupported flags are set + strip-unsupported-flags + fi + + # Ensure we use correct toolchain + export HOST_CC="$(tc-getBUILD_CC)" + export HOST_CXX="$(tc-getBUILD_CXX)" + tc-export CC CXX LD AR NM OBJDUMP RANLIB PKG_CONFIG + + # Pass the correct toolchain paths through cbindgen + if tc-is-cross-compiler ; then + export BINDGEN_CFLAGS="${SYSROOT:+--sysroot=${ESYSROOT}} --target=${CHOST} ${BINDGEN_CFLAGS-}" + fi + + # Set MOZILLA_FIVE_HOME + export MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" + + # python/mach/mach/mixin/process.py fails to detect SHELL + export SHELL="${EPREFIX}/bin/bash" + + # Set state path + export MOZBUILD_STATE_PATH="${BUILD_DIR}" + + # Set MOZCONFIG + export MOZCONFIG="${S}/.mozconfig" + + # Initialize MOZCONFIG + mozconfig_add_options_ac '' --enable-application=comm/mail + + # Set Gentoo defaults + export MOZILLA_OFFICIAL=1 + + mozconfig_add_options_ac 'Gentoo default' \ + --allow-addon-sideload \ + --disable-cargo-incremental \ + --disable-crashreporter \ + --disable-install-strip \ + --disable-strip \ + --disable-updater \ + --enable-js-shell \ + --enable-official-branding \ + --enable-release \ + --enable-system-ffi \ + --enable-system-pixman \ + --host="${CBUILD:-${CHOST}}" \ + --libdir="${EPREFIX}/usr/$(get_libdir)" \ + --prefix="${EPREFIX}/usr" \ + --target="${CHOST}" \ + --without-ccache \ + --with-intl-api \ + --with-libclang-path="$(llvm-config --libdir)" \ + --with-system-nspr \ + --with-system-nss \ + --with-system-png \ + --with-system-zlib \ + --with-toolchain-prefix="${CHOST}-" \ + --with-unsigned-addon-scopes=app,system \ + --x-includes="${SYSROOT}${EPREFIX}/usr/include" \ + --x-libraries="${SYSROOT}${EPREFIX}/usr/$(get_libdir)" + + # Set update channel + local update_channel=release + [[ -n ${MOZ_ESR} ]] && update_channel=esr + mozconfig_add_options_ac '' --update-channel=${update_channel} + + if ! use x86 && [[ ${CHOST} != armv*h* ]] ; then + mozconfig_add_options_ac '' --enable-rust-simd + fi + + if [[ -s "${S}/api-google.key" ]] ; then + local key_origin="Gentoo default" + if [[ $(cat "${S}/api-google.key" | md5sum | awk '{ print $1 }') != 709560c02f94b41f9ad2c49207be6c54 ]] ; then + key_origin="User value" + fi + + mozconfig_add_options_ac "${key_origin}" \ + --with-google-safebrowsing-api-keyfile="${S}/api-google.key" + else + einfo "Building without Google API key ..." + fi + + if [[ -s "${S}/api-location.key" ]] ; then + local key_origin="Gentoo default" + if [[ $(cat "${S}/api-location.key" | md5sum | awk '{ print $1 }') != ffb7895e35dedf832eb1c5d420ac7420 ]] ; then + key_origin="User value" + fi + + mozconfig_add_options_ac "${key_origin}" \ + --with-google-location-service-api-keyfile="${S}/api-location.key" + else + einfo "Building without Location API key ..." + fi + + if [[ -s "${S}/api-mozilla.key" ]] ; then + local key_origin="Gentoo default" + if [[ $(cat "${S}/api-mozilla.key" | md5sum | awk '{ print $1 }') != 3927726e9442a8e8fa0e46ccc39caa27 ]] ; then + key_origin="User value" + fi + + mozconfig_add_options_ac "${key_origin}" \ + --with-mozilla-api-keyfile="${S}/api-mozilla.key" + else + einfo "Building without Mozilla API key ..." + fi + + mozconfig_use_with system-av1 + mozconfig_use_with system-harfbuzz + mozconfig_use_with system-harfbuzz system-graphite2 + mozconfig_use_with system-icu + mozconfig_use_with system-jpeg + mozconfig_use_with system-libevent system-libevent "${SYSROOT}${EPREFIX}/usr" + mozconfig_use_with system-libvpx + mozconfig_use_with system-webp + + mozconfig_use_enable dbus + + use eme-free && mozconfig_add_options_ac '+eme-free' --disable-eme + + if use hardened ; then + mozconfig_add_options_ac "+hardened" --enable-hardening + append-ldflags "-Wl,-z,relro -Wl,-z,now" + fi + + mozconfig_use_enable jack + + mozconfig_use_enable pulseaudio + # force the deprecated alsa sound code if pulseaudio is disabled + if use kernel_linux && ! use pulseaudio ; then + mozconfig_add_options_ac '-pulseaudio' --enable-alsa + fi + + mozconfig_use_enable sndio + + mozconfig_use_enable wifi necko-wifi + + if use wayland ; then + mozconfig_add_options_ac '+wayland' --enable-default-toolkit=cairo-gtk3-wayland + else + mozconfig_add_options_ac '' --enable-default-toolkit=cairo-gtk3 + fi + + if use lto ; then + if use clang ; then + # Upstream only supports lld when using clang + mozconfig_add_options_ac "forcing ld=lld due to USE=clang and USE=lto" --enable-linker=lld + + mozconfig_add_options_ac '+lto' --enable-lto=cross + else + # ld.gold is known to fail: + # /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld.gold: internal error in set_xindex, at /var/tmp/portage/sys-devel/binutils-2.37_p1-r1/work/binutils-2.37/gold/object.h:1050 + + # ThinLTO is currently broken, see bmo#1644409 + mozconfig_add_options_ac '+lto' --enable-lto=full + mozconfig_add_options_ac "linker is set to bfd" --enable-linker=bfd + fi + + if use pgo ; then + mozconfig_add_options_ac '+pgo' MOZ_PGO=1 + + if use clang ; then + # Used in build/pgo/profileserver.py + export LLVM_PROFDATA="llvm-profdata" + fi + fi + else + # Avoid auto-magic on linker + if use clang ; then + # This is upstream's default + mozconfig_add_options_ac "forcing ld=lld due to USE=clang" --enable-linker=lld + else + mozconfig_add_options_ac "linker is set to bfd" --enable-linker=bfd + fi + fi + + # LTO flag was handled via configure + filter-flags '-flto*' + + mozconfig_use_enable debug + if use debug ; then + mozconfig_add_options_ac '+debug' --disable-optimize + else + if is-flag '-g*' ; then + if use clang ; then + mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols=$(get-flag '-g*') + else + mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols + fi + else + mozconfig_add_options_ac 'Gentoo default' --disable-debug-symbols + fi + + if is-flag '-O0' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O0 + elif is-flag '-O4' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O4 + elif is-flag '-O3' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O3 + elif is-flag '-O1' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O1 + elif is-flag '-Os' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-Os + else + mozconfig_add_options_ac "Gentoo default" --enable-optimize=-O2 + fi + fi + + # Debug flag was handled via configure + filter-flags '-g*' + + # Optimization flag was handled via configure + filter-flags '-O*' + + # Modifications to better support ARM, bug #553364 + if use cpu_flags_arm_neon ; then + mozconfig_add_options_ac '+cpu_flags_arm_neon' --with-fpu=neon + + if ! tc-is-clang ; then + # thumb options aren't supported when using clang, bug 666966 + mozconfig_add_options_ac '+cpu_flags_arm_neon' \ + --with-thumb=yes \ + --with-thumb-interwork=no + fi + fi + + if [[ ${CHOST} == armv*h* ]] ; then + mozconfig_add_options_ac 'CHOST=armv*h*' --with-float-abi=hard + + if ! use system-libvpx ; then + sed -i \ + -e "s|softfp|hard|" \ + "${S}"/media/libvpx/moz.build \ + || die + fi + fi + + if use clang ; then + # https://bugzilla.mozilla.org/show_bug.cgi?id=1482204 + # https://bugzilla.mozilla.org/show_bug.cgi?id=1483822 + # toolkit/moz.configure Elfhack section: target.cpu in ('arm', 'x86', 'x86_64') + local disable_elf_hack= + if use amd64 ; then + disable_elf_hack=yes + elif use x86 ; then + disable_elf_hack=yes + elif use arm ; then + disable_elf_hack=yes + fi + + if [[ -n ${disable_elf_hack} ]] ; then + mozconfig_add_options_ac 'elf-hack is broken when using Clang' --disable-elf-hack + fi + elif tc-is-gcc ; then + if ver_test $(gcc-fullversion) -ge 10 ; then + einfo "Forcing -fno-tree-loop-vectorize to workaround GCC bug, see bug 758446 ..." + append-cxxflags -fno-tree-loop-vectorize + fi + fi + + # Additional ARCH support + case "${ARCH}" in + arm) + # Reduce the memory requirements for linking + if use clang ; then + # Nothing to do + :; + elif tc-ld-is-gold || use lto ; then + append-ldflags -Wl,--no-keep-memory + else + append-ldflags -Wl,--no-keep-memory -Wl,--reduce-memory-overheads + fi + ;; + esac + + if ! use elibc_glibc ; then + mozconfig_add_options_ac '!elibc_glibc' --disable-jemalloc + fi + + # Allow elfhack to work in combination with unstripped binaries + # when they would normally be larger than 2GiB. + append-ldflags "-Wl,--compress-debug-sections=zlib" + + # Make revdep-rebuild.sh happy; Also required for musl + append-ldflags -Wl,-rpath="${MOZILLA_FIVE_HOME}",--enable-new-dtags + + # Pass $MAKEOPTS to build system + export MOZ_MAKE_FLAGS="${MAKEOPTS}" + + # Use system's Python environment + export MACH_USE_SYSTEM_PYTHON=1 + + # Disable notification when build system has finished + export MOZ_NOSPAM=1 + + # Portage sets XARGS environment variable to "xargs -r" by default which + # breaks build system's check_prog() function which doesn't support arguments + mozconfig_add_options_ac 'Gentoo default' "XARGS=${EPREFIX}/usr/bin/xargs" + + # Set build dir + mozconfig_add_options_mk 'Gentoo default' "MOZ_OBJDIR=${BUILD_DIR}" + + # Show flags we will use + einfo "Build BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}" + einfo "Build CFLAGS:\t\t${CFLAGS:-no value set}" + einfo "Build CXXFLAGS:\t\t${CXXFLAGS:-no value set}" + einfo "Build LDFLAGS:\t\t${LDFLAGS:-no value set}" + einfo "Build RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}" + + # Handle EXTRA_CONF and show summary + local ac opt hash reason + + # Apply EXTRA_ECONF entries to $MOZCONFIG + if [[ -n ${EXTRA_ECONF} ]] ; then + IFS=\! read -a ac <<<${EXTRA_ECONF// --/\!} + for opt in "${ac[@]}"; do + mozconfig_add_options_ac "EXTRA_ECONF" --${opt#--} + done + fi + + echo + echo "==========================================================" + echo "Building ${PF} with the following configuration" + grep ^ac_add_options "${MOZCONFIG}" | while read ac opt hash reason; do + [[ -z ${hash} || ${hash} == \# ]] \ + || die "error reading mozconfig: ${ac} ${opt} ${hash} ${reason}" + printf " %-30s %s\n" "${opt}" "${reason:-mozilla.org default}" + done + echo "==========================================================" + echo + + ./mach configure || die +} + +src_compile() { + local virtx_cmd= + + if use pgo ; then + virtx_cmd=virtx + + # Reset and cleanup environment variables used by GNOME/XDG + gnome2_environment_reset + + addpredict /root + fi + + local -x GDK_BACKEND=x11 + + ${virtx_cmd} ./mach build --verbose \ + || die +} + +src_install() { + # xpcshell is getting called during install + pax-mark m \ + "${BUILD_DIR}"/dist/bin/xpcshell \ + "${BUILD_DIR}"/dist/bin/${PN} \ + "${BUILD_DIR}"/dist/bin/plugin-container + + DESTDIR="${D}" ./mach install || die + + # Upstream cannot ship symlink but we can (bmo#658850) + rm "${ED}${MOZILLA_FIVE_HOME}/${PN}-bin" || die + dosym ${PN} ${MOZILLA_FIVE_HOME}/${PN}-bin + + # Don't install llvm-symbolizer from sys-devel/llvm package + if [[ -f "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" ]] ; then + rm -v "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" || die + fi + + # Install policy (currently only used to disable application updates) + insinto "${MOZILLA_FIVE_HOME}/distribution" + newins "${FILESDIR}"/distribution.ini distribution.ini + newins "${FILESDIR}"/disable-auto-update.policy.json policies.json + + # Install system-wide preferences + local PREFS_DIR="${MOZILLA_FIVE_HOME}/defaults/pref" + insinto "${PREFS_DIR}" + newins "${FILESDIR}"/gentoo-default-prefs.js gentoo-prefs.js + + local GENTOO_PREFS="${ED}${PREFS_DIR}/gentoo-prefs.js" + + # Set dictionary path to use system hunspell + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set spellchecker.dictionary_path pref" + pref("spellchecker.dictionary_path", "${EPREFIX}/usr/share/myspell"); + EOF + + # Force hwaccel prefs if USE=hwaccel is enabled + if use hwaccel ; then + cat "${FILESDIR}"/gentoo-hwaccel-prefs.js \ + >>"${GENTOO_PREFS}" \ + || die "failed to add prefs to force hardware-accelerated rendering to all-gentoo.js" + fi + + # Force the graphite pref if USE=system-harfbuzz is enabled, since the pref cannot disable it + if use system-harfbuzz ; then + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set gfx.font_rendering.graphite.enabled pref" + sticky_pref("gfx.font_rendering.graphite.enabled", true); + EOF + fi + + # Install language packs + local langpacks=( $(find "${WORKDIR}/language_packs" -type f -name '*.xpi') ) + if [[ -n "${langpacks}" ]] ; then + moz_install_xpi "${MOZILLA_FIVE_HOME}/distribution/extensions" "${langpacks[@]}" + fi + + # Install icons + local icon_srcdir="${S}/comm/mail/branding/thunderbird" + local icon_symbolic_file="${icon_srcdir}/TB-symbolic.svg" + + insinto /usr/share/icons/hicolor/symbolic/apps + newins "${icon_symbolic_file}" ${PN}-symbolic.svg + + local icon size + for icon in "${icon_srcdir}"/default*.png ; do + size=${icon%.png} + size=${size##*/default} + + if [[ ${size} -eq 48 ]] ; then + newicon "${icon}" ${PN}.png + fi + + newicon -s ${size} "${icon}" ${PN}.png + done + + # Install menu + local app_name="Mozilla ${MOZ_PN^}" + local desktop_file="${FILESDIR}/icon/${PN}-r2.desktop" + local desktop_filename="${PN}.desktop" + local exec_command="${PN}" + local icon="${PN}" + local use_wayland="false" + + if use wayland ; then + use_wayland="true" + fi + + cp "${desktop_file}" "${WORKDIR}/${PN}.desktop-template" || die + + sed -i \ + -e "s:@NAME@:${app_name}:" \ + -e "s:@EXEC@:${exec_command}:" \ + -e "s:@ICON@:${icon}:" \ + "${WORKDIR}/${PN}.desktop-template" \ + || die + + newmenu "${WORKDIR}/${PN}.desktop-template" "${desktop_filename}" + + rm "${WORKDIR}/${PN}.desktop-template" || die + + # Install wrapper script + [[ -f "${ED}/usr/bin/${PN}" ]] && rm "${ED}/usr/bin/${PN}" + newbin "${FILESDIR}/${PN}-r1.sh" ${PN} + + # Update wrapper + sed -i \ + -e "s:@PREFIX@:${EPREFIX}/usr:" \ + -e "s:@MOZ_FIVE_HOME@:${MOZILLA_FIVE_HOME}:" \ + -e "s:@APULSELIB_DIR@:${apulselib}:" \ + -e "s:@DEFAULT_WAYLAND@:${use_wayland}:" \ + "${ED}/usr/bin/${PN}" \ + || die +} + +pkg_preinst() { + xdg_pkg_preinst + + # If the apulse libs are available in MOZILLA_FIVE_HOME then apulse + # does not need to be forced into the LD_LIBRARY_PATH + if use pulseaudio && has_version ">=media-sound/apulse-0.1.12-r4" ; then + einfo "APULSE found; Generating library symlinks for sound support ..." + local lib + pushd "${ED}${MOZILLA_FIVE_HOME}" &>/dev/null || die + for lib in ../apulse/libpulse{.so{,.0},-simple.so{,.0}} ; do + # A quickpkg rolled by hand will grab symlinks as part of the package, + # so we need to avoid creating them if they already exist. + if [[ ! -L ${lib##*/} ]] ; then + ln -s "${lib}" ${lib##*/} || die + fi + done + popd &>/dev/null || die + fi +} + +pkg_postinst() { + xdg_pkg_postinst + + if use pulseaudio && has_version ">=media-sound/apulse-0.1.12-r4" ; then + elog "Apulse was detected at merge time on this system and so it will always be" + elog "used for sound. If you wish to use pulseaudio instead please unmerge" + elog "media-sound/apulse." + elog + fi + + local show_doh_information + local show_shortcut_information + + if [[ -z "${REPLACING_VERSIONS}" ]] ; then + # New install; Tell user that DoH is disabled by default + show_doh_information=yes + show_shortcut_information=no + else + local replacing_version + for replacing_version in ${REPLACING_VERSIONS} ; do + if ver_test "${replacing_version}" -lt 91.0 ; then + # Tell user that we no longer install a shortcut + # per supported display protocol + show_shortcut_information=yes + fi + done + fi + + if [[ -n "${show_doh_information}" ]] ; then + elog + elog "Note regarding Trusted Recursive Resolver aka DNS-over-HTTPS (DoH):" + elog "Due to privacy concerns (encrypting DNS might be a good thing, sending all" + elog "DNS traffic to Cloudflare by default is not a good idea and applications" + elog "should respect OS configured settings), \"network.trr.mode\" was set to 5" + elog "(\"Off by choice\") by default." + elog "You can enable DNS-over-HTTPS in ${PN^}'s preferences." + fi + + if [[ -n "${show_shortcut_information}" ]] ; then + elog + elog "Since ${PN}-91.0 we no longer install multiple shortcuts for" + elog "each supported display protocol. Instead we will only install" + elog "one generic Mozilla ${PN^} shortcut." + elog "If you still want to be able to select between running Mozilla ${PN^}" + elog "on X11 or Wayland, you have to re-create these shortcuts on your own." + fi +} -- cgit v1.2.3-65-gdbad