diff options
author | Joonas Niilola <juippis@gentoo.org> | 2024-03-19 11:41:07 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2024-03-19 11:44:43 +0200 |
commit | 0140e8055efe738995965ccaad8b9948f2a601a4 (patch) | |
tree | ca76c96be33847381cb50eeb1a7780160187b2ec /www-client | |
parent | app-crypt/pinentry: fix Qt symlink (diff) | |
download | gentoo-0140e8055efe738995965ccaad8b9948f2a601a4.tar.gz gentoo-0140e8055efe738995965ccaad8b9948f2a601a4.tar.bz2 gentoo-0140e8055efe738995965ccaad8b9948f2a601a4.zip |
www-client/firefox: add 124.0
- include libcxx-18 patches, although llvm_slot_18 is still masked so
couldn't test that,
- rebase some patches (like always),
- update, simplify and combine sandbox addpredict conditions with +pgo.
Closes: https://bugs.gentoo.org/927148
Closes: https://bugs.gentoo.org/917694
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-124.0.ebuild | 1425 |
2 files changed, 1526 insertions, 0 deletions
diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest index 288416c79e7a..01704ea57502 100644 --- a/www-client/firefox/Manifest +++ b/www-client/firefox/Manifest @@ -301,3 +301,104 @@ DIST firefox-123.0.1-xh.xpi 411731 BLAKE2B 81073b387f637a20b1824ef7857ba50bf4187 DIST firefox-123.0.1-zh-CN.xpi 636725 BLAKE2B ee30e56d7024f938d377235f21f7cca6cf9e7842f751905cb66e1efcea1eb5f3b88cb6321b42ac1290b9650d18db872c615dfd6cff4a52b65219725314a63f60 SHA512 8273369640c951b50c903f42a649295873f4b51c2e5ed86dcff472b68808aec807f33be4dc19f03e520970077aa2c1370dd921b95eb5fb270e3112ea098bf96f DIST firefox-123.0.1-zh-TW.xpi 638882 BLAKE2B 53e3dde71f3e24423c6ebede159915d307a4e98216b7a2251f64620a881f2b529d903fd35bb59d3c03c485997a380c7ea19f83febc614451366659782adec8b5 SHA512 09a17639d1aac87110d47056e77a681310637a58b4211e982da43986fbe9eacc6cc19c0e00cd007f063e7981f86ddb274b3bef3b6e345ab8eb77f173c7e343f4 DIST firefox-123.0.1.source.tar.xz 545230176 BLAKE2B 837f2edf2dcf51f19d8cad1f8234723236f318defa1196885b019e46878b377a24a83093ccbf8ef43e7ea94ddd1520f2918bcea520c59379453d40251ff972d6 SHA512 e9af61c1ca800edd16ab7a0d24c9a36bbb34813ed0a11ff62389aa38fa83deba394bca5d95cdaad55ad29ffa3c0e5d3dd15ac1099f7fa3649f4b6c835b7498c2 +DIST firefox-124-patches-01.tar.xz 15092 BLAKE2B 1a4d952fbb8525ce1e100a738f6d309284125625b8f1badfe687caacdcd309c6e6e4cd1182e9647f93204055f35bc29c202902f229520bea10fdd1eeb066e30b SHA512 b2cd5170d5db60ebfd2b24e8a55a46e5890b26a50a398e63880d8ab276c2d601be6b7c40de59f1f6ddbd3160f80b8664a2f345c64addf55a6a734f8e362fba53 +DIST firefox-124.0-ach.xpi 457259 BLAKE2B b8780ae5587557953142a98c68c8158d2b7edc9fdf46cb1801bdfe34ccb23b9ca7651be0b89bf3cb1284da9ae39f6df4c44a1191a51d2228ca172f885dd31c18 SHA512 facb5dc0b2c1d047727c3ac010b2809b85cd274bf42500d78d49a8ed31196e85b43d200796a8d54aa01ed2b6ca8ac31d8409bece52bc249677b74c841a24375e +DIST firefox-124.0-af.xpi 411562 BLAKE2B 682cb6a144eba4028c54eb5ab98a51c095de00d04382af4187d94a79bab0832f0a99302ad507734bd3f550ca1a1c8b5beae6cc57c62a92c4d2855df2aa2d9c0c SHA512 5d77b32672e38d379a90aba1edaab767659579e04c495dbf5b7f39b63f93d695fb2e12154913b801fe866e3b21b37dcaeb257d4be15c72bd95de97fba0c4df16 +DIST firefox-124.0-an.xpi 498965 BLAKE2B 7c76ecbf17e3588aa25cb2bd1febd0d8ee9e03accca4049671024897d31548527c8e040d7cbe01f848eca2e69c7d08d7b1e24650a057d5da60a267d31f4ae547 SHA512 9a074473eb013f9d34b435e4e347e3cbdb81e55a245c1b308591ca10fe23f03532839603ee194c890d350d60e035bccb37175fd3569b8836e9e9432557ef2353 +DIST firefox-124.0-ar.xpi 598801 BLAKE2B 4c6fa208364162474177978c1eb9d57922d9bf7bfaec411495d97cd9f36d03eb8e2a82c47b12d8e1d5d9dabd52bfb957b36a1091f4178f2dfa57adaf53a9b857 SHA512 2ca068557bcd481d7dda31ea6e5207df8c702938df7e8e55614d29898e408c3138b666173fa13ca4fc01f653f6901ef5486faa4acb20767e290234d101e0c28a +DIST firefox-124.0-ast.xpi 489746 BLAKE2B d30df660ff85c991a91ed572d29dd25d8bea4fe0256539e2877cdde50c6e0dd74fb0ce19fc4672cc263105300a0deba9f85b50bf599fc25c6bbe41dec15100f3 SHA512 e829415c2f6cda7f9b702a5f6f651e89234c1d22951f3df5f89e0e244baf50f6a89091bdcccd65b802b8553b1043ae4ec77000181506153dcf6b4baaf538fa58 +DIST firefox-124.0-az.xpi 483742 BLAKE2B 030f2a5b9a395f58b64bdb1c8e652625752e0c1e8ba8fc4b998a8e1a9fda75aca8e9c76bbdac7f9ce2fe863693479a498733c055e6c77c2550a23b6f61700521 SHA512 0361fb3170e107a228b50cbbaf7f453b6a9a48d27a97f17e0b491f596d8550ec3e10718a83e4fd1c075c16d13a9934b49b54217b1eeab81bb366519c25f24979 +DIST firefox-124.0-be.xpi 696939 BLAKE2B b266a2ee481840736ebca7d6f0468edd3f8104fddf2ece6a1df30f4d6a878bfd4a634fed0c4c1cbbe00e501be67986c82b098f7ec6a15884487eef8e9c9b7765 SHA512 87c88c020f66b3cef56a09b92ff8dde484e30f363f1926739b92c23377cbabd4a54e123906b4816f0ec4364260248b694bffd1cd894495adc1f12a7eb4601f2d +DIST firefox-124.0-bg.xpi 596463 BLAKE2B ca261a4ed70cccf94a7bcae80bab95ffa0ff8486606448f5ca8368a5eda79c09909036bc4cc893a8cc96944a6443b7ef79d0c1c542a66942d3cfbd7f782ab50f SHA512 402e57a3aa3aeb1c212327fadb65d6a8fc9c0d268c7fdd73194a05310e2f470af441eca25ca9a71a502a97c5c8e165653c5e1b788c2583b65c5227315078a35a +DIST firefox-124.0-bn.xpi 574095 BLAKE2B 496a21dd490ea2fe0ff5f40718a0c02c4cfa49ffdbd1af26cc8af89fcc95d7d2defdd769682d81945ad647e57a84f2b7284160d32076e0e067ff4f7044596f87 SHA512 3d6ac426c5b5875713792324014be3a339ca86a476ad44f7084dedb1ad998b54b79746a6ecddbc2407ec36d7b484e2cac744a805e458520d4a21d419eb398b1c +DIST firefox-124.0-br.xpi 579502 BLAKE2B 92936d623b7009d9c4f55fa06d82a10ca8db56e8d80299830cc85f254519754423dfd1d89b9ae94ed8badf3f2a36b1169c4f0ca1ec043ecb34e1cd9010d7d2b6 SHA512 466a21a12e295dd9f743a92a0758c198fdab2290900ba021a653a5ee7bc91c4e1d9da27515ff02ede6b6861355e29997f6717c5e820e50694a6b9b6c7c7861f9 +DIST firefox-124.0-bs.xpi 466325 BLAKE2B 66a012d8079717194e0f722432e913dc7ede9b1bfa4385a6ae081b4a9eb790537fcb1e8bca43fa4e9fcddc14adf5e537f1616d5e5771c54854e5dfb87c447238 SHA512 1c75d6bf163ac210698c1a69b540232ce9dfb1ebbbeac7cad6b42704fce0a4115270a191eb31acf65f458c0f880755d6b9c931708eb134e4c7c06e306b007cb9 +DIST firefox-124.0-ca-valencia.xpi 538976 BLAKE2B 812c38470e90ff59cdd53716c197c248fe65736c3f77c483c8fa81efaa7b303e4e6141a35388275fb3fa013e3b4d149fc1306ee3d220604f3bdbc0fa496e33b8 SHA512 5db71e0a55ccaea7299ec8759277f14237ee24a0dfe5cdc59746093ba522fc2fa6fec0dda88502d00ed6512e5aeaee70ce571196c0036829b662b7bbf5794231 +DIST firefox-124.0-ca.xpi 577133 BLAKE2B 7a4a0173d318ddfaf396d30c1f36f589e76f6eb7fd0b34e2bc3eceb06d3d642b674a84b47d1c2affd8342f596c77be9ebe81c47d587e60d8122fb236155bd61a SHA512 c29e44a69aba7e3ba1b86c06cdce8f6097adb3345574c2f7bfe08542a52ed4f8dc23c53ea5c1ece438dd7504b6a28f68635fd610b3a521aac6f3e88697364d49 +DIST firefox-124.0-cak.xpi 584186 BLAKE2B 8bfaa47d05382d9d3c2fdd309d91b031756866db20ad5ec12c44253641f195797268656d8ba34bb7f16d51d4830b1bb5b695d9e36e60b261670f12894a4e778c SHA512 45d5fb4520e6ba656185da528383c57812b825986f5fc72dbbe19ac548e571d094384801213e11195cc41c8230510fe937c5f662f47553b1804c7145cce03c6e +DIST firefox-124.0-cs.xpi 640177 BLAKE2B 21da6832f5177e2d1ef2945241ff9197db8d1e9de7765b3194dbda8a3411ac01ab6be0cbaa8b61318cacd3ad20e15c36d2ea25d51643f99ea7635e3c673c5e19 SHA512 e6a68e55365e38fed24a1a0c2fd30668d844640042326e0a998f6b65f7e3780e86b3205ef16a54998567817ae98af5f1cc1fd83edbdb59553616030b0613d9ec +DIST firefox-124.0-cy.xpi 607562 BLAKE2B 802a3f8f4f00d5392d45a13a45f13f545d5043237d0c184c6f7c4020c11a441ec97d276235c5e239d4ff384808aac822e0d03d121e2d7591f21bf0ef41f9e29b SHA512 4a84d844c216d5833318a96ebd7afbd73c1d93066d95e74e29b0c2caf0bec408c699a4d3b96b9a42dffdab4ddfd96eb7a3a46eb3da1ad183ff0992ce083904a3 +DIST firefox-124.0-da.xpi 596586 BLAKE2B 69e392a43d11261358a9926a4968088b144780ce4c83003b91a7119b6a3b251c76fca05ba78769f978c8846b4416e02891a0956475431e53aa33fed3e75a01d4 SHA512 6178fdec5ee646fee5fc9c167b0b0e3dd6b1398697d1bd103b13e854375a77bdf86761714bfbc948d795e2d7090e0fb12e351038410d950332689e9b7170d713 +DIST firefox-124.0-de.xpi 617701 BLAKE2B b0e6be3f0f33ac7df5d6a306a90274855237b1c46eddc23cbf50bd77703deaee085edb6e040a286a314c342627a5bf2a4242f96a13a177c0788f53f8e647d9d5 SHA512 3adfc64391614362f3dcbd3c599878caeb39d7e758eed6d2973f8e93018a399b5b3db93c1f57101015051a36c26206eb2a671cb2190b80f99cd098f916b72f5a +DIST firefox-124.0-dsb.xpi 634047 BLAKE2B fccbbd253a41c74454279c2a5d37e33854b2294c08727cc27f0f97861c12a1a5ea8b12394d219d716d2a3da5f31671a96714b4d975efa5b2d6dc61e578f2c4ba SHA512 819269287030ebe0afc43dbba1d8164967d8aa51ccd2e9fddaa53739f805b1b61d31f7b703d126b42ec98eb3e587d54f80f6542acea21a721e114016c52d26cb +DIST firefox-124.0-el.xpi 714186 BLAKE2B 90f46dc6735f7ace1e11bb5a06060a9890df4645742f10af8fb27daa47f1fb2d9ccb18aaa3124819975c8dd68efa61d437b1c09158e29bbb370eea721a5d3ce9 SHA512 971eb34cb57b7676845d98b8b5adaa9358c094f9a458c2bb9afdd6ede80c2303a5bd5caecc492483b96c9b9a7ff5b1b9ebc228bed13bab5038e957df92f318ff +DIST firefox-124.0-en-CA.xpi 552852 BLAKE2B 2cdf1a6a88906923798fbfdb77cddd327119a4e24dc8ba2532717cfeb08aa245b07ea4fd32e67e9b156f14b6d6d92cc97583ffafd0c7a734b1e88893ed15971b SHA512 da5d94bd10a4629f4b7146556130a2a90478ab2eb4774f21f55ed4ae3741b7065b1eba3cbf1c0b07ad95556a45504c116d2a54a50cd8288d7a54bb8a88610e9c +DIST firefox-124.0-en-GB.xpi 570061 BLAKE2B a73598d5a221b4cc9b9313a0ce0ed6924b56578afee005f73ca5b7852717232bba79082f439d71bae68a3a9cc115d515a32106127d703f7dacc926193c43c285 SHA512 910934c0d45a53162183bf95c9fd08fd424a9bc2ffe74e3ddfbd43ca4a90bc14dac922f7ba23ca2f051e843d5b237341112120a218a818e5289da827481d7933 +DIST firefox-124.0-eo.xpi 600155 BLAKE2B 34dcb8e0062cffbccab3d241fac6b257bd81fdde0f245dda879618a4a3fc6d5f9856ac0f5607d92c062f9231de27f599cf2d1a78ded7a8fd4c16a963d4ff8846 SHA512 078025bf8488f064dbefb05ba43c3ee6e9258be73ba9f52b7290dc2eefa269bd201616692d6e96659c7955b80ab6a2d40faabf84ad4493f6e82c334052e47235 +DIST firefox-124.0-es-AR.xpi 611791 BLAKE2B e5be577242c2605cdd6daa7bf1c8c136192c708b15677db0f1fa3e039f1fde3e848356afcced294f8b563e49ffa3f3378d7759a61ebef7d940616875bf4b1ace SHA512 828f55b4df62a66569f047a0317c7e4336f69deda484f14cbab20590a96c937f30d3ad5f1ad962c855984097622486e46c3d864a01e05835531fcee0c2d146f5 +DIST firefox-124.0-es-CL.xpi 610698 BLAKE2B a7c94e4e74df2b5d388834192eaeed0702809095c51b91129eacb1b3aa268808dd8364a2c5ab80531a5e9214848e13868cd24ba44f0b0ee3476b5de55a8c687b SHA512 c86883c4875a39c1beaa768c6f651861a7595e29dde575ea84a98800e3de7c92bf8c47ba01261616afb8ca3ec5e4987fe3dc9c51c7fe58ac74a1399591931e1a +DIST firefox-124.0-es-ES.xpi 605673 BLAKE2B 3b40f507c13e14bc4bccb2d717e681dfb092d1057964f106c0054846f3d93ffbbece675d97e7af6d4f96c7f5d90c8c5b8ba9ec538068190984aaa6cff07d3c7f SHA512 f1eab497fd3b949192305aee7f93cff03cd7469cf973c3656d3dde1c66851edf3745ce84a6ad62c83d95bfaa629c76188cb7467d3739b5744b444ac1a17879a2 +DIST firefox-124.0-es-MX.xpi 584191 BLAKE2B dd6f23dce966afb3d664cd6509022d3f9da363a5ff734a795a0f60c690842d8947dd6f9cb108ec522ea590eecc168f744e641101309079c0b9c7fc84275e060a SHA512 e94e61a3f734521ba77dad82fa88640205f2f7cb2bece52c409bb54a91c2d7be3bbb5bc603c5a5871fb6af35872ea2b944cd48bb34abe3d21dea71cdae84ba3e +DIST firefox-124.0-et.xpi 532340 BLAKE2B 3f8146185d8af134e1c10cee5e7ef7d37866695c97447d40d8c0347be257df90d28f9bcad30345b43695635650e75a27f7ac0164424321fd62c2484b0031e5f3 SHA512 63a8605b7e29a9230536e0b953d804fcaf45d47fc72f3769e81d078482f132cbd4adc8c315be8846676be2679c2046ca99e5c5550b2d705111cc90febb610471 +DIST firefox-124.0-eu.xpi 585776 BLAKE2B e350ade5bc5d68c4c9f07bbe0822e2c6dcd786927e7c927d0fef717252927c430b1a3d66a18abfb959b7fdb4498af8c288ca1d84d9f56b8d6ac17456ebf3dd6b SHA512 d985175330ea60a4d3365830b3b3beea44294cb06e3e393aa83748d76e662500f587acd0942d5a6ad9bf411308b73b229878f73da66e5215cbe53a9b11ec2608 +DIST firefox-124.0-fa.xpi 582568 BLAKE2B bce8dc01fdf8afc950a311b744c5849295a6180b64b4fb03dfd8e90d818c6c3033dd5ac4fc2445eb9ce55be64b94401cb07ede231f09c1d5eaab53982e290a24 SHA512 bf4cdbd8a56e742fa97298ca2f7f7ddbed948837fe1a38b0cda2022c6d06a00f31a4901c562c392242962a41510e73e3265641eedce69770006f18cdf40cfc5c +DIST firefox-124.0-ff.xpi 469176 BLAKE2B 738dd277ca8eab2dded052265f4f2fa0be4b1d17d7166d0586e132e71bfcfebfcc460659e5790a87850008fbb0f7e887f06f58a44c7ff70f13f661b098ee2146 SHA512 f9b80523fec6cfa086d3bbc120eb22a4ea91b8bd8d133df08df3f55eb4d836c342a8f38a0feb6064b8082eabf5aecd0158bd190b632d901742412b54a6b72a4b +DIST firefox-124.0-fi.xpi 592089 BLAKE2B ef87a72d04ec3c11622dc868231639a9c65701c21a93257dba52f62beaaa1b5067d2fc689ef5e8bc9e97b829bd74e7f64bfa27fb732e7b454bbdb043f9e9078a SHA512 899614a9b8bb6cbe8ed7383edeb039ac78689f2aabed7fb1ab66bf45d02bcd2df823c93c6df9a88e222963426d66ab5c86bb76ea695720212857c64581abdd32 +DIST firefox-124.0-fr.xpi 621877 BLAKE2B bd1584bad6d6e25ce0131e1e2d5b7f62ebad3c3549506874466a1afa13b454f12951144dda4954529e1bb845ef93270fb02107ac410e1ec2c438f09886981ffe SHA512 3cf894c109fd010a61092e7a3828479ca79a8997b897a0f59c2be7d3cf92f1c79ab3ae3b758113dc8c1db1ada0dca9eb3a80ffa664f4b5736412f14d66afc79b +DIST firefox-124.0-fur.xpi 617365 BLAKE2B aa7ec99d381d824e4a3e10d84146b73f4cd87918e7861ba25d2a6ce35e506782add1ccd6306e9078d914d87dd547c898b384493d9c7cce758a4ce8274b51e3f8 SHA512 a01e61616febae72673ae6d39dd296fab384d42c904ba1aa106d4b425b885a02e4ce83eb3050bec82c3f338ac75555271b71a352afac1884f24c161161312345 +DIST firefox-124.0-fy-NL.xpi 606669 BLAKE2B 226db1c709b305d6d1e186994f8fb6bb1cb14eee41eca81feab440217b2ac03ba036e376870333cf764a56acdc80a94b99a54a132895ff5d9622660b86fdafd1 SHA512 d3b480ac279133cb6606b4d5c590c94e4a9345e2d8aec3030ec4056c89a5ba734939e4bf83f6303718391daee68841c1d00cd9987db501d8ced2902f9b85d550 +DIST firefox-124.0-ga-IE.xpi 464737 BLAKE2B ea40db12ccc718c3b201361ecf0cfd1a09cdd83145c6a954a3381ab7795db4287271a3f6798bdf07a2c4d5896530e7d7f7a3923ee640289287def8614df39abc SHA512 80f2e715cccdf07f7c243292e9877909e1444f54cfa6a1957d1b391d42d33d7578cd379fde90a81180311052d869377cfe4980783d4763dc72342a712be9ff9c +DIST firefox-124.0-gd.xpi 584027 BLAKE2B 599e1b1480107983521ff2bcad26e72ed0bab7d9dd74ef73b405ed5a30f11d1eaac8bdd68a76a324da8c500307a88e3bebb610d1cdfa68c6b8068da399a865d0 SHA512 c5ce515ba250e6ca1141a1bd66ff1343fdeec70020f69143702387f04ff11af1804b7d5d67aecd850e193ddd89e94e4be5be0f71d29568e64a1f3e26f84507c5 +DIST firefox-124.0-gl.xpi 597044 BLAKE2B 79d82fbb490b2ead115354913137f8a0324f3ffd0dd2c0715adbb49cfeed4618cbc59913eed34dd64959030b227ef72abcc3d645f55bb11a7aaa49bdfea5267d SHA512 2cc5215f40b9f1ea4a52c939c8e12bf538e717d5bccde322c45418a9c965598e1a204f46c4a8008b294b2ccb8f6027935fb8c176c4ed7dcdd5cb96dce32a8e3a +DIST firefox-124.0-gn.xpi 621066 BLAKE2B cf1e93fb35a072c8cb8606dc0ebc80718c1cbb0661e73d0c0b02cdb7c44484973eed2afd6cade5381ed00d936d60cf4676f6d011995e2ce47027a135a7c48db9 SHA512 511ce9cdbc1a96900ff2af485abb0a4e7e96a65630021aa1a8ebf3465f7b731f1e2c87dd6eb7b5cbf63389a5ea0e4b399f8a5d74719b1d5b3f2cabd9bd78bf8d +DIST firefox-124.0-gu-IN.xpi 520061 BLAKE2B 149fe50f0c49e549a44cccacafa3c61a6117afc0e390f9128988193ebec9089c7a22a4e6f0d742f895b620474b72a4fd92f5430918a512480b06546c9f41c3e4 SHA512 c98eeb33f69284175f69264c09fa3f873a79e480f39fe54338a03ddfb0a2f301865ef2472385bfbab47b9a72af0e85336a229773260735cb4774a9c5564d3d37 +DIST firefox-124.0-he.xpi 616164 BLAKE2B 929e05dd6af2140a5f6293cb425f47d226e54cb99ace6dcb3651c0ff4592bed98d1cfd96cfae645a77797c3b6195cd4a30f38208896602b8f4ed30676e4ca93d SHA512 658364f7939755f5b80d3afdd91813bb60cbf4522e1b69c386320e1c0225a3efaa26b963fb28e7a2e966f67ff24bbbe290767ddce468fb8d78d440e5fadd3bc1 +DIST firefox-124.0-hi-IN.xpi 558195 BLAKE2B fbdd9b4e247c8d0d27560c111ddaf8e2ac3eb1751c97085fac0309e42584494e3e4b6b3798e5c10805ac32d26b02d001338bb2091a00edf3b56e051e5e7dd70b SHA512 2d1cbcc150f70ecc034edf757750850fa3098e2f6d24d2fd4b1430454ee62d588ce78d98110b71373a03f8a60c8c1b126547aebf385bb935f5640b164fc09f9a +DIST firefox-124.0-hr.xpi 549495 BLAKE2B f48bf6eba5e8a943be3bc47651e117acdc536988bf2577ef9fdbacdbc73673c57e1105b8048d8c92f2fc9c63e8fad39cdb0427d8da7b77b6e75ac8e0bebbdedf SHA512 fcf08ad4a80f4302fa4cd6cdf6bbe86ed90e034207696337fa85d70ecc1202c8dd5810178b56cd12bd117a349ca27bee630069a49b1acdfa467bc82c9b9f525c +DIST firefox-124.0-hsb.xpi 629699 BLAKE2B fdfbd8bdb3c56de79a9a9c999bf88fea53bbcdb98b8a54c81af239e886bd88ec3ec3ec35a743645f92bae5c4a36ce05c80027430a37e173de7818b64e28044d1 SHA512 8c66228a37711cc7e9852f29ddae3cd09f332c4bfa61b600d1f7344e347039a20ef0de61f4a269d9bd772da83b9ce996b62b24aa7f38941ebddee1b48f5a02bc +DIST firefox-124.0-hu.xpi 633306 BLAKE2B 669ed11a859f9ea71644b7ba1ceecf69f00e649d23b51f1064506f2db463da241bc87b43e4d1380724413ccff9740ff7c9e3d014d961eeff59f3d41453cef435 SHA512 85d9b4784728a2762527b67e3fda3adbafa24c6707831c1c653bdae358317f6e0ba43389251e5ad6e2c78a412a34bcf38b37ccc14230c65b12fcd35ed049291f +DIST firefox-124.0-hy-AM.xpi 607886 BLAKE2B 747982d582798914746e26993e1986406efc83580e0e37cecd079b278256190a12ae97cd65315c5587396d4cecb242d4935ad327f1fa2985a956a0d8f642e733 SHA512 69e5ad30ff435c5d21afaaa633bd5b9f03a9ed27c9b540b8583e178624f86e69c7a59e276cd1c10d5c09858c3be038e29d7d7bd4e2cee52156d8d2ea780f63f9 +DIST firefox-124.0-ia.xpi 594012 BLAKE2B 322db0d5db9124196dd8b82903b4061cf5da282fbeffef13131ef7e235e73312e8d0b73df9d314fe8e0cfc2944180e33f64a9009a666195edf0e928d7cb4ecf3 SHA512 dcc301a3c62022e2a7900a5e4b48e16b093fa04ec7901a419653606b2d3f722afed86a0ad6da39250437701b72d6617d34edd7259b6f98d076fdc767e84a6dcb +DIST firefox-124.0-id.xpi 566763 BLAKE2B 87ee8df2dc15eb66d547d1ef0acddc30f7e6327ed699fb2789ece4956b3022b690942270d2062daf518d1ce560d8a8801f54b25aac9d405b9690b3a572715ad4 SHA512 a1fadc9e9eb067f3520231078820036a97c756242b1bdb55495d233f35ecad3f7a5fc66b602538db23915e489b5c07b6e26e61c80fb4df0209a305562af1ea5f +DIST firefox-124.0-is.xpi 600747 BLAKE2B ac13b124f3ff279347c23437a5e16bd89723af8b5568f56942faf3933b3c7b7f40ff6f7f98dcc6502404bd5cd001561cdf7df294ec40958228805285d3457c54 SHA512 8ce79f93457939a652cf923f121165ad6141518d2ccb926f15229c655b0f983ae631c2e761f2dc133d1955d2c305570b598447e5866b4db9a096c59557a9ef63 +DIST firefox-124.0-it.xpi 551731 BLAKE2B 674f2205281ae0d5c693a6d03fae8d76c4d9b4f649d5103421bbd4f5f102409a81a8de8cfcdb676be39784b9f4de83bf4ef067a3c4f7a051230f6c57c1387371 SHA512 d1ab8e65a79612e83230965cc87246d3944e6eb68fe7f4bd98a9f78aec50b40d14c9ed9280ac12cbf155212cfc140eda3467a54c335a7e171067eb7af2873f2f +DIST firefox-124.0-ja.xpi 662262 BLAKE2B 070ec06deea8b53aac4c6e19d18b62ee1f13366e845a6020536a7339be575e6e08cf3a9e783712f9b10a2d18f541772a46d8e6719b67444a50860fc124da9620 SHA512 3ffb5513b264d054c50bbbae8cf6a192b8d931b1731c5174f665feb567542ff782ad209b2519a24af2386ffe2527707f47f4d8cbb748663d32e123537bed9b88 +DIST firefox-124.0-ka.xpi 652845 BLAKE2B 5e8e6a6eee1f1eccb47a1ec6918e28c3df3cc942444a8f6d329afd238e8448842ed492df19be92e58681df200d2d52b2e7443e72b66175a2a4f976978fb4bcbf SHA512 9ad460b3a274103784e1911ea795248eada91f0880b82f672e9c72a3cb6f50c8fbae07fa4f6c047308e16565c95f1e2b983adb4220e6923724951119237b88d1 +DIST firefox-124.0-kab.xpi 594392 BLAKE2B a97ea14bab18d7bd5bee9ff8dc0d7daacc3e56c5d2b82bcc218399f78805945dbe6f2ec6d26575f779ffcdb6bbba0c44330108cdbd29f8e0212d984625f478ac SHA512 d5e045ea11d4092b4cf686db3cd69277fa011f78f62f66732f66bd35a00070c79658639604756b0e00a0387463383faa9fff07021eb06c04b8bbcee598b9e1f5 +DIST firefox-124.0-kk.xpi 689596 BLAKE2B bec7d93e84cd110e49038967eddb1d20f46bef48f4dd0f619d2e7251a124f24cb5fc7c31c21b018a662c3b5959522da4ad87c982257cfbc8df2f6682a21b0a1f SHA512 69a406f2dd23da3d62f825cf0fc74676a44b78b59bde5938c920e92b82737d423d96629578eeeedf6670833f1bb06d3c283763a1720a6c132db05546f055b894 +DIST firefox-124.0-km.xpi 518439 BLAKE2B 404b0f9f5644aee9c24b58996e18d16f01d3abf1955d3097487adcb338962f4cd4a6e30920d0d55ab6360a42bb9c1b877a41dcd75a5fc95079f69d3386e041ea SHA512 6cd31d044ab17885b10fc22556c4f78c0f85c1643cd0a105334966dc1b5e412bc9d92fa33013231116e5711fe99bb2d62ef8c39e58ced4e825822d04f099c9fa +DIST firefox-124.0-kn.xpi 484307 BLAKE2B 623357a0c1bdb1fd37655bc5d12297abcb253134261343443c4423373671d0c3a4085c3710ae1fec6d809d51b6ea13abe838290a1ac8a9b18562fd71d3387ee1 SHA512 ee71aef763a1266d5f2bd5f698fe5a8fa4fb5ca39da16443a23ca07da6c97cf2545162d3aae33127b79164dcb68537ddbd21e233ca68422ce380cb4c2979dd5b +DIST firefox-124.0-ko.xpi 644468 BLAKE2B 787068dc0a7326dbd51167b947219a33343700177c14e8e4eb8285d967f968bdff60e0eb23b8d4fe87c9955e2ec811bea18731b1d7cf52ef1b0fa9835b7f90d1 SHA512 8f7cd4b01753d19715c5825f8c126fbb5fecc7fdaf531cfbf147ac4dcc07afc4dc1127d88a23355d3d54c338127b18f38e30a5f713ee136b6ca5ce21c4ccddcb +DIST firefox-124.0-lij.xpi 477142 BLAKE2B b75104357e53f62d8c05ac70504d5191d7f2cc7374d8988fc05490da2c6518739f8af98a3f682b587c99ca92cf69b3290fe82acd9a81220fbaa809c5e142bd0a SHA512 49c951be417ec188567082e9b7d90c683d0abf496391005f9ab059e04d1e1079da07d0a2f2afff15ea8b10429cddf3d412ee63491238a36c03b1748f5022bce5 +DIST firefox-124.0-lt.xpi 565315 BLAKE2B d3a86cf0232735c9805a0e22fb9a403081608190fc42b88d7a91784b0a3ef4ac01263b93ed9c5a72239dbb1b07a24553b0c7c0e549e1d5948474ecb2320fc7de SHA512 2d62415bbf4ee6c6a556cfb3684e09dabc37b4cdb4870263c5fc790217c44ebf18aa7fa11d22fda2bc95f01539760bad686d8a375815d3cce5d2ffd9cabacd75 +DIST firefox-124.0-lv.xpi 462850 BLAKE2B 4846f7f0945557dc020ce4c0c574e303ff1671ca8390539703534a8e7c91f23b93fffe1d50dfbfd692b0bf66b7bdd622001c4187a1331f71944c933e894a373b SHA512 9a75f5b84c8461cc4722057e6568d167ce14b590670d7754eec6919090ae6f9b985edb959ed19227254aa63da5298e9aebf68d9349a30fa492fdbe74bd2125fc +DIST firefox-124.0-mk.xpi 486009 BLAKE2B 4bdfd371ee4b2d7f35ffb6ee08448d0d0a4949d1069039bf6910d8d2934eb557b00fcf4c9c238ef6619374b542a8bf9aecd6f22d71de680c02290d90978d560b SHA512 269dc2d830cfc71d37398f1cff61b0a3558e583ac1af68e6eab9a7d22c3e55044d45c04ee9f5c1c908613339dd9a39c56b5465933d08666f3750aa3990af91b6 +DIST firefox-124.0-mr.xpi 525099 BLAKE2B 8edbc2a619af4b2272873a65663cbc6d1a270317da38c743887c4b69579bbe9387d63f64de01f0a3a2bdc410f936949a587111beb716f67a606b6111dbdb73fb SHA512 debe19d1ab4671ed40e3f830f9ecf904cc85ed80aa83f07a86a4f503278fcb786edea08ee9416aebe9dd97b56c116058b23de1443544ffe4a83078659098dd3d +DIST firefox-124.0-ms.xpi 442794 BLAKE2B 7ffe114e28b231ba23e37d2a6fc13767d87e5f22822c1d477e352a5252d3f717849b570078d3c4dbd6e6c75730fbfcb8a9f8862ab1588e731f1ba38914aedb87 SHA512 7ad3d96d7baad0d0dcf2f2495f8e2b4d9f1733daffb7b8b092326eecb43af2452dae6740c9e1b94ea54c482d9ad145f13d7c293e79521dc71ed1faab6eae0814 +DIST firefox-124.0-my.xpi 510097 BLAKE2B 312d9e43f86ff6ee75c2d57117d0e28af1283f53d21f76d421754ebc517819d413b1dcbadd21143b4a14f5767ed94425369319d96d2d710c5a952243444b6f43 SHA512 9cab927efa57015b442881b9a63da8f46f351b6b8f0232345f32efb466dfc523b532211328d629921e352aca18b2d246f25412b1b8efdbd99f3cc53c0a05824e +DIST firefox-124.0-nb-NO.xpi 592055 BLAKE2B faa4c87adc8712945b2113371db815cf86398054ebff41e494561fa6bf9796e0035141e3a32a0940af5c67d2df86b3d6d725a2d458467ff5e1b7afbf23240b6d SHA512 92fe761d22089f45d87cf2267a8e978e43d058a667c5c71ed86d28fdfcbb681b9a2e5fd44eea60697533e4eeb8839c60c2f17e0794b3c9b201e42fd59a66fbef +DIST firefox-124.0-ne-NP.xpi 489222 BLAKE2B 4e836b8a80e2124e69b1704381102a81c2e656341ad8d14c190a1113fe66159fa7711ce5565f0a57aac05af98538d3bc52c143ecd1927acb5eba5d66b92c93ef SHA512 4036618ee1f53a6ae697395118ea1ead4b5ed83d71db35ab68305912234d57800b6d129e63eb50d135b25278a0a8770c2006c33d045da15ea8ab945a623124b8 +DIST firefox-124.0-nl.xpi 600470 BLAKE2B 2208df13f2990a969a3fe65629c4ff2019740f5464c527814cc834a7311152a6726f9fd06ee224833cf441a316d302b699848e1e2f881bf63dd0cb997d45060c SHA512 ab31d9b390c145b4513c5d36d4780431eef5914af9b2a11fea7d2146c4d0da36eac3340e7c58e2738bbcde852aba5f3ff1e67ef9bd647d93f8f77eb02e70ef30 +DIST firefox-124.0-nn-NO.xpi 584693 BLAKE2B 45ba5f4d6faf022d02c130eba37ffbeda288ff454061a53cee5514a00af7460140a354421d21d3f9f4ca054f1cd54aefe6f2a6d04d0f2f329ffe0422b6e6f827 SHA512 987e76b2143463f1e203b8aa6e4442969d7cbc0abd6dfb0d877213bd36f6ffc0665edfc9d149a538a0fbe0f48ac788104c1ef4e2fbc6056d899dc0a7128697f4 +DIST firefox-124.0-oc.xpi 600437 BLAKE2B 949ebee148e88efb9d90d62f33712e62e260aff18bbb73b0a55b7d127594b01da17bd7d5d4b9e1c355bb583de9869de5ce9f5c7e310d0c0eec3263ae325e2cfa SHA512 316ef54ca7d0cee37943b804cff04a3d4ff1ef6d703aeef980f67515edfb85e68006c9d4276639c715fe7ad47653e5855e34ac7a032e8592654639042aada572 +DIST firefox-124.0-pa-IN.xpi 674693 BLAKE2B ebe30719c2a2b7a77bd0fafc7c30d6d1e2ee54c5259ec7a442bf7f96d647d34ffe45c1cb2d372ddebcc8432fdf6df03a4db45b0f3adc847e785d4a8c0af75c93 SHA512 0fe0a5d39c50217849bc4ed6095a3776941bcecee0fe530f7e81d336f93d08df58b5e4f731e3bad309adbd9f5854f3062ff43048871b7f4db85cab5202273f6f +DIST firefox-124.0-pl.xpi 621258 BLAKE2B 4449e83188c6f86abbafcc8c71d6363c045bb8f29b3f55d20f3d570bd821cb817f8a0dc0cbfd4e7101c6415667148b663ac8601467bb375c79772b540655d5c1 SHA512 f30f92ce94e4b1b1ffdc0fc50077ba942eecb1fd920386d3673b0f8802ab7c5f2715d915c246b12994db3237ef98cede9f6ce74701801b1005f49144caf6404b +DIST firefox-124.0-pt-BR.xpi 605322 BLAKE2B 293921164ace974bd3ac889456ecf75dcfd911f83de717fceeabf4bd8eb0e9a5795ef250d96fe74cb70cab50c706033f3cf29929825b5228c356697b32161950 SHA512 d68240b4e57f88fe85e5572e5e374bdf9c62ba163470dd5b6d8f7d7c5f401179f5c11021dafebd3c0fcc637d359eaf665fc689d2ddc6e4f7f941c701c1cdde77 +DIST firefox-124.0-pt-PT.xpi 611852 BLAKE2B df0fc1e456baf70e865c7fa8cdddb742d801ec159c8dcd9309f6239a1fa3b45203ee3ed97096a60f0a46cf380cd5e9ec232e384e22366bab8049d348dc2a8edb SHA512 935fba13ab3eed0a5bb453212c7f792f69fecf94b5752bfe039d9fa69f417e2e8ba1e9aca95901bf4c33c4ffbd46a14de07643c653369c8bd8d141700c452cd0 +DIST firefox-124.0-rm.xpi 598304 BLAKE2B 4e2284dea51a431858600933409002741a087fd76628a4ebb187e775daf6fd5c4486bbecb257059465b52053fb6d69d82b2403ccec0593bf7ad04fba937ad37a SHA512 cba39fb0da4841f0a0a5ed2e51d6429bd9a1d2f5bf164e65ffd871324984f29a427cf0a5ee93929710783fd75e430d0594dec0e32dd7bcafa0281938e8562ff2 +DIST firefox-124.0-ro.xpi 542507 BLAKE2B e36cb8a7549f2f5d6e01c7afb49fac3b71efe6d8884453dfe0396e9dbd9dcb9552128539c440877f2b93ff5d5a731ec1437ced083288a6604913f2e23aab6f01 SHA512 ed31bd1c28b0ca6c8f7c06706b2657b4101866f1740353cfb74823ad652ec922e28c95cfa91dcc988f1dda55bef34d80bac464ca544dd439e5a120062f8a4a19 +DIST firefox-124.0-ru.xpi 701741 BLAKE2B b519c8fde9148f15de2c36410c76a7f34b0704ea600c00aa52392401f2ed5ebfa0e287a41c2151495a43f2eb8e4467f14622f7f89c99c42a0717f3a6ef2a30c9 SHA512 f0ca79e4c4d8d05cf14049f2c31c70ca5bf484913277775d405b40f2b70876306ef3bf7c34d2cc58f2c85725172e5d1f9b80d671e1aa11fad1a25d652cdaf1d4 +DIST firefox-124.0-sc.xpi 571497 BLAKE2B 059451aab97e0557da2633c5a4abda22c83dda398749d9278eca2c9a8616af03c21eec84f83f41c7d06148054a368fabccaa6cd131d03d19b8f2c1366cab03b0 SHA512 7ba0bf556a209ef8130be280bee0d12312fe69904b952fd62f5110fa6e5fa02ec92da2e50c34b664a08321986553324e2a4fd68d409d24c545c00942b03d5451 +DIST firefox-124.0-sco.xpi 504488 BLAKE2B 84a996e96136d74cab69903ffe813c5bba178a98219c2b79baa89018dfd6accc26e4613d50373de5c3b28d951f4d4f2a9f3bacd4f8b6a269e144e73c9beedbca SHA512 305f5cc01c9c52561757fcf414a5235a101119ecc60c7875a2dee3eedeacd3b0f30288ce80b014127e7f4f6b32cf4e77b791184980e8df3f318ee9774032608b +DIST firefox-124.0-si.xpi 598353 BLAKE2B 5d24791ba1e8799ae5a6f25e4bb01a9d426a80eaa686190f1507ef3ba4b409d4201ef73423a95d3612c5f7b6a9403abc88e9b3c8bc7a176bfded83c76149ea2d SHA512 3d51ab067b29256a46c483c1e60cb03a1b38ceef9aab1e9a91d2da887b35d8f3f96f793fc9771c7c705e2be8d1793ac7e600e014f48713f9b745095ccca511fe +DIST firefox-124.0-sk.xpi 635471 BLAKE2B d1d0ace7885de4767f8c55e96ec9535b9b5f929d9cad58ab88c25c5eb0da241a7a5ccee6184ca808b839e8055df00c4de11e4d899e413c97b9eaa5114d5bbd23 SHA512 94e67f78eb08c7c8b46f9a165c0368560d34157da0edb72e47764db010c8849127e17ef3bb30288b58df14100a0289c0ccb844c4e24c349c2c5aa2cb28476a49 +DIST firefox-124.0-sl.xpi 601292 BLAKE2B 174b8b26df06d7e1c87fc013c15515a2ea29e474d437e0f2fdca808eeef94e90e6037e8c510c848e9cc8a25c5c66f4c298e176606a8dcc291caaca5bb054b4e1 SHA512 ebdf0932eaa183d9c53c2025bc70832651b80bca10f953facd07ef89ee2d4a870b8a4bec852fb7673304140c1f01a131e4726050812429eafc87f154308dc90c +DIST firefox-124.0-son.xpi 410253 BLAKE2B 1d511a41aeb3dd9faa38f425b285d94702a71bfb0f883c2ee3b9c9f11dba39263494143d017295e9e7b7f3b008e1d9a996bc0904c30b468faac591cf1a1ac339 SHA512 006aa86929507545eb12f06fe98e6400f932dc14e341c47057fb76fcd37d0848dd5b4403c41372a06e98b6efe20d009d29345fecac4cb392a483c1ace3a41943 +DIST firefox-124.0-sq.xpi 620803 BLAKE2B a6066f126f1d7448ad041661d64fcb8f1a8e88b2a3474503b269306daecc5c0f87ae54969676904e3feba0a01c03cd30a1af3bb8253aa2c9b31e3b6fb56218db SHA512 ef84c325daa9ce0a32817faf12b3bcc79e100b02827939aa98b68e633db13bdcc7958b9d6677d309923846677dc4b71080ab23cd359d3a613561057d67316047 +DIST firefox-124.0-sr.xpi 631735 BLAKE2B c8d8f568d3f7953181bb2054ec00e44d0ba11204eeaccc6bfb5f6d121f1594e5c832e8118096225324d232c06fff461491f75ff86a46d1e1d01d8699a3b75c0a SHA512 26545e8796dcd8128daa32195418a1cf238ec2e22655498c99c2197599e45cef829ccc7f2c07ed5e895699e2f04c41a1caf53b9f94550c68cd99a9f292b8c261 +DIST firefox-124.0-sv-SE.xpi 603112 BLAKE2B a354ad138483fe109a721ca9110651cce412a1dbecbbdfcf32394a842b36f99f2684d9cb64a2492dbb235b413c77589ea7e03125f2fac10db2bb823b3dea6d1f SHA512 4040451ead9e417d4f5df35d502ea4f9efef22081fabd1fe78937c383a9a67d25a848c44083436313927ade0dbb2fd4e7887a8b1f66bf53f966cc9de60092621 +DIST firefox-124.0-szl.xpi 519283 BLAKE2B 9df2452be00802675cda2ddd84252461c4a6cf19898622248543c969fe67252e49dc9a90921f7a8c1cc0e9487c7c0a874036cf1e6564b02e3eacf4f464f3e5a5 SHA512 67cf54046b52a899e62a9c066f4c616fa7a7053330c87258f15c28b2d18dd5c14016838b8e57e7d3f998696cdcee0cb7c975912013ffc1f6e465677334e13102 +DIST firefox-124.0-ta.xpi 500075 BLAKE2B df3c18d544e09ded973478a3e29eac1829439b4eede2d8f0213174d882951b8099658cb57beb693a0ac8316a75ea17e915194ad5b8bfac952d65f46581c98618 SHA512 b51d9f27f1d582ee2e0fb10ad1be2db570f7f86163e7d8eddc6cc3d583a16af1c5aaab73137eb457733b1ad927b3114c2d92b27dbb83e4d3a7b8592cfbeaed78 +DIST firefox-124.0-te.xpi 551826 BLAKE2B cc1f4e57562210d1ebdf4e69ca064850ee737082142b19075a0bb4bcf2f35ec7b9f195072ad24a57291b7604469b8b5f74ef4d2261c3c7ba8048ce51bcd18711 SHA512 19c1e8b881e876b95d0a95ad0fa3b893dd620324b573c2787ce7da588ec8f400697cf08021ea1d8d786ef5d6cfbadd88beda36287f664dcfca594edc1b5906a7 +DIST firefox-124.0-th.xpi 677238 BLAKE2B 0e5c4bb434c9c2e07c2431f4f09a5ba9dda7141b05fe33a3d548acc864e431fdb854188b0a451f16864d3effb67dbfe70f2b517b251318f31ee91b636c983d7e SHA512 1139f8d4953eba5e089a00daf32e4ca575d0aa367a3168ce722c6c7ab5b35c18ae7c05118a293ca16211ec0a9ec7b87e1cb41d07db51a9e93143aca3dbca0b48 +DIST firefox-124.0-tl.xpi 527135 BLAKE2B 662b2632dd4b986439b2d816bffa5f741f56b9879b0f83d0586fa6388faa5ce06ba05d935f51f71552c0c3458cb0f2040b69208a065d9a8c5d554ff5a1cc59fd SHA512 efce8c9e3c96900fe6e12f89f47dc820b217af286964b54ae8e05d008298a800722bc2d9b5d7ab40b20803b2ea49aef3f43e09ec61353cb76085569125d00612 +DIST firefox-124.0-tr.xpi 615925 BLAKE2B 185d427fd4fa7f486f814376e407b9fa064e2492e08695b5e5187d8e4d5c1148c551c8e8232cd7b91e54233b0e7b70ead1ed4ea1fb54c33c79b96dff210bfe8f SHA512 0aaff86749c4badc6786c557f97ab3b94a4b7b976cc37b9f80b280d01f572667937629356b9b6ef2acf961eef9dfda4bdbd0deb69b7efcb16033803f9f64d152 +DIST firefox-124.0-trs.xpi 497064 BLAKE2B 526d3aac9b9d98aab2f323d93cc1dec1e412840c2c71b0f00855696045db568113b0b897bdba83f9ac6558a7c837a6bc3c96276e584fcbe2bd8a940c48c68dd3 SHA512 873ebd2729d7267efabc6b8faddbabb73f2a5e857cf769e70169824f8065ad202e0a5827a4c997ab2662b11c3f08aadafb623a3b36c4d6e64952324970f8edcf +DIST firefox-124.0-uk.xpi 694225 BLAKE2B ea8ad2a394075781bc318e42cf6a31d0c4b8438b372a31a2e1f60643468b9b5dd0b784cf1b17a589982c0c9a9accefc77a88c52a59401af27012b37e51489a68 SHA512 3bd4d965437e3d8fb3e177d388fab69460f15676a1cce6239ad51ed3e683a4f4b8408a69fbf4a5f8c08228edb40f1a58742613fa1e32ae103a0568d6a497f58b +DIST firefox-124.0-ur.xpi 553211 BLAKE2B 58351201a52d2e517b113fbffd16038d973bd08e9b41ad4c6a760948543afacc60dc1a05423f3bb15a1b92927ba0fb0b5e7fd5983b14b1db6cc8236319ee5eed SHA512 e1dbfa06be09d07e318f062faa3d06a38fb88ebe5c10e7a41ba43809f92f2e560ce6024aaab5ff685f28487618c51782b378c2133cf56ac83e9011d6ae917676 +DIST firefox-124.0-uz.xpi 472279 BLAKE2B 0d8aab3ac49cb3e3b6997e8e0728d3f13d7844388789daed7c33720d48f5b0f591801d3499db81806b69b5b61b3c12d8293a01698afb29b9a8188e67909b23e7 SHA512 ff0389c8ae8bc16646f9baca956e9111370bd052e7621f04555b85a8ec389ed2eed82126eb5322b7b9c0b662114b63d7ceb75fdb548375163e0911e67c1cce3d +DIST firefox-124.0-vi.xpi 638586 BLAKE2B d6c14d61a6b30b00243db8fff2b347df8d69d7cd939e989fb3dd5ea2f096c56879abadd236709c6f2e6b6542a243ebde4e17ee9f753970a04832ea5a76feb9ec SHA512 9009eb2099224ffd5468fd60b99a6388b0d714c77573de0d3ce4d5dae8655f6d84545a3d4430c00f6be236e6b1385e8533dfbbab1843101846651aceb383df9b +DIST firefox-124.0-xh.xpi 410996 BLAKE2B a9a34228f18f69bf92fd41a5fd7b58290acd4d3fba136473a46bbc0506838fe3465a6c9892d4bfeaf4795bf19629ac3532a1601951118bd1ba750acede3f6696 SHA512 3bf4b56ffdfe276f0b81cbbfb72c36acf56f2b8e6fd07303e31072ad51604c0028ab44f8de78b11a457d0cca2f64023e050746d55852a58df831817d6c5bf825 +DIST firefox-124.0-zh-CN.xpi 640171 BLAKE2B e591116916865bedd246e472179404e051d1cf661eff4fdd54db7b5a4104c4244ed21443ccd863cbd64643afa99052e57bb604af2e0abb4f78212b37cf3bf65a SHA512 08e627006396fcfb1b71909b5ec46333ed6683d62d5925f056c191029d310a601bd6c227b7cfc62f9957d5fb4440ad61ad1b801730599f8822d3f4f2dada2157 +DIST firefox-124.0-zh-TW.xpi 642129 BLAKE2B 31079c3fb147dce6137ef1bf1a173cb402ec49b0b2391ee1e64984eaea4706ab27b86d4595f42997f63dc12a6035b0ed48ce9e4d0616759041612e933fb3e6da SHA512 e6341c321087d82c11babbadb542bcc5fafa6e459e6378511970292bac8300b5dc71e3cc85e446cec21c7c947ffe0f631160e7f3214636fc13ac47ed4cb3dab9 +DIST firefox-124.0.source.tar.xz 545407260 BLAKE2B e62264b8c400a29d092c9e034a58431106e5f1dd29bd8a9dcc3b5b204b4da8fa7a395c610ce0e4a932ca6305d243978bf212d57912bc4b6a85f95e6f34353ed0 SHA512 028c1a447bc2e608e1ba06cc66b1a33e0a4179744f0e8406d6f2b7317bf99fdd84eb97de0e96d4adcef9f2498b083bac38ccbf2d55e213a4a7e8ff6d94974cfc diff --git a/www-client/firefox/firefox-124.0.ebuild b/www-client/firefox/firefox-124.0.ebuild new file mode 100644 index 000000000000..47d698c5e739 --- /dev/null +++ b/www-client/firefox/firefox-124.0.ebuild @@ -0,0 +1,1425 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +FIREFOX_PATCHSET="firefox-124-patches-01.tar.xz" + +LLVM_COMPAT=( 16 17 ) + +PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_REQ_USE="ncurses,sqlite,ssl" + +WANT_AUTOCONF="2.1" + +VIRTUALX_REQUIRED="manual" + +MOZ_ESR= + +MOZ_PV=${PV} +MOZ_PV_SUFFIX= +if [[ ${PV} =~ (_(alpha|beta|rc).*)$ ]] ; then + MOZ_PV_SUFFIX=${BASH_REMATCH[1]} + + # Convert the ebuild version to the upstream Mozilla version + MOZ_PV="${MOZ_PV/_alpha/a}" # Handle alpha for SRC_URI + MOZ_PV="${MOZ_PV/_beta/b}" # Handle beta for SRC_URI + MOZ_PV="${MOZ_PV%%_rc*}" # Handle rc for SRC_URI +fi + +if [[ -n ${MOZ_ESR} ]] ; then + # ESR releases have slightly different version numbers + MOZ_PV="${MOZ_PV}esr" +fi + +MOZ_PN="${PN%-bin}" +MOZ_P="${MOZ_PN}-${MOZ_PV}" +MOZ_PV_DISTFILES="${MOZ_PV}${MOZ_PV_SUFFIX}" +MOZ_P_DISTFILES="${MOZ_PN}-${MOZ_PV_DISTFILES}" + +inherit autotools check-reqs desktop flag-o-matic gnome2-utils linux-info llvm-r1 multiprocessing \ + optfeature pax-utils python-any-r1 readme.gentoo-r1 toolchain-funcs virtualx xdg + +MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/releases/${MOZ_PV}" + +if [[ ${PV} == *_rc* ]] ; then + MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/candidates/${MOZ_PV}-candidates/build${PV##*_rc}" +fi + +PATCH_URIS=( + https://dev.gentoo.org/~juippis/mozilla/patchsets/${FIREFOX_PATCHSET} +) + +SRC_URI="${MOZ_SRC_BASE_URI}/source/${MOZ_P}.source.tar.xz -> ${MOZ_P_DISTFILES}.source.tar.xz + ${PATCH_URIS[@]}" + +DESCRIPTION="Firefox Web Browser" +HOMEPAGE="https://www.mozilla.com/firefox" + +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +SLOT="rapid" +LICENSE="MPL-2.0 GPL-2 LGPL-2.1" + +IUSE="+clang cpu_flags_arm_neon dbus debug eme-free hardened hwaccel" +IUSE+=" jack +jumbo-build libproxy lto openh264 pgo pulseaudio sndio selinux" +IUSE+=" +system-av1 +system-harfbuzz +system-icu +system-jpeg +system-libevent +system-libvpx system-png system-python-libs +system-webp" +IUSE+=" +telemetry valgrind wayland wifi +X" + +# Firefox-only IUSE +IUSE+=" geckodriver +gmp-autoupdate" + +# "-jumbo-build +system-icu": build failure on firefox-120: +# firefox-120.0/intl/components/src/TimeZone.cpp:345:3: error: use of undeclared identifier 'MOZ_TRY' +REQUIRED_USE="|| ( X wayland ) + debug? ( !system-av1 ) + !jumbo-build? ( !system-icu ) + pgo? ( lto ) + wifi? ( dbus )" + +FF_ONLY_DEPEND="!www-client/firefox:0 + !www-client/firefox:esr + selinux? ( sec-policy/selinux-mozilla )" +BDEPEND="${PYTHON_DEPS} + $(llvm_gen_dep ' + sys-devel/clang:${LLVM_SLOT} + sys-devel/llvm:${LLVM_SLOT} + clang? ( + sys-devel/lld:${LLVM_SLOT} + virtual/rust:0/llvm-${LLVM_SLOT} + ) + pgo? ( sys-libs/compiler-rt-sanitizers:${LLVM_SLOT}[profile] ) + ') + app-alternatives/awk + app-arch/unzip + app-arch/zip + >=dev-util/cbindgen-0.26.0 + net-libs/nodejs + virtual/pkgconfig + !clang? ( >=virtual/rust-1.70 ) + !elibc_glibc? ( + || ( + dev-lang/rust + <dev-lang/rust-bin-1.73 + ) + ) + amd64? ( >=dev-lang/nasm-2.14 ) + x86? ( >=dev-lang/nasm-2.14 ) + pgo? ( + X? ( + sys-devel/gettext + x11-base/xorg-server[xvfb] + x11-apps/xhost + ) + !X? ( + >=gui-libs/wlroots-0.15.1-r1[tinywl] + x11-misc/xkeyboard-config + ) + )" +COMMON_DEPEND="${FF_ONLY_DEPEND} + >=app-accessibility/at-spi2-core-2.46.0:2 + dev-libs/expat + dev-libs/glib:2 + dev-libs/libffi:= + >=dev-libs/nss-3.98 + >=dev-libs/nspr-4.35 + media-libs/alsa-lib + media-libs/fontconfig + media-libs/freetype + media-libs/mesa + media-video/ffmpeg + sys-libs/zlib + virtual/freedesktop-icon-theme + x11-libs/cairo + x11-libs/gdk-pixbuf + x11-libs/pango + x11-libs/pixman + dbus? ( + sys-apps/dbus + ) + jack? ( virtual/jack ) + pulseaudio? ( + || ( + media-libs/libpulse + >=media-sound/apulse-0.1.12-r4[sdk] + ) + ) + libproxy? ( net-libs/libproxy ) + selinux? ( sec-policy/selinux-mozilla ) + sndio? ( >=media-sound/sndio-1.8.0-r1 ) + system-av1? ( + >=media-libs/dav1d-1.0.0:= + >=media-libs/libaom-1.0.0:= + ) + system-harfbuzz? ( + >=media-gfx/graphite2-1.3.13 + >=media-libs/harfbuzz-2.8.1:0= + ) + system-icu? ( >=dev-libs/icu-73.1:= ) + system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 ) + system-libevent? ( >=dev-libs/libevent-2.1.12:0=[threads(+)] ) + system-libvpx? ( >=media-libs/libvpx-1.8.2:0=[postproc] ) + system-png? ( >=media-libs/libpng-1.6.35:0=[apng] ) + system-webp? ( >=media-libs/libwebp-1.1.0:0= ) + valgrind? ( dev-debug/valgrind ) + wayland? ( + >=media-libs/libepoxy-1.5.10-r1 + x11-libs/gtk+:3[wayland] + x11-libs/libxkbcommon[wayland] + ) + wifi? ( + kernel_linux? ( + net-misc/networkmanager + sys-apps/dbus + ) + ) + X? ( + virtual/opengl + x11-libs/cairo[X] + x11-libs/gtk+:3[X] + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libxkbcommon[X] + x11-libs/libXrandr + x11-libs/libXtst + x11-libs/libxcb:= + )" +RDEPEND="${COMMON_DEPEND} + hwaccel? ( + media-video/libva-utils + sys-apps/pciutils + ) + jack? ( virtual/jack ) + openh264? ( media-libs/openh264:*[plugin] )" +DEPEND="${COMMON_DEPEND} + X? ( + x11-base/xorg-proto + x11-libs/libICE + x11-libs/libSM + )" + +S="${WORKDIR}/${PN}-${PV%_*}" + +# Allow MOZ_GMP_PLUGIN_LIST to be set in an eclass or +# overridden in the enviromnent (advanced hackers only) +if [[ -z "${MOZ_GMP_PLUGIN_LIST+set}" ]] ; then + MOZ_GMP_PLUGIN_LIST=( gmp-gmpopenh264 gmp-widevinecdm ) +fi + +llvm_check_deps() { + if ! has_version -b "sys-devel/clang:${LLVM_SLOT}" ; then + einfo "sys-devel/clang:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 + return 1 + fi + + if use clang && ! tc-ld-is-mold ; then + if ! has_version -b "sys-devel/lld:${LLVM_SLOT}" ; then + einfo "sys-devel/lld:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 + return 1 + fi + + if ! has_version -b "virtual/rust:0/llvm-${LLVM_SLOT}" ; then + einfo "virtual/rust:0/llvm-${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 + return 1 + fi + + if use pgo ; then + if ! has_version -b "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*[profile]" ; then + einfo "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*[profile] is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 + return 1 + fi + fi + fi + + einfo "Using LLVM slot ${LLVM_SLOT} to build" >&2 +} + +MOZ_LANGS=( + af ar ast be bg br ca cak cs cy da de dsb + el en-CA en-GB en-US es-AR es-ES et eu + fi fr fy-NL ga-IE gd gl he hr hsb hu + id is it ja ka kab kk ko lt lv ms nb-NO nl nn-NO + pa-IN pl pt-BR pt-PT rm ro ru + sk sl sq sr sv-SE th tr uk uz vi zh-CN zh-TW +) + +# Firefox-only LANGS +MOZ_LANGS+=( ach ) +MOZ_LANGS+=( an ) +MOZ_LANGS+=( az ) +MOZ_LANGS+=( bn ) +MOZ_LANGS+=( bs ) +MOZ_LANGS+=( ca-valencia ) +MOZ_LANGS+=( eo ) +MOZ_LANGS+=( es-CL ) +MOZ_LANGS+=( es-MX ) +MOZ_LANGS+=( fa ) +MOZ_LANGS+=( ff ) +MOZ_LANGS+=( fur ) +MOZ_LANGS+=( gn ) +MOZ_LANGS+=( gu-IN ) +MOZ_LANGS+=( hi-IN ) +MOZ_LANGS+=( hy-AM ) +MOZ_LANGS+=( ia ) +MOZ_LANGS+=( km ) +MOZ_LANGS+=( kn ) +MOZ_LANGS+=( lij ) +MOZ_LANGS+=( mk ) +MOZ_LANGS+=( mr ) +MOZ_LANGS+=( my ) +MOZ_LANGS+=( ne-NP ) +MOZ_LANGS+=( oc ) +MOZ_LANGS+=( sc ) +MOZ_LANGS+=( sco ) +MOZ_LANGS+=( si ) +MOZ_LANGS+=( son ) +MOZ_LANGS+=( szl ) +MOZ_LANGS+=( ta ) +MOZ_LANGS+=( te ) +MOZ_LANGS+=( tl ) +MOZ_LANGS+=( trs ) +MOZ_LANGS+=( ur ) +MOZ_LANGS+=( xh ) + +mozilla_set_globals() { + # https://bugs.gentoo.org/587334 + local MOZ_TOO_REGIONALIZED_FOR_L10N=( + fy-NL ga-IE gu-IN hi-IN hy-AM nb-NO ne-NP nn-NO pa-IN sv-SE + ) + + local lang xflag + for lang in "${MOZ_LANGS[@]}" ; do + # en and en_US are handled internally + if [[ ${lang} == en ]] || [[ ${lang} == en-US ]] ; then + continue + fi + + # strip region subtag if $lang is in the list + if has ${lang} "${MOZ_TOO_REGIONALIZED_FOR_L10N[@]}" ; then + xflag=${lang%%-*} + else + xflag=${lang} + fi + + SRC_URI+=" l10n_${xflag/[_@]/-}? (" + SRC_URI+=" ${MOZ_SRC_BASE_URI}/linux-x86_64/xpi/${lang}.xpi -> ${MOZ_P_DISTFILES}-${lang}.xpi" + SRC_URI+=" )" + IUSE+=" l10n_${xflag/[_@]/-}" + done +} +mozilla_set_globals + +moz_clear_vendor_checksums() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -ne 1 ]] ; then + die "${FUNCNAME} requires exact one argument" + fi + + einfo "Clearing cargo checksums for ${1} ..." + + sed -i \ + -e 's/\("files":{\)[^}]*/\1/' \ + "${S}"/third_party/rust/${1}/.cargo-checksum.json \ + || die +} + +moz_install_xpi() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 2 ]] ; then + die "${FUNCNAME} requires at least two arguments" + fi + + local DESTDIR=${1} + shift + + insinto "${DESTDIR}" + + local emid xpi_file xpi_tmp_dir + for xpi_file in "${@}" ; do + emid= + xpi_tmp_dir=$(mktemp -d --tmpdir="${T}") + + # Unpack XPI + unzip -qq "${xpi_file}" -d "${xpi_tmp_dir}" || die + + # Determine extension ID + if [[ -f "${xpi_tmp_dir}/install.rdf" ]] ; then + emid=$(sed -n -e '/install-manifest/,$ { /em:id/!d; s/.*[\">]\([^\"<>]*\)[\"<].*/\1/; p; q }' "${xpi_tmp_dir}/install.rdf") + [[ -z "${emid}" ]] && die "failed to determine extension id from install.rdf" + elif [[ -f "${xpi_tmp_dir}/manifest.json" ]] ; then + emid=$(sed -n -e 's/.*"id": "\([^"]*\)".*/\1/p' "${xpi_tmp_dir}/manifest.json") + [[ -z "${emid}" ]] && die "failed to determine extension id from manifest.json" + else + die "failed to determine extension id" + fi + + einfo "Installing ${emid}.xpi into ${ED}${DESTDIR} ..." + newins "${xpi_file}" "${emid}.xpi" + done +} + +mozconfig_add_options_ac() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 2 ]] ; then + die "${FUNCNAME} requires at least two arguments" + fi + + local reason=${1} + shift + + local option + for option in ${@} ; do + echo "ac_add_options ${option} # ${reason}" >>${MOZCONFIG} + done +} + +mozconfig_add_options_mk() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 2 ]] ; then + die "${FUNCNAME} requires at least two arguments" + fi + + local reason=${1} + shift + + local option + for option in ${@} ; do + echo "mk_add_options ${option} # ${reason}" >>${MOZCONFIG} + done +} + +mozconfig_use_enable() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 1 ]] ; then + die "${FUNCNAME} requires at least one arguments" + fi + + local flag=$(use_enable "${@}") + mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" "${flag}" +} + +mozconfig_use_with() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 1 ]] ; then + die "${FUNCNAME} requires at least one arguments" + fi + + local flag=$(use_with "${@}") + mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" "${flag}" +} + +# This is a straight copypaste from toolchain-funcs.eclass's 'tc-ld-is-lld', and is temporarily +# placed here until toolchain-funcs.eclass gets an official support for mold linker. +# Please see: +# https://github.com/gentoo/gentoo/pull/28366 || +# https://github.com/gentoo/gentoo/pull/28355 +tc-ld-is-mold() { + local out + + # Ensure ld output is in English. + local -x LC_ALL=C + + # First check the linker directly. + out=$($(tc-getLD "$@") --version 2>&1) + if [[ ${out} == *"mold"* ]] ; then + return 0 + fi + + # Then see if they're selecting mold via compiler flags. + # Note: We're assuming they're using LDFLAGS to hold the + # options and not CFLAGS/CXXFLAGS. + local base="${T}/test-tc-linker" + cat <<-EOF > "${base}.c" + int main() { return 0; } + EOF + out=$($(tc-getCC "$@") ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -Wl,--version "${base}.c" -o "${base}" 2>&1) + rm -f "${base}"* + if [[ ${out} == *"mold"* ]] ; then + return 0 + fi + + # No mold here! + return 1 +} + +virtwl() { + debug-print-function ${FUNCNAME} "$@" + + [[ $# -lt 1 ]] && die "${FUNCNAME} needs at least one argument" + [[ -n $XDG_RUNTIME_DIR ]] || die "${FUNCNAME} needs XDG_RUNTIME_DIR to be set; try xdg_environment_reset" + tinywl -h >/dev/null || die 'tinywl -h failed' + + local VIRTWL VIRTWL_PID + coproc VIRTWL { WLR_BACKENDS=headless exec tinywl -s 'echo $WAYLAND_DISPLAY; read _; kill $PPID'; } + local -x WAYLAND_DISPLAY + read WAYLAND_DISPLAY <&${VIRTWL[0]} + + debug-print "${FUNCNAME}: $@" + "$@" + local r=$? + + [[ -n $VIRTWL_PID ]] || die "tinywl exited unexpectedly" + exec {VIRTWL[0]}<&- {VIRTWL[1]}>&- + return $r +} + +pkg_pretend() { + if [[ ${MERGE_TYPE} != binary ]] ; then + if use pgo ; then + if ! has usersandbox $FEATURES ; then + die "You must enable usersandbox as X server can not run as root!" + fi + fi + + # Ensure we have enough disk space to compile + if use pgo || use lto || use debug ; then + CHECKREQS_DISK_BUILD="13500M" + else + CHECKREQS_DISK_BUILD="6600M" + fi + + check-reqs_pkg_pretend + fi +} + +pkg_setup() { + if [[ ${MERGE_TYPE} != binary ]] ; then + if use pgo ; then + if ! has userpriv ${FEATURES} ; then + eerror "Building ${PN} with USE=pgo and FEATURES=-userpriv is not supported!" + fi + fi + + # Ensure we have enough disk space to compile + if use pgo || use lto || use debug ; then + CHECKREQS_DISK_BUILD="13500M" + else + CHECKREQS_DISK_BUILD="6400M" + fi + + check-reqs_pkg_setup + + llvm-r1_pkg_setup + + if use clang && use lto && tc-ld-is-lld ; then + local version_lld=$(ld.lld --version 2>/dev/null | awk '{ print $2 }') + [[ -n ${version_lld} ]] && version_lld=$(ver_cut 1 "${version_lld}") + [[ -z ${version_lld} ]] && die "Failed to read ld.lld version!" + + local version_llvm_rust=$(rustc -Vv 2>/dev/null | grep -F -- 'LLVM version:' | awk '{ print $3 }') + [[ -n ${version_llvm_rust} ]] && version_llvm_rust=$(ver_cut 1 "${version_llvm_rust}") + [[ -z ${version_llvm_rust} ]] && die "Failed to read used LLVM version from rustc!" + + if ver_test "${version_lld}" -ne "${version_llvm_rust}" ; then + eerror "Rust is using LLVM version ${version_llvm_rust} but ld.lld version belongs to LLVM version ${version_lld}." + eerror "You will be unable to link ${CATEGORY}/${PN}. To proceed you have the following options:" + eerror " - Manually switch rust version using 'eselect rust' to match used LLVM version" + eerror " - Switch to dev-lang/rust[system-llvm] which will guarantee matching version" + eerror " - Build ${CATEGORY}/${PN} without USE=lto" + eerror " - Rebuild lld with llvm that was used to build rust (may need to rebuild the whole " + eerror " llvm/clang/lld/rust chain depending on your @world updates)" + die "LLVM version used by Rust (${version_llvm_rust}) does not match with ld.lld version (${version_lld})!" + fi + fi + + python-any-r1_pkg_setup + + # Avoid PGO profiling problems due to enviroment leakage + # These should *always* be cleaned up anyway + unset \ + DBUS_SESSION_BUS_ADDRESS \ + DISPLAY \ + ORBIT_SOCKETDIR \ + SESSION_MANAGER \ + XAUTHORITY \ + XDG_CACHE_HOME \ + XDG_SESSION_COOKIE + + # Build system is using /proc/self/oom_score_adj, bug #604394 + addpredict /proc/self/oom_score_adj + + if use pgo ; then + # Update 105.0: "/proc/self/oom_score_adj" isn't enough anymore with pgo, but not sure + # whether that's due to better OOM handling by Firefox (bmo#1771712), or portage + # (PORTAGE_SCHEDULING_POLICY) update... + addpredict /proc + + # Clear tons of conditions, since PGO is hardware-dependant. + addpredict /dev + fi + + if ! mountpoint -q /dev/shm ; then + # If /dev/shm is not available, configure is known to fail with + # a traceback report referencing /usr/lib/pythonN.N/multiprocessing/synchronize.py + ewarn "/dev/shm is not mounted -- expect build failures!" + fi + + # Google API keys (see http://www.chromium.org/developers/how-tos/api-keys) + # Note: These are for Gentoo Linux use ONLY. For your own distribution, please + # get your own set of keys. + if [[ -z "${MOZ_API_KEY_GOOGLE+set}" ]] ; then + MOZ_API_KEY_GOOGLE="AIzaSyDEAOvatFogGaPi0eTgsV_ZlEzx0ObmepsMzfAc" + fi + + if [[ -z "${MOZ_API_KEY_LOCATION+set}" ]] ; then + MOZ_API_KEY_LOCATION="AIzaSyB2h2OuRgGaPicUgy5N-5hsZqiPW6sH3n_rptiQ" + fi + + # Mozilla API keys (see https://location.services.mozilla.com/api) + # Note: These are for Gentoo Linux use ONLY. For your own distribution, please + # get your own set of keys. + if [[ -z "${MOZ_API_KEY_MOZILLA+set}" ]] ; then + MOZ_API_KEY_MOZILLA="edb3d487-3a84-46m0ap1e3-9dfd-92b5efaaa005" + fi + + # Ensure we use C locale when building, bug #746215 + export LC_ALL=C + fi + + CONFIG_CHECK="~SECCOMP" + WARNING_SECCOMP="CONFIG_SECCOMP not set! This system will be unable to play DRM-protected content." + linux-info_pkg_setup +} + +src_unpack() { + local _lp_dir="${WORKDIR}/language_packs" + local _src_file + + if [[ ! -d "${_lp_dir}" ]] ; then + mkdir "${_lp_dir}" || die + fi + + for _src_file in ${A} ; do + if [[ ${_src_file} == *.xpi ]]; then + cp "${DISTDIR}/${_src_file}" "${_lp_dir}" || die "Failed to copy '${_src_file}' to '${_lp_dir}'!" + else + unpack ${_src_file} + fi + done +} + +src_prepare() { + if use lto; then + rm -v "${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch || die + fi + + if ! use ppc64; then + rm -v "${WORKDIR}"/firefox-patches/*ppc64*.patch || die + fi + + # Workaround for bgo#917599 + if has_version ">=dev-libs/icu-74.1" && use system-icu ; then + eapply "${WORKDIR}"/firefox-patches/*-bmo-1862601-system-icu-74.patch + fi + rm -v "${WORKDIR}"/firefox-patches/*-bmo-1862601-system-icu-74.patch || die + + # Workaround for bgo#915651 on musl + if use elibc_glibc ; then + rm -v "${WORKDIR}"/firefox-patches/*bgo-748849-RUST_TARGET_override.patch || die + fi + + eapply "${WORKDIR}/firefox-patches" + + # Allow user to apply any additional patches without modifing ebuild + eapply_user + + # Make cargo respect MAKEOPTS + export CARGO_BUILD_JOBS="$(makeopts_jobs)" + + # Workaround for bgo#915651 + if ! use elibc_glibc ; then + if use amd64 ; then + export RUST_TARGET="x86_64-unknown-linux-musl" + elif use x86 ; then + export RUST_TARGET="i686-unknown-linux-musl" + else + die "Unknown musl chost, please post your rustc -vV along with emerge --info on Gentoo's bug #915651" + fi + fi + + # Make LTO respect MAKEOPTS + sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ + "${S}"/build/moz.configure/lto-pgo.configure || die "Failed sedding multiprocessing.cpu_count" + + # Make ICU respect MAKEOPTS + sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ + "${S}"/intl/icu_sources_data.py || die "Failed sedding multiprocessing.cpu_count" + + # Respect MAKEOPTS all around (maybe some find+sed is better) + sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ + "${S}"/python/mozbuild/mozbuild/base.py || die "Failed sedding multiprocessing.cpu_count" + + sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ + "${S}"/third_party/libwebrtc/build/toolchain/get_cpu_count.py || die "Failed sedding multiprocessing.cpu_count" + + sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ + "${S}"/third_party/libwebrtc/build/toolchain/get_concurrent_links.py || die "Failed sedding multiprocessing.cpu_count" + + sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ + "${S}"/third_party/python/gyp/pylib/gyp/input.py || die "Failed sedding multiprocessing.cpu_count" + + sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ + "${S}"/python/mozbuild/mozbuild/code_analysis/mach_commands.py || die "Failed sedding multiprocessing.cpu_count" + + # sed-in toolchain prefix + sed -i \ + -e "s/objdump/${CHOST}-objdump/" \ + "${S}"/python/mozbuild/mozbuild/configure/check_debug_ranges.py \ + || die "sed failed to set toolchain prefix" + + sed -i \ + -e 's/ccache_stats = None/return None/' \ + "${S}"/python/mozbuild/mozbuild/controller/building.py \ + || die "sed failed to disable ccache stats call" + + einfo "Removing pre-built binaries ..." + + find "${S}"/third_party -type f \( -name '*.so' -o -name '*.o' \) -print -delete || die + + # Clear checksums from cargo crates we've manually patched. + # moz_clear_vendor_checksums xyz + moz_clear_vendor_checksums proc-macro2 + + # Respect choice for "jumbo-build" + # Changing the value for FILES_PER_UNIFIED_FILE may not work, see #905431 + if [[ -n ${FILES_PER_UNIFIED_FILE} ]] && use jumbo-build; then + local my_files_per_unified_file=${FILES_PER_UNIFIED_FILE:=16} + elog "" + elog "jumbo-build defaults modified to ${my_files_per_unified_file}." + elog "if you get a build failure, try undefining FILES_PER_UNIFIED_FILE," + elog "if that fails try -jumbo-build before opening a bug report." + elog "" + + sed -i -e "s/\"FILES_PER_UNIFIED_FILE\", 16/\"FILES_PER_UNIFIED_FILE\", "${my_files_per_unified_file}"/" python/mozbuild/mozbuild/frontend/data.py || + die "Failed to adjust FILES_PER_UNIFIED_FILE in python/mozbuild/mozbuild/frontend/data.py" + sed -i -e "s/FILES_PER_UNIFIED_FILE = 6/FILES_PER_UNIFIED_FILE = "${my_files_per_unified_file}"/" js/src/moz.build || + die "Failed to adjust FILES_PER_UNIFIED_FILE in js/src/moz.build" + fi + + # Create build dir + BUILD_DIR="${WORKDIR}/${PN}_build" + mkdir -p "${BUILD_DIR}" || die + + # Write API keys to disk + echo -n "${MOZ_API_KEY_GOOGLE//gGaPi/}" > "${S}"/api-google.key || die + echo -n "${MOZ_API_KEY_LOCATION//gGaPi/}" > "${S}"/api-location.key || die + echo -n "${MOZ_API_KEY_MOZILLA//m0ap1/}" > "${S}"/api-mozilla.key || die + + xdg_environment_reset +} + +src_configure() { + # Show flags set at the beginning + einfo "Current BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}" + einfo "Current CFLAGS:\t\t${CFLAGS:-no value set}" + einfo "Current CXXFLAGS:\t\t${CXXFLAGS:-no value set}" + einfo "Current LDFLAGS:\t\t${LDFLAGS:-no value set}" + einfo "Current RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}" + + local have_switched_compiler= + if use clang; then + # Force clang + einfo "Enforcing the use of clang due to USE=clang ..." + + local version_clang=$(clang --version 2>/dev/null | grep -F -- 'clang version' | awk '{ print $3 }') + [[ -n ${version_clang} ]] && version_clang=$(ver_cut 1 "${version_clang}") + [[ -z ${version_clang} ]] && die "Failed to read clang version!" + + if tc-is-gcc; then + have_switched_compiler=yes + fi + + AR=llvm-ar + CC=${CHOST}-clang-${version_clang} + CXX=${CHOST}-clang++-${version_clang} + NM=llvm-nm + RANLIB=llvm-ranlib + elif ! use clang && ! tc-is-gcc ; then + # Force gcc + have_switched_compiler=yes + einfo "Enforcing the use of gcc due to USE=-clang ..." + AR=gcc-ar + CC=${CHOST}-gcc + CXX=${CHOST}-g++ + NM=gcc-nm + RANLIB=gcc-ranlib + fi + + if [[ -n "${have_switched_compiler}" ]] ; then + # Because we switched active compiler we have to ensure + # that no unsupported flags are set + strip-unsupported-flags + fi + + # Ensure we use correct toolchain, + # AS is used in a non-standard way by upstream, #bmo1654031 + export HOST_CC="$(tc-getBUILD_CC)" + export HOST_CXX="$(tc-getBUILD_CXX)" + export AS="$(tc-getCC) -c" + + # Configuration tests expect llvm-readelf output, bug 913130 + READELF="llvm-readelf" + + tc-export CC CXX LD AR AS NM OBJDUMP RANLIB READELF PKG_CONFIG + + # Pass the correct toolchain paths through cbindgen + if tc-is-cross-compiler ; then + export BINDGEN_CFLAGS="${SYSROOT:+--sysroot=${ESYSROOT}} --target=${CHOST} ${BINDGEN_CFLAGS-}" + fi + + # Set MOZILLA_FIVE_HOME + export MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" + + # python/mach/mach/mixin/process.py fails to detect SHELL + export SHELL="${EPREFIX}/bin/bash" + + # Set state path + export MOZBUILD_STATE_PATH="${BUILD_DIR}" + + # Set MOZCONFIG + export MOZCONFIG="${S}/.mozconfig" + + # Initialize MOZCONFIG + mozconfig_add_options_ac '' --enable-application=browser + mozconfig_add_options_ac '' --enable-project=browser + + # Set Gentoo defaults + if use telemetry; then + export MOZILLA_OFFICIAL=1 + fi + + mozconfig_add_options_ac 'Gentoo default' \ + --allow-addon-sideload \ + --disable-cargo-incremental \ + --disable-crashreporter \ + --disable-disk-remnant-avoidance \ + --disable-gpsd \ + --disable-install-strip \ + --disable-legacy-profile-creation \ + --disable-parental-controls \ + --disable-strip \ + --disable-tests \ + --disable-updater \ + --disable-wmf \ + --enable-negotiateauth \ + --enable-new-pass-manager \ + --enable-official-branding \ + --enable-release \ + --enable-system-ffi \ + --enable-system-pixman \ + --enable-system-policies \ + --host="${CBUILD:-${CHOST}}" \ + --libdir="${EPREFIX}/usr/$(get_libdir)" \ + --prefix="${EPREFIX}/usr" \ + --target="${CHOST}" \ + --without-ccache \ + --without-wasm-sandboxed-libraries \ + --with-intl-api \ + --with-libclang-path="$(llvm-config --libdir)" \ + --with-system-nspr \ + --with-system-nss \ + --with-system-zlib \ + --with-toolchain-prefix="${CHOST}-" \ + --with-unsigned-addon-scopes=app,system \ + --x-includes="${ESYSROOT}/usr/include" \ + --x-libraries="${ESYSROOT}/usr/$(get_libdir)" + + # Set update channel + local update_channel=release + [[ -n ${MOZ_ESR} ]] && update_channel=esr + mozconfig_add_options_ac '' --update-channel=${update_channel} + + if ! use x86 && [[ ${CHOST} != armv*h* ]] ; then + mozconfig_add_options_ac '' --enable-rust-simd + fi + + # For future keywording: This is currently (97.0) only supported on: + # amd64, arm, arm64 & x86. + # Might want to flip the logic around if Firefox is to support more arches. + # bug 833001, bug 903411#c8 + if use ppc64 || use riscv; then + mozconfig_add_options_ac '' --disable-sandbox + elif use valgrind; then + mozconfig_add_options_ac 'valgrind requirement' --disable-sandbox + else + mozconfig_add_options_ac '' --enable-sandbox + fi + + # Enable JIT on riscv64 explicitly + # Can be removed once upstream enable it by default in the future. + use riscv && mozconfig_add_options_ac 'Enable JIT for RISC-V 64' --enable-jit + + if [[ -s "${S}/api-google.key" ]] ; then + local key_origin="Gentoo default" + if [[ $(cat "${S}/api-google.key" | md5sum | awk '{ print $1 }') != 709560c02f94b41f9ad2c49207be6c54 ]] ; then + key_origin="User value" + fi + + mozconfig_add_options_ac "${key_origin}" \ + --with-google-safebrowsing-api-keyfile="${S}/api-google.key" + else + einfo "Building without Google API key ..." + fi + + if [[ -s "${S}/api-location.key" ]] ; then + local key_origin="Gentoo default" + if [[ $(cat "${S}/api-location.key" | md5sum | awk '{ print $1 }') != ffb7895e35dedf832eb1c5d420ac7420 ]] ; then + key_origin="User value" + fi + + mozconfig_add_options_ac "${key_origin}" \ + --with-google-location-service-api-keyfile="${S}/api-location.key" + else + einfo "Building without Location API key ..." + fi + + if [[ -s "${S}/api-mozilla.key" ]] ; then + local key_origin="Gentoo default" + if [[ $(cat "${S}/api-mozilla.key" | md5sum | awk '{ print $1 }') != 3927726e9442a8e8fa0e46ccc39caa27 ]] ; then + key_origin="User value" + fi + + mozconfig_add_options_ac "${key_origin}" \ + --with-mozilla-api-keyfile="${S}/api-mozilla.key" + else + einfo "Building without Mozilla API key ..." + fi + + mozconfig_use_with system-av1 + mozconfig_use_with system-harfbuzz + mozconfig_use_with system-harfbuzz system-graphite2 + mozconfig_use_with system-icu + mozconfig_use_with system-jpeg + mozconfig_use_with system-libevent + mozconfig_use_with system-libvpx + mozconfig_use_with system-png + mozconfig_use_with system-webp + + mozconfig_use_enable dbus + mozconfig_use_enable libproxy + mozconfig_use_enable valgrind + + use eme-free && mozconfig_add_options_ac '+eme-free' --disable-eme + + mozconfig_use_enable geckodriver + + if use hardened ; then + mozconfig_add_options_ac "+hardened" --enable-hardening + append-ldflags "-Wl,-z,relro -Wl,-z,now" + + # Increase the FORTIFY_SOURCE value, #910071. + sed -i -e '/-D_FORTIFY_SOURCE=/s:2:3:' "${S}"/build/moz.configure/toolchain.configure || die + fi + + local myaudiobackends="" + use jack && myaudiobackends+="jack," + use sndio && myaudiobackends+="sndio," + use pulseaudio && myaudiobackends+="pulseaudio," + ! use pulseaudio && myaudiobackends+="alsa," + + mozconfig_add_options_ac '--enable-audio-backends' --enable-audio-backends="${myaudiobackends::-1}" + + mozconfig_use_enable wifi necko-wifi + + ! use jumbo-build && mozconfig_add_options_ac '--disable-unified-build' --disable-unified-build + + if use X && use wayland ; then + mozconfig_add_options_ac '+x11+wayland' --enable-default-toolkit=cairo-gtk3-x11-wayland + elif ! use X && use wayland ; then + mozconfig_add_options_ac '+wayland' --enable-default-toolkit=cairo-gtk3-wayland-only + else + mozconfig_add_options_ac '+x11' --enable-default-toolkit=cairo-gtk3-x11-only + fi + + # LTO is handled via configure + filter-lto + + if use lto ; then + if use clang ; then + # Upstream only supports lld or mold when using clang. + if tc-ld-is-mold ; then + # mold expects the -flto line from *FLAGS configuration, bgo#923119 + append-ldflags "-flto=thin" + mozconfig_add_options_ac "using ld=mold due to system selection" --enable-linker=mold + else + mozconfig_add_options_ac "forcing ld=lld due to USE=clang and USE=lto" --enable-linker=lld + fi + + mozconfig_add_options_ac '+lto' --enable-lto=cross + + else + # ThinLTO is currently broken, see bmo#1644409. + # mold does not support gcc+lto combination. + mozconfig_add_options_ac '+lto' --enable-lto=full + mozconfig_add_options_ac "linker is set to bfd" --enable-linker=bfd + fi + + if use pgo ; then + mozconfig_add_options_ac '+pgo' MOZ_PGO=1 + + if use clang ; then + # Used in build/pgo/profileserver.py + export LLVM_PROFDATA="llvm-profdata" + fi + fi + else + # Avoid auto-magic on linker + if use clang ; then + # lld is upstream's default + if tc-ld-is-mold ; then + mozconfig_add_options_ac "using ld=mold due to system selection" --enable-linker=mold + else + mozconfig_add_options_ac "forcing ld=lld due to USE=clang" --enable-linker=lld + fi + + else + if tc-ld-is-mold ; then + mozconfig_add_options_ac "using ld=mold due to system selection" --enable-linker=mold + else + mozconfig_add_options_ac "linker is set to bfd due to USE=-clang" --enable-linker=bfd + fi + fi + fi + + mozconfig_use_enable debug + if use debug ; then + mozconfig_add_options_ac '+debug' --disable-optimize + mozconfig_add_options_ac '+debug' --enable-real-time-tracing + else + mozconfig_add_options_ac 'Gentoo defaults' --disable-real-time-tracing + + if is-flag '-g*' ; then + if use clang ; then + mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols=$(get-flag '-g*') + else + mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols + fi + else + mozconfig_add_options_ac 'Gentoo default' --disable-debug-symbols + fi + + if is-flag '-O0' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O0 + elif is-flag '-O4' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O4 + elif is-flag '-O3' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O3 + elif is-flag '-O1' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O1 + elif is-flag '-Os' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-Os + else + mozconfig_add_options_ac "Gentoo default" --enable-optimize=-O2 + fi + fi + + # Debug flag was handled via configure + filter-flags '-g*' + + # Optimization flag was handled via configure + filter-flags '-O*' + + # Modifications to better support ARM, bug #553364 + if use cpu_flags_arm_neon ; then + mozconfig_add_options_ac '+cpu_flags_arm_neon' --with-fpu=neon + + if ! tc-is-clang ; then + # thumb options aren't supported when using clang, bug 666966 + mozconfig_add_options_ac '+cpu_flags_arm_neon' \ + --with-thumb=yes \ + --with-thumb-interwork=no + fi + fi + + if [[ ${CHOST} == armv*h* ]] ; then + mozconfig_add_options_ac 'CHOST=armv*h*' --with-float-abi=hard + + if ! use system-libvpx ; then + sed -i \ + -e "s|softfp|hard|" \ + "${S}"/media/libvpx/moz.build \ + || die + fi + fi + + # elf-hack + if use amd64 || use x86 ; then + if tc-ld-is-mold ; then + # relr-elf-hack is currently broken with mold, bgo#916259 + mozconfig_add_options_ac 'disable elf-hack with mold linker' --disable-elf-hack + else + if use clang ; then + mozconfig_add_options_ac 'relr elf-hack with clang' --enable-elf-hack=relr + else + mozconfig_add_options_ac 'legacy elf-hack with gcc' --enable-elf-hack=legacy + fi + fi + elif use ppc64 ; then + # '--disable-elf-hack' is not recognized on ppc64, bgo#917049 + :; + else + mozconfig_add_options_ac 'disable elf-hack on non-supported arches' --disable-elf-hack + fi + + # Additional ARCH support + case "${ARCH}" in + arm) + # Reduce the memory requirements for linking + if use clang ; then + # Nothing to do + :; + elif use lto ; then + append-ldflags -Wl,--no-keep-memory + else + append-ldflags -Wl,--no-keep-memory -Wl,--reduce-memory-overheads + fi + ;; + esac + + if ! use elibc_glibc; then + mozconfig_add_options_ac '!elibc_glibc' --disable-jemalloc + fi + + if use valgrind; then + mozconfig_add_options_ac 'valgrind requirement' --disable-jemalloc + fi + + # System-av1 fix + use system-av1 && append-ldflags "-Wl,--undefined-version" + + # Allow elfhack to work in combination with unstripped binaries + # when they would normally be larger than 2GiB. + append-ldflags "-Wl,--compress-debug-sections=zlib" + + # Make revdep-rebuild.sh happy; Also required for musl + append-ldflags -Wl,-rpath="${MOZILLA_FIVE_HOME}",--enable-new-dtags + + # Pass $MAKEOPTS to build system + export MOZ_MAKE_FLAGS="${MAKEOPTS}" + + # Use system's Python environment + export PIP_NETWORK_INSTALL_RESTRICTED_VIRTUALENVS=mach + + if use system-python-libs; then + export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE="system" + else + export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE="none" + fi + + if ! use telemetry; then + mozconfig_add_options_mk '-telemetry setting' "MOZ_CRASHREPORTER=0" + mozconfig_add_options_mk '-telemetry setting' "MOZ_DATA_REPORTING=0" + mozconfig_add_options_mk '-telemetry setting' "MOZ_SERVICES_HEALTHREPORT=0" + mozconfig_add_options_mk '-telemetry setting' "MOZ_TELEMETRY_REPORTING=0" + fi + + # Disable notification when build system has finished + export MOZ_NOSPAM=1 + + # Portage sets XARGS environment variable to "xargs -r" by default which + # breaks build system's check_prog() function which doesn't support arguments + mozconfig_add_options_ac 'Gentoo default' "XARGS=${EPREFIX}/usr/bin/xargs" + + # Set build dir + mozconfig_add_options_mk 'Gentoo default' "MOZ_OBJDIR=${BUILD_DIR}" + + # Show flags we will use + einfo "Build BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}" + einfo "Build CFLAGS:\t\t${CFLAGS:-no value set}" + einfo "Build CXXFLAGS:\t\t${CXXFLAGS:-no value set}" + einfo "Build LDFLAGS:\t\t${LDFLAGS:-no value set}" + einfo "Build RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}" + + # Handle EXTRA_CONF and show summary + local ac opt hash reason + + # Apply EXTRA_ECONF entries to $MOZCONFIG + if [[ -n ${EXTRA_ECONF} ]] ; then + IFS=\! read -a ac <<<${EXTRA_ECONF// --/\!} + for opt in "${ac[@]}"; do + mozconfig_add_options_ac "EXTRA_ECONF" --${opt#--} + done + fi + + echo + echo "==========================================================" + echo "Building ${PF} with the following configuration" + grep ^ac_add_options "${MOZCONFIG}" | while read ac opt hash reason; do + [[ -z ${hash} || ${hash} == \# ]] \ + || die "error reading mozconfig: ${ac} ${opt} ${hash} ${reason}" + printf " %-30s %s\n" "${opt}" "${reason:-mozilla.org default}" + done + echo "==========================================================" + echo + + if use valgrind; then + sed -i -e 's/--enable-optimize=-O[0-9s]/--enable-optimize="-g -O2"/' .mozconfig || die + fi + + ./mach configure || die +} + +src_compile() { + local virtx_cmd= + + if tc-ld-is-mold && use lto; then + # increase ulimit with mold+lto, bugs #892641, #907485 + if ! ulimit -n 16384 1>/dev/null 2>&1 ; then + ewarn "Unable to modify ulimits - building with mold+lto might fail due to low ulimit -n resources." + ewarn "Please see bugs #892641 & #907485." + else + ulimit -n 16384 + fi + fi + + if use pgo; then + # Reset and cleanup environment variables used by GNOME/XDG + gnome2_environment_reset + + addpredict /root + + if ! use X; then + virtx_cmd=virtwl + else + virtx_cmd=virtx + fi + fi + + if ! use X; then + local -x GDK_BACKEND=wayland + else + local -x GDK_BACKEND=x11 + fi + + ${virtx_cmd} ./mach build --verbose || die +} + +src_install() { + # xpcshell is getting called during install + pax-mark m \ + "${BUILD_DIR}"/dist/bin/xpcshell \ + "${BUILD_DIR}"/dist/bin/${PN} \ + "${BUILD_DIR}"/dist/bin/plugin-container + + DESTDIR="${D}" ./mach install || die + + # Upstream cannot ship symlink but we can (bmo#658850) + rm "${ED}${MOZILLA_FIVE_HOME}/${PN}-bin" || die + dosym ${PN} ${MOZILLA_FIVE_HOME}/${PN}-bin + + # Don't install llvm-symbolizer from sys-devel/llvm package + if [[ -f "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" ]] ; then + rm -v "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" || die + fi + + # Install policy (currently only used to disable application updates) + insinto "${MOZILLA_FIVE_HOME}/distribution" + newins "${FILESDIR}"/distribution.ini distribution.ini + newins "${FILESDIR}"/disable-auto-update.policy.json policies.json + + # Install system-wide preferences + local PREFS_DIR="${MOZILLA_FIVE_HOME}/browser/defaults/preferences" + insinto "${PREFS_DIR}" + newins "${FILESDIR}"/gentoo-default-prefs.js gentoo-prefs.js + + local GENTOO_PREFS="${ED}${PREFS_DIR}/gentoo-prefs.js" + + # Set dictionary path to use system hunspell + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set spellchecker.dictionary_path pref" + pref("spellchecker.dictionary_path", "${EPREFIX}/usr/share/myspell"); + EOF + + # Force hwaccel prefs if USE=hwaccel is enabled + if use hwaccel ; then + cat "${FILESDIR}"/gentoo-hwaccel-prefs.js-r2 \ + >>"${GENTOO_PREFS}" \ + || die "failed to add prefs to force hardware-accelerated rendering to all-gentoo.js" + + if use wayland; then + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set hwaccel wayland prefs" + pref("gfx.x11-egl.force-enabled", false); + EOF + else + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set hwaccel x11 prefs" + pref("gfx.x11-egl.force-enabled", true); + EOF + fi + + # Install the vaapitest binary on supported arches (122.0 supports all platforms, bmo#1865969) + exeinto "${MOZILLA_FIVE_HOME}" + doexe "${BUILD_DIR}"/dist/bin/vaapitest + + # Install the v4l2test on supported arches (+ arm, + riscv64 when keyworded) + if use arm64 ; then + exeinto "${MOZILLA_FIVE_HOME}" + doexe "${BUILD_DIR}"/dist/bin/v4l2test + fi + fi + + if ! use gmp-autoupdate ; then + local plugin + for plugin in "${MOZ_GMP_PLUGIN_LIST[@]}" ; do + einfo "Disabling auto-update for ${plugin} plugin ..." + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to disable autoupdate for ${plugin} media plugin" + pref("media.${plugin}.autoupdate", false); + EOF + done + fi + + # Force the graphite pref if USE=system-harfbuzz is enabled, since the pref cannot disable it + if use system-harfbuzz ; then + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set gfx.font_rendering.graphite.enabled pref" + sticky_pref("gfx.font_rendering.graphite.enabled", true); + EOF + fi + + # Install language packs + local langpacks=( $(find "${WORKDIR}/language_packs" -type f -name '*.xpi') ) + if [[ -n "${langpacks}" ]] ; then + moz_install_xpi "${MOZILLA_FIVE_HOME}/distribution/extensions" "${langpacks[@]}" + fi + + # Install geckodriver + if use geckodriver ; then + einfo "Installing geckodriver into ${ED}${MOZILLA_FIVE_HOME} ..." + pax-mark m "${BUILD_DIR}"/dist/bin/geckodriver + exeinto "${MOZILLA_FIVE_HOME}" + doexe "${BUILD_DIR}"/dist/bin/geckodriver + + dosym ${MOZILLA_FIVE_HOME}/geckodriver /usr/bin/geckodriver + fi + + # Install icons + local icon_srcdir="${S}/browser/branding/official" + local icon_symbolic_file="${FILESDIR}/icon/firefox-symbolic.svg" + + insinto /usr/share/icons/hicolor/symbolic/apps + newins "${icon_symbolic_file}" ${PN}-symbolic.svg + + local icon size + for icon in "${icon_srcdir}"/default*.png ; do + size=${icon%.png} + size=${size##*/default} + + if [[ ${size} -eq 48 ]] ; then + newicon "${icon}" ${PN}.png + fi + + newicon -s ${size} "${icon}" ${PN}.png + done + + # Install menu + local app_name="Mozilla ${MOZ_PN^}" + local desktop_file="${FILESDIR}/icon/${PN}-r3.desktop" + local desktop_filename="${PN}.desktop" + local exec_command="${PN}" + local icon="${PN}" + local use_wayland="false" + + if use wayland ; then + use_wayland="true" + fi + + cp "${desktop_file}" "${WORKDIR}/${PN}.desktop-template" || die + + sed -i \ + -e "s:@NAME@:${app_name}:" \ + -e "s:@EXEC@:${exec_command}:" \ + -e "s:@ICON@:${icon}:" \ + "${WORKDIR}/${PN}.desktop-template" \ + || die + + newmenu "${WORKDIR}/${PN}.desktop-template" "${desktop_filename}" + + rm "${WORKDIR}/${PN}.desktop-template" || die + + # Install wrapper script + [[ -f "${ED}/usr/bin/${PN}" ]] && rm "${ED}/usr/bin/${PN}" + newbin "${FILESDIR}/${PN}-r1.sh" ${PN} + + # Update wrapper + sed -i \ + -e "s:@PREFIX@:${EPREFIX}/usr:" \ + -e "s:@MOZ_FIVE_HOME@:${MOZILLA_FIVE_HOME}:" \ + -e "s:@APULSELIB_DIR@:${apulselib}:" \ + -e "s:@DEFAULT_WAYLAND@:${use_wayland}:" \ + "${ED}/usr/bin/${PN}" \ + || die + + readme.gentoo_create_doc +} + +pkg_preinst() { + xdg_pkg_preinst + + # If the apulse libs are available in MOZILLA_FIVE_HOME then apulse + # does not need to be forced into the LD_LIBRARY_PATH + if use pulseaudio && has_version ">=media-sound/apulse-0.1.12-r4" ; then + einfo "APULSE found; Generating library symlinks for sound support ..." + local lib + pushd "${ED}${MOZILLA_FIVE_HOME}" &>/dev/null || die + for lib in ../apulse/libpulse{.so{,.0},-simple.so{,.0}} ; do + # A quickpkg rolled by hand will grab symlinks as part of the package, + # so we need to avoid creating them if they already exist. + if [[ ! -L ${lib##*/} ]] ; then + ln -s "${lib}" ${lib##*/} || die + fi + done + popd &>/dev/null || die + fi +} + +pkg_postinst() { + xdg_pkg_postinst + + if ! use gmp-autoupdate ; then + elog "USE='-gmp-autoupdate' has disabled the following plugins from updating or" + elog "installing into new profiles:" + local plugin + for plugin in "${MOZ_GMP_PLUGIN_LIST[@]}" ; do + elog "\t ${plugin}" + done + elog + fi + + if use pulseaudio && has_version ">=media-sound/apulse-0.1.12-r4" ; then + elog "Apulse was detected at merge time on this system and so it will always be" + elog "used for sound. If you wish to use pulseaudio instead please unmerge" + elog "media-sound/apulse." + elog + fi + + # bug 835078 + if use hwaccel && has_version "x11-drivers/xf86-video-nouveau"; then + ewarn "You have nouveau drivers installed in your system and 'hwaccel' " + ewarn "enabled for Firefox. Nouveau / your GPU might not support the " + ewarn "required EGL, so either disable 'hwaccel' or try the workaround " + ewarn "explained in https://bugs.gentoo.org/835078#c5 if Firefox crashes." + fi + + readme.gentoo_print_elog + + optfeature_header "Optional programs for extra features:" + optfeature "desktop notifications" x11-libs/libnotify + optfeature "fallback mouse cursor theme e.g. on WMs" gnome-base/gsettings-desktop-schemas + optfeature "screencasting with pipewire" sys-apps/xdg-desktop-portal + if use hwaccel && has_version "x11-drivers/nvidia-drivers"; then + optfeature "hardware acceleration with NVIDIA cards" media-libs/nvidia-vaapi-driver + fi + + if ! has_version "sys-libs/glibc"; then + elog + elog "glibc not found! You won't be able to play DRM content." + elog "See Gentoo bug #910309 or upstream bug #1843683." + elog + fi +} |