summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2024-01-09 14:21:29 +0200
committerJoonas Niilola <juippis@gentoo.org>2024-01-09 14:24:22 +0200
commit829245301b0f70f9a83e3ca69c88481c007dcca1 (patch)
treebe4805c7dfc64c7658086abb0a5b138c1a2f8c87
parentnet-ftp/filezilla: fix incompatible pointer type (diff)
downloadgentoo-829245301b0f70f9a83e3ca69c88481c007dcca1.tar.gz
gentoo-829245301b0f70f9a83e3ca69c88481c007dcca1.tar.bz2
gentoo-829245301b0f70f9a83e3ca69c88481c007dcca1.zip
www-client/firefox: add 121.0.1
- add a patch for ppc64 build failure, - add "experimental" wayland-proxy-load-balancer https://mastransky.wordpress.com/2023/12/22/wayland-proxy-load-balancer/ - remove llvm:15 support along with virtual/rust:0/llvm-15. Closes: https://bugs.gentoo.org/920706 Closes: https://bugs.gentoo.org/919418 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
-rw-r--r--www-client/firefox/Manifest101
-rw-r--r--www-client/firefox/firefox-121.0.1.ebuild1455
2 files changed, 1556 insertions, 0 deletions
diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest
index 6e36aa14a500..e003611d966d 100644
--- a/www-client/firefox/Manifest
+++ b/www-client/firefox/Manifest
@@ -100,6 +100,7 @@ DIST firefox-115.6.0esr-zh-TW.xpi 597820 BLAKE2B 2e2e85eb4292c1b95486f4487de466c
DIST firefox-115.6.0esr.source.tar.xz 511017732 BLAKE2B 80ab9a45f9170265751a913e789a54acd0503846a77e43fbfe181c3d5846d5945f5c4f4bf3a35231e250e15377f8d4abd0a01617b3a3b0f94197450300111360 SHA512 9fe23b5f715e35b788d9c8fefe6b7be8785789b4ae6f5649b05a54221934101c6e1b9580319145f9bcaebfbd00fcc33e97afb63f7d57ba102a6b02c874d324af
DIST firefox-115esr-patches-08.tar.xz 15912 BLAKE2B 3f94deb17920672ad2184e813bd38e390ecaa50bfc6e00973db717bc56a5adb4f096224cc366da525db25aaa3d198d57716bcb765ddc906783532864e23dd8d4 SHA512 4474fbed14b2c4fac03d82f4b37849a69dbdd61fc15f01cefa373eb8a64a692f5a584247acdf7c349ab6965225c3cd47be3fc4523f93db5299680e2a22e94d94
DIST firefox-121-patches-01.tar.xz 15540 BLAKE2B d4d45665b308071f3f72dd0ce775b514d2bddc6306dfba78f2e858169fc97a47e172af41fd4cb37e264c23c9b31b932131736697cc176109e088a78f457cbca0 SHA512 d80c648740bfbc454a654f69901ff7594896af124f557958417eaab477b84f23b77f4e143071711d349f506a43667389a9c0e3b67359680f6b224d94661d6172
+DIST firefox-121-patches-03.tar.xz 21556 BLAKE2B 2cf03ec1a228bb874cb1d1c1b2ccce6c6490072f1ba9a5f7881d9be6233ce1320b4bc89e1e4ce9512a08881dd61d19df33e41864f218f282b75d3d9b079ce382 SHA512 b3fc6cc238bd80d04896d08bf4b794324ad5da252373ad9762e27614368d35a39edf310ad9da6639d576aae77c316e4f98ac6539f3198b04ef9903121c3f43e7
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
@@ -199,4 +200,104 @@ DIST firefox-121.0-vi.xpi 626568 BLAKE2B b0be20e59f7e5ade0ea2e1267f77d21b02ce07a
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.1-ach.xpi 453894 BLAKE2B 603077351f08574799a18897d6bd040c54d7327e04a57a7b5f9f3403c02e5baa6c172d3144774e0c7b8808cbdb87ee21d3b2136053dcd0d563dec41b5accd031 SHA512 6ff994fc5f4bf734457616610c627e5d105bc17c54d8ba67f948ef7af6e1ac685b7c5b45bee9a0348a4f0ed6ff041628c299cbfe7db847f17938fcddece6bd33
+DIST firefox-121.0.1-af.xpi 409568 BLAKE2B 3d1b6f1123e5c2da1c0d92cb4eaf9138ae684e2c018859630ab10ebd46be0cbf5e562298412c42c6e2fa0f5de8606840904e5060852bd6a7192201eea2978594 SHA512 2d85fa447100d91f005781f04a6d6f49d76b30ead2cddfa6c32c54d88f9853fa5a91f5749c0ea7eb86603f727666c4795656efae122bb064cb751b64cd97c583
+DIST firefox-121.0.1-an.xpi 494576 BLAKE2B 78bdc36630cc2c595fee82ab1c3217201389fe57d9523ff2742970145d0e54f8ed432114d3cf0d037a128696f8091b5a2214781e4b11f6b16493554851f6e075 SHA512 304a0f8b958d53707a4a358d67a5763ce30406ef01137594d27f8cbcf13126a09598c5276822c6c8aa445d077d73ce5dfd436e50b1d85bf475fe527abd72ba47
+DIST firefox-121.0.1-ar.xpi 587415 BLAKE2B fb4c145bbc336b2073c286dbc9659c2dcf63e2b25b862d1e63b95ede0a4c7aeb31f2d77996cfa70a7e29c859224b78ccedc3c53a81cb8a7a39dccd1edaf1716b SHA512 77013e3a178090cb496f444e5687bb2b444945a68d385528ab1c763150355117d57713f84249f77ee0c1cf2232e86bbf5edec901aebfb149ae8522bb10dba6ba
+DIST firefox-121.0.1-ast.xpi 486728 BLAKE2B 917d91bfaf1ff18ee11d00a245d24ddad5d84abd6ede05b3ed1c5f79d97d928ccb8d47e197563ea64938ab7f1d46226853e186531f6f0d056d32b8897805de4f SHA512 914563efec13276a9636a0db3805393c97d2bcf1aac301bc9e0ea3a15a7e0247af1a54910687751b8051ff38ab688f0b79984cde5d7c302fcdc74247c7050971
+DIST firefox-121.0.1-az.xpi 480117 BLAKE2B 64f508b935f487a44f12fab7ba33f0ac6c9759d9c8d9e9345689021b6328ac943b013f86c954a54d89c4d16a585df4776c76217d209ecae42130ad34e5dc2029 SHA512 0d541221d5a5b58f5a2715888c1ca5ce5bbb06ff9b6731d845181a6faf39f54ef65bcb02eb7eb0c2d76edd736d8888f8c0c647692ef39c29affc29e960bdfafb
+DIST firefox-121.0.1-be.xpi 683457 BLAKE2B 0aa8ebd6445b140ff91cbb43a6123b8351828ad6839282ca1c4c031f99de3a568d25ed7dfce679e9583565200e8baa8bc8352f3b55cd08896058720d2cd82faf SHA512 3110174b3f6f9dfa4b41907e60f7c8eec730976cf1e696f2c22800b0c900768498d996b0d7c797a1fc250e602c46caa01325212798185b95f1fa1bae773b5382
+DIST firefox-121.0.1-bg.xpi 580969 BLAKE2B a54de90716794e31e3ed7a3b867df87e8ee1a8bab1e3c12648b58fee6216b0701512f644e79466465bc95e4aa1b2c119c643800ab8688bf27e6e5048c7788b10 SHA512 9ffd1f3f73f2b5c40b2b44b0e691dd563dbd3498a8a0cf6e15f701d27c31cb31c09d30c12984a9ce7131235fe2021842a46560efbf1b48329e9f7023dc2274d3
+DIST firefox-121.0.1-bn.xpi 570138 BLAKE2B 7ea7e0b55aa1a0ad6f46ad030992d726cf5de08fa5ad460e4ad8ae3250cdb6d1cd91a73c8f7140c79e7f22fb45b3c8c3e54f74be4286ac39502fc30f1a82fe24 SHA512 09f2c773b850d3f458971f6602967d39c76e2af215eb25e5db7fc68281937ad27a7322c329c22c737f2a88512b68988bcd1f089a26593ed4e8d2a7618a70d023
+DIST firefox-121.0.1-br.xpi 558071 BLAKE2B 63c434159329826061ded92cb0afeda1f517200a3440a67434bcadd07834b82571e9b82b4a8e2e58e6f9edd9402c61972bdd739fc238ad356a596901a880e943 SHA512 2bac24d16c8c436d9c028e6231fcde29e7b577f89b6523d0a655b601e8b0f9a46c902b1f234e7108fb2adb77aa42c9255c709edeadc70ece9db3f2e717b94033
+DIST firefox-121.0.1-bs.xpi 459994 BLAKE2B 3a0ac265ae462a5bbfdecbea4900cb20bce24af1edbc6196229f0355c3374932383d3f1437c797e606efe45f4d8c9cc845d7a91837318395c2e009b887c2e237 SHA512 3737186fcbe32f986dacf01f199a7ebb89fc566de815f84b8f7629ac39d0d1e234c512ca0cf586704d2aa7eec53b0995dc9731babc34581401a817475eb01e38
+DIST firefox-121.0.1-ca-valencia.xpi 534563 BLAKE2B 2f073ccf76adcb133a1e1cffd8f1b5e3c9f31862c477de89b7ac3397998828604a776ca68777ca3b3f387c3ae6f7610adb6f8cf5aa368c8c9ebef3645cf225b0 SHA512 88c34cf13da07a5119e9204e4e74db562caa5238dee164d3af3120204b3a61ef23b93dc4957a70b34b86f27e8b62e36d3a694fbfd93ffc513c4fc3dc544c96ff
+DIST firefox-121.0.1-ca.xpi 572712 BLAKE2B da3ed3109fccd5b75bc267f1428fbe4ed62057fe3471028c572ca427171a480fd38ede0b4934fdd8fe32f35ab29e74c38f7aa71e5d1ea48ecc5f72d92d2eed90 SHA512 522c46be955929f426712b11363c6afbf1bbeeb1103f19ae028159e67dfcf858dcd1af28fa231fc3192f28696147a687bc4ee1df5a4b24f0f083cbe767b817a5
+DIST firefox-121.0.1-cak.xpi 579214 BLAKE2B f5a9081523661ee1466c4dafa80e13b662577dc1ec9d272751f24b4c364fecb7a36ae317821516203db7aa328fb73c92cd48a3be3c26e81762127267ad961c30 SHA512 15aa4ff60520a0dc8a83d5816dd2e93153da8af91c17c74ffb1ef8ba1482af75c4feab703f35e7963d73ecb60e90b8a787402a2a01a55a4e3b2137c87454232b
+DIST firefox-121.0.1-cs.xpi 627934 BLAKE2B c6abf0ac2d84519f8c988f526a5797f27e78db8d851e1f4d9c80ff3a2089a8f0c020d8b3bd1d11d1234fed7243b42bba748d13c93eff93b20d19612b816cdf93 SHA512 1c690278fb73902ce6e33f6227cbf88842569421fce6ae610780acc464a963ecf7c447e54a0cedbf7d2ee9b81043bae98ece5a63d09abd8ddc36d7437ae7f224
+DIST firefox-121.0.1-cy.xpi 595642 BLAKE2B 40dad2fb9cbac378350d051b0e8b2d57c8784a6c432a3778a22cb10ec8206c6c2182d90fa25e223af191c27b122db8716d69f92792d83e44a5bbb1b6aa1f3cd6 SHA512 01fd7c829707b5227b7d2677b1e033a0ac8b90013a6bde9333ea60684d33b14cac4703b4f560b01419a7098ae4b334425c83e2828fcc928ab11927023ce0dade
+DIST firefox-121.0.1-da.xpi 584392 BLAKE2B 652db4a06ef0d667003541e4ba09f937b2fb27c5ff3001180dff080433ccbb16643be186b5b4f767136c930d576b5d070d06cda5efa5084f960d68180280f0b8 SHA512 9e5d557c8bfea83d84f64a8ab507c5b170b22a26e1983facc5970fedd3f13bcd81a51933c6ff77278759b47aa8a3c9dad26621c4ec3d1d3fa566fec8b3f32bfa
+DIST firefox-121.0.1-de.xpi 605914 BLAKE2B 7c1a0f8f4b06b5e24d69402aafdf34a055d0e187b612bcc57b7998f75e70c2c62138f9afff30e865240bd98a792ec4ccee255a52f09ed7189758a1a83fd5f9bd SHA512 c70b4a32c09f27e713d5700942ca77bb134cdf45031e0f98a454bcb36d0f7000987ba02652b137c9ada711150acb606f072a95dd9aafe6011f1a91387acfc31c
+DIST firefox-121.0.1-dsb.xpi 621857 BLAKE2B 5865fceea619ec783b74b1af8d625ed5673352d05c7bb10e7295ba72d8596e37b80dd3c21eaf23267bb223f7ef6613b7199d05443a57641e49474952734e27a7 SHA512 1d6d0cc1a1ac7574f476b2f96d68c5dcd34f1da95803cd0d607ad37b724807d1d1153847c35bc6cd08dc2dcf742f38b0e0db9a0e58cdd4d9297e93eb991ba2af
+DIST firefox-121.0.1-el.xpi 700462 BLAKE2B deae90f026a46ba2883f2a02f3bd95327d3cd013a4f291191fe6b07976187c38d85a2c0298d012b1d2fb395acbef779bd0f8596bb1e6079bebd37b65eb41ed87 SHA512 2290edfeff865ccee43f0a5e2b3dd64ee662718a96c472759cbfabab02446b5048caab329a807961c004853e62290e33c766aa5dcf6cc21ede151d415ef7191f
+DIST firefox-121.0.1-en-CA.xpi 548737 BLAKE2B 33bdeff916c0fb68bd63b14b5aa9014318ac461bf8ae330de97897af62d98617ce90ad4d47450e495c3d0846528f116144a3fcc53d8abeb2cc666d40a77a09bb SHA512 7a1470a370ac56ee6af4a618e4c0f7f59b3b5f71e975b20ead5f34417bf6014a2d67497b5339a1e25e668ab48facbbbaaca3571e44188b9e3c6b23391e155bbc
+DIST firefox-121.0.1-en-GB.xpi 559430 BLAKE2B 4a2d96b9ea90952041c8d5ed9876509c9184b4b23bd070703017292d18d2cb7cc5bd9eb150ff33f337835a3819f49e6e8e9a766820255e68df4b50d64ad95217 SHA512 79ee6783fadc52757ea6e10713959e9affce0965912d5fcafd7111eb3bc011e00451b6d2c34894446e3a2d4ee8a877ff54c62c39d9b1647ebedc147c53452aba
+DIST firefox-121.0.1-eo.xpi 580697 BLAKE2B 5a5ed832401c61fc4e4a2b556d8ec391837229a006201a17f46cc6cd27fd954ee1fc40f73e3f2d316b571053a7a8255c8eb6664685d1d9d9cc8073710543df33 SHA512 a9f58d4da1d57dfd891c9098563f9cf0ad85df721ea6b79e4d9a5651ce122f61abc220deab713a7e7143d89ccc68828830b9f7db676059b896a5e5151bc1db4c
+DIST firefox-121.0.1-es-AR.xpi 599331 BLAKE2B 37dd4bb2f8440748cf8aca1a233663d4db305784bca5e271b939d611b4d8f65ce994a272eeb007cdd22a1aa97490daf511fb5b1ba491c3145bb454e03faf0fc2 SHA512 5bebaad80926f42bdeea37c778a0b9789e1f0042d2a726486148c34687120c330dd5d04d1d382d9e4c88570e798258fd4a1d6277592c46a6e33b68371eb03916
+DIST firefox-121.0.1-es-CL.xpi 599169 BLAKE2B b0231adbec71f2f34c494d4d656b39eb2834d1dfa4cf19288f9a90f7364e5bf7ee8b828776e1985941206e7b7d717fa43f91492a66a8aa897d63876dbe5f18a1 SHA512 cb4762d916314da27cd46baa06bf2571e7816458eb10b20ba0ccd58d6e6d3259e30864773f7e312dd488adef8edad8fc67fcb7a6ee8bf7156b16dab7bc589722
+DIST firefox-121.0.1-es-ES.xpi 593874 BLAKE2B dbdf5b55b28311c0938d47570d421a438a117591332a9384873d3c3c0a6e929f22b7f209865f31cb5e97354ad7b59bcd9458b2e660a434c214a1b0c66c2a4190 SHA512 4c6b04b302125f6d958b72d205eaa3e9e479de3d5f884d5c81a31b1c0b7847e5be75ca7c97c5bba9b5eed0244964bada171b1ad275d953ed1d76d328ad3787e3
+DIST firefox-121.0.1-es-MX.xpi 578355 BLAKE2B 2db7203f278af4fb7cb6c718443b69ac2dbb72b983d96631480acaa7d995988a0bbf697486dff43b7c71dcbd6251d5e908d05e2480282cc4619c6235d3c893ef SHA512 e30bb2787f068ba1f94f692944d7c86a075df8988a526ec8f93e5051b04d6975c87c1a5f81b073f9fd155f16201c4abd83991be22d7941876460ce867a3b7159
+DIST firefox-121.0.1-et.xpi 528180 BLAKE2B 2e8ec3617f70ff6d6b1ddf5c3cdef5fc47ae93bdfa52cd82e1130f7d6234c0cea5b1c399185205d8961657bffc07979b4279c4276a46bf3b63bcb9b0ca537c7c SHA512 1db770bfeeaaddd74c40069add65fbb4f61768058c01507cc53e812e36743a4908895d09b9d84b11eeaa1f2720abd1089ea845c0147eaccf8983b0698b582a94
+DIST firefox-121.0.1-eu.xpi 576325 BLAKE2B 1f73da25417c02bcdd7d33b9caf6019b04112cc4e48551d7a555bc97fad1bd968bd9424393fd75e7aa87d265ef9f7685c81a016b590f5f1f7a3b42eaa27adf18 SHA512 5ef7f3f54e0a1f3a22d1fdd3162a7a821922d096bec97c152711c7057e33f35e9eac7ae5874e006559b715b49a082c5e4161e43d11e34fe999bf1db9ca343f75
+DIST firefox-121.0.1-fa.xpi 578260 BLAKE2B 1080eb5c8a471b4c38e5acdd4fa3f8024ca991d44f2279e55bc78554c712b2131f59fd6f2ea52c9c0034b33cb767fc6523a71e9161376f71d715d1602cd60bb7 SHA512 e2d40b7ff1615c3b13bdbd491e542c76b1df194e410932ece072ab01a91824cb439d76b128cdf156984aa48ad92de9a51824f06b8875e37c21932d7d1c868899
+DIST firefox-121.0.1-ff.xpi 465330 BLAKE2B cddb5820db80bdc9f20b0ca88a614fb594199335eef18a9ef2e1fd10079726c7399bdbd0cc36032d194238f6f897f256b6684ea7d088c0f61084e33186cb5ca8 SHA512 9b37e704743c45f483d377007b3d8ca51d8fd43bc7ef243ee7782e017ac1d0e998a31aa4a23ef7ad9f4cd75ba94e09646ca9db029bf6cd5622998aec35da28e7
+DIST firefox-121.0.1-fi.xpi 580717 BLAKE2B 5948ab866c0f084e5b39ecd59e9f64b5bbe086ec1090685f92f4eec0fbe29776855d7e60bb376538bb19166030ef5c9f3a64f5628b656b76b5a7b1a9dc99540d SHA512 b636bb8f6d6ae45c085289942d62a22e138070f106f06c2526ae4d0f669d5f9c38dc268de974f5c21326b4df2417bcd424b2b12d3104f630e39f1e0bd2592361
+DIST firefox-121.0.1-fr.xpi 610146 BLAKE2B c67b2d471fe78fc2b3bd14f9c009620885ac6ca7cac08803dd8a5790126c7e1aa7599289453cb7b6e74f7e5e4ac99c5ecb79a583f4f1d7c50af3fbda3cec52a8 SHA512 45ede77f98740464d4908983967cba734bb6339e4b8210594d2b8d21c09ee99d8a9c08678785fc1e89a942e5395088a578ef6b28d483c59d2886c4a9065154b6
+DIST firefox-121.0.1-fur.xpi 604682 BLAKE2B 7ec46a72802eaf8a2012dadf539f1d2ec3e9e08e90153e5d8a4d0a2558a09b10b7dda9b47d9b349cfc8e05ae2b4297b8a5dd6bd7ed9a140fc75f19c66d3279a2 SHA512 da622b1589540a737d9d5982c3adaea8edb464928a7df1fbbce5ed34e3097edb6a44de6039f2b5c28757da7364366a40ea6e8f33373bc4e01a46edf2fd436eaa
+DIST firefox-121.0.1-fy-NL.xpi 595078 BLAKE2B 13ad363690f73ff806ec4bb5f55f26de256a7a15055fb24a165d26cecb10085bf9b09638caca3e6b3e4c1f02fef866e54936fe569e397b413587ac9aa7d57907 SHA512 af25a22badc3d555023d6e5433b60c2b0fda6d4e2440cf74f1baedc8aeb1903d7c8aa8cc730f534fe0a82600aa01d5fb1e45417595498f49ff2da4aa69c14a24
+DIST firefox-121.0.1-ga-IE.xpi 462506 BLAKE2B 8f480ca4d8cf7efa1c6122742526287398ab3b82033ce03fdef0eba823dcac12a63af28704a66151f81231330167d20b5d12d92de0dbc01ab515d9e3f43211ed SHA512 b955df0b09832db710850ac800145b9f14b886f39d37fb42b04e312a6dc1b844100c52e8f4b9d6ba0c8f36816b19ce361672bc8f052ae9365ccfb763ed6a2416
+DIST firefox-121.0.1-gd.xpi 579967 BLAKE2B 8d179880a8fc95e9a71bacb335f691f2187b178f26a620fb52fb2d6fff15cd61a1bbc28cd82705cd3187bc3d4afd80572ab1f33b46ff1b0b347c0e2bc3202185 SHA512 86ba08d3461647e57eb774e0137200b351ff676b01ca146aae0af49ec9d3a52692c2438408bcb86d5e1bf7601937f9e0dfc34c13dadf691f19084cef32c1e513
+DIST firefox-121.0.1-gl.xpi 586261 BLAKE2B 07c77c5029a91e7f72c78546a026b31e68aed4fd34865d704389a473061b45402b91231fbb5f36de242bc87fa46109f5aed9e771a381dd70dd927ef090aba433 SHA512 2e9446c8fb1dfae7d1e564cab37981263bbdbfce665c4b3dee3034600970768e16f45b912da6b21286304c9b337a68fbfe9af0bf76817fc67180c7b28251e28f
+DIST firefox-121.0.1-gn.xpi 608007 BLAKE2B 77bbf6201697de855ff5c470be1ac934739b73ca6ca4924328ab7c6f81d22f3b6ff1407f0230d0d80133b642ce97fac1900d8bd913aefd51c1a4a6336e1353b7 SHA512 a5e3129564c5c4b3e4fef25e4aae3d6fef4a292bbef5f1fbd5183ebb7ec64f23b40ec6493cb68e08891dcc5d8a37fc8d19030531e258efa291cb52ca2acac776
+DIST firefox-121.0.1-gu-IN.xpi 515876 BLAKE2B 18c6d44e9c8640039e748609a7ea3ca2666c7ede32e65b8539d50e6abe0a1a294a41e0d1e0fd3375d2a994b4fbac39a218208cf279f67a965365e14bf71a5547 SHA512 c2b3822874ec23649bfeb16e48bb264ec0e2f8253dc2a8a9ab25c8c39a5c0ca227fa0c7c6a82ebf9d7214456f105667c4fbd969063f5fcfc8ae28f3618e3a2ae
+DIST firefox-121.0.1-he.xpi 603131 BLAKE2B d84fd200fde1f6dcbdbfbc30815670cd47a0e69057ac72e1cfc300ab0d4012de8b10ce5ce32a1e3be98904eac7b41a2ea78f1a986ca08f1d2a36b5dcb33dcb01 SHA512 3e00693bf3ce314736963bd24978843a41b493e0c83bef06a2258105966d126aa3dfbf4c7fd6e51886c49703aafd131f469550ead9063984b47495d83a0d8fba
+DIST firefox-121.0.1-hi-IN.xpi 553730 BLAKE2B 5aef75a9870948c176e04df39e80e13bca7b762dc3aa24945542a1121f63d3b0cbd06fe943081c05cf61f35917f343c70d9fcd27b0c642e81e95eb3621346325 SHA512 3549ad3ac8a25c01a7dfcc42fbb84f10fb070b8d1548be3aeba985491e2b48a548b9b29a955859e051324ebc6e490d4e4050df0803e58f1593b17cc669cb2ab7
+DIST firefox-121.0.1-hr.xpi 545162 BLAKE2B e005fe67d62300953ce2460dd9d1d4bb81a390b1721a350281bdd526d9c526923db3414135944fea909368552f8e623159e757e0d54fe2c3555c494fb85782fa SHA512 1f7325fe7a9c22526f9cbc9ebf60b84d580dc15e7f222ff362e5c22bc316a5fa6a2f02d8329bd75104380821256e814472e7219d87f820d97d861cdcd9592c88
+DIST firefox-121.0.1-hsb.xpi 617797 BLAKE2B fd5059b4e9d3d6378f5605b7ff7ef490afb2f20a31035f625fbaec6217b5e18b9c0f380807a762ae42cce2fe284e5f4ebaa912cd41169d192a3f3162ad3e3ac7 SHA512 e2d641409fd3bb8ceb80de6df0a0294109c28f3d5d62f28cbd2f5b9967b07cba351366645bb4e1f2aed1af7f91cd0e0e8724c84ff5c0bf5795c3777fced72603
+DIST firefox-121.0.1-hu.xpi 620250 BLAKE2B 3eec81cf5f11a49e505ee577a2e22321439d927d19ff871a414315823a621a4241e4f30720b37beee4acacea02233cf11899741c4b12ccee73308041a5789dfd SHA512 8bafd64aa83b686896f80b5a389fe7ae2dccdca3acdab04a12d516938e678e9b11889120212b086784d5aeec336ca646edc73dbd02b859d08bf5a920b5daa969
+DIST firefox-121.0.1-hy-AM.xpi 594098 BLAKE2B 1ac9c254dd8c822229862f95323225c7bd7656e50b5f6c7d777795dd098ae51eb560325340f88780d0497248410b36d69bd46fd5b1e2001a0f8eff0bed6abaf5 SHA512 4d2c24ac611779dad4072d4abfac843ff885111477b0be44efc54b7afa9381b69538db4bfd1815026d9e39758232c4ba32641e77e9a5f84211c90a7338895ee0
+DIST firefox-121.0.1-ia.xpi 583692 BLAKE2B f010426444dbc405c4749295fee07766927d2276941087d377e9cc444496a0b0cd8c8119b5e6ebbbe6e4aeba88f74bd7fe455396ba761599e1ea63ee17da95e9 SHA512 87c3d37b7a9f32ea95fa569b132a18f151ba30191d6248e33e9e0e23addc918c8ff86097cb076849f5c790f6d5536bbacfd126d02f1fe474e69aceb0ca515c4c
+DIST firefox-121.0.1-id.xpi 554226 BLAKE2B fca9105243a2c979221f21ca03d671ba5d1068e95d24246bab645f155d399f0dac85d2e08da1889b72b1147dab654d071b578a3c8a08ebb4bfd9c5763fc348a6 SHA512 e45580c9b856e5772d8154f352c48162cf73c7ccd9dcddb95c32f0e4120e1afd39e06274dfebaf8ccc4cd8685759eb060437e2b9a160bea76c37dd77498ba31f
+DIST firefox-121.0.1-is.xpi 588544 BLAKE2B 62d0f05d4bb8cda936c7dbe9aff0b7e7ed6acca85b97d6bff30e3cd496f45ab7360066a35dee79b7c47251b06778fe0068ecc873c35f5086911ba6832836ec87 SHA512 fe7c0bc1f6e4e064efb6deece96b99655cef837d9e2a0b6b07ea3510f712d2846b284ffc0e20ecb994eab425b9cad4b983278bb4760705bb3eee772e34e152e3
+DIST firefox-121.0.1-it.xpi 541336 BLAKE2B 21f051304c1f0d51a2cc57470c58fb69baaddf37c629018e0880bbbe509c8a273e666f1b1d6f34a8ae82ad57336f96b5f5fcebc12f05c8f48836538284d402f9 SHA512 3b825d4f0c6ae8235118a24f79aad21f7101a545a546671f758f4d39510f1a045eede74372fd5159a239f984d5daf0453ee540f92f71feb17f8fb65a33a3658d
+DIST firefox-121.0.1-ja.xpi 648766 BLAKE2B 3cc2df65dfd01320549661626c2d33c469bdeceb91675f5bbde320c3a1383c7703dd87e56fe4602529a91a512a800c53b35a2d4c384ddb423be15441820d3cdb SHA512 6239bc715af0e29438581232ac4245b3af10797210c71a1f2e4d7bc8fe3c48403f02971c6159d419c4d977f7ec0819ec4bf7a767f6ffa2122c39b7bea04826c3
+DIST firefox-121.0.1-ka.xpi 644805 BLAKE2B 32f20097057dc1877e5b51ce80633abbbd509e087fa64cc4cf3d695b9581d73597ba8d2974061ac69c22d68d882866f0070475f9e17114ed1dcd2d5a00ca3409 SHA512 9f518106c00fdfa5043da2e38a33175b3ba2593cb71c68a198abf23a6e941d69424b9c29f234a85cf6b171c2df579fe4006a0dfd2bb12f7f98e1c55965fcdedb
+DIST firefox-121.0.1-kab.xpi 589465 BLAKE2B 6a9e05d617991a74c286c87c49a02b8b6a46e74786a37e61d1e6548ffb72ca70650dff30b901967a85a263662c877b96d2587b2cc0598e34c1889c8fbec741a3 SHA512 bb84fb52a393fd6353c19782d1cd5d7601a58997d18874044d643de2a756af36c33c787dd6c26608d4f9156d8b4ed398455c6f8df22515128f6a9e0f9fd1453b
+DIST firefox-121.0.1-kk.xpi 676371 BLAKE2B 6bffa3d14e10fd5b75df4738f6ce0850f25dcd5f1a06844e1666c7f40de65fb23f55aa057bc9de975743f42ce9652f2fdf3c8b7229c5c2da68d8617b0f394325 SHA512 9802488164826607055f39294dbf484ab52e02a68e2da5fa690cacc88822fb5b91bcdf5c24d2abb790728b003ec3b33709bd7bb072f2d71a2f773a92922907bf
+DIST firefox-121.0.1-km.xpi 516040 BLAKE2B 404e3bed294b93f03d4e18ac17594387c4f550301e7123bf9bcb7e1b2a74d59d3ae13c8127cc4db27b95cd016bf7bd5aeeaf09e6e865589edd5d0a453dad8826 SHA512 d189a4c30f5ae5683ffe451a4bb1cd057bb457ae3ca410f44cb8e2896f1cc9053367a9b470bd2a550721f4ff5f88e8fe3331947c191c97af5ff2b31c5094d9f7
+DIST firefox-121.0.1-kn.xpi 481321 BLAKE2B 991f924857800b9deb8998d383c8808f51fdf78001eab62388ec223117137810ea51d99f51b66f5fb26305fbbc6062b97908780b08631f59b68296917c976189 SHA512 d6839912228cf572ea46ec38a7d2bd894ddb300a6f7c720fcabe4ef144e492ccae28d4699ec75f09fbb13dc4ac491fd3176733767b37204aa5c3e877e2b7ff3a
+DIST firefox-121.0.1-ko.xpi 632162 BLAKE2B 178d769de0cdf89b0e51c1e20f57b55f2eeea98c0a0e0ad21bc1cafc30ebd16ee9bb9c13540191e7635842681e8b8e717750c1c2212405f60a973a935b4efc0f SHA512 4708d94cce0fc755e7c55643a6fd158f303df24b1e3bff967037e99bd293fd2e64a9c818f853f4774b00ee553b7f2798d13c8afad469ea307716848cbc962bcf
+DIST firefox-121.0.1-lij.xpi 473429 BLAKE2B 64b92f8132bbc6140d75d27cc1c69040936eecc94a32a7041022c6b6d8ac7f20db596f34440e65c1d4f3866cb5c9c0d544390ffc5b01aa49c76c3b97ff2f999b SHA512 e84a504633f1464f1e5aedca78f0733494a8c53c0d01c8cafa86b521eab24cfa768008d30b1dd0188e44e3844939ac246ce5580c2c9ac7ba447112f590bb9519
+DIST firefox-121.0.1-lt.xpi 560632 BLAKE2B 0859fb6fefbcc494d823d40d443f7eefdaf575be83082bd2a2e9e87661fec4468c3cc6bd88d05ee6222bf149975f18f88d4340683dfcfbe100b97355f9c40133 SHA512 054d57987b11720a8bb1e471e02e3b329ae10d2dd6c795825afd432a82efebe771946a48659c9a6e5b74c446cdec7ca0cda9f0603ddd376a5f7556c0226c2d21
+DIST firefox-121.0.1-lv.xpi 459198 BLAKE2B 2513edc4d6545caf6196a11361f7dc818a0dffd2e397dd7676dc3c9421e600f87aae53d57b7d4f641582ba0851e07e472be75b238f88f03d748fe537df493e00 SHA512 12027af11b60d671da173bf84360c374e18b8cdb13ee9020fa8e667392790a82b3a64d1c64203cae0ae85ca52c952911b633ad47daba98cb23fecaab7af6dc73
+DIST firefox-121.0.1-mk.xpi 483279 BLAKE2B 0e41ab4ead018fd2af21c686d9f60eb4a55bcd367b4c6364367697b44cdff5b9b39242a6c7c660683c4a9148a15aabd02686b8c86c5e5556bcdee14e0d970846 SHA512 9e8f147ae92c94191a62611fd6623f7a6888a2d8346f45e90ae50729d3dfc98a5182386803edfd54edb001ccfaf0bb43484fd1e6d6ea06718545fbdd7e21dadc
+DIST firefox-121.0.1-mr.xpi 521127 BLAKE2B 44010c970a9aa8a9dd198c214d128db4603407b7e9a6cc750da611ee1132a9c5a3331cffa2865dc44f0ae9622eb3d91714f66e65e4f0ab2f05453bd61059d52c SHA512 3d733ab59becc6720b653a7b3529a95f708f67d24e13b391b2d2e70cdd63a5347cdd9bcd653d642174693ddbf69b6408e677232faa890acc88399e9d4f641b10
+DIST firefox-121.0.1-ms.xpi 439269 BLAKE2B 18a543cfd208dbd01006de218fc7646610390257e542be0d219b48242f4bf975acf90da8b64390a1cede44dfc611ce1b06fb52c3293879e8894dce6cfdf10c6b SHA512 6f19e5fbdddbf60a788a1449e14324ee3930f6d4b8a3fb2963e22139742934b77b85c5933e057aa428366d095e2ed7cf2ed2bb8411c6ed0fa6ed7f363d17544c
+DIST firefox-121.0.1-my.xpi 505963 BLAKE2B d8fd20895524d9bdc6a0b0d08129add6c7d54c44279cb6f05fd6f65d05a0777fa413cc1f37dca018dfcb498c95e228311af4b352939b06cc1a03e30b99ed029e SHA512 650d4506cdb6f0614ae8ee4445577007c8f15344e6323057b021f860c87cab811e4e4de2aef45169d0d82c475b6f86bfc25543636288fc37ddce00300978bff6
+DIST firefox-121.0.1-nb-NO.xpi 581339 BLAKE2B f2ef2ebdf04562c015dbcdd6489bd97d389e8aa4052a82f50bc7ca007b305ecb07f1fbd120868fa3c4932f038cc37d054072abd65977c10f6b53447ed9e00c37 SHA512 cb69cbc49049dae6c9a77ea92245f6c8882394de08d6c436ecbcd81c9b0bbe7552d76e17ffdd54ab389fb8b16302e20ce61ff25110afce4e5dba52bdbdde4a08
+DIST firefox-121.0.1-ne-NP.xpi 477696 BLAKE2B a473719392be8488ffb60bc6b245deef8248312b6c53ad0d661c57c31140e8b78e4fd8f02bc47852c89031ffa336393bd3c58e2fcc9f1466acf80a7738b01d58 SHA512 519d21666a3decc5da9054ec3379dc991ca61852ed3e78e2ab338556e85ddc1615c918221d80b9be54e5f8283f91670e072254fe2f946d1bb7cdc81e92ccf743
+DIST firefox-121.0.1-nl.xpi 589495 BLAKE2B 6d86a968ae31fd2a9da206505a36a014f7d31b3e76ee9acb8cf60d766c53735f0a15ab07a4f279bfd1686a79f64b6d1e77be56aa18805d2427e381db9dd95dfc SHA512 603f9e23077efedb7c294b7aff71c3397da6525f1da918868174d6ec08a32105ff5e01f7908fdd734be39a96fb174f8a677fad7e036cde234da6a0c85ca6e610
+DIST firefox-121.0.1-nn-NO.xpi 578450 BLAKE2B aa7d1a0cadafa38ab0449402c36564588b7b79600b4efc2fbb09f1674faf585e3ad36ad04e8072a3fe02daa32549dfd005078349d2e24951e9475f70aa37672b SHA512 59f39da7ea0190500772e203b777c27de6af4557951accbcf5795bcc4f5f8da5c9be091bdfa8077f79f298a6d8384b756f76300dd2ef2de8e211df01168b72e0
+DIST firefox-121.0.1-oc.xpi 593709 BLAKE2B 8a94688d4a5cca72aa7f621ee902ec5ecdfc0f985f81fe447c2472310bee9ccb37137984faf0a52f46fc59748a0e29cdc62b5aee74d0978500dc065cfc9f7ce3 SHA512 d30855e87a8acfc61407e2382d0e0bb183fe96a59e1a5db3b36c6be21c0d772bd828ff6cb80540dbaa69c4974b30c18536daa5c3d464afe2f171954b8a82ffbd
+DIST firefox-121.0.1-pa-IN.xpi 662522 BLAKE2B d8f3436e7c2c8a35010be8f884b04b086d682196e5c174913e9f0964f95e36a2c5abc7021ce609ab04ee4efc8f25657b29a6d8a54b819ae8669645ee7259359b SHA512 f9a4f733a056dbf196f2f256643a2a7251336f14b49d4911d80ebe199df1d901bb6a40f066c931abe8c0cd5bfa8197da0aee4edbc9d9d7ef093a63abd8c84140
+DIST firefox-121.0.1-pl.xpi 609871 BLAKE2B b5affc349d7a53cc64c947295b5874e50afff7861a5ca6ce1c779d1311cad49418d65ae628d4c8a4c64434fbe68062e5d18f39c2762a878a74af66dedff51d99 SHA512 6d9a58f4eccb63acd7c9f0507cea03d05de5fb9df41973563724bfb366d892dc098674fb50d6dce738a20925f29342faa1aefb9e48289a89407fdd817bd4392a
+DIST firefox-121.0.1-pt-BR.xpi 593906 BLAKE2B 55399c39e6eaa1c530c3734cd8aaee74120c772b9048eea032e9ad0f8d5b0bd968ed1ce7f395a7032ad7a3ed49990854715560b701390ae3b810684677e6b588 SHA512 0dd84af18c334f6c36bba021092510bb3958da2f42db4861c2196150963cbf88d343b38917fd19feb3230c59b83ec168e03c8d34482ded982fee5e3dd12d4814
+DIST firefox-121.0.1-pt-PT.xpi 593171 BLAKE2B cfcf95f1ff78522c22e5b0740a3a8b19d07db6f8794e329f860f6b364ca579b1954456af3b1f944d9861d566f4214a0009919615f5778aa44247a415c07810e1 SHA512 ca5c8c437cd8d300d22528a4a6bdedf805b8528143efce5ca059caeb553f77923571f71c4ed708e35638c8c1066211597e712dde3e80cbec7bff226227658fae
+DIST firefox-121.0.1-rm.xpi 589892 BLAKE2B c26825cb6d290e5bc8cf013195c273a719682dc9460d9daafa941cda746ffc2b7b1e47eb2d2fb6b11b986a46a62af34e3d2c25af7901e1c89241aea9bf47008a SHA512 96b093b4299d56bdc14527b25983eed7374e53b1c087c1a589a6c81ee84165f47d091baa66c850a0dd199b3a1ccc87a7d2bf599ea0a8a566b419ac822fbdb72a
+DIST firefox-121.0.1-ro.xpi 537524 BLAKE2B 9f8b247b587c00a63dcc8fc27a9307b52f7227c834188bbbf2b5414c952e82a4de84862b7c8de73f39a968dd4a4ab28a7f71146f159447792b7720012cae0b5a SHA512 aa9f81bd544cf4cc1d12ee3ecdd1b027b235d35967b180ddabf8eb65bbea17a2e0ea7477875c18828a4ca8d1738c74ad16c100d6aa1f61df30bfe9ed7501b180
+DIST firefox-121.0.1-ru.xpi 688268 BLAKE2B 8b433b647af2193e862926c7044286d6f4dabe60b0bfc0b267d47ca214295862d405fa5c6970d715adcb478ee70c345d7632e3ae54b51161f013efbc1364c84e SHA512 064f671eb601fee733afa342cf27c234b171ad9e846b6f9b608031bf5e1d956c2f208fd847fdf54c1af8e673a72275c41c12b20122e27342f092332b5117dd0f
+DIST firefox-121.0.1-sc.xpi 556786 BLAKE2B b25456725617b4c9e43b624f9eaf38f96ec5cea7c0acbc163a72367ecd366e52af207e53a5850dd003078bbfa246acb5207a2862b14d702df35a2ea6922237cd SHA512 c97702cf10e99f89ac696fff2732491249a334f5532f392717c44062d65eaa04701f1585f8f0ac64af38633fabf74836ea08ed3a5d2978e2764e71f4196b28b1
+DIST firefox-121.0.1-sco.xpi 500912 BLAKE2B 1e403e4f44096e61524bcc1414f65603a1aca0f443a9bcc65a0b8b4e02564e97a77799860e654d091098ff9566acc6b20c7ce64afd4bc39398a318d3fde3e841 SHA512 23222baab1f6e44c419838886e95c34e1a365c5a8370a99e176e321a21ff6df2ac7675b7641abce2af6fd429b8967e904ae655eebcc41a27e91bfbe67675eeb1
+DIST firefox-121.0.1-si.xpi 593506 BLAKE2B 4ff3c2bd54348a0e922940dac0736abf53a34a0a307b87165f1d1c497142bda18c130e38e7041562375c7ffaff21a842b943f3f3caa8e3be26f5b0f2956663bf SHA512 d8f8517f6b1a3ddcfa725eaac529f20e2adfa62264fa93ffca7f8e1e8faf82a5535492e68dee8a7addd00d26795cfe7e5b7cae8fd077ad5eda0fdb722b4f9f51
+DIST firefox-121.0.1-sk.xpi 623056 BLAKE2B eb2c17509e1cc5b3773007fca54e5ee043bbd929d42dbc692bf3bd2da83533d3edd61565ba1113c1bd3fed60761033827b1e6a66d668e62ff69cb72ed6466bb5 SHA512 0e97e58990f8c98e74640e5fbe3c7e1ad5a6b2fe4ff8b5e77fcb7349ba5a0d8247a732e4c7a7f4c877c2cab858b313438ef08f213f6c7c558609c94a58d2ddce
+DIST firefox-121.0.1-sl.xpi 591365 BLAKE2B afd95b68a2fbd3fe794085e90ab3d2bd902fc1dcfe0a8ae71b4a2744c4d1acabc91b18e5719a091a3c1f4908f9b53b4a22b890a0360753160119482f092ef834 SHA512 97eb0468bd487247233b2b7237a1b26b7be27afcc8cb558985d1abd1e52a5fd7eb8592a549510009404121d56270ffbec98742fff8cf7c92188590a9e4712735
+DIST firefox-121.0.1-son.xpi 408266 BLAKE2B 1e9a8d2ec46e0610b0c9040df791c3fa300ce3dcba61cbd9993b2e9a2f8f66ba463818563e84dbd4446d9e092f9dc4ecf979c839ceca775630cac289aa03b095 SHA512 d520506a5552ed10fd12e59ccb25ec10b10f8ff0081662eb1c8b4e0f825e1d2ff647e41575a1fcf29bdc17c4c47677ca0117540d9d60eb0b9fbc268f38b5700b
+DIST firefox-121.0.1-sq.xpi 608875 BLAKE2B 12aab5d7861e94d8fe08b0d547fa4d4bd19a6d1182e8c896bc0c4421f5698b6356d8c83fc983d3a43a2080e19e73fd311adf6e309d11784278e6cf70ca4e3c09 SHA512 24e6ac44061750973f91520619308a4da73a28a37e292c8fd65c18cf1ed1ff1e38ae1ffab349fbf5a6ace9da4bf88255116dfcc7646b14b19705123946276b0d
+DIST firefox-121.0.1-sr.xpi 627392 BLAKE2B 7544b441de4561e11656b27968fa709488c69bb56df557f087880179e10661fd3129e6ed7f9dd931f533ec942f07e32328ce6416d577f589ad70b81324e441c0 SHA512 a1f77effaeb773f4c9838edd731bf2c675df6c335a133cd0678260d9ff7d6a4ba35301ee6272cd67d99e66349fda8a4630317e853d7398e999893d6e125a6a33
+DIST firefox-121.0.1-sv-SE.xpi 591614 BLAKE2B 9895773c9302eb0e10b543aad7e86e138819dd7a2bf74ae8c6b489d7856a9cb0839c03c9bb006a9ed5f8dfd74c3fe936c1df5f85d9ddec5a7b35c3bebfca9f59 SHA512 82aedba3874acc85179083428c8681328a294e38c2e2164fba117e9149beec4683cd12811aacb863653888409ea89adaaf027128fdc00c577aeb551b9dda90ac
+DIST firefox-121.0.1-szl.xpi 515712 BLAKE2B 4d0b5bafc2c1e56a0021691c15d067193874133a9de52f2b98ff9973cef717e1a9cda05e4d1832fe53fabe04221eb89d979cbd7bb6cb6f44324e900de7067e01 SHA512 5114e6af4f09f0eabf89153f1f43ff6c4fbd925925adbcc0c7537402d72adbcf74a8b723865dc90f8c6dfe9bf30cef1feacc34b9951fc6ae82385dc22ced2f87
+DIST firefox-121.0.1-ta.xpi 497402 BLAKE2B a9f607ff50692822cbcecec71d7b48cf847dfc4aa09b4437b528bc146d7976ef81a574b635aeba03fd988a27d4f108e1778a03509370f98bbc8a5eabb744dedd SHA512 9dc521ec58137478d753f98fa0c317bd4c27a1c533735a813b6a704c3504d21d403b314541d623da8e93ee1c46608df7f18d31fdf82db512bc32778dbef45588
+DIST firefox-121.0.1-te.xpi 548373 BLAKE2B 69d69c2978730f33b13205cb86d57d645aa108e85d7d6e5a31186e170787433000ff91d2532ec6e15652b9ee15c8b1217047e8749ba9b358bebeb37929c05e32 SHA512 40dc71d894b8b7a45f3d154b3339f27a1ec2a8cd9ec59e206924953849e3a9e2c903d46b3a66702b2168af0d3a27b9032b476ec92472ad274756232ea7359e6f
+DIST firefox-121.0.1-th.xpi 656369 BLAKE2B e730e88f2daff9342945a5a5d9a96810afb0fbedfa5a3206b4cddeb40364a0f2cb1b1518a58d45d3d69893975f9bdc9a3f284b415f14f9ff0bf42d6546874d55 SHA512 2c800c69110303d63b7880072df1ff41c545ec99fd4d4310df789a77d67f810bf74c42f7654ef3c1d572f7340d88931f709200d8b90cf6a1f04fb53ca1e589dd
+DIST firefox-121.0.1-tl.xpi 523422 BLAKE2B 16cf70bd0e058c820405284946ba7d3d582a90d3023d4da35307304d45e2c13a9f56f5f294bda90649f68e5a0baf5d61508ad96048180ceb2e3d23f9a1851eee SHA512 b3abd5a42db6eb8a713fce1b2fdea066eac7c9ea2461150970c556b2e08572f0d407c3220026f231fdc3bd553460d2857db9b60e6959ed43e4083619109a367b
+DIST firefox-121.0.1-tr.xpi 602978 BLAKE2B 5cbb5d742f12e905f340356ffecb6ca7b68ccac26e8eb6b745073e56d16edc387a2bb7c2da4961bc4c0acd9796688446d88a892d90692eff95fd1b5a372cde23 SHA512 52edb4ddabcaf6fafc772dc990cd0a13304020a1d0dc99a6fdcef331eb5f5ce5a0a68a0f9053ffbe8b41139d8e631a70a06d6b9b6964277ae8cc151d8e384c85
+DIST firefox-121.0.1-trs.xpi 493426 BLAKE2B 31d4b47b060ca10fbbdad4a73008e4ff8fa558f01443b33676fdee4321c4ce3f7b0eaf7d50b9f010c089b9ca1d0cf388b5a547862276ef39214bb2f145298a62 SHA512 938cd6c54ac1b75095a07607ed42858325e66e82f108078eb6d876b5a62c9077de447d88667bb53e8ec2f6a356dcec95396aeafba9ae8b45768cc9888a6d591a
+DIST firefox-121.0.1-uk.xpi 680237 BLAKE2B a7d11ff1006e66ff2470cd2a7f08f200360bd3bfc8ed51d9d91a29145e57467994361d0d13d61d83982fda3fc218be949dabdfbb0bd1d9451107ef07c98eb330 SHA512 4c6dd0e6a88b70f8e21811faa7e62d681f3573b30172e3e2c7c638fa73511e31fcad1f912bb2f2cea75956945025d0c44d4f8dbda05fb6984505baaeb861f74c
+DIST firefox-121.0.1-ur.xpi 549276 BLAKE2B 10bf971d804028c9ce59c45bdc58f475fe7d8d6d04d29e1008c68b7e109e63e17cb7cf1d13b5ccaea6b8e25e9718b3d39de8d96a57d66539dd7b858f34c3171d SHA512 83031241ff70e106f977cd00cb767c0e0056b9e79c8fd48a060605dbd44905a7b92b631e4302e2a43ea5128023d364f110542086636036f2dbf233ad3f38a314
+DIST firefox-121.0.1-uz.xpi 469894 BLAKE2B 02f22c7ef94c3bd74baa8cc963528427489c4cfc4ed13600021c4dc76d1f19626690ae91a8b0bcb7b9af7104f8d82c3c9d7fbefb416fb9a6eb551a41f33c2169 SHA512 94bb20b22bf49d18d0dce58438630c2aaf8585e140a5bcf93cf8e6936db686f80500ac3ab4fe0461567d9437f9c08edcfbe05aff958267c96dead66f2cc48822
+DIST firefox-121.0.1-vi.xpi 627336 BLAKE2B d663c16ac7a07b5d7e73ac23da0ea0663bf095583de6dc58347a8b2c8f399426d05c3735304db6b8c6e707c2ac4c8a18cbfbdc2648f2a7f44225bef0321adf32 SHA512 ac4297925174d9c5eb7eba9ead1c030d6e011ffe611172cb54e34b0ae3326c7fe2ce4222910904807ebec7e48f6cc6e38cd020db094a31a579d19aab4825fd29
+DIST firefox-121.0.1-xh.xpi 409054 BLAKE2B b07e3e8e3c3a3104aa3cffa4a3399e4122511a1a31b45b7926e28adc40cf36e4bfdc3dc26edc0ba9c0d532dba815388b114542bbb9329c4a6b1de8dc1add6332 SHA512 531cf9b9f4b83ddd6ac4265fe7c2ee914b08de6b15c912430c5ea39b0f58d14cff0b4efacb5c8b66d2c482e9929e0bf36a15fafe2ae5b70f075e80fed7d1bcfb
+DIST firefox-121.0.1-zh-CN.xpi 627860 BLAKE2B 70f95a3b17912ba26ad30e0a797d4a1540cca02ead6b3ab241337f7fb102ffcd0b2d7fcb4e4f41427b85eac04ba253c8c60798ad417f1f24cc1d60db8a581f34 SHA512 494f593e108e06b3a2efdf452231b8604c339b056afd00d293ff0661091a3700e456400144e5719909ccb38ac1ecd4082be214ae96e57ca8ffe46ee436e80c2b
+DIST firefox-121.0.1-zh-TW.xpi 630002 BLAKE2B 2cc8c5ddf78b59ae4636fff43eaa4167ed33a179fff638cee52f58c30cfa40f598ecc88d7c146a482a6d83910f00b41158610c2857721a443df77b218dc6dc8d SHA512 d764400c4931aac6fb493857d0d64a0a8bacbe532f9078da5ff39ec97d67c3883169a0386d1e4b8c327a8df83b2af4ef5337056ff137123f5a1375fd3979e721
+DIST firefox-121.0.1.source.tar.xz 532719356 BLAKE2B c9931d38bb9c612000409ed54b2fbb190cabcb714cd559152f2f645a8a3a82934874d31e40fc298dca765dac94e4e0927b125e14cee325484ba0f9b1ed2cdc55 SHA512 7810850a922cb4a274ced6556e14256d3ff518a96f10a0f86d1f8e40daa0a8b1a5cfcc9cbf1391029d920944e94a9149951ee107a0e718a294954bb50b6ced2e
DIST firefox-121.0.source.tar.xz 530302784 BLAKE2B 80905caeb208ef5dce7b62e248c86598ca786eb7032e114ad5d10812623bfceb688832f646dfbe220ef2fcecacf11cefae2afb0f1cdc0f7952647b71c58c9602 SHA512 52e9e21ce825c4e58f09fd2c7347f1ac4efbca47e119136a712f0d4ee80c769ef80a43bad74a4c88cd377f804f5780b07f7af5b779f3fb5d244fa095e6b3b18a
diff --git a/www-client/firefox/firefox-121.0.1.ebuild b/www-client/firefox/firefox-121.0.1.ebuild
new file mode 100644
index 000000000000..0b25b56b6beb
--- /dev/null
+++ b/www-client/firefox/firefox-121.0.1.ebuild
@@ -0,0 +1,1455 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FIREFOX_PATCHSET="firefox-121-patches-03.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] )
+ )
+ )
+ )
+ 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="i686-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
+ mozconfig_add_options_ac '+enable-wayland-proxy' --enable-wayland-proxy
+ elif ! use X && use wayland ; then
+ mozconfig_add_options_ac '+wayland' --enable-default-toolkit=cairo-gtk3-wayland-only
+ mozconfig_add_options_ac '+enable-wayland-proxy' --enable-wayland-proxy
+ else
+ mozconfig_add_options_ac '+x11' --enable-default-toolkit=cairo-gtk3-x11-only
+ mozconfig_add_options_ac 'disabling-wayland-proxy' --disable-wayland-proxy
+ 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
+}