diff options
author | Joonas Niilola <juippis@gentoo.org> | 2024-10-10 15:35:01 +0300 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2024-10-10 15:35:58 +0300 |
commit | 79616cbf0a9afa4a046c02c3de34cafbc26f96eb (patch) | |
tree | 50afce35d14dfff40e75cd630117c550f62c3436 /www-client | |
parent | sys-kernel/gentoo-sources: add 6.11.3 and libbpf patch (Sam) (diff) | |
download | gentoo-79616cbf0a9afa4a046c02c3de34cafbc26f96eb.tar.gz gentoo-79616cbf0a9afa4a046c02c3de34cafbc26f96eb.tar.bz2 gentoo-79616cbf0a9afa4a046c02c3de34cafbc26f96eb.zip |
www-client/firefox: add 131.0.2
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/firefox/Manifest | 101 | ||||
-rw-r--r-- | www-client/firefox/firefox-131.0.2.ebuild | 1369 |
2 files changed, 1470 insertions, 0 deletions
diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest index 3befe5ead084..5b4dee2d5cfa 100644 --- a/www-client/firefox/Manifest +++ b/www-client/firefox/Manifest @@ -302,4 +302,105 @@ DIST firefox-131.0-vi.xpi 667583 BLAKE2B ec659b907cb7a5b5882b10ee1bcab75113ab0e8 DIST firefox-131.0-xh.xpi 421249 BLAKE2B a006441cd86f2e4c505492b21d7cc68df5751d5c6d62b03188d3ea5e44e47afb327f07c6745bc0486dfbb00dc268b3db941cad6f42b70462cbae5c2354f90601 SHA512 bb34983c8ec72f0247eb717a5e3805365ef6af7986d2315bc46b15b4380d007360bd9477ca4b71614fd3b920f53244f88f9d9ba3b6b86cc5d593debf0496e455 DIST firefox-131.0-zh-CN.xpi 668952 BLAKE2B c1389fb8dec0f1188ac7b5721e8b27917bd29689ba5f47d3191ad702e19dda83fd6317f1a5fbe0783d66636aeb0c8306c5a27f015bc04ad2ea55130a8a61eb33 SHA512 1d7c967786304060409a4ccd669cee1653835e6e18bde61ff7b90e6090f193ab99eb8392d4b7af4a46b25f542a1281e87d5c06b2b783c4bdbdafc2aa172c2ca5 DIST firefox-131.0-zh-TW.xpi 670927 BLAKE2B 13de3debfffe7f4f8e4b7713c501bd273b6ab3144f5e4580a7b2d2f775006b87f90f88640f84974b86f9ac667b4d975407bb8ff4adaf0b03e4ec95580bc064d8 SHA512 e1603c59b42cc957db8a0610c562a757d7e5b7ea74fc4f5340d08e04f7d01742087482760bc7a128122e9e810d74a69dc2dfee78a0597f78f2ff2aa1382e4954 +DIST firefox-131.0.2-ach.xpi 468404 BLAKE2B 0744a09b9ad0eaf896b400211b96d3660fb3ae2ededddf244061cc37b1553ea8d81f612ae330de652ad0028a209c12c3a389b3168db73179605ed7c77a6e2ecc SHA512 1586f0dcbb6887e5af99e7d6d005b8455a616d6233352cba5d6a786d242536e55e23833034d699879eeebd72b6c269010baf12d5ad7b10d8a52c010284d28c49 +DIST firefox-131.0.2-af.xpi 421442 BLAKE2B 8f35510139ac7c78a3aa73bf95c8c34c535050a46dbe8725fc0a2c047d076fdcab2ef806bf1689a1ef1df9e0010b69444432dfbc7613efbb5860a07d2d88f57e SHA512 7cb920d8619660d3ab70f8c1070c8b4cf72215106003977ea7009d9f479d14644e15d53bd02f481184dce1b1e3116a14936e9de38b867ffe93667a1d8018620b +DIST firefox-131.0.2-an.xpi 509991 BLAKE2B b4e2b06ec5759985c8cce3a2c58f6f64f3da29e83fed7f5a3a65e18c226ff0bf982dc50b6adb19ff6b71c988120679ec5fd544f5bf0289697b2af70992f9f8b4 SHA512 ec06b90459e9c863c4311784a0b5d578f47ae98c177edc5b4e4a1269961ecdeac6355491c626d969db152bf249b2af68b832d7b113c29f220fd7f39b61ae0aa4 +DIST firefox-131.0.2-ar.xpi 616368 BLAKE2B fc2f843cd9ca92980d3b9a2dc710d6f06838c970a2694a253459f788350f0a2425c2781805701e4521df7a66df5ea6454b812d0fda1ebac44876e295b6a8411c SHA512 cf83c95da754b4572dc8f1069f20ca720db475fc827d9dd15e5061e0e46d8cc2913e92db7cb80b382cae1c21826b6cc486449b78f45a1fff017c1c1e5125c136 +DIST firefox-131.0.2-ast.xpi 500421 BLAKE2B 6671c41af28eae0d4e3863e5e1008bd6531e3ca361f4a25991f23c4c924e0d25fd42e20ddc07fc9a6ef51c3e99de1365ae2c6a40ec357f002d29a1f80d6e9771 SHA512 100568c0cedc0da7c6a9ba200808c62b0b84fdfd78f32c91b543843c47fc8c50c9352688003860d45938473f9d4fe29a1e3cea2ba3ec752237f929c8bca035ea +DIST firefox-131.0.2-az.xpi 495112 BLAKE2B a2d987c2e13138c9eef9211b347cc7d414801ebaf6d19a29141936d783707aea4521369b5d289c3901bd182f1bbeca129a3f72c9139685ed80e42f13923e343a SHA512 b6e25bf29fb4df67414429306d3b364d77ebde06e816386d5536d2da614c9700941aebbd2ad6b8cb8886186e1d5a14c75d5782afa632ffa4517ca8aae4df7d97 +DIST firefox-131.0.2-be.xpi 728099 BLAKE2B b0a79e12eacf7ba2f1b79b75ff052eec3b10ec102bad6f73393be9c0eaf13030010b7e653aaee48af0c8f7ee21e9aff592fac105605202bdaa37414bccd9a752 SHA512 68d09f51f483accb3cd0ead2a9720f702abe9c3391a9f563b50c90752074b72807c762a3803fe21790e2fd92f6df959ed603315a7e9f91fe4549aef5b7aa0a5b +DIST firefox-131.0.2-bg.xpi 648280 BLAKE2B c72a159aea8ad0017d83a5f3d16adb5fc4599d84fd04893b97e006f0d0a5b4d04ee1679ccc782af9f74e3381b82486e9d503acf61aab307b46ebe736d5d981c1 SHA512 8c77be9f8aec2756e02e47dcbbbfaf918c43a63801954a36c2d812affc5d963139ca3862de60e969b4f6f738c5a9a24a985dd49f9d96f4112d421048cd4dd9a4 +DIST firefox-131.0.2-bn.xpi 585888 BLAKE2B 8e8ea51f48d259fde22ab4a7a4092694b4cb5057aed8e877f77c99ae0e54faa9ba923e1791591e9c2a7a77e06fe43a84000b4f4e1077694866dc7875a72b595d SHA512 35e2750807a193bc429ee68335e045927f7b908580fa868b697c8a7923c513da8efbf1e88d8577a19405d57ef7073369e25591717eefd2eda21915ff96c6c721 +DIST firefox-131.0.2-br.xpi 594251 BLAKE2B 1c52d6928818b6fd5cc9d3a6db77304d85e867af16ca15f64ab8e314aef595845d47574fb98225555666d3e63a2082d6813de148fc48a224433b717a47b58d4d SHA512 d4ab40ff30152558d4a5e5576cf1660b10d7319b6e0f7e48a54520f5e1a651213d11c32ec95e68d1ca18b48edfa5271dc5339986371730fdc8525adf4378eaf3 +DIST firefox-131.0.2-bs.xpi 513547 BLAKE2B b2dcc8b80e6c87b4085ea3e184237735f84da6ee7f61474ee8aea30b949e7a11c183e9ed4dd2d0db262b1b56bb4141fed0bb86fd5347c0fdc28ee1b7383979e4 SHA512 81732eb205ac4d222f6abeaf9a9a3bbd80ec19fe4353f6a5758e12ce240c2335665abc8bdd3e971b23aae108036a218140e55660e62bd10cedf84e6a69179181 +DIST firefox-131.0.2-ca-valencia.xpi 550007 BLAKE2B f6675f9a9fb2b004d8e702c2416fc5810378dee3ba1826d2d9f60beea2cf10738b594ba1cfde46406ef28bbe0ffc171acc6d08a6065eba086dab2313116531c6 SHA512 7dc00f19c391ee28ebd8188d127fc87151030d5f1a9393515607bb2407fb203b418e19273194145c3354f52f802816d8246a4973fb5042fdfb98e8437e4a1a92 +DIST firefox-131.0.2-ca.xpi 601776 BLAKE2B 8f42f1bd90d418c40e3845c37a0aec1c09ce6caa772b2c3080beabc250761f17c8fda5ca872fb13c1aad072e053fac6816ffa92bccfd293a940bf3e853de1223 SHA512 74564e76b89f94422c498b7fae836206c633452efdbdd1da298c54a2ae78fa6bef77efa783b8e5a5435aeb5169ae69e8862ffa1ded33b5a2789dbad17ccd6327 +DIST firefox-131.0.2-cak.xpi 597636 BLAKE2B bf73d27703d746da24e135553a86c9ca801ab140b53d330680d5380b1ba7283a14c11521f215b3ddbd66a8a7748504d27717165b614ed6197f20cad199845ad3 SHA512 3bc3d8c1603396ccc497fa32a3c540ca6141af8322ad140a398cbbd996ffb1a518f63c9f43da24dd4690407d27d818a0e325061c4f1d8aeb111eb4442719b858 +DIST firefox-131.0.2-cs.xpi 671339 BLAKE2B 3b2d989dbe2197804c0c6467865787e7bfccc3da263dcfe4ae59b064a2a980ffa29962b5167a3d242f92cbec599dc4dc4894c0b0b4312f04af0a1b95ddf9a29d SHA512 955a748f2856276caf845e9b5f6e336094a54ce9a05a72a7ea53575c968e224a5f4e874020644912f917816f91008c079a4c4a190f99d7267ce80204260b4e0a +DIST firefox-131.0.2-cy.xpi 635348 BLAKE2B a4b3b3605368b54f31d4239f5831e4689ad9cbbd97d89c1bb3c0da4651c7349e274422186a9dd06f07960537d4fd9ef5bfac015505249aaee7f442f9d1857230 SHA512 528f68fe1e113f8ff8e23bf2a644426a90b315da1bd2b0e7460a86ae13b2d954fe2c67f3c71f5d0e3c6f6512caa830611faa65b1309c3c8e082d387678e0adc0 +DIST firefox-131.0.2-da.xpi 623757 BLAKE2B 40639169aaee63e323f5d56b908c4ebf6805997ccc9d4d5e917f0bb3677433f2e0e3a640b57e15adb177c6c780f8225eebf14fafbfbe8071f957536095c7b7ba SHA512 114c5ffcd6496148adc9b0ad8eec31bf18f00bb0ce3433c6693eb84693a3480c66bb8a1eb5a6f3eb8be223b5e48239009d9e980916773ae822ae515034f06392 +DIST firefox-131.0.2-de.xpi 645496 BLAKE2B 3ccebee2b6f6bbde8e5daecc77a740f7769d623bc77d9e39964ace3a7b05b0e29af60f3027e77e7548d0d289fe89d23b87f46243a96ae3e0b3fa42c1ace5c040 SHA512 48662a3cea079468f23bc113a0161d5aaf7e23372f15a1cd836b9affa08eac942e509d0c6169c7f4b51aaad7c58fb700f8c81382569a1af7249cc75dd5de81d2 +DIST firefox-131.0.2-dsb.xpi 662255 BLAKE2B 4d8a0f591a3e47f72850d67f102ef2251e5c026a75d32a943879d6cafefb59e97b01e67d5ff6a3975a514630bb0b393fe7e8ec558f4217905fb30a2d072cc14e SHA512 a43d747b78a89139f513b414f656ad0ba24f2385d1310fc912f0ba1160455d95ee3664c02dd3d85a4ac7469adea38614ed2ec3b3736c5df5d7b821323d3b5fdc +DIST firefox-131.0.2-el.xpi 745645 BLAKE2B f136c52d234a0d296e29753c8a647f0efabaafd02fb34c2ad048afb7a6a8b1b069d79ac4454493e51e26cdc4eb7409c01b0869cea7283706e55d97c54bc854b6 SHA512 3c7912a7da2f2fdf82262c8b2bdf717bad7262315fff272fed5cbfb2222f52ffb0f645fc62e00462a0a02410a30e5434dfc5dcf968b7d6f6e9bafdc3014360b3 +DIST firefox-131.0.2-en-CA.xpi 595197 BLAKE2B ecd239aba3a5872b16ba280b6b5a2eb2d95e9f9003ea7c52907f19d66fbbe3844c5e142d9445614fce95ad8d6eb99826b6ecfb1705142e8f6b59338e8b9dbe16 SHA512 3c477067c5c735d010aebebc77ae48f7651c7f5fbb344b94f83f749d7258d6d50ea7711fe328716808cc2c1be92b69a56ba95d6c73a0ee20425e3d8a3d10b68c +DIST firefox-131.0.2-en-GB.xpi 595560 BLAKE2B eee493d99f370e6b5eabbaecad4010ab19c08af0df852a86322c51ce9dfa891d607561958b4a1af77f9a77efc85546d565380ca001cf24ad2f0da96bb2260aa7 SHA512 c19702be92023856a9638ec3d4b1e071842196dba2abe2986415eeef3cf90feb5401c1fd5accef92346ececd543187ac0d7d15bf8129ae86440ca13f03ddf998 +DIST firefox-131.0.2-eo.xpi 626846 BLAKE2B 799b9c9be520d2799d5b402acbd02d3214f37d1e20c12b065b5baa2d1425c1063ffcd802c670f21a8e49b8dcce9f1b5693d00ebae03295cf964f5fda95510ccd SHA512 5222b5e803688cf36c857aafdb44bf7ed93b64bda3a695e0438ec8e99e25a38898201a9f42190af1a84c8e6673e396089520a0d356706e30c0f9f68578f4867e +DIST firefox-131.0.2-es-AR.xpi 638976 BLAKE2B 8fd7a22a63f4a38311ce615903b049550b133d08193a8ccb3a33946f699c43144dd6be6cc294e4571fa60c80fe17abfe4cf673156fc974cb89cdbda5a676c5c3 SHA512 700944b2421a6cf3ef00e8076e84258b3076b9ce551ed9c90fd62261ae9a7a94dd31f3f4ab63fd2607ccfb2c8d10b7b1749c963a265bd0e0922f9f4469828ec8 +DIST firefox-131.0.2-es-CL.xpi 638185 BLAKE2B 6357b738c485c51ea69b09c004d7774fd626a66861b7e77267805497127138a3d2a45253bb7cacdcc1048837804d21912353a7d776f1919da279b9b0a44664c6 SHA512 1c322c703c6f23aeb1743f8842bafab30daf17e1a78290b8047b4c055c7f3426a2521d34b1f670d645367f782999ebe1407c6f5d9420cc783c75ef8a7062c956 +DIST firefox-131.0.2-es-ES.xpi 629773 BLAKE2B b1c895a35b1041e361941ac47ef9ffc3900f070e81db9a2db1f34a0e6ef825f491b25a6d78100b2e07ff2d5ee58e7fd06dc21da6a7bd70209e542f425943b1b8 SHA512 c1a0ca8c2d54ffc7ea6d5d5df701118af8e653b451980387246aff1dafbeffe583f7e6d09d332ec0e007b89baf96dd24e7a2324222a0e1bbe4d1c0de91528070 +DIST firefox-131.0.2-es-MX.xpi 627922 BLAKE2B 3acebe592122f61a7a8e3b15594d63fcb34e4796d4e81939757985632b7b3ff6cec0e03807f8cb64012684ae5614ce78e566d2273acdeae532ea67048c0050c5 SHA512 574438331a6193d69f03ca486d7f95dc04808f04650df51147142b20aca689afe1d56a648fa93cb94f174bc5041dab01c1d8194dde5f22ecdb964dabc7e32957 +DIST firefox-131.0.2-et.xpi 544062 BLAKE2B 2a21578da86662102ce1287b701c29dc6dc650bf6aaf04baa6fd02201223b0f208ef714b6e1b4128a66c6f4db60f6c371e04e7a3736c9cf06a48d280350e21f1 SHA512 c65afbdf8cd9e238dd90fe4047de72450d8211fa78247c5d05613d54a670a64b5369b6580ee1becc2ab01949cb0edf147c4980c15b108e1ffd521d5b8d144197 +DIST firefox-131.0.2-eu.xpi 606300 BLAKE2B c7cbcf14ca9fa122162481a8c4e8f56e649955f4d7477e7983720da9b812ec891c53aa9e68e6ace6d4f51925e7b68bbb863b3a04248804d181bf5523c5567d2b SHA512 7319abfa7b141ce2ee17c4084df37a41e4c944713033387768070c7a4abc48ce27973bb975eb192966ff6de3c1546fe173061a72e40a1fd9cd947d3ac0cc546c +DIST firefox-131.0.2-fa.xpi 595020 BLAKE2B be3c3ac3b354de157eda09b54c88e335db9d65acb1ab741d7b8fcf0c179c113816db5da00d49daffd3d1dd15c5c168a101ee938af0240100f562dd4883758a0e SHA512 6a4810e08b88364f5aabf65f4b83372da3af0f02d8c7791c44772952c6ea5afb707bd19b43871dc29a27637b997f6d3a46790aa5e9fb16e275c6c77e46ff2b88 +DIST firefox-131.0.2-ff.xpi 480061 BLAKE2B 74d265754e20ece29f9790b957115415cf43efb8a4e741ccef4bcbe385511aa383eb4e76bf59b9c57a1a23f9fa946ba4dae0b8d8b245bfaaaa3dd502bf57f52a SHA512 96e8359cb3928b5512791db61b8203e5439b9b50054a82e7a8df3edee4542714dbc661bda463d0b3631a35ea58aa5b190d107177bc6b8320032b898ca9d56217 +DIST firefox-131.0.2-fi.xpi 619034 BLAKE2B 86e276a6926c4da0eed3e4c19a5a5f816b549bb5fbe98e08ca0794a8657ae6326240dfe08c19ac9a318c748a1dd19602268f26c95e959dc331b8dae276d887b7 SHA512 2440fbecbb7a91d6d103861820593e930c4f0f4346472225b121ee0eadb087e86c71110647fbfccb177d5b52b53b5e8ddedc8c5a92614ff296dde485927ea0ca +DIST firefox-131.0.2-fr.xpi 652460 BLAKE2B e3abfc0c594510ed7b5dce0f1ae92046130a1b977d222eaa5052c8d309f8efd945aa0f5dddcf5b08742df0b81122f2dc295663c59992d12402a95007e85ec647 SHA512 a38e25877c582fb1738c8c3f1eb01fef4a8bf9e3ecaf0cbe7af19ff0b568971270df63bf8cfb75847a80965a29af31b18a243289ee2f2acac44e481aba3b82ba +DIST firefox-131.0.2-fur.xpi 644997 BLAKE2B dd4d78bb240bf294aaf7d8b8373a84bdb63760bc5b5f3b720f5fa8a73e20a126a5d6c5e1434fb567c61c922b4a3f35be88ff0086413ff19f050d6ac26ce8c671 SHA512 479ed790671a24fa53962ab108dd686f677d1c17ea4036ee0bd6b56dafa2b258da0da510a71aa9153970c275314dc7a8be586e4fca7b152f5b0b22d5cf5c8ec9 +DIST firefox-131.0.2-fy-NL.xpi 634739 BLAKE2B 547b9c94486407af684bb53728e7d4fc4274125d40fea975d8b0143fe021d874bdc11f3ae8810c730740bcfa703c76efdeec92ff540e3ac450fc2788c1949f95 SHA512 2d8f5da98d6c91df532923771957b969b508868f2f0f025d36e1d6fb1003c525861823c02e73ec9632ea59bf62dcc6e51853fb9dec02065eaae110a1e8a85850 +DIST firefox-131.0.2-ga-IE.xpi 475186 BLAKE2B d9302799bb8050d8021786862db768c4b34f4c57d81ed02b2022d3a242d44347ee099d57acdef4e480d772511d268927ad48ea7618426cd99b2b19ae4229e88c SHA512 fdf009232167b6c6eed9dd8ca9791167a9f79a1bc945b719f1da5025d2bfb30e198fcc34f68cc79d9658c981264dd851f56fefa6229cef96c674c94ca74a9c7c +DIST firefox-131.0.2-gd.xpi 601267 BLAKE2B 99a8c6b628ab6efff5e5bd054689b164bf1776d21096564b99f52a9c4ef7d8a09e17e07b7fed878d693851f847278b9d253d029b20cd620f6de1866fadd81405 SHA512 ab1620cb44eca2a512c2fa01c5fdd0827ffec6f44f3280aab003293ff22a82f888ff6f1b37603f372d23c2c54b6c083cab24f6f824e46e6f4109b69ea53ccede +DIST firefox-131.0.2-gl.xpi 612826 BLAKE2B ab7582849e39ff9448013529b460fef057b78a69c9d5a98c9ab31d66fb7d0c4992c1e448418ef147ab427469ee3cd72963599c24b50481c0f21ae5d324c888a9 SHA512 9226c32ffee73ce496304dacc3390d113e90cc4af9d401bf04155b219aa5bb5331e1247a2d0afe4dd85ba107cd80332666fadae5e735eb490796b473d25cd065 +DIST firefox-131.0.2-gn.xpi 647607 BLAKE2B 5b88ae7aea1a7f4acaf9c2a8ae271af2bbf646e0eb7bb45c8b621fabb278e73da38cb1f4a64e6b033de6226bb514e7815c3af8207b5fbc291afa5791f743b382 SHA512 e5caeb068fa1e7eba056f48ad8cd3948e0b24fa541217d518cbae63dc62e2ea1d68eface063cac84eaac5d3abbec1fb150b7ba89cbfdf7e9aaf03df2d823c15f +DIST firefox-131.0.2-gu-IN.xpi 531666 BLAKE2B cafc6918b7ef5d30afd63b2153f4fdb4bfeec3c1a94a1b9139ca2cd8d66650cc7338c491bd5663b5bc14a9b207bf748242cc3ec797016053bca0abb72d882221 SHA512 76b0fdeb74d303df4e4850b7f6c2dc02c60897179777ca58496cc6ddc1d5267989d6260cf6e14f6aa6e85263ad66602d180e7524a6e4ca2aad33460e47f54aff +DIST firefox-131.0.2-he.xpi 641665 BLAKE2B 7ecee1e2e767fa7503ad41e9316e058c03f0de796425e62486234dc8e8bb063bc6d36d86ca4ddec0a2ac24118870b2d6df2337605e7b67e34095924be0bac436 SHA512 cba4813fe1246c38e4166cfffbb366af38ae0257c4c37a335ee9e4da08e3b423b60792978b8284a21241436b627fd1b9337884c9d0fdcecd7bd4ae07168dd83a +DIST firefox-131.0.2-hi-IN.xpi 570974 BLAKE2B c3ece1893021311f0ba97b96dfed4deee16f8153ab5cac779f207c04cb590ed30f98cb2ee8bb705292c9e33514feb63c49850b1cdb3a149398ff55aafcb4e1f1 SHA512 bac13d252ba461d8bb2f19b5344ae1137d56ac416d35a57fedca80e15f50eaa3dd548ca1dfdae8085f1325e1b6e2977200c27cae3b787eb0db65e67de50b432d +DIST firefox-131.0.2-hr.xpi 621589 BLAKE2B f5729a8e2428b7d9d99a279815048c0ef8f3176c448d206c64cd0d6ccc19cfa8bd2a3a823580273c27f32fab68b57b64b66ff90f73b7151a5fd015549a0c57bf SHA512 05ac63fa899bdf1712c0af8aebb865cafaa8939c1b16520b07406572d01ba61d7fb5dd004c69fe122ca3d5484e55688f6b9bc3af90211abc921086e25e9125fa +DIST firefox-131.0.2-hsb.xpi 658176 BLAKE2B 18a2bfd785c486b9e4095128ba94491815c23d3e6a75c5206f6e185b802eb7157cb8d89731dd9ed79a9778ad08af96af01634f090f97c613756afa672731696b SHA512 3925e743d975d663982febb8d1cf35406750697b6cf101f57ab7038824bf6ec08f04280e24ae240dae4512094e6e422968561f985d3e005e8643a2a13a0fb9c8 +DIST firefox-131.0.2-hu.xpi 662938 BLAKE2B 0e8dd59372f9d5080e145fadbe4eeb13cfb875b832adbcc2a4efbbf64f1dcab2628dae70de746298c26251a2a544c89ef4f558ce651c408f687b0341f90bf013 SHA512 e321838861162e836eba6bdefcb0e9c2f2bf6eaf0c1a54012b3a2c8ad626fe7524485314776daf39f83078931e927cf2f2e1186a281bebeae15594d1644e6b3d +DIST firefox-131.0.2-hy-AM.xpi 655953 BLAKE2B 325381236a09104d5d127fb2b3319a58aab90224f829a37264d98a97f0d12446cbad816b6c6d73ab63a488b4d4dc3bb2a328686d97d79fc2628debdaa5be24f3 SHA512 64016717962ed65b3dc249834db82ff80c00c26ac9ce6a0ffde45e4412c75fc854a420211feaf076f051e81849e618bf3d81acc3c07d1affdefa6757cf95c2d5 +DIST firefox-131.0.2-ia.xpi 621920 BLAKE2B 86ecfcc08fb347041829b10daa69336f2d3e9cfea20e5d806d11eb4ce3b77aec16ea8ba94b2458c5c01d2a2e44f5b68dc5bd60e1ec779bf55196f07511aa78db SHA512 45868d37a0fc6bbc2c090e4f00f476ca9d15290d8eaf5ecb0be8636cb7d8de89bbfc11a4fa7dd7370ca6b03e642dd4a1fc407084d51bf3b51b309e9d38912e64 +DIST firefox-131.0.2-id.xpi 589321 BLAKE2B 6bcc7aa0bb636af848395f80937939de480e98b396cf83a6e207efb8ff0e679a4a5b43033aa0265298a1515716a1ac19f35dca5790140b3f8aa9da934132b719 SHA512 fc7fc887e701e8c679407db7a0d783091ef87e51bb8271cdae0beb61da140c1aee0673cf39f4120b2bd53e4fa3f54caf6624b43e93e0085392fcc6014df25038 +DIST firefox-131.0.2-is.xpi 627296 BLAKE2B 57a70b86ea1b54a19466aea408d847cc21c343c5c78761024d0106d9352850774a649e48367fce97e3d0457ef40f40122f160c1c603bb83e60f85bdce1532fa7 SHA512 c63ffbc5d0f6d06a43b3f97335a829923c994bc2cabef8a0d793331ea1862e50e135c26d2b22da5173bbd8106ccff2dafbd44302952561ecd35a260e7da04697 +DIST firefox-131.0.2-it.xpi 578391 BLAKE2B 6f4cb5f2cf3a5b54070aa784acd67b26be10563734062f6a29a38ddf4f6e371ac6e2ba4b4c7d079245e0eaefa01dec91fadf7e7b8ffd57ebe71071fef6f20ca6 SHA512 a63cd99b0739c3e58ab466725dcbb1fc41598d50599c500da44a6478e1be08e8460098265ea863ebddf2c37e568113bb3d25db606a288e878d7b4326c7d3fa1c +DIST firefox-131.0.2-ja.xpi 687808 BLAKE2B 1e3f3db47026ac70f16f4081c2ec4cf02472183cef51ea51c563cff08c8afe78cd81020815a08322027497fb775b9e7f42c5dbea8f537cf1aaa72ee0255115ed SHA512 978229584323e5e42a911c841f510f9fe30bcac45dfc6c636b2733847b118683521dd0b1e79a8e855d11e1134ebd748a30308b80dcf816a1dc756e2f495a67e8 +DIST firefox-131.0.2-ka.xpi 665750 BLAKE2B 393d848395439febddb6fc2b66c78fbe53ecc70c5378b5509bfd84871a9a986eb65aaadd8946bf678b050e94a23f68de80b172f12be499e53428c7cae515b8e3 SHA512 bc78a927bc1a978c9126348e1bf857e70b663f365accd277d74565cece303bf5ea40dd68cadd2edede8a770efcc6e665c9460790b236d035881ee763c74fa22a +DIST firefox-131.0.2-kab.xpi 618851 BLAKE2B 6eaaa2c9406454615457cea87d76ba6958febdb1e8d013759b553a5ed69088dbfbe80c831fcfe1ce09c41af996d9ac13987829c20b853e67f63693c1fd64ddb2 SHA512 44db8b6ac46271583c4183e2022545e2d27e2af0a6ef198003817f27f83433656b789a085b01fb78650f9c1eb794e717960215129d3f3df069321f6237e2bf8c +DIST firefox-131.0.2-kk.xpi 720141 BLAKE2B 4d321634fbf59d86169e955112d700f92b5d2c67c5893caa367f204f015c19edf53b89a0f7d6be872484150f4e6a5f9465af6c3a9ac08c74fdfde9d8c1626413 SHA512 27cc618640b179757a8c575e34c55ec7f15505e2374aadbced5ab61c32a107c7bab4cd902dbd520bc5c3590945981004a040a0332e6a770c37eb39030c840b45 +DIST firefox-131.0.2-km.xpi 530164 BLAKE2B 5f51393927aa18469a91b4fdde45a713e7a75142319d3acfb0a329ef33120efcdda1450bccf1256897e1e72e5342b5b152caa6c957fdcd8bb8538ddd16ec4165 SHA512 a8df29d408a41a0d8093bce3d02b3cb97a82c8a3c5e058e8ec8222d06ba885749667f6e84dae444cb876fcb2146868bcacb680350a46d8f1af1e17a53b53f13a +DIST firefox-131.0.2-kn.xpi 495164 BLAKE2B 58229ad1aa6450877f02504141965dce8b2dbad11b8dde7e5b70024dffe38a72b5d738f245d00eb41581b68a5856a0904d9207acb2db7581138e4e554026ade1 SHA512 05dd01f1ec195d742ac26babb745137399e550296bd6525d5e40a3bb2f63d20dee947dcd0ebff10f422f83f691aed50156988aa4c86e81a0a50875f4ca3d2645 +DIST firefox-131.0.2-ko.xpi 673049 BLAKE2B cdb46c5517f34fe26de93435461b77638824387a91e8987b1a552208dbdf87af596e7f5283ea923feb698794cfb79f5e74430b981fc08e43bc724021306584e2 SHA512 d2d49a6088a1a962049778d688c063a5e7e186a48f5d82b023686bd9909e1d811a3a29fe6cc7cc1aa673b11edefcd95157ca971412f1d541e1c0dade62599877 +DIST firefox-131.0.2-lij.xpi 488457 BLAKE2B a77d15dd1246bde451a9e75c8285a5110ec78819c197dc9cee636a88b04c5917d6bc25d9abc271fb1ae80039dca563dabd19874c27dcedf7e4985e658bd439b2 SHA512 1c97e3085b88c0dfc91d9b89cca591b49836f5ea42e48fdbad490f9dd20cd0b2c65e93d2cf7f454e1492f3e60e931fd409e1a73c2ec5ea32e139abab1603db74 +DIST firefox-131.0.2-lt.xpi 577181 BLAKE2B 2b31b34aca36d546ebaf3cf36f991fa4eadf3105376102bbb28f43d447229d33279f69031bf47ff0b1499d361eb09ff580dc974f20a2b21f041880bfcad88008 SHA512 37eb0ce0bad0e61846e8ba72de3f651dbd59e114bc330274d689e54e509b21cfb9ef64c116a49bf4a54a220c415e89db286d9082d157403d459ef51563070791 +DIST firefox-131.0.2-lv.xpi 590484 BLAKE2B d8d6a6f6fa4301126187637358e6a5db3e577b93d0bfda40e550c4fe7a0e6e06b0a8bcd62d4843140558913c77610adfaf347f0c58c8037128a47af5b8893666 SHA512 c0e551efc0df74f09dd9d967fdb297eb376b8d5dd6c47ed78ec8d44613d02242080871f346d4ffa13f00fc857d6bd3871f0fdc482b7b0052a97836b3e7ada343 +DIST firefox-131.0.2-mk.xpi 497776 BLAKE2B 412d85e9656642ba7681f81cb5dc94281d3f13293dd28fde2f01fe1d26669a28b63775e4f9873ff3b18131d0a908f40d8ef23f40fa7d2d3956bb3fd33c308c8f SHA512 f3d48013d93499d5226147ffa150dc3c13f665623b5c7380a00313e3980d99d8ce2aaa9020e8d074148facb3275a6747621e817a6d0102ccb636f8d754a5bd44 +DIST firefox-131.0.2-mr.xpi 536283 BLAKE2B 65609ba60cdd884140cc3f582b9cef04cd77a157522f73c346e602f1e8686d574d908eda92783e3e05ebfe236476f33aba8ac225a364d3978f068ed5c288a112 SHA512 92fa5a83066a49fd6895577fb4bc4f61fa958b9d9362d62b9b0ea71c39fcad90223c34b99689b4d7485ab12a4a98fd24827de6a06d99aac0b31677170866298c +DIST firefox-131.0.2-ms.xpi 454039 BLAKE2B 7c976657c1c925d89ca10b543c65b84c0b647fb66631ae746e93d33d9f2054547b1d726b124a3fd172b61dcba378606be047c81f12062672fa323989a61a7c67 SHA512 21a484a1932e72d171b97fe745fc157082c4edbb2354017e31f88f41f1aa61b4dca5ab967d1e6fc2b926e9cac1ef07aafe904dad4cb5829b18b3ad8bcb808606 +DIST firefox-131.0.2-my.xpi 522638 BLAKE2B 8b275d6a81cbc715f322c7bb70f67eb3c644b390be1de3e48d41e8cf8115818587100db4680feabfece2f349c68f4d031a2d45eb112f335aae5300bd442e02d7 SHA512 4e1b0feb1b2ca6a234ce15239b0f7175aaa9eef8c413ba0f6932b4e7420a14f3c0161831b389a3af1e637d146b8b9e8cd8257e2d355f6339d68fd99e6bf92fe8 +DIST firefox-131.0.2-nb-NO.xpi 619136 BLAKE2B ed1c561945f60539ad7d44959f133eceb37413597c3e4d43e53178e450121824b1a0c34e91aaec9925c883629b580f28d7bfbbfa0c8bea905d438e65f91bb1e4 SHA512 a8f24724406a7853e0b650a3b429f9b16b6b81ec22c16fecac8fa4dcd59780f268171f5b6a1fbfb466f03a163ed487669cd030e2f751c1b5f750a1cd09918f34 +DIST firefox-131.0.2-ne-NP.xpi 525084 BLAKE2B 6e5cd08b95166985148af1bb138d4e370e5de51614a76c3bec1a1b1dcbdc42befd9286a5ea8e75ad4db7d0446d7033cbbc3109e91bf40bf3eab8d6d87a0371d4 SHA512 d48d89e10cf96957a5204b30bdfca99d8d8958394fff144e618a48ce04fbe38a6339213fb066a2f281da0ac956f4c424d34facfc984cdb0e69f086fd1ba96818 +DIST firefox-131.0.2-nl.xpi 628356 BLAKE2B 636169c80d07a3dee799c82a8ebe78bab3c37cfce6354a469775691a492946e0696f75d8ba6a5ece1d3a72e2445cc9edb767d959ee584139ab0e24b269fde49f SHA512 6df2c187df120b175e4e15365d4e48046c34abaf88367ff31560cda18fdb8573e12bc77ad726d7926b85390e8911af95fa3de5b2522cffdc7f8f94929220d1f9 +DIST firefox-131.0.2-nn-NO.xpi 621973 BLAKE2B 1c601e9989d2d41892e1400bd1b6ff00d201cdbd516db0d4a0bca0918cd277fbd23394d1eb6b5b3548d4093d9c1954d5584454c0e34d45c0edb80bef7be87075 SHA512 4daf053510206180259db58f0b778fc3140ae6b32f4f8d3774b09946f3546f78ee261d16551d78c70d5d1e4d70e7dce2ba8805b4f77361131a90abf47a46e820 +DIST firefox-131.0.2-oc.xpi 618720 BLAKE2B fdb8f35a169f331faa6be09d2605d5e13d1635283f87a8c5344609e9c191081184e6e07bb60457bff7c4ee984c3dd4d87b1c15871c864ce846baa0f1178a5289 SHA512 ab011bde72802d32e5656d9273363a8e42bc3b5ba848e6f0078a34326bde01e32a52b12569b4cafa792c6dc60045143143485bdca4d918d7cc502c595b027895 +DIST firefox-131.0.2-pa-IN.xpi 705113 BLAKE2B 649ea8778e4764c5a283896811f70c713f9cd6031a81e2b33ccead2d0f98269573ef60aae8ffc661b5a92a8405af69648807d4c69d4c534bfb247c1e562b7315 SHA512 41223660dafd8ca2712d00c7c5f09e11e7059c9ff653b27d7391821958284341df4f34fe2fe56287b8ccd6780db35c13c48fb3e532e6d927f29358b86dfdf1db +DIST firefox-131.0.2-pl.xpi 647704 BLAKE2B d82a7abec8f183e62e97a8c9e1e9311e32ae8921186fdbbc790fbbc71878830c1cabaf752ad30ed5fb8220c59508e6ac9772fade17c85f53d95cfa4f895f1348 SHA512 6771f9ebc2653d39e2b88e11cee9124f0e5e016e9bb85f5789d8b613e443afd07e6f1e9ce88118deee5216bc5fbec218b3401523c6d8f6e7b961655ae98caec3 +DIST firefox-131.0.2-pt-BR.xpi 633024 BLAKE2B a61e4eb6d27c08d6701da04630c600b0d043dea5660490fb00637ab5469da659bbee65b31caa8b80f0e0cd5355f68c84c4d67ff11a6c833d4433efb44dd3fee6 SHA512 8742a28a2ed9956a0996e4a2affd243d2412a207438e862c2cae7d224a4fee57cb33d66befb4353ee1d956b201d874dbe9cc6f211eddb13a7291a066544c8458 +DIST firefox-131.0.2-pt-PT.xpi 639644 BLAKE2B 476d7336b267805070b913c7a3e1d947c343e4b98bc5a34f55c65f468fd2104c85e5858fac4b40f24fbf5165a8eadce091c2c8f038756f133516ca34d8a82c31 SHA512 08f2fecb6134b4c5cc9ae876a4f22c78230d2c0e64343d879db512066fc11d6d25a10bb48f859581918229f9554891e36ab3bc72f409540a4707765b1f47e9e0 +DIST firefox-131.0.2-rm.xpi 629146 BLAKE2B bd07a17650f10307f607325319ad156b8e28b7e588e23490b0bb91ac911fcc43d87de04b3371cc1760ea40ba8f061387e7d078fc79de8a4fba7ca2f49707ad84 SHA512 cb3817bfb40200c85fb363b27b74954e1e83e3048c01d33c4151b2c8c019c88739394647be7dbf0e50f0cbe3f4c255644c20a0565a770d9272cfffe904cc640f +DIST firefox-131.0.2-ro.xpi 554258 BLAKE2B d38e9f37fcc887e67eeed653721ec0637169b80152a0292284f401c4c9d09a6632099547d507fd4781a85120c0601adbda357cf568f787ce16ee8f966220c815 SHA512 7671eebb88eac8f8bd0fab4b6981d8cbddbb5500d09a5fdcc4caaacf1432f1a4259e10b63b409ef47ef57137e4a36d659a294609563a2b07b41cd56a70ea937e +DIST firefox-131.0.2-ru.xpi 732966 BLAKE2B dd823a905b6a2a222d7a1dc957ee22367434b4f3ef994d65b9f3ec26e330290595daf847cbcb5305e71466a803200ea9f9bc7d5e6369c4fe09ab8ce3d139eb21 SHA512 4dfa5420af3f1a21d39bc90be54b88e4b36d27c1c8159d62304afe41bfe09c33997b16f8e6b2dfd35f95618bc42fe59dfb72a4fcbce4fb57fb7786008591eef3 +DIST firefox-131.0.2-sc.xpi 594020 BLAKE2B 7ab044db7e1ad40bac31bb4579283de5b9fe0ef81a307da51f900dad68c8fecfe68f1cafe7ae4bdbd4fad147fbfd1391666c576913c8a9d7dff92554d7338aea SHA512 418fc790baf1c9163c019f9f28294bbbaf54c64d46784839e54284a7139cba37184f1f263f7039938186a6f5b42e30eadf53136085b856c1316d326ea75323b4 +DIST firefox-131.0.2-sco.xpi 515580 BLAKE2B 919811430dcb7b862f7d83123b7779b4bb031b4e290d617319c7261e392c0abb49571240077934da10dfcbfa2efe10cf641560ba684e2a6abb94ccc7a30a8be9 SHA512 c60bc451368b952468cf2436ab1653f1efa044cdb0426531df31172e668ba7a005621186433ef6212588521a0ade8f24859d1540cfaa3b75de01895d40ec5dbb +DIST firefox-131.0.2-si.xpi 617762 BLAKE2B 7f9bd48d0120e81f2a41b89c7a4746350105246cfbf5fac797df5cdd23e1acb81f6a4035edace78d60c931efb8e1383d6cdec4479fb6de776e039683927538b9 SHA512 2b3e016dd0619a9aa31673f5d104b5c6d1df832eff7a1931c7175f49eb93f6544880a67ac960a85b7520f4842b7ea18dfdfbe9e3705a8fb10650489d84297b7d +DIST firefox-131.0.2-sk.xpi 664164 BLAKE2B 17874b2e633551a509e943a78344c216e611e9949ceb5f3411d97f30ec948f07c3fd137b916cf750712cc6f88c9cc9e410ca3672cdba5a291abeef04157936e3 SHA512 7b2e5ae6d7a18cecd7182f00f8d8b8513a454dbca08086aa47864b0a287c1b02a6b98c779b47d6642afd86f03a22ba715446abb0c6b2981949f267ce90450282 +DIST firefox-131.0.2-skr.xpi 722672 BLAKE2B ae1470bbd5d9e4d5b815bd44fcc8f5313565336e7a2b23393b45b09ff813ea8cdfc8c185f1b3dd62c4ea9e689df90a4a7f637d655fc440f1171dc748e5de0d20 SHA512 254770f7572ed69e115cb1e26da8fcfcaaca33505d769f50a2d6aab497bea5d7f63fd239dba170f050ce1817c65a40c03ee0ca855394192bfb66f681d58b75d1 +DIST firefox-131.0.2-sl.xpi 630597 BLAKE2B c9bf9a220cd5902951b8adb63ef20bc8981300409e7ba48e81a62a20edab874eaf239c02719c35aec88080bedc3b7c77bd00c9dbdafab97a49ef624d198fc7bd SHA512 9a388310e0bc5ffe483daa3bdab140f1b8a8e507a8ff74d529ee72388a9147a69b836129258c0f9acc13766fd3b22e458ccc343c32d8211e3da7983f2794d174 +DIST firefox-131.0.2-son.xpi 420495 BLAKE2B 4852652b53951c3969165f53540e514a511e6ae6757dc0d281c714fd7787564277866efdec832eae165b227db0f3ad983f8d39d57b1a5d29c21985ee61b6e15e SHA512 65c264955d9a72d4a054c9a3df9ae1ddf8a27196b6084cb48c70a33d9603d1fed5f24e0665444ea203bf7d35c8039e723f3f0f7c153ce004a77caf2ece35706c +DIST firefox-131.0.2-sq.xpi 649695 BLAKE2B c3e58bc62bbc113eef10bf2a2814447629a460d2512e6de4fedcadc10fcfb0148b9b401f7479554ec5513081f3409bb570b9c678e2bef4290166b3e9d43368e3 SHA512 f839338372a556ccc1a1cda729a0fb5ed54f04a1292816ba06e113b6548ecdc6fac5f71bb558aba1825e9940c549ff0c4bcc26cfb8bfa4fdab79f8dc48243244 +DIST firefox-131.0.2-sr.xpi 644241 BLAKE2B 4a7a7eb6aad8169b5805ab24e16a39b9c028e477456fe4b47560a87bccdbbea21fc5c7e94b75dd50c1fe7308fe98f6dd984892cd820f52ea9cd2b4242ccf9f4c SHA512 8f7f3baefe89db62774277832224ae0936fe5dfeb5b5c21dac9dd096185086b1f0bdc3c6467b2207b19432f22dc2523ac32cf31b17f8380bcdbdb41cbcf32004 +DIST firefox-131.0.2-sv-SE.xpi 629851 BLAKE2B 10f1c4433df6502d8d65e77c7c7d8b6507f48d7a3bf74b582d93d59a6f8c23dce860f9750e8c1fff2313a6a3a9e85394e41cb81c9edd61d2bc50555abc937f39 SHA512 59aa7a9bd965bd8aacec1aa74663fb9fd7e5619e8333c95984091655d601a14ce416620a2403a831f3996479849c18a60db8600ef92686b85dcefee5b0e3ce89 +DIST firefox-131.0.2-szl.xpi 530718 BLAKE2B c5d46dff6f7d28324ffc7351d13b65dd33898e30e975a592364921859849c4e01ed8a77c1ab56ad4c6cce528189cd59bbf1f0809608c8ab02144e44d6d22b293 SHA512 38b38b00a0996c9bac55eb2f890b18b062841cde2ccb9b682d6eddb0cb376b4a6c0b96ec73538d8517cfba1f8fca610b4db6a43a366a21c0cfd4e3d745d6b82a +DIST firefox-131.0.2-ta.xpi 511448 BLAKE2B 814a89731724bc63503d094fd6f1d4a9e6d074ef01248aafe35aa9b90374b348ebe8eaa065c66b3849d6c044640f131fd86db8c62a832daf59b1f471c743de18 SHA512 2e0a88e3bc0166b5f58ec89d90fce2e55699b1a11db491d47d0741ea17f089fe0c4b7e297f36679bc9758629a7896e9c5fb7300fbbfcda8b9b63cb98593c8fe2 +DIST firefox-131.0.2-te.xpi 565381 BLAKE2B d17a7bb7964b14445ef9d4eec44ad6584026ab783ba74647152104e1ae64df27b768361fcd458ef8d3188bce220e673f47f050a98ca8b4c8172b82af20c6ca30 SHA512 ee39a8f2102e2a291138c391bea11fba5d31e0714548f865bb63639a8af21727590940edc1cabe979acc32cd5b7cc8cee5fdd5130352a0ae6e0f071d5446d872 +DIST firefox-131.0.2-th.xpi 708981 BLAKE2B bc18f09ebaac65f159d98aa5f2255fee6555f53bb99ef815a04dfcd9c824774170efe275f564368b457be96d94663d530a5ef3fc21dc2ad4a6794da6e91034e8 SHA512 587e69876c9f7f730dedbdb0987072e4e4b3d5fcc62926ae8c72f363a4eefdb4d44bc4d8d8f5d25a96d7136f1310ecaea557cb20f0488b1a30b4e6db3f7c6776 +DIST firefox-131.0.2-tl.xpi 538577 BLAKE2B 078d725bbe4faf1d57ed743c223ceb3858b3b6329c4f83acca40301d7c63550285c3c8a5345778132253a3ef7721e510432c1ff9768b455c6b78f5dca5333725 SHA512 91c833f6b9dbdf7c7dd23a4969108281d0895fb506054454506252288a459ed15898d5471798c3b170f94f315ccf321c7b50c83bee2704277d95e1e565df153b +DIST firefox-131.0.2-tr.xpi 643431 BLAKE2B 3b33cdd9fdb2c5d0f277eadd24a75d487a25d6996be333366377e6802b5cd9c5b6639fe6a72d8538c95e3ec46e5ea6df859c0e87abcca2128552b10a24da9267 SHA512 9e554bddd39d8930ae4c2b0526956398b21be7dec614ac62ba358f43d3c777d614283253ae37142d0a49902bdbee9051e9629141a08f8b803f2f0f13a9ea94eb +DIST firefox-131.0.2-trs.xpi 508539 BLAKE2B e8729a830a346fbe66955f2342f381dd3549a32b314ab278e5195b54bc24cc6758731dfe8e6e5f2c9b0ab4987a198d2655db90c1cb3613a375e57da6e1d671ad SHA512 1511be8de834e06946620ffbeda7ee0ec9908b3b86532569f6e59afa38e86c6aa2411ae71ecc77f35a15ed70321a622e4bbcdee4c9f344739c27636e5754b9ec +DIST firefox-131.0.2-uk.xpi 724261 BLAKE2B b6e24bef4eb6fce4d78ca501e8401785fe13f4cabb3b477c83126d94d8065b360dcda6383fb4268f7cae3a7c7591cea71ea65dedd5e1474aef61d006c8e0bddf SHA512 e9ed598e6368e819ba7e059fe48de5623715108511503876a687208c10e630d62d5b6e830f854d38223ec197d27ce0cba2681dce2251823a1b7ac67556bcb921 +DIST firefox-131.0.2-ur.xpi 564455 BLAKE2B 99ccfa9307e1c9827f4240d3e94e435e89a5bda7c5867ca235ec03668e27cd718e73d3d0623c5442453115026474a895bf7a9a95df7e3d815ef017865e9a6f90 SHA512 e48e9a3de8b06a6de122afec279f5c22130c0e43527a0908d6b4aa256b5b475a186b618f0c9f07a7aad3a7e46786844210586b6cc4c9f7a11b73ba642eb4bbaa +DIST firefox-131.0.2-uz.xpi 483052 BLAKE2B d96bfb1db239f46d50da689178c3598b32740c161042322447b570b5f533342198ab1c5eb32acb80ac29ecfbbe6539ec0c58feec4c5c5b578f8acd4331de9e28 SHA512 8982a2a4d399432cf3c4f309c9188bf17f23874045daf9caf063188e6ff1af1e87a0f5ca1af3a01d3a5008356d09379b54e7e4ba9f3c7d3ca3b5f00701193ed2 +DIST firefox-131.0.2-vi.xpi 667585 BLAKE2B a2c904359b57c7c4517152e1f8bbe10009ef6e31b2d3f8a718cd0ee68165e7e759c5672fac67047e9ca8ed4b1d81cf6f2b9969c9d2b3ca99b2319ff1b1c78a21 SHA512 a55248bd1a6e092b7633ffba698047f5c50d742465134522d406e157c3e89995da3198fac563b85450437154e4b3287890cc22b1c6fb5d55a79a1fa414acd606 +DIST firefox-131.0.2-xh.xpi 421248 BLAKE2B 291a59b878580276a3d028a318607b78dadbd85d3c1f87101e1fbcb2f855b4148bb5f4715a918d332bcf0c279c29118b7f2ae08cc98937701624d07a8265db04 SHA512 0446d03d56efd940f9de10dc437c215a8dd781df87ff83c84bd607dfb3bf3ca349ceb759d633c9b2b4c066db7baf44c292ee3d9719a69a55e24415e079f2a1b2 +DIST firefox-131.0.2-zh-CN.xpi 668950 BLAKE2B 98ec8e92e7b520ba1a86d2bb615bec16c27ab75fda672617714c54a403bc26b2772e37a83b7d514b0c7e173f80ee0735b844bd0861a866d5f3158ae18c5c3a0b SHA512 6555df6ea154a76bae6ddb361c420ea34492e10f1cb340192e69fb283ae0fc0d37bbccf8b67b69fc4deffc2e5fd70115e56a6bc5524b0143368f9d8269facdee +DIST firefox-131.0.2-zh-TW.xpi 670924 BLAKE2B d2417e7edc6817aa2ff7398aaad0ea010284a38d3494fec944e7edf715881d4de2c14f6ef3ef73845440363a3e909d423530d6e713b651ea730dc0a6f2ed43f7 SHA512 4958ccd9973e42cdfa618a53f66a69901025ed59b9505ff52075503a371a5f2041601beb7724a4a82271546f94299803d3804e683cc32dc5ea4a7e1738c3263e +DIST firefox-131.0.2.source.tar.xz 567226924 BLAKE2B 33831c6c40ab0cdf3cae0a673fd6e4ab5782e0ac1c1f50383b75aed8850df878d865ad584fbf4711bbb66b6e9708cc37f6d6a0e82be3ef4a4ef87c3f11b471be SHA512 fb1a1179a8c62de975c93e1ac6f058cb5492e955bbb7ac2d4b83cdd14ba17bdb2450078bd6f626124b14542f3fda9514bea476aaa34ff4f5a2bee6b1625ec963 DIST firefox-131.0.source.tar.xz 566366180 BLAKE2B ffb8c12ba76f8d06501287ba1c61279e9167f0684275d8cf7e2c3be0697326ded824ccd60f8e44ca7374b59e9e580b2dcba23d2dce4bb184d2e73faa86d9d5af SHA512 324cbaadff4d19a18d56ca01ae7212ac8362e3f5933f3017a19b64c35d58606ace8bba3672790ecb48d4a849619cdc95701440701725e8eb2859d55f1e8d8e3c diff --git a/www-client/firefox/firefox-131.0.2.ebuild b/www-client/firefox/firefox-131.0.2.ebuild new file mode 100644 index 000000000000..f38e59b13795 --- /dev/null +++ b/www-client/firefox/firefox-131.0.2.ebuild @@ -0,0 +1,1369 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +FIREFOX_PATCHSET="firefox-131-patches-01.tar.xz" + +LLVM_COMPAT=( 17 18 ) + +PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_REQ_USE="ncurses,sqlite,ssl" + +WANT_AUTOCONF="2.1" + +VIRTUALX_REQUIRED="manual" + +MOZ_ESR= + +MOZ_PV=${PV} +MOZ_PV_SUFFIX= +if [[ ${PV} =~ (_(alpha|beta|rc).*)$ ]] ; then + MOZ_PV_SUFFIX=${BASH_REMATCH[1]} + + # Convert the ebuild version to the upstream Mozilla version + MOZ_PV="${MOZ_PV/_alpha/a}" # Handle alpha for SRC_URI + MOZ_PV="${MOZ_PV/_beta/b}" # Handle beta for SRC_URI + MOZ_PV="${MOZ_PV%%_rc*}" # Handle rc for SRC_URI +fi + +if [[ -n ${MOZ_ESR} ]] ; then + # ESR releases have slightly different version numbers + MOZ_PV="${MOZ_PV}esr" + HOMEPAGE="https://www.mozilla.com/firefox https://www.mozilla.org/firefox/enterprise/" + SLOT="esr" +else + HOMEPAGE="https://www.mozilla.com/firefox" + SLOT="rapid" +fi + +MOZ_PN="${PN%-bin}" +MOZ_P="${MOZ_PN}-${MOZ_PV}" +MOZ_PV_DISTFILES="${MOZ_PV}${MOZ_PV_SUFFIX}" +MOZ_P_DISTFILES="${MOZ_PN}-${MOZ_PV_DISTFILES}" + +inherit autotools check-reqs desktop flag-o-matic gnome2-utils linux-info llvm-r1 multiprocessing \ + optfeature pax-utils python-any-r1 readme.gentoo-r1 toolchain-funcs virtualx xdg + +MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/releases/${MOZ_PV}" + +if [[ ${PV} == *_rc* ]] ; then + MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/candidates/${MOZ_PV}-candidates/build${PV##*_rc}" +fi + +PATCH_URIS=( + https://dev.gentoo.org/~juippis/mozilla/patchsets/${FIREFOX_PATCHSET} +) + +DESCRIPTION="Firefox Web Browser" +SRC_URI="${MOZ_SRC_BASE_URI}/source/${MOZ_P}.source.tar.xz -> ${MOZ_P_DISTFILES}.source.tar.xz + ${PATCH_URIS[@]}" +S="${WORKDIR}/${PN}-${PV%_*}" +LICENSE="MPL-2.0 GPL-2 LGPL-2.1" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +IUSE="+clang dbus debug eme-free hardened hwaccel jack +jumbo-build libproxy lto openh264 pgo" +IUSE+=" pulseaudio sndio selinux +system-av1 +system-harfbuzz +system-icu +system-jpeg" +IUSE+=" +system-jpeg +system-libevent +system-libvpx system-png +system-webp +telemetry valgrind" +IUSE+=" wayland wifi +X" + +# Firefox-only IUSE +IUSE+=" +gmp-autoupdate gnome-shell" + +# !jumbo-build? ( clang ) -> bmo#1914774, bgo#939004 - causes seemingly random compile crashes with gcc. +REQUIRED_USE="|| ( X wayland ) + debug? ( !system-av1 ) + !jumbo-build? ( clang ) + pgo? ( lto ) + wayland? ( dbus ) + wifi? ( dbus )" + +FF_ONLY_DEPEND="!www-client/firefox:0 + selinux? ( sec-policy/selinux-mozilla )" +BDEPEND="${PYTHON_DEPS} + $(llvm_gen_dep ' + sys-devel/clang:${LLVM_SLOT} + sys-devel/llvm:${LLVM_SLOT} + clang? ( + sys-devel/lld:${LLVM_SLOT} + virtual/rust:0/llvm-${LLVM_SLOT} + ) + pgo? ( sys-libs/compiler-rt-sanitizers:${LLVM_SLOT}[profile] ) + ') + app-alternatives/awk + app-arch/unzip + app-arch/zip + >=dev-util/cbindgen-0.26.0 + net-libs/nodejs + virtual/pkgconfig + !clang? ( >=virtual/rust-1.76 ) + !elibc_glibc? ( dev-lang/rust ) + amd64? ( >=dev-lang/nasm-2.14 ) + x86? ( >=dev-lang/nasm-2.14 ) + pgo? ( + X? ( + sys-devel/gettext + x11-base/xorg-server[xvfb] + x11-apps/xhost + ) + !X? ( + || ( + gui-wm/tinywl + <gui-libs/wlroots-0.17.3[tinywl(-)] + ) + x11-misc/xkeyboard-config + ) + )" +COMMON_DEPEND="${FF_ONLY_DEPEND} + >=app-accessibility/at-spi2-core-2.46.0:2 + dev-libs/expat + dev-libs/glib:2 + dev-libs/libffi:= + >=dev-libs/nss-3.104 + >=dev-libs/nspr-4.35 + media-libs/alsa-lib + media-libs/fontconfig + media-libs/freetype + media-libs/mesa + media-video/ffmpeg + sys-libs/zlib + virtual/freedesktop-icon-theme + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/pango + x11-libs/pixman + dbus? ( + sys-apps/dbus + ) + jack? ( virtual/jack ) + pulseaudio? ( + || ( + media-libs/libpulse + >=media-sound/apulse-0.1.12-r4[sdk] + ) + ) + libproxy? ( net-libs/libproxy ) + selinux? ( sec-policy/selinux-mozilla ) + sndio? ( >=media-sound/sndio-1.8.0-r1 ) + system-av1? ( + >=media-libs/dav1d-1.0.0:= + >=media-libs/libaom-1.0.0:= + ) + system-harfbuzz? ( + >=media-gfx/graphite2-1.3.13 + >=media-libs/harfbuzz-2.8.1:0= + ) + system-icu? ( >=dev-libs/icu-73.1:= ) + system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1:= ) + system-libevent? ( >=dev-libs/libevent-2.1.12:0=[threads(+)] ) + system-libvpx? ( >=media-libs/libvpx-1.8.2:0=[postproc] ) + system-png? ( >=media-libs/libpng-1.6.35:0=[apng] ) + system-webp? ( >=media-libs/libwebp-1.1.0:0= ) + 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 "sys-devel/clang:${LLVM_SLOT}" ; then + einfo "sys-devel/clang:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 + return 1 + fi + + if use clang && ! tc-ld-is-mold ; then + if ! has_version -b "sys-devel/lld:${LLVM_SLOT}" ; then + einfo "sys-devel/lld:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 + return 1 + fi + + if ! has_version -b "virtual/rust:0/llvm-${LLVM_SLOT}" ; then + einfo "virtual/rust:0/llvm-${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 + return 1 + fi + + if use pgo ; then + if ! has_version -b "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*[profile]" ; then + einfo "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*[profile] is missing!" >&2 + einfo "Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 + return 1 + fi + fi + fi + + einfo "Using LLVM slot ${LLVM_SLOT} to build" >&2 +} + +MOZ_LANGS=( + af ar ast be bg br ca cak cs cy da de dsb + el en-CA en-GB en-US es-AR es-ES et eu + fi fr fy-NL ga-IE gd gl he hr hsb hu + id is it ja ka kab kk ko lt lv ms nb-NO nl nn-NO + pa-IN pl pt-BR pt-PT rm ro ru + sk sl sq sr sv-SE th tr uk uz vi zh-CN zh-TW +) + +# Firefox-only LANGS +MOZ_LANGS+=( ach ) +MOZ_LANGS+=( an ) +MOZ_LANGS+=( az ) +MOZ_LANGS+=( bn ) +MOZ_LANGS+=( bs ) +MOZ_LANGS+=( ca-valencia ) +MOZ_LANGS+=( eo ) +MOZ_LANGS+=( es-CL ) +MOZ_LANGS+=( es-MX ) +MOZ_LANGS+=( fa ) +MOZ_LANGS+=( ff ) +MOZ_LANGS+=( fur ) +MOZ_LANGS+=( gn ) +MOZ_LANGS+=( gu-IN ) +MOZ_LANGS+=( hi-IN ) +MOZ_LANGS+=( hy-AM ) +MOZ_LANGS+=( ia ) +MOZ_LANGS+=( km ) +MOZ_LANGS+=( kn ) +MOZ_LANGS+=( lij ) +MOZ_LANGS+=( mk ) +MOZ_LANGS+=( mr ) +MOZ_LANGS+=( my ) +MOZ_LANGS+=( ne-NP ) +MOZ_LANGS+=( oc ) +MOZ_LANGS+=( sc ) +MOZ_LANGS+=( sco ) +MOZ_LANGS+=( si ) +MOZ_LANGS+=( skr ) +MOZ_LANGS+=( son ) +MOZ_LANGS+=( szl ) +MOZ_LANGS+=( ta ) +MOZ_LANGS+=( te ) +MOZ_LANGS+=( tl ) +MOZ_LANGS+=( trs ) +MOZ_LANGS+=( ur ) +MOZ_LANGS+=( xh ) + +mozilla_set_globals() { + # https://bugs.gentoo.org/587334 + local MOZ_TOO_REGIONALIZED_FOR_L10N=( + fy-NL ga-IE gu-IN hi-IN hy-AM nb-NO ne-NP nn-NO pa-IN sv-SE + ) + + local lang xflag + for lang in "${MOZ_LANGS[@]}" ; do + # en and en_US are handled internally + if [[ ${lang} == en ]] || [[ ${lang} == en-US ]] ; then + continue + fi + + # strip region subtag if $lang is in the list + if has ${lang} "${MOZ_TOO_REGIONALIZED_FOR_L10N[@]}" ; then + xflag=${lang%%-*} + else + xflag=${lang} + fi + + SRC_URI+=" l10n_${xflag/[_@]/-}? (" + SRC_URI+=" ${MOZ_SRC_BASE_URI}/linux-x86_64/xpi/${lang}.xpi -> ${MOZ_P_DISTFILES}-${lang}.xpi" + SRC_URI+=" )" + IUSE+=" l10n_${xflag/[_@]/-}" + done +} +mozilla_set_globals + +moz_clear_vendor_checksums() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -ne 1 ]] ; then + die "${FUNCNAME} requires exact one argument" + fi + + einfo "Clearing cargo checksums for ${1} ..." + + sed -i \ + -e 's/\("files":{\)[^}]*/\1/' \ + "${S}"/third_party/rust/${1}/.cargo-checksum.json || die +} + +moz_install_xpi() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 2 ]] ; then + die "${FUNCNAME} requires at least two arguments" + fi + + local DESTDIR=${1} + shift + + insinto "${DESTDIR}" + + local emid xpi_file xpi_tmp_dir + for xpi_file in "${@}" ; do + emid= + xpi_tmp_dir=$(mktemp -d --tmpdir="${T}") + + # Unpack XPI + unzip -qq "${xpi_file}" -d "${xpi_tmp_dir}" || die + + # Determine extension ID + if [[ -f "${xpi_tmp_dir}/install.rdf" ]] ; then + emid=$(sed -n -e '/install-manifest/,$ { /em:id/!d; s/.*[\">]\([^\"<>]*\)[\"<].*/\1/; p; q }' "${xpi_tmp_dir}/install.rdf") + [[ -z "${emid}" ]] && die "failed to determine extension id from install.rdf" + elif [[ -f "${xpi_tmp_dir}/manifest.json" ]] ; then + emid=$(sed -n -e 's/.*"id": "\([^"]*\)".*/\1/p' "${xpi_tmp_dir}/manifest.json") + [[ -z "${emid}" ]] && die "failed to determine extension id from manifest.json" + else + die "failed to determine extension id" + fi + + einfo "Installing ${emid}.xpi into ${ED}${DESTDIR} ..." + newins "${xpi_file}" "${emid}.xpi" + done +} + +mozconfig_add_options_ac() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 2 ]] ; then + die "${FUNCNAME} requires at least two arguments" + fi + + local reason=${1} + shift + + local option + for option in ${@} ; do + echo "ac_add_options ${option} # ${reason}" >>${MOZCONFIG} + done +} + +mozconfig_add_options_mk() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 2 ]] ; then + die "${FUNCNAME} requires at least two arguments" + fi + + local reason=${1} + shift + + local option + for option in ${@} ; do + echo "mk_add_options ${option} # ${reason}" >>${MOZCONFIG} + done +} + +mozconfig_use_enable() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 1 ]] ; then + die "${FUNCNAME} requires at least one arguments" + fi + + local flag=$(use_enable "${@}") + mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" "${flag}" +} + +mozconfig_use_with() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 1 ]] ; then + die "${FUNCNAME} requires at least one arguments" + fi + + local flag=$(use_with "${@}") + mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" "${flag}" +} + +virtwl() { + debug-print-function ${FUNCNAME} "$@" + + [[ $# -lt 1 ]] && die "${FUNCNAME} needs at least one argument" + [[ -n $XDG_RUNTIME_DIR ]] || die "${FUNCNAME} needs XDG_RUNTIME_DIR to be set; try xdg_environment_reset" + tinywl -h >/dev/null || die 'tinywl -h failed' + + local VIRTWL VIRTWL_PID + coproc VIRTWL { WLR_BACKENDS=headless exec tinywl -s 'echo $WAYLAND_DISPLAY; read _; kill $PPID'; } + local -x WAYLAND_DISPLAY + read WAYLAND_DISPLAY <&${VIRTWL[0]} + + debug-print "${FUNCNAME}: $@" + "$@" + local r=$? + + [[ -n $VIRTWL_PID ]] || die "tinywl exited unexpectedly" + exec {VIRTWL[0]}<&- {VIRTWL[1]}>&- + return $r +} + +pkg_pretend() { + if [[ ${MERGE_TYPE} != binary ]] ; then + if use pgo ; then + if ! has usersandbox $FEATURES ; then + die "You must enable usersandbox as X server can not run as root!" + fi + fi + + # Ensure we have enough disk space to compile + if use pgo || use lto || use debug ; then + CHECKREQS_DISK_BUILD="13500M" + else + CHECKREQS_DISK_BUILD="6600M" + fi + + check-reqs_pkg_pretend + fi +} + +pkg_setup() { + if [[ ${MERGE_TYPE} != binary ]] ; then + if use pgo ; then + if ! has userpriv ${FEATURES} ; then + eerror "Building ${PN} with USE=pgo and FEATURES=-userpriv is not supported!" + fi + fi + + # Ensure we have enough disk space to compile + if use pgo || use lto || use debug ; then + CHECKREQS_DISK_BUILD="13500M" + else + CHECKREQS_DISK_BUILD="6400M" + fi + + check-reqs_pkg_setup + + llvm-r1_pkg_setup + + if use clang && use lto && tc-ld-is-lld ; then + local version_lld=$(ld.lld --version 2>/dev/null | awk '{ print $2 }') + [[ -n ${version_lld} ]] && version_lld=$(ver_cut 1 "${version_lld}") + [[ -z ${version_lld} ]] && die "Failed to read ld.lld version!" + + local version_llvm_rust=$(rustc -Vv 2>/dev/null | grep -F -- 'LLVM version:' | awk '{ print $3 }') + [[ -n ${version_llvm_rust} ]] && version_llvm_rust=$(ver_cut 1 "${version_llvm_rust}") + [[ -z ${version_llvm_rust} ]] && die "Failed to read used LLVM version from rustc!" + + if ver_test "${version_lld}" -ne "${version_llvm_rust}" ; then + eerror "Rust is using LLVM version ${version_llvm_rust} but ld.lld version belongs to LLVM version ${version_lld}." + eerror "You will be unable to link ${CATEGORY}/${PN}. To proceed you have the following options:" + eerror " - Manually switch rust version using 'eselect rust' to match used LLVM version" + eerror " - Switch to dev-lang/rust[system-llvm] which will guarantee matching version" + eerror " - Build ${CATEGORY}/${PN} without USE=lto" + eerror " - Rebuild lld with llvm that was used to build rust (may need to rebuild the whole " + eerror " llvm/clang/lld/rust chain depending on your @world updates)" + die "LLVM version used by Rust (${version_llvm_rust}) does not match with ld.lld version (${version_lld})!" + fi + fi + + python-any-r1_pkg_setup + + # Avoid PGO profiling problems due to enviroment leakage + # These should *always* be cleaned up anyway + unset \ + DBUS_SESSION_BUS_ADDRESS \ + DISPLAY \ + ORBIT_SOCKETDIR \ + SESSION_MANAGER \ + XAUTHORITY \ + XDG_CACHE_HOME \ + XDG_SESSION_COOKIE + + # Build system is using /proc/self/oom_score_adj, bug #604394 + addpredict /proc/self/oom_score_adj + + if use pgo ; then + # Update 105.0: "/proc/self/oom_score_adj" isn't enough anymore with pgo, but not sure + # whether that's due to better OOM handling by Firefox (bmo#1771712), or portage + # (PORTAGE_SCHEDULING_POLICY) update... + addpredict /proc + + # Clear tons of conditions, since PGO is hardware-dependant. + addpredict /dev + fi + + if ! mountpoint -q /dev/shm ; then + # If /dev/shm is not available, configure is known to fail with + # a traceback report referencing /usr/lib/pythonN.N/multiprocessing/synchronize.py + ewarn "/dev/shm is not mounted -- expect build failures!" + fi + + # Google API keys (see http://www.chromium.org/developers/how-tos/api-keys) + # Note: These are for Gentoo Linux use ONLY. For your own distribution, please + # get your own set of keys. + if [[ -z "${MOZ_API_KEY_GOOGLE+set}" ]] ; then + MOZ_API_KEY_GOOGLE="AIzaSyDEAOvatFogGaPi0eTgsV_ZlEzx0ObmepsMzfAc" + fi + + if [[ -z "${MOZ_API_KEY_LOCATION+set}" ]] ; then + MOZ_API_KEY_LOCATION="AIzaSyB2h2OuRgGaPicUgy5N-5hsZqiPW6sH3n_rptiQ" + fi + + # Mozilla API keys (see https://location.services.mozilla.com/api) + # Note: These are for Gentoo Linux use ONLY. For your own distribution, please + # get your own set of keys. + if [[ -z "${MOZ_API_KEY_MOZILLA+set}" ]] ; then + MOZ_API_KEY_MOZILLA="edb3d487-3a84-46m0ap1e3-9dfd-92b5efaaa005" + fi + + # Ensure we use C locale when building, bug #746215 + export LC_ALL=C + fi + + CONFIG_CHECK="~SECCOMP" + WARNING_SECCOMP="CONFIG_SECCOMP not set! This system will be unable to play DRM-protected content." + linux-info_pkg_setup +} + +src_unpack() { + local _lp_dir="${WORKDIR}/language_packs" + local _src_file + + if [[ ! -d "${_lp_dir}" ]] ; then + mkdir "${_lp_dir}" || die + fi + + for _src_file in ${A} ; do + if [[ ${_src_file} == *.xpi ]]; then + cp "${DISTDIR}/${_src_file}" "${_lp_dir}" || die "Failed to copy '${_src_file}' to '${_lp_dir}'!" + else + unpack ${_src_file} + fi + done +} + +src_prepare() { + if use lto; then + rm -v "${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch || die + fi + + # Workaround for bgo#917599 + if has_version ">=dev-libs/icu-74.1" && use system-icu ; then + eapply "${WORKDIR}"/firefox-patches/*-bmo-1862601-system-icu-74.patch + fi + rm -v "${WORKDIR}"/firefox-patches/*-bmo-1862601-system-icu-74.patch || die + + # Workaround for bgo#915651 on musl + if use elibc_glibc ; then + rm -v "${WORKDIR}"/firefox-patches/*bgo-748849-RUST_TARGET_override.patch || die + fi + + eapply "${WORKDIR}/firefox-patches" + + # Allow user to apply any additional patches without modifing ebuild + eapply_user + + # Make cargo respect MAKEOPTS + export CARGO_BUILD_JOBS="$(makeopts_jobs)" + + # Workaround for bgo#915651 + if ! use elibc_glibc ; then + if use amd64 ; then + export RUST_TARGET="x86_64-unknown-linux-musl" + elif use x86 ; then + export RUST_TARGET="i686-unknown-linux-musl" + elif use arm64 ; then + export RUST_TARGET="aarch64-unknown-linux-musl" + elif use ppc64 ; then + export RUST_TARGET="powerpc64le-unknown-linux-musl" + else + die "Unknown musl chost, please post your rustc -vV along with emerge --info on Gentoo's bug #915651" + fi + fi + + # Make LTO respect MAKEOPTS + sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ + "${S}"/build/moz.configure/lto-pgo.configure || die "Failed sedding multiprocessing.cpu_count" + + 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-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-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 ; 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 + + 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-jemalloc + mozconfig_add_options_ac '+debug' --enable-real-time-tracing + else + mozconfig_add_options_ac 'Gentoo defaults' --disable-real-time-tracing + + if is-flag '-g*' ; then + if use clang ; then + mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols=$(get-flag '-g*') + else + mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols + fi + else + mozconfig_add_options_ac 'Gentoo default' --disable-debug-symbols + fi + + if is-flag '-O0' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O0 + elif is-flag '-O4' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O4 + elif is-flag '-O3' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O3 + elif is-flag '-O1' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O1 + elif is-flag '-Os' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-Os + else + mozconfig_add_options_ac "Gentoo default" --enable-optimize=-O2 + fi + fi + + # Debug flag was handled via configure + filter-flags '-g*' + + # Optimization flag was handled via configure + filter-flags '-O*' + + # elf-hack + # Filter "-z,pack-relative-relocs" and let the build system handle it instead. + if use amd64 || use x86 ; then + filter-flags "-z,pack-relative-relocs" + + if tc-ld-is-mold ; then + # relr-elf-hack is currently broken with mold, bgo#916259 + mozconfig_add_options_ac 'disable elf-hack with mold linker' --disable-elf-hack + else + mozconfig_add_options_ac 'relr elf-hack' --enable-elf-hack=relr + fi + elif use ppc64 || use riscv ; then + # '--disable-elf-hack' is not recognized on ppc64/riscv, + # see bgo #917049, #930046 + :; + else + mozconfig_add_options_ac 'disable elf-hack on non-supported arches' --disable-elf-hack + fi + + if ! use elibc_glibc; then + mozconfig_add_options_ac '!elibc_glibc' --disable-jemalloc + fi + + if use valgrind; then + mozconfig_add_options_ac 'valgrind requirement' --disable-jemalloc + fi + + # System-av1 fix + use system-av1 && append-ldflags "-Wl,--undefined-version" + + # Allow elfhack to work in combination with unstripped binaries + # when they would normally be larger than 2GiB. + append-ldflags "-Wl,--compress-debug-sections=zlib" + + # Make revdep-rebuild.sh happy; Also required for musl + append-ldflags -Wl,-rpath="${MOZILLA_FIVE_HOME}",--enable-new-dtags + + # Pass $MAKEOPTS to build system + export MOZ_MAKE_FLAGS="${MAKEOPTS}" + + # Use system's Python environment + export PIP_NETWORK_INSTALL_RESTRICTED_VIRTUALENVS=mach + + export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE="none" + + if ! use telemetry; then + mozconfig_add_options_mk '-telemetry setting' "MOZ_CRASHREPORTER=0" + mozconfig_add_options_mk '-telemetry setting' "MOZ_DATA_REPORTING=0" + mozconfig_add_options_mk '-telemetry setting' "MOZ_SERVICES_HEALTHREPORT=0" + mozconfig_add_options_mk '-telemetry setting' "MOZ_TELEMETRY_REPORTING=0" + fi + + # Disable notification when build system has finished + export MOZ_NOSPAM=1 + + # Portage sets XARGS environment variable to "xargs -r" by default which + # breaks build system's check_prog() function which doesn't support arguments + mozconfig_add_options_ac 'Gentoo default' "XARGS=${EPREFIX}/usr/bin/xargs" + + # Set build dir + mozconfig_add_options_mk 'Gentoo default' "MOZ_OBJDIR=${BUILD_DIR}" + + # Show flags we will use + einfo "Build BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}" + einfo "Build CFLAGS:\t\t${CFLAGS:-no value set}" + einfo "Build CXXFLAGS:\t\t${CXXFLAGS:-no value set}" + einfo "Build LDFLAGS:\t\t${LDFLAGS:-no value set}" + einfo "Build RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}" + + # Handle EXTRA_CONF and show summary + local ac opt hash reason + + # Apply EXTRA_ECONF entries to $MOZCONFIG + if [[ -n ${EXTRA_ECONF} ]] ; then + IFS=\! read -a ac <<<${EXTRA_ECONF// --/\!} + for opt in "${ac[@]}"; do + mozconfig_add_options_ac "EXTRA_ECONF" --${opt#--} + done + fi + + echo + echo "==========================================================" + echo "Building ${PF} with the following configuration" + grep ^ac_add_options "${MOZCONFIG}" | while read ac opt hash reason; do + [[ -z ${hash} || ${hash} == \# ]] \ + || die "error reading mozconfig: ${ac} ${opt} ${hash} ${reason}" + printf " %-30s %s\n" "${opt}" "${reason:-mozilla.org default}" + done + echo "==========================================================" + echo + + if use valgrind; then + sed -i -e 's/--enable-optimize=-O[0-9s]/--enable-optimize="-g -O2"/' .mozconfig || die + fi + + ./mach configure || die +} + +src_compile() { + local virtx_cmd= + + if tc-ld-is-mold && use lto; then + # increase ulimit with mold+lto, bugs #892641, #907485 + if ! ulimit -n 16384 1>/dev/null 2>&1 ; then + ewarn "Unable to modify ulimits - building with mold+lto might fail due to low ulimit -n resources." + ewarn "Please see bugs #892641 & #907485." + else + ulimit -n 16384 + fi + fi + + if use pgo; then + # Reset and cleanup environment variables used by GNOME/XDG + gnome2_environment_reset + + addpredict /root + + if ! use X; then + virtx_cmd=virtwl + else + virtx_cmd=virtx + fi + fi + + if ! use X; then + local -x GDK_BACKEND=wayland + else + local -x GDK_BACKEND=x11 + fi + + ${virtx_cmd} ./mach build --verbose || die +} + +src_install() { + # xpcshell is getting called during install + pax-mark m \ + "${BUILD_DIR}"/dist/bin/xpcshell \ + "${BUILD_DIR}"/dist/bin/${PN} \ + "${BUILD_DIR}"/dist/bin/plugin-container + + DESTDIR="${D}" ./mach install || die + + # Upstream cannot ship symlink but we can (bmo#658850) + rm "${ED}${MOZILLA_FIVE_HOME}/${PN}-bin" || die + dosym ${PN} ${MOZILLA_FIVE_HOME}/${PN}-bin + + # Don't install llvm-symbolizer from sys-devel/llvm package + if [[ -f "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" ]] ; then + rm -v "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" || die + fi + + # Install policy (currently only used to disable application updates) + insinto "${MOZILLA_FIVE_HOME}/distribution" + newins "${FILESDIR}"/distribution.ini distribution.ini + newins "${FILESDIR}"/disable-auto-update.policy.json policies.json + + # Install system-wide preferences + local PREFS_DIR="${MOZILLA_FIVE_HOME}/browser/defaults/preferences" + insinto "${PREFS_DIR}" + newins "${FILESDIR}"/gentoo-default-prefs.js gentoo-prefs.js + + local GENTOO_PREFS="${ED}${PREFS_DIR}/gentoo-prefs.js" + + # Set dictionary path to use system hunspell + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set spellchecker.dictionary_path pref" + pref("spellchecker.dictionary_path", "${EPREFIX}/usr/share/myspell"); + EOF + + # Force hwaccel prefs if USE=hwaccel is enabled + if use hwaccel ; then + cat "${FILESDIR}"/gentoo-hwaccel-prefs.js-r2 \ + >>"${GENTOO_PREFS}" \ + || die "failed to add prefs to force hardware-accelerated rendering to all-gentoo.js" + + if use wayland; then + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set hwaccel wayland prefs" + pref("gfx.x11-egl.force-enabled", false); + EOF + else + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set hwaccel x11 prefs" + pref("gfx.x11-egl.force-enabled", true); + EOF + fi + + # Install the vaapitest binary on supported arches (122.0 supports all platforms, bmo#1865969) + exeinto "${MOZILLA_FIVE_HOME}" + doexe "${BUILD_DIR}"/dist/bin/vaapitest + + # Install the v4l2test on supported arches (+ arm, + riscv64 when keyworded) + if use arm64 ; then + exeinto "${MOZILLA_FIVE_HOME}" + doexe "${BUILD_DIR}"/dist/bin/v4l2test + fi + fi + + if ! use gmp-autoupdate ; then + local plugin + for plugin in "${MOZ_GMP_PLUGIN_LIST[@]}" ; do + einfo "Disabling auto-update for ${plugin} plugin ..." + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to disable autoupdate for ${plugin} media plugin" + pref("media.${plugin}.autoupdate", false); + EOF + done + fi + + # Force the graphite pref if USE=system-harfbuzz is enabled, since the pref cannot disable it + if use system-harfbuzz ; then + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set gfx.font_rendering.graphite.enabled pref" + sticky_pref("gfx.font_rendering.graphite.enabled", true); + EOF + fi + + # Add telemetry config prefs, just in case something happens in future and telemetry build + # options stop working. + if ! use telemetry ; then + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set telemetry prefs" + sticky_pref("toolkit.telemetry.dap_enabled", false); + pref("toolkit.telemetry.dap_helper", ""); + pref("toolkit.telemetry.dap_leader", ""); + EOF + fi + + # Install language packs + local langpacks=( $(find "${WORKDIR}/language_packs" -type f -name '*.xpi') ) + if [[ -n "${langpacks}" ]] ; then + moz_install_xpi "${MOZILLA_FIVE_HOME}/distribution/extensions" "${langpacks[@]}" + fi + + # Install icons + local icon_srcdir="${S}/browser/branding/official" + local icon_symbolic_file="${FILESDIR}/icon/firefox-symbolic.svg" + + insinto /usr/share/icons/hicolor/symbolic/apps + newins "${icon_symbolic_file}" ${PN}-symbolic.svg + + local icon size + for icon in "${icon_srcdir}"/default*.png ; do + size=${icon%.png} + size=${size##*/default} + + if [[ ${size} -eq 48 ]] ; then + newicon "${icon}" ${PN}.png + fi + + newicon -s ${size} "${icon}" ${PN}.png + done + + # Install menu + local app_name="Mozilla ${MOZ_PN^}" + local desktop_file="${FILESDIR}/icon/${PN}-r3.desktop" + local exec_command="${PN}" + local icon="${PN}" + local use_wayland="false" + + if [[ -n ${MOZ_ESR} ]] ; then + local desktop_filename="${PN}-esr.desktop" + else + local desktop_filename="${PN}.desktop" + fi + + if use wayland ; then + use_wayland="true" + fi + + cp "${desktop_file}" "${WORKDIR}/${PN}.desktop-template" || die + + sed -i \ + -e "s:@NAME@:${app_name}:" \ + -e "s:@EXEC@:${exec_command}:" \ + -e "s:@ICON@:${icon}:" \ + "${WORKDIR}/${PN}.desktop-template" || die + + newmenu "${WORKDIR}/${PN}.desktop-template" "${desktop_filename}" + + rm "${WORKDIR}/${PN}.desktop-template" || die + + if use gnome-shell ; then + # Install search provider for Gnome + insinto /usr/share/gnome-shell/search-providers/ + doins browser/components/shell/search-provider-files/org.mozilla.firefox.search-provider.ini + + insinto /usr/share/dbus-1/services/ + doins browser/components/shell/search-provider-files/org.mozilla.firefox.SearchProvider.service + + # Toggle between rapid and esr desktop file names + sed -e "s/firefox.desktop/${desktop_filename}/g" \ + -i "${ED}/usr/share/gnome-shell/search-providers/org.mozilla.firefox.search-provider.ini" || + die "Failed to sed org.mozilla.firefox.search-provider.ini file." + + # Make the dbus service aware of a previous session, bgo#939196 + sed -e \ + "s/Exec=\/usr\/bin\/firefox/Exec=\/usr\/$(get_libdir)\/firefox\/firefox --dbus-service \/usr\/bin\/firefox/g" \ + -i "${ED}/usr/share/dbus-1/services/org.mozilla.firefox.SearchProvider.service" || + die "Failed to sed org.mozilla.firefox.SearchProvider.service dbus file" + + # Update prefs to enable Gnome search provider + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to enable gnome-search-provider via prefs" + pref("browser.gnome-search-provider.enabled", true); + EOF + fi + + # Install wrapper script + [[ -f "${ED}/usr/bin/${PN}" ]] && rm "${ED}/usr/bin/${PN}" + newbin "${FILESDIR}/${PN}-r1.sh" ${PN} + + # Update wrapper + sed -i \ + -e "s:@PREFIX@:${EPREFIX}/usr:" \ + -e "s:@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 +} |