summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2024-03-23 19:01:20 +0200
committerJoonas Niilola <juippis@gentoo.org>2024-03-23 19:02:44 +0200
commitd8557d20e509d1492e659aea36f2c12bb9c0691a (patch)
treee42108bd9908bb2f2b9fe7549327e8d76000becf /www-client
parentprofiles: amd64/x32: Update qtwebengine-caused package.(use.)mask (diff)
downloadgentoo-d8557d20e509d1492e659aea36f2c12bb9c0691a.tar.gz
gentoo-d8557d20e509d1492e659aea36f2c12bb9c0691a.tar.bz2
gentoo-d8557d20e509d1492e659aea36f2c12bb9c0691a.zip
www-client/firefox: add 124.0.1
- since an upgrade to profile 23.0 breaks elf-hack=legacy, use elf-hack=relr even with gcc now. "-z,pack-relative-relocs" will be handled later, but it is enabled by the build system's elf-hack=relr already. Bug: https://bugs.gentoo.org/916405 Bug: https://bugs.gentoo.org/927559 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r--www-client/firefox/Manifest100
-rw-r--r--www-client/firefox/firefox-124.0.1.ebuild1421
2 files changed, 1521 insertions, 0 deletions
diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest
index 9aaee1dd4415..de0921df84b5 100644
--- a/www-client/firefox/Manifest
+++ b/www-client/firefox/Manifest
@@ -501,4 +501,104 @@ DIST firefox-124.0-vi.xpi 638586 BLAKE2B d6c14d61a6b30b00243db8fff2b347df8d69d7c
DIST firefox-124.0-xh.xpi 410996 BLAKE2B a9a34228f18f69bf92fd41a5fd7b58290acd4d3fba136473a46bbc0506838fe3465a6c9892d4bfeaf4795bf19629ac3532a1601951118bd1ba750acede3f6696 SHA512 3bf4b56ffdfe276f0b81cbbfb72c36acf56f2b8e6fd07303e31072ad51604c0028ab44f8de78b11a457d0cca2f64023e050746d55852a58df831817d6c5bf825
DIST firefox-124.0-zh-CN.xpi 640171 BLAKE2B e591116916865bedd246e472179404e051d1cf661eff4fdd54db7b5a4104c4244ed21443ccd863cbd64643afa99052e57bb604af2e0abb4f78212b37cf3bf65a SHA512 08e627006396fcfb1b71909b5ec46333ed6683d62d5925f056c191029d310a601bd6c227b7cfc62f9957d5fb4440ad61ad1b801730599f8822d3f4f2dada2157
DIST firefox-124.0-zh-TW.xpi 642129 BLAKE2B 31079c3fb147dce6137ef1bf1a173cb402ec49b0b2391ee1e64984eaea4706ab27b86d4595f42997f63dc12a6035b0ed48ce9e4d0616759041612e933fb3e6da SHA512 e6341c321087d82c11babbadb542bcc5fafa6e459e6378511970292bac8300b5dc71e3cc85e446cec21c7c947ffe0f631160e7f3214636fc13ac47ed4cb3dab9
+DIST firefox-124.0.1-ach.xpi 457263 BLAKE2B d079c15f56038073e5d440483d96d974e124b8843aada2e89326cf1ce903bf1719a7410307f0b83702aba48b01b3e1cae21ee7a01acd05e4d930ed490965854a SHA512 9e295355e1d15097055425d0ce856aeffa7aefa9a5732a48721c32c13b50f3ab6b899e1d47a3ae5f8b0b5e66bb426c387e4d23c8d98fc09d3aaeccd909615306
+DIST firefox-124.0.1-af.xpi 411557 BLAKE2B 0a84f9f12b40646b60ea3f50ac641004ea8496c7a0ec9adfd49d7d8e2c1d3a6e8eb5ed37df5ddd5539bdeb9c69ee1db392bec2f688883a766c0909bad7f4768f SHA512 3c851bff524714844227ff90582203fa861b48d53f7492042b3738be55d320b53d81633c9c769d8da918c92dfcb0f9589972c7bcdf1444342c833ef09670eda9
+DIST firefox-124.0.1-an.xpi 498968 BLAKE2B 29b2a9c5296c19170269181c8d87400eb96241ae6f34b4607d66e2b9721ace30ae9fb76b60e4deb63cfab33eaf1decb2a3d6b32fccbbc03bd77e810baa1a3e98 SHA512 ae8691314a58af492f2ff3a4b9f07fa2a46b971bd1481906c5dff8051aeefbc8297261cf4967e0a7d7fb45a8c503e21b0ee66566034849ab335776c624457e1d
+DIST firefox-124.0.1-ar.xpi 598805 BLAKE2B 72e177b2eff728cdda3e7644f4c5348db6e14c8b9e4124c1c7fcaf0d4f6fc2cb0f092ca406407ecef39bb118c462014fec4a15b2a2ee32c131b439fbe749ef30 SHA512 48adb54b39690476897a5358a395fb3ef94e6e16741007ab464a1b2a28223bed26f2326ea84fb3a71ae26f92067acc757091bb7d9d448ad930046792e07e8b39
+DIST firefox-124.0.1-ast.xpi 489738 BLAKE2B f071beb88fe89645517d31491bcc99dc0c92c1db7443fefaa2d36d28b0442ba769176d9ae9ecd556dc077a9623af0f2b4ce6980e055e1989e45c59208fbba1be SHA512 e06750fa37f0fb2724485be9f9feef060b0ed7b24b6a4610351170df82ca647d19b122bf15ffaf6419896c6b18c72441e1eab9ac51b17362a5aeae9d3e688006
+DIST firefox-124.0.1-az.xpi 483733 BLAKE2B 8565485c61d187e44c88407c8daf911736533baf61ce51d6f3c28b2966252d7b3c7c1dec94c5832337ed3f71adad1476072fd303fd9c92ccbbe66043b5f1cc30 SHA512 d4dee0f56b8ad08cc4f13f94287b7540b13146b4db77c5624d3e8c766e2d78f2c0a9a4139dc43b816d44d40dedd57f3e47ba30ebce4a31a5c5efae5d06bd7478
+DIST firefox-124.0.1-be.xpi 696933 BLAKE2B 24653f1e0f9311cebdf9caf46959d1fae1a48f33dd199dfe3d1aae33fea363376dfe808b95a1d7134bbf4885a4409c62b6b2415d8b7686d64b6f14cca4842676 SHA512 80d7a154374196f5884158cbe8fdb64e5f2ef63e59f6f701a38f4a6180411c0e3c52b6fed813c44651c62fc21b6e1a90c9b95cf46884da8cf71e3ca62e608f95
+DIST firefox-124.0.1-bg.xpi 596463 BLAKE2B 867b2c0bd7f5da509a6eb545282a3f9d3c1210c2bfab5bebaf1de50292f412240e8b613a556133d0fb95e8053216c23b0595b29f1982166ef1a7f56a0ee48ce0 SHA512 fc246b38f52331dafa13ec97882379a367afe1e2bdaa390b4e2e4713f72dae58b3b5d11f77cf8bd2e1cf047fb93d322b04a414ba5502793635a8de41f62caacc
+DIST firefox-124.0.1-bn.xpi 574081 BLAKE2B 1bd022f248a7a440f2c1f9125c896bb32c44e42028aad616fe3998e4ee2b3ccdade0d95a4c59b2b72aed5e7b8b246e047c237ac69fed353073b0bd0ff91005d3 SHA512 1390661ce58502237d02eb4a9cf0907567fe27bf9ffa0c8a6aea3abab650af8c58e150786284d9aba0421692574c7c0342889ac3503f02405fe62979a78a1358
+DIST firefox-124.0.1-br.xpi 579506 BLAKE2B 3f224a9b8a2b7bd4ea0a632dfba17e4d7f12ae03f0229e8445fed49c22f24faf6eb45346dd3342ebff46ca7388e8e9a424249a6d80805fa549026ae8ca288ce3 SHA512 4fb30c15d1dff74c463404d997925a63e8ab37d31ed3ff5636a3ae8d71a9baedccd9f2484f92983844a3198f84caaac34c004b0a35b269124eab66aa603bb2f0
+DIST firefox-124.0.1-bs.xpi 466312 BLAKE2B ca38dd2fb0859093b59e3ea3de620e8dbd0ed0b96c07f58ddeded8e2d7ab8e2136cc2327fac21fad2246b7483deb33782e90c533e7f9902e08fc7aa11102c77c SHA512 f3a46902891c4a70ca88eb3bc5a0e09dc17fb24d2accaca8703781113da68ae3d9cd27f51a41e4a24f0ea3014073c59d9e6b687a1e1be7b14ba23bb075643c28
+DIST firefox-124.0.1-ca-valencia.xpi 538970 BLAKE2B 50f48026a4cb55951c9354638230fffa1af9bd5c371274edec22f623c675a1fa6e91c0ca56de0f4c8bdce94847bf6f42b1cb787506a865a9ded7a8282781932d SHA512 759c4e6cf15c8b794cc725cdd88f7b2b3985e4a383b05bc2d7212ea2fd588f60199b891eb5168fd6c5c04e4cdeab5624133ecc89fdb9d721a9ea22816a4f0fd1
+DIST firefox-124.0.1-ca.xpi 577126 BLAKE2B 12f837436b0fd70b3b7b060a3dcd9433d9892be34d5d6e771d9d814fe07244bc7495b09f3979f25ad234a351431d0cd46b8ae201345a181d4f1e42ba47b536e0 SHA512 f5798d33a1a488d8ce6096e3eb64086ba6388855f7c88818b48b867e41a00c6f2ff0c6a90d6829fc6783ae1b9b52dc6dea2327023710f2daf0b2e214689bbd26
+DIST firefox-124.0.1-cak.xpi 584186 BLAKE2B 4152161961f62e263b32fbdb9a23760f6ff16b2897f41cd640de7ddd4891990a33279f1cbe05af907978b3102a731316addba2503739a2a26c99e03eee06b314 SHA512 f82e7af66ab2984c5a500bc8abd6d35dc0d635a9c9d8e1b72dca2f1dabf6b4dc150b5c47e72b5f2696cffee00424af445a65dcdd2d72e35f4921c7202dbdc129
+DIST firefox-124.0.1-cs.xpi 640163 BLAKE2B 48df793d8153bc04068fabc9e62e002d016efff5490a5a296473046243bb3031f6bf58cb48be4d4de21019f02cbb0670015f99e8e4a709dbbf36a872feb64aa6 SHA512 91fd594cd4d65238793bb957e79925d0591dd96810825d0af9a0e0ea6f8126f1e706024c608238514184a7d3742b7bd7caa95fb60c8b2303768d1c0a26efed5b
+DIST firefox-124.0.1-cy.xpi 607557 BLAKE2B 92506bcaffb5e170a895dc9608c8f2acc86411384d4fef2db3308ca7835d7c67ead79f79437030c2aeffff7756aa1f358e73e83467249dad90015df3482b0595 SHA512 3e83a6228d238c14dd62b94b9eb9d81c7de59d06fe1f1791535908d50890d310d3bd46e966b337b8a5b42cf646ff70b8411b6ec7eb501c937a61369ad3225a17
+DIST firefox-124.0.1-da.xpi 596580 BLAKE2B 565c1a3d942831c34d94119cc47806f03f176be9bc0c3f908518b421e846c8735d5f6b4fa4e4f705f0df8060359447cb69427f4cb58a0f7d11e5d533c9fe930e SHA512 ae66bfc7112153baa755897c06a367b2eb7a2d65dd10319d6315cf73198660cbee8c3d459e9ba7ad7114a4c81f672913dfbccdc0c2fc51a52e5994785229f541
+DIST firefox-124.0.1-de.xpi 617696 BLAKE2B 5becf44e35febfaebe138a7a90d402d84814c23c936fe4766aab0e9fbe3eac8f968e4afeac38ecbd7a4876da8197f3ecab3586593a26a81d424d4723eb9c54eb SHA512 84074b94758a5ea0f231001ffa69c1db5a3fc35609bca8d25fa51f468449deb2634924c88313f837821f1bccbea3f7332781e605a6224321eb5bb8be16aefe59
+DIST firefox-124.0.1-dsb.xpi 634043 BLAKE2B 319a98f856e28dd90d7743d207797b6d5f8edbdc5deb9aa1e1b4c41431c792fca0e1a8a4d493a17c3fb519fd4ef1a03a5a8aba82d28af11e4afbf62375857757 SHA512 4961190a770dba7e47704bab33ca8a080665bfa6364b34efe7de14970002a1974f597b5c8b1fd30247f95038c297bd80463dee4b16c4e3860672061c28a457fe
+DIST firefox-124.0.1-el.xpi 714184 BLAKE2B 5f5ccaa4f7cba7c44417d00a351076072c3aed99ce14aabbe5b3facdc187233fd16d5148dd2a86b8543513e9afae03b8b0aa55751230f2986c5fbb80cdc4b5ec SHA512 af58bee7b126681034097083c9a32d53b7f9bad5431335c2968044a20562e1aee89a9f642a96530f90ea9f0302bf8e60c0478deac725dac23d43eb2fe1503e7a
+DIST firefox-124.0.1-en-CA.xpi 552855 BLAKE2B ebbfad33d88b89f59be80e793116ef4d041bf5141476f544b281c11426a5bb695e55d0b70b73c477dda2f1c009d006c272f22882ab01594c35322978c5ba1503 SHA512 9c9a10c446737e1d796aeb36759e05e91e707b6da4ab9138b8fb8d016efdfb30792daca2840da6954e5320353d120bf0c0f61ebe5a0a7fd44dac1704ce9a178a
+DIST firefox-124.0.1-en-GB.xpi 570061 BLAKE2B b6b5dde765a79eb2426a668041803b3311207dcd34459f31430aa30368362343be2adf8ae94a72bd6848bef2fa4ffad7ddd6116f6943221cec37662aa3191719 SHA512 3bf89c1d3ca64517f767dd6fb5e805a72a609cb208b6c23156ce7dff1699fed05b2ce1fb5386210834f2c928522b80b9c9b23a806927b2739ee80e1943b68ed3
+DIST firefox-124.0.1-eo.xpi 600157 BLAKE2B 83ef9ea636d5faf5df58828d21d5673814ef173f8afbfc00d7810b1fe5945b32db27db945c0bf666f0673259eee7d9f19199281c03f628af9aa966438d9c3fec SHA512 be6ab87a806835009c03a5ce82922787a95edade5e2de6b44d451b4ab9d4dcbd9d4584d84dc0cc5512387cd5fab8084a9509e787ac25fcd65728dca7bb3ec1bc
+DIST firefox-124.0.1-es-AR.xpi 611790 BLAKE2B 9b91b81107d5c90ec1c22c185e154a1c6c187738068f2f51fb91d8a1a0aad9724ed931844274a85e930d4b8f03d85cb7da24caf50ac491ec60290a559faea937 SHA512 a344294d19171246dd8d1c5c28f10938390c875750d60041b8ee75be5dec898a554718e56f6614d1208e15e868bd9a629ff467ebcd785ec410c23fc2dda4903f
+DIST firefox-124.0.1-es-CL.xpi 610703 BLAKE2B 76940d799f23e4256f115ea85b6225e74583d9ab1e0981233e1c47f33dc349e570783056dcdb99029da49478704d6c3706bf5fec233a1350970fe81a17c0ec94 SHA512 2445a5a14f5d4d77a04c3442f9d44dd6e80c0381f102ce0e3a763a32812bf04fc7d44347797271406c5a1cb9f1b5c58e0f1ef39bc82156681119d6c847e0010a
+DIST firefox-124.0.1-es-ES.xpi 605672 BLAKE2B f3e6033511bceca672b7863267e99ebb4b01f138df09402e285c2a9da57b20886519cf0a84dfb06c78c20aa72e4508f63d0ad81836c38038315e860d036683ed SHA512 115c6ca47cab783a65c78f1ecf304971b0511bd1bc0d97a853871fd99e44a4cb5922dd47ba60412321fab68026a2b4f99e12c7166dc87fb57da566dbd7a2f04d
+DIST firefox-124.0.1-es-MX.xpi 584176 BLAKE2B fa31240fd11b076f026ec419ae4c662121f1c0418504cb260521da68cf9086e03534f14ca8bcd85dd2ba63642091490fda8546e4ec28ca07e309e8f750fc2a3d SHA512 7d671289551d71a0996fe8688bb722bc17a1a898fa8e15ca3f8991d48b9610e0b291b0231e6702b188ffacbbbea62fbc1cea8d7077893c28e212501fe5e15c3d
+DIST firefox-124.0.1-et.xpi 532336 BLAKE2B cba2daa8c1eb1277d29d694bc151b30bec9677e2aaf02cd06755dcb31078acd9111607339a62bdcc28b0b25199fe8f4d93e087d602b2372acdd8be366c4b7cea SHA512 380bc91ce5ffb5717325a93feafaa3823c1b270961897d2569b8273dbb079d4ff95046d9b8dea58697816ad894ee5d3a57c2b9b398e67ee58667539b46cb6be8
+DIST firefox-124.0.1-eu.xpi 585779 BLAKE2B 189db8d31fe044477a778d852fa6b93603dcb4d7406c4cdd3942cf697ec5dd01c56bbbd69b0c544d715b1732db1fb86e615859596ab4fc70b12b9723f2df526a SHA512 9fc1099a5470d9ec02e69db929ef2987da82bb0e20eae1bed981f071963f93a0e62d9b78a9c69393f467f1010992e69f3f7acf855e1942f9d6eac903eca3aabc
+DIST firefox-124.0.1-fa.xpi 582560 BLAKE2B 69d3c408afd2d85537c4e4b01038a2f69526a51798d6c32d4c8a5153bf2c143c830a5cf9b982def3af5312697f1236cdde79888d7df698a6f0b0fd61171df10a SHA512 9af3db62bfab8dc8d61ed16da7482b27549f700309f22ccf1e631c546d4fd30d27d061cb5416f53eb767a65df3293ca14936b6b25aec1eb39168769f3d11b25b
+DIST firefox-124.0.1-ff.xpi 469171 BLAKE2B 1cb5022375ebc297f3935ea0f53d39d6d28faa31df7dae9927e839c27f24861c0911ec0a04b05e936c5404c8469652d427a667ea5d6688801fe208ae06ae3cda SHA512 3f3f78f98cea98a16dc32fb3759ee4c175676a26dad864eae112fca3cdc06e7c9cd91b7394360521eb7d37e9cd2d3e8474988fb3fa7eb42f082614359406b6cf
+DIST firefox-124.0.1-fi.xpi 592090 BLAKE2B c118780febd6164ef956121471088a203df018ddc8c497080bdede8a532327a9b41871689be7d77f653037950f7437f914adec1f78bd01e4e83c45c01a5f8889 SHA512 0147039f4c0b8b30d47426fe06dc002aa57244f96c27a107d097053274468f1a7ffdf2b4d61465e7506d0422427e6d7a70dce554a141a9bc15d78c5a32e55e2f
+DIST firefox-124.0.1-fr.xpi 621882 BLAKE2B a985c53bd00640069974d6f956663dadfa8c0e03157f91de9a145a481a9c746fb20d285e4809c53f63b23ce5dceeb15abfef1c62185ff049b003e06a989b2e53 SHA512 b2b67328576c4053b03858bec11ad78297a598cb2fb68f4f72c12b5b2b7da9ee15674b6a26b0a3e9a5387016f2d42815033438974d7cf65d5fcfa393c67ca372
+DIST firefox-124.0.1-fur.xpi 617366 BLAKE2B 989d7e8def5e12c13030313c83336db463b9970818ad24ff0675f4e6faa6dbe85d8920e2eca39b25662ac72653125c6c3ba12b31f6fd0e2f564f46c95c756e82 SHA512 6962df159674fd03e62dcb77f23c5072d03c3ab5d43ef9d24b10ef4bea0e2fdf1615eb994321a09676ec654de4080967152eeec7eddfe02007b3591643b9101b
+DIST firefox-124.0.1-fy-NL.xpi 606664 BLAKE2B 3b34f04526d0d79ea14f94540cbf491d59ee8b82eeaf38a91b8046f7766c856bc89c33f96f929fc4440860430e9c86c331de45d1e56919660c67a0f063de85e6 SHA512 6f66f370b86b6936e60de9a21be9746172efa62e0c4c6d4ca54b6bf4240b2e9965d4a17e9cbdf51d02be34f52b5db39cf283d1b5a5900990b32873e1b18e1f91
+DIST firefox-124.0.1-ga-IE.xpi 464733 BLAKE2B d94319b27b1506869d8718229d35bc81cc07996ec01f8f10e2f26ed72cbbf7af05af84cbd8318ccd1d3056de2dcf405319e644f30be5bda637cd28244c22a917 SHA512 2a4689af1fe105b71ba6fce41ca123972da9c547e2e8273b73ef6c431831c909234e97c9c1301e34b47f20ce410262ffbfb25aa722dd5cc9415b95a61a8ab1a9
+DIST firefox-124.0.1-gd.xpi 584015 BLAKE2B fd868737efb3ac10746e085bd61ed624a20b7d421af2f9b1084155b853cbce8165b8d5bda8da2cac5ec1fbccf88f5da46f41dc07dfa9c52301aebc40781487cb SHA512 31a2fa01256bc2991ecd13e218d074534ecad8992282e840aef4ea478767556d6d16b4bf5919334a07759f7600b26f097ec0cb3feda6ae973a54115182ab9cf6
+DIST firefox-124.0.1-gl.xpi 597032 BLAKE2B 19ea51dd110f333f6029c5d29f227c7e9c85c4b6715c5580c164676ad095df3a35ed4f7a22188b7ec3489b4cba846e8942b42b27863f957a4acb9b8a8295d733 SHA512 5662e83202c77588bb02f4f5ff1958eaade1369b64512ac6be6bb9a2f18c2c02d85d433448c53526c25927e564a779ca22b035fa2cfc0da78b6a7041061dbcb0
+DIST firefox-124.0.1-gn.xpi 621056 BLAKE2B b3e6d37827296c9df7ee3471045ad5e3bdfd6cb0dc56e60a6088dd74de84b8750f49829912810eafcb2a0f81db91bce416f8d3c02e7aed7a15926dfbe45d1f88 SHA512 c3f4b9ac344ff3d2c0134d2ca86c1fade24c0145d9900318cb462332ff0ee1d9b89fd61306393726e3d2474f5e387af4b381a852b8dd4ee7b542d9f73ec380f4
+DIST firefox-124.0.1-gu-IN.xpi 520056 BLAKE2B 1a62f2875a97b99a8a24b65b1a2be208f9a671928f968cb5cb6fcaaf435b41e2c2a31da6b061a525c06256e6ce97a9b43fc6e3a2dba0e7522dbe8b940df204f4 SHA512 00d094d780a1c44779e2829c10cb9d43af1ee891f8af15fca17993185f05e467f24c2965b1512e91c8ca842920497869b11b85c48138562a0bebc072773686fb
+DIST firefox-124.0.1-he.xpi 616155 BLAKE2B ae9ccbb349a0e3429932c9876f9b6812df48d607de071624f57e6a8a5593ac696fce540937b90ecfbee3df71c74e5d4e91dad0e15996e8aa9585b5b7373b0225 SHA512 b64af4b9d2e2fb0af9ac46638a4bc474e81f6f4f96628716deb01a24be539c418bb2bdec471529d46e44ed624746d59fca348b5c13fe4bdbff4cfbc506bc19d1
+DIST firefox-124.0.1-hi-IN.xpi 558195 BLAKE2B fa3f0227669c8354dced2af09f9250a060b85a364fc2fbd45d99dcac8b99d41af5ee7056a127f57b6a1ec801f776ba0449b03902f819e4d63559ba63771a1e17 SHA512 9fc05f0176380c2cd8c02c5fff370ce8414d00b9c5666e5e50ebf7c4c54bbe974c460207eb7330a23f8b9a4bb9214c886e5c5de7f4eef6496ad5d3e84988eb89
+DIST firefox-124.0.1-hr.xpi 549491 BLAKE2B 7a64ef3e5ffd198a68ce05dbba7bc65c21cd838c8e5b4eb1411b8ef454e0b509a21e81c77dd6233baf4e552a691822b4fb97e4895040d33f44d47fb3acec161e SHA512 78f00e432b402a356307a9364d51d9ffe0e1fcd75ad88a2483eb3d0a8002dcb12086cc19ddbcf1be7144f394b5125e1e1f76ba69aee355e56cf00ff7d1802362
+DIST firefox-124.0.1-hsb.xpi 629703 BLAKE2B 4165800cb693eaff58fa4609d6557c3a3e73983aa493fe01a6e8e525145d91165f3375bff1788b2a81334e88c9b5e95ea627b43ed4f03203c6d25d31351ad909 SHA512 e073beb81203a4d15e1859db3b0d2b9eba5ea8a0e43c048d6af8af7b779ca2110169ac05f9947366207e437b5f952313280b1c2cd7d3672fbf35e5b4d84755cc
+DIST firefox-124.0.1-hu.xpi 633309 BLAKE2B ccbf5ff012fb1a3903dc773afd2ed7d531cd8e2fc04eed16a0e3ce3408135d548291d930b9a08a97f0b91b332f05da60d7c2d31f1dca14c481552582ccda425f SHA512 cf144a8190dd09a2edd92cf8bd6f3512d952f1bc611143d1cfe258f1933aafe0c1223dadd6fe5b468df8620caf0d58ea72a0c4b2faddc3ccec29801d8afeb637
+DIST firefox-124.0.1-hy-AM.xpi 607888 BLAKE2B 050e89718f728f4866af09f2a371a2c2ca0382508d0b6544a652f1fdf717266726153152649afa01e65ae80a21a11bf5005e7cbe4eb611c3e48e86118fd08406 SHA512 37efa5c768f0a10bd155b9c3673a2f96051e23f388f55e933e17ca0f0c6da411f084c0b8a96acbdd98c6f24af2c29edfc3c248cf8ef2528d7283426615a9e762
+DIST firefox-124.0.1-ia.xpi 594006 BLAKE2B 0669f47dd527a98227260787f8a4f919abc36240f31a9ac7104613b36d5509331b5a9b6434e783071e5e2ad19c5bdc9e5219bd240c864faac23f2dccbb9d0ed0 SHA512 180c62aae2a29d27d4ef4b44766b100f420f30ea5a896f12fd33cd794c6c3040b7075099fb04926dded00181fd81c8fbaadd372a40a928dbf12167e16cc872e0
+DIST firefox-124.0.1-id.xpi 566761 BLAKE2B 55c4b528855d2817c797dbe665c87a313db83f55c8efa439b941a1dcab1847e3d1d97be31489784be23923dc43a41fd944cc4df08f488dc175b486a8992adfb1 SHA512 f446ab358e907ddf449fbc3a4e492be8b0f9edac4781f14d3a55b103cd0d634fd65e7de187d417a0ef340acfdc55def3b16d223d87cb5066615c0bc8cf5d7790
+DIST firefox-124.0.1-is.xpi 600742 BLAKE2B 9dedc6c643ab0c12379ade023bcf391469bfd7b4298994318646bba5e543207b2179481e2a5f3447dcde0a94c5b6a8d21315397952de5d4a116eada3da3fddab SHA512 38cb16fa82cdf4bbb8d2b79d2c29ca4f1b0110ec0e9200b789739723ace987f5dc92ecd1100190d2e2dcea769feffd3fcc6399a46722d6067bc6653a1a8220fd
+DIST firefox-124.0.1-it.xpi 551723 BLAKE2B 0c0c78a5b376419da7e648bc4f60c0ad493050690954e4cd6631037f1856e936cd45b1e994290332048e20bf88dd1a30b574dbe3f68870bba6d43101c1f1f465 SHA512 2f8d2a683f541034cf78d35a155c4df4152e9f97e8a438963c3bee149ef855caf4e58cc0426007d517f06505119776c1caf98cbcad20bd8597ace166dd89fc84
+DIST firefox-124.0.1-ja.xpi 662247 BLAKE2B 9a6f3cd5f7650fda8b6a5beb7d764fa01ba108791e470c5041445123410d77809e82a33e1540819945837a5a5bbaff2d265fd742d03aaab12f29cdfca4548e3a SHA512 da06e821da84be42e2fd6f8a7338fc19bfb854a32cc281eff501f824a409e43443bb7a9059e8d8b5a68d1833722138522ea4a6306b990a21dc4a77db4d761008
+DIST firefox-124.0.1-ka.xpi 652854 BLAKE2B 63bc06ce5729a7f67bee5040e5cf937af66d35a596abd58896a879c5ab6dcf60d99378b51263941937bfc7c2c57f202517810dcf92dfd263aabc6b718519c2f5 SHA512 feaf31955933eb0e03366ab38ca19109913cffcb4bb6367efb3ee021acc9fec3c9571bf5d9e0fc99ad3c197f434c5be6656b74834b5d172910459c565ea8d821
+DIST firefox-124.0.1-kab.xpi 594380 BLAKE2B 72a4350b04f8dd2139dca0e2411d7d03ff7aa3327cb78042678d95c2e7b910eee8e2d2407e42d7e24e48f2b29f3239bc1f9329ad207a152ed12a2d73cd43dbf1 SHA512 bbc76a3a3ee6961e4737eea25355fbff34175a1259dd0da79ac7ca22159a660ed4ae5dbfddfcc3fc92f88f3903171a3ff4f889406b2b0df269d7b1613d0c23cc
+DIST firefox-124.0.1-kk.xpi 689601 BLAKE2B dac08dc2cb3287bcae298a8122f048797f3eaeac20e42c20706b8fd669e30de96e961f3b2e1bfdb156bdaaa2b808bfff0b9a34155f211028dcd9bd7d3eed745d SHA512 f474b41d4a6b31a1f628b685caf8ebfdbe80d02b5c2812056107b2c35bf2ed7223e04cd9846de5cf5de733b994d84dc8358a7b4dbfae23ff4b11f2b9e22578e6
+DIST firefox-124.0.1-km.xpi 518433 BLAKE2B d08ce4dfdd76c763702a48c8b5eb15a965a09c6fbe5b03f10b5d949ea7505a94a1a3f5e15d3d47421e3bdb8876a47388a47043bcf0bcef86c1508656ae3e99a7 SHA512 6828062d3a3ac63a2c2f77b135126e8e18232e5e290f210fa9bbcebe243222c4064e4aa318e04eb971f6b906ba095fd9e7a31f1f823a6b7e82cd082c1e28957e
+DIST firefox-124.0.1-kn.xpi 484320 BLAKE2B b7e9955761c35420e3b65901c4c92cf77b74aa1383d2a9922b80a47c5d5e74360e185f88a6eaaab60cc7a04103079fe084b5aa8d14fc2b038a88580ed80e32bc SHA512 20881eff4cb85bcfc7a11b5df7de3046fc44900cc02cc08e8a2adf5b896555b5b7833229fa3e469de624f7b0e764bf8304bd3a747f214d92b2d15ab18fc80080
+DIST firefox-124.0.1-ko.xpi 644461 BLAKE2B 0860e30a2427609d33cee4c6a03c0af3ab09d01ff425b0ce618412c9f4fd6a0cfa0ff75ac65126b9ac2bbca62608a3afdac34ce07b58af5536262e0403cf81d5 SHA512 45eb2c31e5170af97f72a9b97e0bf2f09de895bfda0ac5979ec3142482ce8cd2bdaf9a022d52cfab43dadbc9a84ffc03ca3b782206a19396b5275ba3f5380618
+DIST firefox-124.0.1-lij.xpi 477144 BLAKE2B a9dbe8ad6c5ff28c9a325a0065c3115baade300bbb7b42792dfb04abf055f700c1a0ebc9f22172a2bb614ef33267fdbe464bdcde933adb9af93d982a509be84f SHA512 68fc6611a2cb64a8a287ddd272b19f2f085710f52a4382870eb3d0c7cb573aa8ff89ab4170fd768c09774c4eb03fb70f3395c3897cbb0e5181d3ddd4d9a4f9bd
+DIST firefox-124.0.1-lt.xpi 565311 BLAKE2B 4dbc92f291970fff9f07351d6e491b79197b81663257b3c9589d7b69cb4b4e024dbf4f56b3f01c76659b26d4a2ef67562df10fc6403dc1e5a2c64e6a3bd2f223 SHA512 5e14bf3ff0e90207fa29be0db8e99d5fd052c7b47462bdabd2dfc30c6c436440e73262ea8623d7659f9568f470a675720dc39a70878332ae124b9784c39c4a33
+DIST firefox-124.0.1-lv.xpi 462854 BLAKE2B 90e3b4de8066c032be5f6032942ec8affd01da1aa4aa3c13523d97e2aa6a3842394b26ad716446194541b93238caf7c745c6368368f5580cbf308b4f3cc77a4c SHA512 d6ea845dc843bf5802fb76fd851dc45075df87b08ee8265a825cda51af106711b7dadac12f6215ff7fa65b28792f275bcafea798f8fc3bf225304d9438252d6b
+DIST firefox-124.0.1-mk.xpi 486006 BLAKE2B 79a24b7bf99f0ada1ffcf5e67293810ad5d23eba5390b802820dc6f7e5f30ce869888e6d146e2d6ea46d96d84ab4694ce6a4c3fcd564370fc75242dc2043b3f7 SHA512 dbecc12250611becf891e3aa6a1ff1d4e11654b9452df1b5937d3088eaa2a5d5941faac5285a7d72d9550b64121bcf0d405c41024462c78dae20c17ac6c4b827
+DIST firefox-124.0.1-mr.xpi 525098 BLAKE2B 4817bffa574e51e3b270e2c47a0ddcb9a96072a67e30ba63e00ae11a34dbf85fb33c1cf12554605137ccf3159d9cf63a4813d1e4ef90f8e7d58fe09c93138dd3 SHA512 2e970d7656f93479a5befc14b299711edbf3c721b3f0a72c42f6d1963d48ee4450d77c9c487f751233bbe418a216527c59c42fb503345f5b4c8ea62ba4ea9640
+DIST firefox-124.0.1-ms.xpi 442789 BLAKE2B 98cb94a9f51fdecd06de48335558e0313227a746f8ea8d341d3516da46439e390226936add5801c37c3f7cbb65ebb4ea9763a5ad6cf3b8e138119a4447a5a44e SHA512 34f71fdeffa6cdc8d24d5bf4749569d31e4d6b680227fe53c77d5ddcfedcc8cae73ee9bbd2ec881b96d15e35921b6a140c91f23c2626c31b73b90910e267aef1
+DIST firefox-124.0.1-my.xpi 510088 BLAKE2B 324ce6b6d4cce84757eda682d3fef5545c728b88282cb249ad540ee318bb70ada1ef1974cb317495e650d257cdd14fc6365f36a38a3e6d928c20e8a6dda4ac3b SHA512 ce97cdfebab33ed2267da32c3387f385b3178846015fe8678f09de451a7f123ae018d4cf6008c8ed60d7c9acf673423e45c7138ab10185724d2c171131c8aad7
+DIST firefox-124.0.1-nb-NO.xpi 592051 BLAKE2B 94f300b959d4c65a90d66400b46818b28ae0ba9cb95de19d71834d3b58898624f13eac8ec86b2dd47fbb8c390746c2e7924462ae439ffe24ccdca0c23662324f SHA512 2da958a39ccecd258c566a5bb6f20e08530d6f0b24434a4071f3505fb283a5e4cced291f018087a4bc30dfa19374aa8dc548d89e5900241c37f6f7d1b7f5fe72
+DIST firefox-124.0.1-ne-NP.xpi 489218 BLAKE2B e323f6076c37263246fb39b0e9dadd35f2934e4e1adfdea4b1c8004b01d68dbd7a36d46bda454eab19662bfa1d04d5e2c5c9da7f2fc2810f626cc27808c34806 SHA512 8d3a769a71395bbe7fd7aef3cc51d095a2969b1a7001e9a0c9e57ba5816eafb208fbaae86b38494a01f4d547deb1cfcf63b33dab5b6e345c843d37dd16158f9b
+DIST firefox-124.0.1-nl.xpi 600467 BLAKE2B 8d4bb815d80be2141c97f5e1195856479b7efe915c5ee7f508930e8d3233e13e6ee5016972716ffea6b5c755c1fb466d3ea30cf03d168553c5b8307c3e7e82e9 SHA512 eb52754af4168a27181103fbd753c65d5cef6dcee1f9ec4f7af34e0a97b2ef44d0012d0c59bf84b348fb03b9ed3d864b8c3006d60dfb993b350c62c79cfb14af
+DIST firefox-124.0.1-nn-NO.xpi 584690 BLAKE2B 26585ad730235d4d75f4439f59f4c97ffdc4bda3a535994ad7f21371e37209a720c58a46449eba8f63861aa66f54170e5b96f46271d7e9a5923de481c63f63f5 SHA512 e16faf8253cc792e8c99caa7fe37da8b92811602364db2d7c8140b1b5b9fc89d504bea940be43bc4de1ab2be78b149d4229aca82910463687b1eb02611249f24
+DIST firefox-124.0.1-oc.xpi 600436 BLAKE2B e9593fd745e654ff07b3689ab2c141e4a84e2e09f8e326267eeac5332c619882e8b6481a66c546df6c38bd62ef5eff62068563edc06d8cc157cd702ab8b408b6 SHA512 e67160caf0e792099abec23d37efe0b400e9edda23126074a8417b892a7704e9c8047040bc2538954489f438d4c2543f4c2210f5b65269b5a1cf2878645b1dfd
+DIST firefox-124.0.1-pa-IN.xpi 674684 BLAKE2B 85896dbd87265209e240b5966983320aeb691d3508948eb25e2b780896652eab9ac094505f528c29385fd6f6d27437cf27554e491b1660c4ee725e1d1e233d59 SHA512 035b933d88b837e3b9b46d32bb2b171c47db90566aca887bf2972a50312003af3fc5269c5db510f2294a7e9bf838d06633238a35f08c4e5d6dbc9b076ebf9ff4
+DIST firefox-124.0.1-pl.xpi 621238 BLAKE2B 6c98d02b649f6439fb3ec208948e89656f55a655884b94b93b58a82e1401851aa9065b05d99968fcc1fa399ee2f045780c8ca1f60b4b8613924f68ec652699ee SHA512 25cbe26b79d05e4e6613b96893e6328ba2c264299fa79fa825f72cdae53cb785e0c09370802a0acb5d03e19a905a6b43eb290e0a6e012d9d04c2112a9f8ce39e
+DIST firefox-124.0.1-pt-BR.xpi 605307 BLAKE2B 64373944306e0b1f988c4618f3f184856012363f33368d3bdaad7e51902e604d6fcf697a3b2e5f1c6bbcb21b4759ec7cd73ca3015eb7d3fe272b4b9e2f494c9b SHA512 8eb2cf1bbe2e3c1af0f72b63592eab031b6f5487d35cb1699fe5639983f73929d795032212626aa0b62adc415191ccdaa1e11bb1daf0cebe4da03e603e0ee57f
+DIST firefox-124.0.1-pt-PT.xpi 611848 BLAKE2B 274f93f7f9fbd064fef6b14b87cd519095dfc4e75a02d54fa6e7212870c9fb7e0a3c331c285824e4b55979304a1f7911a7ba2c106dbe9d4b5b21ef5241f77d35 SHA512 e6638ffce0b208fa0f1971613aefed0d66d587ad11d40b2436c8e95a0bab082ea1b19e198d090698e472c372e7a04f4bdc1700ba935a215cb000b60ca192ef9a
+DIST firefox-124.0.1-rm.xpi 598312 BLAKE2B 14863b35e59ec2e1ab7c34e4638455e3ee301ffba71f30ba5044b3becdc4ab844b5b276624ab8d3bcbfdbfac1c767374fb9bb14779430d544c536f7b7bac93d5 SHA512 2ea895720b0af9500c4e2dfde382624ee61a972afd8f138d749cdabfc9270f10a8b4bdd1002037a33b520147ed3fc7e3b0c3e24d069a482defd048a120a8c880
+DIST firefox-124.0.1-ro.xpi 542509 BLAKE2B 3ce917c36501c044a0f97b050e8b71ae87645ba4f1d57136ebfb12d9a04f6f342aea1eebb391bda9a1615988c61d0518f5027319c850544f3b36eabb76721b77 SHA512 e4098f10a470d1b49c6b928bc9cb08baa529566339b7ca2d4f3dc43ca3ef3b585f394b7f2291fd5e685d90dc76449e6a58b8395515d76454e1e4995652ad7782
+DIST firefox-124.0.1-ru.xpi 701737 BLAKE2B 54d22b12c6940ef60bde8b22199c8e4b8f02da95d1c890361a8dc917ea9e4feaef3c78f985c50c7d22ed595271713a33c5a0ff3ebc7d4b02d9c3edcbb231cbb5 SHA512 31f0bb86bd045f0fab9cf6ea67de27a04676909d6372679dad4b954af2a4b1c16e5cd386bf627cf642d09b270d164d530ec71fb93ba125af5c054195ec45b3e3
+DIST firefox-124.0.1-sc.xpi 571499 BLAKE2B 4ef50d8312886dcddb59899c5a89be53c61a2fa82812c301e569b09bc8eb3b2a590218e56b176bc9bc071135eeee67a78d527191e79bb0efa77d8894daa62373 SHA512 1bd5d80318b51cb135ea78397798515a62a98c5f4faf1ed6e9fba2e7cac5c30cf402689f6287a95731d747b17c3fcdb27280c32308e6f1c3fce04dec068344ae
+DIST firefox-124.0.1-sco.xpi 504482 BLAKE2B ce0a9886aca1d8966335e41ad371dc62222f20c481cd210368479802e6fccacef8830659459d96a8bf31dbb70342d329927e3dfabb5e01afb0972850b38ece17 SHA512 c874b6dfe3d7d863267ce9c81e3db8c0e4303564d368f8ce7e436804a32e1b731345f4b0db5515369003bcf15f5f8c3067236ffbdb38d635763f4a523c19f67f
+DIST firefox-124.0.1-si.xpi 598357 BLAKE2B 2f5a4a4ed17cbf6bc69478ec585d471a28b2d16d73b821c7f93758145f8ca5f1636f211125fbb887d4087fe2051e6b8505df914beed77508819b74cd25a87db8 SHA512 a8017d991941f74fe5d11d67da9f63f344d1035d3564cdbd3f2229369791e25a3432a41023b0e8c49dbb5f4c8407595577376b791df09f5904af62ef0b7f3150
+DIST firefox-124.0.1-sk.xpi 635467 BLAKE2B 5623d4434528bdf809fec8c2a67785f2a75527be24d26e5b2e6648d0f5593a3588c8d873f5fd2753d669cba180041fbc603d6d9371c7ae851fd04acfdaca36c3 SHA512 b28f66dd16968addee65251f3a1f94e0081639dfb421c69013d2ba5a90facf8fd08c06fcf56c15969ce08a6a3b87b26552fc997b5ab1f8bb2e10e84dc842fc20
+DIST firefox-124.0.1-sl.xpi 601278 BLAKE2B 04f9a82ee70965bd78e2247f4cea629a1b16afa260db07e003a4f9033810d7a513c4617e86d99416ee88deb179177cb678679187b4fe670928dfba9253ea1934 SHA512 cd451ba6c7d2ab190bc6cbaf0ec829583c67cb228aa406567a3e945751398362c2d86faefdaa128d93d001b31cfd51938a6637f68f28ef9377f56d80c7788b9b
+DIST firefox-124.0.1-son.xpi 410248 BLAKE2B d4ac05fbb1219e3ca2c35ccacc269bd123389e1294d423c3831781bff466720fa8885d142f5f178d77377a64829075d92b291dafe047163ca7959b460184511b SHA512 de5931e3c9eda44360f86ba7f5f86f7ce9663c85e11964256b090b222a407a9452911f578de9598c1bb8dfa9edd499e4b866915076fe85f9711cd728e96e6d6b
+DIST firefox-124.0.1-sq.xpi 620789 BLAKE2B 794467351578d4c47f5db4a385c505112b82d9f618a01dd6a406da2bcde483b8bf9ba1973a27d4f9d3a5198469839571fe38a9718d68df303ddc347342b4dba7 SHA512 80a992d3fb3e88915acd95ef0e0ffcd4a78bd5bb6b9426f17cbde7ec5dbb1fc543c8c27bf115f2df191b643564c93a03e7877e32219f419d8a51dcc7c377889a
+DIST firefox-124.0.1-sr.xpi 631744 BLAKE2B 41bded6bd76fc61d622d29b76aecf17ccc927539a5d6b91664a9a92826c8d68f441e0c999ccf6e0a80e1e5bb457f7680c03663197bee4d6bfb1d22d1b829d7df SHA512 e2a7118109a0c82454a43b361dbd512436c6104c7a0dfc42450c98c2f0173508b79792a7286abcdb698ed693d738190a065536f0ecf00cf30206fa6b5487352c
+DIST firefox-124.0.1-sv-SE.xpi 603105 BLAKE2B 76231b8fe94df56c8c7015e3b27914cff6292b51e55cbc33d181b06daf3bdd6c598ee188ce4f6ea95369527e3fd6f4f49b763332ca76643053191d68816b97b6 SHA512 171be289396a2c378a8248fc052f16801bb023545805d339253587f538233070d41ed7577874a67cb89e493719a56022ea7370cc8264a28386dc1fdf8adc1e04
+DIST firefox-124.0.1-szl.xpi 519287 BLAKE2B 8bc1b861add11a71619e22db97428f8c2375b23a2a346e0eb56dc2783403679c3472361fb04ae277d24059dfb712ca98a2dd3774d1825d22bf90a8a0e50c0082 SHA512 c750e669ebec6acc8440fefec6abd9bf4abab6d456b822da516492cae2b6ddb7d05611f730fe9260a35d925a85c37da4d576f3dfae1c6aea7d01e47b2361cb98
+DIST firefox-124.0.1-ta.xpi 500070 BLAKE2B fe2c2a1a5d69ba4530d7a11829276e6b3bfbd08016072c583fb1e7d2b2c44973068176d504183a24ac32645f928acb48de03caf4b37f641dd1ed9e2afc259f02 SHA512 6e92e317e4c9f1954cfe8cb214151c7a19b27072a2355e07293928f4e1bfa13b4be751b6b946a6a52762743c1a4bef11a29d134018957a96db37b05efd3a9998
+DIST firefox-124.0.1-te.xpi 551830 BLAKE2B 2f6415e7ea2cfa03c78e7c8e0cdfb7236e522a76e654b8bf78da43f192dda1a2592269d2b1e10545d5c68be85c6c6f0314aa2606f6e772c51e02cecc24ed243b SHA512 4a95720b74526fc646383b61e301f6cf288c2b930a43890af2685e5fed1bb453baeef32fc3db84fffe618bc375f76f291f1d28a504540af7f54b20fd8c05a91a
+DIST firefox-124.0.1-th.xpi 677230 BLAKE2B a8fc385bb3eb02ee10f09b0b2c7a8841099acca46fd43e71b4b7fb90814a350a21ea6851e41a8bf53c68f8764123718dd5a13db8da1c58d478ffc0e931160da4 SHA512 27e8c071f25707c51ffcec02b82e092367227a51970dadaa93363beae7dd89382493da0b50d2f663f413c563e58afd05f66026d912418c4304863efd517a9984
+DIST firefox-124.0.1-tl.xpi 527123 BLAKE2B 192a1540457bac03271f5827781566d82c983c5667675815a9a5a9981141940ee136ba6d208365d028602710c99825d1d9d4dec18228a6d1b6b2a1c2a059e9fc SHA512 37b259ffe742caf6da14fe4f41a0a2043b57cc236d214918b78f4cc0025907cbb0038f65b94500eb43e1da6c870f7aecd2ba7e9bf06866d6a0c3be8b6f84e9d3
+DIST firefox-124.0.1-tr.xpi 615929 BLAKE2B 0f7479c6b4fb8b5eef4db31216e5dc86258d202c15f22aff5558d54bf9e3c5b3d58ff881261cce65f7362a5f013a9a9b3cb4456a1220c0a7475b6a1846cd5c64 SHA512 df5e494d6f91319880dd8b920233c6dc792fcee838becd80d7336a9a6140550483b87753c0974a074649f1091c9eaa5615a4919d8ae9e9070a48dd1133570799
+DIST firefox-124.0.1-trs.xpi 497071 BLAKE2B a5f625032f7eb6ee06bd88f31126470bfbad01f12b24a5fa6225e3a7a58c43ac13aa8444f51f8abfe48fdde737b74afe3a58f362ba2943836e7cedbd4410e6db SHA512 23bf3dc2675813daff831e05063d26d34bf0b202fa39f927dffefcca942e472e92649355a7d5da3301d735052c1ace3b1991a96593aec271f7cd55d400352bb5
+DIST firefox-124.0.1-uk.xpi 694218 BLAKE2B 55f8a3568a3d642dc9c1462910fd2f28e948fda2bba1afbdf76e2aeac531ee3a51e1e385c2dd5b50021a3b6c8060231d5fd5c58d679390d9c2f701d3fc12522c SHA512 4096475ac2703603abb1be18048dac6bea9be2ec296164a3aff827dfca8c304a9b8f74eececa6626d4fd10e82bd23e5e72741a1bd37a890e560ff458665d9b02
+DIST firefox-124.0.1-ur.xpi 553211 BLAKE2B 40628887ffcae9144705459b1439301bd6c5f8d04f288dae27a6b110f05b6d938ac1717b3da5383c58bac5cef15766fad518bf59b1ed1059d02de912e66662e0 SHA512 60854a99ea57c4b5bbe88fc9c1aa2786bd3080ced3d3cebed676b003cfbe5f29e76621dd574e112d6cf97836eea1704ea5591ec4cb809734dea17333bb8ffe7e
+DIST firefox-124.0.1-uz.xpi 472278 BLAKE2B 5fc3f96ec6a69409c434115378085eee0f1b9770cfd449cc4d9430cf11240d9ffd6f4e8604153e043cc36766786154e834126c141fb186c626ef6fe6b706f878 SHA512 32262ea4210e5b842e92115e37b8affe917dce7352ac7f41b363467eaf934eb0ee862e35f904e04b79815256215d2f6691cda77307ccd4088f99a98142d76374
+DIST firefox-124.0.1-vi.xpi 638584 BLAKE2B ccd926135b3ccab5b0e7f329c8544711fea51f14c00b01d3c3486fc94cacf335565bc4e4aadc61976e8b88c03a8ff754882bb34357c06244a4e2296c7f6ab40b SHA512 88ad513e7ffcbee5ea49e1976f0da69f1406ab2529317a07122841e4dd2f6f4dcf07bb550e82ae718913903d8b47848ec009751202aaf7e8bd3dea38c32c3201
+DIST firefox-124.0.1-xh.xpi 411003 BLAKE2B 5c92c2443e73de2736a42f578f70a69c570cc05c8e4d393887fbcbefa92c98b20f76bd2c8e5aba5a3aa31fd783ae90aba226ace7ed5ffdddaab73ac8e68ee7a9 SHA512 0b456c667badaed47d030ec176d50c8ac39651c1115b7e6bb492c682c0ea207cbdd75778bfdd91f345cfe360c9d28810d4d4595d02ccd048105e1278bdce539e
+DIST firefox-124.0.1-zh-CN.xpi 640174 BLAKE2B 42edc61f18a8614b5cb6b28052a5599702929d9ac2fbf7b7bd90cb5fd415cd82c7b70b8e68ed317517747aae0e1f201674e29aeb9910fd710fd7c1f1ed87d788 SHA512 1bfe2db372bd42ecc9acefa378c033dbf499ad39bd5da9b4e351de8aaedfc4876cfabc02fdd8f8ffcd37775f561391ccc1ac5515509dd2016ce9a73580932232
+DIST firefox-124.0.1-zh-TW.xpi 642122 BLAKE2B de00e146dfe60477f04ea28cea19351db0e168aad3d4869c949065248c11a7b6b2caee687d3b8a4f0b09a4019ce2d7fffb16f91c3d31f0fb0f83071650e70551 SHA512 588d3311e820a345e27033135d7f9f3838bf949f0c7fd9f68a09d7a033f15a239e2eaab1db42b4c4560eee21503e0c57d3e69a1492b27c602b49e0e0beeebe30
+DIST firefox-124.0.1.source.tar.xz 545772696 BLAKE2B b986833fbf28ebcb5588a68367054ca7a2f51f69685349ba65d25e118c90ded55c6e626842bbda8f00717ee55aa784c808e8f09855de423234a592ad23d9e9bf SHA512 282c45e5c468419536dd8b81c8ea687b10d8002d7521403330e6eeef49207143bee88a44c3785748d461ed9a72687606f5da14f4dfb98eb40a5cd08a4a12722b
DIST firefox-124.0.source.tar.xz 545407260 BLAKE2B e62264b8c400a29d092c9e034a58431106e5f1dd29bd8a9dcc3b5b204b4da8fa7a395c610ce0e4a932ca6305d243978bf212d57912bc4b6a85f95e6f34353ed0 SHA512 028c1a447bc2e608e1ba06cc66b1a33e0a4179744f0e8406d6f2b7317bf99fdd84eb97de0e96d4adcef9f2498b083bac38ccbf2d55e213a4a7e8ff6d94974cfc
diff --git a/www-client/firefox/firefox-124.0.1.ebuild b/www-client/firefox/firefox-124.0.1.ebuild
new file mode 100644
index 000000000000..a0957eca1455
--- /dev/null
+++ b/www-client/firefox/firefox-124.0.1.ebuild
@@ -0,0 +1,1421 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FIREFOX_PATCHSET="firefox-124-patches-01.tar.xz"
+
+LLVM_COMPAT=( 16 17 )
+
+PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_REQ_USE="ncurses,sqlite,ssl"
+
+WANT_AUTOCONF="2.1"
+
+VIRTUALX_REQUIRED="manual"
+
+MOZ_ESR=
+
+MOZ_PV=${PV}
+MOZ_PV_SUFFIX=
+if [[ ${PV} =~ (_(alpha|beta|rc).*)$ ]] ; then
+ MOZ_PV_SUFFIX=${BASH_REMATCH[1]}
+
+ # Convert the ebuild version to the upstream Mozilla version
+ MOZ_PV="${MOZ_PV/_alpha/a}" # Handle alpha for SRC_URI
+ MOZ_PV="${MOZ_PV/_beta/b}" # Handle beta for SRC_URI
+ MOZ_PV="${MOZ_PV%%_rc*}" # Handle rc for SRC_URI
+fi
+
+if [[ -n ${MOZ_ESR} ]] ; then
+ # ESR releases have slightly different version numbers
+ MOZ_PV="${MOZ_PV}esr"
+fi
+
+MOZ_PN="${PN%-bin}"
+MOZ_P="${MOZ_PN}-${MOZ_PV}"
+MOZ_PV_DISTFILES="${MOZ_PV}${MOZ_PV_SUFFIX}"
+MOZ_P_DISTFILES="${MOZ_PN}-${MOZ_PV_DISTFILES}"
+
+inherit autotools check-reqs desktop flag-o-matic gnome2-utils linux-info llvm-r1 multiprocessing \
+ optfeature pax-utils python-any-r1 readme.gentoo-r1 toolchain-funcs virtualx xdg
+
+MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/releases/${MOZ_PV}"
+
+if [[ ${PV} == *_rc* ]] ; then
+ MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/candidates/${MOZ_PV}-candidates/build${PV##*_rc}"
+fi
+
+PATCH_URIS=(
+ https://dev.gentoo.org/~juippis/mozilla/patchsets/${FIREFOX_PATCHSET}
+)
+
+SRC_URI="${MOZ_SRC_BASE_URI}/source/${MOZ_P}.source.tar.xz -> ${MOZ_P_DISTFILES}.source.tar.xz
+ ${PATCH_URIS[@]}"
+
+DESCRIPTION="Firefox Web Browser"
+HOMEPAGE="https://www.mozilla.com/firefox"
+
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+
+SLOT="rapid"
+LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
+
+IUSE="+clang cpu_flags_arm_neon dbus debug eme-free hardened hwaccel"
+IUSE+=" jack +jumbo-build libproxy lto openh264 pgo pulseaudio sndio selinux"
+IUSE+=" +system-av1 +system-harfbuzz +system-icu +system-jpeg +system-libevent +system-libvpx system-png system-python-libs +system-webp"
+IUSE+=" +telemetry valgrind wayland wifi +X"
+
+# Firefox-only IUSE
+IUSE+=" geckodriver +gmp-autoupdate"
+
+# "-jumbo-build +system-icu": build failure on firefox-120:
+# firefox-120.0/intl/components/src/TimeZone.cpp:345:3: error: use of undeclared identifier 'MOZ_TRY'
+REQUIRED_USE="|| ( X wayland )
+ debug? ( !system-av1 )
+ !jumbo-build? ( !system-icu )
+ pgo? ( lto )
+ wifi? ( dbus )"
+
+FF_ONLY_DEPEND="!www-client/firefox:0
+ !www-client/firefox:esr
+ selinux? ( sec-policy/selinux-mozilla )"
+BDEPEND="${PYTHON_DEPS}
+ $(llvm_gen_dep '
+ sys-devel/clang:${LLVM_SLOT}
+ sys-devel/llvm:${LLVM_SLOT}
+ clang? (
+ sys-devel/lld:${LLVM_SLOT}
+ virtual/rust:0/llvm-${LLVM_SLOT}
+ )
+ pgo? ( sys-libs/compiler-rt-sanitizers:${LLVM_SLOT}[profile] )
+ ')
+ app-alternatives/awk
+ app-arch/unzip
+ app-arch/zip
+ >=dev-util/cbindgen-0.26.0
+ net-libs/nodejs
+ virtual/pkgconfig
+ !clang? ( >=virtual/rust-1.70 )
+ !elibc_glibc? (
+ || (
+ dev-lang/rust
+ <dev-lang/rust-bin-1.73
+ )
+ )
+ amd64? ( >=dev-lang/nasm-2.14 )
+ x86? ( >=dev-lang/nasm-2.14 )
+ pgo? (
+ X? (
+ sys-devel/gettext
+ x11-base/xorg-server[xvfb]
+ x11-apps/xhost
+ )
+ !X? (
+ >=gui-libs/wlroots-0.15.1-r1[tinywl]
+ x11-misc/xkeyboard-config
+ )
+ )"
+COMMON_DEPEND="${FF_ONLY_DEPEND}
+ >=app-accessibility/at-spi2-core-2.46.0:2
+ dev-libs/expat
+ dev-libs/glib:2
+ dev-libs/libffi:=
+ >=dev-libs/nss-3.98
+ >=dev-libs/nspr-4.35
+ media-libs/alsa-lib
+ media-libs/fontconfig
+ media-libs/freetype
+ media-libs/mesa
+ media-video/ffmpeg
+ sys-libs/zlib
+ virtual/freedesktop-icon-theme
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf
+ x11-libs/pango
+ x11-libs/pixman
+ dbus? (
+ sys-apps/dbus
+ )
+ jack? ( virtual/jack )
+ pulseaudio? (
+ || (
+ media-libs/libpulse
+ >=media-sound/apulse-0.1.12-r4[sdk]
+ )
+ )
+ libproxy? ( net-libs/libproxy )
+ selinux? ( sec-policy/selinux-mozilla )
+ sndio? ( >=media-sound/sndio-1.8.0-r1 )
+ system-av1? (
+ >=media-libs/dav1d-1.0.0:=
+ >=media-libs/libaom-1.0.0:=
+ )
+ system-harfbuzz? (
+ >=media-gfx/graphite2-1.3.13
+ >=media-libs/harfbuzz-2.8.1:0=
+ )
+ system-icu? ( >=dev-libs/icu-73.1:= )
+ system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 )
+ system-libevent? ( >=dev-libs/libevent-2.1.12:0=[threads(+)] )
+ system-libvpx? ( >=media-libs/libvpx-1.8.2:0=[postproc] )
+ system-png? ( >=media-libs/libpng-1.6.35:0=[apng] )
+ system-webp? ( >=media-libs/libwebp-1.1.0:0= )
+ valgrind? ( dev-debug/valgrind )
+ wayland? (
+ >=media-libs/libepoxy-1.5.10-r1
+ x11-libs/gtk+:3[wayland]
+ x11-libs/libxkbcommon[wayland]
+ )
+ wifi? (
+ kernel_linux? (
+ net-misc/networkmanager
+ sys-apps/dbus
+ )
+ )
+ X? (
+ virtual/opengl
+ x11-libs/cairo[X]
+ x11-libs/gtk+:3[X]
+ x11-libs/libX11
+ x11-libs/libXcomposite
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libxkbcommon[X]
+ x11-libs/libXrandr
+ x11-libs/libXtst
+ x11-libs/libxcb:=
+ )"
+RDEPEND="${COMMON_DEPEND}
+ hwaccel? (
+ media-video/libva-utils
+ sys-apps/pciutils
+ )
+ jack? ( virtual/jack )
+ openh264? ( media-libs/openh264:*[plugin] )"
+DEPEND="${COMMON_DEPEND}
+ X? (
+ x11-base/xorg-proto
+ x11-libs/libICE
+ x11-libs/libSM
+ )"
+
+S="${WORKDIR}/${PN}-${PV%_*}"
+
+# Allow MOZ_GMP_PLUGIN_LIST to be set in an eclass or
+# overridden in the enviromnent (advanced hackers only)
+if [[ -z "${MOZ_GMP_PLUGIN_LIST+set}" ]] ; then
+ MOZ_GMP_PLUGIN_LIST=( gmp-gmpopenh264 gmp-widevinecdm )
+fi
+
+llvm_check_deps() {
+ if ! has_version -b "sys-devel/clang:${LLVM_SLOT}" ; then
+ einfo "sys-devel/clang:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
+ return 1
+ fi
+
+ if use clang && ! tc-ld-is-mold ; then
+ if ! has_version -b "sys-devel/lld:${LLVM_SLOT}" ; then
+ einfo "sys-devel/lld:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
+ return 1
+ fi
+
+ if ! has_version -b "virtual/rust:0/llvm-${LLVM_SLOT}" ; then
+ einfo "virtual/rust:0/llvm-${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
+ return 1
+ fi
+
+ if use pgo ; then
+ if ! has_version -b "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*[profile]" ; then
+ einfo "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*[profile] is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
+ return 1
+ fi
+ fi
+ fi
+
+ einfo "Using LLVM slot ${LLVM_SLOT} to build" >&2
+}
+
+MOZ_LANGS=(
+ af ar ast be bg br ca cak cs cy da de dsb
+ el en-CA en-GB en-US es-AR es-ES et eu
+ fi fr fy-NL ga-IE gd gl he hr hsb hu
+ id is it ja ka kab kk ko lt lv ms nb-NO nl nn-NO
+ pa-IN pl pt-BR pt-PT rm ro ru
+ sk sl sq sr sv-SE th tr uk uz vi zh-CN zh-TW
+)
+
+# Firefox-only LANGS
+MOZ_LANGS+=( ach )
+MOZ_LANGS+=( an )
+MOZ_LANGS+=( az )
+MOZ_LANGS+=( bn )
+MOZ_LANGS+=( bs )
+MOZ_LANGS+=( ca-valencia )
+MOZ_LANGS+=( eo )
+MOZ_LANGS+=( es-CL )
+MOZ_LANGS+=( es-MX )
+MOZ_LANGS+=( fa )
+MOZ_LANGS+=( ff )
+MOZ_LANGS+=( fur )
+MOZ_LANGS+=( gn )
+MOZ_LANGS+=( gu-IN )
+MOZ_LANGS+=( hi-IN )
+MOZ_LANGS+=( hy-AM )
+MOZ_LANGS+=( ia )
+MOZ_LANGS+=( km )
+MOZ_LANGS+=( kn )
+MOZ_LANGS+=( lij )
+MOZ_LANGS+=( mk )
+MOZ_LANGS+=( mr )
+MOZ_LANGS+=( my )
+MOZ_LANGS+=( ne-NP )
+MOZ_LANGS+=( oc )
+MOZ_LANGS+=( sc )
+MOZ_LANGS+=( sco )
+MOZ_LANGS+=( si )
+MOZ_LANGS+=( son )
+MOZ_LANGS+=( szl )
+MOZ_LANGS+=( ta )
+MOZ_LANGS+=( te )
+MOZ_LANGS+=( tl )
+MOZ_LANGS+=( trs )
+MOZ_LANGS+=( ur )
+MOZ_LANGS+=( xh )
+
+mozilla_set_globals() {
+ # https://bugs.gentoo.org/587334
+ local MOZ_TOO_REGIONALIZED_FOR_L10N=(
+ fy-NL ga-IE gu-IN hi-IN hy-AM nb-NO ne-NP nn-NO pa-IN sv-SE
+ )
+
+ local lang xflag
+ for lang in "${MOZ_LANGS[@]}" ; do
+ # en and en_US are handled internally
+ if [[ ${lang} == en ]] || [[ ${lang} == en-US ]] ; then
+ continue
+ fi
+
+ # strip region subtag if $lang is in the list
+ if has ${lang} "${MOZ_TOO_REGIONALIZED_FOR_L10N[@]}" ; then
+ xflag=${lang%%-*}
+ else
+ xflag=${lang}
+ fi
+
+ SRC_URI+=" l10n_${xflag/[_@]/-}? ("
+ SRC_URI+=" ${MOZ_SRC_BASE_URI}/linux-x86_64/xpi/${lang}.xpi -> ${MOZ_P_DISTFILES}-${lang}.xpi"
+ SRC_URI+=" )"
+ IUSE+=" l10n_${xflag/[_@]/-}"
+ done
+}
+mozilla_set_globals
+
+moz_clear_vendor_checksums() {
+ debug-print-function ${FUNCNAME} "$@"
+
+ if [[ ${#} -ne 1 ]] ; then
+ die "${FUNCNAME} requires exact one argument"
+ fi
+
+ einfo "Clearing cargo checksums for ${1} ..."
+
+ sed -i \
+ -e 's/\("files":{\)[^}]*/\1/' \
+ "${S}"/third_party/rust/${1}/.cargo-checksum.json \
+ || die
+}
+
+moz_install_xpi() {
+ debug-print-function ${FUNCNAME} "$@"
+
+ if [[ ${#} -lt 2 ]] ; then
+ die "${FUNCNAME} requires at least two arguments"
+ fi
+
+ local DESTDIR=${1}
+ shift
+
+ insinto "${DESTDIR}"
+
+ local emid xpi_file xpi_tmp_dir
+ for xpi_file in "${@}" ; do
+ emid=
+ xpi_tmp_dir=$(mktemp -d --tmpdir="${T}")
+
+ # Unpack XPI
+ unzip -qq "${xpi_file}" -d "${xpi_tmp_dir}" || die
+
+ # Determine extension ID
+ if [[ -f "${xpi_tmp_dir}/install.rdf" ]] ; then
+ emid=$(sed -n -e '/install-manifest/,$ { /em:id/!d; s/.*[\">]\([^\"<>]*\)[\"<].*/\1/; p; q }' "${xpi_tmp_dir}/install.rdf")
+ [[ -z "${emid}" ]] && die "failed to determine extension id from install.rdf"
+ elif [[ -f "${xpi_tmp_dir}/manifest.json" ]] ; then
+ emid=$(sed -n -e 's/.*"id": "\([^"]*\)".*/\1/p' "${xpi_tmp_dir}/manifest.json")
+ [[ -z "${emid}" ]] && die "failed to determine extension id from manifest.json"
+ else
+ die "failed to determine extension id"
+ fi
+
+ einfo "Installing ${emid}.xpi into ${ED}${DESTDIR} ..."
+ newins "${xpi_file}" "${emid}.xpi"
+ done
+}
+
+mozconfig_add_options_ac() {
+ debug-print-function ${FUNCNAME} "$@"
+
+ if [[ ${#} -lt 2 ]] ; then
+ die "${FUNCNAME} requires at least two arguments"
+ fi
+
+ local reason=${1}
+ shift
+
+ local option
+ for option in ${@} ; do
+ echo "ac_add_options ${option} # ${reason}" >>${MOZCONFIG}
+ done
+}
+
+mozconfig_add_options_mk() {
+ debug-print-function ${FUNCNAME} "$@"
+
+ if [[ ${#} -lt 2 ]] ; then
+ die "${FUNCNAME} requires at least two arguments"
+ fi
+
+ local reason=${1}
+ shift
+
+ local option
+ for option in ${@} ; do
+ echo "mk_add_options ${option} # ${reason}" >>${MOZCONFIG}
+ done
+}
+
+mozconfig_use_enable() {
+ debug-print-function ${FUNCNAME} "$@"
+
+ if [[ ${#} -lt 1 ]] ; then
+ die "${FUNCNAME} requires at least one arguments"
+ fi
+
+ local flag=$(use_enable "${@}")
+ mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" "${flag}"
+}
+
+mozconfig_use_with() {
+ debug-print-function ${FUNCNAME} "$@"
+
+ if [[ ${#} -lt 1 ]] ; then
+ die "${FUNCNAME} requires at least one arguments"
+ fi
+
+ local flag=$(use_with "${@}")
+ mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" "${flag}"
+}
+
+# This is a straight copypaste from toolchain-funcs.eclass's 'tc-ld-is-lld', and is temporarily
+# placed here until toolchain-funcs.eclass gets an official support for mold linker.
+# Please see:
+# https://github.com/gentoo/gentoo/pull/28366 ||
+# https://github.com/gentoo/gentoo/pull/28355
+tc-ld-is-mold() {
+ local out
+
+ # Ensure ld output is in English.
+ local -x LC_ALL=C
+
+ # First check the linker directly.
+ out=$($(tc-getLD "$@") --version 2>&1)
+ if [[ ${out} == *"mold"* ]] ; then
+ return 0
+ fi
+
+ # Then see if they're selecting mold via compiler flags.
+ # Note: We're assuming they're using LDFLAGS to hold the
+ # options and not CFLAGS/CXXFLAGS.
+ local base="${T}/test-tc-linker"
+ cat <<-EOF > "${base}.c"
+ int main() { return 0; }
+ EOF
+ out=$($(tc-getCC "$@") ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -Wl,--version "${base}.c" -o "${base}" 2>&1)
+ rm -f "${base}"*
+ if [[ ${out} == *"mold"* ]] ; then
+ return 0
+ fi
+
+ # No mold here!
+ return 1
+}
+
+virtwl() {
+ debug-print-function ${FUNCNAME} "$@"
+
+ [[ $# -lt 1 ]] && die "${FUNCNAME} needs at least one argument"
+ [[ -n $XDG_RUNTIME_DIR ]] || die "${FUNCNAME} needs XDG_RUNTIME_DIR to be set; try xdg_environment_reset"
+ tinywl -h >/dev/null || die 'tinywl -h failed'
+
+ local VIRTWL VIRTWL_PID
+ coproc VIRTWL { WLR_BACKENDS=headless exec tinywl -s 'echo $WAYLAND_DISPLAY; read _; kill $PPID'; }
+ local -x WAYLAND_DISPLAY
+ read WAYLAND_DISPLAY <&${VIRTWL[0]}
+
+ debug-print "${FUNCNAME}: $@"
+ "$@"
+ local r=$?
+
+ [[ -n $VIRTWL_PID ]] || die "tinywl exited unexpectedly"
+ exec {VIRTWL[0]}<&- {VIRTWL[1]}>&-
+ return $r
+}
+
+pkg_pretend() {
+ if [[ ${MERGE_TYPE} != binary ]] ; then
+ if use pgo ; then
+ if ! has usersandbox $FEATURES ; then
+ die "You must enable usersandbox as X server can not run as root!"
+ fi
+ fi
+
+ # Ensure we have enough disk space to compile
+ if use pgo || use lto || use debug ; then
+ CHECKREQS_DISK_BUILD="13500M"
+ else
+ CHECKREQS_DISK_BUILD="6600M"
+ fi
+
+ check-reqs_pkg_pretend
+ fi
+}
+
+pkg_setup() {
+ if [[ ${MERGE_TYPE} != binary ]] ; then
+ if use pgo ; then
+ if ! has userpriv ${FEATURES} ; then
+ eerror "Building ${PN} with USE=pgo and FEATURES=-userpriv is not supported!"
+ fi
+ fi
+
+ # Ensure we have enough disk space to compile
+ if use pgo || use lto || use debug ; then
+ CHECKREQS_DISK_BUILD="13500M"
+ else
+ CHECKREQS_DISK_BUILD="6400M"
+ fi
+
+ check-reqs_pkg_setup
+
+ llvm-r1_pkg_setup
+
+ if use clang && use lto && tc-ld-is-lld ; then
+ local version_lld=$(ld.lld --version 2>/dev/null | awk '{ print $2 }')
+ [[ -n ${version_lld} ]] && version_lld=$(ver_cut 1 "${version_lld}")
+ [[ -z ${version_lld} ]] && die "Failed to read ld.lld version!"
+
+ local version_llvm_rust=$(rustc -Vv 2>/dev/null | grep -F -- 'LLVM version:' | awk '{ print $3 }')
+ [[ -n ${version_llvm_rust} ]] && version_llvm_rust=$(ver_cut 1 "${version_llvm_rust}")
+ [[ -z ${version_llvm_rust} ]] && die "Failed to read used LLVM version from rustc!"
+
+ if ver_test "${version_lld}" -ne "${version_llvm_rust}" ; then
+ eerror "Rust is using LLVM version ${version_llvm_rust} but ld.lld version belongs to LLVM version ${version_lld}."
+ eerror "You will be unable to link ${CATEGORY}/${PN}. To proceed you have the following options:"
+ eerror " - Manually switch rust version using 'eselect rust' to match used LLVM version"
+ eerror " - Switch to dev-lang/rust[system-llvm] which will guarantee matching version"
+ eerror " - Build ${CATEGORY}/${PN} without USE=lto"
+ eerror " - Rebuild lld with llvm that was used to build rust (may need to rebuild the whole "
+ eerror " llvm/clang/lld/rust chain depending on your @world updates)"
+ die "LLVM version used by Rust (${version_llvm_rust}) does not match with ld.lld version (${version_lld})!"
+ fi
+ fi
+
+ python-any-r1_pkg_setup
+
+ # Avoid PGO profiling problems due to enviroment leakage
+ # These should *always* be cleaned up anyway
+ unset \
+ DBUS_SESSION_BUS_ADDRESS \
+ DISPLAY \
+ ORBIT_SOCKETDIR \
+ SESSION_MANAGER \
+ XAUTHORITY \
+ XDG_CACHE_HOME \
+ XDG_SESSION_COOKIE
+
+ # Build system is using /proc/self/oom_score_adj, bug #604394
+ addpredict /proc/self/oom_score_adj
+
+ if use pgo ; then
+ # Update 105.0: "/proc/self/oom_score_adj" isn't enough anymore with pgo, but not sure
+ # whether that's due to better OOM handling by Firefox (bmo#1771712), or portage
+ # (PORTAGE_SCHEDULING_POLICY) update...
+ addpredict /proc
+
+ # Clear tons of conditions, since PGO is hardware-dependant.
+ addpredict /dev
+ fi
+
+ if ! mountpoint -q /dev/shm ; then
+ # If /dev/shm is not available, configure is known to fail with
+ # a traceback report referencing /usr/lib/pythonN.N/multiprocessing/synchronize.py
+ ewarn "/dev/shm is not mounted -- expect build failures!"
+ fi
+
+ # Google API keys (see http://www.chromium.org/developers/how-tos/api-keys)
+ # Note: These are for Gentoo Linux use ONLY. For your own distribution, please
+ # get your own set of keys.
+ if [[ -z "${MOZ_API_KEY_GOOGLE+set}" ]] ; then
+ MOZ_API_KEY_GOOGLE="AIzaSyDEAOvatFogGaPi0eTgsV_ZlEzx0ObmepsMzfAc"
+ fi
+
+ if [[ -z "${MOZ_API_KEY_LOCATION+set}" ]] ; then
+ MOZ_API_KEY_LOCATION="AIzaSyB2h2OuRgGaPicUgy5N-5hsZqiPW6sH3n_rptiQ"
+ fi
+
+ # Mozilla API keys (see https://location.services.mozilla.com/api)
+ # Note: These are for Gentoo Linux use ONLY. For your own distribution, please
+ # get your own set of keys.
+ if [[ -z "${MOZ_API_KEY_MOZILLA+set}" ]] ; then
+ MOZ_API_KEY_MOZILLA="edb3d487-3a84-46m0ap1e3-9dfd-92b5efaaa005"
+ fi
+
+ # Ensure we use C locale when building, bug #746215
+ export LC_ALL=C
+ fi
+
+ CONFIG_CHECK="~SECCOMP"
+ WARNING_SECCOMP="CONFIG_SECCOMP not set! This system will be unable to play DRM-protected content."
+ linux-info_pkg_setup
+}
+
+src_unpack() {
+ local _lp_dir="${WORKDIR}/language_packs"
+ local _src_file
+
+ if [[ ! -d "${_lp_dir}" ]] ; then
+ mkdir "${_lp_dir}" || die
+ fi
+
+ for _src_file in ${A} ; do
+ if [[ ${_src_file} == *.xpi ]]; then
+ cp "${DISTDIR}/${_src_file}" "${_lp_dir}" || die "Failed to copy '${_src_file}' to '${_lp_dir}'!"
+ else
+ unpack ${_src_file}
+ fi
+ done
+}
+
+src_prepare() {
+ if use lto; then
+ rm -v "${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch || die
+ fi
+
+ if ! use ppc64; then
+ rm -v "${WORKDIR}"/firefox-patches/*ppc64*.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"
+ else
+ die "Unknown musl chost, please post your rustc -vV along with emerge --info on Gentoo's bug #915651"
+ fi
+ fi
+
+ # Make LTO respect MAKEOPTS
+ sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
+ "${S}"/build/moz.configure/lto-pgo.configure || die "Failed sedding multiprocessing.cpu_count"
+
+ # Make ICU respect MAKEOPTS
+ sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
+ "${S}"/intl/icu_sources_data.py || die "Failed sedding multiprocessing.cpu_count"
+
+ # Respect MAKEOPTS all around (maybe some find+sed is better)
+ sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
+ "${S}"/python/mozbuild/mozbuild/base.py || die "Failed sedding multiprocessing.cpu_count"
+
+ sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
+ "${S}"/third_party/libwebrtc/build/toolchain/get_cpu_count.py || die "Failed sedding multiprocessing.cpu_count"
+
+ sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
+ "${S}"/third_party/libwebrtc/build/toolchain/get_concurrent_links.py || die "Failed sedding multiprocessing.cpu_count"
+
+ sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
+ "${S}"/third_party/python/gyp/pylib/gyp/input.py || die "Failed sedding multiprocessing.cpu_count"
+
+ sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
+ "${S}"/python/mozbuild/mozbuild/code_analysis/mach_commands.py || die "Failed sedding multiprocessing.cpu_count"
+
+ # sed-in toolchain prefix
+ sed -i \
+ -e "s/objdump/${CHOST}-objdump/" \
+ "${S}"/python/mozbuild/mozbuild/configure/check_debug_ranges.py \
+ || die "sed failed to set toolchain prefix"
+
+ sed -i \
+ -e 's/ccache_stats = None/return None/' \
+ "${S}"/python/mozbuild/mozbuild/controller/building.py \
+ || die "sed failed to disable ccache stats call"
+
+ einfo "Removing pre-built binaries ..."
+
+ find "${S}"/third_party -type f \( -name '*.so' -o -name '*.o' \) -print -delete || die
+
+ # Clear checksums from cargo crates we've manually patched.
+ # moz_clear_vendor_checksums xyz
+ moz_clear_vendor_checksums proc-macro2
+
+ # Respect choice for "jumbo-build"
+ # Changing the value for FILES_PER_UNIFIED_FILE may not work, see #905431
+ if [[ -n ${FILES_PER_UNIFIED_FILE} ]] && use jumbo-build; then
+ local my_files_per_unified_file=${FILES_PER_UNIFIED_FILE:=16}
+ elog ""
+ elog "jumbo-build defaults modified to ${my_files_per_unified_file}."
+ elog "if you get a build failure, try undefining FILES_PER_UNIFIED_FILE,"
+ elog "if that fails try -jumbo-build before opening a bug report."
+ elog ""
+
+ sed -i -e "s/\"FILES_PER_UNIFIED_FILE\", 16/\"FILES_PER_UNIFIED_FILE\", "${my_files_per_unified_file}"/" python/mozbuild/mozbuild/frontend/data.py ||
+ die "Failed to adjust FILES_PER_UNIFIED_FILE in python/mozbuild/mozbuild/frontend/data.py"
+ sed -i -e "s/FILES_PER_UNIFIED_FILE = 6/FILES_PER_UNIFIED_FILE = "${my_files_per_unified_file}"/" js/src/moz.build ||
+ die "Failed to adjust FILES_PER_UNIFIED_FILE in js/src/moz.build"
+ fi
+
+ # Create build dir
+ BUILD_DIR="${WORKDIR}/${PN}_build"
+ mkdir -p "${BUILD_DIR}" || die
+
+ # Write API keys to disk
+ echo -n "${MOZ_API_KEY_GOOGLE//gGaPi/}" > "${S}"/api-google.key || die
+ echo -n "${MOZ_API_KEY_LOCATION//gGaPi/}" > "${S}"/api-location.key || die
+ echo -n "${MOZ_API_KEY_MOZILLA//m0ap1/}" > "${S}"/api-mozilla.key || die
+
+ xdg_environment_reset
+}
+
+src_configure() {
+ # Show flags set at the beginning
+ einfo "Current BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}"
+ einfo "Current CFLAGS:\t\t${CFLAGS:-no value set}"
+ einfo "Current CXXFLAGS:\t\t${CXXFLAGS:-no value set}"
+ einfo "Current LDFLAGS:\t\t${LDFLAGS:-no value set}"
+ einfo "Current RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}"
+
+ local have_switched_compiler=
+ if use clang; then
+ # Force clang
+ einfo "Enforcing the use of clang due to USE=clang ..."
+
+ local version_clang=$(clang --version 2>/dev/null | grep -F -- 'clang version' | awk '{ print $3 }')
+ [[ -n ${version_clang} ]] && version_clang=$(ver_cut 1 "${version_clang}")
+ [[ -z ${version_clang} ]] && die "Failed to read clang version!"
+
+ if tc-is-gcc; then
+ have_switched_compiler=yes
+ fi
+
+ AR=llvm-ar
+ CC=${CHOST}-clang-${version_clang}
+ CXX=${CHOST}-clang++-${version_clang}
+ NM=llvm-nm
+ RANLIB=llvm-ranlib
+ elif ! use clang && ! tc-is-gcc ; then
+ # Force gcc
+ have_switched_compiler=yes
+ einfo "Enforcing the use of gcc due to USE=-clang ..."
+ AR=gcc-ar
+ CC=${CHOST}-gcc
+ CXX=${CHOST}-g++
+ NM=gcc-nm
+ RANLIB=gcc-ranlib
+ fi
+
+ if [[ -n "${have_switched_compiler}" ]] ; then
+ # Because we switched active compiler we have to ensure
+ # that no unsupported flags are set
+ strip-unsupported-flags
+ fi
+
+ # Ensure we use correct toolchain,
+ # AS is used in a non-standard way by upstream, #bmo1654031
+ export HOST_CC="$(tc-getBUILD_CC)"
+ export HOST_CXX="$(tc-getBUILD_CXX)"
+ export AS="$(tc-getCC) -c"
+
+ # Configuration tests expect llvm-readelf output, bug 913130
+ READELF="llvm-readelf"
+
+ tc-export CC CXX LD AR AS NM OBJDUMP RANLIB READELF PKG_CONFIG
+
+ # Pass the correct toolchain paths through cbindgen
+ if tc-is-cross-compiler ; then
+ export BINDGEN_CFLAGS="${SYSROOT:+--sysroot=${ESYSROOT}} --target=${CHOST} ${BINDGEN_CFLAGS-}"
+ fi
+
+ # Set MOZILLA_FIVE_HOME
+ export MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
+
+ # python/mach/mach/mixin/process.py fails to detect SHELL
+ export SHELL="${EPREFIX}/bin/bash"
+
+ # Set state path
+ export MOZBUILD_STATE_PATH="${BUILD_DIR}"
+
+ # Set MOZCONFIG
+ export MOZCONFIG="${S}/.mozconfig"
+
+ # Initialize MOZCONFIG
+ mozconfig_add_options_ac '' --enable-application=browser
+ mozconfig_add_options_ac '' --enable-project=browser
+
+ # Set Gentoo defaults
+ if use telemetry; then
+ export MOZILLA_OFFICIAL=1
+ fi
+
+ mozconfig_add_options_ac 'Gentoo default' \
+ --allow-addon-sideload \
+ --disable-cargo-incremental \
+ --disable-crashreporter \
+ --disable-disk-remnant-avoidance \
+ --disable-gpsd \
+ --disable-install-strip \
+ --disable-legacy-profile-creation \
+ --disable-parental-controls \
+ --disable-strip \
+ --disable-tests \
+ --disable-updater \
+ --disable-wmf \
+ --enable-negotiateauth \
+ --enable-new-pass-manager \
+ --enable-official-branding \
+ --enable-release \
+ --enable-system-ffi \
+ --enable-system-pixman \
+ --enable-system-policies \
+ --host="${CBUILD:-${CHOST}}" \
+ --libdir="${EPREFIX}/usr/$(get_libdir)" \
+ --prefix="${EPREFIX}/usr" \
+ --target="${CHOST}" \
+ --without-ccache \
+ --without-wasm-sandboxed-libraries \
+ --with-intl-api \
+ --with-libclang-path="$(llvm-config --libdir)" \
+ --with-system-nspr \
+ --with-system-nss \
+ --with-system-zlib \
+ --with-toolchain-prefix="${CHOST}-" \
+ --with-unsigned-addon-scopes=app,system \
+ --x-includes="${ESYSROOT}/usr/include" \
+ --x-libraries="${ESYSROOT}/usr/$(get_libdir)"
+
+ # Set update channel
+ local update_channel=release
+ [[ -n ${MOZ_ESR} ]] && update_channel=esr
+ mozconfig_add_options_ac '' --update-channel=${update_channel}
+
+ if ! use x86 && [[ ${CHOST} != armv*h* ]] ; then
+ mozconfig_add_options_ac '' --enable-rust-simd
+ fi
+
+ # For future keywording: This is currently (97.0) only supported on:
+ # amd64, arm, arm64 & x86.
+ # Might want to flip the logic around if Firefox is to support more arches.
+ # bug 833001, bug 903411#c8
+ if use ppc64 || use riscv; then
+ mozconfig_add_options_ac '' --disable-sandbox
+ elif use valgrind; then
+ mozconfig_add_options_ac 'valgrind requirement' --disable-sandbox
+ else
+ mozconfig_add_options_ac '' --enable-sandbox
+ fi
+
+ # Enable JIT on riscv64 explicitly
+ # Can be removed once upstream enable it by default in the future.
+ use riscv && mozconfig_add_options_ac 'Enable JIT for RISC-V 64' --enable-jit
+
+ if [[ -s "${S}/api-google.key" ]] ; then
+ local key_origin="Gentoo default"
+ if [[ $(cat "${S}/api-google.key" | md5sum | awk '{ print $1 }') != 709560c02f94b41f9ad2c49207be6c54 ]] ; then
+ key_origin="User value"
+ fi
+
+ mozconfig_add_options_ac "${key_origin}" \
+ --with-google-safebrowsing-api-keyfile="${S}/api-google.key"
+ else
+ einfo "Building without Google API key ..."
+ fi
+
+ if [[ -s "${S}/api-location.key" ]] ; then
+ local key_origin="Gentoo default"
+ if [[ $(cat "${S}/api-location.key" | md5sum | awk '{ print $1 }') != ffb7895e35dedf832eb1c5d420ac7420 ]] ; then
+ key_origin="User value"
+ fi
+
+ mozconfig_add_options_ac "${key_origin}" \
+ --with-google-location-service-api-keyfile="${S}/api-location.key"
+ else
+ einfo "Building without Location API key ..."
+ fi
+
+ if [[ -s "${S}/api-mozilla.key" ]] ; then
+ local key_origin="Gentoo default"
+ if [[ $(cat "${S}/api-mozilla.key" | md5sum | awk '{ print $1 }') != 3927726e9442a8e8fa0e46ccc39caa27 ]] ; then
+ key_origin="User value"
+ fi
+
+ mozconfig_add_options_ac "${key_origin}" \
+ --with-mozilla-api-keyfile="${S}/api-mozilla.key"
+ else
+ einfo "Building without Mozilla API key ..."
+ fi
+
+ mozconfig_use_with system-av1
+ mozconfig_use_with system-harfbuzz
+ mozconfig_use_with system-harfbuzz system-graphite2
+ mozconfig_use_with system-icu
+ mozconfig_use_with system-jpeg
+ mozconfig_use_with system-libevent
+ mozconfig_use_with system-libvpx
+ mozconfig_use_with system-png
+ mozconfig_use_with system-webp
+
+ mozconfig_use_enable dbus
+ mozconfig_use_enable libproxy
+ mozconfig_use_enable valgrind
+
+ use eme-free && mozconfig_add_options_ac '+eme-free' --disable-eme
+
+ mozconfig_use_enable geckodriver
+
+ if use hardened ; then
+ mozconfig_add_options_ac "+hardened" --enable-hardening
+ append-ldflags "-Wl,-z,relro -Wl,-z,now"
+
+ # Increase the FORTIFY_SOURCE value, #910071.
+ sed -i -e '/-D_FORTIFY_SOURCE=/s:2:3:' "${S}"/build/moz.configure/toolchain.configure || die
+ fi
+
+ local myaudiobackends=""
+ use jack && myaudiobackends+="jack,"
+ use sndio && myaudiobackends+="sndio,"
+ use pulseaudio && myaudiobackends+="pulseaudio,"
+ ! use pulseaudio && myaudiobackends+="alsa,"
+
+ mozconfig_add_options_ac '--enable-audio-backends' --enable-audio-backends="${myaudiobackends::-1}"
+
+ mozconfig_use_enable wifi necko-wifi
+
+ ! use jumbo-build && mozconfig_add_options_ac '--disable-unified-build' --disable-unified-build
+
+ if use X && use wayland ; then
+ mozconfig_add_options_ac '+x11+wayland' --enable-default-toolkit=cairo-gtk3-x11-wayland
+ elif ! use X && use wayland ; then
+ mozconfig_add_options_ac '+wayland' --enable-default-toolkit=cairo-gtk3-wayland-only
+ else
+ mozconfig_add_options_ac '+x11' --enable-default-toolkit=cairo-gtk3-x11-only
+ fi
+
+ # LTO is handled via configure
+ filter-lto
+
+ if use lto ; then
+ if use clang ; then
+ # Upstream only supports lld or mold when using clang.
+ if tc-ld-is-mold ; then
+ # mold expects the -flto line from *FLAGS configuration, bgo#923119
+ append-ldflags "-flto=thin"
+ mozconfig_add_options_ac "using ld=mold due to system selection" --enable-linker=mold
+ else
+ mozconfig_add_options_ac "forcing ld=lld due to USE=clang and USE=lto" --enable-linker=lld
+ fi
+
+ mozconfig_add_options_ac '+lto' --enable-lto=cross
+
+ else
+ # ThinLTO is currently broken, see bmo#1644409.
+ # mold does not support gcc+lto combination.
+ mozconfig_add_options_ac '+lto' --enable-lto=full
+ mozconfig_add_options_ac "linker is set to bfd" --enable-linker=bfd
+ fi
+
+ if use pgo ; then
+ mozconfig_add_options_ac '+pgo' MOZ_PGO=1
+
+ if use clang ; then
+ # Used in build/pgo/profileserver.py
+ export LLVM_PROFDATA="llvm-profdata"
+ fi
+ fi
+ else
+ # Avoid auto-magic on linker
+ if use clang ; then
+ # lld is upstream's default
+ if tc-ld-is-mold ; then
+ mozconfig_add_options_ac "using ld=mold due to system selection" --enable-linker=mold
+ else
+ mozconfig_add_options_ac "forcing ld=lld due to USE=clang" --enable-linker=lld
+ fi
+
+ else
+ if tc-ld-is-mold ; then
+ mozconfig_add_options_ac "using ld=mold due to system selection" --enable-linker=mold
+ else
+ mozconfig_add_options_ac "linker is set to bfd due to USE=-clang" --enable-linker=bfd
+ fi
+ fi
+ fi
+
+ mozconfig_use_enable debug
+ if use debug ; then
+ mozconfig_add_options_ac '+debug' --disable-optimize
+ mozconfig_add_options_ac '+debug' --enable-real-time-tracing
+ else
+ mozconfig_add_options_ac 'Gentoo defaults' --disable-real-time-tracing
+
+ if is-flag '-g*' ; then
+ if use clang ; then
+ mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols=$(get-flag '-g*')
+ else
+ mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols
+ fi
+ else
+ mozconfig_add_options_ac 'Gentoo default' --disable-debug-symbols
+ fi
+
+ if is-flag '-O0' ; then
+ mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O0
+ elif is-flag '-O4' ; then
+ mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O4
+ elif is-flag '-O3' ; then
+ mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O3
+ elif is-flag '-O1' ; then
+ mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O1
+ elif is-flag '-Os' ; then
+ mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-Os
+ else
+ mozconfig_add_options_ac "Gentoo default" --enable-optimize=-O2
+ fi
+ fi
+
+ # Debug flag was handled via configure
+ filter-flags '-g*'
+
+ # Optimization flag was handled via configure
+ filter-flags '-O*'
+
+ # Modifications to better support ARM, bug #553364
+ if use cpu_flags_arm_neon ; then
+ mozconfig_add_options_ac '+cpu_flags_arm_neon' --with-fpu=neon
+
+ if ! tc-is-clang ; then
+ # thumb options aren't supported when using clang, bug 666966
+ mozconfig_add_options_ac '+cpu_flags_arm_neon' \
+ --with-thumb=yes \
+ --with-thumb-interwork=no
+ fi
+ fi
+
+ if [[ ${CHOST} == armv*h* ]] ; then
+ mozconfig_add_options_ac 'CHOST=armv*h*' --with-float-abi=hard
+
+ if ! use system-libvpx ; then
+ sed -i \
+ -e "s|softfp|hard|" \
+ "${S}"/media/libvpx/moz.build \
+ || die
+ fi
+ fi
+
+ # elf-hack
+ if use amd64 || use x86 ; then
+ 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 ; then
+ # '--disable-elf-hack' is not recognized on ppc64, bgo#917049
+ :;
+ else
+ mozconfig_add_options_ac 'disable elf-hack on non-supported arches' --disable-elf-hack
+ fi
+
+ # Additional ARCH support
+ case "${ARCH}" in
+ arm)
+ # Reduce the memory requirements for linking
+ if use clang ; then
+ # Nothing to do
+ :;
+ elif use lto ; then
+ append-ldflags -Wl,--no-keep-memory
+ else
+ append-ldflags -Wl,--no-keep-memory -Wl,--reduce-memory-overheads
+ fi
+ ;;
+ esac
+
+ if ! use elibc_glibc; then
+ mozconfig_add_options_ac '!elibc_glibc' --disable-jemalloc
+ fi
+
+ if use valgrind; then
+ mozconfig_add_options_ac 'valgrind requirement' --disable-jemalloc
+ fi
+
+ # System-av1 fix
+ use system-av1 && append-ldflags "-Wl,--undefined-version"
+
+ # Allow elfhack to work in combination with unstripped binaries
+ # when they would normally be larger than 2GiB.
+ append-ldflags "-Wl,--compress-debug-sections=zlib"
+
+ # Make revdep-rebuild.sh happy; Also required for musl
+ append-ldflags -Wl,-rpath="${MOZILLA_FIVE_HOME}",--enable-new-dtags
+
+ # Pass $MAKEOPTS to build system
+ export MOZ_MAKE_FLAGS="${MAKEOPTS}"
+
+ # Use system's Python environment
+ export PIP_NETWORK_INSTALL_RESTRICTED_VIRTUALENVS=mach
+
+ if use system-python-libs; then
+ export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE="system"
+ else
+ export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE="none"
+ fi
+
+ if ! use telemetry; then
+ mozconfig_add_options_mk '-telemetry setting' "MOZ_CRASHREPORTER=0"
+ mozconfig_add_options_mk '-telemetry setting' "MOZ_DATA_REPORTING=0"
+ mozconfig_add_options_mk '-telemetry setting' "MOZ_SERVICES_HEALTHREPORT=0"
+ mozconfig_add_options_mk '-telemetry setting' "MOZ_TELEMETRY_REPORTING=0"
+ fi
+
+ # Disable notification when build system has finished
+ export MOZ_NOSPAM=1
+
+ # Portage sets XARGS environment variable to "xargs -r" by default which
+ # breaks build system's check_prog() function which doesn't support arguments
+ mozconfig_add_options_ac 'Gentoo default' "XARGS=${EPREFIX}/usr/bin/xargs"
+
+ # Set build dir
+ mozconfig_add_options_mk 'Gentoo default' "MOZ_OBJDIR=${BUILD_DIR}"
+
+ # Show flags we will use
+ einfo "Build BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}"
+ einfo "Build CFLAGS:\t\t${CFLAGS:-no value set}"
+ einfo "Build CXXFLAGS:\t\t${CXXFLAGS:-no value set}"
+ einfo "Build LDFLAGS:\t\t${LDFLAGS:-no value set}"
+ einfo "Build RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}"
+
+ # Handle EXTRA_CONF and show summary
+ local ac opt hash reason
+
+ # Apply EXTRA_ECONF entries to $MOZCONFIG
+ if [[ -n ${EXTRA_ECONF} ]] ; then
+ IFS=\! read -a ac <<<${EXTRA_ECONF// --/\!}
+ for opt in "${ac[@]}"; do
+ mozconfig_add_options_ac "EXTRA_ECONF" --${opt#--}
+ done
+ fi
+
+ echo
+ echo "=========================================================="
+ echo "Building ${PF} with the following configuration"
+ grep ^ac_add_options "${MOZCONFIG}" | while read ac opt hash reason; do
+ [[ -z ${hash} || ${hash} == \# ]] \
+ || die "error reading mozconfig: ${ac} ${opt} ${hash} ${reason}"
+ printf " %-30s %s\n" "${opt}" "${reason:-mozilla.org default}"
+ done
+ echo "=========================================================="
+ echo
+
+ if use valgrind; then
+ sed -i -e 's/--enable-optimize=-O[0-9s]/--enable-optimize="-g -O2"/' .mozconfig || die
+ fi
+
+ ./mach configure || die
+}
+
+src_compile() {
+ local virtx_cmd=
+
+ if tc-ld-is-mold && use lto; then
+ # increase ulimit with mold+lto, bugs #892641, #907485
+ if ! ulimit -n 16384 1>/dev/null 2>&1 ; then
+ ewarn "Unable to modify ulimits - building with mold+lto might fail due to low ulimit -n resources."
+ ewarn "Please see bugs #892641 & #907485."
+ else
+ ulimit -n 16384
+ fi
+ fi
+
+ if use pgo; then
+ # Reset and cleanup environment variables used by GNOME/XDG
+ gnome2_environment_reset
+
+ addpredict /root
+
+ if ! use X; then
+ virtx_cmd=virtwl
+ else
+ virtx_cmd=virtx
+ fi
+ fi
+
+ if ! use X; then
+ local -x GDK_BACKEND=wayland
+ else
+ local -x GDK_BACKEND=x11
+ fi
+
+ ${virtx_cmd} ./mach build --verbose || die
+}
+
+src_install() {
+ # xpcshell is getting called during install
+ pax-mark m \
+ "${BUILD_DIR}"/dist/bin/xpcshell \
+ "${BUILD_DIR}"/dist/bin/${PN} \
+ "${BUILD_DIR}"/dist/bin/plugin-container
+
+ DESTDIR="${D}" ./mach install || die
+
+ # Upstream cannot ship symlink but we can (bmo#658850)
+ rm "${ED}${MOZILLA_FIVE_HOME}/${PN}-bin" || die
+ dosym ${PN} ${MOZILLA_FIVE_HOME}/${PN}-bin
+
+ # Don't install llvm-symbolizer from sys-devel/llvm package
+ if [[ -f "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" ]] ; then
+ rm -v "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" || die
+ fi
+
+ # Install policy (currently only used to disable application updates)
+ insinto "${MOZILLA_FIVE_HOME}/distribution"
+ newins "${FILESDIR}"/distribution.ini distribution.ini
+ newins "${FILESDIR}"/disable-auto-update.policy.json policies.json
+
+ # Install system-wide preferences
+ local PREFS_DIR="${MOZILLA_FIVE_HOME}/browser/defaults/preferences"
+ insinto "${PREFS_DIR}"
+ newins "${FILESDIR}"/gentoo-default-prefs.js gentoo-prefs.js
+
+ local GENTOO_PREFS="${ED}${PREFS_DIR}/gentoo-prefs.js"
+
+ # Set dictionary path to use system hunspell
+ cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set spellchecker.dictionary_path pref"
+ pref("spellchecker.dictionary_path", "${EPREFIX}/usr/share/myspell");
+ EOF
+
+ # Force hwaccel prefs if USE=hwaccel is enabled
+ if use hwaccel ; then
+ cat "${FILESDIR}"/gentoo-hwaccel-prefs.js-r2 \
+ >>"${GENTOO_PREFS}" \
+ || die "failed to add prefs to force hardware-accelerated rendering to all-gentoo.js"
+
+ if use wayland; then
+ cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set hwaccel wayland prefs"
+ pref("gfx.x11-egl.force-enabled", false);
+ EOF
+ else
+ cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set hwaccel x11 prefs"
+ pref("gfx.x11-egl.force-enabled", true);
+ EOF
+ fi
+
+ # Install the vaapitest binary on supported arches (122.0 supports all platforms, bmo#1865969)
+ exeinto "${MOZILLA_FIVE_HOME}"
+ doexe "${BUILD_DIR}"/dist/bin/vaapitest
+
+ # Install the v4l2test on supported arches (+ arm, + riscv64 when keyworded)
+ if use arm64 ; then
+ exeinto "${MOZILLA_FIVE_HOME}"
+ doexe "${BUILD_DIR}"/dist/bin/v4l2test
+ fi
+ fi
+
+ if ! use gmp-autoupdate ; then
+ local plugin
+ for plugin in "${MOZ_GMP_PLUGIN_LIST[@]}" ; do
+ einfo "Disabling auto-update for ${plugin} plugin ..."
+ cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to disable autoupdate for ${plugin} media plugin"
+ pref("media.${plugin}.autoupdate", false);
+ EOF
+ done
+ fi
+
+ # Force the graphite pref if USE=system-harfbuzz is enabled, since the pref cannot disable it
+ if use system-harfbuzz ; then
+ cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set gfx.font_rendering.graphite.enabled pref"
+ sticky_pref("gfx.font_rendering.graphite.enabled", true);
+ EOF
+ fi
+
+ # Install language packs
+ local langpacks=( $(find "${WORKDIR}/language_packs" -type f -name '*.xpi') )
+ if [[ -n "${langpacks}" ]] ; then
+ moz_install_xpi "${MOZILLA_FIVE_HOME}/distribution/extensions" "${langpacks[@]}"
+ fi
+
+ # Install geckodriver
+ if use geckodriver ; then
+ einfo "Installing geckodriver into ${ED}${MOZILLA_FIVE_HOME} ..."
+ pax-mark m "${BUILD_DIR}"/dist/bin/geckodriver
+ exeinto "${MOZILLA_FIVE_HOME}"
+ doexe "${BUILD_DIR}"/dist/bin/geckodriver
+
+ dosym ${MOZILLA_FIVE_HOME}/geckodriver /usr/bin/geckodriver
+ fi
+
+ # Install icons
+ local icon_srcdir="${S}/browser/branding/official"
+ local icon_symbolic_file="${FILESDIR}/icon/firefox-symbolic.svg"
+
+ insinto /usr/share/icons/hicolor/symbolic/apps
+ newins "${icon_symbolic_file}" ${PN}-symbolic.svg
+
+ local icon size
+ for icon in "${icon_srcdir}"/default*.png ; do
+ size=${icon%.png}
+ size=${size##*/default}
+
+ if [[ ${size} -eq 48 ]] ; then
+ newicon "${icon}" ${PN}.png
+ fi
+
+ newicon -s ${size} "${icon}" ${PN}.png
+ done
+
+ # Install menu
+ local app_name="Mozilla ${MOZ_PN^}"
+ local desktop_file="${FILESDIR}/icon/${PN}-r3.desktop"
+ local desktop_filename="${PN}.desktop"
+ local exec_command="${PN}"
+ local icon="${PN}"
+ local use_wayland="false"
+
+ if use wayland ; then
+ use_wayland="true"
+ fi
+
+ cp "${desktop_file}" "${WORKDIR}/${PN}.desktop-template" || die
+
+ sed -i \
+ -e "s:@NAME@:${app_name}:" \
+ -e "s:@EXEC@:${exec_command}:" \
+ -e "s:@ICON@:${icon}:" \
+ "${WORKDIR}/${PN}.desktop-template" \
+ || die
+
+ newmenu "${WORKDIR}/${PN}.desktop-template" "${desktop_filename}"
+
+ rm "${WORKDIR}/${PN}.desktop-template" || die
+
+ # Install wrapper script
+ [[ -f "${ED}/usr/bin/${PN}" ]] && rm "${ED}/usr/bin/${PN}"
+ newbin "${FILESDIR}/${PN}-r1.sh" ${PN}
+
+ # Update wrapper
+ sed -i \
+ -e "s:@PREFIX@:${EPREFIX}/usr:" \
+ -e "s:@MOZ_FIVE_HOME@:${MOZILLA_FIVE_HOME}:" \
+ -e "s:@APULSELIB_DIR@:${apulselib}:" \
+ -e "s:@DEFAULT_WAYLAND@:${use_wayland}:" \
+ "${ED}/usr/bin/${PN}" \
+ || die
+
+ readme.gentoo_create_doc
+}
+
+pkg_preinst() {
+ xdg_pkg_preinst
+
+ # If the apulse libs are available in MOZILLA_FIVE_HOME then apulse
+ # does not need to be forced into the LD_LIBRARY_PATH
+ if use pulseaudio && has_version ">=media-sound/apulse-0.1.12-r4" ; then
+ einfo "APULSE found; Generating library symlinks for sound support ..."
+ local lib
+ pushd "${ED}${MOZILLA_FIVE_HOME}" &>/dev/null || die
+ for lib in ../apulse/libpulse{.so{,.0},-simple.so{,.0}} ; do
+ # A quickpkg rolled by hand will grab symlinks as part of the package,
+ # so we need to avoid creating them if they already exist.
+ if [[ ! -L ${lib##*/} ]] ; then
+ ln -s "${lib}" ${lib##*/} || die
+ fi
+ done
+ popd &>/dev/null || die
+ fi
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+
+ if ! use gmp-autoupdate ; then
+ elog "USE='-gmp-autoupdate' has disabled the following plugins from updating or"
+ elog "installing into new profiles:"
+ local plugin
+ for plugin in "${MOZ_GMP_PLUGIN_LIST[@]}" ; do
+ elog "\t ${plugin}"
+ done
+ elog
+ fi
+
+ if use pulseaudio && has_version ">=media-sound/apulse-0.1.12-r4" ; then
+ elog "Apulse was detected at merge time on this system and so it will always be"
+ elog "used for sound. If you wish to use pulseaudio instead please unmerge"
+ elog "media-sound/apulse."
+ elog
+ fi
+
+ # bug 835078
+ if use hwaccel && has_version "x11-drivers/xf86-video-nouveau"; then
+ ewarn "You have nouveau drivers installed in your system and 'hwaccel' "
+ ewarn "enabled for Firefox. Nouveau / your GPU might not support the "
+ ewarn "required EGL, so either disable 'hwaccel' or try the workaround "
+ ewarn "explained in https://bugs.gentoo.org/835078#c5 if Firefox crashes."
+ fi
+
+ readme.gentoo_print_elog
+
+ optfeature_header "Optional programs for extra features:"
+ optfeature "desktop notifications" x11-libs/libnotify
+ optfeature "fallback mouse cursor theme e.g. on WMs" gnome-base/gsettings-desktop-schemas
+ optfeature "screencasting with pipewire" sys-apps/xdg-desktop-portal
+ if use hwaccel && has_version "x11-drivers/nvidia-drivers"; then
+ optfeature "hardware acceleration with NVIDIA cards" media-libs/nvidia-vaapi-driver
+ fi
+
+ if ! has_version "sys-libs/glibc"; then
+ elog
+ elog "glibc not found! You won't be able to play DRM content."
+ elog "See Gentoo bug #910309 or upstream bug #1843683."
+ elog
+ fi
+}