diff options
author | Joonas Niilola <juippis@gentoo.org> | 2024-07-24 13:27:12 +0300 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2024-07-24 13:33:20 +0300 |
commit | a224ee1662c8497c8c603cbec83587048b429e8e (patch) | |
tree | b8430595755c6ad3d5acfd5d4a575741a468f575 /www-client | |
parent | dev-util/lockrun: Stabilize 20240415 x86, #936582 (diff) | |
download | gentoo-a224ee1662c8497c8c603cbec83587048b429e8e.tar.gz gentoo-a224ee1662c8497c8c603cbec83587048b429e8e.tar.bz2 gentoo-a224ee1662c8497c8c603cbec83587048b429e8e.zip |
www-client/firefox: add 128.0.2
- bring back the REQUIRED_USE for "wayland? ( dbus )". Again, getting
Firefox's dependencies installed without dbus (especially when +wayland is
specified) requires custom patching to GTK and its deps, and by that nature
is very unsupported already. I can't test on a dbusless system, but am
willing to include such a patch when provided (see bgo#860033).
Closes: https://bugs.gentoo.org/936583
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-128.0.2.ebuild | 1403 |
2 files changed, 1504 insertions, 0 deletions
diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest index 930e50156514..f1e655ca140a 100644 --- a/www-client/firefox/Manifest +++ b/www-client/firefox/Manifest @@ -200,4 +200,105 @@ DIST firefox-128.0-vi.xpi 653927 BLAKE2B f2f804cb08bc000c1c1975c5b641b068a8677f7 DIST firefox-128.0-xh.xpi 417021 BLAKE2B 50961db41b3ea9a1cac9f5ca60ff7c69c262b7f7f416c63393ded69b3916cb57fa1d2ae2fb6cba03ba8d30857bc2c596c6d6c2d88f7b56cbad49f3ef353a70af SHA512 fdf7e9bb3b76842c4c135cf2d82ccd2dd744967fdb7d9202474e69e1c6f4e955d0ee234da2f63ebc706fa22a7de363655477b406e9cd9524e33a7907f680c9e1 DIST firefox-128.0-zh-CN.xpi 654723 BLAKE2B 55a9f29335f9d75f71b01aef5b13afd7bc4d74d334a85d97c89212d8e127c9732f494afa39cedcab6efecf59997c967e593478ffd48e6dfb25e2aa6ecb0fcf58 SHA512 a9f11798976e69b2faf44dfd2bcbd1294b0c771f9673ba168c2e0a351a1df346c3c74670fae9ed729cc37f1dc4c19df92b20e977da4d60a8a016383ff9192d32 DIST firefox-128.0-zh-TW.xpi 656867 BLAKE2B a0a83d940a8a78a8436f5b708d4443ed448d0b676bd6c52901d58c557d28c4cd17c54bbfdc8fbed8cd5b8f522da646ab80927bcbf516ac572db0c1a53472ee07 SHA512 1617aa2937547da420fa95c40cef125898967912c2d1030488ffb4ec953432df75cacd2af7a6907684491ee3f52e52b1d0e855759a141ee2cf605714d0e80a0f +DIST firefox-128.0.2-ach.xpi 464065 BLAKE2B 349d24f095e397ac55948dc98a969c2f4618a9ff1bb60f08dad16a533e61281f46514e41fabde8fc97419b5582b6ee50e533f79545ec5aa6466a830d621a83a8 SHA512 e6239680cdcefa500b368975e57c169f737d682afb3b45f6a2ecab0922a5b9165efa92807a5f60205c966cc442dbe75747fefd616dae94c491483eacf7fc8f0e +DIST firefox-128.0.2-af.xpi 417512 BLAKE2B 86e5910783c1a5be881a4785762e83f2d3299268cfbb44caba2e44d2e1bf44f305e488419370537f37da5746d57c0dad0e0aa22486fa1a6455a9c4487bfb8bdc SHA512 abc1c92a9f25f269b2fc029d27e735334d3eb2de055537b853a2a2e0e1c733f631c7e35b65ce1d17f50d05d8568c2f3f01d072b899786d0a578fa9bf4e42c9aa +DIST firefox-128.0.2-an.xpi 505879 BLAKE2B 794d016a1f760d2fb7c0542a0fb775f605fd80748a82b314d855bf34a550a540d54110a0c2b5295888bc6894cf55b6734da4de9452b39ab9489d1a1023ca0fe0 SHA512 4e2e94383ec50cf6c906ea16de82023a141b1f31cfcb64dc34dfb2e9a590e3f1ce7c58f6cf1e6c6d0492ef128408814a63cd4bd7749729532258f81e0e761a62 +DIST firefox-128.0.2-ar.xpi 610860 BLAKE2B 1aa51224626452fc624529f6a8963019a23876a787ecbe384a6a2fd5f555a591892ce8ddbff77b6e89105c069ace0f6f0cb59b80f6fb80a21d64503e51db2c6c SHA512 d9712a55156dd8a339c80c12caaee4a54afc2781b4c1116d535043207907f6df1f6d6f2c108c1a59ca4d83a22fcaf1f3de6a9d964a5c3fb0877ddc7d17e19fb8 +DIST firefox-128.0.2-ast.xpi 496338 BLAKE2B 96d191d093e1761ac4b50c2b9ae8866e0675e38955743b2dd01a28a6c4efae3c739e3248f04c1c98bbeba2bca130424f9aa57ebd78047711a0b185db290794c4 SHA512 3076fd83fc53ae25bc9d8bf17850dc49fe2ada16714ed7994508bb0f47f228cfe2da2a7ae630739ad732494fd8f1b1104c511d90bd5c6437cf110d3f0761f4bc +DIST firefox-128.0.2-az.xpi 490774 BLAKE2B 1651806965c2cd9d89fc0fc244340af518e4c13522fa68eb6e9cc3451d4d5af6f09e3f671f4ca77d13f39991aa8ab2a1143de5a5875d1b274868f645aa8af505 SHA512 dee60a155fee8705b59e44929000d77dbbe982fd3c0a32b8ebc96291aa5e0ec8f493afa9e271b05e5e0671bd242b1015ba56ec4ceb1fa28244fabe0c764e4ba7 +DIST firefox-128.0.2-be.xpi 714341 BLAKE2B a9d26c39a7d057f2acada2505749ae10087aa7ccfbb436e8cccdb1b9ac5e04e9bf12e41a63ae26e97ea52db93ea236e924e2608be5bd14e5949095c261272eb7 SHA512 3df0bc179624ec750d6f369b18c3a6c84790097c51b4088b33b61d4f1c38a2a38c50310bcf996c6b46aa7d3c152fc2b389af3516cb801690eb44ebba43609233 +DIST firefox-128.0.2-bg.xpi 606568 BLAKE2B ecc4edeb81ba05e8cc60198731eeeafe2c3d5a23a77a58952c9f6f362f719407b4b417baa56100b4b857bb8f70972d5d85b94f38308c60fd8f2d3cb6993ae93d SHA512 7093adee722cf1bae7e3ab465165baa31b68f8bcac4413d09e4dc4784cefb7c6082c02b27fd6c27840aad6b84b39c3e1bb670061ed981406cfe810359ed34815 +DIST firefox-128.0.2-bn.xpi 581528 BLAKE2B e5e878f4fac2f5c27f401b4af75b294881d852ff1663dca8884ef1a102a2430cfacfa694d9da80c56f0689d95be6247e073f0754bd47022c29b9b787aaf4f2cf SHA512 d69376d91bb7a32d41c5ba8450a98763791028a9e4764e6433275420b5cda026f91f9b2db586d58e4aae1cda3ff42edfe4ab09530f0afffdce6221c8a8ad3329 +DIST firefox-128.0.2-br.xpi 588926 BLAKE2B 281eb80a3ef1bd30699bdf6f8f747bd237de7969df1633b127fdafab1bb6f1586199d4eec23331dee0a516e10da8d62d1b4f7c9040f7f49541f4ac318eab35df SHA512 6221cc674911fcff2f2f670ff1e944ffcf4377e0c18f10d2800c003a4ba74d873301a93342a328bd779f16b34f7b0dfc8828b02e73ce3557d605bdb45f0d4029 +DIST firefox-128.0.2-bs.xpi 501979 BLAKE2B 031d137aa7ad709dd84ebbe6b11f51a6570d167cfd19f0103628e08eee8e8617347cad4e778d449a84d582ebb451739d707fd8022a89c03b9b76efb43557bdb2 SHA512 058a493fa84044476b8e346c3143a5ed4f13446976fd88d62d2c6e94bc5669ade231bfe6f4a373dafc5a2f18f3ac80ed3619ab6eaea98cd77c27da6de1644021 +DIST firefox-128.0.2-ca-valencia.xpi 546186 BLAKE2B dcabdef261b83ab2bc5c2c2f829df9ac5c43673f0969bd260dfb540978d4c78947ce0331f2a2a32d711a5d0f8999f8d2289cb0cf4babeba91cc04725f6743a4d SHA512 c8f2191c7ea70c981b366b695759a49e4681cb66fa634ab9b056d19d00dfb2e79e333c0f56ed999d86a37143d0c6ea6e937d3a1d82785e02c2dc70b523b09f06 +DIST firefox-128.0.2-ca.xpi 597102 BLAKE2B faa79a0ed1d8b32d287b226d559074f1180b051dcb6aa854c3a0e12ecafe4caa1f156997046175b998108480d11bca423be102cd948d0771e2ee1bddc944c480 SHA512 4a99cd5eff3d7efb13030864b094dcb3a120e14e446bc76e83b2b5bbb8ae1f2868441ac739080819bfbb99342992eada898f0023c653d6cb67e8ecda052e287c +DIST firefox-128.0.2-cak.xpi 593078 BLAKE2B 3cef18facd21d8865faaf8ccd039ca88577edea830c6784ba9822100b01909d2bd289ef8c14105ef9ad519bb3d3e60e491b23b288e3fee7b19ab4a62d1896727 SHA512 d4b0f931d0a58368438ac78dba2fae9e5ae443e578a37f79fdab21c3fd1b175ec8c88d840a9a097c9a170337bdde12ce8ff363950d71e199932858bd06cc2a46 +DIST firefox-128.0.2-cs.xpi 658957 BLAKE2B 0f2195c414969b92e116176fa14f4feb158f25a3234dd4ba620eace7446a93c7864a9e27782937a1069a85107a20ac05493fe3a5edf0aaf8a2240f812fae2042 SHA512 ba906039fdb83e8391a4a63be3954683a987f141b69847b0971fae78ddcb9efb198652bd42453aedaf9e1bce3fc9fa7ec32f139423e787ac424acc49f50e7652 +DIST firefox-128.0.2-cy.xpi 622915 BLAKE2B 31a3bc4c23f33da2b87ef84601b47eb2eab87a5e15bd380c78cf0c5320c396bd11922b4e2d2de3bfe0c19d690a3dfc48c0c03ab21b37c6c9d8bf6f25bb20421d SHA512 0df64819a61cb7250a67ae15736bb6907f26f2504149574fc3ac7f1232b93d215e1c05c5c606aee74ac1213e4b3c909ed9f1622f20be462237830045ff63779e +DIST firefox-128.0.2-da.xpi 610833 BLAKE2B 092a8943c03368976271a70b60782442b4ec9b049e7219b79eb4ffb954dad690dce8a58dda1b8702d30f869487c768413db13287d74ecaed8520eeb53f7ac95f SHA512 d7f311a061cd54a21c7f1cba60603495c3f1d636b25fb3e1097a2976eaa4b9ef7e27793ab668258d6027cb91cb14f2d1fda633791ff22a52ea7146cfe958361a +DIST firefox-128.0.2-de.xpi 632471 BLAKE2B 76578b6e492cb501fb93f23a858c6629596039a44becd341f1c098e1f7fb3b5575f0c6b7015b560aff08950a14528d892c6a2dedcfd33f0eb0b538c810ed0c12 SHA512 db9fa94fb7ac21b37a3d48cfef08d644b2083c6c12aef9ab3cd239e44597776e54e2163285f72efc4839e2d5d16ebff5579286f7d1ece0efac7275fef59f3671 +DIST firefox-128.0.2-dsb.xpi 650810 BLAKE2B 5b713009453c2f7ebee4b836bfbb1f028fc6a5116b55303588b4a78d41377cf48f3c62839d8e762f3e79ec29656beeaade3b8779361ddbb0813b47b9299223e5 SHA512 f91de0fe451d335eddc58e2197165f2a9f31db00a2f62d6475d6bff1bf20442a60dda90b3a063d14a9bb470fdf694300bfc0706fc485d24aed4b31a78a93c046 +DIST firefox-128.0.2-el.xpi 733063 BLAKE2B 3cb27dc577c549fe903020d17791e7c3da57a8276869668633fe510c69983ffa9faa02ce15350c1997fbfa406500794df49120bfe77d1264c6040b4f790a4ec4 SHA512 2f8469e0b34f9dfe13e19721cf93f96ee6450c7795be7c16f9960d400a3d2eefc7e9a92ad5874e28c71dd3df20f69236a24c6f542f8bf9cc913d6c8aabfdcf32 +DIST firefox-128.0.2-en-CA.xpi 584668 BLAKE2B 0c12595a419071a76a061a9dec0561788dd02b5488ac3064cceff3d1bc6e51f4c2f5b1c7f7a9e1a1b1fa17011134462d253f21a71e3c1eadd189a938309d4abf SHA512 46d428f0a4eddbd4d1b9b056231bf3956d22c870a9d74e11de27be267781751eb68b7d3ae7fc4660bbc30c6c827d25895d9a2e71f93538ae9586359e5bc1e1e0 +DIST firefox-128.0.2-en-GB.xpi 585264 BLAKE2B e1aa9479f2c43be57e833a33813916fa62b3f6a5f634121108458e8dd3d125b4935ee363c457053aa1d7c75112846994f87cc45147ef9fecd6a281264ecb19ad SHA512 51475fba419dd4b0fe54a6a7594a80fc4ad432b90280e7c903851912ff7237943aecb849d07f38979b8e8b1218bbee545cdfdd861c36efc51ca2b07c298d2a9e +DIST firefox-128.0.2-eo.xpi 613687 BLAKE2B 5769137f3ed2b0249ad7d89a8d7a7fc15cc91eb010bb1626246b41ec61c0f5f0368fd85867c82584c299665c33504689c221c4383220496243242ae9fdb9b657 SHA512 e7307f26b1f829ad4e433808c5dc846498d0e0b14ec12d756d13e55b8e782942d21ac068a44633017094f0ea97e85dcaf6457b3e57e1b9d84d72a366c21cbdb4 +DIST firefox-128.0.2-es-AR.xpi 628031 BLAKE2B 578b50a0bbe88fa3db4893cfb8e02fdb6e48a575f8154a0a613194dd36732d1287706a87a62ec54bd4ad4d54663f1fcee4d6063c405cc07b88b1af4b9d880539 SHA512 cd04c1a68153f42351cf0cf9d3c841ad3ff3831534f2eca72bcc94fa9096a4ea101ce68e11b3a221868e7e2c3e3082757bb8ebe273f82b13f8665c6c1bba605d +DIST firefox-128.0.2-es-CL.xpi 627313 BLAKE2B 52fabd385ccc7048e3177bbd991ba01a710b1a87c273378d1b37ee7127aed180af2884d5b89f7a0e2f7a009fffc243c4b5a7d52f2172a59327f31090632cba68 SHA512 10af849dbcb5e9f3fe437a8abc0b81d8b6c647b4ffd7430af7a67d18b080d2e60f511243b911f7ba9cc5c91b7da379eae17dcefd1e0ff821ef1e59eab8c53893 +DIST firefox-128.0.2-es-ES.xpi 621082 BLAKE2B 8e4af7a383f25b6853ad8b50a863424e60f6b69d2640c84e397fbb9b80221bb013c86152ac2d8a27db6820c0c4db1b5e5165ae92dc99de299bfc504b5da6eada SHA512 c8eb33f04fdf8dbe9bba9311bee4996507303d15d0d5a4f28e8b1b3165b2c636a028f90a8c0c06c23457a4418f858ceda489c5ddd2e1beaa9b4c2962c5a4dac4 +DIST firefox-128.0.2-es-MX.xpi 604994 BLAKE2B cb04628e65ba68d2392fcdd6e903842e9e736d9f6aef805ff9c178b99b0f603c693c6f909b9e62a11fbabb38c9f9d4897ccf6de4b251dae7e21f74ef947e2161 SHA512 cb479b7ebb71421e5187d149d2aa64d736aeae379966e5c64c3aa83832e61a802075a4dbe5a8f461c5a37ca02fbcb4f0e796db3613d7421f5f51ac82d402e74f +DIST firefox-128.0.2-et.xpi 539538 BLAKE2B 915009a33dcbd39b5ad32ae04cbc7148d940e08047a3c80ef096ce91204926152874754e0f7109de6a633b69a10149fc2fa87441985bc8d3322f325c40b320f5 SHA512 8f9b31b95ca046fbf8dd9c4585ead7425429c79372aad0764d54cdcc46a1ad6f80748a1a49566974c18dab7d034a8b59d426c652617eb48464b7ad4b3afc1396 +DIST firefox-128.0.2-eu.xpi 599320 BLAKE2B 58fbcc61dc81d02a9ada1100b719aea4bdbe4d6094b4f0d662b0226364176cef04dcdcbf9a8f851e4e11f4e01e08ccc80e49912c670289e3fea981ff65d798ea SHA512 43bf2f2b5510d272ac010b19748c9c3586f31e907f732f71ebd649ba4668ff8f164d1670110d78029d81d7b5ed5b196c6eec2a6832a3c07d08ad7dc888a1ad3a +DIST firefox-128.0.2-fa.xpi 590023 BLAKE2B 39eb855271b27d91f346708e867f8cc36ce9a9e9d48cfe7919071cb82519a8ad3021e6d0d87a844af3677c8e10aeeae47e5684a4b61353f21b859d783a49bbd6 SHA512 5363d6eac7550d5b076dbab33655ede870571416fdc7397a4f7c9fe5ddc8f066e016cc25b826c3de1afc591c9333ed9b33d569dcb7557247548e88483e776da1 +DIST firefox-128.0.2-ff.xpi 476062 BLAKE2B 2e4bda58102236daa206375ca4fe26982713558c970fb5ecdcec7c8526c2e3c8c0d1aba4230739cbc69c340858c85c2dcdae767e08c597b9f3332acca26caefa SHA512 415bee47b097aceb7732b9c45e4e3987936759a921a9e44028ab2a488cb30b933485c1c063a975f33f84dd1eeab3ebd68a2f4a00280e8bc6243e881d06a15591 +DIST firefox-128.0.2-fi.xpi 606451 BLAKE2B ddc25078fe0c0b7556a34a0a03b4fa8798c0cb547fdb6334f8908a3b4b7f4e3a3d9e1e51613e6b8f26f3de2d66fa3a64d42325209da1164caae98538c824b107 SHA512 f895d8d2cf706405a74b51bcc7a786bd480a5ef9f940485df8c957fb5bb3ee3dc96ccf761e9f3781366fcefed13b987c21fc87d55a823e2a890df7b6961c5a45 +DIST firefox-128.0.2-fr.xpi 640304 BLAKE2B 3c72b070b3f2f1fd7d747ada67a10183ea0105f3beb6e4b736d28e40f5004920019821242c7d0e9ead47dc9aa7c43f2bb5165c35f2fa52d6a100cf8763f2da03 SHA512 8b12f989dd39d9d428b2c44d29bb3637421a0a6a5ab9a94f160f463a037e6213809eb3cdcdef77f2da027c7a1c9bb9e0050586f9762d354a6b6050d62c0e699b +DIST firefox-128.0.2-fur.xpi 633987 BLAKE2B fe1027adb8fcd2ed34b3b9a6a9815d56d30e98b81e3695609270b5feb92f78c645d94938f2e883cfb8d81186b7b58c2e96c8d6ab373819494639384860c47ea2 SHA512 d9447a367427ea4c12a4feeed9864d1f524a34d4249117bcef03335cdd8786e6135da3da10fb2f356d08a9af7aa3ea083dd1dec078ebe909cd17c12e56ac38b5 +DIST firefox-128.0.2-fy-NL.xpi 623726 BLAKE2B fa563ffa8f7020a9a110e3c42d0d61a2909d203dac7db8cbb77d023afebd0cfce60852c7944430b1c211b2154b584906c1c1ada40008770e239544cee6e70ee3 SHA512 6fac22c532af4c153afe976edf1c2a2875c41899392bef733dc4b4f5ee48cc2a801b07d09554d7e642a7bb6160505dd8ec10cf85b1a728d835fa0067184cb8ff +DIST firefox-128.0.2-ga-IE.xpi 470997 BLAKE2B 48913d4249ee7ab061c43f512ee57d52c683e003e5843afc4a583d1dbb38928d61f38d9ccc35a7b281f643d3e1596b485cbc6a2f85b9c2853814d3ef0adc7f82 SHA512 f3b306eec6e638903a874cb449f86cf948535d63817c1d9693241a690c9399d3c750594e840f241c12ce735e5262f2d06ce9230b51f1bb7b43db8515f91559e8 +DIST firefox-128.0.2-gd.xpi 596593 BLAKE2B 6892fcc3c40bf1d3865c535fc0c4ccd0d0315a3b02711f1f28c165475d6c2fa2922449114a87c5dbd723b6f79a6a9c234aead68353d9c53d6bc742919435579a SHA512 8a5cf3a81ef42efad6a5dc56abdf67e77ff0e53f07c869350553bc4295aa1b77610d8cbfd2af99066d6f6e69f69569c02bbf8128fafdb580bde1f6d37817f309 +DIST firefox-128.0.2-gl.xpi 604090 BLAKE2B 62edf7a596e47db12a0c322106b1be816e77928502f570700fe466a135eb61c677775f8fef2d425950c27a9e9f1d217eddf5778ab91e6b7e55cca5d097343615 SHA512 c6958755786fbff65cd9cb0a8351557eaddf1c564a10b60df2c59ad114d718af53a365d02fd854ce1aaa22198c2c074ff254c4c86f3cde0270643fefd9d928d4 +DIST firefox-128.0.2-gn.xpi 637435 BLAKE2B c5339a5ed137ea472a72a19d91f16b708eadd4c88dedd1d5a12a698e4f88483d00b22adbdc000d6b3cb5c1ade596493a196735f5957e69eac701c2ced9bcc2b5 SHA512 99e96cf9fa7fe369dc1351b15f655afae0787be18bdb8a1ed6290b19378fc85a468f2c7e5b06e13d64e04080673a68ba85dfe5c51ed5a58e5816153214048cf8 +DIST firefox-128.0.2-gu-IN.xpi 527341 BLAKE2B ed1d4cc92a6db5b24f532eabc9403960e05ace3ba9b86b3687bbc8b3d55a206b3c9005cf8fba944ab516271d06a0c70ddcd849a45143cf6e5fe0ec5f394d32ef SHA512 31f064825d57657838341a6ad05b1afb0c79a8a69aced89e66860001317d8316b036e3e2e12707982b0594fae2d35c98aa6efda5e772085d6ff4e1214b232b13 +DIST firefox-128.0.2-he.xpi 631600 BLAKE2B 310d67a40758499aea74e6e86e24907dc80193074479ddf072e11f0482f414b0d4d4d4cc3fd6ca6e4da3781bcf9cf9308daf98c22e17512232884458b3ee1ce8 SHA512 04e37e60a397747cd5d8c4e58b63ab23e67dee3d909c124f140ffc8ef162d19adc4f944413217060954e7628e7e45b101e885f6a94fb7cb1408772c009fbf229 +DIST firefox-128.0.2-hi-IN.xpi 566764 BLAKE2B 94ca449197ebba18451fa44f291eb913dbb3511d3a1bb3d1c3e29413de5df1b608eb815eea89c555b2d02f538e56d8be85d2a2d79852e68bb1943673b6ecf19f SHA512 b6ed62657093146de51cbb3d08e6aaa1d501b848db4e516af8a08c3cf8484b5c64fa98074d5d1492d5e832fc4f4448650b06d9aa28d93280a5b0fce20465a3cf +DIST firefox-128.0.2-hr.xpi 559798 BLAKE2B 8c2bca1901ac5f56878c4b8f0d985ff7e3a72c7a6e4b29943aa0e5833042b25747493977878469c4011fac27ea2daf051a4f3568ae9d6f5f0829a357f23adaa2 SHA512 00e3f4816d7940e7b7e2621c86b43ce3c83eab28fe98b522a5b76a9f3a89a9d0f89752de0145c57cb2171736cc780bebfcf8dcda74ceb50689fce19d11b6d5bd +DIST firefox-128.0.2-hsb.xpi 646891 BLAKE2B 6c1be89dff346abb0005121f6e4722aabb1a9db7f053fc0c2c63dcdf45fb6e21b298e14f096a4d825903cca059082b13c151465212fe4af11397bc95cb31486c SHA512 e87190f8ac18de6b01bbe2af127d3d5b9af0969b4845aa54a9c3ab426bd7478dd0dfb6229edcb2441a0e640616ac90bf4e9dc47aa8c39aa0ba52d0aaeb499c22 +DIST firefox-128.0.2-hu.xpi 649181 BLAKE2B cbc8247eb114bb91dd03b79ffb5d6c03b00561d639252b3a8545ad02b6bd2a88226fffeb6bfc0d7f3ea75ad9713a2719f8214fbe209204788b3970bbd0431cc3 SHA512 a16b712b6a37bea0fcddaa43c5ac93aa48cf1debd9a7405219b124d7ab8543e21c05553fe302fd406d6ffd1d1a81b60233d1bc6d0dcbfe51c20e401b6285ace7 +DIST firefox-128.0.2-hy-AM.xpi 651607 BLAKE2B 527974617c3783c1ab88e7aeb4af91cdb846bff11a2e50a5466c8a58bdbeb038fd546abbbdaa9abf2079f802e4930f9402f12dcf6fb827fa863cb4a8b7be6203 SHA512 2b24fb827bfedf76fbc4143b43bf96a858b50929d75ad68700269a8616748ed685be40aad55dcdf8186aff1c0a9de4af8052e05398525afc23210a1932f515e2 +DIST firefox-128.0.2-ia.xpi 611220 BLAKE2B 6b612a3be1206462a629c7ea61ec1d421acf15266891ef849a912f654fec4c9518c5301aae51a69487cdc7bbc0a4132f3f2448842995b8bfb514c2d441c9606d SHA512 fb40b4cddafb528995abd07bc103a60ab5aa0a59169c80b360cc6106c1a412b6b8d68071225b31ed90e2ec5e53b0be37968d5f296df5aa53de280fc115d2d5c5 +DIST firefox-128.0.2-id.xpi 580204 BLAKE2B 4801e5fe780e500c83f38bed8ccb593d40c9f4a864f92ea9cd7d90045b67d52cbb5cbce355fb25040ca12f3f81e11652d0046fc58d82d64af702db2d6c9e17fa SHA512 986a53e5c7c01a509281799519a4b48645f9099b5815ce8dcda4455d66c1a7cff32109f1b55d941721d9c5ec3341a5fe6980629990bf70bf2fdc32faffa5cb81 +DIST firefox-128.0.2-is.xpi 616484 BLAKE2B 2904bd93cf646757ae4abfffd07afab164b768f5bae69635178c662d9233e772bae14022156daba50520b7ba3a3705ffb0f59172c25d393b77057bcc57efc81e SHA512 a54ab40a71cdb45cc0998f6f9a3e04cec6873fe1c74c181fa3f8e6a231a4a38bc80e17e83ee58c82234471d870194d9684a7d9cf59ef087165936ee81c5d6305 +DIST firefox-128.0.2-it.xpi 567330 BLAKE2B 41f09c66d93f8783c58da2b283ddb405c9c1be28fa3cf5bfca3ae509ed1848e40a7133b2edb61e6c766c11a6d7a470f8d9867512ce6835c6ae708a2caae81cac SHA512 04e9c4e9e766f6ad3ce1054f1785f3192486decd3ef3a5301881cac5d6178c31b381f376e50acd6381b3bc4ef3250817e78635ab26cf93e279687ab2264929c0 +DIST firefox-128.0.2-ja.xpi 675622 BLAKE2B bdb276b89d8106ddb6585fadd712eb859d51f9088898dbb4c72188b2b8cdc00e10bedf2f1a79dc103296b1b7009807563e210ac5578b6f428f8eb015ffcd89ad SHA512 efc83ef95596f3f0345ba437b202060d787b5daffeee3534e9ad2275bdc81be500447ec1e19191e844634a4febd0245e3c41043e166dda3153179319c4483443 +DIST firefox-128.0.2-ka.xpi 660710 BLAKE2B 528d8d5824b670563756e3f38ad6db65799eef79acf3dae2c43ac983eaf802f9ffe8ebfa0c6d0e822250339133137c701e1429cd018498ce777565d8e1a21a2f SHA512 5bed5e1a1804263e16d69be1d826f842336e90831000e9d2a4cdc6c96712cd8b339d76f496db6964074f4c2a784c371693c195a13345f5aa88bc6105aecbdb03 +DIST firefox-128.0.2-kab.xpi 608729 BLAKE2B c1a529a32a7b9033b1294d4a6f24ca165573c7772b20387bc7f2aa6563f7909381d6165a780bd16498641a73636fef15aaa23231a5e0c13676900ae3236ccd1f SHA512 b4fc553d905cb56634bace27b49da90c6511370f12730f11e6ce3ff0978485b567d81099b9a7d1edb4b8bdd0a538633be06eefd48fda4a4f1aedae1e4f973090 +DIST firefox-128.0.2-kk.xpi 707815 BLAKE2B 75947d00bb89d7cc2ae58fd0b2012ee785857e50d77eb870833f0c156b5853a028d3fc54d679bb40892ba6d30e29b220fe70c45e74e9c5af6e50eddd6bea3ec9 SHA512 009bce52f8eb910576648fb97414ae6395c00fb21da824f3ae7ebfa263302d019cb53fb932f1b57c064ee5fa23014103dbdbc29abf504c89577c06f6cd90d0e7 +DIST firefox-128.0.2-km.xpi 525877 BLAKE2B 5da9cf8206fb1fcd59af1bb111aa057468af076362d0b6267f97ae8af2a10b7d6f8013fc4940be52671083bd54af891719982fe67c5b3d1d5c8256d2ba177de2 SHA512 6fe1fcc9acdf3db41be45fbae10eb92f2f794f58ec943d75cb60d097655576c440a21c9fa58371f0b14ba139ee868cd20742f3d4edc9aca39d31fb3aeb1d02c0 +DIST firefox-128.0.2-kn.xpi 491244 BLAKE2B 30676e53fd659fc3d30d9a17c2c23fe9bd95283869c017366fe58259c1d5cbbfd6fb9fa6bbd44bca16ec3e86ba3f86f9b1c5201762821f07e7c09ada123d1430 SHA512 52919a3884b09adde09440221f5e56de3dc1a83d9dc9143706c840bd0e029ed204a37d5d872e249699300c6e3b1eb08cecb8e6a7ad9763f7d75d0c86d59dbbe0 +DIST firefox-128.0.2-ko.xpi 661598 BLAKE2B de9cc7387300632c453a0ee1eebb73c179cb1158ab03935234e6b3052c8acd3c77115d46fcdefc8aee40602ae4a27ebf30993f3c4f3011c0e74f35b9982b8d36 SHA512 b02da8a1cd4cb1a6602212601adb5ce7d360e48ae7a1824baf6e9e8086cbb60b708cd478b68fdd2239f16985596b61e2ec2685f1a9e3c426b0164483d827335e +DIST firefox-128.0.2-lij.xpi 484085 BLAKE2B 6f4bfb7c98cbfd65121744838c1324e5a54fcf9a57202a2016797da8f505e4bbbf13402e7eb70ecd86ad08fe5d8b8bb08f4762d770f94905cbe88cc8e583d23b SHA512 7cf51354a54c4b751c2330032d4cd41305930beb207b85fa67978f3ed766ecdbb5867586902a3476f455e28f32fa5a2b90874c2eedf4a83126b97c175b81e85b +DIST firefox-128.0.2-lt.xpi 572686 BLAKE2B e88d17b536dba7880d69768d5125a02b233d0b3e3d753bc928dce16f231635fe54e614b2ef00563789229aaeeeed9594b5aa39e6eac5f7d4a63208812350038b SHA512 8a8145a208de907ecb1b627f10c926394deabc7151cd468879ec46676c894d3df569da261a44d8d96b8309b9c245cc334f919d3d6ef7b47a7faea4ab5ea61f9f +DIST firefox-128.0.2-lv.xpi 574392 BLAKE2B facabca3ca3bedfb210ab1392077166be0d780877c8bb8be7a32480a332a16a8ae22d8dd4111e48d240852c517fd00f08825df248eb262190927f9e4d3999a16 SHA512 f81021dcfd67ddfe37dce0a582f73d9295a7cb490221ba26d35ea399baf8c6d480e7a2bfb18795e8d039f859c9741ad6f5e5e3ba72ae56b3bb4cb2131ff7e961 +DIST firefox-128.0.2-mk.xpi 493863 BLAKE2B 8ea33f0580fb0c851c5de575f361f81f72591e77797b93595d1ba89f7e58e783b52206629e7230b5b646e972149bc3c0e140b6d405993f53681e5dfd61ba4dbe SHA512 41c7276fc5d2ae80a524c5f978508861ce4f3b0737f2e499cdab84872c52227e4d441a01c02bd9ed9b39df0de4cb3f6e06eb6d979af32b1d401ee93094d36725 +DIST firefox-128.0.2-mr.xpi 532101 BLAKE2B acde52413e8f1875cdff74e856523f111b694a732e3afa67786089760e844c073605ff8270d8c5f2cf59a7041b89a08667adde34f9f40ba664fa8db1e8bdd2bc SHA512 308d29dff1693234ad8ece14b18c55480c9d44184598a42922c45021fc6e867302cf173fa70282ff96863480a0de7142e68b314068687696cb1ec1ff11983827 +DIST firefox-128.0.2-ms.xpi 449721 BLAKE2B e25ac432ac436feb099c2adc798f36a7185b2fce85193009ec9294caff7b1994e837376a17244a17b4c6f4851c74c69d5afa4c6eb22596003604d961cde68195 SHA512 f6b0e50cb9502740e7f4c9b48493d2779fe3763aa6cc6db17b261a00d02e6c77e65e25f721e93c4f7b6817336a6c722b051ced4fb6bc43eae3ac39ab55859f92 +DIST firefox-128.0.2-my.xpi 518623 BLAKE2B 80ca715805ea34175b3bac818204f1cf498b18440b1c130e3465378b4c8ac269df338e3c5afa122e02213234c9c89aa26934cd23f285e916c7d5f486c394c878 SHA512 cdb1bda28d668fbf71e0eba0cdf790d24a992be6980299e178f13fabd9ebb0a5790a3c671e6110334710b822d6443586b9d18bdfaad14533f9d8349719640d4b +DIST firefox-128.0.2-nb-NO.xpi 607047 BLAKE2B a509ecbd615177fc0addf99fcc996457b7bab0ed5dc4fb040e5c3ebab2a13fddcd5d11c21ec1695d61a5dada791d4fc124b6fd7f4e4d65b92024c1290090e7d6 SHA512 6980f7cee58c2540cc2e8e05d466faead54d6fa3e14f1f5ce9006210382ef3c372d511d2085df95d099040491407db1490470f008900fdf26c73df6601ea3281 +DIST firefox-128.0.2-ne-NP.xpi 510956 BLAKE2B 90da5cafa23390abce26cc0595ea71894380795b63109813f9bec15d3e16bd7f84d4153619f119dd2496a6eae0d8dbef932a2290cbf448b29e94e6c92f415d2b SHA512 6e9aafd2ce686c190a49defda15980453f3cb3489e67de51ce82254e8dca1506cb2d2e818af4ee4abfd099078c1cc7321bb4a6674568c6724bd8fa219b699ee8 +DIST firefox-128.0.2-nl.xpi 617403 BLAKE2B edc95a7efd427c0811e05f373bfc66697851c096989344e6421ffeaf95d3911707001bc9ffa90b5a74b61dc6cf7951ee90474a3d1229f000d2fde016b7bdeb74 SHA512 09db011d2c7490c5f9bc48aad95459b3e1811c30cb284e0ead51892aa80bb6d7108f7cd306746fdc6a5cc171573ac2f3e1802fe33c3c8eff892f56a13b5ecf88 +DIST firefox-128.0.2-nn-NO.xpi 610259 BLAKE2B 919df0cdc8c19db56b6e835de30a450419fcc7f3bd987020e01cd1c9cdf5c4efb4f963ab85544c23bd284d573106b8ff239c7dfadfaffed018662a4ffa6f85bd SHA512 ba09369673f7e530ae086d7243d6601924267bbf701b804ee5760d9aac2c6fbdc5a74236c920ca732700f54eac774d29b4766e47b62dedef4b17ee984677fca0 +DIST firefox-128.0.2-oc.xpi 612805 BLAKE2B c62f420a96f9d1f53e2bb18db5fb9f63cc5e21d33d3378ae8e557a8f650cb828e1b98bc1c462e9406b3a172ba187c50253427ce4b46ad3579c879c3d0430bd53 SHA512 dc11245f4eaa78987b7c6a90365c99d30891c693d93bb5e34e9f691c9c7be4858068fd164a75b0b02f8697f9675043a0a308e35816eede942dcb89b85c3a78bf +DIST firefox-128.0.2-pa-IN.xpi 692030 BLAKE2B 4449afe59aa25e6e77cddda6e2179d9470407790d015b89a7f5322e5482c45edbc81fa92210bee1857fa3f9344fe34c2dd966b0db925f058b69cb1f014a2b100 SHA512 bdfb7b1d1bac8fa15ad730f05b1234432894f7e2ac65d820025672148d297bb9a70111e55012eae2cd7a7c8bb5015957ed3139f647336e31c9da7ed6fc8aaefe +DIST firefox-128.0.2-pl.xpi 635783 BLAKE2B 7178736bf3f275b96f58a2d6e4d186014d8f6c118933976f0affa77ab8741d475ee5d8e1e2be50b42cdf856a650de5d7dc407b56fbc3cf6d5fcd1da9326ba110 SHA512 14ceb2130817b7121ddff74130fc5562eb3db2c682ef9e0ce6a93448056e3ecb51b8b4732d0ac521caef1abfd075f2ec3c921edb3413acb4e4bee6301c6ab998 +DIST firefox-128.0.2-pt-BR.xpi 622153 BLAKE2B f905d1b1b85a0b09243c55e07a8499496924a096a60e364fc2116de3589bafc74c9fe7b5571a2b33a37763baeaf56d4288d6b56bcd18abe6d2eafd50cb91b1e8 SHA512 f1ac4068bbbc1b69b3c1dcf48c2ac5aab57fd8a5b9aa4dc69764048bbf717a3cb4be80f6c63934888b31bbff258b0df3db442d43059c49adf9f2adb3f6674fed +DIST firefox-128.0.2-pt-PT.xpi 626178 BLAKE2B 99bd66e7df5f04b45aeda24a73d6297045d1b74ed42f64b97c9a0530eada7ba81d6982d759d73ec081604dc21bdfec3d8c9324db03fa1462d878cb4840ecaee8 SHA512 4ce01b1f7e5997f7aac26c85d19dbf42b9613f48c16f220ce4e9743efcc307d40160b747b3d950bcda2dd9dbc8711dc8008410f7fa6473057b60b7ddc2193b2a +DIST firefox-128.0.2-rm.xpi 616896 BLAKE2B 21fec28f71d46da4e8d8b0cea4f71f36eb8834a861476c0412e055ac45d9a198f594cbb13558fec16befdb9e39f749bf03b4363e246d63cc5d6b65b44d80003a SHA512 ddce6a55c62ca5db2a211d901ef89263b59ca2f0cc6f47bab8c75d3d54f0c56b51a4af9d28c5118d61e491073ed270061b244e2f8425e81382b6e985dd650044 +DIST firefox-128.0.2-ro.xpi 549787 BLAKE2B c59eb19419576eb3e00d066ab3e16bee3032dfdbc545bdf0c2bced4abae44e7e23b91e27dd4d1a1035fd6b2cd7bda574025eb37c6d28610c00b5b6253f1c0d56 SHA512 ee4b005ce9350272a97fdefaa5f4494f71789bf9bf0f10b65fe372b8e4b15b0e3ef67c50d1fb3dc9a81eba5736b81b0da11ae4ecd23bf00ced2cfff97815ad94 +DIST firefox-128.0.2-ru.xpi 720396 BLAKE2B 5def2e4198e47073f561e98b1c9fa1506c3a218317224e3f49808db385a0d46f6f55865c34eea746b3ff57e20e2af7be2756db5bc5a5ccec6be489a86db23361 SHA512 e9af6f6c6e11bf5a99d700ef79fc7ce1654598d1976a60c313a8b4daf34ca56cd76cd8c0a0d9cfaa9673257e308b8b968775b893150608d32534c6e65020292f +DIST firefox-128.0.2-sc.xpi 588571 BLAKE2B 216a90e4e65c362587a89f286c46f98298c965f3fbfe8b7354ee637bdf8e5dbd7871d4a0ab17c7a233b3d66932fb0e5a290ca87a5377b3ba5e57f998cb089fc0 SHA512 f991cfc17ef48bf3bb0ca1ff84e045143f71761e112943372b2eb3b60fbd601816b3dd17268abe6bbefbe096815ef5ff40f81426ede2b8b801d1235ba4c7e238 +DIST firefox-128.0.2-sco.xpi 511273 BLAKE2B 6cdf627d130b50fe34e694ffed87079e9cb3fb2e8980e3fd20804a3e3df51d5e016702ed784915ce766c188011de0aeb9d52bbecdb96b2e1c304c44d97e4d13f SHA512 b19ccd202e62ffc767d535e39c0907dbffbb363a5dc15fa7cc5eaf5490e792c62d61aad963d4e85d30a989bd40a5157ebe8325999647619afceb0b8cb5217466 +DIST firefox-128.0.2-si.xpi 611290 BLAKE2B 3ce2931e584a360d57d54e0251f901180eb239714e4f7a0ce49009d9891a4a09db7a908fa938cfa96fc2d463b22baf15a14b86c456e4b05211e8799f6fa33680 SHA512 006c4f44f49c251bbdfdaff2cb7efa4c71778ecf5c2fb445f656778ddb6526a7379a0c49ccbc85beb5359389b6ac4c1d01e8cb30048397b8d3403202bab6bf92 +DIST firefox-128.0.2-sk.xpi 652449 BLAKE2B c36037d61f039d9068ff0c66aaed9b69a26a94ff698219ae3c8ec2d8dfcb8dfd4e3da3b85fb956d65ba01d238fa48cb4b0077f68112db176926a0716cb2b8131 SHA512 4af47add2c882c533005364055b2159304c40d9ad326edef1fa2a8074b8a812ef006bdafe889c8873e7963189a8be6b4bdef7651e528b7aaec9ce4541ccdb874 +DIST firefox-128.0.2-skr.xpi 707651 BLAKE2B 433de08a8966c4a27f9f3163e581afe2407b338f783aadf94dcac5502822c4709b7d3c988e7939e06599b0713a59339aab30b4edd08bf2e07dbea876a5c305f0 SHA512 d0e2369b6ead5d3efd93f38acc789de14b3a1bcb5fd5268cdba2ad185373c642cd066570f8e7e863606f6f6405456251ab87fb26c8433e1ad81bba792eb88098 +DIST firefox-128.0.2-sl.xpi 617397 BLAKE2B ec9870f2cd480592730799c36ce71803b79c6b9c5064ac30c6c5f4867cd537473504397934c400ab1d3bc3cc5d0d714f1e22f20bb4b0a37d3d5f36a76ebfabbd SHA512 5f5a4cf5f45d34dd955c472f88857cc5d9d74d465a3e9ece0bc5348dc47986b3553ae5438cc264c9eecc802eaf7076de9d058d2c10a9524494179571d8d059cf +DIST firefox-128.0.2-son.xpi 416398 BLAKE2B de93bfd8247de56a8cfea897a4f16a48a6e3604cfef8f444371321146c5aa55157446da283bbb0e469611ec5f690f4db3dc1af018fa8d139fcf92ace68901f07 SHA512 d63a93a09152d322d0c3a13b350441f1c4a79e876957cb2f39a92137987d97f8bc8a62e5722d63d8ef69816338cf7114dbae195a3015aa0c3944e40741fa9656 +DIST firefox-128.0.2-sq.xpi 636983 BLAKE2B ac76e97d34464fc918eb7dd1bd3fbc402e436c2b2babd598ea34363ca2dbcb2da734f98dd221d1afcdbb6ed1218a61ec4277ecc27ca16fec19f936ad8d4c6245 SHA512 2c3a3f80449b78626f3792dcbf72d0988a9a1d652397eb26ee38e1d584e3ae9f5f5ebb73736ec09fe0e71a6d0f9b7085441dda65169afdf7cc7daf26d9559a16 +DIST firefox-128.0.2-sr.xpi 639348 BLAKE2B 511045cd5f1fab2a2ad7f177ed6d34749964565ef2fe517e339dff4ab9bff6f6e4b73ba085d50fd059db88329e41fca046674a54d33bda8dc62c62c587ce6f60 SHA512 87fe4b1d9a2dc75d7da73f0901bceda75d7a457187d21b342f1c15323b81606a867cc3fd9828dba906a726d37a08b16e7389f5b398644e650f02790d92258976 +DIST firefox-128.0.2-sv-SE.xpi 619130 BLAKE2B 8450d97879b8a7bb8458e5db08d74e40d2569d36946030a8f7cd41a606c1ab28c569187f737c0b89b8b7f30d6b510e2534c1bee6c8e6210a8b2016f4e6df45df SHA512 e55c08fe1954046be54429ac636d8b2ad1a4885954c4764bcec90dc248588252d9990d60a5a044fdae2fe832e6ea3d3d0ac37c607a12a3b256527bae50c31fbb +DIST firefox-128.0.2-szl.xpi 526396 BLAKE2B 1f0f53683cf94b4eab312dbea3d51e6e8a7d6c970a63bf265c1ba6a86dd82c1b90bacb8400cfc358971e03988c5a09ad4cce76fa8bf1a454a858c40fad3349d1 SHA512 0e61ab5cf6183983978d88a6c389a729f970310f56d2f80b3418b27e03ee1d20c290f341e5cf7ed793fc7fc446f4965c7582e1abb9cb13ffeef8be649585aa55 +DIST firefox-128.0.2-ta.xpi 507516 BLAKE2B 161dcdfb71ba6d202d6eb0b14d991e2482b5fedf8f8e898263b7fb6679d8475c48edeecc67c64bce99ed7f12dca7be1371370e8ad1b484b73196fab837aac924 SHA512 621da90efdb7b103c7b1d65d6ba13256bda9ab044048ad1797d7ea4475d92a6ff94e6dc968ebb2761fc4e4e885b061e5668232c9802986cfad91690090e1e304 +DIST firefox-128.0.2-te.xpi 561040 BLAKE2B e9ad2460cea201e221a2cf7c9f8dd1654e15a68b70469d81ccca2a3b72515fcea1a4ac1c123548930e4920cda03c487720d41a631fa9e7d0e947404afb4c8b9d SHA512 995a070c67288901fbed7127bcdd29c638a6ddbb4759714f12db02de1faa6b257313a43e42543cde0327ba66bc159f4e0f593193a64f0b2476729f3f3236ab9b +DIST firefox-128.0.2-th.xpi 693560 BLAKE2B 528f49ae7010cfdbed672d462e0a3056e20318d25f38b8488ee716ec4c7fc066620073bf83387d975f2a0a366db3d8356946a9041bebae2aea657acd3062fe4f SHA512 0492d89a4c8cf1739fbf80570ba287698def8f1f68afb561e3e3814114b4334ed6c8ecda10af83c2441f803e611ed3c16482af7d491c5f603f892b71a3ed31b2 +DIST firefox-128.0.2-tl.xpi 534188 BLAKE2B a7cab322aa06cf979e70eee61bae68da0fb41f124cb04e8560755f702a7d07b306b0109e0951d4ab981d25dec1f76e80d0082dcc964656a9c1487bf3552d4500 SHA512 29c8e90b7a78ef22be118d873d8039c4ecfc78d74c55256c68f133a6b3359b9cc644308fb59cbe4dbe1807f4672ece3840985cb789a2e81624c39d6e1585f3b0 +DIST firefox-128.0.2-tr.xpi 632457 BLAKE2B c8ab73ec107bf6d27be7cb2dd1f09470858af0e7e3f26b6fd27509cfffa41d00e778fd49647fa21a722777a5b1d336752f3c3f85533a28f8975c4e67c915b988 SHA512 d780c0cafe9c5363a8ba88ce17b8e27882dbdf06de88c27ccfe8e26730b7e3c97f33f2cd6932ac2b255436b6f11949863c59d1e8317bdeb62c4ce1d281cef0ec +DIST firefox-128.0.2-trs.xpi 503976 BLAKE2B fd269cdb2c137a667e35f910c7e57a7e7de3f1825a04107acac02c7974c00afc28b86e633c9c32fd9a0fb5048cb1223c3ee7b4f242c92a373d0b56bb70db9e34 SHA512 81d812870b48a58dd459e736d565b9803ef938b3df3e6179c29cdef024e865867e0bcbfb5bb58b9454f54811bbe9249fad461a0e007e13981ce4f05ad80e9902 +DIST firefox-128.0.2-uk.xpi 707284 BLAKE2B 4c93763d72ede9e4e6b24876137c49b518d3f043c0342cebec3efb6891c465b6f1514402f8ff00c8eadff13abb923a359a126dcb896039f954c4e723ea3762ba SHA512 115063bccdc568ac491b01635eaa3de52cc5170c3ee3d5a5c3504372e8c12398540db8ed8ebe2a24fd2b8e988cd6a0ee0bda36e6f4d286bc7ec07935c7e6cf2e +DIST firefox-128.0.2-ur.xpi 560466 BLAKE2B edf6836aa832240928124c800ede89ff3c175618e83ea15b43f592064c7bd2d9170b98d7e47d17c804829ba931bca66de80ef2d6693740fb2989877f9dbc39e7 SHA512 ae59bdc04ea1672e51549c1b9ea8e53bc7ce6bb27bd71c9957193501dfdf8e8afb7254cc6dea3187ef9a513e295a53e5cf6eeef240cb7e053209a052c23edf90 +DIST firefox-128.0.2-uz.xpi 478778 BLAKE2B e24b137af297d671fc29053684c9b8cc18371ecd46d9a1a729a457a0b257086f8924789cbcae23d1b84662ad06aed89b54a190ffc4c342ee19bc1875471c9f0a SHA512 4429bac7e6ede755afb70b2c5aa6a4ed756dd30ecfc44cb6460ab2525bbc136d65f6403b75faac04c8f13086fcf7009e370af224b12c673663e22b1bccbac12f +DIST firefox-128.0.2-vi.xpi 655572 BLAKE2B 80c6e219491b7b18bc00b79514037fdaa3f65d2b3c04ee2da0fb4c3d809caeb1ecfd75070519d03afb6c2dbe1dc911e474908d527cf08a4ea1a05a9a9d31ce1f SHA512 b80c570c4c486f9862ac483c01d361242810c85494e5479a5a5efc67e517c187119df79945c48b13e2ab7f0f110a36afa77aadc8f40e579eb1b80a751f4e7f77 +DIST firefox-128.0.2-xh.xpi 417171 BLAKE2B d17ad8add3886462206a56df9d528b5c9f4c594010a6ec02fec3a9d402722dd194cc659c9fbd406a7721d36096d5dcceb81ec2e15654efbcdbd649967de35f78 SHA512 7d260721b77e5c8f10a4bff8a604632c616a0988ecd736e275ed602998b01dee8700fa89a5730c5e977aef9ce5178f31f9c19e863850ef10c92c1bd2ef8341f1 +DIST firefox-128.0.2-zh-CN.xpi 657106 BLAKE2B 80a6e21e5ce7ec1fafc164e86f5dbd26ff6a32859df7555a656e1fc5e0fde7bd9b1d72e8ecf1f21b45975c346ae1a6b60098c1476105e9ec2b18ace9c6fdf00e SHA512 330e81c388a15352286d4d16721bdeac018891364b76c4020f251b968d364834f09add1666794d02577cf0feb7454a3a1177b66c30cf9398ddd05d9e73bc0141 +DIST firefox-128.0.2-zh-TW.xpi 659230 BLAKE2B 1d11133f2e6900f6cfb00ba75bfa84c29382c700cdb8be49df1e9aa7a6ea11da3a52396ab2245cb49c705757afa791e691195785387621050132ab573a1dda4d SHA512 8955f84ada33a73b8303efdc4e0bc61dc07d8a2702bbd7bc514d1b516778bf1d1ca568676e06957c560cb78b27b3011cbe1c2e96b6a630e01f8eccc98cf0a3c8 +DIST firefox-128.0.2.source.tar.xz 562183904 BLAKE2B 38beef8eda209f87d2e7fc02dc11bf77794b3fdf94878dc25b1a95e88b8f7ddbdb3e9528cc6be74b74953e165b64664a90e10fe87559e3c2e67142f9e5a367a3 SHA512 e5c38fa3adf26f5f072b6dfe5955004e67f576dc67ef68348d58fa0ac13bd3c7764e9289dfcadb2bbe034188bf296267d74fde13fb9b53beb5421245fee69da1 DIST firefox-128.0.source.tar.xz 560761840 BLAKE2B a50c7ded69d86c9d45475e701f83295ab6ccfc4eb59d9c91379504bc35dd0e7e1fb59e8c7737684709fe62969b9762e2960fa90607c83f9e8d637b78e60f56b3 SHA512 309c0e2a0bea5699e6daf4fa02300ad7fd118d2c02c35cb5fa97a5fcc6e250cc7aec34e50fe872b8fd516436bfcfe37ddf33c9d0f9291860388cd6f3f08ea9f1 diff --git a/www-client/firefox/firefox-128.0.2.ebuild b/www-client/firefox/firefox-128.0.2.ebuild new file mode 100644 index 000000000000..e4df0f33906a --- /dev/null +++ b/www-client/firefox/firefox-128.0.2.ebuild @@ -0,0 +1,1403 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +FIREFOX_PATCHSET="firefox-128-patches-05.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" +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-webp" +IUSE+=" +telemetry valgrind wayland wifi +X" + +# Firefox-only IUSE +IUSE+=" +gmp-autoupdate" + +REQUIRED_USE="|| ( X wayland ) + debug? ( !system-av1 ) + pgo? ( lto ) + wayland? ( dbus ) + 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.76 ) + !elibc_glibc? ( dev-lang/rust ) + amd64? ( >=dev-lang/nasm-2.14 ) + x86? ( >=dev-lang/nasm-2.14 ) + pgo? ( + X? ( + sys-devel/gettext + x11-base/xorg-server[xvfb] + x11-apps/xhost + ) + !X? ( + || ( + gui-wm/tinywl + <gui-libs/wlroots-0.17.3[tinywl(-)] + ) + x11-misc/xkeyboard-config + ) + )" +COMMON_DEPEND="${FF_ONLY_DEPEND} + >=app-accessibility/at-spi2-core-2.46.0:2 + dev-libs/expat + dev-libs/glib:2 + dev-libs/libffi:= + >=dev-libs/nss-3.101 + >=dev-libs/nspr-4.35 + media-libs/alsa-lib + media-libs/fontconfig + media-libs/freetype + media-libs/mesa + media-video/ffmpeg + sys-libs/zlib + virtual/freedesktop-icon-theme + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/pango + x11-libs/pixman + dbus? ( + sys-apps/dbus + ) + jack? ( virtual/jack ) + pulseaudio? ( + || ( + media-libs/libpulse + >=media-sound/apulse-0.1.12-r4[sdk] + ) + ) + libproxy? ( net-libs/libproxy ) + selinux? ( sec-policy/selinux-mozilla ) + sndio? ( >=media-sound/sndio-1.8.0-r1 ) + system-av1? ( + >=media-libs/dav1d-1.0.0:= + >=media-libs/libaom-1.0.0:= + ) + system-harfbuzz? ( + >=media-gfx/graphite2-1.3.13 + >=media-libs/harfbuzz-2.8.1:0= + ) + system-icu? ( >=dev-libs/icu-73.1:= ) + system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1:= ) + system-libevent? ( >=dev-libs/libevent-2.1.12:0=[threads(+)] ) + system-libvpx? ( >=media-libs/libvpx-1.8.2:0=[postproc] ) + system-png? ( >=media-libs/libpng-1.6.35:0=[apng] ) + system-webp? ( >=media-libs/libwebp-1.1.0:0= ) + valgrind? ( dev-debug/valgrind ) + wayland? ( + >=media-libs/libepoxy-1.5.10-r1 + x11-libs/gtk+:3[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/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 + )" + +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+=( 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}" +} + +# 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 + + # 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" + 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-geckodriver \ + --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 + + 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*' + + # 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 + # 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 + + # 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 + + 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 + + # 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 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 +} |