commit: 233117562c01416fa59039f4965c033a95f9b762 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org> AuthorDate: Tue Sep 16 05:34:28 2025 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Tue Sep 16 05:34:28 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23311756
www-client/firefox: add 143.0 - add python-3.14 support through upstream patches (bmo#1970223), - fix libcxx-21 compatibility (bgo#962129), - LLVM_COMPAT 21 can't be added yet due to rust support, - nss requirement is 3.115.1. Closes: https://bugs.gentoo.org/962129 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> www-client/firefox/Manifest | 102 +++ www-client/firefox/firefox-143.0.ebuild | 1395 +++++++++++++++++++++++++++++++ 2 files changed, 1497 insertions(+) diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest index 8855f26714bf..1e31e7f7aee4 100644 --- a/www-client/firefox/Manifest +++ b/www-client/firefox/Manifest @@ -406,6 +406,108 @@ DIST firefox-142.0.1-zh-CN.xpi 465402 BLAKE2B bbd4dc1a9e031c5ef2b0a31a2dd7edbf15 DIST firefox-142.0.1-zh-TW.xpi 468322 BLAKE2B 7ae8663f9b4d5cb50b53662c77843680e48568b008b901324cad0cf03c04347bbb2faf858ece5a89b5b0d7a5ae1c6268fbe4b05f8e422668a22333be7cd5f716 SHA512 21ca00aad02ea23d1eaffcced33dc6d153123e9d4a6c4d4cc1509a70d974446428b378702a2bdcb2be67715d60ff7c84002bfe208ba3dfdb35d619de3a58ebc6 DIST firefox-142.0.1.source.tar.xz 634262768 BLAKE2B ec132591ade9a8c8a4bfcede9a0764ae5f505ed47bc49a905c1222646052873ce1cea975bf21e885f618a505f763e1461318bb90ebe1dc9b205b242734fb1c26 SHA512 fca1b9c67a0b2f216f1f11fd5e3a08920998921e3d61eb633f1dde7fe69cb40cdbb63a41a1dfc4f1022509da643e3791467d88e62e7ea30b293ebf69d87bb585 DIST firefox-142.0.source.tar.xz 638180600 BLAKE2B d6b2f541359159fc6302d59c60e28facd931db1dd82d0692e0a185a63d2dcf3bcf99968247b05d46134c3dd05aaf83b4299d23d6a5ff6041da196785d09b7277 SHA512 b0c1c766083a30a92b77dcf16a584d9fb341cd811d21c3a34da4cd0d714fd6adc73b608092d66058697bc4562faacc44859153e49ffdeb6e14e059e59f2ea246 +DIST firefox-143-patches-01.tar.xz 13332 BLAKE2B a49f2ece3e2de7fe32f4ccf8c85b7b706884bcf6928a697ccb0483df6ebf7ca8856c8cc1429c04bb26889343e379b025417e4c40c7ee8c6fd19387bbc88a7e3d SHA512 d4ffc1f7bfbf039faa5a3dd6aa3c5fe31fad56764a09580015e01c129fc402742fad12a1b9b536826e4563e96d4ab6089c8a01b08be81cfee1ae24232ec36c64 +DIST firefox-143.0-ach.xpi 293829 BLAKE2B 465d4e8b99eaa790014f87844e8d65d6b20a629023a14447c959ab97d4c19dc2020f6582b80e4e213db28d415179a9bc5b3d2aacb29a0908654c9bbabac97f8c SHA512 f1beacab86215f12dc3884aa07950f788e5836105cbd1f3edcf87ae858060642620d5615bf72d123233c669ec7f3a92a35d67a3d9f2d807d2d326e32ffc01c75 +DIST firefox-143.0-af.xpi 267098 BLAKE2B f602110d567b6429ce52f176481e0f653d86fd8aca7dabae2099ad3b3d5665c0e818498acf0a67124fa556ccb26ce98597b90f1c733d0cbd303eb06aff1a1c84 SHA512 adf4e5fef87b1633daac1ca085cf1816453872eca3b9a83cb516a024ece6ae5dc07cfd58f287487e12b0734da0310332b0f09e961835b5a401c3d9ffcd533e36 +DIST firefox-143.0-an.xpi 331500 BLAKE2B 702ca62e33d1a04ea064714ada68f1f071b8f3daaa76c41d690b50162e603d94364de1b7eebf5432357c1eaffed92c916ec2b5c460573b86e45bf886dddae153 SHA512 d5b5e89537127bb022f17868df2c7a88fcde0a52e3314db592fb69f601682d197a81d42cd9d1483c440c59357828bbc43af882da6606f3f4bcf485dd29694300 +DIST firefox-143.0-ar.xpi 444482 BLAKE2B b9682adbc46756997b9a74119737a919a8d72e544f56134d8d6154ea2045cd55254c7e16a1c3739d96c3de119efce380a9cc49a0f089bf16797fa6720979fc6d SHA512 7f2a3a2d86d07ac564a967727ae81465d552cc4238fa9c651caa9c3b4d2eabadef71b70e9d8a8bff67677646fbd5393c140c9aec72cd9d75cf9aa95013738eb7 +DIST firefox-143.0-ast.xpi 311709 BLAKE2B c8bd879d5a65203b5ecccbb8a768b8265ad0a08ee3a37be0b81d91e0ed3048056ab729a8f922afd196badc960f19070e7cdb143db2a680fcec5c7a275f43103b SHA512 8c1ce22caa87a0a22e170cb752affd19e4187f8b89ab9d071dda789aeab2fd2e795555edae2db3d18cf64917dad20bd46e9798c215ad14e2cc7b05853af0f7c6 +DIST firefox-143.0-az.xpi 318156 BLAKE2B acb3dc84c8f11de7b068b275d7e5eb943c210f1a29aaccad44b5114daa25219e4e852fdc2d7ed96b4b74a35995aa7ca4b3e6238aa3769540e9a01e56edeff5df SHA512 94d9869c32353968cb0a2528293dbe3efa7f8b24dc7eca3ee0da0523ce73526d3faf9478e03c0e7ea2e90afd04c2d9f2009c5694113faa58a3f27d3accee0e73 +DIST firefox-143.0-be.xpi 532247 BLAKE2B 3e82046b2b6316fb9ede7cfb52af37316c33e8444f20541ab480dba64596af6817e30c9c4528b048c3b4484957c5b5d9ee22ffc26319120e56605fc5bee8585b SHA512 958c1b01d82f8eb9feee7d0ac084a06370c81bfbb6f6aa7ca749ac2fed86a8b277922cd7e91da349ce78f94a19abfbd3fd0f91f3c35931d148e3dc4424715339 +DIST firefox-143.0-bg.xpi 456285 BLAKE2B 70d689d0cf46baf592b8f9f08431c5c86b02e053c4e11ca25436d9c871ca84b83eecaaa54deeb38bff320270651fc7c37a6ee9b4ad9901866317e0b6f3b9357b SHA512 6a5d25a9677b0ec476ddf5e3860c27c314e7bcd5e28ffa56b9cea2b0374caa94fc9fb9afc5ce9dd5b0cc588efce49d0d9541fc0f44fc4bf047608a8cb130ecf9 +DIST firefox-143.0-bn.xpi 412874 BLAKE2B 051c8e8d74a645cdc12eac3bd82c30b994ec48c42d23d59ee60dbbff35971a724fe4edd0535e4dd388ea711df62bb5e826204625c140f0e4b82b49fd879b999e SHA512 553ce5844b29eff89b37a1a580ae298d4fdd66db4363403d1d79762ae0231c49c7a661297c9be220ca208e58188278679a8f239021ecfb6f8bf2444aa13de0de +DIST firefox-143.0-br.xpi 394518 BLAKE2B 77a801c73e46fb0875d0ce27d6ab81d867b54f7528f3bb50c755acd0fcdc16f0ed9c69cd94e908a3a4668028129ad672bb86d33b90c8db012faab0898ae9e01b SHA512 7b9f0b1b37f372e7b9fc6073873eff5e11ad516f6396e8645574e2a6f19d9a887cc2c2bc58e06c20871d64e49cfdcf96ad05b45344ea27a0feeac55d87c01bfc +DIST firefox-143.0-bs.xpi 451230 BLAKE2B 5c0020b5bd02121026efcb7cd775df5354d30935960e42a75170a5000bb3dfc80d90e417be10552adc8925416d8f8b015759836a3be4dfca4e0ab891dacbba7f SHA512 a2a47729925a0ec28485affceef92336a9c31d707b2b785350cfc151ef58e838728c59fc1201f01fdc5132ce3a9246a2c45da62f9cc16457881e889ba399fc80 +DIST firefox-143.0-ca-valencia.xpi 357353 BLAKE2B e342bcd00e17918d6782d144beab173547af261eda1b3157512086bbeaab175b3b908e5b2a59fca366c8906f3f0860b63ec66843acdc78b635211bffaff08901 SHA512 9bbdda578c7945b95d184c46ced5a5d7d600debe0df5dc5a07843361e7e69341d90a52326e6cc18b7d877504fb3d3a2c0ffbc5298ecc6078f3fc3d21bdbc06af +DIST firefox-143.0-ca.xpi 403325 BLAKE2B 4838fd73783c116fa6e2fddd28ed50fb2cfbeaa5e017033cb45a06784ed9b1448cd685b56079644fd869b49119d1d4d3b88f67d6179a64acc73efd3f6a84c005 SHA512 c990545f26d462eb32b034d0564cf23e552de6b5d82e298c82222492cdb28377cf805b3a97041c83dc499b0730b9359bfedc8de1811f4b3cc3d10dbc8075de20 +DIST firefox-143.0-cak.xpi 389853 BLAKE2B b9d44776e0017bddec468fc6da391e8468d8c34f7ecace30242229931f433a9c217526e9eb1476bd342d443c85bce4644b601efd28d535409f33e9468d5db178 SHA512 ad76b8d49b9f99ed257f92a55fca1d1a7c975facbf27e7cccde682bc16658b5561d52fb95b516288d13ab0730a2fdae09164d4dfc2ab04bd1870472ce085fe36 +DIST firefox-143.0-cs.xpi 486428 BLAKE2B c9db68faad20ed782dc7dd1fdedcd7ebf35b4f6b294d34ecbeb81dd352b5ff14ee6dd12bb8bdf55fe07a004803f66f4a0db15fe0b5f9b247347c325e4790fbc1 SHA512 5eaa51a7fc7cd443363ac2277dc517232ebc5f20877fff971ba3243e4424d7de3c1183f66efd28561496d8c31ebd0b421d94264ddf362d03134e763e938d02c8 +DIST firefox-143.0-cy.xpi 451567 BLAKE2B 27ca44066acf85c5b5c774791ac64676f9a0237dc9b2de058688ef5d8f808cb791a3e0a1856b65c873b79ccb7fcfa0a8b730205820b75c97c30c8c69706a396f SHA512 54d4a6c8b298cac5945943a2c6062719b4d3a18f13e67e22afaf9a8f9ecf1d932b72bdbd9c023c2f7fa4e1a8d09b0892bdee10973e4a1c5576a4c4b993d1aea4 +DIST firefox-143.0-da.xpi 439909 BLAKE2B e424836d2df89f6a6cfb977a85b1f9b3f2092898f62278e4af5b379debf6d66cc94502ad3d9ad1e690d4367a42b266ff329137105b0b403f4d7815625e557580 SHA512 4c167c780248093966b342db9bc052c63af5897c1195bed91eb989cf7fbfb695e52d95cab6bd0bf99dc3810c51954dd8462f86382779aeeebbafcf271c0c464a +DIST firefox-143.0-de.xpi 462220 BLAKE2B fa04967dfb8b536deb8c9cb1eb57ce575c5767b079fc3b161b8a5d2ee4949b15f20c6282c8f22979950ea25760c346429cfbf54fe48534b372d59b26c6a6b515 SHA512 08d911cd78e1aa1aeb6d98b3d9b678d6617a06d4ad5a1bcbd572373ccdf063dbba6e5bf56cd4a179d33563cd5cf3bb3f3c5d4b44421f764e467c2fc3a3329346 +DIST firefox-143.0-dsb.xpi 475767 BLAKE2B 824a7085db4086aa51cdef0eb2cda5c4f567eedeb3d2fa37cf46d7591d18bf21f44fe24f4b08e12ee6e0eeb01f11484982c0590150ec4a200a342a46701f1b2f SHA512 480ee48560b0e538ff8c8b15ba0a3bcdc0a3edfd3943385e700cb838886303cd7d54c479289b99652402c13d4c540e5b5b576d2b0ebafdbd2056a8e6900b077c +DIST firefox-143.0-el.xpi 547807 BLAKE2B d9a4798cad97cd483103543674cabd5d63a870b34b5c4f8da328127491c30ca89b3b8106b920ac8b9125ac8d053252d9b3d645a71840218d5d5166a998b5793e SHA512 51d01c2188903527eb9a39bdabc0f6aa166c87cff88fca982a9a8f6a193c45cd620970483e3426b7bd748cf4b3d7c0ab54acd2f075376235a8d61532c2a9dbef +DIST firefox-143.0-en-CA.xpi 416177 BLAKE2B 2dbd665c8449ffab064af6837fae25d577fefa13a61927f69e6b56ef6a7d964f99dd6c85bbf90f77e48618f1c4eb4c99c8653fc60d1f768e7719713d3ad37c82 SHA512 d7d21615da3f821be9b2015736c8cb86d4156cf8e485248941867ccdda48797f66bd4f6161e4e1976ec301fb107186335daf53612453c2a3e1c8b81b61dda88f +DIST firefox-143.0-en-GB.xpi 419509 BLAKE2B 47f15f54faff6b2e770befdf2da0045288963510778bb97673e04804d25fa8b94db312400939238c9e7b2cdd12dc315553d0caf450c0c450da3cdca98f519f89 SHA512 c29d82284ef3de528fca6965896655f223e6c8dd766a5ad5b03306e8c584c9c79b781351f5153c93c1ff3293b2c842068189f8833dcf99613244185e1c1d812e +DIST firefox-143.0-eo.xpi 442367 BLAKE2B 5ad8eaa757a10f9bfd598da596c6c32dae1e7e038f68ee7d40c34da5c1651bd0846ec8db3087fce0c0fe1ab2c1db3d6af8433eb2729257ffca6ab6c24f58eeac SHA512 252ab8d2790a61254d10fc98a6ba7ed802af515d207e30ee8d72755ce89ca331d1f8fb3ea2fb9384bc058764e0e2ffdf42e8a6686b6c7ae061fdf941b1f07da1 +DIST firefox-143.0-es-AR.xpi 454485 BLAKE2B 8e5ad21df225496d3e065ac2ab511d6f998a8eb5cf3fb28d322dde9594e701918166b930671248d7b37f1c373a42f271048f3029182cbf738140a319e2ca2f88 SHA512 208926f9c88c6cc9eba91958fbb5d2c0ac76a934be5aef6980e24be2380f3ea397cd95ef310474427cd7e39f085388aadf0065b6994b700f9fae1d16f0811201 +DIST firefox-143.0-es-CL.xpi 455510 BLAKE2B 09e0b0760319ad991efd34a5b5f2f6349f375eb90d0f5e28952e91b35d9b7d550acedbfab571b8d8faa45e7abf2a35b1b4fc1cb6f4983c2513d5d9188f5a185b SHA512 9f7efd1822d22d3c8d5348e4a7130e936357b8dbe8f45296c2f73b03cc760402cfc854158a9eac4444b472aeaae5265fdf1b4d02b5bd575806061e9891ef654c +DIST firefox-143.0-es-ES.xpi 450160 BLAKE2B f80bed7494512662a7edd9fed49bee3f06033284009c385b4d33fc6b484d85a925f9d0277eef88259b9d05324ec261d4c185f4523a1168a56bddda94f226db7e SHA512 21279bd3c3f9f7273d590d633ea08a9e7695da6bfa9bac134ec87619874faf53f266ad437641dd2ea75d50be8376a37ec78ae9b534937da77fc69906bf12446d +DIST firefox-143.0-es-MX.xpi 436461 BLAKE2B 06059f12ad35f4b8863b2bd1056e6642b2725c4403b5d643bb8c426f362607ebfc662df76281301cccb0b3c060bf10134ea3854cfc4a8aa489159f444f45acb1 SHA512 e8d8687a1229c63cb1bbd7e68b8e8180086a9f62bbaaf5bdd230ea89587e5b7bae09d2cf6fb5c0e69b25fca259b420d6fa290305ea4626ccd47646d3a5d73681 +DIST firefox-143.0-et.xpi 358381 BLAKE2B 9b555771b7ad9c560784d342507797f5796e0db38ec964363375dac1c9da99e4877cb5f33c03411d0b70c153f331fcc7aa502aa7cad80e11214aa8a3a953cc8d SHA512 6c5e2fafe4ed729e9ec99fcf5ab37deab54eb24c90ae74c43f8c0f980d548bad7f0894d2333792049ee23bcf7c850ca67b4c38b9d9bfc714ac87abcbd1008b44 +DIST firefox-143.0-eu.xpi 417793 BLAKE2B ad5e14c1931db98407953cab9b424821b742965aa2c6c31cf0d73b5facec46ccfbfadcb3b074f9e73e420cdd48e76378163c7589c3d2b466d8851bf64c27c2b5 SHA512 34be903bfe4805c35c850e2941e5b8b304e8337dcdb7ab089ab02d6937743ea04588b19f14600402130949a0d756ce59427f8bd0b6804ac7695082518822b49f +DIST firefox-143.0-fa.xpi 419485 BLAKE2B ef02dd1c72479a7dd796800868eb6b1ead88c78e6698902cf1714b55d5ad9613e49c07293743e1f011c38120b343b7d5c009dc1c98dbd879e8a84dd962066467 SHA512 601523f700097ad490199f29143045f73e6de07b663012e34fddc362ab5fdc5dba5991c11d399bc24c5012bb24a35b827c9331c04cea3dc98ce95e44bc11eeed +DIST firefox-143.0-ff.xpi 309676 BLAKE2B 552c37c02fb6254820e5ea6c18730ea5a38c899501d86abb8565d45f53dfbda940f94e62fa279335383622b9bae069564b13a967ba7639fbf565d6f90ce125af SHA512 81c8fbda2d80d27e819491c29f17789e0f7d830511d074ab87d72904254f5f6dff7eb437aec88930eb3d675e06dd6d8e77b3e33a02f1850feb246231d73a7ea3 +DIST firefox-143.0-fi.xpi 438997 BLAKE2B ba46c77088ce7d1c398b879481ac98082c0168571a82815d23393e830b3293b9c6fc23779b190287e272d1026393ab342981dec2cd33c820ff0aead57e07f7f3 SHA512 08860afc13f0518e18e5e288d58e2dffd71d141d2f6719579c8def6bc21189ffcc4b93b786ea099e06d46b28db9466e35657be8d3bd53750240977d4f99d405a +DIST firefox-143.0-fr.xpi 468091 BLAKE2B ac116eff6d337137af5ebe9d834068729472059a67a259e43ab816978ce7dd02e2852579a1fafc0f53aefbdca2a3ae2667bbba0afda6dff2fe47398c39600671 SHA512 a920fe8d00156053dcfea8e10d5777773efb1a08ecd70503f716602ba7af095f16bb6938fdf62d782d1a19a2f295d26ecc9f50e124ddfbb91c75b2c5d90af57c +DIST firefox-143.0-fur.xpi 452986 BLAKE2B a0a411d0fa3c1396be619d5b5d2e2acf16522f7d0c2f892e601ffdb503b8a08b5647d4c0c5eb6ac321749ce6cd2096477c7cb7d7afb4baba806abc6e757a5c6f SHA512 4d304300faf91a1526977fbb4cb8d4244c266379c708a1e490690b3caf35a8f2214c5b1945b2fce98078249f04cb179a457fa567bf0f06a6dde3815cedfd82e6 +DIST firefox-143.0-fy-NL.xpi 450059 BLAKE2B 7d853bdeff9a3e4a95ab72be7524b1171197773d7778a16ca1c5a2f08efbeafc541385b7e1e83e56365c370f2ae4c9629f19ee8a9cccf1f3f1f864643ffafb6c SHA512 2f1afdca276437a97cc35e56ce59d79494069b4e2aa77e7d06c7d8ad3e930842bbe1de20972ec129f467825e8a4bd54b511d392d785f9d7f13a324de4d91f55e +DIST firefox-143.0-ga-IE.xpi 315185 BLAKE2B 135150303c8c7d106da322dedd9b91d903841f4d8d007e3fa466613dde070be422fcdab307d2496e213ba6170028373e626f0e6bdb14879444965dcf88158204 SHA512 5e027ae7d8bfec8f42789beeeb0b9b43957f12983318caccdec098d79dc9f549ce3a5d3e716752d3252c4dc22502270ae0e910c5d7e963d0e9660914172c0713 +DIST firefox-143.0-gd.xpi 398202 BLAKE2B 33d89240eeabc878cfd67db8c9600973ed0c5ff76386f48bccd306180beaf266c52a0038f42a747628117bad3f824a01404af71340664fe3cd67badfdb7505ac SHA512 ada45d83319db66b9dd691b2698a1b0c1fed29f4fb8c6117bc70f8a2716ffe578e6896676ad0b7f7d805a34c994283cfe34324213b28ff0331bbe4f9b4960fc3 +DIST firefox-143.0-gl.xpi 446884 BLAKE2B acf052b72b002921c4aa0b07b4a81bd69d2f9c3219f2ca38a21ab5156d671230498ec256cec43879544fc3b22762f880f2162516a969885df4601435093c7859 SHA512 8b262f99bdf017ccec70f588d78716db68ecc7828b67e9e1b3b98d71eebf57979ca4dca08cb8b626391e8359c43dafdb81681f6385cbbb3d08c77df402696ecb +DIST firefox-143.0-gn.xpi 457412 BLAKE2B a2dd9d9e8775ebcc870a9d41808e09158505c5dc1b5eb00b67f680eec9f2838b7542e7f8a6779fee4164b5cb351747f71c81ed4e26190d612b4f50845f35bdee SHA512 1192054c3d7e4f054b9e32d8c46861e0375a0b063ff051dcb58c5d3efb6f0d428806e08d2642750dd9b0a1baa47907bf3a82352e39545b7293fc3fba05ca4b95 +DIST firefox-143.0-gu-IN.xpi 358141 BLAKE2B 96198c542e554b42e9a2136d97876698c5ef83b07f75d9c645fe148796b0c96d293b4d7bdabbdcb0864f60cbe43906d0a1403cd021382f4cf36ce0ad10a6c820 SHA512 f4e9a64a18347bf955adefa2f031dc1b2ab733a720db3299ea44a11a78b03c4f2ab220f3b2943bd5fb9e118bca60529375046477d9592fcd6b48db7e8eb96685 +DIST firefox-143.0-he.xpi 454112 BLAKE2B a470060c62a0c0245877dbc6470104b0bea616673658e6bb62b1b118b19437494662198d00488266e165849fe2ad96b9df9fb4466d20e4d2c569a476a2e49fad SHA512 106ac9926901670b40e881443758b0403f1082795c7eb6af20a2ce1b0210dcb9dbc04bcbbecfee4529afbf20345ae1cb691dfb3655415418cf45b97fce919871 +DIST firefox-143.0-hi-IN.xpi 376925 BLAKE2B e38884c8dd93e8b6454f8ec71302293e8d9309985aa95f4c93be992db6d4382e8b94a5224d0e9c4007e73730f076293703462799315a8ac4137b8bcffa01a7a9 SHA512 fd35c7ed7314e09350b75545830edeb7e8373d0e8d57bdf166c0a61d4179964b5826ceb8438aed13c9c05f5e868a59c48620fff48f87e49e002cf76018ce3479 +DIST firefox-143.0-hr.xpi 440926 BLAKE2B 4516162a2d8b8e0bec282fe0bc93214dd745713d08975b958feaadef8afd44316dfe1f3ea9afc5c11e5485f3bcd0307c3f9c652474a00ee271f3bdb6be719b72 SHA512 0c546afb827573cb5e01632e63ce3e1785e2b052bb57d79b5eeef10afa0ff381176b1c93844fa75fdbdf58ec2aa4ece71471578563722c499adadd8991d0e3fa +DIST firefox-143.0-hsb.xpi 472313 BLAKE2B 8a6e3e420bfac225d48786078ef9e71a69b3fd7759a5fe7b37d00721933122648840b7f0d85e43bd4ed375c2aa2ad13b8539303bb25598389602de09edd52033 SHA512 567263c2101a39d397ecbdb693cb5ca58cd04f21a14b4fb2163e2f034028c11267fc91241973ea95e51e78426edf65612af7fe1c46b3b2c1da196e57c51e7473 +DIST firefox-143.0-hu.xpi 474730 BLAKE2B a2a8e7ff66ba0cbf161de65ed98f0f534a5d1b5fe965dea4b2ec9cf122de8e9c995937cd045640031174805ea034c062fecbd9735132d4b29f9f1bd3fabbc239 SHA512 640e7df8812221544e5f443ef6df971d682be43d61fb08df912edc0058902c629dac2045456f38cccd9dbd8af233f353bbe6809f661d48c91742a27acf7e3c0b +DIST firefox-143.0-hy-AM.xpi 460074 BLAKE2B c65ee7b7784700d4d64b7bc7535dd65f9e928c7b1c40f5c30ca167878b5a051c1c41131082370f7f79123cacfc007edd7ec5b71f40fdd0cbb0d778204c24bb3e SHA512 a7625d393e88088533629e6f875eef95cb52850313ac3539e3d790d36435f59fc5cc7f03f1b8ca39b4a0d7385e6033dd69288ffcbc70d6d8150f0360041c0616 +DIST firefox-143.0-ia.xpi 438814 BLAKE2B 478757d81488ef7e9d805a31147712003f98eb4b28e1fcff69fcab5836e6f463bcc597611e9c23b2665b79eb055486ab12a8d3bd375f7a05c63acb15a07c1a54 SHA512 e2585a940072d905dd55188e99e7ac5cb406291d5a686442ff0ac353c0df0f19278b3963968b5d1eec186a98999aec65a17dddd696e10c998acbc252c886feaa +DIST firefox-143.0-id.xpi 420187 BLAKE2B 366dd24e75396608e3483dbb74de58f55eb9da150dc04e14f547172963897b2cb2c4d4447fc6a99e4d4646ab05c9fa566ed5bf9d27e15849dde3907ed7c96c26 SHA512 96ddd716db3915f1839c787238d6b3f03fa2d2fa827f4850f6d54644005f6b377cbb20d3416e7edfbfd910356bd6a82b0ed4ed0a71e9b9c32e8a0e4046708bd4 +DIST firefox-143.0-is.xpi 437518 BLAKE2B dcbbb02f652c89daedf896271b0c752939678039059d12c3b23ae681b63bb0263054d65124f3a5738715f593412068b01823449a81328f580871bc4f17c8339c SHA512 fd29d5d34fe27a3cf735c1d79aa7aa9ac65aa2eb9199c994c7e2c6032767878fbb794a8cbb2224a76f8fa9fe08c94de44a77e6936d9ea5094d4b4f3054df9a3b +DIST firefox-143.0-it.xpi 449882 BLAKE2B fc315d31ae90686889e54595c9ce2c070ee270b5cc4299b7aa638db324233a8c1ccade03e8fa8eeee541f706fc603e2763fc180b73d18287a0fd6aa6b90313b3 SHA512 c959ffd36fa0f1eb59254410b196fc63aaf3e6715740cdfda2c4796477de2a1262c466e64082b8472e65f8c0cff318aa1a80727ee0f20f297cb345f00cfd7102 +DIST firefox-143.0-ja.xpi 490468 BLAKE2B 8dc6d7db2daf12504c24159baa10a2a2f641eaf7e99ad8530bad9960fa5d55d858c09708bc6816b14a2e5bb3fda21008d40e2a64b1fa61d5cb9c88dd0747755a SHA512 b1b1eca8126a4bfc5682273add2111f799ad12ba5d91cacbe4714265f3e94080d3f8bcdc7f5727e285406aca252c00f949d8715f60df5110c1e919a4ea2e9fa6 +DIST firefox-143.0-ka.xpi 505861 BLAKE2B 109907fb18e01a747bea98adcebf0e8cc959e70f3a387598262535bbfe28843017473f62c2fa34213deed8d4840fde7d120f495301c3df9513ff650fe8c3ed21 SHA512 241d664b75e29f665f9658137579d27a110b7175d737ac17d7a8f754db9bcc93a1688f2901c7635f7b6ae599c2c5c7171f53c7497933940ddf77294d6ed065b6 +DIST firefox-143.0-kab.xpi 421845 BLAKE2B a91cdb6333195ee3cff9c84727e116fcc3fe013ad4b0b3d9141c2fdf3dac6a32a471d393b32413cc70c230ec51219f7c7ddeef0fafa7f6e090848316cd2438d4 SHA512 105971ffc628b82edb9ac4f9b87ba3f9d89926a3787b761d3adb71cb88d1e19d82c31fab2ca378f6e02a6c53efe6005876f218c9bd8e8afbfd64e356c9b33e1d +DIST firefox-143.0-kk.xpi 511510 BLAKE2B 026444e35a551d1da00df20547f09696cf81f047668b902cee9a44edce14b58ef9b21383acbfa932960ead67d8f0c3053beb82a82a6a877fb47b455dc2cdf06a SHA512 0fafa3fa2e8e30aa47a31d8fc2007dbf2c243bda42515197df22bbc8f35ee2c02fecf264f31d63ec41b2f0fd9a97a2de8a649842cac6a3f6c13e8f22b311caa8 +DIST firefox-143.0-km.xpi 347439 BLAKE2B c4a35b4bc9682d5cb062511c95da01aacb5d3b2e43570a821cd92c66bb23d83bdd4c7a80478c791768fbb7afa3b4f35c8e17950be73055379acc2eaf905f53d0 SHA512 ef660b63ed3f366ffee00e2e26a9823f98b05216af5fd784c0626de95f39996496970f72efb418eb42d2e8dcbc622dc4e68b2a1ef315705214b2e211d120a6ce +DIST firefox-143.0-kn.xpi 331695 BLAKE2B 6b79cde2215a934aa06c971f673707362a0d8231fd4d25b0d72f089d3fba4d79c2a2154bcb34e1e37341aad5610251470fa451ba51a502a0c95e653b53e846c6 SHA512 8812bb3aa93b09eb775955505bc6bd2b1ccf4aa308a1c679fb37050931b06cf1324af68ff0196fa8660b6e61fa4c283aac04aaf9728341b446a898335f1d5345 +DIST firefox-143.0-ko.xpi 476704 BLAKE2B a0168532739b06be5fdc75851cc4d926782aefc5c7d2ca732520bbf8e86284e1d4e7087c3e9e041929a53b764bd00a55f531c3dd425b8e33bb73aab0da4ca728 SHA512 90324d48089a69dd6772545c7cdf8ccc55876edf53f834d4ac29ec92629de6ae45632b61ab502f8ec8950ebc09ea6edaa412afa520f21ff3ba0ae5491b97a2be +DIST firefox-143.0-lij.xpi 318911 BLAKE2B 003e9cb93dcfa9f5b6ed4c7de975691bf11bb9d998280e85ce23c837d3b3dafe531ed769ea0f0ecee9d6d78151094bef9d3d33caa3840780236d9da2f2743511 SHA512 403aeff34f9284cec231dd56c989846d96c2fe4b0f6a488fd586966eca5b0b0bf778d1c9f29b7c8aa11307efba8656a9f2be8ff1bc27e094b7b338858f1f55b3 +DIST firefox-143.0-lt.xpi 378909 BLAKE2B e1f75105e5fd34c72b350b92020852e46cf2d7280859eb92db9dde766607d018693032bcd290448d917a782a89176c32a0b853934c5ddc628a239c4e913205c3 SHA512 5cbdcdfa7b71b70c8ae5d19b4059a599243f74a36799da0f6b372bc2afd0fc1419d7d48abf1f8fa3dc970aa524f5a77cf8fa4191470840fcf80da8b698c44cf4 +DIST firefox-143.0-lv.xpi 385348 BLAKE2B 0551fa7388e9aa1e8428a2698f4a7edb28daebd2ad4d59cb8318eccd611b97636e4594d39d1bac2838021c30ac74628f8015c7011f7e2117e37007d775ef6335 SHA512 aed9f5fc473101e1dbcbe5e977667e00d027cb355528e4cbb54f472e74f400351f4f217a4e49055ef5104fcd17ec3afb70f498338050ede6236ad15154eed2c3 +DIST firefox-143.0-mk.xpi 316182 BLAKE2B 620d271057a70248e13f8e564c48d5f258c9a52c054919b50e94ccca4265e5aa584880051199248184f0f5a5d2f264a3f89ff96e29b9769795fdfa1874d4c7e8 SHA512 b6cc52cf979e85efbc748b109dd24846928c1244be1f2e73cbf04e2acfa1c7db93c63403cd69ce4b89153df4a200a6d7104cce00d235d23732269c84a312f81b +DIST firefox-143.0-mr.xpi 355899 BLAKE2B 6cc71b38082478c051fb9e92cfa5da1a5d276cfd3522898458472294d6381c1663685e21998b687cc29e70ed718e70cb71199fddab567ca99573a8572a6e7ad5 SHA512 4c2303ca9794470643200cd5e228dc47bcdd4adf1e77d58db5bd15abb4c8b42080600981b42aa9d858b6a8f5856df9a955257d235914c7b6df9a616f48e27a2b +DIST firefox-143.0-ms.xpi 295266 BLAKE2B 7269e30e18d4d3633d2cc2946fb9065029e15cd8f97e06c6bd174322b8cb829b21ba599c2865c8d8697b00750b5135be0778cfe38e52f4cb7cd99db6a969ab37 SHA512 e9334f938e3b4b29df6fabc19e8dfcd8bd40226525bb542f31c847fe43ffc33c8fd64720f64814ad0bf85a5a2d46ec13104220adefb1a819416d6068137187bc +DIST firefox-143.0-my.xpi 342584 BLAKE2B 0130c41e1aab665470b11ada8719292cbd205d0681fc09515eeb011b9bd3f9d0f584bfb84bffd6c14c55f8000a934a3571e16cc882fdd05a460895bc3a17fb7a SHA512 c8d7f74a5c3a5be7c566195c309495b7b9906025e5a79708a2e840e0abebcb8fcf6e9ca3693fe1401431e26ed5bbe49e3e02d6e13b18857e510860e1adaebf2b +DIST firefox-143.0-nb-NO.xpi 438171 BLAKE2B 50ee34ffd04aa2793f95ef15554de1defee14f16ef4209b7bfaffa4348ab5d95be798b7d9dc430ea8d10098172222d441f318739df53aab077b33316d175e507 SHA512 c6017c8f17ee285f241a5480316ee05afc20f6e88d45cde6a70350f3cf1573be120a0b453df73e42489b976290b328c5bc5e9e33011ab6c791727da78c821cef +DIST firefox-143.0-ne-NP.xpi 347994 BLAKE2B acb9a9ba63ec154f96789bf43163be15c3fde40f55635dcb7666f5dbc4be73429b4a74f3f917dca9aa193bae1e453856433853ce3847243f1f8a0911f5b1cd9f SHA512 30a33752864232c5816b6091ddfa05d6231d7e75f48b0d385ce74e3f3add5cb68074a319e2ba77b364185ad498fb694bf701d9f60a059a26bc8228d720ef3e1a +DIST firefox-143.0-nl.xpi 444998 BLAKE2B 67d39c0b6f54aef989670ac87346a01baffd5f25ee288e3d723c83e4dd1f4fae1b6d473bdc69f6513aba14a145eb4521844fb3acd81e355a6bee7cc587edcb44 SHA512 86445cb6131f88e128e1c40ec4e97a89500777b76b8031bbb19b72894d7589a04f62b46d3860c087fe6719a4f1d540f83662843c05985837c1c90d7c05bff579 +DIST firefox-143.0-nn-NO.xpi 441240 BLAKE2B 0c1f686e3de2e1d788a79dd46579f91fa9c3402a5bbab88c7a335d61cdfec5a0543a1b2f6c6cd57a9e3e99fa8b0fc0caef73ae941c1e643d1d72cd2eed9f95de SHA512 71d2da005e4d7a6963f02480cfc417ab3dbf9763fb3f668b4ffd9da7b2a7df0f7a77ffdfcb3950e9cacb084cc862e3e655061330def62333be650e6a577bf95e +DIST firefox-143.0-oc.xpi 409814 BLAKE2B 665f3210da27bd5e21fa43168e89ac147ce24f570913ae369b5a032b746156f5caeb68ba3a5e59ac6f4d71fccbf5c45d1a073d49acd4ed1e37107b60f1b4967c SHA512 eb0fa057d45e51763335512e772b5c66009608abd251ce057da7c62f2aa662c93572dd91590320118a6b934f21b081561670560fc9634f8a143087bb8fb5c830 +DIST firefox-143.0-pa-IN.xpi 501785 BLAKE2B 85a43354bef6dc7fc9cc2d104e364dd0c66447d1f61c96132d14955abf1ab6d078b3890db64d84f4c6b1ada6f072cd3e1991dc631afead5551d054924c6c88fe SHA512 e674fbbed9dcf92270ec5ae7e8b7ce71f586618b145183a5cdba64ffc0ea0e8822ac66efba54bb2d4a0ee8c650aef06f4f6677b5d198251c820f78cd86176b22 +DIST firefox-143.0-pl.xpi 469272 BLAKE2B 078ec4463b19dceb5d300bf2ea81f20c3ee840affcf7a5b444d2ea111b9f4be4cba7a0a24eafac5332dd5d3d768d340c374fcb44b00241cb5cc1cd633b6aecc2 SHA512 01227a8c04805ea755e7ffb90f1eba1d3bad0e2952a9ce25b08a8affddbaf451123cfc1dfc0d26abba7a42579b4d028e84673e506c488ec0531402dca6d5e077 +DIST firefox-143.0-pt-BR.xpi 449613 BLAKE2B d813a6c060cbdff52b27871e819f355aee7501134e7439406a0ba813cfb2893991ecaab811cb55235cdc07cdf311510581b7aced0fe33e1c491a07c914ea2a2f SHA512 7847edaa92da71cec6c27ceef4be4f6ebddad65cef346b5176f65c8ddaae2963f21539ffca30d2c3e9d029d4e55d4877afa753684a5de7d0c15a1ee8bbf3c62c +DIST firefox-143.0-pt-PT.xpi 447644 BLAKE2B be216b7f8ccf54906348f92206f9ff43ff83c05e8d17bd8f76df494de042597029a728024cd856ab0eccba221a2aa7422ee9f6e73b4933d7a1af03e8838cfb6c SHA512 769767e1dd7684f062ccfbaebda64d63bdcef0256279decdc454ab2abb65138c64cefa68a832de863ac19f30a9d4d4c922dd35911cb7792d63f3b12312567161 +DIST firefox-143.0-rm.xpi 439728 BLAKE2B bbc3f52971821a9cfae606f9cbda9577ba524254ba4e73d7d30c6579e28e8dcd144223859bbeccc5435dcf9ed707ce588c22d4bf3c15f5f885dcd63d38066618 SHA512 8c6110aadb18ae8f0af8b7f657acc047578ba48649a044e94f25901cce370658d013dc544b9e6436d61cb6500d8c8f249b6d99ca418c1bbb2be1415a032ae171 +DIST firefox-143.0-ro.xpi 462055 BLAKE2B 1a0156a07b79d410cbad8d798ad7731d63c9f04555a22f03b74313718746522aa005f8b3c557cf654b3ace4292d9ac6a1bc4c43aa9d10cee37221dffeff8d96e SHA512 cbc1ded8e0ddb3c73115ee217acfb78b79a896b5e7f13e4c2e8fefc780f0d76a69e2175309185b9319d2ffeebbab74bede23692325f3f4203bf2c97fe97eba7c +DIST firefox-143.0-ru.xpi 536170 BLAKE2B c6ce5ac2c215d6b435b91311fa3d50d6b1aa04cc0153a522235110db34722f5f899cb9ed36c6af7a095ad958df555ecef5b07c539f979e29b019619cf7d6b212 SHA512 e9820ea8016b619a07f8936f37b0442c8528265fd12050a446c1ba53eeb6a17666cd2dacb9459600b1e67e4e93a8cbeabde931edebac8d51b49ef48ba6b0b7be +DIST firefox-143.0-sc.xpi 412080 BLAKE2B bef846b00604fae310f2d08e3a0e157fa7c1d4bad6df99a4e98a0a4989e8524b1e4c5c985125cca594bfe651ce2bd0ea1b38a4d65cc95a647e154635f45adc96 SHA512 cf7432cf931db78a39e240dd0324b580d86a79acfa3d012b0f78943028c1bbc025f2ebfa10705b47a5685182f94c70cdec8a518a361141ffb178e2f3667ac1f9 +DIST firefox-143.0-sco.xpi 321877 BLAKE2B 31a5880eef2669a399fc9fe25d57148272857137545ee02539ee8acc28e08203a21f815d432e614311d9749ce321f62700b5fca401df4eee1a153009bd3b47ba SHA512 4bc124413a0bb689793a83c3d2a7b7a8036492a2558c27ea4cbad1f5b3ce7f9383cd4ef00b7f8a186776ab66ba9aa92e96dc572ef0fdcf84320935e30ed2851b +DIST firefox-143.0-si.xpi 410374 BLAKE2B f8d6c123a783a77a3ff4674e0e2648970810ee87e44e5a80d731736ab700f5ba104b7bfea0b462c536b1589c1d31c60f0a77f3e60f98bcf9e77a680ded9ecf43 SHA512 a4e81b3a2a04fed24ff6e2416795a61495772a303e08c06333d04af6c90d3e94abe03fef018e0b88cc4a57cf672cc19969490acf9cd2bcc41c62446068c74d39 +DIST firefox-143.0-sk.xpi 478120 BLAKE2B edce90052ca3c808aa177236555c60636472dccbda627099beffbbc3f48e0ed0468d256faa221bdbad4df8a448d3e4aa10be889b8bd84ea7580c42e24b7e2917 SHA512 d31057bd731c39ce110e3cda1aefb9797062f559c51222b0a25ef549ebb93f27f912f3efc73c7d4474eb2a9f35c7dd720c8c737c0a0016ed6c954d06f7ae1cd6 +DIST firefox-143.0-skr.xpi 484342 BLAKE2B 61a5dc8eaad36609f40045a4de772fd0cf61828ef5cd87a83474f5f40212d1420e895972f3f3873b9c5e161a001aa7b0a975c9b1383de555422158de639ac939 SHA512 ab6482479f33352e0014442362b5169359bdfcacdbc8ab1f879681eecaec1419e62acc43077509df40afe94fb1dd7ce5874a6c5d388dd700e27533b4e5b084dc +DIST firefox-143.0-sl.xpi 449522 BLAKE2B 483a5f8a63ff759d838fa0a7d047d32236cbb79a0695cc89f68687763403f135304e6337bfffcf945f86a48b7b0296680de3362cc3b8112de0af4a48f5081ad6 SHA512 b9f25eeb534a8781df367785351b274b8f77d1d2c6a03ca3ed53cc8c46dc25713e35aef0725c8f9e8378c768ea7686a34504d11be2b5a5fd1f191262123f51dd +DIST firefox-143.0-son.xpi 273652 BLAKE2B 8312ecae3d7bc62aa2f33aae37df0f170a77d7bb80f7f6ea635919955f14167dd92352224c086ba7c93c715097450dba5b3584c95b406dfd70e4c6f2e480f2ee SHA512 68c2c83ee868eefa66ee5073dc924d5cb6f88b1a27b2895e91b5559a7b58f7a66f7eae05c030093113f0ebb95b2d2a93516b214abf91aa352b080160b3b818fc +DIST firefox-143.0-sq.xpi 451449 BLAKE2B 4d2033e34507106f1787147e8d5128697fbd9f5818d8c5bebd9ad46e65c4f9e2302e5d657ae24f3696a9dc3b3b78ef79d6a77890304028d195a82b339fa72c54 SHA512 e2b2527d721811322364761b5e911b7d4d86d0708e87fe8d644b67bde6180ca2a751c5748a53dc27b1b8db7d832a3cae60fef020144ef0f9e2a1f963767a7653 +DIST firefox-143.0-sr.xpi 452153 BLAKE2B 494d33f0dfe271eda95c669ab50aa643cc868ff4d3a81b8033d9dfd1f47fa8fbc91044997148cca29331d78c9d6cd81ebeaf91cd2b66ec3b62236f9125a16763 SHA512 4970ebab71aec416e24e387c773c2904adb0a1dee64f27532ea7463a15135818a5bf9934a1b0104555fc2aca20e6e7d4caeae0b1d713107bacf5eca9c90311fc +DIST firefox-143.0-sv-SE.xpi 444899 BLAKE2B 462763613070acba655000cae54f1cfce6c340bca17f40df941585bddb9ffe1ac4d8c8661604c6965c8986222fe198ba65a4ba672bb40590e2d26c1b7091046a SHA512 71dc240af658a93bea4d7946b9783b40a9a020c6f3fdfdfd74b2d23f41e9a673fbadcb97af45b325a58896f1f53473deebec25b21ff1934ae84ec292d7e42842 +DIST firefox-143.0-szl.xpi 340430 BLAKE2B deeda6224de1967c5506dcd5559029425381783e64a3ff563d20570868adadb595dabd84c31becf11d60436b1085d84c172b0d9adce177e805da362d95c67978 SHA512 e057956d3a043aa4b4c921991bf3d63d2073149209cc128ca012aeb3da986b3b7b865c021c958182b3c34fbc70b7698a09ace3f1ed647cbc356a39498e4f9494 +DIST firefox-143.0-ta.xpi 337871 BLAKE2B 698804049672b54632c83540d00814e1e2813b491139d7a0471dd51acd456843d90194b8f9e7c9ae7edf148cf92c91fa5dea0ca4cc147f1eee65c40b35aa428c SHA512 419ca01968efd668b8b42fbf8d33570802320b0b1f0c02581b12eaf2ef05e80cc1fd8743b42ddf73315f234e5f27ed57bb3cd71bcd1753a70503213c6228d20f +DIST firefox-143.0-te.xpi 381253 BLAKE2B 58a9ffc53c5a485a5bd651e81591e07aeea6053dd82054c82dcf6327a7fb12999543a928f01f3eb87afecd412beb10f684d97900ddb7e15ded99cabfb6605c9f SHA512 b06563e5c4b6fe9add4318211d9cc2f70d57cab5a5b228e2f7184dca1d2f44a91caaee7f61c7ec8f2582d362519d1581aff3d248c8e5169d789e420e6e6cb7c2 +DIST firefox-143.0-th.xpi 515762 BLAKE2B 8fd7d8e6c3c780082c0b80445eb08863cdd1681d370895e933eca020971c8ee745481c99a5e7d9f7773d91ab2905a062fbb971daea78bade389394e984362801 SHA512 12efe5b13a6771234d55f7b1422e8abc924ced957ac3b2abe736a05b26d9445cf0dba0a449cfc144ad24d63a08b750982134c3f771a56955749b6d22a4be8778 +DIST firefox-143.0-tl.xpi 355750 BLAKE2B 3794613655c29951931b122f283a5f6e927ecc057a0de1673c476925bc108b1045abc0abc0656266efd56544346d8522fb8424c3f3ea4ede1c5910c9f72819c0 SHA512 56663a947fe32bccac7d429d24e50e72a5e0dcbd19ffe8332af277028fd5ac50424d74394b99bfb51657476c9758ac988ff603304f1e47ee9c51ef1872b14a44 +DIST firefox-143.0-tr.xpi 458290 BLAKE2B c46ca46accb0c08bd1fe6d48370208afa2d1620184613e19067cc30873473495dc13a0d7c2a0f424bef863b862b02466513a32954b13713679d8248836b56d36 SHA512 999d565173b2e1664fb003e4989da5de9e12c70613a7928f56d702384cc517010c3d00be9c908fa017a29203d6da4f4ae44a8540d2143838ee54ed29ee339d63 +DIST firefox-143.0-trs.xpi 323324 BLAKE2B 39a7ab449ea2a7878e8cbb0086e88d2a6e99165adf96be636c3b77d3b2ddf45d81449391077cad762a459549244b3ef31e2b4dfad2e121dbec7ec7a8e9285c66 SHA512 e1ca48db084a3b1a69a6f7c4b77f1b948895fe32241af8252d633aec60b669cfc2091a210db8aafe757cb087ed77a2b4e3b293446362425d73f73f5e53cb95ee +DIST firefox-143.0-uk.xpi 520542 BLAKE2B d2b09093b9b5a170d256820a2f24112f2ecf82a9cf72004583c5122538f2e1ac0117f0e67fd4aeb0e2a9721d1c0a844fe597150fba3cb71b3d2ccc7091f0a1be SHA512 a1a805f627f131f1a6411d47e220a428e2f3725c94330f90f9ede905896f593b67569994ed26930a83f89acba333df1148bace4921803ec2ff8d4393515a4eaa +DIST firefox-143.0-ur.xpi 369739 BLAKE2B 374ea9f47b5491d947d1a6f523c36467a3f9e7704f8155d73c968703a74e28bca433d42e4aaaf3fbd0902c007ba18e5c9e447ab93385627819a8470c2577b59c SHA512 73ffccc41db0154010bd908404fd8980d3c2aa22436c9f7365d8c0612aeda68861f4d4f9049d50f5ee7fa2627a409adfeed67c247bfd0c26672100bbb72e8e4d +DIST firefox-143.0-uz.xpi 303345 BLAKE2B d1cd138bfb71c26d5a0bc81feb37e8b62a0b5b4bf10a67a20b72f511957c31a6f5c92b7fc6d6622b55d6963188d49f46927938cfc65d2507e91a24b77ac9a402 SHA512 7410833507f2a18a7baed3b114d1e8fd084151f78d55150274c898c585871ae217a089f680b543af077132298e35f5ea37aee1714a3ca39a5b8c9cc5b094cfce +DIST firefox-143.0-vi.xpi 478406 BLAKE2B 2117baec24d82515afec1af9a7c11965306c965d33a39f6052fe5942dd613cd6242dc4928da36b11e72e8f1619d16f89f5201a7dc3a6793cbbe1ded582f482cd SHA512 54de3eca3ce542cc20d61e6767f38f67615e3df03b69e4f3bb9bf5433b097bb230ed9b11ce771a9cbb168ae4d57d9e24d3a96a3e4f4e480b404949c3df25db74 +DIST firefox-143.0-xh.xpi 273327 BLAKE2B 08a3dc2ed9b779776efe9436ece3d2309964837da5afd025403f1fc8f82906d49e548a960dbb405de211f37477487d547edf7c316e7d4403ec13cf0acf81054e SHA512 df573009b96ebd673da3061971875c6ebd0f981ce0f78f974bd784ef22a12cbf0890d6709c06424021d7020463daa623c86e219a367f1f27c521ac08221f37f6 +DIST firefox-143.0-zh-CN.xpi 469380 BLAKE2B 04e88ee20bce063915df950d490c42ab7a7c6040e6525906836ba08b5c38321c4c933dfad2f75945c5b85c33a8fd300af9a24d8f28114493f1c6eda915108cba SHA512 8b807a6ff9772519471136ddebe005e85ce8094bf87bb59991782eb956c704dd929fc8279dd730cc6a4a6454e54ce7013698bbaa8b030eb82dcb889204676bf2 +DIST firefox-143.0-zh-TW.xpi 472965 BLAKE2B e13d54d2d8d6f268b0cf1c0fdcbd5b40822d625e80b6446eaaa506ed6aaf18d2b000b80ae2e8faf855cd2ca2ede3a4fb3b378575af83b6439619c73bd646a698 SHA512 24854174222872b3f4631eecfcfcf26402949b9eb483a5b7baa3c73e34f7ebb95e6082b2c6cea020a8fb079c5903b12a2a2c9703e581988c3860738e5a21694f +DIST firefox-143.0.source.tar.xz 645597188 BLAKE2B 3e71ba1d711c2f48efb693738efac3dbede6625c2c3a038c777128635ea39e39836569c205540561e5f65a26eb460f3aa84a60d70df4ff728add043e10d62fde SHA512 49fe5e5dbb7539be3e4c517d3cac453ea9b739e61040c4ac1abcf3d6665732fba5ff91fb040f3c0294af0f8c2824235a94e60ac9c26e25cb14d89d4b50c8a911 DIST wasi-sdk-25.0-arm64-linux.tar.gz 115160800 BLAKE2B 1ce22aaea87d0720d40d46ebdd96508c8fb0593b53c4489022fd5a1a9afb043a26a6e162a992d73454f612f2b6ab01e17a99c189c0c8b8c2d2d68fd96fabee1b SHA512 ef4eff22c1efec4dc5ab199d09d93ee0004f9fa67b32cac0030f8b6a40def10f714391cec8e803c200995dd8bfad3ebad9ec79b4195aa6b2ea61ea47a8b9e61f DIST wasi-sdk-25.0-x86_64-linux.tar.gz 114450290 BLAKE2B 07618828d4c25d67421aa72d38fc49bbff9052b8ecfe0fa9f4207e71880e9c650f458567cfa5bd389d5f830fcfee89142a77d33c29e7bccd1da7ddba2bc47b95 SHA512 716acc4b737ad6f51c6b32c3423612c03df9a3165bde3d6e24df5c86779b8be9463f5a79e620f2fc49707275563a6c9710242caca27e1ad9dd2c69e8fce8a766 DIST wasi-sdk-27.0-arm64-linux.tar.gz 124841089 BLAKE2B 7911b8d31e06e15a7e2001d81bcd27a583dd26d75ca0afc2a5bf31729bdba0a5786669dcc56dfd66d09c44862737dd3a62e8207262bcfb6e6845dfbe26216535 SHA512 6b6b5e109f2312634d67f0d7ab9690e0a7f69b21bf4894b86d584f7b1c340bd6696a5494ea8f96a759c691d023ac8c67ad7862112fc57106b86c2cef11f14f9d diff --git a/www-client/firefox/firefox-143.0.ebuild b/www-client/firefox/firefox-143.0.ebuild new file mode 100644 index 000000000000..a1857362c687 --- /dev/null +++ b/www-client/firefox/firefox-143.0.ebuild @@ -0,0 +1,1395 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +FIREFOX_PATCHSET="firefox-143-patches-01.tar.xz" + +LLVM_COMPAT=( 19 20 ) + +# This will also filter rust versions that don't match LLVM_COMPAT in the non-clang path; this is fine. +RUST_NEEDS_LLVM=1 + +# If not building with clang we need at least rust 1.76 +RUST_MIN_VER=1.82.0 + +PYTHON_COMPAT=( python3_{11..14} ) +PYTHON_REQ_USE="ncurses,sqlite,ssl" + +VIRTUALX_REQUIRED="manual" + +# Information about the bundled wasi toolchain from +# https://github.com/WebAssembly/wasi-sdk/ +WASI_SDK_VER=27.0 +WASI_SDK_LLVM_VER=20 + +MOZ_ESR= + +MOZ_PV=${PV} +MOZ_PV_SUFFIX= +if [[ ${PV} =~ (_(alpha|beta|rc).*)$ ]] ; then + MOZ_PV_SUFFIX=${BASH_REMATCH[1]} + + # Convert the ebuild version to the upstream Mozilla version + MOZ_PV="${MOZ_PV/_alpha/a}" # Handle alpha for SRC_URI + MOZ_PV="${MOZ_PV/_beta/b}" # Handle beta for SRC_URI + MOZ_PV="${MOZ_PV%%_rc*}" # Handle rc for SRC_URI +fi + +if [[ -n ${MOZ_ESR} ]] ; then + # ESR releases have slightly different version numbers + MOZ_PV="${MOZ_PV}esr" + HOMEPAGE="https://www.firefox.com https://www.firefox.com/enterprise/" + SLOT="esr" +else + HOMEPAGE="https://www.firefox.com" + SLOT="rapid" +fi + +MOZ_PN="${PN%-bin}" +MOZ_P="${MOZ_PN}-${MOZ_PV}" +MOZ_PV_DISTFILES="${MOZ_PV}${MOZ_PV_SUFFIX}" +MOZ_P_DISTFILES="${MOZ_PN}-${MOZ_PV_DISTFILES}" + +inherit check-reqs desktop flag-o-matic gnome2-utils linux-info llvm-r1 multiprocessing \ + optfeature pax-utils python-any-r1 readme.gentoo-r1 rust toolchain-funcs virtualx xdg + +MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/releases/${MOZ_PV}" + +if [[ ${PV} == *_rc* ]] ; then + MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/candidates/${MOZ_PV}-candidates/build${PV##*_rc}" +fi + +PATCH_URIS=( + https://dev.gentoo.org/~juippis/mozilla/patchsets/${FIREFOX_PATCHSET} +) + +DESCRIPTION="Firefox Web Browser" +SRC_URI="${MOZ_SRC_BASE_URI}/source/${MOZ_P}.source.tar.xz -> ${MOZ_P_DISTFILES}.source.tar.xz + ${PATCH_URIS[@]} + wasm-sandbox? ( + amd64? ( https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-${WASI_SDK_VER/.*/}/wasi-sdk-${WASI_SDK_VER}-x86_64-linux.tar.gz ) + arm64? ( https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-${WASI_SDK_VER/.*/}/wasi-sdk-${WASI_SDK_VER}-arm64-linux.tar.gz ) + )" + +S="${WORKDIR}/${PN}-${PV%_*}" +LICENSE="MPL-2.0 GPL-2 LGPL-2.1" +KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86" + +IUSE="+clang dbus debug eme-free hardened hwaccel jack libproxy pgo pulseaudio selinux sndio" +IUSE+=" +system-av1 +system-harfbuzz +system-icu +system-jpeg +system-libevent +system-libvpx" +IUSE+=" system-pipewire system-png +system-webp test valgrind wayland wifi +X" + +# Firefox-only IUSE +IUSE+=" +gmp-autoupdate gnome-shell jpegxl +jumbo-build openh264 +telemetry wasm-sandbox" + +REQUIRED_USE="|| ( X wayland ) + debug? ( !system-av1 ) + pgo? ( jumbo-build ) + wayland? ( dbus ) + wifi? ( dbus ) +" + +RESTRICT="!test? ( test )" + +FF_ONLY_DEPEND="!www-client/firefox:0 + selinux? ( sec-policy/selinux-mozilla )" +BDEPEND="${PYTHON_DEPS} + $(llvm_gen_dep ' + llvm-core/clang:${LLVM_SLOT} + llvm-core/llvm:${LLVM_SLOT} + clang? ( + llvm-core/lld:${LLVM_SLOT} + pgo? ( llvm-runtimes/compiler-rt-sanitizers:${LLVM_SLOT}[profile] ) + ) + wasm-sandbox? ( llvm-core/lld:${LLVM_SLOT} ) + ') + app-alternatives/awk + app-arch/unzip + app-arch/zip + >=dev-util/cbindgen-0.27.0 + net-libs/nodejs + virtual/pkgconfig + amd64? ( >=dev-lang/nasm-2.14 ) + x86? ( >=dev-lang/nasm-2.14 ) + pgo? ( + X? ( + sys-devel/gettext + x11-base/xorg-server[xvfb] + x11-apps/xhost + ) + !X? ( + gui-wm/tinywl + x11-misc/xkeyboard-config + ) + )" +COMMON_DEPEND="${FF_ONLY_DEPEND} + >=app-accessibility/at-spi2-core-2.46.0:2 + dev-libs/expat + dev-libs/glib:2 + dev-libs/libffi:= + >=dev-libs/nss-3.115.1 + >=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-1.4.7-r2:= ) + system-png? ( >=media-libs/libpng-1.6.45:0=[apng] ) + system-webp? ( >=media-libs/libwebp-1.1.0:0= ) + valgrind? ( dev-debug/valgrind ) + wayland? ( + >=media-libs/libepoxy-1.5.10-r1 + x11-libs/gtk+:3[wayland] + ) + wifi? ( + kernel_linux? ( + || ( + net-misc/networkmanager + net-misc/connman[networkmanager] + ) + sys-apps/dbus + ) + ) + X? ( + virtual/opengl + x11-libs/cairo[X] + x11-libs/gtk+:3[X] + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXrandr + x11-libs/libxcb:= + )" +RDEPEND="${COMMON_DEPEND} + hwaccel? ( + media-video/libva-utils + sys-apps/pciutils + ) + jack? ( virtual/jack ) + openh264? ( media-libs/openh264:*[plugin] )" +DEPEND="${COMMON_DEPEND} + X? ( + x11-base/xorg-proto + x11-libs/libICE + x11-libs/libSM + )" + +# ESR and rapid dependencies. +if [[ -n ${MOZ_ESR} ]] ; then + RDEPEND+=" !www-client/firefox:rapid" +else + RDEPEND+=" !www-client/firefox:esr" +fi + +# Allow MOZ_GMP_PLUGIN_LIST to be set in an eclass or +# overridden in the enviromnent (advanced hackers only) +if [[ -z "${MOZ_GMP_PLUGIN_LIST+set}" ]] ; then + MOZ_GMP_PLUGIN_LIST=( gmp-gmpopenh264 gmp-widevinecdm ) +fi + +llvm_check_deps() { + if ! has_version -b "llvm-core/clang:${LLVM_SLOT}" ; then + einfo "llvm-core/clang:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 + return 1 + fi + + if use clang && ! tc-ld-is-mold ; then + if ! has_version -b "llvm-core/lld:${LLVM_SLOT}" ; then + einfo "llvm-core/lld:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 + return 1 + fi + fi + + if use pgo ; then + if ! has_version -b "=llvm-runtimes/compiler-rt-sanitizers-${LLVM_SLOT}*[profile]" ; then + einfo "=llvm-runtimes/compiler-rt-sanitizers-${LLVM_SLOT}*[profile] is missing!" >&2 + einfo "Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 + return 1 + fi + fi + + einfo "Using LLVM slot ${LLVM_SLOT} to build" >&2 +} + +MOZ_LANGS=( + af ar ast be bg br ca cak cs cy da de dsb + el en-CA en-GB en-US es-AR es-ES et eu + fi fr fy-NL ga-IE gd gl he hr hsb hu + id is it ja ka kab kk ko lt lv ms nb-NO nl nn-NO + pa-IN pl pt-BR pt-PT rm ro ru + sk sl sq sr sv-SE th tr uk uz vi zh-CN zh-TW +) + +# Firefox-only LANGS +MOZ_LANGS+=( ach ) +MOZ_LANGS+=( an ) +MOZ_LANGS+=( az ) +MOZ_LANGS+=( bn ) +MOZ_LANGS+=( bs ) +MOZ_LANGS+=( ca-valencia ) +MOZ_LANGS+=( eo ) +MOZ_LANGS+=( es-CL ) +MOZ_LANGS+=( es-MX ) +MOZ_LANGS+=( fa ) +MOZ_LANGS+=( ff ) +MOZ_LANGS+=( fur ) +MOZ_LANGS+=( gn ) +MOZ_LANGS+=( gu-IN ) +MOZ_LANGS+=( hi-IN ) +MOZ_LANGS+=( hy-AM ) +MOZ_LANGS+=( ia ) +MOZ_LANGS+=( km ) +MOZ_LANGS+=( kn ) +MOZ_LANGS+=( lij ) +MOZ_LANGS+=( mk ) +MOZ_LANGS+=( mr ) +MOZ_LANGS+=( my ) +MOZ_LANGS+=( ne-NP ) +MOZ_LANGS+=( oc ) +MOZ_LANGS+=( sc ) +MOZ_LANGS+=( sco ) +MOZ_LANGS+=( si ) +MOZ_LANGS+=( skr ) +MOZ_LANGS+=( son ) +MOZ_LANGS+=( szl ) +MOZ_LANGS+=( ta ) +MOZ_LANGS+=( te ) +MOZ_LANGS+=( tl ) +MOZ_LANGS+=( trs ) +MOZ_LANGS+=( ur ) +MOZ_LANGS+=( xh ) + +mozilla_set_globals() { + # https://bugs.gentoo.org/587334 + local MOZ_TOO_REGIONALIZED_FOR_L10N=( + fy-NL ga-IE gu-IN hi-IN hy-AM nb-NO ne-NP nn-NO pa-IN sv-SE + ) + + local lang xflag + for lang in "${MOZ_LANGS[@]}" ; do + # en and en_US are handled internally + if [[ ${lang} == en ]] || [[ ${lang} == en-US ]] ; then + continue + fi + + # strip region subtag if $lang is in the list + if has ${lang} "${MOZ_TOO_REGIONALIZED_FOR_L10N[@]}" ; then + xflag=${lang%%-*} + else + xflag=${lang} + fi + + SRC_URI+=" l10n_${xflag/[_@]/-}? (" + SRC_URI+=" ${MOZ_SRC_BASE_URI}/linux-x86_64/xpi/${lang}.xpi -> ${MOZ_P_DISTFILES}-${lang}.xpi" + SRC_URI+=" )" + IUSE+=" l10n_${xflag/[_@]/-}" + done +} +mozilla_set_globals + +moz_clear_vendor_checksums() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -ne 1 ]] ; then + die "${FUNCNAME} requires exact one argument" + fi + + einfo "Clearing cargo checksums for ${1} ..." + + sed -i \ + -e 's/\("files":{\)[^}]*/\1/' \ + "${S}"/third_party/rust/${1}/.cargo-checksum.json || die +} + +moz_install_xpi() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 2 ]] ; then + die "${FUNCNAME} requires at least two arguments" + fi + + local DESTDIR=${1} + shift + + insinto "${DESTDIR}" + + local emid xpi_file xpi_tmp_dir + for xpi_file in "${@}" ; do + emid= + xpi_tmp_dir=$(mktemp -d --tmpdir="${T}") + + # Unpack XPI + unzip -qq "${xpi_file}" -d "${xpi_tmp_dir}" || die + + # Determine extension ID + if [[ -f "${xpi_tmp_dir}/install.rdf" ]] ; then + emid=$(sed -n -e '/install-manifest/,$ { /em:id/!d; s/.*[\">]\([^\"<>]*\)[\"<].*/\1/; p; q }' "${xpi_tmp_dir}/install.rdf") + [[ -z "${emid}" ]] && die "failed to determine extension id from install.rdf" + elif [[ -f "${xpi_tmp_dir}/manifest.json" ]] ; then + emid=$(sed -n -e 's/.*"id": "\([^"]*\)".*/\1/p' "${xpi_tmp_dir}/manifest.json") + [[ -z "${emid}" ]] && die "failed to determine extension id from manifest.json" + else + die "failed to determine extension id" + fi + + einfo "Installing ${emid}.xpi into ${ED}${DESTDIR} ..." + newins "${xpi_file}" "${emid}.xpi" + done +} + +mozconfig_add_options_ac() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 2 ]] ; then + die "${FUNCNAME} requires at least two arguments" + fi + + local reason=${1} + shift + + local option + for option in ${@} ; do + echo "ac_add_options ${option} # ${reason}" >>${MOZCONFIG} + done +} + +mozconfig_add_options_mk() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 2 ]] ; then + die "${FUNCNAME} requires at least two arguments" + fi + + local reason=${1} + shift + + local option + for option in ${@} ; do + echo "mk_add_options ${option} # ${reason}" >>${MOZCONFIG} + done +} + +mozconfig_use_enable() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 1 ]] ; then + die "${FUNCNAME} requires at least one arguments" + fi + + local flag=$(use_enable "${@}") + mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" "${flag}" +} + +mozconfig_use_with() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 1 ]] ; then + die "${FUNCNAME} requires at least one arguments" + fi + + local flag=$(use_with "${@}") + mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" "${flag}" +} + +virtwl() { + debug-print-function ${FUNCNAME} "$@" + + [[ $# -lt 1 ]] && die "${FUNCNAME} needs at least one argument" + [[ -n $XDG_RUNTIME_DIR ]] || die "${FUNCNAME} needs XDG_RUNTIME_DIR to be set; try xdg_environment_reset" + tinywl -h >/dev/null || die 'tinywl -h failed' + + local VIRTWL VIRTWL_PID + coproc VIRTWL { WLR_BACKENDS=headless exec tinywl -s 'echo $WAYLAND_DISPLAY; read _; kill $PPID'; } + local -x WAYLAND_DISPLAY + read WAYLAND_DISPLAY <&${VIRTWL[0]} + + debug-print "${FUNCNAME}: $@" + "$@" + local r=$? + + [[ -n $VIRTWL_PID ]] || die "tinywl exited unexpectedly" + exec {VIRTWL[0]}<&- {VIRTWL[1]}>&- + return $r +} + +pkg_pretend() { + if [[ ${MERGE_TYPE} != binary ]] ; then + # Ensure we have enough disk space to compile + if use pgo || use debug ; then + CHECKREQS_DISK_BUILD="14300M" + elif tc-is-lto ; then + CHECKREQS_DISK_BUILD="10600M" + else + CHECKREQS_DISK_BUILD="7400M" + fi + + check-reqs_pkg_pretend + fi +} + +pkg_setup() { + + # Get LTO from environment; export after this phase for use in src_configure (etc) + use_lto=no + + if [[ ${MERGE_TYPE} != binary ]] ; then + + if tc-is-lto; then + use_lto=yes + # LTO is handled via configure + filter-lto + fi + + if use pgo ; then + if ! has userpriv ${FEATURES} ; then + eerror "Building ${PN} with USE=pgo and FEATURES=-userpriv is not supported!" + fi + fi + + if [[ ${use_lto} = yes ]]; then + # -Werror=lto-type-mismatch -Werror=odr are going to fail with GCC, + # bmo#1516758, bgo#942288 + filter-flags -Werror=lto-type-mismatch -Werror=odr + fi + + # Ensure we have enough disk space to compile + if use pgo || use debug ; then + CHECKREQS_DISK_BUILD="14300M" + elif [[ ${use_lto} == "yes" ]] ; then + CHECKREQS_DISK_BUILD="10600M" + else + CHECKREQS_DISK_BUILD="7400M" + fi + + check-reqs_pkg_setup + llvm-r1_pkg_setup + rust_pkg_setup + python-any-r1_pkg_setup + + # Avoid PGO profiling problems due to enviroment leakage + # These should *always* be cleaned up anyway + unset \ + DBUS_SESSION_BUS_ADDRESS \ + DISPLAY \ + ORBIT_SOCKETDIR \ + SESSION_MANAGER \ + XAUTHORITY \ + XDG_CACHE_HOME \ + XDG_SESSION_COOKIE + + # Build system is using /proc/self/oom_score_adj, bug #604394 + addpredict /proc/self/oom_score_adj + + if use pgo ; then + # Update 105.0: "/proc/self/oom_score_adj" isn't enough anymore with pgo, but not sure + # whether that's due to better OOM handling by Firefox (bmo#1771712), or portage + # (PORTAGE_SCHEDULING_POLICY) update... + addpredict /proc + + # Clear tons of conditions, since PGO is hardware-dependant. + addpredict /dev + fi + + if ! mountpoint -q /dev/shm ; then + # If /dev/shm is not available, configure is known to fail with + # a traceback report referencing /usr/lib/pythonN.N/multiprocessing/synchronize.py + ewarn "/dev/shm is not mounted -- expect build failures!" + fi + + # Google API keys (see http://www.chromium.org/developers/how-tos/api-keys) + # Note: These are for Gentoo Linux use ONLY. For your own distribution, please + # get your own set of keys. + if [[ -z "${MOZ_API_KEY_GOOGLE+set}" ]] ; then + MOZ_API_KEY_GOOGLE="AIzaSyDEAOvatFogGaPi0eTgsV_ZlEzx0ObmepsMzfAc" + fi + + if [[ -z "${MOZ_API_KEY_LOCATION+set}" ]] ; then + MOZ_API_KEY_LOCATION="AIzaSyB2h2OuRgGaPicUgy5N-5hsZqiPW6sH3n_rptiQ" + fi + + # Mozilla API keys (see https://location.services.mozilla.com/api) + # Note: These are for Gentoo Linux use ONLY. For your own distribution, please + # get your own set of keys. + if [[ -z "${MOZ_API_KEY_MOZILLA+set}" ]] ; then + MOZ_API_KEY_MOZILLA="edb3d487-3a84-46m0ap1e3-9dfd-92b5efaaa005" + fi + + # Ensure we use C locale when building, bug #746215 + export LC_ALL=C + fi + + export use_lto + + CONFIG_CHECK="~SECCOMP" + WARNING_SECCOMP="CONFIG_SECCOMP not set! This system will be unable to play DRM-protected content." + linux-info_pkg_setup +} + +src_unpack() { + local _lp_dir="${WORKDIR}/language_packs" + local _src_file + + if [[ ! -d "${_lp_dir}" ]] ; then + mkdir "${_lp_dir}" || die + fi + + for _src_file in ${A} ; do + if [[ ${_src_file} == *.xpi ]]; then + cp "${DISTDIR}/${_src_file}" "${_lp_dir}" || die "Failed to copy '${_src_file}' to '${_lp_dir}'!" + else + unpack ${_src_file} + fi + done +} + +src_prepare() { + if [[ ${use_lto} == "yes" ]]; then + rm -v "${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch || die + fi + + # Workaround for bgo#915651 on musl + if use elibc_glibc ; then + rm -v "${WORKDIR}"/firefox-patches/*bgo-748849-RUST_TARGET_override.patch || die + fi + + eapply "${WORKDIR}/firefox-patches" + + # Allow user to apply any additional patches without modifing ebuild + eapply_user + + # Make cargo respect MAKEOPTS + export CARGO_BUILD_JOBS="$(makeopts_jobs)" + + # Workaround for bgo#915651 + if ! use elibc_glibc ; then + if use amd64 ; then + export RUST_TARGET="x86_64-unknown-linux-musl" + elif use x86 ; then + export RUST_TARGET="i686-unknown-linux-musl" + elif use arm64 ; then + export RUST_TARGET="aarch64-unknown-linux-musl" + elif use loong; then + # Only the LP64D ABI of LoongArch64 is actively supported among + # the wider Linux ecosystem, so the assumption is safe. + export RUST_TARGET="loongarch64-unknown-linux-musl" + elif use ppc64 ; then + export RUST_TARGET="powerpc64le-unknown-linux-musl" + elif use riscv ; then + # We can pretty safely rule out any 32-bit riscvs, but 64-bit riscvs also have tons of + # different ABIs available. riscv64gc-unknown-linux-musl seems to be the best working + # guess right now though. + elog "riscv detected, forcing a riscv64 target for now." + export RUST_TARGET="riscv64gc-unknown-linux-musl" + else + die "Unknown musl chost, please post a new bug with your rustc -vV along with emerge --info" + fi + fi + + # Pre-built wasm-sandbox path manipulation. + if use wasm-sandbox ; then + if use amd64 ; then + export wasi_arch="x86_64" + elif use arm64 ; then + export wasi_arch="arm64" + else + die "wasm-sandbox enabled on unknown/unsupported arch!" + fi + + sed -i \ + -e "s:%%PORTAGE_WORKDIR%%:${WORKDIR}:" \ + -e "s:%%WASI_ARCH%%:${wasi_arch}:" \ + -e "s:%%WASI_SDK_VER%%:${WASI_SDK_VER}:" \ + -e "s:%%WASI_SDK_LLVM_VER%%:${WASI_SDK_LLVM_VER}:" \ + toolkit/moz.configure || die "Failed to update wasi-related paths." + fi + + # Make LTO respect MAKEOPTS + sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ + "${S}"/build/moz.configure/lto-pgo.configure || die "Failed sedding multiprocessing.cpu_count" + + sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ + "${S}"/third_party/chromium/build/toolchain/get_cpu_count.py || die "Failed sedding multiprocessing.cpu_count" + + sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ + "${S}"/third_party/python/gyp/pylib/gyp/input.py || die "Failed sedding multiprocessing.cpu_count" + + # sed-in toolchain prefix + sed -i \ + -e "s/objdump/${CHOST}-objdump/" \ + "${S}"/python/mozbuild/mozbuild/configure/check_debug_ranges.py || die "sed failed to set toolchain prefix" + + sed -i \ + -e 's/ccache_stats = None/return None/' \ + "${S}"/python/mozbuild/mozbuild/controller/building.py || die "sed failed to disable ccache stats call" + + einfo "Removing pre-built binaries ..." + + find "${S}"/third_party -type f \( -name '*.so' -o -name '*.o' \) -print -delete || die + + # Clear checksums from cargo crates we've manually patched. + # moz_clear_vendor_checksums xyz + + # Respect choice for "jumbo-build" + # Changing the value for FILES_PER_UNIFIED_FILE may not work, see #905431 + if [[ -n ${FILES_PER_UNIFIED_FILE} ]] && use jumbo-build; then + local my_files_per_unified_file=${FILES_PER_UNIFIED_FILE:=16} + elog "" + elog "jumbo-build defaults modified to ${my_files_per_unified_file}." + elog "if you get a build failure, try undefining FILES_PER_UNIFIED_FILE," + elog "if that fails try -jumbo-build before opening a bug report." + elog "" + + sed -i -e "s/\"FILES_PER_UNIFIED_FILE\", 16/\"FILES_PER_UNIFIED_FILE\", "${my_files_per_unified_file}"/" \ + python/mozbuild/mozbuild/frontend/data.py || + die "Failed to adjust FILES_PER_UNIFIED_FILE in python/mozbuild/mozbuild/frontend/data.py" + sed -i -e "s/FILES_PER_UNIFIED_FILE = 6/FILES_PER_UNIFIED_FILE = "${my_files_per_unified_file}"/" \ + js/src/moz.build || + die "Failed to adjust FILES_PER_UNIFIED_FILE in js/src/moz.build" + fi + + # Create build dir + BUILD_DIR="${WORKDIR}/${PN}_build" + mkdir -p "${BUILD_DIR}" || die + + # Write API keys to disk + echo -n "${MOZ_API_KEY_GOOGLE//gGaPi/}" > "${S}"/api-google.key || die + echo -n "${MOZ_API_KEY_LOCATION//gGaPi/}" > "${S}"/api-location.key || die + echo -n "${MOZ_API_KEY_MOZILLA//m0ap1/}" > "${S}"/api-mozilla.key || die + + xdg_environment_reset +} + +src_configure() { + # Show flags set at the beginning + einfo "Current BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}" + einfo "Current CFLAGS:\t\t${CFLAGS:-no value set}" + einfo "Current CXXFLAGS:\t\t${CXXFLAGS:-no value set}" + einfo "Current LDFLAGS:\t\t${LDFLAGS:-no value set}" + einfo "Current RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}" + + local have_switched_compiler= + if use clang; then + # Force clang + einfo "Enforcing the use of clang due to USE=clang ..." + + local version_clang=$(clang --version 2>/dev/null | grep -F -- 'clang version' | awk '{ print $3 }') + [[ -n ${version_clang} ]] && version_clang=$(ver_cut 1 "${version_clang}") + [[ -z ${version_clang} ]] && die "Failed to read clang version!" + + if tc-is-gcc; then + have_switched_compiler=yes + fi + + AR=llvm-ar + CC=${CHOST}-clang-${version_clang} + CXX=${CHOST}-clang++-${version_clang} + NM=llvm-nm + RANLIB=llvm-ranlib + elif ! use clang && ! tc-is-gcc ; then + # Force gcc + have_switched_compiler=yes + einfo "Enforcing the use of gcc due to USE=-clang ..." + AR=gcc-ar + CC=${CHOST}-gcc + CXX=${CHOST}-g++ + NM=gcc-nm + RANLIB=gcc-ranlib + fi + + if [[ -n "${have_switched_compiler}" ]] ; then + # Because we switched active compiler we have to ensure + # that no unsupported flags are set + strip-unsupported-flags + fi + + # Ensure we use correct toolchain, + # AS is used in a non-standard way by upstream, #bmo1654031 + export HOST_CC="$(tc-getBUILD_CC)" + export HOST_CXX="$(tc-getBUILD_CXX)" + export AS="$(tc-getCC) -c" + + # Configuration tests expect llvm-readelf output, bug 913130 + READELF="llvm-readelf" + + tc-export CC CXX LD AR AS NM OBJDUMP RANLIB READELF PKG_CONFIG + + # Pass the correct toolchain paths through cbindgen + if tc-is-cross-compiler ; then + export BINDGEN_CFLAGS="${SYSROOT:+--sysroot=${ESYSROOT}} --target=${CHOST} ${BINDGEN_CFLAGS-}" + fi + + # Set MOZILLA_FIVE_HOME + export MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" + + # python/mach/mach/mixin/process.py fails to detect SHELL + export SHELL="${EPREFIX}/bin/bash" + + # Set state path + export MOZBUILD_STATE_PATH="${BUILD_DIR}" + + # Set MOZCONFIG + export MOZCONFIG="${S}/.mozconfig" + + # Initialize MOZCONFIG + mozconfig_add_options_ac '' --enable-application=browser + mozconfig_add_options_ac '' --enable-project=browser + + # Set Gentoo defaults + if use telemetry; then + export MOZILLA_OFFICIAL=1 + fi + + mozconfig_add_options_ac 'Gentoo default' \ + --allow-addon-sideload \ + --disable-cargo-incremental \ + --disable-crashreporter \ + --disable-disk-remnant-avoidance \ + --disable-geckodriver \ + --disable-install-strip \ + --disable-legacy-profile-creation \ + --disable-parental-controls \ + --disable-strip \ + --disable-updater \ + --disable-wmf \ + --enable-negotiateauth \ + --enable-new-pass-manager \ + --enable-official-branding \ + --enable-packed-relative-relocs \ + --enable-release \ + --enable-system-policies \ + --host="${CBUILD:-${CHOST}}" \ + --libdir="${EPREFIX}/usr/$(get_libdir)" \ + --prefix="${EPREFIX}/usr" \ + --target="${CHOST}" \ + --without-ccache \ + --with-intl-api \ + --with-libclang-path="$(llvm-config --libdir)" \ + --with-system-ffi \ + --with-system-gbm \ + --with-system-libdrm \ + --with-system-nspr \ + --with-system-nss \ + --with-system-pixman \ + --with-system-zlib \ + --with-toolchain-prefix="${CHOST}-" \ + --with-unsigned-addon-scopes=app,system + + # Set update channel + local update_channel=release + [[ -n ${MOZ_ESR} ]] && update_channel=esr + mozconfig_add_options_ac '' --enable-update-channel=${update_channel} + + # Whitelist to allow unkeyworded arches to build with "--disable-rust-simd" by default. + if use amd64 || use arm64 || use ppc64 || use loong || use riscv ; then + mozconfig_add_options_ac '' --enable-rust-simd + fi + + # For future keywording: This is currently (97.0) only supported on: + # amd64, arm, arm64 & x86. + # Might want to flip the logic around if Firefox is to support more arches. + # bug 833001, bug 903411#c8 + if use loong || use ppc64 || use riscv; then + mozconfig_add_options_ac '' --disable-sandbox + elif use valgrind; then + mozconfig_add_options_ac 'valgrind requirement' --disable-sandbox + else + mozconfig_add_options_ac '' --enable-sandbox + fi + + # riscv-related options, bgo#947337, bgo#947338 + if use riscv ; then + mozconfig_add_options_ac 'Disable webrtc for RISC-V' --disable-webrtc + fi + + if [[ -s "${S}/api-google.key" ]] ; then + local key_origin="Gentoo default" + if [[ $(cat "${S}/api-google.key" | md5sum | awk '{ print $1 }') != 709560c02f94b41f9ad2c49207be6c54 ]] ; then + key_origin="User value" + fi + + mozconfig_add_options_ac "${key_origin}" \ + --with-google-safebrowsing-api-keyfile="${S}/api-google.key" + else + einfo "Building without Google API key ..." + fi + + if [[ -s "${S}/api-location.key" ]] ; then + local key_origin="Gentoo default" + if [[ $(cat "${S}/api-location.key" | md5sum | awk '{ print $1 }') != ffb7895e35dedf832eb1c5d420ac7420 ]] ; then + key_origin="User value" + fi + + mozconfig_add_options_ac "${key_origin}" \ + --with-google-location-service-api-keyfile="${S}/api-location.key" + else + einfo "Building without Location API key ..." + fi + + if [[ -s "${S}/api-mozilla.key" ]] ; then + local key_origin="Gentoo default" + if [[ $(cat "${S}/api-mozilla.key" | md5sum | awk '{ print $1 }') != 3927726e9442a8e8fa0e46ccc39caa27 ]] ; then + key_origin="User value" + fi + + mozconfig_add_options_ac "${key_origin}" \ + --with-mozilla-api-keyfile="${S}/api-mozilla.key" + else + einfo "Building without Mozilla API key ..." + fi + + mozconfig_use_with system-av1 + mozconfig_use_with system-harfbuzz + mozconfig_use_with system-icu + mozconfig_use_with system-jpeg + mozconfig_use_with system-libevent + mozconfig_use_with system-libvpx + mozconfig_use_with system-pipewire + mozconfig_use_with system-png + mozconfig_use_with system-webp + + mozconfig_use_enable dbus + mozconfig_use_enable libproxy + mozconfig_use_enable valgrind + + use eme-free && mozconfig_add_options_ac '+eme-free' --disable-eme + + if use hardened ; then + mozconfig_add_options_ac "+hardened" --enable-hardening + append-ldflags "-Wl,-z,relro -Wl,-z,now" + + # Increase the FORTIFY_SOURCE value, #910071. + sed -i -e '/-D_FORTIFY_SOURCE=/s:2:3:' "${S}"/build/moz.configure/toolchain.configure || die + fi + + local myaudiobackends="" + use jack && myaudiobackends+="jack," + use sndio && myaudiobackends+="sndio," + use pulseaudio && myaudiobackends+="pulseaudio," + ! use pulseaudio && myaudiobackends+="alsa," + + mozconfig_add_options_ac '--enable-audio-backends' --enable-audio-backends="${myaudiobackends::-1}" + + mozconfig_use_enable wifi necko-wifi + + ! use jumbo-build && mozconfig_add_options_ac '--disable-unified-build' --disable-unified-build + + if use X && use wayland ; then + mozconfig_add_options_ac '+x11+wayland' --enable-default-toolkit=cairo-gtk3-x11-wayland + elif ! use X && use wayland ; then + mozconfig_add_options_ac '+wayland' --enable-default-toolkit=cairo-gtk3-wayland-only + else + mozconfig_add_options_ac '+x11' --enable-default-toolkit=cairo-gtk3-x11-only + fi + + # wasm-sandbox + # Since graphite2 is one of the sandboxed libraries, system-graphite2 obviously can't work with +wasm-sandbox. + if use wasm-sandbox ; then + mozconfig_add_options_ac '+wasm-sandbox' --with-wasi-sysroot="${WORKDIR}/wasi-sdk-${WASI_SDK_VER}-${wasi_arch}-linux/share/wasi-sysroot/" + else + mozconfig_add_options_ac 'no wasm-sandbox' --without-wasm-sandboxed-libraries + mozconfig_use_with system-harfbuzz system-graphite2 + fi + + ! use jpegxl && mozconfig_add_options_ac '-jpegxl' --disable-jxl + + if [[ ${use_lto} == "yes" ]] ; then + if use clang ; then + # Upstream only supports lld or mold when using clang. + if tc-ld-is-mold ; then + # mold expects the -flto line from *FLAGS configuration, bgo#923119 + append-ldflags "-flto=thin" + mozconfig_add_options_ac "using ld=mold due to system selection" --enable-linker=mold + else + mozconfig_add_options_ac "forcing ld=lld due to USE=clang and USE=lto" --enable-linker=lld + fi + + mozconfig_add_options_ac '+lto' --enable-lto=cross + + else + # ThinLTO is currently broken, see bmo#1644409. + # mold does not support gcc+lto combination. + mozconfig_add_options_ac '+lto' --enable-lto=full + mozconfig_add_options_ac "linker is set to bfd" --enable-linker=bfd + fi + + else + # Avoid auto-magic on linker + if use clang ; then + # lld is upstream's default + if tc-ld-is-mold ; then + mozconfig_add_options_ac "using ld=mold due to system selection" --enable-linker=mold + else + mozconfig_add_options_ac "forcing ld=lld due to USE=clang" --enable-linker=lld + fi + + else + if tc-ld-is-mold ; then + mozconfig_add_options_ac "using ld=mold due to system selection" --enable-linker=mold + else + mozconfig_add_options_ac "linker is set to bfd due to USE=-clang" --enable-linker=bfd + fi + fi + fi + + # PGO was moved outside lto block to allow building pgo without lto. + if use pgo ; then + mozconfig_add_options_ac '+pgo' MOZ_PGO=1 + + # Avoid compressing just-built instrumented Firefox with + # high levels of compression. Just use tar as a container + # to save >=10 minutes. + export MOZ_PKG_FORMAT=tar + + if use clang ; then + # Used in build/pgo/profileserver.py + export LLVM_PROFDATA="llvm-profdata" + fi + fi + + mozconfig_use_enable debug + if use debug ; then + mozconfig_add_options_ac '+debug' --disable-optimize + mozconfig_add_options_ac '+debug' --enable-jemalloc + mozconfig_add_options_ac '+debug' --enable-real-time-tracing + else + mozconfig_add_options_ac 'Gentoo defaults' --disable-real-time-tracing + + if is-flag '-g*' ; then + if use clang ; then + mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols=$(get-flag '-g*') + else + mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols + fi + else + mozconfig_add_options_ac 'Gentoo default' --disable-debug-symbols + fi + + if is-flag '-O0' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O0 + elif is-flag '-O4' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O4 + elif is-flag '-O3' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O3 + elif is-flag '-O1' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O1 + elif is-flag '-Os' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-Os + else + mozconfig_add_options_ac "Gentoo default" --enable-optimize=-O2 + fi + fi + + # Debug flag was handled via configure + filter-flags '-g*' + + # Optimization flag was handled via configure + filter-flags '-O*' + + # elf-hack + # Filter "-z,pack-relative-relocs" and let the build system handle it instead. + if use amd64 || use x86 ; then + filter-flags "-z,pack-relative-relocs" + + if tc-ld-is-mold ; then + # relr-elf-hack is currently broken with mold, bgo#916259 + mozconfig_add_options_ac 'disable elf-hack with mold linker' --disable-elf-hack + else + mozconfig_add_options_ac 'relr elf-hack' --enable-elf-hack=relr + fi + elif use loong || use ppc64 || use riscv ; then + # '--disable-elf-hack' is not recognized on loong/ppc64/riscv, + # see bgo #917049, #930046 + :; + else + mozconfig_add_options_ac 'disable elf-hack on non-supported arches' --disable-elf-hack + fi + + if ! use elibc_glibc; then + mozconfig_add_options_ac '!elibc_glibc' --disable-jemalloc + fi + + if use valgrind; then + mozconfig_add_options_ac 'valgrind requirement' --disable-jemalloc + fi + + # System-av1 fix + use system-av1 && append-ldflags "-Wl,--undefined-version" + + # Make revdep-rebuild.sh happy; Also required for musl + append-ldflags -Wl,-rpath="${MOZILLA_FIVE_HOME}",--enable-new-dtags + + # Pass $MAKEOPTS to build system + export MOZ_MAKE_FLAGS="${MAKEOPTS}" + + # Use system's Python environment + export PIP_NETWORK_INSTALL_RESTRICTED_VIRTUALENVS=mach + + export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE="none" + + if ! use telemetry; then + mozconfig_add_options_mk '-telemetry setting' "MOZ_CRASHREPORTER=0" + mozconfig_add_options_mk '-telemetry setting' "MOZ_DATA_REPORTING=0" + mozconfig_add_options_mk '-telemetry setting' "MOZ_SERVICES_HEALTHREPORT=0" + mozconfig_add_options_mk '-telemetry setting' "MOZ_TELEMETRY_REPORTING=0" + fi + + mozconfig_use_enable test tests + + # Disable notification when build system has finished + export MOZ_NOSPAM=1 + + # Portage sets XARGS environment variable to "xargs -r" by default which + # breaks build system's check_prog() function which doesn't support arguments + mozconfig_add_options_ac 'Gentoo default' "XARGS=${EPREFIX}/usr/bin/xargs" + + # Set build dir + mozconfig_add_options_mk 'Gentoo default' "MOZ_OBJDIR=${BUILD_DIR}" + + # Show flags we will use + einfo "Build BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}" + einfo "Build CFLAGS:\t\t${CFLAGS:-no value set}" + einfo "Build CXXFLAGS:\t\t${CXXFLAGS:-no value set}" + einfo "Build LDFLAGS:\t\t${LDFLAGS:-no value set}" + einfo "Build RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}" + + # Handle EXTRA_CONF and show summary + local ac opt hash reason + + # Apply EXTRA_ECONF entries to $MOZCONFIG + if [[ -n ${EXTRA_ECONF} ]] ; then + IFS=\! read -a ac <<<${EXTRA_ECONF// --/\!} + for opt in "${ac[@]}"; do + mozconfig_add_options_ac "EXTRA_ECONF" --${opt#--} + done + fi + + echo + echo "==========================================================" + echo "Building ${PF} with the following configuration" + grep ^ac_add_options "${MOZCONFIG}" | while read ac opt hash reason; do + [[ -z ${hash} || ${hash} == \# ]] \ + || die "error reading mozconfig: ${ac} ${opt} ${hash} ${reason}" + printf " %-30s %s\n" "${opt}" "${reason:-mozilla.org default}" + done + echo "==========================================================" + echo + + if use valgrind; then + sed -i -e 's/--enable-optimize=-O[0-9s]/--enable-optimize="-g -O2"/' .mozconfig || die + fi + + ./mach configure || die +} + +src_compile() { + local virtx_cmd= + + if [[ ${use_lto} == "yes" ]] && tc-ld-is-mold ; then + # increase ulimit with mold+lto, bugs #892641, #907485 + if ! ulimit -n 16384 1>/dev/null 2>&1 ; then + ewarn "Unable to modify ulimits - building with mold+lto might fail due to low ulimit -n resources." + ewarn "Please see bugs #892641 & #907485." + else + ulimit -n 16384 + fi + fi + + if use pgo; then + # Reset and cleanup environment variables used by GNOME/XDG + gnome2_environment_reset + + addpredict /root + + if ! use X; then + virtx_cmd=virtwl + else + virtx_cmd=virtx + fi + fi + + if ! use X; then + local -x GDK_BACKEND=wayland + else + local -x GDK_BACKEND=x11 + fi + + ${virtx_cmd} ./mach build --verbose || die +} + +src_test() { + # https://firefox-source-docs.mozilla.org/testing/automated-testing/index.html + local -a failures=() + + # Some tests respect this + local -x MOZ_HEADLESS=1 + + # Check testing/mach_commands.py + einfo "Testing with cppunittest ..." + ./mach cppunittest + local ret=$? + if [[ ${ret} -ne 0 ]]; then + eerror "Test suite cppunittest failed with error code ${ret}" + failures+=( cppunittest ) + fi + + if [[ ${#failures} -eq 0 ]]; then + einfo "Test suites succeeded" + else + die "Test suites failed: ${failures[@]}" + fi +} + +src_install() { + # xpcshell is getting called during install + pax-mark m \ + "${BUILD_DIR}"/dist/bin/xpcshell \ + "${BUILD_DIR}"/dist/bin/${PN} \ + "${BUILD_DIR}"/dist/bin/plugin-container + + DESTDIR="${D}" ./mach install || die + + # Upstream cannot ship symlink but we can (bmo#658850) + rm "${ED}${MOZILLA_FIVE_HOME}/${PN}-bin" || die + dosym ${PN} ${MOZILLA_FIVE_HOME}/${PN}-bin + + # Don't install llvm-symbolizer from llvm-core/llvm package + if [[ -f "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" ]] ; then + rm -v "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" || die + fi + + # Install policy (currently only used to disable application updates) + insinto "${MOZILLA_FIVE_HOME}/distribution" + newins "${FILESDIR}"/distribution.ini distribution.ini + newins "${FILESDIR}"/disable-auto-update.policy.json policies.json + + # Install system-wide preferences + local PREFS_DIR="${MOZILLA_FIVE_HOME}/browser/defaults/preferences" + insinto "${PREFS_DIR}" + newins "${FILESDIR}"/gentoo-default-prefs.js gentoo-prefs.js + + local GENTOO_PREFS="${ED}${PREFS_DIR}/gentoo-prefs.js" + + # Set dictionary path to use system hunspell + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set spellchecker.dictionary_path pref" + pref("spellchecker.dictionary_path", "${EPREFIX}/usr/share/myspell"); + EOF + + # Force hwaccel prefs if USE=hwaccel is enabled + if use hwaccel ; then + cat "${FILESDIR}"/gentoo-hwaccel-prefs.js-r2 \ + >>"${GENTOO_PREFS}" \ + || die "failed to add prefs to force hardware-accelerated rendering to all-gentoo.js" + + if use wayland; then + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set hwaccel wayland prefs" + pref("gfx.x11-egl.force-enabled", false); + EOF + else + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set hwaccel x11 prefs" + pref("gfx.x11-egl.force-enabled", true); + EOF + fi + + # Install the vaapitest binary on supported arches (122.0 supports all platforms, bmo#1865969) + exeinto "${MOZILLA_FIVE_HOME}" + doexe "${BUILD_DIR}"/dist/bin/vaapitest + + # Install the v4l2test on supported arches (+ arm, + riscv64 when keyworded) + if use arm64 ; then + exeinto "${MOZILLA_FIVE_HOME}" + doexe "${BUILD_DIR}"/dist/bin/v4l2test + fi + fi + + if ! use gmp-autoupdate ; then + local plugin + for plugin in "${MOZ_GMP_PLUGIN_LIST[@]}" ; do + einfo "Disabling auto-update for ${plugin} plugin ..." + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to disable autoupdate for ${plugin} media plugin" + pref("media.${plugin}.autoupdate", false); + EOF + done + fi + + # Force the graphite pref if USE=system-harfbuzz is enabled, since the pref cannot disable it + if use system-harfbuzz ; then + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set gfx.font_rendering.graphite.enabled pref" + sticky_pref("gfx.font_rendering.graphite.enabled", true); + EOF + fi + + # Add telemetry config prefs, just in case something happens in future and telemetry build + # options stop working. + if ! use telemetry ; then + cat "${FILESDIR}"/gentoo-telemetry-prefs.js >>"${GENTOO_PREFS}" || die "failed to set telemetry prefs" + fi + + # Install language packs + local langpacks=( $(find "${WORKDIR}/language_packs" -type f -name '*.xpi') ) + if [[ -n "${langpacks}" ]] ; then + moz_install_xpi "${MOZILLA_FIVE_HOME}/distribution/extensions" "${langpacks[@]}" + fi + + # Install icons + local icon_srcdir="${S}/browser/branding/official" + + # Prefer the upstream svg file they use when packaging flatpak so it's always up-to-date. + insinto /usr/share/icons/hicolor/symbolic/apps + newins "${S}"/browser/installer/linux/app/flatpak/files/share/icons/hicolor/symbolic/apps/org.mozilla.firefox-symbolic.svg firefox-symbolic.svg + dosym -r /usr/share/icons/hicolor/symbolic/apps/firefox-symbolic.svg /usr/share/icons/hicolor/symbolic/apps/org.mozilla.firefox-symbolic.svg + + local icon size + for icon in "${icon_srcdir}"/default*.png ; do + size=${icon%.png} + size=${size##*/default} + + if [[ ${size} -eq 48 ]] ; then + newicon "${icon}" ${PN}.png + fi + + newicon -s ${size} "${icon}" ${PN}.png + done + + # Install menu + local app_name="Mozilla ${MOZ_PN^}" + local desktop_file="${FILESDIR}/icon/${PN}-r3.desktop" + local exec_command="${PN}" + local icon="${PN}" + local use_wayland="false" + + if [[ -n ${MOZ_ESR} ]] ; then + local desktop_filename="${PN}-esr.desktop" + else + local desktop_filename="${PN}.desktop" + fi + + if use wayland ; then + use_wayland="true" + fi + + cp "${desktop_file}" "${WORKDIR}/${PN}.desktop-template" || die + + sed -i \ + -e "s:@NAME@:${app_name}:" \ + -e "s:@EXEC@:${exec_command}:" \ + -e "s:@ICON@:${icon}:" \ + "${WORKDIR}/${PN}.desktop-template" || die + + newmenu "${WORKDIR}/${PN}.desktop-template" "${desktop_filename}" + + rm "${WORKDIR}/${PN}.desktop-template" || die + + if use gnome-shell ; then + # Install search provider for Gnome + insinto /usr/share/gnome-shell/search-providers/ + doins browser/components/shell/search-provider-files/org.mozilla.firefox.search-provider.ini + + insinto /usr/share/dbus-1/services/ + doins browser/components/shell/search-provider-files/org.mozilla.firefox.SearchProvider.service + + # Toggle between rapid and esr desktop file names + if [[ -n ${MOZ_ESR} ]] ; then + sed -e "s/firefox.desktop/${desktop_filename}/g" \ + -i "${ED}/usr/share/gnome-shell/search-providers/org.mozilla.firefox.search-provider.ini" || + die "Failed to sed org.mozilla.firefox.search-provider.ini file." + fi + + # Make the dbus service aware of a previous session, bgo#939196 + sed -e \ + "s/Exec=\/usr\/bin\/firefox/Exec=\/usr\/$(get_libdir)\/firefox\/firefox --dbus-service \/usr\/bin\/firefox/g" \ + -i "${ED}/usr/share/dbus-1/services/org.mozilla.firefox.SearchProvider.service" || + die "Failed to sed org.mozilla.firefox.SearchProvider.service dbus file" + + # Update prefs to enable Gnome search provider + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to enable gnome-search-provider via prefs" + pref("browser.gnome-search-provider.enabled", true); + EOF + fi + + # Install wrapper script + [[ -f "${ED}/usr/bin/${PN}" ]] && rm "${ED}/usr/bin/${PN}" + newbin "${FILESDIR}/${PN}-r1.sh" ${PN} + + # Update wrapper + sed -i \ + -e "s:@PREFIX@:${EPREFIX}/usr:" \ + -e "s:@DEFAULT_WAYLAND@:${use_wayland}:" \ + "${ED}/usr/bin/${PN}" || die + + readme.gentoo_create_doc +} + +pkg_postinst() { + xdg_pkg_postinst + + if ! use gmp-autoupdate ; then + elog "USE='-gmp-autoupdate' has disabled the following plugins from updating or" + elog "installing into new profiles:" + local plugin + for plugin in "${MOZ_GMP_PLUGIN_LIST[@]}" ; do + elog "\t ${plugin}" + done + elog + fi + + # bug 835078 + if use hwaccel && has_version "x11-drivers/xf86-video-nouveau"; then + ewarn "You have nouveau drivers installed in your system and 'hwaccel' " + ewarn "enabled for Firefox. Nouveau / your GPU might not support the " + ewarn "required EGL, so either disable 'hwaccel' or try the workaround " + ewarn "explained in https://bugs.gentoo.org/835078#c5 if Firefox crashes." + fi + + readme.gentoo_print_elog + + optfeature_header "Optional programs for extra features:" + optfeature "desktop notifications" x11-libs/libnotify + optfeature "fallback mouse cursor theme e.g. on WMs" gnome-base/gsettings-desktop-schemas + optfeature "screencasting with pipewire" sys-apps/xdg-desktop-portal + if use hwaccel && has_version "x11-drivers/nvidia-drivers"; then + optfeature "hardware acceleration with NVIDIA cards" media-libs/nvidia-vaapi-driver + fi + + if ! has_version "sys-libs/glibc"; then + elog + elog "glibc not found! You won't be able to play DRM content." + elog "See Gentoo bug #910309 or upstream bug #1843683." + elog + fi +}
