commit: 41a545070868b2160a88cadedac8fa1bcdfb1c4a
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 22 11:27:41 2025 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Jul 22 11:27:41 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41a54507
www-client/firefox: add 140.1.0esr
- sync the 140esr ebuild to match rapid, while leaving out few things like
valgrind or jpegxl support.
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
www-client/firefox/Manifest | 102 +++
www-client/firefox/firefox-140.1.0.ebuild | 1390 +++++++++++++++++++++++++++++
2 files changed, 1492 insertions(+)
diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest
index 1ef7d9c1db2a..73bc62f7483a 100644
--- a/www-client/firefox/Manifest
+++ b/www-client/firefox/Manifest
@@ -608,6 +608,108 @@ DIST firefox-140.0.4-zh-CN.xpi 460037 BLAKE2B
ba60349550da85791de7b52b822a7de35b
DIST firefox-140.0.4-zh-TW.xpi 462993 BLAKE2B
ec676369121967ca711921b9b7c90448df1398f44b401c311c2107217d5d6a1fe5a6cf5b3a584bbcae5bb421dba1ded1f7ff40746d290726d5bf2ad595f0d54d
SHA512
31f4a7377548cd3c4f6e8aa3dc6b0ecd6fd35dcd72f7899531eed367462ffb88a793b32f229851748303bb9b851e470b5a745243c3162f1994237ebeabc9c761
DIST firefox-140.0.4.source.tar.xz 642671864 BLAKE2B
7cdcf5ff710860c1e0e2c7fb8e1ceebbe4211dfcb847b4f2e547eebf991214e00a8306452fa30899b7b731f1c89cd7af1efc005203871fc59e4bb597822b3b24
SHA512
3de7c0871b8a45683f5c226fb3e91e597e8f89ef154b208b2a57c4d3ea9f39cb5c69ecbd5eca3b6da68d3775688d2289c1360c7d110c67bb1be1cf26ef8cf36d
DIST firefox-140.0.source.tar.xz 639951312 BLAKE2B
588d290e3ff70e47a0235ff8abe22c17a76c28389ff9bcbbfaf05efa9fc37ec29a5f64c2fb736f270f8b0c0467c0ce7ba1b5c7f186c86ba1528a4d362ff1c2d4
SHA512
ef209827a422bab443e2b6fc59ac16f0ad99293b3c8f10a978f222ac8da5ff568b2fadfb97784feeafa4a24883d44ea2f34b47b2bb19863a27e00d2d787b8ad3
+DIST firefox-140.1.0esr-ach.xpi 293876 BLAKE2B
feed8c0ae1f96275d25d7d906156fd222d16e227225bcc19e7145c24fbfa71218c2bbab7c4a9c93c130fed4c6a41f287ff5b32149b7051d3987915415724a350
SHA512
0ce9e3713195761fb2da955153dd9af6d20c044364a2c39fe388aac3dc8cf28b74c06b669336a796946acff363c9b1442644243073a7df9e015a8a7707c28948
+DIST firefox-140.1.0esr-af.xpi 266135 BLAKE2B
06a6691e250899220d4c4775b32b36bf58193b4a5ae120b627aa677491d618ea84409356aa21b1c48d18809899536054bdede9d09761e740e45b79d0b0247aca
SHA512
7a0855e365b4dcf837c60f8ace69b7945ca32bf8ac90faf45acc17560ae0f566937d823ff0595eb2b5798420327f2c3c39479ed053c35f5845de8746600db88e
+DIST firefox-140.1.0esr-an.xpi 331809 BLAKE2B
b9420d08c7e46fb40e563cd27ce4517aaae6d14c9a9a9b98a8e6a427c2c0393959c5c194eb8b56d5fec4027a38533af8a32abb911b605fa51f0559aecca694a3
SHA512
ea1db196d681671660b6c8fef22f7fd62a3f9df12392f8f0af069c723a1705f83b8e554b62d21f4e0462dff2c2bc398ff68b92ccd307695cfe586094648f10e2
+DIST firefox-140.1.0esr-ar.xpi 440806 BLAKE2B
26ac284dc0a8700d3664e32b9c64301fa272485d3f4c6b6fb277302e8e908f76318add6e2b2868f4d30fb9b855d2571a63d7389dc87923fd37fd5657d84d8102
SHA512
2a49d19fcc7e034ee43ef2af1377f34658427522f6c4eeaacac4ad4857e922fbb26390f3e27134feffbd1bca18b8f2e076bf725a08bba6bf33c8cfcbcbd3215d
+DIST firefox-140.1.0esr-ast.xpi 311728 BLAKE2B
d454fc905407d19f52cbe4d3bfa19734c4b0c15265001ef8ac44be166c1bf733e2933479a7acdf884949682eba9df4e85f6f0645a4c987cba24d2d346996cc42
SHA512
ee8b4ef0d6bebb3b6d28ca9f2da36fd6e790cc91795c76db26c2b33775200b0a7b139a9847f261cce2db74e1d94c976ecf617c30e20c6dd59681bf590765f447
+DIST firefox-140.1.0esr-az.xpi 317929 BLAKE2B
34018bed3beff69f99dddb80ef3046e5c8850fb54bb01952d89174771b41b68a0d96acb78bc4fbcd861d4c4f41ce9fbad021ac692f5da204bed550b155cac4ad
SHA512
156ff4a908acd054b6a4606bd3bf5731fd7963aaa5e8c726fb01eb6d76f83da15c6a01bf7f13ff0a289d27f9741f1492624049c9e9cb3eb3ecb98f0a634c93b4
+DIST firefox-140.1.0esr-be.xpi 520284 BLAKE2B
d1550909bf0b2019eacfbc39d9991087b521f61e0cbf26851a992aab6cdf7ba3f14509fe9458f772d62847065bd75a8e043b6731d4a454c59da84c00baba1d98
SHA512
2d47401d16e4953e3addcbeab571b11bf8b465759d473a0e31ad251a2203e30c35b08d9c75c1b638a69a8495865e94d2d9b3c2db5c0e695230c7ea6189329812
+DIST firefox-140.1.0esr-bg.xpi 448628 BLAKE2B
7959672d00ce3ab484e7e148e6ee2e723128a5fe3970d76338712a74355bc60f5e9b88d47721c9e12f1da0c7e1ecd7608f6eee45a3478e5ca3798a57c2712885
SHA512
e2184c659628bacf190dac29b63803b31ab5bb7c43ddf5ddd3c2fc8fa02cdc9a65b4e699eb281ab902d5d9cff9ecdea6579ac2b2d4469c8c5cb1a5fbccae21cb
+DIST firefox-140.1.0esr-bn.xpi 411547 BLAKE2B
bf698ac882d3ba1826292f997d93f2834579779499caca497fa64a805afa5a15ff6847f0d98fb420693237703d20d0b95aff7f0642c449e7ff45ab0c4c363a03
SHA512
e83a38a8e40c601d0c031832cb27b274346202ed45935c18d92512fcec8eab30fd7fe3ff0dc19252a68d726de76c8e3df57264d432fce2af86ee14d80fe2633a
+DIST firefox-140.1.0esr-br.xpi 392886 BLAKE2B
5b0a1a816b36ebe5763c7221759e1de1acd3d545d2be10cfd55a19e6582ce8e88a47e7c99e72861cc54355f42348848ecb025a6259c412d42bbdd4094b1457c7
SHA512
e5695eeac187d9765da5ed2a0e30c7217149075aa6bd0e57a1c27b35fba9906ee8030830c1aa0fe8bef220e9fbdbcf62824e030501418339e5fc6e6cadad468b
+DIST firefox-140.1.0esr-bs.xpi 385034 BLAKE2B
f6152d06e897fe17f147c1fcb68fdff2176323e38ddba46228f18fa59757897ebec3b36c1b02f417223b3d32be497dd4333120e2f4ebf9e03d86c478214421f0
SHA512
7e9b95428c3e4785e5c49ac7408aa624e285b6c0e40881eec57108c6ef27beecc00bd1eee8e58cdf88d6cb2127329b3a264eaa9e02e27565a15f579633ba8287
+DIST firefox-140.1.0esr-ca-valencia.xpi 357401 BLAKE2B
414812b4d339348fa8c895a106508363597c8863a0325bff9064ed5b436e5fd5cf4262013831db6234a2583eec76f459475f2513a1b14e6a412dfa61bc86b369
SHA512
4853eae7cd818240091083d205dc68c7f0a918ac10c75773875884dcf605634ec5db7150a1628ba4465e945ab25843e7273084f97d19d0ddd04c0eeb69ba13fc
+DIST firefox-140.1.0esr-ca.xpi 396800 BLAKE2B
16b4db9f3964a6d27f014d73b7e70e357816cecc5bb043968389fd35e7844072cc56d6005b4ebd7a215904b97a377ddfe1aaf0dfcb6bfdde826b8dc92a8b4c48
SHA512
8578d9254c182407389bc63a2fba7d5e87732aea0344f3fbccdf262607670373d6cc79fd41b2db65d1527b1e52e7914a9e4de8959b90e9341456c422faa1a5c3
+DIST firefox-140.1.0esr-cak.xpi 390348 BLAKE2B
adc5d12c9fb55def259bfdecfa1228d35d5faa0e36fb8afd90629c88a23be292d3ada22daa0266b2673e19a2f65cd1f2e48ed0b2c1c71d1ec73f63886dc17431
SHA512
6e017221e7172d8fcae1698e55b870941033d4b512e276251e9b5ffff478b17af4692fe1ade71cc8c515c88fa5fdb782d8b0ffece029bea142efeb0919ee14c4
+DIST firefox-140.1.0esr-cs.xpi 474980 BLAKE2B
e9c6162e4e7937360df127f5006c6273503ad7595d34770bd0161d71d31295ed3ca8aea6cf345c03704a4dc3d5ef25bc9f1ed496c745527878f3bef587a2bc0c
SHA512
bde349a8df465a475d9208c0594c93aadda369ce81e3cda5b5f515e3a28ba76955d1b03d7173ce03d4608effe2a19f1752298b4d17afdc0de8ec78a4a4042679
+DIST firefox-140.1.0esr-cy.xpi 441203 BLAKE2B
995be6dc756017df7fbde635c4de16717ec6ceb74467bb4b231d452865d81bbd34cbb19a1aa83c6786b29f39c212e10e10cf2590f004ef2035e04188955b7e72
SHA512
bc6eb9cd0dda6f03b526e442a017bcb43b9ddfd7a1ee017b80025db6d3ad4d5f362343fc8ff901aff51778957d1d6614ad7626155efed227ac454b51c5aa25a7
+DIST firefox-140.1.0esr-da.xpi 430375 BLAKE2B
a24c0f36205679fdf1f088b53099c8ce1f002ec59c4e5e8634e47a4f6a2087e8f9d362a852550e96ce0e0e94938f2fcda9bdd58950617c2b1d55a364649a8215
SHA512
a46d82da5646f9989ce5eeb7aaa7757c89f44715f52fe31f45a882612f6014f21c7609a54c7e8fa1f3715ff529e8ffaf5ceff823d4e294b978591fd2044e759b
+DIST firefox-140.1.0esr-de.xpi 451863 BLAKE2B
b7a99b6be71f60827cc0647c30561d5dd5f52d6845f92249c7fbfd0ebe05d122fa043d0abc22432ac9189ff21e7c530bea175b203b8a304725cef57b5d2c1f11
SHA512
552bb81d6ce7f0fbb1d86fbe6f3c3a01b7e5bbad80f3553684c918137e734593ac0fb48221d69d3c2dcb08115e0f9203778c047b2f16a0b64f0a2e96c83dc9b6
+DIST firefox-140.1.0esr-dsb.xpi 465277 BLAKE2B
9c74070f67a468d50294b2847a22df72b232466112d9c30104b9c347b2d1c7a24f8efcbc49960687cdeb519b108bdf3b34d602260f40e586af35069196aae1d2
SHA512
59a67c95e6e6c78f259c234ce0906777333b466dad216dc724b480130427e6a0e3ebb502c49890321263df53cc72733b63815a12ac53a9d49c7cbf96ec5e436a
+DIST firefox-140.1.0esr-el.xpi 536133 BLAKE2B
f68c0355159f8d296bc26f40f2613d3197e9f205af56c15fe1e03fa8566fd9df6eb4f6c1ceb71ec90f39ff0c44b135280f31830e2f8dab476b059f4e5846da54
SHA512
f631a3bcfd77166a648e5230514f4f811436684d0629922382b73bafe90ca0a90be31cea57a2d9693b626c1387aca92f41e37481aa961dfa2add2bfb818af455
+DIST firefox-140.1.0esr-en-CA.xpi 406745 BLAKE2B
6eabcbbe8d0f51fa86e437f21397bc8d2e5637aeea691c0cdee7659d91dadf5cc551b904b0b59f4a4c45fcb44ee938cda9484980250115b5438ee378b6232876
SHA512
3f6529dffc7ea92d2f82ae1214234fd767a5ccacb2b3fdfe16b05ee4599499ff1bd809dcb31ea008e8f6f4915a784cd739375adb66da5d2a54514d4ca67bbb4f
+DIST firefox-140.1.0esr-en-GB.xpi 410668 BLAKE2B
151b6be78d08d3eb81a06514d93f49abd7d33b1dd7cea612d00426632a68990242a752f2d9bb7778b17b06d94b897052fcf9281681de2a479fc42cc32811b521
SHA512
5359aa8c9109b59618cdfce33429b2c7fbf041d03883ce0662da1934c90e9185928a64aca7554b6f75a631ee66e60e52160017e7c6299506c15f5a872e050702
+DIST firefox-140.1.0esr-eo.xpi 432740 BLAKE2B
ff31147b242288b6bc7fa36369025531f78ad2c1f1c658ae776427c42545d4f973947fba3bbc5ab3c645646a4c8ba3d037757076f0c5407dd0ba3e4c073b625a
SHA512
5aa4dac78a41a3a05b6ba02937f9fe6409d70565ebacf65e3124aa675e4f40b84b8b8dea79b9c31b382ab5d68f4064c64097e4e5fd7f68534c03c2d1c8a64c2c
+DIST firefox-140.1.0esr-es-AR.xpi 444783 BLAKE2B
1633ebc3a4fb64ee6de750875be817dc73360cebfc6c9147793b904d84425c932f24607976a5478bb718655d0a32b6d2ba7c12a714c081b632a3421530176158
SHA512
432d978b9c70aa198bfa45cd1e3c88b84a6b7c4c86ea6fabecc3d2c39851e82887c2d75f9066a4a1625bf50120a53a40bfc71da8a3bac85614c439229df58e2f
+DIST firefox-140.1.0esr-es-CL.xpi 445537 BLAKE2B
29bc3de2c4b3312370f85e207163561482d26f50b8c4c63adc7122574fb0f3e4a1de1357fd3d5327219c074ff2d3a07cf1cee12adff6c05f4212dab2591f8337
SHA512
feff343b9eda69ae8347a9484700fd3876ff6abffce5ccbe12194502641c5095eae573282b9ce1ee061d8f907aaa912d0504e5a1a00b0e0a184ee17927395904
+DIST firefox-140.1.0esr-es-ES.xpi 446254 BLAKE2B
9766d83841a737b82996ad5ce807cbef94960c2935bea78303b52b2899751d897e428d2457dfc28e831d3efaf493f4b11a22c54139d48e862f08c4e91fd86424
SHA512
bce97df157279c4a546f24baa447e23c834e7ff408065e2a730569aa6be3af9d858bffd792c59ae9924778663c78b46b0c724c0392194794dac0ddea891a8eae
+DIST firefox-140.1.0esr-es-MX.xpi 436650 BLAKE2B
4f3bc0b96fe5d53669395ad8c53800555bffcaf81fb951f0f4e4875a9e47a8e9b7d34a252ccad4c97da6da7dc604c85ba3582f891a84397e0d9efd643a6e0a6e
SHA512
e6d2754f9eda1074a0cbaac674f60e4a0731567aa0a6f237f66ce03677aabd9f09a0af6c43d1be0e4ba65d45d7fc6b0e913e382032c72950ad2a2e9bf415bba6
+DIST firefox-140.1.0esr-et.xpi 358820 BLAKE2B
3327e7719ba48d0ecf8055b8c687c322fce650c17e7659eb753d59aada863142a8bd4f083ca2c6e333f031d71a6fef92fbced145b631a06d1a41f8b140762dde
SHA512
426f1d9d762410ab6245cd333bc99fd79121c1aef514cbd51da462383e0658a222d07e5879fd44503a9853827340ebff9f3669bb001c03f96462addd83f86d8b
+DIST firefox-140.1.0esr-eu.xpi 410458 BLAKE2B
e14080824a7cd6bbf8479dfa5ba9aba65b0fec5a3933d060c67abe55e24e5019a00017d701f439396bd99f91a65fe32cec5d5adbaa83d7516b90b4f8d55e1717
SHA512
cc1d241a5927ae25d986f608cb680657acf585ebee4544359f550e7c8b61d9173842ec385a0a15b6f9df84ceda7d7a0b5e20b2282f2432deb1b699bff6e3c792
+DIST firefox-140.1.0esr-fa.xpi 421030 BLAKE2B
cbecee77f4b625c030ee8b45fee6d109564ab1f888097f82324d6a6daaf09dda315fc70a51098c532b608be3dd509d4f229efa0896273502e19870757fd2a33d
SHA512
7ee7c23908beeda91efda2204a403f19b5320a1f915daba09891891b697cadb3a91ee03746ee0fd5211780f16eb4b25d80d93bd09f5347caa108bad2fafa5b91
+DIST firefox-140.1.0esr-ff.xpi 309684 BLAKE2B
f670b666b4ea13d1e1f1631a9c4b3f5af12839c230808e976528dfb83431f03090ac363036ff2adcafa2a3d95ebbf417f699c92dfcd19cbb2b684f545ce1e50c
SHA512
a834e6d583851bbff529d713b9e4f0a5cbee29b9fa59879f401f698d88832e515f60325437da580413d8e1b7fef12f89e153474f1a0eb1a2380a6f1eacca6cef
+DIST firefox-140.1.0esr-fi.xpi 428581 BLAKE2B
cce9be857792c26d80450d90bae0df835e1b934bf8051ce88e2aa1746c46f41b429807df11d437f4ba0f561274dbab78703a7a38b0ad49351b580df56021ee25
SHA512
0c52ac466bc1c5e6bdf0dffcaabb1bf7ba916a9a5ce175315c830f489165cc51f63fe5ff5bae91d45c632d0ad1e8a07e72438e54e37cbe05a314a06c618fb36c
+DIST firefox-140.1.0esr-fr.xpi 457582 BLAKE2B
b8f2f1cefdab78ccdce01f56e580c43bad2356a23576b8b498f0f74f69f7b2bdcc8b57d82778865cd20190001bbab70a03bfa363aafc31223cd26ce4a7c9fa27
SHA512
aac18eeddf571598364577a10d319a1716d03bb2758cc5fae001f1bcd4efe6219fd5fc372bf3430e0e8b051a18ea919c3ef5dd75b0c5a1bcc271c8a0f779ccce
+DIST firefox-140.1.0esr-fur.xpi 451062 BLAKE2B
daec12591cc8636ffd2d7e96ad80519a5f679a9b1591e39c6a5a5492018f2f9c0e6dcea46cb0af95921d12841e98b4b71b6302f79dcc34094f008e0f6392f86a
SHA512
25312b6038e829818062ac73558b03349c674e6615ae3848c7bca7305ed09b0abd4839a86ace9e0059a23217181f1d4f34af3c29763b58929ccc715fcf2114c8
+DIST firefox-140.1.0esr-fy-NL.xpi 441359 BLAKE2B
54b4a0185ca96a445012932eb938658e047b5906772853dae76e8a261998f94b507cd5dff1948cf3f1c3c7a621ae010c6cef8de8d581ac626638370070e60d51
SHA512
f0610699c84d9a8dc71528532a59abc3aeac66b3ae079eb1debe413230d791d1391937abd2d59c625f3ec7ca19cd1ff1d8ef040d6ae752bbe4b3750c1cdbe702
+DIST firefox-140.1.0esr-ga-IE.xpi 314774 BLAKE2B
47cfcf5a59b23f01c75295d12e8c42257f25d55630c5303a5bb51dcb6625174dc1474940a5338a5c237940156effa3ef9faf49ac7c5d1898abb736932f7bfbae
SHA512
66a410595253e66f58807391eadc45da1349e62f1a3df066f530e374c675e47751b2c66499677e388fcc03f75508e8f54f763d48c880f0459cc2b8b4f399e955
+DIST firefox-140.1.0esr-gd.xpi 398926 BLAKE2B
256d74d394a26ba89f030cecf8dd2b968c69712d8ca09d94f7ff090804cd5f1ec0ef436494ea8518878e76e9912e04bfbf9f67fe9f964939ea4f48af5affcafd
SHA512
45db5db3a5160be16be74de1dc3ee60a53ab8b98fad3f9bd9673e574d34bfd390dcf8cb5f68436584fc42cc5d35195a216c76a9b97fd8eaede6ec7ff99f39a99
+DIST firefox-140.1.0esr-gl.xpi 404609 BLAKE2B
4308e2724a244169284b8b6b3bc9fb1f71e0f220a507c34eab3a6933f09b140ffd546eefe2c7da054d623a839c02ab220304de530c64ab8327e1ab134e673040
SHA512
d37d105e838254928ef6df9787ee2975510078017f552b21d0733ced4ec14a05fb7f11685197c350c45ad5bf67f97334c9c2c75223e54177c1db9857b55d28fb
+DIST firefox-140.1.0esr-gn.xpi 448657 BLAKE2B
668eaa01d9c36fbfdb736050074333eae4c1d3644dde87639d0f56c4f57dcf6579a74510297965241da9766c36545884c079b5d51d638a7f08b0711e910765ea
SHA512
1a3b537de661983355b4921cbcd702bfd96884de6eff83ed9dd75a21b0b71fa11fbd5f1c27da1dff3f4f5d8a98c3173b2f0958cf0ff560eda1cf6baf8b33ed9d
+DIST firefox-140.1.0esr-gu-IN.xpi 358446 BLAKE2B
98be3b090146471a201a9974a3074e8eb8ffb0bdbdfe651d44c804f6e81af49aaf4e31296e1fe2cbe78042c397f0d7c451a8861046da6c953709adcad1d64043
SHA512
06c61a85e1e9449d8d9750ce5bb7c6281030a5ccadd0567abbbf50b047c01d85782022e990d14420cd443a7c01b3263fbda740cebfdfc9a6cb34cbd65f951af1
+DIST firefox-140.1.0esr-he.xpi 443924 BLAKE2B
07ec0032fbbc6c78c8c58abb4424f785202189ea8aa8b8e7bf082dc3e850bc5e960e71ada7566a614bdbed3054196ec7d0773d3eee1e07e8451037146e441cef
SHA512
2e064aef7f56f52a172a19c1406dc192e6d8cfbb602ed931b406cbceec5d27ca59c8a4f0791eadfe350673078c6a93e61e7e92676f27c487a4e552516e3c33f3
+DIST firefox-140.1.0esr-hi-IN.xpi 376946 BLAKE2B
99633b9cf821b99db546fbf6aaa32b06fba36588878d013bf5d3a7a8dd09dd8dba037bde3ac9386bfc835e33d004da4a466ef6a3e01e4995acc9d0e98758e738
SHA512
041e00ac273e0f99ab6441f3326bf67b1da0fcebd6b6eb41bd938ad24d418bfac1a7a333df7a413d0568ae4e25169c9ebc34b53c74271ece9ea4439da45a4c3e
+DIST firefox-140.1.0esr-hr.xpi 433956 BLAKE2B
4b817fe9ac8aca6fde6d09b141079cc520215c569198bb091dd6ba734ef6d38b89dbb5024e7f6ecca53dd0cfe85a53cdf9cfa31a6ca6f75570a530eee981632b
SHA512
dfba1ecc77922d0822aa3a6d5a5048d4bd468b4ac39b6542a21c74d9d6bb1be6857bd2c9580e108e6cbc9665df44f5e515eed33aa39b83c769d554a5b1cc21cf
+DIST firefox-140.1.0esr-hsb.xpi 461878 BLAKE2B
d972e3141cb003138d5017159c68ba85f7717cebc5392ef66db5659977bbde9543a27b75d37a3e0183b699f571d6d427ad3c7e316c15b5173468a7e61fbf42e7
SHA512
eb0a2489e9fda885d48af61d3d8588d56a304e13185636f8f44443c21dd67f227edee80e46fe6efcfb1a07a13eaec921d9571b34308b2534c51e3f0fd75432aa
+DIST firefox-140.1.0esr-hu.xpi 465370 BLAKE2B
9d9464a0e422f5901bde7f448e157c68177d660138db33a5e8fd26ce3916598a81d92b3607b389aadb2dd049b181c5788631776d73d0409ccef536845bf44e51
SHA512
4862f4bf6ef42bbc172eba3148755abe1f66a2d426f9d01fcd8c59c3b93c6f8e5fe3f70be5453dc7d39c2b320b5e89de0fd878538ccff28992f7cb4fb8fac54b
+DIST firefox-140.1.0esr-hy-AM.xpi 453989 BLAKE2B
dcfe58498ffb323f478c7ce362894897698eb0971e2eaaf1b659bc1e9cc71ef5a8c6746dd1c4329f1401b2e73625aa9fe3268e3982412e84e4e7c9ac2508fc83
SHA512
c9948d3ff3e395b3604da204ddb0ca5e40f2d210b15113811a8ab07886efa0adb276485c004baea019f6aa9c2efa6f4e52c845deb8c353098e22e6349c745f70
+DIST firefox-140.1.0esr-ia.xpi 429320 BLAKE2B
5e7bd6369fc7c26f44f79236e2499fa67bcdd70d0c04ac459c221a2b56658cb0dd9eb8a5241d33c39c6d679d523fa438df55f9bc39358f38cfc8075aed4a0f58
SHA512
7c6817849b0a1d0aee6ddbefcafcd87d98359a12f944bef8dec9b5283f00e6d3968b148ba37e7c9971a7f0359e6b88c31088f5f747bf267732dae9d079608367
+DIST firefox-140.1.0esr-id.xpi 418238 BLAKE2B
59c023f1bdb252c03f2cefb528eaa532a6b4c0e9e15421189bd52d57674d36a55dacbb3f9defaec1332ee9b7ec0180b7736447a6a2116d33770748e43c9e33d1
SHA512
104ab63800bf90da667cd03695218deeeb23e5805741b604e3ff124545037a3069080b50b4aaecc127ae3c6f627ee4a47d1480032a28fe79f1b6f86802e1fb1c
+DIST firefox-140.1.0esr-is.xpi 430708 BLAKE2B
61d8a0e1a010ce3613c932b43e97b78793f9495ef9dfebef90942903c6e5d4262872508a97dbeab2eb54b0853654c88306d6df3c81fca5687e57ebf600edfeed
SHA512
0bdbaccde1772544ce2b9000e47b6c238e68d59940c229ff586707f1b035603a76a434153c39c5f85b08a04ca53441cb68441ba042c9761ee8ff4318afb91e37
+DIST firefox-140.1.0esr-it.xpi 440141 BLAKE2B
48157e4af8960d37574fbf2969b86842ab00530ea1e8d9fdad55c6b9868db451c4aa2f1a4d62a263984c6cb37da99ee862306b808424e0c93bbcf778182708bf
SHA512
3ccdd9259cedc3493e7188238c2305940cdcdb7b5c1b6bde6c95210455ca8da1a9bc53a0f4bd9aee890f92306a601975d2a1668b557fd827cdc6f25270cd31d0
+DIST firefox-140.1.0esr-ja.xpi 480534 BLAKE2B
a70d46fa022c597b49d05b74ebf16f7f7ded7a49cdfe2e571fb81480ff92a7a7b7713d422c36c074effc196f49e7cf79d8fbd14c20121574749b79ecc8e05a21
SHA512
3301a7c3f02f8f64ada43c4bb57f116879453399c23752b9562e2b4c7b475dcb58f29e36ed767e9b791d57bea5d0c96892b7d289c0f4c838b8a4d37e27160208
+DIST firefox-140.1.0esr-ka.xpi 493898 BLAKE2B
2c64d343abf4d4b764d0980312ba0496503fbed3d2028bdf0ba84019881a8352d64cf6d4dc09c2b9cc856f255ab5ca38cf7b27b6cd2bce8a4d0348fe9403b14a
SHA512
e83a56356e5cc27aea184b53a0ea3a4bac43ddc98ad15e81d68658aedacc17e55cc83947f2658acea06f767923958a7510d58c607e8aa3ebba8066596c04ea5a
+DIST firefox-140.1.0esr-kab.xpi 419761 BLAKE2B
5200227de5c629972cc23e59638a8495f434eae74bd74cfee3945691ba585fa890e30a91eb05c5e452674f2d42cb0def0272912f467756502a1352c48db07cc0
SHA512
f997c61769e20bba2f9cac9597787087e604cd538f36af78a349abf5fdc69e923aa44d11e6898cd0b3b0f3074c982c0a5c0ea43d5de2ea4a1f3b4f8d160d828f
+DIST firefox-140.1.0esr-kk.xpi 500403 BLAKE2B
48bb1f618cc16fde19c6464a52ccf5a357c278c950101c979bdc0d7a0ff455b3ea25ce3954500963e3edf77b4f9f08a088782f7f4985a6f40205fc51edbbd2c2
SHA512
d0cabf90f86625152265588d13708c3cb304c435e1b385024ecf79a52cc629cbc76828fdbd987db9e481012aa6790b94db50d8660c8aa2ce7c9f9255511192b8
+DIST firefox-140.1.0esr-km.xpi 348188 BLAKE2B
b060f6992cca2304d7716a7f8e34042bf1ee0e95f22e8ba241fddd9a7d93860d6755900f1681a9628d82a6450baa9f47bb56473571f9f6edeb57661cb191dd3f
SHA512
a3eff14ad93188aa972f47c26bc85429d78af94fa751c74dc856c12e9b252bcfad778ccb8394a01b3bca25bffa390c0b04318a9c9b8f4587aaa1ace5b9830fa8
+DIST firefox-140.1.0esr-kn.xpi 331276 BLAKE2B
31428e668f9a71e95d3be9dd7cd0d5dc0665e7484616660d3f228e6751b6addc1291058568dc6530d77c243d67a5989c7232b794cb926a226892c36e00131782
SHA512
e02de38aea7550424b852246dd45a7eb1b27f578d03f1802df62cfa4231dd63df921ec5ff8617f8acd301639a8ca8eec501ee44435fd4bb4105160ccdaf7ecf8
+DIST firefox-140.1.0esr-ko.xpi 466752 BLAKE2B
2ce81b0bf1bb7db6e63a983088cd26657136c3754c02e99f23c02c0e99d9dfaf0e6265d2148ecb302c07e9b89cc4846d1ec59e329c9d01c454c729b354792c0c
SHA512
f86389827abe5d484d081ee74633c4d7e4d1cf88b25a7b3f0427f3cd2c0983d0f21ec6353d6c7927346ad3c7f69e2159b42406612de4a3419888521de77187cd
+DIST firefox-140.1.0esr-lij.xpi 318010 BLAKE2B
1a0c605e96f79bbd4e8dd1dc155a7af29e4935a785c613e86c2c5911bcb5674c8951fd7d0dd953994064cc079975fe16f2c8ceac6e8acd33a92f1d51cdf13371
SHA512
8c74cb7fe2aca909a565396b1e5b064f50e29cf64758652271c0d60057dd86002d545e1fe2916ecea4d13d9db9e5d00f57eedbfb023fe47a17782fab5c05da1f
+DIST firefox-140.1.0esr-lt.xpi 379457 BLAKE2B
44ff70242a400353e499ec82afcab645dd64747bea94a6fe7033e63641f1c6ad50611fae69b10e34ef9716afcabeeaa5938caf5ddaabc2f6898ce913e5975160
SHA512
7bdc7a27cf2d4e29418e234359feb3f08e6624a56a7ad6b06a80e8f5bfe601d76919a1c1eda18de5434812680d336ef2bd587a0dca642e1e61a843762d7065bd
+DIST firefox-140.1.0esr-lv.xpi 384039 BLAKE2B
0504fd944ee345beeda8273436bce37c88b5b82189549261f343043537654d361298282d688f1898cd1b63df55bdbcb75e90305c7a8b96744472bdab571acbe5
SHA512
152e48271ef17602b97b97d7c7e08ebfdfa5a3975126e78a0f5f7232c8b26d8108aa37b10b6b1a3a512774cc543ee5c45cd5fe93e5e2717d787b9f898e232a84
+DIST firefox-140.1.0esr-mk.xpi 316309 BLAKE2B
d980c3f07fb97f8891a0f31befbbc5bd23ffbc7ca492a5f303be2faf5ccb397fa92db84e16b44538e16950bc84ee247c8692ff1649a7ac59cace3aa4ae983f75
SHA512
48d9c5ccf1a3653b4567e1dc5008bca9f6f777d58413a78702104ce576005744174bc59f0e68dc32d46915ae231295dc608ae6c648caccbd2b772f81d350e087
+DIST firefox-140.1.0esr-mr.xpi 355748 BLAKE2B
44008e9cb8e148a9186e2af2b52b359a3155903801eba2cbcf4d9bf9bc935abd2d7a053c0ddc94e51a92b4cd16794af1db78eda098363659cd8dec8bdffcba8e
SHA512
fe67dfbc4fa78f20fcf05175a9bb0b81eed73132a7d414bfd2707933b2e2b8bc9432717e909e8b7b18644b1db532e6ae7439fb22c4696ce9cfca53d8b773d218
+DIST firefox-140.1.0esr-ms.xpi 294880 BLAKE2B
dfc178baee7ff7f5ffa8fac89138ea48a781288acf8911f317f1b24dda33daa61abe3e1d08e44ef55744bd0d6e2ab39828111954e357326b0b2736c94dab848a
SHA512
a7b85293f4a3d551c79fa65d37330402adc1695e2b78a8ec82250e3e2644b1641c618020a80a1c637e93273336c16a695dcbd42de95d5ee3ad345fbfafdf53a8
+DIST firefox-140.1.0esr-my.xpi 342540 BLAKE2B
2d8029e3d08afca33087944f1481dd6fabe69205c2b47e37c2eea542d3ab8a4325cb5d94ef8be6f2fe86078e3b246dd6004ee25eba506bcdc15afc033a66cb4c
SHA512
80e980b8f40a9343609ccbbb3387c22e9a5f74458894fb87c5120f459aa15ca0e688029ccf63a4d523ee143477f9fd509f1109d7b08f285ea2f411423707dae7
+DIST firefox-140.1.0esr-nb-NO.xpi 423629 BLAKE2B
693980405e9f6fe630fe1c1a3bb96b55481b294ec03ec5653c77c071fb03cb80b8e68adf14d1f108161a758040934ae342902474adb468ad8c3812906191d51a
SHA512
7998beb3e1ac9553842ddd8ad19187929d404a386f2b4f07dfe77e8cad6fed637773bd63fa4d2b05da11e6594f6ad0a94629a4bf6c4cc5383ceef5035e74c1b8
+DIST firefox-140.1.0esr-ne-NP.xpi 348485 BLAKE2B
a3991f34e8ab3659734eb409fcc1134456f1ca749a6ac2325482caf7276e9ffa8d6eaaa46e7e542015778facc6aa145f46e77615425006f1ac1255dceed4203d
SHA512
f9e2793521241de964a47fd868a850de3563d334b6b5fe09cf1e34261060582dc4395be21146bb9f3b6bca4ca084803816cbb4235239c61ee04917f9d27c7397
+DIST firefox-140.1.0esr-nl.xpi 435437 BLAKE2B
8954b45e164b7c829a33aa863d8264513f7adfd74f021c0caebacd4a4e7b66a704c156663a50a83641226f6d06fdb5b06cb0adb190319933b9518d7e57255584
SHA512
1750074974810b03dbf9e68f66495078084de09b675b54e856db14b62320a28a081203972c21707904eec0b515a0fae0a667c26c3f5de9b1312d9e3d18759f4b
+DIST firefox-140.1.0esr-nn-NO.xpi 427001 BLAKE2B
2c9396a750425f12c5a1aabc4cb14513bee31f152ce62556a5dace6752771e29da80c5739ee54cb51a4e579d60439b743b46c97734ae8d9120493f5e3db23c17
SHA512
3959f232e0f22eeb26c4c2a10b602dbd982223b21310165e31f67e6a66f5a14cb6b3c2e7546d7ff53204bba99e953ff98cbea8fc44e85909c9b5d429adcd4ab3
+DIST firefox-140.1.0esr-oc.xpi 410440 BLAKE2B
7c14c9f66b0d3e4aaed7a977c2b653d2a5ea480100408974e4f4187e0ca773221a6ea3ff4a78148390d5bbc7251890550d31c84ba043b77c96fb1ca88ecf9145
SHA512
9f5a903d675cd6b90aefbc943b7550a209c0397a39eac8180631841657e2d4a127b718e884c0a4972ad12fe7391adef8bac1e0fc0eb3e81913a432cfcdabfb88
+DIST firefox-140.1.0esr-pa-IN.xpi 491032 BLAKE2B
13c690a922cdd974245047faeca1cc2d0400829cdba5bbb79a2cf870d14f60b6244bbcfcf015e1b2cdbc78e5574991c8ded85ac70769496339dbe942c7831193
SHA512
8908a4e1cf3112f565b4ba309c7d7093ec598a0e7e3985a927a044a0aec2bf2b0f07bfc78c00fd8cfb4d2825c173aaa9e696c58d9e6b6427f966b4eac55b5121
+DIST firefox-140.1.0esr-pl.xpi 459750 BLAKE2B
f9a236f7183843c8f6b1bc1dba7e9e49bf8afddf377ecc1d6a22ecccf8522680d1e03937252645eb02bd2ec56ec2877cd799d14f43ee68ea3c4b089b3ee349bc
SHA512
0fa6eb6ab877b163d882ec7c80ea31ae446b398e46d7c91c081d7de7a207982013aef701729278f357714fe01089c3c1b7e788b7c6a23bd143f8ee479f76f686
+DIST firefox-140.1.0esr-pt-BR.xpi 439996 BLAKE2B
96d278186a902ad08415dbd7ee45730da4236877c592363b6f18327bf419dc98a7865605370a51609ef0ac7b5f65ab82d4574d805eb15bc2569846de5fece703
SHA512
0b6281f58baf9916164bd97f05d2e38a98e3cfd66050633dcc3b77dd7a6a2d58cffcb04333f9913b8b33ef12db851e846fc4a0d00a88264dec5aed2772ec6424
+DIST firefox-140.1.0esr-pt-PT.xpi 445786 BLAKE2B
b102d9ac8eb13b88d2e080bb219190a991e26bf1130987971248933e66b252338b26e6a810295fa5d224068759938c9c2ffd44068d3abea40c0241c508db0a93
SHA512
537820bdd1ce698139cdbbcbfe7bc385acc7fd4f452ff22b75eaf0549cc978689a659ed5066a3747d18ac92d55a8e3a2cb019a5cf1e4c333592906f0ebbfe1de
+DIST firefox-140.1.0esr-rm.xpi 435118 BLAKE2B
102f0d7487bc5cf77086d4f6b028d45e56b1146f714ad9afb9c6198379221d1ac01eb920e7494537647b3346af8c6a125d32119f47e9e868732a8979b7c89f2c
SHA512
ce1bde0f307c6ea5c4a22bdc72408604deaed1b765738d02c8bd21cf1a7943c68631270804cdda2414e049f2d4eb47f9b698f0c733ada91c04ef2fb99f4ded37
+DIST firefox-140.1.0esr-ro.xpi 365397 BLAKE2B
6c6ce581aefe8baed83267fd36547963ede33d8468f384ab3e3d9b7de817db84c2dc7c052b633ee4f4deb4625b822c0819d59e96d4a0791c30a91ab1a3b4123f
SHA512
664f41484fad973e14608b1393dd4624ea41372067521c9d3d3ddb107506c772c9042155a6d0e33cd6077f17529121b3ccac43c6f18274ca25615a347167075d
+DIST firefox-140.1.0esr-ru.xpi 524311 BLAKE2B
addd506045782ce27456a041bd94d603d0c43566fed92f1e8cd82a029cc8ac1999c601e21017406bb98537cfd033fb738be27b091a7193229f5c329ae522421f
SHA512
7479c5077785d2bf4a3f3d49f53aa5166ca9a967f444d8e427b413e831deda027d66deb18a7bacdc458cc7f8cdd5d9adeef5ef3ba9dc9cbca9fee5c76a88a7b6
+DIST firefox-140.1.0esr-sc.xpi 401420 BLAKE2B
be50f420303204327afad06daabcf1a84b15976937b3a97275258e181d79b0bac5fc9f2faa7ba82ffe3bead6b6615b658573bb4ced18b494d04dc9bbccd294bd
SHA512
5307b88820771c01c872a95bdccac3cdf5edc993fd929734597bafdd1e5c5ea58e8987a735f6cafa7a02b2de47da9076eff5b8445ba0e81b924f73fbeac3fe01
+DIST firefox-140.1.0esr-sco.xpi 322160 BLAKE2B
a2407c52b11c421ccd9ad90172ca2d94682b8b54bfa002fc653f84f48932a13532d9255bc4057783b0ca73c0973a091013b35deacc2fdc254079e9346169ea0b
SHA512
415ba1d1c635343e42889ea94851f1dc73a99a1db2b4e3716e183effd4ca573526901648d3dcd0e991d1d4ca1c4acabba209859bee602c00abe0ee95996f76ce
+DIST firefox-140.1.0esr-si.xpi 411057 BLAKE2B
a57c8edc7e5f0ffe3a181a7b65f8361fc969bf43b62add0bf0c4555723b54a0672a7e64a1e36e0a08541290c45145d9ff81197edb805238fc25ccac3016c8e55
SHA512
13ea97c24026c0bfde1de2959a157942afc12abae3ca24cd4df167e97f58b41f4a7c8c41b307c64870ddda5be6ca4ab5724f7c6aa5e2fc9397af0b7b28e49b0c
+DIST firefox-140.1.0esr-sk.xpi 467192 BLAKE2B
734ceb3e35fcf14592c2cf0a886ebb895ce19bfab35b4e9ce833f9651960a93fb2a921ff7145633ee63504b4bd81cd6a328364457a8adc910f409c08f54b8918
SHA512
950175b90a6d5c200c18da3c319816403c94650eac887261fb94f70752ae85ca79ef25bb575934a1e84dc8844ea10eacfcd10dfef164221b8fb82b9e3bf24ef7
+DIST firefox-140.1.0esr-skr.xpi 485338 BLAKE2B
93b89c914e2a359fd38fc7f11bd71924fccb79809cc2ef0f0cc80c28db38a6b31bb81478db4fb19b07d759d90685cd28d37934525255ed47bca630c35e805015
SHA512
bfe429708543a6eebbe2a8e0130cd1b3e06628611c62f02242bb9d58371a611e7fe69f82d04031236a5f9d05d7bcb4db1d3197878cac483eee98bf5b47aed114
+DIST firefox-140.1.0esr-sl.xpi 440270 BLAKE2B
400e9977912fee1f4911e1b02e83cb8cc9cd1a213c19b17b54cb509ebf3f24ef62b043f1fe40587f0a7a1b17a9c18308a46e44df61a4e52e973d1cfa7ddf6cfa
SHA512
4d597faa8e575152d04f8e75db98ac9dc4c4cad9a8544c055c9ab4a265b2bf76c82a2f31fde7d3e66f228b1addc36304dfa2ba85fd29ec1f52436d8787188c37
+DIST firefox-140.1.0esr-son.xpi 272639 BLAKE2B
25a7b4c7a618f1693e296ad1e285a90e41a267185e8cccab2a510258752e3dbfc80fd5de0b405d963e4134be252c7c58cdeb0cafd812a4fe1494978e97c2294a
SHA512
efd1218760d2e7c8a8c991d2bec3bab374cc8e9a2c5b908e3cf28494db65c799e01b4ab1d584e93b0a4b438ce4884d6661b51c91a9218395987ec4de65c62c0c
+DIST firefox-140.1.0esr-sq.xpi 452609 BLAKE2B
85eb29570765c0ed33c97b123761c16062319fc47bacb1a843fdc47cf98bb7988fbb589e5dce9496161a3d80a72e7da4e30b4328d314f7ce4843c7b69edcaaba
SHA512
3d1f996dbd798b0e35326f76d348ada1678eec5b4d674ad3ad398ea8dc344dcbd677329d94d4d822593bd5396122da44032e7f27ec261dce1c38acc7484a7797
+DIST firefox-140.1.0esr-sr.xpi 449706 BLAKE2B
839d0c7504b93497a8c48807b0345371e64081f64166216b81e7e363e4d1f47f710f8c0bff6ef67e8f900a3004f1358272a90de8165b6c5436e891b84bcbfefc
SHA512
8b4d346e0dab8354cc22657abde542e3a1c3a95ef744af4df8b31b7633d3eca0776cf33a08f901d98cb787defd6e2d2c58bfb63f15a382dce5e8276514172d89
+DIST firefox-140.1.0esr-sv-SE.xpi 435400 BLAKE2B
e68e4f44bd55c4fed140c76483bac2072868e7572ff902b0e3c404e9794e568ae13d80b3014f3180f770cfac52c21b518f0125a19cea4b880ee4572c5c3dcaee
SHA512
a36527bf66d51e0a88358858aef9ea5af69f71a7172260388bad899abc7198139445691e31367ce7dda53eab5da91c1fabf351872c1fcaf5d27ba798721aff5d
+DIST firefox-140.1.0esr-szl.xpi 341190 BLAKE2B
fd1d981c67365bfae29b62fdcd01b74bf20acbdca02ff2d72011a48c0b5fd3ae1df8716a69f09633833a7eba72a692582ab670f0f68a3236e69dae58a91e2147
SHA512
09bfaa994e00a4ed29849780752553cd0a4acb58e7b461e6f88321e03d97e6b8a8ced40038988656404c79a38edc5b9724ab1064932728e4ca2e9711ddc4ad9a
+DIST firefox-140.1.0esr-ta.xpi 337497 BLAKE2B
c63dd3d23c30ba9c8be15d6199af2c0c12fc7233de3495b338a101fee3d30ef2ca3ee83098e3085d6d83288ff1232e7f69ee35c16c366d05638575a208115b1f
SHA512
c94fe3e569b94bda010b23c58bdd8663428dd7da47a63b321da0ad40145ed967d0f7b370500e0ab01abda75523fde2ca0420ca993934ce784df90f1035c2299d
+DIST firefox-140.1.0esr-te.xpi 381675 BLAKE2B
700de1a4736d5060eae667a2f400cf6ac5c692b20e27800e93b4a64a0ba7b6eb4f9bdceab001cb2885dc0df370ffca095929b532953e067261252afca4ee894d
SHA512
a5977fb9a024314ade712e49816189f0bf261991ec0ffe0b44c00dcd8ad87d11c3300520d70e77d3810080d6361a4768b9bda9217d1cec373ca0eb75a949ec93
+DIST firefox-140.1.0esr-th.xpi 502959 BLAKE2B
899ec0d2e01939c54e778e7b7df049de205ab57e51efc2c70ab9d4983ce365982edaedd21f16511e6aa181bab1a7a055ee78032fcc110c5650a6a5b859f6ff94
SHA512
4cb34ab4824cfe88b97bb434c3cdbb04e31658233b39f16d2bcd35b7ff014ef2a61735372b7311317afd8ba208c23cee037c6f44c362362b309c042e8096b838
+DIST firefox-140.1.0esr-tl.xpi 356146 BLAKE2B
1512a3c450ca5dd57db883287d12ac394e4d7169f67e3073e94ccf2892de3f0f609dbf1232fe5ad96462867d31adea1e2144ada8f541218c8edb9e167c43c921
SHA512
8e418ba16df8eb14293e954e887d7324893d05b2dc8e1668ab7f20564adc4a848c71965317bfbfc0fb7b980bb00c2bfa22b0d6b00f2c606e125d2cd09a1e2f88
+DIST firefox-140.1.0esr-tr.xpi 447912 BLAKE2B
f73dd2b424d572d47907ac6e6e3f0fba0775d540d4c4b0096538426db12ce6be986814c075855ab4f0e5fabaab3e82b64a9e3361290228cb8d7d11a9589e25a9
SHA512
6da52c1fd1409d36661d7e8713dc4a81d45b7ac8822ce8ec1da18929ff8e3ce764e7c04c27d6e18a4d9f1a1316e09d0c497b1ca91e49a236c4384b6933b4ddfb
+DIST firefox-140.1.0esr-trs.xpi 322012 BLAKE2B
50692fa248e581f86795cfaeee60df386bcba29025166933f32ee7d8173ca777d20241d1e9aac0a5b7eb9bade6f074967f7508edac1a3e95600c98883af6b2a4
SHA512
9e9a983b828d332ac8c45d749e73fa35748fac9257d1d5d05025da5b025b5a9b648837770b1c4b47669b9a2f6bfd796be87ea6f00db8df8c0fb60dad2cdc2af5
+DIST firefox-140.1.0esr-uk.xpi 513992 BLAKE2B
f50991675aeacd52a04f647e1dd465006464820b42af48d8fc4acb8d590de58b8d8bc33f1388f0d5d0e2e7b561b0705a5d2bfee0c5d2ac66ba79c3a5176ff56d
SHA512
39c72dfdd154cf5bb4aa6b9df9194726eee294c77b4a55a4a0fdf705778c4bbd37a2c97e5b1ea08b6da06125936ecbe65c65dc936c5452a85066b6b1fd615bd8
+DIST firefox-140.1.0esr-ur.xpi 369647 BLAKE2B
29ef464caaf5d75776cca8406d318d963ec21c9f65048b805a28f65b535836b83e0e8c9d8eb54f6a1b98fee845683bc725b78c3d19d3cb5194441f25041d4a19
SHA512
e405913c46ca9b9d1472184e7e259be6b7cb8780d1d936cc272e51326f4a6027cc601de89c2f5f292b307e9da63e2b6051fedc2012f6fbadbf85727f6b6e166a
+DIST firefox-140.1.0esr-uz.xpi 302983 BLAKE2B
c727e39bfe81b08658fe623c1913df899ed8c79d32fe7b5ad639d4eb87c2be23cd57b80eae4271b24fe42785fad5503a9a92533c672c84ae1e9fb0f387ff5772
SHA512
7d4920746b17e1dfdb6044cde608ec5fff1b4fc800b701ef1ab1194a48558194f57e2fd8e0884af3173b764c945aabd7a2e92683efda5e44eee1131184b5ffa5
+DIST firefox-140.1.0esr-vi.xpi 468229 BLAKE2B
f61d4d1a3212bf19e46d55eee0aaba21d72b1f70bce5853cf428aa5bca70f6956fd3fc8cd683badf70054312856d81595f5c38a0a01090486d5f62e94a39ef43
SHA512
e73465d9023d584f9e5bb8f58a8f269e4b8ef50faa9c31e92d9e3bfe008c5c432fea975f849e8e4ae57510402c5396dc8043ec0a3be4c9438d1d1109e76f8b47
+DIST firefox-140.1.0esr-xh.xpi 272291 BLAKE2B
8943c0d5bc50f48e1fde1a082a846490350ba05d4ef4e834941ccb8d64ac3bf5684f54850315c558dae5557e3aa53bcaf981a0aeadd4f3c45f75cd7b832c5862
SHA512
eccf6ea1fffc0f3bf616b570580c22dbaede54c7f08e2f46616311828a8c2dda2d1463b543ad59feab087ed4d1608e8cefd55bd66bc9ec98006b5886713faba6
+DIST firefox-140.1.0esr-zh-CN.xpi 460053 BLAKE2B
f71041d40adec9558e57a3fa5a222939bfc08065eda787d87d15a313a95e05fce864791c4227c9db1433fa8f12122ef987578a42b27a5743861236e73e6d2e50
SHA512
b3f4fcb1ee205a244be8f55acff00968b9352473996b4c5125d1d3a4f61539725866add0d6c00e2393a969981234fb6edef5e0dc2068011f6a3e97145d9da9dc
+DIST firefox-140.1.0esr-zh-TW.xpi 462985 BLAKE2B
af6a1315d5a8118930cf88840bd5e66bd5de6c5ca3dae7625565859d2c62b9a264bcefd48fca3f0675f0b4e8f33f0efd72fca60ca7951b66b5ca1ccb208e784a
SHA512
1fa0a210313de22854c5ec193abc5b39a35226c0dc7518d1629dca31de82ae2a330aa58a726726fd632814fd436fd583733d0b7f97b7ae9a52a8ce9eb82b380b
+DIST firefox-140.1.0esr.source.tar.xz 638937036 BLAKE2B
8a6c1f50802cafc171a4c5a197afd3c724053203d5d92fe35a7453fa1a8c05c743c246b1ac257f073f70b485fb0d5a68071254587677c55926aeeed0e0bc87cc
SHA512
1b5caff9b381cd449c40d148542501f7a31a7151a3f2f888e789c9743af8ee1d1eddbd970f8c0054902d1e1d739221db0cfcf1dc6ab704bb83bbb7b7b6a20055
+DIST firefox-140esr-patches-01.tar.xz 11100 BLAKE2B
7a433e80efab15386ea69fdabae0354fb7ca431e0370fd642a864e20b2a6b558a187580513bbdd92b2eea98059eb4ebc5eb2117ebdab810643a842eeb0d82da7
SHA512
50a33f760d57c52a233fe6769931a5c869f72e68af2492fb068f2e3f2a3de5acdf21beea01dc6069911bd00f15c16b26e40e58a9c4f332d3247bbdceac4cde93
DIST firefox-141.0-ach.xpi 293971 BLAKE2B
0a7e5f30d0894687ed16129a610a5cb5cb4b3b7a8620b10c2da6610f97e238273dbbdb473d16a85ea6eca93315bd4a7c8421b30856d23baa52c3b9e19b780d4c
SHA512
ae7507bc62eee58eff42dec17a89d5bbdbe4ba8ba1498c301ab75484f99159194ccccd06bdb548443fc05f8322113c58b44af8b943c08f549892fb9d64506232
DIST firefox-141.0-af.xpi 267008 BLAKE2B
9ae2f362e2b27a578c18eb5894e3b885408b4b5df9ca643acadc67b1193bc16a2082915b74cbffb45064ad1390f535f58b47306e032b538762fe1f8172421d7d
SHA512
e1ea09e1f53ec02908939feaa4ef836c47e3b5d59d1742fece1775bfe299274396f3e0cce0a689de69f7f0bfc4fb80e3e0b8eb7c99b9a24a902366e9481990a4
DIST firefox-141.0-an.xpi 331809 BLAKE2B
39843f4276abd0d4370ca3a47231385b3459f2cf7b9852ada1cb2af17bab3ed123c81f05283c1f135ddab3366b95d0f1ce07aed7aa1ce4ed57513c9ad3b4ab8a
SHA512
82ddb23224d8a5cfb22339539d19feb06d9373920751359da9e0a18649749e42096cde16df8891b40aaba66dcb2bbb4a5ed8582fd540263a3af2fb8ff748ab0f
diff --git a/www-client/firefox/firefox-140.1.0.ebuild
b/www-client/firefox/firefox-140.1.0.ebuild
new file mode 100644
index 000000000000..07c9cfb6ca23
--- /dev/null
+++ b/www-client/firefox/firefox-140.1.0.ebuild
@@ -0,0 +1,1390 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FIREFOX_PATCHSET="firefox-140esr-patches-01.tar.xz"
+FIREFOX_LOONG_PATCHSET="firefox-139-loong-patches-02.tar.xz"
+
+LLVM_COMPAT=( 19 20 )
+
+# This will also filter rust versions that don't match LLVM_COMPAT in the
non-clang path; this is fine.
+RUST_NEEDS_LLVM=1
+
+# If not building with clang we need at least rust 1.76
+RUST_MIN_VER=1.82.0
+
+PYTHON_COMPAT=( python3_{11..13} )
+PYTHON_REQ_USE="ncurses,sqlite,ssl"
+
+VIRTUALX_REQUIRED="manual"
+
+# Information about the bundled wasi toolchain from
+# https://github.com/WebAssembly/wasi-sdk/
+WASI_SDK_VER=25.0
+WASI_SDK_LLVM_VER=19
+
+MOZ_ESR=yes
+
+MOZ_PV=${PV}
+MOZ_PV_SUFFIX=
+if [[ ${PV} =~ (_(alpha|beta|rc).*)$ ]] ; then
+ MOZ_PV_SUFFIX=${BASH_REMATCH[1]}
+
+ # Convert the ebuild version to the upstream Mozilla version
+ MOZ_PV="${MOZ_PV/_alpha/a}" # Handle alpha for SRC_URI
+ MOZ_PV="${MOZ_PV/_beta/b}" # Handle beta for SRC_URI
+ MOZ_PV="${MOZ_PV%%_rc*}" # Handle rc for SRC_URI
+fi
+
+if [[ -n ${MOZ_ESR} ]] ; then
+ # ESR releases have slightly different version numbers
+ MOZ_PV="${MOZ_PV}esr"
+ HOMEPAGE="https://www.mozilla.org/firefox
https://www.mozilla.org/firefox/enterprise/"
+ SLOT="esr"
+else
+ HOMEPAGE="https://www.mozilla.org/firefox"
+ SLOT="rapid"
+fi
+
+MOZ_PN="${PN%-bin}"
+MOZ_P="${MOZ_PN}-${MOZ_PV}"
+MOZ_PV_DISTFILES="${MOZ_PV}${MOZ_PV_SUFFIX}"
+MOZ_P_DISTFILES="${MOZ_PN}-${MOZ_PV_DISTFILES}"
+
+inherit check-reqs desktop flag-o-matic gnome2-utils linux-info llvm-r1
multiprocessing \
+ optfeature pax-utils python-any-r1 readme.gentoo-r1 rust
toolchain-funcs virtualx xdg
+
+MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/releases/${MOZ_PV}"
+
+if [[ ${PV} == *_rc* ]] ; then
+
MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/candidates/${MOZ_PV}-candidates/build${PV##*_rc}"
+fi
+
+PATCH_URIS=(
+ https://dev.gentoo.org/~juippis/mozilla/patchsets/${FIREFOX_PATCHSET}
+)
+
+DESCRIPTION="Firefox Web Browser"
+SRC_URI="${MOZ_SRC_BASE_URI}/source/${MOZ_P}.source.tar.xz ->
${MOZ_P_DISTFILES}.source.tar.xz
+ ${PATCH_URIS[@]}
+ loong? (
+
https://dev.gentoo.org/~xen0n/distfiles/www-client/${MOZ_PN}/${FIREFOX_LOONG_PATCHSET}
+ )
+ wasm-sandbox? (
+ amd64? (
https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-${WASI_SDK_VER/.*/}/wasi-sdk-${WASI_SDK_VER}-x86_64-linux.tar.gz
)
+ arm64? (
https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-${WASI_SDK_VER/.*/}/wasi-sdk-${WASI_SDK_VER}-arm64-linux.tar.gz
)
+ )"
+
+S="${WORKDIR}/${PN}-${PV%_*}"
+LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
+KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
+
+IUSE="+clang dbus debug eme-free hardened hwaccel jack libproxy pgo pulseaudio
selinux sndio"
+IUSE+=" +system-av1 +system-harfbuzz +system-icu +system-jpeg +system-libevent
+system-libvpx"
+IUSE+=" system-pipewire system-png +system-webp test wayland wifi +X"
+
+# Firefox-only IUSE
+IUSE+=" +gmp-autoupdate gnome-shell +jumbo-build openh264 +telemetry
wasm-sandbox"
+
+REQUIRED_USE="|| ( X wayland )
+ debug? ( !system-av1 )
+ pgo? ( jumbo-build )
+ wayland? ( dbus )
+ wifi? ( dbus )
+"
+
+RESTRICT="!test? ( test )"
+
+FF_ONLY_DEPEND="!www-client/firefox:0
+ selinux? ( sec-policy/selinux-mozilla )"
+BDEPEND="${PYTHON_DEPS}
+ $(llvm_gen_dep '
+ llvm-core/clang:${LLVM_SLOT}
+ llvm-core/llvm:${LLVM_SLOT}
+ clang? (
+ llvm-core/lld:${LLVM_SLOT}
+ pgo? (
llvm-runtimes/compiler-rt-sanitizers:${LLVM_SLOT}[profile] )
+ )
+ wasm-sandbox? ( llvm-core/lld:${LLVM_SLOT} )
+ ')
+ app-alternatives/awk
+ app-arch/unzip
+ app-arch/zip
+ >=dev-util/cbindgen-0.27.0
+ net-libs/nodejs
+ virtual/pkgconfig
+ amd64? ( >=dev-lang/nasm-2.14 )
+ x86? ( >=dev-lang/nasm-2.14 )
+ pgo? (
+ X? (
+ sys-devel/gettext
+ x11-base/xorg-server[xvfb]
+ x11-apps/xhost
+ )
+ !X? (
+ || (
+ gui-wm/tinywl
+ <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.112
+ >=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/libdrm
+ x11-libs/pango
+ x11-libs/pixman
+ dbus? (
+ sys-apps/dbus
+ )
+ jack? ( virtual/jack )
+ pulseaudio? (
+ || (
+ media-libs/libpulse
+ >=media-sound/apulse-0.1.12-r4[sdk]
+ )
+ )
+ libproxy? ( net-libs/libproxy )
+ selinux? ( sec-policy/selinux-mozilla )
+ sndio? ( >=media-sound/sndio-1.8.0-r1 )
+ system-av1? (
+ >=media-libs/dav1d-1.0.0:=
+ >=media-libs/libaom-1.0.0:=
+ )
+ system-harfbuzz? (
+ >=media-libs/harfbuzz-2.8.1:0=
+ !wasm-sandbox? ( >=media-gfx/graphite2-1.3.13 )
+ )
+ system-icu? ( >=dev-libs/icu-76.1:= )
+ system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1:= )
+ system-libevent? ( >=dev-libs/libevent-2.1.12:0=[threads(+)] )
+ system-libvpx? ( >=media-libs/libvpx-1.8.2:0=[postproc] )
+ system-pipewire? ( media-video/pipewire:= )
+ system-png? ( >=media-libs/libpng-1.6.45:0=[apng] )
+ system-webp? ( >=media-libs/libwebp-1.1.0:0= )
+ wayland? (
+ >=media-libs/libepoxy-1.5.10-r1
+ x11-libs/gtk+:3[wayland]
+ )
+ wifi? (
+ kernel_linux? (
+ || (
+ net-misc/networkmanager
+ net-misc/connman[networkmanager]
+ )
+ sys-apps/dbus
+ )
+ )
+ X? (
+ virtual/opengl
+ x11-libs/cairo[X]
+ x11-libs/gtk+:3[X]
+ x11-libs/libX11
+ x11-libs/libXcomposite
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXrandr
+ x11-libs/libxcb:=
+ )"
+RDEPEND="${COMMON_DEPEND}
+ hwaccel? (
+ media-video/libva-utils
+ sys-apps/pciutils
+ )
+ jack? ( virtual/jack )
+ openh264? ( media-libs/openh264:*[plugin] )"
+DEPEND="${COMMON_DEPEND}
+ X? (
+ x11-base/xorg-proto
+ x11-libs/libICE
+ x11-libs/libSM
+ )"
+
+# ESR and rapid dependencies.
+if [[ -n ${MOZ_ESR} ]] ; then
+ RDEPEND+=" !www-client/firefox:rapid"
+else
+ RDEPEND+=" !www-client/firefox:esr"
+fi
+
+# Allow MOZ_GMP_PLUGIN_LIST to be set in an eclass or
+# overridden in the enviromnent (advanced hackers only)
+if [[ -z "${MOZ_GMP_PLUGIN_LIST+set}" ]] ; then
+ MOZ_GMP_PLUGIN_LIST=( gmp-gmpopenh264 gmp-widevinecdm )
+fi
+
+llvm_check_deps() {
+ if ! has_version -b "llvm-core/clang:${LLVM_SLOT}" ; then
+ einfo "llvm-core/clang:${LLVM_SLOT} is missing! Cannot use LLVM
slot ${LLVM_SLOT} ..." >&2
+ return 1
+ fi
+
+ if use clang && ! tc-ld-is-mold ; then
+ if ! has_version -b "llvm-core/lld:${LLVM_SLOT}" ; then
+ einfo "llvm-core/lld:${LLVM_SLOT} is missing! Cannot
use LLVM slot ${LLVM_SLOT} ..." >&2
+ return 1
+ fi
+ fi
+
+ if use pgo ; then
+ if ! has_version -b
"=llvm-runtimes/compiler-rt-sanitizers-${LLVM_SLOT}*[profile]" ; then
+ einfo
"=llvm-runtimes/compiler-rt-sanitizers-${LLVM_SLOT}*[profile] is missing!" >&2
+ einfo "Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
+ return 1
+ fi
+ fi
+
+ einfo "Using LLVM slot ${LLVM_SLOT} to build" >&2
+}
+
+MOZ_LANGS=(
+ af ar ast be bg br ca cak cs cy da de dsb
+ el en-CA en-GB en-US es-AR es-ES et eu
+ fi fr fy-NL ga-IE gd gl he hr hsb hu
+ id is it ja ka kab kk ko lt lv ms nb-NO nl nn-NO
+ pa-IN pl pt-BR pt-PT rm ro ru
+ sk sl sq sr sv-SE th tr uk uz vi zh-CN zh-TW
+)
+
+# Firefox-only LANGS
+MOZ_LANGS+=( ach )
+MOZ_LANGS+=( an )
+MOZ_LANGS+=( az )
+MOZ_LANGS+=( bn )
+MOZ_LANGS+=( bs )
+MOZ_LANGS+=( ca-valencia )
+MOZ_LANGS+=( eo )
+MOZ_LANGS+=( es-CL )
+MOZ_LANGS+=( es-MX )
+MOZ_LANGS+=( fa )
+MOZ_LANGS+=( ff )
+MOZ_LANGS+=( fur )
+MOZ_LANGS+=( gn )
+MOZ_LANGS+=( gu-IN )
+MOZ_LANGS+=( hi-IN )
+MOZ_LANGS+=( hy-AM )
+MOZ_LANGS+=( ia )
+MOZ_LANGS+=( km )
+MOZ_LANGS+=( kn )
+MOZ_LANGS+=( lij )
+MOZ_LANGS+=( mk )
+MOZ_LANGS+=( mr )
+MOZ_LANGS+=( my )
+MOZ_LANGS+=( ne-NP )
+MOZ_LANGS+=( oc )
+MOZ_LANGS+=( sc )
+MOZ_LANGS+=( sco )
+MOZ_LANGS+=( si )
+MOZ_LANGS+=( skr )
+MOZ_LANGS+=( son )
+MOZ_LANGS+=( szl )
+MOZ_LANGS+=( ta )
+MOZ_LANGS+=( te )
+MOZ_LANGS+=( tl )
+MOZ_LANGS+=( trs )
+MOZ_LANGS+=( ur )
+MOZ_LANGS+=( xh )
+
+mozilla_set_globals() {
+ # https://bugs.gentoo.org/587334
+ local MOZ_TOO_REGIONALIZED_FOR_L10N=(
+ fy-NL ga-IE gu-IN hi-IN hy-AM nb-NO ne-NP nn-NO pa-IN sv-SE
+ )
+
+ local lang xflag
+ for lang in "${MOZ_LANGS[@]}" ; do
+ # en and en_US are handled internally
+ if [[ ${lang} == en ]] || [[ ${lang} == en-US ]] ; then
+ continue
+ fi
+
+ # strip region subtag if $lang is in the list
+ if has ${lang} "${MOZ_TOO_REGIONALIZED_FOR_L10N[@]}" ; then
+ xflag=${lang%%-*}
+ else
+ xflag=${lang}
+ fi
+
+ SRC_URI+=" l10n_${xflag/[_@]/-}? ("
+ SRC_URI+=" ${MOZ_SRC_BASE_URI}/linux-x86_64/xpi/${lang}.xpi ->
${MOZ_P_DISTFILES}-${lang}.xpi"
+ SRC_URI+=" )"
+ IUSE+=" l10n_${xflag/[_@]/-}"
+ done
+}
+mozilla_set_globals
+
+moz_clear_vendor_checksums() {
+ debug-print-function ${FUNCNAME} "$@"
+
+ if [[ ${#} -ne 1 ]] ; then
+ die "${FUNCNAME} requires exact one argument"
+ fi
+
+ einfo "Clearing cargo checksums for ${1} ..."
+
+ sed -i \
+ -e 's/\("files":{\)[^}]*/\1/' \
+ "${S}"/third_party/rust/${1}/.cargo-checksum.json || die
+}
+
+moz_install_xpi() {
+ debug-print-function ${FUNCNAME} "$@"
+
+ if [[ ${#} -lt 2 ]] ; then
+ die "${FUNCNAME} requires at least two arguments"
+ fi
+
+ local DESTDIR=${1}
+ shift
+
+ insinto "${DESTDIR}"
+
+ local emid xpi_file xpi_tmp_dir
+ for xpi_file in "${@}" ; do
+ emid=
+ xpi_tmp_dir=$(mktemp -d --tmpdir="${T}")
+
+ # Unpack XPI
+ unzip -qq "${xpi_file}" -d "${xpi_tmp_dir}" || die
+
+ # Determine extension ID
+ if [[ -f "${xpi_tmp_dir}/install.rdf" ]] ; then
+ emid=$(sed -n -e '/install-manifest/,$ { /em:id/!d;
s/.*[\">]\([^\"<>]*\)[\"<].*/\1/; p; q }' "${xpi_tmp_dir}/install.rdf")
+ [[ -z "${emid}" ]] && die "failed to determine
extension id from install.rdf"
+ elif [[ -f "${xpi_tmp_dir}/manifest.json" ]] ; then
+ emid=$(sed -n -e 's/.*"id": "\([^"]*\)".*/\1/p'
"${xpi_tmp_dir}/manifest.json")
+ [[ -z "${emid}" ]] && die "failed to determine
extension id from manifest.json"
+ else
+ die "failed to determine extension id"
+ fi
+
+ einfo "Installing ${emid}.xpi into ${ED}${DESTDIR} ..."
+ newins "${xpi_file}" "${emid}.xpi"
+ done
+}
+
+mozconfig_add_options_ac() {
+ debug-print-function ${FUNCNAME} "$@"
+
+ if [[ ${#} -lt 2 ]] ; then
+ die "${FUNCNAME} requires at least two arguments"
+ fi
+
+ local reason=${1}
+ shift
+
+ local option
+ for option in ${@} ; do
+ echo "ac_add_options ${option} # ${reason}" >>${MOZCONFIG}
+ done
+}
+
+mozconfig_add_options_mk() {
+ debug-print-function ${FUNCNAME} "$@"
+
+ if [[ ${#} -lt 2 ]] ; then
+ die "${FUNCNAME} requires at least two arguments"
+ fi
+
+ local reason=${1}
+ shift
+
+ local option
+ for option in ${@} ; do
+ echo "mk_add_options ${option} # ${reason}" >>${MOZCONFIG}
+ done
+}
+
+mozconfig_use_enable() {
+ debug-print-function ${FUNCNAME} "$@"
+
+ if [[ ${#} -lt 1 ]] ; then
+ die "${FUNCNAME} requires at least one arguments"
+ fi
+
+ local flag=$(use_enable "${@}")
+ mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})"
"${flag}"
+}
+
+mozconfig_use_with() {
+ debug-print-function ${FUNCNAME} "$@"
+
+ if [[ ${#} -lt 1 ]] ; then
+ die "${FUNCNAME} requires at least one arguments"
+ fi
+
+ local flag=$(use_with "${@}")
+ mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})"
"${flag}"
+}
+
+virtwl() {
+ debug-print-function ${FUNCNAME} "$@"
+
+ [[ $# -lt 1 ]] && die "${FUNCNAME} needs at least one argument"
+ [[ -n $XDG_RUNTIME_DIR ]] || die "${FUNCNAME} needs XDG_RUNTIME_DIR to
be set; try xdg_environment_reset"
+ tinywl -h >/dev/null || die 'tinywl -h failed'
+
+ local VIRTWL VIRTWL_PID
+ coproc VIRTWL { WLR_BACKENDS=headless exec tinywl -s 'echo
$WAYLAND_DISPLAY; read _; kill $PPID'; }
+ local -x WAYLAND_DISPLAY
+ read WAYLAND_DISPLAY <&${VIRTWL[0]}
+
+ debug-print "${FUNCNAME}: $@"
+ "$@"
+ local r=$?
+
+ [[ -n $VIRTWL_PID ]] || die "tinywl exited unexpectedly"
+ exec {VIRTWL[0]}<&- {VIRTWL[1]}>&-
+ return $r
+}
+
+pkg_pretend() {
+ if [[ ${MERGE_TYPE} != binary ]] ; then
+ # Ensure we have enough disk space to compile
+ if use pgo || use debug ; then
+ CHECKREQS_DISK_BUILD="14300M"
+ elif tc-is-lto ; then
+ CHECKREQS_DISK_BUILD="10600M"
+ else
+ CHECKREQS_DISK_BUILD="7400M"
+ fi
+
+ check-reqs_pkg_pretend
+ fi
+}
+
+pkg_setup() {
+
+ # Get LTO from environment; export after this phase for use in
src_configure (etc)
+ use_lto=no
+
+ if [[ ${MERGE_TYPE} != binary ]] ; then
+
+ if tc-is-lto; then
+ use_lto=yes
+ # LTO is handled via configure
+ filter-lto
+ fi
+
+ if use pgo ; then
+ if ! has userpriv ${FEATURES} ; then
+ eerror "Building ${PN} with USE=pgo and
FEATURES=-userpriv is not supported!"
+ fi
+ fi
+
+ if [[ ${use_lto} = yes ]]; then
+ # -Werror=lto-type-mismatch -Werror=odr are going to
fail with GCC,
+ # bmo#1516758, bgo#942288
+ filter-flags -Werror=lto-type-mismatch -Werror=odr
+ fi
+
+ # Ensure we have enough disk space to compile
+ if use pgo || use debug ; then
+ CHECKREQS_DISK_BUILD="14300M"
+ elif [[ ${use_lto} == "yes" ]] ; then
+ CHECKREQS_DISK_BUILD="10600M"
+ else
+ CHECKREQS_DISK_BUILD="7400M"
+ fi
+
+ check-reqs_pkg_setup
+ llvm-r1_pkg_setup
+ rust_pkg_setup
+ python-any-r1_pkg_setup
+
+ # Avoid PGO profiling problems due to enviroment leakage
+ # These should *always* be cleaned up anyway
+ unset \
+ DBUS_SESSION_BUS_ADDRESS \
+ DISPLAY \
+ ORBIT_SOCKETDIR \
+ SESSION_MANAGER \
+ XAUTHORITY \
+ XDG_CACHE_HOME \
+ XDG_SESSION_COOKIE
+
+ # Build system is using /proc/self/oom_score_adj, bug #604394
+ addpredict /proc/self/oom_score_adj
+
+ if use pgo ; then
+ # Update 105.0: "/proc/self/oom_score_adj" isn't enough
anymore with pgo, but not sure
+ # whether that's due to better OOM handling by Firefox
(bmo#1771712), or portage
+ # (PORTAGE_SCHEDULING_POLICY) update...
+ addpredict /proc
+
+ # Clear tons of conditions, since PGO is
hardware-dependant.
+ addpredict /dev
+ fi
+
+ if ! mountpoint -q /dev/shm ; then
+ # If /dev/shm is not available, configure is known to
fail with
+ # a traceback report referencing
/usr/lib/pythonN.N/multiprocessing/synchronize.py
+ ewarn "/dev/shm is not mounted -- expect build
failures!"
+ fi
+
+ # Google API keys (see
http://www.chromium.org/developers/how-tos/api-keys)
+ # Note: These are for Gentoo Linux use ONLY. For your own
distribution, please
+ # get your own set of keys.
+ if [[ -z "${MOZ_API_KEY_GOOGLE+set}" ]] ; then
+
MOZ_API_KEY_GOOGLE="AIzaSyDEAOvatFogGaPi0eTgsV_ZlEzx0ObmepsMzfAc"
+ fi
+
+ if [[ -z "${MOZ_API_KEY_LOCATION+set}" ]] ; then
+
MOZ_API_KEY_LOCATION="AIzaSyB2h2OuRgGaPicUgy5N-5hsZqiPW6sH3n_rptiQ"
+ fi
+
+ # Mozilla API keys (see
https://location.services.mozilla.com/api)
+ # Note: These are for Gentoo Linux use ONLY. For your own
distribution, please
+ # get your own set of keys.
+ if [[ -z "${MOZ_API_KEY_MOZILLA+set}" ]] ; then
+
MOZ_API_KEY_MOZILLA="edb3d487-3a84-46m0ap1e3-9dfd-92b5efaaa005"
+ fi
+
+ # Ensure we use C locale when building, bug #746215
+ export LC_ALL=C
+ fi
+
+ export use_lto
+
+ CONFIG_CHECK="~SECCOMP"
+ WARNING_SECCOMP="CONFIG_SECCOMP not set! This system will be unable to
play DRM-protected content."
+ linux-info_pkg_setup
+}
+
+src_unpack() {
+ local _lp_dir="${WORKDIR}/language_packs"
+ local _src_file
+
+ if [[ ! -d "${_lp_dir}" ]] ; then
+ mkdir "${_lp_dir}" || die
+ fi
+
+ for _src_file in ${A} ; do
+ if [[ ${_src_file} == *.xpi ]]; then
+ cp "${DISTDIR}/${_src_file}" "${_lp_dir}" || die
"Failed to copy '${_src_file}' to '${_lp_dir}'!"
+ else
+ unpack ${_src_file}
+ fi
+ done
+}
+
+src_prepare() {
+ if [[ ${use_lto} == "yes" ]]; then
+ rm -v
"${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch || die
+ fi
+
+ # Workaround for bgo#915651 on musl
+ if use elibc_glibc ; then
+ rm -v
"${WORKDIR}"/firefox-patches/*bgo-748849-RUST_TARGET_override.patch || die
+ fi
+
+ eapply "${WORKDIR}/firefox-patches"
+ use loong && eapply "${WORKDIR}/firefox-loong-patches"
+
+ # Allow user to apply any additional patches without modifing ebuild
+ eapply_user
+
+ # Make cargo respect MAKEOPTS
+ export CARGO_BUILD_JOBS="$(makeopts_jobs)"
+
+ # Workaround for bgo#915651
+ if ! use elibc_glibc ; then
+ if use amd64 ; then
+ export RUST_TARGET="x86_64-unknown-linux-musl"
+ elif use x86 ; then
+ export RUST_TARGET="i686-unknown-linux-musl"
+ elif use arm64 ; then
+ export RUST_TARGET="aarch64-unknown-linux-musl"
+ elif use loong; then
+ # Only the LP64D ABI of LoongArch64 is actively
supported among
+ # the wider Linux ecosystem, so the assumption is safe.
+ export RUST_TARGET="loongarch64-unknown-linux-musl"
+ elif use ppc64 ; then
+ export RUST_TARGET="powerpc64le-unknown-linux-musl"
+ elif use riscv ; then
+ # We can pretty safely rule out any 32-bit riscvs, but
64-bit riscvs also have tons of
+ # different ABIs available.
riscv64gc-unknown-linux-musl seems to be the best working
+ # guess right now though.
+ elog "riscv detected, forcing a riscv64 target for now."
+ export RUST_TARGET="riscv64gc-unknown-linux-musl"
+ else
+ die "Unknown musl chost, please post a new bug with
your rustc -vV along with emerge --info"
+ fi
+ fi
+
+ # Pre-built wasm-sandbox path manipulation.
+ if use wasm-sandbox ; then
+ if use amd64 ; then
+ export wasi_arch="x86_64"
+ elif use arm64 ; then
+ export wasi_arch="arm64"
+ else
+ die "wasm-sandbox enabled on unknown/unsupported arch!"
+ fi
+
+ sed -i \
+ -e "s:%%PORTAGE_WORKDIR%%:${WORKDIR}:" \
+ -e "s:%%WASI_ARCH%%:${wasi_arch}:" \
+ -e "s:%%WASI_SDK_VER%%:${WASI_SDK_VER}:" \
+ -e "s:%%WASI_SDK_LLVM_VER%%:${WASI_SDK_LLVM_VER}:" \
+ toolkit/moz.configure || die "Failed to update
wasi-related paths."
+ fi
+
+ # Make LTO respect MAKEOPTS
+ sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
+ "${S}"/build/moz.configure/lto-pgo.configure || die "Failed
sedding multiprocessing.cpu_count"
+
+ sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
+ "${S}"/third_party/chromium/build/toolchain/get_cpu_count.py ||
die "Failed sedding multiprocessing.cpu_count"
+
+ sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
+ "${S}"/third_party/python/gyp/pylib/gyp/input.py || die "Failed
sedding multiprocessing.cpu_count"
+
+ # sed-in toolchain prefix
+ sed -i \
+ -e "s/objdump/${CHOST}-objdump/" \
+ "${S}"/python/mozbuild/mozbuild/configure/check_debug_ranges.py
|| die "sed failed to set toolchain prefix"
+
+ sed -i \
+ -e 's/ccache_stats = None/return None/' \
+ "${S}"/python/mozbuild/mozbuild/controller/building.py || die
"sed failed to disable ccache stats call"
+
+ einfo "Removing pre-built binaries ..."
+
+ find "${S}"/third_party -type f \( -name '*.so' -o -name '*.o' \)
-print -delete || die
+
+ # Clear checksums from cargo crates we've manually patched.
+ # moz_clear_vendor_checksums xyz
+
+ # Respect choice for "jumbo-build"
+ # Changing the value for FILES_PER_UNIFIED_FILE may not work, see
#905431
+ if [[ -n ${FILES_PER_UNIFIED_FILE} ]] && use jumbo-build; then
+ local my_files_per_unified_file=${FILES_PER_UNIFIED_FILE:=16}
+ elog ""
+ elog "jumbo-build defaults modified to
${my_files_per_unified_file}."
+ elog "if you get a build failure, try undefining
FILES_PER_UNIFIED_FILE,"
+ elog "if that fails try -jumbo-build before opening a bug
report."
+ elog ""
+
+ sed -i -e "s/\"FILES_PER_UNIFIED_FILE\",
16/\"FILES_PER_UNIFIED_FILE\", "${my_files_per_unified_file}"/" \
+ python/mozbuild/mozbuild/frontend/data.py ||
+ die "Failed to adjust FILES_PER_UNIFIED_FILE in
python/mozbuild/mozbuild/frontend/data.py"
+ sed -i -e "s/FILES_PER_UNIFIED_FILE = 6/FILES_PER_UNIFIED_FILE
= "${my_files_per_unified_file}"/" \
+ js/src/moz.build ||
+ die "Failed to adjust FILES_PER_UNIFIED_FILE in
js/src/moz.build"
+ fi
+
+ # Create build dir
+ BUILD_DIR="${WORKDIR}/${PN}_build"
+ mkdir -p "${BUILD_DIR}" || die
+
+ # Write API keys to disk
+ echo -n "${MOZ_API_KEY_GOOGLE//gGaPi/}" > "${S}"/api-google.key || die
+ echo -n "${MOZ_API_KEY_LOCATION//gGaPi/}" > "${S}"/api-location.key ||
die
+ echo -n "${MOZ_API_KEY_MOZILLA//m0ap1/}" > "${S}"/api-mozilla.key || die
+
+ xdg_environment_reset
+}
+
+src_configure() {
+ # Show flags set at the beginning
+ einfo "Current BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}"
+ einfo "Current CFLAGS:\t\t${CFLAGS:-no value set}"
+ einfo "Current CXXFLAGS:\t\t${CXXFLAGS:-no value set}"
+ einfo "Current LDFLAGS:\t\t${LDFLAGS:-no value set}"
+ einfo "Current RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}"
+
+ local have_switched_compiler=
+ if use clang; then
+ # Force clang
+ einfo "Enforcing the use of clang due to USE=clang ..."
+
+ local version_clang=$(clang --version 2>/dev/null | grep -F --
'clang version' | awk '{ print $3 }')
+ [[ -n ${version_clang} ]] && version_clang=$(ver_cut 1
"${version_clang}")
+ [[ -z ${version_clang} ]] && die "Failed to read clang version!"
+
+ if tc-is-gcc; then
+ have_switched_compiler=yes
+ fi
+
+ AR=llvm-ar
+ CC=${CHOST}-clang-${version_clang}
+ CXX=${CHOST}-clang++-${version_clang}
+ NM=llvm-nm
+ RANLIB=llvm-ranlib
+ elif ! use clang && ! tc-is-gcc ; then
+ # Force gcc
+ have_switched_compiler=yes
+ einfo "Enforcing the use of gcc due to USE=-clang ..."
+ AR=gcc-ar
+ CC=${CHOST}-gcc
+ CXX=${CHOST}-g++
+ NM=gcc-nm
+ RANLIB=gcc-ranlib
+ fi
+
+ if [[ -n "${have_switched_compiler}" ]] ; then
+ # Because we switched active compiler we have to ensure
+ # that no unsupported flags are set
+ strip-unsupported-flags
+ fi
+
+ # Ensure we use correct toolchain,
+ # AS is used in a non-standard way by upstream, #bmo1654031
+ export HOST_CC="$(tc-getBUILD_CC)"
+ export HOST_CXX="$(tc-getBUILD_CXX)"
+ export AS="$(tc-getCC) -c"
+
+ # Configuration tests expect llvm-readelf output, bug 913130
+ READELF="llvm-readelf"
+
+ tc-export CC CXX LD AR AS NM OBJDUMP RANLIB READELF PKG_CONFIG
+
+ # Pass the correct toolchain paths through cbindgen
+ if tc-is-cross-compiler ; then
+ export BINDGEN_CFLAGS="${SYSROOT:+--sysroot=${ESYSROOT}}
--target=${CHOST} ${BINDGEN_CFLAGS-}"
+ fi
+
+ # Set MOZILLA_FIVE_HOME
+ export MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
+
+ # python/mach/mach/mixin/process.py fails to detect SHELL
+ export SHELL="${EPREFIX}/bin/bash"
+
+ # Set state path
+ export MOZBUILD_STATE_PATH="${BUILD_DIR}"
+
+ # Set MOZCONFIG
+ export MOZCONFIG="${S}/.mozconfig"
+
+ # Initialize MOZCONFIG
+ mozconfig_add_options_ac '' --enable-application=browser
+ mozconfig_add_options_ac '' --enable-project=browser
+
+ # Set Gentoo defaults
+ if use telemetry; then
+ export MOZILLA_OFFICIAL=1
+ fi
+
+ mozconfig_add_options_ac 'Gentoo default' \
+ --allow-addon-sideload \
+ --disable-cargo-incremental \
+ --disable-crashreporter \
+ --disable-disk-remnant-avoidance \
+ --disable-geckodriver \
+ --disable-install-strip \
+ --disable-legacy-profile-creation \
+ --disable-parental-controls \
+ --disable-strip \
+ --disable-updater \
+ --disable-wmf \
+ --enable-negotiateauth \
+ --enable-new-pass-manager \
+ --enable-official-branding \
+ --enable-packed-relative-relocs \
+ --enable-release \
+ --enable-system-policies \
+ --host="${CBUILD:-${CHOST}}" \
+ --libdir="${EPREFIX}/usr/$(get_libdir)" \
+ --prefix="${EPREFIX}/usr" \
+ --target="${CHOST}" \
+ --without-ccache \
+ --with-intl-api \
+ --with-libclang-path="$(llvm-config --libdir)" \
+ --with-system-ffi \
+ --with-system-gbm \
+ --with-system-libdrm \
+ --with-system-nspr \
+ --with-system-nss \
+ --with-system-pixman \
+ --with-system-zlib \
+ --with-toolchain-prefix="${CHOST}-" \
+ --with-unsigned-addon-scopes=app,system
+
+ # Set update channel
+ local update_channel=release
+ [[ -n ${MOZ_ESR} ]] && update_channel=esr
+ mozconfig_add_options_ac '' --enable-update-channel=${update_channel}
+
+ # Whitelist to allow unkeyworded arches to build with
"--disable-rust-simd" by default.
+ if use amd64 || use arm64 || use ppc64 || use loong || use riscv ; then
+ mozconfig_add_options_ac '' --enable-rust-simd
+ fi
+
+ # For future keywording: This is currently (97.0) only supported on:
+ # amd64, arm, arm64 & x86.
+ # Might want to flip the logic around if Firefox is to support more
arches.
+ # bug 833001, bug 903411#c8
+ if use loong || use ppc64 || use riscv; then
+ mozconfig_add_options_ac '' --disable-sandbox
+ else
+ mozconfig_add_options_ac '' --enable-sandbox
+ fi
+
+ # riscv-related options, bgo#947337, bgo#947338
+ if use riscv ; then
+ mozconfig_add_options_ac 'Disable JIT for RISC-V 64'
--disable-jit
+ mozconfig_add_options_ac 'Disable webrtc for RISC-V'
--disable-webrtc
+ fi
+
+ if [[ -s "${S}/api-google.key" ]] ; then
+ local key_origin="Gentoo default"
+ if [[ $(cat "${S}/api-google.key" | md5sum | awk '{ print $1
}') != 709560c02f94b41f9ad2c49207be6c54 ]] ; then
+ key_origin="User value"
+ fi
+
+ mozconfig_add_options_ac "${key_origin}" \
+
--with-google-safebrowsing-api-keyfile="${S}/api-google.key"
+ else
+ einfo "Building without Google API key ..."
+ fi
+
+ if [[ -s "${S}/api-location.key" ]] ; then
+ local key_origin="Gentoo default"
+ if [[ $(cat "${S}/api-location.key" | md5sum | awk '{ print $1
}') != ffb7895e35dedf832eb1c5d420ac7420 ]] ; then
+ key_origin="User value"
+ fi
+
+ mozconfig_add_options_ac "${key_origin}" \
+
--with-google-location-service-api-keyfile="${S}/api-location.key"
+ else
+ einfo "Building without Location API key ..."
+ fi
+
+ if [[ -s "${S}/api-mozilla.key" ]] ; then
+ local key_origin="Gentoo default"
+ if [[ $(cat "${S}/api-mozilla.key" | md5sum | awk '{ print $1
}') != 3927726e9442a8e8fa0e46ccc39caa27 ]] ; then
+ key_origin="User value"
+ fi
+
+ mozconfig_add_options_ac "${key_origin}" \
+ --with-mozilla-api-keyfile="${S}/api-mozilla.key"
+ else
+ einfo "Building without Mozilla API key ..."
+ fi
+
+ mozconfig_use_with system-av1
+ mozconfig_use_with system-harfbuzz
+ mozconfig_use_with system-icu
+ mozconfig_use_with system-jpeg
+ mozconfig_use_with system-libevent
+ mozconfig_use_with system-libvpx
+ mozconfig_use_with system-pipewire
+ mozconfig_use_with system-png
+ mozconfig_use_with system-webp
+
+ mozconfig_use_enable dbus
+ mozconfig_use_enable libproxy
+
+ use eme-free && mozconfig_add_options_ac '+eme-free' --disable-eme
+
+ if use hardened ; then
+ mozconfig_add_options_ac "+hardened" --enable-hardening
+ append-ldflags "-Wl,-z,relro -Wl,-z,now"
+
+ # Increase the FORTIFY_SOURCE value, #910071.
+ sed -i -e '/-D_FORTIFY_SOURCE=/s:2:3:'
"${S}"/build/moz.configure/toolchain.configure || die
+ fi
+
+ local myaudiobackends=""
+ use jack && myaudiobackends+="jack,"
+ use sndio && myaudiobackends+="sndio,"
+ use pulseaudio && myaudiobackends+="pulseaudio,"
+ ! use pulseaudio && myaudiobackends+="alsa,"
+
+ mozconfig_add_options_ac '--enable-audio-backends'
--enable-audio-backends="${myaudiobackends::-1}"
+
+ mozconfig_use_enable wifi necko-wifi
+
+ ! use jumbo-build && mozconfig_add_options_ac '--disable-unified-build'
--disable-unified-build
+
+ if use X && use wayland ; then
+ mozconfig_add_options_ac '+x11+wayland'
--enable-default-toolkit=cairo-gtk3-x11-wayland
+ elif ! use X && use wayland ; then
+ mozconfig_add_options_ac '+wayland'
--enable-default-toolkit=cairo-gtk3-wayland-only
+ else
+ mozconfig_add_options_ac '+x11'
--enable-default-toolkit=cairo-gtk3-x11-only
+ fi
+
+ # wasm-sandbox
+ # Since graphite2 is one of the sandboxed libraries, system-graphite2
obviously can't work with +wasm-sandbox.
+ if use wasm-sandbox ; then
+ mozconfig_add_options_ac '+wasm-sandbox'
--with-wasi-sysroot="${WORKDIR}/wasi-sdk-${WASI_SDK_VER}-${wasi_arch}-linux/share/wasi-sysroot/"
+ else
+ mozconfig_add_options_ac 'no wasm-sandbox'
--without-wasm-sandboxed-libraries
+ mozconfig_use_with system-harfbuzz system-graphite2
+ fi
+
+ if [[ ${use_lto} == "yes" ]] ; then
+ if use clang ; then
+ # Upstream only supports lld or mold when using clang.
+ if tc-ld-is-mold ; then
+ # mold expects the -flto line from *FLAGS
configuration, bgo#923119
+ append-ldflags "-flto=thin"
+ mozconfig_add_options_ac "using ld=mold due to
system selection" --enable-linker=mold
+ else
+ mozconfig_add_options_ac "forcing ld=lld due to
USE=clang and USE=lto" --enable-linker=lld
+ fi
+
+ mozconfig_add_options_ac '+lto' --enable-lto=cross
+
+ else
+ # ThinLTO is currently broken, see bmo#1644409.
+ # mold does not support gcc+lto combination.
+ mozconfig_add_options_ac '+lto' --enable-lto=full
+ mozconfig_add_options_ac "linker is set to bfd"
--enable-linker=bfd
+ fi
+
+ else
+ # Avoid auto-magic on linker
+ if use clang ; then
+ # lld is upstream's default
+ if tc-ld-is-mold ; then
+ mozconfig_add_options_ac "using ld=mold due to
system selection" --enable-linker=mold
+ else
+ mozconfig_add_options_ac "forcing ld=lld due to
USE=clang" --enable-linker=lld
+ fi
+
+ else
+ if tc-ld-is-mold ; then
+ mozconfig_add_options_ac "using ld=mold due to
system selection" --enable-linker=mold
+ else
+ mozconfig_add_options_ac "linker is set to bfd
due to USE=-clang" --enable-linker=bfd
+ fi
+ fi
+ fi
+
+ # PGO was moved outside lto block to allow building pgo without lto.
+ if use pgo ; then
+ mozconfig_add_options_ac '+pgo' MOZ_PGO=1
+
+ # Avoid compressing just-built instrumented Firefox with
+ # high levels of compression. Just use tar as a container
+ # to save >=10 minutes.
+ export MOZ_PKG_FORMAT=tar
+
+ if use clang ; then
+ # Used in build/pgo/profileserver.py
+ export LLVM_PROFDATA="llvm-profdata"
+ fi
+ fi
+
+ mozconfig_use_enable debug
+ if use debug ; then
+ mozconfig_add_options_ac '+debug' --disable-optimize
+ mozconfig_add_options_ac '+debug' --enable-jemalloc
+ mozconfig_add_options_ac '+debug' --enable-real-time-tracing
+ else
+ mozconfig_add_options_ac 'Gentoo defaults'
--disable-real-time-tracing
+
+ if is-flag '-g*' ; then
+ if use clang ; then
+ mozconfig_add_options_ac 'from CFLAGS'
--enable-debug-symbols=$(get-flag '-g*')
+ else
+ mozconfig_add_options_ac 'from CFLAGS'
--enable-debug-symbols
+ fi
+ else
+ mozconfig_add_options_ac 'Gentoo default'
--disable-debug-symbols
+ fi
+
+ if is-flag '-O0' ; then
+ mozconfig_add_options_ac "from CFLAGS"
--enable-optimize=-O0
+ elif is-flag '-O4' ; then
+ mozconfig_add_options_ac "from CFLAGS"
--enable-optimize=-O4
+ elif is-flag '-O3' ; then
+ mozconfig_add_options_ac "from CFLAGS"
--enable-optimize=-O3
+ elif is-flag '-O1' ; then
+ mozconfig_add_options_ac "from CFLAGS"
--enable-optimize=-O1
+ elif is-flag '-Os' ; then
+ mozconfig_add_options_ac "from CFLAGS"
--enable-optimize=-Os
+ else
+ mozconfig_add_options_ac "Gentoo default"
--enable-optimize=-O2
+ fi
+ fi
+
+ # Debug flag was handled via configure
+ filter-flags '-g*'
+
+ # Optimization flag was handled via configure
+ filter-flags '-O*'
+
+ # elf-hack
+ # Filter "-z,pack-relative-relocs" and let the build system handle it
instead.
+ if use amd64 || use x86 ; then
+ filter-flags "-z,pack-relative-relocs"
+
+ if tc-ld-is-mold ; then
+ # relr-elf-hack is currently broken with mold,
bgo#916259
+ mozconfig_add_options_ac 'disable elf-hack with mold
linker' --disable-elf-hack
+ else
+ mozconfig_add_options_ac 'relr elf-hack'
--enable-elf-hack=relr
+ fi
+ elif use loong || use ppc64 || use riscv ; then
+ # '--disable-elf-hack' is not recognized on loong/ppc64/riscv,
+ # see bgo #917049, #930046
+ :;
+ else
+ mozconfig_add_options_ac 'disable elf-hack on non-supported
arches' --disable-elf-hack
+ fi
+
+ if ! use elibc_glibc; then
+ mozconfig_add_options_ac '!elibc_glibc' --disable-jemalloc
+ fi
+
+ # System-av1 fix
+ use system-av1 && append-ldflags "-Wl,--undefined-version"
+
+ # Make revdep-rebuild.sh happy; Also required for musl
+ append-ldflags -Wl,-rpath="${MOZILLA_FIVE_HOME}",--enable-new-dtags
+
+ # Pass $MAKEOPTS to build system
+ export MOZ_MAKE_FLAGS="${MAKEOPTS}"
+
+ # Use system's Python environment
+ export PIP_NETWORK_INSTALL_RESTRICTED_VIRTUALENVS=mach
+
+ export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE="none"
+
+ if ! use telemetry; then
+ mozconfig_add_options_mk '-telemetry setting'
"MOZ_CRASHREPORTER=0"
+ mozconfig_add_options_mk '-telemetry setting'
"MOZ_DATA_REPORTING=0"
+ mozconfig_add_options_mk '-telemetry setting'
"MOZ_SERVICES_HEALTHREPORT=0"
+ mozconfig_add_options_mk '-telemetry setting'
"MOZ_TELEMETRY_REPORTING=0"
+ fi
+
+ mozconfig_use_enable test tests
+
+ # Disable notification when build system has finished
+ export MOZ_NOSPAM=1
+
+ # Portage sets XARGS environment variable to "xargs -r" by default which
+ # breaks build system's check_prog() function which doesn't support
arguments
+ mozconfig_add_options_ac 'Gentoo default'
"XARGS=${EPREFIX}/usr/bin/xargs"
+
+ # Set build dir
+ mozconfig_add_options_mk 'Gentoo default' "MOZ_OBJDIR=${BUILD_DIR}"
+
+ # Show flags we will use
+ einfo "Build BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}"
+ einfo "Build CFLAGS:\t\t${CFLAGS:-no value set}"
+ einfo "Build CXXFLAGS:\t\t${CXXFLAGS:-no value set}"
+ einfo "Build LDFLAGS:\t\t${LDFLAGS:-no value set}"
+ einfo "Build RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}"
+
+ # Handle EXTRA_CONF and show summary
+ local ac opt hash reason
+
+ # Apply EXTRA_ECONF entries to $MOZCONFIG
+ if [[ -n ${EXTRA_ECONF} ]] ; then
+ IFS=\! read -a ac <<<${EXTRA_ECONF// --/\!}
+ for opt in "${ac[@]}"; do
+ mozconfig_add_options_ac "EXTRA_ECONF" --${opt#--}
+ done
+ fi
+
+ echo
+ echo "=========================================================="
+ echo "Building ${PF} with the following configuration"
+ grep ^ac_add_options "${MOZCONFIG}" | while read ac opt hash reason; do
+ [[ -z ${hash} || ${hash} == \# ]] \
+ || die "error reading mozconfig: ${ac} ${opt} ${hash}
${reason}"
+ printf " %-30s %s\n" "${opt}" "${reason:-mozilla.org
default}"
+ done
+ echo "=========================================================="
+ echo
+
+ ./mach configure || die
+}
+
+src_compile() {
+ local virtx_cmd=
+
+ if [[ ${use_lto} == "yes" ]] && tc-ld-is-mold ; then
+ # increase ulimit with mold+lto, bugs #892641, #907485
+ if ! ulimit -n 16384 1>/dev/null 2>&1 ; then
+ ewarn "Unable to modify ulimits - building with
mold+lto might fail due to low ulimit -n resources."
+ ewarn "Please see bugs #892641 & #907485."
+ else
+ ulimit -n 16384
+ fi
+ fi
+
+ if use pgo; then
+ # Reset and cleanup environment variables used by GNOME/XDG
+ gnome2_environment_reset
+
+ addpredict /root
+
+ if ! use X; then
+ virtx_cmd=virtwl
+ else
+ virtx_cmd=virtx
+ fi
+ fi
+
+ if ! use X; then
+ local -x GDK_BACKEND=wayland
+ else
+ local -x GDK_BACKEND=x11
+ fi
+
+ ${virtx_cmd} ./mach build --verbose || die
+}
+
+src_test() {
+ #
https://firefox-source-docs.mozilla.org/testing/automated-testing/index.html
+ local -a failures=()
+
+ # Some tests respect this
+ local -x MOZ_HEADLESS=1
+
+ # Check testing/mach_commands.py
+ einfo "Testing with cppunittest ..."
+ ./mach cppunittest
+ local ret=$?
+ if [[ ${ret} -ne 0 ]]; then
+ eerror "Test suite cppunittest failed with error code ${ret}"
+ failures+=( cppunittest )
+ fi
+
+ if [[ ${#failures} -eq 0 ]]; then
+ einfo "Test suites succeeded"
+ else
+ die "Test suites failed: ${failures[@]}"
+ fi
+}
+
+src_install() {
+ # xpcshell is getting called during install
+ pax-mark m \
+ "${BUILD_DIR}"/dist/bin/xpcshell \
+ "${BUILD_DIR}"/dist/bin/${PN} \
+ "${BUILD_DIR}"/dist/bin/plugin-container
+
+ DESTDIR="${D}" ./mach install || die
+
+ # Upstream cannot ship symlink but we can (bmo#658850)
+ rm "${ED}${MOZILLA_FIVE_HOME}/${PN}-bin" || die
+ dosym ${PN} ${MOZILLA_FIVE_HOME}/${PN}-bin
+
+ # Don't install llvm-symbolizer from llvm-core/llvm package
+ if [[ -f "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" ]] ; then
+ rm -v "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" || die
+ fi
+
+ # Install policy (currently only used to disable application updates)
+ insinto "${MOZILLA_FIVE_HOME}/distribution"
+ newins "${FILESDIR}"/distribution.ini distribution.ini
+ newins "${FILESDIR}"/disable-auto-update.policy.json policies.json
+
+ # Install system-wide preferences
+ local PREFS_DIR="${MOZILLA_FIVE_HOME}/browser/defaults/preferences"
+ insinto "${PREFS_DIR}"
+ newins "${FILESDIR}"/gentoo-default-prefs.js gentoo-prefs.js
+
+ local GENTOO_PREFS="${ED}${PREFS_DIR}/gentoo-prefs.js"
+
+ # Set dictionary path to use system hunspell
+ cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set
spellchecker.dictionary_path pref"
+ pref("spellchecker.dictionary_path", "${EPREFIX}/usr/share/myspell");
+ EOF
+
+ # Force hwaccel prefs if USE=hwaccel is enabled
+ if use hwaccel ; then
+ cat "${FILESDIR}"/gentoo-hwaccel-prefs.js-r2 \
+ >>"${GENTOO_PREFS}" \
+ || die "failed to add prefs to force hardware-accelerated
rendering to all-gentoo.js"
+
+ if use wayland; then
+ cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set
hwaccel wayland prefs"
+ pref("gfx.x11-egl.force-enabled", false);
+ EOF
+ else
+ cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set
hwaccel x11 prefs"
+ pref("gfx.x11-egl.force-enabled", true);
+ EOF
+ fi
+
+ # Install the vaapitest binary on supported arches (122.0
supports all platforms, bmo#1865969)
+ exeinto "${MOZILLA_FIVE_HOME}"
+ doexe "${BUILD_DIR}"/dist/bin/vaapitest
+
+ # Install the v4l2test on supported arches (+ arm, + riscv64
when keyworded)
+ if use arm64 ; then
+ exeinto "${MOZILLA_FIVE_HOME}"
+ doexe "${BUILD_DIR}"/dist/bin/v4l2test
+ fi
+ fi
+
+ if ! use gmp-autoupdate ; then
+ local plugin
+ for plugin in "${MOZ_GMP_PLUGIN_LIST[@]}" ; do
+ einfo "Disabling auto-update for ${plugin} plugin ..."
+ cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to
disable autoupdate for ${plugin} media plugin"
+ pref("media.${plugin}.autoupdate", false);
+ EOF
+ done
+ fi
+
+ # Force the graphite pref if USE=system-harfbuzz is enabled, since the
pref cannot disable it
+ if use system-harfbuzz ; then
+ cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set
gfx.font_rendering.graphite.enabled pref"
+ sticky_pref("gfx.font_rendering.graphite.enabled", true);
+ EOF
+ fi
+
+ # Add telemetry config prefs, just in case something happens in future
and telemetry build
+ # options stop working.
+ if ! use telemetry ; then
+ cat "${FILESDIR}"/gentoo-telemetry-prefs.js >>"${GENTOO_PREFS}"
|| die "failed to set telemetry prefs"
+ fi
+
+ # Install language packs
+ local langpacks=( $(find "${WORKDIR}/language_packs" -type f -name
'*.xpi') )
+ if [[ -n "${langpacks}" ]] ; then
+ moz_install_xpi "${MOZILLA_FIVE_HOME}/distribution/extensions"
"${langpacks[@]}"
+ fi
+
+ # Install icons
+ local icon_srcdir="${S}/browser/branding/official"
+
+ # Prefer the upstream svg file they use when packaging flatpak so it's
always up-to-date.
+ insinto /usr/share/icons/hicolor/symbolic/apps
+ newins
"${S}"/browser/installer/linux/app/flatpak/files/share/icons/hicolor/symbolic/apps/org.mozilla.firefox-symbolic.svg
firefox-symbolic.svg
+ dosym -r /usr/share/icons/hicolor/symbolic/apps/firefox-symbolic.svg
/usr/share/icons/hicolor/symbolic/apps/org.mozilla.firefox-symbolic.svg
+
+ local icon size
+ for icon in "${icon_srcdir}"/default*.png ; do
+ size=${icon%.png}
+ size=${size##*/default}
+
+ if [[ ${size} -eq 48 ]] ; then
+ newicon "${icon}" ${PN}.png
+ fi
+
+ newicon -s ${size} "${icon}" ${PN}.png
+ done
+
+ # Install menu
+ local app_name="Mozilla ${MOZ_PN^}"
+ local desktop_file="${FILESDIR}/icon/${PN}-r3.desktop"
+ local exec_command="${PN}"
+ local icon="${PN}"
+ local use_wayland="false"
+
+ if [[ -n ${MOZ_ESR} ]] ; then
+ local desktop_filename="${PN}-esr.desktop"
+ else
+ local desktop_filename="${PN}.desktop"
+ fi
+
+ if use wayland ; then
+ use_wayland="true"
+ fi
+
+ cp "${desktop_file}" "${WORKDIR}/${PN}.desktop-template" || die
+
+ sed -i \
+ -e "s:@NAME@:${app_name}:" \
+ -e "s:@EXEC@:${exec_command}:" \
+ -e "s:@ICON@:${icon}:" \
+ "${WORKDIR}/${PN}.desktop-template" || die
+
+ newmenu "${WORKDIR}/${PN}.desktop-template" "${desktop_filename}"
+
+ rm "${WORKDIR}/${PN}.desktop-template" || die
+
+ if use gnome-shell ; then
+ # Install search provider for Gnome
+ insinto /usr/share/gnome-shell/search-providers/
+ doins
browser/components/shell/search-provider-files/org.mozilla.firefox.search-provider.ini
+
+ insinto /usr/share/dbus-1/services/
+ doins
browser/components/shell/search-provider-files/org.mozilla.firefox.SearchProvider.service
+
+ # Toggle between rapid and esr desktop file names
+ if [[ -n ${MOZ_ESR} ]] ; then
+ sed -e "s/firefox.desktop/${desktop_filename}/g" \
+ -i
"${ED}/usr/share/gnome-shell/search-providers/org.mozilla.firefox.search-provider.ini"
||
+ die "Failed to sed
org.mozilla.firefox.search-provider.ini file."
+ fi
+
+ # Make the dbus service aware of a previous session, bgo#939196
+ sed -e \
+
"s/Exec=\/usr\/bin\/firefox/Exec=\/usr\/$(get_libdir)\/firefox\/firefox
--dbus-service \/usr\/bin\/firefox/g" \
+ -i
"${ED}/usr/share/dbus-1/services/org.mozilla.firefox.SearchProvider.service" ||
+ die "Failed to sed
org.mozilla.firefox.SearchProvider.service dbus file"
+
+ # Update prefs to enable Gnome search provider
+ cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to enable
gnome-search-provider via prefs"
+ pref("browser.gnome-search-provider.enabled", true);
+ EOF
+ fi
+
+ # Install wrapper script
+ [[ -f "${ED}/usr/bin/${PN}" ]] && rm "${ED}/usr/bin/${PN}"
+ newbin "${FILESDIR}/${PN}-r1.sh" ${PN}
+
+ # Update wrapper
+ sed -i \
+ -e "s:@PREFIX@:${EPREFIX}/usr:" \
+ -e "s:@DEFAULT_WAYLAND@:${use_wayland}:" \
+ "${ED}/usr/bin/${PN}" || die
+
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+
+ if ! use gmp-autoupdate ; then
+ elog "USE='-gmp-autoupdate' has disabled the following plugins
from updating or"
+ elog "installing into new profiles:"
+ local plugin
+ for plugin in "${MOZ_GMP_PLUGIN_LIST[@]}" ; do
+ elog "\t ${plugin}"
+ done
+ elog
+ fi
+
+ # bug 835078
+ if use hwaccel && has_version "x11-drivers/xf86-video-nouveau"; then
+ ewarn "You have nouveau drivers installed in your system and
'hwaccel' "
+ ewarn "enabled for Firefox. Nouveau / your GPU might not
support the "
+ ewarn "required EGL, so either disable 'hwaccel' or try the
workaround "
+ ewarn "explained in https://bugs.gentoo.org/835078#c5 if
Firefox crashes."
+ fi
+
+ readme.gentoo_print_elog
+
+ optfeature_header "Optional programs for extra features:"
+ optfeature "desktop notifications" x11-libs/libnotify
+ optfeature "fallback mouse cursor theme e.g. on WMs"
gnome-base/gsettings-desktop-schemas
+ optfeature "screencasting with pipewire" sys-apps/xdg-desktop-portal
+ if use hwaccel && has_version "x11-drivers/nvidia-drivers"; then
+ optfeature "hardware acceleration with NVIDIA cards"
media-libs/nvidia-vaapi-driver
+ fi
+
+ if ! has_version "sys-libs/glibc"; then
+ elog
+ elog "glibc not found! You won't be able to play DRM content."
+ elog "See Gentoo bug #910309 or upstream bug #1843683."
+ elog
+ fi
+}