commit: 8bc259fe676ac4be226312e2583d22c7113ba871
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 6 06:21:44 2025 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Aug 6 06:24:12 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bc259fe
www-client/firefox: add 141.0.2
Bump wasi-sdk to 27.0, which uses llvm-20. It uses a different directory path
structure, so the Gentoo patchset needed to be updated accordingly.
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
www-client/firefox/Manifest | 104 +++
www-client/firefox/firefox-141.0.2.ebuild | 1403 +++++++++++++++++++++++++++++
2 files changed, 1507 insertions(+)
diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest
index 61b19f97803f..4564f992d972 100644
--- a/www-client/firefox/Manifest
+++ b/www-client/firefox/Manifest
@@ -305,6 +305,7 @@ DIST firefox-140.1.0esr-zh-CN.xpi 460053 BLAKE2B
f71041d40adec9558e57a3fa5a22293
DIST firefox-140.1.0esr-zh-TW.xpi 462985 BLAKE2B
af6a1315d5a8118930cf88840bd5e66bd5de6c5ca3dae7625565859d2c62b9a264bcefd48fca3f0675f0b4e8f33f0efd72fca60ca7951b66b5ca1ccb208e784a
SHA512
1fa0a210313de22854c5ec193abc5b39a35226c0dc7518d1629dca31de82ae2a330aa58a726726fd632814fd436fd583733d0b7f97b7ae9a52a8ce9eb82b380b
DIST firefox-140.1.0esr.source.tar.xz 638937036 BLAKE2B
8a6c1f50802cafc171a4c5a197afd3c724053203d5d92fe35a7453fa1a8c05c743c246b1ac257f073f70b485fb0d5a68071254587677c55926aeeed0e0bc87cc
SHA512
1b5caff9b381cd449c40d148542501f7a31a7151a3f2f888e789c9743af8ee1d1eddbd970f8c0054902d1e1d739221db0cfcf1dc6ab704bb83bbb7b7b6a20055
DIST firefox-140esr-patches-01.tar.xz 11100 BLAKE2B
7a433e80efab15386ea69fdabae0354fb7ca431e0370fd642a864e20b2a6b558a187580513bbdd92b2eea98059eb4ebc5eb2117ebdab810643a842eeb0d82da7
SHA512
50a33f760d57c52a233fe6769931a5c869f72e68af2492fb068f2e3f2a3de5acdf21beea01dc6069911bd00f15c16b26e40e58a9c4f332d3247bbdceac4cde93
+DIST firefox-141-patches-02.tar.xz 11400 BLAKE2B
0986721d628294f2ee9b7b0a417a146418137abfdcda312ececd47ff35d5cfffb098a91e159501100704fe0301481687d2fd24ae76039c384ef41405f21513c7
SHA512
320ed49fbf3edec18de396f7b67a605c01335b8d1634b3a7408437db4b99ea633f50298c111e81218ee33535b344b047e7cfcf7dcc7345004af303eda387536e
DIST firefox-141.0-ach.xpi 293971 BLAKE2B
0a7e5f30d0894687ed16129a610a5cb5cb4b3b7a8620b10c2da6610f97e238273dbbdb473d16a85ea6eca93315bd4a7c8421b30856d23baa52c3b9e19b780d4c
SHA512
ae7507bc62eee58eff42dec17a89d5bbdbe4ba8ba1498c301ab75484f99159194ccccd06bdb548443fc05f8322113c58b44af8b943c08f549892fb9d64506232
DIST firefox-141.0-af.xpi 267008 BLAKE2B
9ae2f362e2b27a578c18eb5894e3b885408b4b5df9ca643acadc67b1193bc16a2082915b74cbffb45064ad1390f535f58b47306e032b538762fe1f8172421d7d
SHA512
e1ea09e1f53ec02908939feaa4ef836c47e3b5d59d1742fece1775bfe299274396f3e0cce0a689de69f7f0bfc4fb80e3e0b8eb7c99b9a24a902366e9481990a4
DIST firefox-141.0-an.xpi 331809 BLAKE2B
39843f4276abd0d4370ca3a47231385b3459f2cf7b9852ada1cb2af17bab3ed123c81f05283c1f135ddab3366b95d0f1ce07aed7aa1ce4ed57513c9ad3b4ab8a
SHA512
82ddb23224d8a5cfb22339539d19feb06d9373920751359da9e0a18649749e42096cde16df8891b40aaba66dcb2bbb4a5ed8582fd540263a3af2fb8ff748ab0f
@@ -405,6 +406,109 @@ DIST firefox-141.0-vi.xpi 469642 BLAKE2B
6708fb3d8f255f86409cf51b5227aa690e1413c
DIST firefox-141.0-xh.xpi 273186 BLAKE2B
c874f54efb0dc3b374faf810c3ef282fef84ba995a5fbc50d8b368bb3f710a825082786570aa9ebc9f46480e9a447fb30412ba949941ea4f07c26a48f6d7d56f
SHA512
ca85ee79e25aea439f1ee49706292e998c70c247b59d7484045744e29685e4fa4150cb1b9c0b60f20dd83781264eb648d14d826fd1f0cba2dde267d2824dbf05
DIST firefox-141.0-zh-CN.xpi 461367 BLAKE2B
71b9404cc31c25acb8f3b4f2b60d4f20a4b1eb643484a18474a689e07670684e596b5f87ecd2847d2afa535766f5c5b35c00b856ca0e9ae5f9ee2079a6a08d5d
SHA512
13d314d0b269a6d1630e9e44f7e6d2d200ea4fb885de1f96e3b7c3c16e7cc7a155d4f97fa7d6e12e646132c8639a527e4aef5ece54178cd7899b0fc040ca02c8
DIST firefox-141.0-zh-TW.xpi 464394 BLAKE2B
58acc18177d198a3ddded3e0ed4db7b8f99c41ff5f74ea1e8ca597ed4379e02233d9925728e0f82e8af7b28dc9c7a4ed580d625f641c52d456396395c2394f2c
SHA512
daf88519653219399bbc381817da6ffd9b0da1dff73828293f99c5776a2584ef536723d0c3b1f7fa402421c1fd501fcb726e8abee000a1aa1300c25a990042e1
+DIST firefox-141.0.2-ach.xpi 293975 BLAKE2B
7e491b12467c72d2eb81400d51f920ec4f20be5fd6070365611226b1b96165a973eb5d7d5301a94ee3aa321ec63ce794faa4405754414ad379444e1b7e3169c9
SHA512
18bce72dbdce20e80c3a8c6a8123cd3e757916a8b680d39be35c806c575d7b9ea510087ebb677be1e8c1117813e901d9074255ffcd22db4c694481feed0d4d27
+DIST firefox-141.0.2-af.xpi 266995 BLAKE2B
5d3fa08cd165158f16b606c3bed5d00078970bc12c343e1c34cb6770e58252eee05c2b76fdfd27936c8d31cf59a7e3115e20bed9d2b14e335b66fec2b5ad7f4b
SHA512
cc7767968319510bfe40ffe90f81520cc935a6bb4e39b6c942500f0331f245a7402271a811fd083ac106e90d224076e7bb1ccc834ac3edbc2737004b250b4d74
+DIST firefox-141.0.2-an.xpi 331805 BLAKE2B
6ce23cb268de6443ced90f671e8ae5a5a7e5429eed309ee99f44eb3f9613ba588bf3465b0a969baeeec3d89a61097a03c5c8e482020a472b5fe038e82005df68
SHA512
8698ef1b6beb79f860e56625a8d9b2c7b750274b6200e2b0aea14478915401e4ef2c5f946f1740981e57e6490bcca0b62428b07c8022a43f3ede9b297ca5bfea
+DIST firefox-141.0.2-ar.xpi 442747 BLAKE2B
5d08d4e2cc1502e8c6198c6998453659cd928f8a26a11583e410da574c72cd2befcb7b557d2f3acda2ce4d4b52e0727ba417a5e0912a2e50b630ff0381746882
SHA512
52780ca225c25a7f4acfb4e385f34bd695a2b2b5c97e44870d4ea78e685262c432d9cd37ef5ff5f70a27911284b99fdccb35543b649eefddc1ea7dd5e43b636e
+DIST firefox-141.0.2-ast.xpi 311739 BLAKE2B
30795d9468ff4869ae3f19706d814a43a2c7f4eacb480e044044a8953a0381903cde302e6c32c07d555120ab47c7608a0728c03e973d9dbd73d5b38227fc0edd
SHA512
e65216ef0f0d3a62ffb1f895407c2f1cdd2257fecd07fcac8e640e481ff94b5097a72cbda04b3438fbf813ae0953703b3f7c5fee8c7ed11543ad8d39302de5e0
+DIST firefox-141.0.2-az.xpi 318273 BLAKE2B
22f927541e86504483ce081c2850cd12dbcd6c5e311125de8dc32ece61a0cd09a73e873cd47e896c18d13cabfc5e2b2e308b3937efa9552ced1db1001cd52730
SHA512
f169e0962d8c1c86d2639543ae65a6b38b4c112560b883315f9707907a8fb440961ea6c8ea37ee2c2505dcdaf67b4e9156a885d12f4f97c6b52c08cb06dec92d
+DIST firefox-141.0.2-be.xpi 521028 BLAKE2B
6128ff0012d57af36d032ff5bb1d23d56ab480b78e67725dd00cae475237198d0da30a0250f1d9ff68ccf70f0d9cf2a4827b2a34c9616ca4ee12e6fd8240d030
SHA512
c2ba168ed95288911a0ff5c0df785f835f07fabfc07cc8d80bbe584294ab3ba4c76ec5829723247d571cff8cf8d2cc68935b8c121a69afa49c53f89d56eef918
+DIST firefox-141.0.2-bg.xpi 449763 BLAKE2B
31cafc06c4991392b30523957b0c5e8bb9550a914fbd35e2fed37882ffd66d7c8b3473783a4011850a781ab3de058654ee9808167b996c6c6da203fde4d34638
SHA512
3bce4c4a8201ba1255b0837e29a99a127193c0019547659dc8341a4d1ed7b8df0b667286116a19475ed325d3fb52ca2e5b89ba56b11a6abe21264c7f5f28daab
+DIST firefox-141.0.2-bn.xpi 410922 BLAKE2B
06ee60e64036e46dac4ac2c81ae334a9dbbc068878134ce4c5d389b613cbd6ea5d2b6abea104d1cc8091c88e8a2b86d5dafe4c7889531eaa7924d852cd2fa568
SHA512
913b2f997e2cb17b7b5802bd22c1e5b26757fc78c5be70714bae577702b9ac7415c13e771e62f23d41e64355ef30a9b53107164d945b43f51107e554ddcc2ab7
+DIST firefox-141.0.2-br.xpi 394663 BLAKE2B
b88b4215b2da7f51d50d512e27adc9303fefbfb4f6311f35afa27cf2e2272a3435249c649662fd8c4d881a956ce8523679c2227467f9951dd677f90f777114be
SHA512
7c36c2bc5bcf690c16a43217e87b847efc975461c948a97243becacfc360cffc2a0655d7041183ccf0468d6002a0aa0593777ccf875155fada63206e6860d71e
+DIST firefox-141.0.2-bs.xpi 448325 BLAKE2B
19c146e9068e92b35a34c9086b35a34a9a8292e316e66d08e3515100450658f5786d23ae2a346a47197734b22226357eb7983943a3469e68abcd094d79bbbf1d
SHA512
4239f2bf5509d02d7ac24ec9571f9cf95904ede457b9a5687ab989eb2a823f9f46383966c70dab567fc705e16ef40f5042b235c8074f209d1cf854cf0caa5a5d
+DIST firefox-141.0.2-ca-valencia.xpi 357418 BLAKE2B
818b73dcb76880f69ac301363a306801eb918b881b1b3c4c81c750fc6f615717e6c53a5ba02051d7c96b26aedb1b43f52e8841d16a2b3967c93cc9589a3a2c8b
SHA512
b4bd3c3ae8b07cc51547603f455b9209d4fe94ce94454c6905d90d947179411aaccbd84eb66f2d1a1f97485ac3f6ce17a2dec19138f265f43e713d53a362352d
+DIST firefox-141.0.2-ca.xpi 396438 BLAKE2B
2a05ef302678dfddec2bdde2be082dab8e5ca6457c70b5c8538997177a04c5cd3da39773f5a63775384b3f317472f9e75a3c15e648132222dafa84fbb21baf96
SHA512
57847f261af8c4cbd2bccb0ee6eadcaf1813a284b5390ab4ba2f3449ac01f522049e277d4cd8c3e4b042083c420bd75f3de6b126c7aa081ea1182803e04b3c08
+DIST firefox-141.0.2-cak.xpi 390009 BLAKE2B
15e0a10584f971e3c826d5dc6ecf73e0080d80860a9bce506c1b24aed7d5f84f00f3173ff49b0a223cb82c0cd87f8234226f630991922e92d1312e515c304ddf
SHA512
6593e53f2185fb157786409407c46434a89baa834912a4e327024ad44d7cb6be400340a037960107128ed94d338205174d1cc7eead59917dfb5209c6e8c7e156
+DIST firefox-141.0.2-cs.xpi 477054 BLAKE2B
77ef128faa003fd1b570b3b5bc557b84b746a59de94c8eb096f102c2cf11263d619ff7c93d85f806c7cff4df5fbbd7e2d82f2275b585e34effc6b7c49326ad92
SHA512
ee3c28ba5245ab9d1b35203dd6c67f5dc838c01e40759b513afb890f3d3364123dc647d87305fc8e92141c532f40b64609e746e820806f2408159a900afb9543
+DIST firefox-141.0.2-cy.xpi 443053 BLAKE2B
e9ffe05df27b9f819766ab602ab45f80395820ba622ac9eb5bb5121ab6a777bfe1a8219219649f18d63c928583ddf4d9223f8ce42e1e87bf0bf3b425b30d6690
SHA512
ec7c9b74b5e93f3d63ba410f48de20ce2be7769e0b3c0e7ef3d2e972a9b84099b9c525617704265755b9b431c459ed49feab1271ed4517fd77067a6a586e9a20
+DIST firefox-141.0.2-da.xpi 432194 BLAKE2B
defd51f3cf6c8b2a76507454ea27908a1b09f7611b24b2c98f4c22c7ddb8efee380354bdddcecc2a7d1df447dce20ffa0c2ee8e6fa6d50d41da8987a844b4ed4
SHA512
99f7ddb5953147f0254bd80d1d73ab48189eda19e2e95f9df0da72d3ec87c0dc7f6c72140d6a7cacf463108c9baaeec78223805fd795b381734d9b551ab58378
+DIST firefox-141.0.2-de.xpi 453722 BLAKE2B
ecf7e736f096eaf4c8c7ff89a4ca557c5aabc9260165206827d86c767eae75c79a418cc386566895ec47609dd86ace6a5736fcf823099f64a85e69d0353a4ada
SHA512
ed9bcc85342c532d72f57ed3467ffe12e95a6debe674e40074859a11c3309ac04d9672e09ebacc1200c0cf824d98cdabba9e6f4ac8205d66c17b6c3d728c289a
+DIST firefox-141.0.2-dsb.xpi 467104 BLAKE2B
e1879ff74e72785d8438813bdfae4892558c28812e55495fa71b8c36554aea381fd506cc06f041f4f642a02071795817c12676dbbf2f3d21d0f162a9d4288fdd
SHA512
055c7c50906d17c938307d60aa4f087a2ab122d94128634dc570d549f0e9c71ff0012ae0a18acde48c5dd71a3b71da9d80ca0a8c631afd866268e5674dab07e5
+DIST firefox-141.0.2-el.xpi 537823 BLAKE2B
65024ea4a36234d2bafcf0493add15e9532f205ff169c692dc422892a0bb1cf31119568eef1dca0524242d8ee055541b110db850bca84a712c2251752eea1d9b
SHA512
9d09a44ceb6066ea478890da96b1344c95136f29f6beb1ce00ec481948bbd77b642a761128dd581d19ced3179c2937b9d53f86c77e0fd88f13ab286d1afabb05
+DIST firefox-141.0.2-en-CA.xpi 412184 BLAKE2B
1e47f23bfbd5644bfe0663ddbccf7cf0f74c3ebd11298573007f4198ca9a6c91f6b681f4bb9a8f894980d5b0824f7346fb19e323944e42cfebfbf0c0d56f0a40
SHA512
18eb67e193532abeef83c9886aa8e875a9e3b0018b3b220b0af9e87146683f1f68d174186e2fb473abc61a6313d49408a2d4804deaa54b7fd23fc100d038e9df
+DIST firefox-141.0.2-en-GB.xpi 412475 BLAKE2B
dace794adcf4d255547ff29582f7917c73e20b29bc12f8f631e8795cc7410083457c4a0c15f3e100c0b82597c108434d71fe3a34fd5d354b19a9750907189421
SHA512
fc61f95bcb6362bb02dba9fb385aa557a87923552c80db3f78a26a668a7409578fd39d70ec5d703f87b1ce8b66bef41ec054cc011c3dd6b781a6d4c6cb710b2c
+DIST firefox-141.0.2-eo.xpi 434517 BLAKE2B
d9ae0b23f9521655a46ba4a218eb940c83ec1e5b3fa414443efc54283e2c205cc511185306ede0f0cf1bc0cce83f8bc898bb1848fd1d50180ab1fd596f0e40d8
SHA512
faf26d11ec9b0c3d432f60f5c94fff044c4e246e17edd3ea16c00802c8648a995853d0a09509c8ed6b8a7218786ae902ea95bb4086bd9249074162bb0a053bfe
+DIST firefox-141.0.2-es-AR.xpi 446590 BLAKE2B
235936f6bb136d48871666a3b5a842b7d9bdd20996b63ec33badfa6138a22dfced3e3205370852882b5015ffb78584b1b4361ef142037b5ae0bd1068b02f10ed
SHA512
93ccdd419a5da7490428f51ce689adc74a7189fa85a7d504a6d131a685d4bc3c48b8c59b2b4346782336e8b7c69ed650effc08282073a48085a4cf784b5cd4f2
+DIST firefox-141.0.2-es-CL.xpi 447398 BLAKE2B
7df961db64661f31e68e1e12790d083b07fe68d1c652ab58d05053d423c26c013030109162059f7eb05c88aeb7a0562c72e22e46dbd7952be0b0767ad18b7cce
SHA512
e70d56fa9db65f79b77fb13be7ddaa734d21cffcd98ad67c81931f9aa929caa7f31720d4eb6101d4d8472d7b6ac72086f0f17d2964d58d2e5a9c4cd1f6263e22
+DIST firefox-141.0.2-es-ES.xpi 448137 BLAKE2B
ba22de18231acefbfc592e96f70a371538f02a748e14028b1a1bba15111fa68581be0cdd73706c3f428274942ec25ced56ceabcf884039aa5d5b14705922733e
SHA512
283c173bf3c199ef75108f98be1c3b6de253200ed142b2e1cc95ba31ccbc5cdc58cc9ace0b7c822641cefdeae66af8b139871cc8cd27ed8d163d28a49d745dd9
+DIST firefox-141.0.2-es-MX.xpi 436692 BLAKE2B
cb3335ae821939cbf8fe71d55e3133e85472e602d2d83474023afd3016d6a9b395cfb8099c70220fa84e3aa9275d36231209822a4c33c27b3e19a5645fb43b4b
SHA512
3f9767f16b2c312afde7adc72afbd215836132ca83a517622320637bfb075f2cd8da3b477ec80a576cfe3f90919ad35a6ddbf7fc84cfee8bba234137645cff5a
+DIST firefox-141.0.2-et.xpi 358573 BLAKE2B
66dd25bc134e0957f1d36fe3f87c6aa7236c9a420b684242831e56f8075974b890bfac12a6c47a8d837e71437687448d7d9f05e200da18639af84ee7ec737b65
SHA512
7e8355e15094a61e76f2d607d77a9ef9c4d6f476aedbd7c65d535f7e48a406b0e15803cc0a431519ac0252523ef08f5cfa92c948103a6056e58e140232fc605d
+DIST firefox-141.0.2-eu.xpi 414513 BLAKE2B
bdccaaa5bec17cdd3fd3a4bdbe9b48f224c4cdf485dfdd68da53f24468ab87cbe8c0319f6c549b6894c7eddcdde8a5486158a9ba3a5e7b221cb420e4b928ab37
SHA512
f1799dabfa287eca9e4c1fe7df687935f8f4765555049a8a0ac437edc9c2eefcfc923fa28b518e8192e4a56b6c52881826db788c99c83bc2fe5e1f2fc618cbd5
+DIST firefox-141.0.2-fa.xpi 420258 BLAKE2B
92e4f1714812073ae90e6e4d2383770a2bcb5abd3c8cf331a17df0110a2e0c540453f2467c46280a4827b11dd5ec99c428ab84af136cb0114c46631bbe42e9da
SHA512
4fc613c7a86938145cbf16b23362197e1d974cdac4bb685ed4217c9b59b9039bbb08fb48f3fec382d3ecb1dcab84d4aa65dfec4ebb48e6f1fac77c20ae1e66f6
+DIST firefox-141.0.2-ff.xpi 309812 BLAKE2B
4a1a788ed9c8400edb3461a73dbd56ea891995753705726a9ab951b563d9614b8cd522648c871eea7feb1e5eb604237e16aaf69a74f38eea0acbaec959cab429
SHA512
8d690d4ede2bd7dfd295a6af25c6146deb1941d9f4cbe69151e473439e6d92686055b29f82544b6d719d5d734842f8fbf352ceeaa73b41b9f84709830da711a1
+DIST firefox-141.0.2-fi.xpi 430352 BLAKE2B
d527462ca2e1f0d959283b342efc0cdc3e2663275daf4ec535ba92db8d4e10b5e510d14d78d43dae35fde6c8ae5f0fd83622176b769b2b74623f58b376b8d825
SHA512
358acdcdc31fa935bff8ebbe9029cef19cc38ccf22d9aaedf19e2df3e64a9729ec81b948579a5259d822d6f94e61f929ed04ac7dd9e35b9d7aafbd2ced528c36
+DIST firefox-141.0.2-fr.xpi 459285 BLAKE2B
8837ed4c690814bb0069a2c3c286e1296648627773bd971d9b63ff1f4627dea4b7fb7ba59499037467e42dc29672b999e388e2de8711f050b4c87c19cb39db9a
SHA512
258a6a8932359209020a513c4f0758da1192a64048017c832f104c0311f6c3b724d16e476ba074da6f75dc1e6061450bb4d4eb94b813c9a38b216b5b20c6ceac
+DIST firefox-141.0.2-fur.xpi 452665 BLAKE2B
ad03a74819a292e49a5e6b11f8089484b47131660117849fec34b4fe00549e740acb1b9bffc4a2792576f42bbd9724d19cc3927ca8e023473f6bb81241ef6ac9
SHA512
60c8e7af0ae402b37ba21d407a3e1e817095ea655c0a1af8c9e4bb1a8a2dc75013d8e882aa743d90fbfe093f62198370c26c7175d74c0d55a316f5114f9fe89d
+DIST firefox-141.0.2-fy-NL.xpi 443192 BLAKE2B
432a9668c137b80036882927b84fe4c80767e19996f8460b560da6f3f648e944291f60f55fe71ed6d75f55dd8c568e2c28f929f473131d060cf3048eb79f13b5
SHA512
100bbbb4df4384c41c6ad396297ad67a80cc20c9353d0cdf228ac9a0a296884fa02d547fe6ab0535bacd4464b16f2e0efd695377eeaa66a018ee1f151cbcd66b
+DIST firefox-141.0.2-ga-IE.xpi 315171 BLAKE2B
d1c0376096ebb949e6d936985db0b6d3359a40c691c74c8d010a8e908964dc32007c712fd025b9157a3164a689bed9284fac51ef9a049f3eb5c9c3c762788be8
SHA512
8b29f9584abdf90cebd20ce0289b6d1e43999d5622f4a5c9db0cdcb573feb7c399ab315a18915174e240f07d0f7c76df3c9b6f7979b870f5f2acbeeeecc37d32
+DIST firefox-141.0.2-gd.xpi 398525 BLAKE2B
36002b59c9627e6e49eb8fd8c494dc8ff79c7a9a80bd9c204cad46bd91d2301ec1a1579460c12b57cf6d232c28675b66d9e35ca5988aa27d676266f013d7fba0
SHA512
2256267827305064ae1415a9ffba87302e5d8bdcee8845c3f4283cfdc82ea68dda97021b3170ed0c03f38c81c441c6905c8c12c4ee9b161485c358288bc6e475
+DIST firefox-141.0.2-gl.xpi 444061 BLAKE2B
ae2f9d4ed37eab56ca2eb0d9289c6c3325650af360a95cdfa69626e98f982564e4748f6e81dac338836c5092330a52a4577593310500edef16f5e821e232572e
SHA512
8d7dc25e6128bf2f36b2947fdf10e07cbaa8c5025f25a5c23a53b69ae6a5d0ab764f33846de1f0cb5c881c429b99bbc20753de65e7f93035dcbcf31de8b736b5
+DIST firefox-141.0.2-gn.xpi 451801 BLAKE2B
becd0bca42d8fc7699383c13b4542749ae1d74fde1ff8305874887f48a946995c3fdd3fc42716a781111e579e9fa0008859d8b868fb434b47b21684d19721e27
SHA512
e8d4565797039f50041acf6e8454e34afddd672e27e643bd779ca8f9cd6241d620d1133e3984b59bcd8c675118cd370b2a2dc6528813dad6e27fc3a5294613de
+DIST firefox-141.0.2-gu-IN.xpi 358277 BLAKE2B
2f3d0a0fa4accf06b073bd942f7595acff3f244e3013cdf043714ba1ed4801216e72178ffbfce879306d7fa1899cd775cfaaa291c09d01219c2b4f1c085f9d66
SHA512
5ecfaf3fe54ffc96116870699fa28491ce99396c3a15f22096b299d881565a934281dffe3877f70ac2c8e7d5208c630c705b6fa513151145aadf5f71374aafd6
+DIST firefox-141.0.2-he.xpi 445740 BLAKE2B
95eada5cfc17ef75ef7e50ce0e84273abbf6484d8c0ed3f9446558e89803bfc5222476c623e599aeffb90d098f865cb0123b53f2a0c2fb475f36ef05a4d57f60
SHA512
05a484164c7626ec65ac9cf5c0a7c2e9199b1c787ec624f02e76a9cc4e9a8fda89a64887eb0429095a31eb931e0dd819e9699c5a6303e09afcefd0961755c422
+DIST firefox-141.0.2-hi-IN.xpi 376943 BLAKE2B
eda10f3aa628c15c84c72cb641b901cb855142eadd3086beaded788289aec43ba609c4e5659b384397c452ef02e59d0c24503149c871079066b48a04ff3ea529
SHA512
8388163e69a99b750489c654b05617f747d3194073bd0fe712eed59ba91bef74371dbe998b6f969d4fc01f7f82eaabc2d2f5a062d6fc38d410ab85df600af574
+DIST firefox-141.0.2-hr.xpi 437908 BLAKE2B
c2882272f8933bbe5a99cc8b4ba70439760aa36e98ad0e80fdb496d645d7fb3bef124e5ed33fdf3443c74fd2cb8e42604ef55fd0219a8f8e3bd173a8b769261d
SHA512
48fdcdb860fa8830483f5f558fff120b21041e87c9d4ddd696338fc6b486b8099a5060693d12490b165969df0709c7a5f5b94179b06e200503ffe571a130513a
+DIST firefox-141.0.2-hsb.xpi 463719 BLAKE2B
cedba960192acb0a6d00864dab91bfa043895e6fc91c00b71a94159267a2c9991e41dba0a1181078b1cd56f3dd61021a2f70e2d34eedd4675f4d368cda86cf08
SHA512
e0b324f198c03214ed35d706eff975ba4a9bb6de843639cac9ad9f13bfba47547f7e9a0df6368023c503c35887b68772c9956939ce4d14380eeb52fdc07ba29e
+DIST firefox-141.0.2-hu.xpi 467205 BLAKE2B
9138d51b85cd859ae1a634cf1771d5e2cf914bd08740ac788cb6eafafa32ab8029b3bf81a7634d203bc01bb0eee8c071f7243a16622649c034823957e022c0b0
SHA512
d29c71339a7a0953e53cc56b23aa545f778896d2f9e2e1efbe9d721881e02e08441fe84267ebd4c7d218c31a65d078b5639bc5092da6dd57991be9a2f1ab6dcf
+DIST firefox-141.0.2-hy-AM.xpi 453334 BLAKE2B
e85e70c0fdae62056b4ee83dd08a0b6381a3d63e33b5818a50713c1ccdc6f7c352bc4a7d8e7ba12bf39aa2766751026ba019ef0bdbbd751e44b2fddea579e654
SHA512
e62d36e824ec115af788a80bfc19ea37234d9f6ee1c42712cf73aff3226586d631af9776c630d86dbc5ef95dcded1ac57295af8daab1f3fab269351e406c8844
+DIST firefox-141.0.2-ia.xpi 431193 BLAKE2B
d76504d920a3077265bca6b251822fbc8bc0c53eca22bf31c2bc5d1dfcb1f048d3aad74f50f15be87a4c6d2fd385537396b8f91221b7999fb0cfdf52e6e425fa
SHA512
575017920ab555edcb723ec4e2a6d5abb45a8c8488e5be8e601b7b98be621682387e59d9b5bf3af3e44c1d175d69ea48149c3a4cc8f5a31f73f3199cf4403b21
+DIST firefox-141.0.2-id.xpi 417972 BLAKE2B
838bac8c7a4705043cc69d4702a61b781f59d66fa6fd4e4cec069b17fafa98ac2be85c2d1cf8c540f641447dff645a0c7e0888d3a357420e1e272f5937e335aa
SHA512
e5d1b76b04b5a2fe521152ae25d5a6745b5d4fed17e8a96ed83940ddc3b4fa9aa87d84c34cbabc9da3e76dbddff512bf5d550b9d53b54103f772164b189f0f59
+DIST firefox-141.0.2-is.xpi 430578 BLAKE2B
e2a20d9bfaf356f0333321149b89bf70d92e2fbe7ea858c58fabbf506b32100e992bd7b800f55c44aef20eeed3ddce79d7d599c0d7b1dc338174388e399ce8a3
SHA512
55bf76b724056753ed78eb7a73b4950df012ecf09edd134d8461ea5a67b441a224e1f0c5a55993e2727fe9360ac0c0eef167e5f6e822240b940a16077ce92b21
+DIST firefox-141.0.2-it.xpi 441974 BLAKE2B
19f6fc63a38863b8c2191c4ef2bb8b5f461837d3a1c94cbb4e3dd75482119697a7458fc6aa8a7d4739f7daa6800ae922fe5dfb59ad01fb2d1eeed19c29c6cd6d
SHA512
404c18d3fe7efe8fe9a8ef978a50451cb1288fc26972b85e93d0eab9b162dec5077a6129e3aa2b1928b3fc6cd84643271da873abe1aab1929433d6c8d9f76711
+DIST firefox-141.0.2-ja.xpi 482316 BLAKE2B
9eb93408d446d691f26a2f4f7d888b9c5541f6ea3ca21670aa0c4b2fac9859664090a483074e0487af473e3883f9f4b6ac2a553def60f89d9680afdbcd84fe88
SHA512
9bb296f62aedf6f1fc376f0af190ddd19d365ea4c3f3a16abc4a227e740e5506ebbfda0762c0e0045a8cda75f0e8180845b32612e4aa386da3a7d72202e95c6b
+DIST firefox-141.0.2-ka.xpi 495851 BLAKE2B
9505f86fa5dfeca31ff035ac34443a4102b6389e2c10b730b36a4d2c5f6c79f7e8135ffe4da6b2ca7f5646d5b99190d195e7b282ccccf3f90f8fdaa8cb09eb34
SHA512
4642fdd1aec117a96e32449d7cb173569c613b44f737f920a43894df16f7dc32ec46893f324996eb6f02d32006f7d4bbe3a4ea418a58d8c3fa27d9ae26905187
+DIST firefox-141.0.2-kab.xpi 420780 BLAKE2B
32c7f186aa4bfb9402f22ccea0830dad1564f463ce5dc5fd4e88a6e165be6f208e4b27f0a06a6adf899c434a30f17743cd996f21ebf6f4a0fcf458be8c34a066
SHA512
2bee33473218bff4cc09f5decbc304da41ea7f6af52aba7067b6a7dc76ae4780b34722b97785c4778ac9c2653ca729fe53a19d8083de088a238d3cb887e3b0fa
+DIST firefox-141.0.2-kk.xpi 501434 BLAKE2B
a02a5713be15a6567d34da68ea20b4e34bbe978e349b6cadaf88c960559df2208278b0f89df3ac22d5bcdd200fe82767a03b5fb2d29294fbf072eaad54928241
SHA512
69e61b9724c5d11f770603a48f6562d8cdb169b40b30f6d80c115e3ca25f9852bbd80675cb7c3e09d5960b231676048a1098e6e5f17b202faea30b985d9dd138
+DIST firefox-141.0.2-km.xpi 347590 BLAKE2B
c8ebb935de090a249c48772d8ab13b8a2fa43368ac38a01d776dd414ec0107107e5d605d900b7e0510772842b42ff0f6350d5d149544d4c044dfe6b0c1055d75
SHA512
109a4156a981019c23c11a0c6e18748d3de436164287d16e7d890026453beda033be68fff40a2d14d33f60358cc3e1e5eaa8b20619060e9a079ad322dd43f6db
+DIST firefox-141.0.2-kn.xpi 331585 BLAKE2B
ee29e0e8145b2388da4c163b8b055e5197e93d676205442296f7da15b35e6da7150f909c1e681e34954e66f902fb6092f2c85bebd2ac89ddda9e9c97c112815e
SHA512
dc23b1ff270c85f31b5bd866a38096dc50612df4296dd972c21306784de9f93bf7cc1b64f53989b3babc8ef25b2da4a133b09e2d1447a7bfa74b9f0b56f3ca53
+DIST firefox-141.0.2-ko.xpi 468511 BLAKE2B
4b695bc75e124c6ed821af9374c3023bf934f33324023da84d783601f89998d29cb759870336d30a6c7dbfde37ffc6fa3181a6b3cda99af1a977206ee88c7ff7
SHA512
073c569d9c57fcf33d9335365cab9f4f077799d1de25bd7a8f89f62369a5a19d45fab9676fb34ba60162912e781927579a127e1f36e6d47f2bfe18f1752374d5
+DIST firefox-141.0.2-lij.xpi 318791 BLAKE2B
75c66c13871f843cbc41b7ffdc4f30ad85874cb02b514227e8e50b6e9fd71b3e6b0f2ece20057ba6ee0e2f79f7eab975f9e309bac232fe03889e4752bdee0a44
SHA512
3546999742ba022d1a83905feea41c03394dd459c295c07aa089b3bb14b5e4c8f4c0e32032ace39a520a363dc867da67d1ad9e133f02b10fe24d660db683c516
+DIST firefox-141.0.2-lt.xpi 379052 BLAKE2B
22145f94aae117e9a0c6d1ae3b59d300c99eec4556602e1601385ddfb55ca1566ecc962dcc634b9e64b5dc2a02ca84774f474839cedadc5d159db34b5622c477
SHA512
8d23507332513894e9de098c4996375321a91b906eeb04dd05272903524dded99bc4a71f24b53a12f67db32fe18c4d5290dac00fd1add50f3007bb0fddbdc2ea
+DIST firefox-141.0.2-lv.xpi 383654 BLAKE2B
049d6c60b0802110f7bc49041903e76f00d5e57f2e0caa16f4dbd066c366f88c175244be4930245aa0b613951fad0a46b6ca04b636defbfdfbee8f34f336a442
SHA512
752ff620fc8aa6c222969251a53ab1c0a529ef6f2898d6a894673ead259d19bb43b953caabbcb37ce4d5ff1c7eef5aae7800b1562cee882a477b41065cf8d081
+DIST firefox-141.0.2-mk.xpi 316337 BLAKE2B
e6526603b2b1cd301008459dd0c34f9509a18d180cf4e6d175d13789bbf540d778f0fe83093f6bd5e9ddaaedb7ed259e04a495d53891f40ccdbfa8934535b8bd
SHA512
beb49672852abbd34460c638f28eb207e3a93d456f36869844ff3491517613d74e328e3a4489d4a531485786842ada8ae824deabf1657b5cc26eb3a672e90386
+DIST firefox-141.0.2-mr.xpi 355984 BLAKE2B
482f14d82878703d0f8daa217e9cb12fd8fe3d3868c57523f08193c745113d3fd35ca0c83f24bdbdb9e1f86bd6ca733072d9caab6b137d128235871d7d9be846
SHA512
9be5b152d0a3cf287134fe6fc5d96afa83a66d3162a900baf6a76287aed718d45f1983955580fd1823422377bb1132bbcc39876ad93ac528ed4276a3f654978d
+DIST firefox-141.0.2-ms.xpi 295299 BLAKE2B
39b9970a5d5879176c347eeda22aefe54cb65e8e5587507b196ff3d76567beb54e0bc0fabac54ddf13e210e3787a10d3e6778531f24e7bc68496a3cab948d456
SHA512
e5b310fbb9ba06e23fa4373883ec67d63ab9c61f00220306d56856796443356d2f5b8ee1be7ebbd57bba39bddccc5a5a8816285f6f594a993556ea39760324c0
+DIST firefox-141.0.2-my.xpi 342792 BLAKE2B
2bed73651de9ed5cd1fda75be191ce1b7b893e30944193b05099e01abd529bf4e196485cb233b29ae88b1e5733c30ab8ac0518680124220d145909909a214904
SHA512
0e92e922b59defb57d63ed2cbf165b81e2b15d5e9f113c65b453e8652470c2232366851ec051ea0bfd97300bf321796a50e08dc4b38acf1f5f5b05e2d2a04ce1
+DIST firefox-141.0.2-nb-NO.xpi 430363 BLAKE2B
942f8094d20d76b2366078e2f21979f670a6a75a03199532192f2050251ad193f62a4020639ee4074003853a59f66538f9293bb59ca25b066628205fc63b2bba
SHA512
babdc91ed23e0c6601b46c066a43c2510697d0306e1798eaf5071ab316eac3a85cb9cf61a568a34130e4aa7436176de2bb7193f015611c9760fb45d860ba739f
+DIST firefox-141.0.2-ne-NP.xpi 348172 BLAKE2B
8f3d5007b291c477fa8e5448e20979c99c84cf173eb36feb3378af8ff4d06cd122eb7deac17e2b267d0008a80b63fbe90dc7df6cc9693136c2930a2877acc6c3
SHA512
001b77bf326d1b1ef1a7a10bba460ff103d0c63d3e58e1f6084979eecbcb43d7ae13d6d5d6e2cedb54088fea70aa0a3e2808667fb099b645ce0969c07a6e0024
+DIST firefox-141.0.2-nl.xpi 437255 BLAKE2B
e4643acad3aa18f6e6880275ec55a24cc65e572f7aef7a8bd3bc86cb81df07bdf14b071f09d81747e35fd083a90582365fb22336e0247ebd4efdb66240f7cfeb
SHA512
f9c962328316a474ae112aacb8d7e81c80c71e62aaf3d3c7252e468f23c67138ec5c1c7e6729d2506a9ffc300b90e327bc57c123de64cab39aaf62367bd8a353
+DIST firefox-141.0.2-nn-NO.xpi 429469 BLAKE2B
ce7b5413b96f28cadfb6d84825cf5cfbfc632fcaad6fae3c85ebe096e1fe117e683379ede88b7702a704889c731d9a5dd3e0418a4ae5bfa7fa5627c2e49f7e49
SHA512
8205781bb5d272efd171e41f8885970636bfc99e5d378c9867e8e26a779768d013f9b53a8e6cafe9f6d1c3b2fb64f4003286b4b689ab9221bcabbc4376e29221
+DIST firefox-141.0.2-oc.xpi 410034 BLAKE2B
f26aee20b3f7dec14dae55873850731a8db303217d57768857d152ddafa36116c404a1151d965fc7976752920f8a6443889619b78cf4306893a5de761e7e2eb9
SHA512
77b63b942b92a09c74465b0663fd167a33aeb510e4283bbaccda0b896edfc89b31e09a561ccbe97ff76fca796340b250d9e7cb9f51eb739c64035235f34e2674
+DIST firefox-141.0.2-pa-IN.xpi 492920 BLAKE2B
86f46784ab58100b403a69b6cd15bf8164227010821a8016116f6c6529dc8df30c6f9843b6dba6508dc41b600d050b1241f29cabbec3ee264f3e50de6eca9965
SHA512
08b32bf8560e4f2cf34b0add0960bd1728f51b7fc397e64b056fd2758598131d47f92a3348ee18b568910b75131f43b879700ef5077c36a663550c83ed91953d
+DIST firefox-141.0.2-pl.xpi 461364 BLAKE2B
b6fbe2e9ac567e3c05c05ccc14d1b7f46579132eb789b367ff5b59400730ae94fe69826baadf6e9274c0f9123718d758c469dd719a9f5c31b7de70a09c9d5c11
SHA512
aece69f4ca83df6ec00a9b8d1e822387e41ed2dcd0eda719e6a0d5b6842f98cba05a9159035a7fde63a775a81c048f171988929ddae02927f5dee68ff3690395
+DIST firefox-141.0.2-pt-BR.xpi 441870 BLAKE2B
f7d68fb99cc6bab13f71c54d98b187ef1fe9d3190fd95073b78d7e87ebbb4442b1d1dcb74ea6f438692d67b3080470c27cc209a2a7349afbc836da024aad13f1
SHA512
a083b4a0814d99ae5311cfb77b32efe89cdaf3c3cc609f503e5c4851c92431ae559df4398419926350b438c24eab9419732329cc216bb7e256a596baaff97a8f
+DIST firefox-141.0.2-pt-PT.xpi 446572 BLAKE2B
534ad0ca83210c91d156feb467d9b50229c8a598a3927bb05edd302e012407e48fc5ebe3b05921a809fea63e9aa986b1343aba7901f6bad9a6fa169875c72e61
SHA512
074ff0a77ab4638677db5157405738d3574b7b741fbbcbc0083e80a3624c8c695fce69358cf31a0ce1f919253a5b63b2f5ac19bc0dcacaa2637dc608614c1163
+DIST firefox-141.0.2-rm.xpi 436632 BLAKE2B
feea62cacd401e9da883f9fd443313d6962f33ed23f500b1ceeb93a5973dde6a4cbac3dade4c863617fa9e47a52cf54ade9fb587205f0e0e101ae6d0809cee01
SHA512
a3999366dcaac3073c86ea4bbce7297310c7691859769236d52e24cbd8f27febd72c41a00cfe1edf7e0b3dda4b35cdca42fcfb85e78027a93863b024df0c5336
+DIST firefox-141.0.2-ro.xpi 365432 BLAKE2B
b6b12aed71027611893e87d67c185e8395ea095cf8ade251cc417a87e4b2107e072fd998c6354d5bad24a88fc3cd70fa47c1d24cb19ec45bc790065972ebba03
SHA512
818334b6b575be8490df8ae9a99daa2cc3629b2f8199e3796296f34bcef1eeb8352cd44ba026d673d790d0591caa1791a277e5345a8f6641b6a457d51a5ae12a
+DIST firefox-141.0.2-ru.xpi 526339 BLAKE2B
35164c77aaf72b42df601bbdedadf2b457b02c8405a91f1f859efe91b63ce4ee2f12349a970fd25d82f7471ef6f761fe7002c4766e77f7a83af1c11a5085511e
SHA512
c564493fd5ee5f8b017db6e135e05ab29759c6ca6dbeed70e2903f343ef800f6cf9a8123c319d5699c9bb7aeea885fb06c4c899c29c19fe1e2e525dca2f753e0
+DIST firefox-141.0.2-sc.xpi 405235 BLAKE2B
d6704932252c5cab0559bb8465886103b71c38b02270a990c3a96f0b1d69ff7559a9bc88916a649d33162cae0e931053eeb8f25019f8b0e3f85b4fbd80292ca7
SHA512
7d1557c8c3df21b5159ea78f2ae7b8b77d555e748e93678f11f83f35e4cd807209969500b2db71df26ac60426d8f35535d7c84b5de807a5f862914b5bd83f004
+DIST firefox-141.0.2-sco.xpi 322275 BLAKE2B
683cb63572d38b6e1b18c023185bce29f5d530c4faebc46a99916d205de77ec2732e25ef9be82df9a072d1f21795d5f207979167b077cddf04eaadd594337797
SHA512
1040054ec8c28fa50f058ac2f00519d7cbf39109d8f6b9974ea0a0eb9dfe66c09bf42020dcaa4ab7bc0ad556c1a902f39c78c3e28335c27edadd88208ffe7186
+DIST firefox-141.0.2-si.xpi 410583 BLAKE2B
a2ba4948f1a2a0487a36c38acce0037edd7cf6615dc3f0e63faaab9195559fef4b7ca6dec9216696a42b1fe2ba3e1be86f756dd9d8b8e7ecb0b42daa99fd84ed
SHA512
77b740bfa3a90077db96e7b5c51ad57f0e57b33d4622b6980ea3e3c592cba3fb665cf180d32619b001ee822b388db9592fb5a5f1bf2e104fca2e8dc08da65c72
+DIST firefox-141.0.2-sk.xpi 469028 BLAKE2B
fb9453aae3e74282a0dd91158cf50d27a58b2814bce832dcd6c6d8de40a7b68779710021dfa3172b9edc5b17a8ddafe1f8236297b1638ce80212528107f6e171
SHA512
918e6903b8b72de7d0f1791dc99c9a834cf7e0e771eecaf1217be5ddbad6e03f6ceefb45b4581478dcca164e4c9c9b5cb4e5c9831ce467e23dcef784d03ec52e
+DIST firefox-141.0.2-skr.xpi 484676 BLAKE2B
d086570164a3dad45568ce79de6070085e086b5c852335ad6fd1ae8309308ef416fd4afbe18646333c2d3f84940d77a19ef44c9402118de1200c38d0077c180a
SHA512
153fbf505b771c76bd7977531b769f1aebf7cb2144fd7c4e0ae40af58d844d3e88e50b0eec1a62a0f8b37bc55fe5429b9a59d8237e5aee451dd3983098878e67
+DIST firefox-141.0.2-sl.xpi 442058 BLAKE2B
a33ec7d2ff4fc77e1916dd8be7d6c2289541787066f47b2892300cdf9646eb40afb3fa2c46710f9b607ea2fb5fda1fc86b4706467868a81fa8c7668cc80986ac
SHA512
e67f386cce775e0f5a1cb530629929095b00bc6a46786cb21b46fbaf7e578952da502ec39b92e14617f243afc32c7de0f9d68a4c77b4e1299cded76bd89bbd2a
+DIST firefox-141.0.2-son.xpi 273515 BLAKE2B
b96089e39febf1c107454771264e0af7747e47111ee1c05f2876d4a6aca5dba5ad9a6f5311af20c85df3226201f23cc676cad1308dcc10123f2a61a428974da9
SHA512
fc0f55cabb2b9ecf9ee28cd9275b030c54c842f98daf90194cd1e29d232f8c55bd966e0a160cd72348a4c57db6f7987206e38d7123c632d43b33b4d33ad58651
+DIST firefox-141.0.2-sq.xpi 452377 BLAKE2B
a39c04b235be952053cc81cc57c8b0b788dd8f85fdd0ec3fd2e90118305e0ceeec58258cdff0dcdd6abdf9b26453a59bc7994ad7e5ede6296ac19bf36897a8d9
SHA512
b3426266b228adc165316f466bd944e8b7b1596923336aee88aa04080b3c728a689439d3c51b7053c2255f275a097166ed93d1903aed6244f0724233a5b2565e
+DIST firefox-141.0.2-sr.xpi 449523 BLAKE2B
89e82f5eeee4b73751f6058fe2bc3be4dc3d841f6b9115c30187445eb09de752ccbe6556a91a1777fca458178996d4431c352fa865dfa9f9ad5e40620a911a77
SHA512
717f2d1139cde2c6e98ab1d3ef1b077b188dde93698ad0b9e83dc9bb347e0c869dff5982cf547d9000180573f4e6c761abe5a1a2b4fd93464046b9893527d6b0
+DIST firefox-141.0.2-sv-SE.xpi 437191 BLAKE2B
1e63c325d47a11c8773b23d0af66b844513e6fba6243df13cf006cd7b6fcb7815d2d002867ec5f58efa32f424665c90e94b955167d08d3857d09d8d7a153af97
SHA512
3bff0f95427073e0a2877c04e9a55ad51e6a990821bd2e81d8e946d59405595d55e833d73ca6fad2a579b42e6314b75355bf867bfd48c78c3c83328abe028848
+DIST firefox-141.0.2-szl.xpi 340854 BLAKE2B
c37de2c1927b765d806035f9c4860f6bdf5183ac22104af4c4e76c5a2b319bbf2255bffee165e49ee69d7aeb7dc15b80f13c638c3ba782e3094b1a4b153eb84b
SHA512
9b6b20a1356e5a58dd57235f5298c5dd4d5d8d94e4e9501f9e1329780a8218bea1344bae74808e9b4015d5074d8f76adec6b21c43c9d2a918d6c0610a5bb6fd1
+DIST firefox-141.0.2-ta.xpi 337956 BLAKE2B
489f910f64ee3572f55ededabee499e3540433841d2ac0338978cb9c22546a751c3dcd10e755545120af473457ffe2f9e1ce630372d6720d91a106637892bd3e
SHA512
c2868e54d352d1b89e9b33aff012a1faf11640a998abe7ec3fbf3d08ec619d1974f963dcfdf082bff9c97e61913015e9f4873543c23c317170c82f43b72779af
+DIST firefox-141.0.2-te.xpi 381440 BLAKE2B
4e5f96be0894e1828e5942cb1b531a8e2918085636b21efcfc0798124a1b1b82729574d4ac1355111555c119377736b4425a9e28c66ab5f302fd158019e844c6
SHA512
66097ca9a5e4cc50c0c9703923e6495e26c2cf1eb73b3525e8ba9244b48408394c6770a085afc713cac6d34ccb976cb24f10d5e144ffbd4b528482ff0576ea74
+DIST firefox-141.0.2-th.xpi 505679 BLAKE2B
4dadf74ee6d8d57b6956172b19a58d6716d84174f69071f8fd75d824c2e8561ade668a639efd3b240cd62b3629e8f809c05f21893d48c6a3bc7d9702c214953f
SHA512
5a451a68cf84975459c7c65f3b12dbd2fea9f02b88a2d042c2d82fd930492cf9b142b8dd86b600194981146c245e679bf96a3e59e90ee3772b9937253287123e
+DIST firefox-141.0.2-tl.xpi 355901 BLAKE2B
37987b9bc68c964339bb4e3c3ffe6353a0eee6ebc5bdf94a11460c30183caaf65bbb2fb204830435d01d6b08572f4be7079c4937628d3bf4e5676bba978819a1
SHA512
cc4750da3d5d24e2bb1fb1f6682c573a8848254733db7717f13cbc74d244114a9da3f89bcf273635176b8f762480e0caedb95987277ee90d241b9d5a5e65e230
+DIST firefox-141.0.2-tr.xpi 449803 BLAKE2B
87f8c348e9053058fbb331b52eae1a3704cafa5ac1e92951b55a5b9b6b46a66843eaa465842fc97adbe30e545da79195192aae700c02f4134010d2ef1a18b904
SHA512
7149aaf230bd905a655ba6c5d2c9c6c018890edbc32996840411dae9c6501a881abcda6d212aa62a56b8d76f67ab5376562d4e2a0506a7dba12cc6ee73cfdcf7
+DIST firefox-141.0.2-trs.xpi 321971 BLAKE2B
6174f37104a4085f8bbfe2d161be6cdde90299e21f57f055356129249d6e0cfae1c095f373b4cde6a53dd8a55a6087a66021290ed97778ed645b043e3f7e53cc
SHA512
7497c2d3b623fe4172986bf069276f15dad15c079d5a98147355c3a74ada0cdecafd28828a680d0a94a51ee01265a8924252a4f60d036d67e8a305b7782d9056
+DIST firefox-141.0.2-uk.xpi 517911 BLAKE2B
dce1788475f5263d1b3bcd4e0d50a3e174a5d974a0fe46e9acb5206938cae619be26b808617804847619512c5898a93fc4bf2808da38e999d113bdd93ca69c91
SHA512
1f6c419125c99052b639daa4e9d40afd35d20d97822fa6e6f50449f08fea2347a9283659d1d5cc74ec66a3e3271e2628e7a9621a8ea8a32f1d6106a10da3d294
+DIST firefox-141.0.2-ur.xpi 369703 BLAKE2B
a7e7fcd15d7ff73c417ead1a825dd608304599e794c9f10bca86bf6bca425f1fe865848521da9b2993a930eefe27f82e4efdf1457e0d0b783e8edfc9af59cab3
SHA512
cfb0b7fee59a3fd29bbe76e3e6ddc27c9feb029dde98b6c1e6152655629aedebc44d381d987061d220671e140bf68ed31dd409cd5f431b3b20a88165ea5be522
+DIST firefox-141.0.2-uz.xpi 303335 BLAKE2B
23cd29557b5aebdb3bdcd97091abeb659bca8cc3f8c983c0b3213d29b95286c0512cc95f26d537b9fb7b9c0d90326cefd5e9978af78c3d929829b54b702d3916
SHA512
4aac8ff21e5dcd2dae22ca5122d687110ee98f04edaa0d1b36bb21685a0a412f2518179c24415a55a232a4b3ecc9310380a4dbc8182065e1274d87a0c17a1bc7
+DIST firefox-141.0.2-vi.xpi 470049 BLAKE2B
ff19578419300d8c6057a5632cd0ca1de5923d0c83f437b3b07f825187c519528e1126d98887088acea3685ea54727c6b51b3263830c8c4445a6c265bace885b
SHA512
a6d829a4c72174b579f661913fe1a538a6e7d9cc9d7fbe680d1486245146fe67c64ad13603a64617cb691e3589ec4ed98de2cbfafcc610c7b5c653f9ff3072bc
+DIST firefox-141.0.2-xh.xpi 273178 BLAKE2B
afd40cb6ad428ea8cc570afe670e2553bfbc5d1ffb63b79894d31b327bd7fe233567311f7173f75f969a9f5cadde06fa1b90f04c19525798babdec1f228bad1a
SHA512
9e2844257beede45a4412cf959187cf96c1433e4e6d351cf50f7d65a319bd49a5cc50576835bfb47b7a515ef7753efdcb327d0ed568b338c994a67b061c17880
+DIST firefox-141.0.2-zh-CN.xpi 461739 BLAKE2B
fa08f29665c5510a9ca823054c64457a8fcbe232d00a6edebca321efbde9f5f0235cf4b4557da2a05a9a59158f6165eb4da1dd373931b0bdbc616e8458ccfabb
SHA512
81077b18e151b88be151de1e1e8ccfa1b10c6ce89790a8d890e02c81244fd8da11c0e9dee798258c547c1a52b69a799c8b34cb5be7cd00ee775246f2254a26c0
+DIST firefox-141.0.2-zh-TW.xpi 464763 BLAKE2B
5bd45b7d88e0f8622428121e7ae007d1390b95742d9602c895bd4fc30a1e54936bd8d71e27865d9e0f416c3da57a408c7e16ce134411fcf62b7629c470171003
SHA512
aea9061e444367761e75a1e9f8b657d31e0266723c92e676996af529964b3c5c7d378619b13b55a64de77917453e4860c0f617bb0abb73d34b0b8f9398a5064c
+DIST firefox-141.0.2.source.tar.xz 649165560 BLAKE2B
fb156b8812c92877eda189b77e9189081d9da144a4043abed1de6abdca49d76dd416c9206057ab94d6ee2fd1312748abb0cef60ffcc9ac17b88edf468f4a64b3
SHA512
6d1552bc64d915e784a5d560c8bb35a5308f35ebcd2552b027f80f950c7f0c627cca46b0796cf6e17d8f50c82e6f70a3ec11471ce0e058794f500b7b15e17b43
DIST firefox-141.0.source.tar.xz 640751136 BLAKE2B
c65fc01879474a0934343289430f8b6d4c38091b4d98dd0689e5f0c8782d6b200296da093ed6e9de4055d51b9bc6fb66164df70336ae5b2094096d717c9cf0bc
SHA512
bd6998bce927c5b5c186537bd41475fc9e3809829ceadb2277bb382d02d3780d2a5e5749487567a75b7c9e3726f97662c4ec28924bc491c5a3f21e2ec4828d63
DIST wasi-sdk-25.0-arm64-linux.tar.gz 115160800 BLAKE2B
1ce22aaea87d0720d40d46ebdd96508c8fb0593b53c4489022fd5a1a9afb043a26a6e162a992d73454f612f2b6ab01e17a99c189c0c8b8c2d2d68fd96fabee1b
SHA512
ef4eff22c1efec4dc5ab199d09d93ee0004f9fa67b32cac0030f8b6a40def10f714391cec8e803c200995dd8bfad3ebad9ec79b4195aa6b2ea61ea47a8b9e61f
DIST wasi-sdk-25.0-x86_64-linux.tar.gz 114450290 BLAKE2B
07618828d4c25d67421aa72d38fc49bbff9052b8ecfe0fa9f4207e71880e9c650f458567cfa5bd389d5f830fcfee89142a77d33c29e7bccd1da7ddba2bc47b95
SHA512
716acc4b737ad6f51c6b32c3423612c03df9a3165bde3d6e24df5c86779b8be9463f5a79e620f2fc49707275563a6c9710242caca27e1ad9dd2c69e8fce8a766
+DIST wasi-sdk-27.0-arm64-linux.tar.gz 124841089 BLAKE2B
7911b8d31e06e15a7e2001d81bcd27a583dd26d75ca0afc2a5bf31729bdba0a5786669dcc56dfd66d09c44862737dd3a62e8207262bcfb6e6845dfbe26216535
SHA512
6b6b5e109f2312634d67f0d7ab9690e0a7f69b21bf4894b86d584f7b1c340bd6696a5494ea8f96a759c691d023ac8c67ad7862112fc57106b86c2cef11f14f9d
+DIST wasi-sdk-27.0-x86_64-linux.tar.gz 124790235 BLAKE2B
768b9d8d66d79c000b11fa0710d1170e6a5f87c20ac8684151b44cce45e5cda83a4c3a4ad09042c4151e40cbf4b9ce0795f0cd5cad30be7b00972a88dc43f7a9
SHA512
a21a19996fb23fd1b522c328827edfeee74bd42fbbf88942b5d46d02f21e6fb2300a783c96915039c5545d2734010a94f3fe27b0751b9722988429669a2a6c9e
diff --git a/www-client/firefox/firefox-141.0.2.ebuild
b/www-client/firefox/firefox-141.0.2.ebuild
new file mode 100644
index 000000000000..c256dc3be0e8
--- /dev/null
+++ b/www-client/firefox/firefox-141.0.2.ebuild
@@ -0,0 +1,1403 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FIREFOX_PATCHSET="firefox-141-patches-02.tar.xz"
+FIREFOX_LOONG_PATCHSET="firefox-139-loong-patches-02.tar.xz"
+
+LLVM_COMPAT=( 19 20 )
+
+# This will also filter rust versions that don't match LLVM_COMPAT in the
non-clang path; this is fine.
+RUST_NEEDS_LLVM=1
+
+# If not building with clang we need at least rust 1.76
+RUST_MIN_VER=1.82.0
+
+PYTHON_COMPAT=( python3_{11..13} )
+PYTHON_REQ_USE="ncurses,sqlite,ssl"
+
+VIRTUALX_REQUIRED="manual"
+
+# Information about the bundled wasi toolchain from
+# https://github.com/WebAssembly/wasi-sdk/
+WASI_SDK_VER=27.0
+WASI_SDK_LLVM_VER=20
+
+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"
+ HOMEPAGE="https://www.mozilla.org/firefox
https://www.mozilla.org/firefox/enterprise/"
+ SLOT="esr"
+else
+ HOMEPAGE="https://www.mozilla.org/firefox"
+ SLOT="rapid"
+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 check-reqs desktop flag-o-matic gnome2-utils linux-info llvm-r1
multiprocessing \
+ optfeature pax-utils python-any-r1 readme.gentoo-r1 rust
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}
+)
+
+DESCRIPTION="Firefox Web Browser"
+SRC_URI="${MOZ_SRC_BASE_URI}/source/${MOZ_P}.source.tar.xz ->
${MOZ_P_DISTFILES}.source.tar.xz
+ ${PATCH_URIS[@]}
+ loong? (
+
https://dev.gentoo.org/~xen0n/distfiles/www-client/${MOZ_PN}/${FIREFOX_LOONG_PATCHSET}
+ )
+ wasm-sandbox? (
+ amd64? (
https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-${WASI_SDK_VER/.*/}/wasi-sdk-${WASI_SDK_VER}-x86_64-linux.tar.gz
)
+ arm64? (
https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-${WASI_SDK_VER/.*/}/wasi-sdk-${WASI_SDK_VER}-arm64-linux.tar.gz
)
+ )"
+
+S="${WORKDIR}/${PN}-${PV%_*}"
+LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
+KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
+
+IUSE="+clang dbus debug eme-free hardened hwaccel jack libproxy pgo pulseaudio
selinux sndio"
+IUSE+=" +system-av1 +system-harfbuzz +system-icu +system-jpeg +system-libevent
+system-libvpx"
+IUSE+=" system-pipewire system-png +system-webp test valgrind wayland wifi +X"
+
+# Firefox-only IUSE
+IUSE+=" +gmp-autoupdate gnome-shell jpegxl +jumbo-build openh264 +telemetry
wasm-sandbox"
+
+REQUIRED_USE="|| ( X wayland )
+ debug? ( !system-av1 )
+ pgo? ( jumbo-build )
+ wayland? ( dbus )
+ wifi? ( dbus )
+"
+
+RESTRICT="!test? ( test )"
+
+FF_ONLY_DEPEND="!www-client/firefox:0
+ selinux? ( sec-policy/selinux-mozilla )"
+BDEPEND="${PYTHON_DEPS}
+ $(llvm_gen_dep '
+ llvm-core/clang:${LLVM_SLOT}
+ llvm-core/llvm:${LLVM_SLOT}
+ clang? (
+ llvm-core/lld:${LLVM_SLOT}
+ pgo? (
llvm-runtimes/compiler-rt-sanitizers:${LLVM_SLOT}[profile] )
+ )
+ wasm-sandbox? ( llvm-core/lld:${LLVM_SLOT} )
+ ')
+ app-alternatives/awk
+ app-arch/unzip
+ app-arch/zip
+ >=dev-util/cbindgen-0.27.0
+ net-libs/nodejs
+ virtual/pkgconfig
+ 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-wm/tinywl
+ <gui-libs/wlroots-0.17.3[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.113
+ >=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:2
+ x11-libs/libdrm
+ 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 )
+ system-av1? (
+ >=media-libs/dav1d-1.0.0:=
+ >=media-libs/libaom-1.0.0:=
+ )
+ system-harfbuzz? (
+ >=media-libs/harfbuzz-2.8.1:0=
+ !wasm-sandbox? ( >=media-gfx/graphite2-1.3.13 )
+ )
+ system-icu? ( >=dev-libs/icu-76.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-pipewire? ( >=media-video/pipewire-1.4.7-r2:= )
+ system-png? ( >=media-libs/libpng-1.6.45:0=[apng] )
+ system-webp? ( >=media-libs/libwebp-1.1.0:0= )
+ valgrind? ( dev-debug/valgrind )
+ wayland? (
+ >=media-libs/libepoxy-1.5.10-r1
+ x11-libs/gtk+:3[wayland]
+ )
+ wifi? (
+ kernel_linux? (
+ || (
+ net-misc/networkmanager
+ net-misc/connman[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/libXrandr
+ 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
+ )"
+
+# ESR and rapid dependencies.
+if [[ -n ${MOZ_ESR} ]] ; then
+ RDEPEND+=" !www-client/firefox:rapid"
+else
+ RDEPEND+=" !www-client/firefox:esr"
+fi
+
+# 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 "llvm-core/clang:${LLVM_SLOT}" ; then
+ einfo "llvm-core/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 "llvm-core/lld:${LLVM_SLOT}" ; then
+ einfo "llvm-core/lld:${LLVM_SLOT} is missing! Cannot
use LLVM slot ${LLVM_SLOT} ..." >&2
+ return 1
+ fi
+ fi
+
+ if use pgo ; then
+ if ! has_version -b
"=llvm-runtimes/compiler-rt-sanitizers-${LLVM_SLOT}*[profile]" ; then
+ einfo
"=llvm-runtimes/compiler-rt-sanitizers-${LLVM_SLOT}*[profile] is missing!" >&2
+ einfo "Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
+ return 1
+ 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+=( skr )
+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}"
+}
+
+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'
+
+ 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
+ # Ensure we have enough disk space to compile
+ if use pgo || use debug ; then
+ CHECKREQS_DISK_BUILD="14300M"
+ elif tc-is-lto ; then
+ CHECKREQS_DISK_BUILD="10600M"
+ else
+ CHECKREQS_DISK_BUILD="7400M"
+ fi
+
+ check-reqs_pkg_pretend
+ fi
+}
+
+pkg_setup() {
+
+ # Get LTO from environment; export after this phase for use in
src_configure (etc)
+ use_lto=no
+
+ if [[ ${MERGE_TYPE} != binary ]] ; then
+
+ if tc-is-lto; then
+ use_lto=yes
+ # LTO is handled via configure
+ filter-lto
+ fi
+
+ if use pgo ; then
+ if ! has userpriv ${FEATURES} ; then
+ eerror "Building ${PN} with USE=pgo and
FEATURES=-userpriv is not supported!"
+ fi
+ fi
+
+ if [[ ${use_lto} = yes ]]; then
+ # -Werror=lto-type-mismatch -Werror=odr are going to
fail with GCC,
+ # bmo#1516758, bgo#942288
+ filter-flags -Werror=lto-type-mismatch -Werror=odr
+ fi
+
+ # Ensure we have enough disk space to compile
+ if use pgo || use debug ; then
+ CHECKREQS_DISK_BUILD="14300M"
+ elif [[ ${use_lto} == "yes" ]] ; then
+ CHECKREQS_DISK_BUILD="10600M"
+ else
+ CHECKREQS_DISK_BUILD="7400M"
+ fi
+
+ check-reqs_pkg_setup
+ llvm-r1_pkg_setup
+ rust_pkg_setup
+ 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
+
+ # Clear tons of conditions, since PGO is
hardware-dependant.
+ addpredict /dev
+ 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
+
+ export use_lto
+
+ 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} == "yes" ]]; then
+ rm -v
"${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch || die
+ fi
+
+ # 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"
+ use loong && eapply "${WORKDIR}/firefox-loong-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"
+ elif use arm64 ; then
+ export RUST_TARGET="aarch64-unknown-linux-musl"
+ elif use loong; then
+ # Only the LP64D ABI of LoongArch64 is actively
supported among
+ # the wider Linux ecosystem, so the assumption is safe.
+ export RUST_TARGET="loongarch64-unknown-linux-musl"
+ elif use ppc64 ; then
+ export RUST_TARGET="powerpc64le-unknown-linux-musl"
+ elif use riscv ; then
+ # We can pretty safely rule out any 32-bit riscvs, but
64-bit riscvs also have tons of
+ # different ABIs available.
riscv64gc-unknown-linux-musl seems to be the best working
+ # guess right now though.
+ elog "riscv detected, forcing a riscv64 target for now."
+ export RUST_TARGET="riscv64gc-unknown-linux-musl"
+ else
+ die "Unknown musl chost, please post a new bug with
your rustc -vV along with emerge --info"
+ fi
+ fi
+
+ # Pre-built wasm-sandbox path manipulation.
+ if use wasm-sandbox ; then
+ if use amd64 ; then
+ export wasi_arch="x86_64"
+ elif use arm64 ; then
+ export wasi_arch="arm64"
+ else
+ die "wasm-sandbox enabled on unknown/unsupported arch!"
+ fi
+
+ sed -i \
+ -e "s:%%PORTAGE_WORKDIR%%:${WORKDIR}:" \
+ -e "s:%%WASI_ARCH%%:${wasi_arch}:" \
+ -e "s:%%WASI_SDK_VER%%:${WASI_SDK_VER}:" \
+ -e "s:%%WASI_SDK_LLVM_VER%%:${WASI_SDK_LLVM_VER}:" \
+ toolkit/moz.configure || die "Failed to update
wasi-related paths."
+ fi
+
+ # Make LTO respect MAKEOPTS
+ sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
+ "${S}"/build/moz.configure/lto-pgo.configure || die "Failed
sedding multiprocessing.cpu_count"
+
+ sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
+ "${S}"/third_party/chromium/build/toolchain/get_cpu_count.py ||
die "Failed sedding multiprocessing.cpu_count"
+
+ sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
+ "${S}"/third_party/python/gyp/pylib/gyp/input.py || die "Failed
sedding multiprocessing.cpu_count"
+
+ # 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
+
+ # 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-geckodriver \
+ --disable-install-strip \
+ --disable-legacy-profile-creation \
+ --disable-parental-controls \
+ --disable-strip \
+ --disable-updater \
+ --disable-wmf \
+ --enable-negotiateauth \
+ --enable-new-pass-manager \
+ --enable-official-branding \
+ --enable-packed-relative-relocs \
+ --enable-release \
+ --enable-system-policies \
+ --host="${CBUILD:-${CHOST}}" \
+ --libdir="${EPREFIX}/usr/$(get_libdir)" \
+ --prefix="${EPREFIX}/usr" \
+ --target="${CHOST}" \
+ --without-ccache \
+ --with-intl-api \
+ --with-libclang-path="$(llvm-config --libdir)" \
+ --with-system-ffi \
+ --with-system-gbm \
+ --with-system-libdrm \
+ --with-system-nspr \
+ --with-system-nss \
+ --with-system-pixman \
+ --with-system-zlib \
+ --with-toolchain-prefix="${CHOST}-" \
+ --with-unsigned-addon-scopes=app,system
+
+ # Set update channel
+ local update_channel=release
+ [[ -n ${MOZ_ESR} ]] && update_channel=esr
+ mozconfig_add_options_ac '' --enable-update-channel=${update_channel}
+
+ # Whitelist to allow unkeyworded arches to build with
"--disable-rust-simd" by default.
+ if use amd64 || use arm64 || use ppc64 || use loong || use riscv ; 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 loong || 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
+
+ # riscv-related options, bgo#947337, bgo#947338
+ if use riscv ; then
+ mozconfig_add_options_ac 'Disable webrtc for RISC-V'
--disable-webrtc
+ fi
+
+ if [[ -s "${S}/api-google.key" ]] ; then
+ local key_origin="Gentoo default"
+ if [[ $(cat "${S}/api-google.key" | md5sum | awk '{ print $1
}') != 709560c02f94b41f9ad2c49207be6c54 ]] ; then
+ key_origin="User value"
+ fi
+
+ mozconfig_add_options_ac "${key_origin}" \
+
--with-google-safebrowsing-api-keyfile="${S}/api-google.key"
+ else
+ einfo "Building without Google API key ..."
+ fi
+
+ if [[ -s "${S}/api-location.key" ]] ; then
+ local key_origin="Gentoo default"
+ if [[ $(cat "${S}/api-location.key" | md5sum | awk '{ print $1
}') != ffb7895e35dedf832eb1c5d420ac7420 ]] ; then
+ key_origin="User value"
+ fi
+
+ mozconfig_add_options_ac "${key_origin}" \
+
--with-google-location-service-api-keyfile="${S}/api-location.key"
+ else
+ einfo "Building without Location API key ..."
+ fi
+
+ if [[ -s "${S}/api-mozilla.key" ]] ; then
+ local key_origin="Gentoo default"
+ if [[ $(cat "${S}/api-mozilla.key" | md5sum | awk '{ print $1
}') != 3927726e9442a8e8fa0e46ccc39caa27 ]] ; then
+ key_origin="User value"
+ fi
+
+ mozconfig_add_options_ac "${key_origin}" \
+ --with-mozilla-api-keyfile="${S}/api-mozilla.key"
+ else
+ einfo "Building without Mozilla API key ..."
+ fi
+
+ mozconfig_use_with system-av1
+ mozconfig_use_with system-harfbuzz
+ mozconfig_use_with system-icu
+ mozconfig_use_with system-jpeg
+ mozconfig_use_with system-libevent
+ mozconfig_use_with system-libvpx
+ mozconfig_use_with system-pipewire
+ 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
+
+ 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
+
+ # wasm-sandbox
+ # Since graphite2 is one of the sandboxed libraries, system-graphite2
obviously can't work with +wasm-sandbox.
+ if use wasm-sandbox ; then
+ mozconfig_add_options_ac '+wasm-sandbox'
--with-wasi-sysroot="${WORKDIR}/wasi-sdk-${WASI_SDK_VER}-${wasi_arch}-linux/share/wasi-sysroot/"
+ else
+ mozconfig_add_options_ac 'no wasm-sandbox'
--without-wasm-sandboxed-libraries
+ mozconfig_use_with system-harfbuzz system-graphite2
+ fi
+
+ ! use jpegxl && mozconfig_add_options_ac '-jpegxl' --disable-jxl
+
+ if [[ ${use_lto} == "yes" ]] ; then
+ if use clang ; then
+ # Upstream only supports lld or mold when using clang.
+ if tc-ld-is-mold ; then
+ # mold expects the -flto line from *FLAGS
configuration, bgo#923119
+ append-ldflags "-flto=thin"
+ 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
+
+ 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
+
+ # PGO was moved outside lto block to allow building pgo without lto.
+ if use pgo ; then
+ mozconfig_add_options_ac '+pgo' MOZ_PGO=1
+
+ # Avoid compressing just-built instrumented Firefox with
+ # high levels of compression. Just use tar as a container
+ # to save >=10 minutes.
+ export MOZ_PKG_FORMAT=tar
+
+ if use clang ; then
+ # Used in build/pgo/profileserver.py
+ export LLVM_PROFDATA="llvm-profdata"
+ fi
+ fi
+
+ mozconfig_use_enable debug
+ if use debug ; then
+ mozconfig_add_options_ac '+debug' --disable-optimize
+ mozconfig_add_options_ac '+debug' --enable-jemalloc
+ 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*'
+
+ # elf-hack
+ # Filter "-z,pack-relative-relocs" and let the build system handle it
instead.
+ if use amd64 || use x86 ; then
+ filter-flags "-z,pack-relative-relocs"
+
+ 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
+ mozconfig_add_options_ac 'relr elf-hack'
--enable-elf-hack=relr
+ fi
+ elif use loong || use ppc64 || use riscv ; then
+ # '--disable-elf-hack' is not recognized on loong/ppc64/riscv,
+ # see bgo #917049, #930046
+ :;
+ else
+ mozconfig_add_options_ac 'disable elf-hack on non-supported
arches' --disable-elf-hack
+ fi
+
+ 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
+
+ # System-av1 fix
+ use system-av1 && append-ldflags "-Wl,--undefined-version"
+
+ # 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
+
+ export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE="none"
+
+ 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
+
+ mozconfig_use_enable test tests
+
+ # 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 [[ ${use_lto} == "yes" ]] && tc-ld-is-mold ; 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_test() {
+ #
https://firefox-source-docs.mozilla.org/testing/automated-testing/index.html
+ local -a failures=()
+
+ # Some tests respect this
+ local -x MOZ_HEADLESS=1
+
+ # Check testing/mach_commands.py
+ einfo "Testing with cppunittest ..."
+ ./mach cppunittest
+ local ret=$?
+ if [[ ${ret} -ne 0 ]]; then
+ eerror "Test suite cppunittest failed with error code ${ret}"
+ failures+=( cppunittest )
+ fi
+
+ if [[ ${#failures} -eq 0 ]]; then
+ einfo "Test suites succeeded"
+ else
+ die "Test suites failed: ${failures[@]}"
+ fi
+}
+
+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 llvm-core/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 (122.0
supports all platforms, bmo#1865969)
+ exeinto "${MOZILLA_FIVE_HOME}"
+ doexe "${BUILD_DIR}"/dist/bin/vaapitest
+
+ # 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
+
+ # Add telemetry config prefs, just in case something happens in future
and telemetry build
+ # options stop working.
+ if ! use telemetry ; then
+ cat "${FILESDIR}"/gentoo-telemetry-prefs.js >>"${GENTOO_PREFS}"
|| die "failed to set telemetry prefs"
+ fi
+
+ # Install language packs
+ local langpacks=( $(find "${WORKDIR}/language_packs" -type f -name
'*.xpi') )
+ if [[ -n "${langpacks}" ]] ; then
+ moz_install_xpi "${MOZILLA_FIVE_HOME}/distribution/extensions"
"${langpacks[@]}"
+ fi
+
+ # Install icons
+ local icon_srcdir="${S}/browser/branding/official"
+
+ # Prefer the upstream svg file they use when packaging flatpak so it's
always up-to-date.
+ insinto /usr/share/icons/hicolor/symbolic/apps
+ newins
"${S}"/browser/installer/linux/app/flatpak/files/share/icons/hicolor/symbolic/apps/org.mozilla.firefox-symbolic.svg
firefox-symbolic.svg
+ dosym -r /usr/share/icons/hicolor/symbolic/apps/firefox-symbolic.svg
/usr/share/icons/hicolor/symbolic/apps/org.mozilla.firefox-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 exec_command="${PN}"
+ local icon="${PN}"
+ local use_wayland="false"
+
+ if [[ -n ${MOZ_ESR} ]] ; then
+ local desktop_filename="${PN}-esr.desktop"
+ else
+ local desktop_filename="${PN}.desktop"
+ fi
+
+ 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
+
+ if use gnome-shell ; then
+ # Install search provider for Gnome
+ insinto /usr/share/gnome-shell/search-providers/
+ doins
browser/components/shell/search-provider-files/org.mozilla.firefox.search-provider.ini
+
+ insinto /usr/share/dbus-1/services/
+ doins
browser/components/shell/search-provider-files/org.mozilla.firefox.SearchProvider.service
+
+ # Toggle between rapid and esr desktop file names
+ if [[ -n ${MOZ_ESR} ]] ; then
+ sed -e "s/firefox.desktop/${desktop_filename}/g" \
+ -i
"${ED}/usr/share/gnome-shell/search-providers/org.mozilla.firefox.search-provider.ini"
||
+ die "Failed to sed
org.mozilla.firefox.search-provider.ini file."
+ fi
+
+ # Make the dbus service aware of a previous session, bgo#939196
+ sed -e \
+
"s/Exec=\/usr\/bin\/firefox/Exec=\/usr\/$(get_libdir)\/firefox\/firefox
--dbus-service \/usr\/bin\/firefox/g" \
+ -i
"${ED}/usr/share/dbus-1/services/org.mozilla.firefox.SearchProvider.service" ||
+ die "Failed to sed
org.mozilla.firefox.SearchProvider.service dbus file"
+
+ # Update prefs to enable Gnome search provider
+ cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to enable
gnome-search-provider via prefs"
+ pref("browser.gnome-search-provider.enabled", true);
+ EOF
+ fi
+
+ # 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:@DEFAULT_WAYLAND@:${use_wayland}:" \
+ "${ED}/usr/bin/${PN}" || die
+
+ readme.gentoo_create_doc
+}
+
+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
+
+ # 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
+ optfeature "screencasting with pipewire" sys-apps/xdg-desktop-portal
+ 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
+}