commit:     ffa7da20cc3e9cb6d024de944f95c0a216cff8ad
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 11 05:01:00 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Jun 11 05:01:00 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffa7da20

www-client/firefox: add 127.0

Closes: https://bugs.gentoo.org/933702
Closes: https://bugs.gentoo.org/933869
Closes: https://bugs.gentoo.org/933495
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 www-client/firefox/Manifest             |  101 +++
 www-client/firefox/firefox-127.0.ebuild | 1417 +++++++++++++++++++++++++++++++
 2 files changed, 1518 insertions(+)

diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest
index 55f3af34570c..f50426cfefff 100644
--- a/www-client/firefox/Manifest
+++ b/www-client/firefox/Manifest
@@ -200,3 +200,104 @@ DIST firefox-126.0.1-xh.xpi 413941 BLAKE2B 
e16119980966742cd2ba01fcf780f10dcbf50
 DIST firefox-126.0.1-zh-CN.xpi 648666 BLAKE2B 
616b18369b285e3469b47f6202b9c7c482ddc3032b6443a681477dca85089d38d078499f9341275acad630df1debdc459fa2cf79a3e366a42a2cab3316cd6e38
 SHA512 
f525b2f9123d43f75958964935daeca02b87578bacb7f3ff23aaeb9c2a6074fa99e34e52510331c3e6e9d82ccaee585f1bc4315047d1432a266de92c5abe86ae
 DIST firefox-126.0.1-zh-TW.xpi 650696 BLAKE2B 
0ade075f983fa77ee562b2b0d311ede43b44eb6151ca162341f532f1cf0a1f7a88d993492b19aa33122636713ba15cab3da1d6e935b14c07a70a12d53d71b1fe
 SHA512 
55865f9e6bfbc601cf7bdb902a9700ea57e5433a0760325991e7755207a434bd61d83ff2222cc44580bd3874ba4b0370109579bb9096d127b97d5f7f81dc004e
 DIST firefox-126.0.1.source.tar.xz 552965660 BLAKE2B 
b5d381bbf3ac7d63561dc4c8f8955faeb08fe41e57a05b39585f01054a5348d68d6fc50d9c00d151c211d26ba2d0fb21843868e4cfc1445e4c637ac5756af161
 SHA512 
249605c4891ee9271def187d161369bd3ccbd347f5f0e175d0239aced3cb9ae9655d3c134b7705bda80ea1e63c0a2ee8eb4e76db0840019683376c00f20fc7ac
+DIST firefox-127-patches-02.tar.xz 15172 BLAKE2B 
b9378483ec14ac3cc889efceab2027e5c1559308dceff583d4be55955c4fc6fefc60c93e59404c2af09eb4a9cead44b7fd6f0a9fdb643da38b954708c25e5618
 SHA512 
048a18354e2bd8ca00d64200cf2c6155e7d663fd5c8c4ce25cc449855f2cda6ac913dcdcb0c76514800a43898109f8f0ed97b77bb0d2f40d922e9b59ca1b52ec
+DIST firefox-127.0-ach.xpi 461915 BLAKE2B 
61a955504b6d24fd1c2a603addb5620be1c247e706f4454977bc8c0145dc9a0a6317ad4e2bb0af8e4911d63a2dfeb66752afa96a7916b8f7178f35e21f52937b
 SHA512 
8cbdb3b2e6afebf4afd9324c9f6618674b61f50e9a6e616fbe10e30fa06d13a09258819a55694806d9b4c78b4708f43b29c980f0d05a0b5b739956a002b3851d
+DIST firefox-127.0-af.xpi 415369 BLAKE2B 
579cd019ca95f002e332eba85d2b787ade6753b4b3c1acb7202bed1ff705687ed12e5ff0bcc939ab369ce3ce2b68f3461d3dde7de79cc06f1f5754c3147aa1bf
 SHA512 
6babfb07b46bd058175665c5d62677908301a7fc4e6820356525bde357a6f33f9b3b2f6998c2fb17aeec2cd08fcfa2966ad6fdeb32f9cb3984071c54fa675315
+DIST firefox-127.0-an.xpi 503729 BLAKE2B 
34aee55ebd1b0955e6da61b7e002c2d8a2802c7df7f1556719ff009590bb3c2faaf257224fa5096315f4915f51a4b702c61b342777e98f6fd035bb54d4e0b403
 SHA512 
c51359216d09c1d5f1865a123c44f75d8f9409bf4d89550398c2fcf3874d0dd207bf91dbe38474174132df2612e475953b8d166285110e3799c11de1795cc825
+DIST firefox-127.0-ar.xpi 607970 BLAKE2B 
6cdda3bcba3cb8f8c32c93a3609dfc385a7e146b43b314991241b0ff49e9eb14f65bff161b638bd79bad0da86de437499aa39407d989195dc0d0f9f7009b2ce4
 SHA512 
55f15003ab1479aea8bd69714f317d7aa7afc1f4c60e9b45c0e3d8e8ddd555f4990012c2e879582c21b3f04edbd59e13626ff6ebc8878a35d296a8afdfdadeac
+DIST firefox-127.0-ast.xpi 494038 BLAKE2B 
cbe8cd78c341d4909aaeb6e5ed9b1e0a977fad9454851e116c0da275ae4daa07850a2b2aa3de4c8bf892ebd2238a4c17a2305d5ad7264f6b8f201584015c6f29
 SHA512 
0131290adb663f53a10f2edf4aa57994bdeed775447cdc4b384db1fa1839801dd748b1a367a6fe309b3765a313438652b9072ee4eb248a7cc7bb6a8440ead01b
+DIST firefox-127.0-az.xpi 488591 BLAKE2B 
959dac642a208d5ec038ed68ee26b8710f7fc9c30feb4d4094b1b9a4734b4a6ea20fc478c78c183cfec35f7a9df4400f799a58ebe079a1aaa99aa5ea67d6d1b8
 SHA512 
e0e92fb1c3cd9adae773222457f37cb2f78a48918717e6b0a78d8607ede824fcceb6f497f1c51d9e3db5dd83a022f5ae61fba817a6f205f62c5c50eff469c0ff
+DIST firefox-127.0-be.xpi 708714 BLAKE2B 
c8b83c3b2d834bfdef566cfdd27c29c0f0cceca9864922c400888267bd4a3aeb51591367270b0e4b243893033bd405df36046af66ba2fda498294c7907a64f2e
 SHA512 
2a90322c31579a4a3edf63a709edd0efa4cfb5a5327c02e721a6b19a42f0d66e31ba9a1b8c5f054310c82c321ce58163faab2eb35f043be075927ccd91a77b20
+DIST firefox-127.0-bg.xpi 601642 BLAKE2B 
32535ca3286ce38fc4ee1887149fdbec1e2e8cc9d1e1b53bb2544c07327003fa8fae0a7d04cb86471d8f0c14fcd3604a82a5c4f25f05a5da5027c27256a72195
 SHA512 
5052c551f5240872dc0f6f039df859f4ec1c60bce2f8f881e369d94b11172939ab3ab23f8e9609183c8e84145856e66321a57407c9090f4f31ba6cd99b603d4a
+DIST firefox-127.0-bn.xpi 579347 BLAKE2B 
fd520e0b28589f85cb48ef983cc4fc8ec932c8c527c36650fbf91f21e00a7479a150e5916d7d30f96bc0b3f428d5a397ebe1dc55c5477496560462cc5be08d64
 SHA512 
0b6bff8d6ac653fbf9c46f0bdc2b7a9311762ccefc6b4c853c9ca383f86208f2356613488c6ea692c4c167454425bc9e701d4679096b95abd6bcf1197569fe59
+DIST firefox-127.0-br.xpi 585929 BLAKE2B 
c03573328cdf9675cd3b2a855731b85f04c04f53a8fd478c7536f1c7e4f4534968d49ebdf37b7f0ea6b789f238c322f36d7f58199fb45a5a0192f30b60eadcf8
 SHA512 
82c62d6786f8e0a7d5b73bab14ba251409c73d65ace6331602dcd4631598ebe2df162ee20b73f1102707dc982ed8b5d1bfeefe52dfc29a078da25cb76587383f
+DIST firefox-127.0-bs.xpi 499325 BLAKE2B 
4058db6f8f2ae7c93f8c1ec9147399bc694d4d81562345b19539836839e8f3830e580db2771865a27863aa076a50ddffb50a6d8b39788c0039aa4735163c5fa1
 SHA512 
427a656f3e37ffae6818beaa31d10d29ccdfbc223432c56c61899232d96675e7e23300415f18f4737f8e42c002815a02bb8f6a63ce02b659ac3436829b8d524b
+DIST firefox-127.0-ca-valencia.xpi 544015 BLAKE2B 
2aa2b9b7c37d49ab700cc6dd9f58b8ab23d7fcb09051a16cd1808d1beeb74f5c672f3309b2d2ca85fbca6f768f070870b025f22eaa432f3c6f6f8ebb1a27ade9
 SHA512 
9a9a97b68202eb7688260132c58388b65999eeab786acd439a295fe20016ef1b4f22887a67cd4d4a4a5e2d91a9fab726bdc94a85926361adcd7696c9c5c8c991
+DIST firefox-127.0-ca.xpi 582816 BLAKE2B 
0c85b2255bf960153bb58ba58f69ef3f99f0096387e80c59a931bc87679974b524e6b044f98fd50eca39ef3f91884afd4da9da701c637da0d0f9187b6b8f1f38
 SHA512 
e0d8b202d297c8900cb02ec72958c44cec003f217d613471ad7533e80538d47f1b359cdef497e9a62f85c75d203533838765da17b76fb520e4454d813488b2dd
+DIST firefox-127.0-cak.xpi 590488 BLAKE2B 
eeed323b84876deff4ea0c0c5522cf798730ff86b220dd79d8ae057374ffc07466d723f7f6de88d6a6d2e94c5c8a0345400fca318781eaeee63fc70818c71dcb
 SHA512 
b200ca80140381cd116e0efd1288a6d87cedabd5b89863ea815e4235c3a823eb4195260c562f3bbb6717b1a5212585bcbe30abfe9ceecc15bfcdbf582db4081a
+DIST firefox-127.0-cs.xpi 653267 BLAKE2B 
f0b9ae63b5968e58b56fd76561bedd5ecd67aa27d27942e0a3c2119b4452915af13d3a92eebe2c44b9daffdb4041f5e6f0a8cf548229dc08037d69a199722b11
 SHA512 
085bde106fda2bfcc7a3a1fb30b3f39a615f2b1371b7befba12c6884a09ec5491248553f3a7a8ca17eae4a2ac5b0d40267df114cd39d3388fe47657061958306
+DIST firefox-127.0-cy.xpi 618417 BLAKE2B 
e11244aec0531fe022e29d74c59f073b2ddd56e961ab1eb411d6d06dda1b77d4319287bf72319c5cf4288ec4aa6500a136612bdbb6808bfa20f32b7dd709675b
 SHA512 
c111709ecf402de34c659b2e2503a577431f7d6ccac12797f90e2bb0128b569611a0ee0d6bd2f8d4f320a56e55286724cec6345322e0f753d656705d4b57500b
+DIST firefox-127.0-da.xpi 606841 BLAKE2B 
71f6434e5138cac5b72e26ce602e774fb36e64f36c6ecc2fe07742cd0f80442d2e8e1a1829c6a755f874930cdc06023a2ac5c16b1d1b633adfc64dde4136fdd9
 SHA512 
c4ff070c06fdb2881fdad7795a483dcd8c38f15cc026e67593c15eb8519079a4eb1d1482ce003aa3381834f68809fb536b4bcbc6ad2c42ea736e4875cd4189cd
+DIST firefox-127.0-de.xpi 628166 BLAKE2B 
9dfbc63a160e9b06792c4f0952146577b6a81be74ed87ff1414f5b7cf4b18fe5992692a313c45c772ddd59db602dfb730b88ab15bed52bc67222003ea17a14e2
 SHA512 
fc99af8a289fb6d5208f96ab93393c27e2a5a0ebbce56e89df3e6434ae482d77cfdb2594da76d58cf135f7f40784ddf96371426c7e49e9b8a95cfe0bdeb1c5ca
+DIST firefox-127.0-dsb.xpi 644569 BLAKE2B 
1b3e41831ab5c305ef1f4cd99582fb4e7facf87f2cb2a4097c3958d1b078bae5b5e23fbb8f3830a0137102e877e0a937f7b1c90237dbe45352d248399838b362
 SHA512 
17134e17fd2c6c4ca78c41dbfa5955c4c43fdda888c5208b66614d34f54cb384f0b404631458059f1c8a01eb2ceb09887f416581f678786037b4601ebb1667ea
+DIST firefox-127.0-el.xpi 726234 BLAKE2B 
256fe38ac6e39da59436750e71ec3ff15ce0a1627f5c2e6c1b6d155d90f58568d80232b70c412e9a8477e484cdfa59e90c633b6b2c751ddbc8d4265769f805c7
 SHA512 
b546bca88577edc848290649fc92da0745c40c3eb83d764d414de2042736d05944203001b7c7cda36261e7942e6c8d6bb5befdf3b474964987b1a24e63b2ece8
+DIST firefox-127.0-en-CA.xpi 579149 BLAKE2B 
3037906862ce6cb9c8bf3b3510425a7f1ae8203885fffa2aa971844fd11ce149ccbdb0bac619427cb9e8e52d0668e27bdbacdabec6dd8273bcc28dc642acfb2a
 SHA512 
39a03779866a7cbeb7ed2d3741b64262ddeac47a711de1b19ff5e02b8004f8ae0aa25a992f92fe7b12c6a1d65b5d632a2726dcb9466bf48e6c05fa56bc8198e8
+DIST firefox-127.0-en-GB.xpi 579705 BLAKE2B 
0f64b206f58a621e7dfce94d22b1f16436a2ad0b9b71f065d11087bca6372a9d14b336f0202f42b64cb421ae1bff287875dba24060521df5c6dae4b24628d624
 SHA512 
f898a2bdf74c0c4e848674748c954c84d87a8de7c76fec98ba67d18d07ec6e33bfce937c665a6b78edf93901adafd1d9d38d017477cc96d34426447e1f655624
+DIST firefox-127.0-eo.xpi 608815 BLAKE2B 
ed3edd6cf42a10de032162b12302e76909389f0b7df594aac7dd3a4dc071d74cbbd68e9fb5f49ed8ae6f511d28226db95f83a483420116940422dcd44fd6f57e
 SHA512 
2e9d2a592c9689abff2d03c9891a20b48264bd1aefdafb3e687ff1f547384f16a5b59fc539c71235259a01ce716e4f34be799efc1d1c09aab3f3182efdc90201
+DIST firefox-127.0-es-AR.xpi 622091 BLAKE2B 
7c391d4169c248cfe2ad3eaa7666a24ff769f96251416b85df42bdde99dfefd7752c5131426bae6d846d5a609f4b0a0f214c61cf3d8b612c720c6037dc5b09cb
 SHA512 
931618310f28a620137d42cd0aabc2c11653f189e91d3ce98d0240753e8649e5a271a4d75dc449436aedc2f43316a04f12cce615b22a60d8b6a1d0be34d87eaa
+DIST firefox-127.0-es-CL.xpi 621292 BLAKE2B 
17b1c177aa92ecfa0cf1e9e66b5b631dbc1875f8a6c8c2b7fc47abbd5db7b9e14627f9d9399ca891ccc45c4722403959e7776a827eafba077ac826389013d6fc
 SHA512 
b1bb8f65c654886f1271795081d64df8c6c6eed9aebe7612791c864569f80e94b6f7c5d0bef8c4fa1e05f1b56f9b4f91508aa4598a4b819480c0874d8f0e31d1
+DIST firefox-127.0-es-ES.xpi 616132 BLAKE2B 
7b4ba189c2bb689649385742bc20fd40fad3527173e1e3790f6c0f682f3356e54f4b2829d1e0dd2046dc7fa8324a78cb58fa0f8cfe1c8f936767d777bb0e6e23
 SHA512 
6a485cc0d4715a575601357c35fc38ff98adc40886e3151e5017eb029ea89e8c4bbf24b2bff2a3d28cbad2c62998e6f07fb29a34b1d1d888db3c99b1dcd243fa
+DIST firefox-127.0-es-MX.xpi 589228 BLAKE2B 
933539389301d785093eb8cb68280f3f046d8bbf09216574b0ad89e27bfd2af50e1cc553ebfef38c44a6e5f4c49954152bcc3ceb2f600894297fcaf3e3c59415
 SHA512 
dbbf8bbd3586bbe53af5ad8ffff7f6baa1f95984690f9e01ca30d70f452cff85b1e9f1e7cee81a25a2737abffb5b69a29e23fe424a8c91b52520722cc5ef1005
+DIST firefox-127.0-et.xpi 537273 BLAKE2B 
ad1e1c39cdeea1c4e91096327731e97de00f545e8377b8207e2ca0d63b940652945c27e9e97c267ac22513e5974fe156c2af6164778ce478bf6f468026294311
 SHA512 
2d5fc92bdfa8302237ec539f12b57ba5c8c8ea6fc0897767ab28c53c698933a79a4a72f6ce5ef19044681b8eda69fcc3dd9b93644b36e6fe5433ef76b6a1cca7
+DIST firefox-127.0-eu.xpi 593757 BLAKE2B 
4767ac73c8a41ffbf5e2b519c06f566c26bba5283fb080e66c8c88cdf0218f9eef15c8e535b1f217461730e59fc20d2564c2d0956f80bcf30e4e514dfcc2e6bb
 SHA512 
23ee790546463e70b2fdc84be31f21590e07d2dad533f64bd17472d4d70d3d0be261012467e7ad8efb9f0fdc675b3dab7e4f5d37883b7d42b7f5068cb1ac62dd
+DIST firefox-127.0-fa.xpi 587848 BLAKE2B 
70aee37c99883e96fb63604eee924ab161c54f5345e51222df563f0cf5cbe7fc8dfd285ef274011ad4afe55f3aca84b33c1fd772decc31327aa43fcc5c40e956
 SHA512 
379d0d9991bb5c1de72744bf9878f01fde47db31e03034a61fcfa7ab95ae46802bee9d3d30b3d4c0106b7fbf91b8bd845e7c176b86db259efb007d402f693407
+DIST firefox-127.0-ff.xpi 473935 BLAKE2B 
c3931ad5e57d9603589daa153d352685cff460d40c48c8c8d490aa961e5c9eca5212d5bffbf3a634af27a662ac1989fdb5a7978b1961b1c8176d4352f5e78f92
 SHA512 
f9d155017546e086ba3eb919be4578a410c1e58dab7f594807f622be9f320acdb9084e7db0052a45d573c8aa3e5c4d4c19c0207bdc527011987d67e594e6b819
+DIST firefox-127.0-fi.xpi 601834 BLAKE2B 
e29c18d57de8d86b2ac80f6541ba1861949197589d4f0b4abe1a8a5801879c0a4c7fda6042b3d5d985a5fff0333618ccc153f6382b7d58f57b397e852c5f3ac8
 SHA512 
72a9b65badd422484496a3ad1afca64fcaf281b2565e6a9e3b2f947e56213a7dacad8ef82721be0d87d35660bd6fd4f37578672f857fac107ad29c0c79958f81
+DIST firefox-127.0-fr.xpi 635011 BLAKE2B 
57139b88a96714c967df7ff917dc68948766f85a612aa4f5945fda825ca2013da8a72801ce797256017c4059bd37cdafed43c46f7e1b8d8789627eea608bfab5
 SHA512 
d062692de2dc40db9daa6bbc51674d7ddad4bdbdf338bcdd206be6c20da9c8514a3a4543a01e435bfb7048579e9de5f63517f73ef3c72b2b0d65063bc37017b4
+DIST firefox-127.0-fur.xpi 627825 BLAKE2B 
4ed0d4de57b4490d1e9bddd4d8064454d9c0240ffafbdf1a268a19e401576d2d0cd78e35eef62d9adb2483090b9dda5757357024b398e190c4fdc7f5cd4839e6
 SHA512 
f7a756cda32ad6e61beb24e1a573130cf5449503c98d3475ecc2dcb19b7ec494d7a3b9842731f7fc1f9112ba44483d435bc41932025d7895f0f2a347ca4ee607
+DIST firefox-127.0-fy-NL.xpi 617746 BLAKE2B 
b3a305c897a2b1527e24f9aa14058feba4338a80f4df4e4e342ee919e8eeee26915f0f47d77746fadcdfdedd8e1598995b9c8b1640f664f323a8e18e134112a3
 SHA512 
e306fa62eee561f61d9f1a2399803ed4a42448c6e9fef44113af9fae0c29cda3dd73320cebd63977c3263fd9728985562286a2dac3bbc93fdb40ab84baa6bcc9
+DIST firefox-127.0-ga-IE.xpi 468826 BLAKE2B 
359270c701a3e3549b326253691cffd3e7a4504fe7956a3d8a72a855277c670a897391d5c401358c81bacc9ff8014b04cec84021494f92f8f274c071f6260e19
 SHA512 
7616b1b3721d3232cfa84217029fab9cd05806aaefe27a736d303c14a92f553ab661fd166a362f8f9793d137b7acce706663dcd259ebdf990bc6a7b80b6f2ecd
+DIST firefox-127.0-gd.xpi 594375 BLAKE2B 
13ba9a3c8a9d4846c8879150f71c6f32baa421fd1acafea7da6a5aa6d9b4f1891c726abb66056cfd4abe7f3004868baf41b6f3588368594d3ba3e65e2a42609b
 SHA512 
9eec60c077f96d9a151c41e84d102e685f27e645e046a8314adc9204479ba82d61cf653455b180ad2115b9c3203b30d38103557aed4138de3a3088b6afdbf5a2
+DIST firefox-127.0-gl.xpi 601876 BLAKE2B 
aea9401194c76fbae34e0527a7b023c8e6917ad6ab90dbdb70c74d704a12aca2d93edae5371e949e1f9c8b50b8a1f48e0b3ab5ff8cdcf9c513ff2fcee1c7f649
 SHA512 
f089b276c3d8eafaf6be15e96b8302221a1c2bfcd5359bc5470bac560155d703c43076b1997f30fcefe9023bbec72727c047486a64c8225c0b0c803d16076bf5
+DIST firefox-127.0-gn.xpi 633214 BLAKE2B 
be81442ccda940d8e23dac65571ca998d6ed2469554b1f83e3b7282572e1a6831efd2da8856cd13108f0c29336236ce97264df2b610d1c34a88d39702886228d
 SHA512 
a66c2fd83499f0c6382a976b60bcba85fcab731710ffb1af628ff18b231432223e37e2a5daefd66c905c8623dd58b07a2f34fe3ddd958282dba8e2ba16e08d8c
+DIST firefox-127.0-gu-IN.xpi 525144 BLAKE2B 
2e4acddb00dba003329e43ef1de022796078893a7641da2f53e42d4c590628ab59d6de7a457752a82dbb130e95beb7413eb4ada849d022f13c455f2f01b4e0a0
 SHA512 
3dba1b6a63d18049c0646419b95898b46f24cc2295cc074c42afb56b950a4fd211e8bd570114ebf6b6c8bee517ada0df63e2cfc60b9c85fd7efb4898d0821eb8
+DIST firefox-127.0-he.xpi 626713 BLAKE2B 
14c2effbb963940ccc7731ce03700a65d670c3a15f8eef436a18ada67039c282258b7b6c0b16f3105db11e34b1a33e44ffee1c5cbdb4542d1b68e25ed4e96a57
 SHA512 
591a9ee4784528ce407e26a7357d905996aec2d1c3639133041269410f6e3e49074e2bbbb45d4fb87d62d87d0089601e9cb0dcf118a99f9c7fa25d63c1d7e2ea
+DIST firefox-127.0-hi-IN.xpi 563350 BLAKE2B 
d33459712cc59080ccbd9aabad8429b2b377988980ee32a6efdf5a7556cf36654cd4076d02ad5bf25968e978228aded8a8e1a4cf4872542e2ddd3dab5a7d7605
 SHA512 
2a71dd9433721e130a3acb9d718605360164cd296202d2d280cf40ba7c5c34ba889967776803101a6e8b9bce314de1ccbbc383ba96accf516bdf74af4df6c9bf
+DIST firefox-127.0-hr.xpi 554586 BLAKE2B 
8da027607ac5bf24fd2e95540c2f58b39aa2814c64335725ffd5578da19368eade6983d04ce86034b7a755a1f3c084ceb83255486d4f0b15e22c140f0ce18a02
 SHA512 
aaea7781d66e67cad4675231c6d0ecb5fc8d231cf63f45c236955688cec2e677ae5bafaf7113de21a9ce7ac473f3af4058d4bda54b5b03dc95787c7aa032a555
+DIST firefox-127.0-hsb.xpi 640683 BLAKE2B 
5ec96635d5385653fb39e9a238dc5ad6f02b65cbc70668f95cc54562892b2cc6a562435acc7f7777d5462c4c4a81243cd55f287d8176646786b8074a9d167eef
 SHA512 
8e930c6ff6ffb5040e268f117312a7d8b1e20a85107a23e4e22b8a571a9ed33d271dcb441c8b57f67701c79588a726534d67cfb0bd83cd85b559adef5e30dd64
+DIST firefox-127.0-hu.xpi 644728 BLAKE2B 
16c035aae8e6429a0a9c786eaa44b04239b187fe7780bd9170874116b331bf70eac6b70ebf694f82f5626a89db3669033b756cf0f17b2482987b01ae1be590b9
 SHA512 
330fbc8a0accd7ddbd7d4357d59668764d6990d6ba8b299cc44fd7ae09d9110a7c492c705fc54b24047db2159dc3f5a4aa6ae732e05407147aa766ed48ed8fd9
+DIST firefox-127.0-hy-AM.xpi 648978 BLAKE2B 
51303e1cb956573bc91b25218c0fe310978201b08c0190d70a160109aa390725c49e08b23a99a8b7c932c0d1db5538976163f5bdfe9aeedafcd19de0d8908355
 SHA512 
aba0a64e3723b4c12d49c8e465b4bb5a2337d37fb3235c3b4ec5e8bd70cb01d82cf135660e6ca9fee852c55ce0747191ed5b5bb6b1444b5f855915e054750e44
+DIST firefox-127.0-ia.xpi 605278 BLAKE2B 
b979dea97f1bbe24730c5ad0ea99bb94b5059ba1d57878b0c9bf4cf14f45c4698bcd3bc4936fe79c71f0cb03f9d1ae19bf19601cedceb4a373fe14b4b20b5e9b
 SHA512 
8c8821106740633cdcfa919c2d6ca54ed7b613f8912dbaceea0cf9e962fc9a5f7b7a1cab71df75e8868b6984507683851cc4ddc9e6e7fef6aa52ab5957f28f3a
+DIST firefox-127.0-id.xpi 572108 BLAKE2B 
c2232b50d3394639784903fbcc6200968c3e33f3cc2fe604c31eae40991cf1c95fed7e9af4dbc73a0808cb108ff205313515e6a05d7999061fd55f098ca86f4d
 SHA512 
7e55d2166734cdd08297c9477abbf5460e16b145cda36a58bb373d67a55be26f83e165a42e8001cabd9ac20f14a280a4f054c10ffb87120802a370d3e253d23d
+DIST firefox-127.0-is.xpi 611945 BLAKE2B 
6bf6e3b301f9b8d403a10d12a30a5100f80ead8050ebc47949de9be530b7c916778450554761f030f06a0e25ea21311a7d934ea592ea809fd56bbb774a0a74a8
 SHA512 
432e1316eee73c73af2a4aaecaa382d0939cf567953c6558990cd76387978cecb1a708304e06187cf70e54382922dfcafda640b8fc1826d5fdd3948a25c63830
+DIST firefox-127.0-it.xpi 561883 BLAKE2B 
6881651f7f726898d3b7703239342b2b39c2b1ba5d83fbcd17b59948b59f7c0f0bfc8a579d39457f90b02ab3d7b406a27dccb112036f9142d465ceb51ced69d7
 SHA512 
6e82d206521e1dea9cc084f94d0b07547950d4cd6173d9d68b6978f85058c818b384ca8e53ecec50507fced25f0395d741417bd0cf0e2a396ea74d5698edf9e2
+DIST firefox-127.0-ja.xpi 673196 BLAKE2B 
4418f38dd1594d55bc5df92cbfa298bdabe467015693f01d96076fe26a4d4ca36b8873600c25c78eb3e26dc39224488d1bbaf036281a692fbeb58597982d0366
 SHA512 
2f527b93d81ffdb7cfc3b59fa94a30d4c99c23da7f2b79eade5ccbec91543d8edb7ebdfc5718a6c29ad2246c8e25e5f1db04388b8d9a0f6f8d87d086f84b2412
+DIST firefox-127.0-ka.xpi 658463 BLAKE2B 
f3847a407772a92d2a07e8945de18cf6c584e817a02eebba4c4e750cceaad40c6595555eb8b07d7199bd4ad2146bf3605b1e397ca5d2a3deba097045725ba74e
 SHA512 
294cfea1bb5de844edfac357592e752f900b95a48244d2d640bcec52f9373f89261fb72f69b595273f748d6cdbf310b421c1cfa175897d8f6f92c0576686e9cb
+DIST firefox-127.0-kab.xpi 602170 BLAKE2B 
cd19ba94b174b3d98687d75890c9762f522205b6c24c47bcf7d095a9ba44586773590c938c0912c334bc51c948f1eee7787e5d4030c23bc3730e77d37616e7d7
 SHA512 
7dc9e5bf493627c246179622b9ec51c5fc6919aa818d0e0d8a5a5f1dadb7968bd1c40301553152fbb861691f91c32513ce3a525143db93b4b08da17998456c0b
+DIST firefox-127.0-kk.xpi 701250 BLAKE2B 
f0372cf2b44f69dd46ebb02a93d87c6b84c2890b2fa5fc60ba47d9773c1671ee39f8b420d034d0c36ed49c2f83641febf69c67fc4332c505a3bf799f7ec1b581
 SHA512 
27d17e9f890abe16f3cbe5e3816cd2ee373bef2ef13def9d7c54213dbf30b51656c93d22e8d239103bdf136e46b8690099d11485ea54e1347f05865d3685bbe3
+DIST firefox-127.0-km.xpi 523606 BLAKE2B 
6850297b85f97b4d01d078649a01eeeb6065ca8993a7166b48f52c539032120e705dac7eed4cd7c6f5a57ccbf20bade38b18e58f5276d4f36ca4f0f393be7cf2
 SHA512 
92c9c5a7f37a502f86eb530be0d89dffa6e0df3a627b2d44766969e8d8619790c090d1e82a448e14c73f157f202025163f8e76b5b8ab02f605cc84d7ac202032
+DIST firefox-127.0-kn.xpi 489097 BLAKE2B 
98d4646cc68aa60c8486c30ce1f67c5eab8c8dfaad4600306dd1a707474ab92e5b39c0dceccce391acad2b6f0c24fd733ea95f829d662c0ffb4ca9ea06812390
 SHA512 
5dc9f5739577fb5187981db6494147cf01a59bc05de1e7ad03f78e875c337223b48c00f6623dd2c04342c6c081e915ac257583fe2032ec8b943db9b199b64716
+DIST firefox-127.0-ko.xpi 655326 BLAKE2B 
d81e7f3f0f8321e9462b3725fe6fc04ec02cbb317b2d2bc921837325f79e8e69b87b7df3e189c9b7612f910e74cafcc2642379601c79fd47f6b6165c4064cae4
 SHA512 
12a851b0fc0156d90ca1e6709a1cd6732447415747d6698d0ff3ea4ea0b1ca2d67f03d90f4361fcf6aa36d107cf32d0cb7365f64a9c782fc7e2015318bdfde7c
+DIST firefox-127.0-lij.xpi 481954 BLAKE2B 
e0b3541aabceadc64d738a58f2c1437d4383a2ec428cf0bb845d3e014f3373465f1039af7f8a9d63e4ceb7b24a977cdd91af37fa893655ecf798915470758fbf
 SHA512 
67abb892ff1c30de980b049b5b11d2753f0206c58613d6a72ae2f9e15812a930ee2633bd481c3b463d042b5b6715048a82a7e9b9905dc639dd27dab9c24ff530
+DIST firefox-127.0-lt.xpi 570438 BLAKE2B 
2ff3f70940c9e253b5c7ff28471aab04ff79588c6c260991a3b46bf6b204ed85bdc8e4c3bfeca726f1d7a020305c57ebef25f37bd6c7145a6cfcd23e154cba37
 SHA512 
3da9cd11e6bdc827cf7f6eff8030c91bfb6a994e04607f6f5aadda69678ddef77b5074aa85ad98b6b114f08f8acfb8c06229fcb454e5f460c86bcde6697f50d3
+DIST firefox-127.0-lv.xpi 571660 BLAKE2B 
f4610a2688f3b4c1b86b2d5c85a7d9d32b53206b1b0e5db703065ac3b7e0bd5cfaa2da4e8578b0c4cefb5128c84ddc384a7bb51a60e770d94234caf4d1d411de
 SHA512 
863a508407d897a304cdd89a0168d91fa9e1e0cd1c7cabad54e920996d7d79cd8f66baf7e710062c8edaa3df309ed4b16e143731c69db71d09889e9f0704d77d
+DIST firefox-127.0-mk.xpi 491110 BLAKE2B 
c13de45a333c93faa8e9fc59d0119071a0fbbc8996438817b97ad046472b2843a65fedc2c3e2e8ac0134c8e116d2e9258909b0a6939938e151bc520368a8d5b4
 SHA512 
f4d215ac72b60354693b4b281bbb97ae6b84b74e184f1b13796c04ae0956da34b95e6a19f162bb2b6de307ef771e7e289e2cdd6db0e8152b34cff1537106e571
+DIST firefox-127.0-mr.xpi 529924 BLAKE2B 
b35c624b2fc14ac18fc9c6f1f3a67e40f6b2783c16517709885576ffaaef9de39bf1e1b5da7c11484a52e15ca54bded561b0789f6c5120c870e7a306290df6a4
 SHA512 
ffc79fe119679b4fb9f9b6601566c82d8cfd83877ad767c2bad13ff691128a53af18ab52052ed5c7e5c655d2c5302389322c75525666c7f58e575c8db080a76f
+DIST firefox-127.0-ms.xpi 447563 BLAKE2B 
6839c2fa2c9edbd5bdbea5269b09f9521a85bdcf91780dbe6d07c25a71b5cb56466032328598cf6f02e3d7f439c950304c98408b3bc512cb264bdbc3102a5b66
 SHA512 
05488ca18d97d26f01dea385001a75b90b759bccce6b2b65d5af7980bcafabe537af96527c35a1b0bd8d8c3c276020af55b5c1504b3356c6f850969c5c3dd376
+DIST firefox-127.0-my.xpi 516477 BLAKE2B 
da6509b82939cfc0f5e6a47471fee6774a52be2edcf2d66c72f0dc44958ad7f8723b61d4832cb8df4a36b84caa65db6b2b56216d373616703559b204bb93b69e
 SHA512 
9f1a78ea2995efb50438f157ffe960bffd01a36a1bf08cb7c0ab35c4ad2e3434a38ecd23ad13aa934b32591c3160ef956a0bf6df1120176f4cf6578d7f94571e
+DIST firefox-127.0-nb-NO.xpi 602865 BLAKE2B 
10a62570a2c549c27ea7c28226b2282db95286bf4b19cbb85784f0aab747d54ba235e42607f174dbdadee29661f29fc6c7d25531ee90c102486872e9eda01136
 SHA512 
891b50425bb1722596820a22ac899ebe4259d9dc14632f82d3e0fb0d0e30ea6b01d31012987dfeaca109b58101ce92464e37005c2d9cc19ce7926884c42bc952
+DIST firefox-127.0-ne-NP.xpi 508756 BLAKE2B 
e454e368f43cd4242e9fef466d081f437fe398e8207c77e83783c784fc84bc8962b3806f712cde87a5e0249578daecdef82362a9aaa63e61b9c72a22af3d3371
 SHA512 
0c6f6582dd7bb25e88fc164d66f90f469e1610dff27646a07aaeb3de6f810e151e3ce6ffe91d8e0dfad33b3e1cb2c8f99e65a0342555e1394aea9578d8ba13c1
+DIST firefox-127.0-nl.xpi 611461 BLAKE2B 
f6270fe6e2187cd5b4235062f1b704834255f1541a27625cce621c5cc8538d1c3e750be0d29b3f4d5ad0d46a38182f2103400a86fcee70559bb6bc9bf6174505
 SHA512 
64b46064785fa791adc1f5cb08791e56acf3efd3e4d3d8abc2f6a2ae3b2a582ff746ea7efd8bd323b7c918a4f09ed2cd0fdab36234a54723eb5284ec1c693893
+DIST firefox-127.0-nn-NO.xpi 603359 BLAKE2B 
fd705ef9339e855eca15723edf0e3015281b65dbe021bb89394038437bb6b55b22d49d245a3aa7c3ffba87b253d5fb62971173751c28a1ff1e700cf8068cb3fe
 SHA512 
57d720e8244512c02f5ffdd86609bc9fdfadd82f0b31117cdf696a805036718bee60c9e876dd7db11c11bc2d4e4d7277815519fa0b92478a5c453c9cdf301386
+DIST firefox-127.0-oc.xpi 608809 BLAKE2B 
5c3e8a14fe89cc592c23180cadc55e781f6034cddd163af65d8b9c369f7abe04bed2e28d44ea9c7e2ac2705032fc3cf6f04d35b870e8cf0ff0c5f83eba44ac21
 SHA512 
5aa1eff7b8edc15a25fc3bcf1515c96896342427d57e3b35394ad20d1335fc85eb52182d7307ef166158f32b56947cee8c4b1e0d2f535b1edd451daaec15bc1e
+DIST firefox-127.0-pa-IN.xpi 687025 BLAKE2B 
365ac2c0e8392155ce3761cbbd658fbe1006e1b15865e08bf0706104ca6b97e8ed8788cdf1582c6f540c38aae3ab5106b107caa48018e923983b81aff8b00992
 SHA512 
0db1126e69cf362497951005fa438289707d8feb98de159952a1f8fb3b8001d0812ba0bdca5a09f08e424727feaa710676ea8dec30055c4af7d24344972175a0
+DIST firefox-127.0-pl.xpi 631911 BLAKE2B 
8fae3b4c6353b814fa4fa2a39b135aba17f7f33cb2ac42d2238194b2d3c3af8eb96d53527308b91c5afbac331f962d9d9324504ae09c5200ba5374e7e5a3ffa4
 SHA512 
49e24673ef8090f4b55ef869b8d05ea9fa8ece70a92b9abafb4499adec6681c09f2e88a2b4b28c7a66f382ede6e0f565d4e183dac79f59564b1f2649e03cefa8
+DIST firefox-127.0-pt-BR.xpi 616114 BLAKE2B 
89cd62086a80545c7292223a3345969ba470c74b48dd58f952239c218717263acd8d1df69b524999969537732a47fc038225a30893d06aaec7b296235be8d9b4
 SHA512 
3bb77f8896bb1eaadd4cae6ab9acf36114f9138d250e1c50e62518a20c0ac198f869ae2d2a5186a19246bb9c46877faa63927255376630a0f491883d9a88ae50
+DIST firefox-127.0-pt-PT.xpi 622360 BLAKE2B 
587895d9eafed5cd0e30d800b864c3fd4114214ce4b0ebf4349d0e2b0a2af0f9d57ccd57006f7f477fe3a20c3e7ee95b3cfc3769222818094977e5dced515df3
 SHA512 
364a65d9561eef19945e9771714be0e7de822b1f6d94adfd4d1f678f96fc0d775c667c1f1e6fadfc9054977e27db8d1ea55fdc8369c5aeac75e5fc939155d2ec
+DIST firefox-127.0-rm.xpi 612109 BLAKE2B 
88889535b375471f1df59bd6ced5be2a71858f4f4226bb4adbd9accf4d4fb8121e136a68f733250b2d01aeab264890e9a02fb232bc414edc020ad0a5c1c3ec3d
 SHA512 
db02ebcf247caa24b5ed7c36c4d81054f308db738ae1292fac39ffe18496a9b0870c62fbaec2c061d765b97544aa6585c63b4fe87ef9f9b02db5a261d0b27c3d
+DIST firefox-127.0-ro.xpi 547534 BLAKE2B 
331543ed23e1ee53ba132623a3d2c70c5409eefa91d0602e25b41329e008f9709efa0883ba6b8eed1a980624ea264073def33eb17226fa3b5336b36189d92b29
 SHA512 
5f2d55a898924107a3ae16016820632963de0cd335a7e8efad2e27934e701c2219d01f611c21bdb7977c557848279f1a8ec6780fa705133693af71f557f0d7da
+DIST firefox-127.0-ru.xpi 713591 BLAKE2B 
98212cf7d4347a6c033555acf51155e3bcc9b3b93df348115e3da7125cc000f1ec41261c6ec12aea14ddd8ebb892ad77f36a2dcac35e8d40b03c4f6fed15101f
 SHA512 
581c5e3f6818a03ff03a27ba6b54be4e44b7e4930b459f5f95408aff72688246894a5e17c64814c118fc6f0f8a00ce633b34a320a562c5affee13923b0dea9de
+DIST firefox-127.0-sc.xpi 582657 BLAKE2B 
0637d56420164ff00631dba2b47c9095772f77d2f287676ee9280013f072e72c50ff4933ceda871d9627218b63f4062165a3ca514f2b88b02f6eeeb3591f8e7c
 SHA512 
193c6fe02f05c1b59da86fef0e41b1d4cc0b956b1848a1f6978742736294af284c3e695e15391f3ca69b80e230eae41420229e88440cbeef4355cd1494516596
+DIST firefox-127.0-sco.xpi 509000 BLAKE2B 
82ec7ab1e547aa4d6716ed752ba732e1e368b2070a860eb6912b3c3090cb0af6452835d1d26c799adf5e4dad2f9e36198caa7c1b4642bab88b671f688e2d4e48
 SHA512 
8fa15916ee4a84f73511bc27c97d9921e12ec52e6fd50637db44dcbe6d70e4092995c400b7b7700a0527b5ac7c90b14a466efe9ff83602fa3796f249e105181d
+DIST firefox-127.0-si.xpi 603746 BLAKE2B 
4a9b926f5dc3b1dc8c9191229b01f60d9298be5c382ceca33b99928661e0161846c7369be2ffce51e3512bd8d5584a09b229021c9d011ebd69b7f2905300a804
 SHA512 
42f13c17551aba1c5ee6d7cad9eb51c58d217d9f20cd8f4d68f95214bd7ccad2f97f7f022f68e13cd141a9bf7d2fdd29d5cb523a4a6e623d6d8f10bc49f9f10e
+DIST firefox-127.0-sk.xpi 646191 BLAKE2B 
3729a5e41128c6ee700f1b7ce4c13ea8032dd2518485be4c820700eab3627f19e1869bf1f3275d89f86e5e65303d7bf4c874f167692ff9510ba9fadbfc7e49a2
 SHA512 
5f4c8a6f565cee0f77bf30480032e9fc9322811ae3809efcea278500fe8ef68398a64ccc873f5a464be1c57e5ec35eb2cc6e13a64246790f70e894ea0127fbf2
+DIST firefox-127.0-sl.xpi 612538 BLAKE2B 
7d838d054fd4914c2dc558962c170e5b08f2bc27786648c58c73e64a4021b386841632f0f2f2260f9d4ec7ceb2a671bfe5c6510fe1c57528e4c46b4578f002bf
 SHA512 
bd785d1dc1ea95f78ffcc3664195734a9889497b795c5a9edc223420ad9f2855f7f655bbfbb27513b2326eeecf897334e8a5f285f9354d75c14f299964d7cdfa
+DIST firefox-127.0-son.xpi 414286 BLAKE2B 
86860d36544abbe28d81bf903948b0a09accebc69ec17f4002c37bed8f7e7797a7fe07f1bd53c966ac083979cd27b776844ba4cedfe305efa9e5b1a105916cd5
 SHA512 
20142c33de365dbad83c8b33ae6b1d71ced589d8264e21a265222304896e3f865e610e70cb705b8ede54488aeb0dd84343ed80afc3b409e1d36c914c2d9ff7bb
+DIST firefox-127.0-sq.xpi 632504 BLAKE2B 
f2d8f4d42a9065f2af0181e8a7450a25d9aac5a015f62984bdd5513b0986479d76ee83d865a7f7de4b2b8512a753137cfecadb8e49bdcc0b827b6398f4aeb785
 SHA512 
5fad347afd10979c5234c7b008931807f6917e6dea7b7def0c89f6175a9f02a14741cda6b518b24f693793f709eb70649bc9d10d279f616c4dc979496070326d
+DIST firefox-127.0-sr.xpi 637082 BLAKE2B 
07ff268873bb98a1ce91557faff3fd0dc7271bd591821270e206ea03180e46abd265ef84262a9025dbdc820c86f2263187c51a931134a730ef4ff84f54787462
 SHA512 
651148db35f3a2cc498454bfb6f5b5b84c4cb1744b2978fdf631016df9279213ac96046c6215f2960685d657f5ac4f39381bae7b4a10eebf1f2f32ca1dbd9239
+DIST firefox-127.0-sv-SE.xpi 613206 BLAKE2B 
9fa50b6d266e1f04d86210ce88088dd71ed5c991f01ebf21ab7cc3c149ba875e4cccd91d0d62dcc53cf0eeee2bc89f73c5fbdb184a2bcf318e061916b58b9ea5
 SHA512 
f32f4ffeb1d902ffe50cea883ff171e056419d8580e1791f254291244a39f63193c73f1d68c7e1597b36eb17228f2cdb3ed2c1a86f1f3e0e73033906e44874ab
+DIST firefox-127.0-szl.xpi 524214 BLAKE2B 
fa4b8ee9bcf17299e0d9e40a366df55b86902d36c7181119b9f890d09f7aba60f2ccc5f04cc36f9a6d2388be337610dee37f78d9fd77797015ab0585dda9d546
 SHA512 
ddc150389f1d718f0c9def9416b5035535a6fea34ca3cbf18d59c9fe8a05d4827538c0dad806a847ce4a4966bf07a004eb1802232185ab4facf8110201a8213a
+DIST firefox-127.0-ta.xpi 505373 BLAKE2B 
34936721113e9d339450c3172391294ef3f45fab2b0cae2442ff258a0c9b38f3a7a4567e42d30a3cf9ec8c3615cf6243f16b5bdb2f9b52e0932759610b9ee016
 SHA512 
a8f99bf8b08109b6f957009595026ddc452b21f07e6c82c708e57ce346102d0f45b8650dbcafda6ef799913f57826a1ee2e6d0f7ace015ec7dad91bbfe5ecf1a
+DIST firefox-127.0-te.xpi 558856 BLAKE2B 
7ffcb9a5294ff6f229dd56da4564445d35c2e54b498f82ef674cd6577a9953df12d45dc1292b13e1ce7e8802975bc96c50419d680adb784306c5fcac51f8ed7f
 SHA512 
e073ad6d5921b43b2d453a65f972f2a363f0628950d21f7fdd48262707bf35c59bb53fccfbcf69054fc03f2dbf8b7b33c3a3ab29f592b2621d68a32a1e388aa3
+DIST firefox-127.0-th.xpi 689038 BLAKE2B 
5f8c10cfe198f94ae8562d2d7960a66b1f8ffde33dc3d3873e4de567f41c9d41ee29bd753ea9fd643b17e57a61ef1312836cced0c816e3c9b49bb5947f069513
 SHA512 
6612aad05f8c1b75094359556dc985e01481d7449896a7df6a1e18133a8328196700b96a207c3a6267c72e0e902f615886a3208e75b0f10f517fb5bf933e0df2
+DIST firefox-127.0-tl.xpi 531994 BLAKE2B 
c5ed98853783487da470c138be42f059d1a202001d59266da9ca81fb4a014270f2b828d33090217a008117b5aff3897ef92dcd7e293312042ef8b77fb37b96bb
 SHA512 
7484eca4f897eabd228a1e27a78660be1fc8bce665dce7da969e8ec95b258fc7c977c8ffc699c608139b73d01d6fbb1918257c8852c43b75314c68cfd3d1c914
+DIST firefox-127.0-tr.xpi 626625 BLAKE2B 
d2e56bcf0e50219bac3525cf523b8e3c062040b3c819ca398b5fa6df6899ae9023dd9d9bb596bac449f4e17a171516edf01418d62770661d89a396edb901bc78
 SHA512 
683c7ac6aaf26710230289668029820b30d8e70b2ae33eb2e1cd419a76374523f52ee592f83cb804409187ec0c03313518f26115176d5491b53b0e630ed28a71
+DIST firefox-127.0-trs.xpi 501859 BLAKE2B 
ac28d51bbe425f97e3fe47485f2625d0dc2af100eefa57d5ade9f09c53767acab95164a5fb1930e2a64e17289f74ebc5564e8ae750b2b63d91e764c71253a2aa
 SHA512 
686f201435bdeecc7269db28f5a288e8abcb6829b68aa0ec4850528002c56f7f210765ae9ccca63d3f0c6c88263205b0cf3c33ff5e47842bd733c59bc85bc6f1
+DIST firefox-127.0-uk.xpi 705151 BLAKE2B 
e2646de7669a8805937f63b5d29dd65bd69c2747d09d4d8b6ab13a03f715d0f327987f42ba3ded9593abf2f0ed7d55696af0d9e67b03842e8f4537305ccb4d9a
 SHA512 
e1deadc58a43a79bf031cb5db34fc8f955f46e195ae51e2a36593ccb3c6d8fe927585b2662ddbf9160383e2727849ce01a00387289601bf40f64f6c31f9e6dc4
+DIST firefox-127.0-ur.xpi 558317 BLAKE2B 
84539b41a2dc52314e75bcb4a30694e65ee75366c9d9a701eaf07b03dab4101a2ae9e1dffa99b54113d67870f67b56c480f047e4edb8a3ad699fa0ff5b6fbab3
 SHA512 
175ab21d415310d8b146149f193a4d300662c793817db46d24d928f584c27ec4f9c18533309698c6afb44f9635630a15e261b71a1111bf39c15dc00f755f3ca2
+DIST firefox-127.0-uz.xpi 476585 BLAKE2B 
5c9ea24c52bff02f2ca5715121d0955f77ec3ddbf07bb1b2428190170718358c590fbcff5a476d6b633eecd29cb64ad805bbe1bb8a585d4d5558038bbe3f4c7a
 SHA512 
e53fa24c20851090847eaf8b5fc206b3643be756f2ccc92d249d242dd9eed611765215d7562780bb2c0851cae9916d79ff978abc353f73a5de3d75484295689d
+DIST firefox-127.0-vi.xpi 650528 BLAKE2B 
5c32cd0370ba1e65ffed4d86acf31da530d99946dc0af5567828cc3bd95a7f98be775f75fe792334b25fe776f3e7888e925857f3e3ee81ec8a00bbc477f1c16a
 SHA512 
e97ea727bc119697b78e3f73823ca29c5a38fcb7cbd21cdcaca7f240ece1fc09d96856ea53d6f26a858cf5e54975ec6ffb2d191a0a2028dba16740ddee7b60f2
+DIST firefox-127.0-xh.xpi 415014 BLAKE2B 
9163fcadbead1c3ed41714bbc8939dd4422f637191e98652d1123ff3255d0544a0b2795fdce0eb509fac6d600600e247aab8543df8ca41d2b1d41e31b94f11cd
 SHA512 
f02519432606b77f87a187c569e8321b10da45861c9ad63bce1224d3661683629b6d15ed7250e1ec7c5fb5e16de507fbb4d0a4142fe3009b4be75b218a608ad1
+DIST firefox-127.0-zh-CN.xpi 650818 BLAKE2B 
3fd8643a0c395c6b2834330998607b65f5ba1003bd00a46286167ec98e6899d755d5e3ccdcc1b99e514612f921366357250f1d5bc176896f5f3a0fb0271ad884
 SHA512 
cfaee59aa017e3ab2673011872164705a2bfe1ccd77a313f4ff7f1470e95d18d83aaaa46c8f379362f64405fcf3cac6a28895030e7818abec7eaa90e1144acd9
+DIST firefox-127.0-zh-TW.xpi 653089 BLAKE2B 
4139d9516b2740201a0ca6276494d5c44a15aeea6ad9e19d64747f1bb41fb913bd38c90b8d9bf1b7bb9ee898a02bb0ff6103a6da953ac838e12f84a1cdb81f0d
 SHA512 
76b17cef1b9e6f2dd9a4f3ad5ee7cd63e75577aba900cf62df26daf182cae865eca225800f861dcd5084261c3054382493c24451437a67ecf8e7feb56ad365f6
+DIST firefox-127.0.source.tar.xz 558840124 BLAKE2B 
78fe92863389763759ce6e25dccc8adb19b8c35b59e591f40982fe5cd3b5511fee8f809567fa5aade68fcf3b40c1860f5e63aabdef0421c94b803d30d32d4988
 SHA512 
5a17bce357e7f445c37540115f2c131ad5a055c0cf04f20bc2eaca18f8d241a99ac76739d172b38f2ad2681633f901a0a15893801082ac5db9e20e31fc8b8291

diff --git a/www-client/firefox/firefox-127.0.ebuild 
b/www-client/firefox/firefox-127.0.ebuild
new file mode 100644
index 000000000000..843ecc803106
--- /dev/null
+++ b/www-client/firefox/firefox-127.0.ebuild
@@ -0,0 +1,1417 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FIREFOX_PATCHSET="firefox-127-patches-02.tar.xz"
+
+LLVM_COMPAT=( 17 18 )
+
+PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_REQ_USE="ncurses,sqlite,ssl"
+
+WANT_AUTOCONF="2.1"
+
+VIRTUALX_REQUIRED="manual"
+
+MOZ_ESR=
+
+MOZ_PV=${PV}
+MOZ_PV_SUFFIX=
+if [[ ${PV} =~ (_(alpha|beta|rc).*)$ ]] ; then
+       MOZ_PV_SUFFIX=${BASH_REMATCH[1]}
+
+       # Convert the ebuild version to the upstream Mozilla version
+       MOZ_PV="${MOZ_PV/_alpha/a}" # Handle alpha for SRC_URI
+       MOZ_PV="${MOZ_PV/_beta/b}"  # Handle beta for SRC_URI
+       MOZ_PV="${MOZ_PV%%_rc*}"    # Handle rc for SRC_URI
+fi
+
+if [[ -n ${MOZ_ESR} ]] ; then
+       # ESR releases have slightly different version numbers
+       MOZ_PV="${MOZ_PV}esr"
+fi
+
+MOZ_PN="${PN%-bin}"
+MOZ_P="${MOZ_PN}-${MOZ_PV}"
+MOZ_PV_DISTFILES="${MOZ_PV}${MOZ_PV_SUFFIX}"
+MOZ_P_DISTFILES="${MOZ_PN}-${MOZ_PV_DISTFILES}"
+
+inherit autotools check-reqs desktop flag-o-matic gnome2-utils linux-info 
llvm-r1 multiprocessing \
+       optfeature pax-utils python-any-r1 readme.gentoo-r1 toolchain-funcs 
virtualx xdg
+
+MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/releases/${MOZ_PV}";
+
+if [[ ${PV} == *_rc* ]] ; then
+       
MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/candidates/${MOZ_PV}-candidates/build${PV##*_rc}";
+fi
+
+PATCH_URIS=(
+       https://dev.gentoo.org/~juippis/mozilla/patchsets/${FIREFOX_PATCHSET}
+)
+
+SRC_URI="${MOZ_SRC_BASE_URI}/source/${MOZ_P}.source.tar.xz -> 
${MOZ_P_DISTFILES}.source.tar.xz
+       ${PATCH_URIS[@]}"
+
+DESCRIPTION="Firefox Web Browser"
+HOMEPAGE="https://www.mozilla.com/firefox";
+
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+
+SLOT="rapid"
+LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
+
+IUSE="+clang cpu_flags_arm_neon dbus debug eme-free hardened hwaccel"
+IUSE+=" jack +jumbo-build libproxy lto openh264 pgo pulseaudio sndio selinux"
+IUSE+=" +system-av1 +system-harfbuzz +system-icu +system-jpeg +system-libevent 
+system-libvpx system-png +system-webp"
+IUSE+=" +telemetry valgrind wayland wifi +X"
+
+# Firefox-only IUSE
+IUSE+=" geckodriver +gmp-autoupdate"
+
+REQUIRED_USE="|| ( X wayland )
+       debug? ( !system-av1 )
+       pgo? ( lto )
+       wifi? ( dbus )"
+
+FF_ONLY_DEPEND="!www-client/firefox:0
+       !www-client/firefox:esr
+       selinux? ( sec-policy/selinux-mozilla )"
+BDEPEND="${PYTHON_DEPS}
+       $(llvm_gen_dep '
+               sys-devel/clang:${LLVM_SLOT}
+               sys-devel/llvm:${LLVM_SLOT}
+               clang? (
+                       sys-devel/lld:${LLVM_SLOT}
+                       virtual/rust:0/llvm-${LLVM_SLOT}
+               )
+               pgo? ( sys-libs/compiler-rt-sanitizers:${LLVM_SLOT}[profile] )
+       ')
+       app-alternatives/awk
+       app-arch/unzip
+       app-arch/zip
+       >=dev-util/cbindgen-0.26.0
+       net-libs/nodejs
+       virtual/pkgconfig
+       !clang? ( >=virtual/rust-1.76 )
+       !elibc_glibc? ( dev-lang/rust )
+       amd64? ( >=dev-lang/nasm-2.14 )
+       x86? ( >=dev-lang/nasm-2.14 )
+       pgo? (
+               X? (
+                       sys-devel/gettext
+                       x11-base/xorg-server[xvfb]
+                       x11-apps/xhost
+               )
+               !X? (
+                       >=gui-libs/wlroots-0.15.1-r1[tinywl]
+                       x11-misc/xkeyboard-config
+               )
+       )"
+COMMON_DEPEND="${FF_ONLY_DEPEND}
+       >=app-accessibility/at-spi2-core-2.46.0:2
+       dev-libs/expat
+       dev-libs/glib:2
+       dev-libs/libffi:=
+       >=dev-libs/nss-3.100
+       >=dev-libs/nspr-4.35
+       media-libs/alsa-lib
+       media-libs/fontconfig
+       media-libs/freetype
+       media-libs/mesa
+       media-video/ffmpeg
+       sys-libs/zlib
+       virtual/freedesktop-icon-theme
+       x11-libs/cairo
+       x11-libs/gdk-pixbuf
+       x11-libs/pango
+       x11-libs/pixman
+       dbus? (
+               sys-apps/dbus
+       )
+       jack? ( virtual/jack )
+       pulseaudio? (
+               || (
+                       media-libs/libpulse
+                       >=media-sound/apulse-0.1.12-r4[sdk]
+               )
+       )
+       libproxy? ( net-libs/libproxy )
+       selinux? ( sec-policy/selinux-mozilla )
+       sndio? ( >=media-sound/sndio-1.8.0-r1 )
+       system-av1? (
+               >=media-libs/dav1d-1.0.0:=
+               >=media-libs/libaom-1.0.0:=
+       )
+       system-harfbuzz? (
+               >=media-gfx/graphite2-1.3.13
+               >=media-libs/harfbuzz-2.8.1:0=
+       )
+       system-icu? ( >=dev-libs/icu-73.1:= )
+       system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 )
+       system-libevent? ( >=dev-libs/libevent-2.1.12:0=[threads(+)] )
+       system-libvpx? ( >=media-libs/libvpx-1.8.2:0=[postproc] )
+       system-png? ( >=media-libs/libpng-1.6.35:0=[apng] )
+       system-webp? ( >=media-libs/libwebp-1.1.0:0= )
+       valgrind? ( dev-debug/valgrind )
+       wayland? (
+               >=media-libs/libepoxy-1.5.10-r1
+               x11-libs/gtk+:3[wayland]
+               x11-libs/libxkbcommon[wayland]
+       )
+       wifi? (
+               kernel_linux? (
+                       net-misc/networkmanager
+                       sys-apps/dbus
+               )
+       )
+       X? (
+               virtual/opengl
+               x11-libs/cairo[X]
+               x11-libs/gtk+:3[X]
+               x11-libs/libX11
+               x11-libs/libXcomposite
+               x11-libs/libXdamage
+               x11-libs/libXext
+               x11-libs/libXfixes
+               x11-libs/libxkbcommon[X]
+               x11-libs/libXrandr
+               x11-libs/libXtst
+               x11-libs/libxcb:=
+       )"
+RDEPEND="${COMMON_DEPEND}
+       hwaccel? (
+               media-video/libva-utils
+               sys-apps/pciutils
+       )
+       jack? ( virtual/jack )
+       openh264? ( media-libs/openh264:*[plugin] )"
+DEPEND="${COMMON_DEPEND}
+       X? (
+               x11-base/xorg-proto
+               x11-libs/libICE
+               x11-libs/libSM
+       )"
+
+S="${WORKDIR}/${PN}-${PV%_*}"
+
+# Allow MOZ_GMP_PLUGIN_LIST to be set in an eclass or
+# overridden in the enviromnent (advanced hackers only)
+if [[ -z "${MOZ_GMP_PLUGIN_LIST+set}" ]] ; then
+       MOZ_GMP_PLUGIN_LIST=( gmp-gmpopenh264 gmp-widevinecdm )
+fi
+
+llvm_check_deps() {
+       if ! has_version -b "sys-devel/clang:${LLVM_SLOT}" ; then
+               einfo "sys-devel/clang:${LLVM_SLOT} is missing! Cannot use LLVM 
slot ${LLVM_SLOT} ..." >&2
+               return 1
+       fi
+
+       if use clang && ! tc-ld-is-mold ; then
+               if ! has_version -b "sys-devel/lld:${LLVM_SLOT}" ; then
+                       einfo "sys-devel/lld:${LLVM_SLOT} is missing! Cannot 
use LLVM slot ${LLVM_SLOT} ..." >&2
+                       return 1
+               fi
+
+               if ! has_version -b "virtual/rust:0/llvm-${LLVM_SLOT}" ; then
+                       einfo "virtual/rust:0/llvm-${LLVM_SLOT} is missing! 
Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
+                       return 1
+               fi
+
+               if use pgo ; then
+                       if ! has_version -b 
"=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*[profile]" ; then
+                               einfo 
"=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*[profile] is missing! Cannot use 
LLVM slot ${LLVM_SLOT} ..." >&2
+                               return 1
+                       fi
+               fi
+       fi
+
+       einfo "Using LLVM slot ${LLVM_SLOT} to build" >&2
+}
+
+MOZ_LANGS=(
+       af ar ast be bg br ca cak cs cy da de dsb
+       el en-CA en-GB en-US es-AR es-ES et eu
+       fi fr fy-NL ga-IE gd gl he hr hsb hu
+       id is it ja ka kab kk ko lt lv ms nb-NO nl nn-NO
+       pa-IN pl pt-BR pt-PT rm ro ru
+       sk sl sq sr sv-SE th tr uk uz vi zh-CN zh-TW
+)
+
+# Firefox-only LANGS
+MOZ_LANGS+=( ach )
+MOZ_LANGS+=( an )
+MOZ_LANGS+=( az )
+MOZ_LANGS+=( bn )
+MOZ_LANGS+=( bs )
+MOZ_LANGS+=( ca-valencia )
+MOZ_LANGS+=( eo )
+MOZ_LANGS+=( es-CL )
+MOZ_LANGS+=( es-MX )
+MOZ_LANGS+=( fa )
+MOZ_LANGS+=( ff )
+MOZ_LANGS+=( fur )
+MOZ_LANGS+=( gn )
+MOZ_LANGS+=( gu-IN )
+MOZ_LANGS+=( hi-IN )
+MOZ_LANGS+=( hy-AM )
+MOZ_LANGS+=( ia )
+MOZ_LANGS+=( km )
+MOZ_LANGS+=( kn )
+MOZ_LANGS+=( lij )
+MOZ_LANGS+=( mk )
+MOZ_LANGS+=( mr )
+MOZ_LANGS+=( my )
+MOZ_LANGS+=( ne-NP )
+MOZ_LANGS+=( oc )
+MOZ_LANGS+=( sc )
+MOZ_LANGS+=( sco )
+MOZ_LANGS+=( si )
+MOZ_LANGS+=( son )
+MOZ_LANGS+=( szl )
+MOZ_LANGS+=( ta )
+MOZ_LANGS+=( te )
+MOZ_LANGS+=( tl )
+MOZ_LANGS+=( trs )
+MOZ_LANGS+=( ur )
+MOZ_LANGS+=( xh )
+
+mozilla_set_globals() {
+       # https://bugs.gentoo.org/587334
+       local MOZ_TOO_REGIONALIZED_FOR_L10N=(
+               fy-NL ga-IE gu-IN hi-IN hy-AM nb-NO ne-NP nn-NO pa-IN sv-SE
+       )
+
+       local lang xflag
+       for lang in "${MOZ_LANGS[@]}" ; do
+               # en and en_US are handled internally
+               if [[ ${lang} == en ]] || [[ ${lang} == en-US ]] ; then
+                       continue
+               fi
+
+               # strip region subtag if $lang is in the list
+               if has ${lang} "${MOZ_TOO_REGIONALIZED_FOR_L10N[@]}" ; then
+                       xflag=${lang%%-*}
+               else
+                       xflag=${lang}
+               fi
+
+               SRC_URI+=" l10n_${xflag/[_@]/-}? ("
+               SRC_URI+=" ${MOZ_SRC_BASE_URI}/linux-x86_64/xpi/${lang}.xpi -> 
${MOZ_P_DISTFILES}-${lang}.xpi"
+               SRC_URI+=" )"
+               IUSE+=" l10n_${xflag/[_@]/-}"
+       done
+}
+mozilla_set_globals
+
+moz_clear_vendor_checksums() {
+       debug-print-function ${FUNCNAME} "$@"
+
+       if [[ ${#} -ne 1 ]] ; then
+               die "${FUNCNAME} requires exact one argument"
+       fi
+
+       einfo "Clearing cargo checksums for ${1} ..."
+
+       sed -i \
+               -e 's/\("files":{\)[^}]*/\1/' \
+               "${S}"/third_party/rust/${1}/.cargo-checksum.json \
+               || die
+}
+
+moz_install_xpi() {
+       debug-print-function ${FUNCNAME} "$@"
+
+       if [[ ${#} -lt 2 ]] ; then
+               die "${FUNCNAME} requires at least two arguments"
+       fi
+
+       local DESTDIR=${1}
+       shift
+
+       insinto "${DESTDIR}"
+
+       local emid xpi_file xpi_tmp_dir
+       for xpi_file in "${@}" ; do
+               emid=
+               xpi_tmp_dir=$(mktemp -d --tmpdir="${T}")
+
+               # Unpack XPI
+               unzip -qq "${xpi_file}" -d "${xpi_tmp_dir}" || die
+
+               # Determine extension ID
+               if [[ -f "${xpi_tmp_dir}/install.rdf" ]] ; then
+                       emid=$(sed -n -e '/install-manifest/,$ { /em:id/!d; 
s/.*[\">]\([^\"<>]*\)[\"<].*/\1/; p; q }' "${xpi_tmp_dir}/install.rdf")
+                       [[ -z "${emid}" ]] && die "failed to determine 
extension id from install.rdf"
+               elif [[ -f "${xpi_tmp_dir}/manifest.json" ]] ; then
+                       emid=$(sed -n -e 's/.*"id": "\([^"]*\)".*/\1/p' 
"${xpi_tmp_dir}/manifest.json")
+                       [[ -z "${emid}" ]] && die "failed to determine 
extension id from manifest.json"
+               else
+                       die "failed to determine extension id"
+               fi
+
+               einfo "Installing ${emid}.xpi into ${ED}${DESTDIR} ..."
+               newins "${xpi_file}" "${emid}.xpi"
+       done
+}
+
+mozconfig_add_options_ac() {
+       debug-print-function ${FUNCNAME} "$@"
+
+       if [[ ${#} -lt 2 ]] ; then
+               die "${FUNCNAME} requires at least two arguments"
+       fi
+
+       local reason=${1}
+       shift
+
+       local option
+       for option in ${@} ; do
+               echo "ac_add_options ${option} # ${reason}" >>${MOZCONFIG}
+       done
+}
+
+mozconfig_add_options_mk() {
+       debug-print-function ${FUNCNAME} "$@"
+
+       if [[ ${#} -lt 2 ]] ; then
+               die "${FUNCNAME} requires at least two arguments"
+       fi
+
+       local reason=${1}
+       shift
+
+       local option
+       for option in ${@} ; do
+               echo "mk_add_options ${option} # ${reason}" >>${MOZCONFIG}
+       done
+}
+
+mozconfig_use_enable() {
+       debug-print-function ${FUNCNAME} "$@"
+
+       if [[ ${#} -lt 1 ]] ; then
+               die "${FUNCNAME} requires at least one arguments"
+       fi
+
+       local flag=$(use_enable "${@}")
+       mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" 
"${flag}"
+}
+
+mozconfig_use_with() {
+       debug-print-function ${FUNCNAME} "$@"
+
+       if [[ ${#} -lt 1 ]] ; then
+               die "${FUNCNAME} requires at least one arguments"
+       fi
+
+       local flag=$(use_with "${@}")
+       mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" 
"${flag}"
+}
+
+# This is a straight copypaste from toolchain-funcs.eclass's 'tc-ld-is-lld', 
and is temporarily
+# placed here until toolchain-funcs.eclass gets an official support for mold 
linker.
+# Please see:
+# https://github.com/gentoo/gentoo/pull/28366 ||
+# https://github.com/gentoo/gentoo/pull/28355
+tc-ld-is-mold() {
+       local out
+
+       # Ensure ld output is in English.
+       local -x LC_ALL=C
+
+       # First check the linker directly.
+       out=$($(tc-getLD "$@") --version 2>&1)
+       if [[ ${out} == *"mold"* ]] ; then
+               return 0
+       fi
+
+       # Then see if they're selecting mold via compiler flags.
+       # Note: We're assuming they're using LDFLAGS to hold the
+       # options and not CFLAGS/CXXFLAGS.
+       local base="${T}/test-tc-linker"
+       cat <<-EOF > "${base}.c"
+       int main() { return 0; }
+       EOF
+       out=$($(tc-getCC "$@") ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -Wl,--version 
"${base}.c" -o "${base}" 2>&1)
+       rm -f "${base}"*
+       if [[ ${out} == *"mold"* ]] ; then
+               return 0
+       fi
+
+       # No mold here!
+       return 1
+}
+
+virtwl() {
+       debug-print-function ${FUNCNAME} "$@"
+
+       [[ $# -lt 1 ]] && die "${FUNCNAME} needs at least one argument"
+       [[ -n $XDG_RUNTIME_DIR ]] || die "${FUNCNAME} needs XDG_RUNTIME_DIR to 
be set; try xdg_environment_reset"
+       tinywl -h >/dev/null || die 'tinywl -h failed'
+
+       local VIRTWL VIRTWL_PID
+       coproc VIRTWL { WLR_BACKENDS=headless exec tinywl -s 'echo 
$WAYLAND_DISPLAY; read _; kill $PPID'; }
+       local -x WAYLAND_DISPLAY
+       read WAYLAND_DISPLAY <&${VIRTWL[0]}
+
+       debug-print "${FUNCNAME}: $@"
+       "$@"
+       local r=$?
+
+       [[ -n $VIRTWL_PID ]] || die "tinywl exited unexpectedly"
+       exec {VIRTWL[0]}<&- {VIRTWL[1]}>&-
+       return $r
+}
+
+pkg_pretend() {
+       if [[ ${MERGE_TYPE} != binary ]] ; then
+               if use pgo ; then
+                       if ! has usersandbox $FEATURES ; then
+                               die "You must enable usersandbox as X server 
can not run as root!"
+                       fi
+               fi
+
+               # Ensure we have enough disk space to compile
+               if use pgo || use lto || use debug ; then
+                       CHECKREQS_DISK_BUILD="13500M"
+               else
+                       CHECKREQS_DISK_BUILD="6600M"
+               fi
+
+               check-reqs_pkg_pretend
+       fi
+}
+
+pkg_setup() {
+       if [[ ${MERGE_TYPE} != binary ]] ; then
+               if use pgo ; then
+                       if ! has userpriv ${FEATURES} ; then
+                               eerror "Building ${PN} with USE=pgo and 
FEATURES=-userpriv is not supported!"
+                       fi
+               fi
+
+               # Ensure we have enough disk space to compile
+               if use pgo || use lto || use debug ; then
+                       CHECKREQS_DISK_BUILD="13500M"
+               else
+                       CHECKREQS_DISK_BUILD="6400M"
+               fi
+
+               check-reqs_pkg_setup
+
+               llvm-r1_pkg_setup
+
+               if use clang && use lto && tc-ld-is-lld ; then
+                       local version_lld=$(ld.lld --version 2>/dev/null | awk 
'{ print $2 }')
+                       [[ -n ${version_lld} ]] && version_lld=$(ver_cut 1 
"${version_lld}")
+                       [[ -z ${version_lld} ]] && die "Failed to read ld.lld 
version!"
+
+                       local version_llvm_rust=$(rustc -Vv 2>/dev/null | grep 
-F -- 'LLVM version:' | awk '{ print $3 }')
+                       [[ -n ${version_llvm_rust} ]] && 
version_llvm_rust=$(ver_cut 1 "${version_llvm_rust}")
+                       [[ -z ${version_llvm_rust} ]] && die "Failed to read 
used LLVM version from rustc!"
+
+                       if ver_test "${version_lld}" -ne "${version_llvm_rust}" 
; then
+                               eerror "Rust is using LLVM version 
${version_llvm_rust} but ld.lld version belongs to LLVM version ${version_lld}."
+                               eerror "You will be unable to link 
${CATEGORY}/${PN}. To proceed you have the following options:"
+                               eerror "  - Manually switch rust version using 
'eselect rust' to match used LLVM version"
+                               eerror "  - Switch to 
dev-lang/rust[system-llvm] which will guarantee matching version"
+                               eerror "  - Build ${CATEGORY}/${PN} without 
USE=lto"
+                               eerror "  - Rebuild lld with llvm that was used 
to build rust (may need to rebuild the whole "
+                               eerror "    llvm/clang/lld/rust chain depending 
on your @world updates)"
+                               die "LLVM version used by Rust 
(${version_llvm_rust}) does not match with ld.lld version (${version_lld})!"
+                       fi
+               fi
+
+               python-any-r1_pkg_setup
+
+               # Avoid PGO profiling problems due to enviroment leakage
+               # These should *always* be cleaned up anyway
+               unset \
+                       DBUS_SESSION_BUS_ADDRESS \
+                       DISPLAY \
+                       ORBIT_SOCKETDIR \
+                       SESSION_MANAGER \
+                       XAUTHORITY \
+                       XDG_CACHE_HOME \
+                       XDG_SESSION_COOKIE
+
+               # Build system is using /proc/self/oom_score_adj, bug #604394
+               addpredict /proc/self/oom_score_adj
+
+               if use pgo ; then
+                       # Update 105.0: "/proc/self/oom_score_adj" isn't enough 
anymore with pgo, but not sure
+                       # whether that's due to better OOM handling by Firefox 
(bmo#1771712), or portage
+                       # (PORTAGE_SCHEDULING_POLICY) update...
+                       addpredict /proc
+
+                       # 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
+
+       CONFIG_CHECK="~SECCOMP"
+       WARNING_SECCOMP="CONFIG_SECCOMP not set! This system will be unable to 
play DRM-protected content."
+       linux-info_pkg_setup
+}
+
+src_unpack() {
+       local _lp_dir="${WORKDIR}/language_packs"
+       local _src_file
+
+       if [[ ! -d "${_lp_dir}" ]] ; then
+               mkdir "${_lp_dir}" || die
+       fi
+
+       for _src_file in ${A} ; do
+               if [[ ${_src_file} == *.xpi ]]; then
+                       cp "${DISTDIR}/${_src_file}" "${_lp_dir}" || die 
"Failed to copy '${_src_file}' to '${_lp_dir}'!"
+               else
+                       unpack ${_src_file}
+               fi
+       done
+}
+
+src_prepare() {
+       if use lto; then
+               rm -v 
"${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch || die
+       fi
+
+       # Workaround for bgo#917599
+       if has_version ">=dev-libs/icu-74.1" && use system-icu ; then
+               eapply 
"${WORKDIR}"/firefox-patches/*-bmo-1862601-system-icu-74.patch
+       fi
+       rm -v "${WORKDIR}"/firefox-patches/*-bmo-1862601-system-icu-74.patch || 
die
+
+       # Workaround for bgo#915651 on musl
+       if use elibc_glibc ; then
+               rm -v 
"${WORKDIR}"/firefox-patches/*bgo-748849-RUST_TARGET_override.patch || die
+       fi
+
+       eapply "${WORKDIR}/firefox-patches"
+
+       # Allow user to apply any additional patches without modifing ebuild
+       eapply_user
+
+       # Make cargo respect MAKEOPTS
+       export CARGO_BUILD_JOBS="$(makeopts_jobs)"
+
+       # Workaround for bgo#915651
+       if ! use elibc_glibc ; then
+               if use amd64 ; then
+                       export RUST_TARGET="x86_64-unknown-linux-musl"
+               elif use x86 ; then
+                       export RUST_TARGET="i686-unknown-linux-musl"
+               elif use arm64 ; then
+                       export RUST_TARGET="aarch64-unknown-linux-musl"
+               else
+                       die "Unknown musl chost, please post your rustc -vV 
along with emerge --info on Gentoo's bug #915651"
+               fi
+       fi
+
+       # Make LTO respect MAKEOPTS
+       sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
+               "${S}"/build/moz.configure/lto-pgo.configure || die "Failed 
sedding multiprocessing.cpu_count"
+
+       # Make ICU respect MAKEOPTS
+       sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
+               "${S}"/intl/icu_sources_data.py || die "Failed sedding 
multiprocessing.cpu_count"
+
+       # Respect MAKEOPTS all around (maybe some find+sed is better)
+       sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
+               "${S}"/python/mozbuild/mozbuild/base.py || die "Failed sedding 
multiprocessing.cpu_count"
+
+       sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
+               "${S}"/third_party/libwebrtc/build/toolchain/get_cpu_count.py 
|| die "Failed sedding multiprocessing.cpu_count"
+
+       sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
+               
"${S}"/third_party/libwebrtc/build/toolchain/get_concurrent_links.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 -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
+               "${S}"/python/mozbuild/mozbuild/code_analysis/mach_commands.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
+       moz_clear_vendor_checksums proc-macro2
+
+       # Respect choice for "jumbo-build"
+       # Changing the value for FILES_PER_UNIFIED_FILE may not work, see 
#905431
+       if [[ -n ${FILES_PER_UNIFIED_FILE} ]] && use jumbo-build; then
+               local my_files_per_unified_file=${FILES_PER_UNIFIED_FILE:=16}
+               elog ""
+               elog "jumbo-build defaults modified to 
${my_files_per_unified_file}."
+               elog "if you get a build failure, try undefining 
FILES_PER_UNIFIED_FILE,"
+               elog "if that fails try -jumbo-build before opening a bug 
report."
+               elog ""
+
+               sed -i -e "s/\"FILES_PER_UNIFIED_FILE\", 
16/\"FILES_PER_UNIFIED_FILE\", "${my_files_per_unified_file}"/" 
python/mozbuild/mozbuild/frontend/data.py ||
+                       die "Failed to adjust FILES_PER_UNIFIED_FILE in 
python/mozbuild/mozbuild/frontend/data.py"
+               sed -i -e "s/FILES_PER_UNIFIED_FILE = 6/FILES_PER_UNIFIED_FILE 
= "${my_files_per_unified_file}"/" js/src/moz.build ||
+                       die "Failed to adjust FILES_PER_UNIFIED_FILE in 
js/src/moz.build"
+       fi
+
+       # Create build dir
+       BUILD_DIR="${WORKDIR}/${PN}_build"
+       mkdir -p "${BUILD_DIR}" || die
+
+       # Write API keys to disk
+       echo -n "${MOZ_API_KEY_GOOGLE//gGaPi/}" > "${S}"/api-google.key || die
+       echo -n "${MOZ_API_KEY_LOCATION//gGaPi/}" > "${S}"/api-location.key || 
die
+       echo -n "${MOZ_API_KEY_MOZILLA//m0ap1/}" > "${S}"/api-mozilla.key || die
+
+       xdg_environment_reset
+}
+
+src_configure() {
+       # Show flags set at the beginning
+       einfo "Current BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}"
+       einfo "Current CFLAGS:\t\t${CFLAGS:-no value set}"
+       einfo "Current CXXFLAGS:\t\t${CXXFLAGS:-no value set}"
+       einfo "Current LDFLAGS:\t\t${LDFLAGS:-no value set}"
+       einfo "Current RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}"
+
+       local have_switched_compiler=
+       if use clang; then
+               # Force clang
+               einfo "Enforcing the use of clang due to USE=clang ..."
+
+               local version_clang=$(clang --version 2>/dev/null | grep -F -- 
'clang version' | awk '{ print $3 }')
+               [[ -n ${version_clang} ]] && version_clang=$(ver_cut 1 
"${version_clang}")
+               [[ -z ${version_clang} ]] && die "Failed to read clang version!"
+
+               if tc-is-gcc; then
+                       have_switched_compiler=yes
+               fi
+
+               AR=llvm-ar
+               CC=${CHOST}-clang-${version_clang}
+               CXX=${CHOST}-clang++-${version_clang}
+               NM=llvm-nm
+               RANLIB=llvm-ranlib
+       elif ! use clang && ! tc-is-gcc ; then
+               # Force gcc
+               have_switched_compiler=yes
+               einfo "Enforcing the use of gcc due to USE=-clang ..."
+               AR=gcc-ar
+               CC=${CHOST}-gcc
+               CXX=${CHOST}-g++
+               NM=gcc-nm
+               RANLIB=gcc-ranlib
+       fi
+
+       if [[ -n "${have_switched_compiler}" ]] ; then
+               # Because we switched active compiler we have to ensure
+               # that no unsupported flags are set
+               strip-unsupported-flags
+       fi
+
+       # Ensure we use correct toolchain,
+       # AS is used in a non-standard way by upstream, #bmo1654031
+       export HOST_CC="$(tc-getBUILD_CC)"
+       export HOST_CXX="$(tc-getBUILD_CXX)"
+       export AS="$(tc-getCC) -c"
+
+       # Configuration tests expect llvm-readelf output, bug 913130
+       READELF="llvm-readelf"
+
+       tc-export CC CXX LD AR AS NM OBJDUMP RANLIB READELF PKG_CONFIG
+
+       # Pass the correct toolchain paths through cbindgen
+       if tc-is-cross-compiler ; then
+               export BINDGEN_CFLAGS="${SYSROOT:+--sysroot=${ESYSROOT}} 
--target=${CHOST} ${BINDGEN_CFLAGS-}"
+       fi
+
+       # Set MOZILLA_FIVE_HOME
+       export MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
+
+       # python/mach/mach/mixin/process.py fails to detect SHELL
+       export SHELL="${EPREFIX}/bin/bash"
+
+       # Set state path
+       export MOZBUILD_STATE_PATH="${BUILD_DIR}"
+
+       # Set MOZCONFIG
+       export MOZCONFIG="${S}/.mozconfig"
+
+       # Initialize MOZCONFIG
+       mozconfig_add_options_ac '' --enable-application=browser
+       mozconfig_add_options_ac '' --enable-project=browser
+
+       # Set Gentoo defaults
+       if use telemetry; then
+               export MOZILLA_OFFICIAL=1
+       fi
+
+       mozconfig_add_options_ac 'Gentoo default' \
+               --allow-addon-sideload \
+               --disable-cargo-incremental \
+               --disable-crashreporter \
+               --disable-disk-remnant-avoidance \
+               --disable-gpsd \
+               --disable-install-strip \
+               --disable-legacy-profile-creation \
+               --disable-parental-controls \
+               --disable-strip \
+               --disable-tests \
+               --disable-updater \
+               --disable-wmf \
+               --enable-negotiateauth \
+               --enable-new-pass-manager \
+               --enable-official-branding \
+               --enable-release \
+               --enable-system-ffi \
+               --enable-system-pixman \
+               --enable-system-policies \
+               --host="${CBUILD:-${CHOST}}" \
+               --libdir="${EPREFIX}/usr/$(get_libdir)" \
+               --prefix="${EPREFIX}/usr" \
+               --target="${CHOST}" \
+               --without-ccache \
+               --without-wasm-sandboxed-libraries \
+               --with-intl-api \
+               --with-libclang-path="$(llvm-config --libdir)" \
+               --with-system-nspr \
+               --with-system-nss \
+               --with-system-zlib \
+               --with-toolchain-prefix="${CHOST}-" \
+               --with-unsigned-addon-scopes=app,system \
+               --x-includes="${ESYSROOT}/usr/include" \
+               --x-libraries="${ESYSROOT}/usr/$(get_libdir)"
+
+       # Set update channel
+       local update_channel=release
+       [[ -n ${MOZ_ESR} ]] && update_channel=esr
+       mozconfig_add_options_ac '' --update-channel=${update_channel}
+
+       if ! use x86 && [[ ${CHOST} != armv*h* ]] ; then
+               mozconfig_add_options_ac '' --enable-rust-simd
+       fi
+
+       # For future keywording: This is currently (97.0) only supported on:
+       # amd64, arm, arm64 & x86.
+       # Might want to flip the logic around if Firefox is to support more 
arches.
+       # bug 833001, bug 903411#c8
+       if use ppc64 || use riscv; then
+               mozconfig_add_options_ac '' --disable-sandbox
+       elif use valgrind; then
+               mozconfig_add_options_ac 'valgrind requirement' 
--disable-sandbox
+       else
+               mozconfig_add_options_ac '' --enable-sandbox
+       fi
+
+       # Enable JIT on riscv64 explicitly
+       # Can be removed once upstream enable it by default in the future.
+       use riscv && mozconfig_add_options_ac 'Enable JIT for RISC-V 64' 
--enable-jit
+
+       if [[ -s "${S}/api-google.key" ]] ; then
+               local key_origin="Gentoo default"
+               if [[ $(cat "${S}/api-google.key" | md5sum | awk '{ print $1 
}') != 709560c02f94b41f9ad2c49207be6c54 ]] ; then
+                       key_origin="User value"
+               fi
+
+               mozconfig_add_options_ac "${key_origin}" \
+                       
--with-google-safebrowsing-api-keyfile="${S}/api-google.key"
+       else
+               einfo "Building without Google API key ..."
+       fi
+
+       if [[ -s "${S}/api-location.key" ]] ; then
+               local key_origin="Gentoo default"
+               if [[ $(cat "${S}/api-location.key" | md5sum | awk '{ print $1 
}') != ffb7895e35dedf832eb1c5d420ac7420 ]] ; then
+                       key_origin="User value"
+               fi
+
+               mozconfig_add_options_ac "${key_origin}" \
+                       
--with-google-location-service-api-keyfile="${S}/api-location.key"
+       else
+               einfo "Building without Location API key ..."
+       fi
+
+       if [[ -s "${S}/api-mozilla.key" ]] ; then
+               local key_origin="Gentoo default"
+               if [[ $(cat "${S}/api-mozilla.key" | md5sum | awk '{ print $1 
}') != 3927726e9442a8e8fa0e46ccc39caa27 ]] ; then
+                       key_origin="User value"
+               fi
+
+               mozconfig_add_options_ac "${key_origin}" \
+                       --with-mozilla-api-keyfile="${S}/api-mozilla.key"
+       else
+               einfo "Building without Mozilla API key ..."
+       fi
+
+       mozconfig_use_with system-av1
+       mozconfig_use_with system-harfbuzz
+       mozconfig_use_with system-harfbuzz system-graphite2
+       mozconfig_use_with system-icu
+       mozconfig_use_with system-jpeg
+       mozconfig_use_with system-libevent
+       mozconfig_use_with system-libvpx
+       mozconfig_use_with system-png
+       mozconfig_use_with system-webp
+
+       mozconfig_use_enable dbus
+       mozconfig_use_enable libproxy
+       mozconfig_use_enable valgrind
+
+       use eme-free && mozconfig_add_options_ac '+eme-free' --disable-eme
+
+       mozconfig_use_enable geckodriver
+
+       if use hardened ; then
+               mozconfig_add_options_ac "+hardened" --enable-hardening
+               append-ldflags "-Wl,-z,relro -Wl,-z,now"
+
+               # Increase the FORTIFY_SOURCE value, #910071.
+               sed -i -e '/-D_FORTIFY_SOURCE=/s:2:3:' 
"${S}"/build/moz.configure/toolchain.configure || die
+       fi
+
+       local myaudiobackends=""
+       use jack && myaudiobackends+="jack,"
+       use sndio && myaudiobackends+="sndio,"
+       use pulseaudio && myaudiobackends+="pulseaudio,"
+       ! use pulseaudio && myaudiobackends+="alsa,"
+
+       mozconfig_add_options_ac '--enable-audio-backends' 
--enable-audio-backends="${myaudiobackends::-1}"
+
+       mozconfig_use_enable wifi necko-wifi
+
+       ! use jumbo-build && mozconfig_add_options_ac '--disable-unified-build' 
--disable-unified-build
+
+       if use X && use wayland ; then
+               mozconfig_add_options_ac '+x11+wayland' 
--enable-default-toolkit=cairo-gtk3-x11-wayland
+       elif ! use X && use wayland ; then
+               mozconfig_add_options_ac '+wayland' 
--enable-default-toolkit=cairo-gtk3-wayland-only
+       else
+               mozconfig_add_options_ac '+x11' 
--enable-default-toolkit=cairo-gtk3-x11-only
+       fi
+
+       # LTO is handled via configure
+       filter-lto
+
+       if use lto ; 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
+
+               if use pgo ; then
+                       mozconfig_add_options_ac '+pgo' MOZ_PGO=1
+
+                       if use clang ; then
+                               # Used in build/pgo/profileserver.py
+                               export LLVM_PROFDATA="llvm-profdata"
+                       fi
+               fi
+       else
+               # Avoid auto-magic on linker
+               if use clang ; then
+                       # lld is upstream's default
+                       if tc-ld-is-mold ; then
+                               mozconfig_add_options_ac "using ld=mold due to 
system selection" --enable-linker=mold
+                       else
+                               mozconfig_add_options_ac "forcing ld=lld due to 
USE=clang" --enable-linker=lld
+                       fi
+
+               else
+                       if tc-ld-is-mold ; then
+                               mozconfig_add_options_ac "using ld=mold due to 
system selection" --enable-linker=mold
+                       else
+                               mozconfig_add_options_ac "linker is set to bfd 
due to USE=-clang" --enable-linker=bfd
+                       fi
+               fi
+       fi
+
+       mozconfig_use_enable debug
+       if use debug ; then
+               mozconfig_add_options_ac '+debug' --disable-optimize
+               mozconfig_add_options_ac '+debug' --enable-real-time-tracing
+       else
+               mozconfig_add_options_ac 'Gentoo defaults' 
--disable-real-time-tracing
+
+               if is-flag '-g*' ; then
+                       if use clang ; then
+                               mozconfig_add_options_ac 'from CFLAGS' 
--enable-debug-symbols=$(get-flag '-g*')
+                       else
+                               mozconfig_add_options_ac 'from CFLAGS' 
--enable-debug-symbols
+                       fi
+               else
+                       mozconfig_add_options_ac 'Gentoo default' 
--disable-debug-symbols
+               fi
+
+               if is-flag '-O0' ; then
+                       mozconfig_add_options_ac "from CFLAGS" 
--enable-optimize=-O0
+               elif is-flag '-O4' ; then
+                       mozconfig_add_options_ac "from CFLAGS" 
--enable-optimize=-O4
+               elif is-flag '-O3' ; then
+                       mozconfig_add_options_ac "from CFLAGS" 
--enable-optimize=-O3
+               elif is-flag '-O1' ; then
+                       mozconfig_add_options_ac "from CFLAGS" 
--enable-optimize=-O1
+               elif is-flag '-Os' ; then
+                       mozconfig_add_options_ac "from CFLAGS" 
--enable-optimize=-Os
+               else
+                       mozconfig_add_options_ac "Gentoo default" 
--enable-optimize=-O2
+               fi
+       fi
+
+       # Debug flag was handled via configure
+       filter-flags '-g*'
+
+       # Optimization flag was handled via configure
+       filter-flags '-O*'
+
+       # Modifications to better support ARM, bug #553364
+       if use cpu_flags_arm_neon ; then
+               mozconfig_add_options_ac '+cpu_flags_arm_neon' --with-fpu=neon
+
+               if ! tc-is-clang ; then
+                       # thumb options aren't supported when using clang, bug 
666966
+                       mozconfig_add_options_ac '+cpu_flags_arm_neon' \
+                               --with-thumb=yes \
+                               --with-thumb-interwork=no
+               fi
+       fi
+
+       if [[ ${CHOST} == armv*h* ]] ; then
+               mozconfig_add_options_ac 'CHOST=armv*h*' --with-float-abi=hard
+
+               if ! use system-libvpx ; then
+                       sed -i \
+                               -e "s|softfp|hard|" \
+                               "${S}"/media/libvpx/moz.build \
+                               || die
+               fi
+       fi
+
+       # elf-hack
+       # 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 ppc64 || use riscv ; then
+               # '--disable-elf-hack' is not recognized on ppc64/riscv,
+               # see bgo #917049, #930046
+               :;
+       else
+               mozconfig_add_options_ac 'disable elf-hack on non-supported 
arches' --disable-elf-hack
+       fi
+
+       # Additional ARCH support
+       case "${ARCH}" in
+               arm)
+                       # Reduce the memory requirements for linking
+                       if use clang ; then
+                               # Nothing to do
+                               :;
+                       elif use lto ; then
+                               append-ldflags -Wl,--no-keep-memory
+                       else
+                               append-ldflags -Wl,--no-keep-memory 
-Wl,--reduce-memory-overheads
+                       fi
+                       ;;
+       esac
+
+       if ! use elibc_glibc; then
+               mozconfig_add_options_ac '!elibc_glibc' --disable-jemalloc
+       fi
+
+       if use valgrind; then
+               mozconfig_add_options_ac 'valgrind requirement' 
--disable-jemalloc
+       fi
+
+       # System-av1 fix
+       use system-av1 && append-ldflags "-Wl,--undefined-version"
+
+       # Allow elfhack to work in combination with unstripped binaries
+       # when they would normally be larger than 2GiB.
+       append-ldflags "-Wl,--compress-debug-sections=zlib"
+
+       # Make revdep-rebuild.sh happy; Also required for musl
+       append-ldflags -Wl,-rpath="${MOZILLA_FIVE_HOME}",--enable-new-dtags
+
+       # Pass $MAKEOPTS to build system
+       export MOZ_MAKE_FLAGS="${MAKEOPTS}"
+
+       # Use system's Python environment
+       export PIP_NETWORK_INSTALL_RESTRICTED_VIRTUALENVS=mach
+
+       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
+
+       # Disable notification when build system has finished
+       export MOZ_NOSPAM=1
+
+       # Portage sets XARGS environment variable to "xargs -r" by default which
+       # breaks build system's check_prog() function which doesn't support 
arguments
+       mozconfig_add_options_ac 'Gentoo default' 
"XARGS=${EPREFIX}/usr/bin/xargs"
+
+       # Set build dir
+       mozconfig_add_options_mk 'Gentoo default' "MOZ_OBJDIR=${BUILD_DIR}"
+
+       # Show flags we will use
+       einfo "Build BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}"
+       einfo "Build CFLAGS:\t\t${CFLAGS:-no value set}"
+       einfo "Build CXXFLAGS:\t\t${CXXFLAGS:-no value set}"
+       einfo "Build LDFLAGS:\t\t${LDFLAGS:-no value set}"
+       einfo "Build RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}"
+
+       # Handle EXTRA_CONF and show summary
+       local ac opt hash reason
+
+       # Apply EXTRA_ECONF entries to $MOZCONFIG
+       if [[ -n ${EXTRA_ECONF} ]] ; then
+               IFS=\! read -a ac <<<${EXTRA_ECONF// --/\!}
+               for opt in "${ac[@]}"; do
+                       mozconfig_add_options_ac "EXTRA_ECONF" --${opt#--}
+               done
+       fi
+
+       echo
+       echo "=========================================================="
+       echo "Building ${PF} with the following configuration"
+       grep ^ac_add_options "${MOZCONFIG}" | while read ac opt hash reason; do
+               [[ -z ${hash} || ${hash} == \# ]] \
+                       || die "error reading mozconfig: ${ac} ${opt} ${hash} 
${reason}"
+               printf "    %-30s  %s\n" "${opt}" "${reason:-mozilla.org 
default}"
+       done
+       echo "=========================================================="
+       echo
+
+       if use valgrind; then
+               sed -i -e 's/--enable-optimize=-O[0-9s]/--enable-optimize="-g 
-O2"/' .mozconfig || die
+       fi
+
+       ./mach configure || die
+}
+
+src_compile() {
+       local virtx_cmd=
+
+       if tc-ld-is-mold && use lto; then
+               # increase ulimit with mold+lto, bugs #892641, #907485
+               if ! ulimit -n 16384 1>/dev/null 2>&1 ; then
+                       ewarn "Unable to modify ulimits - building with 
mold+lto might fail due to low ulimit -n resources."
+                       ewarn "Please see bugs #892641 & #907485."
+               else
+                       ulimit -n 16384
+               fi
+       fi
+
+       if use pgo; then
+               # Reset and cleanup environment variables used by GNOME/XDG
+               gnome2_environment_reset
+
+               addpredict /root
+
+               if ! use X; then
+                       virtx_cmd=virtwl
+               else
+                       virtx_cmd=virtx
+               fi
+       fi
+
+       if ! use X; then
+               local -x GDK_BACKEND=wayland
+       else
+               local -x GDK_BACKEND=x11
+       fi
+
+       ${virtx_cmd} ./mach build --verbose || die
+}
+
+src_install() {
+       # xpcshell is getting called during install
+       pax-mark m \
+               "${BUILD_DIR}"/dist/bin/xpcshell \
+               "${BUILD_DIR}"/dist/bin/${PN} \
+               "${BUILD_DIR}"/dist/bin/plugin-container
+
+       DESTDIR="${D}" ./mach install || die
+
+       # Upstream cannot ship symlink but we can (bmo#658850)
+       rm "${ED}${MOZILLA_FIVE_HOME}/${PN}-bin" || die
+       dosym ${PN} ${MOZILLA_FIVE_HOME}/${PN}-bin
+
+       # Don't install llvm-symbolizer from sys-devel/llvm package
+       if [[ -f "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" ]] ; then
+               rm -v "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" || die
+       fi
+
+       # Install policy (currently only used to disable application updates)
+       insinto "${MOZILLA_FIVE_HOME}/distribution"
+       newins "${FILESDIR}"/distribution.ini distribution.ini
+       newins "${FILESDIR}"/disable-auto-update.policy.json policies.json
+
+       # Install system-wide preferences
+       local PREFS_DIR="${MOZILLA_FIVE_HOME}/browser/defaults/preferences"
+       insinto "${PREFS_DIR}"
+       newins "${FILESDIR}"/gentoo-default-prefs.js gentoo-prefs.js
+
+       local GENTOO_PREFS="${ED}${PREFS_DIR}/gentoo-prefs.js"
+
+       # Set dictionary path to use system hunspell
+       cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set 
spellchecker.dictionary_path pref"
+       pref("spellchecker.dictionary_path",       
"${EPREFIX}/usr/share/myspell");
+       EOF
+
+       # Force hwaccel prefs if USE=hwaccel is enabled
+       if use hwaccel ; then
+               cat "${FILESDIR}"/gentoo-hwaccel-prefs.js-r2 \
+               >>"${GENTOO_PREFS}" \
+               || die "failed to add prefs to force hardware-accelerated 
rendering to all-gentoo.js"
+
+               if use wayland; then
+                       cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set 
hwaccel wayland prefs"
+                       pref("gfx.x11-egl.force-enabled",          false);
+                       EOF
+               else
+                       cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set 
hwaccel x11 prefs"
+                       pref("gfx.x11-egl.force-enabled",          true);
+                       EOF
+               fi
+
+               # Install the vaapitest binary on supported arches (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
+
+       # Install language packs
+       local langpacks=( $(find "${WORKDIR}/language_packs" -type f -name 
'*.xpi') )
+       if [[ -n "${langpacks}" ]] ; then
+               moz_install_xpi "${MOZILLA_FIVE_HOME}/distribution/extensions" 
"${langpacks[@]}"
+       fi
+
+       # Install geckodriver
+       if use geckodriver ; then
+               einfo "Installing geckodriver into ${ED}${MOZILLA_FIVE_HOME} 
..."
+               pax-mark m "${BUILD_DIR}"/dist/bin/geckodriver
+               exeinto "${MOZILLA_FIVE_HOME}"
+               doexe "${BUILD_DIR}"/dist/bin/geckodriver
+
+               dosym ${MOZILLA_FIVE_HOME}/geckodriver /usr/bin/geckodriver
+       fi
+
+       # Install icons
+       local icon_srcdir="${S}/browser/branding/official"
+       local icon_symbolic_file="${FILESDIR}/icon/firefox-symbolic.svg"
+
+       insinto /usr/share/icons/hicolor/symbolic/apps
+       newins "${icon_symbolic_file}" ${PN}-symbolic.svg
+
+       local icon size
+       for icon in "${icon_srcdir}"/default*.png ; do
+               size=${icon%.png}
+               size=${size##*/default}
+
+               if [[ ${size} -eq 48 ]] ; then
+                       newicon "${icon}" ${PN}.png
+               fi
+
+               newicon -s ${size} "${icon}" ${PN}.png
+       done
+
+       # Install menu
+       local app_name="Mozilla ${MOZ_PN^}"
+       local desktop_file="${FILESDIR}/icon/${PN}-r3.desktop"
+       local desktop_filename="${PN}.desktop"
+       local exec_command="${PN}"
+       local icon="${PN}"
+       local use_wayland="false"
+
+       if use wayland ; then
+               use_wayland="true"
+       fi
+
+       cp "${desktop_file}" "${WORKDIR}/${PN}.desktop-template" || die
+
+       sed -i \
+               -e "s:@NAME@:${app_name}:" \
+               -e "s:@EXEC@:${exec_command}:" \
+               -e "s:@ICON@:${icon}:" \
+               "${WORKDIR}/${PN}.desktop-template" \
+               || die
+
+       newmenu "${WORKDIR}/${PN}.desktop-template" "${desktop_filename}"
+
+       rm "${WORKDIR}/${PN}.desktop-template" || die
+
+       # Install wrapper script
+       [[ -f "${ED}/usr/bin/${PN}" ]] && rm "${ED}/usr/bin/${PN}"
+       newbin "${FILESDIR}/${PN}-r1.sh" ${PN}
+
+       # Update wrapper
+       sed -i \
+               -e "s:@PREFIX@:${EPREFIX}/usr:" \
+               -e "s:@MOZ_FIVE_HOME@:${MOZILLA_FIVE_HOME}:" \
+               -e "s:@APULSELIB_DIR@:${apulselib}:" \
+               -e "s:@DEFAULT_WAYLAND@:${use_wayland}:" \
+               "${ED}/usr/bin/${PN}" \
+               || die
+
+       readme.gentoo_create_doc
+}
+
+pkg_preinst() {
+       xdg_pkg_preinst
+
+       # If the apulse libs are available in MOZILLA_FIVE_HOME then apulse
+       # does not need to be forced into the LD_LIBRARY_PATH
+       if use pulseaudio && has_version ">=media-sound/apulse-0.1.12-r4" ; then
+               einfo "APULSE found; Generating library symlinks for sound 
support ..."
+               local lib
+               pushd "${ED}${MOZILLA_FIVE_HOME}" &>/dev/null || die
+               for lib in ../apulse/libpulse{.so{,.0},-simple.so{,.0}} ; do
+                       # A quickpkg rolled by hand will grab symlinks as part 
of the package,
+                       # so we need to avoid creating them if they already 
exist.
+                       if [[ ! -L ${lib##*/} ]] ; then
+                               ln -s "${lib}" ${lib##*/} || die
+                       fi
+               done
+               popd &>/dev/null || die
+       fi
+}
+
+pkg_postinst() {
+       xdg_pkg_postinst
+
+       if ! use gmp-autoupdate ; then
+               elog "USE='-gmp-autoupdate' has disabled the following plugins 
from updating or"
+               elog "installing into new profiles:"
+               local plugin
+               for plugin in "${MOZ_GMP_PLUGIN_LIST[@]}" ; do
+                       elog "\t ${plugin}"
+               done
+               elog
+       fi
+
+       if use pulseaudio && has_version ">=media-sound/apulse-0.1.12-r4" ; then
+               elog "Apulse was detected at merge time on this system and so 
it will always be"
+               elog "used for sound.  If you wish to use pulseaudio instead 
please unmerge"
+               elog "media-sound/apulse."
+               elog
+       fi
+
+       # bug 835078
+       if use hwaccel && has_version "x11-drivers/xf86-video-nouveau"; then
+               ewarn "You have nouveau drivers installed in your system and 
'hwaccel' "
+               ewarn "enabled for Firefox. Nouveau / your GPU might not 
support the "
+               ewarn "required EGL, so either disable 'hwaccel' or try the 
workaround "
+               ewarn "explained in https://bugs.gentoo.org/835078#c5 if 
Firefox crashes."
+       fi
+
+       readme.gentoo_print_elog
+
+       optfeature_header "Optional programs for extra features:"
+       optfeature "desktop notifications" x11-libs/libnotify
+       optfeature "fallback mouse cursor theme e.g. on WMs" 
gnome-base/gsettings-desktop-schemas
+       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
+
+       if use geckodriver ; then
+               ewarn "You have enabled the 'geckodriver' USE flag. Geckodriver 
is now"
+               ewarn "packaged separately as net-misc/geckodriver and the use 
flag will be"
+               ewarn "dropped from main Firefox package by Firefox 128.0 
release."
+       fi
+}

Reply via email to