commit: 8c6d230e9446e704bfe15c6a5ac5119f6a3cc6b0 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org> AuthorDate: Mon Oct 13 19:15:21 2025 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Mon Oct 13 19:20:06 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c6d230e
www-client/firefox: add 144.0 - add a musl patch (bmo#1988166) to remove a non-existing system header in musl systems, - bump nss requirement to 3.116, - remove an old patch (*bgo-962129-libcxx-21-fix.patch) because it didn't apply anymore - upstream bug is still open, but the patched file changed significantly and I don't know if the browser builds without it now, - restrict ffmpeg dependency to <8.0 due to 8.0 not working properly yet - there is a patch available in bgo#962454, but I'll wait for (upstream) feedback before making it widely available. Bug: https://bugs.gentoo.org/962129 Bug: https://bugs.gentoo.org/962454 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> www-client/firefox/Manifest | 102 +++ www-client/firefox/firefox-144.0.ebuild | 1396 +++++++++++++++++++++++++++++++ 2 files changed, 1498 insertions(+) diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest index 031c0cf4442e..bfa5bbea0df3 100644 --- a/www-client/firefox/Manifest +++ b/www-client/firefox/Manifest @@ -304,5 +304,107 @@ DIST firefox-143.0.3-zh-CN.xpi 469414 BLAKE2B 219d65bcfefe34c94358e6da7fa2cdacd5 DIST firefox-143.0.3-zh-TW.xpi 473018 BLAKE2B 27097eefd694e72c3c6061029aa802195ee7e5d58e6c138a870938b6c1ab0d81305b330d501fb4a8f121ecc110463043b82c5aa9e54c310d811a20049b5f6490 SHA512 3cb79077a9520e9b012b0da8b9ca6bb53b397a71389362770736c08274c5a113dead439ad5193972f5633849fb71ed70f0ee9bbe7572872b7cf4332c46020253 DIST firefox-143.0.3.source.tar.xz 647600856 BLAKE2B 85cbf8bc58ebfe0432b55a86bc4dd15773a2e1c5cb6aefd15418a20725c3fd12f22a06483ae0003e2f8aa41fefb8a4724d1b5fa6e260a5a56ea612d3f053373b SHA512 c092bd3aac79f856a804c908b76d40409ce052b00176269ea3029b5a3a6885d4d21ce26bd76c9ea13827ff75459b6b4b0566f5aa49035ac234ae5890c67845b0 DIST firefox-143.0.source.tar.xz 645597188 BLAKE2B 3e71ba1d711c2f48efb693738efac3dbede6625c2c3a038c777128635ea39e39836569c205540561e5f65a26eb460f3aa84a60d70df4ff728add043e10d62fde SHA512 49fe5e5dbb7539be3e4c517d3cac453ea9b739e61040c4ac1abcf3d6665732fba5ff91fb040f3c0294af0f8c2824235a94e60ac9c26e25cb14d89d4b50c8a911 +DIST firefox-144-patches-01.tar.xz 11552 BLAKE2B 2ed23067a40b1198c53171c558dd526679ca489f949b163a39ac20bcaf9aa667e21c8a2eb3cfd94bbac0edb1ff064051fadd8eb3c121ef2913719f4842549836 SHA512 fa5cb7643830c7d71f55dc32587c010bc9c2586dbf01653fee0e142acd938a02dfeb6604d374e4146615200ffa96f44b863d6b4595d42a835cf456c721c42e59 +DIST firefox-144.0-ach.xpi 293719 BLAKE2B e645567d9bb6ee95d6f8d8e544f847cb7899cc2da77f01a7e73e19648df1bb21c144b206ff9a36b92fe3b4b58b9cd780a968065616ccf4723f69dc2a0e2cf12c SHA512 51a127ab26b71665cbab11fff6763b38d886baf280a4f427c3eefe853493bf94bffbdc22ec65214b7e27f1cafe2ba603016da28ef5aae9cb3d0238cc23272f34 +DIST firefox-144.0-af.xpi 266811 BLAKE2B cca1f87ac2dffeb683011c7cff0112985cd7da04aa10bb2d511ef648730d9e08fa2e3ecaf2deed1d5f95c7ca9c616468ecb067fd73a5fc672bbb4a9d8f02e533 SHA512 867438ba596d17023f977973ff43aac1f64dd780b52d9b6d1b8edd9fec8db55672f05596a17dcba5d4654fbbd13a132eaad7b1b77e6ac314859d1acdd7c17495 +DIST firefox-144.0-an.xpi 331327 BLAKE2B 7d3dc2f24e8509966c313185a14a69a33460d7e558c97d6fda171eb5b354bebb6b8045faa01840574852024ba38ecc596c4b016d02487c0d3b08a6fa7ec9a0f6 SHA512 8566bcb394ecf5165463a20981a90ba6d48497b2174199acfadf29bfedcbb2b992efd25416adbbc5aceb70abc9f2849cf0ec0975060ccb476afef352185ca690 +DIST firefox-144.0-ar.xpi 444142 BLAKE2B c7c1b3a50cf75ac42a8a3f84a3fc6437456b0298ffa2c9b0af43d86890223de9a30cbdbe2c444fed354920c1eddcbdd734a5526353de5cdb6b861fd5270d57e1 SHA512 95c42e6ee8042133fd691b41f74b409256a7301d48b7e76bacefe8eb558bd5c1cb93724be1becd63028481a801385c726547cfeafe36afb220067b663da42797 +DIST firefox-144.0-ast.xpi 311547 BLAKE2B b24d55df0b60c879df1a7bdc7396ff02ff59b92becd13111f01e5f8d1172f6b81cae52263250eb583d8c18f841e660fff4881004a061c9f2c72d3b83b803bd6d SHA512 a39444f04531c27072faf69e9d303b242a3600cbf1243599029954e8d1208e6e07d120910e47ad45fce3af28786e85c3bcf49dbf3fcbad46b0c46a809e0090b6 +DIST firefox-144.0-az.xpi 317887 BLAKE2B 8bb31be3f6c6b8ccf6d71305abe808b8f6b999936ccf843fe481594c55bf310da3e87eaa5b15614461246dc2f01db4d281baa0ed6f972fe3d759fea343978a1e SHA512 9fce5db30862811b567e31eb0ca3a555318694db41b35f121b759fede79c8c1832d20d6473b7dd1fada7057de6d79cef77b335c858907e610d2d2c0e32685feb +DIST firefox-144.0-be.xpi 534479 BLAKE2B dbe4cefcaa2f634afa1fc79b40dfc91e62e56b6f785ec42521349605f6722c10a67fdb546ccf5c21eb688b7776091fc754eecab6aeaa5f304e2afb245857b996 SHA512 50e81986f6d75327c8ce08611bc87df237bbbaf7aab924043cb26ad6e51a3b5da38261ee47e195b79aced0854844a1859c06fce01ffa9c535faaa3d828d09e08 +DIST firefox-144.0-bg.xpi 457286 BLAKE2B 74e9e40997d05efafb8c26886a3ad54205803eeab7a08a28a4a9dc9ea6b1b16328794cf9d502b999c53631d228c8a05ade2aa1ae5ec245848f4cee9120fe6fb7 SHA512 38e570406bcacdf4f4e3afe647e009ff758a5a4792934ad2480dfe72bfcbd71b6a0d13d51e536bbcfa62fc5de5680f7ced9d44b343251e511c98d86e4fb0d79e +DIST firefox-144.0-bn.xpi 412308 BLAKE2B 7156b86d0363a3d798e7a90670d8333d5f4a69d82932e4bcf1560c4f97679f7eca7ed1320bbf96d90fdd7b2addc7c6d9b96228b36b1b09d1a5334a5d344227f7 SHA512 c68cc56dad18e5f466145482044ec30122af2d6a0b675a8200f5760043115f2cc36060e34f79d92b43fbdac4ff02da26dad1873361254a6fefa3fad2ebf0f589 +DIST firefox-144.0-br.xpi 393809 BLAKE2B 2c2da557682962f6aeab3bdf24bdf70645cd4b5e3ea9e62d93764d962ba2b9763b4a5a4d41a66b7ae58742a0213104804e4112d038058c40e58b7f54b8aa720c SHA512 1139f9c34573a92abbbfa06798dad32a2bbb63e409de6acfd856623348a09743bc776a6b12c341d949f8b7d8ae3003d59fe409a12d903a3dfadd836711a9cba2 +DIST firefox-144.0-bs.xpi 450752 BLAKE2B 20b415e039a08319ecf1e242d303d02f502d646f0597fc902009d428731864f127106fc6069b361714b719d4aa58f99f905c56a0dea40aecff0da8220b280e5d SHA512 03b70480f5e61cfc52f9ab4ee25f705521f9064d6e3509ceceadbdb9dbd278390585d36f117ee4794402e9d84f0785152b2ca4943853f659ae45abb76ad03d8c +DIST firefox-144.0-ca-valencia.xpi 357074 BLAKE2B 0f48867a47446afe8eaf268a769a9eee2e1111ee7ecedb8a12ebd19614f5ee101e9c72a0738120ff7c4f80dd351c653e46eae32579d8e688ecfe398bff0f7661 SHA512 38e7d29e72fcea0167a23740c2a781553926e4d7b1be685778f01a4fff1c30222045cc47c40e0c85a771a57286eced4d6fa021523c9873fd11a8f326752b7e96 +DIST firefox-144.0-ca.xpi 406772 BLAKE2B 8813b9088334691d2d3c0c11ebf073c95443eb906278217aafe878b7d06263bb9e3678ca136abdfe2148a504db9b3231d97bc5d8548616e5224a3cac4b4faba2 SHA512 9d2a61057ccff1ff28cab9953d4f1b30cfe79f9a2c37d481739c6975560d13e2f838774b7e2f20876dfbfcac7078fa786034d4f33eb81e531fbdeac0c26d4ea7 +DIST firefox-144.0-cak.xpi 389321 BLAKE2B f30bf0fe5fff1ca9be6f4e1d3abd10e4d5670708de89323ddd050515a64be4ebf11539edddf215b3575617fd842e3a14406611c27335411469de46517f6cc85c SHA512 1766b9b5a54b5f3da512097f175bb73aaf8b2c5355fb0e4910bf337b880238737d24d3ebf4f945df50b70448ab7230fa79eb7640ef8fef874e38971013b65e46 +DIST firefox-144.0-cs.xpi 488407 BLAKE2B f17924a48c193164327ddff3460080cd81e59928ded181e975f922cdf63e90268bf8c4eb43f4812c70a2cdda6b1a83ea99d922448f31de348a2ed4e09281a151 SHA512 0c007e5625bf2bab9aef9e25c72f9f8c583741834544fbd07f8eaba81f2b69fb22aa95d2c50af0b46e2ec5e4213f1b1ce82132ac61ead6f32fa79c1aa1ff4bef +DIST firefox-144.0-cy.xpi 453306 BLAKE2B 364a7360aaf5d810dcaf0205314b9d14e769294933ae613ad8973d3a7b0755be00edb4f80df23f4cf569f97d7f1b04a3c458472d7775f42298b5c970943bba88 SHA512 2d775967ded8ee3c90c6af5354f5ce4e874d2d22514fb0fe92305208a4c2130dd5c7daef50de04a4523018e270a9b331b167fc2118d593336bd64b7208a9e053 +DIST firefox-144.0-da.xpi 441680 BLAKE2B 2e3332b3da2f7a6bc15940fa81149722f765543e01cac6616f05acc3a70c21a3365f1c66b9196df348af1e79a8c67494d91e7574c64e922a450414849bbd2d1a SHA512 f846322e61136d5d1b8ba0e89abc2852358e7c8fea1110fddc86667d1eda211de9921875397a8ed0242d636ecc1b70b185850622841791b310454fddb18bdec0 +DIST firefox-144.0-de.xpi 463996 BLAKE2B e1ac028a626fbbde1b4e08164a2a6b0dc95ae5a8a34b959187288d1bc95b6d412002442cbedcbf219d60f8b545a9e49c597a059bea4d0ef2ee8fd0590621a9ee SHA512 49ce76967ab7209476017cc82967cfc8badba0472a8b12fcac7c452055dd01067c0614564ccc81efb43f40c10bf60fbb142cfb1176f2c7449bb7e6a01c05ffab +DIST firefox-144.0-dsb.xpi 477865 BLAKE2B 629bdc2def38126ca4b337ebcc08c072f95d070c42b12af70ca542c7de137a714508aa16cdca104b4e50666c0281b2b60591069f216f74722d72b9684ace5d1a SHA512 b7a74e7bc46c7f417a636d1e0663cfc601add1c39ce725adba9359f1b0ac774fe49897b04a910ba4eee4b684ed7817532473c98b1d62e06bba3c664d0462ed25 +DIST firefox-144.0-el.xpi 549754 BLAKE2B e9fcb255816a81cd328b641acf7e6d0d27de7f3af6c918f017c492b5514b1469cad1a4f71a6e899601eef0a63ebc470cbc08987e834632144c398f1208366cdf SHA512 487f3b10582fee45650d3026b55726e9db7b0aaa9228df8c1808e7266d79b2beed9f43bb885a078027b18f9c0151a96f88e6e4d33d93f6a6cf11279690201d36 +DIST firefox-144.0-en-CA.xpi 418884 BLAKE2B a70c39dbfd55e3457ceba4037e0d7cc0c6f43454a280930056710f7648eb41008d819310d099b2cb8f944ec63ee9ff41c32652a50225940c17ef882395017464 SHA512 42410d048e1f06dfdf651c3f4b8715edd8b1cc76f51ff5ba841babe9a0879454d6521032a8ff16996d50371385b4dd6203225b0e87c61c84ed9369dd4f6ab807 +DIST firefox-144.0-en-GB.xpi 421156 BLAKE2B 98924a20a8b2beab534fc67e3da5547d1bd1f52692f72b831afc617223df3ed0f1a55ba48adac092067fe91e3ef0a8449e65696e0e0eef0aebd405de2ee795cb SHA512 e4ac049d04e5026860388b5d7490d025404667a5f62a73fc0a8e7dbfa8e521c1b279ce62872573af0c13c6f505909c519dc66c343582fd28c1b12d52c1563aa4 +DIST firefox-144.0-eo.xpi 444069 BLAKE2B 9f77c4ab471c043741bf9cca21fb8b53b7cfd0cb1a266ad6994a037a09d01b1f589086edd432d734faa4a12a70f5f0ca14d974ab011b5aaac01afe7faac5368e SHA512 ae85fb109f80e692f9af827f9433c77e22800bc043976df1bbcf361fddce83bed68f465cced6eb2351bb5dca2f05e1e9da4742e37fccd44e99125f7c96617311 +DIST firefox-144.0-es-AR.xpi 456142 BLAKE2B e10faa168cea2c062877126ba39f84e6a1e551ccb34efdcd6c9cff7e31855df23bf79e7277306318921dcf60bb2689b96ece5e5575b07e7318bf3093767a25a9 SHA512 6569e74cd749a39cc74f48e058436348a5280db6951a48f1d0cb616447c4052cdd1cf90f2c3ca90332ff0bc2630269773f2702b134700b836c448f1a152027dc +DIST firefox-144.0-es-CL.xpi 457173 BLAKE2B fd42389d0add849cf8547cd729c559f18b86ebcd810c7f0efecd55e54ffd1f59a688d8aa5943765fada8f952cd32b63a5f6c316bb65c3715aadc6b531c687866 SHA512 e400be506c271e0a9e615892103401dd360c8c72ef2fdaa72d31a5066ab6dc161fbf0abff3d87273a8a0ea94bef21eb412c0a0e8aec9fd8576ebfaaaf325fa02 +DIST firefox-144.0-es-ES.xpi 457908 BLAKE2B 576f1cd3055c82ed6a8a231a17ac5aefd559fc7ad8f105d73120f67778e3ebcae006fe81f6a4083a4b8058a56ab2bf6045583d1631ba493676d1703dc4804e63 SHA512 fff8a2a507a24bfbaa2ff711ea41f031ae36c3c562efb3da365bf219e87018aa2c2ffe92be547810e571ec0565684c6ff98fc3c26b471572cff6b250cc8a67b8 +DIST firefox-144.0-es-MX.xpi 450493 BLAKE2B c1d96eb335219794b172dca6587eac24dae724830d14685875547c494525518ba53ad1cfa1ac1bab665c4cc1197f8f99857c034f0e6b3725ef82a669237f5631 SHA512 579c08ceb702e36b17ce423549b95448067c1c5f06d40e741a2b22a09c76bfba8f77af0f95f3b8ed8c222286b48b08540bf3c9b83b9bfb01ab03056e2dcfc875 +DIST firefox-144.0-et.xpi 358187 BLAKE2B 4ddce62a6473fa5c11ecef64a79e140c7df3c0a77ad6bbf2aeb213918ed373e76ec344ab8b9a20437ce3f0eef3d610e8173e8992376be612ec174b7bd0a04b43 SHA512 16063669d434437f68b07a41fbb9de46ef7ec5c8faf2a2eb9c2043fcb2e6c0ccd24437dfca43e486ad565787d531ebe935cee8624d3d3830276422c60f42516c +DIST firefox-144.0-eu.xpi 419049 BLAKE2B bf631d0bc3611ef1c6919c183c44e554e5118a4aabf68a725ddd10bf679928e5751a39815b547c4c58cd1b945d2c1c148b8a2b5b5512eea2f67a023d69830096 SHA512 eab24e0c1013ba13743ce961f61cf45e83ea0b53709b520bb5ae0671e63d1096d797c0357662233e61d923d8060670e8a05209efaefefb32ecb4f2b4a381a308 +DIST firefox-144.0-fa.xpi 418867 BLAKE2B 1d5606f6332ef02d167a179382b91b4c05a1728ef8ab4f89958795c717323e377daba55c34ce2174593574b8a5a1f3fc612e40f49407b63bddac774ba67369ad SHA512 42b598bd4ce9cf79afa579254de14da959b3fd9c07f71b4c9a4918ae2726e6f76a3413a1c15f25e9f1047bdd0eeed52053089194e81eefc5a22c184980ef8a92 +DIST firefox-144.0-ff.xpi 309462 BLAKE2B 5c37dd40a4b66550a82cb79eaa2e7a9f14bbbaf6a77c2f75fd4ccb2f62fab711bba93a1a65e502d26308e47c19d78d6fbaf529212329d49e4c7a531deeaa4698 SHA512 64638efd4ddb1500cc8b942c9e8f687fdb536577c8f83a19f7d083078dc3787e688508489d29a59c2e21fd5f02b6fd84f8f27b8061307c91fbbc91785489b025 +DIST firefox-144.0-fi.xpi 439664 BLAKE2B 3f73a05add653aac805d567901ca828e101e1c808fde0e56379d16270175c601f72814068d46b7569106f425e3a295156ed74e85412c7142132462cf032183fc SHA512 375b920be5134252a2fbb3d8e8f50ea3f4458bfb144a1572b0d99a595ff8e308e67de38bb470a8691d5eb5f4e04acf0dae219aac3faff0b539455acdcdf4f7a4 +DIST firefox-144.0-fr.xpi 469789 BLAKE2B 81a4762c2f8653c843bb27c840b298a2eb1ffac06bcdbc819de5ba7d2911aafdf475d6d755248d329159d23eedf1ef5c209c0678c15125ffd1bb9c3235169899 SHA512 a8cb0d06590244072ea0e0599c75bfcb9109454fb46216ddfe4620f2d0a1b5e559795db93fb368cf0bb1d3cf712e33bfe0f22a62c15d48510241d35486da5dc8 +DIST firefox-144.0-fur.xpi 459856 BLAKE2B fe991699187ec7d04ed2553e1a5795eed5699155127685fc1161f41aed3ad87d7b8d38fa57b6625a3a150ad2f98be4e6c10f84a34818f00880a69a223696058a SHA512 f83b456948ab0479f5d67ed70b97f4008286993f69a804368eeda9afef4ddc762bed157ec18b55d6cd54e8fc08171ed105c73da476f3c4abe3d1cf027c4be4ed +DIST firefox-144.0-fy-NL.xpi 452860 BLAKE2B 0dc54ffbeb7aa89ebe695da505516129b38448bb8491b9a52ef3bc6998218fe53dd83e9e94c4bb85787388e4936c8a1919bfce2570837f3e5fb27e19c406934b SHA512 4f67813f813207500d2c18fb2d19f1baff3990544c656e099a3cec83a7ee1cc6beb59cfc2d86db3eb7bd8bb014a110be4455e3bf6feb3a705b53a4b97ea33318 +DIST firefox-144.0-ga-IE.xpi 314991 BLAKE2B 3a187ef3fe3225b061284e2cd0b873f47a582035ebee19f516720869f7ce40cb5ba8b06e84290d57e7cac113ea319bb0fab8b9e29498807f4557ed2c90da686f SHA512 8c343372e2e75886ea13981896a70b037754ecdb8da05d01633f6bbea457f537cfaa2618e6dad8079bebc3f538c4bdb61279eaec8f78ede2865bafd3307a9162 +DIST firefox-144.0-gd.xpi 397931 BLAKE2B d9e7019c01f1f82cf06d8afec31c4aaf9b9c87c46bca0bc2b442c8b9ba737571c98de6769953c2a88d7f0e0349ddb42753aa46b1010e765b87bb6517cb12b1da SHA512 3474b83ccf3ec2fa16402b54a0e0be4001322995a8a45190a0e94ee381a5ee4ab918fd8e18397dfc0aded2b401d67a534c1aaf252cc8239c5f598f987f7b9ed6 +DIST firefox-144.0-gl.xpi 447016 BLAKE2B ad06f52a13558c9f36e368f4c0e21ffb7287fd138683e0580ab9c5d0b9df7fe492ba5f741322c9137b8ce870eeeed83b8a101102ad0186713b6d7d5e4451f22b SHA512 56a5a55eee45d78f64e14bebd5a1170a0c5c078f16cba60eebc759b15b4493aff769bd8ccdcb5fc3b79da09cb2e15fc544cddf23630ab48b1ed210fc71efcf75 +DIST firefox-144.0-gn.xpi 460517 BLAKE2B 9567dfe805ec3af95357d299ebc239b1cc02b48ab267c81f3e10bf18fe8408260ae1f7ef630e85ff9fef24f49995401bd970edec92a4dc9cf875adf63964ad3a SHA512 88b9111beb3d6f32d8e8f81b444d7fade21d023119aab3746551a7a4b3ca0dbc9723509623393990a3a38370caf7085ba831b37884e4a47da16bd8e90e612b17 +DIST firefox-144.0-gu-IN.xpi 357868 BLAKE2B 85926543513f0757e42e3e7ab5e0bab4b1ec421fc99a8a96f72ad5c6f02ea3b791e89a8f51680584ed7d20ab200c395a78eb4941dffea6fd61cd4d00f6e1751c SHA512 69e8c89444fc5445afe9872defcdc1dff475a8f2e79041ce7d082d182af6aecfb032eb61c45d8af52862077bfad1c4b6c29931621fea422fe9871ab467e4866d +DIST firefox-144.0-he.xpi 456019 BLAKE2B 53e7d175f0d46da40e4ff303aebd2bbe63fcb876caea98bb10c1943cd6d00e648ad64e8aad34cf5b187d72b86cf7eead4ffd4b63af97a366cf84c2dc194f994e SHA512 9681f7da504934a132b627c91fefba8bdffb798a5384d7dfe2448cbb053f6990731d411a0782f212f4566f73cb58fae50d3991b458cb7a526d7f989f97a595c2 +DIST firefox-144.0-hi-IN.xpi 376617 BLAKE2B f1b6025349ea703f1b2c50a42f8561f96480688eccf80f754271581671c02051e7bacd54f0fb89b84f7ce9bc62b0af2e4f20342aea2bc0cb5348a7a490b4757c SHA512 71030c68ef8ec8cf79d441d79da7a23097ececd716ca10811346ad3cb43301843ce489dcfd84919c133af1873aa6196f96f3a8361804d7b2172e5314f0ac9eeb +DIST firefox-144.0-hr.xpi 440111 BLAKE2B 3318722b6322bcda0e26dcd34fb640761a304b2588f8872295b6c6414262a57882c7a85381699710f4a7354b83a48cbfe3ee52b4f5ce041f3bbd061bbe0ab0d6 SHA512 d158d6c019870b8afc20b99c7a8e2454301b065b190d5f6fa74c6c440d7412172a4aeb557ef69113f7717fd90506010939b28724d4a6c72ced592c83f2812cf9 +DIST firefox-144.0-hsb.xpi 474389 BLAKE2B 272584508d8a530d41ee481f375d86f3f019019cf54df7217ce941ab0fb9f285371bdfaa309631f1ab1d241e1c2477b5ca5cc1b0d92c22e50bb088bf5ef15e4e SHA512 818495594150859276c9f475ce468abc984bb005268b9d544573066491eeb07e42df5c99ce727c3e6c2c2a0747fcfd1aa9aa9a2e58be288b6e9c9e931b854319 +DIST firefox-144.0-hu.xpi 476476 BLAKE2B ee741404d2028756aace4a4ebf4da4db56926d80779eccafb9845b7de260dcc03bc1a1191f598b3aceaec209c805914653d8defa04c5d5429a1b0c60b6f64337 SHA512 9877124101a56dc850eae1fe85a40c6cf9a7abe220078400f17e0ac5b479d7c568b1031f597bb13a5364522fe32f3aa390566bb72ed17d4e0f2fef7fdba6ba24 +DIST firefox-144.0-hy-AM.xpi 459989 BLAKE2B 4af2f1c1a4f9470da91ee3a2b5fdcd4d5500581f7847d7a888bf1c1fbfec8022bd300006fadee7a6fadd4111df435c4217c1b29d32fd9f5c34781d2f4845b603 SHA512 0f5c721a99666ef597a262999b65a8a4837c59daad1d9b93a8d93b47f6eafa558bbc2c762d3fe9b2b6a94df0c99c1882a62a32c084f7c57feb28a5925fbdad71 +DIST firefox-144.0-ia.xpi 440546 BLAKE2B c6b57377bdc7f4a5bc3a5f559c6d0adf62388c0974912ce4c989bb3e5db562da903251f2c3a46bb9a77d062393adc41794b99707aa5c6d610812ce4672afd68c SHA512 9b5d3e37d077cf7abfc32dec85f3588cd94e7d77e82a99459c9aefc2502fc9640c8a63d9463221f56beba0fa0105069c4f9ef232bb308ee0d56b8ae8d35186cd +DIST firefox-144.0-id.xpi 426976 BLAKE2B 1f5c3580522e2863d20220f1892438167c34e314416f2281a89a0c457196ce9f3b67d3b86bbac579d48370ec55e58e2f675e642395d4642eed27559b473efc23 SHA512 37dc742842fd624ad2ffe2bea8f154ea35f5af898df8f42eef58a462d0649bd9cd3fd70fb7e6e8095c0baf6a56856f153f13f5707ee4bc5c0a6d6a68c1cdbaa5 +DIST firefox-144.0-is.xpi 436883 BLAKE2B 880d77aa6febcd81fd5ce51fd4adafda8e790b39800f88f31c53f3859ebf12084e341ff351dda07df52bb55beae0f7a1c2bdbb705d4d07537001e14a96d5fc92 SHA512 3fbc99d4a3628231c8b86104250360308f94103d996afb8aaa3e3736603734476d4e172a03d2665a788cd82ad2de844af8a8fb5743855befeb1d5458b9c0619e +DIST firefox-144.0-it.xpi 451638 BLAKE2B caaf3965ba9a36916cd8a9dd549925fd4378363d4aa087c7091cf74a226d2e7041389a788359f18e5e56411a1df56f92afe37c242ed84ea95d8ff8ad9cb29390 SHA512 9478e7e9701909c6bf11f32eba391911fe6bb3f58d7217bfd99570f4db07212159c9464fcda22566f1080b68e9ef1b8016c0f217c1b54d64535838002dc4339a +DIST firefox-144.0-ja.xpi 492515 BLAKE2B da339a429240a7f0c9ca6f8a6bb655518dc90956e24f0b9c9f7eb58c379694e88623d355e84b2afde5fe8f65143dfb584e1efe9acd575e812af77684485e1ed9 SHA512 4f256b203032f878ed328ae215a23640862993cb9ad3bed85e6ccd9c996537eca4d2612941932fe28f2b1459737a8d182a2f4ba9b62d1d5b166a7ddcf09102f5 +DIST firefox-144.0-ka.xpi 507866 BLAKE2B 70f003ff5c2a4b447aba5d5749136f72b57007daa46449e9a2aa8ffe84af1f5af71476ff7f16fdf317ab37ad9711fbfef8422955d3a198b63421731777a60530 SHA512 49db12c9595010a3174b7947aad8cf856bd491a43fe758c2a5fb7ed049040d4bdede884fb130a4a6b443e0ab7a931b9ee266b8fd07e06eb0bbd5ab21a2da5208 +DIST firefox-144.0-kab.xpi 425240 BLAKE2B cd92f4d0371cce9c1d210c6c0581f23699ac8451b7c09cd9b1ceacc5787df30edd3024153e5719be71ccca4903d9b44e121ee786c7e165c4423ae15df9c0b164 SHA512 e44843c8068f5932d9057d1824c340a571937486b55ce281b8e67ef1b4e4b2049d00ce8eb60984357fc0fd1f31f68717ad7df85852b9911a531c04d9961575fe +DIST firefox-144.0-kk.xpi 512855 BLAKE2B 6abd39fadac665879f2f991a9fe4170388c39d6ffbbd387066a664fb127d259360b330746e075ff6b9b440cbda7394f3ecbefb6f86e329375e78872ac7963f45 SHA512 1d92d7f56cca147efaba82861f817bdf6c9df8b0e5dde30a8acd7e2107bbd2beb26fd7fbeda1b79d81911accb0780925d9fbcf3aff3cbf2d81e8a3a8af7d10d0 +DIST firefox-144.0-km.xpi 347219 BLAKE2B 5d2936ccf1866d477fc142e5e0af4187393ee64d7c81a3d14d3e64a1454d3bb8bd4cbc66273e7f939dd0ed91271d0b9bccea7222ae6cfc28078d63b6bf73e050 SHA512 ff0dbc9f10e38b9f171c4eaaf0782aebf7da00cb0ac9c42910533536be70077b13677be4e89ceb66b4286151de5653e91bfa0469334d5b5aab02429c2a69d6d0 +DIST firefox-144.0-kn.xpi 331507 BLAKE2B 013b98a8c3ce1075283db77253acbc03064f3a4063299c05c9f51213e620a050937235f8b1dc5a2d65693cf0671069e907b83c089f5efeaf5826d67d9cbc78da SHA512 7e47412315b423e1bae6c7892729e8830ae564b93d1ea97c34c5fd29572480201ffb6b1bfadb18b168e301776d877c33368d10e3141dbf822d640f9100e9175a +DIST firefox-144.0-ko.xpi 478501 BLAKE2B 99e3628eb63d4fe4b25856b9c168307b9d4f568836415790b6239634c518212f7cf197bd49f900b57c944b2eeab884667419cf00c6985bdacf54623e7021f10a SHA512 c9fd07761448431aab6420829f9dbd49ab88ef8807f0aca1ed29954b283bb372ab0d0a2f480738de99dc344e8f68c531688f2d38aca4cf0640390934e64bd4a5 +DIST firefox-144.0-lij.xpi 318669 BLAKE2B 19d09edb70a7fae8bceab04f02f126f650e88a65ece8f89c6e20addd132a2ddaf768f436a48ad0c5d4ed663c0b7d0475ecccb6e4356557cc7de1d82bcdc14a1d SHA512 3bd7dde7e5f74cc928afb71695f9ce06a76ab67488bde1fd974446115d3810810731433c6bb35602eec79142019ca5af3cc9904c7b39b0e5fb72952dbb839ebe +DIST firefox-144.0-lt.xpi 378781 BLAKE2B 7361d8d49dddef5d3228a49e76096fea4c76629f945de7383ceadb888a138a299023993da4f7e950565b1b86b572e231809d6033754b358032d98c9b276e6a07 SHA512 5ccb8c3cda094a729e1083a8004360fac6a16824bebc6c7eadcdf40fe14ad29567610725a82540dede1f3a51c306ef38ba8c137f7e7d9bcf86116cb13fc6a060 +DIST firefox-144.0-lv.xpi 389936 BLAKE2B 3a69eb3264173d74a1f59122d0ce7eb161c23d220e39803c80a1c855edd50bb0151d1e790940bc18b5ea063a5caef4818367ac2e1bd0824c2f162b956ac21062 SHA512 d762739c0f97ebae1e59bf3fc3a6b2f86606dfcef28150bf1a8daa3684d24f5dcbe2511e6b71170a64c0f785a72d8f3e1521b0c6a736d2d95f9f709b1bfd7e07 +DIST firefox-144.0-mk.xpi 315991 BLAKE2B 01f4ca2cd559e23461efab01a5d82ae43d2a2d1d8c8c26c26291dd6e180a796886009db91e051d44f3cbead6395c9d3e03425ec8d92994899135d949df04b48a SHA512 52f2fcf79f1a57c46f18c58ad1b941e1694867be9d80063660fa4e7e9636bc6c19e41fed945c62a0554cfc03670fa889a74f56c091d3db76cc0e00375901b903 +DIST firefox-144.0-mr.xpi 355567 BLAKE2B b39c00459e6721ef9065b6bcd317b93816cf20e7939bd2159b489161fdc15f128733b6b925d167aa5e5ae69e5c2bd1c4bb22689575451f744ad67c915fa98b2c SHA512 c15ad2cdaaa663426f42299e177a7fa6e9a15e94aba29246e4295fee9821f2b92d5dacd2c34cc930fef73c014c712dfb0ae9226b1ea532e0a597f5c38003af79 +DIST firefox-144.0-ms.xpi 295081 BLAKE2B 9225bf0bdef98a18fa7ef0b53dbbbdc3e8dd1b4482389c6286a771e357680a638e963a2a8fcd787888da40afb60d2a7d4c0c102dd82ebce0142172d377201317 SHA512 b383105edc4db260f9e5b7f14d3e9c2b09785526435a7702cbaa3789f5d66144f20d971afc0062e01b2729875d4e5d1370139945813aa61b3ef4af1e065c2eab +DIST firefox-144.0-my.xpi 342298 BLAKE2B 602febd2ca0747abfb839a22ae930c09ee05e2784772c11dd6140455d8949828f7e7663ab79fefc76cda2ff1aa6b5dfb8a987ae6e6a7fb8d05ca01c099c72b77 SHA512 b572eff59fafef0d63e8540960a027afa43519e23e95b041cad0153604a3dcbff80addb8980069cb659db89bed1ec1ac20b72187807b125b52bd048d0b3f5130 +DIST firefox-144.0-nb-NO.xpi 439943 BLAKE2B d33fd671d23049fb5544aae84b47b0c46ec2102052a8e5446ec53c1985658ce46a2676e5a43ed439ce5b931cf65521c3d0912c84cb70ca4f47a6a3e5a6b4dbf1 SHA512 768682092b9db12dfcec710c6e8b641ae14335ad6c2c3607a11ad9e179db47dfc7ddaa7a14f5249ae033012540b7697022b098f58762a864e105f13fedcfb26b +DIST firefox-144.0-ne-NP.xpi 347749 BLAKE2B 6c0f9e2100dc0408460a2ca46fa1ba92c42226561cfeeb3f97e602ba02ae26ed197d30b517bcc73d946526ae756cf1e9f58f00c6e891928d1c7ea8c8d8d7db9f SHA512 cdabce8fd432aa43a7ba97a0f6058b4ec5f560c8467a94e794df3caff21095875cfa9071bba1534f97b45efc1a3f22d257d67c7b1a77714eb7958178e00c8070 +DIST firefox-144.0-nl.xpi 446816 BLAKE2B ba178809e0193bb6b8cdc64c3a1cd8c07ec579ad7d2e57532da2e19861b92f3f86eb33621dda37d71319332b75749fc697f7b071af4535aa14000ea8acc62cda SHA512 81b2e19d79970ef631d5e281ba2f9208dfe1fae86aa60d1ec72562abd0b2fa3b05fdb1ddd739b7d719caa0ddc6f0f21fd7116cf0766419f7d1788065719c5668 +DIST firefox-144.0-nn-NO.xpi 442213 BLAKE2B bf22e0e2cdaa659f198e8033ad47da921bcedc6758ac478d61f44eab5598b534b692029259889ff80c107291897ec3c97dd1a3cc2a465e4e9fd48e5afbb0870d SHA512 442f2956fde9cce9166d9a8a3fef1a29e7e8f650d18403b8681e2005816595e558586c6e94ec0423c5953aacb6db830c7654756c6b1d470957e99d7ae89c6b2c +DIST firefox-144.0-oc.xpi 409378 BLAKE2B 3437eade1885eb31b28f6a70b5759b1e794743e29478d84badbd6173c20558c9b91e96403d6fadeea15f4c2a4510c72039bd0247962d8722463ebb93d3bd5617 SHA512 c3332a64f5698ca2ca61beaab843471f17a852d8d41323215605ce2067419d6bd3e0bc1523e987cd8844d2198a7dd07fe4c98ae3c70b10fac14fbc5a4760dae6 +DIST firefox-144.0-pa-IN.xpi 501745 BLAKE2B 668079332f26a4cc1f08f902ad6e4ae12e3d8b9f3d17f4a07367e0d99b0e66cb716ba2e913e199d14b897aeaf2448187f8dba59a673ae688b5586c435dabb16f SHA512 841d2164a9fedd5740f624e7fdd00a42156c68708506cbc0b5cd2c3f64510ab0122a7b5b0ccf648390138efd13f78820b66b053b723bad72e90ad31ec87f936d +DIST firefox-144.0-pl.xpi 469674 BLAKE2B 16593cda80543dd13d63e3387bca8475dc60f6782fd6abcfb230407c3f962e5824bd57b76449c3543d09cb56522011736d9cc8e4dd09b7ce624099760a72b309 SHA512 f65254ebc30606975a234b6c275970323705759d351d3dcd96e4cff0f5d3368b81925da13714c57156e9c793476faa014749652c31bcdb55d2bb9718f1ac2700 +DIST firefox-144.0-pt-BR.xpi 451301 BLAKE2B 3c2b773794fb61540778bc4c21afd75e01c98c874462f276722dc03e9a4cc7e0274f9d18da41d6b54cb5cf0651a40aaa7dad9ebf309bb357940ce7dea4933c51 SHA512 c248e4f8c4a81c530f7aa16e08e13ef87587e11eee49de268a4862f942f23f5c7b3a180e4af0ef406f1972e89df58cc526e00b3012b2e06703cf32247102775a +DIST firefox-144.0-pt-PT.xpi 447577 BLAKE2B 2acf55f9e8aad60a4d74b11fd376a76d35eb9e01f672cc1de4e7a8ec84ac360fcdbe5411f8d64f1b26d63aec1fbc3eec767b6f5ffa498473030fd460b85ab284 SHA512 337d09065d0a7ace1933605577a8cc7ce46cdeed7c1fce79afacdb3983adf322adbaf2be7834125b773b8aba7264bfbd9df1b2c58cd8912f6d7261b3d0693312 +DIST firefox-144.0-rm.xpi 448173 BLAKE2B fbf092bb497a82d673bc9caa8f7d973feafe56e2e808a97a9bf2b35935d4eb7b9929a502e5d0f8c3f657fb8bce09f65df8620cca872404cd656dd777d6809955 SHA512 e2a741761dd316ba75efbd5c88ee7df987c330dd2b177ffe96237caa2d3104f6c4ef7377d78f94eed735fc7538a0167e1468afbf39646780da1695c5017bde43 +DIST firefox-144.0-ro.xpi 463909 BLAKE2B 894cc941f3653f41c78607033a2cb7836d49b0315aba2c8b70f185454f1f492cc79aceefff39a34abffc2017fe453e491064924f4d9c93f046fb4075311df274 SHA512 7494b6501f385781ae01fcd8ac2b40769e7c54890a85b5741a85d6e9ac7cfabcc778122c45c1a86ac362db6f4c8625abeb5ac9590d91e1825e5b90cc154929c7 +DIST firefox-144.0-ru.xpi 538355 BLAKE2B 141d85587108695454ccb0037ecf361e98f4b0de1e52a786951cbfbc840ad6b870d0f84c6084ac18acf1d39d8948a6083217f6e13df83e3792f153ddaffc7470 SHA512 3f0b10d6c1f79016d26b9a1055c011da376f6f16b919d3ac6a54f2151b50169dae5cdebadb287ecc37a38047c02d1a3133ab63bac064d046432ee3a7d7ff9353 +DIST firefox-144.0-sc.xpi 413709 BLAKE2B dfea8a8a25cf1d37a9f725a238149a3b0a5b118cc8aa7856c209956e1abcd6850265b15af9736ea9f2c58872ecd388bb8c48daf47afe97baaedbc8a134bda81a SHA512 4d3f2bd5124bde2fcfe1dfe54d78708d02e9666ad0fe4c92a72dc001ebd18a87311f60664430f17c1368d6c9359853a31d3590c31d3d64473c88d9399f8eed06 +DIST firefox-144.0-sco.xpi 321631 BLAKE2B 52f149c4a04c288a9644c1c4b1c7d0348d7d7c77481e3f9375aa00bd20cb7cb142dd1b7432008e6f1c508f046761d8193db2c4d9e782a7dd28d4eb85319a4e55 SHA512 66f356847c1ecd66d17bd2007c55067776c9a6911e2dbcc21a7c83d64130d367b56b1ca309a5fd391ea18423ab54e84fe5db8fc7bfbf8bda22fa0335ff0bb752 +DIST firefox-144.0-si.xpi 409642 BLAKE2B 2b692a05dbab5a68d11df5a01abaf217411ee5a9a84051bed373f119aed1ac81e6922cb3aee34fcd46b701a6d3ea6ce8761e5b6370d44f6bed88c7c5e7f6bb65 SHA512 d820c24822169c6b357d24a56551f5d4fa6aa22af97a571faee02b9c1c9544d9597aa2aaed04a74c07f48133bef357231d0c5d650d0e388098a762a01c835d96 +DIST firefox-144.0-sk.xpi 480086 BLAKE2B 049352aacbac8f787d6aec223b4979234afb4f6dddad31d158e7f0cd6518a108be750da998f3f1f799290d6329717872b37e1fdc4725f603e768a5687a083ac1 SHA512 fe5ba5ae33ea3d3cecb85b03a1af925636d7f08745f11b7ca72ab93ea1b4051cdc8ccea178daf22171a1306d61e88d433190a758ea495179b292fcc67ca36414 +DIST firefox-144.0-skr.xpi 483916 BLAKE2B 31e7259ffc2a927b154883ffe808075934b87560600f1ea8605f6f13efca9c0f431de6251a9c30d2c894486b1f722447742a680a104b625d293b537dee66109e SHA512 78db8f8fab1c52a049efba8fc8b9ba70b435eee45b3ddc00e6b08ba657d39fad7a5d3293deae3827296f8aed10d20852ab779dc2e3a3c3cbd3d506849fe8d9b2 +DIST firefox-144.0-sl.xpi 449577 BLAKE2B 8f986cc4748fd73b7392aa4e2ba9ab44796c430249f0a1d65d7eb4ac27f9b7b7968cdcc3f835bfcb3885442070ae2dd6eacf3f3a6e10b7bd90b526adcc0edbf5 SHA512 77d085e56c0adde5aa6fdcf3c07af6c5ec4f846e88416d1a10200e1d6321b73e78fc51f7d3337002973c23f45f5ceace3ac8a33ca96c2cbea3305e3718a9bfb9 +DIST firefox-144.0-son.xpi 273350 BLAKE2B 8ffba54eb96895d3ac29df1b505878cd65c3963057850a917f31837832605988e744d6fca09ea09c94b7f2be3b97598e055d18551102f54118fb20ed22e191bc SHA512 3c44d3541d71ad25f08513076ae2270cd406f8af01a7571ae1996128312920dc66f01e83758afb5038cc1f3c737412cd8932aaaba6ccfc2157185b31335efa0a +DIST firefox-144.0-sq.xpi 450590 BLAKE2B 87bcff872a93c3f25c2a5936c5264d01fc07f442ed9bfc96e74b0d7b3177584f433a3db8019bf96b3ae02e5f164d955275ab1714e9aee67ed42cb2347c928593 SHA512 3d2978e6474dd3d3cadc6c2f63668de38aeda35eca2416cf7a0b78ac6feacb87b24942a889f6dd5f00ab092f624f7f9d3f54d08a4da92b554a61f3bb04c70968 +DIST firefox-144.0-sr.xpi 451399 BLAKE2B 4b047607243d84ee15d61f8ba227b865f623ccdbade0408cca95e245c018b3b0abf83c4286797a021f21ccdb13f78d9a5281b2711f07c00e15a19e7b1177acde SHA512 89640b3d6f3fa6261691d010de90cba49d4ded52e16fd70d1e7af445832a9d766c6457c72f2045c70179e248356f90a618fd5c98586a9e61a44ac570a6e00078 +DIST firefox-144.0-sv-SE.xpi 446742 BLAKE2B 6156e8f0547408d308e1749a2b785a100ee023c7c03f60998fdb0a64e5dc5122d38aa327a54e5f8048191942e1cd589bb37180c161d6acb69434ea91485a466e SHA512 8699bbfc496db82829ddab2a40561c2e3a4b5ab36013a383069a75f9575299dcc4dc107d322cded00fda55cd344b8b5a9d809c8655933b146d6ce53e3b1f8b9c +DIST firefox-144.0-szl.xpi 340341 BLAKE2B 784b17149b41d2cf051bf32b0200ab2196f706bd298f4d5db3c21f02e0c4afb108c2400736d2addb42a2ecbc53e65ffafdb80b2ab45537b5d50e188b112d75db SHA512 651c5a3e28ad3a6e7329a0dac8cd1e198e77a6641d0c020a6a6c624ced58be8c54f74b4ab78db18fe849e3a5eb27adbef51ff4ed877fa9f61fc781a8557f63c1 +DIST firefox-144.0-ta.xpi 337641 BLAKE2B 2d14603142f112fabf156ca56dca650f82b78c70b6b01f2b718636e1d172d6b32118315aa267a7bebc01289a23a0acf8e5662d7a554b06675139f1f36da2836f SHA512 fbac965b75ede638525e1b4fdf4ea9239f8ec40fbf150dbd7d72a4162e4f41515c0a2e718cf747ea52a726855ffa9d64aaad209b166ca540c2643db267429648 +DIST firefox-144.0-te.xpi 380802 BLAKE2B c305fabbc78479470186cc83fe578667fecfd481c8858650b3706c02bd5400f0648d65103445d82d5cf38e2c2b17d56f9a981740ea42e8a520b72c0a05e6145d SHA512 fbb6b594a154b8075b9bc4d64ece03082fad376b9bd3eff593fccb394d2cf409ca7667c9797c348f3cd7c4632ce1c2c92d4715d0c1edeba11a8952c41063d85a +DIST firefox-144.0-th.xpi 517513 BLAKE2B aa0132778aac02ccc88b2d58353de2b36a720eb69c2a998574f970492b8caffbb48a357d1a936969a026186796e296afc5c682bd0b0c41bb6653f5f910db3012 SHA512 f697a016fb19f967603fa8c881ca26a8c98f8fc84a15c74235cb7fe88452890a2ce612d224012098cd9008c443b3810d49d74f8a772f9eeeb01798d33e8b133c +DIST firefox-144.0-tl.xpi 355380 BLAKE2B 9a619bf58478e444750a78472069f88efd2f8723812c407ff72e44ead851e14090677e2c30f632532352366cd6cc114fd20de6a39260779e890da460d7b68fe7 SHA512 9d9338ccc6dc70a4e17805f65c051d083d2902e6b179c6c5f2e7e28c0b9a806e27062cc6fe445f9034838a8e91d4e1744c4ee83b244ae53d48056bbd9654eff6 +DIST firefox-144.0-tr.xpi 460106 BLAKE2B e0baf0e6befe9208123c83f0001ee87760ac65c4d4de4fe8967f10aeba63c1a267bbddd5cfd5f18e25dcfc4ee60fa7e79c12b6fbd91b541974857996a3026fba SHA512 6e8b297e6dbab776de414ddb19c359269dd99fe13d466384315e46079b1801cd37fd8d6b02a6273319e290f18684689e2dead548339f3b4246027e3385ac4df6 +DIST firefox-144.0-trs.xpi 323050 BLAKE2B 81f04218fa944951e9609fcfba05b9b804a7204c86a634aab0838d6dfb96143750f1fd5cc978519bea40ad6c1b7360a60effe15f99794111797f01def41da6a5 SHA512 5121c6efd3c62c2906c193451850ee9abe23c359a4c70d625bfef8f47f070ba7696bde4fcb8095b0418fb870bfe9bb7ce5646b468115acf6264ee35b7c66874f +DIST firefox-144.0-uk.xpi 526510 BLAKE2B 99624238ed82c34299c514c4470e70cc15ecd499e606f1dcd470a7ba33451fbfda0caeedd9e9a2a918e5b2a3369d2cadc2311e988e606161f67a19929a010b76 SHA512 0fe8ddd8ee19c07d3e455b7163663178774b6e4dd79f735495fd914892152b2bdb28982c6df2722b612e849187f6dffc5d0e5a76e2b2a4c9b4e52f096d6adf80 +DIST firefox-144.0-ur.xpi 369506 BLAKE2B 72d5975a4a1ff044e3b2d0c1e339b25eafde8ffb990e2c70525811aa7432d734718b5a5ae6f8d4ea3caa64e8559618eb50c130dc5442ea7c7d1efb77daca82dd SHA512 cbaf40ecae5fc3a07871741d665f6cfd823c60207529a39ba02b2d6f5d4b98319e6c2420d3782b82bcf9d64aee5d575d2f7ebd463f10abd7aab8168c329b8cd7 +DIST firefox-144.0-uz.xpi 302941 BLAKE2B 4873a7fa29b7d74a4c9935ab5e86ab1963139c998287da1d9c870670e971df689c2ab4d56c738f892915f1edceaf0b7b93856fe0b48f38873ee2b9d354ee5d9d SHA512 b64327987248c885fa6e5c56b01f11f1b4c2e8908ade3cb2b97c51b282382a8414f09d8939e4a40fd64dc1cca10b286cfdf893845a3b7f3bc1344b23da41903d +DIST firefox-144.0-vi.xpi 480228 BLAKE2B 6df671571f2973c79d4524b7ddb505a715322a96c7b0f8ce61f4d9f907061fc6ad7854443424a1d3a9af03bfdfc729d5edf378f942d605b51be133c2e0ff1ebc SHA512 a8aeb7755c3f42a74ca0a9cecf93be17fb62a8807cfbfb36f8b3c8d309a137b2cf6a6a413f409a989473eeb9f8e917461bf678054119f08290d819aba7ecf9a4 +DIST firefox-144.0-xh.xpi 273008 BLAKE2B 4ab409c987989c08bd614561dab702b1b1d30ad308244acec66aee081b5cc173a64d2d21eeb6a7cd29dbe121e0960af0668af13abbe8c77673ec1c889d6e3a8a SHA512 7a3d2565152e50fbe2a2c27c2aa610ba3ad487484e6ec374cff0175d6705b0e095ec731ca323d52567256f1666fb403b63444faa8622fb86222a2c650e074daa +DIST firefox-144.0-zh-CN.xpi 471551 BLAKE2B c47873a748010554f5660f5a32f085d9910d433eca145e8c7c5b899080c6f810ed2fbff4be7ff6a0e3a578ab41e7f1524306ac4de87f43a74734b556efa09577 SHA512 4e411c1283fa6897ee518608079c7f238e8802b7f12827d4b3dec31698ec9f434e45498787be043ef7a92b594b60b38427bdc983b43a3a50d5a36ba2e697614a +DIST firefox-144.0-zh-TW.xpi 474785 BLAKE2B 64b70ad77e13a6dbd36235e3275187b7b41a527f0314e2279ad960e7e6f51d9c904188dca7eab16c4f5d08b0191ed77732a80f0c7f28b3747d51175216f0e56f SHA512 0a367928fb6ea3686aaf8876c694eeb2396570f01e16675036c5cfcefc25df1714f4a400a6d26eb555a2cf450dda3810765695d84c8acb84726752a074a965d1 +DIST firefox-144.0.source.tar.xz 658857488 BLAKE2B 01692c4417ffc38ce7e3c0647657906f8e416160d842227b23b8d0231d9bf73464c1effb2a2485ab2327b1183a49a6c35937d907fc47ae9436efd29e9cb97832 SHA512 e1f924ed006a31f5333ea6af219c1fb90d4866e5889ac634c324a3e80b042a7e0b2b9aeb798672ea1a434fbf817fc0b82a12ec0fb405a48e3a2ca21cc394445e DIST wasi-sdk-27.0-arm64-linux.tar.gz 124841089 BLAKE2B 7911b8d31e06e15a7e2001d81bcd27a583dd26d75ca0afc2a5bf31729bdba0a5786669dcc56dfd66d09c44862737dd3a62e8207262bcfb6e6845dfbe26216535 SHA512 6b6b5e109f2312634d67f0d7ab9690e0a7f69b21bf4894b86d584f7b1c340bd6696a5494ea8f96a759c691d023ac8c67ad7862112fc57106b86c2cef11f14f9d DIST wasi-sdk-27.0-x86_64-linux.tar.gz 124790235 BLAKE2B 768b9d8d66d79c000b11fa0710d1170e6a5f87c20ac8684151b44cce45e5cda83a4c3a4ad09042c4151e40cbf4b9ce0795f0cd5cad30be7b00972a88dc43f7a9 SHA512 a21a19996fb23fd1b522c328827edfeee74bd42fbbf88942b5d46d02f21e6fb2300a783c96915039c5545d2734010a94f3fe27b0751b9722988429669a2a6c9e diff --git a/www-client/firefox/firefox-144.0.ebuild b/www-client/firefox/firefox-144.0.ebuild new file mode 100644 index 000000000000..2544b900e4bc --- /dev/null +++ b/www-client/firefox/firefox-144.0.ebuild @@ -0,0 +1,1396 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +FIREFOX_PATCHSET="firefox-144-patches-01.tar.xz" + +LLVM_COMPAT=( 19 20 ) + +# This will also filter rust versions that don't match LLVM_COMPAT in the non-clang path; this is fine. +RUST_NEEDS_LLVM=1 + +# If not building with clang we need at least rust 1.76 +RUST_MIN_VER=1.82.0 + +PYTHON_COMPAT=( python3_{11..14} ) +PYTHON_REQ_USE="ncurses,sqlite,ssl" + +VIRTUALX_REQUIRED="manual" + +# Information about the bundled wasi toolchain from +# https://github.com/WebAssembly/wasi-sdk/ +WASI_SDK_VER=27.0 +WASI_SDK_LLVM_VER=20 + +MOZ_ESR= + +MOZ_PV=${PV} +MOZ_PV_SUFFIX= +if [[ ${PV} =~ (_(alpha|beta|rc).*)$ ]] ; then + MOZ_PV_SUFFIX=${BASH_REMATCH[1]} + + # Convert the ebuild version to the upstream Mozilla version + MOZ_PV="${MOZ_PV/_alpha/a}" # Handle alpha for SRC_URI + MOZ_PV="${MOZ_PV/_beta/b}" # Handle beta for SRC_URI + MOZ_PV="${MOZ_PV%%_rc*}" # Handle rc for SRC_URI +fi + +if [[ -n ${MOZ_ESR} ]] ; then + # ESR releases have slightly different version numbers + MOZ_PV="${MOZ_PV}esr" + HOMEPAGE="https://www.firefox.com https://www.firefox.com/enterprise/" + SLOT="esr" +else + HOMEPAGE="https://www.firefox.com" + SLOT="rapid" +fi + +MOZ_PN="${PN%-bin}" +MOZ_P="${MOZ_PN}-${MOZ_PV}" +MOZ_PV_DISTFILES="${MOZ_PV}${MOZ_PV_SUFFIX}" +MOZ_P_DISTFILES="${MOZ_PN}-${MOZ_PV_DISTFILES}" + +inherit check-reqs desktop flag-o-matic gnome2-utils linux-info llvm-r1 multiprocessing \ + optfeature pax-utils python-any-r1 readme.gentoo-r1 rust toolchain-funcs virtualx xdg + +MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/releases/${MOZ_PV}" + +if [[ ${PV} == *_rc* ]] ; then + MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/candidates/${MOZ_PV}-candidates/build${PV##*_rc}" +fi + +PATCH_URIS=( + https://dev.gentoo.org/~juippis/mozilla/patchsets/${FIREFOX_PATCHSET} +) + +DESCRIPTION="Firefox Web Browser" +SRC_URI="${MOZ_SRC_BASE_URI}/source/${MOZ_P}.source.tar.xz -> ${MOZ_P_DISTFILES}.source.tar.xz + ${PATCH_URIS[@]} + wasm-sandbox? ( + amd64? ( https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-${WASI_SDK_VER/.*/}/wasi-sdk-${WASI_SDK_VER}-x86_64-linux.tar.gz ) + arm64? ( https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-${WASI_SDK_VER/.*/}/wasi-sdk-${WASI_SDK_VER}-arm64-linux.tar.gz ) + )" + +S="${WORKDIR}/${PN}-${PV%_*}" +LICENSE="MPL-2.0 GPL-2 LGPL-2.1" +KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86" + +IUSE="+clang dbus debug eme-free hardened hwaccel jack libproxy pgo pulseaudio selinux sndio" +IUSE+=" +system-av1 +system-harfbuzz +system-icu +system-jpeg +system-libevent +system-libvpx" +IUSE+=" system-pipewire system-png +system-webp test valgrind wayland wifi +X" + +# Firefox-only IUSE +IUSE+=" +gmp-autoupdate gnome-shell jpegxl +jumbo-build openh264 +telemetry wasm-sandbox" + +REQUIRED_USE="|| ( X wayland ) + debug? ( !system-av1 ) + pgo? ( jumbo-build ) + wayland? ( dbus ) + wifi? ( dbus ) +" + +RESTRICT="!test? ( test )" + +FF_ONLY_DEPEND="!www-client/firefox:0 + selinux? ( sec-policy/selinux-mozilla )" +BDEPEND="${PYTHON_DEPS} + $(llvm_gen_dep ' + llvm-core/clang:${LLVM_SLOT} + llvm-core/llvm:${LLVM_SLOT} + clang? ( + llvm-core/lld:${LLVM_SLOT} + pgo? ( llvm-runtimes/compiler-rt-sanitizers:${LLVM_SLOT}[profile] ) + ) + wasm-sandbox? ( llvm-core/lld:${LLVM_SLOT} ) + ') + app-alternatives/awk + app-arch/unzip + app-arch/zip + >=dev-util/cbindgen-0.27.0 + net-libs/nodejs + virtual/pkgconfig + amd64? ( >=dev-lang/nasm-2.14 ) + x86? ( >=dev-lang/nasm-2.14 ) + pgo? ( + X? ( + sys-devel/gettext + x11-base/xorg-server[xvfb] + x11-apps/xhost + ) + !X? ( + gui-wm/tinywl + 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.116 + >=dev-libs/nspr-4.35 + media-libs/alsa-lib + media-libs/fontconfig + media-libs/freetype + media-libs/mesa + <media-video/ffmpeg-8.0 + sys-libs/zlib + virtual/freedesktop-icon-theme + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/libdrm + x11-libs/pango + x11-libs/pixman + dbus? ( + sys-apps/dbus + ) + jack? ( virtual/jack ) + pulseaudio? ( + || ( + media-libs/libpulse + >=media-sound/apulse-0.1.12-r4[sdk] + ) + ) + libproxy? ( net-libs/libproxy ) + selinux? ( sec-policy/selinux-mozilla ) + sndio? ( >=media-sound/sndio-1.8.0-r1 ) + system-av1? ( + >=media-libs/dav1d-1.0.0:= + >=media-libs/libaom-3.10.0:= + ) + system-harfbuzz? ( + >=media-libs/harfbuzz-2.8.1:0= + !wasm-sandbox? ( >=media-gfx/graphite2-1.3.13 ) + ) + system-icu? ( >=dev-libs/icu-76.1:= ) + system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1:= ) + system-libevent? ( >=dev-libs/libevent-2.1.12:0=[threads(+)] ) + system-libvpx? ( >=media-libs/libvpx-1.8.2:0=[postproc] ) + system-pipewire? ( >=media-video/pipewire-1.4.7-r2:= ) + system-png? ( >=media-libs/libpng-1.6.45:0=[apng] ) + system-webp? ( >=media-libs/libwebp-1.1.0:0= ) + valgrind? ( dev-debug/valgrind ) + wayland? ( + >=media-libs/libepoxy-1.5.10-r1 + x11-libs/gtk+:3[wayland] + ) + wifi? ( + kernel_linux? ( + || ( + net-misc/networkmanager + net-misc/connman[networkmanager] + ) + sys-apps/dbus + ) + ) + X? ( + virtual/opengl + x11-libs/cairo[X] + x11-libs/gtk+:3[X] + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXrandr + x11-libs/libxcb:= + )" +RDEPEND="${COMMON_DEPEND} + hwaccel? ( + media-video/libva-utils + sys-apps/pciutils + ) + jack? ( virtual/jack ) + openh264? ( media-libs/openh264:*[plugin] )" +DEPEND="${COMMON_DEPEND} + X? ( + x11-base/xorg-proto + x11-libs/libICE + x11-libs/libSM + )" + +# ESR and rapid dependencies. +if [[ -n ${MOZ_ESR} ]] ; then + RDEPEND+=" !www-client/firefox:rapid" +else + RDEPEND+=" !www-client/firefox:esr" +fi + +# Allow MOZ_GMP_PLUGIN_LIST to be set in an eclass or +# overridden in the enviromnent (advanced hackers only) +if [[ -z "${MOZ_GMP_PLUGIN_LIST+set}" ]] ; then + MOZ_GMP_PLUGIN_LIST=( gmp-gmpopenh264 gmp-widevinecdm ) +fi + +llvm_check_deps() { + if ! has_version -b "llvm-core/clang:${LLVM_SLOT}" ; then + einfo "llvm-core/clang:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 + return 1 + fi + + if use clang && ! tc-ld-is-mold ; then + if ! has_version -b "llvm-core/lld:${LLVM_SLOT}" ; then + einfo "llvm-core/lld:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 + return 1 + fi + fi + + if use pgo ; then + if ! has_version -b "=llvm-runtimes/compiler-rt-sanitizers-${LLVM_SLOT}*[profile]" ; then + einfo "=llvm-runtimes/compiler-rt-sanitizers-${LLVM_SLOT}*[profile] is missing!" >&2 + einfo "Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 + return 1 + fi + fi + + einfo "Using LLVM slot ${LLVM_SLOT} to build" >&2 +} + +MOZ_LANGS=( + af ar ast be bg br ca cak cs cy da de dsb + el en-CA en-GB en-US es-AR es-ES et eu + fi fr fy-NL ga-IE gd gl he hr hsb hu + id is it ja ka kab kk ko lt lv ms nb-NO nl nn-NO + pa-IN pl pt-BR pt-PT rm ro ru + sk sl sq sr sv-SE th tr uk uz vi zh-CN zh-TW +) + +# Firefox-only LANGS +MOZ_LANGS+=( ach ) +MOZ_LANGS+=( an ) +MOZ_LANGS+=( az ) +MOZ_LANGS+=( bn ) +MOZ_LANGS+=( bs ) +MOZ_LANGS+=( ca-valencia ) +MOZ_LANGS+=( eo ) +MOZ_LANGS+=( es-CL ) +MOZ_LANGS+=( es-MX ) +MOZ_LANGS+=( fa ) +MOZ_LANGS+=( ff ) +MOZ_LANGS+=( fur ) +MOZ_LANGS+=( gn ) +MOZ_LANGS+=( gu-IN ) +MOZ_LANGS+=( hi-IN ) +MOZ_LANGS+=( hy-AM ) +MOZ_LANGS+=( ia ) +MOZ_LANGS+=( km ) +MOZ_LANGS+=( kn ) +MOZ_LANGS+=( lij ) +MOZ_LANGS+=( mk ) +MOZ_LANGS+=( mr ) +MOZ_LANGS+=( my ) +MOZ_LANGS+=( ne-NP ) +MOZ_LANGS+=( oc ) +MOZ_LANGS+=( sc ) +MOZ_LANGS+=( sco ) +MOZ_LANGS+=( si ) +MOZ_LANGS+=( skr ) +MOZ_LANGS+=( son ) +MOZ_LANGS+=( szl ) +MOZ_LANGS+=( ta ) +MOZ_LANGS+=( te ) +MOZ_LANGS+=( tl ) +MOZ_LANGS+=( trs ) +MOZ_LANGS+=( ur ) +MOZ_LANGS+=( xh ) + +mozilla_set_globals() { + # https://bugs.gentoo.org/587334 + local MOZ_TOO_REGIONALIZED_FOR_L10N=( + fy-NL ga-IE gu-IN hi-IN hy-AM nb-NO ne-NP nn-NO pa-IN sv-SE + ) + + local lang xflag + for lang in "${MOZ_LANGS[@]}" ; do + # en and en_US are handled internally + if [[ ${lang} == en ]] || [[ ${lang} == en-US ]] ; then + continue + fi + + # strip region subtag if $lang is in the list + if has ${lang} "${MOZ_TOO_REGIONALIZED_FOR_L10N[@]}" ; then + xflag=${lang%%-*} + else + xflag=${lang} + fi + + SRC_URI+=" l10n_${xflag/[_@]/-}? (" + SRC_URI+=" ${MOZ_SRC_BASE_URI}/linux-x86_64/xpi/${lang}.xpi -> ${MOZ_P_DISTFILES}-${lang}.xpi" + SRC_URI+=" )" + IUSE+=" l10n_${xflag/[_@]/-}" + done +} +mozilla_set_globals + +moz_clear_vendor_checksums() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -ne 1 ]] ; then + die "${FUNCNAME} requires exact one argument" + fi + + einfo "Clearing cargo checksums for ${1} ..." + + sed -i \ + -e 's/\("files":{\)[^}]*/\1/' \ + "${S}"/third_party/rust/${1}/.cargo-checksum.json || die +} + +moz_install_xpi() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 2 ]] ; then + die "${FUNCNAME} requires at least two arguments" + fi + + local DESTDIR=${1} + shift + + insinto "${DESTDIR}" + + local emid xpi_file xpi_tmp_dir + for xpi_file in "${@}" ; do + emid= + xpi_tmp_dir=$(mktemp -d --tmpdir="${T}") + + # Unpack XPI + unzip -qq "${xpi_file}" -d "${xpi_tmp_dir}" || die + + # Determine extension ID + if [[ -f "${xpi_tmp_dir}/install.rdf" ]] ; then + emid=$(sed -n -e '/install-manifest/,$ { /em:id/!d; s/.*[\">]\([^\"<>]*\)[\"<].*/\1/; p; q }' "${xpi_tmp_dir}/install.rdf") + [[ -z "${emid}" ]] && die "failed to determine extension id from install.rdf" + elif [[ -f "${xpi_tmp_dir}/manifest.json" ]] ; then + emid=$(sed -n -e 's/.*"id": "\([^"]*\)".*/\1/p' "${xpi_tmp_dir}/manifest.json") + [[ -z "${emid}" ]] && die "failed to determine extension id from manifest.json" + else + die "failed to determine extension id" + fi + + einfo "Installing ${emid}.xpi into ${ED}${DESTDIR} ..." + newins "${xpi_file}" "${emid}.xpi" + done +} + +mozconfig_add_options_ac() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 2 ]] ; then + die "${FUNCNAME} requires at least two arguments" + fi + + local reason=${1} + shift + + local option + for option in ${@} ; do + echo "ac_add_options ${option} # ${reason}" >>${MOZCONFIG} + done +} + +mozconfig_add_options_mk() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 2 ]] ; then + die "${FUNCNAME} requires at least two arguments" + fi + + local reason=${1} + shift + + local option + for option in ${@} ; do + echo "mk_add_options ${option} # ${reason}" >>${MOZCONFIG} + done +} + +mozconfig_use_enable() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 1 ]] ; then + die "${FUNCNAME} requires at least one arguments" + fi + + local flag=$(use_enable "${@}") + mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" "${flag}" +} + +mozconfig_use_with() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 1 ]] ; then + die "${FUNCNAME} requires at least one arguments" + fi + + local flag=$(use_with "${@}") + mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" "${flag}" +} + +virtwl() { + debug-print-function ${FUNCNAME} "$@" + + [[ $# -lt 1 ]] && die "${FUNCNAME} needs at least one argument" + [[ -n $XDG_RUNTIME_DIR ]] || die "${FUNCNAME} needs XDG_RUNTIME_DIR to be set; try xdg_environment_reset" + tinywl -h >/dev/null || die 'tinywl -h failed' + + local VIRTWL VIRTWL_PID + coproc VIRTWL { WLR_BACKENDS=headless exec tinywl -s 'echo $WAYLAND_DISPLAY; read _; kill $PPID'; } + local -x WAYLAND_DISPLAY + read WAYLAND_DISPLAY <&${VIRTWL[0]} + + debug-print "${FUNCNAME}: $@" + "$@" + local r=$? + + [[ -n $VIRTWL_PID ]] || die "tinywl exited unexpectedly" + exec {VIRTWL[0]}<&- {VIRTWL[1]}>&- + return $r +} + +pkg_pretend() { + if [[ ${MERGE_TYPE} != binary ]] ; then + # Ensure we have enough disk space to compile + if use pgo || use debug ; then + CHECKREQS_DISK_BUILD="14300M" + elif tc-is-lto ; then + CHECKREQS_DISK_BUILD="10600M" + else + CHECKREQS_DISK_BUILD="7400M" + fi + + check-reqs_pkg_pretend + fi +} + +pkg_setup() { + + # Get LTO from environment; export after this phase for use in src_configure (etc) + use_lto=no + + if [[ ${MERGE_TYPE} != binary ]] ; then + + if tc-is-lto; then + use_lto=yes + # LTO is handled via configure + filter-lto + fi + + if use pgo ; then + if ! has userpriv ${FEATURES} ; then + eerror "Building ${PN} with USE=pgo and FEATURES=-userpriv is not supported!" + fi + fi + + if [[ ${use_lto} = yes ]]; then + # -Werror=lto-type-mismatch -Werror=odr are going to fail with GCC, + # bmo#1516758, bgo#942288 + filter-flags -Werror=lto-type-mismatch -Werror=odr + fi + + # Ensure we have enough disk space to compile + if use pgo || use debug ; then + CHECKREQS_DISK_BUILD="14300M" + elif [[ ${use_lto} == "yes" ]] ; then + CHECKREQS_DISK_BUILD="10600M" + else + CHECKREQS_DISK_BUILD="7400M" + fi + + check-reqs_pkg_setup + llvm-r1_pkg_setup + rust_pkg_setup + python-any-r1_pkg_setup + + # Avoid PGO profiling problems due to enviroment leakage + # These should *always* be cleaned up anyway + unset \ + DBUS_SESSION_BUS_ADDRESS \ + DISPLAY \ + ORBIT_SOCKETDIR \ + SESSION_MANAGER \ + XAUTHORITY \ + XDG_CACHE_HOME \ + XDG_SESSION_COOKIE + + # Build system is using /proc/self/oom_score_adj, bug #604394 + addpredict /proc/self/oom_score_adj + + if use pgo ; then + # Update 105.0: "/proc/self/oom_score_adj" isn't enough anymore with pgo, but not sure + # whether that's due to better OOM handling by Firefox (bmo#1771712), or portage + # (PORTAGE_SCHEDULING_POLICY) update... + addpredict /proc + + # Clear tons of conditions, since PGO is hardware-dependant. + addpredict /dev + fi + + if ! mountpoint -q /dev/shm ; then + # If /dev/shm is not available, configure is known to fail with + # a traceback report referencing /usr/lib/pythonN.N/multiprocessing/synchronize.py + ewarn "/dev/shm is not mounted -- expect build failures!" + fi + + # Google API keys (see http://www.chromium.org/developers/how-tos/api-keys) + # Note: These are for Gentoo Linux use ONLY. For your own distribution, please + # get your own set of keys. + if [[ -z "${MOZ_API_KEY_GOOGLE+set}" ]] ; then + MOZ_API_KEY_GOOGLE="AIzaSyDEAOvatFogGaPi0eTgsV_ZlEzx0ObmepsMzfAc" + fi + + if [[ -z "${MOZ_API_KEY_LOCATION+set}" ]] ; then + MOZ_API_KEY_LOCATION="AIzaSyB2h2OuRgGaPicUgy5N-5hsZqiPW6sH3n_rptiQ" + fi + + # Mozilla API keys (see https://location.services.mozilla.com/api) + # Note: These are for Gentoo Linux use ONLY. For your own distribution, please + # get your own set of keys. + if [[ -z "${MOZ_API_KEY_MOZILLA+set}" ]] ; then + MOZ_API_KEY_MOZILLA="edb3d487-3a84-46m0ap1e3-9dfd-92b5efaaa005" + fi + + # Ensure we use C locale when building, bug #746215 + export LC_ALL=C + fi + + export use_lto + + CONFIG_CHECK="~SECCOMP" + WARNING_SECCOMP="CONFIG_SECCOMP not set! This system will be unable to play DRM-protected content." + linux-info_pkg_setup +} + +src_unpack() { + local _lp_dir="${WORKDIR}/language_packs" + local _src_file + + if [[ ! -d "${_lp_dir}" ]] ; then + mkdir "${_lp_dir}" || die + fi + + for _src_file in ${A} ; do + if [[ ${_src_file} == *.xpi ]]; then + cp "${DISTDIR}/${_src_file}" "${_lp_dir}" || die "Failed to copy '${_src_file}' to '${_lp_dir}'!" + else + unpack ${_src_file} + fi + done +} + +src_prepare() { + if [[ ${use_lto} == "yes" ]]; then + rm -v "${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch || die + fi + + # Workaround for bgo#915651 and bmo#1988166 on musl + if use elibc_glibc ; then + rm -v "${WORKDIR}"/firefox-patches/*bgo-748849-RUST_TARGET_override.patch || die + rm -v "${WORKDIR}"/firefox-patches/*bmo-1988166-musl-remove-nonexisting-system-header-req.patch || die + fi + + eapply "${WORKDIR}/firefox-patches" + + # Allow user to apply any additional patches without modifing ebuild + eapply_user + + # Make cargo respect MAKEOPTS + export CARGO_BUILD_JOBS="$(makeopts_jobs)" + + # Workaround for bgo#915651 + if ! use elibc_glibc ; then + if use amd64 ; then + export RUST_TARGET="x86_64-unknown-linux-musl" + elif use x86 ; then + export RUST_TARGET="i686-unknown-linux-musl" + elif use arm64 ; then + export RUST_TARGET="aarch64-unknown-linux-musl" + elif use loong; then + # Only the LP64D ABI of LoongArch64 is actively supported among + # the wider Linux ecosystem, so the assumption is safe. + export RUST_TARGET="loongarch64-unknown-linux-musl" + elif use ppc64 ; then + export RUST_TARGET="powerpc64le-unknown-linux-musl" + elif use riscv ; then + # We can pretty safely rule out any 32-bit riscvs, but 64-bit riscvs also have tons of + # different ABIs available. riscv64gc-unknown-linux-musl seems to be the best working + # guess right now though. + elog "riscv detected, forcing a riscv64 target for now." + export RUST_TARGET="riscv64gc-unknown-linux-musl" + else + die "Unknown musl chost, please post a new bug with your rustc -vV along with emerge --info" + fi + fi + + # Pre-built wasm-sandbox path manipulation. + if use wasm-sandbox ; then + if use amd64 ; then + export wasi_arch="x86_64" + elif use arm64 ; then + export wasi_arch="arm64" + else + die "wasm-sandbox enabled on unknown/unsupported arch!" + fi + + sed -i \ + -e "s:%%PORTAGE_WORKDIR%%:${WORKDIR}:" \ + -e "s:%%WASI_ARCH%%:${wasi_arch}:" \ + -e "s:%%WASI_SDK_VER%%:${WASI_SDK_VER}:" \ + -e "s:%%WASI_SDK_LLVM_VER%%:${WASI_SDK_LLVM_VER}:" \ + toolkit/moz.configure || die "Failed to update wasi-related paths." + fi + + # Make LTO respect MAKEOPTS + sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ + "${S}"/build/moz.configure/lto-pgo.configure || die "Failed sedding multiprocessing.cpu_count" + + sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ + "${S}"/third_party/chromium/build/toolchain/get_cpu_count.py || die "Failed sedding multiprocessing.cpu_count" + + sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ + "${S}"/third_party/python/gyp/pylib/gyp/input.py || die "Failed sedding multiprocessing.cpu_count" + + # sed-in toolchain prefix + sed -i \ + -e "s/objdump/${CHOST}-objdump/" \ + "${S}"/python/mozbuild/mozbuild/configure/check_debug_ranges.py || die "sed failed to set toolchain prefix" + + sed -i \ + -e 's/ccache_stats = None/return None/' \ + "${S}"/python/mozbuild/mozbuild/controller/building.py || die "sed failed to disable ccache stats call" + + einfo "Removing pre-built binaries ..." + + find "${S}"/third_party -type f \( -name '*.so' -o -name '*.o' \) -print -delete || die + + # Clear checksums from cargo crates we've manually patched. + # moz_clear_vendor_checksums xyz + + # Respect choice for "jumbo-build" + # Changing the value for FILES_PER_UNIFIED_FILE may not work, see #905431 + if [[ -n ${FILES_PER_UNIFIED_FILE} ]] && use jumbo-build; then + local my_files_per_unified_file=${FILES_PER_UNIFIED_FILE:=16} + elog "" + elog "jumbo-build defaults modified to ${my_files_per_unified_file}." + elog "if you get a build failure, try undefining FILES_PER_UNIFIED_FILE," + elog "if that fails try -jumbo-build before opening a bug report." + elog "" + + sed -i -e "s/\"FILES_PER_UNIFIED_FILE\", 16/\"FILES_PER_UNIFIED_FILE\", "${my_files_per_unified_file}"/" \ + python/mozbuild/mozbuild/frontend/data.py || + die "Failed to adjust FILES_PER_UNIFIED_FILE in python/mozbuild/mozbuild/frontend/data.py" + sed -i -e "s/FILES_PER_UNIFIED_FILE = 6/FILES_PER_UNIFIED_FILE = "${my_files_per_unified_file}"/" \ + js/src/moz.build || + die "Failed to adjust FILES_PER_UNIFIED_FILE in js/src/moz.build" + fi + + # Create build dir + BUILD_DIR="${WORKDIR}/${PN}_build" + mkdir -p "${BUILD_DIR}" || die + + # Write API keys to disk + echo -n "${MOZ_API_KEY_GOOGLE//gGaPi/}" > "${S}"/api-google.key || die + echo -n "${MOZ_API_KEY_LOCATION//gGaPi/}" > "${S}"/api-location.key || die + echo -n "${MOZ_API_KEY_MOZILLA//m0ap1/}" > "${S}"/api-mozilla.key || die + + xdg_environment_reset +} + +src_configure() { + # Show flags set at the beginning + einfo "Current BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}" + einfo "Current CFLAGS:\t\t${CFLAGS:-no value set}" + einfo "Current CXXFLAGS:\t\t${CXXFLAGS:-no value set}" + einfo "Current LDFLAGS:\t\t${LDFLAGS:-no value set}" + einfo "Current RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}" + + local have_switched_compiler= + if use clang; then + # Force clang + einfo "Enforcing the use of clang due to USE=clang ..." + + local version_clang=$(clang --version 2>/dev/null | grep -F -- 'clang version' | awk '{ print $3 }') + [[ -n ${version_clang} ]] && version_clang=$(ver_cut 1 "${version_clang}") + [[ -z ${version_clang} ]] && die "Failed to read clang version!" + + if tc-is-gcc; then + have_switched_compiler=yes + fi + + AR=llvm-ar + CC=${CHOST}-clang-${version_clang} + CXX=${CHOST}-clang++-${version_clang} + NM=llvm-nm + RANLIB=llvm-ranlib + elif ! use clang && ! tc-is-gcc ; then + # Force gcc + have_switched_compiler=yes + einfo "Enforcing the use of gcc due to USE=-clang ..." + AR=gcc-ar + CC=${CHOST}-gcc + CXX=${CHOST}-g++ + NM=gcc-nm + RANLIB=gcc-ranlib + fi + + if [[ -n "${have_switched_compiler}" ]] ; then + # Because we switched active compiler we have to ensure + # that no unsupported flags are set + strip-unsupported-flags + fi + + # Ensure we use correct toolchain, + # AS is used in a non-standard way by upstream, #bmo1654031 + export HOST_CC="$(tc-getBUILD_CC)" + export HOST_CXX="$(tc-getBUILD_CXX)" + export AS="$(tc-getCC) -c" + + # Configuration tests expect llvm-readelf output, bug 913130 + READELF="llvm-readelf" + + tc-export CC CXX LD AR AS NM OBJDUMP RANLIB READELF PKG_CONFIG + + # Pass the correct toolchain paths through cbindgen + if tc-is-cross-compiler ; then + export BINDGEN_CFLAGS="${SYSROOT:+--sysroot=${ESYSROOT}} --target=${CHOST} ${BINDGEN_CFLAGS-}" + fi + + # Set MOZILLA_FIVE_HOME + export MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" + + # python/mach/mach/mixin/process.py fails to detect SHELL + export SHELL="${EPREFIX}/bin/bash" + + # Set state path + export MOZBUILD_STATE_PATH="${BUILD_DIR}" + + # Set MOZCONFIG + export MOZCONFIG="${S}/.mozconfig" + + # Initialize MOZCONFIG + mozconfig_add_options_ac '' --enable-application=browser + mozconfig_add_options_ac '' --enable-project=browser + + # Set Gentoo defaults + if use telemetry; then + export MOZILLA_OFFICIAL=1 + fi + + mozconfig_add_options_ac 'Gentoo default' \ + --allow-addon-sideload \ + --disable-cargo-incremental \ + --disable-crashreporter \ + --disable-disk-remnant-avoidance \ + --disable-geckodriver \ + --disable-install-strip \ + --disable-legacy-profile-creation \ + --disable-parental-controls \ + --disable-strip \ + --disable-updater \ + --disable-wmf \ + --enable-negotiateauth \ + --enable-new-pass-manager \ + --enable-official-branding \ + --enable-packed-relative-relocs \ + --enable-release \ + --enable-system-policies \ + --host="${CBUILD:-${CHOST}}" \ + --libdir="${EPREFIX}/usr/$(get_libdir)" \ + --prefix="${EPREFIX}/usr" \ + --target="${CHOST}" \ + --without-ccache \ + --with-intl-api \ + --with-libclang-path="$(llvm-config --libdir)" \ + --with-system-ffi \ + --with-system-gbm \ + --with-system-libdrm \ + --with-system-nspr \ + --with-system-nss \ + --with-system-pixman \ + --with-system-zlib \ + --with-toolchain-prefix="${CHOST}-" \ + --with-unsigned-addon-scopes=app,system + + # Set update channel + local update_channel=release + [[ -n ${MOZ_ESR} ]] && update_channel=esr + mozconfig_add_options_ac '' --enable-update-channel=${update_channel} + + # Whitelist to allow unkeyworded arches to build with "--disable-rust-simd" by default. + if use amd64 || use arm64 || use ppc64 || use loong || use riscv ; then + mozconfig_add_options_ac '' --enable-rust-simd + fi + + # For future keywording: This is currently (97.0) only supported on: + # amd64, arm, arm64 & x86. + # Might want to flip the logic around if Firefox is to support more arches. + # bug 833001, bug 903411#c8 + if use loong || use ppc64 || use riscv; then + mozconfig_add_options_ac '' --disable-sandbox + elif use valgrind; then + mozconfig_add_options_ac 'valgrind requirement' --disable-sandbox + else + mozconfig_add_options_ac '' --enable-sandbox + fi + + # riscv-related options, bgo#947337, bgo#947338 + if use riscv ; then + mozconfig_add_options_ac 'Disable webrtc for RISC-V' --disable-webrtc + fi + + if [[ -s "${S}/api-google.key" ]] ; then + local key_origin="Gentoo default" + if [[ $(cat "${S}/api-google.key" | md5sum | awk '{ print $1 }') != 709560c02f94b41f9ad2c49207be6c54 ]] ; then + key_origin="User value" + fi + + mozconfig_add_options_ac "${key_origin}" \ + --with-google-safebrowsing-api-keyfile="${S}/api-google.key" + else + einfo "Building without Google API key ..." + fi + + if [[ -s "${S}/api-location.key" ]] ; then + local key_origin="Gentoo default" + if [[ $(cat "${S}/api-location.key" | md5sum | awk '{ print $1 }') != ffb7895e35dedf832eb1c5d420ac7420 ]] ; then + key_origin="User value" + fi + + mozconfig_add_options_ac "${key_origin}" \ + --with-google-location-service-api-keyfile="${S}/api-location.key" + else + einfo "Building without Location API key ..." + fi + + if [[ -s "${S}/api-mozilla.key" ]] ; then + local key_origin="Gentoo default" + if [[ $(cat "${S}/api-mozilla.key" | md5sum | awk '{ print $1 }') != 3927726e9442a8e8fa0e46ccc39caa27 ]] ; then + key_origin="User value" + fi + + mozconfig_add_options_ac "${key_origin}" \ + --with-mozilla-api-keyfile="${S}/api-mozilla.key" + else + einfo "Building without Mozilla API key ..." + fi + + mozconfig_use_with system-av1 + mozconfig_use_with system-harfbuzz + mozconfig_use_with system-icu + mozconfig_use_with system-jpeg + mozconfig_use_with system-libevent + mozconfig_use_with system-libvpx + mozconfig_use_with system-pipewire + mozconfig_use_with system-png + mozconfig_use_with system-webp + + mozconfig_use_enable dbus + mozconfig_use_enable libproxy + mozconfig_use_enable valgrind + + use eme-free && mozconfig_add_options_ac '+eme-free' --disable-eme + + if use hardened ; then + mozconfig_add_options_ac "+hardened" --enable-hardening + append-ldflags "-Wl,-z,relro -Wl,-z,now" + + # Increase the FORTIFY_SOURCE value, #910071. + sed -i -e '/-D_FORTIFY_SOURCE=/s:2:3:' "${S}"/build/moz.configure/toolchain.configure || die + fi + + local myaudiobackends="" + use jack && myaudiobackends+="jack," + use sndio && myaudiobackends+="sndio," + use pulseaudio && myaudiobackends+="pulseaudio," + ! use pulseaudio && myaudiobackends+="alsa," + + mozconfig_add_options_ac '--enable-audio-backends' --enable-audio-backends="${myaudiobackends::-1}" + + mozconfig_use_enable wifi necko-wifi + + ! use jumbo-build && mozconfig_add_options_ac '--disable-unified-build' --disable-unified-build + + if use X && use wayland ; then + mozconfig_add_options_ac '+x11+wayland' --enable-default-toolkit=cairo-gtk3-x11-wayland + elif ! use X && use wayland ; then + mozconfig_add_options_ac '+wayland' --enable-default-toolkit=cairo-gtk3-wayland-only + else + mozconfig_add_options_ac '+x11' --enable-default-toolkit=cairo-gtk3-x11-only + fi + + # wasm-sandbox + # Since graphite2 is one of the sandboxed libraries, system-graphite2 obviously can't work with +wasm-sandbox. + if use wasm-sandbox ; then + mozconfig_add_options_ac '+wasm-sandbox' --with-wasi-sysroot="${WORKDIR}/wasi-sdk-${WASI_SDK_VER}-${wasi_arch}-linux/share/wasi-sysroot/" + else + mozconfig_add_options_ac 'no wasm-sandbox' --without-wasm-sandboxed-libraries + mozconfig_use_with system-harfbuzz system-graphite2 + fi + + ! use jpegxl && mozconfig_add_options_ac '-jpegxl' --disable-jxl + + if [[ ${use_lto} == "yes" ]] ; then + if use clang ; then + # Upstream only supports lld or mold when using clang. + if tc-ld-is-mold ; then + # mold expects the -flto line from *FLAGS configuration, bgo#923119 + append-ldflags "-flto=thin" + mozconfig_add_options_ac "using ld=mold due to system selection" --enable-linker=mold + else + mozconfig_add_options_ac "forcing ld=lld due to USE=clang and USE=lto" --enable-linker=lld + fi + + mozconfig_add_options_ac '+lto' --enable-lto=cross + + else + # ThinLTO is currently broken, see bmo#1644409. + # mold does not support gcc+lto combination. + mozconfig_add_options_ac '+lto' --enable-lto=full + mozconfig_add_options_ac "linker is set to bfd" --enable-linker=bfd + fi + + else + # Avoid auto-magic on linker + if use clang ; then + # lld is upstream's default + if tc-ld-is-mold ; then + mozconfig_add_options_ac "using ld=mold due to system selection" --enable-linker=mold + else + mozconfig_add_options_ac "forcing ld=lld due to USE=clang" --enable-linker=lld + fi + + else + if tc-ld-is-mold ; then + mozconfig_add_options_ac "using ld=mold due to system selection" --enable-linker=mold + else + mozconfig_add_options_ac "linker is set to bfd due to USE=-clang" --enable-linker=bfd + fi + fi + fi + + # PGO was moved outside lto block to allow building pgo without lto. + if use pgo ; then + mozconfig_add_options_ac '+pgo' MOZ_PGO=1 + + # Avoid compressing just-built instrumented Firefox with + # high levels of compression. Just use tar as a container + # to save >=10 minutes. + export MOZ_PKG_FORMAT=tar + + if use clang ; then + # Used in build/pgo/profileserver.py + export LLVM_PROFDATA="llvm-profdata" + fi + fi + + mozconfig_use_enable debug + if use debug ; then + mozconfig_add_options_ac '+debug' --disable-optimize + mozconfig_add_options_ac '+debug' --enable-jemalloc + mozconfig_add_options_ac '+debug' --enable-real-time-tracing + else + mozconfig_add_options_ac 'Gentoo defaults' --disable-real-time-tracing + + if is-flag '-g*' ; then + if use clang ; then + mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols=$(get-flag '-g*') + else + mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols + fi + else + mozconfig_add_options_ac 'Gentoo default' --disable-debug-symbols + fi + + if is-flag '-O0' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O0 + elif is-flag '-O4' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O4 + elif is-flag '-O3' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O3 + elif is-flag '-O1' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O1 + elif is-flag '-Os' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-Os + else + mozconfig_add_options_ac "Gentoo default" --enable-optimize=-O2 + fi + fi + + # Debug flag was handled via configure + filter-flags '-g*' + + # Optimization flag was handled via configure + filter-flags '-O*' + + # elf-hack + # Filter "-z,pack-relative-relocs" and let the build system handle it instead. + if use amd64 || use x86 ; then + filter-flags "-z,pack-relative-relocs" + + if tc-ld-is-mold ; then + # relr-elf-hack is currently broken with mold, bgo#916259 + mozconfig_add_options_ac 'disable elf-hack with mold linker' --disable-elf-hack + else + mozconfig_add_options_ac 'relr elf-hack' --enable-elf-hack=relr + fi + elif use loong || use ppc64 || use riscv ; then + # '--disable-elf-hack' is not recognized on loong/ppc64/riscv, + # see bgo #917049, #930046 + :; + else + mozconfig_add_options_ac 'disable elf-hack on non-supported arches' --disable-elf-hack + fi + + if ! use elibc_glibc; then + mozconfig_add_options_ac '!elibc_glibc' --disable-jemalloc + fi + + if use valgrind; then + mozconfig_add_options_ac 'valgrind requirement' --disable-jemalloc + fi + + # System-av1 fix + use system-av1 && append-ldflags "-Wl,--undefined-version" + + # Make revdep-rebuild.sh happy; Also required for musl + append-ldflags -Wl,-rpath="${MOZILLA_FIVE_HOME}",--enable-new-dtags + + # Pass $MAKEOPTS to build system + export MOZ_MAKE_FLAGS="${MAKEOPTS}" + + # Use system's Python environment + export PIP_NETWORK_INSTALL_RESTRICTED_VIRTUALENVS=mach + + export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE="none" + + if ! use telemetry; then + mozconfig_add_options_mk '-telemetry setting' "MOZ_CRASHREPORTER=0" + mozconfig_add_options_mk '-telemetry setting' "MOZ_DATA_REPORTING=0" + mozconfig_add_options_mk '-telemetry setting' "MOZ_SERVICES_HEALTHREPORT=0" + mozconfig_add_options_mk '-telemetry setting' "MOZ_TELEMETRY_REPORTING=0" + fi + + mozconfig_use_enable test tests + + # Disable notification when build system has finished + export MOZ_NOSPAM=1 + + # Portage sets XARGS environment variable to "xargs -r" by default which + # breaks build system's check_prog() function which doesn't support arguments + mozconfig_add_options_ac 'Gentoo default' "XARGS=${EPREFIX}/usr/bin/xargs" + + # Set build dir + mozconfig_add_options_mk 'Gentoo default' "MOZ_OBJDIR=${BUILD_DIR}" + + # Show flags we will use + einfo "Build BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}" + einfo "Build CFLAGS:\t\t${CFLAGS:-no value set}" + einfo "Build CXXFLAGS:\t\t${CXXFLAGS:-no value set}" + einfo "Build LDFLAGS:\t\t${LDFLAGS:-no value set}" + einfo "Build RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}" + + # Handle EXTRA_CONF and show summary + local ac opt hash reason + + # Apply EXTRA_ECONF entries to $MOZCONFIG + if [[ -n ${EXTRA_ECONF} ]] ; then + IFS=\! read -a ac <<<${EXTRA_ECONF// --/\!} + for opt in "${ac[@]}"; do + mozconfig_add_options_ac "EXTRA_ECONF" --${opt#--} + done + fi + + echo + echo "==========================================================" + echo "Building ${PF} with the following configuration" + grep ^ac_add_options "${MOZCONFIG}" | while read ac opt hash reason; do + [[ -z ${hash} || ${hash} == \# ]] \ + || die "error reading mozconfig: ${ac} ${opt} ${hash} ${reason}" + printf " %-30s %s\n" "${opt}" "${reason:-mozilla.org default}" + done + echo "==========================================================" + echo + + if use valgrind; then + sed -i -e 's/--enable-optimize=-O[0-9s]/--enable-optimize="-g -O2"/' .mozconfig || die + fi + + ./mach configure || die +} + +src_compile() { + local virtx_cmd= + + if [[ ${use_lto} == "yes" ]] && tc-ld-is-mold ; then + # increase ulimit with mold+lto, bugs #892641, #907485 + if ! ulimit -n 16384 1>/dev/null 2>&1 ; then + ewarn "Unable to modify ulimits - building with mold+lto might fail due to low ulimit -n resources." + ewarn "Please see bugs #892641 & #907485." + else + ulimit -n 16384 + fi + fi + + if use pgo; then + # Reset and cleanup environment variables used by GNOME/XDG + gnome2_environment_reset + + addpredict /root + + if ! use X; then + virtx_cmd=virtwl + else + virtx_cmd=virtx + fi + fi + + if ! use X; then + local -x GDK_BACKEND=wayland + else + local -x GDK_BACKEND=x11 + fi + + ${virtx_cmd} ./mach build --verbose || die +} + +src_test() { + # https://firefox-source-docs.mozilla.org/testing/automated-testing/index.html + local -a failures=() + + # Some tests respect this + local -x MOZ_HEADLESS=1 + + # Check testing/mach_commands.py + einfo "Testing with cppunittest ..." + ./mach cppunittest + local ret=$? + if [[ ${ret} -ne 0 ]]; then + eerror "Test suite cppunittest failed with error code ${ret}" + failures+=( cppunittest ) + fi + + if [[ ${#failures} -eq 0 ]]; then + einfo "Test suites succeeded" + else + die "Test suites failed: ${failures[@]}" + fi +} + +src_install() { + # xpcshell is getting called during install + pax-mark m \ + "${BUILD_DIR}"/dist/bin/xpcshell \ + "${BUILD_DIR}"/dist/bin/${PN} \ + "${BUILD_DIR}"/dist/bin/plugin-container + + DESTDIR="${D}" ./mach install || die + + # Upstream cannot ship symlink but we can (bmo#658850) + rm "${ED}${MOZILLA_FIVE_HOME}/${PN}-bin" || die + dosym ${PN} ${MOZILLA_FIVE_HOME}/${PN}-bin + + # Don't install llvm-symbolizer from llvm-core/llvm package + if [[ -f "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" ]] ; then + rm -v "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" || die + fi + + # Install policy (currently only used to disable application updates) + insinto "${MOZILLA_FIVE_HOME}/distribution" + newins "${FILESDIR}"/distribution.ini distribution.ini + newins "${FILESDIR}"/disable-auto-update.policy.json policies.json + + # Install system-wide preferences + local PREFS_DIR="${MOZILLA_FIVE_HOME}/browser/defaults/preferences" + insinto "${PREFS_DIR}" + newins "${FILESDIR}"/gentoo-default-prefs.js gentoo-prefs.js + + local GENTOO_PREFS="${ED}${PREFS_DIR}/gentoo-prefs.js" + + # Set dictionary path to use system hunspell + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set spellchecker.dictionary_path pref" + pref("spellchecker.dictionary_path", "${EPREFIX}/usr/share/myspell"); + EOF + + # Force hwaccel prefs if USE=hwaccel is enabled + if use hwaccel ; then + cat "${FILESDIR}"/gentoo-hwaccel-prefs.js-r2 \ + >>"${GENTOO_PREFS}" \ + || die "failed to add prefs to force hardware-accelerated rendering to all-gentoo.js" + + if use wayland; then + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set hwaccel wayland prefs" + pref("gfx.x11-egl.force-enabled", false); + EOF + else + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set hwaccel x11 prefs" + pref("gfx.x11-egl.force-enabled", true); + EOF + fi + + # Install the vaapitest binary on supported arches (122.0 supports all platforms, bmo#1865969) + exeinto "${MOZILLA_FIVE_HOME}" + doexe "${BUILD_DIR}"/dist/bin/vaapitest + + # Install the v4l2test on supported arches (+ arm, + riscv64 when keyworded) + if use arm64 ; then + exeinto "${MOZILLA_FIVE_HOME}" + doexe "${BUILD_DIR}"/dist/bin/v4l2test + fi + fi + + if ! use gmp-autoupdate ; then + local plugin + for plugin in "${MOZ_GMP_PLUGIN_LIST[@]}" ; do + einfo "Disabling auto-update for ${plugin} plugin ..." + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to disable autoupdate for ${plugin} media plugin" + pref("media.${plugin}.autoupdate", false); + EOF + done + fi + + # Force the graphite pref if USE=system-harfbuzz is enabled, since the pref cannot disable it + if use system-harfbuzz ; then + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set gfx.font_rendering.graphite.enabled pref" + sticky_pref("gfx.font_rendering.graphite.enabled", true); + EOF + fi + + # Add telemetry config prefs, just in case something happens in future and telemetry build + # options stop working. + if ! use telemetry ; then + cat "${FILESDIR}"/gentoo-telemetry-prefs.js >>"${GENTOO_PREFS}" || die "failed to set telemetry prefs" + fi + + # Install language packs + local langpacks=( $(find "${WORKDIR}/language_packs" -type f -name '*.xpi') ) + if [[ -n "${langpacks}" ]] ; then + moz_install_xpi "${MOZILLA_FIVE_HOME}/distribution/extensions" "${langpacks[@]}" + fi + + # Install icons + local icon_srcdir="${S}/browser/branding/official" + + # Prefer the upstream svg file they use when packaging flatpak so it's always up-to-date. + insinto /usr/share/icons/hicolor/symbolic/apps + newins "${S}"/browser/installer/linux/app/flatpak/files/share/icons/hicolor/symbolic/apps/org.mozilla.firefox-symbolic.svg firefox-symbolic.svg + dosym -r /usr/share/icons/hicolor/symbolic/apps/firefox-symbolic.svg /usr/share/icons/hicolor/symbolic/apps/org.mozilla.firefox-symbolic.svg + + local icon size + for icon in "${icon_srcdir}"/default*.png ; do + size=${icon%.png} + size=${size##*/default} + + if [[ ${size} -eq 48 ]] ; then + newicon "${icon}" ${PN}.png + fi + + newicon -s ${size} "${icon}" ${PN}.png + done + + # Install menu + local app_name="Mozilla ${MOZ_PN^}" + local desktop_file="${FILESDIR}/icon/${PN}-r3.desktop" + local exec_command="${PN}" + local icon="${PN}" + local use_wayland="false" + + if [[ -n ${MOZ_ESR} ]] ; then + local desktop_filename="${PN}-esr.desktop" + else + local desktop_filename="${PN}.desktop" + fi + + if use wayland ; then + use_wayland="true" + fi + + cp "${desktop_file}" "${WORKDIR}/${PN}.desktop-template" || die + + sed -i \ + -e "s:@NAME@:${app_name}:" \ + -e "s:@EXEC@:${exec_command}:" \ + -e "s:@ICON@:${icon}:" \ + "${WORKDIR}/${PN}.desktop-template" || die + + newmenu "${WORKDIR}/${PN}.desktop-template" "${desktop_filename}" + + rm "${WORKDIR}/${PN}.desktop-template" || die + + if use gnome-shell ; then + # Install search provider for Gnome + insinto /usr/share/gnome-shell/search-providers/ + doins browser/components/shell/search-provider-files/org.mozilla.firefox.search-provider.ini + + insinto /usr/share/dbus-1/services/ + doins browser/components/shell/search-provider-files/org.mozilla.firefox.SearchProvider.service + + # Toggle between rapid and esr desktop file names + if [[ -n ${MOZ_ESR} ]] ; then + sed -e "s/firefox.desktop/${desktop_filename}/g" \ + -i "${ED}/usr/share/gnome-shell/search-providers/org.mozilla.firefox.search-provider.ini" || + die "Failed to sed org.mozilla.firefox.search-provider.ini file." + fi + + # Make the dbus service aware of a previous session, bgo#939196 + sed -e \ + "s/Exec=\/usr\/bin\/firefox/Exec=\/usr\/$(get_libdir)\/firefox\/firefox --dbus-service \/usr\/bin\/firefox/g" \ + -i "${ED}/usr/share/dbus-1/services/org.mozilla.firefox.SearchProvider.service" || + die "Failed to sed org.mozilla.firefox.SearchProvider.service dbus file" + + # Update prefs to enable Gnome search provider + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to enable gnome-search-provider via prefs" + pref("browser.gnome-search-provider.enabled", true); + EOF + fi + + # Install wrapper script + [[ -f "${ED}/usr/bin/${PN}" ]] && rm "${ED}/usr/bin/${PN}" + newbin "${FILESDIR}/${PN}-r1.sh" ${PN} + + # Update wrapper + sed -i \ + -e "s:@PREFIX@:${EPREFIX}/usr:" \ + -e "s:@DEFAULT_WAYLAND@:${use_wayland}:" \ + "${ED}/usr/bin/${PN}" || die + + readme.gentoo_create_doc +} + +pkg_postinst() { + xdg_pkg_postinst + + if ! use gmp-autoupdate ; then + elog "USE='-gmp-autoupdate' has disabled the following plugins from updating or" + elog "installing into new profiles:" + local plugin + for plugin in "${MOZ_GMP_PLUGIN_LIST[@]}" ; do + elog "\t ${plugin}" + done + elog + fi + + # bug 835078 + if use hwaccel && has_version "x11-drivers/xf86-video-nouveau"; then + ewarn "You have nouveau drivers installed in your system and 'hwaccel' " + ewarn "enabled for Firefox. Nouveau / your GPU might not support the " + ewarn "required EGL, so either disable 'hwaccel' or try the workaround " + ewarn "explained in https://bugs.gentoo.org/835078#c5 if Firefox crashes." + fi + + readme.gentoo_print_elog + + optfeature_header "Optional programs for extra features:" + optfeature "desktop notifications" x11-libs/libnotify + optfeature "fallback mouse cursor theme e.g. on WMs" gnome-base/gsettings-desktop-schemas + optfeature "screencasting with pipewire" sys-apps/xdg-desktop-portal + if use hwaccel && has_version "x11-drivers/nvidia-drivers"; then + optfeature "hardware acceleration with NVIDIA cards" media-libs/nvidia-vaapi-driver + fi + + if ! has_version "sys-libs/glibc"; then + elog + elog "glibc not found! You won't be able to play DRM content." + elog "See Gentoo bug #910309 or upstream bug #1843683." + elog + fi +}
