From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 13339159C9B for ; Wed, 14 Aug 2024 12:40:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 98F99E29B8; Wed, 14 Aug 2024 12:40:23 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5191FE29B8 for ; Wed, 14 Aug 2024 12:40:23 +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 08B1434308C for ; Wed, 14 Aug 2024 12:40:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 60EAC1EEC for ; Wed, 14 Aug 2024 12:40:20 +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: <1723638978.e39d91b9104b277de6f6713db0da07afce4beb9c.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/firefox/files/, www-client/firefox/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-client/firefox/Manifest www-client/firefox/files/README.gentoo www-client/firefox/firefox-129.0.1.ebuild X-VCS-Directories: www-client/firefox/ www-client/firefox/files/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: e39d91b9104b277de6f6713db0da07afce4beb9c X-VCS-Branch: master Date: Wed, 14 Aug 2024 12:40:20 +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: 388fac02-cff2-4670-a7e1-a5722b05a45b X-Archives-Hash: 7cba77d223d2baef6d4963c36ea25ce5 commit: e39d91b9104b277de6f6713db0da07afce4beb9c Author: Joonas Niilola gentoo org> AuthorDate: Wed Aug 14 12:36:18 2024 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Wed Aug 14 12:36:18 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e39d91b9 www-client/firefox: add 129.0.1 - attempt to install working search provider files for Gnome - I don't have Gnome to test it, but everything should be in place, - removed firefox-100.0 user agent information for new installs, - synced MOZ_ESR conditions and nearly all ebuild updates between 128esr and 129.0.1 to unify the ebuilds and ease up maintenance for both. Signed-off-by: Joonas Niilola gentoo.org> www-client/firefox/Manifest | 101 +++ www-client/firefox/files/README.gentoo | 8 - www-client/firefox/firefox-129.0.1.ebuild | 1401 +++++++++++++++++++++++++++++ 3 files changed, 1502 insertions(+), 8 deletions(-) diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest index 2f5c1291418a..cbc9ba199ca0 100644 --- a/www-client/firefox/Manifest +++ b/www-client/firefox/Manifest @@ -403,4 +403,105 @@ DIST firefox-129.0-vi.xpi 658017 BLAKE2B 817db5f6931bfec8555210ba4c123156ea6517c DIST firefox-129.0-xh.xpi 419346 BLAKE2B 43b17550b6d5e43d9eab54e8a5be693754b8752c69071af37588fbe37df5c34f430cb12e1b786d55657492a879a09431f7cbcf03b9f15931f5b425d6b672995d SHA512 aef6ebeff017792264624ba3826184bed07d5b50b3b187458cd6bec40f3c801e48835777e1604cddb7383f1e1b49b70cb652177ff75ea334a07887b5e3608270 DIST firefox-129.0-zh-CN.xpi 659751 BLAKE2B a3e42fd166f3e53e257a01867a39b5968205fc1776039a90a313ec83172cbf01a56ebe03822df187a6858ab68d0b2771aa279b069433f0f1a775601cdb394844 SHA512 864b97371898740eb9f3d73e43b00c493da2c613279d05b4ac4a65e3e65be2ff88ca6d8e04f44a07ee752ce518d1350227f9c43161081303c30e08498847f3e7 DIST firefox-129.0-zh-TW.xpi 661606 BLAKE2B 55a5662cbec90c5a4813ed7540cded88b50560d226b17b43c9b8454ee901a269b974ced3f9babb8b46fdcf0a51d4871a36e33d3ff0969597aeda34690c4a5863 SHA512 6d225f14c65f0a9dd08dd716199eae640d8e2a3f52026d43a46d07c4f48a5f7bd18b4a2ad8167c5b33e1eb17307ccbba80c05b5e2753d191779d7c115dc45b27 +DIST firefox-129.0.1-ach.xpi 466203 BLAKE2B 1bf400d04a11d92e935f39ff1d0d667337e4f3467d3c23afc83eac072c876fa3ce27ef094e37386e700a484e6a85313c24608bda4f3aeb6e0347b9974cda3825 SHA512 0de41cffc794d0bd239173a77b8299e56863620c5e9855836e16539fe22a364a59c61293815f3d599bce0713226eb9b0cbc3ac75530edb143c5f1ff5b7098216 +DIST firefox-129.0.1-af.xpi 419658 BLAKE2B af551df18aa2d22702084c5a3d44b2d13e95908723973b3f9013693a464b030890a05f8368eaf20ca566a71f5ed74512a298a877453f76913f9aae886c8da227 SHA512 e370fc32822c5cc24ee5f4c02f862db8a368de8eb7f2782f77ee76192ec7a59717d8aedbc0b13e2237daf2189bac6e9ff63b62343c456cc60bdf67a0549ce8df +DIST firefox-129.0.1-an.xpi 508147 BLAKE2B 528f5baf0c7aad059c486c83f94333edf24f2b4b38987f23cae90ff0ba4f64ce9fc3fc933dc1b29f3cc9023a14de7a62e4211733354a1bd0713d2fc7c7a465e7 SHA512 614bdc01c051a37431aa9bbf913e40acc7dc2751ef9f0bd8ece2c6e859958d4c01b5bd70da613b904fdecf021b13c774de094edc3b1d4a700bbd8cd83f210e70 +DIST firefox-129.0.1-ar.xpi 613072 BLAKE2B fd315b78f59e3637b1633dc2311ad13e5d524b441f1faf8d1cca199bc456339174a386d627decfe561da600fcf7fbfad3564169b42bd3c50a13b680197cc2343 SHA512 f5005e8dd336d6274eb4e1424a5b5acdb1152c127fdded95c41ebd864f87acff04fc965d842c038281fde702e5f18ba5875244deef30ad2357c56fe6dc8d7ba8 +DIST firefox-129.0.1-ast.xpi 498510 BLAKE2B c6f1e430609e2188ffdde33f6205477a75422480499919eb12c51547ef2239b778671fb2e2e7ec4a544b26e5c1e055624104d0596656f3a9bccd35342417e38b SHA512 07ba30cb97968856b51e6d47d42b9f7df86db55d4517cd2ee08f8c7987eb85fbd406dadec21ffc6dcae616dd91419376a41211476ec6fb21c55b8a906d58ec8a +DIST firefox-129.0.1-az.xpi 492957 BLAKE2B 7bba0415ffba2b4b40aaafcf40af859421aec43ce0df6fa07e65315650da4525e4c0f609b0a8ce4a0b2944fe31ca0eb5fc5d1d052b7024bcee832008ce6e32c1 SHA512 f26b5ba52db0237e7a376a606fc7d417ae7ea77c04b741b4d12ffab76f1a0c21bab29377ab07243a57d9f3262ccfefa55dfea84fc34f1aff02b67cb7aae4ed8d +DIST firefox-129.0.1-be.xpi 718010 BLAKE2B 4b53dc0ae6353911dfae66864cf254dd4113a37a8605b66cebda8f4be3800b1c95c2daa054f230ebab6715726356ac10aa65e82f0143c10a41b9f30e6b96b684 SHA512 e6fc6b006317ef5d3bba1cf9087b93e59907fa1e0a854dbbc4d68c28769b034b8c09968b8e3a5027f54a5d12bacfe80f7b26af864a7e6bc2a119f3b7a90dec4d +DIST firefox-129.0.1-bg.xpi 624115 BLAKE2B a0dd3973ccf6468ff0f10e68c2c85525edfc49fa9e85c391db7360ea19430cf3edeb01eb3f8c09f3cd09a8e2670b61abb0d1fc10233e5cf8cf887277b1f43de8 SHA512 f357c258c278944f5759de2bf4b84101667d1758559dff797b51b3f8d5b08231724527d7e8acd2da6acf92fffbcfe72dbca4d084e3590c0a3891a2b6117520cd +DIST firefox-129.0.1-bn.xpi 583730 BLAKE2B 30807365f0d737a1887b33c94ca78cf8cc1200bfdc3a0d66d03ea45ad1fbccd0a204ab3dc0858ff80552e1cc9615fc765026914cd31a9fe02f16bea5ef198ade SHA512 7cb3e87211064a05f0d2b64933f56d8cdcea6359bc3d6951d3b4d35f2ad72bd752efe08dda076f10c6f918f8883e13351958ed7d71563f6326214414b8e373c2 +DIST firefox-129.0.1-br.xpi 591227 BLAKE2B dda4d91c881a795ee6ab2d0188ca4c8be4042d1c2b9c4c23577cea1b3b642cd484a1a90a354100612bd913fbae9ce15438539c9772c51569754dcaaa0df3ae72 SHA512 00f50d8216c719f5d13a72c403669629bb1b9ddd9980bb034590f146f26bbe598c35862dea58c973a0977f60c8ee43aff8dc8c0faf203c9f83dde5adf9199331 +DIST firefox-129.0.1-bs.xpi 504168 BLAKE2B b0d9897a2d987b3f20d6ed165d41c8982f2a63c0ce1837fc4e0f41ddc8516002bee6d7d565d403ed8fa96189d505eaebf879049c77ea04b92c2a5ca810d35a23 SHA512 6a551074fa4246a24f2f0f338b76644009a42b0da45ae9b80562d0fd2991c4a73ec0d70b9d57dae1578fc9a9513b30726da611326cb9291490c46c5468f5a4e9 +DIST firefox-129.0.1-ca-valencia.xpi 548456 BLAKE2B de03d04d8b09651fd8329a6979f27ed7c88ee2e003010f6723fc9fc81ec72cf7c4e8a349f5744fc1f1fd67653d769c365c3c86f8f9f7058278fc285fac065ed0 SHA512 758af61677f2b9df14c6a91c9b7b74043fa2e42d45637abf695c01dd4d4b5627a359d279a755214d55c1b1cf12aec0485092fcb1b82d9dff5276a887de08c7ce +DIST firefox-129.0.1-ca.xpi 599335 BLAKE2B 5a17782d69e50e9388c5aef3e3376381bec44a8a5d64f3ca3e49a9f4ca4dc3aec3765b156cfce6ac358faa679fc3c233c736553c8d08a4114719a645ce244366 SHA512 63bcb2b0c4cb2668645e5c31765c680b4f10d86fb4dc89239821a0b8f3f4a87e38019147eab21f7731399141942074456aaa3e86e6293b8bc9d04429d4de4b5e +DIST firefox-129.0.1-cak.xpi 595443 BLAKE2B cb7f40cee94b1cfede1f3e0509e3c073b7323ff2e7405d473a88a606a8886e47b4c4b3307dccc9db40bffc325dcb02dd5d95df23ffaa84b3b60ceb4f2bea07f3 SHA512 26855b6d785f2478a227e859f9049d30bd5616b4d9301264b2441ac150d54577dad3cf17037d274f8136f7e25185835b0de5a3873240bfad3d52fc299d56eb2d +DIST firefox-129.0.1-cs.xpi 662050 BLAKE2B 3e3a51161026e1713f721a12e7131af95404ad36049837e955cbdae05c2e913483155383f1bd8b77ad8143e7b9bccf9806b899c12bbe6bf56ac71662260552cc SHA512 db42e9e6c519177b56ea01a77bda6973728af1cc9dafce78fe6c2aa8f57314a9ba475645e2bf6fd4dadc84c5278c6e5df726325b4db34fe8a95db68448005189 +DIST firefox-129.0.1-cy.xpi 626691 BLAKE2B e99299a027e7c8594fa6194b5b1fbe256c933d383fd2100938568b35d3a7c1851196ab4eae1e8584517e6368bed5a653cded04fbe6fc3b7bea0888bd3d5a734e SHA512 bb8718f2ab590187cd918506447f9c8209e423e147a6c4236f70dc8dec7d3c1f5e2070092d455124e4b2f6aaa90567859edd6311e2b6347b6656ab34194f4b60 +DIST firefox-129.0.1-da.xpi 615343 BLAKE2B 5c5df91ad11df90d8cacd5a4cff3f0cd3c6f125d7edd54fcf60072c584c82488f6020bd86196d3eb5f74767430872580737beef4400e9cd285560eab6fa06cda SHA512 9829e5ecaa614c018de5187ae15481068dcba3720bd864faea7ccca561beed6444404aed503b38cd50ee372e44f5878164dfc0264495a7939aa3a60d0321244f +DIST firefox-129.0.1-de.xpi 636708 BLAKE2B 854b59464263b31886d58116a2563cdd4398eb1efd448508db71909981b5b75fe06aaa295d39bdeecafcaf64fbab7cf4f66229fc8d91ef7e9076bd34a3eaa185 SHA512 04920db4d1c297d5bd3bf3ea6cf370f346b309c1e4cc3a77da72488b029c9611a84b38f890c4ef4c9bfc86ca57055085514d06e5b48b8f19c19d2368dbf8a6b9 +DIST firefox-129.0.1-dsb.xpi 653382 BLAKE2B c140321c20059ec8c00c9871f89bfdaf7474889936496c4eb44d0b580548c29fb75b270fe92d6cd409805ce27fbb62f4d8a990cb0eca0e55210aac0c470a48b6 SHA512 e886b76cfdc05503c364a2fd2b6a75f1e755747300dff13a83e3ac034607241f3350bc53e5f705958eaae9f7670ae55d0a63a865fb7d3894b8d57aab71c78daf +DIST firefox-129.0.1-el.xpi 735568 BLAKE2B 43c751c24341c0cacab30d88faacd7f85fb2098c62ac39fbf89e8a56f037fe60e44a0f971613249c89da83f7388d410e15a0c0f564bba0fa3a684a90fc1921ef SHA512 3c050bf0d324b5d0656ef9e1ac65e28dc457c6956fc124ccd25aa20c9d075a3bb7ff8e334e99836f920b5295dd899d9590ce40bbd34ad9ed65b75883e308fb04 +DIST firefox-129.0.1-en-CA.xpi 587144 BLAKE2B e5729f83a9420b4d4b30c8d7e1af810c940a96fe21beb80817c569a40258ba626861823ce9684ab7acf89d706284d267513bf6e038345fa637db8eb0e12afded SHA512 8a18deede7e788587aa8443d32ce71e12f1b6f35d9acbf474370f607f249cde828f161ba9a57f0554b2950937f4e08eec3a3ad6cb2eaa31068c12f37e2a13de4 +DIST firefox-129.0.1-en-GB.xpi 587528 BLAKE2B 6c86c26037ad3655bee98d7c4a561d43dd7fb1ab740fba559758d89e694574ea92c2b1a0d5e10d6a7b1ae15e8561310e0bfa8995e94ad784aa78c3e0f46580cc SHA512 8b268502bdea7d4312a7afe8c38b565a559c73290b074fad45acbc2489618ca9524786c087c092458a046cd7366181bdc2ca7bb8f6675f91517e47d33e57170e +DIST firefox-129.0.1-eo.xpi 616014 BLAKE2B f171ad8a71b30089f8e9685264f94a2b4c2ac37fc22896a472084152f368ce251adfcf7b09868c74730e92ecdb1225aa22837576fafbf38ca470bf67a5846f11 SHA512 64c896b3b22211fd808c3c47368383518f4752fcd0028835652bed4a67c37e782c80d636eed2da513821c31e65ef3c3acfab793adbb42c6f80a50d227f02341a +DIST firefox-129.0.1-es-AR.xpi 630369 BLAKE2B 1b486eabd8cf09e33603c2dd0c515cc5442917367dbf79198d1bef0fa39c4b6cb8d28f826796755fc45d453b278493c6c0de6a77984945b945a222673959c41d SHA512 b3baf877bb36ba3b0adcdaaa257a466704eba707970117788c87f6972f1dcd311446c9e67b66034118327dc629c8ab40525fcce51b9db32562b5574251446af2 +DIST firefox-129.0.1-es-CL.xpi 629637 BLAKE2B a8c07e26cb529a486de0fef592e76e08a24fff5df853aed110f45c1c70002e446fe21a8098428b4b0a944ffb2ba6645737068b5e5d4499c71f73dbd4e440bb97 SHA512 6045d2b0b263814894652d386a18b01cfffb8aea8f7ac6613e468d59e18db1dc49fd29bbac5d11e780e15e30e1d993979e36263616e688932e59fed84876418e +DIST firefox-129.0.1-es-ES.xpi 622865 BLAKE2B 7e29a50f2e8a7c83ce12a46257a8b7e252a6d1f2491adfd22ccc52b8abac4c5fed41272eba9ce749a2403987d52c68b99f74de2b140603eae875909767e2050b SHA512 9f47b5fcbcd567bf923f5114effe1eac4fdf317a14dbf9fb83907640a2469f09988f03a9eff8dacdc55246e4bcc0bf9527baf4174cf2504684d502413ee52945 +DIST firefox-129.0.1-es-MX.xpi 611602 BLAKE2B b0121faa225b09c0993b9d55940af36e6fa4ebca1edb06a8dff5e4beb20791d5e5157333781dda890f10424f63124b0e5d357907b62e2df10eb95a2dfbaba2d0 SHA512 6246482066cae080096fbc4ecb294db027f80b156fd76bd52bbf8d5a7ca182f120a309599a8b97bb4ba1a7ceded0adf3b2457378ae9766b856e6024a13b1dc1e +DIST firefox-129.0.1-et.xpi 541839 BLAKE2B 2c6abd2d1f0e130981fcd1ac39eb0264a6cd5f495950e406698decbd5f8842a8e4fd8000a43ac9aed0a07abb51118bedc33041f455448e776c4d5a44940c1def SHA512 5cdbd66b9cfc61cbc06c9b136e875fb0a8f191a5d8b9fba30d95e13195bae1c2613abc2cf4f521762e5170190d74111f7f6d727de982c93efc39814d3795a4f8 +DIST firefox-129.0.1-eu.xpi 601685 BLAKE2B 6a215d0f29cc57264fda64b633b97caf90def36b9d30ff9542eb336f750366cf02240970430a58fd9b9dd83991442fc23e2b7e09aab6f420c5b4b83e28da07eb SHA512 6d86bfe4ff8f054a28d9974089315aa165f429548342100c399863c6930fd95b10229c2888453290dbafd116d2bc337431bc4b57cc147c841a16873d7ca31a82 +DIST firefox-129.0.1-fa.xpi 592244 BLAKE2B 2a3bc28ceb76ab5ea94f524b1b2b3003ac02e04297b19212b011e57a4453be6618ba0531e3809cd8d094f4deaa39e48e2f1b28411fa9bf681ac64c8419142b41 SHA512 9d5680baf01b60c00ffadc60848b2347634141e05ff7cc44297388398709ed204101ac7f9ea7d0041e63b12b2c286685e004f089078bb843a11f94971625b47c +DIST firefox-129.0.1-ff.xpi 478248 BLAKE2B ca1d42bdb9e7f181e01d1f09ff8d2cc4a82d243fbbf7c99c3e03dbed62a6c3ff9476b3f428e21650fe112cad7c95383af173afa4fd624866b916235defbf6453 SHA512 f079bf3a8de935c1c53eaea12483e6099c03fb413991b8f0d9662a2f50103ffaefc2178a485a3602ecaea517aa18521052821777a7e2669588449683f3727892 +DIST firefox-129.0.1-fi.xpi 610113 BLAKE2B 3db7001071af69865efc7388d8dc3afa387d8897bbf87a843512a51d5f17bbd72efc6da22bdc22e19f9e01bb8f3cb0fdcb91a5c625f2e52224e12e977e46570c SHA512 d60c889e8cd3bf4b649326e47e5dcaa902b21bb3666b2f8bc6130829c9c5692b13c915d59f4043b681302c8d5c1b4c969f06c70682c5a8a74d51189994d45e66 +DIST firefox-129.0.1-fr.xpi 643417 BLAKE2B 075e85a273a8702c13a57c57596424852c462d85c8132ccbe9d1fe4bf5d75592304b1d9b554f84d008e8055cff0cd8ff05f50d58dae4d1de63f17b0c70ce2b92 SHA512 5b3afbd1918e2bf37c3b3ea26e35a86d1b1585ae0ca0190a3b531075221ab8d0dabae7ea8b4f7fe9b4a27e3944d7727a1328fb9c0af0ffcfac62dd350f31e51f +DIST firefox-129.0.1-fur.xpi 635774 BLAKE2B f23236c24d9b50377bdcb5825999e6c4b855503b302a43169fdf5443e07e24804291ec7001480cc3d6ad564c97f9fb4bed198b72f4833a0d53bb5cef7dc70848 SHA512 117e48ea85eb2d4f3b60318e0316274879d8059f62135fa436466785e8c76154a5b2f437b1426e881548ac89c180504ae4be8522ba6b9b9522db2a0e965214e9 +DIST firefox-129.0.1-fy-NL.xpi 626047 BLAKE2B 58842827f65cbb3758bc3073752da321ed801e3509ab118820077a1df7d04cefe9c0bd1c310fd0e5083d1029704ff9abde7288d6bd4660e65b4676f355537b95 SHA512 9cc1ce773347b0955d77c9a0f5b3064722c455feb05982c0f18690e62795d8105c604ff3e7548e8f143766fb48bc4511900aac289e8a9bcc93ccab266361eca1 +DIST firefox-129.0.1-ga-IE.xpi 473209 BLAKE2B e5f9224cba4e3db16773ca6152a8c0693b0bb6bd1942eb159492651cc5f1282eb5808c35c3b02346f38486d50c8ed3e743e8cdd0c43db92e5b2d16d50b25d89d SHA512 ec23242f28d69d094ab20540fe69e99f8ae4fa8a093d39e492f560a7d07458ec6493dac3cf00933080884882192ebf9e73a3df577bc4ed28738a2458a6c12db2 +DIST firefox-129.0.1-gd.xpi 598877 BLAKE2B af2dc2be23ba83b28604d924b3bb45a112a66e714637a1fba8a67dfc5c83d83905ad953f92d84bf85bfacb1a4d26e01dfda32e5aee0be507b78622f08126cb69 SHA512 051c3b47da3d8a33a2fc08f628a487e67ea6ff2b58702881ba8560182bd526e1ea1c8c79019cf072f3cdbd1a5bd54e0a6611fc35c8d6e37806d550abf7462ed7 +DIST firefox-129.0.1-gl.xpi 606451 BLAKE2B 84ed6dd3a5310d4b9a0c6070ccc757a306f864a26ea93e4efd2e17eda6e1080b5ff19fd75a99780684f2a7ec99afc757263b758ff8dc20964e6e2b32e2a44538 SHA512 f07a63e3cd4de6bc64049c8d6494240cd4a20844f67821159c7a7369e6e9fae4d23c21764b5ca661bbf100c7430003c2f5b0b374989c1657db4eb4478186d336 +DIST firefox-129.0.1-gn.xpi 640315 BLAKE2B 27726aca9297137f0a65939b49379485f48692fa05b9b170869452057e342c125348312dfce07a34f5a02912cec3cd5bf2ef75218ca728e9354ed54e811f3fa4 SHA512 b1909c1f20202c075f89f29c4b6ea005d75d16281681df44475ab46805a570c4be05eb8fd7cca962fe9e6a3fb02432aca3a0b7ea751c9450422c922d80670b4e +DIST firefox-129.0.1-gu-IN.xpi 529499 BLAKE2B d7be7ea6ef906f633a4ec60c6954764879a3fb25129c928ed7806f97c28d15f1c6ece9dbb63410f3d7a3632a9ada509876801b6c546ba71253dc1a83c76f7a69 SHA512 1a8effeca6bae103f1b3d6dd0ef4e033e42b169e6988cd8c6d6d06ea94ea1e14e3ed4ac385389764e592abcd764a7d7d6648b6663dd809701410532da29804d9 +DIST firefox-129.0.1-he.xpi 634002 BLAKE2B 6b1019925046ac1885358896b169625c2b1317b96f0259f4d2eb2a964a913a70ab85b3218aedbff19a5443aeb57e5102d6a4b9bf985c251eb79cb14b6d15ba82 SHA512 cd92d44c1100f1f9fc933303c716ef963a77e4714a4e920fdc42f41e24a35e2caeb629caecc00a783def0130a27dc692f407d863ca489adef496d7c610a20f46 +DIST firefox-129.0.1-hi-IN.xpi 568983 BLAKE2B 55e37a33508edbb3e22bb9f34cf92436a110b2d7651df01232a894621ed653b08614540b148f0f500f03fd40169726e0f658525b3d11b81e023ccbc719a51e24 SHA512 f3ce9f4a5e5129b6e0d16e6f86563ef3b4877b3e2e508b34039bda4fd4281169136aed9a21d9dc2ac7ee007a5800ab6f1a8b012fbc4e1b9dbe373e80415b5357 +DIST firefox-129.0.1-hr.xpi 610557 BLAKE2B 5d95ae7470fa1af451dab642251e620e99727ed9d5f5c2664d1c72c5ac35ed49a7646c4029e450a7666df8087c147b5d3d849f90ca5ddb04649a8d219eca43ad SHA512 1eba5bb1f5ee5a48c61920af137d71db937d3ce63c839b129e308a209bb1c2f53670775f6e671d2c7adee68e468bbad7e215d2ba98c7e595e4cd5b8bf83ae97a +DIST firefox-129.0.1-hsb.xpi 649228 BLAKE2B 802f8fd9d9f2e1c5ede6f162000fc3bd49afe9a4ebf2cc816351b4a3339155c911565021c25663687cce420355c3313537c058c136e39e19b6b21af948fe51db SHA512 c4f2a325ee20ba192af024d43f5ef5f34f877986fdbb247795ba19922c5c8fbe30a6a5b6a42e066669865e634e0d891e120fb006b1e634793f5c88ab98516d1a +DIST firefox-129.0.1-hu.xpi 651238 BLAKE2B 34fb48e146aec439944849560837cd3541c1e3bd4d4588e9aef01f3dd5e009fcf2b3ddbffe0c570367f281f143fad862c5338dd099bb3e40f1761901427f152f SHA512 1e643547997cdeca0cea8a61064040a37306d7c62a03e14effcb23e05938e91401456155428f37bc5681c1cbf8100a09a2672f1aee7f430ab3069a84978bc3d6 +DIST firefox-129.0.1-hy-AM.xpi 653906 BLAKE2B 23140d16794aae5b0ed9dc1fa1244dd60d62d0a9c995e7154d4c7af8276b453ee5effd5f8412a7189596fda95e84087218835864188c5e81a51ff429b2dd3765 SHA512 a9a541b5e52a1f0f815203d94fe1d2368af11f5ccf84231ac6b0e8bf093c56658646461f2d4379fd8f3b9d539eb043ee1e539bfa5a26e905c9e88a6397c554a8 +DIST firefox-129.0.1-ia.xpi 613523 BLAKE2B 4b0d1cda70a3a5298c173516a29ac645b18b1660c4ce752b100f3d87c952080313306a8abd8fd36ecdb540a32f7336619613f9b4038b6c6c9c604479bedd0f26 SHA512 680bd5e781899034b11eec808c542f0428991d534b8ce06894877817c0cd8ed97f988f582ed08e9f11bd7e93a873f6003381117d9942b3fc0d7df0ff77eb4d0b +DIST firefox-129.0.1-id.xpi 585302 BLAKE2B 0d958a1a8f728c70097e8393b831b234ce5774fee6478601b2997286638014c4a716e2e7a814a99c1f3beb76cdec628c57c72d9102c22d31e104975e74a62349 SHA512 c4ac6e977f4d172016e98ca4faf973a1ac745d2f613513c015792a74cbf53de689893a10d192efc0f0b999d64973a78ef61454d4117adc10cf3f629f76ef92c0 +DIST firefox-129.0.1-is.xpi 619024 BLAKE2B 3394a770de2b98452cc58b98ca9d00b6390c773e9483270235d26445bdb9256f471d7ad7202d1f856e1a6103be0e637277f76ad02938ff928ef7c6f8d1b5b5ff SHA512 f03c8fc1305098afd7581774e29962645fba4def8abcb9c7bc97315af7089ea2c801157e2692a0224d308222e217048a13ffc15b6e30cd4f98f80a1b2bed07db +DIST firefox-129.0.1-it.xpi 569518 BLAKE2B ec6cff3f29c867cccb1ba97b3ecaf25fc623e644fc05a9fb059094ed6d1e7b6f89413115f1cf8c497a082f7007364a06ac33ea655ff69fc4f43436aea224ffea SHA512 6b33032580e3cab4785ef5284345082fc93409e363e814b8c2641261db491c8485272b34384b846929c5f7438ce248852f2d4bdc506df36c445048b7104f3141 +DIST firefox-129.0.1-ja.xpi 679731 BLAKE2B 0faa398029ed46d1edc73972be8a2303adac5ae0134ea0f0d717ef12db3fa17d1119ee370b71265634af62fbe95971ba1a4bed0eddc3bf8490906de5ed79c6ea SHA512 fdc5f3ce5552c802d82e2054b4375f74f5ecd8d858a76d2ee4331868709166326e2a23322190c0c2a251908e903b4ab8a60e6ed1442a4dcb27111a155105b171 +DIST firefox-129.0.1-ka.xpi 663166 BLAKE2B da553f260971ccbbbab99122faa816dc304a438eaf7edac083cfc99bce17fb63ab7f864e1a1cd5126ef7a8d89a25610cc8deb280ead21fafb4d7d465878c19c9 SHA512 3b00538d7457a2c807dac9ddbbfcca2e710bc923c02b5ef48810c69ffb80f437306d7cf4883738c85a9118c002e4715c16045387aa87698267255a6a41e95787 +DIST firefox-129.0.1-kab.xpi 612857 BLAKE2B e1826f655870243a973f3054cb79afff27c3f7548035bb5ed7083fcd3bb0dcaaa21e478e7ac7588fa7f4199df76289494ebdbad1d0a1721fc7bd8ef5879bcb3a SHA512 3f822493b40187c1c9609cc985ec79a7e2af062632c7ebf5989d551098f2a6309ed8848cf6c3fe91b2f55b6091b5c1b06538bc002a5463c02b0cf55aa8aaabe6 +DIST firefox-129.0.1-kk.xpi 710252 BLAKE2B f927b7c58b91a8f1ac94f3f0c6e48b8efed8eddc4af3960d69a7fb3d17de1c4540a982e0b9ab5cb4c92c358573b83c0553568ed3be89b3119d3bed4f73dd5483 SHA512 aeb4593085f24e33a39544447e1039ab477041e7b3290b80a68c881cec91ad634c89579fbc9b1b0ca46ad8bf6876ff2c8d31ec64d4e662a7f8e74029f2749bb1 +DIST firefox-129.0.1-km.xpi 528065 BLAKE2B 1b8074b0b870a6a66637d8851422613d95119694bdf525160d155b519a18f85a1b8678a4b3d5e091ff61ff728a9d0cbf90496669ab1af3de5177509512065113 SHA512 cbca71def35d8db1cef6bcf2bbf07397c9767e16f504fe8ac10bc44e2bfd2b80b967c4da74b5b43f08935727429e2bde1da3562025c51c6fe2786659b0cf5d8d +DIST firefox-129.0.1-kn.xpi 493383 BLAKE2B 341e75a230c26d3ee7623b0b6afbac15b36200d6f919624159600a3394cd8127af8ed77a47310bf895bbed721b00020d8831e05a1315678755bde7b2a328d9e0 SHA512 c7077e2a2c6dbf9bb55dfd10a20b91ab58b9078b8bc8b05ab0511db53e8499a0f4c9bebad0e904af90527b4ec90f10832e582b79579701a240233e53ca365328 +DIST firefox-129.0.1-ko.xpi 663933 BLAKE2B a68c441db4d9e2a1cf84cce9e46283269336282a2bfcc7cc1ebfcbeeabdd6f5ee1557fb624b5dfa8bb7365eec6c1f00874cc67a4745f5721f46d71742f0a1198 SHA512 efb6a11d8f6c19da16e7aca0bd53e3e9e88bb6b77fc45c3089ad52e55a29bb4badb8060da24d8ead1b13df850580b0d7b19f3c1a8eb3fc8ca58b99fd68b58647 +DIST firefox-129.0.1-lij.xpi 486307 BLAKE2B a412bb332132e2805842d9bdc716d9323f732b3ccaeb8e612dd6a4a576dde57768e6cc026477c618d6ea4bf79601cfb0fce909834e4196152efd7aac6765a27b SHA512 1c00d4d12c9958f57dba2c518b1c036b4e0de0beceb622846020f9ee209cb58a4bba9be6d559a76299e4bdf1657baabfbc89e652c59510474ed6afb7b05f00c0 +DIST firefox-129.0.1-lt.xpi 575016 BLAKE2B 352543b71ea1aec10fd127997437f81f07d0b7d55142fddc4da5c8246a860c51e15f2c0953aa65a64a5fb276152cfdc719047e4065ff370d3b52d258f134479d SHA512 2df572bfeddde2fa95572e5c75d5ad64fcbdf0f8b9dd3d3633767c423a1adc00220b5b9445602035c28633d6fa10acf3f3478c645f2f9c5353c8fff4dc90f2db +DIST firefox-129.0.1-lv.xpi 576564 BLAKE2B d869d4011e9b26c72283be3a7e439efbcd716f3ac7f619d1020711b2a2ca300bf2313d5def1b9666f0e9e14397684f3eaf66c61f49929c9aa1e256eafb257c0c SHA512 c1862f848cda6cc0fa180312baeeeab6c84935b008034c51f7ecdd23b4db1ddc681bd49eff2c5047876078f6255ac39d88005417f2aaff8ac3278e69c8b5f7ca +DIST firefox-129.0.1-mk.xpi 496012 BLAKE2B 7ca49f40963320653ad8b2600dbf160f15d5bf9a7837a2367643b633840afb278a0d2ac99276e3c888b7d422e1dae26776510f335f7f46250cedc3f022708e90 SHA512 07d0d1a9098b7f586f14a3ba6c17e8f1c54d4e36e25bdb0e8a3c442ed09d450af3c32a7a6a5eaf1681b7d3763b6efcf90d2e166456195b3326a46ef7a8e3104e +DIST firefox-129.0.1-mr.xpi 534248 BLAKE2B 7e15b0bc6ce1566a2d311f2f761be31d892ddf3d0e00cefd54072352ab887d93ece496ba6c8deea92ced91795731e9e61b8ddf98bf0350629fa86e1104868aa3 SHA512 b33e73c529cbe7c6bb523501962ca41185c873524c1e0b096a94aabff4005120b828cd1a4b0ef9ce9ecafed7c9bd54b2970595c2203c2676daea697ca46f05d4 +DIST firefox-129.0.1-ms.xpi 451897 BLAKE2B a5c0ac2d1d714f51459faa8287d18db33c7938a780b391c1a510c935ec6031838716fb42d842e202354e18f516f2b9dbd9b93870a85bd69b34aa53108c28cd10 SHA512 da2899a70e2ac4beb0d4e73caaa03f58b48c993e47d563812d98c7a1ce580ea871be23aeeeadc2e0075138c9468a21beb4250ad7e8d8b9027cd0b920b5c7316a +DIST firefox-129.0.1-my.xpi 520803 BLAKE2B cbebb504804e3493d62e43be9d99be2e296ac38c5984d1ef26e4bec1e89bbdef76b0abbc5a1cfa5b07bf6b7c6ed51ab98d984ed79f9c2803ec9841edd66f966e SHA512 06d7414d8973c938392897ae0f9868e8a1997887980403d4bd64e6d1ea9ba10a79478c01f150d70eae8f70b4e27be547335b5ae7a2b40064ec1d58deefdfa702 +DIST firefox-129.0.1-nb-NO.xpi 610252 BLAKE2B 04787e8c149b24d9d0e7f1f70dcbf464b28eec830fe269405f6a14eeade139afd5b1ef1fdb2bf5f561246e0736eac771a5ac35dbdf8f04de2ad863514ccbbc08 SHA512 c172886b13ebbbd9274206beda81013cded10a6d092860b3eb04409d816c73680703f9e1a771bdd54b2f1a59c36c72e640999a4ade7f4685b7ec73da6b66768a +DIST firefox-129.0.1-ne-NP.xpi 516319 BLAKE2B 2f1c45451c9a7803f478af15d4e04c0868d8d98f7ebc483f863f87acfaebb7759b3f060761fcdbba941b7f4978086d1614ac0cb2a9aae88c83ca56265f619587 SHA512 b635c714cd929b6a83e1a078f2c3ae74ea3c84e036112f40cd33dcecb3812c6a0ea15f5f7c2123a1cb6abf2182df86cf5f1ee5bd14a52e2e5a6b0f502b606704 +DIST firefox-129.0.1-nl.xpi 619714 BLAKE2B f9f09451f35efa1950f4470644b6ad9396e4c073af80c8b10335e82c43c98bafb138defdf4837b21d6c182095492368577b33ae7d60503a3ef17ad2d078dee27 SHA512 a76ebc96607f872224b1876a110e68fd21fa257bd9c7597cfa4f37e9313a022498996f946daffce6b92828ebf235dd129ea0c50b518bc5ab0f41f9ac3c9cb4c1 +DIST firefox-129.0.1-nn-NO.xpi 613167 BLAKE2B 8b306a92cbb8c3359af0d550979598c5416355c12264e26dfc961aeb6d3901290d70aef99e3e49f391dc8b8eb8ae3983a8df32b2abac1810562e3a4428002753 SHA512 f7ed8514fff416a911162d2b749883364b6ad12b4378ef8ba559ae56a14ee3f574961d587bb7396ee6a232c1dda1dcae6228c47aa05c2038b77128deaf40e7df +DIST firefox-129.0.1-oc.xpi 615147 BLAKE2B 233686ef25b00d5bc552c40f126df33310793abf29504c57a0d42e0a2846636ce55ad2d905bfb16aff3aed2927a750808cb6c12de3982f994f6c63cd3566937b SHA512 abc9b46de5b1837ad5a9c26c9692d013b70aa1f5baf9abaeecefa4ed2b068e857d7bc1f2aaec822551fbe21b59fbea1ae0f5fc2aa14c3fb1d440871d0342fc89 +DIST firefox-129.0.1-pa-IN.xpi 694799 BLAKE2B 8e3a1036a7913942a040caa75472238dcacbdfc1eef6984f750350a2d5af006cc205b3eef8dd5d0033fcf92bdace993d7992a24bfa863d06cc293261632c71eb SHA512 c1ae902b26121ebf17ece0e7766d3d459c621b9c58728e6f8f722ec22b72469d40d2d083ba43cc15b17103a361c43743bf3960faf8c94e351f0542f95498be6c +DIST firefox-129.0.1-pl.xpi 640500 BLAKE2B 5028addd444102cc3beb15f1fbfcb7a32925fa5104eb1b0a9e125c115c0da77bbf8e26119485ff86fc966b80200a43c925b457e3f0dc0b6492de122ba7ed4cd9 SHA512 4b98a686ae6fa0b48bd7d3b5b8bbd749ab1ab97c91618ad9770de6dad5430ce47a44414b0562778e20ab67fb9847eed4d0db4f040bc3de5815de17d4c0f9f6b2 +DIST firefox-129.0.1-pt-BR.xpi 624480 BLAKE2B 3aedbae07d5b7988b3bc997b8255fceac60a4b884425d7a9ffa9b2edd179f68ba7771c7de1eb88c58058b0d35b5136489a4abdfde0ce54bc8d0f2672cd27153a SHA512 07d4d38b282035c8907e57fb94056f129dad0115de811943e9af68d6b00b91ee9265869547bb386ddc2e45529fb245ee0d113cb3c16165c46fa5a6b69c55b273 +DIST firefox-129.0.1-pt-PT.xpi 630814 BLAKE2B 28fa48ce6e89de74a3cb7e9499089d339023cf86ff2205bb6a2fb9ffa05573199fe7783f8a4ac2a453381a006df782cf18ebcffc4816eb2ebeb32019321333b9 SHA512 9baf8ec72f784768a395148cd216ce6c88d8531063b76def054bb64daab4e0706f1b779da418cd450e8849d543f2f8b1ac527c4a95cc4cd9ec778159fbd35609 +DIST firefox-129.0.1-rm.xpi 620388 BLAKE2B 3feb509d7ece9aafede83d3f92021eac119b8b615b35dd5434a098613241e1f00bf68dceac0a4a8e9e9faec88ea80312392a808e9693325caa8dd8923836849e SHA512 d3d929e1e12885759993b010074a5e57bfbc89adedbaf131d201ceb581b99f82ed92d5b2e932a1091bf82b64b8e5c848c95f50629729edf3c19308b6c9a35e42 +DIST firefox-129.0.1-ro.xpi 552115 BLAKE2B 8358651d9bcda9d9ca044e92f775f0c53f8ea0865e725f67933b8a5283785bdb512c7c10b6d66c65303964b996ed0868bfdf121d8f9bdef7d73d0da3ed89cb0d SHA512 5529b5e04d22940ed9a5cb2dca28f73f0615cc1222d991a00a67c4892ed3cb367d36460827de1911dba371376a68843cda09571f2cbd6706399f39110c448c1e +DIST firefox-129.0.1-ru.xpi 722859 BLAKE2B 1f84ccc179be0fc91e65cd3567535afa90ec32cf5fd06fc72d900028b7145c01ee3c750a36b25b8b06b3ac23a7f271286432e027a068f7093ea1389b8f057388 SHA512 e18e770d357705d3dc64df02ee7849f04ab211d4326c87e8fff6ce1b5eee0ff7ae1eee8986a661e1bb320e1978c8c2db075c2c20c4d60f210e7668aa2f7178cc +DIST firefox-129.0.1-sc.xpi 590063 BLAKE2B 3f86c784cff3f7c8ea063d3fc662b2bd37ee4d96b5d019d4cf228b7c62a68dabaa6dd028dc3404eb9df275e3c6b4973b8e628eef5e7a080b58484cc9a51f8d97 SHA512 d22b050e0c92114a4effc3adf899771da0ab2103d59fc0843e5c3c720233ba38363bafb340d0a607fa6cf1578a3a868da03b4bf42071948ecdb70abbdc7c352c +DIST firefox-129.0.1-sco.xpi 513483 BLAKE2B fbbd3f18175203e2ba014e4b968e6e69d2a8dd7e1cd8ddf7884873ce8b36c0574ac4bbc2307fa64cfffef86b800dace882e34dcdc8b0eb77aa5587dfd5a92884 SHA512 651eab4ae77ca4f1356d59a8a5958e1f10b3d58c5898aeb42d185a7bb729f3f187598343b7e1569943aae9853c1d04d2a92e78e1b9e63cbd47a0252b4d00335b +DIST firefox-129.0.1-si.xpi 615443 BLAKE2B c4f017139a9cdcd1a7aa512fccd3a31646d5b5c19123368860b2d70157d98ddc72d2a1c353c23cd5c79a5e9e63f84726b7263efb67e4c864a3796f7f4cae8284 SHA512 0361a5d19c8a0fea509218ccd2764594b09c7e0837a57d8e10d21acec29056fe19de5f41f43963c07f6a8c0dc21d3f0676765e5874301b8a2c58fa8bbe0b960f +DIST firefox-129.0.1-sk.xpi 654954 BLAKE2B ead6474886f1b1de2120a131ee0d4233e831d4d5328fed2aceecf6c741197a904dcb0b7e4e9e714ad1302a68065eb6fa021d1bba3ec0f44c2a4e444f2ef78fa4 SHA512 302b46ba67ea06381a25ed107978d3e186da204f2dc6736d858b7f7b49f4d17e00da57b6fa53756961e7e3aaa2258bac0a55ef522c1029e23f79fd3899abe261 +DIST firefox-129.0.1-skr.xpi 710323 BLAKE2B 75e9796f333f8bada8cd74858a1934177e68e0d0e8b0c1ec7c264372bc197726e2a877e1be40d4fdba5f4c186a360e62e2e599801f946ed5be129b05afc3c33e SHA512 6b808e3fa16d5350d6a3b5684041c489183db5a543cfd799e88b2d2e55e98b867aa93cc18091715e356cc8335396d2c07d8994f333381acf4d7d63e06c529fca +DIST firefox-129.0.1-sl.xpi 619635 BLAKE2B 42b431b7e1baf3a53c2612f965832b43063f6ead342de9259f0a4e8a922bb2555135266027e858616477f580c08b4ba3e7948fd6d0fa90f4627aa0aabdc49cf8 SHA512 9bd20e0a7fb66c00693c14612405ac1647b9a2bdda0056d444d7ffbd240c73890edb1ab16464ea0e33bafb242bc5ae005c78d9c1f7cfc23d7715435cd3ee166a +DIST firefox-129.0.1-son.xpi 418559 BLAKE2B fa9cd55cb6fa0ac7c784aba1612446e1b202b82c61a21e97c53b0f38f3ca6b773cadb849d625561f72f2f9343fa06744baf6cf599e62e53365eecb2c90942908 SHA512 16a6308fe84a70b9a0d80fdfcb81aca0a089aa6ec633389eafc9ee52fc88db084bf6622fab12778e0a7f60c5f38ad02f9aad2f1d12e1862387b2fa9c937c25c4 +DIST firefox-129.0.1-sq.xpi 639105 BLAKE2B 03b4398710c0f2125456c5c3845d53666954b9d61f498f1019319467000af62859b0ddef3f5296e9b57103568165e5ef1f07268fcb549356ad6370c48bd38def SHA512 09fb629a3f3bd294c497b71d8d87b6817fd5a5dadff04f5e4b284693c0cced78bbdfa335ee0e4f38ffe18c96448e4411a19ce32393fd47ae46311a11675f9360 +DIST firefox-129.0.1-sr.xpi 641682 BLAKE2B 0a4e2407a1cdb527921bf4d76bf2d2b7495ca7cb0ef29aaeef7dcb4588ca5a92b782f786b202e08f85750604ca3efa75210a47ca4d2a5885824d3a92bc51ab83 SHA512 a89fae23ef52b44d88ae17d23458cf07705e17906e8cab955985dd8b6e80ff05539c86141ec495ac44099f25963fdfe40705e483f43299bdf3d2f55f84eeeca4 +DIST firefox-129.0.1-sv-SE.xpi 621422 BLAKE2B 8fcc866c3b2dc29230b78854185350dfbab0a0e977b788e56a86f2307718b3ded9e550e7eaadcf93d0a562068d7613ebed017a99f0ee4a82511979ab3c339d7b SHA512 2635c84bde494f13a8fed0ae461bfa727e671b6f97e243fb88846e30dbe2d4891a1421ecb9e1f152fd111373003b249a25a53f690394f51ba0556ae972d0ccd3 +DIST firefox-129.0.1-szl.xpi 528575 BLAKE2B 3ab91fc172d934e6beaab8cee50aea44a816f3d10d9bde40f1adb9b6d542e4c35fdfcc7bc97aaa279a7c4e3a97dd2ef19c554a7f11ed541ad8d42e20d6ffb732 SHA512 53f980c7a27831151aef24a1b44b24c9e7f03ae119311d0c4fe87ee8980045fd7295258d023b5013e41ea1cea69648e98c0b11f24ab0d05eededec5d5946f00a +DIST firefox-129.0.1-ta.xpi 509681 BLAKE2B bce4f91dc8583dfc1eb2f1e4fbbaaae79a2fc27468f52dd6928eb0ebc2c22c121b63bfdf6f434ba9755d601beee0aed579e6a82044bc013c6f24c3c7b4645eae SHA512 996423a58f5b34b8b5f8a9f96af268734e67b5f94c9dd93071a3e1f9f75b563067494ff2b31905ba2ebf093ec1be87ad36b0628513872c1613577c91637de97f +DIST firefox-129.0.1-te.xpi 563252 BLAKE2B a95d7efaed3d917c5ad1dc429965cfccfdb7c02a169257bd228a47e97d7caf1b83e0e8e5365f5ad6d4a98c46a1185e51719464195f2d79af9fd8e3d6afd979e8 SHA512 6dd2de9e1971e194537af147cdbb9528ce78282923154f371112933f9e4f91029fbfeac74e365445af516602f3e3a8a520c6b6885e07e88c152c7aeefa38559a +DIST firefox-129.0.1-th.xpi 700412 BLAKE2B d2832b0e8610a5eb774186fd3f99e4904107f7c8dbbb62608530a9ac2e0924d07882a29cd346a3cdb67aa67cb1aa9a9e2f260280013126ed131e09cbd4a86d89 SHA512 d9b047bdb56e8c38a18ca0a8cd95d1881177560dfa838867ec0c2822d52296f10cdf090b0d522e11942f52c57816e6c85780a5bedde89430453bff8469b1d3f6 +DIST firefox-129.0.1-tl.xpi 536471 BLAKE2B 520a3a743665621e05606be0de18a6360e167f447fdf83d3271fcd034059188650321ad464fb4cda0f92260c5b25ed9d9dd068c66e744d6e16b63d5ab79849ae SHA512 c8b512d526d22719cde9cca3e9efdf28e0ac810a6c74dc8ef164cb45d95e3a53a44f5671391462e0a19243898c312e0f83064a0e9f317895e3c9ddb3e3945c7e +DIST firefox-129.0.1-tr.xpi 634864 BLAKE2B 8fe509b61b32e57a483e01b39a303a87e6555a3fcce70f6ba19834499e82c5cbcbe1e308257b1d5459e915207940c4c5ab4bdc243a5bfac0e4197933865c43cd SHA512 e7f01acaa34d43cc3a770bab2afa0b3fd76c35041216721871bb72fd317b26df40d88693afcb5921fac5b311095bfb840426c09fdac1c53981054f82cb0ee8c5 +DIST firefox-129.0.1-trs.xpi 506182 BLAKE2B 1031164022990dca404c6ab5199c94c5bc730810c499b0a332ac5e4a1e411b97f7e531958f9b0448ac755d830dddfe7ce093cf97517dc18bbf9ba084a1fd8a10 SHA512 d690bcba7abc1a49c0ab7525e91637737aacb7f548760b7517b7f871179deee254aafcfe658d09ad25d3f8166f1cc8b01caf28de69da453694b7392a6009d597 +DIST firefox-129.0.1-uk.xpi 709787 BLAKE2B c6e06569b6bceb41ddb9da28c722d2a542549d3a227740e73d3a6fdee8bee3519dbb45d854b19d3488a193c59c6f90428ca5f573620c294097c968fd88b6336c SHA512 ac556723aeb270678b1cc5a6ab0f5288a0a25069c3e1f356ea37db0f1b176d28e08febf01b603bbdf81e41b9628069f36aea5deabdd91bbd76ad6531301c17b7 +DIST firefox-129.0.1-ur.xpi 562718 BLAKE2B e3dd2b0bf06e060faea6dab6ba5b89a5f841b946d0637a5603269eb31b39f00352f754acad3609eae4b244d94ec717a3e9b6750ba71fd30508f0cf301b2f3623 SHA512 c18af11fa0a748944131f586770f07820c2da9196bb7abf437dc2ccf8ac2d3877adbc7bd7c53ae09acc461f75f3cd3aad30bf95b2849cf47ba749f0e9deeb0f0 +DIST firefox-129.0.1-uz.xpi 480950 BLAKE2B d4f217f97b1562f3ac371ff0631219659b3dc32851ebbc7960f4645f23b25b341577b53d6731f713f44a95e45954c03edb7c05e1e9087324d8f5b0f4f94b8fe7 SHA512 85a3a2595a3244afb07ec3e4e5b57174d9ba70d0ad3b8c527077d8de2c5fc86ff3d996231b5bdd57793c45e4533bf982391a93b18ac5761fedf6a57be4d9defc +DIST firefox-129.0.1-vi.xpi 658029 BLAKE2B 953ff69fc4a9020458b49c0a016957af071105896f571643352a87afaf52c6a533c4d6e8755a1d2ae36bd29bfaf19d9bb52516b083835ad2cfcb2ca144447cd3 SHA512 58619cc0786203e5c9eaf78ce4ef90093de43fe77c13b0bdaf8c96778c24bec70b8576773d9a6db1fec8cd62bb78f13c5d563029140b50c0b8ba30807217f56e +DIST firefox-129.0.1-xh.xpi 419344 BLAKE2B 882dfe172ee101d73e8f1d4766721ebb9bd9c50ebb2e8a20f395368b9bb170406d8e775e3e3ac754e8d7fa7610f1a2a2114a11b2e22b7c6c7d3633927503a075 SHA512 481c749e6a53a0eff4ff0cefb47d1b5025b3c4e41cc0bcba5a15222343d2adfb1788ad24e38c1f85c6d7827d8a7db6f0b4e103875e19fd8245f59aa753c397fd +DIST firefox-129.0.1-zh-CN.xpi 659746 BLAKE2B 5dae54b24daa3bf7edc91cd5f1c06522a148312f9e9e79926464743dfb6d83ac940b6dc72c0ac7261b79da9b92af0f3b534b12f0c36e2631268e80592691ac8d SHA512 7c621834110cdf41a05c8712f5c3621d77667670d45f0916ab249e4cf64b60db25764161427968bb2ada9aa66d1632b4542c272faa1555166794aa44a973a0d9 +DIST firefox-129.0.1-zh-TW.xpi 661607 BLAKE2B 7b1132f1472ba56fa5ad8b090da4d275dd6aa6e00ad2c26dbac42ae2beac1209cb70d79232dd9aa2991bede17f71967d4bac48064757120f53c473d7b2546a35 SHA512 f7232e3d7995c8eafc3ad260d2207788eba67221383bfa1c8c62641957d884bd9fde4a139ae3349cd74ef6c3d7b8a51847e45164cc6fbc9f9d24b7dbfc236f03 +DIST firefox-129.0.1.source.tar.xz 561709736 BLAKE2B e3c1a3db5a481839c862bef6ace6f977e601fc85f308980f7d0073a3ab04b5ac611ed3edf3fc4b71c09008e0f54009f78b64e64c5d0cb63c86798138031bfee1 SHA512 27c463e8277994c62bab85cf0e2f0cea16a9b272694b61fa56a6b3bd7c70d6481774288386094836a54df54c1b1144d61be67f4f5eac418c05479d452221c027 DIST firefox-129.0.source.tar.xz 568302640 BLAKE2B abd8b0008dfd0948234baf7c307c42051e2f58a9c7ebd07b3b0dec9bdb6d8d78e4e1ae25d552aba8685e8b307dbdeb1360d873fef98ac108671dbbbc53c2a3af SHA512 e406d00dc53c66a1ee6b56e7001efcdd8b323caa3676d66d874d39a99f44ac7cebf4c60d76b5d239ebcf834a75cecabf801a74a1d08a97a66ea5e8ec6c8f7c5b diff --git a/www-client/firefox/files/README.gentoo b/www-client/firefox/files/README.gentoo index a9d724c458b4..56eb1fd88bb0 100644 --- a/www-client/firefox/files/README.gentoo +++ b/www-client/firefox/files/README.gentoo @@ -18,11 +18,3 @@ have switched off the use of this service by default. To re-enable this service set the following in "about:config": app.normandy.enabled=true - -## Firefox >100 compatibility -Unfortunately Firefox-100.0 breaks compatibility with some sites using -useragent checks. To temporarily fix this, enter about:config and modify -network.http.useragent.forceVersion preference to "99" Or install an addon to -change your useragent. -See: https://support.mozilla.org/en-US/kb/difficulties-opening-or-using-website-firefox-100 - diff --git a/www-client/firefox/firefox-129.0.1.ebuild b/www-client/firefox/firefox-129.0.1.ebuild new file mode 100644 index 000000000000..60d216dd53e7 --- /dev/null +++ b/www-client/firefox/firefox-129.0.1.ebuild @@ -0,0 +1,1401 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +FIREFOX_PATCHSET="firefox-129-patches-01.tar.xz" + +LLVM_COMPAT=( 17 18 ) + +PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_REQ_USE="ncurses,sqlite,ssl" + +WANT_AUTOCONF="2.1" + +VIRTUALX_REQUIRED="manual" + +MOZ_ESR= + +MOZ_PV=${PV} +MOZ_PV_SUFFIX= +if [[ ${PV} =~ (_(alpha|beta|rc).*)$ ]] ; then + MOZ_PV_SUFFIX=${BASH_REMATCH[1]} + + # Convert the ebuild version to the upstream Mozilla version + MOZ_PV="${MOZ_PV/_alpha/a}" # Handle alpha for SRC_URI + MOZ_PV="${MOZ_PV/_beta/b}" # Handle beta for SRC_URI + MOZ_PV="${MOZ_PV%%_rc*}" # Handle rc for SRC_URI +fi + +if [[ -n ${MOZ_ESR} ]] ; then + # ESR releases have slightly different version numbers + MOZ_PV="${MOZ_PV}esr" + HOMEPAGE="https://www.mozilla.com/firefox https://www.mozilla.org/firefox/enterprise/" + SLOT="esr" +else + HOMEPAGE="https://www.mozilla.com/firefox" + SLOT="rapid" +fi + +MOZ_PN="${PN%-bin}" +MOZ_P="${MOZ_PN}-${MOZ_PV}" +MOZ_PV_DISTFILES="${MOZ_PV}${MOZ_PV_SUFFIX}" +MOZ_P_DISTFILES="${MOZ_PN}-${MOZ_PV_DISTFILES}" + +inherit autotools check-reqs desktop flag-o-matic gnome2-utils linux-info llvm-r1 multiprocessing \ + optfeature pax-utils python-any-r1 readme.gentoo-r1 toolchain-funcs virtualx xdg + +MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/releases/${MOZ_PV}" + +if [[ ${PV} == *_rc* ]] ; then + MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/candidates/${MOZ_PV}-candidates/build${PV##*_rc}" +fi + +PATCH_URIS=( + https://dev.gentoo.org/~juippis/mozilla/patchsets/${FIREFOX_PATCHSET} +) + +DESCRIPTION="Firefox Web Browser" +SRC_URI="${MOZ_SRC_BASE_URI}/source/${MOZ_P}.source.tar.xz -> ${MOZ_P_DISTFILES}.source.tar.xz + ${PATCH_URIS[@]}" +S="${WORKDIR}/${PN}-${PV%_*}" +LICENSE="MPL-2.0 GPL-2 LGPL-2.1" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +IUSE="+clang cpu_flags_arm_neon dbus debug eme-free hardened hwaccel jack +jumbo-build libproxy lto" +IUSE+=" openh264 pgo pulseaudio sndio selinux +system-av1 +system-harfbuzz +system-icu" +IUSE+=" +system-jpeg +system-libevent +system-libvpx system-png +system-webp +telemetry valgrind" +IUSE+=" wayland wifi +X" + +# Firefox-only IUSE +IUSE+=" +gmp-autoupdate" + +REQUIRED_USE="|| ( X wayland ) + debug? ( !system-av1 ) + pgo? ( lto ) + wayland? ( dbus ) + wifi? ( dbus )" + +FF_ONLY_DEPEND="!www-client/firefox:0 + selinux? ( sec-policy/selinux-mozilla )" +BDEPEND="${PYTHON_DEPS} + $(llvm_gen_dep ' + sys-devel/clang:${LLVM_SLOT} + sys-devel/llvm:${LLVM_SLOT} + clang? ( + sys-devel/lld:${LLVM_SLOT} + virtual/rust:0/llvm-${LLVM_SLOT} + ) + pgo? ( sys-libs/compiler-rt-sanitizers:${LLVM_SLOT}[profile] ) + ') + app-alternatives/awk + app-arch/unzip + app-arch/zip + >=dev-util/cbindgen-0.26.0 + net-libs/nodejs + virtual/pkgconfig + !clang? ( >=virtual/rust-1.76 ) + !elibc_glibc? ( dev-lang/rust ) + amd64? ( >=dev-lang/nasm-2.14 ) + x86? ( >=dev-lang/nasm-2.14 ) + pgo? ( + X? ( + sys-devel/gettext + x11-base/xorg-server[xvfb] + x11-apps/xhost + ) + !X? ( + || ( + gui-wm/tinywl + &2 + return 1 + fi + + if use clang && ! tc-ld-is-mold ; then + if ! has_version -b "sys-devel/lld:${LLVM_SLOT}" ; then + einfo "sys-devel/lld:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 + return 1 + fi + + if ! has_version -b "virtual/rust:0/llvm-${LLVM_SLOT}" ; then + einfo "virtual/rust:0/llvm-${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 + return 1 + fi + + if use pgo ; then + if ! has_version -b "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*[profile]" ; then + einfo "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*[profile] is missing!" >&2 + einfo "Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 + return 1 + fi + fi + fi + + einfo "Using LLVM slot ${LLVM_SLOT} to build" >&2 +} + +MOZ_LANGS=( + af ar ast be bg br ca cak cs cy da de dsb + el en-CA en-GB en-US es-AR es-ES et eu + fi fr fy-NL ga-IE gd gl he hr hsb hu + id is it ja ka kab kk ko lt lv ms nb-NO nl nn-NO + pa-IN pl pt-BR pt-PT rm ro ru + sk sl sq sr sv-SE th tr uk uz vi zh-CN zh-TW +) + +# Firefox-only LANGS +MOZ_LANGS+=( ach ) +MOZ_LANGS+=( an ) +MOZ_LANGS+=( az ) +MOZ_LANGS+=( bn ) +MOZ_LANGS+=( bs ) +MOZ_LANGS+=( ca-valencia ) +MOZ_LANGS+=( eo ) +MOZ_LANGS+=( es-CL ) +MOZ_LANGS+=( es-MX ) +MOZ_LANGS+=( fa ) +MOZ_LANGS+=( ff ) +MOZ_LANGS+=( fur ) +MOZ_LANGS+=( gn ) +MOZ_LANGS+=( gu-IN ) +MOZ_LANGS+=( hi-IN ) +MOZ_LANGS+=( hy-AM ) +MOZ_LANGS+=( ia ) +MOZ_LANGS+=( km ) +MOZ_LANGS+=( kn ) +MOZ_LANGS+=( lij ) +MOZ_LANGS+=( mk ) +MOZ_LANGS+=( mr ) +MOZ_LANGS+=( my ) +MOZ_LANGS+=( ne-NP ) +MOZ_LANGS+=( oc ) +MOZ_LANGS+=( sc ) +MOZ_LANGS+=( sco ) +MOZ_LANGS+=( si ) +MOZ_LANGS+=( skr ) +MOZ_LANGS+=( son ) +MOZ_LANGS+=( szl ) +MOZ_LANGS+=( ta ) +MOZ_LANGS+=( te ) +MOZ_LANGS+=( tl ) +MOZ_LANGS+=( trs ) +MOZ_LANGS+=( ur ) +MOZ_LANGS+=( xh ) + +mozilla_set_globals() { + # https://bugs.gentoo.org/587334 + local MOZ_TOO_REGIONALIZED_FOR_L10N=( + fy-NL ga-IE gu-IN hi-IN hy-AM nb-NO ne-NP nn-NO pa-IN sv-SE + ) + + local lang xflag + for lang in "${MOZ_LANGS[@]}" ; do + # en and en_US are handled internally + if [[ ${lang} == en ]] || [[ ${lang} == en-US ]] ; then + continue + fi + + # strip region subtag if $lang is in the list + if has ${lang} "${MOZ_TOO_REGIONALIZED_FOR_L10N[@]}" ; then + xflag=${lang%%-*} + else + xflag=${lang} + fi + + SRC_URI+=" l10n_${xflag/[_@]/-}? (" + SRC_URI+=" ${MOZ_SRC_BASE_URI}/linux-x86_64/xpi/${lang}.xpi -> ${MOZ_P_DISTFILES}-${lang}.xpi" + SRC_URI+=" )" + IUSE+=" l10n_${xflag/[_@]/-}" + done +} +mozilla_set_globals + +moz_clear_vendor_checksums() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -ne 1 ]] ; then + die "${FUNCNAME} requires exact one argument" + fi + + einfo "Clearing cargo checksums for ${1} ..." + + sed -i \ + -e 's/\("files":{\)[^}]*/\1/' \ + "${S}"/third_party/rust/${1}/.cargo-checksum.json \ + || die +} + +moz_install_xpi() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 2 ]] ; then + die "${FUNCNAME} requires at least two arguments" + fi + + local DESTDIR=${1} + shift + + insinto "${DESTDIR}" + + local emid xpi_file xpi_tmp_dir + for xpi_file in "${@}" ; do + emid= + xpi_tmp_dir=$(mktemp -d --tmpdir="${T}") + + # Unpack XPI + unzip -qq "${xpi_file}" -d "${xpi_tmp_dir}" || die + + # Determine extension ID + if [[ -f "${xpi_tmp_dir}/install.rdf" ]] ; then + emid=$(sed -n -e '/install-manifest/,$ { /em:id/!d; s/.*[\">]\([^\"<>]*\)[\"<].*/\1/; p; q }' "${xpi_tmp_dir}/install.rdf") + [[ -z "${emid}" ]] && die "failed to determine extension id from install.rdf" + elif [[ -f "${xpi_tmp_dir}/manifest.json" ]] ; then + emid=$(sed -n -e 's/.*"id": "\([^"]*\)".*/\1/p' "${xpi_tmp_dir}/manifest.json") + [[ -z "${emid}" ]] && die "failed to determine extension id from manifest.json" + else + die "failed to determine extension id" + fi + + einfo "Installing ${emid}.xpi into ${ED}${DESTDIR} ..." + newins "${xpi_file}" "${emid}.xpi" + done +} + +mozconfig_add_options_ac() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 2 ]] ; then + die "${FUNCNAME} requires at least two arguments" + fi + + local reason=${1} + shift + + local option + for option in ${@} ; do + echo "ac_add_options ${option} # ${reason}" >>${MOZCONFIG} + done +} + +mozconfig_add_options_mk() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 2 ]] ; then + die "${FUNCNAME} requires at least two arguments" + fi + + local reason=${1} + shift + + local option + for option in ${@} ; do + echo "mk_add_options ${option} # ${reason}" >>${MOZCONFIG} + done +} + +mozconfig_use_enable() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 1 ]] ; then + die "${FUNCNAME} requires at least one arguments" + fi + + local flag=$(use_enable "${@}") + mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" "${flag}" +} + +mozconfig_use_with() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 1 ]] ; then + die "${FUNCNAME} requires at least one arguments" + fi + + local flag=$(use_with "${@}") + mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" "${flag}" +} + +# This is a straight copypaste from toolchain-funcs.eclass's 'tc-ld-is-lld', and is temporarily +# placed here until toolchain-funcs.eclass gets an official support for mold linker. +# Please see: +# https://github.com/gentoo/gentoo/pull/28366 || +# https://github.com/gentoo/gentoo/pull/28355 +tc-ld-is-mold() { + local out + + # Ensure ld output is in English. + local -x LC_ALL=C + + # First check the linker directly. + out=$($(tc-getLD "$@") --version 2>&1) + if [[ ${out} == *"mold"* ]] ; then + return 0 + fi + + # Then see if they're selecting mold via compiler flags. + # Note: We're assuming they're using LDFLAGS to hold the + # options and not CFLAGS/CXXFLAGS. + local base="${T}/test-tc-linker" + cat <<-EOF > "${base}.c" + int main() { return 0; } + EOF + out=$($(tc-getCC "$@") ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -Wl,--version "${base}.c" -o "${base}" 2>&1) + rm -f "${base}"* + if [[ ${out} == *"mold"* ]] ; then + return 0 + fi + + # No mold here! + return 1 +} + +virtwl() { + debug-print-function ${FUNCNAME} "$@" + + [[ $# -lt 1 ]] && die "${FUNCNAME} needs at least one argument" + [[ -n $XDG_RUNTIME_DIR ]] || die "${FUNCNAME} needs XDG_RUNTIME_DIR to be set; try xdg_environment_reset" + tinywl -h >/dev/null || die 'tinywl -h failed' + + local VIRTWL VIRTWL_PID + coproc VIRTWL { WLR_BACKENDS=headless exec tinywl -s 'echo $WAYLAND_DISPLAY; read _; kill $PPID'; } + local -x WAYLAND_DISPLAY + read WAYLAND_DISPLAY <&${VIRTWL[0]} + + debug-print "${FUNCNAME}: $@" + "$@" + local r=$? + + [[ -n $VIRTWL_PID ]] || die "tinywl exited unexpectedly" + exec {VIRTWL[0]}<&- {VIRTWL[1]}>&- + return $r +} + +pkg_pretend() { + if [[ ${MERGE_TYPE} != binary ]] ; then + if use pgo ; then + if ! has usersandbox $FEATURES ; then + die "You must enable usersandbox as X server can not run as root!" + fi + fi + + # Ensure we have enough disk space to compile + if use pgo || use lto || use debug ; then + CHECKREQS_DISK_BUILD="13500M" + else + CHECKREQS_DISK_BUILD="6600M" + fi + + check-reqs_pkg_pretend + fi +} + +pkg_setup() { + if [[ ${MERGE_TYPE} != binary ]] ; then + if use pgo ; then + if ! has userpriv ${FEATURES} ; then + eerror "Building ${PN} with USE=pgo and FEATURES=-userpriv is not supported!" + fi + fi + + # Ensure we have enough disk space to compile + if use pgo || use lto || use debug ; then + CHECKREQS_DISK_BUILD="13500M" + else + CHECKREQS_DISK_BUILD="6400M" + fi + + check-reqs_pkg_setup + + llvm-r1_pkg_setup + + if use clang && use lto && tc-ld-is-lld ; then + local version_lld=$(ld.lld --version 2>/dev/null | awk '{ print $2 }') + [[ -n ${version_lld} ]] && version_lld=$(ver_cut 1 "${version_lld}") + [[ -z ${version_lld} ]] && die "Failed to read ld.lld version!" + + local version_llvm_rust=$(rustc -Vv 2>/dev/null | grep -F -- 'LLVM version:' | awk '{ print $3 }') + [[ -n ${version_llvm_rust} ]] && version_llvm_rust=$(ver_cut 1 "${version_llvm_rust}") + [[ -z ${version_llvm_rust} ]] && die "Failed to read used LLVM version from rustc!" + + if ver_test "${version_lld}" -ne "${version_llvm_rust}" ; then + eerror "Rust is using LLVM version ${version_llvm_rust} but ld.lld version belongs to LLVM version ${version_lld}." + eerror "You will be unable to link ${CATEGORY}/${PN}. To proceed you have the following options:" + eerror " - Manually switch rust version using 'eselect rust' to match used LLVM version" + eerror " - Switch to dev-lang/rust[system-llvm] which will guarantee matching version" + eerror " - Build ${CATEGORY}/${PN} without USE=lto" + eerror " - Rebuild lld with llvm that was used to build rust (may need to rebuild the whole " + eerror " llvm/clang/lld/rust chain depending on your @world updates)" + die "LLVM version used by Rust (${version_llvm_rust}) does not match with ld.lld version (${version_lld})!" + fi + fi + + python-any-r1_pkg_setup + + # Avoid PGO profiling problems due to enviroment leakage + # These should *always* be cleaned up anyway + unset \ + DBUS_SESSION_BUS_ADDRESS \ + DISPLAY \ + ORBIT_SOCKETDIR \ + SESSION_MANAGER \ + XAUTHORITY \ + XDG_CACHE_HOME \ + XDG_SESSION_COOKIE + + # Build system is using /proc/self/oom_score_adj, bug #604394 + addpredict /proc/self/oom_score_adj + + if use pgo ; then + # Update 105.0: "/proc/self/oom_score_adj" isn't enough anymore with pgo, but not sure + # whether that's due to better OOM handling by Firefox (bmo#1771712), or portage + # (PORTAGE_SCHEDULING_POLICY) update... + addpredict /proc + + # Clear tons of conditions, since PGO is hardware-dependant. + addpredict /dev + fi + + if ! mountpoint -q /dev/shm ; then + # If /dev/shm is not available, configure is known to fail with + # a traceback report referencing /usr/lib/pythonN.N/multiprocessing/synchronize.py + ewarn "/dev/shm is not mounted -- expect build failures!" + fi + + # Google API keys (see http://www.chromium.org/developers/how-tos/api-keys) + # Note: These are for Gentoo Linux use ONLY. For your own distribution, please + # get your own set of keys. + if [[ -z "${MOZ_API_KEY_GOOGLE+set}" ]] ; then + MOZ_API_KEY_GOOGLE="AIzaSyDEAOvatFogGaPi0eTgsV_ZlEzx0ObmepsMzfAc" + fi + + if [[ -z "${MOZ_API_KEY_LOCATION+set}" ]] ; then + MOZ_API_KEY_LOCATION="AIzaSyB2h2OuRgGaPicUgy5N-5hsZqiPW6sH3n_rptiQ" + fi + + # Mozilla API keys (see https://location.services.mozilla.com/api) + # Note: These are for Gentoo Linux use ONLY. For your own distribution, please + # get your own set of keys. + if [[ -z "${MOZ_API_KEY_MOZILLA+set}" ]] ; then + MOZ_API_KEY_MOZILLA="edb3d487-3a84-46m0ap1e3-9dfd-92b5efaaa005" + fi + + # Ensure we use C locale when building, bug #746215 + export LC_ALL=C + fi + + CONFIG_CHECK="~SECCOMP" + WARNING_SECCOMP="CONFIG_SECCOMP not set! This system will be unable to play DRM-protected content." + linux-info_pkg_setup +} + +src_unpack() { + local _lp_dir="${WORKDIR}/language_packs" + local _src_file + + if [[ ! -d "${_lp_dir}" ]] ; then + mkdir "${_lp_dir}" || die + fi + + for _src_file in ${A} ; do + if [[ ${_src_file} == *.xpi ]]; then + cp "${DISTDIR}/${_src_file}" "${_lp_dir}" || die "Failed to copy '${_src_file}' to '${_lp_dir}'!" + else + unpack ${_src_file} + fi + done +} + +src_prepare() { + if use lto; then + rm -v "${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch || die + fi + + # Workaround for bgo#917599 + if has_version ">=dev-libs/icu-74.1" && use system-icu ; then + eapply "${WORKDIR}"/firefox-patches/*-bmo-1862601-system-icu-74.patch + fi + rm -v "${WORKDIR}"/firefox-patches/*-bmo-1862601-system-icu-74.patch || die + + # Workaround for bgo#915651 on musl + if use elibc_glibc ; then + rm -v "${WORKDIR}"/firefox-patches/*bgo-748849-RUST_TARGET_override.patch || die + fi + + eapply "${WORKDIR}/firefox-patches" + + # Allow user to apply any additional patches without modifing ebuild + eapply_user + + # Make cargo respect MAKEOPTS + export CARGO_BUILD_JOBS="$(makeopts_jobs)" + + # Workaround for bgo#915651 + if ! use elibc_glibc ; then + if use amd64 ; then + export RUST_TARGET="x86_64-unknown-linux-musl" + elif use x86 ; then + export RUST_TARGET="i686-unknown-linux-musl" + elif use arm64 ; then + export RUST_TARGET="aarch64-unknown-linux-musl" + elif use ppc64 ; then + export RUST_TARGET="powerpc64le-unknown-linux-musl" + else + die "Unknown musl chost, please post your rustc -vV along with emerge --info on Gentoo's bug #915651" + fi + fi + + # Make LTO respect MAKEOPTS + sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ + "${S}"/build/moz.configure/lto-pgo.configure || die "Failed sedding multiprocessing.cpu_count" + + # Make ICU respect MAKEOPTS + sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ + "${S}"/intl/icu_sources_data.py || die "Failed sedding multiprocessing.cpu_count" + + # Respect MAKEOPTS all around (maybe some find+sed is better) + sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ + "${S}"/python/mozbuild/mozbuild/base.py || die "Failed sedding multiprocessing.cpu_count" + + sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ + "${S}"/third_party/libwebrtc/build/toolchain/get_cpu_count.py || die "Failed sedding multiprocessing.cpu_count" + + sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ + "${S}"/third_party/libwebrtc/build/toolchain/get_concurrent_links.py || + die "Failed sedding multiprocessing.cpu_count" + + sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ + "${S}"/third_party/python/gyp/pylib/gyp/input.py || die "Failed sedding multiprocessing.cpu_count" + + sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ + "${S}"/python/mozbuild/mozbuild/code_analysis/mach_commands.py || die "Failed sedding multiprocessing.cpu_count" + + # sed-in toolchain prefix + sed -i \ + -e "s/objdump/${CHOST}-objdump/" \ + "${S}"/python/mozbuild/mozbuild/configure/check_debug_ranges.py \ + || die "sed failed to set toolchain prefix" + + sed -i \ + -e 's/ccache_stats = None/return None/' \ + "${S}"/python/mozbuild/mozbuild/controller/building.py \ + || die "sed failed to disable ccache stats call" + + einfo "Removing pre-built binaries ..." + + find "${S}"/third_party -type f \( -name '*.so' -o -name '*.o' \) -print -delete || die + + # Clear checksums from cargo crates we've manually patched. + # moz_clear_vendor_checksums xyz + + # Respect choice for "jumbo-build" + # Changing the value for FILES_PER_UNIFIED_FILE may not work, see #905431 + if [[ -n ${FILES_PER_UNIFIED_FILE} ]] && use jumbo-build; then + local my_files_per_unified_file=${FILES_PER_UNIFIED_FILE:=16} + elog "" + elog "jumbo-build defaults modified to ${my_files_per_unified_file}." + elog "if you get a build failure, try undefining FILES_PER_UNIFIED_FILE," + elog "if that fails try -jumbo-build before opening a bug report." + elog "" + + sed -i -e "s/\"FILES_PER_UNIFIED_FILE\", 16/\"FILES_PER_UNIFIED_FILE\", "${my_files_per_unified_file}"/" \ + python/mozbuild/mozbuild/frontend/data.py || + die "Failed to adjust FILES_PER_UNIFIED_FILE in python/mozbuild/mozbuild/frontend/data.py" + sed -i -e "s/FILES_PER_UNIFIED_FILE = 6/FILES_PER_UNIFIED_FILE = "${my_files_per_unified_file}"/" \ + js/src/moz.build || + die "Failed to adjust FILES_PER_UNIFIED_FILE in js/src/moz.build" + fi + + # Create build dir + BUILD_DIR="${WORKDIR}/${PN}_build" + mkdir -p "${BUILD_DIR}" || die + + # Write API keys to disk + echo -n "${MOZ_API_KEY_GOOGLE//gGaPi/}" > "${S}"/api-google.key || die + echo -n "${MOZ_API_KEY_LOCATION//gGaPi/}" > "${S}"/api-location.key || die + echo -n "${MOZ_API_KEY_MOZILLA//m0ap1/}" > "${S}"/api-mozilla.key || die + + xdg_environment_reset +} + +src_configure() { + # Show flags set at the beginning + einfo "Current BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}" + einfo "Current CFLAGS:\t\t${CFLAGS:-no value set}" + einfo "Current CXXFLAGS:\t\t${CXXFLAGS:-no value set}" + einfo "Current LDFLAGS:\t\t${LDFLAGS:-no value set}" + einfo "Current RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}" + + local have_switched_compiler= + if use clang; then + # Force clang + einfo "Enforcing the use of clang due to USE=clang ..." + + local version_clang=$(clang --version 2>/dev/null | grep -F -- 'clang version' | awk '{ print $3 }') + [[ -n ${version_clang} ]] && version_clang=$(ver_cut 1 "${version_clang}") + [[ -z ${version_clang} ]] && die "Failed to read clang version!" + + if tc-is-gcc; then + have_switched_compiler=yes + fi + + AR=llvm-ar + CC=${CHOST}-clang-${version_clang} + CXX=${CHOST}-clang++-${version_clang} + NM=llvm-nm + RANLIB=llvm-ranlib + elif ! use clang && ! tc-is-gcc ; then + # Force gcc + have_switched_compiler=yes + einfo "Enforcing the use of gcc due to USE=-clang ..." + AR=gcc-ar + CC=${CHOST}-gcc + CXX=${CHOST}-g++ + NM=gcc-nm + RANLIB=gcc-ranlib + fi + + if [[ -n "${have_switched_compiler}" ]] ; then + # Because we switched active compiler we have to ensure + # that no unsupported flags are set + strip-unsupported-flags + fi + + # Ensure we use correct toolchain, + # AS is used in a non-standard way by upstream, #bmo1654031 + export HOST_CC="$(tc-getBUILD_CC)" + export HOST_CXX="$(tc-getBUILD_CXX)" + export AS="$(tc-getCC) -c" + + # Configuration tests expect llvm-readelf output, bug 913130 + READELF="llvm-readelf" + + tc-export CC CXX LD AR AS NM OBJDUMP RANLIB READELF PKG_CONFIG + + # Pass the correct toolchain paths through cbindgen + if tc-is-cross-compiler ; then + export BINDGEN_CFLAGS="${SYSROOT:+--sysroot=${ESYSROOT}} --target=${CHOST} ${BINDGEN_CFLAGS-}" + fi + + # Set MOZILLA_FIVE_HOME + export MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" + + # python/mach/mach/mixin/process.py fails to detect SHELL + export SHELL="${EPREFIX}/bin/bash" + + # Set state path + export MOZBUILD_STATE_PATH="${BUILD_DIR}" + + # Set MOZCONFIG + export MOZCONFIG="${S}/.mozconfig" + + # Initialize MOZCONFIG + mozconfig_add_options_ac '' --enable-application=browser + mozconfig_add_options_ac '' --enable-project=browser + + # Set Gentoo defaults + if use telemetry; then + export MOZILLA_OFFICIAL=1 + fi + + mozconfig_add_options_ac 'Gentoo default' \ + --allow-addon-sideload \ + --disable-cargo-incremental \ + --disable-crashreporter \ + --disable-disk-remnant-avoidance \ + --disable-geckodriver \ + --disable-gpsd \ + --disable-install-strip \ + --disable-legacy-profile-creation \ + --disable-parental-controls \ + --disable-strip \ + --disable-tests \ + --disable-updater \ + --disable-wmf \ + --enable-negotiateauth \ + --enable-new-pass-manager \ + --enable-official-branding \ + --enable-release \ + --enable-system-ffi \ + --enable-system-pixman \ + --enable-system-policies \ + --host="${CBUILD:-${CHOST}}" \ + --libdir="${EPREFIX}/usr/$(get_libdir)" \ + --prefix="${EPREFIX}/usr" \ + --target="${CHOST}" \ + --without-ccache \ + --without-wasm-sandboxed-libraries \ + --with-intl-api \ + --with-libclang-path="$(llvm-config --libdir)" \ + --with-system-nspr \ + --with-system-nss \ + --with-system-zlib \ + --with-toolchain-prefix="${CHOST}-" \ + --with-unsigned-addon-scopes=app,system \ + --x-includes="${ESYSROOT}/usr/include" \ + --x-libraries="${ESYSROOT}/usr/$(get_libdir)" + + # Set update channel + local update_channel=release + [[ -n ${MOZ_ESR} ]] && update_channel=esr + mozconfig_add_options_ac '' --update-channel=${update_channel} + + if ! use x86 ; then + mozconfig_add_options_ac '' --enable-rust-simd + fi + + # For future keywording: This is currently (97.0) only supported on: + # amd64, arm, arm64 & x86. + # Might want to flip the logic around if Firefox is to support more arches. + # bug 833001, bug 903411#c8 + if use ppc64 || use riscv; then + mozconfig_add_options_ac '' --disable-sandbox + elif use valgrind; then + mozconfig_add_options_ac 'valgrind requirement' --disable-sandbox + else + mozconfig_add_options_ac '' --enable-sandbox + fi + + # Enable JIT on riscv64 explicitly + # Can be removed once upstream enable it by default in the future. + use riscv && mozconfig_add_options_ac 'Enable JIT for RISC-V 64' --enable-jit + + if [[ -s "${S}/api-google.key" ]] ; then + local key_origin="Gentoo default" + if [[ $(cat "${S}/api-google.key" | md5sum | awk '{ print $1 }') != 709560c02f94b41f9ad2c49207be6c54 ]] ; then + key_origin="User value" + fi + + mozconfig_add_options_ac "${key_origin}" \ + --with-google-safebrowsing-api-keyfile="${S}/api-google.key" + else + einfo "Building without Google API key ..." + fi + + if [[ -s "${S}/api-location.key" ]] ; then + local key_origin="Gentoo default" + if [[ $(cat "${S}/api-location.key" | md5sum | awk '{ print $1 }') != ffb7895e35dedf832eb1c5d420ac7420 ]] ; then + key_origin="User value" + fi + + mozconfig_add_options_ac "${key_origin}" \ + --with-google-location-service-api-keyfile="${S}/api-location.key" + else + einfo "Building without Location API key ..." + fi + + if [[ -s "${S}/api-mozilla.key" ]] ; then + local key_origin="Gentoo default" + if [[ $(cat "${S}/api-mozilla.key" | md5sum | awk '{ print $1 }') != 3927726e9442a8e8fa0e46ccc39caa27 ]] ; then + key_origin="User value" + fi + + mozconfig_add_options_ac "${key_origin}" \ + --with-mozilla-api-keyfile="${S}/api-mozilla.key" + else + einfo "Building without Mozilla API key ..." + fi + + mozconfig_use_with system-av1 + mozconfig_use_with system-harfbuzz + mozconfig_use_with system-harfbuzz system-graphite2 + mozconfig_use_with system-icu + mozconfig_use_with system-jpeg + mozconfig_use_with system-libevent + mozconfig_use_with system-libvpx + mozconfig_use_with system-png + mozconfig_use_with system-webp + + mozconfig_use_enable dbus + mozconfig_use_enable libproxy + mozconfig_use_enable valgrind + + use eme-free && mozconfig_add_options_ac '+eme-free' --disable-eme + + if use hardened ; then + mozconfig_add_options_ac "+hardened" --enable-hardening + append-ldflags "-Wl,-z,relro -Wl,-z,now" + + # Increase the FORTIFY_SOURCE value, #910071. + sed -i -e '/-D_FORTIFY_SOURCE=/s:2:3:' "${S}"/build/moz.configure/toolchain.configure || die + fi + + local myaudiobackends="" + use jack && myaudiobackends+="jack," + use sndio && myaudiobackends+="sndio," + use pulseaudio && myaudiobackends+="pulseaudio," + ! use pulseaudio && myaudiobackends+="alsa," + + mozconfig_add_options_ac '--enable-audio-backends' --enable-audio-backends="${myaudiobackends::-1}" + + mozconfig_use_enable wifi necko-wifi + + ! use jumbo-build && mozconfig_add_options_ac '--disable-unified-build' --disable-unified-build + + if use X && use wayland ; then + mozconfig_add_options_ac '+x11+wayland' --enable-default-toolkit=cairo-gtk3-x11-wayland + elif ! use X && use wayland ; then + mozconfig_add_options_ac '+wayland' --enable-default-toolkit=cairo-gtk3-wayland-only + else + mozconfig_add_options_ac '+x11' --enable-default-toolkit=cairo-gtk3-x11-only + fi + + # LTO is handled via configure + filter-lto + + if use lto ; then + if use clang ; then + # Upstream only supports lld or mold when using clang. + if tc-ld-is-mold ; then + # mold expects the -flto line from *FLAGS configuration, bgo#923119 + append-ldflags "-flto=thin" + mozconfig_add_options_ac "using ld=mold due to system selection" --enable-linker=mold + else + mozconfig_add_options_ac "forcing ld=lld due to USE=clang and USE=lto" --enable-linker=lld + fi + + mozconfig_add_options_ac '+lto' --enable-lto=cross + + else + # ThinLTO is currently broken, see bmo#1644409. + # mold does not support gcc+lto combination. + mozconfig_add_options_ac '+lto' --enable-lto=full + mozconfig_add_options_ac "linker is set to bfd" --enable-linker=bfd + fi + + if use pgo ; then + mozconfig_add_options_ac '+pgo' MOZ_PGO=1 + + if use clang ; then + # Used in build/pgo/profileserver.py + export LLVM_PROFDATA="llvm-profdata" + fi + fi + else + # Avoid auto-magic on linker + if use clang ; then + # lld is upstream's default + if tc-ld-is-mold ; then + mozconfig_add_options_ac "using ld=mold due to system selection" --enable-linker=mold + else + mozconfig_add_options_ac "forcing ld=lld due to USE=clang" --enable-linker=lld + fi + + else + if tc-ld-is-mold ; then + mozconfig_add_options_ac "using ld=mold due to system selection" --enable-linker=mold + else + mozconfig_add_options_ac "linker is set to bfd due to USE=-clang" --enable-linker=bfd + fi + fi + fi + + mozconfig_use_enable debug + if use debug ; then + mozconfig_add_options_ac '+debug' --disable-optimize + mozconfig_add_options_ac '+debug' --enable-jemalloc + mozconfig_add_options_ac '+debug' --enable-real-time-tracing + else + mozconfig_add_options_ac 'Gentoo defaults' --disable-real-time-tracing + + if is-flag '-g*' ; then + if use clang ; then + mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols=$(get-flag '-g*') + else + mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols + fi + else + mozconfig_add_options_ac 'Gentoo default' --disable-debug-symbols + fi + + if is-flag '-O0' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O0 + elif is-flag '-O4' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O4 + elif is-flag '-O3' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O3 + elif is-flag '-O1' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O1 + elif is-flag '-Os' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-Os + else + mozconfig_add_options_ac "Gentoo default" --enable-optimize=-O2 + fi + fi + + # Debug flag was handled via configure + filter-flags '-g*' + + # Optimization flag was handled via configure + filter-flags '-O*' + + # elf-hack + # Filter "-z,pack-relative-relocs" and let the build system handle it instead. + if use amd64 || use x86 ; then + filter-flags "-z,pack-relative-relocs" + + if tc-ld-is-mold ; then + # relr-elf-hack is currently broken with mold, bgo#916259 + mozconfig_add_options_ac 'disable elf-hack with mold linker' --disable-elf-hack + else + mozconfig_add_options_ac 'relr elf-hack' --enable-elf-hack=relr + fi + elif use ppc64 || use riscv ; then + # '--disable-elf-hack' is not recognized on ppc64/riscv, + # see bgo #917049, #930046 + :; + else + mozconfig_add_options_ac 'disable elf-hack on non-supported arches' --disable-elf-hack + fi + + if ! use elibc_glibc; then + mozconfig_add_options_ac '!elibc_glibc' --disable-jemalloc + fi + + if use valgrind; then + mozconfig_add_options_ac 'valgrind requirement' --disable-jemalloc + fi + + # System-av1 fix + use system-av1 && append-ldflags "-Wl,--undefined-version" + + # Allow elfhack to work in combination with unstripped binaries + # when they would normally be larger than 2GiB. + append-ldflags "-Wl,--compress-debug-sections=zlib" + + # Make revdep-rebuild.sh happy; Also required for musl + append-ldflags -Wl,-rpath="${MOZILLA_FIVE_HOME}",--enable-new-dtags + + # Pass $MAKEOPTS to build system + export MOZ_MAKE_FLAGS="${MAKEOPTS}" + + # Use system's Python environment + export PIP_NETWORK_INSTALL_RESTRICTED_VIRTUALENVS=mach + + export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE="none" + + if ! use telemetry; then + mozconfig_add_options_mk '-telemetry setting' "MOZ_CRASHREPORTER=0" + mozconfig_add_options_mk '-telemetry setting' "MOZ_DATA_REPORTING=0" + mozconfig_add_options_mk '-telemetry setting' "MOZ_SERVICES_HEALTHREPORT=0" + mozconfig_add_options_mk '-telemetry setting' "MOZ_TELEMETRY_REPORTING=0" + fi + + # Disable notification when build system has finished + export MOZ_NOSPAM=1 + + # Portage sets XARGS environment variable to "xargs -r" by default which + # breaks build system's check_prog() function which doesn't support arguments + mozconfig_add_options_ac 'Gentoo default' "XARGS=${EPREFIX}/usr/bin/xargs" + + # Set build dir + mozconfig_add_options_mk 'Gentoo default' "MOZ_OBJDIR=${BUILD_DIR}" + + # Show flags we will use + einfo "Build BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}" + einfo "Build CFLAGS:\t\t${CFLAGS:-no value set}" + einfo "Build CXXFLAGS:\t\t${CXXFLAGS:-no value set}" + einfo "Build LDFLAGS:\t\t${LDFLAGS:-no value set}" + einfo "Build RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}" + + # Handle EXTRA_CONF and show summary + local ac opt hash reason + + # Apply EXTRA_ECONF entries to $MOZCONFIG + if [[ -n ${EXTRA_ECONF} ]] ; then + IFS=\! read -a ac <<<${EXTRA_ECONF// --/\!} + for opt in "${ac[@]}"; do + mozconfig_add_options_ac "EXTRA_ECONF" --${opt#--} + done + fi + + echo + echo "==========================================================" + echo "Building ${PF} with the following configuration" + grep ^ac_add_options "${MOZCONFIG}" | while read ac opt hash reason; do + [[ -z ${hash} || ${hash} == \# ]] \ + || die "error reading mozconfig: ${ac} ${opt} ${hash} ${reason}" + printf " %-30s %s\n" "${opt}" "${reason:-mozilla.org default}" + done + echo "==========================================================" + echo + + if use valgrind; then + sed -i -e 's/--enable-optimize=-O[0-9s]/--enable-optimize="-g -O2"/' .mozconfig || die + fi + + ./mach configure || die +} + +src_compile() { + local virtx_cmd= + + if tc-ld-is-mold && use lto; then + # increase ulimit with mold+lto, bugs #892641, #907485 + if ! ulimit -n 16384 1>/dev/null 2>&1 ; then + ewarn "Unable to modify ulimits - building with mold+lto might fail due to low ulimit -n resources." + ewarn "Please see bugs #892641 & #907485." + else + ulimit -n 16384 + fi + fi + + if use pgo; then + # Reset and cleanup environment variables used by GNOME/XDG + gnome2_environment_reset + + addpredict /root + + if ! use X; then + virtx_cmd=virtwl + else + virtx_cmd=virtx + fi + fi + + if ! use X; then + local -x GDK_BACKEND=wayland + else + local -x GDK_BACKEND=x11 + fi + + ${virtx_cmd} ./mach build --verbose || die +} + +src_install() { + # xpcshell is getting called during install + pax-mark m \ + "${BUILD_DIR}"/dist/bin/xpcshell \ + "${BUILD_DIR}"/dist/bin/${PN} \ + "${BUILD_DIR}"/dist/bin/plugin-container + + DESTDIR="${D}" ./mach install || die + + # Upstream cannot ship symlink but we can (bmo#658850) + rm "${ED}${MOZILLA_FIVE_HOME}/${PN}-bin" || die + dosym ${PN} ${MOZILLA_FIVE_HOME}/${PN}-bin + + # Don't install llvm-symbolizer from sys-devel/llvm package + if [[ -f "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" ]] ; then + rm -v "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" || die + fi + + # Install policy (currently only used to disable application updates) + insinto "${MOZILLA_FIVE_HOME}/distribution" + newins "${FILESDIR}"/distribution.ini distribution.ini + newins "${FILESDIR}"/disable-auto-update.policy.json policies.json + + # Install system-wide preferences + local PREFS_DIR="${MOZILLA_FIVE_HOME}/browser/defaults/preferences" + insinto "${PREFS_DIR}" + newins "${FILESDIR}"/gentoo-default-prefs.js gentoo-prefs.js + + local GENTOO_PREFS="${ED}${PREFS_DIR}/gentoo-prefs.js" + + # Set dictionary path to use system hunspell + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set spellchecker.dictionary_path pref" + pref("spellchecker.dictionary_path", "${EPREFIX}/usr/share/myspell"); + EOF + + # Force hwaccel prefs if USE=hwaccel is enabled + if use hwaccel ; then + cat "${FILESDIR}"/gentoo-hwaccel-prefs.js-r2 \ + >>"${GENTOO_PREFS}" \ + || die "failed to add prefs to force hardware-accelerated rendering to all-gentoo.js" + + if use wayland; then + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set hwaccel wayland prefs" + pref("gfx.x11-egl.force-enabled", false); + EOF + else + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set hwaccel x11 prefs" + pref("gfx.x11-egl.force-enabled", true); + EOF + fi + + # Install the vaapitest binary on supported arches (122.0 supports all platforms, bmo#1865969) + exeinto "${MOZILLA_FIVE_HOME}" + doexe "${BUILD_DIR}"/dist/bin/vaapitest + + # Install the v4l2test on supported arches (+ arm, + riscv64 when keyworded) + if use arm64 ; then + exeinto "${MOZILLA_FIVE_HOME}" + doexe "${BUILD_DIR}"/dist/bin/v4l2test + fi + fi + + if ! use gmp-autoupdate ; then + local plugin + for plugin in "${MOZ_GMP_PLUGIN_LIST[@]}" ; do + einfo "Disabling auto-update for ${plugin} plugin ..." + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to disable autoupdate for ${plugin} media plugin" + pref("media.${plugin}.autoupdate", false); + EOF + done + fi + + # Force the graphite pref if USE=system-harfbuzz is enabled, since the pref cannot disable it + if use system-harfbuzz ; then + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set gfx.font_rendering.graphite.enabled pref" + sticky_pref("gfx.font_rendering.graphite.enabled", true); + EOF + fi + + # Add telemetry config prefs, just in case something happens in future and telemetry build + # options stop working. + if ! use telemetry ; then + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set telemetry prefs" + sticky_pref("toolkit.telemetry.dap_enabled", false); + pref("toolkit.telemetry.dap_helper", ""); + pref("toolkit.telemetry.dap_leader", ""); + EOF + fi + + # Install language packs + local langpacks=( $(find "${WORKDIR}/language_packs" -type f -name '*.xpi') ) + if [[ -n "${langpacks}" ]] ; then + moz_install_xpi "${MOZILLA_FIVE_HOME}/distribution/extensions" "${langpacks[@]}" + fi + + # Install icons + local icon_srcdir="${S}/browser/branding/official" + local icon_symbolic_file="${FILESDIR}/icon/firefox-symbolic.svg" + + insinto /usr/share/icons/hicolor/symbolic/apps + newins "${icon_symbolic_file}" ${PN}-symbolic.svg + + local icon size + for icon in "${icon_srcdir}"/default*.png ; do + size=${icon%.png} + size=${size##*/default} + + if [[ ${size} -eq 48 ]] ; then + newicon "${icon}" ${PN}.png + fi + + newicon -s ${size} "${icon}" ${PN}.png + done + + # Install menu + local app_name="Mozilla ${MOZ_PN^}" + local desktop_file="${FILESDIR}/icon/${PN}-r3.desktop" + local 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 + + # 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 + + 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 search-provider file." + + # Install wrapper script + [[ -f "${ED}/usr/bin/${PN}" ]] && rm "${ED}/usr/bin/${PN}" + newbin "${FILESDIR}/${PN}-r1.sh" ${PN} + + # Update wrapper + sed -i \ + -e "s:@PREFIX@:${EPREFIX}/usr:" \ + -e "s:@MOZ_FIVE_HOME@:${MOZILLA_FIVE_HOME}:" \ + -e "s:@APULSELIB_DIR@:${apulselib}:" \ + -e "s:@DEFAULT_WAYLAND@:${use_wayland}:" \ + "${ED}/usr/bin/${PN}" \ + || die + + readme.gentoo_create_doc +} + +pkg_preinst() { + xdg_pkg_preinst + + # If the apulse libs are available in MOZILLA_FIVE_HOME then apulse + # does not need to be forced into the LD_LIBRARY_PATH + if use pulseaudio && has_version ">=media-sound/apulse-0.1.12-r4" ; then + einfo "APULSE found; Generating library symlinks for sound support ..." + local lib + pushd "${ED}${MOZILLA_FIVE_HOME}" &>/dev/null || die + for lib in ../apulse/libpulse{.so{,.0},-simple.so{,.0}} ; do + # A quickpkg rolled by hand will grab symlinks as part of the package, + # so we need to avoid creating them if they already exist. + if [[ ! -L ${lib##*/} ]] ; then + ln -s "${lib}" ${lib##*/} || die + fi + done + popd &>/dev/null || die + fi +} + +pkg_postinst() { + xdg_pkg_postinst + + if ! use gmp-autoupdate ; then + elog "USE='-gmp-autoupdate' has disabled the following plugins from updating or" + elog "installing into new profiles:" + local plugin + for plugin in "${MOZ_GMP_PLUGIN_LIST[@]}" ; do + elog "\t ${plugin}" + done + elog + fi + + if use pulseaudio && has_version ">=media-sound/apulse-0.1.12-r4" ; then + elog "Apulse was detected at merge time on this system and so it will always be" + elog "used for sound. If you wish to use pulseaudio instead please unmerge" + elog "media-sound/apulse." + elog + fi + + # bug 835078 + if use hwaccel && has_version "x11-drivers/xf86-video-nouveau"; then + ewarn "You have nouveau drivers installed in your system and 'hwaccel' " + ewarn "enabled for Firefox. Nouveau / your GPU might not support the " + ewarn "required EGL, so either disable 'hwaccel' or try the workaround " + ewarn "explained in https://bugs.gentoo.org/835078#c5 if Firefox crashes." + fi + + readme.gentoo_print_elog + + optfeature_header "Optional programs for extra features:" + optfeature "desktop notifications" x11-libs/libnotify + optfeature "fallback mouse cursor theme e.g. on WMs" gnome-base/gsettings-desktop-schemas + optfeature "screencasting with pipewire" sys-apps/xdg-desktop-portal + if use hwaccel && has_version "x11-drivers/nvidia-drivers"; then + optfeature "hardware acceleration with NVIDIA cards" media-libs/nvidia-vaapi-driver + fi + + if ! has_version "sys-libs/glibc"; then + elog + elog "glibc not found! You won't be able to play DRM content." + elog "See Gentoo bug #910309 or upstream bug #1843683." + elog + fi +}