summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2023-12-19 14:11:39 +0200
committerJoonas Niilola <juippis@gentoo.org>2023-12-19 14:11:58 +0200
commit8817a6cb6beab2104b7d4c90b3bb2280391e8e90 (patch)
tree3b6ab98799b2a1566b546385684a818758aab67d /www-client
parentdev-python/paramiko: Remove old (diff)
downloadgentoo-8817a6cb6beab2104b7d4c90b3bb2280391e8e90.tar.gz
gentoo-8817a6cb6beab2104b7d4c90b3bb2280391e8e90.tar.bz2
gentoo-8817a6cb6beab2104b7d4c90b3bb2280391e8e90.zip
www-client/firefox: add 121.0
- attempt a fix on musl, where >=rust-bin-1.73 doesn't work anymore, but a source-built version does. Bug: https://bugs.gentoo.org/915651 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r--www-client/firefox/Manifest101
-rw-r--r--www-client/firefox/firefox-121.0.ebuild1461
2 files changed, 1562 insertions, 0 deletions
diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest
index d10f4f2086c1..ccbe13accb91 100644
--- a/www-client/firefox/Manifest
+++ b/www-client/firefox/Manifest
@@ -703,3 +703,104 @@ DIST firefox-120.0.1-zh-CN.xpi 618140 BLAKE2B 23d9f7190a69680970f11d4c92a1f062df
DIST firefox-120.0.1-zh-TW.xpi 620076 BLAKE2B 33c4b252d0e5694c024e4ce78970e426b532a4a696a74b82b403fc7a4e2e978d86da6f152a53e217db495c1f648c20087c182a26e6c0a41f18b9468d72adbe86 SHA512 206dbcf999107c84affc13114f2c3aae031a015a4b7073e2aa224a725384c6c140ba6c79fd6f35bcc6d1fe3f6fa8d312180222998dd2fa65a4a742726f715b6e
DIST firefox-120.0.1.source.tar.xz 529206136 BLAKE2B 66ac2f1071ad8276b61946465db6d71cbe0a43c154fb57db67670e8f88183893fe7c7c8284388242964fd2883e50f40f29c879ebec3a2d759d20c356f27ca151 SHA512 dd0e3eb234d58c39431d1f100834ef4bcc8cfb89ff471a37b948eda4dd3874b63b1979cda39a0db0dd3b4a579b5f09a7d2d1f39d26fd9f2b8d5635e4b8738b6c
DIST firefox-120.0.source.tar.xz 534394880 BLAKE2B 06f11d9d6f705c13c3288f1757d68c7c910e258b3efa643f0f0168fba0d585f758082af3905c951e227894df0c092965663f52196ee1fc3477195748e0049767 SHA512 31d5f9e1d4173280c8de6d9b8551bc6bba5e2c49b84f944f50d42002d5b39c2fb743bc130f26c81160388a102b8301b94a0a378ecdfa6f943860f971a860df8c
+DIST firefox-121-patches-01.tar.xz 15540 BLAKE2B d4d45665b308071f3f72dd0ce775b514d2bddc6306dfba78f2e858169fc97a47e172af41fd4cb37e264c23c9b31b932131736697cc176109e088a78f457cbca0 SHA512 d80c648740bfbc454a654f69901ff7594896af124f557958417eaab477b84f23b77f4e143071711d349f506a43667389a9c0e3b67359680f6b224d94661d6172
+DIST firefox-121.0-ach.xpi 453124 BLAKE2B cc3791c81b3b81787a175a54b844c691dcf1f548e29857fdcf1c7648e157854396a2785706054407d7a60711fd7f6d1cc013a3319eabddf5d3c1535072fae4cb SHA512 cd8da017e82a3bf156682582ee24c88acbe2afbf703679701bab5e0d62a85ee2737f553b261dc84ffdda02c524c551198dcd20cbb08753eb5199d7905f28b551
+DIST firefox-121.0-af.xpi 408805 BLAKE2B 73b01dd15c35e6cded2e69e8dcb236419e8362166470d1fe791606d60d2eeec26d365171fe595e4940fae194c6ea33374933b2f2dfe642fc0b4f69ea48bc4f46 SHA512 5464c8c6437d8792767c2b0d6481a0d9be4c9802779b3d974ed937bf7b49647fa27f3f3fdfd87c81cc9551268c6a148ff463641f0d9658e3b8e13d081c0b301c
+DIST firefox-121.0-an.xpi 493822 BLAKE2B 68f6eaae58bfa68e502dcd31535bae214197d33dc1a803b69a9db74a213f1ec0a8cf5726c54754366cbb8dc77dfcf5f44f4103c308849579c18751772227b43c SHA512 8cf93f08931731030f5b18da2db58cb278f46cfaea71773f34c7a6d20479961ae4ac1b5cde0430fb76dde78e99132160f680d8d9ce25a958b1ad5e4871b8672b
+DIST firefox-121.0-ar.xpi 586652 BLAKE2B 529d6429a24173eae8714745dbe84792f89cf8589c68fb44531d9b4a0e081834dd2e509c3a49e1630086b50a30997b938189fb4a73a4d51fe4c6971c656ba7ee SHA512 831fa1597ef4ce28303c5bc59dacda23c255322b24d1c295281d9db4cca523d61c99cf2e257e65e9c7abb11a4c41729a7b3ba15d3612e7c4001692c4efaeb35c
+DIST firefox-121.0-ast.xpi 485956 BLAKE2B 373d3a77e87d469f57146c7e3022809206b004f552860cc58ba12e72bbd114cc1291024f119d1d599fd0d78143064a9a9f89c657e7e82614dc9db76044ca2ce5 SHA512 f538374cc86b5b3a0a2434ccf6065954d8ede5738559a15edf9ea7d9e8be6099e4b801afefc727f33ee01567dd5696c276cd76ebb07ec15153ba75888710b9c5
+DIST firefox-121.0-az.xpi 479367 BLAKE2B e126e69e95ec6cf562ff58861caf4e571072c94f6d081548720eb897e1db7c88bf83f57cb77d8040c540e32765bdb95466d310776064b527046385f21a4d2649 SHA512 71628ad4aa2d2662fdb1531f3c9d381203b14d73642e3c5ccd6f9b17ea43b2f94ba12405253d9c2e824aa801c8657dd7b364d4e8bbf5a43ed66c1e09665d027b
+DIST firefox-121.0-be.xpi 682691 BLAKE2B d9f455171ac3fed5f985484335f16221bda578d6b24d49efe95a40e45f7618ecbb1c5b15972aa4aed0905a806096fb1e9e62fdf1cea0c95b237b013e97463002 SHA512 6b22580379353941683b7133dab1245dc931a0300c3deee9e3cdb8ce09e1c4b1c2bcb00e99aa56e6c1fd0c11a5ed348a9a44a8fcfd7dce383902a4466043a6e2
+DIST firefox-121.0-bg.xpi 580208 BLAKE2B 737aa5056f01e7b9f05a735fd80ff317d2a9875fb15327bd8a1077a029c140c3bcc450ed375ac0523ab1f41bdb9dbb62c27961b162a19a036737145c1246f10d SHA512 0f6cc878faa913961377dbd92d7452ed397f9aad864d1e0dee3400e1fc48344cdadf7253ba613ca13b2a8e3dc9f1cd5c71bce8a80d7b718ce2df84b0cffdd0ee
+DIST firefox-121.0-bn.xpi 569381 BLAKE2B 7ca981ade8961f69e6f80a2f0ae8143bcd9b9167a7c3aaf5149799f3649904aae26504499d7c151f6b1df8868127d132e868fd8deb803b6c8c79bb2a3925f149 SHA512 6b09ede773440c4191d1b21d8ac021a1553cfda835560c48fe51af482e30c9356a074695384bc4bba4224c04f3f4d5c84b1ddb753aa139ebeab4f32f02788308
+DIST firefox-121.0-br.xpi 557309 BLAKE2B 7dfd72f11f7a3408d4eb326faded812c19ed0ab3e579c53485dee433d203c946c49097e1b143a1932d35d44c5e17ef465142613c4ff28997953f84d7aac089df SHA512 8ac997b5ec513c2fe7beac3bb30201d5a1b7ac92813291738865199cb2c7b52739e28aaefcae4455d88be16743426b8426455ce78a807f97f4630f5f42810cf4
+DIST firefox-121.0-bs.xpi 459237 BLAKE2B 05f08721f744376ce909407247cedd2c867cc3ad4110a46a071734ba6968578c99f97ee5b3f86ed735b8ad7b0e53da296e17f43c45af9dc9760e41906faec229 SHA512 26217c90e929393a2dad2ca1bfad6e706c5c780545c7b59c3db41f898f1a434ee9f377e963e5c2db612d5150419bc8a9aa7633a60ac26f2ae8e19cab53b7f7c0
+DIST firefox-121.0-ca-valencia.xpi 533785 BLAKE2B a3a5dfff622a603111714cc28ee5270632f5c3c035d0708627d346154573c39157d98a70bf216c2117f9cb5b0cf71d738abd7ccf01e0ff322d32f3345129fe20 SHA512 4067745780d8d15005e23dae2231f5af83c1ebfdbfd0b73393188af6bd6d01de85afc5556a1cfeafed0014362e41fb10d645dcff0cfec9f99d3d5474d11a4a6b
+DIST firefox-121.0-ca.xpi 571944 BLAKE2B e26ec0c8e5e11089085768c0717f2f4a5d494a41cf016ede2203a6397457240e8026b7c895504d396eea0d03d8bdb276c03d9da7474ebfeab986a4c6e0a8461b SHA512 4d6b533762a8cffffb91ffe72e7627cca2ab90d055d790dfaa021dc6d1f10797a56df9c69a46126a722ef99b98863b112d7d5c2c98102b0d33912d5b69820b94
+DIST firefox-121.0-cak.xpi 578437 BLAKE2B 29bfb3e65e663be291d3a37d07e5aff8e200dcff8a0213b7a980f7e326a6fc7453424a5c389afaa5b6a9b5ee48731efb7d78fd0bc72f410f6f2b123963d08b30 SHA512 2ab802cceef4cb4aa4d78494a9f01a10078144c08272ee5cda22e3cbfa6793b18f1907c9a06e3bb25d354b5e0c93e7956a401c62a01c1fab27d9c5a919bc3078
+DIST firefox-121.0-cs.xpi 627171 BLAKE2B 48f06136f1ee8e7d9e580c97f9b2080319d38a5b40f7a7cfe48abfd0fc84771347b4e04d6d8d7270d9eab532b6fe4d5e140354325f4c3303f86d16ec827e0530 SHA512 af575b776de9568b0c14ba87b5d07933c8f08d2aad8ab108bbc688a24c354db647b01e81130bab15a491c1e999494362d64fb03ec493ff7f03073484a7cd8b65
+DIST firefox-121.0-cy.xpi 594883 BLAKE2B 5272691c30c1b998993c0da74611e15dd785efed9dbae9574ea71e029583f4ad799b6d16f91317de446d0b02aa50509cc01ccf896c3e0daa30c708ba1365274d SHA512 cf9971a1b7e0ded039c4e45c01f98602d6f332dcc8a6d6352459e432afe846a715848c833b69f305fab485bb492239f9a49ab106f1a832173b41aca728a6db7f
+DIST firefox-121.0-da.xpi 583621 BLAKE2B eaa9fe16053522fb0ddae5981d5b6d54581be9debc16d83eebaa58f7ebb48d06804a9eaa994629ba855ac7fb3c678ab88fb48a220dc1d5067517e06f566d9b72 SHA512 7720f88d5181b1567f776cf4c1a32b2b65ee7546fa450f301d7425541711c50c4a2a5dfa66ab82d3aae5fa4bb971f41e63942866dd1242b0e4be35ee354557d7
+DIST firefox-121.0-de.xpi 605162 BLAKE2B 127dc1a33bd822f970cbdb66cd343e3e67f388c8251ad819bf7763580595b5d0decfcb34beb62a0bceaf3eb34d16b00b3f17ab73c86ec5c5f046270890a614e4 SHA512 9f1ae76cc259818427f5a530064b6c7eae3b45752bc52fc6f8ba8f1277233b49b760d9d41b0509e13d78570a528f4fded18ec3e4d080548132539ab9917e7820
+DIST firefox-121.0-dsb.xpi 621083 BLAKE2B 707516e3777c4e440d1f00a3da96ef15e90889b72664c9ef938c2222fd7b612facce93bf3c97ea0f9261298b6128d74f51760896cbf003afa617eda280970fff SHA512 023784f0689cf7315c1f4be2d2e4cca3c76a049fa32b4044496989d4010ae55cb54b1ba43d27b78d97e3ae14f0f8580f3002bbf40f4666c2cb285c472b24ae18
+DIST firefox-121.0-el.xpi 699697 BLAKE2B 036fd7315df9b620caa6b441ed14c3ea8a46b588e2113cf70ff24d8461729d23635a47067a8afd3b07d046f85fb3d8e5dd187e4d878a7d7cabab583601b7cdcb SHA512 a3495f9e7ad2b19950266682b4f195782a49eb657816f80679ef5214b508058aaabd74fab425b399c36af8424db912e41a63caaa3c5f3cd8f6571f88a6cfa379
+DIST firefox-121.0-en-CA.xpi 547972 BLAKE2B 36eb2a22dfcaa35d09b9624dfd09e4a184d17946e07fb15f9352832b84a92cf85b8e26d88c264f824ea5b9c59a550d7dfa9849d61c6969427d65253e2d934376 SHA512 3cc741544fb80b7bcb8986ad458646e2627c26cd45dba8572889677ad9764381b7d34e5996d47ab75e5aa816ef06bcfaec66be5e7046fcc3f8925913126f8529
+DIST firefox-121.0-en-GB.xpi 558665 BLAKE2B 5474b55252231900293c227094899206df3dd572ef42b35f9c9b8aa8865579a2544c828ecb9485ede53de713487fe5408b7393ed408b40efa3fb1f93006a9d45 SHA512 17e4f3513cd5b5a0b56f6ec2378c92c2c4922914ccac3adbc2c3d87592af0290f59e064b7fe3e85c4e6d401c7e56f5bad22da1b6d9456b94a060644585b62e8f
+DIST firefox-121.0-eo.xpi 579954 BLAKE2B 26657c54a26aecef724c1cced139289e7b914838621603786e1eecfabdcfeb13a823ab4fdc13e1e9e7be473b0de25fe41d9a2d1ff155648cf9b5f3abd25a1a19 SHA512 29ee1e6a49114fbaeefe397b7db1217101366e10b89aa26f6b3cd59bd200873272503be5ca8c1d53b317c4615c46d3493652188bbe3264316542fccfd88351f9
+DIST firefox-121.0-es-AR.xpi 598557 BLAKE2B c342fa452e6128c4cd6c463101ba788cf5a07b73e5df152c9e93cc9740ed6947726950d3746b475c13d28ea7453d485e86bd1402f692048f3e3f48d1b10759a6 SHA512 dc37fb06fe0cf1d97cacdcdd31c57dd13bb38314b3e37470783b4df6965df81fbcc334102a82e0b1ee39a8716ae4b0c60235af5d903397e8cf2c8567d3d43d7c
+DIST firefox-121.0-es-CL.xpi 598410 BLAKE2B efd185741faa4924c3d698cbe201a77c54edc3b36b5be7575d65166bf1c24244ae5e93b83c94bd29262025d2cc9545739d2c063b0b9eb02db00812fc25fe1381 SHA512 04529562dd6dbeb47dd20ba0cc8226bf02fdc26727c814e1055d15a4615189b1f1856c99e9b6e4d2fd9aeec040dfec3d41e2fca68b13a25993cafa160686637e
+DIST firefox-121.0-es-ES.xpi 593107 BLAKE2B ca33c916e9604b282f4efa59937d7196aa5829ac14567672ed93b8e10a8e4cfd549b5076970ca7d0f68c456a063c14b0a3f68845d07dd05884922b45f677cbe1 SHA512 2bb9147846435a879f250985ff3a5754d66cb49f1d234c066817afe433e9388d74d76e219e610d425dcaa1fb0bfaf4d97bbb8dccddcbf0d5de772d753e859156
+DIST firefox-121.0-es-MX.xpi 577591 BLAKE2B 845047113aede1132701be5be15b1730a7812b9b7f79f0805c7bdf7318467a3af5a8616dbe80df9aaa0ead086e54859fa5de8b162fe0f5fc45ab1c5dafd07e2d SHA512 36963de9412a308caa3c6a82ce577d55d949ce5ade11357a74e50a258c1a27e3f6f0feff2554eff7dbf4b8851d8e8d7d82548d3ec74ee9a247c1b338093d4fd3
+DIST firefox-121.0-et.xpi 527415 BLAKE2B b7a88f300ed1eccfebf959dd42945189d8740bbb79ed3148efef4ecfec413ecf7f50b4aa3c0446c48d0c2c8b32d1e34fc41d07434e53c9be62c4ec91f49dbccb SHA512 02f76e0c70390b1b7f9ce2ea64e186cc928f34cefb05db7d5131c7694eaa4ad297d32b08133b2fac57b791758804e4f1afb55d978a0d18801009bc6caa97832d
+DIST firefox-121.0-eu.xpi 575563 BLAKE2B 053611f38a00272d38b6cf1c588d2a93123d3c7c330c387f9b3627862c9d67bbc91152f96aaaef0d062697600ae8636074d6353bbc03298baf0209388985c2f6 SHA512 cff869d533380099e4c46eb17fa94b58fc2304cf4f2f9d8b1806b1c8504fe2453044ffe667e58d01fa27a6d0a25c33fb3b64b9d0feb1e0871da29a2e50f2bcce
+DIST firefox-121.0-fa.xpi 577508 BLAKE2B 013fe76c768768aadbec57442856f953b276b4b129def80be84dc8adff840dbd6c5c0d6a7a5d6c8d69174a05ee11be86333f91767dd4996b8a2db914a0bb5f0d SHA512 b4ff8596cfc2ff231656fd3bc741f069a6b46d90766dd8dc441fa87e3610d74cbf6e28040b339b7366379543ef91daa1e285e9c668188bc5620f91272241fa6d
+DIST firefox-121.0-ff.xpi 464553 BLAKE2B a498df95f80a780dd4052c4b859086bd590ea262a9637cff3af02fcb197ddc83d7c2a6b9793be57e52f6d3310c4c92ed0484dd0b58de697535490e9b7013b53c SHA512 e178da2f52c723106c4b1d498f0ff84b22f04e134b39bb1269afaf506d0174ebfab74cb5a362613fbf407aeed75d5083712719748c453d7b0ca283c2eb4e2192
+DIST firefox-121.0-fi.xpi 579944 BLAKE2B 06eac68ab1eb7c5f5a4c1edc231a15a37f8d0f727625da4c9557038db0e5ff971a8f9d4df5d3e64c483e486bb95ec771608b93effdcb1ce340513ba5a39ce784 SHA512 86a8b477ac1a55703ad295326576191dee1ce2ab1ac920c064367eeaa51f9ccc5e5f2868804f08c4e1be87f871afd1ae45f374adc41ddc8808e8529f793b7220
+DIST firefox-121.0-fr.xpi 609370 BLAKE2B 0d521ce561e1a8b6aa8a3bc9b5199504a741f59a265f5f1fc8648ccb7c50831509742f719744488f1b1f0105763fb42b2d33a4780e63e018d778f5733ba9f8f8 SHA512 f3f1f9e410933f60bbc3a757af5bcec847a0d9a7118ac55ff410ce5fba6c4c33aa260a72540dad7e496aff5a97d48b077d02eb92df77d0dab93583223de10a16
+DIST firefox-121.0-fur.xpi 603920 BLAKE2B c9760786940aba4c69e048bec6a73b222e82f521ff7d0983a95a3a3940f2a3e5ae452c4993a1cba791fb8816ec7e7acb164c963188f2d5234414ac5e38dc5b53 SHA512 947167e4987eb4b4d924e59e38b7521f03e4cd794023b632bfae5656ee9a5560507ab180aad889679b6fe30ab418e46a43aea327d6fee5f32ec3d6f825882a5d
+DIST firefox-121.0-fy-NL.xpi 594301 BLAKE2B 723874d2ab343032c0d39701afee5f479d2f136a5ab48d0d6763bae995f1717c8cf191b83db9a4a54616e7cf8d347d7b4ad1713fb56adb9fb8bc08188bc7f242 SHA512 845f2c584f4afdc9dd12270c989d3ad4d619ea55b151f985a65b68e8ab649723d952f92520ae9a2542e94e3958b8c128e789d71920c9f2d2ccddcd761fae8511
+DIST firefox-121.0-ga-IE.xpi 461749 BLAKE2B 96a67381da85998d29888cdb8f7fa1cfa10f16383ecbf660f486653524fff7cc9cd6348481deb909bee878ee7e92ddf1c60c99c652cbc78e0da0a5484897b036 SHA512 81737a431764198bae87bba0e78dceac24f875681ba227ecd52b681e742f0340e81692087fddac6418747dbbe6bbf569c3c6d42d8b66852cd2112b3940047e66
+DIST firefox-121.0-gd.xpi 579202 BLAKE2B 30ee5ad0b0b13c9ac31ad630ccbfc7e34b4ad88c7f1dc7c5c806cf1b0476641d49a413a9f4f7b46cfebe43e9f76ce019a6c1cc38e5b3dbc24357f5d2a40b2423 SHA512 1cbeb5b41877e58105c541a84db401333ba12446b5641c3891fed19ceac1457ef09c77de52321133754e536b0025699380b3cb9119fa6c94ea5242448fd16966
+DIST firefox-121.0-gl.xpi 585495 BLAKE2B 1ad44a1667bf6eed4058171212df37d0b398c2099a7e75d45bad36e41735ea80c03fe75c30c390ebb789fb2c515a82a9f086751df461ded7770cab2d571d1ef2 SHA512 1bd23a8a5ce8530238bf9e93e3102eabf0b3d5ad60af1437f742202538193fe498667ceafdc73b90c17f239072d9b273455175ddfc9ba8834d62642c9d8b8c1e
+DIST firefox-121.0-gn.xpi 607242 BLAKE2B 9b6a3fbccfbad0cd036e251a6d9b14b21d46fa9143eadbd287b68e4d9a87ae8bc99f228cef9101a166255594910df3ce405ff81d972a44893ab113e4830c6130 SHA512 7943cf1ee4de485c39ac8c17d48c5f51558b336b3d52265b1804f7dd19ddbcff01c30994572526ce48b3d129dcbcbdfa46f71f16780beb3585f90e03ef463d4d
+DIST firefox-121.0-gu-IN.xpi 515105 BLAKE2B 1bd7f7f7ea5ed466450308f9b3d63ea830289f2a9f34ae4d63e50bf79701944bfd7b0567e65643e6491b692f95aab9e6f2475dcf321b511ff68fe97f5610ee4d SHA512 2f2c2f06ad2ab3f62990e9d46db6d741c967d04b1d07c6a7d18d28ec2967952e9b5399da4ed8fe5f2694eebd5a0711c80d2f58bdc3995dfa1fc925c582fd85a0
+DIST firefox-121.0-he.xpi 602380 BLAKE2B e6e6756efc04aa42832629335d86b6fc1bd4469dcf907199d88b0c5305016b07532fb61bf9ba76895d604ded8baea15f3bf704b498cebdcd26244f3d497b39f4 SHA512 5c057d2e82d4ce2477a4f3f06c0a8a91029dfe5155e2f161a2fcfba2ff325db3a87ede0686d5f43b7f603a9bf1ec6c52da440e16b91ae9475ba12a43ea5dd353
+DIST firefox-121.0-hi-IN.xpi 552966 BLAKE2B 976c0fbe95f7b86b704b1e004e2e740cd3496a6dce6206b2c20ded433e56b1d9cf7baff6f426b0fad2e3848a051848665793da5ef3ade883c8667170889c4051 SHA512 2a48c41230d956fd66d0b0ec3a75827c7d02de287419a356e39f98cb3db611e8569ba5440a1e37d032596887b706fd325356f68450d80b44022ad6735bedbcd8
+DIST firefox-121.0-hr.xpi 544395 BLAKE2B fb898f69cd5a373f733da07606cfd83396e5abf40e87ad3e532f6497237f3cff74bb509478ed565427f4d9231dd4e829e9162e9d87cd44ec4f3fe1a2b0c5c8c8 SHA512 43dec3fe3fbee549dbbe94c07fe71cf1f8093ec369427c37a75d9e1dde3f41709797ad9b017dcf436d3ce81be1cb51578e1cf18645a9d89767383c3ea70891a5
+DIST firefox-121.0-hsb.xpi 617040 BLAKE2B fc7b9fdcd54b30fe54a379a4640db68e10d8fffd17c8e5e98c413dbc3b60f78efe6e56120a0dd8d3ff0881df959319ae0e1738e16c68004e2954b44940597ce6 SHA512 08fd69172cd6886dd98ce5b2f0a15a6da7f8fdce86faeadb5caaae7f6273b6c995daceec390033e9577e084f0a301b2635e33cb7bcdb03c3f695407da3634515
+DIST firefox-121.0-hu.xpi 619492 BLAKE2B c18b524829b1c85a70f4737c974dfb218dd74ede2e01283b64909c04dff8600371fb66b9f12fa33a33f9b5923d7518c417db40196a6790baf05b2d95977bc0b5 SHA512 6a7656e0c2da746fd08327ab1bc919e8df340c6b43ef328ab4d016677d821450f40c7609f599a995eb803b7c1d206f34e5e1e81189169687fefebe9f363fdca2
+DIST firefox-121.0-hy-AM.xpi 593331 BLAKE2B 35f4428564c3f7c6eb63ddc3756e83c958b87711a5b43a6ae2f64e801bb9eb49c747eaa521e48f641f103808cc3438e9c0b14e43d3e13dbaeea1c5b509267bce SHA512 4bc7a27cc8443566ad33fcd93764d4c194e108c2037121910ba74442e5aced899600cded53283ac517d8f1b1e99776b5b09c2bfe954746e8a4db7622d2e12285
+DIST firefox-121.0-ia.xpi 582938 BLAKE2B d5215ba9fac9c0535f091dae715b5d0ccdfffd0acaefee51f464a5b338b8c9766eba0d97b757677035632b286f077c31e18f7a87765e1aca4d9c4d52e71a060f SHA512 3d32b8c59643b6b0beb4d6950659b9a2c798eb601561c5353fd72972d959c0151532793f07354df469663db2b8898632ae3a9e9624db3f006f3107e1eb89ee69
+DIST firefox-121.0-id.xpi 553471 BLAKE2B 16dbee84e64589742b1f87302feb15c0b992c4d3073cb810b5efa04282301bf01f90f2b862dae32af8528e189eb52c57c986601b199584ed8d93a60527ca3432 SHA512 7a35a4cf23d4ce522d7863a692faf39e09c40cd03838c1e9d0aaa73813e36d64ecdcd961bec03e0de388e5f517a5702d793e4ade05913b83318cb3a56c7699ad
+DIST firefox-121.0-is.xpi 587780 BLAKE2B 2ad6909e3fc8ae434ebd97264e4d2627101e3392ab2ae12da128a8bf1a34bc63613834c04db0ef21480c8e28ddf3d3bb1f10375886affdc0e39aacf0ed2bd269 SHA512 edd4d0bd58d043da97c248ccc6e7303c8b09f1aa36624146a1b5304e799fcf75eaafba6ab46a23722193956ac7c77473fe30d080f55fd59bad16cf2ce44fd9c7
+DIST firefox-121.0-it.xpi 540581 BLAKE2B 4ee78b7d43a217ff345376e694607c263b782a5b41b02a86629dc50119051ab4314a9ff9ea26176a81489735f8870c6a7c52d4ac5421d452e56f05dedda02a33 SHA512 c4ea3fff03bcd0295880cafbe012f28e3fe3508d4b81a09e5f5fa4332854a05dbf32dbcd8270231a9c72f0635c3b4d2d473315551637d037f38f55566f71d461
+DIST firefox-121.0-ja.xpi 648011 BLAKE2B 214030f46ddcd7331f3e6a1638f99106271c7a8205a9a310a2442b8ac6a55847fbf740e60c03422c587e776c4ba3d8a06094fccc4814d472a2eb0d2bb4261c64 SHA512 c2948633f49e47e41f99077f5d2bb1fcab33994dc9b2b3bd26c5360d3b4794146318fae41158d24db280676b4d52a526806afa4087a97bd4c6aca19fcf01a79d
+DIST firefox-121.0-ka.xpi 644057 BLAKE2B a1040e97bc29250580eb0770f8aa3cd6588b56d326cbd7faf6315d314284c47e726fcaf63b80e5382bd3b2bb55054a8a6a4459c88b3dc194f888409e89ee2ccd SHA512 f171b0bdb7974c4d5b23879c176eb6887c389a766a3a50a6355fffdc92e86eafb57e1af7950651ef4466875b6fdfae22fed04a6e9dae860a78f4862ef1b5e8e8
+DIST firefox-121.0-kab.xpi 588706 BLAKE2B a8e3f8800b91d15925cfa5931b2f627b01433c7df6017120cb6b866752184c6f774038af4772e82c430fa464eeb8737c06c28ce7e842c15886ab3206219c9d08 SHA512 856a00bd1d097b74d77c1f333951e186436d582a8fed3578b2be7bc1a320464ceea38948183a4ad62dab40bcee1866d35ee49d29958211d30c88694968afb979
+DIST firefox-121.0-kk.xpi 675611 BLAKE2B b9bacde4d957daac24caf802c1f243b5bbe5d3ac94247453f8b5282ef981bdebf2b494dd3daa7e39f36e788a0d367a3f884232e8b7a83f5ca9836cd94d73269c SHA512 2184de042440c12d770f6be8bc988dd28c6d747d60db35580ea4f3070eb493069039946fa7e289368090250825752a5e32b8e371823f793bf49a7f4e6e4ebe01
+DIST firefox-121.0-km.xpi 515277 BLAKE2B e92555cd8a140ebaf0aadbc8a915017f7fd3ebaf1c662a98d6db9f538a64515e31a0aeba9489776f011a85c23016aa8ab7fe8032a67e2786ac39c84f1a89c88a SHA512 5156539062ee2b07ba2b0c2d5fdbff0c1ce9338855596533b509f4bd37821cddc1f27854c509dec0e4bc84e411be8ab4392b657f526106312e05413efcf104df
+DIST firefox-121.0-kn.xpi 480551 BLAKE2B 8a2f9f96446d20dabb2ed87e91463fb17e774f4064daf1b60d24040c8f7f2f0ee494f97512397838b1c4ce640ee62d68fbd0663c39640d0aac0d28b3aef96d2b SHA512 d1cbae9e52e0625551e3d90ba08dd0f47279e954e599d2a9b278dcea0b888295a5afd9f4417fda88b00d8ecb20f15321b678dd39dd27221fea10588223d339ca
+DIST firefox-121.0-ko.xpi 631387 BLAKE2B 2f20be07a69524b4bb339258f96d155ffa2ad569a360da86598f618cb6d24b0b58a187f2a48e0eec929f7221ac4d01bb6b1e6e6eace1f9bba0fdfeaf3c8e6dc9 SHA512 28018882f23dc2c71f2821be51dc25096d75058921bd97ffad8f787e336bd7e1b18b468875976889118902a7596071cfc6647083e8a490bd133367b6eb15ec61
+DIST firefox-121.0-lij.xpi 472670 BLAKE2B bd8bf08868daebb4937f8576107f0ef090f3e37c35ae38f672062af13d9ae5d2f693e9d8d6af5c6ed1b3f2e9c33810c801dcef495a11dcc2b818c401ed5557a3 SHA512 841708a666950b29d8469041f55e01bc4eafc4a826951e45146442e0fa8c494fad163a401761f282fc1176317c9296658093f45a84534c70a1fb925019fd1c6f
+DIST firefox-121.0-lt.xpi 559885 BLAKE2B 0c227ff905dd91aa7baab6c1ab556d73e1b3a8dcc5de1864fda682b7680b38dd436ea367dc46e36eadcc429e4576329e868265daa7c744067b08269c959683df SHA512 9bc509ec63b7df38a79798aa2a1e9328401cc62ebb4fb71e141b42de60fc3d65a514b457549e006da7ee0ee9daa52b6d63664c5e1a6127114ad1acf3bc14165a
+DIST firefox-121.0-lv.xpi 458433 BLAKE2B 397e53ea18d7e8f5f2f90fb439cf2fc63ba0c19d230f6c13d57e8562495910d382cc1a6deb97331f34b0375e88b8279071966ed4189ec44acf412389f78d53b0 SHA512 a71b5ff699d45e57907d2dfa9d2f9de0ea398b63ac44158066f3c8fb550f0a6459bb905ed8e3d4985116560f87263a0b738e1a7ecd23a19187e43a9a50f85889
+DIST firefox-121.0-mk.xpi 482517 BLAKE2B 8fd22b6d39c8324e19c997bcb5338038aab02af2aec5d488647ac66c4c1fcc2033f6973245d6b05fb43a329aa96670b8de786d15579cebc753e5444744fa40e4 SHA512 93efa7b060c7a063108dec32f7fb4a9c795f6b9c28c233b2dbfc2dac4455c5fb22f7f6cffb12ece189c0c0f41994959be39696a2cf92bcca83ebabc3f12aa857
+DIST firefox-121.0-mr.xpi 520371 BLAKE2B 02e26087f526b3deac23de4acab0c8c704156aa700358c468aabff1f204e98a1c3cbe88b847edb4ec163cb987cc1e82bcf828922f6fb6a2bbc4dfb38b34712cc SHA512 bb4d25293e2e21c8744b9d482230567a56ea7d3bbfc8c6755755e83e6c43fc73a3469af30bef894d01b0fdcd0100527c5ef6151627ae317fd0a592a4c291fc98
+DIST firefox-121.0-ms.xpi 438509 BLAKE2B 0707ff832757e15ec68a61c5ea813c8bea750d39ee42b27e07eb29002cab7007bcfdbb1a7c12ea418f22cca249dda00d1ddaf7a57f407cc0aff760e9933458c4 SHA512 7904f6fea4d8be29a3f76ecd2c0bdf9c0f9fd9575da9bdaa20c991085ab865f891f21c85a40bd8e2d7f3278d5962f51247c2f1fe8be7c4d2ea645c02684a9149
+DIST firefox-121.0-my.xpi 505204 BLAKE2B 0ef381e42f6ba6ec55c3dd5557b91449ddbc12c92754e82fe775d096f6e33d30b27b985e7d5e3b1c43f93d4954820d55d33a588aac464f9558deeeb97410b2f0 SHA512 19991b2958f87bd6845543dd65f5d523983a49c32da34a9a13a72a367c2f9b816c6960ad4b3017d85a11871afade25f93b52b5318de309f94b9aa77dca18bb2e
+DIST firefox-121.0-nb-NO.xpi 580571 BLAKE2B 87cef2c55da29b522d23dd384275e749b42b13cdbf431e4cd16a192e5a6c9a600e991fbc568729cf399abee70f7ce194b6a9f6e5c0ef0611fd6affe8392ba634 SHA512 f97316c9bc9ce8427b6ddea2013d8ac9734085695eef71046d3877076df5a9bea103b3dc7c6effd7b003aa4fe9f8ecf830d5ce16d8b405e5c6dacae10312770d
+DIST firefox-121.0-ne-NP.xpi 476929 BLAKE2B 72e6db378eb58e49ab0922d4456172334359eee13704e33ada58f620625c2aa6da93081a1b2fcc6550c7d5e9392f70cba9cab3fc461035b76eb5bb37efcbb2e3 SHA512 5163dcea3a29132c530fc296e9f2fb2175224b0f35ea8285c1357f31866a2c95eb36dfa1735a3c4e104314e7ce2b5e843ebaa22243660a6c37f33d3e728d1a0d
+DIST firefox-121.0-nl.xpi 588732 BLAKE2B 9b057cc6a99eb6865050f6da3900b3d58ab4be4fb92030ef4e4739ac24687aa1c2d851d421459527deabe846f5d2a43b0e630df8432061334aaf7cb92ba8b046 SHA512 7e3b65dc74711142480bbbeb56a5aeb6c701fc3c79e7ad8a1b767500f3369b853c1b6d4d05328e0f2d6dd762200cd366c3e1eb03b154649a2fd185bc41639831
+DIST firefox-121.0-nn-NO.xpi 577680 BLAKE2B cd3d63868b8e76a8cc62aa981fb32419f701783c26e86b5035b74586b8342bd1964228ed5080f9a63f0953dd0185a5a5beb8fb582f78531f9062428491bc99f5 SHA512 4df6f5d4f68f8e85e060bb5fb5309640937b8433c35b3db627634e61015c8a8c1889ba5199ca66af1b53a8cabc8e426ee3fedc2f781663250a1a345e5096e6ca
+DIST firefox-121.0-oc.xpi 592948 BLAKE2B 3f55bd2e1301684185d1521102d34137b604d30713372176ed63ddc07ce594fc59d0ff1d34ffcd9364997d2dfe1091a0156ed3b8d6d1f48d56b0d2ff9fa5383e SHA512 d89a83100c4113430812f8211fa3ff0572c5415f62b9b4e38f5996d1d4122c912fd6229f99985d029b2a7044a1657f5d48fe659a3e987e1b0cb5c8b44335670c
+DIST firefox-121.0-pa-IN.xpi 661765 BLAKE2B ab004f750b538d4eb3fb7f077db97d728abd6ca7983febd680e80d7981133ebe829c1a232108ddf52c01c9ec885811007d05e9dc9ca1bffbed53ae6af8614fb5 SHA512 d351673ba823b1f445e34cf4b95922e245a058260282ea7c5b62eb1ca68c0c5f4dfc57e279f2ba1d57818e75a03a227bee238b554b7db485dab6c7f2380c999a
+DIST firefox-121.0-pl.xpi 609107 BLAKE2B 185ae0b841f8e073efde8a9204de757c72877a228acafe238f9b75e4688d38677bffde34ed5513601ee245902808f8deb75efb0502048d2f98d0905c9d5bf79b SHA512 78f84bd4e8d235a93179d5bfdc9a186faf763af9257b0bb4b2a6a2c240e77ec634e9cc849e6547b5d63a3364d3a84a90dbdcb9814a24fa7d59dc9ab5e2635121
+DIST firefox-121.0-pt-BR.xpi 593134 BLAKE2B c0678a5387d960d34ec5ab9b0106b8da9c6ee62cf72ccdb8529b1d8a18897679204c7f2b41bf543fbc24e877544d576167e145edf60cab344d0aa83bb02d582b SHA512 843dcfccbdf470f8f496f8963e3a896e71da9c125bbe56747eb22e0830479dee1d6a663fd6e21da30a1e5f14f9a321a568b03cfa36d399690aa608efdbb67a97
+DIST firefox-121.0-pt-PT.xpi 592401 BLAKE2B 647232046537137c86968bd8c2d97f0823e69b4b866372c5146f6d2068015eabccc6ee163f4426815dbe03f255d3e20afb7ce824086efc606311a66157724727 SHA512 9dbae29928c19eafb3dfd778991cff5eb96d947e54d8fc10392afc8a0bb42e812a893237c02e6d5c4eb07d9b798282f47e84fd08622977ad236cfcf4fd33e799
+DIST firefox-121.0-rm.xpi 589127 BLAKE2B 7add077ecb49820a8c02d0279a0737ae37cc3289a26d796e3dfef23d084b164ab2c68c98e0b74c79b468e9de44d9a1551537ca3e371d49f31bb92f95f61fc451 SHA512 d22e6e49e8b1eb037104bfc3cbcd2994d19478cd94b4e86f5778729e9b1731224646e803e994298fa4f7d38627afde79adb8e025c7f96b706ef8db02af89b440
+DIST firefox-121.0-ro.xpi 536766 BLAKE2B 34140cb957a39a4db69c72cb1be57298db24c8acc913d31bc69e610ea568ae9b28852dc5fa195fcc2dd7002d774873bfd0b68bf9a7da461980927247fe6c76b7 SHA512 1ada288fbf6364bcc7aa0ae0f64150367b19c4911100b5c8f0cb16fb9d4b889b477be1c816705853a68b70e4821725a88e57998c6fa700d7135c014ee77ef983
+DIST firefox-121.0-ru.xpi 687509 BLAKE2B 6d6ad87cd34402bd1caa22be8eba0062f9bf1184aa3195ff2fe7f80beb77695bb1359e1a168519be177e01ba7f5c499e2d43b5d2669880e3f8f2a12aac710709 SHA512 2d1297a6cddc5361f79f9ef30d7cb504cf0769310ab4038e718ca433932d838afbd3584ce53b00c94ebde021c5a0d6e87774c18049c0faa33d9cfaacff0ba68a
+DIST firefox-121.0-sc.xpi 556023 BLAKE2B 94ae3689710ab8f7c802e64e34d8e2d832d5a738ff9c3c18210e941efdf3c71258f98ad52dcf09d171ca858432b35c8f03301b919d9dbec5919d264611bc8d80 SHA512 b9b187bcfc5f1c286e9b21456e1dce19459c8aa745a3f3aa5ff14d907bcefe174069103df9d280ef40792ad744f2ecaba34eb057eb3072f6a7e92f52f135e10d
+DIST firefox-121.0-sco.xpi 500130 BLAKE2B 19838c6c870391d76696b0e1da2acecfe6af332ec1852d95b0d683c01433f6e437cc978ba18334bddbc7aeee28025c9b5eb023dae83b70ecc0451d48a9cca6da SHA512 f87b2346e0ebebae269515587dc5da383c320e2ed1e27a608440f0fa3d53de7040183dce1dfce88fd7f0ab9c4f7bb3bec5ce5ec4e1bc13da2d75586316357a80
+DIST firefox-121.0-si.xpi 592740 BLAKE2B e9f4e1c6ce5189e3c1dfc92d839d7ac5278a1df16356b72cce4599daa8a670501f9e5c68a72f37af5bf561222df53b13da074c2eda55595f468de9d2bcb0bee1 SHA512 9aa34c5890bf2b4007012a177d6034b26e785a20f6226386e4615584688694bd2120ad63193dabeb40b53543047bdf1f04f44c46d3430b1ec552e3c6026e545d
+DIST firefox-121.0-sk.xpi 622293 BLAKE2B 23b646b7978236a1dbf87aa41f33d97398b72a8c80bfe40d8a3ec17936c49170de98939ef9a1d4ba2485bb5ba0e976c03f00aae7fb4661ad541b728650476331 SHA512 81449f038c79db4c94a328511aab786b66632e7690eb52950826c2f8743856d85d97d0ebeb0465576e75e1fb6df8c429d4a4159795fe5b210407796baa3f7c34
+DIST firefox-121.0-sl.xpi 590598 BLAKE2B 1fa4d32065df5fa363980af1797f9419fd12f6c3e72a256c704b2526d457e0a2b609da9446f270655396908582646a78bce6af047dd5649e5a04efb492d02d23 SHA512 27cd1ea802d3826a8226ccc5f7a07bb6706113a4a4b1c2ad5e3265d9cfdae04c2011ff6e050450376e9961615bf819a09c261344c982b55198974c6a9255bcff
+DIST firefox-121.0-son.xpi 407499 BLAKE2B 4912f04c2ca6d0363d0287babf2356c87d1cf30efefc7d3c472cd852d2ea4858efddf1d6973a91a75cc4d5480d4c5868afbf42e0dc9e9141895b6c9ea40cf620 SHA512 fa2501dba6c69d9091d49058ee153bd4962e85017be2641cd9e70a79efa20121655016abcce0f890025196ab645b6fc7dd86f2d05198cece244b188786edbd97
+DIST firefox-121.0-sq.xpi 608116 BLAKE2B b9daa12ec1ab098d5e13454eb74d4411c49ad6e07d3883292dcb93e3aa6a4ef15d607d2a3e29f6097f7fa5006065ff3fc63d2048f408e9cd91673c5127d90afc SHA512 288d40f681b162aee66c124186826cdf491e810aa8aef34d09d7230305f237127357a6550ab5405c2e722727cd319625fac98624b14ee03981a3593a74646ac2
+DIST firefox-121.0-sr.xpi 626630 BLAKE2B 7fe59a7a7f2d5f481d3e6552f94915fce3048989516c2d2f1209aea2d07deae2a444b2c9cbd6462710f9013a58e974f3b8faddcb41246c9758d4ce17e7142ca7 SHA512 10a232b38ff2aa76f0f0e51c8ee7e413456dae21b95625cfcef6d50b8e38b82fd199f0d182309792b1a7a8d0b68503f57ac2cb274f7393120687589bf785446a
+DIST firefox-121.0-sv-SE.xpi 590848 BLAKE2B e5f5c546fd0712c5b30684ea1b0584b3263328057c38b4952bb8aa18b043be32dff7e3a6ca856f6c7a5050d05ef2666228e1054f2e9c88526de3a67ea24fb554 SHA512 305c5acbaa8ff7773135423b264becf84f771ad79cbef6943a34482fb2fe8b2b3e5534f1a44777fd75ce08aef055243de74b2720da97da0302b5a019bd66b97d
+DIST firefox-121.0-szl.xpi 514944 BLAKE2B a758b4083773114899910b8c2d5f336f2e5d473958569c718411ad68976c4d00cd304e7e646b3c341b0cc6268e74a741e22380e9a1f5838051ad68ec520b3416 SHA512 6a22f3bb074999e4b491ce89b3790a026295cf79232de079c506a9460efe2558edbc0ef9feeaf7b43bda79fd6843e7ee9dd64678b5b11fe00abacbaec44e7c9b
+DIST firefox-121.0-ta.xpi 496637 BLAKE2B 4fe1dd73b827f02276af26b97410ac9026474f54d5b91a65e94df73976b8e65f0297d6cb62c88af174ff4d2cfde5768e044f4ce3841fa09a4f077bc3163172f8 SHA512 b0c509bbd65b9d3d8eedd6ac17724600a0aca27e3ee05e748640fa679d8c0e16218b46f1d59ece33493c0a6fffb2f9f624b915276106ace44a14dd6c5a080445
+DIST firefox-121.0-te.xpi 547616 BLAKE2B 1af8ec09aa828c16dfe217b729153006feb4d6e7f8d6e0fa6f937870abb4ae0f2ca58435eb00c9be3c8cbd5c5e3ac57f7921ed55baa04715e0fcad5ad77dd060 SHA512 cd59a357b31e94853f23e380d0b7426c1dfb3fd2938337e706b4e37c19f2eea1309f44b866fbc471c88b6e012fb4d0635ac325378e87171a8f08b2faf9d12e26
+DIST firefox-121.0-th.xpi 655607 BLAKE2B 107148d69f42854eca1cfeac7838edfe0265fe62380c53a5f1ead678e00d5591d3ee04393d0c7bf6d786b6c0c203f681f955b3cd865cbee61ca29ebf1c2f44ac SHA512 553f10951e31096def485662ddda1423fff9411000923674bd2159923fa829c5b269ebdb05963c445eefcd745a11b991e54a1b5d57ddb9ee396719cc72e7a1b0
+DIST firefox-121.0-tl.xpi 522661 BLAKE2B 1b71cd03261ecf7cdcfd142d469eddcfd1af0ee6853274e52df7a0d2d57a6475727e88736ed11b3e74c63dcebacfa5b772fa0bc41029bd0f94879329868ec6ca SHA512 added5da4682a86667178574f689c290bfc94aefd7f35bf4af25e12c36ded9894394a5f668353329d863c2844ca8e72af43767b46fa40a71a99f85b6bdc5eaef
+DIST firefox-121.0-tr.xpi 602212 BLAKE2B ceaf6e1f236f39c7c2693fe117149c70091b422bb15f51c8364960fe3fa301ac79442241ec2dbeefac8a9a043521bb5ab43e6b10d21a24bdd5b81f4b72820e3a SHA512 323046f016742e5c17763fda51c08779e2cff3c2e1a33440b1def927b0d6e4760a371be3d388a385f1206ac1d38763e7c1200d30c7f9db183f26be3216a3a736
+DIST firefox-121.0-trs.xpi 492655 BLAKE2B 2eb8d2a817886e14f4dd5ce4f28b775996d8bf7753f0751cb42e66d07bb68a971b8a1194deedd17d6e0be76963fc4f6bedae814e9a76c6a1f66566a5d7b23cd6 SHA512 9f299d87de8c5f022df0564a7fe934c0a62c728d71d5ec1de340dbbba897aebcc2dd845a8536be2a4a7db6e2e11f77702edb2c3caf4905b007ce445275b09232
+DIST firefox-121.0-uk.xpi 679484 BLAKE2B 4bc6168527d315ae21d1bfe878d0da58da410f82d53e1d184e43e127aba48e31c25d09e9e453763f47b08d2ed3efa2ac869bc29101936759633ee6503fe1e6de SHA512 682500d327fea7bfe5188a40db953eea991b61b4884ac6e3d107e55520904c495d04943e270f440c834834d3d372c863ed5a512d3593db068c74c0351e5a227f
+DIST firefox-121.0-ur.xpi 548514 BLAKE2B 5646582872dee8926967270c9bdc8ecf0e048ca7d9c06c640c793ec31663b9a6ca555fae9f9cc71ae57be075118fd8ad6eb3f85937cb3c34b12d64e238c3d327 SHA512 01131d5a64856b4ab06ffcf0a8ddb42ca12fbf302fdf2d9dcda9ab768ccd497cb689c2531e59064899d32146e61b7887865aa9a0e67baba582e5d9686eadc446
+DIST firefox-121.0-uz.xpi 469134 BLAKE2B 8c8cb9daae19a5f9904f3525d05a99b3a7959f0dcadb9c68093a26dfdd86d68041f95dea392ea8133b4d391b13210a101ff1fdf729cb5c13cb90bc8ccd401028 SHA512 a24b04ff28e0e12b4b3bd4621cfb3b22c23ee465d1c64454ab63196b51f6d78d98f38dd95af0b1051076973911b1ca660d1a210c1368d56133300e0df2a23889
+DIST firefox-121.0-vi.xpi 626568 BLAKE2B b0be20e59f7e5ade0ea2e1267f77d21b02ce07af04b77c016bf046beb5eb1bec93b580c71678282877427e804edbe328516b7601b4f9d85b1c7a979c68adada9 SHA512 ec0ef7dd4e25465acf16ba0fd70eed904e082cbbfae25ce277939fe7537a3d0e9ae011d6c878f75f34f82dc4f23ea7e7ffd3cd546ff048fdbf996ce61cd28fd0
+DIST firefox-121.0-xh.xpi 408293 BLAKE2B 61a28011646784be1bba1761fe99f60db7a90f1e92c8834dae6c7b25185d9ea6ea288dfd9ac8c3190f977ff011161f59f58db102c18448257a183be7df717b43 SHA512 faa2fba45a69025b07f0e81e5ef52fe149ec897fcbf64c0ab8b48a730455f8b8aef1e684f221a3008ab96ed31490a891cfa6bd7ac2f49ca6cdd55173f61c500f
+DIST firefox-121.0-zh-CN.xpi 627098 BLAKE2B 148a2454c7222451369b6b8831073523420b57c0ca30a8f722efa01c556ba4a52aae45af872db7a0e3bee6aba9bc3c3c7f84cd6f2297e93de082cd3f57ff660b SHA512 0fe93d48b5745a00a2a976fdecb397e87c82b291ff2ca0a604ddfda72380fc12abfb445afef07d60f9a7ffc4a94f7a2f60c7225deff315b22c394ea8a8127463
+DIST firefox-121.0-zh-TW.xpi 629230 BLAKE2B 86a8d34905dc36f320a86e73eb1a7a4b6422af38b18cf8a8293b53ae8ef4d5473d913fb4e7ea9c1bf2e66ce9205858d2782dec4955a00ec73700c9a9b5a26319 SHA512 a0692081778217488226152b2103c5431d70cd9b33fbc8857506be85b15722cc03dc6c90cf33f80ccf12bed7e2b52535bd430944566c023c2dfc439ae8e719be
+DIST firefox-121.0.source.tar.xz 530302784 BLAKE2B 80905caeb208ef5dce7b62e248c86598ca786eb7032e114ad5d10812623bfceb688832f646dfbe220ef2fcecacf11cefae2afb0f1cdc0f7952647b71c58c9602 SHA512 52e9e21ce825c4e58f09fd2c7347f1ac4efbca47e119136a712f0d4ee80c769ef80a43bad74a4c88cd377f804f5780b07f7af5b779f3fb5d244fa095e6b3b18a
diff --git a/www-client/firefox/firefox-121.0.ebuild b/www-client/firefox/firefox-121.0.ebuild
new file mode 100644
index 000000000000..af2883ae3dd3
--- /dev/null
+++ b/www-client/firefox/firefox-121.0.ebuild
@@ -0,0 +1,1461 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FIREFOX_PATCHSET="firefox-121-patches-01.tar.xz"
+
+LLVM_MAX_SLOT=17
+
+PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_REQ_USE="ncurses,sqlite,ssl"
+
+WANT_AUTOCONF="2.1"
+
+VIRTUALX_REQUIRED="manual"
+
+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 linux-info llvm multiprocessing \
+ optfeature pax-utils python-any-r1 readme.gentoo-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/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="Firefox Web Browser"
+HOMEPAGE="https://www.mozilla.com/firefox"
+
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+
+SLOT="rapid"
+LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
+
+IUSE="+clang cpu_flags_arm_neon dbus debug eme-free hardened hwaccel"
+IUSE+=" jack +jumbo-build 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+=" +telemetry valgrind wayland wifi +X"
+
+# Firefox-only IUSE
+IUSE+=" geckodriver +gmp-autoupdate screencast"
+
+# "-jumbo-build +system-icu": build failure on firefox-120:
+# firefox-120.0/intl/components/src/TimeZone.cpp:345:3: error: use of undeclared identifier 'MOZ_TRY'
+REQUIRED_USE="|| ( X wayland )
+ debug? ( !system-av1 )
+ !jumbo-build? ( !system-icu )
+ pgo? ( lto )
+ wifi? ( dbus )"
+
+FF_ONLY_DEPEND="!www-client/firefox:0
+ !www-client/firefox:esr
+ screencast? ( media-video/pipewire:= )
+ selinux? ( sec-policy/selinux-mozilla )"
+BDEPEND="${PYTHON_DEPS}
+ || (
+ (
+ sys-devel/clang:17
+ sys-devel/llvm:17
+ clang? (
+ sys-devel/lld:17
+ virtual/rust:0/llvm-17
+ pgo? ( =sys-libs/compiler-rt-sanitizers-17*[profile] )
+ )
+ )
+ (
+ sys-devel/clang:16
+ sys-devel/llvm:16
+ clang? (
+ sys-devel/lld:16
+ virtual/rust:0/llvm-16
+ pgo? ( =sys-libs/compiler-rt-sanitizers-16*[profile] )
+ )
+ )
+ (
+ sys-devel/clang:15
+ sys-devel/llvm:15
+ clang? (
+ sys-devel/lld:15
+ virtual/rust:0/llvm-15
+ pgo? ( =sys-libs/compiler-rt-sanitizers-15*[profile] )
+ )
+ )
+ )
+ app-alternatives/awk
+ app-arch/unzip
+ app-arch/zip
+ >=dev-util/cbindgen-0.26.0
+ net-libs/nodejs
+ virtual/pkgconfig
+ !clang? ( >=virtual/rust-1.70 )
+ !elibc_glibc? (
+ || (
+ dev-lang/rust
+ <dev-lang/rust-bin-1.73
+ )
+ )
+ amd64? ( >=dev-lang/nasm-2.14 )
+ x86? ( >=dev-lang/nasm-2.14 )
+ pgo? (
+ X? (
+ sys-devel/gettext
+ x11-base/xorg-server[xvfb]
+ x11-apps/xhost
+ )
+ !X? (
+ >=gui-libs/wlroots-0.15.1-r1[tinywl]
+ x11-misc/xkeyboard-config
+ )
+ )"
+COMMON_DEPEND="${FF_ONLY_DEPEND}
+ >=app-accessibility/at-spi2-core-2.46.0:2
+ dev-libs/expat
+ dev-libs/glib:2
+ dev-libs/libffi:=
+ >=dev-libs/nss-3.95
+ >=dev-libs/nspr-4.35
+ media-libs/alsa-lib
+ media-libs/fontconfig
+ media-libs/freetype
+ media-libs/mesa
+ media-video/ffmpeg
+ sys-libs/zlib
+ virtual/freedesktop-icon-theme
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf
+ x11-libs/pango
+ x11-libs/pixman
+ dbus? (
+ sys-apps/dbus
+ )
+ jack? ( virtual/jack )
+ pulseaudio? (
+ || (
+ media-libs/libpulse
+ >=media-sound/apulse-0.1.12-r4[sdk]
+ )
+ )
+ libproxy? ( net-libs/libproxy )
+ selinux? ( sec-policy/selinux-mozilla )
+ sndio? ( >=media-sound/sndio-1.8.0-r1 )
+ screencast? ( media-video/pipewire:= )
+ 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-73.1:= )
+ system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 )
+ system-libevent? ( >=dev-libs/libevent-2.1.12: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= )
+ valgrind? ( dev-util/valgrind )
+ wayland? (
+ >=media-libs/libepoxy-1.5.10-r1
+ x11-libs/gtk+:3[wayland]
+ x11-libs/libxkbcommon[wayland]
+ )
+ wifi? (
+ kernel_linux? (
+ net-misc/networkmanager
+ sys-apps/dbus
+ )
+ )
+ X? (
+ virtual/opengl
+ x11-libs/cairo[X]
+ x11-libs/gtk+:3[X]
+ x11-libs/libX11
+ x11-libs/libXcomposite
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libxkbcommon[X]
+ x11-libs/libXrandr
+ x11-libs/libXtst
+ x11-libs/libxcb:=
+ )"
+RDEPEND="${COMMON_DEPEND}
+ hwaccel? (
+ media-video/libva-utils
+ sys-apps/pciutils
+ )
+ jack? ( virtual/jack )
+ openh264? ( media-libs/openh264:*[plugin] )"
+DEPEND="${COMMON_DEPEND}
+ X? (
+ x11-base/xorg-proto
+ x11-libs/libICE
+ x11-libs/libSM
+ )"
+
+S="${WORKDIR}/${PN}-${PV%_*}"
+
+# Allow MOZ_GMP_PLUGIN_LIST to be set in an eclass or
+# overridden in the enviromnent (advanced hackers only)
+if [[ -z "${MOZ_GMP_PLUGIN_LIST+set}" ]] ; then
+ MOZ_GMP_PLUGIN_LIST=( gmp-gmpopenh264 gmp-widevinecdm )
+fi
+
+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 && ! tc-ld-is-mold ; 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 ! has_version -b "virtual/rust:0/llvm-${LLVM_SLOT}" ; then
+ einfo "virtual/rust:0/llvm-${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}*[profile]" ; then
+ einfo "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*[profile] 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
+)
+
+# Firefox-only LANGS
+MOZ_LANGS+=( ach )
+MOZ_LANGS+=( an )
+MOZ_LANGS+=( az )
+MOZ_LANGS+=( bn )
+MOZ_LANGS+=( bs )
+MOZ_LANGS+=( ca-valencia )
+MOZ_LANGS+=( eo )
+MOZ_LANGS+=( es-CL )
+MOZ_LANGS+=( es-MX )
+MOZ_LANGS+=( fa )
+MOZ_LANGS+=( ff )
+MOZ_LANGS+=( fur )
+MOZ_LANGS+=( gn )
+MOZ_LANGS+=( gu-IN )
+MOZ_LANGS+=( hi-IN )
+MOZ_LANGS+=( hy-AM )
+MOZ_LANGS+=( ia )
+MOZ_LANGS+=( km )
+MOZ_LANGS+=( kn )
+MOZ_LANGS+=( lij )
+MOZ_LANGS+=( mk )
+MOZ_LANGS+=( mr )
+MOZ_LANGS+=( my )
+MOZ_LANGS+=( ne-NP )
+MOZ_LANGS+=( oc )
+MOZ_LANGS+=( sc )
+MOZ_LANGS+=( sco )
+MOZ_LANGS+=( si )
+MOZ_LANGS+=( son )
+MOZ_LANGS+=( szl )
+MOZ_LANGS+=( ta )
+MOZ_LANGS+=( te )
+MOZ_LANGS+=( tl )
+MOZ_LANGS+=( trs )
+MOZ_LANGS+=( ur )
+MOZ_LANGS+=( xh )
+
+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}"
+}
+
+# This is a straight copypaste from toolchain-funcs.eclass's 'tc-ld-is-lld', and is temporarily
+# placed here until toolchain-funcs.eclass gets an official support for mold linker.
+# Please see:
+# https://github.com/gentoo/gentoo/pull/28366 ||
+# https://github.com/gentoo/gentoo/pull/28355
+tc-ld-is-mold() {
+ local out
+
+ # Ensure ld output is in English.
+ local -x LC_ALL=C
+
+ # First check the linker directly.
+ out=$($(tc-getLD "$@") --version 2>&1)
+ if [[ ${out} == *"mold"* ]] ; then
+ return 0
+ fi
+
+ # Then see if they're selecting mold via compiler flags.
+ # Note: We're assuming they're using LDFLAGS to hold the
+ # options and not CFLAGS/CXXFLAGS.
+ local base="${T}/test-tc-linker"
+ cat <<-EOF > "${base}.c"
+ int main() { return 0; }
+ EOF
+ out=$($(tc-getCC "$@") ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -Wl,--version "${base}.c" -o "${base}" 2>&1)
+ rm -f "${base}"*
+ if [[ ${out} == *"mold"* ]] ; then
+ return 0
+ fi
+
+ # No mold here!
+ return 1
+}
+
+virtwl() {
+ debug-print-function ${FUNCNAME} "$@"
+
+ [[ $# -lt 1 ]] && die "${FUNCNAME} needs at least one argument"
+ [[ -n $XDG_RUNTIME_DIR ]] || die "${FUNCNAME} needs XDG_RUNTIME_DIR to be set; try xdg_environment_reset"
+ tinywl -h >/dev/null || die 'tinywl -h failed'
+
+ # TODO: don't run addpredict in utility function. WLR_RENDERER=pixman doesn't work
+ addpredict /dev/dri
+ local VIRTWL VIRTWL_PID
+ coproc VIRTWL { WLR_BACKENDS=headless exec tinywl -s 'echo $WAYLAND_DISPLAY; read _; kill $PPID'; }
+ local -x WAYLAND_DISPLAY
+ read WAYLAND_DISPLAY <&${VIRTWL[0]}
+
+ debug-print "${FUNCNAME}: $@"
+ "$@"
+ local r=$?
+
+ [[ -n $VIRTWL_PID ]] || die "tinywl exited unexpectedly"
+ exec {VIRTWL[0]}<&- {VIRTWL[1]}>&-
+ return $r
+}
+
+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 && tc-ld-is-lld ; 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
+ # Update 105.0: "/proc/self/oom_score_adj" isn't enough anymore with pgo, but not sure
+ # whether that's due to better OOM handling by Firefox (bmo#1771712), or portage
+ # (PORTAGE_SCHEDULING_POLICY) update...
+ addpredict /proc
+
+ # May need a wider addpredict when using wayland+pgo.
+ addpredict /dev/dri
+
+ # 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
+
+ CONFIG_CHECK="~SECCOMP"
+ WARNING_SECCOMP="CONFIG_SECCOMP not set! This system will be unable to play DRM-protected content."
+ linux-info_pkg_setup
+}
+
+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 ppc64; then
+ rm -v "${WORKDIR}"/firefox-patches/*ppc64*.patch || die
+ fi
+
+ # Workaround for bgo#917599
+ if has_version ">=dev-libs/icu-74.1" && use system-icu ; then
+ eapply "${WORKDIR}"/firefox-patches/0028-bmo-1862601-system-icu-74.patch
+ fi
+ rm -v "${WORKDIR}"/firefox-patches/0028-bmo-1862601-system-icu-74.patch || die
+
+ # Workaround for bgo#915651 on musl
+ if ! use elibc_glibc ; then
+ rm -v "${WORKDIR}"/firefox-patches/*bgo-748849-RUST_TARGET_override.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)"
+
+ # Workaround for bgo#915651
+ if ! use elibc_glibc ; then
+ if use amd64 ; then
+ export RUST_TARGET="x86_64-unknown-linux-musl"
+ elif use x86 ; then
+ export RUST_TARGET="x86-unknown-linux-musl"
+ else
+ die "Unknown musl chost, please post your rustc -vV along with emerge --info on Gentoo's bug #915651"
+ fi
+ fi
+
+ # 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
+
+ # Clear checksums from cargo crates we've manually patched.
+ # moz_clear_vendor_checksums xyz
+ moz_clear_vendor_checksums proc-macro2
+
+ # Respect choice for "jumbo-build"
+ # Changing the value for FILES_PER_UNIFIED_FILE may not work, see #905431
+ if [[ -n ${FILES_PER_UNIFIED_FILE} ]] && use jumbo-build; then
+ local my_files_per_unified_file=${FILES_PER_UNIFIED_FILE:=16}
+ elog ""
+ elog "jumbo-build defaults modified to ${my_files_per_unified_file}."
+ elog "if you get a build failure, try undefining FILES_PER_UNIFIED_FILE,"
+ elog "if that fails try -jumbo-build before opening a bug report."
+ elog ""
+
+ sed -i -e "s/\"FILES_PER_UNIFIED_FILE\", 16/\"FILES_PER_UNIFIED_FILE\", "${my_files_per_unified_file}"/" python/mozbuild/mozbuild/frontend/data.py ||
+ die "Failed to adjust FILES_PER_UNIFIED_FILE in python/mozbuild/mozbuild/frontend/data.py"
+ sed -i -e "s/FILES_PER_UNIFIED_FILE = 6/FILES_PER_UNIFIED_FILE = "${my_files_per_unified_file}"/" js/src/moz.build ||
+ die "Failed to adjust FILES_PER_UNIFIED_FILE in js/src/moz.build"
+ fi
+
+ # 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; then
+ # Force clang
+ einfo "Enforcing the use of clang due to USE=clang ..."
+
+ local version_clang=$(clang --version 2>/dev/null | grep -F -- 'clang version' | awk '{ print $3 }')
+ [[ -n ${version_clang} ]] && version_clang=$(ver_cut 1 "${version_clang}")
+ [[ -z ${version_clang} ]] && die "Failed to read clang version!"
+
+ if tc-is-gcc; then
+ have_switched_compiler=yes
+ fi
+
+ AR=llvm-ar
+ CC=${CHOST}-clang-${version_clang}
+ CXX=${CHOST}-clang++-${version_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,
+ # AS is used in a non-standard way by upstream, #bmo1654031
+ export HOST_CC="$(tc-getBUILD_CC)"
+ export HOST_CXX="$(tc-getBUILD_CXX)"
+ export AS="$(tc-getCC) -c"
+
+ # Configuration tests expect llvm-readelf output, bug 913130
+ READELF="llvm-readelf"
+
+ tc-export CC CXX LD AR AS NM OBJDUMP RANLIB READELF 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=browser
+ mozconfig_add_options_ac '' --enable-project=browser
+
+ # Set Gentoo defaults
+ if use telemetry; then
+ export MOZILLA_OFFICIAL=1
+ fi
+
+ mozconfig_add_options_ac 'Gentoo default' \
+ --allow-addon-sideload \
+ --disable-cargo-incremental \
+ --disable-crashreporter \
+ --disable-disk-remnant-avoidance \
+ --disable-gpsd \
+ --disable-install-strip \
+ --disable-legacy-profile-creation \
+ --disable-parental-controls \
+ --disable-strip \
+ --disable-tests \
+ --disable-updater \
+ --disable-wasm-function-references \
+ --disable-wasm-gc \
+ --disable-wmf \
+ --enable-negotiateauth \
+ --enable-new-pass-manager \
+ --enable-official-branding \
+ --enable-release \
+ --enable-system-ffi \
+ --enable-system-pixman \
+ --enable-system-policies \
+ --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.
+ # bug 833001, bug 903411#c8
+ if use ppc64 || use riscv; then
+ mozconfig_add_options_ac '' --disable-sandbox
+ elif use valgrind; then
+ mozconfig_add_options_ac 'valgrind requirement' --disable-sandbox
+ else
+ mozconfig_add_options_ac '' --enable-sandbox
+ fi
+
+ # Enable JIT on riscv64 explicitly
+ # Can be removed once upstream enable it by default in the future.
+ use riscv && mozconfig_add_options_ac 'Enable JIT for RISC-V 64' --enable-jit
+
+ 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
+
+ mozconfig_use_enable dbus
+ mozconfig_use_enable libproxy
+ mozconfig_use_enable valgrind
+
+ use eme-free && mozconfig_add_options_ac '+eme-free' --disable-eme
+
+ mozconfig_use_enable geckodriver
+
+ if use hardened ; then
+ mozconfig_add_options_ac "+hardened" --enable-hardening
+ append-ldflags "-Wl,-z,relro -Wl,-z,now"
+
+ # Increase the FORTIFY_SOURCE value, #910071.
+ sed -i -e '/-D_FORTIFY_SOURCE=/s:2:3:' "${S}"/build/moz.configure/toolchain.configure || die
+ 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
+
+ ! use jumbo-build && mozconfig_add_options_ac '--disable-unified-build' --disable-unified-build
+
+ if use X && use wayland ; then
+ mozconfig_add_options_ac '+x11+wayland' --enable-default-toolkit=cairo-gtk3-x11-wayland
+ elif ! use X && use wayland ; then
+ mozconfig_add_options_ac '+wayland' --enable-default-toolkit=cairo-gtk3-wayland-only
+ else
+ mozconfig_add_options_ac '+x11' --enable-default-toolkit=cairo-gtk3-x11-only
+ fi
+
+ if use lto ; then
+ if use clang ; then
+ # Upstream only supports lld or mold when using clang.
+ if tc-ld-is-mold ; then
+ mozconfig_add_options_ac "using ld=mold due to system selection" --enable-linker=mold
+ else
+ mozconfig_add_options_ac "forcing ld=lld due to USE=clang and USE=lto" --enable-linker=lld
+ fi
+
+ mozconfig_add_options_ac '+lto' --enable-lto=cross
+
+ else
+ # ThinLTO is currently broken, see bmo#1644409.
+ # mold does not support gcc+lto combination.
+ 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
+ # lld is upstream's default
+ if tc-ld-is-mold ; then
+ mozconfig_add_options_ac "using ld=mold due to system selection" --enable-linker=mold
+ else
+ mozconfig_add_options_ac "forcing ld=lld due to USE=clang" --enable-linker=lld
+ fi
+
+ else
+ if tc-ld-is-mold ; then
+ mozconfig_add_options_ac "using ld=mold due to system selection" --enable-linker=mold
+ else
+ mozconfig_add_options_ac "linker is set to bfd due to USE=-clang" --enable-linker=bfd
+ fi
+ fi
+ fi
+
+ # LTO flag was handled via configure
+ filter-lto
+
+ mozconfig_use_enable debug
+ if use debug ; then
+ mozconfig_add_options_ac '+debug' --disable-optimize
+ mozconfig_add_options_ac '+debug' --enable-real-time-tracing
+ else
+ mozconfig_add_options_ac 'Gentoo defaults' --disable-real-time-tracing
+
+ 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
+
+ # elf-hack
+ if use amd64 || use x86 ; then
+ if tc-ld-is-mold ; then
+ # relr-elf-hack is currently broken with mold, bgo#916259
+ mozconfig_add_options_ac 'disable elf-hack with mold linker' --disable-elf-hack
+ else
+ if use clang ; then
+ mozconfig_add_options_ac 'relr elf-hack with clang' --enable-elf-hack=relr
+ else
+ mozconfig_add_options_ac 'legacy elf-hack with gcc' --enable-elf-hack=legacy
+ fi
+ fi
+ elif use ppc64 ; then
+ # '--disable-elf-hack' is not recognized on ppc64, bgo#917049
+ :;
+ else
+ mozconfig_add_options_ac 'disable elf-hack on non-supported arches' --disable-elf-hack
+ 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
+
+ if use valgrind; then
+ mozconfig_add_options_ac 'valgrind requirement' --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 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
+
+ if ! use telemetry; then
+ mozconfig_add_options_mk '-telemetry setting' "MOZ_CRASHREPORTER=0"
+ mozconfig_add_options_mk '-telemetry setting' "MOZ_DATA_REPORTING=0"
+ mozconfig_add_options_mk '-telemetry setting' "MOZ_SERVICES_HEALTHREPORT=0"
+ mozconfig_add_options_mk '-telemetry setting' "MOZ_TELEMETRY_REPORTING=0"
+ 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
+
+ if use valgrind; then
+ sed -i -e 's/--enable-optimize=-O[0-9s]/--enable-optimize="-g -O2"/' .mozconfig || die
+ fi
+
+ ./mach configure || die
+}
+
+src_compile() {
+ local virtx_cmd=
+
+ if tc-ld-is-mold && use lto; then
+ # increase ulimit with mold+lto, bugs #892641, #907485
+ if ! ulimit -n 16384 1>/dev/null 2>&1 ; then
+ ewarn "Unable to modify ulimits - building with mold+lto might fail due to low ulimit -n resources."
+ ewarn "Please see bugs #892641 & #907485."
+ else
+ ulimit -n 16384
+ fi
+ fi
+
+ if use pgo; then
+ # Reset and cleanup environment variables used by GNOME/XDG
+ gnome2_environment_reset
+
+ addpredict /root
+
+ if ! use X; then
+ virtx_cmd=virtwl
+ else
+ virtx_cmd=virtx
+ fi
+ fi
+
+ if ! use X; then
+ local -x GDK_BACKEND=wayland
+ else
+ local -x GDK_BACKEND=x11
+ fi
+
+ ${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}/browser/defaults/preferences"
+ 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-r2 \
+ >>"${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
+
+ # Install the vaapitest binary on supported arches (+arm when keyworded)
+ if use amd64 || use arm64 || use x86 ; then
+ exeinto "${MOZILLA_FIVE_HOME}"
+ doexe "${BUILD_DIR}"/dist/bin/vaapitest
+ fi
+
+ # Install the v4l2test on supported arches (+ arm, + riscv64 when keyworded)
+ if use arm64 ; then
+ exeinto "${MOZILLA_FIVE_HOME}"
+ doexe "${BUILD_DIR}"/dist/bin/v4l2test
+ fi
+ fi
+
+ if ! use gmp-autoupdate ; then
+ local plugin
+ for plugin in "${MOZ_GMP_PLUGIN_LIST[@]}" ; do
+ einfo "Disabling auto-update for ${plugin} plugin ..."
+ cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to disable autoupdate for ${plugin} media plugin"
+ pref("media.${plugin}.autoupdate", false);
+ EOF
+ done
+ 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 geckodriver
+ if use geckodriver ; then
+ einfo "Installing geckodriver into ${ED}${MOZILLA_FIVE_HOME} ..."
+ pax-mark m "${BUILD_DIR}"/dist/bin/geckodriver
+ exeinto "${MOZILLA_FIVE_HOME}"
+ doexe "${BUILD_DIR}"/dist/bin/geckodriver
+
+ dosym ${MOZILLA_FIVE_HOME}/geckodriver /usr/bin/geckodriver
+ fi
+
+ # Install icons
+ local icon_srcdir="${S}/browser/branding/official"
+ local icon_symbolic_file="${FILESDIR}/icon/firefox-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}-r3.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
+
+ readme.gentoo_create_doc
+}
+
+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 gmp-autoupdate ; then
+ elog "USE='-gmp-autoupdate' has disabled the following plugins from updating or"
+ elog "installing into new profiles:"
+ local plugin
+ for plugin in "${MOZ_GMP_PLUGIN_LIST[@]}" ; do
+ elog "\t ${plugin}"
+ done
+ elog
+ fi
+
+ 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
+
+ # 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
+
+ readme.gentoo_print_elog
+
+ optfeature_header "Optional programs for extra features:"
+ optfeature "desktop notifications" x11-libs/libnotify
+ optfeature "fallback mouse cursor theme e.g. on WMs" gnome-base/gsettings-desktop-schemas
+ if use hwaccel && has_version "x11-drivers/nvidia-drivers"; then
+ optfeature "hardware acceleration with NVIDIA cards" media-libs/nvidia-vaapi-driver
+ fi
+
+ if ! has_version "sys-libs/glibc"; then
+ elog
+ elog "glibc not found! You won't be able to play DRM content."
+ elog "See Gentoo bug #910309 or upstream bug #1843683."
+ elog
+ fi
+}