commit:     75c0bdfd0b02568466c14d81aa0027c873a76617
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 29 16:30:01 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Oct 29 16:39:29 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75c0bdfd

www-client/firefox: add 128.4.0

 - drop 'append-ldflags "-Wl,--compress-debug-sections=zlib"'
 - drop apulse-related messages - apulse[sdk] should be a 1:1 replacement for
   pulseaudio,
 - filter -Werror=lto-type-mismatch -Werror=odr,
 - include a patch in an attempt to enhance results when using gcc to build,
 - toggle the default 'clang' use flag off.

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

 www-client/firefox/Manifest               |  102 +++
 www-client/firefox/firefox-128.4.0.ebuild | 1338 +++++++++++++++++++++++++++++
 2 files changed, 1440 insertions(+)

diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest
index 162423b721a0..d26ee5ee35fa 100644
--- a/www-client/firefox/Manifest
+++ b/www-client/firefox/Manifest
@@ -200,7 +200,109 @@ DIST firefox-128.3.1esr-xh.xpi 418009 BLAKE2B 
9ba1f877b180250bbf48770209106df378
 DIST firefox-128.3.1esr-zh-CN.xpi 662340 BLAKE2B 
3dd74f61ae75ecd3a14f89650c77862ff3269067d7ad4120f6ffd72c54d1c40410ff2d9a04e7a57ba1d51447e1dadb4985b4c4c3a43ee0b18e97bdde490e0200
 SHA512 
7f136bba190419ed5a0fbef9f960cd52eddb077b897b41b09086dd067a376b27d572961a6e4545f6de2d69b738fdfc2c90154b867863c731726826f48a5286fd
 DIST firefox-128.3.1esr-zh-TW.xpi 666615 BLAKE2B 
e32de7972b874e7ed948b5a0caf8af823e05b976ab59007bf9216f649b86a63be93fc7f0cb7a8d351260e4ef0d8d0317c67cf60e3612898f4c1df634edb03e93
 SHA512 
da06ee72e5857e61f50dd806dbe1a816191ba81c7b5f8093cb4aac319c6410829e0d838609357775720fe17854b75e1e9bb9e757ae21d20e336c284cb6d6f573
 DIST firefox-128.3.1esr.source.tar.xz 562947536 BLAKE2B 
ff2663743c160b227057bbf05915d27c9f04dcf605811933f91cc50b9de55c9e75c3583144fbfbe6a1bbc4570b636ba5918b30f034b6af744f615e6e9de0d594
 SHA512 
c5c1a2e951e0dbb1259a0f77a26b8678bfa4a4c7e909f8fcd5c6d0f807625926824ed235e114d9bab5e289232efaaf4c6691764db64860161ebc9bece9200f0c
+DIST firefox-128.4.0esr-ach.xpi 465143 BLAKE2B 
c3a9f21844787ce1483a2288f90e59d5a53b106755b9e9eacbf9a63abb189602e7ddbe36867999b90516969715594ad2aac2a3f56b5f652de4a68ded32b193d9
 SHA512 
9d756e0fa0880508addeb703d3c26a39d35d105a91dece81bc21c61b2b9740f64613e824281a9c54938110b005b326fb7b846235fed1772271294e7021ad4b53
+DIST firefox-128.4.0esr-af.xpi 418481 BLAKE2B 
4003217027774d87a004b636b721768ccf15c23b03b2dcbac8f1316fe096d4da17ab4580500e2d3d451467b177c1f202aa99ec6c5c67183bd47b93eed55e978b
 SHA512 
8c6dbcbdb9517a0886a8e4b80e8ee0dae05aec366f6fbe5996ebc8c37be70eb104a5e3b0d0eeb99d0b9308c1b723290d6bf96b782b2c10f29668db7a5d1bf1d9
+DIST firefox-128.4.0esr-an.xpi 507084 BLAKE2B 
80bf4f68ec8bad566f5b3627ae8c2d4ad2468f98d18b6abc8437f4a66bbf2dfdf87c30585f5d0995ead31fa2a47a5286691d4f7b6bf84251307e9f8cdf16afa7
 SHA512 
d2cfd1705af29d37a86fa80ee5f459e86b78e4218874ca44c60ae042106239c37d93b9553409d360cde80ac69b2e5f969197cebff4310fd79d87854764697398
+DIST firefox-128.4.0esr-ar.xpi 630465 BLAKE2B 
85c0eba45b435aef3988b4d8e5421a980d16c51849a7bbf02f9456fef117f0d9bf6b3bdc6a183c62946beeb9b234570a7bd3f8babd5372a5c9ef9a14abadf2b5
 SHA512 
23c6a557039053c870aefe6e75ec89ac83db5dd78dde01f128b705897ade0bdbc6443aa1805be739877252ff13e4f155d4358f75f976fa4f814cf9d5228c79fb
+DIST firefox-128.4.0esr-ast.xpi 497402 BLAKE2B 
1ff8ae2b974860fa0b08e31df2d8e2b3de1e72774c9edb92deab9ae6a4fe499494f7f2feb806eaf8f928e372e0de8bd7dd2a3750551a918ebc4842651308deb5
 SHA512 
37055137c7219c7548e2cdcfe66fbfb192501e0df24c0c9e45c968c828389f1a78b1bd203871c2cae7b9df6bc05600df5d69c47decd6a7fa85d1d53a8ff93001
+DIST firefox-128.4.0esr-az.xpi 491850 BLAKE2B 
701ffa873a079ce12c2cc87ebb27f4c4cf1c6f1b14db7cb9b5eac4338052049b61db183761069bb8d85867efa0ebdd1777a245655c18ac11fdba7729960c2e62
 SHA512 
aa2c63ea7e90c069c187d6cd3ff892e10d004316acde7a2e5994cc0792eb0403efc4fbd974e3c0a9e84d447cb7fe22bd4a5de422a250de5fa49eb3d3451cca68
+DIST firefox-128.4.0esr-be.xpi 726775 BLAKE2B 
5945ec990d5ea05ad6cd4ef0489f5a60a20aeefccc96d2789cf14dbff6ccd64e61335643473fe82e256412da39746aa886f96d88b13195af60119892c0e5c017
 SHA512 
c13632d42fc9dda66394879b704c7bbee808186b1afbe1cdc4af4a80211b44f65cb0d95192ff6914e00da8effaa74ac8e306175ad53519b6308d1d6e8a828b67
+DIST firefox-128.4.0esr-bg.xpi 645122 BLAKE2B 
f786d1607af2a67a7c71624f7c8e878314ee7fe9492370ef0499ae984c63151d2a09efd010e87b159dfd6d917e4c4cd804d8935115388b31749fd3f9fd0bd243
 SHA512 
91f4db861fc69d97245ed0b10a5ce8a7ba15c5435da967e4e5f9f1d5297931377e7dd200d047eeef9ccf513aaa95fab7bdba01198345e85bcf13e9e636503d8e
+DIST firefox-128.4.0esr-bn.xpi 582600 BLAKE2B 
4d5d23d0ac111f3d1e702b87e1c10cd4951af9a36cfe000ac42d1378a780426000d616c4eb88328dc177556d3f0f719f9580e4ab9c834a960fef24c5e6866081
 SHA512 
419832878ef934489e507fe3f2fe9c069c1eda393eea7e8cccf4bad8c7d98f22ed4970b14899dadd7b5de27607247b08e73e64e7a889fe94d0a94656a9bdeb98
+DIST firefox-128.4.0esr-br.xpi 594468 BLAKE2B 
56f2fb251d8657e3e18149ac0609cf9787ff65fba2f4e0614fde70a90929c86baafdb95d7b1687352cc0932bd6805136db5b50c5453d1718dc7532868ea266d0
 SHA512 
84b8bd04842021ffb7475bbebdb4a0921be699e24226411fa3905e843361a8363fd623c85c3a947de717fdd74b53dde7c0ab4a2c6cd365be76840d2a5b293717
+DIST firefox-128.4.0esr-bs.xpi 511996 BLAKE2B 
990653ded8934c108a1fab06480f519e9d1c9d7972ac3ed7fecd14c34ebc61cc0a8975b90417a590bfac9aa96e28a39f92989c1907be6447b0e940819cd34816
 SHA512 
3e4337b1daa733abd916bffd79a57bf861f2faaecc51addabb4cdfa04177d1c6dc56f53ebf7ffffd3a2a72192aedcab1030ffd3d871b8f024b3c37259ed7b51a
+DIST firefox-128.4.0esr-ca-valencia.xpi 547325 BLAKE2B 
46e3a5c7352a6f50c8d0fee27c22ee41150c61bd30ff38e9b0f09463a288fd1c828a22dcd190d6e7a80394dc1fd2a7a0199700e0e1b533c5f8ccdb47b74485b7
 SHA512 
6b8894ad8103e325d5ea7d32109ab58f2314238dd3672d064960bbff4636114cd8900c943b4791a34603f8985dead320d85e352e305c0a1512e48e0bbbeba576
+DIST firefox-128.4.0esr-ca.xpi 598857 BLAKE2B 
f88614c8c477423c1d32a149caf9d010449fdaa94f3e23e9d05a0f32f56dff6977b6cd19206a4d397471506a72b0a0a3e5dda3e4f4b4c6d2c23a46dd3ac6e7de
 SHA512 
3653eab908010b01a4ca92ba9ef31b7a056705550644483110ad3ffb53d2d216d88bedae467a65745d074a49d349db61cc6a7b19bf16994ab2554e9eca8c1ebd
+DIST firefox-128.4.0esr-cak.xpi 594283 BLAKE2B 
eb0b749bcf17a612b8987c94396077fa370ff103f9a962f99936d2452cacc0c29a576a579071ea2260b8889744fb643e83a88d34e93e207849f9faf3fcd97762
 SHA512 
13a8ac86ae3dc5d3553ad873d763f4b951657974f8ab2b017993da38bf1e37dd6d9c50b5b6dc67fbbed6c6f82041b6698c68305e9ea93a2776141937e2576faf
+DIST firefox-128.4.0esr-cs.xpi 671319 BLAKE2B 
cf7d11505fb765db812a8af93d9022bce3f713992102f2b849a21a80b1104c5423c119371036b56d9f91f472e8315c2c4a12e53f02a478be0ad54c662719f0fe
 SHA512 
924daf2ace96382ef5ff104df955eb66a81005564f1844b95127cacaad0673e975d2bc8f3fe63413e8ca90aa00e0d04313c55809cf6e39b3d7b098b6be53bcae
+DIST firefox-128.4.0esr-cy.xpi 636131 BLAKE2B 
7fbe300c6d6ec07a4824e5f6de1fa7beccbe153ba4a87f527f8366f4e298ab51ee0d79dbb32b37638e8ffe2e5d8eebc9a5b021d5e00162cb00a9b776e0b551ea
 SHA512 
1d2cdc764a18d542b8283e76220f6d14f38228f74a5f0df2977a2db7833896c9962dc5918d39a585418ae691c48496a0aa895fe5f751f9d3bd84c5b2a26f9b46
+DIST firefox-128.4.0esr-da.xpi 624460 BLAKE2B 
83d897d1e2d23677ce2937ba0d0fc10d446a94c375967d00470072c29bb8c0bd7b6b76288339939f86783aa1167e7f7c9592decf6de8141efb5f57f811eddcce
 SHA512 
c90d63f22fc8bcf61c647876c3eae5c9101804f25f14964a49edc63a146727eb4353e685061b2ded5330b723e6398162a108b78d3442799b9cc68af9c1522f25
+DIST firefox-128.4.0esr-de.xpi 646220 BLAKE2B 
5664d498c50b3e09d6d382d0c1b67d283634a4ae0af121ed44ce7d3b4307324a5da765b8dee44907199996e492e3713e9db17fd665fd142fb54360b778b39077
 SHA512 
5b44ab8f142dfc5e69e7e03851f382e0de7639e3953c0355a05d4726afd1453df46d9d4a3f703e2efaeee4591b5324c1fb3956b0a30ab86f618f5dbeb4452064
+DIST firefox-128.4.0esr-dsb.xpi 663381 BLAKE2B 
266002ec7fb2e1e48448d442513c21528a464936b548c9b781840383a5f97a2c6a4655583039b8c31980bc2fa10a278957f73a0b8269cdff494a7cd86881346f
 SHA512 
364ff138510568cef12772ca451e171c8a3966d029df19aa95f84131e5b11ffd69b742dc93d5f49495f4a5bbcb0557e368cc82eff32c7b2f74ef549ca940a90b
+DIST firefox-128.4.0esr-el.xpi 747326 BLAKE2B 
10900e33d4bbc2f9e761fdd752b253a6d6b3bc747fa1bd1d6c9ce768040277f7f0fa19587ade8e5fd0c32c42a57b43b542c0852475486aeb4f06c9967c867db6
 SHA512 
a0f11744c77f9eee3d4da9964d39d6091709154c60d8003629da9a5800b23bd1cfb672c662b1816deb93a41690c066c8d186a4b0a22c1325d6738e045503a4d2
+DIST firefox-128.4.0esr-en-CA.xpi 592733 BLAKE2B 
5be0755e299c27d5d1e8129421aa0af48cb7a80e8be22836a45cf6bd40401e418f098213e427d5597f93b61418e48169f836d4834acf46aa0f6cc10d07b1bf80
 SHA512 
125122c3b4f5e19063c74da77c754590b3aba3d60b9743fe6d684f142f602041dc079af69e11ddf617a7c2018180c784c2802429eee519bbab0093672c82d42f
+DIST firefox-128.4.0esr-en-GB.xpi 596284 BLAKE2B 
fe406f6ef56adf83af63274af39fa7fec7442087d940509cf21eb20497da16b8604102407b239754203912568e4f7a68b6e78d31840493a90af39630b37ecbcf
 SHA512 
2422f5c2feceb7892384d6e1db6e6ea8682436fab9752287e801ca58b1526468edb680259da3eb4c8eef1c62acd9de6545f5224d2f0f3231ae6f94da5382aaba
+DIST firefox-128.4.0esr-eo.xpi 624385 BLAKE2B 
3be740162662a63f1a233509563665072bad3742bc25fd66b1f9f068a791e2c92623de068de20f9201636e6916dbc16b3089aea59a49dbcc1e1e32e3e4b9d4da
 SHA512 
13742a87cbfe68d56987ccd7e1975c8e39b6d84756f18077eedd51526d28d4c218377522cd7baf70dceaf11258aca055a41e3f9668f4cd06dcca472c4557562f
+DIST firefox-128.4.0esr-es-AR.xpi 639976 BLAKE2B 
2327f5552ae72f3ef808d61e809701615e23dd73e9c4607eb20e793dc081689e7587ccd87d6e864f29300de4071f2137bc5563aa826a93fb52229197ce454977
 SHA512 
f4e808713b97a1ec62f0255e3af4b649410ed6c95eebe12bd42332bed3b47ed2ce6798ffd63abcd730e26147917e6a9e54a76b9f4b9e05f8a9ba62b4b3bdfffe
+DIST firefox-128.4.0esr-es-CL.xpi 639393 BLAKE2B 
e46c62fab8af3bc60f2f6fa2b70c8ee7be6704c29562c53785f7195050a06bd35e45089da8a1c1057dcad465532df95385e5e5382368527cd6cda167b7b48f43
 SHA512 
ff6bb7e202915ed072c7a8afd113906dec7d799e5b17dfb55f92216c613d6262e493d302192ec8bc9d6252fb56733079e5c64fa728ae79356a862d8b2e774333
+DIST firefox-128.4.0esr-es-ES.xpi 633924 BLAKE2B 
4d01df95b0308b782390276546539dbba8c91a0998e26ba4efe28540ef6333716309b78438dd02a8d73a9b7e3fe51957dae0bb264aa731e81d47e279152ed5cc
 SHA512 
23f85f50cc4bf73aec68ccc12a553441a070c40cb055861aa83cf949d213e3825a9e9eaabf78968f54bc6dd4f585638d053f83250f629aa2ebf45d0ffd56bf8e
+DIST firefox-128.4.0esr-es-MX.xpi 635876 BLAKE2B 
1adb0d550d935f4253e8ff5f5582cf524cace65653c9037f0bb5a1ff051a900556f7af07edbd2ba41a3370ca37a12f30a2def316abc93bcdf4dd6a62a3b7cfb8
 SHA512 
be0c03e9f8d8abe0668a4b9d117cddebf6869042a330519b3fd1df20e1dfddf705f06f08f79ef9c2cfc3c82250726fe468caf3627b50c9c7d7224f63483283eb
+DIST firefox-128.4.0esr-et.xpi 540770 BLAKE2B 
4335f969b03efa5ca17fe212f3c6a49fb51b0b9035d42e912f9faaf60dea64dfcf52872dcc9f5195759c06c062df341bd592e5fc758da714c1caf6107261f1ec
 SHA512 
5170155894e45d5fc9de12ae659de5f3374825a718acc7a79329a4c4f71e3383a98b7c7897fcdce6d239d646e5a5bada3cf6113adf8ddddd57845e09ac622f9e
+DIST firefox-128.4.0esr-eu.xpi 604161 BLAKE2B 
6e7f49f1f7058edd20917a59afcf2416d8819ad8333128df27b8c910caa483ce07d1ec88ef5a0fed19d6d8f0c1f1a72f295111f5efa7907ae75bfba134864bc8
 SHA512 
8ae87158be09e744ee0bd034fe18811da83953ea9271c8e83031576433f50902bd7325799a20e8a1a2aff62fa319b7d7164b218830b98d18076ba8b32a196492
+DIST firefox-128.4.0esr-fa.xpi 592293 BLAKE2B 
d56f27763297e385086062c7fbeb7f085c92f68ce85a5e21e27dc3aab9655adac286bec8b95c02b20c590746fd553ebf201202aadc4ddd7f050cb747a43243a5
 SHA512 
69ef731e3caae1c71a17dbb50932b2d51fe7b01b107c2f072d86c605b856a59ab77e496de21e01d4ba695b68a34661ac30bebe713405003d39fcd3507c45a019
+DIST firefox-128.4.0esr-ff.xpi 477126 BLAKE2B 
6e112da796cec6bd60ab505efb8dbabd50e136727467db5d96df1318061872a6ff9ffb44e9df1460b253e5aafc73e50a8b807ddaeec6017d88a0b8be192e72de
 SHA512 
9e246388f71a68f960b41a6921a1c005d27ff483afb044f202c7a1dc2bcd1fa7680347bc5bd52e1191dc28db41942b52d060f83e7a42bca99f5b71a25609de7a
+DIST firefox-128.4.0esr-fi.xpi 619039 BLAKE2B 
8c95c1cf14ac9a4b1357df28636b9f0053b0e63aa5c4dc5dd020e506f96ef5cc94f44bd00f99bc0395472e98b79c97d40f1c561bea7c2dc195d75472937316ae
 SHA512 
6120e8a60aabcc98d55ed427b9365918f99899ba2c561c330b97b37e73a485834683564c806d62e6b86d2c3a81e51fd01d5b765f6b44bb8df8020ea51515e616
+DIST firefox-128.4.0esr-fr.xpi 653420 BLAKE2B 
ca1a634768d58935c497cd524ebc9308359abbc189c85d38486d0b6171bded0b71fb1e0822b1a0eb0d45f8eff2ed978ee61aa42f94dea349f072cc80693bf4df
 SHA512 
de21175ec101551a3f9b5416f2b89adc995f03c3a030b48c417006197f1f1620e49e231e49867e18c304653860468a8404ac4a0f71b39175d9fb14f1565a3fc0
+DIST firefox-128.4.0esr-fur.xpi 642531 BLAKE2B 
f6b98e52d7aa71eddea4c2e8cab5310e4156f92e3395dc02bccbb9a7c9fcd809185e6c58f00c2cecc000ec336e67c4d7639565e59151b3f8abd7a3addf77bc7a
 SHA512 
c6a101653359325e811b33be01b2fb10afe0cfc5c790b1104e00913ada57f615edcdae81b1549110358dc3c85b4946287e334e75181fa3c9e458e9e14c320f56
+DIST firefox-128.4.0esr-fy-NL.xpi 635607 BLAKE2B 
0770fae5b46c56125fd392514e5a441b4105027fb962166f39574313229e57c8b31732e4f00abd4d465367ec1d586c2eb87303f1588e8b7a1f6c4e68a1e4358f
 SHA512 
9432cadc2a4f83fbeb9b2483ef1d5cc1d9576aa9a884946bfa3b3d56332888b7ea9ff9f6910aa075996e2402bf6b33d464dd65ba5c3c4f151595cc65fc60a7b3
+DIST firefox-128.4.0esr-ga-IE.xpi 471981 BLAKE2B 
15d1331ac02f20b0bdcf8bdb1e2edc52b3b871df93a16750ea2289210db54b0fc0c7ec61d2f6b340f9e0d84129627f85d906caa1fe356a233a0164d6d93cc625
 SHA512 
5a69aaa875b768a8da70207e87e35fcf0780ae869253679e91a0b40ff7556502fbeada7d66403453d4f944a949413f0c114f39481a197750afbb819132202b3b
+DIST firefox-128.4.0esr-gd.xpi 597920 BLAKE2B 
15b0c0db33fac2d014cc24fffb8428bf933c6b88acc41d8988b7ff1dd6a5e38f1b5d798351c5d3e23f7dbe74ec6d3a0782b776a78092deaa83920c6d0ac9dd6a
 SHA512 
9be3c9c90fe2045efc1e400019e5702fce9a3324ef2bca0894b4dcc424a0237681f6a0a3c01c6cd052be51eee0685c40dffe913c10ab2874899f6aff4403563c
+DIST firefox-128.4.0esr-gl.xpi 609264 BLAKE2B 
0cc374323a9ad0de4c31ee7f0111af8c0318d7789c576cd4499c4a869d3bdd0b9e98996b4f1d768f69dfe82f21e80e487264c5ca1996b1ae9da3aa88bbff6e40
 SHA512 
022f1f6010aa81d14ed5456ada7f1a74074473e7d796ac7cf5adbb6b2629643817f379c001180e9d2427e542939781739f97ef14c4d2b90852de88f56477a717
+DIST firefox-128.4.0esr-gn.xpi 648558 BLAKE2B 
7d00cf8927bf45ebf1a374d963c72ce4433fe1ba8142dc0ecb17d3116d95d9b9271180bc142345950118e364126452327dd61b0da9953068de882bfe3494ee99
 SHA512 
d1cfc68462f461e650848c97dbe1d95cb5f6f044f6280cb3ef7eb7dc3ad17524929c66558aeacc3859954940e44caa1f0b166824aa00829b038b954b190a0dc5
+DIST firefox-128.4.0esr-gu-IN.xpi 528426 BLAKE2B 
031de822f6bb918025e1c37db882b07d9f30161bb2d1ae8f13e7c539c41e3f94f1003e6f36d12d0c9cf03d592abc1134340841bc61df68a9e7cccd6440458334
 SHA512 
54752991b1a70eacedd619704945208d2de9604e781c94308435f6012e46eab483606cc7a154724f94241642ab82f33e9c5f87ee20b7512618e4230a2a2c0322
+DIST firefox-128.4.0esr-he.xpi 642015 BLAKE2B 
ced8b76618be4ded8932b8b4da7d7bf3cf19edaf37d24b6f3ef4f2be5fb2d775c1b0a5a504de306feae4fd3f398ac233b4f05c094927ab5e3f84efcf71732ee3
 SHA512 
41168719bb1c18d16d0026d2d35569062fe08dda4774a31e3ca28d60d17c9efd15b9fed57e98be05b8d4a8cdfea221acfa7392932fe88add36c9e639e1720573
+DIST firefox-128.4.0esr-hi-IN.xpi 567985 BLAKE2B 
5ccd308ab922ecfbfb61426f5ef524e0090643d03a834aa20f06c8b479111acdf3176f5f787a2c9fe0f667f61bd7a2e38a6c7d73aaf0e38a996bce5914bc53ae
 SHA512 
5b98551f9015272251aba83e680a795d3b15db567f76d42e55f50a88b8c6b58f36db0872b679d9221eba4636049c39358d75471a2a93ca6ffb3bad2ae27e484f
+DIST firefox-128.4.0esr-hr.xpi 618788 BLAKE2B 
558425ea8fcf414e0cd6494da8694f5b566c6a93644b4bc5fc682629849d8ee4fc9e26ab2298c848fcc47c74c8752e62df42d79dd42b6983203d776dc4a0e920
 SHA512 
280f879b148ba024721746399a9bb5a907fe706c7ce2e367ab3f91665a0a2c151d5c72cb1a9fa8b432cdda7a4f951074aa57e005087e9965e6419db0c7d03db6
+DIST firefox-128.4.0esr-hsb.xpi 659314 BLAKE2B 
a3a562681a7b6d7f3a0e182b4f84a761964196e2c43daaccda00f69e20ff39940d2f4f35d6b4033987e3d5863161041c130f27bb47e58a3c4d899200d54b52ab
 SHA512 
31a543ba230b69ef2a968b370a5ea6cf20db14672c463e62fe76ab4615441968fdc7b93bfbfbe9c9e47092116f38eb9a3e82fcccfc7e4db056d17a38ae0916ee
+DIST firefox-128.4.0esr-hu.xpi 663653 BLAKE2B 
8d8204575ea12daeb4841b945c002c11c07bc8057cc8287fc10b35208d8c1aef705540a8385fa37f0b4885c62c3ebc63029aa8138e64073c75642dc2b3905f57
 SHA512 
147c6af23bce37f0133104702eafb0457e462ffa361180c6c8789b64990049248256747c11159e34c647aba153fa578ea526db8fff805c89399cf621ec772da8
+DIST firefox-128.4.0esr-hy-AM.xpi 652678 BLAKE2B 
7f57e5faaac1dbce5a338bc15b958ebf76d640a24dfe9554dbf793367eb2475ae40be63e4e13f7b905c2dd6e9dc13f816567f0937dcc0647d5bb173150225904
 SHA512 
23d258eeb81fa560d25f346878f3692ad2a5a73249c0ea5ab3f3d12b093915cd1ee2f5b43cb54686f470788363a38d65acc26a05da454d86461fc92b20fc1b27
+DIST firefox-128.4.0esr-ia.xpi 622472 BLAKE2B 
711e2d4c4e7f41e216c195f222aec2979a29e9aafdcc1064e8b8784b09fd8632d0a4d54a7dd605976e62e07c3e59de1eed80f367c6ccc67c59cf82ce21cd3af9
 SHA512 
a618a3ac4b995bb967136990ccfc05a0ad719ae1cc6cd679b24d64ded769026e9650a9f9b1763d2e439b943c5db118fd5a3f61b4d8bc0b3a6232116ea06fb05c
+DIST firefox-128.4.0esr-id.xpi 586192 BLAKE2B 
1ce2d9463c0d319b38cb931f2f62d3ffc2bfe0d2cf09c66c291637413440d20d56d7a45a050caf3d842bf3e27417ae7dd25b6d4c206dfb77ea576c6135ffbb77
 SHA512 
b7885ea204d6d4d270f6367845900288437a4ad6ddf857ca96cf3c55e9347e5997caa2b5ab940ceaad4c1bee92cc43659a2ecb2d6d09446586d976731d76232a
+DIST firefox-128.4.0esr-is.xpi 625613 BLAKE2B 
a844e27bae3a873eab85a3f5fbbdadeb61ebc65fb13c909109594b68737dd18c63a82972bac3ea00151f18b786c728d754da8a41f4d2a0fa6246306d43d553f0
 SHA512 
7d369ae33848ebe9bec4ed2fce06e49613079fa7fc36f37c6bcbb76de58d3a986c040052e0110d870e67f82b95df74392e836d6e9a965fc26a9fdc46df96309e
+DIST firefox-128.4.0esr-it.xpi 579345 BLAKE2B 
0f58c8531ae61bc2c2f404151192c108e9456e1ae60b5f9b91740e953b9afc96891f118b5d0a178657aab3c31e2ed9ebe78ac434105271eee38620c4bfba9b41
 SHA512 
5378605bb0a9203bff46ce27a58fba45ee7015d60561d472ede2ee32ec0bcfff40ab249f284c730298242d05ea3090d8f1f7216816eeb77a1451e45d90722a1e
+DIST firefox-128.4.0esr-ja.xpi 688886 BLAKE2B 
be678a6a6587449826630b9f5f0f1d1043e6b37bf5ef84c1691fac4d876a2b28705876b336b460efb7caf5fab8fcdb7c98ad4002e29a072320836909481b74c7
 SHA512 
b44c6c7874f08bd3a25c797b8aaebc0e3f7c2ff7287b02d72dc59a6a127a2f76ad3dbf14847f1a702731a5b948b47192bca429d1ef91b545cfe1ae84b190665f
+DIST firefox-128.4.0esr-ka.xpi 661961 BLAKE2B 
a4ccbd5ae3d1bc8d14602f0020edd98d8ed8fa9c24b9173906f0cbd582669331634f07e34bc8604c16dd37e702cd2dbabadcce598389d1f15a8493ba1092234f
 SHA512 
57567380a6942d0f08c189345df11da94de205497d571fd1d3056772f790630c05a33dcabc7a03049c59682f8097da9db0e208790fab8779a5f35f52fc8f7943
+DIST firefox-128.4.0esr-kab.xpi 617515 BLAKE2B 
ef127681e3f57011fac0bff1614a1d53d16a0c5bf5c8bee5369a806387430aab8d1a91a31f4efde77c10c28bca2060eb545a17b6a6f3d075f9e6cb824c08bdba
 SHA512 
1f507ae8e47bf35f11f6eaa0ca1e320a071c2e9a13f94051b92e71800c6f4d500a7cea156232b72422cb0b3bf43d98f52a7db0de459a1117490661f74e306937
+DIST firefox-128.4.0esr-kk.xpi 721099 BLAKE2B 
1a38b82e0529292cb2194c1854219a08e7c4a8f85dc3f81deaf30a2df2484775c305ee734094227ce51802284df4eb9eeee854d1be4098e0bd55425b618b17a6
 SHA512 
2869c872161a66a3cdb3746878aa71d0818581476cd5a2d549166e2fe5a9c77d1cde8136ec4b461d4eb2da5a1b9c7524dd52d01281c54086bea8f74eed874522
+DIST firefox-128.4.0esr-km.xpi 526829 BLAKE2B 
e3d33fc987febcd5950b371bc8708ea80a1d447eb185c281008b6fbf5d215cd21aeef0094185ea0b523edfc8761671ece00b572590af05d74d44702325d44140
 SHA512 
2ee11e00621450f39d9c029b8233a1160a44bdb3986beb5b5f20db4a6edbbeef871fd90cb600efee84848a77be856f279dcd282de8107b5371efcb8bbd66e37e
+DIST firefox-128.4.0esr-kn.xpi 492184 BLAKE2B 
e7f115ebb1db0c4f10aad00dabd0fa8923ac378a63fcfea461df1b244f539528a1620a3d38eb213129f2184054d8779b759cf7e3e389e25282bd955b9b7cb1fd
 SHA512 
6eae1502e0df057d7041597a9eec9472afb783be27ded5ef1b6523ab12f246624cb79511b174c310d989b887fd2075b7c3dcd0612ed2b1a14dc5b6ed5ed751aa
+DIST firefox-128.4.0esr-ko.xpi 674093 BLAKE2B 
2276973801ed77b39b948d141b43029c70a1ded6022f6b8c17ef06ca870dd7a07067ef018413f99fc7842b5ad3fad5941d54163f598c6c0f73782b65300db9b3
 SHA512 
3280d83423d5f41824d01fc7ece211eb20516e5eb00f28bc0616b48dafa619ceb6612800f4d6867c32e2f2c1f09be626116ca266a3bca7a709b6261687fdd316
+DIST firefox-128.4.0esr-lij.xpi 485187 BLAKE2B 
027789ca6b662f526639e9cd8825fdde649f360e9e732e5af3b6e13331c31bc642e3926125b1f2fc6cba1b69ff5246cef5f53bfc840b95bb0156428b553f9609
 SHA512 
1d375380e8ed66761f1ddb0c6fc43e626eeb66260d3b5f3ceb4b90b0bd9a5cade0169ad46ac16416ecf72c8e56f8c250ed5d063bca795634e30b8592a6ca8eba
+DIST firefox-128.4.0esr-lt.xpi 573761 BLAKE2B 
ad2d59535355581a6feb199fef374c7576acc86da3d5087222475a88d05999c46f607e8dce246bec00a78d8a267414252766b2ad37fbc8ca900ae1256512d9d0
 SHA512 
ce1f48fc4b1273194f12a7700e8f2ecc1f034995a5493598817a03b5e22164e908923cafc3d7db83bc224b131a06a9d8ad2fe1a672c11dd437dfe1ab9b2854b1
+DIST firefox-128.4.0esr-lv.xpi 586847 BLAKE2B 
3bcd0bb3c2b0c2bd1f19f0c2f4b1a8828eaf4b336908f0f9adb244cf72e1c1661aa29383ffa9767dd72292ed0b98b282306346446851e141bf954df9a1c73b65
 SHA512 
0a5531d8a4b1743f85abde7c4915548bdc9428247392a18131a31c97085be27148a8fd769a6729ecc4db8f381ab0a828f1486d9c14c01759ffaa803e141d1b48
+DIST firefox-128.4.0esr-mk.xpi 494810 BLAKE2B 
776f401b93933f0981274259e5e4af3b0c443465fa2d6118b757c6271d71bf493238cd416f7c3e4fe2d2e965b47ae4b9b45a8e17f14be23b4bebd11ea4e3ab9c
 SHA512 
060ed564c8c371520ca61eca27fc2decf687f15df7f74b23126d7780dc921609dfa98d390216f49a47eae1c1d539810fad0b62792b9059ada9699e7b445a4862
+DIST firefox-128.4.0esr-mr.xpi 533190 BLAKE2B 
9ebaebb11b032898bb7560df21b0e70d5dd18db461c1cd2a03ba261005540fbd56b36725c7b8ebb51e20693b09afc4ef21cd685fdaced81af8ce5d0505de1103
 SHA512 
aafd961a48c8f4892aea6c5d830fa870b951ca21984d35a2ea9c8e7a8beb1336a0c379f22618aa4a05f0a87eb516b4dc99b50e5e4e603eb738a6e56b47ed9302
+DIST firefox-128.4.0esr-ms.xpi 450802 BLAKE2B 
9d231cf2e5331bed5fdb4914ed17c9caa5bfca927c0651b59b295e1ce06f69e6c1ed70620f93ec1271c7b458c1a41b3e2d2963607faa2189e55bd79ea6db050c
 SHA512 
2e39ecceb186f624a33e5246093b75e9d4b6320ee44c16b5446230418348d71ae8583df7ca7e96c11909619d013cb1102c15dc41d097b14ddefe0220eab99b62
+DIST firefox-128.4.0esr-my.xpi 519557 BLAKE2B 
cbfcd93ccfb60be9f7961ae363407dc3bad104637d544c388a35a9c57bf5589933322710c370884d19405639ebdff9956b237c47e8e9d34372e6f9dd6020b3f4
 SHA512 
b3912540697caf23eab729f568cc1b314ba1ce3312d66601ca8a3c734d3046d4299a9e8087cd986f2136b3128623ddd8d5a9eaf7205efc2882fad9c20ed3f7b3
+DIST firefox-128.4.0esr-nb-NO.xpi 616759 BLAKE2B 
6d7b5474df678bb10467a1fd5a1cc4ca24625df02917b334c9f62594b7d0a02f27d7d35d9521d5aece8ba97ac500693ae2ec89cf97b639b99f635b018d156aa5
 SHA512 
0dd00fab1b387bee87f29bde5d983eea5d1f1ad6cb3c0b826a8f5b606540641715bc8274ef7da7c14a56ef7094b67c94695d47be9b18bcdcd7b80590590f3c04
+DIST firefox-128.4.0esr-ne-NP.xpi 521810 BLAKE2B 
c7550a667fd8e2e145c7273504cd50f6d14f8a7f2c5afde96639e95440a63281de9e9f13d77621551166d9339defbbef66aa7a59012572712a9c8a985de6e4a7
 SHA512 
6f199eb2fdeea39e4c630390a98afa106bdbf3bcb66101daea75a3821cb2bd9a2cae208892586bd21090b8ac501af4532b77f17d43549803779b076b224fe1f6
+DIST firefox-128.4.0esr-nl.xpi 629316 BLAKE2B 
e86469b815ddb91e87caef4594e317a61ce7b70def186fea1a34d3ef69f1f44c81f8b3884697076a8c746effd737a40b483d9300a976b82510a5ada31c971e32
 SHA512 
edda0f63315ae910e659cc0ca26c540c50ec8593ee638778d8022b41342e07d5bf96730a6045a40689591d07b3f59b2e68a26148561b05e55f34a029a71fc91b
+DIST firefox-128.4.0esr-nn-NO.xpi 620846 BLAKE2B 
de50062b870d8b5ddc7899985ebf4f95dbed9a444cfb5b43f1428f759317d751e885d5e2d26124beac7324510fe61faf7faecca48be9f197565515a205d64dc9
 SHA512 
923c12f76463f921c6cc91c65751bc6f1e3758bbaf763f708ed9841a27e397a3ee5646181566ebb04e173456d761bb95dc79fee124222ae9e170bec16d413643
+DIST firefox-128.4.0esr-oc.xpi 615227 BLAKE2B 
5dfdee9ef4f278f230e768baabc34d858071b1974c1a79362fc657900fb711cdde7806b580b04128c5365b187358f4e8183a24482ea1fb939465814631cf3177
 SHA512 
f4312844b71d5510c960d2b17c77b746de3f6b483d693f59a013bad2a039a2caac0aa05eea870ee3ac6f2a62e48bf24b54ab4b6e65c11109bc8f85c8bf930595
+DIST firefox-128.4.0esr-pa-IN.xpi 704629 BLAKE2B 
769ab7ae385e19e2714a0a98ba762dc7f2c7f1353a76c5bd035d08873922296a561f899daf0dab125e06d9342a43dae5e7e997c13da53811e9228adfd32aa26e
 SHA512 
86ef822f2f2122437c6c5fbea9ff1684d75535427ea3f775e25def0358cf194777256e3e79a481ab343fcf080eef784591d894c8a0fdc7c6e4c0ed611b9a135d
+DIST firefox-128.4.0esr-pl.xpi 645225 BLAKE2B 
d7928c22d27d1f8c45924a2e892c53a7aea85b121cc46d111d059182ec7bbc9b216975612f7b1023676360e301768b56c3ca996c883c64c9a3682a3304aba4bb
 SHA512 
bc733fb0ed6fe63a105b65f4ee163bc6120fbd6d418ae90f794b80d8efb12e77ce6d8e9ad9cbdcf603ef6197c27ec665796e76bb16f344aa37e2c59e0b6f30cb
+DIST firefox-128.4.0esr-pt-BR.xpi 633980 BLAKE2B 
db802d7b8b7824f59092ca317af0da957bbb385faad971f038c6be40ec08e6da2dd6447991a2281fb6fc565c7806e0f348f530321a1b9fb02e117655cdd28cb0
 SHA512 
ed4f525f3c82583477a44f61276a34abf3e2f5034ddd9babafa7b172b506e5bf77154e6b7b7332d566fd979b66d8aebe28dfe76b3a2ad38326118415e1200051
+DIST firefox-128.4.0esr-pt-PT.xpi 640664 BLAKE2B 
ff745bab368f79316e2312cb293e9bdeda3e2d0bf658e2e570169cd06f6192a522cad7116b782b16884eaa55104ed43f8fa137c4b7609d9a980a44dfe1ec170e
 SHA512 
5828533b95c3a3a7e2332bc6eb13fc59764536e55c5cbcff47c212e434b0cc55e8e7334c719641686f22f04737fbef93a1c76a4e99c402f24dc96cd0b9179d4c
+DIST firefox-128.4.0esr-rm.xpi 630455 BLAKE2B 
a701d8f2de45e063a7eed75a765f8cbbc507e2013a5844ea59384830b31d8776ab2303d6714b0790a6996ae13e232c4f60fb43dc4518f69a47af7d0b061db582
 SHA512 
9debce809766aa12aa514dd58258bd8f2d9845c332d68dccaf7e17ae27a0b0a589c821bb751e01cef7a17ac165293558ac1b0ed631ec5a4e5abe7ad66c9ff64a
+DIST firefox-128.4.0esr-ro.xpi 550869 BLAKE2B 
1392eb00fadccfaec9fad6c9bb9bac3e430de6f6147c42a1092b83e240bd4c5e13ebe6567effd215e70ec11518b3f6f635dc76174c56c162dfdfe6fbc8a31919
 SHA512 
6d1c0fc1d676a0b07539a8e9e34299eb942f7b2e6643f3ac4bbd93271ef500a562e37a1d7016a97248e250ea3269aebcc6f6f670b532fcebb8f045ae959a93ff
+DIST firefox-128.4.0esr-ru.xpi 734436 BLAKE2B 
eff9d1ed80eecc6578532747a99468cc174bd04bbe95637bb30108e7cab21dfc17a91c178f4c2ad6d967e2a9281584bfdc78bfa28ddbc61afead20adc6f72776
 SHA512 
ede052a4b5be12c2dc59442ccf16a0ce451b253b895c4afaac423ec7cc5e5c15b36ab97d48a24be5c8a7d46f39b6106e1a84bae659a91625ebdc273989ea7376
+DIST firefox-128.4.0esr-sc.xpi 590842 BLAKE2B 
ba73b0b935c95d219ceee6ca0c7d9b96a0c53ead735baa04ba9010a0047a656204651ee88ab6da5e749ebb81038d9f6625a6699e179dbd257677d13af0604c89
 SHA512 
10154002bb75e2cda340929a2abb300f037459053e1800b08fd480e6c1ecd28a56d2a63e83d5bba4d4bb11cb61e7165722617a9a08c7e44027d7aa487d9d8523
+DIST firefox-128.4.0esr-sco.xpi 512357 BLAKE2B 
a80088abfc03dfe77d8db3f7d125669a5d65ee27ddadbf026b3664770578338d21083b9d72bd05771ae2d6a801da2343180462cf9c25a3840d12b62228abbc16
 SHA512 
1a9406a722fcc510bdf611349d4255710842cc6cc79055fef3eccbbf2e88308b45e5c552d33267223ff5ae776cc980fb640a54755bc8ed01dcb034cd05c5a49c
+DIST firefox-128.4.0esr-si.xpi 617122 BLAKE2B 
a1d2292f7859eb623ba313d36d9d2215a30b93befbc745dab525a74c8c2c13e3fac0eda0e6b1277515caf69daf4ec896f6dfd33617b257b69982ba76281813f7
 SHA512 
30f63622b6ddc9745d725e2b1bda772b7fd14a44de6f3df78ebf677949673d982062729ca8097f81598854bea0e6bceca5a3e8723ae93c963c9c7cfa9e8caed2
+DIST firefox-128.4.0esr-sk.xpi 665061 BLAKE2B 
0473cd3fd1921130b4001b3c8a2929cd33e013c4dd7d7ca24cf710a0c071662e1b74d0d44a23faa118034acd5e5cd1895b751c160aaffcddc2274ab275e6b152
 SHA512 
d6a3174e932d5c7df7727e61fc35640a0db7be87ed3cc4a795227eab2ac73596faeb4f616d27e8cb36601a983fef1b7769d908cc0bc23720c731a1a2c5723ce3
+DIST firefox-128.4.0esr-skr.xpi 722293 BLAKE2B 
f74c0e533156a8fa8ee324bc440aa44950cec317fefcf647c1b3a92fff0733bbb1dc82b3171954cb257a1f1510c8c24232eeffb47357328407ec83aa95ddd7ca
 SHA512 
1b700af5ce5e00427d0b37636d9fbcb409e06ea45862d9a85ec5f400d522abe039f5ac0667b9e210b7676b9d2dcbc6cdeb582796a6e0142d0716b4e4d62e0534
+DIST firefox-128.4.0esr-sl.xpi 633029 BLAKE2B 
1c68940e31213048d50bfa9516f9124511c7f0075ab70ea0ffc8acd03b1cd4931b9d2bcd7623f2089c22e71f44992da9c30578b4ca53736b0abc28d54cb0300b
 SHA512 
320e16f11c99788d677145e4404e914105bee3dfc2a1d2e15956d56ae29170ef84ce8abb23a602d6682cbdf677592125c3471c6ca952f75208059f41104100cc
+DIST firefox-128.4.0esr-son.xpi 417361 BLAKE2B 
b53e962fbc2cdc9ae58faadf7293cff91ee1c0c8db3eea73f057a62a56e077028698661727e0fdae26ca45dc881df86b3d627094bae9ac30127f770e1c7f767a
 SHA512 
dd17f9b4b69c14ec9970d3edc698c1bf72740696e3f86cbdc19808be997d846b1832dc4fa77000c792221ff5c23d1d0f2764a340442fbd06151fe7ca9d7a1dfd
+DIST firefox-128.4.0esr-sq.xpi 649016 BLAKE2B 
d7c0330c72ba0b61f557e502c40861498114cf1649c8aefed2e4dfbb7e68bac280c2d571b769a060fc080d0a399463115ad94e189918f9940ff1afa0b299b49d
 SHA512 
f2477edcf47f97939d8f1facffea373ff6cc83505f8f427e722a06d40e57ec7f080ac6d6a1cebee37b4bf97e12013d26c236bd1b355414932dc5d9cb1d7634df
+DIST firefox-128.4.0esr-sr.xpi 640559 BLAKE2B 
55fcb6488729154744b026d1722d774f95b02c150dc49afd343ba59b23f703ee7b69f3db458cdc048ca069e1ad002858054b5b7ccc8063c2117b1f4bf0825fcb
 SHA512 
4ed8bdef11113ef8d5ee595f5ba9623ff615a2122f1ae242899f09a8cbd31203aa562da11cbb1a97e875f19903079b7733b39cea76fce624c2d001416e34302c
+DIST firefox-128.4.0esr-sv-SE.xpi 630785 BLAKE2B 
91b86f7fb81c201a0f51673e64fe9bafe2cf66d0cb10d30a8fd188c5a47174e54db4baadd67c6c84d489fbccec6535b66a05c25d8d6550844a2bc948bc0bfb5c
 SHA512 
b75036390bb4e5f7dd9053a34562a67df7fbc6fa72ee383ae64f2344050e426f7f353df2fb7171b94c3c143cf56cbaf3c447e397ca48713fdabc693dce786fc6
+DIST firefox-128.4.0esr-szl.xpi 527478 BLAKE2B 
c6325a38f346efb0ce9366c658551dbebfdd79b8b0593bc65653445042251426ea0fe4a196587e5fffe4e060a1ceb3285cedc2471241f6b49a8df642bc8389f5
 SHA512 
8ad091212592318c5c47db2bc1ed5878ff06591c396be0dcab8304a533130436e4ad83caf74c8e1050911f640e871712b0b645548f3c5555627536f141af8dd6
+DIST firefox-128.4.0esr-ta.xpi 508471 BLAKE2B 
c90749473054d20349f652375b67e3cba23a810ed8c297d97934829a28ad7ccf64e75fd43ca7971918ed9abd19092ccd8591858585ece087087ad5afc9b867c5
 SHA512 
905e205d74c21f20e14f31269cbae685072cb6cd224abd98e4f9728321668a29dcdd4c4245cd534eaa0fa056ac77c4b1f0f68ea163d252909970255b45034fca
+DIST firefox-128.4.0esr-te.xpi 564812 BLAKE2B 
92567291af5d2854b60d77e78e7684ccdf70c66d4b4fec8928c5a1453f0acedc7bce17e0f9c1cf6618d243d816806d7d2975ab60f3f43455a6480198a01349bd
 SHA512 
77c95852697fd21ad7b151fd6977a00a15d6f77390e5b9a5b24b127a091e2b72cedfd32c737a8cc8e03bb8bf044c598fd9ebe9d6b3313baad2ef789d793dac2d
+DIST firefox-128.4.0esr-th.xpi 707058 BLAKE2B 
4ade4fc3fceed3ee5d0435bccaef1b3f29d18f06df5b6edf4a4ed56cbfa9d168452337f52784e9844bb6e3acf0fc847a16c61b989048138aa69a349c095ee242
 SHA512 
76cb05a363deb9ead097d31ed4bc2acadc0a05839a296544668bcb3e9f442e68c0f1c952a985b4f969fd375f58cd6a1ad8a201347a0900c554955bf504ae7943
+DIST firefox-128.4.0esr-tl.xpi 535266 BLAKE2B 
1018e33d9c662e8e9abc6d989a736e8e9e30a9cec0d9f5fbc4a0af83d590e14a6a0b56b9a482fee05b31bbf862e1a48d5c83c184b7a1105da8efc95e52aca7fc
 SHA512 
94e8b543732a3f3eedc4a284f0eafbe32a8556f03004d3d974c2fdfee934c1803c07ffe2b2c7b1c03f5f08d0f89c31abfb322d52873fc9c0332d269c91fed811
+DIST firefox-128.4.0esr-tr.xpi 643884 BLAKE2B 
a862bac98de27dc4b83eff2fc1cc8607fc9ce198d3793679a77655a6e2cc6e6086888a401977e1fb3f74d999b75b04a572dc17468f5d23e970c459e651487e7e
 SHA512 
734d3f8f7aaf8d8db11b076d0711227e9b46610ac38874b18d6b968a4b05fd600300c38abf6631f4302a9a1ed4753bcaca37743fa3ff660653b77f32571670be
+DIST firefox-128.4.0esr-trs.xpi 505444 BLAKE2B 
991de990432ee554c7ab4d5496e82e182fc13dabed4c608543603477d481070d77bff20a5d9d505db6416a5f15c938615e13ec0076e8d9655d6d6803b5c41884
 SHA512 
a18bfa1492e0e59d9200e212471b2af5f5e003ed4943ad77a4494fc991940711a102b7c3992dd70b51d341cd87e0c77e3e5cb2510eb8780d142be414730f3a49
+DIST firefox-128.4.0esr-uk.xpi 725326 BLAKE2B 
2e31a5108e5fd2fa33b35b9737305cf748d469bb60f29bac41011d5104e620cafa153c03f28e7f106ce2692f1e3bc712d27fa9a73e8887cdff4fe6b6d7cfdab9
 SHA512 
157f07f2c4c02faa8b677394d5c6f097684beb7a6f97fc2d6d0e502c9aad9794ada115f18fd61a818ec8b82e4f6329b8d6a175a16eafe37bab6f18d3fc8f59b9
+DIST firefox-128.4.0esr-ur.xpi 561425 BLAKE2B 
525f6082e54eeb14c268992fe8384bfe9bcd26debab2d9a1cc7b7271d0bd1c78ede3eab2f4a9424eaab656f0dd044ee6d64efdb48550f1b59e046925a3b853d5
 SHA512 
8a9732952b1a87cf131b89eea43d9f7b878a83d19b295b31bdaf286155fd4cbf1c4ff6b3b892a955db6cfe1f0b95b3dc0c0ccf6e09a7f26f2be06ec63b1bf4f1
+DIST firefox-128.4.0esr-uz.xpi 479858 BLAKE2B 
8a080228a360f35b04228a463d7a4f66baf207ec9043b0587f74c974454c1f015138857266df53b5878f0eab1b2799302555ddafa553ba3bb772aef1679c72cd
 SHA512 
596b31afd8caab1ce4c2f7370ca058e1f17a3f2f0dc7ca8f2e7e3f08800e451b3f067ec85adbedb94d9346afaa20200e216622dc0245aea786da05134daa8468
+DIST firefox-128.4.0esr-vi.xpi 667522 BLAKE2B 
14b688aa8bac1a37ed67ba02d261c749c0ed529f09baf60e1dd5014919c5196c9792c791aee86c9a2d0de038ee8b839c7073616fb97ded9119372b5bebbd3133
 SHA512 
990b128825e37801174b5c6df99006f8796427fea09c6b8043038c04aafbb18ea3c6286e7e427f8f24b825cddb42a10a0e44d76805b110d99240007e4b68fb7f
+DIST firefox-128.4.0esr-xh.xpi 418140 BLAKE2B 
cf8b826b22f7c9ac50c8d063b817aeace08730366ddf5cfa88db9a1f3039d9243935e3de48902d3c2e40acdf9cdcad5deca8ecf2ff8c79d793e8df5a1bd70b06
 SHA512 
fc1891f35559964b9d6933d7092979f38f15cf954222a4650f4794a76210dae87efd2c1a2b37e0dafd57bd102d00b5f1b02220ed7af226effcd02a82a12eb1b0
+DIST firefox-128.4.0esr-zh-CN.xpi 669752 BLAKE2B 
7271c99939f2adffed7730ecfa207579e6279bc7c19058e54cf7be7896e030a3942b3a1229f424e135630c832db36f6db11f7a92ee1fd743673ae9ac013cfc7b
 SHA512 
14404537fc9b3de89964432a475cf9b526be4023b3b9b29ce4d7c48646af564ea734df7ef4775e4fb52d8320cdbcb114e984d6f651b0c14e8f90040871390877
+DIST firefox-128.4.0esr-zh-TW.xpi 672066 BLAKE2B 
3e90953b69d12ad01f0a4aa7d48d1874e9a098363914fdbb0dcbf77a37af848fac65e9c99bd3ead6da34df827990eb6c8b25177a25daa66073e7022318a39e0d
 SHA512 
33a1d240a10fdf0be29b98065964a8e5ef6c698e9b2dfd5889979b8098fc12514671b7438600a4dce47ce48596e7447ee6def8900d23250b718b70483c1bbc55
+DIST firefox-128.4.0esr.source.tar.xz 558619512 BLAKE2B 
1f0528c8806bb034af623f2022740bb5056ea11817b9cb7154a60b87f04051ba5ae06b0daf55e6b03b7531c369deb871d3d3579a86f3ca19f3ab71ccb45243f9
 SHA512 
e720b1f993926d73f5a5727648f753176ac2fd093fb0b71393946bbc5919ce5fc7b88b82960bd1aa427b5663c7f659828dc6702485fc0c1e7a6961571c67faa3
 DIST firefox-128esr-patches-03.tar.xz 14156 BLAKE2B 
9a618f0ddb8596b740893dc9113f374d193a00e4e8e76dbb2794928ceaafc7b5309cb6f69f6287ae1e423f0be0a060580b0d9d59307c9889362dd17fb7d31d3d
 SHA512 
c6ec7233b368fac623ec0cce6f5c37d358a0fa5bb2154dc67eebb50968376ca9d46f3a734f5d79a4aa4edde9e300a9c65315d0e499aa6a1325b6c76a6c164258
+DIST firefox-128esr-patches-04.tar.xz 14416 BLAKE2B 
0ffe3fd568480e37fe28fe71d5304e51028dcb8cb2d5fc1d838d725bdd36971696d7152c37bd90f7802c75e696aef0b1b075d386a906b40635f25083a6a58239
 SHA512 
adbac956dc2d6c1c29fb6641a42096bfd033a662f69e177f8d75a928f46d30fbc811e8a9ca24de8c7eb675ee80f6c1187f1a13dbca8e75782abfd54e276f5854
 DIST firefox-131-patches-01.tar.xz 22188 BLAKE2B 
7044be5613a50625e54694cf88ed1ee96fd2c4e39dfeeb10b68858f67eaf5a05697e70f9940a015aaa66c172590b9815c801967be578bc48996e20f753a87929
 SHA512 
1bef1dd2a8fd9fa0723be40d7d38343fe00f4375c15b1c2bdbe04624d94d6b96357d22c353e6ce0fe53d857c74aeddef09668cb3ebf8d6dd7a77966ca920ede7
 DIST firefox-131.0.3-ach.xpi 468414 BLAKE2B 
fa22dd76d0786204d412d061b24d8285a526cdadde32ca4f3c1cde022a62a7412597c164048551561030807443b4b5fbbb2c9912b7f1933b1ecb9f5db21de7ed
 SHA512 
a82c639cdb892df8563998e671dfdb49a7be40f70d86805810d27acd5b5612d512834b3e5c42cfaf957c374cbcd34d683da062aa9e28cb9d4c1faf674553d6ce
 DIST firefox-131.0.3-af.xpi 421451 BLAKE2B 
802ac5526873fb14efdadf3c4d02f25b29dc04d2d78c8728f87aaeb75fe30cc6d389d4aafdc79b008fd6dd16d998be865daee34c3051f71f47977f90c6db72f3
 SHA512 
e23cf8b3f4480264de68b2e6d2e44241ff993865429d4aae01238e0410a2634505a285a8bc1612ce3cc4c24c34c71c77ceb2e6699fd3235b6ae9ebf3f7d5a54e

diff --git a/www-client/firefox/firefox-128.4.0.ebuild 
b/www-client/firefox/firefox-128.4.0.ebuild
new file mode 100644
index 000000000000..a827c42cf434
--- /dev/null
+++ b/www-client/firefox/firefox-128.4.0.ebuild
@@ -0,0 +1,1338 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FIREFOX_PATCHSET="firefox-128esr-patches-04.tar.xz"
+
+LLVM_COMPAT=( 17 18 19 )
+
+PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_REQ_USE="ncurses,sqlite,ssl"
+
+WANT_AUTOCONF="2.1"
+
+VIRTUALX_REQUIRED="manual"
+
+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.com/firefox 
https://www.mozilla.org/firefox/enterprise/";
+       SLOT="esr"
+else
+       HOMEPAGE="https://www.mozilla.com/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 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[@]}"
+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 +jumbo-build libproxy 
lto openh264 pgo"
+IUSE+=" pulseaudio selinux sndio +system-av1 +system-harfbuzz +system-icu 
+system-jpeg"
+IUSE+=" +system-libevent +system-libvpx system-png +system-webp +telemetry 
wayland wifi +X"
+
+# Firefox-only IUSE
+IUSE+=" +gmp-autoupdate gnome-shell"
+
+REQUIRED_USE="|| ( X wayland )
+       debug? ( !system-av1 )
+       pgo? ( lto )
+       wayland? ( dbus )
+       wifi? ( dbus )"
+
+FF_ONLY_DEPEND="!www-client/firefox:0
+       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-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-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= )
+       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 "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!" >&2
+                               einfo "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+=( 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 || 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"
+               elif use ppc64 ; then
+                       export RUST_TARGET="powerpc64le-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
+
+       # 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-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 ; 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
+       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-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
+
+       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
+
+       # LTO is handled via configure.
+       # -Werror=lto-type-mismatch -Werror=odr are going to fail with GCC,
+       # bmo#1516758, bgo#942288
+       filter-lto
+       filter-flags -Werror=lto-type-mismatch -Werror=odr
+
+       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-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 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
+
+       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 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
+
+       # 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"
+       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 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
+               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."
+
+               # 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