From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 13C5A15827B for ; Tue, 19 Aug 2025 12:01:29 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id EA017342270 for ; Tue, 19 Aug 2025 12:01:28 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 9469211055F; Tue, 19 Aug 2025 12:01:25 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 81DA911055F for ; Tue, 19 Aug 2025 12:01:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D6BB9342154 for ; Tue, 19 Aug 2025 12:01:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4CD65317B for ; Tue, 19 Aug 2025 12:01:23 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1755604805.e7ebaced1baefa1bf6dae96a7fe250f238cc5c0f.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/firefox/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-client/firefox/Manifest www-client/firefox/firefox-140.2.0.ebuild X-VCS-Directories: www-client/firefox/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: e7ebaced1baefa1bf6dae96a7fe250f238cc5c0f X-VCS-Branch: master Date: Tue, 19 Aug 2025 12:01:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a32edbf8-9098-4c74-9c00-bf59dd5b187e X-Archives-Hash: 9afbe9a0acc31719c1ea5467f5d3508c commit: e7ebaced1baefa1bf6dae96a7fe250f238cc5c0f Author: Joonas Niilola gentoo org> AuthorDate: Tue Aug 19 12:00:05 2025 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Tue Aug 19 12:00:05 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7ebaced www-client/firefox: add 140.2.0 Signed-off-by: Joonas Niilola gentoo.org> www-client/firefox/Manifest | 101 +++ www-client/firefox/firefox-140.2.0.ebuild | 1390 +++++++++++++++++++++++++++++ 2 files changed, 1491 insertions(+) diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest index ada742258e0d..90afb8cb50b4 100644 --- a/www-client/firefox/Manifest +++ b/www-client/firefox/Manifest @@ -304,6 +304,107 @@ DIST firefox-140.1.0esr-xh.xpi 272291 BLAKE2B 8943c0d5bc50f48e1fde1a082a84649035 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-140.2.0esr-ach.xpi 294171 BLAKE2B 39d72eaf920f47beeb9844c4f7580fe288c4649f0835ccc2ba7f25d7f6af9ee08977c37ccf8da48c057f19796c3e023d1a10003085e3091d1e8447a6899b4a24 SHA512 98c20f7ad02cb1feffe9f687a07229227dd0b0063077b6ef990ae1e6dd8e99c49f027944bd3a4e229fa40a0f921054b7f0643667e52074d4330ae35c61d2cf19 +DIST firefox-140.2.0esr-af.xpi 266448 BLAKE2B 7164eb3b01c0808475a7f2836a7fa6060d94d7f7ff8910c3e5757f5d88df56f3549661071cbd546de1292d68afeda19bbf4229870f0c55b506c8cdbbdb39dd4d SHA512 e4ce4c6572086c1baf3bd812e35f0dac1866aa7acfc5c0904c2baf28e047b262642f8c4ba488323deff7486f7e1a1392287b9fbd589f3764226c07d998c8ae45 +DIST firefox-140.2.0esr-an.xpi 332133 BLAKE2B f92a10aecad94a5ea29ab74858b427e1462d5be72d0d2398990758b962846e6be23405946a7c81186110e56fdee6437e7628fd06720330daa143b7744480bc35 SHA512 b789c60035ff88626cb0a24e543e6627ef20412d78c88e845633322b5d5c9aa0b80a99c5a8d15d6801f128d2343c89c79a0b0fb895063e35dd2a47416180c400 +DIST firefox-140.2.0esr-ar.xpi 443423 BLAKE2B 48708615874ab75837f126d3bd7a0b4270acb25295f402948f722cc7b9a94895ba4b8182f5603dcbd739974baa351f3569c672b1cdc1304d070bd4cd5550c041 SHA512 4fa3ef8ccb3fb460aa0fe5e647d28432bdfcf12739c9820e60d2eb5f131e2abf4b4741f7da19352a558579de8fb438dd3c6c5a5320048cca3fb0b8eedf6fd88a +DIST firefox-140.2.0esr-ast.xpi 312038 BLAKE2B 5007cb7fd454daee82cbbb3986d255aed788fd5888e064bf58363e90b220a90483e084715a05fee2de4d03eb66a60edcc4aecb933aa969c0e9391bea86a0c8c3 SHA512 5932876debc2414a557df47d7e5b8a60ce9b889399f3fb0fe5f085f34e948857a0742b1f128396b349f70471f30f9df6d6bcaa6e31c5578dabeadbc0d4ade71b +DIST firefox-140.2.0esr-az.xpi 318243 BLAKE2B 1b9f27736e79e43abafd3e30ad0dc20bff5b5a5cb61be243d07ee845dd1a5291b12309fe5d776b9bdaf38075529d02349c66c0ad7a89ac08cfcbb3a2b5ffc06c SHA512 07ce9903eed31276ede03f1f560507c04d21c3f33c0aa780afbbfb6882934b4fc8c600bde9914c46246ff6625d6814e9bec3672d706238c65c5a0c4953954666 +DIST firefox-140.2.0esr-be.xpi 520654 BLAKE2B e8e2f23216740920ee16e330a768cfcb3a45ee5a242b993f16bac51609eefec351afe9f0388c49321cef38b1c7a7d265b680fa7cd1f1af058412a0843074da37 SHA512 59ec36f1f2af7f36c6b6a5c58138deae541915ec032624258321b4f127ba32d05691b0a8e0640e0b441cad875c468e484e03c99082056fc0f4aad77dd06143e7 +DIST firefox-140.2.0esr-bg.xpi 450870 BLAKE2B 10eb781eefc43fd614f05349ea41e7e3d4ac0d02a3fe2d9195be992a5a404a341f8f04baf2e67b0c261f47deeea808a20c2a65cf2e7e4e46ad331ca270e5dc4c SHA512 c94bf0ebbbc16e8362d94afa8952e8aa270ab77bcbaff3e509a0f97cd4e17ffeb16ac054fed8be4bf8ae71e46f3bcf16c2755f8e601cf33276a1cf235651d52f +DIST firefox-140.2.0esr-bn.xpi 411923 BLAKE2B 51fa1b1ff6fbca09b19a84cb6cc6889a7d4d407f658fd66c230383b16188b88bdc06277787efb79d61c52ac145a4cdd661dc8074f3f15224ec3983fa1d9801ce SHA512 24c810001355e6903acb1e84b765d9504444761550012338c4b216fb65d33a4e70aa077dc35615110e679f7fb51add5faea54534d0a2262aa0cc840a49f84516 +DIST firefox-140.2.0esr-br.xpi 395130 BLAKE2B 2ad285766e253dfdc2c6dc8a128b8a623f1af18dd02db9727772e233852e6176816258ffca458d15ed71f9499d85bb3834a64326137882ce211ab521739395fb SHA512 825354887f187c7d7de65f8c08d2ba93718bd5b3a39c77155d7f3ccabb31ed1728378716ee14c6798de34e3b7c410a5e1fbcd72f89e44da594298951b1737e31 +DIST firefox-140.2.0esr-bs.xpi 446875 BLAKE2B d2749c01612b26bda780ad81277e4162756f6b3243dc46e4ac4b9685302b85f11693724afe97c7d98bffb03de9863c5c7f08e1df61d5bc0511cfcc3fc2ff4484 SHA512 bccbacd79cd0c664053b3fd621b7004b26119426238211c2618d4669add6f3dd8998a4f0396cc04404cb773de85e48b85495426f9eb84b4d7c0c47a9c69ebaa2 +DIST firefox-140.2.0esr-ca-valencia.xpi 357705 BLAKE2B 7b4b2f1e94df3a7f06426d273d6b53aeec61ecd4c197fff40967a756632137bb94a620498c4617b3faae33f13ffe8450aa5b3806d856711c4ff6b4d0dfdfeeed SHA512 fa21973e66c41eea354d5b8d12cd628e8ec88e7179bdab0f17348b0c7ccf9277d53c3ac0e2ac04237fcff6602286b690222e1c18f26bd9728f7c2090da7f51a2 +DIST firefox-140.2.0esr-ca.xpi 397124 BLAKE2B 822b85f8d210e9537892f4cd6b5496e95b753f0ae8207d4bb1b72f31d95e4d7e175829f6b8341c01b2f223cecb1a7e9aadc9094e4ff5d3ea1c32c05884c162d4 SHA512 72aae26d64ccba3cf3af808886308340ab4848546a1e89151684469a67e8a8b6df635d2ef62ef4147038c371e46b763e57b215d9a4a6f88a5b8ea988756389a2 +DIST firefox-140.2.0esr-cak.xpi 390674 BLAKE2B a078acb8c43df2908ac36cea1f5da54ae9c6b59e21f52eece87f5591315d18e4b1b4d6fc958556c9c9ada6bac0f9c154cf5d7bbe694d9c3988586803b0a86ce7 SHA512 722c3c4f9ee926ee0f538e63e5bd74adea32e3a196f75565c0d6ccb90340f5d895a06d763b9e2888d989230b5ec6d7910e35f63e847347358ed1b2848f89d2f2 +DIST firefox-140.2.0esr-cs.xpi 475525 BLAKE2B cbd06ff9d8849178b863de415431805d32d759a4b4452145b99bda78a90f3d22b175541da3f64b9733890244e0dac7c187050207a16cb90fee25c60967cfe114 SHA512 fe8339cc4822bafd72bb539d6cb6734db923cd5d39afd2c836423f2a3f092d96d4acfa1dcfd25737e474bfe1a2bdc8fd986d34f4ba1819afb9c8faabe4e90163 +DIST firefox-140.2.0esr-cy.xpi 441560 BLAKE2B 25bec964312dac3efd400bf7d21b2910bc4b5bb2bcfbb7edd8ffd1a85b27c6cc6eceee19ef22b4d835f75dc487195441a0d57693fac21ec8fb9a90e2fb3a7ad9 SHA512 b8e0651ac2d828ae3b38ecb1f0e2037a6c5e88dd607029b612baf264b584ae5a21991e2be6914370a7b88cb953aecd679d1a90c16358dbcf01f286cea10031ab +DIST firefox-140.2.0esr-da.xpi 430706 BLAKE2B 2b2ff1a5086a1c9f46ffac0b986af8285df63e948085a9fb95fc39aadeb9d45a498ad435208dd2ab5956bad4773795fa742aabd4d2592b3a47b3fdd13193234e SHA512 0879dc48467a1a61015b0576e4976071e2b6ca86152eaa2346f5352d0450ac2e89bca648e55991187a920ae167e4722f242a8fd0ed8c930b8d2abad4a2aa6ef0 +DIST firefox-140.2.0esr-de.xpi 452261 BLAKE2B 2ff496d5981411bd971a52173827aec1383bbdf6fd654c9c75abcf8c2135ac49cd41aeddc408e758c0b8b2fa64da5d31aa2501cabec0d0b6e33ab5c2b157eb50 SHA512 8a5befde5c33f8e40fd72d52dd709c6944d6840ff28e43d6eca5b14894de9bf97562ccb61603f7c411fa409674b0981b40f5829394db673bdf9dc7ffed091ea1 +DIST firefox-140.2.0esr-dsb.xpi 465626 BLAKE2B 2ea76970cd59510bbc7e48cb2f41699e42c52af818f41f6eb26c81deb3a17d8e28a01533e1208103662cabbce71f370f949c3fbf25ce04aa86996e9e92b004a3 SHA512 da5f9481d254dd10b4175a27133a8027de63d29080e3944288ec1920b0807eb844cd99a345945c6b59e91ca4a6da1e531f5a699cd52db9e6b6efbcb53a4184f1 +DIST firefox-140.2.0esr-el.xpi 536354 BLAKE2B acbf8677d865851478a45e7ea32fc990da2656a08fee3d44194fffcd007459a481cfafa7f3b5989940267fe41e33f3a5f53319cb7937e1b871b11788e6544d19 SHA512 dd1fa400b66cad40186e67aafc2694c5f338dba0b3b0661f031f92e32a4033f8884cc9f8a80e1c65eeb8b833f852525e4f9cfe7e75a3d64e6da2a8b9750da027 +DIST firefox-140.2.0esr-en-CA.xpi 410702 BLAKE2B 2e790da9dbdef352a77f42775b8ca798dff79abf75155da78608ff8ee1790563c548a597938cc9e7fee7aa05dd70c52b3067ce05876e0b94b33f32781e57a8f3 SHA512 4559a6b43bf6eabf8913f4a14155a2cdb37dba3a27a31a38883b1174baa321090cc087813f0f0d76dee2b6d0d0f03978a0b9ca493844c58d999892a6100adfbf +DIST firefox-140.2.0esr-en-GB.xpi 410995 BLAKE2B 17cc9021fa88eac50c12a3c3952d1cecad009a4fa45526dc83013b6687494b37ce56c0e527e6537c3c3925a455b57a24374aaffd734a64a1ca3494d168198616 SHA512 28439b8f1983df14d0e0804c013370ef183f41ba7c0670be38c7d1f93058e66b8d70c5c5eedfbec86f6ad2d18a7c950635f30a4aea5a036a7dc74c033df8ad4a +DIST firefox-140.2.0esr-eo.xpi 433061 BLAKE2B aa3b7222e0cc0e1458e5013f772bf961ececb9ea8feafbc7b8951f20dbafa535d4e2768adb99b2de2c0d78f4cac2247d7d31278c5cd79d3cb772912b12ed3ada SHA512 6b139ba7405d983a9841d182bd5aac7b70581793745f730f7cce51bdd37c7fe9d8339e02cf9dde023d205ed40df1743ef15dd4ca27d2d41741672570537ce22f +DIST firefox-140.2.0esr-es-AR.xpi 445123 BLAKE2B 6037b7e19d9186267838b932ccbd542b13d769450929a50080455928b7699ae1bbcb8371d286aaf2f11066624a16d71e6cf8f8e22a5cf39b213062dbda3a8b10 SHA512 b7b61e01c4e0271d5aa09184cf140cbbefbd846b31f453e3100dccb0f8fa85536e65cba7672f0c146068502febd00e46b73b61639d16a0ecdb0081e59a1d17b6 +DIST firefox-140.2.0esr-es-CL.xpi 445901 BLAKE2B 1380ff1082f9a9d795b38c8716e223120133942c04e4bf6d52a9d697000866cd81541069d57defee2214223f7aa1f9beb00ab605dab549c7f6ea3b146d8b723b SHA512 714a2f3ce6cf72f7b19079fe1440551a802d87c42b8efde15c9a415a3e07bcce3d35a84ff78f66e69fabe8f9226aa5bba9c21f1927e44d112d1a4a7f068e24f6 +DIST firefox-140.2.0esr-es-ES.xpi 446602 BLAKE2B 74dcde9c97c3f68a567ad49d377c369fc7bfed23af35703afea954a312fe789c3934d9e23b2bcb760535021aa45244354f58d02dcf82fa3fd049cf6e7e7f5b54 SHA512 acec49e9ddfb2aca1ae4f55d820b9a63957c728c2dab36dcb764f276a41bf215e742a89c4529458072c074d92974296c5523f6587557151d9d863e1c87e72742 +DIST firefox-140.2.0esr-es-MX.xpi 436943 BLAKE2B 54c538bd0f4ddd3f6321c561a3e42b225b24ed8ca90c912591f885241a56b61ad5aec654db508257f3e6db1d9175061b09661497e2de234d772fe1e1b120ebd9 SHA512 61f19593ac50fd354b6daa03105cd64d0e83a615bcf856883e1da6950dadfae6dc8b1dbcd60b3da3ce169f593faf3128928e28fef8adb370a6c43ad53b42a05a +DIST firefox-140.2.0esr-et.xpi 359129 BLAKE2B 0d99723bcbece5600b2f755b0d2d08291481a5546a9cd187aef6e29e6ecb3a40d10d09cc0a16c296adce9fbb6ee4a951dccab505e8b33db10add034bf96bc5d1 SHA512 cf8f4640336cd516b115df4de97bd466d07ed970384ce7a29376b4f1f76bea726f126f5e564f9433376585649bff2dd75dd50a2405d5bccea7a50ca781dcb93c +DIST firefox-140.2.0esr-eu.xpi 414499 BLAKE2B 22f10030c6827d6b30499435f30f4d8d787f22c9c4b4aa9f9e24be16165833e545fc7a87f098ed5ace55e56c78bf84836ddad2e4fc9c899db90fa5bf18ce7eb4 SHA512 1d15d7deee1a998180e4aaba9070ad90b04796415d210df874c2827e596b6c2abece01d5b51adc76dfe95a552ea99e70cbcb935d087b8012a5888fdb35f5c97a +DIST firefox-140.2.0esr-fa.xpi 421364 BLAKE2B d62842ab850b151edf5dabe3d491237b11f1a401de45547728b487fcc65f1f9e07d17d4e9d0cc9b5377dbdd961a477586223bafd593551b5711d209b0953052f SHA512 19bfe6789ee56038d41bee6eb52cc661f4f6193fd20c8c842c7f02cd234c23a767cb5ca48ec6e05c6cbcde028e58c6552bfe7f16242e6fbb132d4bcee1fd4174 +DIST firefox-140.2.0esr-ff.xpi 310005 BLAKE2B 32082190472825bfb018eb0e453d185b9ff71c563e36560c5ea229295c1cfb229602861ae494e4681c1e74d67f69b3fbb1ac39fd883b5eb798f4ee61519044ee SHA512 075bb287ef745db797c40851ad18b6badb868faa53f5fabc93b356cb156c7fea985dcd69d62aba220895f872f82bd30ce01e69f79ed718f4beefead255347361 +DIST firefox-140.2.0esr-fi.xpi 428894 BLAKE2B 9323a0f10574f702ea0aa00817ce3c7b4c4aa9944c8f7223b92a7fb76d2bd11e784b3865287f9a3d898157a151801cc1b8f1fdc7e1532a8547cf329f23e304d2 SHA512 361fd0f4570607789ef50357de9574546de43edfdac75ddcb529bccd248506252b5b5449e0784bed7965d87286815edb1836e70f20158f02d2c390f485e62749 +DIST firefox-140.2.0esr-fr.xpi 457998 BLAKE2B 218304166a42cc622b782d7c221202fe41c79619bf018b1648cb62b6c4e1450f3216ca87c23ff10f3883a79f3f9ac64f2d4648b08533639acbfc5741bd921950 SHA512 00194f0b0a5124fdc6a1c5a8b57129ff58e9c2c85c84e1db23f8bb1dcad7d6781b4a55c04396cdc91860b727cdc156ced6d72c741cc2fead7eb754b671cebeec +DIST firefox-140.2.0esr-fur.xpi 451446 BLAKE2B a4d5b37a7f4a79f86fbf58cf8f2b8e2b6f30abb59e69ed68acb41183a995e6faf33d69e1ce1d7d39857139030a8994c5cc1682dc2c8b471454c11b28bba86cf1 SHA512 685fddfaac573a615d1377edbc0458d9d923713d43273c6533bb850b0ba65ff2ed92d6fc8040ba8b6a4b24c32e3d1a79171669c346ca5d2e8f3f2dc277ccccbe +DIST firefox-140.2.0esr-fy-NL.xpi 441751 BLAKE2B a97818df5d80621d175ed90d14971519b3c18a82a29d25e1eaf98d1a23d20c23e0081fc4bdd6f8e9ef6c4de31cd3679aa9c1ba062a9a7a1fca857776a3eb597d SHA512 f5ff56eb12f4019af24be88e13a7e31047ba1bccbdf6fffac0caebf7d7f0bd98caec63b3e361e0d12f760a757e051d4dcfd83c5fb5290c04606701336d98b8ab +DIST firefox-140.2.0esr-ga-IE.xpi 315083 BLAKE2B 131d023a468591dceb22ec7324ed01d565be5dd4f0e6610feeed27ab3630028c8986a1ea8a0f2e6161a69af2b97dd758288ec47eadbc6bc343a42973a3d526fb SHA512 f264ca0e967a598ccffcb6e98c99fad6d71e30f34f01cb026da605079685fef76d37870cfbb9abf2742fd95762580efc275ae9948afdf5100a4c221aeed7ac77 +DIST firefox-140.2.0esr-gd.xpi 399263 BLAKE2B 29f76eb3bf8dc8b5ef2f746e80d67fb167f1382a41bd03dc028812b53b1df6f1a1ba4c936f7e8249e94e52b2172694a037ab70a367ea351c9525a3bce0757d97 SHA512 21904d47a2b169a9feeb506bd8cdc73a1d84980942d16fa3a352217e2353e33d209fa0ddb89fc0837d8022dc3e2b45aaa98abda8b7b0ce4f2197ef9f540656ec +DIST firefox-140.2.0esr-gl.xpi 442583 BLAKE2B 025db55eefc72490c91525b5d4be270df1de638097b5abd938a9026cbae5fb53a1c52e39b7e7d70f4efc2e20cff0a1a56005bc9259dc03ac0871102b4c21378f SHA512 8bf26fc8a7a5dc8f2b4c2399ff261a745919ee3aadfbc0929ffacf4da113328cb3ef201be3ada60c9677695f0b95625c211968ba763435e90fffef6a135ae682 +DIST firefox-140.2.0esr-gn.xpi 450637 BLAKE2B 67c2fcebd28c93707cba975c754bfb7ced11cc5ba9ca1b30f0b29aa5bcbe3085d30dccf8b4b7e299c54fffb4b9c8b2623463efb03e47980c8cfa8e0ee13692d9 SHA512 6875dc4c8bc05df2abb0848863d6f719b84386e9cfb54a23073dbf7caaca41da7c53901d08e47b12b031022c946078b09511fae2be05fb6bf579016b27e7072c +DIST firefox-140.2.0esr-gu-IN.xpi 358803 BLAKE2B 82eda1ca2f38ac61cda19095b5240e1f86d0a31c55451a09262781a6ac5c02da5e5c97e813627ea98652f52027fa041a8dbc7c224fb364aa061a8b6ba06d6caa SHA512 ec515a238c3c60e59f980a6142abd108985fc0cb557f1552135e284cac9ad2a27bd2ce8013f8c3842a55977b82c85a697bb8df00dffc6d6bf5db5392b7cdc7c4 +DIST firefox-140.2.0esr-he.xpi 444476 BLAKE2B 31c638e581e56fa2ff2dc1c9ccdb6d25088e1e8a7a82bd0a9e0da4be5c5f2478102674602e040f40d7aef4a88c98e2e5cb47f3e91f11cc09f8d0bc6384a655d6 SHA512 dd565838247f1e5444d8e3681c2778e2ef9ebfff45e4c5d9cf7604fe70d68dfea01b3c0ae5ad719cf03ee2a76d73e1689ef47ab451fd42437765f5b96d62b30a +DIST firefox-140.2.0esr-hi-IN.xpi 377283 BLAKE2B 6ac72f2d04a1e6b2da5e071e3dc44af9bfe1e0eca3cc291e9dc331b0a94990d89362578139dc2e86ca8a55cc611c156d2f70158d8d438db963889cc0d8523c61 SHA512 8b5f257a3e04cafb2568b03aafe8de5ccbcfebf4156c02337df8d8cfa615b946f2216fabd4324caa1f6d2735b0cfef8fa27586401a306c79401cc11f93debaf0 +DIST firefox-140.2.0esr-hr.xpi 436732 BLAKE2B 599b1d27f2df8ee820e45f6efc35818ac6fffbf9009ee5efe5f5f2dedc7c582095961beb4124d9f3946c9802ce5e2e4b051bbaa04859d3c44d9216d3466dc2ae SHA512 53fd66be86e555821b90bb297df05cd30fe71eee886c701281fb0af846f060bae5de9cb34be4b0c1c6a485772f2f805203754093f91b358d34888cb64e635355 +DIST firefox-140.2.0esr-hsb.xpi 462245 BLAKE2B 0cd8b6f8296443d695e4e0af1dabb1a73ebcfb795f8bb0b6316265a7554c3d83a1b4831c076380ccf59fb305c221bd432310a594d55187b68c56c66ed80570c0 SHA512 21d64c65d670e142d7aee6737632ec15dcc9801ed8172dec507f4b7ea5c6d8b1b94c017b8d37b7b8693b2fb628cb72a92a29b1ba1275e36cca8d501467ee0b27 +DIST firefox-140.2.0esr-hu.xpi 465776 BLAKE2B b4bf47832d71833c81e3c37dfbb9845b584c475c066fa9733314ebd6585b445e88ae79247c3ff513aeeb040607141ea78f8ebb16fd87cd000d555287980a6cf6 SHA512 ca8457fa3c56ba97e0df01cecca7560139d8fa2e44b03c4199ccfd75ba0a0b5be75e44f48fa0c265e0d0e5029a11600f1fca14ec0e03cc77564ace01519869b5 +DIST firefox-140.2.0esr-hy-AM.xpi 454394 BLAKE2B 6e3c3e66e1021cf27230118099793a061bd120e7ff283766f8b99e6ab6c6d67fcc1568821888748272ee2003b2807aeda78e43b68f50a3fcd796e006df91be1c SHA512 6ce38fd79213fb9e1300211a01a7614d3e35904d8cfc6c0062604d9c47b2bb89e5f5f1e512a95522aa9cf404791e9cfc486e524ae88a58e49923e8038a2e8219 +DIST firefox-140.2.0esr-ia.xpi 429729 BLAKE2B 17ba7dd3a0ad3dbb582a43cce459f69e7adfa19b051ef3e49711e9262816cef55eba705ffeb071f92ed62f5bde8592169aff63adef7bead7896b2d09ef50bbd2 SHA512 3a62e91797cce8cc346b27a98c46aa3500baeca7ef87f540fa6584b83f51db97120e4b1b062ab6cad7c4c15606eee48d103461867913a7279c9a15a785e92353 +DIST firefox-140.2.0esr-id.xpi 418525 BLAKE2B 025141e6ea30582d2d3fddbf4f562e46a28ff1722f876233467ec55adbb4938ea37e399dcdb4e73433a8fa32f2c0b6a080585ab0d52c96fd6c87318334db7536 SHA512 f1f59af43fda35730d9876cbf60bfa1ff276943d2f8d0d8ef29b32f4c3299f947cc695c4cb2d53633cbc0ac5fbb7c7d1724b410fb6c43577fc58d53dbcc87568 +DIST firefox-140.2.0esr-is.xpi 431027 BLAKE2B 87aa0ce3ff37104bd5ce0712540a305c851e47ea4bb706e519f8f85b1306e3731d108b4b8203d2d4d74812b3369ea966c77c78ccbf18c142dc43c91415e0ff98 SHA512 3d7b081fe9808a6761f06e4c33cd84bd450a906f32a3db2db3b77d9575474582020808aed1e8184bf76273b70beab3023ebe8410b6e857f53e56570405a3b873 +DIST firefox-140.2.0esr-it.xpi 440515 BLAKE2B e42cd0225f217992749c944526b7184a0b66ebc73c2903472d70452cb179539d21fea4fe74d9c4835806a916fe6f5262220b8370425e264ec303d268c5b9af5b SHA512 20a99c04565b455718bc665e17811420fb5d2329debc49500a70142a54a840db923321824bcb3aced033a7da1e150f872ebe6781f42a0d7320c0a51be6521bfa +DIST firefox-140.2.0esr-ja.xpi 480900 BLAKE2B 18dd0b44cc0a3a6ea8bcbefa56e9153c18d9f3a8405c2bccb5c82e4f373eb83303dbd7aceb140cb816ffa181c81958baeac2869ee6bf9d928a2af07762a56d72 SHA512 4bb06cfb97380787f65da9f27314fcf47abcb8e1fda1dd24fa27ae9ed1d4529c11da09e6df9c3dbf158adb94815a9069a152607f42c0adc120d9a5d0982fa43a +DIST firefox-140.2.0esr-ka.xpi 494345 BLAKE2B d1ac5b47663a261d37f4f693a5b18f69a4dd305523774ca6928681923f9b023bfc7f78ee2ba619056ae79d349e2b6b5518e27c9fdf82d006a4cd0106db1c70a4 SHA512 82c77cd21520dd675e219d113d6f9901cb2faffb21e5c6f0b3bcf6017e09981dddbe1232fa26e236cbf00092622e823e3047afe8aa348cbcb2f6e912e841e05e +DIST firefox-140.2.0esr-kab.xpi 420967 BLAKE2B 16889e6f1cd58201afd214a179886237d25a447790e3464808dc08f6101286ecc5843ddbe8e6f10e374df9b504de67c0f6789d85945b02bb34dc3cfa7e792bc5 SHA512 a67517ae1eebd06e539fd6385404b54ea8718a73408e0f8ad30d111a0088ee86153a4914191b1d522cf36269b8c911251a79f363deb182c124c06859f42d9a51 +DIST firefox-140.2.0esr-kk.xpi 505231 BLAKE2B 5574ac0c6eac35252cf4668e75f02c8c9282c0d919d40ec1ce6555b6bef68cf342ea0c4e2a8c922fc17087aa80a6bd675ce26811b2de9f626b3d13443fbedc16 SHA512 c73c14b4a7e0f275789d1d0e917b5ecd7648b5221d1f5c641c30ec095917ad5f484ed8223d1a96d479145c06480c889dce4f7153d6b9fede1d060456b06626fa +DIST firefox-140.2.0esr-km.xpi 348612 BLAKE2B bf4eddc59d2d0fb986bcc48ee237f8215d7cd2af2de7e6d8aac24343d69b210386154bd4e616417ba857cad6cb46ceae9fa4dc54a02b9054a5d22472e5cf2cf7 SHA512 2112877df5bb7e5ec70cdf32eeabbe233bc98bb12572a1ef795a0c5335056d0a69e43a0d4ae51fc92b8879e5cab6861d259cd93d88b0d8b6b2fff127c1e4e25a +DIST firefox-140.2.0esr-kn.xpi 331623 BLAKE2B 1a67a79c4a390e0f1a03428e422f21ab32218e16eec23940e3b869a785576780d7ddb4c0fff3f6b341bfdb727ea6049bebeb4806247e8ff2d9b754551bf94883 SHA512 0b4a8a41361ea2d87eb0b77561a2edf572be005199487553c21b771b656c60d267a4564f4e05db0334fa86d25c6307e1ac65860ce6ea390fc98bae62b1d9afe2 +DIST firefox-140.2.0esr-ko.xpi 467165 BLAKE2B 0f339f9958a8a3d7ddfad25a4b514e5d8fbf2629b8d58ed969ec5a7eac362d1cf1dcc3940589ed348f2ad94ded674484db97f56c583b659c2683c33b70546b22 SHA512 1f7c0afabc633788352e5b365f0d80ec7d7288b1be71aee5ef9751eed82a8c84f896fc632aeaafee87b7a974a0698948fdee488b9ed3fba62007b54ca83996a2 +DIST firefox-140.2.0esr-lij.xpi 319098 BLAKE2B a6e9e46812b4d0244792cc7623345a3288650cfed0302533dbca620ce666d5da7fffae532284848fa4a516a657eb9b45c31ba419ab6c316efbf6bdae582b7e3a SHA512 254364e23104cc87f399a196c1d30fe357235f8beaad502f1b463a1be0b80ecef3b718135f24db4a6a135f981b4d34474903306afb3dfe1f878ee3f2df7af2e6 +DIST firefox-140.2.0esr-lt.xpi 379774 BLAKE2B 169d56262a31530a6b69aa97e4e8bb4f5ea3226c4e609e2754f08770d8b11267e29b1ecf16067cb18fa89ecc364183765af71ad1048ef85d82708465f050208a SHA512 1f7a0d9cb3956dc9694617e7ce176c30a876af8a3af5fe0b74e4f5a9795bcee53f8910e0a6943c0657c962119199f8bd1b71c2d47064e8372ffca35a1955377c +DIST firefox-140.2.0esr-lv.xpi 384375 BLAKE2B 579ce18c9ec167a9992ed748180d38b8cca3f2ec886c1ce0d09733d036af2c0ab020abfd6d9d368e99c64e549a777e364767e67eef48961cca8d11b50f31ae53 SHA512 9e917d62c186247c4eb5831673cec7bfbb0612f55652f0a8fb10db34d4d729638ce01e06801ddc0f2b6a63f7c5ff43eac06f31610cd008e552fe1cf95a7b7eac +DIST firefox-140.2.0esr-mk.xpi 316653 BLAKE2B 6b7a8d9de9808f5d232a48a62fa96a47227869ec49e0334e3eae1b86a75243586432195080b1b04106ae5bc29fe4ec88cee23d6d4ccb60241e72fea749e238a1 SHA512 64790f76aae82097dbcf5f2d58c0fee34a053bfd929cded32131c6eda2c3fa684d1614ef9ffb0f678969ac7bdc42451eb7180c62c7381aa4576ea32f0977d9d0 +DIST firefox-140.2.0esr-mr.xpi 356077 BLAKE2B 4270bdd4247464479cb6fd81dc6ca756df8ac015e6e7db406a4603715b1b1a2457fc6b3709af07a81b309958d6cfcee4d9250a9b23bf928cfa627192a1aa790c SHA512 c7d491715622921b041909b56140f8369df35433c85a12068220d00d4bf3092e5a4e7c5b9d8529f1f38f72f942bda4c043b7266c8d8160b44d0eab8fadec33ec +DIST firefox-140.2.0esr-ms.xpi 295195 BLAKE2B e1d4e5b07dad66ed6c551f8bb41c598ed00211b5e59ead5d9d5f3731f67b50e2fcadb95b30d0b833c50077c5c664aac88d9761330621e811597541eb2c5f15cd SHA512 b640929f294ffc389f993bec46bf205ffc0ac1f3d58d0ea49a9d4775a10fe71f97f01f13b569037acc79b49d157187ff7c72232fbf5a96e22747bfd52ae1b057 +DIST firefox-140.2.0esr-my.xpi 342865 BLAKE2B 1738e3c93e5e56ca37052ff5c0c41c1cdbcf3ab3a357616b9bacbe165867dee990873c1c87d51dd8137bc8c553303ded8d1267e9901225e221a4f10ffc79eb03 SHA512 80c4603fc9bfc2424414b6249371a3836372f7b9fe65bf262492cdedcf80a517a88592f733225ad30cdcdcdd85439a43ed55f9ed796d4dc41caa7443f4fe823b +DIST firefox-140.2.0esr-nb-NO.xpi 428942 BLAKE2B 97365a3dc61e734d9a09f362f4c7edaadf583034a650ce73ce6e1a64dd104e476c1902df2d3b732ffc87fa45dc55ee9122a2c17e1e11029cd352694f2f321964 SHA512 be099db2256b475b9c244e3928facacc2834742f96df931a56e4474ff50cd026a262580295fba9ec40a248abd8ad9c097790a5980057b803b8173eff540cfed0 +DIST firefox-140.2.0esr-ne-NP.xpi 348819 BLAKE2B 3b38b4087af6f210282bc1cef47ff87922b0d7c891f78facd1b18538aae6f19ac2eb99e19e0a57a74e96b14cc45d120033593286f329c8d30daed452a3fb4c14 SHA512 2788a419e4e10e4cb22958d03220774a314a8b01926f83131b9b214b02416bf1d9db45804ae423f6da60e6fac6b208a178d32f6f93df8bd52bf9d216fdb7c1ef +DIST firefox-140.2.0esr-nl.xpi 435799 BLAKE2B e1ccc07ac50745b7b64cc52bd9db40ee34eadc6ab48782201754285e78745b6c3492bf5441fac490b89f31bd69602250aa844eedd28b423cd9e073301994734e SHA512 86cf2607233f30e3e11ccf16b057312e4409b7d00a5c2880450b8336f2b9f48b109a5661825988fc5bd2e1fb4866f70d602068eb036c67bc068dd4ec49fba4e2 +DIST firefox-140.2.0esr-nn-NO.xpi 431847 BLAKE2B 9cb088c50feb9b82b03e2f6cdd6a2e4b510afe5e924b7cbe5496d9c15210e65ca6943bb8555ed427055ec527147ad51fea9d4a9944b803448e0166046012a11c SHA512 b8828c6c00ced2d9338a7f870157d1389afd0c3534b2a7ce8c5570f47ecf9d159e63bcb12c6a28aa9391ded8742a69bb40488be95b3feceeb02c2d5b3a3defc3 +DIST firefox-140.2.0esr-oc.xpi 410722 BLAKE2B 5286849bbef359e6b4c966a022f4605d7d1d5d0e1db9b2fa4d81c3b2504afa74bb2f335d64e84e02dce5826f94ce1c01e98cfe574a8e02f28e9c9d9d05e245b6 SHA512 5a7b2f41025cc74b7266ed4d10ba58628c6b15773492b4f0e56e27ccf4ee16d37c8133b5570de21e473a42b6f0218dde86616c08abc15c964c675084481c8013 +DIST firefox-140.2.0esr-pa-IN.xpi 492273 BLAKE2B 9febf25d8ef283a0dc6207ea3aa763f0d049804f8cbf86da5309c2ef0ea28fce9bbe2a28b94870bc55da241ec3819808c13f4e8db349bb213dfe8c78ca0daaa5 SHA512 2b46455d081db3b9b57d59c3aac3ece329466b63be2e6c0d3312426da4c4c545d06767486eac49afac5019fb22de27ab6250db5b4cff1940f793cb1f9dab8a6a +DIST firefox-140.2.0esr-pl.xpi 460182 BLAKE2B 21e1f41a5c2026bc8287e78d577782c88df3677c548254b2bd96d3b7d8e06714844d55d9f4ba908a1a346a6516b7470f656546a36123554a28b2a888e925276b SHA512 abcc05b7c526cc3a832a6d24ab7e968fc63a87ba830a32350c5b6f86020e78cd0c39b524da1a1082566a5db563161efabe7dd31c498c9eb0a4efe1652d105c12 +DIST firefox-140.2.0esr-pt-BR.xpi 440331 BLAKE2B 0042f2053649647a9e403592d6dd1b130b27b1b2707facd8c6187237417a2b7106838023873ca76c04008a4776664d9e45458630bd03f1c1e6013b84d77ac6e8 SHA512 466bc2b0a3ccb104f13bd38fef1dd1c32f8200c4f81e3a13ab709cb0be54f4e62e34dcfbf338685dc1fb51492b08d71506cd19aab99a43736d83308613a90e16 +DIST firefox-140.2.0esr-pt-PT.xpi 446053 BLAKE2B ba9498c8318dbbadbfdd1452f1d72e1d543ebaac9df5c5cfc6d69a8ccea69413576c9de177a17cd1768e856d857decd6d985c0a150a88c197d5b976007e793c8 SHA512 0e6af5c79b95c62e385337d2207e60b59affecbeb9643b3cbf7b58b5609daa6f1bdbe88431fe8e270d7c703be13a02e8eb188d5fc91d239e1ab006301374b8df +DIST firefox-140.2.0esr-rm.xpi 436251 BLAKE2B 4eacedfccccabd9fb552c3798dfc95b24127809fc1c0fb031e60b010cd31e9398aebdc826bd6816c912a7b84209ad17b782a1b6bb0e3e200fecef1059b243322 SHA512 0ccdd850f24721bf5b74abdbad5e17b46ffab321a608f84efc8bbcf6088342ae4dd15dc4e8750622bc2ee1fdeb80d3221ab25f5dae4ddd0054071ba57629e1a0 +DIST firefox-140.2.0esr-ro.xpi 427318 BLAKE2B 68fdb2b14c1178490dc0364baedaebdddab282eb2ddac1f7249fb2923381deac8c38ee7c5c20afdbdb2d8d351b79f7722af3798fdcec8c0ab913950859c40639 SHA512 43662b653fb7c2735438adf01c8540950c166a2255a4e18a8f03836fee906e491a7d9523a71132d68951f3dc0ab24ec958571ad9a9eab1f83dee4d01e0482f35 +DIST firefox-140.2.0esr-ru.xpi 524722 BLAKE2B 375dacf6b1418ae2d2f0c6fdb1cee63525dd5bdf1fe904adbcbc2e915bb327b53fe1b66b24e1480fa45b679e2848f1bc763c40a8650f4446b91b1cc151c9f460 SHA512 218c242d3fef764251c971df7186fee26faedba13362a3a1ca1d26b0a41aafbcb32ab9bede4fcb2d7233b2dc83c87bc5b2b9467c59b8591bb3f5efd7a7b12a0c +DIST firefox-140.2.0esr-sc.xpi 405344 BLAKE2B 6459775d0c478df5286d9f5b94577274d4b8699915fcc40b0a9e0c685437f3317a46a164cca18bfcd9fdd6f45decf8a34b7640f1be37df75c60cfbe60e9dcce3 SHA512 1e3171719782a9c4dc7941e874f2fc931ffa81c22afc7c3b4c06aa52000893eb730fdf3fb656c4714da2f06243f8b69226263b61bda23a4cca79c1016438f842 +DIST firefox-140.2.0esr-sco.xpi 322475 BLAKE2B 51cf8c0fde0fcf62a595206815fc7ae698e45eea7495c2c8cbb4a4f4862c7310bb29726fa52f9b98f8c4142df1b5c402418ac15d9ee4ac21bf24eb05c3eb1f80 SHA512 cc7a43eaca390e2623c7af201719cc4f6c484d675234d6a976d5835a968b6283e3c175a9cc9b6fb54928d9e6f6e51234eb2d8ec348267ecf27c1ef7736b48a38 +DIST firefox-140.2.0esr-si.xpi 411419 BLAKE2B 216bc38b26d5207e052a83a1f16e831e0626e9ad951345ef7bd268e1b8b2f90d234b79e654c52dfcfa5f9a36102ec6c2ee6408cc5274571af311b09983f45d6c SHA512 ee33c6b18bb760415f0c305c455442346f4730a5d42f4cddb5af8723dfc49411944b762e36699ed7575a158febfd291fec4819c209168a8d3a4585099c6526d0 +DIST firefox-140.2.0esr-sk.xpi 467567 BLAKE2B 335e94425600e5e271ec974c927b46d52d88e1133ff2075c0c275495db82f7fe161ba17c71215c6edc2d08f988720501765ec0e8adb0abc6ec41a4f848b341c4 SHA512 7451c53d26e136a1e2130d6900d4e586eb90d7b403ef1085fd340e8f5d4978a84917117544082d04d8beeec8d25698a133d59d9aa90f31d75fd65668a122d325 +DIST firefox-140.2.0esr-skr.xpi 485683 BLAKE2B 3955d0019db6f9f65d0d7b0ea95bcfeea7b07aefbba7fe2703888e8b183dd3e620b27d9f193d8231b6718cceb1467fb148a545e29b233eae1994f5f9a33fb0a2 SHA512 f1a35b2734ed4c130555f66c324badd63e58e9e723f05876aef7bec353144c64436a5baae10ad0efd4f9c4854b1b8e86dd7a6c7eac566b49da19eccf86493689 +DIST firefox-140.2.0esr-sl.xpi 440773 BLAKE2B 7fd6dd1274798b47246a1d2e995d729eb925a436e57307fcd8d335519941e8b03a5eab3bc4b16173a761fe1dd3f385858357cd13a0282c2a7a1ee35ced0ee74c SHA512 9e48dc6450f99fc65b028452e80d5eb5e4493fb6841df705299e043d61aaba83d79c37c4fc8cffb519f87a9814f34689279b9557d9919f0f643194be997b0870 +DIST firefox-140.2.0esr-son.xpi 272936 BLAKE2B 5f5a4c6fb5e4e74e8ea4a68bff5965952314a312e9b9aa41838f05ef64e99fab3ef29e69e81568942248ccf4f9a1f3eb92c2d45c6e3701ab708f81640d1951a3 SHA512 e3d26ee53dc0d4fe5816afc29e806800664c225d55f1924152d44092c4d66c1da7725b81da69c770996e87bb2880b0101bec31797ac226053ab30d662cd66b1e +DIST firefox-140.2.0esr-sq.xpi 452897 BLAKE2B 2bec5a79d19a41f8c6b7883bf9a23708cbaaa8e259f7bb34e1b97be945e342eb5dcbdfb6495e32db087017bc03b4f1f84d018fc7493ce1a4e1fe9928f553077c SHA512 5825ce56e3554e32d748cbb96346afb12efe63f02bfd7dc79566a55386f55cf96d472b11c807037113e4a2aa99acf498f7250f4f5fa78b5bdc5029c750971d84 +DIST firefox-140.2.0esr-sr.xpi 450540 BLAKE2B a57c4e837813282b5d13f3113fccb94035e004cfdac9471462fd78de61a7581536d99c40e00e716f47a33859e4b471bdadf8bd26edd76308c332f3d0c95f6fea SHA512 0c65e7d52739363562aa1927c6a123916054102dc8cf04d553bc79736d3e2a5f5f80262bf93602c0d27637827901950e2966be47989b0f9bba61e037384f6683 +DIST firefox-140.2.0esr-sv-SE.xpi 435751 BLAKE2B ddf40d3a2d3a1acebeca4242846da8ef57ec77b9056537d9b564b421e7cce2055786f0cbf5216c8675fda7a101ca3da5a5cfdbe5f11c689d274e5723e6aad448 SHA512 18ef837622d1c4fb5de8f0c75bbeea4b5269ab3bbdcbd1a82d93a0770d2215bf7e65652b0a5c23c35d608821e8ddfc4b965cce8382165ff1d15d047de801341e +DIST firefox-140.2.0esr-szl.xpi 341508 BLAKE2B 172481ad98cac6201f27becd4c6556a74985a6a9ea0380705b58f92af5bc4cbb082776946164f844b079a59c8338a8b77c21f765c408c50baffef6eb6a4f8131 SHA512 c85897261d12cf2d048894338fe0abe93b8f2dd80c10a7ee946f8ab17fccc2b1225292c8c0e5a1118000b483e7834041ee854a30c3efc5a234ff52d78b8be9c5 +DIST firefox-140.2.0esr-ta.xpi 337967 BLAKE2B 3027b3b5655ce9063b1d3ee2cb39b259794fd70f1b6837fdd51b01ad7595a9b99442d296e498ea200b8ec527403b26ffdd1ac71207ed918d23149dc5281d896a SHA512 7b3b9a23e8d0e8f4c6c47e296ccc5ff119ec7438ed7d9b2a4fed9957f418dcef1db071ad1e34652d5c2be4b602b2dd3fa818837a82e48216fd55f7a3744f0cc5 +DIST firefox-140.2.0esr-te.xpi 382024 BLAKE2B d008c13b7e1546d772342232aa8ef1f79d31834aa4732879bad5a5d8886a6453ffcf94ca52c8d562e3780dd5e2c4fddbb21d6c3834f92932a4073128c9d0605b SHA512 7cdc9546981517f8d55a9c7731cbd0ed6adbf338cb7bf8be00625d230f152530d485550279dd2ba4f8edded4fa95be7ba158c6c42d20cc070ed28e38077f827c +DIST firefox-140.2.0esr-th.xpi 505361 BLAKE2B d2717d8711da6d4af7a964411d9261b271360058864680c47abb742a985a213f35810d31d581f445495c13f57207967fe87ec340c080c3ee0a297862489a6988 SHA512 159d575216b8fb436e0c26e35af6399b44c5c484c5475a478da5985bc225321767a53aa3e77740f865d1f0621e3a48d7e1247550d70f4c6f614da2d9f98da96b +DIST firefox-140.2.0esr-tl.xpi 356469 BLAKE2B d00378c575b63979fcac97a4e11daf8bf4671196d1d92e0e3ddb15f408acdfa21583f0952d31a3c38d9b9622ce358fefc46cc68cb63008d1e236405ed4a208c8 SHA512 94d1029a89f7a0c50819692e375880b448474f2772e948d4e93aadc630b5bdfd27198c98b8b0007c79dd67e8dadd3fb2a6f8bf2edbca616b1e0765e58ed614fe +DIST firefox-140.2.0esr-tr.xpi 448782 BLAKE2B fc78369eec50b85a6b92a4b2191221aeaef04b1991ffe015973108936c277b7ba25db8554e30453776465748cf6b8c8ef8490f8b0567318dcd588326f26fb821 SHA512 90d9bbf2c386ca683b4d79fd5ef23a74291b6c0ba862bcef3ad9313c3f73a49839d555a286ae71ddd8799b16129ab7735b662407be99ee802a3581ee9cacf5a1 +DIST firefox-140.2.0esr-trs.xpi 322328 BLAKE2B 038fdd38afd6e4f2fab63a5bfbf8fb4ce637fe99021092915630c90e7de3c73353bd847262e023e4f475aef874cf185142a4b28b392ce76b333a0d86ec81e84d SHA512 e843b55ac82f7d9b3109e64285e7e5ee3d91e8f7ec0655ee99fe2d1c772f0458e95e06dfb10391313eb1acfaa0a9b2086164e59bf92130e7cdcac3abc3e7b4bb +DIST firefox-140.2.0esr-uk.xpi 516366 BLAKE2B e69634e33b45fb8502a6c5226643053fbd7f91bec05548bbdf7cc181f4b966204d5a0c41141cf514a6ed454087b5963f6c801a6f22bc1326e669e43369309ec4 SHA512 4cbb796a98021d23177bb641e0d76daf471a2ca5fd3847e7dfd5012df54a81c185527c8fa5faa738465fb339fe9820de717f7253132df7ed3855fe9f5ed15c6c +DIST firefox-140.2.0esr-ur.xpi 369982 BLAKE2B 579383ba9bd67e58e56bb0ddb258c8c39b29ce82041f6c1c89a284c3152d6aa4a7cef0dc5ac31224b1015ac4b130e65315f78508e6fc0fab800f3b7c177fbd61 SHA512 a95950a94f4279950951c2c690ee0ee1747fb9246f55f0b822ffb51b13fcde4d1d263238c41ecdaf8ff333bb94c6620dfcd4ba720f336158066126a7ab55b095 +DIST firefox-140.2.0esr-uz.xpi 303315 BLAKE2B 629b702875f1b035ae7007a7a38d7d8d0e813e5795a88cb14d109ef1315513b072f8844c7d1e728751bcb31c98ddbc3c716438833b3075fb1bce8d9db743c0ea SHA512 9220568a3e7a506667683e1a6edf850fcccf57377a9d5f9de61ae4e06c1bfa64542b5952a6eecdec3963be3975e26641d149f058d258c6ed60bb16cd2928ca6b +DIST firefox-140.2.0esr-vi.xpi 468556 BLAKE2B 516ee4f7eb13af6969f65234acfb538683f3e4fe55f305ee8e3e16f4a7f70182bbcd72001bbcd307937d365ca87560eaebde620bdea2eb01b51b0fc47df4a383 SHA512 5bf18a551c717043e5d75429d20fca984d7b53840254e97ca19759e9010da9f7a234b297590b47059bd62bf77dc961f5eb0ddf790e175d60e3eb37e2f017ff2a +DIST firefox-140.2.0esr-xh.xpi 272610 BLAKE2B 433b05dfb38bbec8e6e94b804d20e326e4f1e67a0a64eee9fc645b73d67895541feaa67c0c4cc9fbda14217d9961d13be15a7a7188b635a351ba14f369f9e29d SHA512 a9a21c9dee1a74204c89ac5f3da0c5972483e8ae069260fcee4fe3593df1e910635533e4708b021038b0a766122650d50e09a0b13c8a72e305d19696da79f8a8 +DIST firefox-140.2.0esr-zh-CN.xpi 460380 BLAKE2B e11f0b20410bf7f84b62c654dea5ec9d45f6206ef59e0cfce41c7c7540d734ad96f84d9e8703436003a09b7e2cb03d86e4a253b70067a72563e9b2815732fc5d SHA512 288445e656875bc9cf1607b47eaff302e3b6976ba29bd36d2891849e60ccc88e741fee0295840da8d36c344a304028dd1035774dcc6a728e54b6537dd0b52ba4 +DIST firefox-140.2.0esr-zh-TW.xpi 463358 BLAKE2B 8a3048b676db66f20e250c5db357a1ca4e97087f2a68474389d3246f82ec05341ee7b48f9bd2eba29acb78c0d25bf5fc75e06598933019dae83cfad80da7bb85 SHA512 aaf00a34f0d6b69a342edc43a23d028f246c2ce5fd8273b4ba088ae8ceace513dfa38f4c7d7a09186e92bc586b0188ca1ee240c8ab6dc3b5439080dbb7dc345a +DIST firefox-140.2.0esr.source.tar.xz 631022940 BLAKE2B aa3517f07e1b632ceed33e2765929742151852efb7ecfa6d432b7d63679b07df48151ade6a6acd42b06bd48b405b59d52aacd56ddde60bf85ad8c985cf6ca551 SHA512 e4597c4d83ae1a84fce9248fe6ca652af6c3615607fc8973bd917bfdbd2abbceca937fe4c629c0cdc89fa0a5c846b5e2d8a4b44dabf7feb201deb382de0ccc5b DIST firefox-140esr-patches-01.tar.xz 11100 BLAKE2B 7a433e80efab15386ea69fdabae0354fb7ca431e0370fd642a864e20b2a6b558a187580513bbdd92b2eea98059eb4ebc5eb2117ebdab810643a842eeb0d82da7 SHA512 50a33f760d57c52a233fe6769931a5c869f72e68af2492fb068f2e3f2a3de5acdf21beea01dc6069911bd00f15c16b26e40e58a9c4f332d3247bbdceac4cde93 DIST firefox-141-patches-02.tar.xz 11400 BLAKE2B 0986721d628294f2ee9b7b0a417a146418137abfdcda312ececd47ff35d5cfffb098a91e159501100704fe0301481687d2fd24ae76039c384ef41405f21513c7 SHA512 320ed49fbf3edec18de396f7b67a605c01335b8d1634b3a7408437db4b99ea633f50298c111e81218ee33535b344b047e7cfcf7dcc7345004af303eda387536e DIST firefox-141.0-ach.xpi 293971 BLAKE2B 0a7e5f30d0894687ed16129a610a5cb5cb4b3b7a8620b10c2da6610f97e238273dbbdb473d16a85ea6eca93315bd4a7c8421b30856d23baa52c3b9e19b780d4c SHA512 ae7507bc62eee58eff42dec17a89d5bbdbe4ba8ba1498c301ab75484f99159194ccccd06bdb548443fc05f8322113c58b44af8b943c08f549892fb9d64506232 diff --git a/www-client/firefox/firefox-140.2.0.ebuild b/www-client/firefox/firefox-140.2.0.ebuild new file mode 100644 index 000000000000..b556a42d5df1 --- /dev/null +++ b/www-client/firefox/firefox-140.2.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.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[@]} + 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 + &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 +}