commit:     bb43be62dba2ad64ac7c443a6f84cc76dfba0b4f
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Fri May 30 09:02:39 2025 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri May 30 09:02:39 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb43be62

www-client/firefox: add 139.0.1

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 www-client/firefox/Manifest               |  101 +++
 www-client/firefox/firefox-139.0.1.ebuild | 1399 +++++++++++++++++++++++++++++
 2 files changed, 1500 insertions(+)

diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest
index f1ff058a43ee..c7c70d49d78a 100644
--- a/www-client/firefox/Manifest
+++ b/www-client/firefox/Manifest
@@ -406,6 +406,107 @@ DIST firefox-139.0-vi.xpi 473298 BLAKE2B 
1afeb90da285ad5bf657ad0c650b4015899ddd6
 DIST firefox-139.0-xh.xpi 276209 BLAKE2B 
335f347f5771877ad65d972df27b7aac64cbd39db6c0f0c2e5dc9848b1acf06e94e22c0ec3159e4470eda6fc5c6065f3c12bf86bdf39dd44310fad6c2f64d563
 SHA512 
f76892da4846770b43dd6ebfc047f536adb0a92b5a9bcbb14ae1c456a2291871eb823115a3f71e999e63088cfad1474a334574a925a3edf36130db9090c2f1e3
 DIST firefox-139.0-zh-CN.xpi 464971 BLAKE2B 
a880f2062b6ad1f93292b14fdb8451e5b7fa5ce81d3151ad61fe7e80842d9a3177509de718838a9a1dadec5125b28fa673dae8a87c90bba4aca3a259340d544a
 SHA512 
3fcee19114e6478d4e2e469c86484863cfbaf81059ddaba81a48631c666d3468ce9f62449f7650ae0094519a11543dc52a26e44e87a052054223905476e6563d
 DIST firefox-139.0-zh-TW.xpi 468022 BLAKE2B 
fe35b36cc2463f76f2cd6b87d809b26bf6805cfdd9d7494c033f3aa3a76c39399afa15d1ac93622ce41ac076b22a284710c10c8c38ba0e588311d695898dc91a
 SHA512 
df903d57247b37801382e8f3c8456d955db77ed9d49d91f67ee414d506ebab5275c607ad9376f2e967d079595d134187507f24f3634577f02c188bb8b3d28769
+DIST firefox-139.0.1-ach.xpi 297648 BLAKE2B 
c740b9222d8d1d6e4bb6f6bbfb651aabde7c715056090079c051cf08c4b07e88f02ee4255eb203371f3180bcb9b8ee02fde0f2e85bee62cf298097da679bbc0f
 SHA512 
f341784fda067fc51b0f9f3d1098873159c91524b1b633c6277fcaf3ce9b5d763a1a2142a8f49700a9dcb059a74e7b6571aed25a4cfeb1139c86d6d7c769e35f
+DIST firefox-139.0.1-af.xpi 269823 BLAKE2B 
eb16254b96e71ff3bbef1d6eb5aa047fe0aa993d3d29257a1d7b19296cad548e54e0ef88df28e6e713f3da84e494912d4552067cf05b9a7b760b5996a95796e8
 SHA512 
d601f4d1626b1cc87b50bb4e7096b173ce64b5a464a1b3738823b521de800f7fc938223e1559e038c78b64b00b659a995d9ed97db5b60a6494285ef6fc6db2e8
+DIST firefox-139.0.1-an.xpi 335648 BLAKE2B 
ef254e4491db20fa1706ca3e1ac531ad4a3908fea5666739207c4ad8f81f301b27ce887678981b836d3a527c52ebf1eb80f02f722dd8d1cc75f2ed2239569223
 SHA512 
b8ef39aefb210abb7bc8de2d5cfa700ab0302fefa58214becd8802a6d6a449b2b69296eaff315245d4d21db2aa5532d78cee01d419b94e69f269d8d51f5d3014
+DIST firefox-139.0.1-ar.xpi 444097 BLAKE2B 
53527927f8d3dad21da2c4f2c17bf73e7bd1da90508985785a7a40f4d00448361e7f937f309413ef7082f307c91355731856ef517d190bf618eab7710f4cad02
 SHA512 
38aa37c14eabb7bcc44203fdb88b82f80a5be7dbcd95069701cd82a79d7a5a42be6d5a834cb1fce5b2e90ca075dc4c1d66732b3d2bee0da1b904a75abd0139bd
+DIST firefox-139.0.1-ast.xpi 316642 BLAKE2B 
cd75b53d28df7d1de1868a7d9857759ee5bbbb69810492d8514920bdd41f033f474b8a9c875ee03481f8970e9f9068e3fcb70e1f74c894824912b64f5e75c0a7
 SHA512 
4e945d849526a633aba3c7c96697bda6be310c07d45924af611104440afa5f040ef801c0fb44ca9accb60b157b2a1c09ca4032e702ae81c79cc6bb2756b9dcda
+DIST firefox-139.0.1-az.xpi 321620 BLAKE2B 
bb6df4a7fd60cb90dee2f51128d30d0cb93bdf0b2a643ceb9ee33de483001f71db41798e4dd89c14494b9bd652a33c8912f1b589af7a51b5b45f6d5eac5536e1
 SHA512 
68a8abba77310105449e21a86b976712914840cf3385982ad034c4a5e53b8af37a65997a0ac47b33ba95322e5b0eeec08ad0f31a2393da67b922d734f7258a8c
+DIST firefox-139.0.1-be.xpi 525085 BLAKE2B 
a7bea5aeaa085a0b5f57226a14ff1b11edda5c5ed8acc22d280574349fabb1c49a83decf0db607aefb1f50fdf19b02d21bd71d356e5720812f7f05b8a9c80a27
 SHA512 
82b8f46f09123f6143bf397ac6c91e656865594fd979a9b600c81ab77699c57fbc62c1b94871707d254df0f5f2c2850513724a685fb54067319ef87694ce10c1
+DIST firefox-139.0.1-bg.xpi 454366 BLAKE2B 
cd24f6ea7bdfffaf63c4e0b83ff073b6fc1a7d71133e94fb37f7a26832f38a530742434505b9f2e6d2aa17b1038e6279ddf7baaca99be23b7ed8474ab188df60
 SHA512 
4a80d483a24f4c8b5faecc5576275ddde7d8b24efe4325ea34a5e6607241c0572270fcbfc34eb2fd1c1122ec1e07511b53771e42a8b9cd2fa058dcc63036595c
+DIST firefox-139.0.1-bn.xpi 415411 BLAKE2B 
4ff339e55c99d7d4f6e6d47509198f0f781e8213a931b9694fd4a42669daaf5d2448bdb1652a7964e88f308f51fad9a2801d06ec2ed5faf6c01f379a2e3723b3
 SHA512 
5a270061da6d29952cfe1c47e340363c6a2345b0891cb6b373c34999e4b69c7783ceeb0f2163164044ac99d44cfad44fc79617613049229782d723e152fa3d4f
+DIST firefox-139.0.1-br.xpi 398170 BLAKE2B 
008f3c794686c2318a46a6f1d8bb34808ef3ea627c19aaf9f6e799a5ab4804718dadb22535534aeede2079cf169046434b5257e6e88d2b8a55aa3b9527a274d8
 SHA512 
8781838ea14a9c13c96742e7721b0a89c5b66c749ef77a30b8619aeb309c6948f51e49c5a9d523864811851da466516c355fa98b84eedd67421a2993cc07a1c4
+DIST firefox-139.0.1-bs.xpi 366756 BLAKE2B 
503eb994b824d8700cde252d5b982a212d5ec0882eeb1918faa7a00829fe344a85bddb24214a73326932aa67dc6300c76cbf8f1ba3afa8c026d545221713c37d
 SHA512 
1833caf47693131d27bf108718efdcebaa9267f3abb43f510dc742b97fd2cdd3d28f90a57e66f132cba17f3033d2f25fb9a9c596aa1c086e4de0d2bb6200aa59
+DIST firefox-139.0.1-ca-valencia.xpi 361696 BLAKE2B 
bba3e998cdcce4f3fac97aa40f958ae1cf5a9a35589401de8a6fe67a5b4831d1c43078c7e7d8892cfb88f3d4f59a24a2e302664d92c2212e4672e67b202bf177
 SHA512 
629e26078dbfd03388b0f7a858aeb476c1b6a1a47d48c20371ad8114c003b1dfdec01b2c4c2787e49729597591cabf737cde34f7c699aa47aee19501828880fc
+DIST firefox-139.0.1-ca.xpi 404031 BLAKE2B 
bd90e0cd8ab57d341e8d9a9df5f1589f13eebad2f772be6d388c1fc79705f52371aeeb0274da54b189100a340b47595235518d688f8818ce0e13131831e765d7
 SHA512 
964ea197b0d5d13d0310d8bb4a6e98bd6b469db5fa3842d1094e35a87e9952bb5134e86eb697049eed7ffe5deb2a29eb26a5ba8c0710c94258a5ed9d7ac31612
+DIST firefox-139.0.1-cak.xpi 394718 BLAKE2B 
9a6dcff0685c88a2c388bc60cd85b5751cbd979b43c6c192b501408094c661afae089f319d9ba16cb9ad77b362b92b39849d2cde11ff4a03d7c28084ac8d084f
 SHA512 
f804036776336b2165826e755262f83c137d29eb3c04023a2b33660086e90dd3f1076a1f48a06708fe73f55eb0fe9830c6f994bfda7b4ca78e3ed0a9eea32a94
+DIST firefox-139.0.1-cs.xpi 479916 BLAKE2B 
b9b2e6cf66a3e0a3a0c7d84e75bc80622c7225cad981454a9bfb808a04036cd47f06a5378ded22f9827868b41d9f1bd6dbba5f5e11656102531b135ec1bec65d
 SHA512 
586fcc84eba564129778f1ace040d74cef3561b5a0fa1235751888275d1c43b1c51c172adb5b2fed5f805a40623fbb627fecb45802e94b783505dc3a50d7329c
+DIST firefox-139.0.1-cy.xpi 446086 BLAKE2B 
19c5a0252a7bbf928f25a472f5c90ec620fa1898374e0d9fea2683f11bcd5baaded46db044261853597f6fd5c78508e22aef6b650fbed2141a74aa94110c68d7
 SHA512 
6ed74d321e2f22d27f660f425052693bd489af34159dd2647dbb3fd417e6e3aafbb18d1bdd5d03c78e0bf93a6c1928b38bff2ef3ba768e46b556304e58486a7b
+DIST firefox-139.0.1-da.xpi 435225 BLAKE2B 
171041ff296e792c4516c60a2ea4e0185eb85f37e4226e4624561e160f9b650b43d97b9555cb4a6a86f680bf872a1d9d2a1179789b2805be9743a29ff93a3ed5
 SHA512 
43cedf93e9d0afc441ef511f3193287b7a7375e0d3bc5817e8056c8710a56a25632e4d7e420badb7e91768f46ba2849f97011409075df70b08d5b613561a19ea
+DIST firefox-139.0.1-de.xpi 456789 BLAKE2B 
a026e2ee36a396c643e4fd9c6878fa7d00fdc25d51e9a915bafb79a3f9d62a77ddb882d01174d054d209ae1e2679e89ef0065ea26e46244666bdd1db0a4ba13a
 SHA512 
6f7232d7e2d2a6200e6329d18945e3dae7fa79b2be2d3bea72ffbf00bb8039aa60ecfdb60cecf650c8478329859e2de54225189afcd974ec78b2bc46af4e968a
+DIST firefox-139.0.1-dsb.xpi 470274 BLAKE2B 
425a5e4ba2d56e0a5d474df3aa908b5534099279305a5c6a579545c81bd17aa1f41b13139f22abfdcf327cdce42402a468669131775c7e98162eef85b73fc732
 SHA512 
3e5af8a1f20fe62d1ddce51c769612b55e936bdf0ba2fe3f88de13c8404d594cb723157066226ed4aee1681b5e248b158e17a78bbbb80077f2e7619315ae0a8a
+DIST firefox-139.0.1-el.xpi 541199 BLAKE2B 
e0eb54a8393f6653b745a173168cc4f34b59de71f4e2a92de17429f1ae272c5bc028627b0c509982a9f94abd01c29afe24a17af1a11f2a892fcd4bce89e07443
 SHA512 
22310ef88ad31c5cb3f5d01f9e80081f3ba50589a75400d81860d67162b4de4dc76f85960cb762b4d8d70c94cfeece7f6fd229c2857f2c986b238aeff45e73e8
+DIST firefox-139.0.1-en-CA.xpi 413603 BLAKE2B 
e5dc9c86506dec20f43c0b0342677e5d6d9f455f58e1fc0bdea6722008bc7f1a4c1c01a2bc862e3b707f0f8d3970a24b009949e6accab063b50218f2b6e76633
 SHA512 
dd2de7c87f7374f0ed08e9e34bf45e08345a937e9362cf12db00805b6d1ce8b152db776ef9d8e4aed075b44b0d0f4d2cd0b1f5661a5d02a09f7440e6df46c700
+DIST firefox-139.0.1-en-GB.xpi 415493 BLAKE2B 
f0e7b2949a103c212fc50612a09cc95c1ef43b6d3eb9e72e7bdd1e071dc63cebc3223d42b087cc43d01392f38247134b4ae717411cac1f45519cc320b8924d98
 SHA512 
ad76eb3bf3b32fad0f618be6f9ceaed1bb31a33e3a8a1faede317e3352e85ade9208da75adc8cbb6d12cf96b23dc2e936f539d25d48147504238aedc78cd1bbe
+DIST firefox-139.0.1-eo.xpi 437564 BLAKE2B 
4dc7818fe372e6d287c35b389ff8432e9ea715d0aa276a43a7f58626b2b8569aeb073eb800dc49a2f853ea79dd803b0987410e4014d7d062dc46ad25e38c95c5
 SHA512 
df633ef9740d8db25f7bc21bf9392c63748b006b424de8fdb1d5bb55b4125bf4bf15e8f8952bed00203b16bb7469c84f6724a5ec7afcde42022d2404c865b02b
+DIST firefox-139.0.1-es-AR.xpi 449706 BLAKE2B 
afe20dfd21765bbbc31648975b12f334fa07ebc3ed0eecb0f149788aff16881089ff2db1b46360e0aeaa393fd79691f9a2cff301fa4dad998103b18d911f9dee
 SHA512 
15b0b55ac6ff34a03fbb3bebf8e8ca358b8320fa4d1804ed3515df5422b385bd3ed100add942a7fe5f56a0d7f736a4557f373ffbfc8ff525500c7b4a8514104a
+DIST firefox-139.0.1-es-CL.xpi 450462 BLAKE2B 
3cb3dba049337e9e5d2b82d10b1cefd15a51fa451a6568b9cd17c6a303e6d28f23a30c5ec662c1fb3b241147944717558fd0eda35bac9ea8b86793a78afaae03
 SHA512 
a1d437ecc21bd4905fb617bfccfb92b839e414120c56a172cbee89d5e3a5368b67fb542220888dba8ebdd374674a871e1c48c1e2f580c1116f8c9c5eb5fe67dc
+DIST firefox-139.0.1-es-ES.xpi 451250 BLAKE2B 
502697eb88ee6c28c8ca8dc22952ea2cbcc53d5bd5915999c614913f36c0cae5f43445d9b92637b4488d54b2577608f1ce0932f7a5dd5a7da09d18a1cbb5c9d8
 SHA512 
fbc3d542b8e2926418d745ca2427d5dc6e931e547997f84ceeb0bcca0f25755f543f21d6e39df486558bb4852d72cc64c28ed9dd348dd8e568fd34d033b51212
+DIST firefox-139.0.1-es-MX.xpi 444383 BLAKE2B 
513cf0323f7ef9ccbc15e7b1d91e0c9dc5c0a4fa5d986057321fe65bdb7ae50276f848faa3a8d1c72771a14541942cf984696f2b527e1deda8b9f24e550747e9
 SHA512 
ded694a6d0770f8704fe018f88229491960c5297252bd45373767d52ed58aa12287f4e92ce6971f2f463bcea4efa47e77a41e0a832ad4d5aba1ede561159fde8
+DIST firefox-139.0.1-et.xpi 362506 BLAKE2B 
41494cef98abf6a4ff12c8c892726764651fad7764cd72b3b6cfc5a80d4234511c0bc0eb0b653dbcb10cb2d9618832220f979de21226a32b3a3ef5a7712c4dad
 SHA512 
913f56a7636d08833e22fec2f542c4481fc6f46d76d4cc5a013561607e3119a9ba14a85a398a85581dcf48b8a0368a2799d003e02d2f4cbf1939ff0dbffdf3e7
+DIST firefox-139.0.1-eu.xpi 416689 BLAKE2B 
001b6bede5a8b6baf902b05adb1cb834505b8c5cb07f5c1f5d04366fd57a7c423ce1974ccb486b6e30513727ee5baa4ca5f26b29d4896ddc2d9bfcc07a398bc9
 SHA512 
b2ef14b465ce49aaf35c466b2851c5d7b377839be5e43c760e2b452e4dea8fa305daddb04ce54e7f854e38d54ea5c0e0c2a3e9341b35ae9b0e0f779d5fbccc1b
+DIST firefox-139.0.1-fa.xpi 424172 BLAKE2B 
8123dd5744651c89f11704276a8f8f5eed919f5cf0fc0e6c6364cc4689319fb26380a5de95905597e1d9ad895d2ea8428ac8516fe4a70df4ba60f6d8e7e92324
 SHA512 
a10bf9067bbc751665cd89a7c8fccc8d454082b92f70e686919643cc659a6576faff8a4ac6e883c0cda386bb6cf57d505da093177cccc79b3bef979ee244a0a9
+DIST firefox-139.0.1-ff.xpi 313860 BLAKE2B 
4857678ec245b4d3cbc0332ba39cb92cf6fee168d3aa1c28d12d8bd2521352496acabf66d404cf31bf5d41a719e5e5eb0b3ed40ea4ad789373a05f256e01b197
 SHA512 
33d73690e07683355742799efdc6e9cc5a86284c5ff3cfeece38b0d2efe138e6a5499c4d3df837cccd3b6e2abc39c059fbc47d30af4d42cc27c81343f4896b98
+DIST firefox-139.0.1-fi.xpi 432417 BLAKE2B 
e93573e06a9885253e834882595d6ecdf48c034ec14c775b27aa0c41dc038fbccdf574d5fe70963b65ce322ec5abc427a28613856ad6a35c55db3020d566c32a
 SHA512 
0652cd4a760b12cf40b1df7ac9c5b476f09d3617f885e47d6216e31fd827311dcbfb0e1a5fa635bdea40fc17ed77ed845da51b3e20075151de9ebae2f05035cd
+DIST firefox-139.0.1-fr.xpi 462412 BLAKE2B 
5025f23847ec026bf37a04d067f5206586480610841da34cd69c1e65e27d70f110a0e84fc569b344dd98dff3e09191dbbc02865936c58e07c7c97c86e65e225f
 SHA512 
77ede5bf8f4e82bfc51b3020a9f967c1a616e511667738bd5712555cb1a93985979432c9e48aba94a61313b134299b1b10b4a1c16c47558389b8c94ae8f76329
+DIST firefox-139.0.1-fur.xpi 453093 BLAKE2B 
fee74be10ec3b7aaeb9e78028dc5b131709c962eaf48cec6aa4e4911a8afb5e117440fc3d76e18b51e146009e1da6ec5d58f29ef64e9866f0a1a37ac58ce0039
 SHA512 
0677fa6fa7428e9e70985dbf16e1c833644b441eea779e5eecb39f6c70e19489e69f74568c2a96d4c8bcb868c6aef730f221cd1fe311b4703bc2deb4b7c33162
+DIST firefox-139.0.1-fy-NL.xpi 446334 BLAKE2B 
4caca2f1309f909e617fbbb2ace065d57bb96249baf7b3180406bc6986a00375751e741e34dd31f008a503d64ed1b63e5e08804424aa7b59970f8e26adb5b1ba
 SHA512 
132c0f94c617e9150a590bfdd9e782962bc142539955b06182437b8df476d652755d888ed0773323274b6c22f1d8ad1300a6463c363ae5407856f5e332435504
+DIST firefox-139.0.1-ga-IE.xpi 318541 BLAKE2B 
f259796bf9dac2d461f276dbf732d84de91aa90dda8cf56270ac94750d56dec52398535f598940fa4ec0a1166e355ecd55191fb6d3907fb6979c1294ac5c3edb
 SHA512 
bdb0223eeb93afe472863a2038a671127aa389a705852caab63889369a36cfc747723f6383a4cb7b18e72d1b5c9e59203d67f0edb23b6785597e513bfdad9dd1
+DIST firefox-139.0.1-gd.xpi 402972 BLAKE2B 
b9bef917c4a0d0496d02bc461113e0e13c7e5483e65b0ab1717e63d104e78d3ca90a85a4eef759ed3ddc4820c3a02708589381bf082745249ed31e49469538da
 SHA512 
4ed027f2a645ee6fb3803d5bc9422a1838f1d2bc29ac3040493d5f31d6e20652b93548b7a2439f1938ea1a203354ffab12e91892d9bcbdaeb807f060af7e97bb
+DIST firefox-139.0.1-gl.xpi 409740 BLAKE2B 
dec33226610b80ae1ec8f730e7e585b277502fcdc06cf21c9362eac313cc2cd2d4d014bb5d487bbf5d37f32ac133f49fa6decf96da37b63e1b97465a38cfd713
 SHA512 
862578f7bf1701bc03f879eb70818a0d7b2a2bdd49224aa6017bf4c42465357f9900db4e3041c4b5aa310ec9064c0c11f8e8e3306eb61a9c7c15d9c301e80b9b
+DIST firefox-139.0.1-gn.xpi 453110 BLAKE2B 
8ce16b8e9f372fd2ef5b3115bb6f32bc957a17e25ad2642af1d0145402b58b735e965a8cdcd9815f71a295ee21e68e320f47a772f17b0868139873cad3d30a0a
 SHA512 
317558a31879bb68061506c68d0e7c78e37188b54562755949fefcab95112b71d53853996c348ee38c3f888e522bc451f5834cbe50e1e871da07e41a34fb8c86
+DIST firefox-139.0.1-gu-IN.xpi 362208 BLAKE2B 
0bcccd08bb973baa243f80d6b1fd4696fe7cf68e0919e3f7c66f0366bad063b13b3d0e7a69ca8fe84f1fe15cb788521ed93f6b72a437852b6c48802c3f2a5756
 SHA512 
2932d617d1fa9424510df6723dd842de1a5b998074f0ebacea07295a29b8941cd2e0838b0050acc31bdf065c3ad26e1513f690e500b5f17dc76d17c6d3da5d27
+DIST firefox-139.0.1-he.xpi 448713 BLAKE2B 
8328e88260ac21d0a50ff0794390a7ddd5f4f5275613f438d8fea763aca23eedc28e69194619a6cf8f003398b34a2c073357419ded5b2a2652482f8fb9f744c0
 SHA512 
008b96692ea4598e63c022413715746f25df26931a9e10163401c943d74eb6a0589a8317e96fc2f21e95aa32fed2dd9d6e19a2574baa1b9da6332507c2ff25a2
+DIST firefox-139.0.1-hi-IN.xpi 380719 BLAKE2B 
61ff8e4e6b82f20add1585c410e353c70bbd051c6493eb25bfacc4850b1ff34bdff3e40c0b37c500d10215b342e4321b6e2aceb7a04dee2ff0eab24a9a78e0e2
 SHA512 
1c69562e5a4ce2e096a3e1f1a9aa017a78bef221e1859322277e344d50e03a844f8a16d0922546d3e6e30ac7c8f2800b983ad8e98963cc42a63d2d2e877b8473
+DIST firefox-139.0.1-hr.xpi 431200 BLAKE2B 
b1b36733518deeed56379c68618ab1af6cc967fd4d42f3e4ac17509f170120d1eef88c4fde22a2fef044c4b3a28d80d46dd60ed54ec7d8cbd3fa18a8a20ddb27
 SHA512 
09aca96f486ac531aa0a01ef2498f8adba8fc97280c0981feac32ac131f53c250448c568cc70acd82c8ecfd31cfb53425289a2006d86b09d0f398a313d6dc0f4
+DIST firefox-139.0.1-hsb.xpi 466849 BLAKE2B 
c2ff0cec09df492c329542931df69d3332fe592cc4b0a41da5eea924d2442dd74b93efd176439ea424b3a002f87ebb7f3fcbd9f391cd6d8b528a36f032a034a5
 SHA512 
a86395f1617b00e293d0d21e9a04828776eb5d40cef09a0de075ea1db5599217cbefe16547318e024a1b74b856c5cff3b5f42dc3d40c99b5e6e612d65022c9d2
+DIST firefox-139.0.1-hu.xpi 470468 BLAKE2B 
76068cdab647eb427cc64e65ae7eed869b418981289d07b7656b8cf45561fa3272cb78b3c46a722893917f68fa260978a3428f4503d05438753b8bd01f46006c
 SHA512 
0b354cd86d7ee4de8ab7f96dd38fa7815638146c509369770bbca9ae4890e2b56428a62cd7fff44706accbe4eae58eb78d98cddc32e9ea205a01acecb80a5bdd
+DIST firefox-139.0.1-hy-AM.xpi 457458 BLAKE2B 
347e19d3012aaef9055adc8eaaec033b89f76132f766760858fa9e2ddecdf30837fd5b6c06741ece8d3790d980509150ab6af1357973f6e286afe0a42182c319
 SHA512 
3856a09ad94275bd0dbc121f47a0e99cef930d7edd9fc98c21173bf53cd7edb45003708e95ee4207cb6ce6434c97378ec1a81bbf2b21549350c4102c4fb9e90c
+DIST firefox-139.0.1-ia.xpi 434200 BLAKE2B 
fb56fbcc2e25ba22697e1c70905db22b1743c6525d5903e279c8c564b47b3dde7b8b8275a11cc6f5e88049047ab147a3296b4f9c2ad073f39b92c352ae394d7f
 SHA512 
661967c6d5028c7217b74abcb056465d8917eb929c2820ab786dd00b9b985a168c7e4eb6f084a9157084e58e1d992c582e69ede89ced346479cce8a50f37e99e
+DIST firefox-139.0.1-id.xpi 426325 BLAKE2B 
af825b2807c0703bb77e8e9ea53b77f503c90db3d0675a92d01ca8808bfe438403b9164511803991897aad83b1fc17ede31096b6ecf50dbe2165377c055568d3
 SHA512 
f779fccf26926b6327a8c185322b26fc5f80a99bd32cd8855f59a44c735904ed930c50decf6cd0d6c77caf2fd05f395a59c197d2546921bb196a9c79c00c94ef
+DIST firefox-139.0.1-is.xpi 436865 BLAKE2B 
157667c28ae7636f811de503ed51879ec9b488c490c73699a6839a6377f10d9c0171f000fe327b5a56ece0c033a5953188a030b0dfe2f721f1a91457b12b5e34
 SHA512 
fe484e67d3a46e2f83e90055d28e199415b92bbd875fe7f1cb2d702d39ad7dff3983ffbc96f64dfd2437d22aeb6b5a63ec1c7b9955bd499083ca428ef94ea250
+DIST firefox-139.0.1-it.xpi 444962 BLAKE2B 
afac89c5c97658a5775252dfa30e3bbbfbb96f5787f291743a5cf24969b8a082a924548bb82596e992cdd4b08847e1c8a7a267425fe67c781218c597b5d74256
 SHA512 
ce8da26be9da94b815b9feec8d04a0327a6091ebec7b13309af140c87428d2c67c4d44a8ddaa0ec75fb09eb9791931a1a9178ec60d36be6f4d25f282a98d83b5
+DIST firefox-139.0.1-ja.xpi 485467 BLAKE2B 
e7d3c405834877cb9f37f51a46d58802a17b4ff32d8d28a16af333d590ddd33ac69ee10d957f28a1ec913be6014790136e063504261bb84605c492a7922601f6
 SHA512 
82464a3afb82094e07badd2cc4c23780eddf34f318fdb965fab217fd16e2b176053adec7d50d6073937a688c4034fa417ef7ed6564a75e6eaa71fe94f3e0435d
+DIST firefox-139.0.1-ka.xpi 498908 BLAKE2B 
7c4f415ad0cb0b1605d04d6977be1685762fb8a4190ffc31045d2995fccc54785a303a5c843ec586426d92f233d6a253ebfe94ab53bfe0821f9d0a8335c7c532
 SHA512 
4be281bca4175d46f790b61e2bdde636031576677f13ddf5cffe1ee0472357e5661adb3e920f794b57bc886079c7fb4c0f63189a156e9fc0af9ca63bc67f21a3
+DIST firefox-139.0.1-kab.xpi 425604 BLAKE2B 
1a742431923a8cb71c48e22c24d848272e54f5c76967ef4670d6009cba0e5ce1217c0f9b4471ac5f774eecb9ebf98e7733904fc1b21942aab9bd1a747b5ada08
 SHA512 
36b4ff175e2ed579116b04fe39058a8a1d0e712dd5e80fd968d63e4a05c39711aa1c0dd3f02bc67e01d96182de878df767616e3b814a450975e584a0b9ab78f5
+DIST firefox-139.0.1-kk.xpi 507020 BLAKE2B 
82980c1a2ee0812bcbb94575b5cb407c8fbaadf12bb911d61d1d8419e80d55bbef662d3882089e16a3aa23cb22d0ae973ba5aa2c12d1015b7254465666848e71
 SHA512 
faa85689487efcc5d934257c4d04922345aa15bf22723f74b432c263271a7f0a95401adfcd245d388c078e6a0384f92998c095b4f9e62d05a8d93744b6f1002b
+DIST firefox-139.0.1-km.xpi 352038 BLAKE2B 
759cf37299ada44efe74c44e9a5caebcdb47cd602cfbe984c351c826a7fa1aa3cce922c7dd4c7f1152bb6fabbfda884983c30c04c8515b86749c111bee4cdbac
 SHA512 
b55ae4ee8dbe2397f7294c3fc533810d8ece0b6cf7460d00fb26cf1ecfdfcff6dfd0b7d744b1db660f0e1f1cc6b3f1bdbac2ae7e2b31c5579d364833b2a0cf2b
+DIST firefox-139.0.1-kn.xpi 334932 BLAKE2B 
1c037ea69cc99019f5fc3e716643276f63018460ea2d28bb551c80bd64a3a3d4f5dfc51b22f7a30eba7fce8a4d8b4ea8cc00a5ab088c46f794c875de666736b0
 SHA512 
bc1384a9c7bc474dc55a1c948354f5e96213c1704be323dec4ab04507d3dd20ae7d4a45689ccd63f459acb6f93af8f7852f209267ee596028f65a4037f8d61a2
+DIST firefox-139.0.1-ko.xpi 471617 BLAKE2B 
cb5dca714a094e150d77297fe80faa51abd797f8dfa4b7524d84ce8f52c2858a1e990205458441f3546668b16f3ee13466435c5cbfed296b0265b3c46c613071
 SHA512 
8bab3a12aecff491bb89454ef6916450eabb4af965a8fe74f6f4c6946340ed036935017530c0ccd830a6b27ae17c2681b606ea4a8cb6bde24224c7bef4ff7582
+DIST firefox-139.0.1-lij.xpi 321755 BLAKE2B 
bd1b53eb5588161cfdd23a403e7a9001a6b14b062eb325c09b3948f442a5dbe71dbfb1474c84f120bc1a05008d26e829c6f03d72bf3b060041d9f66f62089e33
 SHA512 
ecfed8715d03259be60d3da31a1f35e15b9e2f3502320bf7df5331eac845ce5f164c111e979ec2b0909c28e573b003e44b0b9000d5892a85934c102da05030b0
+DIST firefox-139.0.1-lt.xpi 383467 BLAKE2B 
ed446b68300b8b2afa60c3ffd83b730c1d8e7c21df1918a8b0cec9784f36a82a4b645da1864b13b5c928608301637b580a4da44f9a6212af894a56a74f2fd0d6
 SHA512 
92c4def4dcf020cd99c6c02d66ba527f9a285d928296bed795f172c36ffa808e134b4361901d70587ceda5dbe52d3f5f6cb8a0100dd0b20cb20cf9790f7476ce
+DIST firefox-139.0.1-lv.xpi 391406 BLAKE2B 
03429425fb11753c82b53e0e64101c3557503d7de218a5c0de2c8192a9cb40e79f63d34850a245c78d7c90a71d76dbfd3f7955f832f73c3790defe12737346cf
 SHA512 
b35b191415763afc296024fd2d9cd83d8c8cf0a1cd325e98b8daa68c718d36d48377782b74fafe0ca3d44d87cfc74bc348c8fc5139d5c1436bf9f9593ba3c8e2
+DIST firefox-139.0.1-mk.xpi 320011 BLAKE2B 
2c343d29871580c4156405cd68e32ffc3d1e3bbe165bef9ed054b9e7a6ae03f784d18756ed101dedb8dc39e6d1a52b49d1579e519ef64b1c89a2b6a6f047fcd9
 SHA512 
76e227c0fe4db79878c0ae030841f965056cb8cf3cb2180d78020a7680842a2e1c2153ce4df7441eac4d5bc4bad878636e422efbc0dd2335bb40dd9f4e62772e
+DIST firefox-139.0.1-mr.xpi 359465 BLAKE2B 
33ab29744f789c685f41faabf41a5d71cd10cc67788bcb07bea12501a5e78df69b826b7bc05c2db340946683c79d546ab859f97edda1522e778a300415e67ab6
 SHA512 
20888a73b0ee78db70987b3664d7b06004e56ae9d278a7bfbfbccd95565eaadf1d7b39bf95524aa81419c1130c1f013e7a0ce8b10c80c7d9391639c9969e319b
+DIST firefox-139.0.1-ms.xpi 298616 BLAKE2B 
8f33f9b9c98fe9e8240b557aacfab4d3de1634d711c43a08e669c0b25ec11e50fb0f5fcc708ac61b91268a4f33fbed06c10d429e53c0d23ae5c036db321be230
 SHA512 
4e134960cefda0694185333aa402479ed45f6cd037ca70aa656b80994c63729800898e45a23e92453b3d0f40daf6e44318843e3343cfd2ea896f71b76c42fb33
+DIST firefox-139.0.1-my.xpi 346244 BLAKE2B 
6cc3e1d5cf54512f19e1a8feae36d3bcb200899d95457679169f0b6335e861f6c9d48059b71af3c6ab29e018494f463b9a48dd3b7a039333caa521278b4c43a5
 SHA512 
8876cb07d65f497c04a3abb5c38a6ec645c88dd9a0a8d674891e865c9bbcc12a87b6c3ea872550c8e0a1b34d3377d7effe1645802ffac077d19d0ce6007ff1da
+DIST firefox-139.0.1-nb-NO.xpi 425032 BLAKE2B 
04601812116eafcdbd1fa9587585991aa54402b40bd671b8254ec894d6d3c24a552d998c4ceb267d157717161851f49df443a490259af7b0033937d67d5b86c1
 SHA512 
1937f3ea02eafd4b700ca4e7640a5133d8598d77b5e36afce04bc446666d257be8e58d440d976cb87181cc0ef1f910a85ffb721f099640e79b72fd388a197dc6
+DIST firefox-139.0.1-ne-NP.xpi 352264 BLAKE2B 
5f2bf12692e2fcbf1f0546ab443c8dc5117cf92422d1604ab3c1dc786e9560efd6c9aa95ecf21796be7028b4fd8d8605938cb12bdba4103f9e185d4da7f9b28a
 SHA512 
40caeebd5eec1a54f73f3fb395df841db4ade672fdb373ba92bfef02533e0185f22e5ddecf2df3e36fd567e89e3b0e8d47cd341f38f037fbbbe54505a29f8ce2
+DIST firefox-139.0.1-nl.xpi 440342 BLAKE2B 
2a7a0612c23c529e05f72b325bc091b2d73dc75de58dea5a98e1110aa4868b1a770f88e9e5e98cac2263a22b7165329297869a1d574a550cee2ceb971d7f79c3
 SHA512 
1aeed2a01e4948ddf4f72f2690da4f85ba5b2e68ff4f26d3b0c0cfd44846109d6924d31a22905fe87be609d99d9dcc8f19562075ed945b7a2daa6738a43599c4
+DIST firefox-139.0.1-nn-NO.xpi 432701 BLAKE2B 
f45dcb3aca08b51ab2b648f1a7fe4a1724e1bd496f0348e5b93597c11d24bd07093bbca3914587e28a47a7829329482eba88a06a60477dff623361d9feae45c6
 SHA512 
58ce31ffc4297ebbf748955acd2942e8f310c00145b4dbccc6f1040bca24ebcba3acf48a45fe110c46f213df4f74bd80fe1ec79efa4353673b43e716f949ac7a
+DIST firefox-139.0.1-oc.xpi 416065 BLAKE2B 
9e8c4b82060ff2c35093ea759ac656ecfb9c4636ac146a02be05f12fbf1ae4b796cf21b31e9bd5c79a696d61e938396528fe7e64994af49966ce417c51e7206d
 SHA512 
a747477cec8bd74e2b2da415b7195928bcc6b18d77f38db9c87a313873bbbea53bdf813cb8710308facbf035ad531aaca971157ae14b2d1dbe95fcd42d6d7753
+DIST firefox-139.0.1-pa-IN.xpi 496793 BLAKE2B 
f38e815c3e2d537563c9ed4082e7f9e83e6c66df707d363af7e34842b03b337879cf2f030d828364020de00e322c0c669a589056cb6801d3c27aacd0b56e53de
 SHA512 
4af87b33f86e1181e408ca6b76391b57ac4443076b0d33d7811e1acdbca24524d446590714dc94e07e928c75954df6e191ec781debd5cc99855e7a16d2bc3724
+DIST firefox-139.0.1-pl.xpi 459804 BLAKE2B 
4a2d86a84ad9ea0a9ec7e1674349c779b40e2054f17f5476394640800c4a6fc84b3e346faeff63e7f536713944af8f5c8dffe9a0e4064c95929439654fba4aaf
 SHA512 
49b416738297b7f60e8f6b09d042ec407e2063e6eac9538b4175178c6aa3b0f3a5a22bd0e5456ff01efa898abbd7d4480e3039ce3515e53f811b3fd04f8fdfb2
+DIST firefox-139.0.1-pt-BR.xpi 444918 BLAKE2B 
dd79ca4651d72012d9f852ea63be3ac041c65e589deb11e09498732aa854305c5ffc0bf2bdad7e24c221e17eea8e8300fed1d18cbc8ff58b6eca7f1fd6a6b02e
 SHA512 
0bce5f8176a954ccd61b52e6fc1a55bef4d9a2e059452fa9c4b9c046a4bb9a9def2fdfa37cd91dad8591478b145e632610c4925e92793b94cc433ac96c6e29cc
+DIST firefox-139.0.1-pt-PT.xpi 450744 BLAKE2B 
e7a3651c57997e78d118250aa0f834be320cb51e3a958c54c86fda73bf261981f145bb69f4aaa4b1255207bfac3e86a903f099179a6d6320066a4b250a3ce136
 SHA512 
b133e962095c8c4302735ffae3d1eb5f83fb2521beaea7b626b9c72ca7eab240a3c5d81572d5d81095f474048ef3ca608c00db9fd86b39cbe5d4fb9decd6cafe
+DIST firefox-139.0.1-rm.xpi 442540 BLAKE2B 
e0ff06a9ae520ebb93d3f7e7acb22c2190cb7c45593450637c92d485aa8260e92b621295bcec77a3cfea157865aad3404f8aeb28533092ab6b0922ba10731a1f
 SHA512 
f15a2eed91115b01513e256edecd60c506faa6e01235f1307cd4d217fc48d78f26ccd3062fdd312dd57ff7171939e14cd66bbf6b0706b2b2287548cf4abe47e5
+DIST firefox-139.0.1-ro.xpi 369470 BLAKE2B 
109adde2e4f4a47e13294c952202943b74f5401e781d6c1c287d1604c3f1653cdd9e493834f3ec3c78de19238fb1c83c2c9de010a2d317c0545ce27c990cd412
 SHA512 
1e58a719a34d3452fdc34be4df92b626b63be7f38708efa657673762d162c605a785344d2d77ad1d927722420837a7c50c91fd1240e03845a1c3fe19013a7fe5
+DIST firefox-139.0.1-ru.xpi 529320 BLAKE2B 
ab49a1398a99235d9f272a8ca35f7bd46fc18f63b3931d401f44ff0020590f9a7300cb6bf018a6f7bfcfbbf53dc818ad9c9f2cc31a747e0b36a1c70fbf5312ab
 SHA512 
bff1be215fd60a21ffa3e1e057cc5ecbf394477e8ee56c059cc1575c9ee60ffe50c304bcf0dc660b894988777ec503eaf6c4ba0a3bcf0c9c257f804d1e3c0b10
+DIST firefox-139.0.1-sc.xpi 409848 BLAKE2B 
7010a9142f55a1ff188e5a42222322216fd0ae46d5a091b677d4c06b7e5a5e402257d9560f65c23d3bca736ca99d5b3598b77e6b1bf56bcbbac7e90e34ec9f9d
 SHA512 
4240ce9f9ffe6e7f6bf5b8edb6763f330b8cd4b97aac98d8635b45dceaaad1f427a604f6be38bb2b7df14f966ae02dab44b46836a098238b3009d1b0f6db9560
+DIST firefox-139.0.1-sco.xpi 327263 BLAKE2B 
35af039b5c6cc4187c7af3f642f4066ef36b52d8f873b05fb525bdce15275d678746d7a042d55fc222faf4eb7483004ea73c18c73e2282e28fa06b4aaf88fbcd
 SHA512 
1a95ad0d7d4653651fa22f460a82a49e6783f9e25d985459b379c52e54ddaaddc344469f9da6d0763241dc7ff88b3c7738ad76e7e6edda2dc5af95b841f55d4b
+DIST firefox-139.0.1-si.xpi 416102 BLAKE2B 
7324fe74d1ae5d30a436e91c71ddae2cbc4eed8ea2b299956c2ec44d56fc564ef831ad53be041c4093ec55608109a65b3a94e3e20fca65f2f9fa2ef305b5963a
 SHA512 
0ddb839bb167c087cc6580aa2bb65497a4213d30fa49178538e7d953feb8d0595d1c81dcf2de057f5a3b67d61545bee908b271368b187cda867717baab346f4e
+DIST firefox-139.0.1-sk.xpi 472187 BLAKE2B 
b04215112ac95200532a322e38e120ff111e2757279e1c9fbb0759ec3b252b13726172dda6367c485a5ca7efa25aca27453c147b758119b32d300953f0b42794
 SHA512 
75db065dc8ce312b5d587ea7fdb94f18bd66fb38b7cfc7c4dad1de49b2a7aa6eea228c1845f5ada7d0620cfd001573f73ad146289f318d457c7697462cb49f3f
+DIST firefox-139.0.1-skr.xpi 493728 BLAKE2B 
6d414e1c89db8f26db850618854c18796b1c8c0359417a208e653fe381e8f776c0d101da1fa8ee4baf1dc9baf42d25293368901b521e1b8b42314486125780cc
 SHA512 
c8bae1756e600715fd77acf70c6ab303fc1eb792e6c23d5b2029d1435db136639b6e466c05f86545d2ac877cda44cb0111124aeff6be64c1cf112b887e6a7087
+DIST firefox-139.0.1-sl.xpi 444958 BLAKE2B 
c627ae7599227139799eda8443c4f57d552e73afff71d593651d787b778d3d6e044e929cf80be221c85d636cca56c057076adf0586aa08e68d1c158722bfc053
 SHA512 
86acadfc5575b1b0b22c0189a3295f76edaab7f57a62a8e054ebbb15a3def3bc8f4b186522c71198b84762354d7f4ad0ebda833a5534ee5758a7f1f959ec4a1b
+DIST firefox-139.0.1-son.xpi 276301 BLAKE2B 
c6a7d1611abedcc59dbcea9031541897c94bab9c2b659238dee93e39c3623913619f7ee816104d35d210f03eab712018b573113c3fafdd55105f595b3aa4cc76
 SHA512 
5d7f08a6a9bd7c7ef68fe3517ab9787acd3dc0250e9785a5be6ea1b63a9a5ac1db0ee42e68ef32effecb710ad81ceb9f9c58885fcc655a0406f188e4f58a33b3
+DIST firefox-139.0.1-sq.xpi 460098 BLAKE2B 
aa78c358d087fd21f5b150850e7fa1c3088f9cde68e2aefa245251d11d10ec570494dd3b57110234f316aa1f2ac3519bc5b18a1c9a3d60552d50792bedf92588
 SHA512 
0f48f5cfd54e90adbe93c95dba9739564c4ade1a79628354bc23e10643f331806a5716482eb214bf40f1be642bd6271ea135c48bfeb38387f829976da7a6baeb
+DIST firefox-139.0.1-sr.xpi 456125 BLAKE2B 
e5c586dee046d0ec9b6d49128c9fc9c3dabdf524e6e5f07dc28e42b4b6e2bab8ee23fcb4c339967b60de85c8a43e68f9ac117ff3480826222cfc260f6fb9b60f
 SHA512 
bbb5ad8ed146ef64dc21d7628c1836275aee69372f50381fe5070289fb4cca80213bda715397e171add0b3e1cd5cbbdd0c56ba3b8950473b2823249480be8a1e
+DIST firefox-139.0.1-sv-SE.xpi 440186 BLAKE2B 
df880dc42159b5be4f0471795d1cb8d17c2b5d18d8bfd488019a5cd6bec34f055f705e083c77bcef28903438e5dabe26f6f71362b3cf262c551f0a28086c2107
 SHA512 
1cdb1a0d36fee0fd53e3e9151c07ff9287343e84609ce9b92d067d7b7967b5e6f09c88d23749d56a338bfbc13b74454d1ebc3af34c2ff11f395b3a8b0130eca0
+DIST firefox-139.0.1-szl.xpi 346233 BLAKE2B 
a925ac524a77097b187a358ee81b2e9eac94d5bc6ff4fd0d4fc87e1cdd3de1f8049f4a2b30334ac6db6ffab7f234a47e4ec2b24a6894bfd70ae7177f940b1e5c
 SHA512 
61431d1c6f2d45fcc8e973835114e686a7fa5dd3c973b497277851071f146bfd5a0909b6cd0f9eb346a7e3554088eb23cb326a5e2672e7fd0ddc369cf85a8cb2
+DIST firefox-139.0.1-ta.xpi 341137 BLAKE2B 
16e478bb8ac7bad1b479c9c1eb1e4a1f053507c8b2b752815f5d79fe910cf20ab309b38b9530c47e87736000ed9eedfe01fd7bc0706cfc9a7ba3052596c70d59
 SHA512 
1fb317cf738fcf2d167307a478d8896dd0ad54776b2f16ff3f3e92665f7b3ed96f393aa6f0089c5a8c834b5499c1979ef82cce78c823faed71f166856074d53d
+DIST firefox-139.0.1-te.xpi 385837 BLAKE2B 
db597c347cad80175ed95869c173c557aa0bdd565c0eee9c13a8eb0b7741f0d7644512cfc367eb763c49a8cb9097dc666f14c1e95e9eeb757ee0d17a5335f0d5
 SHA512 
2dc340394143d0aa78d69df1adde7e21aa0c24871d59187deb10749d71e607fde444e4009c98822716faf43c0f58f2a8a8a46abf994a51b0fc253fa9390782af
+DIST firefox-139.0.1-th.xpi 507682 BLAKE2B 
6aaff1f7721e8f20123de609a21ad04ee91446274226d936cccba15542446464707f3c3fa8535d5069ca0a91fcb118ce385ec5ffa917fd378327604e943eb414
 SHA512 
04a82f87bb70902a2b62873371fb64e60d232174dfea10b3d562bd8f98b9389d3416fc8e7726dcadebc31017f07956dd4b723e95a98a0e2c94e93079e850325a
+DIST firefox-139.0.1-tl.xpi 360229 BLAKE2B 
e5055b1371e403e58473adf1fb4a2d1c1ff8f8464e3988786aaee7c34f49b3e81c3a1b3e1324c664ad9810be09b9e1ed3474e968476663c9f03b4f0d6f562967
 SHA512 
e56f6c536748b688e13e68b50b29a305938a749eb43f492a1697f517d92256a3ecaf6cb740a6d3c47f17dc975e62de96928c737bf3252fe00edf07bf650b069f
+DIST firefox-139.0.1-tr.xpi 452742 BLAKE2B 
59a96630ec3324ba586bb5787b2ca0e17cc316620442bb35e2bb0b0825a2a375c94db425c860ff145371c28e4e643ef43b88ca3d51afdc45f71522e5b781b1ac
 SHA512 
b426bc0e248ec660476ce5394b5fc8621e8c7007a5681e312443d0de87a48e3d20770f412b3e5c0040a1da45c96da892a87dd85c8808fef26e84f9e9a90f65cc
+DIST firefox-139.0.1-trs.xpi 326659 BLAKE2B 
a42a850a91b3afa4a4260c99997bdd55ea21b56d55459c02191a36a65bcebd3f6035079d876f1d18315eec8b1ef5027b6773630fac9a13dc2aff588f99621304
 SHA512 
6835889bcfcda9e1a5f7b6c4e509d5ccccdbdf1d94fcf2222d110705b28529a8ed662d929b49f36f2c296d7af65fc2fea1ed217888b1e43563a4d177f2489373
+DIST firefox-139.0.1-uk.xpi 521118 BLAKE2B 
e0cf03a4682670cbfa14c861e29eff302c3743eea40f104dca904000411f5151259f592115a91cf7e63bf59c3bb3730f8ea721110c5dd3084a62325eced1182a
 SHA512 
6941c45b9f9bf072f95e2d082bbb15d7b844d73d60acfe22b9c6071f0a881703300e5b226e51299eee141d08cccdb08580c980586e5c92786dc45fa62ffd62d8
+DIST firefox-139.0.1-ur.xpi 373549 BLAKE2B 
0c02925d6039209145d3043fe22ecd8cee516d5f0ab1018deb76cf6676eadfa8848cb4ce16f991e756bc63fa166f5379428d71982bbc8cbdcaf5ae018f62f9b8
 SHA512 
d47f9d45bfca7a1132db52b2cd4721be5d7f02d8d973df12615a0bf1262344a83791e0a325468945bc8482cfc03583cd1e53fe08c04d12c4eeee1d6f08223a03
+DIST firefox-139.0.1-uz.xpi 306870 BLAKE2B 
a6a41997762c6a96d07ede051c655025bf71a4fba1d699c2825c5582407a08fbe964aec917ccd543154517961923b122acf59426f3005db22c8d34ac41056ceb
 SHA512 
00af9359aef1afa1a450e60f9e3bd2a3eb84e87f1fd63a3dc448869dae008d03c3add792c78cbcf4bb4936d6091f4c43a4c0794e2ccf00fa1a1debec18b070ed
+DIST firefox-139.0.1-vi.xpi 473306 BLAKE2B 
a8d04616d96f8e8ec3ebba4d460ec2993dd37b65f53ce267c15d8a794ef024cee82706a8ef7d6a635cb600e0b09085944f9ff2bcaffb64cb38a708dd5e8d594e
 SHA512 
ce65d0b8975f7630938f71fe87b3413fbeda2d1883dd018e05338399eb4c6dfee92b6bedc899675b46e2f14fca960de9383317cf6154e69a5a6dcb5e34f1d7f4
+DIST firefox-139.0.1-xh.xpi 276209 BLAKE2B 
5fd65b97236df7f923845d15a2a077f430b2008d08908f915821a0c218c0fd93c9a962474ecdc599b578a20a37730b775e6fe3cbebf524c4d2296f1b26b78b1a
 SHA512 
514cea9849594a5d5e3bcbde466412748b14dee8e19bf1e5cae335ef0c54d0df8e8e3eca740bba8d502ced9a62df050b65824e34b2ffda3b3f1a571424d6d9ca
+DIST firefox-139.0.1-zh-CN.xpi 464985 BLAKE2B 
37acb33e3736af558385d13d983d52ed867c93fa8ec4a3d1e6d96c9a7efcadb0e268a671447c8dd76ad10d2ebbb8c9304a951b02df8e0c17fe5aa1f355207676
 SHA512 
960024ca7bfd6dfb9a379b82a2a94d3151eb45dae6d861d905e4fa652ebfaabdeb3175b3d8db020bbb5f91ab6f089cf028c2e3b104460848e560bf9ab2a1f3f7
+DIST firefox-139.0.1-zh-TW.xpi 468028 BLAKE2B 
b0554dace96ab6993f068126ffa722f2883aabd30c764239198886a4528424b42b0723561319f4a6f51be7326c85d88ed93339d2352a9cff80e6e900534b4e54
 SHA512 
c0daf3e7af74704de3911abd806fa3bf9b5394ccec602325813c7421351aa71d6ac1a462523453d33f86d11522459f58e559817fd114b9f1dbd545de9c314518
+DIST firefox-139.0.1.source.tar.xz 647117708 BLAKE2B 
b3c9841a060461ae2a0317a39a8999c15f8b0130874a270c308a751097be33f436ec37d4881581eb33b28c6e038be0bd1556af82e2f91e409ff84fa51852978d
 SHA512 
78ae10fc14900eb1273b7ff798a159504f68166c39b1f12ef9ea04243debc78472c24499da01641590feb5d2b28475131d2ec94d6f28fd4f2f644a721f7f40ba
 DIST firefox-139.0.source.tar.xz 634198424 BLAKE2B 
920df1c0b1389234d779861de71c971582cd0822054a23f1a159c4ffe7e98e09049fac1f202004e6e6f85ea0384c21f0807f3c843c5784de8b0474b6de843cab
 SHA512 
84a2b47f2ff71aac226a774ab0ac9ab8d9a16f5620a06f7abb6648732209d022aef35a9d4873e91ebd67a4fc494fc238524e25c38fad8046db26afda06e6f970
 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

diff --git a/www-client/firefox/firefox-139.0.1.ebuild 
b/www-client/firefox/firefox-139.0.1.ebuild
new file mode 100644
index 000000000000..c58019353233
--- /dev/null
+++ b/www-client/firefox/firefox-139.0.1.ebuild
@@ -0,0 +1,1399 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FIREFOX_PATCHSET="firefox-139-patches-03.tar.xz"
+FIREFOX_LOONG_PATCHSET="firefox-139-loong-patches-01.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=25.0
+WASI_SDK_LLVM_VER=19
+
+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 
sndio selinux"
+IUSE+=" +system-av1 +system-harfbuzz +system-icu +system-jpeg +system-jpeg 
+system-libevent"
+IUSE+=" +system-libvpx 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.110
+       >=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:= )
+       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 JIT for RISC-V 64' 
--disable-jit
+               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
+
+               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
+}

Reply via email to