commit:     4e2aeadbeb3d2f677a1ed5d4286b090620c896ec
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Tue Mar  4 14:37:32 2025 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Mar  4 14:37:32 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e2aeadb

www-client/firefox: add 128.8.0

 - add a patch that's currently being worked upstream which fixes runtime
   issues when compiled with gcc and lto,
 - handle rust-simd by enabling it on supported arches, so unkeyworded arches
   can probably compile the browser with --disable-rust-simd by default
   without editing the ebuild,
 - sync the updated configure option from rapid to esr
   (system-ffi, update-channel).
 - while "permissions.manager.remote.enabled" is disabled through the default
   pref settings, the setting will actually only be active in the rapid (136)
   version.

Bug: https://bugs.gentoo.org/950229
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 www-client/firefox/Manifest               |  102 +++
 www-client/firefox/firefox-128.8.0.ebuild | 1380 +++++++++++++++++++++++++++++
 2 files changed, 1482 insertions(+)

diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest
index 4fdf5efe3d0c..e21dc5b481bb 100644
--- a/www-client/firefox/Manifest
+++ b/www-client/firefox/Manifest
@@ -99,7 +99,109 @@ DIST firefox-128.7.0esr-xh.xpi 418474 BLAKE2B 
b44cefd8149e389013cf36495c62be4726
 DIST firefox-128.7.0esr-zh-CN.xpi 675201 BLAKE2B 
e07f861f85c0abce293798029206ac795755eff1647bf1842eeb2f7169217303041d2506498dec27e5e0c679534bfc8450477a169c16ed8744b7b8dcde04a3fa
 SHA512 
9ebeae24f93cc2bcb49b8c482ff474ebe3357286d2fd35864e4a1e156d1cea5933fc776e18b75fc686ec84f91e355e49a8ad9e5f9bf044b8ca3a7d0bbe2bc0cc
 DIST firefox-128.7.0esr-zh-TW.xpi 677437 BLAKE2B 
f2587278e02f26340261501b694c372fa7164b2113572176305263c10479466fb481e3bc5d857bfd068caffc5c7efdc9c6a77506eb955b035b0c707fbfc3af39
 SHA512 
d6b2df29a1bc98e49a96953c315f3aeb4fbea66fc9691d37085d0946c3710f6f0174927fe7103009343cc038f4eedbadacd592a4eda24b1d3f7f395474853c7c
 DIST firefox-128.7.0esr.source.tar.xz 569300208 BLAKE2B 
08bf5b571707b7a5acf1ebde12e370be5999e3ac8cac2e952fae635faa16e07ba4d9d0a00b304ba43b5a327c825cae04c1ccf8434456e27d4c396e5b09a4b6a7
 SHA512 
26f9661b395b85a44b42bd72ef1ad976c614216c68f6c2dd834d0ac8b84b9c9f398b8ac550a47396995d96e6bb5fa9a50064d7f2f526bddd45aed5039ef131b8
+DIST firefox-128.8.0esr-ach.xpi 482243 BLAKE2B 
7697f4b91953d62bc9e562d6b1112281ead0b4caaa54011a6430fc71e76b417575151c9c6b7ddaea172bee841d281b7ecda3d10404655b06794c72042e32e882
 SHA512 
9c83a7af02edaa4d44ca6db318fa537a722486994954f4342fdcd0ccf16643643f9664edd162bc537a2fc8becff6c11d858a20c61300f5a84cb7651b9b6eb591
+DIST firefox-128.8.0esr-af.xpi 446598 BLAKE2B 
93dc8a95fd10cad82ed9dba8e906c9ff54ac98d45efccdbd2b1babcc80952860eafdd12c33ba865feeb3c612ca3f4e1e9dface19eee2c99115b14cfdcb9ee627
 SHA512 
0a2e9b81e66044089c4f0c9220ccf83fe0275314e53a625064add25217c2e25df1ba87c81ab6538c3c00bf480d398b576cea7c49c40a144d5b2a5e423282c38a
+DIST firefox-128.8.0esr-an.xpi 526061 BLAKE2B 
aad7700e11aacdba5ba71c40bfa76551af9835ce4d8610945302b54b81606f59d7d54d81c17a3976beaf6b7c380684500c3268f2f7914e0014ec7730d9018537
 SHA512 
c8d4a18e722554880c45cdd148326683197dedced079c2fc62e4607199dd445431ba6f8a1029bc41eea81e1d48926d813b13500318086f92502e6b3d7b44a02a
+DIST firefox-128.8.0esr-ar.xpi 650463 BLAKE2B 
8f64809e669a1976da9e3f14a0501b9e907d2b44450abb466e95617c04e9f1c1d24523ee90de9a6f475fab8bdc095565fa3202f536a166b3e282bca153b3dc7c
 SHA512 
9bf5fbf3a7a66abb8ce40563c6f6fe1e05b549a7dc10800743593d765e4964cda5b0b246ae8519c82971f4a503c0a108291d2255c02604b862f083514c807667
+DIST firefox-128.8.0esr-ast.xpi 508561 BLAKE2B 
145ff09c07fca6c1572ceb09ce7e88248748d406f5e42f6aa9b8c531e64617953e2536f8caed3743cf4ac358b0847928a8661e0ff6275e389a9864f188776409
 SHA512 
728d7106dbeca8c708d61ba462c0943562d4ec040391b2c0e84eae80a627333a763d3942ca57aee063b13e8227286d003ad2ed8075f80d01a66bba024a3590d8
+DIST firefox-128.8.0esr-az.xpi 509839 BLAKE2B 
24e21ab8b279bd9d9c45e65e13518dc436adf1ad387500c41f614007479aba6ce3b8c9cc27ba9b6bc67375686164c11a5fe0e5f74be09cb701cd2e837384bc3e
 SHA512 
8818e48fdf38b29cad492efb2234616bf812dec832370c1ec500814a58a0ccb6130af8318aeb6e62de5a8d54f66b1dec07017e1ef669493542e94a082cb5ade6
+DIST firefox-128.8.0esr-be.xpi 748080 BLAKE2B 
829eefe38ff6be60f08aa90a38dd6a06dd3e14cef558e9178387e332168a469f9725868fc182ae5dc3dd64aa9d88f6a42ebdd395938de5b25a858d4aea0ee581
 SHA512 
59b451e36dbfa3032357122699c8780182177489ffd0e507ae33a62dc9b18d9cb096f217f0dfc6e42eda64b82aafd3b468ad13e4b1779d87eb23b3881908339f
+DIST firefox-128.8.0esr-bg.xpi 672053 BLAKE2B 
04bd0f9b698c1a90804c4dd018a1a57b7d09f02149f0e3b81ea51509d940388b25daf45d1486a1af76f60f4b4d902227309713a35c7d479b4c6e2e027a032184
 SHA512 
bd939c3803399ec905921409530e913b032b59994aa48bfe3671220ca4fd7e54f643e603a77dccd0de8c38e6e94736944777940bf8776df9a00498b88649601f
+DIST firefox-128.8.0esr-bn.xpi 624725 BLAKE2B 
bbc5287f61f0a3f58ede8b8b3cf1b6144954ce6f3f0463b9147bb145bafe42d4ad51f9a112e7542c4fdcdde5db8d1bf412837f38a69bd4933c07627b881b204f
 SHA512 
102e797510c3656f538982ceec66c66da657712be891bac3fcfae2d1f291965f5f4e8b8bb093cbccc3166a2565df616482274b3295cdcf253de482110f8d7d2c
+DIST firefox-128.8.0esr-br.xpi 598746 BLAKE2B 
6f4f045de4363eac285547b7b5fc7ffd33be691ab8dc8cb4292a14139e6e9f03a4073a393cbd05ffff819ec6f7660182fb63ae48cdbb3f8b8ddde1cb752c9006
 SHA512 
57a35d172c314e0bc2a502d76955db9ea97295a286658eefab7ca2c53cbdb1124b4b56b024779c5f6872403b6477b1e057848c2f0906d4bc3da9dfdc05de4a55
+DIST firefox-128.8.0esr-bs.xpi 565999 BLAKE2B 
5b0ddbfdd29abc52bd38ad69e3bb886b500428704e148897dc23d5fe0a02c1f8bccd8fba9e097c98a20323ed03ffeb51a5c4d88118a862ff027fcf591eb6498f
 SHA512 
c84f3530247bafc85e57048cbcf4117b95e5352a6ec291726a1f0cabe0bf45cd0eee36e0f83446202e952af342629f18b36186840987859c9e533b6181c8dfb6
+DIST firefox-128.8.0esr-ca-valencia.xpi 561156 BLAKE2B 
7c829caee773365903f0a3d16330502856e857a0ae3d147b42d22f3bbcf89d764723bc007973b0282554a76c4118d527b3595303058fa24d1cea2d55245d4ac8
 SHA512 
1060baba510d2a4ab267fa9b8289c398aa861693f5a2311876fda670496d3a7223a30e3a072850860489df6645e431f2c05e59c55d5886b860c1653ed5bc4b21
+DIST firefox-128.8.0esr-ca.xpi 609963 BLAKE2B 
c77754723fd17b7ecc705436508c72ece280559cfdd646ed6f8de6f9abd655cfa02168b415b1092269444a93c931c52029c5e43ed5ad621bfe2a3a95c416d87a
 SHA512 
f39a1744078d8200224cf93e27a453a6deeb1b4f1faa771bfcf5254f72d83d5031f4d8e0c10f487eeda5f8dbc43e829220debdaed4eb7099994474987ae26c59
+DIST firefox-128.8.0esr-cak.xpi 601478 BLAKE2B 
74b869c0ca16c718838a872a3a68e5a5aad5d1944b8a565bed5f92dc1c2a1d7246fe63d4f6131c77dcba4e2c2c067df0aba1e44ced1b7bb3675fd1850afd5ba5
 SHA512 
b4fcc7e08bd1b0558183dad02b40bb940f51ae81ba6ebe1a0d34ccacbe0932ae3c956ab14946ae90c3fc93bf6ad548f0a5b8400f62b5a7878036a5b4d11f4bc7
+DIST firefox-128.8.0esr-cs.xpi 690641 BLAKE2B 
fda3e2015e4cf905371b9edf86aa2fc40d6734ad4f4b153a30b9e9328e631ae78013123550dd1c9f597154b72c934a02f058f094779cc09464ac7211b87314fb
 SHA512 
bd0c2435cee1ec028156caf3e4db8e36b7e5ba4f8ef7b66593e8b41af4d026c248a54fe53c18f458e394402294fb90bb65878dc2bb4c69c417f71f3bcda8c4a6
+DIST firefox-128.8.0esr-cy.xpi 650600 BLAKE2B 
ce7040001d434f31f972ccc167300cb152558804049498805eda5a42df75d9b592e023f2c2aff6f1870f65c3956000bf75d0b0394ef7f58b1f0ca6f5e6f27794
 SHA512 
1e43f9e37f408aab76220d706176148c71a90dc5b0fc43efd4a7ede57bcccb35468abbc04a0d4c84ec03a1cbcb2e3e0b1e0c9890393e2577581f4b28d39e7cf9
+DIST firefox-128.8.0esr-da.xpi 638632 BLAKE2B 
ab463c18d3fddfb4017cf8cfc2197cb4118e3cef6fa1332df986ba2ddffba709f1fc4fc3df54fad18c61f7eb2694441b7bbfc63cbac731cfd82abadffd7fdb41
 SHA512 
7182ebf9af62683479d2550068a30246907978816012a8296fda0054722c7772bd3c574834f975a35efb74284a20fbc5fb43728de4725755725b8611fb999630
+DIST firefox-128.8.0esr-de.xpi 663133 BLAKE2B 
3704e097e5860d022e15ace1baf6121994655f9080001cfd8f635716194f77f9bfc10ad00216f321eaf4c2b4b43fc932d34d747776dca4ab45257a4e0beb9a20
 SHA512 
5f570e799dead4fe447dd98e5cb923a8f779af475ba6ca78e5d3a08ba9e76c3a0a25f2b8eca9ae8bd0909800fa46a60a829ae5d4f551ec21a0caba9bdfbd6b4f
+DIST firefox-128.8.0esr-dsb.xpi 679872 BLAKE2B 
c5634c34c9fe370d9c2e51452147d96bbda6fbca428f1c331388d5f136ed85d51b2091eaab55d9261021e0e61902960c4c2dc8a9debbad7b80f16b5e53d3607d
 SHA512 
4a32a6fdaa72fea630e8df45803ff9ba2789d9b8765263b867c4233d4d0f4073c9bfa7a4850486d101b31bfb245fd8cfbbc2b5bf56a3fe7b893644f350b96181
+DIST firefox-128.8.0esr-el.xpi 764546 BLAKE2B 
c2d36ecc23cd5032ec49354ebdc8d1a6261c423affa491f8f4f7d9c7b2faab593d42d3c76bb4c8eecf440f97340ae891491a7f2cd79c85718218f32ae4088b69
 SHA512 
e4d7295abecdf1a82d81c0b00d42b8f34d12faaf69dbce6988349e44e6b55a1a62129b076c5bdbea1cd40f049b7ffb9425e4773bea3b735884ba47870c0f96a8
+DIST firefox-128.8.0esr-en-CA.xpi 610414 BLAKE2B 
4482f2cf578937a969bf2b8186790304afd28048ea9c4bc899cd9019bf80a20ac592be2a273233677157b5f58b9af5fec95bc74317d19fe4798e033472a89acc
 SHA512 
4cc102144f8db85b10ccf15e6a41eb5e2f6132713a7c735b5a3844ca791f8562ac6fbdf112088c0a4395c68654b86c8d639cc2987a77f4c2c1f67c8e1482c8af
+DIST firefox-128.8.0esr-en-GB.xpi 610776 BLAKE2B 
f8943b60a165693652b2ceca895d434bd929f2b358b105d7f90e720a9242b1fa051cff24db67e653f0c720eeed1a5e6aa85883cfbdeeb0f1e4125cc861a94829
 SHA512 
5807c1847cb912edb5114f097faa600e6b49c2c88f98e0a03c51d3f4927e5794d43a8c3a3633101db86d0287a56fd43aa9ac2d2e516d5dc97ff47c00f223cfe5
+DIST firefox-128.8.0esr-eo.xpi 643527 BLAKE2B 
7bd78f22ab6aff0a4bcc4b0477db4cc523266f59113e2f1e3778695589b1cd8d51aebd09f9a86eae4cb0360418f09b075305d3ea5df91d80f4d0ea9d0e57b24a
 SHA512 
57526199a573c5a90850241c6e2341dce4626233105682777044d564dd520d22872555f68ff02467070324323f41a22dbe541d04d5cc036bb2765fa3016307bc
+DIST firefox-128.8.0esr-es-AR.xpi 655623 BLAKE2B 
be34d1ed9a09319b8952aeef137a0cd0457f192345446ac7e2dcac15d7d169f2ee9d55bb2c23e57baee0ec3dca26081e9c60a9bbb7686854961e4a0ba84c8dc1
 SHA512 
c7ea88316bd386180e21005dbfdaeffea03fc4db9853005a27156ca0de56e8c0b35517a73e8ec2c16e453087c787873c3da9983c8a175c44f915250da66a2d6f
+DIST firefox-128.8.0esr-es-CL.xpi 656057 BLAKE2B 
56fa4569fce86f4991a621761b9b700114a782612d3adcd497f5a23e1c4b8f92210c97f44fbf86fa49f8dba5d46cc7b4518fdbdd4dffa04e584d56f41f8c24d5
 SHA512 
c66df43545891cce1355f4f3c6c9e306ab097cf29a7411bae13fc6ae9a0a1aef63449793b04b503cd3f556cf8abfddd5671decdc0e1e6f748b926ea297b0fc14
+DIST firefox-128.8.0esr-es-ES.xpi 655181 BLAKE2B 
39f8ed69998752f709be96556eb71a5cad96cc710ba12c83a583b957463a6fa21db0c5fd3e5c0bc6c5b390b3530583ce78ae7de33a270fd6aa07df5a64ba8416
 SHA512 
b0a5221e9084a7443c692560a31224fc3213f98708719b47cea5022799700739330f3dae4e0ea9f236440d8cd9fecf537ebe13b5f46319df00998ed7b408acad
+DIST firefox-128.8.0esr-es-MX.xpi 657401 BLAKE2B 
e9b06575442f6e3b34c32a64d0dcc3529cb0c58ea92ce3c333fca769b670b5976e02b3ae48790588849c3b4c934dac40f30457d4d000d48d6f53e145ea63d69f
 SHA512 
5d6169d6185022a7da95ef65e8896876248f62c22e683fd5f62176ebacd7e183e7cdd82ba6acb2adb0925d7e513560e096df8945a6fcb170bdb6766c2b34389e
+DIST firefox-128.8.0esr-et.xpi 556257 BLAKE2B 
8421cbb4c63a9dd1fb6bb4bcd05491be09a7fca3bdfcedbf28b189f1a223db813fe8a28e8dbfe291712dc1bf63b729d3a257de9ec0f8747d3120257afdcbdb2a
 SHA512 
8f52250009a57668f4d7bc289049606cae31d982b6430ac5471c5434feb49aba178291b0e7358ad577234c25d4e6b014572db9574c00eab96edf3311f00ee5a7
+DIST firefox-128.8.0esr-eu.xpi 623944 BLAKE2B 
afd5811ababaacfa03314512461bdee8baa66834b07e890052c9aeb2ffbb111c802cf667628c36ae7ba47401077a191847ced1ce673bbdbddbfd56d91b40f50e
 SHA512 
27fb92551a83cd76b9b62d7a3fab4821cfa3f5d9646056352ec5c13d117b54275b719486ce9462167e25342cb98a8554aec44493cb0ee6ca0ced3ded412a88ff
+DIST firefox-128.8.0esr-fa.xpi 631012 BLAKE2B 
e84bab83ff935f5e732f30d6c18465d4f404f4dcaff9a7f2a9878c1515fd146096866cd7e926452bdd3a5482f1e2493310dbe62010106f42ffda7e47837384e2
 SHA512 
2422860ff2c1c1fe68b4be3c7269543b47ff3dca98faaae938bc71b06a164a1a4e60db3e8a71d14c35cd35cd8ec7c04ee63ff0d963826d19faa5e9f9358a52d6
+DIST firefox-128.8.0esr-ff.xpi 497842 BLAKE2B 
827dbc64bed28513e3571c2c7560f4654b45064159f4202e4a6d9e5733536d7893a9faf5d47645ea6fcd35d7b3fe7d02d3967a168247dfea840a466bb7b37fcb
 SHA512 
101fa01455b50a587295cd89cbb57981deb5bfe4ba310c36f79b58fdc09cd7e807aa87408dc44847288acf569215a12a526f71e8d44c4b8297c20742e2cca502
+DIST firefox-128.8.0esr-fi.xpi 633877 BLAKE2B 
9f562490ca4bb7f60b84d256ea45b0e394d10568f301b636bd03f4384e3bc64dd74ce622f7cab0c7e2cee5f634eb10778a1c56a63062ed66778b455ef7fd2128
 SHA512 
8a1f4237017e53dd668ed34058c23efd9760c0150b1e0e77963aca059857e6dc2271c3fa6860767836d0a253f41c172593eb05f2589d0334d6697366616021e9
+DIST firefox-128.8.0esr-fr.xpi 669633 BLAKE2B 
aaeceb76793d91507c521fbd8c402ea628c66dfc8c16a8a118debdb2555878737683214d73e8e5d658e623eddda80be38ba6d14255966ee9adfc8fd652d934f7
 SHA512 
43481978ad664f64c94f7b8025db5f6774a3a17cbb85b7bc151d76b524e1192961ed4f31dc2114b622ab34ecf8ef10fc5dfdda8cdd3f545550af34c9c14c0ab3
+DIST firefox-128.8.0esr-fur.xpi 651567 BLAKE2B 
6293b3c87e61f7dfe27aaed85b77e1e23c77d30c0e81c5467813bc928f28a2b7066d246503802e5c3a55b37cf39210d1d5f87b5f2e5648356d5591e696791058
 SHA512 
fbf3ad51319f67b2a0cbdb47fd3210b025295865a1ead2fa63b4e1eca5853784642b0b91c5c845857e697e747b312f4b8050222a38c3084ddab198a09107b266
+DIST firefox-128.8.0esr-fy-NL.xpi 652084 BLAKE2B 
baab65f1ab39b1b68d4a725abd4695e6ab4fb312f416fe53eafc2b2305503efc1445d775ffcf6207a6bab7f8c8ac57f5c19df56e6fcce0c01f93b25f13bcdb46
 SHA512 
0ceacfe870f4113998c8e8c33c892c138cc00ed5e922ba6aab934dedfb922c5ba073df062d30620b59cda51f1b139ff6a8a56eb3d3aa365d58221e3101b1cef1
+DIST firefox-128.8.0esr-ga-IE.xpi 490832 BLAKE2B 
538fe918064d0dd4d113107be9970f899e4bc987752375ff42ea98a6adb8fa884b71a4461e2970ffd6fa13088972242316ebfb1bfc288f921bf22c09d6965492
 SHA512 
a1a6bf808b656ee8dc729395e9e4aef29511aca584c070166434e143dcd4e1c108e5835af3ff4723e3dea30b594ab03da75b12625ea1e70a159fc51a21b2e5c3
+DIST firefox-128.8.0esr-gd.xpi 609612 BLAKE2B 
df48ff29d36b8c03d14f41a68a5b3dbd2b94726a1a595ba7be0294c99f7cd3af1ab2e68b1f90638433c62a61f57638e7e9dc2d51595b7650baee7a4050006efc
 SHA512 
c4ffbdf2545de35b1d0a5f44361b94c0b7e0adfbf7ce294deda9919c70d564a4dcf0fb2a3d764f834956c294b9a4fb579a938b854e8fc27b7c7097e6afb9264f
+DIST firefox-128.8.0esr-gl.xpi 615541 BLAKE2B 
ccd192c71facc11614b85d8ffe2ee5d15999b546549eb00c4835715be17314f8e6abb4933dc69822d56965a9a77178c8e29205077f6b8e3c4da8042979053083
 SHA512 
8d88e3d6fce2aac35f912b019a9cb01fc4119d133fafe66e4568b07255fad70d2814a87d270acd87bf0dd180edd8f9efe1168e0c9d16bf5f97392c5f834657e9
+DIST firefox-128.8.0esr-gn.xpi 659906 BLAKE2B 
1a6c3d5562fba42ba06d35470272ad538ca5ae1f424d7fcc0fba5a0302616108d8b213b4cfa2e34c59f29d22160085acc67eefc6f5fd8a512786be64bdbe4cd6
 SHA512 
c9ba870f76098917af4f03128087f9bd00dd0437305cc86f4c98e90904fb5277c05cafa173c6351b2f7f6bea4c5e33224dcb9bf27275b111922df51fbe0be339
+DIST firefox-128.8.0esr-gu-IN.xpi 552339 BLAKE2B 
fe741b547e15596e0f6232dc51dd9f88e924dc84fb0269add40e68a5d2b3951eb95be93d5958843d05b2ac5f5fd974b38b592601cad9afd00611a322b0cf888b
 SHA512 
e3c068a288007f715703f10608a5d7f9f0d3da8d7f932363bcebf9314adb9427ef53d607d6f1cc9709d95b8320a87f19d2903e68bc6dc6d4f0267135e782bf21
+DIST firefox-128.8.0esr-he.xpi 659485 BLAKE2B 
2d4110648ad743f384436eb55808c0260a2644ae6e4cfdcae813bbf9a9df0f79566cb799587014b7aba121bb3853595db426a980f76169eb76b04b75342ca73a
 SHA512 
af5e8b778cc8416f4de163131226526905b2ad22ec4aeaeeb0bf002ed8bdf0d5436592f09d1fe8d1e1ee9ad231eddcc673ea9c41efd649b2c229808c86971383
+DIST firefox-128.8.0esr-hi-IN.xpi 578981 BLAKE2B 
f3005cbc3dd8efc1c96f0df5015b3d958ad03f7ec1957a3116ae3a7fe596ffe249dfa7c49c3c38d3b9591f196d41e247308206bf184187388c804ded49cf540d
 SHA512 
84fe919f6bef1173e19686eb823f84a404589f1e106f6e8ab3c3f079fd6e15a8eeef225146c57b902859666636a1d6182bf68f56b17781074b72e3b9d8d5ecdc
+DIST firefox-128.8.0esr-hr.xpi 645456 BLAKE2B 
da6afbb5ab8619725c03c4bb67300bfd5ed5b956b2d982efc42953763457fe416b234a697986915d2bef4e7f12c58d4a262262f0d5ed8d9bdfccf151cdbd6f2b
 SHA512 
2ef9409b8769f024cc93c0f241916c36e7c198ad02538e5569bdc03b7379de917195af89150737b953e583e0c9b67a040b158976c2666271c99fbfc49206ae2c
+DIST firefox-128.8.0esr-hsb.xpi 675864 BLAKE2B 
6cf613f85608924f2bb136d974be8d8cba53c66958da5c2369ae1bb7810605e7f004fa0c31d2203c116196e95e311df0cef58ef972ba49a10d29aad482b89c88
 SHA512 
f1709d85ea173b830dca4add22d44cd9b025a1afc2bb356b2bcb1e9afd3dd47185b66d4b3029291bc3ed3bcf9c4ca6f28567b597b23387db80b3b22038ece3be
+DIST firefox-128.8.0esr-hu.xpi 679682 BLAKE2B 
665cff304912d11cd6ab800bbb63f8f2502ee1bb4da6d96a28cb80c0d09b28c31673fe54affe0004429a388a8fc1aaa0513ee2cbdf5627bde8551ea4aa8f6375
 SHA512 
0e34ac6de2e24fd2a14740531109dd1901ebcba43dae2ac868e0feaa0d65138cbf49d488f0124a0ada71a7943135315d8bf49da12357345f29c1099ae2f2262c
+DIST firefox-128.8.0esr-hy-AM.xpi 664453 BLAKE2B 
ebf843eb40e2a9c9daf7bd0a409c9961593a9caa7e5a484d0b43883a84691612a636320224f36eb173dcd838c43ea5af2e60c5cf1c9821c47f3122cb3a876c60
 SHA512 
37a82f50a35b5c85ee71c956756a27af02864057ffb47491fe9abac6d0a3e7fb2dacd6dd11150a9a708109be2f1d034b790bb236257b62abf6957e4bd070c046
+DIST firefox-128.8.0esr-ia.xpi 637960 BLAKE2B 
cd6d8554b07023c893248e13ea13e26fb696840616b7916fe5f72343cd4c6801a51dcd2a985905a67dc63074331b940738a89c92e3b636f60e8b653b9e4fe8fb
 SHA512 
c7a6d448d4ac34871a0ab99437511c98addee77e740f45b17b93cc49f188695425b6324ead7d1c2b6194ed910f87dc541ba7087e8368e3dead6a0d79ff3e8ac1
+DIST firefox-128.8.0esr-id.xpi 625987 BLAKE2B 
36996f57f24151cce33f22c7a2648c173ca0fbefa4cf1e7124c29dd57276eb502cc86cd0a4adc5ab3e6c5570c18f973b7efed1805159f114e2dfc5f0025ee3bd
 SHA512 
46ec285a073f357d002290a1eb6c478c4447801bceb0e32dc6d7c16b5ba22831d4f579be35fad48866c26e0e0b45ae8193a1c90d05f37ede597dc37f5c13b513
+DIST firefox-128.8.0esr-is.xpi 646735 BLAKE2B 
0c43c7f5b416a4f4b3fe57f67a6e0e9aa5a5fb837822050cf4e001adb9c0a425d8cfef33356f8e658e1896373b334115f7786c58074da63f354345fde20957da
 SHA512 
92d177faeb6230e5f1250f50bc4dadfca30ce99dbe04b5f7d90b0475cbba1055744c36783ead11c577ee950421b6890c511b517e1fc5f83748dbca57d9e41e84
+DIST firefox-128.8.0esr-it.xpi 648862 BLAKE2B 
a6828efd681502ce1a1ed3616cb67d0e56ca94573383101974ee038af16d723b28165628978e5504fbeb016554f434561ac1f4f7493636f85564516c685b5706
 SHA512 
3e9df23dae68fb8a58ec1c42c6f9969702c8b1994367132e0d6b9a8bde2700a694811ba10b3a6dc8de7c4fdc4555e3b4e9f48f16599f63c5f5bfb492f1c20c85
+DIST firefox-128.8.0esr-ja.xpi 704123 BLAKE2B 
4ac4d6b66d911e29aada51797afed9683148b5ecd2deb3e0072f017ddad0470265f41da7acfbfe94ef3e9cd2e5f126e7f8b0fcf442d68f9f21b41ea17d0f1ea8
 SHA512 
c06e28375b99a726866432366a0811af8d6d3cd7b46f138583ba9b25c4d3e24bc08b1e2c2c1a4d72031fcea2491753ae3cd1441431be9b6c47a0544a4f537822
+DIST firefox-128.8.0esr-ka.xpi 714507 BLAKE2B 
266fde7accca2485b28ab1f560ea6482aabb6d1fefb52009b4d0af0ffbf8ba30f4fc039e1a427e013d46938df67d05bddcf52ea656c305fb7bd227e91fb0a114
 SHA512 
336396859d20838c765eda6132823b1259338ff34944047500c5cd7b745495547e61163872b8e7e45a18d779c4f513651f9cc8f8d0b024f69959e160fd56b218
+DIST firefox-128.8.0esr-kab.xpi 626275 BLAKE2B 
a758863a234061d2e16640aa202da9170b8131f8d1995c529ae8723c3fc259ddc9bbb5c8758066d054f7cb02a472640b31b8461b69d4d8a094444aa86300dc61
 SHA512 
bb9ca46192148ce9e09b74fd43a1f358054af35cf1b3d218bcff348efd83fa6229f6a346c79827ee6361d19d8c25050322cdc22243b7227897528015fb540b2f
+DIST firefox-128.8.0esr-kk.xpi 734551 BLAKE2B 
891900a50a17b0792b55083275e82f6c5e23d54db2e76d2d4ae62665b0e1791c768d51659857d370f1656d1bfcd7546d570ec29e3be92fc5a804f1851c9f4e1d
 SHA512 
80336745cc05c5fdce35ef1f018fe1e80a69177ccec2b84b7c3ff7737d283dfdf4e0663f2e42961c9eb407456f91ef3af421412c574c1d96d3704dc9516668d6
+DIST firefox-128.8.0esr-km.xpi 543161 BLAKE2B 
dfcb38f3b4bfd9469b61e889d88c014b02d26961d16eaa50e0f0ba975784d00861161137ddae83153a042c152517bf94b49e0d50a50f7f3800f7afe46cc5bf14
 SHA512 
fb8bd922aa1ccedbe7e18dc8f9442cc8ceb2e8f80b73178fcdb0704bfa8051dbb02083e22707c94fe8598cd51394c4fc95a82f474029c2b6aa04c1457d434b30
+DIST firefox-128.8.0esr-kn.xpi 520318 BLAKE2B 
df4783a28413935127bf4dd9a3a3f5f2ca709c555a43411d4f210147d949c04a7185542e9bbccf6e61a4477da6d9924b5f7e02e33441edbc0054891e85063258
 SHA512 
7beb4e7a49814bc9cac279388cb610c5f264b0b9513b8655504413bf47bf5f3624ebb3464e6320b77a4c255a05920c7b68cf4f1b9fba3e04ca39dfbbce2434ca
+DIST firefox-128.8.0esr-ko.xpi 690557 BLAKE2B 
71c09a2566f8893bb29225e084596d8ece50d06bb07b414494e3c0c30ba552a931858aff49b2fd689996698370c0dd76381f23270f77320e361ac165d238b820
 SHA512 
7922afa4909d978bdf4f5ac5191a6e8e46325fa59e3f1d4569ce2dfb94ac35e46675512b964bf860c7a2357b8d9e6014cd8238bebc8a7c93300a76491b5fe119
+DIST firefox-128.8.0esr-lij.xpi 506293 BLAKE2B 
7944e24a2482aa40fb043130c6fff28e1a33fe34008b3e137853985c1e2cc5cce3fff4535f28edf5ec40fd2ac5f95c62595fe1f3265339597ca07f54a9601581
 SHA512 
ea3f4d06a59bc21d7504aec8850053e1bdfa9d55d32ce942b33983d7587cead5cf130ddb68ea667a803fa0f532ef6432292a8de46044f3a3020a9a1a4449f9a6
+DIST firefox-128.8.0esr-lt.xpi 585991 BLAKE2B 
54280de16067c0f836007f76312b6b599f257add617996d9178f65d9396693676dda7f9c246ebda7759c72e3c249d8cb59320b1139c5f1cd737225975675a867
 SHA512 
fb6f39cfe651dad3bb1b496a5d8241aafb01bf8374e0043bc9044b44165d4ccfd3d1a88a319f489d5cb503c199e0178a2636da8101418abf2455c8b953b23a17
+DIST firefox-128.8.0esr-lv.xpi 595103 BLAKE2B 
afdde869e28d83bca6151e48b60b9202f87c232246ab6d37d54d4c44c7a46b32ef98b1381adc5c05eb024098d544e56a8786afa99614e9988b798478547d3a9b
 SHA512 
4405712a59250fa59df9725e66c4d999b9e5f7ff111e190123fc5de86c4db1267aa608a88179c1b95f24006003ee25eca46ab772f7d560052bb05771f4ce5fdb
+DIST firefox-128.8.0esr-mk.xpi 511078 BLAKE2B 
6d68f28b39deb91e6bd1eec53fa562df27c8a8f29943b4f65c7fa89338e46081d590c2012a73a82233f724c49823740f86dcc18323084307d88c79f259e9aac4
 SHA512 
439821357afdbe08dca3019c920a08af39c0dc5b98a7d625d7f097ef993b755efe7cd520869ee4b3471575895fce2632c5f7cc957cab9704277168da768f502e
+DIST firefox-128.8.0esr-mr.xpi 552808 BLAKE2B 
e6c7cf604f4d6ed92ac69aa045ad6010f172b81b278c32535fa08aa017854b81121dc5390b6cc1464b45fd5854c5105097f935a56436231ec79322a81b3d4ca7
 SHA512 
de2b1e82470695dc6c0f870d5699a0869fbe716fa101665b561b8e0c12853da1829dc74818b92e54d436d30216973b01f2e36a1c1c26f59c0ea78cd0d4cf7da2
+DIST firefox-128.8.0esr-ms.xpi 477960 BLAKE2B 
b39e8f1894abd1c7051ab3be820a496677b172165f825d7bac1da05ffd3eb79683054aeb4b5592a89bf197a1d7cdb4abbb0739de522923ce0b19d020ce0f3e73
 SHA512 
018b1b7a53a5a8525c677201a81a39ab0945b49297bd4564fcb6f08be0c998f753f9738db04de8d5fee186e3a03062820d9344631d0f9fe669a760f39e32861b
+DIST firefox-128.8.0esr-my.xpi 540059 BLAKE2B 
beadffd32c899b57040bd55e2c355f9cc8d7cea3423ec89993f826b47618b082ca4fed500dbc98296e44d31c712758c09c3335a38485478ed2f9bbb565b70799
 SHA512 
8c1a8c0ba9d7b49b25b8ad8607a394a3fd577f4111212e3315dc6519f8f9f87d6ef472b1cf0281e839c3f70315284884d34d7fd13bfad295784a27b460b41e58
+DIST firefox-128.8.0esr-nb-NO.xpi 627677 BLAKE2B 
16d270b52cf6585fb929da28425cadea11699e664cbce789ff35a2e37fe451f70fbaab385dd0265c6a9f02f827f04001bce7eb1b2da7fb73505d20c89460c64d
 SHA512 
0dfda234a31ac875697e52d48fae0eff70036ce7619c9299c4e865bbc1bcaf33e268048ce6ae73b7a18666dc122467e49828047e30a0c2d4f86264b3f43fc20e
+DIST firefox-128.8.0esr-ne-NP.xpi 543820 BLAKE2B 
e4ccd2744e8a18b4fdaa5d8f2d9713daecfdcac5eec9b724c125393665de5063af712935f4e335be219638ce7c0073397437bf67147bb314cf10d0f6953184f2
 SHA512 
353b974d884e86e1d5fb250f9784360a856bd487dda469f4110928f25c9c0b7a7a24c7cb63baff6a77b0cb03544a7c2eaece77c18faa5d3cebad397acd4bd68f
+DIST firefox-128.8.0esr-nl.xpi 645178 BLAKE2B 
4326ab632aaabcd4f2b3fd9995831c7da37f0b726dc0aa547d12295dd9344ba89a04d7b2a04043970ededbd5cbc41d1328a0a00481094bb61ce7cf8bd58feb0a
 SHA512 
0dfb6c53f65c1d2dd362066c5a68501f8339585b2e72528163035e71ff35a5137343e90129a339e0bd156c4e2a3d93f3423bc7c18041a4bdf765bf0d7a46197b
+DIST firefox-128.8.0esr-nn-NO.xpi 630291 BLAKE2B 
eb23fde5b9100f5f6652ffd70701618796ae008a534178c2224164d81197b3603bf6596317b769505709bacf4189ec62a8d6095c4f2423d376ef25757adc4d3b
 SHA512 
56dad2127fbb2638595f1122efe88e6e0a347910ceebd4fb84f054fdcfbacc82108931de015baaf4008293d0d5e0e7f9fe7f8812b7a43f6cd3e9e2e8ec67592a
+DIST firefox-128.8.0esr-oc.xpi 626825 BLAKE2B 
b6892e6a2c31f835d6eb1227a920979e042a2e6dae8165f20d42b6df306b0235f3e2211a1c44990c6e54e72532b9ec979ec6eed15732d264595a7c0e75802a98
 SHA512 
0727ddf2cb964d8ea0d13ef79aa79f5025cf927bbb08d2fb71441510e7bccc42b5cc2e955beb96776682333485e6f484b4df383cf1246581fb6f54d206e4562a
+DIST firefox-128.8.0esr-pa-IN.xpi 726723 BLAKE2B 
c9045b8aea65081275fe3f7513f1efe61a69232fdb9176ac95450337a7e316a42effb6089311dc582387f918d60b17580b95a292d50fe713008d8f881eeb4dc7
 SHA512 
d0ba06d17071e6b3620b48b1b93279e6475d06663a394a8d8fc05c20ce93e514aa4795b0f568bc41c63eda0787d06a619584ca6b3baa369dfb9b881bd7b9af2f
+DIST firefox-128.8.0esr-pl.xpi 669235 BLAKE2B 
ef077aaf60f4e986ec6ac81a81c617e0996426b08bc3e28cf18765338c4d6b6ca47a05c712497979bc6a5f8919dced5856518aca791bef61dc21aad68e386585
 SHA512 
a1aaeb03d26998bc5e7795f8566ede5a7a9602b3cbf13ddca7f23bedd36ac2618577d10ae981b922e07e0e233eb517ec37149552d33494a5fc4e086e04ecefcc
+DIST firefox-128.8.0esr-pt-BR.xpi 650216 BLAKE2B 
9ef70c6828f4060e28d527603ac65b4dfb8d4e693a72030fcca97e2be277f681e5c399399f05e6ee6c77bfd7e0e7aabc5f6303d937bf67d97d3badb216ae1da1
 SHA512 
1e41dfb87019c3874f7d89c9c2fe9e08c6221d24680af837d60705bdc329d755c970ce610bd9b18e7ff78588fcac141e0981bf017598cf19085df8e0baad6c84
+DIST firefox-128.8.0esr-pt-PT.xpi 654872 BLAKE2B 
e74466cde4646dd045e5f087a708134a4b9f7b99fea6c06d8c4391c68a29762aeda098cb8d2c5961e7f347e4da86f7f4d26d555a46ac57ef1e714da6448eee29
 SHA512 
16b38e45de670e8986790e6a5d224a9091feeacf13bc3dcad4355fa028bbd6ad87d61709740ddbf3dcf9aeb1dfb8d764eb6d149224b1f27aae87682fee24153d
+DIST firefox-128.8.0esr-rm.xpi 646696 BLAKE2B 
d668d96e08ea9604babb199dc834e98e91bb58a09b928963c8dcd743224f39260c48b1312290c502e3e3466c21ea916a009c9f3e94a098eb47d3ce348ab77725
 SHA512 
93c14151760b34d3adbf777787a24d755c41efba18c3f1e0ffed6f3800b64395d626eaf7aa31419bf65e80bcde853bc59dd58c472fd5cdb8c3c57b516c01e330
+DIST firefox-128.8.0esr-ro.xpi 562848 BLAKE2B 
11110ab243bfc8de092dba804c6135fd9acce1243d7cd04441552e819d75672248c4899f4bbc92835385d03c55206bb39ebe06f4c0b16e05133322654f78c781
 SHA512 
dd570731b4b1f340dac97e7341d5096630c8b56f3fd03f9d7fa060a32ba85ca98dfe6ecd87c13bf55683fdece851990614805507e3beffaecfaee2d39ea44647
+DIST firefox-128.8.0esr-ru.xpi 753054 BLAKE2B 
1da3854e92d62c751f4badd097a86999f9adf8924ebe223882345bf5994280c7eb42f9630578abfece8dcb547c475954a139d61724b64a8f17af6f1cfcad68e3
 SHA512 
aa8a752eef238e41f1336a63bb3e2b7a7f00007a1f4ed5b92994888b88ec0299362230d4e007ce390ab53d61bfb00bd47693805ef304a9c71abeea109bd5e587
+DIST firefox-128.8.0esr-sc.xpi 604287 BLAKE2B 
4366f50e9c6900b0697d8cc4028390ea3a5c3fd3f7eb1e2f9b05f94dc6c937885694168f7b26929d7b099d07916f1f0124e9f151dbd0115ddf029e81973c2f2c
 SHA512 
02a375c69122dc1fe1c7641448bb4e852b0253c7d78061821bc7b3951e75fe00e9b3c0ab196db2ec25a60ff716c5a68b640e52d724ab4ac274a01527e35cf62e
+DIST firefox-128.8.0esr-sco.xpi 524657 BLAKE2B 
757c1a1f172c757681a6cad0558ae2e65e7369475b65910703b11013af6eda1d95227c8d6e1ba3293a26cb4e108cfff6bd6ce86f8301c184fb1f9da9e248d9d4
 SHA512 
b0bbf12ca61088b965d91620712d7b5cdaa758de80629c92b310b4cd74ba597c891aa9545bf513071c0d9fce4ab55fc30a9e45f1efb11c0fac9c24fc5a6dbd74
+DIST firefox-128.8.0esr-si.xpi 628191 BLAKE2B 
7a04659d4fd7a082e2281c65195d174700fd3cc6d96000402358188c7b57cd91c73eb56894bfaa97469b64771e7be264900b1c6a64973ef99b01b3be26c0d665
 SHA512 
6b33c093f231b89c87553d7c705875f052295e5f9568c1120a4b09decc2eba9f86e7a4f3d3cf27bb5f4f0faaf06eefb49af668036c0cfcbd98aafa4979ed3927
+DIST firefox-128.8.0esr-sk.xpi 682226 BLAKE2B 
caad0e34413dcf946eecbf4938a5a05fc25d87362b37cf9d08fda30c8bc182e9b8bdb21b07720bf723edd12344acedc9eee652a804da7095ba0c4f38f8a971ca
 SHA512 
4e56dc5f8e34f926b47e4e10da885a5f467818f106b026d94fdade8aab899b1a7b1919828a55295f6270bbbffd29a3646944b02d2c2492f2284b2375a9d43dfd
+DIST firefox-128.8.0esr-skr.xpi 726689 BLAKE2B 
d904887d14d4186d4b80cc4815c96c1d4eeac8bcd57c7c7faf461cb02ac5eb851041411075c911e03fa2e65425c5bb488731421a6060ae4cd9dc10d1e95fcd15
 SHA512 
e7f84bd861d2d680e02a402ef6d01514dcf0932f83a6479a4af04f9aeb34ff46daf9f907248bc810111153c1d0cd75e463878e562b133783bb39a5d94175d1f6
+DIST firefox-128.8.0esr-sl.xpi 649038 BLAKE2B 
ebc6932419a7822d466852aae872662e7c876cc6e0d19fd2d810f0cf3aad173fccfa0689883e26d5a134e863ea92749246a726fedf84cc889ea40c295d20d2a1
 SHA512 
b5c1b477d74eac0d61c46610db78df721598c40e8d276b80c5eaaca5ffec55c6bf33c0f49767e588043953546e68b487d5eeb3c438fa9718b7d2b7dcdeb2d1dd
+DIST firefox-128.8.0esr-son.xpi 451692 BLAKE2B 
23d4fe9cc9451ed437a8652f59a419ff09cdca7d1eff8a961690f986e6131cf9da33796d503b02a129da35de9fc5022ed05f1cea1c98a585f9a8a4a346ac0bad
 SHA512 
dead12871f39fb04ace0291d6f71c8db02e925a2331478b57783ef6143b9c2f87aa2cc9334e6751bc0eef599af7ed571ecf43912006317e32d39ba6e18c8a22c
+DIST firefox-128.8.0esr-sq.xpi 665747 BLAKE2B 
dd6c5936379dd4de9e0a147ac74bb4ee73a372a64a4b8c7a03c6647066aa4e40cdea5577a7aea02197e966d15aabcd012b4099c662d00550f400d5bbf3a7699a
 SHA512 
24c2ae07874176f033832fe0ac831ce1183c9bcaa8ba458cf587c4b9643a7afed081f6a5bba5ca6917f60449f3f3e814dfb70d664add41905ae7587405f64bf7
+DIST firefox-128.8.0esr-sr.xpi 678437 BLAKE2B 
517d9fdb08cd79cc47afe7bf8f316e437668443af0a07302c66c0c1a95b6ece7306917d02ebede5cd1d3c79b5b9cbab6b161fb9ff24a2bf3b4b841c22a8cd931
 SHA512 
e59902a0cdf0d3b6c1aaad23452150f9c4d8eb6d5bd3b69bbfe17f24e82695f0d85de76d4d86cd28954cd57d31ef4b9ffa01f03899963f6185c5007125b91c9b
+DIST firefox-128.8.0esr-sv-SE.xpi 646485 BLAKE2B 
379634be993c40d4b91408af0c3c67f0467aefe77a05a30c54b6f3274c31b564a0e61f0239a04ec3cb982008ef9043583117c362c22065f5ffb589e404fb8789
 SHA512 
9772ae0bf1d932f394c90455e903b85997334d9b9c857871d0c4f5ed53bdfaa350ace1a753d498e074ca2ce56a55519d1f3b92d4705d5f2e1b718624366d5c77
+DIST firefox-128.8.0esr-szl.xpi 541723 BLAKE2B 
1edaa4f8a65646b8ba29b410a76007c149df4754e62aeb7a90b08716e532910271035c1b65deaaceffd97f9017122a92afc0ed1168b15f8f932bcf53e1e7b814
 SHA512 
69e9bf21ad471e16767edc6ed2fb12480af784897640e822b9028e78f63fe59f20ee031b10ac43de321c08de941c30784fe9a8ea02874e8fa62497eaf87fc356
+DIST firefox-128.8.0esr-ta.xpi 530542 BLAKE2B 
c5ae87eed61bbd55569bdd7dc4771cd4f54d3673ed46c02bb887534c8c54f6a63c02d4807406e7f35ab50550831d8e37f0006de89df7d1178b078a5c354677c9
 SHA512 
9f8fcd5c8a9b7bdf69e393d8bdfc1890e489773a37ba8fa97639cbc139efca0cf3014ca6aab4ddc5df209bedac98c3bb3d27d546f2ad06de1b5a28f9e52a7251
+DIST firefox-128.8.0esr-te.xpi 583154 BLAKE2B 
6c4cae2fdda36a6525f014a7c2cf4d03ed52a8b6699ffb442aef92b19e89b3bfb3a1deca43a24c5b881157e1f95e791c9c1ac3a7b0cd1102ed2fb715677594da
 SHA512 
4ca9755184e098325a357aa48985f4ba9551692087a8a01eaab9f99a5793a3cf6b43c2430b05c84fd665c8f11f934ac0fb345b22d64ae9febba4f033722c595c
+DIST firefox-128.8.0esr-th.xpi 728443 BLAKE2B 
3d3a0bbaa9dc99f1ff4bf25199b023b6c02fadb69dcd746342ebdb9134aeea5de8ff1d803e49b30c0be49d769b558ece1d6591ce4256e97da0ed38ffb5552ecd
 SHA512 
ee53458cf0425bef92d34978a32afb0337e1a6e3ee4c823ae87a24b0ef95ec003973ecdf0af3f40f312d524ee206894eff8b7c0749a4af278cb75c936b2ed6c2
+DIST firefox-128.8.0esr-tl.xpi 546942 BLAKE2B 
f0a7d0e435ff3b44d0c74398ffea29573cfea9f921a8e9799901b5b8528596733c3312d90d53132169e606dd445bccd6edc4989f10d2190a33515413ad92eeef
 SHA512 
c26fc605d691591f6ef8f06ae7d01c8015b7900c400736ec63f3c1b05ff926872195618249d0b778e6808137158fc531e4d40579d7f44d331915aa56d429caf3
+DIST firefox-128.8.0esr-tr.xpi 659468 BLAKE2B 
e51428e641a3e260f353373e7de0c036e24d5df4aecfb2104a8ca574929d4892a303fed075b91d5161a4eda3d435bf9f63f8c216def13faeb43d8079566b60ca
 SHA512 
bf8f87e415c37e2d352729afb7a7091c5ceb6947a90d0a8050e6673197943d77461f05c611b58e14edc71d40c2fde21aeff355dce6841431f2a160e69e291114
+DIST firefox-128.8.0esr-trs.xpi 522149 BLAKE2B 
1736fc065e2b5a4e9aa448a550771709bdb876888150b451656541b6187a8831624d40bdfd16266e4267183c0c70d58c6bd7a1dc3a1c88007e92bdc78b5caf9b
 SHA512 
7b3c82d9ffed9865cb6e4c69abd5038342ccf1e40de31ce9f44394935aa8e5ceb51a346a28f6b048629f9a2ed348361af2dedf2b9ccb9128f46ae4e04b859699
+DIST firefox-128.8.0esr-uk.xpi 743998 BLAKE2B 
30e97e28a331fce791ea2b2e8809cecb65228adbd039494906c0525f9de758881c44dfa0508d017a69f4a4d5f536add01d10f83f7c3ce2c14ab4c34e07c47d2a
 SHA512 
6dd902cc4b71e6a20995d9ed2e6dc7e48d5c98a8f8ce8a0d21221e8ea59d174fce9b8f1a8a5b2483bd1e60d04c64f5270084220a8790448462f5ff6cd92128f4
+DIST firefox-128.8.0esr-ur.xpi 574513 BLAKE2B 
f86a91c1feffb308acb398337a9bb3b0e7971e5471c75cdbeaa090af68233c6412b82b1490e52dd251618d98f0b924a9b0362f7810fecc04c2855cf25d6ced58
 SHA512 
aa2cbcaf068229880037ef9b4045759a3faebbb2975ddee886df1797713494fb9972f96905588fb0488b44045f16bf0bcd4c44eceb4640d60957a09b481e9871
+DIST firefox-128.8.0esr-uz.xpi 495299 BLAKE2B 
f4ad79a3bea7b34270ea715a85bea5d27e8d57a4da952447d0797f9bde3596f7517844a2d8152c72ece999ac004b23a2ab8271755e6071d32b89d063a9c2e72e
 SHA512 
ade0079b3135cfb1d1e53b81933732774a83fb91c46a664527a8e16f1e5547e9565a53eb86ee4c8fb77a298005b237130e061f996b6cba84b9f1d5deb55cfcfa
+DIST firefox-128.8.0esr-vi.xpi 683662 BLAKE2B 
c6b03cb6aeb0cae066d94259274ed1d7a1d3e236f5fd47849a3b0056cfc429a32dc673c4f95b6eba9f2725eddd168053aabf3f32adea1f4f94aa9c5f791eab36
 SHA512 
f704914f549f7adc38ae00978dc942c9ee15e806377b3261ab72f396a12d7d0b973e67d54457cdaa12b27ce532b4275066526c218b48e239ed2c512a4b5f5c77
+DIST firefox-128.8.0esr-xh.xpi 452426 BLAKE2B 
3d8c84612c104b1b80cc3a9e0b9a2a389e9d1b1838890deb08d518e5bfdab4b625a81a241f3c4365817cc0af13e6e883f2813bae9bc7469cbcc5b014a4595cb5
 SHA512 
ea8b23feaeed2b80d3c30184f521fc987c8bfb9a2fd59ed6ca44f33ece37277b0e9df44dfb384fe72ea678ad5bcab9515b3cd179caca9426c54ecf4766f76123
+DIST firefox-128.8.0esr-zh-CN.xpi 686333 BLAKE2B 
952d19bf74421178b545221024d4f018edac4c9680f90b30ddbb417803c633dafffc0401c7654f3df0149337feb352105b0da2f96df50de1e8b3075e1fd78d0c
 SHA512 
fa3755d2ff811200afab42c1d6b8f14fab2b0a1b33fa85d2090f1707587e38fbbd7ca28cb9c7b3d4bc59019acba838039e41d30f76c5e1af089f6ec442d25bba
+DIST firefox-128.8.0esr-zh-TW.xpi 689142 BLAKE2B 
e537479b577f127348538593adfa6efc92fe2298b57ddc867b0f4cfdbf6cd18f46b1e62abe08e0b8e6d120f4ecb7e5485d9feefc82c08a4bd93e7f3339ed6e37
 SHA512 
197e2a3217d90f38347daedffe7f6a070f4da38c5540587f49b7892ec4ef944cfcde3e61881e3b3011f64e40628c7e7cf609bd81cf570c6fc9cf03f02b1f1138
+DIST firefox-128.8.0esr.source.tar.xz 563554116 BLAKE2B 
3fdfa2539b42a6a659d05ef9ad60d3dd7a0097abf3c5038150316d775e3eb864056a56edc58ae4e49ca36b3ccf2f05d68a07f8493a7649388e340cd81640e584
 SHA512 
7c0ef22bc14d4fa248cbae14d629174c9c967f891f4525f609760595f5a108aedf7dd804d1b63b97ec268613fa98378f4742a9b6ab562454351cf21175fdb802
 DIST firefox-128esr-patches-08.tar.xz 17564 BLAKE2B 
d904b74fdae2e76866ded11de5377a7b6883d35996b358ae3419ffb7da53b04b2c7d4bb10d48998a8318a84e8221de39955289cb33a8f278c131b4af2006be62
 SHA512 
344a2d04dec679cd8ed714dcecc9dd5b56696803cee9267e7c0c45c439d78728e7eae674bb5f0a64f2e5802dc59c1ec25f1703885024d88bda8a02e2b3e0d69e
+DIST firefox-128esr-patches-09.tar.xz 17976 BLAKE2B 
78f64f5086951f7bf2b304c1148154647aef5c4e699257cba5e94a83d8d8c159a591d0b2a7a5f8bc0f8ec28d5eae66a0783b45f94b4ef713282a6f88e46c75be
 SHA512 
159d8c94af0f90c10baf7446e573a37397b3be7103e7001fb6b38845a28a41793c21ad24c23e0b3cfc4daa2c3a6040ef701f612693c9f4dfff8534f82e7b18a1
 DIST firefox-135-loong-patches-01.tar.xz 39148 BLAKE2B 
3e7693a1decc1750740a8ab390e07d5a642105ad59f95629f9cb00b7c939a8a497c44cfe0a569cfd36cd57663c63d7b39042f5f1eabc6cf0b0611b78e8bba4dc
 SHA512 
1b70b9fd4821c9338af11495b0fdb2aa0ee3f647de113dbdc4211d6a9b056dc7fb30bd2ecc224b4c66e48c2eb80f8937acb5e6423fddd45f0eaa42e538c725e2
 DIST firefox-135-patches-02.tar.xz 13740 BLAKE2B 
ff1780260ef9032c9fbdb6af9cf63967eeff0e3478dcd53e42e6ae7e476ff31084c3f61b840ff0ab7cc9a6932b5ae2f012b0abfd5c0551f2896ad1b10a5bb3fb
 SHA512 
ed124fa1c4685b45fe0c3402d9abd99e34bb54d42f1e5891204df26af06578d490d3bc0a0593144c69970df5cf0b89071c4d45540939c54c1cfdbb155cee8655
 DIST firefox-135.0-ach.xpi 297493 BLAKE2B 
e9f6422239452ff716089945cfec4696c6f48c92f283e412788b8b70f95f1c6e7aa14ab85d983a4423a76e5a110b5043bd966636942e2714626ca3b14797dc02
 SHA512 
173b83bceedaadefa5cfdb5aa6996803e41f8f7efddd89d3dde7778fd7b04b99d6d3c2bc3622a2246c78e9c3c308694fada412d17a2539de3ab63712335e0455

diff --git a/www-client/firefox/firefox-128.8.0.ebuild 
b/www-client/firefox/firefox-128.8.0.ebuild
new file mode 100644
index 000000000000..6273f0695124
--- /dev/null
+++ b/www-client/firefox/firefox-128.8.0.ebuild
@@ -0,0 +1,1380 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FIREFOX_PATCHSET="firefox-128esr-patches-09.tar.xz"
+
+LLVM_COMPAT=( 17 18 19 )
+
+PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_REQ_USE="ncurses,sqlite,ssl"
+
+# 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.77.1
+
+WANT_AUTOCONF="2.1"
+
+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=yes
+
+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 autotools 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[@]}
+       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 ~ppc64 ~riscv ~x86"
+
+IUSE="+clang dbus debug eme-free hardened hwaccel jack libproxy pgo pulseaudio 
selinux sndio"
+IUSE+=" +system-av1 +system-harfbuzz +system-icu +system-jpeg +system-libevent 
+system-libvpx"
+IUSE+=" system-png +system-webp wayland wifi +X"
+
+# Firefox-only IUSE
+IUSE+=" +gmp-autoupdate gnome-shell +jumbo-build openh264 +telemetry 
wasm-sandbox"
+
+# "wasm-sandbox? ( llvm_slot_19 )" - most likely due to wasi-sdk-25.0 being 
llvm-19 based, and
+# llvm/clang-19 turning on reference types for wasm targets. Luckily clang-19 
is already stable in
+# Gentoo so it should be widely adopted already - however, it might be 
possible to workaround
+# the constraint simply by modifying CFLAGS when using clang-17/18. Will need 
to investigate (bmo#1905251)
+REQUIRED_USE="|| ( X wayland )
+       debug? ( !system-av1 )
+       pgo? ( jumbo-build )
+       wasm-sandbox? ( llvm_slot_19 )
+       wayland? ( dbus )
+       wifi? ( dbus )"
+
+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.26.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.101
+       >=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/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-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= )
+       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
+               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 || tc-is-lto || use debug ; then
+                       CHECKREQS_DISK_BUILD="13500M"
+               else
+                       CHECKREQS_DISK_BUILD="6600M"
+               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_lto} == "yes" ]] || use debug ; then
+                       CHECKREQS_DISK_BUILD="13500M"
+               else
+                       CHECKREQS_DISK_BUILD="6400M"
+               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#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"
+               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"
+
+       # 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
+
+       # 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-gpsd \
+               --disable-install-strip \
+               --disable-legacy-profile-creation \
+               --disable-parental-controls \
+               --disable-strip \
+               --disable-tests \
+               --disable-updater \
+               --disable-valgrind \
+               --disable-wmf \
+               --enable-negotiateauth \
+               --enable-new-pass-manager \
+               --enable-official-branding \
+               --enable-release \
+               --enable-system-pixman \
+               --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-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 '' --enable-update-channel=${update_channel}
+
+       if use amd64 || use arm64 || use ppc64 || 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
+       else
+               mozconfig_add_options_ac '' --enable-sandbox
+       fi
+
+       # Enable JIT on riscv64 explicitly, since it's not activated 
automatically via "known arches" list.
+       # Update 128.1.0: Disable jit on riscv (this line can be blanked to 
disable by default),
+       # bgo#937867.
+       use riscv && mozconfig_add_options_ac 'Disable JIT for RISC-V 64' 
--disable-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-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
+
+       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
+
+       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
+
+       # 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
+
+       # 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
+
+       ./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_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 >>"${GENTOO_PREFS}" <<-EOF || die "failed to set telemetry 
prefs"
+               sticky_pref("toolkit.telemetry.dap_enabled", false);
+               pref("toolkit.telemetry.dap_helper", "");
+               pref("toolkit.telemetry.dap_leader", "");
+               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 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}"/taskcluster/docker/firefox-flatpak/firefox-symbolic.svg 
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