summaryrefslogtreecommitdiff
path: root/mail-client/thunderbird
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-08-24 08:47:16 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-08-24 08:47:16 +0100
commit7405d8a728a9553d7b8eccb67737c5193c9f13ba (patch)
treeb724a0d3f660dce5eb1a6a7aedb3e83f983c4dfd /mail-client/thunderbird
parent2d51a70c0ec989cfc28d2d9a140206a601378c58 (diff)
gentoo auto-resync : 24:08:2022 - 08:47:15
Diffstat (limited to 'mail-client/thunderbird')
-rw-r--r--mail-client/thunderbird/Manifest131
-rw-r--r--mail-client/thunderbird/thunderbird-102.2.0.ebuild1169
-rw-r--r--mail-client/thunderbird/thunderbird-91.13.0.ebuild1131
3 files changed, 2431 insertions, 0 deletions
diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest
index 2a8cd00021d1..793de33106d3 100644
--- a/mail-client/thunderbird/Manifest
+++ b/mail-client/thunderbird/Manifest
@@ -136,6 +136,71 @@ DIST thunderbird-102.1.2-vi.xpi 718477 BLAKE2B 274c7f5c9e2d0f34588f565f5a888130a
DIST thunderbird-102.1.2-zh-CN.xpi 715016 BLAKE2B fba7e8fa2a4fed5063f5f364fc34701a60c91fdcf6a5ea4780720df5ddf39b88197e8a4478aa3d606edf8aae8cb402a0d98acc2dfba6de624f1c0deb131a1b5b SHA512 58b89f090593cc9a44fe0233ccdf9c8a0a1166de7e8e34d74f02dfa4bf4bc133c76fbd4c57d1dcd991a5a1f42861ced949bf3ccc014bb76d833e856063d88d78
DIST thunderbird-102.1.2-zh-TW.xpi 720232 BLAKE2B 06c273242a962d1920112fe7feee5c028e0348cf89ec329ab8c1eb5e1b683e06b3f4242485374d9c83b5749c8fa35110037498a9964d58af927b93690ab8f460 SHA512 dd32ad01a3b77c88b8dc7fac6d66fb1cf4e95ce3c3f7bca07bbde382c9d57956f247fb52da1b910e2453b14b2ab75d4b37205e8fbb9a283c5ff507467561bd2e
DIST thunderbird-102.1.2.source.tar.xz 505593480 BLAKE2B db71bb4f05633c98032a41e88e9e27593bedd64767145e3ae14d1027564e1185a1908c0ea7bfacb1b358fcd775093cae33e78163e5d3e984747c65d2a62ef000 SHA512 f5c6c77e932b30b43eaa6384b1dd1ab511d0ae8262cb51a5789f7c633235d5f8f343000d1cc1cae12e00a1d73571a814f98b0bf78681e00d7a51a34cfefdfdf1
+DIST thunderbird-102.2.0-af.xpi 543820 BLAKE2B c240bcb5f3128ae95e0864efc98a3e71fd18c2968b97f95f206269f9b18021e0c30a758bb4f2d120b1292c9ceb0cf07e0089c828ac780bbaee2b5dd86c24c8da SHA512 9b91fdd7f27106185f9b84debce5fcddd2c68829491f5e772b30d5e978a5fbe0b37f8fdd5e151a9b2db0a655893fe012f096dfae55d50c6bdef37ff9d298027a
+DIST thunderbird-102.2.0-ar.xpi 651968 BLAKE2B 18435157fd58fbef1ef1f111e3d24d6a538a23d68a9180f86006f35f36103cffa4fe46881ef6db291c0320631dfd8bfce90c2e4a21f9aa8c4771168bb7da6017 SHA512 0e454a561323d68b22bc7fe48f4c03bce225549f6e208bd2977e4adc2f8ed783654e9cc340fdd20cb3fd4bc8fa9f9ae2a409e5f893b72cdefb71961e2b8eab9b
+DIST thunderbird-102.2.0-ast.xpi 568944 BLAKE2B d54a65e3282073acb5f11f2b7d4c2e63fa759532d663a8bf565d726d1be3df36e525d1685620b6c1462259dffa615fad4ff2369f635266f9bd4c4ae2f439771e SHA512 e87f4776dcb67afb2b06e5e6c72ec5454250608bf5a3194bbfb5f98a0a1af7e90a7fda8e15b61c7b6f918f4015429529acef14e16852f2bb55719086033657fd
+DIST thunderbird-102.2.0-be.xpi 683057 BLAKE2B 86ca76020c1456fc04e800663c3bd2840753fee8674415220b88e4b07e1c5cfe034188e4fa0288a2d463d9d1f518e94886f111511fe69ddde4d1a008803c1dd0 SHA512 42a853381981ea17653e09fe59a97e6644e51eae53d44b623705a0c63e828f2a1a3d157d0ee45eac75a2e1e0d2eeb60879ad78d618b504a0c58e837cac328f55
+DIST thunderbird-102.2.0-bg.xpi 679942 BLAKE2B 35921b2303d56a5b6e855e42e57af7f8ebc7a776ee45b318a0e02755a51675abbe618f5e48e0f7edd9266704505a72cb72c95882e8fc40244cf5b9ad55212623 SHA512 15b0b5225fcc97569694b43a549867409abcccba2432759c9350a8fe0b2886dc3abee1ba2e4e6d237f57967f00c36863ab043b7c98a0c1bcfcd98ab5e0deee42
+DIST thunderbird-102.2.0-br.xpi 610581 BLAKE2B 64a7bf69f1e8f53d599ca512aa83c3e6eaee9f48f0685ddcef332e65ff6ec3e6bc20afec50303c65192f8c0eafe8a32612aa066107da956d1635a8b88fdfb55d SHA512 904826116a903d8a6e7787a4eb43adcd627630218eb72c22203a65ed39c769f47ae4c59de566624a2f2618e0184913135fa5a149d57991b7cf7051f360755395
+DIST thunderbird-102.2.0-ca.xpi 633909 BLAKE2B e3be362cec459bbe427a59b1d4e140419595fd269c51fbb18b8b3c0417853c6f71fa12c630cc2651aef8b266231841c3e9a91e7e921f9edff7df07884f84e9f7 SHA512 5369b59eb81824ebb12c90cec799318f5c5af9973dcbdc845423bbded06f3954bdbaa20d1032338fa64a088b7461efcf7c43861c095e1f39ba781c7064353b92
+DIST thunderbird-102.2.0-cak.xpi 640359 BLAKE2B ac5817aa65e21dfc9e19a4cce4184bde719f462a2ede5452c3c2ed01152e08bf67cb10b5813fc855fc817a9ba6b8280e3ba91f78f591e0a39d58a3f24afab787 SHA512 e134b723945fb841795e3efef8094b61e335e3562e2b00bad4f753e0a4ca30b36afaf2861dc7775eb651d2757b2bb1c919e3a2e2900dd0b4b92f5a58c868ed02
+DIST thunderbird-102.2.0-cs.xpi 705051 BLAKE2B 84c30527ea1a35e76c4e2635cef94fad2211a231cb6afce75ef30705dbde3881fe1493e7f2ecd4a66cc23d05593db0fa4e957389efea46b2aef9690ea3fc195a SHA512 44336cfd4f4c27379dd72fdf4e4cbbec32118a5ad30830fbdb51fd172ee0ce78528440ea2f0273de9053792e187d0c62e288ae0ce3810ac32e2aca14ffd4e9e3
+DIST thunderbird-102.2.0-cy.xpi 681282 BLAKE2B 33035b28ebb681cf52ada4652b6be602adbdfd8356f129ce6b09c51e4783a70b5d9cffad60a9b90e0db9a690acd1532441b3586c7ca249e345f3c06a13fd3b6d SHA512 56e89bdb1628f6c08d1261db2d031281c0e3a789acdcfc104a053cebce030b68586955aeb7b49d4a37d0a1f2ab88b9345f6c424314792c3d3f5f26c6efd44e82
+DIST thunderbird-102.2.0-da.xpi 666139 BLAKE2B 0b2379b0b40fa06b74c8c49937a3d7f5295800f9fd20dd7658c6acea2d87c181fe67eafc7b6613415c5238676c9f6c00ce6d6ba81fae13710d6be21d563819c2 SHA512 3170488ad32c0559e321fd9f07f41f2b274ddabb0794c08eaabfd849656810471fbcface2ab11c8ca39b12f8bcb908d2eb6c92a9df17474d8c33ba1305fec714
+DIST thunderbird-102.2.0-de.xpi 700979 BLAKE2B 05f1302b2e92636f767b0eef05b7134449966b74877dae9c636959ae21da5fd96fae0c181ed094a8e7ce626b44b3c266b0aedf2b2f2751e842762e2260d57fea SHA512 ec9e5255071750eeaf53a913f4f3cf3d0c8b4a7e3fd4aa2d2c1e7472cb472e9131d7b8b0710185973ff823fa3ffc30ed64f9f9db8a22d758630668a447639d2d
+DIST thunderbird-102.2.0-dsb.xpi 714625 BLAKE2B ab037d2f91325fe35159d661fd14446819e959680de71e1edc82fbb98f41ee2a6dd70900fdf6ff4cad87812b9709bf7cde3a66a97a2a1a3528d9e305670d3642 SHA512 18fab34ceaab60c5d7d0737793f5d7443c5ee2f240ef99d7616f1ff0ab4f51c902af647b4cc4e4c479b0d49627a6fd8e362f0037cc18db470e53aec31bb8c17b
+DIST thunderbird-102.2.0-el.xpi 810797 BLAKE2B c9883aa10fd611e6feea799642d879e4f4cb75f47031e6a72472e17d4f3bf42bcd8c1d585acdaa725a74e95510200d861dd08dbcd0f33ba086c0ad915326a019 SHA512 720d80ec02891f1847f78a371378a1beb8530cc33e16a31db0f32bd81630ac839203927c1f09145d0f2991959ca42f58ecef75eb0bb8c5ac8a65b0700cac2952
+DIST thunderbird-102.2.0-en-CA.xpi 640660 BLAKE2B 4c69abfe1742115f78eb6dd601ba138fec35e2267263f14985facc9f2cd2bcec43853d426c44370a93c6d3179a622a170d7b28f07729de64b88668c6cff3f7bb SHA512 150e0098d7071b6b3752e74e3ab6ab4bde331d2a923a376d884feecfdccd8858203a5b51c359c452660d76290d11dc3c44a218404d7e772ada66c3ad6a1121aa
+DIST thunderbird-102.2.0-en-GB.xpi 641869 BLAKE2B 036eb4cb5e49818a0d661bd031bc7b3d76d20b05e98d274554fb429450b8c104b0933a7e945c729243ae875c7ca77dce8e27cb7b4ac49b450b083be11a64cfa4 SHA512 a3c7bd48eacf2d87ddc8bf65323269426156b43f2c0ccb4a00e66db57c1e1f2f32887e3bc562448452ee1a022cf34416109b0d4ee491015c63f4ffb7d61cb10a
+DIST thunderbird-102.2.0-es-AR.xpi 691408 BLAKE2B cff2af00152348b269db39294dacff59874f81fcb2fbf40d85c6b7d0413fc96fe6a93bd443a7a97c68bc665dddd0ae17654fc2aea5ef9776a6297262ac65578f SHA512 6aa701604b4e4d42f1bce1e87dd32a6dfbfd3f7f3189c616c74d0a732f06ea2521bfbaea9595533d382f43093ab8b2f9e0a40ca376d804934d1b65f0bd483a0b
+DIST thunderbird-102.2.0-es-ES.xpi 646436 BLAKE2B 0c9d3b69b84fb3aefd07358a9f16bebfb07a6bf35400a1e3d8c6eb38c0748817b5fcc7847acfb28570e4cc418dca15569da7a69082e85d2cf14874a441b3e2c5 SHA512 c0a9a87bc69ee5dbf09b9767bc4e012b5873006ce6a0c70b3b966cb066ebc218a13fee5ae9ecce2426cea4044b3a7eed57090bf2de0b40a805c7ecfccbeea09e
+DIST thunderbird-102.2.0-es-MX.xpi 694104 BLAKE2B e2862e2c15256be9e341d964c550450e229851b7b36444197a9400e6f6ca01ab421b62e4192b680405371946ae8e3f52756b94a1561d01512ab74ec7b59b1aeb SHA512 574bafd5f3fee7c65bf484d0d463a902fd1d3b9f7ef160edb7e874545b3f0b15fe9c177bcdf11a64efadf57d213c23613cf4b10591d99b9cebcead7c351a5e9a
+DIST thunderbird-102.2.0-et.xpi 664263 BLAKE2B 91558b393e6510b7f79fa40877ec6b1b8349aa83fff4d5eb3026e5a929da318e493517066ad4db9aa4f14d8ef87e91c98e2bf07aa6a93f7eff13405d0d71c093 SHA512 d839952672b596aecda03db25206a47b9850fb4bdaa4256048a468d2a68b5d357c534cfa3faac4a11218827d1da349d8df69ae0515dfa7f746f81206aa410eb2
+DIST thunderbird-102.2.0-eu.xpi 674932 BLAKE2B 9d67f13e967235e779dcfb984a6e52a29d89f4f60f8fc94f4c433e9ca15020536426eacdff4c97d5a9f344c765276d2932773c41653c94330188a3a074ce0f9c SHA512 f7fc5c3312483a522946b25b497263220171395dbb87e957c685dac9ce4ba5baed24cde3543f223e48f6ed25fd787e8425152fc16fa7cc3ee649f5b6619776b5
+DIST thunderbird-102.2.0-fi.xpi 667057 BLAKE2B eb1681d4ac26306ca18f1c0a8827fedee56d11a1d2d9fff962b68539d934dc4e75d5502f1803f20d811f9cc171693590e6cfba53aebca4c4b203ba5ff834cc2b SHA512 3a1e260df0ad3427e948f887f0f89a049f2421a5097eb98dce941e917b3c9814319eadad702fc171003183d5e215d753ea719d04f793c4832353b7e1dc29b9a5
+DIST thunderbird-102.2.0-fr.xpi 703971 BLAKE2B 501ccc7fb4d971ddacca05ce0fd39cc6f2179ded1c5b246d7dbbaa19dae1a948791f731f00aa066cb6d22e7a6ef5d8c4ab2c14a9c8328c4f5d792bae952cfe02 SHA512 040e012b8885070af57c0f5f054319fb50bda4e229449ee55737951a4699875681c465b45aac1958f42c07abb9ce45ec3058f02f087e5fe41d9454b734c550aa
+DIST thunderbird-102.2.0-fy-NL.xpi 686547 BLAKE2B e471b368b4cc46d8f1e7ca7681a0153b7ca5b038b8f9f8a7fecd31c55ae8a66e842850c25e5fd8d5868e4daf035c2e7fcecf7c11efec30def66a4b58f7f19bcd SHA512 7667a799aa4d99890014e568041872b32c7878ea20ba1424f0243e7a807ce7fbb603789d6833305272d39d638ee36feb3265e3fc13b5ec7709523803c208d9cb
+DIST thunderbird-102.2.0-ga-IE.xpi 604504 BLAKE2B 8a8f1d54a11775b38ad6954152c898ec547a55fa60b74813b06f2da68f68b760f4027f34b0832fc41f56a519fa6893d6e55a35017703f18bf77d174ed7e8e244 SHA512 c1d18b026f9bcbb77769db50eedf3ae263846ab3441283723c2cf7c574be2e9869d2f710887a12b90659822f1c51bf9aa3855e7e0e5fdb14bbf9df511dd0d586
+DIST thunderbird-102.2.0-gd.xpi 628948 BLAKE2B 02a6c033826358fce9d0095e86087dc9f19e70b8d1d0c0bd856fb4bc37ff9dbcc441f0b863afe5b022d1e995c0cbbb9c70b146b36d51e31919e0f07ca2dcbc8b SHA512 850607ea7b9f2fa33681d014629a9531c9f631ba14445afef075e67a8591062f03b9cb73bb848d328ab187fd6cce024ab6c39e2ed9a48de321749b268526d8b5
+DIST thunderbird-102.2.0-gl.xpi 661860 BLAKE2B d73c5a620336d6359926953f951d2873a28ace9e5e5257670802637b690744f428641bca82f65f71d5a63e4e63b50be5a12354bbfd20eaac46b71a594bea1798 SHA512 2b35db1e0b8a274f882a4a99d7fc60bfa50f89570bf1c51fe43c9eaf0c0479c60508e305711c9a5acc1e353d226e93e1697dbbfa46ad8e6b7c491fe09d3875cd
+DIST thunderbird-102.2.0-he.xpi 659613 BLAKE2B 1f7c9fd90153e4f510089e17fc42894b203bcb17593332f097ce6bd1545e2117bb1f3c7f279eb0c9c50e46eaa55e90b138f3dd2bfdb9804cb5d5b8bde6fa47b3 SHA512 359a129d31d4376a423af28d4a958b4108e0b60edd6dafb9a61981d92dfbc7e1d9dba8423976f78d674b63745b8fedd249ddf606e5f24342925f9785a1cff9fc
+DIST thunderbird-102.2.0-hr.xpi 659427 BLAKE2B fe8b709aab7d3b4b58bb6a02552a6339ae35ad3180ddd84216b6e38e29a8861f3fe608fe7af6943ab5e1e3072f86b9b5cb78557eaa787a68b995ce570ef9d360 SHA512 dc940c934c24aa217f959590abe0b0b332239194d8cea874149d80757c014315138ecfac2e715086f33dc1d9ec265b4a89205375b0efb54c266b1fac3c5407dd
+DIST thunderbird-102.2.0-hsb.xpi 711589 BLAKE2B 3fcaff59c73bc96674adebea02e56005a73071aad5dbf412fde8afa9c1485dfc685f2acec3fd167625ca7c2fab2507bc18df25922029f1cae976d1620fa04866 SHA512 532ccad8b2d5d3f0c507be38515e5b226cc8516608884b2d553477aec8608d6531e06c1a14d1586abc082d150dcdda09178d4cf4177b4a84a8d793cdf51e2e7d
+DIST thunderbird-102.2.0-hu.xpi 714300 BLAKE2B 80f3bfe3c5fd5de714cd6cf92e073f85407da48b32bec0c2741e37b1db2d5e0001fb492d52087fbb540bf63d7ea164184cbc7e7b2f7f56b8daf945ea2055e73e SHA512 6a761fadf63ac5291f1b5101372a21faaef40c89d787173c03854b6b9fa615df61dd2974c63fede9a049856fad07803bd08166f9e0f7272ab9f7c0b3815a6bf1
+DIST thunderbird-102.2.0-id.xpi 637799 BLAKE2B 9047feb05705f66e893d6e0fc67177206e0e747f8f9c8cea589ae2d4894cd85fd1eb08002cba4c469921016535bde5453c8aa41d2afd4ac32ab75fe0b9454a38 SHA512 841aba25c87e6f544770954359c7e7149c1d25e828ac3f556a22f38428fbd8b2f51bd3e0e82d046326d5232a2f9a0f346c58f6d859d3a5926efee91d0206e7fb
+DIST thunderbird-102.2.0-is.xpi 677224 BLAKE2B b6a3d585e889e52b8ad6fcc8579be32b9cea92cbe358589024660973fd34db1b9115be59f8f3625fe5048fc1a1a18a5e5566823af9ac522b3e9ffab7c6a2f924 SHA512 4e6a02ee28d2e3937639f00ad630c200ebe96e94d6511bb58ac0b64463ba633377328f00a16c0e2702283906c2a993476aa3cfb86729a47be3fc4bb4af8c1c9e
+DIST thunderbird-102.2.0-it.xpi 596393 BLAKE2B 5fce13afac66db0e3072fb18ab9ce222de3c5ffea786c9359c9b9f517085288d13a239e11331643ff0c4caea2695f66706b3e760bf52f57ccbe9633153136cc9 SHA512 c2147bfc1456482f67865ae5f2e8b2297c2ecec776586e4fc8e503a614ddc35e9d2fa76d5d929a1cd7acff43a3071097b58030d052e2f03f5eed4f52b92e74c9
+DIST thunderbird-102.2.0-ja.xpi 733248 BLAKE2B 2cbd856d4b524f23d84f8e6c5f0f218e5e72e5f0aae19b0e26e7207a146f48eaa5a6deee30811627ea4c99aba523fd23027311fe4f76ba038afd10807f6ce925 SHA512 95d738775ac062f970d879ed93874ac2ad3491a9b396294364a6beedb7d14bd845898f67b714a7056dbaf1e5fd7f7d740dcf564f0e70f7bfcdbab7b57963ac68
+DIST thunderbird-102.2.0-ka.xpi 747191 BLAKE2B df1db2c0c17f1114dfb457840199aa83386d1e1532c30e39a445b4d347ef141f2aa6c134eb3fb6c1626524ffd53c9dd8592dd7fbb04892caf8ed6978e333d517 SHA512 a7164a9c9ed8c4fcbbbaf755ee9661c153144b01116b75fb54886814bf2197077dcdeb3ec47081455c9c7ffc0bb04134214bc730986f7f991cf0e6761fcc958f
+DIST thunderbird-102.2.0-kab.xpi 685788 BLAKE2B fcef99f141d9c626ae67886bd237b87293a7b38d5c9ea3ee5a2d42a8ed385cf2c977b9eb083953582918fa1f4d7a962c3cb78cba042c88e207652a8aec2daf1c SHA512 429fbdf1c32b0cbb2d4d52610e0b0d10b2632176be2f2674dcf84bbac0cbd3019ed96792e3c9e058577a05e7e4e61befd6ad6d4de92ce1088001f7b97d3369fa
+DIST thunderbird-102.2.0-kk.xpi 728823 BLAKE2B 7cce83d54d06334db683ceab8c0f484fff2fda0aca097eb0a505b6c4d11edf036a8855020c840a20ee3869bf0ac5b55dad49277577acb9e059e82e0306a23510 SHA512 97f3ef86224c55a12ca7070860d681fbd3028c2e8a76091f2ce6f36f6bd460b31f1be02ba2b1f53955cb533c466523939670c345971ab68e02b500f7fcfc855c
+DIST thunderbird-102.2.0-ko.xpi 691194 BLAKE2B ee10b020f9aa8dbaa5af899e57b1547976a35b1f215f8d9d9a463136eb6b34f7d7d7710b87539e954bcc79ab07ae0d100697e4d94ac8146b32369273610dee8e SHA512 7a831c276490a0df438c1415c45f16218e20fb4e8036beb1e08c0ddd37bceeb6fbfb8645e0eaa8b7c923de38d9d915d3c3bde8d007c8fc84099d159d95751c4e
+DIST thunderbird-102.2.0-lt.xpi 679638 BLAKE2B 2da3038a1f19d92bc88a03812876348167990afd663a05b399b0c1f67579a2e9593d941f5fea89c1c3fda6788ea9a74fba4047c1b28ae12b5e6f5d91d2623940 SHA512 a736a88593b832b6b87090192f5e0e9ae059ab9956ac6da7340dbf2c65efd65549cde0fb21b486fc05c2d7ed9ebf39f66430d6baae19349edc28c66a3946edc6
+DIST thunderbird-102.2.0-lv.xpi 607225 BLAKE2B 17d1585242bd161e6062ae05b88aeeef1e9bb4758c5eb994bf0936d07cb3bda6ecd848e751c5a82abf2280d6dc0281bd50bf0d1d566b0f7db5dbb710991c4f61 SHA512 7834157e11bea72c9e339e980268283d1ec1b04205a7d1de803be1053674a314b1b7f59d46fce21fca12208cee2ae46694195d091a914d095aafcd93d9b28f7b
+DIST thunderbird-102.2.0-ms.xpi 568092 BLAKE2B d5977d58cd6ffbf819eb969336a32eda6e03e6ee90250e950f4a9c6dc6f4c7736ac72622e95db749599dabb1d9606510e22fe12012888afb8919ae0d1931dba0 SHA512 022343cb8dab35fc76675f5de72cc79ad400d705c29e50474502965f4b8819d9e387463fe914a8eaa147c34e57bac82c9576dcbbbe1469ff80fcebd4876030f5
+DIST thunderbird-102.2.0-nb-NO.xpi 645730 BLAKE2B 33848f965b7789957d17eac6168576a51ad43c0f23874cddd11f256f2ae566dd68bf10ba9ecd1679d5fade6a3ee23da833fc2685a9937a169c8f5df7f22216ca SHA512 0432d23222b3dc8fb39a1b236e607662394908db82e2bb04a9258b4f16ed2faa832d2a04748084a4dfe9b9c2a3006b1a3b7dd185abc655562159591d621998b9
+DIST thunderbird-102.2.0-nl.xpi 676883 BLAKE2B 5735e0cc0f00606d20fb0898d7e95f5e13b62b644cf7276b45529b902e90b0a9815101ab6e029a15d4fff18af21975dba95f88402a8989ab861077ca1e1e0390 SHA512 e1fb338ab25d229462948d7bc58cfb691bdfb5a24afed8bdaa6ce778d6466cf93ce75ebf589f9b2b8aafec5547bc7d08fcc793695cbe95ae89b66013475f2469
+DIST thunderbird-102.2.0-nn-NO.xpi 652869 BLAKE2B c393e12fec53109abc517c9e8479a9dd3bcdb670c68eafdedf70f36c99539e0b8a3b1ac1338c3e500c1c2171d4a37b4e65393e7a833d1a448ce327ced3c7be56 SHA512 afe98a022a7313a2b0bb66ffd958d892e6176254256f08490483acb8099bc5eb4a07fd82d58786b4c08e9778f46285f4aa57c3481435ba5a940dfccf2730c7ee
+DIST thunderbird-102.2.0-pa-IN.xpi 642751 BLAKE2B 211381be58462cb3c12362feab84a4fefafa68eaf4282b5f3704f88a23c9325684603f32c38633b6da69be4351a418a30429de0d8998b2badcc749d3fb69e6e4 SHA512 cce27bbabb68d4f748412b6c9d4ab1601d6b23cf15770e82cb137f19877bbcba0dd280262ca675a8b07a6e480fc2ee00ccfc17ac07441cba74ec0dc7ca4663f0
+DIST thunderbird-102.2.0-pl.xpi 690492 BLAKE2B 379bf6752d70438b19a9b7186473ea11703b23abdef5d56a331129c86fcc3e2d62aef1982426f5898cfecd1acb6132c866a3927e04cd87f7d070a2d34ecb483c SHA512 d549b57fd06e1681f6cb0fd62f0fff368656b7fc01650d39a1c23beebfbf6ec938d042f74d0bd4454687834da027f757d49dd4dc27a27ae7b79f8433b4747e2d
+DIST thunderbird-102.2.0-pt-BR.xpi 685720 BLAKE2B d5d464360e0ac323d10d6ba0674701eaee74196d4081a6f6673ac2a210661d9e181d1aad0fa005b052a17525383072a5ae48965d48dbd693e20ae49e4c2e90cd SHA512 2dbf0f2fc9d96ad10a887cac0603e628c0ca1e5aacc8ac2beb14c711d065d4d601ca29a93fb560be34a4c58e49aed80cf113e243a4dd04cdf80541ecc673756d
+DIST thunderbird-102.2.0-pt-PT.xpi 663981 BLAKE2B 39b40096a424d21c3984e966894b35cbcb3a4623a4b1b9e116ce4ae1ca02459e390b0841afa4b0f22db05028556dd27c1febf34432e9cdacea7e0909a5da36cb SHA512 1d519470ae72ebaf9395a32db58837132cceef65c7c4e40d2fea9a7bef4779046a704c75e0efdabc7b1f6588cfb2d06c1db46234f6d827cd7d9fef2dc3c9c488
+DIST thunderbird-102.2.0-rm.xpi 678859 BLAKE2B 53a28a63e2c3f3002b1fd3823b0a616e8d615142d596134d82646c74d4d116ac32eea86df075c7864465c559af06c61a68c32e5fa3d0fdc4d212325ba43d628d SHA512 ef236e2787676a6f0f418604a3f00ea01a95bd066492bd33793425d660e6e49f77f4810ef13c1dc1bb9357fc6b1414af51d228c04ce4a94e477c136b26686312
+DIST thunderbird-102.2.0-ro.xpi 649337 BLAKE2B 06829468bc66950b3a000d26b2f5492a0b626dcbd295ca2a937671917c791529f6aed791c265bb68d40c5970f67c8eb52f70068bc9942139cd5da244a5b6c445 SHA512 ee5ca88e49b0a8d8f3e0c2baa99a59d89595237546b6f2d0d76cdf1a5ffba3316c8c55ca1e76b3f339b13d247b9ec37652aeba56b4a0f25e78082280fdeef14a
+DIST thunderbird-102.2.0-ru.xpi 795706 BLAKE2B 7d578578414836bcbc71c548aafa5931453f0da61ba1cf907848d39ebbac65fdd2a15f120e05a7c9cb34bce60c0790ee0ee71cae268a36d0199090bb2e81e386 SHA512 7bc492493ce56d31c5e111d89456908a29446c3961a864434c0a58cad0583f06798ead68430194bda76d0aade2380e20a33ea119f7c6d04abb97ac4adb8d0a33
+DIST thunderbird-102.2.0-sk.xpi 714082 BLAKE2B 953606956f821c4ffc3a2ecee9196641757402164f003cc1b461068607368cbd33d8ec5f86581dad6223d0fce6998458cc349164007c2a0c1ef5d6a4fda1ff11 SHA512 54813217bbcc80f60a454918855a8567b78a0108a15e66ac64fe2b3f9b159a5ccda5165e2939e5ca196b3fe68b148b7240ec8820e2d2281bf6ba62431fa9831e
+DIST thunderbird-102.2.0-sl.xpi 677735 BLAKE2B d047b6ddbcfdbca2285704ec7e2610db035e2e3d15e75cbc070667b954e70d50cbb58615047f43447c0d73f1c2e17c45cab7fe0c7791d9ae990ffdb312485220 SHA512 03488c85aca9e8a81015862513d92f747612b8bbce27e7c9993f3c69d7b32ecf0c43684aa28f9772f089ae4f00fa273c6d7489f2dec41be131c390748e3b84b8
+DIST thunderbird-102.2.0-sq.xpi 688532 BLAKE2B 86de5f45d7b93be81c85082ad05ae03bca13ec0f4498bbd7f67c50ed63edf0bc6438807f718e0a7a99dfc0fea8c142cb52284b26468e35043bbe7e60befc3eb4 SHA512 faa0d2c60811eb6025bdbeb868a10b46f01c570f1040ad56ff85170bd15104a5af280f00557813a325b51c3aac7e2dd5905aada8d3bf26d0d7feb11a6e7ab621
+DIST thunderbird-102.2.0-sr.xpi 697001 BLAKE2B fa6b646cefb39ec62c3686f6d93252a7bf863340f48bde00a7ebae1ad6e183766b33b4c3614775367e69c8d5aa5bd75c7a2b7946485d55330c63253f2a005d15 SHA512 fe4e4fe3af381efea820a8fbe49cdbb9eee261a3a47344af6cdb26d541ed822d6039458a70675d753200abf08cfdfd05708bd4804ac661fdc7a280fb1432e227
+DIST thunderbird-102.2.0-sv-SE.xpi 681720 BLAKE2B 2592ac5c9c824f821b49ac882d7e016441dfd5a61c26acc668ad117d16900e1893d38496371d5c4b36b3d230f488daf77cc5de7fc9a58d82eba968c64d6e1c76 SHA512 dd92c12411469f572e6a993c7a7ab0bfb9923faf25e3f12084374dcd81194811b69646b5b402c96a95471fde064051b563ef2edea44ba18765d1e9d37477d789
+DIST thunderbird-102.2.0-th.xpi 732904 BLAKE2B 7654c64a9a43a82e18521e740632cc036043022f46ba8079a47c4304a4fb34dfe7a293361c5b45a534d1583021783304af2ca08c9de747d3428f1963f4a440e0 SHA512 dbba401f0c686c30f0f9f0bc4c969d628bb1e74772abdf94d72287d1bf3384f13199c131c11f124e143612ac0b075437fa081d8d3707130696d9ad671b6c45c8
+DIST thunderbird-102.2.0-tr.xpi 688927 BLAKE2B d60ddde13e318d25b3e7f8f0b28754d935f9ac2496127960f5bcad619f4c2a4ca18a16e5f51da02ccbf9704616e4801da7c719b7fd2bb0f8276871cd20a3f71e SHA512 844846ad577e43b15be25115e03c623342121cd6f32f3c23ca0505dc1902ad9643af6a78386399c38febacb848add8f700f890b6ed4374d3dbab0a19e12c4ce5
+DIST thunderbird-102.2.0-uk.xpi 788495 BLAKE2B ee9529a3e25e266ae96b22ba555c463bb254fb1b7c0ce4a411473b2e3b5a1de05cd9745e93737e1783385be026123f582068e1473af0470c292f1e09d63878ca SHA512 eaab3069a1edaa42160db419c81c5756537adb2cc1d05e80e1a2049b037feee83b9e8e585b07ed8a6742f8a1c39cee21d5c026409e5158fb604d455d3459f1d5
+DIST thunderbird-102.2.0-uz.xpi 585406 BLAKE2B c57ad4d7570911a41a809bcf5d7075e1dd1df0d1b7fb567be99ba7df149b5256101be91bb88fafcbf8d55f2d2df5c744474bb711ae724ea7d834d2ec04e65289 SHA512 c175a82d809fc058e82dc237efe8e08bcdb739be4ce6cf2c19035833ff3664cda7cacc24d173e76ffcfdf4406433cf474a2e212c73a36a0767180686c365f938
+DIST thunderbird-102.2.0-vi.xpi 719956 BLAKE2B 0fe46a18b7886280df5050532b7259aed8c81385fce4d1da014c5a314b298309ed324110ff0a1b4661e98b15bbf5aedd377c25bd58d8a0a8a29affee66c714a2 SHA512 a5a8ea3cb6dc61b309e394345c23e256542e370e16f2acfb724b66c06ecbb7f7038c710f3257c9335abf9325feed08612b01dc1052c0ec42a432884bc399df0a
+DIST thunderbird-102.2.0-zh-CN.xpi 716463 BLAKE2B 91d9022eff74adbac74cd036074134804ee0f4f82e93bb74bc183837b736a574f712ac9cf1f2af0dd939e69378272a204d7473863e972d86da739384c03031fb SHA512 3d12e086151cf7680dcf9fdb417431eff36dc9b8de7ecb876d9d726c8ed8829831d7b62021ba67e55c2952acab8a161e62a22cfadbe026b1cfbfea715c4efe58
+DIST thunderbird-102.2.0-zh-TW.xpi 722339 BLAKE2B 0a6d8498a8209798326fcb8ec868db550a594b57cb0450268d9fa9c49ffbbc8163baea214fa4b09e3c4497d101a4758552e7a12f1f70400d6945e333e1e4988e SHA512 98243637a26161cc857ccfbabc39a58d31962b8cf695f000fda58328b106a5850ccab55b9f5b59794f5c23bd529c987ad65e3d9850095d50120a374fbfdf6b44
+DIST thunderbird-102.2.0.source.tar.xz 500331516 BLAKE2B 1c48e2c0fa02f4c2745e5f5db7efc393efd2c2a882cf5be02751be1e0d04dd217afb6cb393ee698416081de533a7583ae7f6a9312fca8c2dd9c0ae3a777321c1 SHA512 a9ca311e3c55c8703aaecfe30f8a8040a16acc445530f7462baeaaf941f7221e60b66b0894ea0b3c0eb83ccc882706674cfa319ae93557405946ffffb1f6b5dc
DIST thunderbird-91.12.0-af.xpi 561877 BLAKE2B b32da4d389738f5984c6a5ab27810d122b3413d43b120862ac6cb4c4b550a45c4870d0f038d2421cad92eafa077f0539cca89c42ca745931061f2b9fb497a292 SHA512 dc1b72fe8c088ac48611678c1332aab525624940c8d9f5fdf1ffcf512837bc003e7893882f4bce724c2c4cf54487038c600e326ed227849250ff5e8cd76879fb
DIST thunderbird-91.12.0-ar.xpi 665730 BLAKE2B 8919628c0d364635ea1c9a92acd5184f016ddf32ecf5c66cf7653ab26db05b208cd5ab9c3e6b4addfdb559754fc284c1874f7560f949d8b9fa6aa9c4758ec72b SHA512 97b228149582f5a4608cc2727c22e41253b7b3081837d9d020ac5af32144722c31f5d8d6b812641a43efb3be221a3e3ef66b034ff3e02fca902793d4156d2218
DIST thunderbird-91.12.0-ast.xpi 580510 BLAKE2B 65e4d8e38b9f4d0189dd939e1440ca758c4196907159e1e627487509e8bf6a7ff156e57120c95bad223d980d7a97bcc20abed4c890f46c430671d6e68fdfcf11 SHA512 c77245fbbe002ab17f7f33d2abaee1f6ce24617845c70fce606380f1013128992e9d818f6f924f5877c7b78dc539f1aa785396eb622caa2037230c68e4e76af9
@@ -200,7 +265,73 @@ DIST thunderbird-91.12.0-vi.xpi 725526 BLAKE2B ee8a25cb9eba7d589c6320397e9552e6a
DIST thunderbird-91.12.0-zh-CN.xpi 730901 BLAKE2B 9d183dcfbcd2bc8cfd200c5b9e580ed6c8f79f9185d6e6d2960fe384d5d1cd5a4d1313c5eb3d461c54c68df08140a4057e6423af2c2183167c5af7c96b1d2e72 SHA512 3b6b6a428a492069bac13c8cffc42eac316af2ef7c138a517269f11857393546dff3e3dd242f2ee9730db18630f623086aa58577dad43349844a6f542f260ab2
DIST thunderbird-91.12.0-zh-TW.xpi 731943 BLAKE2B 441081aafebc9bff1ad0a6c8c33cba392854f41b30be59bc614a57ec316d5c0ccae774d3b0c238df3be61c1c072507e09a4cad612259f13145153f33bfd14ffd SHA512 b93fb3cd53646394ace88650ae2384b8b4160e7b60975b068d750e0add4474e926e9f47112432d940b90e90180bfe308c999bc93d06ff56f5d1bdbe8c5320d31
DIST thunderbird-91.12.0.source.tar.xz 404609860 BLAKE2B 960958211bd4661cd36e55aff024ebe800aca867e7a9a5b54de694c4477473360d2422373accc325ca2cf7a3bdc720be427bf281beba2e9ab052fcf2a62ecf67 SHA512 1c0200a84ccc4124127d472713d72c4ff7ece8d61ad120d5c45c732a3ab4f86a2edfea23a8bf26e4739d24956654aec30e7bc59a28af17fbbf10f3d67466649a
+DIST thunderbird-91.13.0-af.xpi 561879 BLAKE2B 69a959c61b28e7ee9733db245ffc91ebefa3396c1561b933b1dbfe1135ff88b3c5199be2d29e43e404e63f0016fa05838c7612823727fd061ad8f0407a762d2e SHA512 bd52e0f660db3046c8641038451e439c79f3961df342b69365faa9b8f2fb5d8e165a8b9249989524cd4e0bdc5867c872ff6ddbe5aad1c88bc0a869d4cf16e9c9
+DIST thunderbird-91.13.0-ar.xpi 665731 BLAKE2B 3302223e35bef747a8c04a2cb25c1bdc6482674fff85bd4c6b278ff9be0a1f72615d075e13c185dce6296331bdde42bd487d9fda1f47f8fcad8806dfb9882009 SHA512 b510f1277a4a558f9e2552bccfa6f988c62b47366665c934bb173cb58480104b026f487e1b1d778cd25990a14b2a4b39b6f78852c3d0b220bf31e8f021ece2a0
+DIST thunderbird-91.13.0-ast.xpi 580513 BLAKE2B 811bde79b93aad145f92dd7df9a998622b5d097c13edd6195c67f83bfdd8526dacdd29f35c2a33652997659b68ea2d745714b8b521236e6f6ec91ab324ddf994 SHA512 2f229377f089e383badebc251f40d6fd7171f3c6e4dfaa3eb2cc205cea0de6495f42efd940c6db8976c8c60997229c61b876f428b8a71ca2fc43590ba43c4cf2
+DIST thunderbird-91.13.0-be.xpi 695199 BLAKE2B 4ac56200747c4c2e2ee6dd0628a1694ad0ca68848dd43666cee4e7a7f2191b9eb51db54cb164184bed36d9cca8b803522601785b103fbf02cc35ac435735e164 SHA512 6c2d7fb8b33721c89c9c1a76e54e0d5379f4ef20741476602c566d81614046b61cb0403de324ff598ef43aecf24055b114d5fb851522670d9235389eda476e1e
+DIST thunderbird-91.13.0-bg.xpi 690997 BLAKE2B 89d0fa36ce2a399dbe6d0506d3fb82096a3ae6c41462d41c1eec68a5970ff0e2bd16d5409da7fd7e81a9daef74e1b0368957c97bfa2df8d757c9590b12539ba5 SHA512 cf4e4d3a8529112fc160c15af09c5a83497cc8dd79486a099f4d299952a5ee0212f3faf5a968f983f9501fdf25e7bb94a0aeb79880c1cf1c0b56cd98376fe102
+DIST thunderbird-91.13.0-br.xpi 620589 BLAKE2B 520af826cba4ba2dfbf0b65fb806cf65499ce698d763cfa30d6d45733579fb58b54948323195e36aada44a6585e1b03829e9b06fca36a1de7c1e9e86c39030ac SHA512 d2e53985f93df3ac5e31813fb8ca397379672d721e98e8e45fbe70b915959effa942cfa1a45e03fe099bb3ad5f4007e39e93421ae51cd0be7655b3b3744286e4
+DIST thunderbird-91.13.0-ca.xpi 645976 BLAKE2B 798ca07a1796a1142de30f63c2f721a01b7c5152b9d1e0013548b5fe537634301fc3a4472822e3b016aef0537991763295f9cab3c6258b2c8cbd8850b2eeb1bd SHA512 9b71b7c360be2929979b68bbf1884a8d288dbaacf4a4cffaaa634908053f0ec25994754509cb5cef2cb5b94bdc3f9a5f012b946072f687b8024698e48621ee71
+DIST thunderbird-91.13.0-cak.xpi 652066 BLAKE2B af68e109320542932619d261acb4148f59a209496e26132e857d76fed50c052779bf7c994291f778953b6cbd148f96f4181e09e62bcf59d404d1bb3e10f17b80 SHA512 0f9d1aec6b540fec3e598d184daa4709a354594a0d0505e9f6feba6dc71b22b7e8669708056bac99704441540f7b1b6369f8b003056c2976feb24e416a987eb4
+DIST thunderbird-91.13.0-cs.xpi 711938 BLAKE2B 9cc20b0605ec7a252707cdf66569181e57f1a9466cb7d0127c1a9de2eac1a44566daa09d409f978d14ef9a90efbbde8833f8d92d18c3a26a38e7501a8bedeb61 SHA512 91f208a2e25916533d4428d572fb530ef01104bac2f431405a407819a480384b62629756e65b7cd7cf67eaf282352d1554255ea73040f1a1b236645fbe5aea3a
+DIST thunderbird-91.13.0-cy.xpi 688890 BLAKE2B 80f553c23af308c91dae7d95801069c92abafc98bb7777a39a102a916ec41d0bd156ba00c9b16e0aa69a9c4fd0958aedd6187bc43df43c810e766db3311542fd SHA512 c68079e9635f1313571fdf15e320ae6ce1e7482dee0cdf63aa8cc7641555ed7021146a03359fee61c7cee153c9818074b7eae6951d43f5b1c169029a9a44a111
+DIST thunderbird-91.13.0-da.xpi 674446 BLAKE2B 529f9e750c0f51878cd4ae206f3a9d110e988ee741628a3eec5a1b42b2c1a402a3bb0f8dda66b0390828d918aa181d00bf0bdc6eda2947a58fde00c51753584b SHA512 25e9fbc88f434c77424fa4688672935f61d6ce1a71876dcd44394c5a20b41664305c810e65ae7bc293d234f358bdbd5b6c1d7dc3424e84812b35f8a76c893907
+DIST thunderbird-91.13.0-de.xpi 697528 BLAKE2B 867b016ad043a5beb8fea124aff852127b8bb5d9c94398074fdc61267737551271d11275e56659a4b109af41db7d7661d9eec463841539fbc1710f73e684c316 SHA512 1295c19b645def5ef7c184e8232d858dcc08a27471f84b40934340e1f9370ae9d92599ac55d5dbfced556918bb8ea19909d42c1a1e2b700bff8d5b616920ac68
+DIST thunderbird-91.13.0-dsb.xpi 724000 BLAKE2B dc591868091508abbf7f4f0b34dc9a84e135e33fd46bceb364b6a4f1b5feea05884737398ae38d1c43afdb524a9b95580f2342808bf3328e54ab45bb569e3b6b SHA512 7b8c80fc42062962fc5c19b122d6bc7e68f8e8693adadccd6adf2b1998870446557c7ab4b7757f80567fc71583863e354830e56e7c35197754cf0f3fe2eadf47
+DIST thunderbird-91.13.0-el.xpi 821181 BLAKE2B 0277eb3f95b6d4e58127fc690b109e4837bb997ea550710e5646004f2c6df513ef5e8706ef8cf36c47e22c6f5bf080cb7809c06d16a19772aced618afe89cc3f SHA512 692888ddda44d4a0f7075f54bec3d8fa9c7c05a6acde39613a1782f00e10642072970be9773ad5b7eeb593ce5c9ab9087fcd24bfbc4bb56ee5e71292e2c875fe
+DIST thunderbird-91.13.0-en-CA.xpi 647813 BLAKE2B 6d210d1d8e648ef4f9ebf3d29d9fc42a98b36a02a7980621b41ae8f5c2660fd394b283345d02d00cb8c32a3bce6801498795d4b6a7e8c43151b146b38a3cdab4 SHA512 0ea872bc2b0b853631fcd9dc7e4cd53cc720151f482307d4e5847b9f9ad29ef2540a5d307731be939e55e051e3538184d5aa8d2d9191648369c7fa578f3bcabd
+DIST thunderbird-91.13.0-en-GB.xpi 650554 BLAKE2B 98745d0bc1ac535325619c0c81bba7dc84c6c1bd3c6d638b4ed9f6824f02357183eb6456cea871ca6ce5bebb987d7e5d58f60acaf0f34027bcb256a0c3a3c211 SHA512 77691f0ca885aa580be6c117d0ec23311357d91b42a05dfb71cfdbcef68a289404b02add3f814996d7d6f09cc681bbe0db753738bb6dc0ba04fc676f07f755af
+DIST thunderbird-91.13.0-es-AR.xpi 700497 BLAKE2B 6d9331ef1325fe6b625e20f7f1ac0c2ecc520003b12c68d4ec1d32cbf7d1e1a6e3a680e5033415ed05922052c78a63e1845760832a4299d8693ee696e80c51a2 SHA512 b07627e5b03b8512c994ae3f99a6b1be4c743a1cca3ba3faaab891e86094a188e115b2e14dc88f4b1c420fe4dbf84fd1150a6b6502f7e9d759dbf203f430b92f
+DIST thunderbird-91.13.0-es-ES.xpi 630921 BLAKE2B 22b421d8a1ea3005801dbae7f2e3000ab1e992d7b406c9fddd90c2b5a39e5ad16a68ab04da11f1cdbfa48713f5033955d22bb1f4a08382ceda6ab91e015e89e0 SHA512 9d3430b53945ffde1a786ee798ee100e8d71f8bae42b3723d4c22861f0310e0cf5d0c87325bacae41129dcdc6d60f161c75b5c2dad68206a0ae8c2e6b0dda262
+DIST thunderbird-91.13.0-et.xpi 672171 BLAKE2B 41ffd6d20f7dc85c8e76e1e80bd44279a3a210d1fe5a6e95e2dad1583c05763774527da29a46c4d7e3de7a354f5892be086ebc138029423918c4f8e5cfa0285e SHA512 a098794cd26439d655b2c6084097b88924444c24a873a82c165045133f12750df67391c5ce79131e01cc43becdf35e83ea8c2a844a05fed4445f95347b2e8b89
+DIST thunderbird-91.13.0-eu.xpi 678264 BLAKE2B 27a7ab54df10f5ff2a8e9adc6128c5d3de85e18a8b26f27e13438c716c7bdc931d80d07e1f667746872f6c8fe300f9325895a0fb9cb8105f67fd42a5e65e76f5 SHA512 9e8210d987df4db73d7eb88c93aaa00be46f4b72dab58181fb5edc6714375917e6c3438de4269d952fb7396a1a45d8784f20c0711184a564144110c300227a82
+DIST thunderbird-91.13.0-fi.xpi 676630 BLAKE2B 5c51c494833b7aac2ccd4c33bb77be032b1c091e069f64485247b9d8fcb98208090e76aa35f32d9c85322030b860f8c79c4ba1313808e3d887d38a257552a65c SHA512 fa32e0b63e4ee20907e722ce9f6002af5e381c0f130f2040db97a9204ec0a2c898318f56785e8655e8f82cb9b79dbd6869da7655c8b15a14ff85e706e374db0c
+DIST thunderbird-91.13.0-fr.xpi 711454 BLAKE2B d88800733bc7eb7248ce69e7b0dc2b1ef8c5462f606034abd205599927b5ac1813303933f65cf8f7afc3ae875daedc32e8d84ba0cfaa948b08712f6d586c9e22 SHA512 b575325098d7da50c34a4f5f191da0b2f5a48bc3be44bad84602ccc7c0eb530f63b4c3c7e7bbbb3b0c19fc5d86cc0188e6549f8aa042fb3fd424024e8b2b2497
+DIST thunderbird-91.13.0-fy-NL.xpi 691881 BLAKE2B 17efe223696b611f94ddea15ff640636b3370358f6b4099ade35ff8304359315519cf7d8d51e1f55f85afa557a186a9c591faa4b8a302c0614edae5ffe88a21f SHA512 3ea474c74be8cae3e90ce3255204bcae411f5865b407e8128ed46c68a4cdf8aaab60106ca5fb89f2bfd48fe336b111a62191e8293005318cff006a00b3d7cb0a
+DIST thunderbird-91.13.0-ga-IE.xpi 613125 BLAKE2B 0575b2fe7088924ee759971a2c20131457f5f4137b1bd31a9bffb85df94530a450f5d3afa8b90bbaba108fe9311765b977b5b3365d6d364cfb8c701de9644d2f SHA512 0e80cc7dda2b71bf3ce3c73d2aa24a13eea802917b933951dae830d4c6efa83bddd149563fcb307a68ca1f1e1d6e747ed00297f0f6ca010cda5497d993b0a7fc
+DIST thunderbird-91.13.0-gd.xpi 640649 BLAKE2B 020bb5ea0e5dc922e5dc1f717634f17175615e2917eed4397af994097814d8260d04daeb57a040bf62ad2a2cf84f5754e1e0bfcb0354b0cf889796e90cf39245 SHA512 a68f13d0d52bba8232ce00dcf3469d87a05beb1429e5fc9798a9f77a5a33fb3f23343eaac1f010a6391450d0aad51425b1f97b9c3016f32a4156b0eb679e0cb7
+DIST thunderbird-91.13.0-gl.xpi 677790 BLAKE2B c422e66dd826ef3e2bd635aed11ea42376f30bb9cce3f65643c2511ae1941508fa0fe965385045201a0e54b0eaa566894679bdc2d3111c2989001522a8530b11 SHA512 367299d0f96638c127ef9dceee7da21dcbfee5ca02f890a6961d4669c303fdc7457afd55df07abe045d166daadf9eb3817544538f35280749ecf7e4044b26c6d
+DIST thunderbird-91.13.0-he.xpi 673191 BLAKE2B 6479698532472f8471f12167ff2906aea57af02255f1424bc09a330d91c86516a74d47872833c8e96d648a9774df3c6d016c95645f5282370c11ab50e2e404db SHA512 2f25de0c341967584767aef18e56b02612622bfbc75b3145bc431379522f19394c6136f138a295718ddb6373caa0d903195461010a9552ef873805ddc132c5c3
+DIST thunderbird-91.13.0-hr.xpi 653582 BLAKE2B b89ca56b07cb78ad6824b38abe7b843554c199a3ee54b458c980061ffef95688b49f1bac8985957a6f1151bc439417806d757066d5a8a4e0d7c6d3f2e774ecbe SHA512 393ea7d28cf9cdd85a4c15effb0e6695997bc6bb163b1138ce840646664411c628c4d3471f19bce0911fc82942ee0216a27666b05da311a8a90eb811e2eea35b
+DIST thunderbird-91.13.0-hsb.xpi 720812 BLAKE2B 0d55cec10799c7c8fa8066a76e4ed8761f9036c259696bb12910a5851749e061f8e0663726aad98e25dd7023a937127b9ea85d77910e4ceb691153109fce3036 SHA512 25a531e866558322d2168b195a5bd4b0c36eb7e68c22e4710165742282fb15c26606aa24c1ce1837b2363b59f94db7fc8815596ab4fb87ece8fe0f808819049c
+DIST thunderbird-91.13.0-hu.xpi 723401 BLAKE2B 3422204653919589d2bde4522594a4616e7b74fb737d8acd1f8f2eeb623fc789af1094f348ab2429c345a8a6e716c88d7efbedd40cec422aeffc500826b5d44f SHA512 c9429228f8c0aa4b29a79c03307e2257ad08c9f033de5fdc440ef1812988e545da5585983a15a81f7ec8ceae232d20d3e9e1f87387b593626cc469365e1048b2
+DIST thunderbird-91.13.0-id.xpi 648251 BLAKE2B 1f3388cff2b4ac5ff85ffc777b5a8b010ebe3a2e47ce603aa7f23e928d189317e058908746de40beed69d95f2ca434cc97a045c0b717fc21216b9ae403338952 SHA512 420dabd95b922d6f0a1bfbdd10149202da6f5d0d8c8344d0560453b281992a98c5f1f1e84e4ed1fbbb0ccc5f69192999f06ebe4a1d24d7bfed787f8981616012
+DIST thunderbird-91.13.0-is.xpi 682263 BLAKE2B 84ef4d31d121536f695f018c7a6c4724a024cbcdae7192c48b8c8a602cdbf2a52618ec0a58492ecc5c6087002aea5090fdc511538d5940897fb8067ba0995369 SHA512 704f233d6adf17cae7e9563c6cd8cb8f306d9d11a4183746a1b02e2a1a6786ab9b94b6465f31d834cb6337921a38c2f18dbcf2d970afaaca2ab0dfd83fe37ab5
+DIST thunderbird-91.13.0-it.xpi 613334 BLAKE2B f18017f2500499e0a1345ffc23569747c2f85da8156ba5bc3380c834628b4d8f90dd74d82bf848efef3dc9ea805b2f96e590527c8ddd3889ed7384df8db59761 SHA512 556de2103c48a514ba107c1e87b92e9fbb3f7f420bb193f85d53f56a884ecf93eb2d105307a3ce9e06d2288020e61b39cf807c2191e298bb7e556bb0b2ac1f2f
+DIST thunderbird-91.13.0-ja.xpi 756467 BLAKE2B 2686f6b2dd09c1b2773976ba891dc921f209d2cb7229b7a8c4e73ac5a3fee1103b0079216f93aed15894f69adcb983d7635b0f4fb691e6a8ab7221b67d83ad43 SHA512 09b2a7b84430b6c4255e124fc9b5cdbe31178f43714bda946aa5c70641b35f8494be55edc731e0652141dba72559fcb1121b0b86bd13f9b670b786d2ba092365
+DIST thunderbird-91.13.0-ka.xpi 762630 BLAKE2B d609ff210cd0dc8c1645fcef9fd7d8686676e97953137ed56c49cfe9e6b994d7047cbd377167c1a87bf0a22234d1684d8df0882c7d7184bc9546b49daf183736 SHA512 7420258416b918ab87a0ee7adf190b5c01facdd778b79d177f2f1baf400d66f1341f3cb10ed889481ae81d738670e8a147e2c9e52b0756011a078235756788bc
+DIST thunderbird-91.13.0-kab.xpi 677086 BLAKE2B d073d4f564b6a0aa25eb17e16f9cddff7bf683cb38e60bc2982e9057599f8fcb5737c927b8d463017e91406fe6efa7975e3f03da8ef9606fea19786f59d32e40 SHA512 c0e50ea223a5b968bc3024bc0cf60353648d10168b21eef116e7930fcdfb2f1f42ae5022f31c6da6ef028ea33b700ec8cf4c788cb76f987b626d856b57d4921c
+DIST thunderbird-91.13.0-kk.xpi 745524 BLAKE2B 5c0bf29a676bd132e6eeccfa732d6a6cc99c1c694c7ae2f7c49c5ccf05a6b980efcc4940407756a3ee1c7f0db64fd7bba3f733cd18131662813ab0300fccf1f3 SHA512 ff6ec725138bb1a6c21699dae187083f7fb48fd803d314f73737873b8d5680002491b46ff61087b4d6cdde193262d713f55977557609c094dfb8fbba925dbe7e
+DIST thunderbird-91.13.0-ko.xpi 704770 BLAKE2B a36062091399fa5ea79eaba01738d20e141cf66942483212e04ab33e3f028cb3a7bbbfe4cb0e57fae1e9c33349fc92c05459df1571f1d07a8faef254163834ce SHA512 baae2b4c43700a12653f2debd96abbbdebd8d68fa2b02a6e908682859749c1431ea0b87fd259c1222f941b4854cdd964a899e6fd5cb715abc2c335e726b2440b
+DIST thunderbird-91.13.0-lt.xpi 696045 BLAKE2B 93ff4d9133159096c9fcc71953d4fce3fcc61aa8ccd9c7a612b11d8bd7bcce259bc7ca266df09dea3f463970123519384e5a63cc4e024f560a7c9b04f19a8798 SHA512 aedea76b9fefd4221069ff09446f90703173ce1edeb9a5976b89b15365b93705667ee5decd4a5ba3a8ef042c7ceb020baa9e1b73398ed2389df917f0284e2180
+DIST thunderbird-91.13.0-lv.xpi 618526 BLAKE2B 8af5ac89e7889e5b301289519528482b8d756687649773be214364c43bedabb23dee94041bc79177f1ae8f6f454bfc94db8d343afc7db6b4a70ea5d1ddd57ba7 SHA512 fc7475795f83be274c37f26044f9e87844b30a947c659434f18098676a4d88013bd1f8f4ee96da998adf8fc6753c3f6caa76ae0828a7b38dbd884c5add91c653
+DIST thunderbird-91.13.0-ms.xpi 578081 BLAKE2B f2a55fa20817d822dcb9897bcbe9a7af58a4de85d015aad283fb2099e094f38060bcde47d108818a79efe35a339456278ef3ed9080151ab525c0fb26508fefb3 SHA512 0a64fcec42ceb2567d1048e305064a46b3c600485c10e3f4be6e3cd8d14011b0924e50cfb1bf5c6232ea6ec0947e1767ab7f3e4e0c8b6ce50fdbce9400a725c7
+DIST thunderbird-91.13.0-nb-NO.xpi 653326 BLAKE2B cf5363e5162253bdde188c4f9b984f6809fcf99b123609530cb596a1f8856ee2a8ff8fd430c2087d908680acca41ec5ce75088115b1d0de7bb55902ca1bdb61b SHA512 9a3f7b4e5d86237705b54d9983ac8fa30115c568819e1ff96e5c0b61985193c23c066502bd34defec5c45b8f7c0e232c761b0d810ed1a0f132982fb634d87be3
+DIST thunderbird-91.13.0-nl.xpi 685342 BLAKE2B e44df002cede8572a8d21f7a5022926730a5032255aa9fda2551f3d3aa4ce87842d6adb636369792505f089ef2b5670f5ddf7e5e9e1ef578a14212e5789cce05 SHA512 17e339384685191e3a48bc6a85e2b7a26d2577a5601d5625a197c0e116c62e3776eb3128e5e72e48276b29660bf3893a4f77f074422ac76465326684245964db
+DIST thunderbird-91.13.0-nn-NO.xpi 658574 BLAKE2B 96ee7d4942617cc4b5c712999a011e97b16a42b08d26d6cf313c62e28200dbc231b0c2ee65d0b249778d90a919cb62b4abfcfcc79e7510b70ac77b6a6be1fa21 SHA512 1d8a9e39be7d1d0d48caa453d38cb1f640f94d6ce36856a8dfe46b6fa4b7e59d67ce654b58f2022424413fe4343f71aa4c8e9622602267cebcaa16a7d931f7e0
+DIST thunderbird-91.13.0-pa-IN.xpi 652335 BLAKE2B 1b3fb4ac5dff57e2f4184181379a46bbafc1f54d7759fab301ed222a5eae2c1e410bae0d962d9f25b25524bdd307e394d9d28f49c819cb80015cba179149a9a1 SHA512 269fe6cd0e1a080a329a50491f160d5ee888d7aba7c867bdaebf9472f527d27e01ec32358e22e5937c152786537ea1642d3ba940b10e876bef9d21a148f7ac4b
+DIST thunderbird-91.13.0-pl.xpi 694113 BLAKE2B f3b64f91a361aa4ad7fa2a6708cd0418553cf3ac4e342cbdffe0e06c25ee9809cfa46adcaad6c3e51346e95a0b24f7cc2c3f135649dbc27e4b40cadc1b2d0bd9 SHA512 2d0059cf6bdab1e85c8ee1c412731ecb375ad9e774ebe1c3c1b32e254c14a6697d434361e8fa409015fc15f87672ba065d39cf67a1e700dfc3aae3d3ee125ac7
+DIST thunderbird-91.13.0-pt-BR.xpi 694134 BLAKE2B 61048665a558916b19140faf7995b884976bf257c8cd712ab0dc16751655c8f6da3f3438231b1b8f2c81e06a538536e79fe612ee7ded5f61be2573f0ef158293 SHA512 67c3ef55f24737d34108f5e40b9ca35ee12438aadcb94b98ce5b8e75e661f9448aadd16de043d5882293dd81e5943ca4ae93512eea5d07b7fb7d1df70b7be8f7
+DIST thunderbird-91.13.0-pt-PT.xpi 674674 BLAKE2B a555668369b07743c538d6496209380bb83bf2d12c14124c74c7c9a268e6c6f98f0f64526c1f68478a2fc366b499f135ab5258581ec2f856234342cef91a3867 SHA512 104462626111910cb6788eff8d6b4c62a16aee22aaddcb7551cc3e614ab06ab8fd62802ea4036c5e9dbd0e7cf84fcce1af4aaf4ecbdd36f94853345300c2eba7
+DIST thunderbird-91.13.0-rm.xpi 687616 BLAKE2B e4bd95d31cddfcd73b8e13108c2b0d988e18877c5eb6bd08cad3fa8b7aa654cfcf86e65cfdb67d65bb5162c0fae8bf7bdf4b7d0d4a6b0a9d1a846a90509a2f54 SHA512 1ca3f04d45767cc888d13f6eaec8cb6c0681ead9bcb5e3dc97b6015dabb74800a6c570124d35310f32e7d0e7bd4fdb44f5511ac2f90a5d6ffb06d7386057f1f2
+DIST thunderbird-91.13.0-ro.xpi 661347 BLAKE2B c597c2f2e31bc5d1c4ed454de0bb276d558e778fd78b0d8c62f6ffc761a5edf89b7aa67e674422f4ed4765376c44e3240105ec87b13d53397cba237788efcb40 SHA512 a75c88380614d0764d2aad881021123c36b898f72f4349af66b10f65d843b4482d88a472a42c6777411c4bd57fd08f7e13c82b1343542b6751fadce3c0b0fb5b
+DIST thunderbird-91.13.0-ru.xpi 793375 BLAKE2B d9956ee61aa6878ec6ef8c8bcd942a7819ecd4bc06efb074ce89f3a63100b0d36e2b212f588120da7b1df1ed53c97027b229ff792a9007c94f9a04588e45456c SHA512 8201c5a2760a73dff471cde6aad71bc9fec006605d8d74d164cd853c3e501a79ba77a5f6a628d541cfffe4646de2cfb3426547f8828fbca4b0cd996c904ccf39
+DIST thunderbird-91.13.0-sk.xpi 721094 BLAKE2B 611cfa9744584d41d93ae4815933f9a6df87b8cf7a4dd44a3fa831acd5fe57c87a04eb820b7ce7af916ad929255e66aaae058989b3cfb114688c15b249f0ef1b SHA512 8877ae8c5c5f13f76b3665a94c51c95083fcbc420c40b2454a46d0d1128da81c97d556c94948788bbd70ce70d8659cd6e6ecb6759e4590686e3d9810132aeb04
+DIST thunderbird-91.13.0-sl.xpi 682544 BLAKE2B 1a98e1b685b010467665058d1cce18af62d809941b769658b39e3bb07b9ce55330a8b7b43edf9393582948954d4b4ef0074e6303d7913e414aad46625c21c435 SHA512 d7c3700c822c559adfa6ef51d5cc0f6c8accbc0fab0aca41bf8598f253ef02cb9c60eb3d0582dcec6b32318a382cd145f88abac54569e354f76d612171c78d9f
+DIST thunderbird-91.13.0-sq.xpi 703627 BLAKE2B 3b67a2bdb96f8b477e1ad23bf78a5ba5c1e5f5ca381452b702ebdb165e367afff9ac2ac7679204666e9f749a983f4f5d4291d86c705d2e04fb028d04b34afbb1 SHA512 a2872d2dfe0b6055476088049aa65cc186b60b4fc929edabac7dbb0760be62aa929cdafed937668a53a5aa158292d96a46564ae57da14a87146f92e82daaa51e
+DIST thunderbird-91.13.0-sr.xpi 710565 BLAKE2B 1eaec27c18cfc840acf732b43462c9eac1cd8f0f35a0e63be04cde2f88c25634f19bee2229f81ad00722aca3efaad9d26138c462143f6fb930a0247af6ae39bf SHA512 3170787ccff2f2bb248c0fe88e0201eb339570647130822efe4f15f535b2100930e8f57015a87483536950748465dde68c3e7b1d7f2c759218bab515bb4bbd40
+DIST thunderbird-91.13.0-sv-SE.xpi 690969 BLAKE2B 7507546142244834c44cb937859a730b1eaeb0fee514fd167d49835cbb00c1612a51effe7e683ef6b49f09bca6be1e309a78fc35d47ec615c43e6b5fccd025b1 SHA512 85e751ba16587396b20893fab210cc2a78c92965aac256ec18ca91a0fceeca67cceece3d44c9de7fb82df4af17af7382e0f28b3d78c47202def87af6794ab0bd
+DIST thunderbird-91.13.0-th.xpi 748757 BLAKE2B 7def4e2db5e7345d5fa5ee2350303a0e0b55291d165390aef01aa6267141777d1ef4ebcd33b12af3af05d357bf03a3e1f8befa1572c65305bfc868a4c5f2f040 SHA512 011af3ef95acdfa9baccab0a359f1c799adcd52936948b15b15cecd072a1b5c33ca34781efe9ffb9472f128ad21ca24af9051c71019b5105c56f78efbd3eaca9
+DIST thunderbird-91.13.0-tr.xpi 699653 BLAKE2B 2970ee8c455a1648a3c84aee7f2e376ee736427438db3c1cbeb5e0f9841371c955e17db74a601f96506d0705aa4f4efe6b668753f565388adccb3b98a984535d SHA512 035c0a111dc7910a18fabd380116fd7dad586a14897ec4651bb3ee9567a3c9f965fe4999341e33923009aaf2131cdd7f785c0b2e66bf7d2a9cf5493934d2152f
+DIST thunderbird-91.13.0-uk.xpi 798483 BLAKE2B d939b6dfb855a2652873d8b4bfa3aa0a75b3bf8212760c748981acb525ed85d7f5bf717b837eeec9c5f57422154b5de8e21dc1adca95a69f3be85aafce08438f SHA512 a61760ca82b1a93907442019d2c10821647bbcb9ea31c69e9a0fba2f6d98de7b889773df0093dea24936f1fa093fc526f69cc1f6aac36c490f1e99e2a90b2699
+DIST thunderbird-91.13.0-uz.xpi 595925 BLAKE2B 7a79968cd5a05932344dea011298d2f18390217edcd1b99bea721af8d9d5e090c14ef17465a5fb1d95ae49a0ca233c842f45d302b5f92f218972bc7ebad6297a SHA512 75fe909d7e54f984ff02d4d4f60cf67f31d810555f43976a750f6a79278c1fdc018f80d50f91756777255ebf7c39307294caecbfa57225d85150ff3ff23eae60
+DIST thunderbird-91.13.0-vi.xpi 725528 BLAKE2B 1b85c9add75e6101b2d41c68673ed123a72f3a3b20da02330f49467ebf61ac747437aaa48ea268183656f5f3f30e6a386cce59c2cf0ec26d38eeebc6f91ed945 SHA512 b3a350dc402a75598da356eb54ee87f5153169f3ebe8ef8a493baabe4a9713f1aa4150daf2ff08a910254d98a5699944a52cb5674050a950a971f3d649fb8b9c
+DIST thunderbird-91.13.0-zh-CN.xpi 730903 BLAKE2B 51259b77a32d37f665d3692ca4f21088cd51020c5dd319bdee59ce8467621640e830f51d44caedda0bbf1328522ca586f831046c3d15c759e53e2fa59367f990 SHA512 b89c58ea8279c5bb4ddf612c5d54a2d76a5a4d1e90bd7138040b2e86414d95f02eb494b72d4fd8f83525d68f80cb5f1c0c25d7022feb9a6e27ea115c93f65689
+DIST thunderbird-91.13.0-zh-TW.xpi 731945 BLAKE2B 76d5b5b9fe50f5c6e4c4fb8198491da688aab2d0781019d6d91a0fefda056075c3bd4e94b7617a1068aa7d6934d8eeb2730b7dad5f8e6e55067f651f950a2f87 SHA512 95b6cbb404ccc87ab02cc44ca612c1201bb28d19ebc1957b1a25b35ccd8983dd104985483a6ac1caec2a8cb949244593e15b63e3a20af6def0e25d23684aff89
+DIST thunderbird-91.13.0.source.tar.xz 403859320 BLAKE2B fc0b1d3866ae7f65e1ecb59341895e0f9ad2c811c748a9fc3cde623ccbf7d5e2d29391d39eca20f4ece251cdc1fc7be0f9213e6fb525f7b19165a0bc95dcf15e SHA512 e73d3db4333ad659ec1ab249bd261e8c28301c125d0c39b473c83f8fccace6d4916a2bfef14fc20c065055ff6bbd3ca618b5aab178241b53509543640dcd541a
EBUILD thunderbird-102.0.3.ebuild 33898 BLAKE2B a2c155edf69f932119d6a0f4c5f4d10731dd43809c484a4e16b9b9d9e7bc78f6e755248a26a40cb56582149c1df21cee8c32c4772be7df534790ab311a5bd392 SHA512 c5c73c480412487f621862333f3e33a7605f13f1f106490af526b3d39de5743b36b5582d60c41fe05988dc3e2826df8505abea6027a6527f9ac17b9b506066e3
EBUILD thunderbird-102.1.2.ebuild 33902 BLAKE2B b93dfeac93616b250a3f6b3491b9e983bfedf6d5de4ee69d0be9e966ff8f6d0bbb7e3a353ce72b7b5d4beb04a756cbd8f4b70bdba8861d0678caa1a8b1842d6a SHA512 434f946b32bccc0a856f139dc55172968cd3edd3cf6872214680475a98f15c60125a73774d725fe5bba68d36c7bdf1e995e4b5a9f826042e7ad25cc21cca94ec
+EBUILD thunderbird-102.2.0.ebuild 33523 BLAKE2B 120e0eb8a9b784b4e5757361703d1bb9c2a39a918e03f041d7ee607bbe17b1204e5b46e194aef0c4dc262ccd2089eae5b6c2c6d491dc70eb9fe7d476ef8f5edc SHA512 a894eb8d60bb23959c8ce360669301d641de0f8a5934cbf2d170fe6e940e259e7df885d74844dc06b2d752efe204b9c91f7c7d6621f377ba580a9eff45198005
EBUILD thunderbird-91.12.0.ebuild 32760 BLAKE2B eca6bb6ad4a3c2cce82926f76410e8543f7c9edb32c4cad7b19fb6a0175384f0bab5706fa42697367011655c3ea9b537386a432059e4766d6a7c5764af6f3e32 SHA512 b941bc14b6d7a23d142eb4c21f8af8641ad2aaa800ed0b56d717ad5ca57988f30b7bee2a4ee4801b09ec25b2523b2d0ace457d358521d2efa4b8d27e237d01ad
+EBUILD thunderbird-91.13.0.ebuild 32762 BLAKE2B b0edd2739b61b4af685f567b21eb490a9f83a551eaad252148293cb60b640cc51dea76d4fdb854c67ba2023d31c2c63aa92be800f1c5041b1497e683609130ee SHA512 cc79aaa204bd07ce023e95069cbb909552178b0cb2a662dc5c957d057de920387ecbd6befee4db9c76f7337d7e7c0803772bbae214915b69ae82bafa9ddbaca3
MISC metadata.xml 2209 BLAKE2B 5bdf2fabb2b6006e2d1ed2271d6ced3ec06982a3d992effe203b850bc3feb1f7c2854a3e6e1e746f6dd780d1a3c35c860f2af09f8fd491f68e743116f2976501 SHA512 bc633d3f53994730d2ef98ee4a5a0417ecf7af4fb73250460f93b5256ca3c2ae3842a0ff516208d0e5bc34cd6054bd44a4d894d07f88344a9db341daae35556e
diff --git a/mail-client/thunderbird/thunderbird-102.2.0.ebuild b/mail-client/thunderbird/thunderbird-102.2.0.ebuild
new file mode 100644
index 000000000000..3d730afee0e0
--- /dev/null
+++ b/mail-client/thunderbird/thunderbird-102.2.0.ebuild
@@ -0,0 +1,1169 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FIREFOX_PATCHSET="firefox-102esr-patches-02j.tar.xz"
+
+LLVM_MAX_SLOT=14
+
+PYTHON_COMPAT=( python3_{8..11} )
+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 optfeature 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/~{juippis,whissi,slashbeast}/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 ~x86"
+
+SLOT="0"
+LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
+
+IUSE="+clang cpu_flags_arm_neon dbus debug eme-free hardened hwaccel"
+IUSE+=" jack libproxy lto +openh264 pgo pulseaudio sndio selinux"
+IUSE+=" +system-av1 +system-harfbuzz +system-icu +system-jpeg +system-libevent +system-libvpx system-png system-python-libs +system-webp"
+IUSE+=" wayland wifi"
+
+# Thunderbird-only USE flags.
+IUSE+=" +system-librnp"
+
+REQUIRED_USE="debug? ( !system-av1 )
+ pgo? ( lto )
+ wifi? ( dbus )"
+
+# Thunderbird-only dependencies.
+TB_ONLY_DEPEND="!<x11-plugins/enigmail-2.2
+ selinux? ( sec-policy/selinux-thunderbird )
+ !system-librnp? ( dev-libs/jsoncpp )
+ system-librnp? ( dev-util/librnp )"
+BDEPEND="${PYTHON_DEPS}
+ app-arch/unzip
+ app-arch/zip
+ >=dev-util/cbindgen-0.24.3
+ net-libs/nodejs
+ virtual/pkgconfig
+ virtual/rust
+ || (
+ (
+ sys-devel/clang:14
+ sys-devel/llvm:14
+ clang? (
+ =sys-devel/lld-14*
+ pgo? ( =sys-libs/compiler-rt-sanitizers-14*[profile] )
+ )
+ )
+ (
+ sys-devel/clang:13
+ sys-devel/llvm:13
+ clang? (
+ =sys-devel/lld-13*
+ pgo? ( =sys-libs/compiler-rt-sanitizers-13*[profile] )
+ )
+ )
+ )
+ amd64? ( >=dev-lang/nasm-2.14 )
+ x86? ( >=dev-lang/nasm-2.14 )"
+
+COMMON_DEPEND="${TB_ONLY_DEPEND}
+ dev-libs/atk
+ dev-libs/expat
+ dev-libs/glib:2
+ dev-libs/libffi:=
+ >=dev-libs/nss-3.79
+ >=dev-libs/nspr-4.34
+ media-libs/alsa-lib
+ media-libs/fontconfig
+ media-libs/freetype
+ media-libs/mesa
+ media-video/ffmpeg
+ sys-libs/zlib
+ virtual/freedesktop-icon-theme
+ virtual/opengl
+ x11-libs/cairo[X]
+ x11-libs/gdk-pixbuf
+ x11-libs/gtk+:3[X]
+ x11-libs/libX11
+ x11-libs/libXcomposite
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXrandr
+ x11-libs/libXtst
+ x11-libs/libxcb:=
+ x11-libs/libxkbcommon[X]
+ x11-libs/pango
+ x11-libs/pixman
+ dbus? (
+ dev-libs/dbus-glib
+ sys-apps/dbus
+ )
+ jack? ( virtual/jack )
+ libproxy? ( net-libs/libproxy )
+ sndio? ( >=media-sound/sndio-1.8.0-r1 )
+ system-av1? (
+ >=media-libs/dav1d-1.0.0:=
+ >=media-libs/libaom-1.0.0:=
+ )
+ system-harfbuzz? (
+ >=media-gfx/graphite2-1.3.13
+ >=media-libs/harfbuzz-2.8.1:0=
+ )
+ system-icu? ( >=dev-libs/icu-71.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-png? ( >=media-libs/libpng-1.6.35:0=[apng] )
+ system-webp? ( >=media-libs/libwebp-1.1.0:0= )
+ wayland? (
+ x11-libs/gtk+:3[wayland]
+ x11-libs/libdrm
+ x11-libs/libxkbcommon[wayland]
+ )
+ wifi? (
+ kernel_linux? (
+ dev-libs/dbus-glib
+ net-misc/networkmanager
+ sys-apps/dbus
+ )
+ )"
+
+RDEPEND="${COMMON_DEPEND}
+ jack? ( virtual/jack )
+ openh264? ( media-libs/openh264:*[plugin] )
+ pulseaudio? (
+ || (
+ media-sound/pulseaudio
+ >=media-sound/apulse-0.1.12-r4
+ )
+ )"
+
+DEPEND="${COMMON_DEPEND}
+ x11-libs/libICE
+ x11-libs/libSM
+ pulseaudio? (
+ || (
+ media-sound/pulseaudio
+ >=media-sound/apulse-0.1.12-r4[sdk]
+ )
+ )"
+
+S="${WORKDIR}/${PN}-${PV%_*}"
+
+llvm_check_deps() {
+ if ! has_version -b "sys-devel/clang:${LLVM_SLOT}" ; then
+ einfo "sys-devel/clang:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&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 es-MX 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="6600M"
+ 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!"
+
+ 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!"
+
+ 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"
+ eerror " - Rebuild lld with llvm that was used to build rust (may need to rebuild the whole "
+ eerror " llvm/clang/lld/rust chain depending on your @world updates)"
+ die "LLVM version used by Rust (${version_llvm_rust}) does not match with ld.lld version (${version_lld})!"
+ fi
+ fi
+
+ python-any-r1_pkg_setup
+
+ # Avoid PGO profiling problems due to enviroment leakage
+ # These should *always* be cleaned up anyway
+ unset \
+ DBUS_SESSION_BUS_ADDRESS \
+ DISPLAY \
+ ORBIT_SOCKETDIR \
+ SESSION_MANAGER \
+ XAUTHORITY \
+ XDG_CACHE_HOME \
+ XDG_SESSION_COOKIE
+
+ # Build system is using /proc/self/oom_score_adj, bug #604394
+ addpredict /proc/self/oom_score_adj
+
+ if use pgo ; then
+ # Allow access to GPU during PGO run
+ local ati_cards mesa_cards nvidia_cards render_cards
+ shopt -s nullglob
+
+ ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g')
+ if [[ -n "${ati_cards}" ]] ; then
+ addpredict "${ati_cards}"
+ fi
+
+ mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g')
+ if [[ -n "${mesa_cards}" ]] ; then
+ addpredict "${mesa_cards}"
+ fi
+
+ nvidia_cards=$(echo -n /dev/nvidia* | sed 's/ /:/g')
+ if [[ -n "${nvidia_cards}" ]] ; then
+ addpredict "${nvidia_cards}"
+ fi
+
+ render_cards=$(echo -n /dev/dri/renderD128* | sed 's/ /:/g')
+ if [[ -n "${render_cards}" ]] ; then
+ addpredict "${render_cards}"
+ fi
+
+ shopt -u nullglob
+ fi
+
+ if ! mountpoint -q /dev/shm ; then
+ # If /dev/shm is not available, configure is known to fail with
+ # a traceback report referencing /usr/lib/pythonN.N/multiprocessing/synchronize.py
+ ewarn "/dev/shm is not mounted -- expect build failures!"
+ fi
+
+ # Google API keys (see http://www.chromium.org/developers/how-tos/api-keys)
+ # Note: These are for Gentoo Linux use ONLY. For your own distribution, please
+ # get your own set of keys.
+ if [[ -z "${MOZ_API_KEY_GOOGLE+set}" ]] ; then
+ MOZ_API_KEY_GOOGLE="AIzaSyDEAOvatFogGaPi0eTgsV_ZlEzx0ObmepsMzfAc"
+ fi
+
+ if [[ -z "${MOZ_API_KEY_LOCATION+set}" ]] ; then
+ MOZ_API_KEY_LOCATION="AIzaSyB2h2OuRgGaPicUgy5N-5hsZqiPW6sH3n_rptiQ"
+ fi
+
+ # Mozilla API keys (see https://location.services.mozilla.com/api)
+ # Note: These are for Gentoo Linux use ONLY. For your own distribution, please
+ # get your own set of keys.
+ if [[ -z "${MOZ_API_KEY_MOZILLA+set}" ]] ; then
+ MOZ_API_KEY_MOZILLA="edb3d487-3a84-46m0ap1e3-9dfd-92b5efaaa005"
+ fi
+
+ # Ensure we use C locale when building, bug #746215
+ export LC_ALL=C
+ fi
+}
+
+src_unpack() {
+ local _lp_dir="${WORKDIR}/language_packs"
+ local _src_file
+
+ if [[ ! -d "${_lp_dir}" ]] ; then
+ mkdir "${_lp_dir}" || die
+ fi
+
+ for _src_file in ${A} ; do
+ if [[ ${_src_file} == *.xpi ]]; then
+ cp "${DISTDIR}/${_src_file}" "${_lp_dir}" || die "Failed to copy '${_src_file}' to '${_lp_dir}'!"
+ else
+ unpack ${_src_file}
+ fi
+ done
+}
+
+src_prepare() {
+ if use lto; then
+ rm -v "${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch || die
+ fi
+
+ eapply "${WORKDIR}/firefox-patches"
+
+ # Allow user to apply any additional patches without modifing ebuild
+ eapply_user
+
+ # Make cargo respect MAKEOPTS
+ export CARGO_BUILD_JOBS="$(makeopts_jobs)"
+
+ # Make LTO respect MAKEOPTS
+ sed -i \
+ -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
+ "${S}"/build/moz.configure/lto-pgo.configure \
+ || die "sed failed to set num_cores"
+
+ # Make ICU respect MAKEOPTS
+ sed -i \
+ -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
+ "${S}"/intl/icu_sources_data.py \
+ || die "sed failed to set num_cores"
+
+ # sed-in toolchain prefix
+ sed -i \
+ -e "s/objdump/${CHOST}-objdump/" \
+ "${S}"/python/mozbuild/mozbuild/configure/check_debug_ranges.py \
+ || die "sed failed to set toolchain prefix"
+
+ sed -i \
+ -e 's/ccache_stats = None/return None/' \
+ "${S}"/python/mozbuild/mozbuild/controller/building.py \
+ || die "sed failed to disable ccache stats call"
+
+ einfo "Removing pre-built binaries ..."
+ find "${S}"/third_party -type f \( -name '*.so' -o -name '*.o' \) -print -delete || die
+
+ # Clearing checksums where we have applied patches
+ moz_clear_vendor_checksums audioipc
+ moz_clear_vendor_checksums audioipc-client
+ moz_clear_vendor_checksums audioipc-server
+
+ # Create build dir
+ BUILD_DIR="${WORKDIR}/${PN}_build"
+ mkdir -p "${BUILD_DIR}" || die
+
+ # Write API keys to disk
+ echo -n "${MOZ_API_KEY_GOOGLE//gGaPi/}" > "${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_environment_reset
+}
+
+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
+ AS=llvm-as
+ 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-gpsd \
+ --disable-install-strip \
+ --disable-parental-controls \
+ --disable-strip \
+ --disable-updater \
+ --enable-js-shell \
+ --enable-negotiateauth \
+ --enable-new-pass-manager \
+ --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 \
+ --without-wasm-sandboxed-libraries \
+ --with-intl-api \
+ --with-libclang-path="$(llvm-config --libdir)" \
+ --with-system-nspr \
+ --with-system-nss \
+ --with-system-zlib \
+ --with-toolchain-prefix="${CHOST}-" \
+ --with-unsigned-addon-scopes=app,system \
+ --x-includes="${ESYSROOT}/usr/include" \
+ --x-libraries="${ESYSROOT}/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
+
+ # For future keywording: This is currently (97.0) only supported on:
+ # amd64, arm, arm64 & x86.
+ # Might want to flip the logic around if Firefox is to support more arches.
+ if use ppc64; then
+ mozconfig_add_options_ac '' --disable-sandbox
+ else
+ mozconfig_add_options_ac '' --enable-sandbox
+ 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
+ mozconfig_use_with system-libvpx
+ mozconfig_use_with system-png
+ mozconfig_use_with system-webp
+
+ if use system-librnp; then
+ mozconfig_add_options_ac "+system-librnp" --enable-compile-environment
+ mozconfig_use_with system-librnp
+ fi
+
+ mozconfig_use_enable dbus
+ mozconfig_use_enable libproxy
+
+ 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
+
+ local myaudiobackends=""
+ use jack && myaudiobackends+="jack,"
+ use sndio && myaudiobackends+="sndio,"
+ use pulseaudio && myaudiobackends+="pulseaudio,"
+ ! use pulseaudio && myaudiobackends+="alsa,"
+
+ mozconfig_add_options_ac '--enable-audio-backends' --enable-audio-backends="${myaudiobackends::-1}"
+
+ mozconfig_use_enable wifi necko-wifi
+
+ if use wayland ; then
+ mozconfig_add_options_ac '+x11+wayland' --enable-default-toolkit=cairo-gtk3-x11-wayland
+ else
+ mozconfig_add_options_ac '+x11' --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
+ # 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 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
+ PIP_NETWORK_INSTALL_RESTRICTED_VIRTUALENVS=mach
+
+ if use system-python-libs; then
+ export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE="system"
+ else
+ export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE="none"
+ fi
+
+ # 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"
+
+ if use wayland; then
+ cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set hwaccel wayland prefs"
+ pref("gfx.x11-egl.force-enabled", false);
+ EOF
+ else
+ cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set hwaccel x11 prefs"
+ pref("gfx.x11-egl.force-enabled", true);
+ EOF
+ fi
+ 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
+
+ # bug 835078
+ if use hwaccel && has_version "x11-drivers/xf86-video-nouveau"; then
+ ewarn "You have nouveau drivers installed in your system and 'hwaccel' "
+ ewarn "enabled for Firefox. Nouveau / your GPU might not support the "
+ ewarn "required EGL, so either disable 'hwaccel' or try the workaround "
+ ewarn "explained in https://bugs.gentoo.org/835078#c5 if Firefox crashes."
+ fi
+
+ optfeature_header "Optional runtime features:"
+ optfeature "encrypted chat support" net-libs/libotr
+}
diff --git a/mail-client/thunderbird/thunderbird-91.13.0.ebuild b/mail-client/thunderbird/thunderbird-91.13.0.ebuild
new file mode 100644
index 000000000000..6a8a806a97f7
--- /dev/null
+++ b/mail-client/thunderbird/thunderbird-91.13.0.ebuild
@@ -0,0 +1,1131 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+FIREFOX_PATCHSET="firefox-91esr-patches-10j.tar.xz"
+
+LLVM_MAX_SLOT=14
+
+PYTHON_COMPAT=( python3_{8..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 optfeature 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/~{juippis,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"
+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-png +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.24.0
+ >=net-libs/nodejs-10.23.1
+ virtual/pkgconfig
+ >=virtual/rust-1.51.0
+ || (
+ (
+ sys-devel/clang:14
+ sys-devel/llvm:14
+ clang? (
+ =sys-devel/lld-14*
+ pgo? ( =sys-libs/compiler-rt-sanitizers-14*[profile] )
+ )
+ )
+ (
+ sys-devel/clang:13
+ sys-devel/llvm:13
+ clang? (
+ =sys-devel/lld-13*
+ pgo? ( =sys-libs/compiler-rt-sanitizers-13*[profile] )
+ )
+ )
+ )
+ amd64? ( >=dev-lang/nasm-2.13 )
+ x86? ( >=dev-lang/nasm-2.13 )"
+
+COMMON_DEPEND="
+ >=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
+ 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-png? ( >=media-libs/libpng-1.6.35:0=[apng] )
+ 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="${COMMON_DEPEND}
+ jack? ( virtual/jack )
+ openh264? ( media-libs/openh264:*[plugin] )
+ pulseaudio? (
+ || (
+ media-sound/pulseaudio
+ >=media-sound/apulse-0.1.12-r4
+ )
+ )
+ selinux? ( sec-policy/selinux-mozilla )
+ !<x11-plugins/enigmail-2.2"
+
+DEPEND="${COMMON_DEPEND}
+ x11-libs/libICE
+ x11-libs/libSM
+ pulseaudio? (
+ || (
+ media-sound/pulseaudio
+ >=media-sound/apulse-0.1.12-r4[sdk]
+ )
+ )
+ wayland? ( >=x11-libs/gtk+-3.11:3[wayland] )
+ amd64? ( virtual/opengl )
+ x86? ( virtual/opengl )"
+
+S="${WORKDIR}/${PN}-${PV%_*}"
+
+llvm_check_deps() {
+ if ! has_version -b "sys-devel/clang:${LLVM_SLOT}" ; then
+ einfo "sys-devel/clang:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&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!"
+
+ 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!"
+
+ 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"
+ eerror " - Rebuild lld with llvm that was used to build rust (may need to rebuild the whole "
+ eerror " llvm/clang/lld/rust chain depending on your @world updates)"
+ 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 <gcc-11 to build ${CATEGORY}/${P}."
+ fi
+
+ python-any-r1_pkg_setup
+
+ # Avoid PGO profiling problems due to enviroment leakage
+ # These should *always* be cleaned up anyway
+ unset \
+ DBUS_SESSION_BUS_ADDRESS \
+ DISPLAY \
+ ORBIT_SOCKETDIR \
+ SESSION_MANAGER \
+ XAUTHORITY \
+ XDG_CACHE_HOME \
+ XDG_SESSION_COOKIE
+
+ # Build system is using /proc/self/oom_score_adj, bug #604394
+ addpredict /proc/self/oom_score_adj
+
+ if use pgo ; then
+ # Allow access to GPU during PGO run
+ local ati_cards mesa_cards nvidia_cards render_cards
+ shopt -s nullglob
+
+ ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g')
+ if [[ -n "${ati_cards}" ]] ; then
+ addpredict "${ati_cards}"
+ fi
+
+ mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g')
+ if [[ -n "${mesa_cards}" ]] ; then
+ addpredict "${mesa_cards}"
+ fi
+
+ nvidia_cards=$(echo -n /dev/nvidia* | sed 's/ /:/g')
+ if [[ -n "${nvidia_cards}" ]] ; then
+ addpredict "${nvidia_cards}"
+ fi
+
+ render_cards=$(echo -n /dev/dri/renderD128* | sed 's/ /:/g')
+ if [[ -n "${render_cards}" ]] ; then
+ addpredict "${render_cards}"
+ fi
+
+ shopt -u nullglob
+ fi
+
+ if ! mountpoint -q /dev/shm ; then
+ # If /dev/shm is not available, configure is known to fail with
+ # a traceback report referencing /usr/lib/pythonN.N/multiprocessing/synchronize.py
+ ewarn "/dev/shm is not mounted -- expect build failures!"
+ fi
+
+ # Google API keys (see http://www.chromium.org/developers/how-tos/api-keys)
+ # Note: These are for Gentoo Linux use ONLY. For your own distribution, please
+ # get your own set of keys.
+ if [[ -z "${MOZ_API_KEY_GOOGLE+set}" ]] ; then
+ MOZ_API_KEY_GOOGLE="AIzaSyDEAOvatFogGaPi0eTgsV_ZlEzx0ObmepsMzfAc"
+ fi
+
+ if [[ -z "${MOZ_API_KEY_LOCATION+set}" ]] ; then
+ MOZ_API_KEY_LOCATION="AIzaSyB2h2OuRgGaPicUgy5N-5hsZqiPW6sH3n_rptiQ"
+ fi
+
+ # Mozilla API keys (see https://location.services.mozilla.com/api)
+ # Note: These are for Gentoo Linux use ONLY. For your own distribution, please
+ # get your own set of keys.
+ if [[ -z "${MOZ_API_KEY_MOZILLA+set}" ]] ; then
+ MOZ_API_KEY_MOZILLA="edb3d487-3a84-46m0ap1e3-9dfd-92b5efaaa005"
+ fi
+
+ # Ensure we use C locale when building, bug #746215
+ export LC_ALL=C
+ fi
+}
+
+src_unpack() {
+ local _lp_dir="${WORKDIR}/language_packs"
+ local _src_file
+
+ if [[ ! -d "${_lp_dir}" ]] ; then
+ mkdir "${_lp_dir}" || die
+ fi
+
+ for _src_file in ${A} ; do
+ if [[ ${_src_file} == *.xpi ]]; then
+ cp "${DISTDIR}/${_src_file}" "${_lp_dir}" || die "Failed to copy '${_src_file}' to '${_lp_dir}'!"
+ else
+ unpack ${_src_file}
+ fi
+ done
+}
+
+src_prepare() {
+ if use lto; then
+ rm -v "${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch || die
+ fi
+
+ if use system-av1 && has_version "<media-libs/dav1d-1.0.0"; then
+ rm -v "${WORKDIR}"/firefox-patches/0033-bgo-835788-dav1d-1.0.0-support.patch || die
+ elog "<media-libs/dav1d-1.0.0 detected, removing 1.0.0 compat patch."
+ elif ! use system-av1; then
+ rm -v "${WORKDIR}"/firefox-patches/0033-bgo-835788-dav1d-1.0.0-support.patch || die
+ elog "-system-av1 USE flag detected, removing 1.0.0 compat patch."
+ fi
+
+ eapply "${WORKDIR}/firefox-patches"
+
+ # Allow user to apply any additional patches without modifing ebuild
+ eapply_user
+
+ # Make cargo respect MAKEOPTS
+ export CARGO_BUILD_JOBS="$(makeopts_jobs)"
+
+ # Make LTO respect MAKEOPTS
+ sed -i \
+ -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
+ "${S}"/build/moz.configure/lto-pgo.configure \
+ || die "sed failed to set num_cores"
+
+ # Make ICU respect MAKEOPTS
+ sed -i \
+ -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
+ "${S}"/intl/icu_sources_data.py \
+ || die "sed failed to set num_cores"
+
+ # sed-in toolchain prefix
+ sed -i \
+ -e "s/objdump/${CHOST}-objdump/" \
+ "${S}"/python/mozbuild/mozbuild/configure/check_debug_ranges.py \
+ || die "sed failed to set toolchain prefix"
+
+ sed -i \
+ -e 's/ccache_stats = None/return None/' \
+ "${S}"/python/mozbuild/mozbuild/controller/building.py \
+ || die "sed failed to disable ccache stats call"
+
+ einfo "Removing pre-built binaries ..."
+ find "${S}"/third_party -type f \( -name '*.so' -o -name '*.o' \) -print -delete || die
+
+ # Clearing checksums where we have applied patches
+ moz_clear_vendor_checksums target-lexicon-0.9.0
+
+ # Create build dir
+ BUILD_DIR="${WORKDIR}/${PN}_build"
+ mkdir -p "${BUILD_DIR}" || die
+
+ # Write API keys to disk
+ echo -n "${MOZ_API_KEY_GOOGLE//gGaPi/}" > "${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_environment_reset
+}
+
+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-zlib \
+ --with-toolchain-prefix="${CHOST}-" \
+ --with-unsigned-addon-scopes=app,system \
+ --x-includes="${ESYSROOT}/usr/include" \
+ --x-libraries="${ESYSROOT}/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 "${ESYSROOT}/usr"
+ mozconfig_use_with system-libvpx
+ mozconfig_use_with system-png
+ 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
+
+ optfeature_header "Optional runtime features:"
+ optfeature "encrypted chat support" net-libs/libotr
+}