diff options
author | Joonas Niilola <juippis@gentoo.org> | 2024-10-29 12:02:24 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2024-10-29 13:27:37 +0200 |
commit | cef95379ab8792e466d965c27d26a4f095a8feda (patch) | |
tree | 73d8b363bea8baa0a8d2a5997252c69c22f4c1e7 /www-client | |
parent | www-client/firefox-bin: add 132.0 (diff) | |
download | gentoo-cef95379ab8792e466d965c27d26a4f095a8feda.tar.gz gentoo-cef95379ab8792e466d965c27d26a4f095a8feda.tar.bz2 gentoo-cef95379ab8792e466d965c27d26a4f095a8feda.zip |
www-client/firefox: add 132.0
- drop 'append-ldflags "-Wl,--compress-debug-sections=zlib"'
- drop apulse-related messages - apulse[sdk] should be a 1:1 replacement for
pulseaudio,
- drop bunch of upstreamed patches,
- include a patch in an attempt to enhance results when using gcc to build,
- toggle the default 'clang' use flag off.
Closes: https://bugs.gentoo.org/939445
Closes: https://bugs.gentoo.org/941878
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/firefox/Manifest | 102 | ||||
-rw-r--r-- | www-client/firefox/firefox-132.0.ebuild | 1336 |
2 files changed, 1438 insertions, 0 deletions
diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest index 00fa2af63515..162423b721a0 100644 --- a/www-client/firefox/Manifest +++ b/www-client/firefox/Manifest @@ -303,3 +303,105 @@ DIST firefox-131.0.3-xh.xpi 421244 BLAKE2B 7ee9f050ec3914426642969cea98ac20981c8 DIST firefox-131.0.3-zh-CN.xpi 668962 BLAKE2B 5809042234e4bd240f2f0267a0b9c6a965123f686d0a28dfc4d1e6c2ccf9a5c9b3eb149cc210e3f07a742c1f634c1ccc23d6fc9aa17c16a260c10ad58e40e64b SHA512 afed3b2ee042e8d12516f38c11ca99e543f7da71afcb4ab32f263daa4ca4d4bd3735698fda136f23e2b4714c4c8f85c5f4e6c28dc235ec5ce3deef58682d82e7 DIST firefox-131.0.3-zh-TW.xpi 670919 BLAKE2B 5f70437eab66ab2fbe3a20177687cc2cf48e44c5bec2e44a9983504fadeb77464f2091d3a9037d54aa462939cae796d8b9ab4a9332bd65b62c3a6f8b076092d4 SHA512 fbb63c12a58b4d79c59e12ce9f84daf1050e5a0f6b9178e74b58a265a38b522ee147d01182905b42e078a38f230a7ff7f746b46d1ca62eec1b58b68d22aae6f9 DIST firefox-131.0.3.source.tar.xz 568937752 BLAKE2B 1d59bb050c4565c3344e7c1159ebd5bc79f050686abbc408c38493c187e3f1960ab1217113e279b170141a004b3a4797e138200a8a5ada8f5ae93eaa337ad8c3 SHA512 3aa96db839f7a45e34c43b5e7e3333e1100ca11545ad26a8e42987fbc72df5ae7ebebe7dfc8c4e856d2bb4676c0516914a07c001f6047799f314146a3329c0ce +DIST firefox-132-patches-01.tar.xz 13776 BLAKE2B c71734db14d9382fb84f2d1d31fddf89cf9f46e703e8fe03383545df95b984412376de2f5a86c10282535499a5199a3c6aa6f6814c3f08ac877354e5aea802a9 SHA512 f7acdb9b333b0aa7e50c693bda3d98b77d5fae7bd70ba364ac181391e1ffbeb2b3cc4d7d102e4203ea16da84b2e468457e6a87be07587546920f190cf6b76aad +DIST firefox-132.0-ach.xpi 467454 BLAKE2B 51b5861f519e1fa3ee53aeb5bc43201da02ae0746657676dc8e111abd20049841eee8ed8b35b01f5783ebfd382c4073f99db0d99e35ccd1f52f44486ff88be1e SHA512 604f7eee331dd465cf45c7d7d1240c8ce9b4569421c680e4b5e108e53553896614dc289ff11ba74ac6c9beedaa466337f99072a6db2c037606b8a74dad9c1abe +DIST firefox-132.0-af.xpi 420467 BLAKE2B a1995a685318be094deb914f574fedec7c36dd2827db5f4f24b613a74f640c2f9d4089df2519846d2ceb7c7584f11335e29f8668b3daf9d82142d9ca74943c19 SHA512 9fbedfc47d526e7a5e323fd295a1d85ca2f321d7a8c810cd00720ba13bc347f669a12b4140261b0aac34e9ce26726a3585842c00dd043ed4dfb4cfee8ed2e750 +DIST firefox-132.0-an.xpi 509135 BLAKE2B a3f9693b81c7af2e40d499f32fd18635ce2acbec2b076ca5db5137244397750dd7ca30f40b708cdef3faadbdd0e601f6cc05a711a129e8333085f8603e86489f SHA512 cfd09b1b00a0eb67c49a0197466784ea4ea955fac83033d15c57bb642f15cd7f14ccacca04845ffdcd983ac8fddf0721217d2e38792b9ccceb393caf2578461c +DIST firefox-132.0-ar.xpi 632515 BLAKE2B 1708b6447f0af84c9d8b2482796aa861aad1b488ed5191955c21cfe0e9fa636784f7d6b5cb94bbb6eb8eaddaa96155445991ce47722071eb1a8c94679d226994 SHA512 19b9a131a05b3eca757f857a2c5410688fdd560e69f5b5b3c20a0a102aba0478a08d4bb7a8e6b95fa5d9db5015e43b26c9e1785e417e980972c3778fbec24331 +DIST firefox-132.0-ast.xpi 499461 BLAKE2B 40ea1ef46cf07d01a1faeb0db7b7c8a44960d8ea51c74c7ace6fcaa2d72c3c35115245ee61bada969bc10ab73741dfb788fb2e4154b987604947be91e9eb12a0 SHA512 0dedfe7f306fbd65a4834e2316d1096eb3727bd60b56362ad1f49b8a35d4997c4de8b6772ce37b19cf25e6d714903e0395f66af81ac32b6df417454e327c89d9 +DIST firefox-132.0-az.xpi 494141 BLAKE2B f87ca5150e20fa65d8b3752aa68946b94fed6cb3193ec779c4881cdc0b242f2c9bfc7fcc8b26b640184b8299269e86c15c38cd1a55e4c6819d9192c2afd421aa SHA512 d16f6720099f5c2e5e80093b689be8ede3e928dd52bd00d2a4295ee7e75c30eb978423df3090b788c6d9aae19403debcd4ded24f5693e357f7f84920b48848c2 +DIST firefox-132.0-be.xpi 731827 BLAKE2B bc68f4beaa1770fd908002a46b2df5db92275010a07fcf210b80595860acae7541e9eb282b1e5546f593b7900bcb47ad0354af9743e0889c4232240266d15f21 SHA512 efd1deae5a9fda367eb50046627e70216d762134ce908e8fbebca979741bf43aa0e3c7eb687dd281ae21f569abe1f202b9c30af9f3f56f3f7b52ce24937bade5 +DIST firefox-132.0-bg.xpi 647412 BLAKE2B 3dba4c39bd1033d8985551e05e81ac21c5ce2de9090e8db0491c3e3d5d3257b6e63e482ecb03c368224fc91ebe21398641a65b6c81035c608a5dbe64ec0aba47 SHA512 78b2ed99b940ed7085f598637ae8fe0452568f184269a94295455d74d8febd6c07cad2a7b493085b5ae5ff10648f2ad37d3796dad52af3aae07efdc6deb00ee8 +DIST firefox-132.0-bn.xpi 584940 BLAKE2B d9375ea530c03761b9974db2f19fae9949e23502c476e4e4926f43beab54de7efb60a3ce52bc0c6059b23f33d9a18755e85cdf7ef7fd80f660b332c6eda23718 SHA512 9b6514165b721f8d17904d7c47e0c32a30121525ddc85418fef5512e7ace40fd3952a4fbdf8ed6414078e3f0271e227f60aeadc377f9415fef7fb0c420409028 +DIST firefox-132.0-br.xpi 596695 BLAKE2B d6f5fc00d7d6eacaabfcd79bf8f1f0b0405ec6cb5f96c4c81f40ecefa91ff33a23d6f5b255436f930b4c80679a2c950c8ab706ddfd9872c7abe7d20caa89cbf6 SHA512 4a50901c63b26453a3f00d3fa2f3f88c13ee0c6d97c6003728f74c3b99e9e6fea2651935cffe98a7d08b491d74e904fcaad0a64840777ce0b392673be9b8becb +DIST firefox-132.0-bs.xpi 514294 BLAKE2B 0a53d385d6c5306b59a5bf69b6e0a271b5b513ad51b250c621c5bb7d90381584b3e336ce0d5313ce9b8016c88108a0f068877e2c182df9ee06ff629c8c53e244 SHA512 3300f16fbdb55d4b8772366929485644c622f24b90239e941c7fb9e7702aa8d7a66b02bd93332e0adc70134746b7fcf1516875d084ed761cedc2d62a07c4f4bc +DIST firefox-132.0-ca-valencia.xpi 549061 BLAKE2B c992de67bbeda6f11b134740f553f2cb28cfb9ecbabe2977ccf4224b598528f3abc33a3495bc6c4559dd7184595dee94aaae0435dddac6577220b361cec474bb SHA512 ab71c056de31c44f0ace9a2fe55ce3aa7bc01d6a042cd59d5505ad0ee6ef6923b719c35354a343b5e981e370c716fac2668fecb7ee21e9ebedca303c6b9095e9 +DIST firefox-132.0-ca.xpi 600803 BLAKE2B 8a50db8bb762fc28ae5d2c80d1822e22e5c9a0d25a4a96e2637fb48727b1d4d8143e734aec6d8581589378ac822ee1e9d5d149143b533cd78d537e6aadc24ed4 SHA512 d79ff3acc64a392ade8aa920d7a0421a3cf4640b450379c31f6ba50490591277e8ef7331231a358866199ca312c62877d8b8d0ad610ff4b3c66d0767911b96de +DIST firefox-132.0-cak.xpi 596815 BLAKE2B 49bfc9fb0c0cbbe13bc69388a5093efd84ce22a84f1c39888286373768eae9cc8d8fe4492fd214ee97c4eba4615359efae33f121baac2fb729bdfcf98d4b594d SHA512 ea883eb334a62b510d134f01c655dbe806c2eda38b9d2f614c4b26ac1ce493b5e99eab7dada2767f2703e3fdc87c9ef319f27d46ded772886b6d05417cb6ad80 +DIST firefox-132.0-cs.xpi 674917 BLAKE2B c77a371a0dc20d8c17fae955fa45eb83547e6dc24265bed4cee7594933eb3b85d775c6ff06c4bf4457bfa7ab4e6b8adc196e55e241621f1a73fc6591255212f6 SHA512 6f19bc3fe8bdc0f52045936958f36380ca8293c9cbff3443ed0dda92a1824f672323bdaa72a5043b094661cdc0023952a28ca52354905b53a1071802d67893e1 +DIST firefox-132.0-cy.xpi 638613 BLAKE2B 4229155836f7cc7b135345e58c0c9df37c05c6e2946bfe4c9d09fae56e83c4e0782a5931c2bc40150056099c470d90e0c90b700ad00d39e2a2c7faac7f5529ce SHA512 9ba8b9b5b55468955c317572861940c44e03ddf808d5fdb68529561beb8b62e5d364840a3ce466b388d3910db637401922a01034e9055b7f3b5e94eeb94ebb10 +DIST firefox-132.0-da.xpi 625918 BLAKE2B 311655c832b645d3ebe22cd009532b1fbfd124d8d2e016779ea4dd2250e5c6c0eb172b0e3aaa6c57f4fb706568317a728668db557a432d7d2c895ce2d03ac850 SHA512 618ceadf4ccb47f12ed24d4cdc150931cd158f7441f2ec8621461374565c374d54f02ffebccf51faa3891709c0b5cefff5f2a5f9303da3838097755f0b65ddfb +DIST firefox-132.0-de.xpi 647683 BLAKE2B 9e539e5912af00f18f85eac2d832f0fcf75bc045eac7afd0d039217f45510b2f6d03799ba6d3bf235bf3e21202a396412bad13bbbe75f635de154f58b970afba SHA512 500e95298b437a2392de52cd5663be7da7dc2a16e8ddc26571cb9ce1eed3b5d7d16461e20c0247e3483fba54ff4df30cbc84208b0a32c3fd42380359b2375982 +DIST firefox-132.0-dsb.xpi 664807 BLAKE2B a688926a3e58bae28335cde51538a25980c57840ec0ab7a47e151ee27626181e732f03c5b906034c8d39e89f9f299f1b1321476f4a871485b2bb99ac0269fa20 SHA512 5a77538ae08a1bdbf289d72dad1ffe0c267a8cf78d6de8797c8af83b4e29a8a55c902a37f1e683581b5d114271e2dae95e4d958593e0911dfc823e3c6d009ee2 +DIST firefox-132.0-el.xpi 749537 BLAKE2B 106350993f27374e2bb5284b970e3be91eec3bb77bef97c3629bc76e20592590c8dd0bdab81c27b536b23e1578894883e2d3cfb3ae57402cdb5f98561fcc0c58 SHA512 2409bacf43a895e4c29976cf9987a5b26eb76622a21bb99c6f8ac8d78d2d36d48028674342451c13132bdce50b5765ffc769d0c2a4e24cef0af45b26c921d6c7 +DIST firefox-132.0-en-CA.xpi 596275 BLAKE2B 95e4e74a35cf013f141ed84a5032a0677c18a13bbe70a03c5dae650aa26de37fe62b9bbed4fa9332ec93d790c4c05d47796be792362ec71dc8bbfb06b1161e13 SHA512 28f711b9bf049b4ee9f8529c5d5c2c500ec640b17c4184327860220273ac0dbedddfc4377c34c62cc289150d9ff1dc5b5bb9ea6648b554832c662f66353b848d +DIST firefox-132.0-en-GB.xpi 597698 BLAKE2B 299c5fa23b30a063791c48a8bc133f30a11ac9f9eb8b70a04819037e3f2057d38c82fc479c4d3456e2c78bd07a2741313429962ad9624cfda14c8e612b6290e1 SHA512 c9287084006429ee9b4525a3bb28ecb0e377cf050a147e0803022fd93881abe9a35a169aa33fec6775adc66023218cf4eb9a6153ef2fafb5c1a3fbf40509afa7 +DIST firefox-132.0-eo.xpi 629913 BLAKE2B b8cbaac1013e8757e16954cbc2cc1b19cd9ec60a84ab84aa7ea6b75e9d656aad5b68848ebd93508c6adfd023548beb5b117b92b6ab3d0c1ab8d3692b31af9236 SHA512 3f614db50d8f797671212262b52a628c52ca07508048799ce3eaef0330efe3f74a2732bb865701704ae72aa5f9788fb3a9b86adb169ed77635076b8793ab5032 +DIST firefox-132.0-es-AR.xpi 642076 BLAKE2B 4633c71bb6b3b2b9508fa8f5ebf6eb1eb12f6e5193dbc7bfed5cbdb1222bc0eb8e73f4b47c49c1e5ffca342e3dc38b164d847106b0ba7741b799274587508645 SHA512 93072cd09222bbb86aa0771f10560cf23648bb99cd7df641d5a8f235c5f407bb32bf33f7a38d2f9763774cab77ad5f6d039556e842962d9e726ec8d836e7dcf6 +DIST firefox-132.0-es-CL.xpi 641516 BLAKE2B 59da3c7a129f4b592d29e79bc73c85e46bf1fba9a903c5c57e3f3bcc48e4fe9181658a3442ded39b64a0c07456e716b105fbac3ca7933d2c62318b2b1d9f9698 SHA512 b4004a124299afee2bf53bce31973de76b141030c72d2fdc48d14d085e69671464cede6aecdcd1f36ff6425938f0790d7577c6e79b3ad36802e1968879d024e3 +DIST firefox-132.0-es-ES.xpi 636421 BLAKE2B 8ce6f95fd2dec02c5900ebac915be280ab83b718c09923556cd93f07439dc9112d2d936f9061595e7c60a4336ce30eed51b8de289582c3cce8c0e80130bc3097 SHA512 ef9507691382169b63cc9e1c99207a06a456baf8db266cbeb449c0d8d38e74594b9b51f9d96572092e2a09c0119c6d1189c4d20fa9938073c6daf4b5cffd50fb +DIST firefox-132.0-es-MX.xpi 637831 BLAKE2B e4232724fb6b19ebcc36cc6015caee4e7ab84da4af3ae13d27e8bfd960e80280e1d8c3e5ca49af284bedc8538b14c706ebb88aed9e37dc261aeb0bf3997a0891 SHA512 3b8af0565437fe83e8e32c81757b0739eefa2f9833e795d63149cb382e8919f41159db33dd943ded9b5cff3a087a30697098979e754d1f5886f734c9ffc516a3 +DIST firefox-132.0-et.xpi 543095 BLAKE2B 9893a162425adf4b5ec7ac13d62d4b62eb7a723ac46689e6d0f4c5bf3e5573c967e3e763bbf84ea79d6676016ee63e4021aa9795752b7ffcb1a6973f38d98cf3 SHA512 8230f44277ae4166cbe04f49f2e60cf3ddd5a6ee8b8cc444a9a0f9e51c1231bc0b75742e09dc7094f9bbfe35e2f7764d2f9d180d8107f16c2b2b165694ed35e3 +DIST firefox-132.0-eu.xpi 610885 BLAKE2B 854a0ace90249fa437e7f6a15afee20c8759f242bd9baeca96449903c21f13448a5e435ffb8ff99c383d40118968403d28d384b335d6b70998400651adad5709 SHA512 7d16e3c92f5dac7917e3f8c9af69bf390fc94d36f3a87c95a3e5737b2272ba68f10505a7722e68a26c1a9720274e9e707470533bbf8e00f045e8206ec4cb3938 +DIST firefox-132.0-fa.xpi 595840 BLAKE2B 198c331f8b081c9b49e4f7dad7b57c7dae780b78b96c650698c901d3b3cb7b182b95c0585bb54102ed0fa6df9949e114c386a2e020d13ca0cf504205d21ff945 SHA512 cd0798a8ef23ed500a3275320725cea4bef0677d16f57b4d6460fa9a8e7dd16d8c321683ed855c2467edfecd91c66c84daea9de0455ade33e573f1a7c27b8978 +DIST firefox-132.0-ff.xpi 479088 BLAKE2B 526a620f0cef2e0e35ec882361f869940325ab3351ee8df5b30127740b0e741a898a122f314d734a14064e60c2e757dddb0120a5d32d4b8f52a2be2e0637340b SHA512 5fb6246c2a0e6f3232bf4521b7c1918abbed70624d7950a7cc42f733d6378a0afad6a2ee39f4b89c97ae2129c1bb958cf6bb00f1a554b2ddd80c7637ffd074fd +DIST firefox-132.0-fi.xpi 621813 BLAKE2B df5ac5a866c38f84ccbf1e98a09c8acf83f009f45b27af6d6319c27a86ad66c5b99d970f0a2edad0bb3a554489fe7540110f4716f85ceb005a6a79cf81ad783c SHA512 e4b3773737c0e2b15c4c7ca4db1338f2c21284861dd3c9b1e9959a19272fbfad7cc1fd23c0a140960455ab1119a50c8d2ed9122c7dfb15d0606ca5513c19b7df +DIST firefox-132.0-fr.xpi 655070 BLAKE2B 189312f16af0e14dd5ee5fb436bf33c46eb97a8b1adbc0117168aa917e1e5af8c5f9f183be654563001048b8c4e9da0215a9049e34568ad56248c03d5630237a SHA512 ab4ddc26a3b48aebc66788c933e1a411136adc93d29e1bd9507ab2a82411207d0bcef50c8faa5b1367beb78e80eea34c145deda1389347b47b154c88553e178a +DIST firefox-132.0-fur.xpi 643969 BLAKE2B 8e577f9a02bcc0645da96f4133e392c393fa54a1c9e385ae88e0f4249d0321bc9f6ff0886ffaae58b941224b070a723faac8a3b507c947672e1f6703c90b8064 SHA512 7bd548ea6b80e8228313c5554f2029ceca0d3a8fff76eb853c357d970c11d835468a281375c93201d0bb232eec32a1819da07e5327255f8cec652948c08e3bf8 +DIST firefox-132.0-fy-NL.xpi 637370 BLAKE2B 99c053425d8329099cfc2aeb121d079049670b9d09b347d32117c272350a5eeb51407097752ccb8753d9dbcb96d3647a51b1216b44bbe550d84ef8918754b604 SHA512 2a43c79b4a0b60cb3e3842941484ddcca87617a2e74d75876b978166d632b1dfad9987e3c8a365ec8d75f811dfc10da77034e865f07ae68d9ae97254da6d26e5 +DIST firefox-132.0-ga-IE.xpi 474202 BLAKE2B 1ae584f8a308f5a2f8baae3fc180f6640afeeef56a275ab47a074b3f9b54e42eb15441746cae18cbdbea1f580d4729a0792821ebed78edd3ad8acd64ea1c9ac1 SHA512 7843b9a592c0d53686fe1ae5ef2eb69c9e60b4cf1c662bcb0a052d33410b72c741d3eb6756ea23405d4abf0cf8a60dd345cae0116aed7340d55fecdedd6c0217 +DIST firefox-132.0-gd.xpi 600425 BLAKE2B bb0fee733f8096179690094141557369a1749493376ee24df43d5781215042dfce6c54728d4b14fd89ac5dcc2be564f6030b531abc29290965353fac7b90d176 SHA512 72b0ca7dee4edac6201f75e971ddf7b01f664169995c607970568024a237934b6b3c83063267c3ee62f3d0827d0f376f7f8f7fbdfcee99fd6f5fdbbc157f3bc5 +DIST firefox-132.0-gl.xpi 611973 BLAKE2B eeae260832dfa1337d6cc0cc5baa41fa19afa0b5e2a0977eee3cd78157340f57157763a50d9a4d4b577a3a956d28b36877e141acb2e7f65191985a987db0d8df SHA512 e567511c12390015121fceb6aa9fe97400ae44578834eaf8f4ebf724507f8846db4110e3d13078229fe1a23f0bc28b115d1a1c3b7cb58c60416e474ace82653a +DIST firefox-132.0-gn.xpi 650533 BLAKE2B c73f1bd132bc7a1e582db6eb940d068031842addf960a17bbedcb7c8bb78a0608dc33cb6f4b119f89c2945413fbea89cdedd361e4bc2d0de45bf5af39e58ba21 SHA512 3b740398cd617ecdc04949766f6d69cb931b8ba455b6bebf2147bcb5b1f0f848e9de922d3f3538525b28968d81b062b4aa3bdc5cf635b8b13c3699de26727b52 +DIST firefox-132.0-gu-IN.xpi 530690 BLAKE2B dd42fff42f6f95f950139ed1ec36707f3f9bc5edba7efa05934d41dc200e9e2d1124706bae1d7ef632c3c5d16a69a6e72e31993a0bf24544930a88684354005c SHA512 1b0593a9882f6d4200c7f1ed84e6059f780b7f22cbeb2e5d0b52045b1c43ac9aec44f4322c69d7ebff6c50cc4df910b9c15347f2489c8a821514abbe6b2b109f +DIST firefox-132.0-he.xpi 644445 BLAKE2B dfaf758c4d06b46678a7d711572f9f256c2cfabf97bfb85cee00495d6dd91583d6c547108268e512b462e957f8b3f5adac042ccdb059938be6e5d4d05089b889 SHA512 9b7c80852793f67b472c323854e883922a3d52c4ca96826169383a90a55e971b7b19f1f3542ef7749ac8129a50a9d46e18b2415e4b993688727bf5642cb80c0e +DIST firefox-132.0-hi-IN.xpi 569995 BLAKE2B 0114228b40b8e18c0422ad2b6873dddee03919f4bc5986ebf1765bda7f521255355198d776fbd3cb2b244dbb398711ab52816a1babd88e3638c58e7edcef97c2 SHA512 f34046734f21ef8d2dcaba851d072ba6cc282217644e3f9c567c06449dd4beffa9b63c6987398ccf3566e582c443e75b50de49cfdd51446627c77c306685ca18 +DIST firefox-132.0-hr.xpi 620638 BLAKE2B cf18b744ef90e3a2d7f6cb6699ac264c9f742b214f3dc7d56c4e7056dd0fc1ec085d2588b7a2ba604bbe7aebe55fbb204d186da2fab05c5697fbebc05753ea3c SHA512 94492d42e2516393f376f0c5785d590bd3bfabd851a92770ef759e3ada83115c1746591e2676cec996c3fc3a6938a9dadd8e2584b0bd55b90ee0ff3d5b0dd872 +DIST firefox-132.0-hsb.xpi 661296 BLAKE2B 74b68a65daddceae77aa51e549e55822dc0ada6fd3195760323db6e6639bef56c4c23059c672553b97264e41b78d1a5df445776402ba50ca3c7237aff099f364 SHA512 86db23b87b15f5fe98dae673e7d472efdea0a219367ced12f1b35ec32c32368081d01c6ae3db57b43986af14a9e1447c4355b85d67cd832f65213ee4d7388ba7 +DIST firefox-132.0-hu.xpi 665360 BLAKE2B e427bf2b74aea21914f0296ed4a168730ec23362f50ec3d59dbd220339f0692a123385eac8b1ea426efb5277b33328468f45a0635101ee8ccb24c9915d508603 SHA512 94a324f117ffb385f99aebb1c324252eeac2ace032956979dbd83e43866cc461ce953ea3b6c4897bf2e8a72e902e3e2f91f20729d7a7f6868b119552396622cd +DIST firefox-132.0-hy-AM.xpi 654904 BLAKE2B 9cf76f61f1bc70453531d5434f4aca6245787e33a7c62b694a11736f0643b48842c3452202296afbd15b434ee2c02ae056d57022b2dd2a13a8e21a76b53b0af7 SHA512 7c6325448f3bf32457e94b6892777a01ea14fafac18211181247b4b75780fc29846ce01cd4a555adf064f5b673e3f8c2f4d85c95f2d0aaad161ac9c938f5dfa8 +DIST firefox-132.0-ia.xpi 624981 BLAKE2B c0128dbbb0dd11bf36b83b3ef2fbd7d069a09e6928d844a32f7a9085f1bddf55a50ba3c46a13eeff2892e351db221c565e357735822c2ea18da320227b6677a0 SHA512 e5b9d793dfa7c520cfc74c3777008f2eccbae8e8b382c975e85cb70a374ee7207d413d198a8b7648a26e69e21c972e63151b76f61c36d9e826d426cfa8e37b0a +DIST firefox-132.0-id.xpi 588672 BLAKE2B d48e84b6445828758fe098505b1e7b2e9d3229891fe92a03c40f01057b8958f378ccc403de088168ead200a58eb3b53c3e5380606e83e35bc90cdf73b941bec7 SHA512 a7d0274e7b914e2032374a10d0430761c69b713cf2f416b4ae75eabb8193ba0e65b93519ffaa2a58504a7e1d3bcdb8b3b7ab07bf091e0de4db977f4ed2d67f68 +DIST firefox-132.0-is.xpi 630390 BLAKE2B 5fa99abd493dbd2a9d85045d079a0d8ce958d053065e9612329da1a23c2aa3969329a40f5af3e3e645dbd2dead7b8cedce75aa1ac4c8fd1df59fc264182c84d3 SHA512 2ec4e4aa7ef4ba972c2b5c8052805229e9a64db7cf5689c5875349bca6e7f0a00ec4d02f458d4060f5a94de00e8470b2dbc48e365d0d18f00b75415c538fc1ec +DIST firefox-132.0-it.xpi 581358 BLAKE2B e033efecdf4d8ee4ff22050bc00b8b67661011580bf87a8dc8e1b43a33bdb618bb6c3bb3757c0970eb21a7982685c886cfa7b56cb5cfaf0d81bb33781535b37a SHA512 be2b55c07d85b85dfec792cd55b85bcd1f042c0c63fe9e7a9b400c122860a80b03b5db527db31c8b95364028a1cf848d12ce0446fcc49967946e6ce938958677 +DIST firefox-132.0-ja.xpi 690332 BLAKE2B f90d10c31b70308e04e0354e23d64267698a5fccc160f8edda2ce80a5036411e506b429fb550498c5aa5d35a84d4fe273273cd6a7a3e298ac72dbe411f33728a SHA512 04a1345dd5bcfb092806e6e5a74f4c7fdb7aab9bc38c635580419fad24e87fc8ec48acdd42d8f951a98c2bcf10884b119d3aad712d4c4f1cae99fbf19d8687b6 +DIST firefox-132.0-ka.xpi 664796 BLAKE2B efc352a201bef4fe31e34cea6632c783c7b5f59109ef77bac66b53ecf714a7b85fc7d99701825cd0a108b684dd3234e39eded883ac81565697df6dfee4ce54af SHA512 0f17faca3a5720ae252c12e22a2496a3d715564dd0603c1aca55f99e318f53589e82a1549242b900cef1c1f60c3aedaaba47fcefc778ce35eafa99ad6ab1af1e +DIST firefox-132.0-kab.xpi 619841 BLAKE2B 7a9a56c7ebebfce98ac0c6bfb6ecd03895ec10b51fd266f8fe9ce106bd1150c5d8d6b00b0e33ecae7acf7fe24e6cff9ee5e8a93cebd69f6e9b4987a87051a478 SHA512 65c0c02faeb002afe4636cb601fd152066acc66369dc09e02f3efe8b7f107d51f1e399fa7859be8d9c80cf5b629fd21d9e8722e043912ad1978e07db1df78b7d +DIST firefox-132.0-kk.xpi 722545 BLAKE2B da7363086f340c522156185507a32a79255f2613299bf3723af34b1fcd8d4456422a4e01857f7132714563031790b24e0ddd3ca578ec1d6b583ceb18acdb2411 SHA512 e8d6fb80d3189acf9f678127c4490121b2d80da037ad978687bd3b4139d83809d2004d5bc5156c2087dd707b59e4d12873a3d9107fead5cb0686e946e408c247 +DIST firefox-132.0-km.xpi 529187 BLAKE2B e1ede197dcee04a243b2e2b6a65c95959d3980c5a791b6cab652d5b653cf91bb019904724b61f62512d66a2df4af32f220ca3b66676878fc8ab394571776053d SHA512 b062e24dde1e493a98e3fee334ec8213af6c1fd673e229519fafb4570769fc19c8ac8db251cb0ade63e4aae96e130f33d385a9266addea805fac8b9be164417b +DIST firefox-132.0-kn.xpi 494183 BLAKE2B 7fea3febe4853523b67e287e836ef48c3ee6345c15b759ec5e315c7be4b12e3db623a63e0d956504ddb4115a196e2c746a1a77f653fae995b35dfd058aca1315 SHA512 2407bd449a9e756e189efba20d7e5140e9e7cbbd4abc9ece05dbc61a05ffa1312c4646ba804e23df562beeeff698ed1b15630e62652826a4d5150401ddffbf46 +DIST firefox-132.0-ko.xpi 676224 BLAKE2B 718e4ae61fe7b43f79d4f4bccffa0825784a46ed4d9cd92e2efa4bd04139025e52e5d006ce7841ecc762857d2294239a8518a67e93d5837008e4e1fa20c9ae4f SHA512 40e9aa701d308bdcf38fbafb3c07b217a7b2a07903ac5428cd9bf30e1f04a858f332158cd8a658304b86150aa161445d81ea74eb5538ce2648feb819c4df7acb +DIST firefox-132.0-lij.xpi 487477 BLAKE2B 4cdc426d162e648993f254e5fa69c2daf555b89287d5f0abc7c0a2fe0bac76058f9352475e2c949380a1b55a881e42cfb80da931cd840d0dcbd63e8cb78f057c SHA512 116f4f37be3de33889cc43afa21e3e25f584235c35c9e91ba07967d06d1ef6c95fdbd9163b443d4ab42402d9d6e19b9ac639975b734a62bef1fc33f37c3ecd84 +DIST firefox-132.0-lt.xpi 576218 BLAKE2B 08a2c685d6b1e7ffe2698c5b4b58202b49984fed6b6f6adcbde3ccb3299f7042dc2f427586ade15c2501f1006c25d11f42e65050d8819f2dcea68e28718fc0d3 SHA512 e0e8bda8db3a141d38af1693316ca993d5104e832d2f3ef4eae562599fb778d497d259c71c11d95b9f7bcdeef4a005788a8c70c1b0b7affe7b9f68525b6e0a55 +DIST firefox-132.0-lv.xpi 589512 BLAKE2B 7764f24827fbfaeeb69b193a494cf53f28fe20c9635cf1fde2298271b13055a89372e5a350ff18c201e24eed415d31477157e97f0591414c409583ada369ba5d SHA512 e971c4ad86ed23997c32384926fe2dad44a4e25a543372b593b3d80970f33401b9a12d820775dab3900ac6aed9a72b85053e4ac9bc15d157aa1b877a8d0cc9b4 +DIST firefox-132.0-mk.xpi 496804 BLAKE2B c4fdf052b51d6529531efaeec298762f0f410b6642c9d4ec738ac2b462eda2613b040e71466f77ae265208ddfa57b80d91b235798e96e609295b0a1f286ded10 SHA512 85423ec2f69a3ba012baea67f77f89593e4936f1b25e32aeb303a7e7eea36baccc99a51f279f82e77e67bbb0c7647cdc04adc7fd08ac922d11eafa92d42d961d +DIST firefox-132.0-mr.xpi 535306 BLAKE2B 5cd403d244b00052a75afae328e56523ad906e7ff55f503859cf0625464fcdb28b31c517e3d7bd3efa254961dfccc4bd20bbb8824f7c12f142da0fbbb8e51ff9 SHA512 752850108fd02baae0584261f88171a9d397bc891e5a87a7efe8c10882934253a62f6a39feb9a93044b4c102cc0abd88ecabaa0b36a45bec51396989f644fbdc +DIST firefox-132.0-ms.xpi 453077 BLAKE2B eddf2ae78fa2d746f7daf30a8efdb52e0bc3f8d071b2a36c5bfca775f2c8f5687fdf0d46a67ea8ba775ff556718d5b89dbf5a6c6605b36b057efb243b51b822a SHA512 cf17dee84d5eba0e0f34a0aa2e29e6036626546e9d2dd215fffa4092e58be6d1a67005ac2d04bdb7c95e00d0443fcedaf1cf63da6729a359fe76b681057bf20e +DIST firefox-132.0-my.xpi 521661 BLAKE2B 6d6eced5ceefa869d0a6105a05f8f5672686ad44a51cfde7718e381176751291148f34b9bd012c2a58877b8b61e7d6d0f7eb48f17d31c68c05201d4a72bbe9c1 SHA512 d901cc95452fc97cb951bc9173f152b68132e23b262b516207f4c0876d02ffe2ed4b0ccf7ae8a1658f317b40839d0c19fe41d4f3d760f242b5f569bf109698b8 +DIST firefox-132.0-nb-NO.xpi 618371 BLAKE2B 35bc05556a35734f8f76f6f1e121b06bc2187cefc9cd2ed1fe2d658f730e88e24b5234a0e0721c54313814a75efa7debe3bc5112576b654e49345817be724c62 SHA512 e724692b1b69dd2c135b5c5d061d6e1e5be82dcdee8a873612d7a3cbc62f3802e84591296997b204e0165e5702281354c4ec88354e90cbe679d381bb9f8859f5 +DIST firefox-132.0-ne-NP.xpi 524104 BLAKE2B 32c5e4ce3cccf70828d4d2d22386ce2c57d285309cadef5e34db9c7a563564c1078807e937015184a6245f0963943496f6687e6904d7effb5a9be70e625a11c1 SHA512 a273cd019c0d1ba1fe061cdb49ed24dab22b9515623542f5d5d88fb24ece483771f5f25a54fd6f357875d87c80194205ef15fd5dd7780fa76ff685b1bd6b3584 +DIST firefox-132.0-nl.xpi 631099 BLAKE2B 98623342ced264895f23e294ae497fd609b410992b3e209e869de8e131b5adabfd63c61ea832373c6340b6a6a9e93462a4faeaa2452684caa3b69762a011c72a SHA512 c850357362915eef1056d058b81e0eb82e35713b8a3bc6393e68be22d110afdbf0924f275010308b1240d457df783689d6d6779d23812dd3a255130767e0a8bd +DIST firefox-132.0-nn-NO.xpi 622860 BLAKE2B 9e77c7dfd8572eaebb667861e94ffd3e34a7d187974a8f2b6d9d4d42a85dd0379202088dec6790f8cfbb7d6ab6b13ef0db49de6b8f673b4a0c5952cc6b3cb475 SHA512 c92abe313e5fe48a443b8c854fc34f940eb8a7a26e83e6383124bd31113edd3811fe0aedd1454006d8910e2fd26d25f479f02e6a1a5b35f53817f061b18c00b1 +DIST firefox-132.0-oc.xpi 617973 BLAKE2B 5a4d9c86e1ee330ae2c00d7ea2cccaa830defa9fd6dfe631f6c8cfff2f4555a6814ec96bacaeda7433dff7b4e623453d5461a0e659f1e7b3357d55fa1461a264 SHA512 57f828281be6fd090687c98cc2ba9ef424655901b5251b3dc4b0ab38a62c818c05b65c3fd4530964c444d89fbce0b4821e7ac0662bf06262ce7563c23cd2836a +DIST firefox-132.0-pa-IN.xpi 708933 BLAKE2B dd0c6333981b97b84a5e808ec5c78bdb0782610768acec1c50b073f505b023f0e16962e4b94bd752add453ebe64e750bfe58cd6e64be5d8073239116fa721dfe SHA512 8a83504454a978fc643bec40bed3c15db2d7c0c95233969ca95dd7830072620643853ff4d5280fa9492e26e6240e2f962ff077fd5b166bdec654f03e4541702a +DIST firefox-132.0-pl.xpi 649860 BLAKE2B e2cf1caa3877467d1b5b716ba5816b3b43968398d172475f28f0a9aa5b624f7deb7b6f0915e019fc7d4312c1dba19180d244bf3687fad315b4816214e1697df2 SHA512 1420abc9cde778dca16afefab27c2c7bbad7d9e3d990982b31b6bf55f0136e878a6dd90cf8edbf2e1647750ae4d230f23651e03f10aa31c188091f5ebbd74003 +DIST firefox-132.0-pt-BR.xpi 635394 BLAKE2B 3a06cd38ac183d75434f04ca99407fef825f8eaa78e0b873079225790eecddf967ef8e1dc7bda68e6ea1481fd83dfcf6f07f17ef0130e481ee5ef6a61c73ed88 SHA512 34adf852f0d570997a55eb1535e4a813e24932681a98d268a76a66808efa0fd6a5b092648988382681c74f7bc1b22e42c68b16e2ac70656ea6c7ba22c4925c2d +DIST firefox-132.0-pt-PT.xpi 642108 BLAKE2B f3d517c18e8b0281ff5934e61f030b0acecfa3b80f86dd6bc93c02604d6f78442532c303c795763ff83280c586edbd10c98f9dc83639f377ae2cd7ea8d673234 SHA512 a240c4c767dab234bee9d33bf83b8ba75b7d775db6448910ed4b3eed624ababdea3250f8b7023dbb36c75d2f27803dc751c24b8d6096b9771f1c716d8edc734e +DIST firefox-132.0-rm.xpi 631887 BLAKE2B dca66e3a4fde74c1c97eabfd2a46989b1ab31b298a3fbb9e1e0e6eaaacc72b363bb0fb6395b7a0977634de472913582f8b7e8dd7dafde2854b0c2190d20c201a SHA512 4cddb688dd92a55bd9f1c02cc0e1347e5f1b77a45c70d28154814b5b01c7a9af14e18dd4dc4ba1c05e2d0e02d8f69ddc41ba2ce0c0fbf6a915c21f5155f9b9ec +DIST firefox-132.0-ro.xpi 553309 BLAKE2B ed949b72c8e8a99ffebca1dec86b6042b6ecd5f5409db7740cb6ca9d7f1627cc6557f1173ec4f60a8ec88ab9af9c2585c35b2f3aee47822acbcf7944d6680f4a SHA512 e050e4696cdef79c7bf2db5b6e6d38670413d59319c6bb1336cae3eddf2ae560c8dd2ccbcc0ef19ac5050c9735f62f883dc934a52db7bfa670d957437824e09a +DIST firefox-132.0-ru.xpi 736657 BLAKE2B 5c6e50199c7413b891a0797ff69d0ef416250424ceacdff3b7d61a585c01ec5959f58718b672e9281e56e2d30877275819df76019d8f793eadaf28ca769d8a9f SHA512 556f2f5a6f16152eccfec91824fdfbea4636c1db4acca61b1633ec7a77457aaa0a5d3dad12e6031fa3e8ce47861a7661de12599011df53d65f264e5d98734bdf +DIST firefox-132.0-sc.xpi 593038 BLAKE2B c9ca9ff113a6b9d46fb630391f0d547a273ebce0df3e884b085b0d9c210822425d36df0bbac3cadc8597d37bf41e5869bde61b75d414c30065c2308a21cbd670 SHA512 628c2db28dd80ef8bf21e68396ddb6d62fbe53e8d4e30d1a1666c4ded2d7558cd5132e6c8318d59a56e9d34a6c2be3ef8e02f88defade8211ee7f4b85ae71ca6 +DIST firefox-132.0-sco.xpi 514611 BLAKE2B 1d184fb94af8dec58885488799c9fad135e0f4a637655e4422a4ac1e3518d2d1ce52574fc3ab39c0427a951292c30fc03f740646ea318e88885f8387260045e0 SHA512 0427d47dee0b0bcc01aec1fc8ef0e34dabc9b9c18b2fc41094f9e317eb93651d3b7295b1452d98dd767efb534021a770b5397a15c1045c77d8c158bb574e69e6 +DIST firefox-132.0-si.xpi 619319 BLAKE2B 953b664981165efa949456d1e3f7fddffd06d8ab871eab315a28c5065f656d2f119eefa13898120ef4ed97d7cbb7dac09dd483875444144f5fdcb825475f2b3d SHA512 0800219b22d052f040de4e415c6acf9696aba4bea5f887f2f49fe2d46bf513eee0e75713b5a4e90a18b230931c467665b305b430b0122139dfc06b31db0ab717 +DIST firefox-132.0-sk.xpi 667608 BLAKE2B d3625eb22d6ed72c96b883ba09fc0030d7b15b3a7ea7f637da21f24a262cb61d7c529fde107d46c58eb5f4d2e1e05c594098024a24c5ec73bb02205edb2707f5 SHA512 b8aec4667337f7c40bf3ab942f8559d166911c3f63764d90feec62a5dcddffa14b081141084838b0f3ce50537f00456cb4e1a9968b0cf0382ee7761d74449ca9 +DIST firefox-132.0-skr.xpi 723873 BLAKE2B eae2a19a2a35c2c699c9ecb1ff4d8a8cd13ec6f04a5b6a8ffde73deb4bf186ee74fa3a838b0f656f47b5dcd1f153eea58f5eca813a013525fd04ae14e58a7a48 SHA512 2d45c305f3ba0aa240861d0dfb336eb7ebf3369098b5b3b598e198c659d491006443603ed88927d449927375e097b81552a63f49085677368b0f03d29ac9da28 +DIST firefox-132.0-sl.xpi 635186 BLAKE2B e81dacba1522818dbfe6211738e54d58806144690df0ac65e95f6d14884c16e4c1fbae06f708a2ec0f9cef11e41b015acafc1896201438234a403767c7c3778e SHA512 e3de3067c00422a9ae5f92be8e23c809d752417899dd1fc695a6414c25137f97314d086ef8e501b88601ddf647375f5523f64e47e98cdf2560580f000cb24769 +DIST firefox-132.0-son.xpi 419513 BLAKE2B 38805cfdd532a26bd038ffa5d4814b145acb5412e10b7984b80a05ba106e46bf3ba8f5b29c56896b3c2e29f297fbd9d7cf49370513c146a2d2fbb440e6ce2d08 SHA512 2729d59ce38f7028a311cf6a679d4a5dd292e3e88dff2fdec26510828faada163599e1e9580ae3603ffe867ddf85a871882345499aaf670d9311f5892134b249 +DIST firefox-132.0-sq.xpi 650705 BLAKE2B 8e9e3c12ca46bcbe0a94b6b56e26118518775d7ad3bdfd3b0be96f12c1e934b9add90da9826524ee227d7100b461e9311039ed5b6dfc61915f5a531892066f5a SHA512 bbdd46d4ba9be9839e825c26ecbc0955d339fe55d3656724c88076f904e72636d86e500c0c1aac3b0b94737bde2636712df311cac5018912af16f70b7584bccd +DIST firefox-132.0-sr.xpi 643280 BLAKE2B e7f644c1e2e63ca406b279b2a1bc7c55aff7a781339a2f59119f310d366b1db2bb22980ccecb7f46fc60dc15a46314057370cb3d7f5827d0b2875e0e4bb5f5a7 SHA512 c2638839485de10e95a3ba9527ae58d98038a3ca05eea1b3301641345eea737afc4f457783974f1c34e62fb3ed56b48bc9dd01934eeadeaaede9ca29bdda5907 +DIST firefox-132.0-sv-SE.xpi 632935 BLAKE2B b3a8b5025bc335708f6f6d3f9cf34f6b3fa953465ba9db76aad7ef58e0c6801429284cd97dea8b4306d9ed3ce82b750cac3ce258c38481aa6618aaee450d1043 SHA512 95b1246d043a5e0da5b8750a86299b4cbcd6ee00f91c26a05a8fa6be1ee80ee37724c14647f7cb8949512646a8f4fce547a05e0a8198ce9f91453a94d01af761 +DIST firefox-132.0-szl.xpi 529743 BLAKE2B 6bc5d2f7a8066a1c0375dec62466bdc7f968d1643af3b71974e14a51eb7b21988ae00401e0202a1844549a4ccbbeb3760187ae3cce94cb1b64146d17b992f390 SHA512 e574a2a56207ecec172aaf989eb27dfa61231bf844171e657a5c12296f73e4d9fd07a61940bf5f132239a325aeaeb9500833a7c8c0c0bcd7150f897148a44ea9 +DIST firefox-132.0-ta.xpi 510480 BLAKE2B d78cf61f7ec270f48d2cc24a96eaaa21b9e7edd0ff334c1562973ec64f6f765b1d81874e1484e544ad235f0090777ddda9d4ff9b44f434f975ae536a73d05dd3 SHA512 c6c4b86c219af9b54b93a951a41c16f38a38a13f9d73fb9c73c8f6e68b194d284fa5cda165827f3c19ed3ae58b0e8faa85d5fc565d7add002b990f926ed99a3f +DIST firefox-132.0-te.xpi 567121 BLAKE2B 8668859fcc075824b0f4204457ee4798101d464a876aa81ad8783fa7fe6a91a6b4cfd94b3b2d819584dbdfc0c8ce9f2cc4a08a0d21f072be251bd33a2f37a6d6 SHA512 66e163bbf05dd2b73f99fdb0dd37d0e19eea69e44b55dd963385c1a3151e4c4979edc99dddc98373c70b332effaa017410f54666e135bb89dfdc7b6f91a1dad2 +DIST firefox-132.0-th.xpi 712983 BLAKE2B 29feaa87a9a09d4bc22d1349cada041bac8fc23e5f5ec47741a37493f421dffc6318a5a63c68de62a21dd68f77096fde4487ca0d23bf15be94398082e5f1b31e SHA512 6774c807b1ba8118b4e96a7799cca2f71a2c415e4efbdd1b6461a505cbb6e80ca3b093cd432e780f581ae1498db10e6c1c175fdbb6cddedd423a0844ef9b2d65 +DIST firefox-132.0-tl.xpi 537608 BLAKE2B b5150b3d58883a99aeef4691cca38110cedad6d0ce8ae889ece7050557d0af38c7dfe3486a9cd3bd018b013befb62980911eb49bf8537410d07eb49dc19530fd SHA512 6713f3095652aa01e8619fafbdf0de5937fb1d3dbbc265f8fc1fbdd47b09329a40ed5064e6e63fd65b945109d0a93fb3e216738330ec3800ec9820c84fab9a68 +DIST firefox-132.0-tr.xpi 646978 BLAKE2B c08e56f211cc0481a4e85dbbd4aec0ada421fe27adf5011072c609d0c196cda897139adc8716d0f320cfa849fb9fa3c32d1e0a15ec259b9368622312e72e11a7 SHA512 5096752d00311522dfa34fe3034df1c4ed14124a05f5675548cf03b16de5fde1fdfbcc4425640861705531e1480fa769c02ea7b0baa0801955df46f98afd18b8 +DIST firefox-132.0-trs.xpi 507588 BLAKE2B def2bd0d115ce309a2ea5e3b2c26ba25e24d6ab2c4725903d737c501bd080421a6c5884125383c0cb3a1aae63620921090b0dceadf56766037e87bd57c3fdaa7 SHA512 532faf40a3a1ad64d29a8b3266baf347b01da9a2483524d1f91b26291dcbd9ecc38b50469df36ad0e199f7a024e2db5f757af3c7fa2a4ec6433a73d3eefc42c2 +DIST firefox-132.0-uk.xpi 728029 BLAKE2B f4a686aedbd5fa4d91180e16ba8d0f83bdddacbad2d8ef3028d815cff95a52bc5dc80b77bf4aa7965b07d0b6090ef50353de35ae5352c3d6e7e1e6917526e38d SHA512 5d21606b49dd2175498f4a8ce7ed52bcf68df8f9a47a67776b7f8059f526f63d9b89b12bb85d1f110e7392951d4d77f88e56ee90b61f115e7fbfac17c2b18d63 +DIST firefox-132.0-ur.xpi 563493 BLAKE2B f03abf62c3373ac202bf2d8690577a30ce33cfed6cea6b0517e140acff0373e91850b1cbdc2e8429f3235b71beeb748c0daf3765198c24db3dfce26f5e81bc82 SHA512 c8d70e06f1885b31f5b9e552f73e625925f824b07c8603410ef4f0691ce4fec2e12f0d8b63b4a9a9ad02ca15f34a955e36759d360c5e2576e7dee6ad230825eb +DIST firefox-132.0-uz.xpi 482078 BLAKE2B f9e6999c8cafdfd5163b28fa92b65a61b98fa7fbdd5651f2093e60b4a8e2ac0937ed1c6fe3f8f63a05540b1b4c1fda887088788f97a7da5cf28ed4572b41a4e3 SHA512 ba8f1e8fa0e4f2933a52ab2ce67bbcbce46d79fe72295fcd8e503ae895c23c80ffefc6cb077f7e685dbde26aab8cf6cc6db3645fb838a62c60583f68dc084be5 +DIST firefox-132.0-vi.xpi 670756 BLAKE2B 48bb35892b6534ae09ce85e964650bec567ae88b91a1c6df42430941946e1cbfb5c2fd2c94919b3524437277f8904a5e8d615c53dd7c6334760ceb34492adf7f SHA512 0880bc0b0d1788ba253683f34ca6705109dd21d0c54f7fdb038a13de1f365cc01e3c7ccdfc919855d346e2d9051bd082ca1a723c25ad5d88c7c3435195cd21b7 +DIST firefox-132.0-xh.xpi 420279 BLAKE2B ccb58c161a75776dbc4714f5551ba15356ad58d95a82ceb19ed876b7ab739a2f0aba0711e8f047c421bb29e5e5dafefaf5538bef82fb89976b1d605990e97691 SHA512 75ff295864822f0f7488bed5f92c61a17b55e4b8177155490ecfe61b0238256c57f3d06b262fadd918ac10d7ad7867a5c94a9cab96425d6fe5ee98bea1120817 +DIST firefox-132.0-zh-CN.xpi 672174 BLAKE2B ad7d6461d130ec64ceaff7c8a2bcc1752592a3a15de7310f21af744e2c12a3096baf45ab1865e038d103790812f88e1d461e9500c348c16ed75f2edc83da1744 SHA512 9e075c697cf28236394ca99ae01a3d366beb85084c3f03402b7122a53ade095384440dcc066427c05a3a76cbf670da1eaae2f685314b2169335fb4d8882c7249 +DIST firefox-132.0-zh-TW.xpi 674253 BLAKE2B 6e415e664d9a5b46e83da94c2b88ed2becbdd7023b2c5d87d53d5e8a81f1284cb9e072a52fc31c5b327eab981acdbe4e78daa60ac8aca1af6bd6777b04c2ec3f SHA512 cc3f11ec38eb17cfb7b39e806a5bbc62d297b06e7e476dbd2341c2cf7ccb95fa486a9e1034e9883782ce9a404cddba033358a8328f2e46b58154db7d8026dbee +DIST firefox-132.0.source.tar.xz 564734500 BLAKE2B e1fb70d2d699153921bcb500801b77beeba8e1ff79ef9af678a0c573c252f61d7ad20e9f0676fe2fa2731bf14af7d2eff30c0b3b562102820fddb06f63a66a91 SHA512 254ffba16d6e6c61cffaa8131f81a9a78880e5723b7ee78ac36251a27d82e6ff088238ae289d07469ba3a51b5b5969a08ecd1fc02dcb4d93325a08fac1cfc916 diff --git a/www-client/firefox/firefox-132.0.ebuild b/www-client/firefox/firefox-132.0.ebuild new file mode 100644 index 000000000000..52ebec66b92e --- /dev/null +++ b/www-client/firefox/firefox-132.0.ebuild @@ -0,0 +1,1336 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +FIREFOX_PATCHSET="firefox-132-patches-01.tar.xz" + +LLVM_COMPAT=( 17 18 19 ) + +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 dbus debug eme-free hardened hwaccel jack +jumbo-build libproxy lto openh264 pgo" +IUSE+=" pulseaudio sndio selinux +system-av1 +system-harfbuzz +system-icu +system-jpeg" +IUSE+=" +system-jpeg +system-libevent +system-libvpx system-png +system-webp +telemetry valgrind" +IUSE+=" wayland wifi +X" + +# Firefox-only IUSE +IUSE+=" +gmp-autoupdate gnome-shell" + +# !jumbo-build? ( clang ) -> bmo#1914774, bgo#939004 - causes seemingly random compile crashes with gcc. +REQUIRED_USE="|| ( X wayland ) + debug? ( !system-av1 ) + !jumbo-build? ( clang ) + 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 + <gui-libs/wlroots-0.17.3[tinywl(-)] + ) + x11-misc/xkeyboard-config + ) + )" +COMMON_DEPEND="${FF_ONLY_DEPEND} + >=app-accessibility/at-spi2-core-2.46.0:2 + dev-libs/expat + dev-libs/glib:2 + dev-libs/libffi:= + >=dev-libs/nss-3.105 + >=dev-libs/nspr-4.35 + media-libs/alsa-lib + media-libs/fontconfig + media-libs/freetype + media-libs/mesa + media-video/ffmpeg + sys-libs/zlib + virtual/freedesktop-icon-theme + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/pango + x11-libs/pixman + dbus? ( + sys-apps/dbus + ) + jack? ( virtual/jack ) + pulseaudio? ( + || ( + media-libs/libpulse + >=media-sound/apulse-0.1.12-r4[sdk] + ) + ) + libproxy? ( net-libs/libproxy ) + selinux? ( sec-policy/selinux-mozilla ) + sndio? ( >=media-sound/sndio-1.8.0-r1 ) + system-av1? ( + >=media-libs/dav1d-1.0.0:= + >=media-libs/libaom-1.0.0:= + ) + system-harfbuzz? ( + >=media-gfx/graphite2-1.3.13 + >=media-libs/harfbuzz-2.8.1:0= + ) + system-icu? ( >=dev-libs/icu-73.1:= ) + system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1:= ) + system-libevent? ( >=dev-libs/libevent-2.1.12:0=[threads(+)] ) + system-libvpx? ( >=media-libs/libvpx-1.8.2:0=[postproc] ) + system-png? ( >=media-libs/libpng-1.6.35:0=[apng] ) + system-webp? ( >=media-libs/libwebp-1.1.0:0= ) + valgrind? ( dev-debug/valgrind ) + wayland? ( + >=media-libs/libepoxy-1.5.10-r1 + x11-libs/gtk+:3[wayland] + ) + wifi? ( + kernel_linux? ( + || ( + net-misc/networkmanager + net-misc/connman[networkmanager] + ) + sys-apps/dbus + ) + ) + X? ( + virtual/opengl + x11-libs/cairo[X] + x11-libs/gtk+:3[X] + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXrandr + x11-libs/libxcb:= + )" +RDEPEND="${COMMON_DEPEND} + hwaccel? ( + media-video/libva-utils + sys-apps/pciutils + ) + jack? ( virtual/jack ) + openh264? ( media-libs/openh264:*[plugin] )" +DEPEND="${COMMON_DEPEND} + X? ( + x11-base/xorg-proto + x11-libs/libICE + x11-libs/libSM + )" + +# ESR and rapid dependencies. +if [[ -n ${MOZ_ESR} ]] ; then + RDEPEND+=" !www-client/firefox:rapid" +else + RDEPEND+=" !www-client/firefox:esr" +fi + +# Allow MOZ_GMP_PLUGIN_LIST to be set in an eclass or +# overridden in the enviromnent (advanced hackers only) +if [[ -z "${MOZ_GMP_PLUGIN_LIST+set}" ]] ; then + MOZ_GMP_PLUGIN_LIST=( gmp-gmpopenh264 gmp-widevinecdm ) +fi + +llvm_check_deps() { + if ! has_version -b "sys-devel/clang:${LLVM_SLOT}" ; then + einfo "sys-devel/clang:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 + return 1 + fi + + if use clang && ! tc-ld-is-mold ; then + if ! has_version -b "sys-devel/lld:${LLVM_SLOT}" ; then + einfo "sys-devel/lld:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 + return 1 + fi + + if ! has_version -b "virtual/rust:0/llvm-${LLVM_SLOT}" ; then + einfo "virtual/rust:0/llvm-${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 + return 1 + fi + + if use pgo ; then + if ! has_version -b "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*[profile]" ; then + einfo "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*[profile] is missing!" >&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}" +} + +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" + + 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-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-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" + + # 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 + + 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 + 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." + + # 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 +} |