diff options
author | Joonas Niilola <juippis@gentoo.org> | 2024-08-03 10:17:07 +0300 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2024-08-03 10:18:08 +0300 |
commit | fba65fd6b793ee5920167b12ca00b296c5f54883 (patch) | |
tree | 530c904d076bc497e839be3d047d3c2343725e36 /mail-client/thunderbird | |
parent | mail-client/thunderbird-bin: drop 115.12.2 (diff) | |
download | gentoo-fba65fd6b793ee5920167b12ca00b296c5f54883.tar.gz gentoo-fba65fd6b793ee5920167b12ca00b296c5f54883.tar.bz2 gentoo-fba65fd6b793ee5920167b12ca00b296c5f54883.zip |
mail-client/thunderbird: drop 115.12.1
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'mail-client/thunderbird')
-rw-r--r-- | mail-client/thunderbird/Manifest | 65 | ||||
-rw-r--r-- | mail-client/thunderbird/thunderbird-115.12.1.ebuild | 1363 |
2 files changed, 0 insertions, 1428 deletions
diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest index 9a61154206a4..66b89094ea66 100644 --- a/mail-client/thunderbird/Manifest +++ b/mail-client/thunderbird/Manifest @@ -1,69 +1,4 @@ DIST firefox-115esr-patches-11.tar.xz 49440 BLAKE2B 804f5b7434fdf671361f8efbfa3e63cb8b14fcdea39a444ee04cbb4ff7d7deaea74ede239843c350a857eeacf59a69145e234070baa3b05b6d3e1b5c8835f23c SHA512 5e2c88374f14611a1aee4fa191ceb2e66c1d440c98d6ca9d17747290f01f1a713b71c71cebc37313c089524aa6155bfce08c8931a24b71b28de54913cfccd73c -DIST thunderbird-115.12.1-af.xpi 550974 BLAKE2B 3f973170020cd5fa492e3b1cea3088a801e799f48dffa2081589cbcaa51eaa953dafb62ce008f894b465f6c0bee45532241b823dcc4ebe643c032fcc7ad58ae2 SHA512 6f2084f4b61d39eef49a499da144308accd2dddf1c191adda616a5289c7afc8e4cf8700b45e0b9957bdbb8b882a998234d2971d51eb970957d4a2d99ce3cc877 -DIST thunderbird-115.12.1-ar.xpi 673669 BLAKE2B c4bdce98303c81590bcb30c99bbbd5026e41aa67e3c14e5a2e0e91f2452fb8774a7c7242c6c4f82c68312a67e1caa4fb2d7d892ff6fda9c35073f270ac394ce7 SHA512 549b8b491785f20e0459754087c89bdbb9fe21cd124bd025b6854040da98724884c78556382be6cd9de5652569a19c8a540c67123d3c7e9c31ae8ff445db3c94 -DIST thunderbird-115.12.1-ast.xpi 569921 BLAKE2B 58b9e9e037dcd13ff2768eac57c06a0769a47eefd37d5705a4b61cc28a338422fac10eec787501d173839a68099071cea11f0c2adec2e277d756b089e7860042 SHA512 47e605d6846cbcbdd07f6388453fad1ef5fcd99013e288a6ff5a70920b2946567dd6317416f2dfcbc19b2def5980005e245b14c6f273f4ff2dda6ef31cb96253 -DIST thunderbird-115.12.1-be.xpi 734712 BLAKE2B f0608c46d6255e12683ac4648702fb4898912669ed1bf4854b9924dd3ef6c33a8898bdf04922594a16ef539a1dc9768de6eee4355ea60e03cf941ea0f4c5a044 SHA512 cc5066fa64dbf58d4af7d273e6a3159b38aac39c6b1af7021c3772ea654b55283a4475e9d1186b8d907750d2c66538251f5b45cf7951bbbe9ec3519fc9d03b49 -DIST thunderbird-115.12.1-bg.xpi 783909 BLAKE2B f73e174d5df6a74d398cbf9bfff45c363cb028813a13688bb6653e5ef87e9013f0e651af1b9e50f8e38348ca8113af2f2a32d27360b3f93029e35a5b922c2ef7 SHA512 edacf38b501eafadc9b73ce03854601abaec9f7bc5dd34c382a34548e32978e6e148116913aa2f2f4b69447ef2703520649b690ce35ed193cfcb7db1b0070dcd -DIST thunderbird-115.12.1-br.xpi 648068 BLAKE2B d51f46dda78af672bb7e3f4c9113b46ee8ce3170139a95a6c5c600356a58db6906520b8f52a84058c2bdb6bb06af3aebf41b7bf75230c6bf2fe24f0139279982 SHA512 9f35e5382ec6a95e48151fc6b11be353dcb82ea5477ae4b32becca4e83e7784423ad9f96922aa3881461c9adf8dbb8e569cbc051ab62cc32304da4342c4f7623 -DIST thunderbird-115.12.1-ca.xpi 687689 BLAKE2B 7121218ff3555af30595ea78e7ba8650b06049baee81074ea656556ab5f3f02bf789378e312acf25d8cfb6ad0205c23a5798f4e3c9486d06fe66af31348c09dc SHA512 81d08a7253dc7d7e9af257f8b28ecf5bdb52b1606c5e7b673646ee6b72d6bb9b7b5ec6fc53e4ad74fa7a55110a3a42ea61db0b17a04472937af733fc4e508f31 -DIST thunderbird-115.12.1-cak.xpi 669821 BLAKE2B c9c0a1ac9ca828a301bf01e518818121996c7dbbee26e0c931cf253538375fcaed142ee01b6ac0245d6c0de4de08c3a9c15bde5cb637bc9ce6acf14176e4645f SHA512 67e31d1a1d0997804563739a1e825f3de8d37207f550ceff05a1360d84c4d22832d025861825cb67ca41d3d8adbb64c7fe9a8222f0c5d0f1b5e88d903250f57f -DIST thunderbird-115.12.1-cs.xpi 769913 BLAKE2B b76f373c766ea89e27fc841d5a912823de4b122d2dafda54c6ccdfb1ddaf0d84df6f16325d5a75cf1723d9d86102a75408ed2453ee08134e3d0501d913b70e18 SHA512 8d322bec969ebebb1a5932ff57a1f48a3fe0c243719dd56b1645cd91a5dda463d052b40a198c5681dc6696b79322e805dffca9e77939352d5165d60733a834be -DIST thunderbird-115.12.1-cy.xpi 734616 BLAKE2B 01006ab1f8bb225062663fc6bd99fddbb1ca4d02260267fb983bcdcf7014fa66c881c17197d5b8e2305783044f3924377e185583a6ea9c3a60b48e3132f61437 SHA512 998ec9f54615939a2a661bfb30de01c34f99d247a20c8bf24b9ccf78dc5555e43a6a6f1e543a0ca4bb2fba9c9a6e2069f92d27b915ad08f4fecbe08284961c5b -DIST thunderbird-115.12.1-da.xpi 722530 BLAKE2B b91f58f4eb1a48953b9cb168c216547d5653c8d20b3275421766ff88d2e18ae864a080162a1b3c1fa7f126113bace68e290cb8bb6e008a19381b8dfb3488ad03 SHA512 a6a443e41da1a54ba5f089d051a282671fd72e7e0e3d3ecc710f21a0aec8f681991fc8ff0f1275fbb06003d55591bfc60732f8fccad7aba341bf23618c5dd9dc -DIST thunderbird-115.12.1-de.xpi 750859 BLAKE2B 0517697578147f78d03dd2925c3d71c8b4d074bac477cb248c7677bc6583df57fffddb4da9f7a1e311383960b05c65f5763dc4ad2587f8814bdeba0e1792d0d5 SHA512 6a64c4fcd7f07d725f75aeea5499dff34875a870a91250de611bf19896624b56579f9f0f29aaa1612480c621613d3705cc2f8504a298782a45904a09d6105531 -DIST thunderbird-115.12.1-dsb.xpi 770432 BLAKE2B 03522bac35b87ffe25cd7d69cd662bdf1d4674ff3f2c60f76854d4b02505f8131108ba9c76e73c4fb2b870d64b8f5ae7fcdc96e5ec976195716d9eee52bd3509 SHA512 2b44e64196ca98f25d01283c91d89f07cf25ad4fec5ed32a3c8c1d1bba45e2d04fe23b63cc5ee1f8dbf691e6e25a6fbfe8a92b29cfc8d91d9a37479a673a54f7 -DIST thunderbird-115.12.1-el.xpi 873405 BLAKE2B 312ea9cd388986f26b7a1783b8f2e71605f3dcf002fa00d8a020148c55ed8f51feadd53dc1e45b68da8f4d8a3d8a73e59c90f593f7b56138ab18627d56fcda0a SHA512 afd3505dfe52f62ce1d63699f37ddf637cdbce2261ee3f6411246bb3b88e6a679d527ea1b47d7d44ac4ac50d1ad7e5b3459a0981c409834f5fd4b596c5c0840f -DIST thunderbird-115.12.1-en-CA.xpi 688600 BLAKE2B e8cc063ecfc455a23ffedb91580ebf68531a5e0e1f2b18dbd42e1f1de2634898b55d9a8b17227931e9467461ef1290c1f8f806a9e179449a7e216626224759fd SHA512 c2255509ca03ec3b664720f0e6db4f68f4aa4edf8df1e8b5ece9308dcc93ec82877ab9acc0c861178c8e37de99dbe29fe1b3a55bf40fa42683e79a5fbeff66a6 -DIST thunderbird-115.12.1-en-GB.xpi 690435 BLAKE2B a34168bbebbb877d76344ff1655dd7110989258228e8e670224bfbbf90726b5b2e8b3d1bf3faa7d1e2d9f34deef660d075568eab2e045daee8534f14c9c8c74f SHA512 cf6fcc6da7eb8a2181880d5a352a0d02df5f67936e295052d5c4dd791e78e095adeabc7bb4203dd2afec3fe1fa1057b9e210ae69483495f721ab7c0b5926802b -DIST thunderbird-115.12.1-es-AR.xpi 745001 BLAKE2B 9b563927d118a5a5f71a534c33df07b81d84d273cbef760576855977c7b53da06fc785a07a6392b429425fbf5cf410d7f576060a7c6ce972f64671022a423ca6 SHA512 7f252604d90f555ad6eb57af605b9a0b4eacf24042bb58a539b2360241e116cc799326843db16d6e9bab7eb98cec42e90e293efcfd4949a60d83b4f8774f0a58 -DIST thunderbird-115.12.1-es-ES.xpi 707996 BLAKE2B 0edc1b29f069950c6e0c8c0036b53fae21ec8e721abcce313602ca1bddc25374f07d7903bbe7ee5dbfdd06473b4e0a6c3902794f7c1b6dfbae6841a9e3559c70 SHA512 98d182124132601f006169d963ab3b176234042cd23487d5424e78c5bb8c2e1c2733cb53bbd491cd0914835f8917f1c65c7e43b8573cce5830412aef891044f9 -DIST thunderbird-115.12.1-es-MX.xpi 721552 BLAKE2B ee70b0a39c75ae7fa76d18fbe3a6bede475893fafec313c22b589c6c0b655855ef38a2c62d57a0ff845ea52b330b9d05ba9e7565ed782d6e1cce22b2e5cca82e SHA512 e47e74acf760eecc675ce5529ee3a2f6af545a0f090cb454038f4221c79d57fa976600f728398af1b828bf6afe3b09dc749ee40f9b0c887e6cb8e5572af364f7 -DIST thunderbird-115.12.1-et.xpi 681748 BLAKE2B e31b693c3ed663d47760ecc92708feec67d18ee2e8d18cec9d9375a91786f483478330aa8abae350e32b40c7f23461a6f9a0529ffa922754fe0fe580365a0bde SHA512 d0962e59698dd5df9f58bc703a0dbc9879905bb24c1dfe7b8ad2ebcb0a5894200ba7cf69fd4d65ea083109e8dcc53ce1c7972dbd06e3d55b757705494dbdba45 -DIST thunderbird-115.12.1-eu.xpi 713611 BLAKE2B aa92c752186ff825d9c732079f3d1272e413051953cf6d98058c856870d91a415c16b8857ad5d79865c5ac410d5cca3da3925e4214a8b9f61f2478b38679c126 SHA512 d47d9fd61e49ce0e2de1c3ab0f82bd346b4b5655b08ae1b1253241f36bdb71b9c21bde408de3d3620a7e8b4cd9c3094e2a3628b9552471ba065e8f35f5b8b0f0 -DIST thunderbird-115.12.1-fi.xpi 720333 BLAKE2B 708537776ca439e5814c973761fc90917c15e8167c3f84c3ca28d74089be0b8c9ee8342240aaab3b278ce7ce728a1d6cead65f23c21a05380b8c6920b25b0599 SHA512 45af869267cffecafa63bb38c68e19c03fb5d9130639facbdfef050e7592695d84c772f6c81119bc1fdc9c18fea19a6484a4d11b554a6e85234be50112ec8817 -DIST thunderbird-115.12.1-fr.xpi 757740 BLAKE2B cabd6993bc744621e65003e7ef84d03fd71cef9d63490a31118d0931a106a67fc1ab044782a72cc810c8032ebbf1bf162078fa3cc42a2b75efd669b03ae8c86e SHA512 a56ef86a0bc0ac1f973fb393a20fe0447cede474d561b1c8fb59f93c5611fd305c909f376177279640036cab0ec49e53d0f26444ecadc96b96c9d8dc458bcd01 -DIST thunderbird-115.12.1-fy-NL.xpi 739634 BLAKE2B f3c1883e7f00839bed0ad3b885a2e7d97d9d32bb45f3ec15285c751360dbafa90144ccd38f28777f530babf0314234d0c62fa2eacced62819d805d8e506283b9 SHA512 e127985ca3d93bc9bf140b5e7c1233288f288fb1a0b46c0df7246f9e1027e4474468dfe88dce3986d21a0ccc1f14db2d6f9bfd8b88e9a3ad5d9ce1bfae4fad2d -DIST thunderbird-115.12.1-ga-IE.xpi 611161 BLAKE2B be2e54b26d935bed0ffdb3075c1ae0e4a64dc79171e28b4174a15f7fc1c532aff363be1012ffc75dbb38b6f2adc477d0460481732b6b5f3240f0fa49c2a659ef SHA512 218ff4e8089895d2192d407c95f42153bf2246b1df993fa7084cee04fcd2428912cbdde62d8bf45c23f672a2378d78219b39d97a75c4615f9c7587a51c38e7ee -DIST thunderbird-115.12.1-gd.xpi 714246 BLAKE2B 66a3d5c5555577561cef1744682ad865eba24470d42317000ac22e93a25daf2860cbb24c3d245705146000fb2ac40c7f18a069d74b8116771153659dc6b9da74 SHA512 f639bb2ae8d7c1a001b63ef04fac26869cf1d2e3d35f85bbf7392b76d66a8d5eaf96c26cd35126a7153f1e1d4fbe5442a209843039787babfd63a484d20be9e4 -DIST thunderbird-115.12.1-gl.xpi 726195 BLAKE2B 9ee434be0ede6f672fdb8f093868af2926085859f09177160fe508ce7f655d48c477d53b574838a1a9aaad78c9272cf2ca95648cd11ba44cf03b7c14936e32e6 SHA512 af01a0afd5ada78493f55272e8990a59e9cefb565cc388f213b8ddb2104ec79048b4be9285249a2ad5a74c809cfda7a35269ae2f4a43bed63591b912cd63b427 -DIST thunderbird-115.12.1-he.xpi 692093 BLAKE2B abc771cf7255aa6bbb116ba090f7c569cb51f6bb1dfcea4f62dbdb77ad1e18d95004369e921cd2e43d06597c4822f0b59a03e96e3aae8a8505f7dc4c66fc5f46 SHA512 b3d396ee8bc9013a53717de1c6e0a5ad704da415ecfc2790a4a3e4a452abb2ebd9b8845f7c3707b0a194791f9f7e5a71be6dc67d64b8086dedff88676b33bc60 -DIST thunderbird-115.12.1-hr.xpi 689195 BLAKE2B 8ff2126c054c40ef85b70db5497be9814a495d7c1d0a647f8cc77498b67baac63558592449ab8ce3e4daa7427e0fe6507b972f614d1fab4321be9970c99b8592 SHA512 62573d37a62bf929d82fff07cb49a4cea62e1f5bbc09a1708c86b74a2aa4b04dcd8d43717c2fb585cc1529ff632b41e1b644139308b46a87e41d5cdd11970b1f -DIST thunderbird-115.12.1-hsb.xpi 766501 BLAKE2B 22738e67d08c3e34f067d829523d7a2322ba9bc1441f49615bfdc9fe1938b169f077c001e5c2369fc910ae289388c3457d3ec335db48b5991f9adddba2cfd705 SHA512 fe4522b0193537736d3ea1c88815a97cc8ddc0d05bcf5d1b6076a33e1a0cc6c646dcfb09a7b7abd991a9424cc67e151d844753a619548b68c179cbf280618fea -DIST thunderbird-115.12.1-hu.xpi 769133 BLAKE2B 7facbedd24363693041d1ada4c41bb4ec75cf5e12f7450a33ece1659a1cd282e64483ffc31b6281db414a55ea3b94202471e7bc3e570c376b2e7c101476ae368 SHA512 deffc15b07061b1a161ff3cc201a62e5bed36fa5000d3f47a726bda3a90f3e3e4ec3c4b722bfbcb2610717cc89f7f12a157f4b0b0901d0ff2006f3b2d7eb60bc -DIST thunderbird-115.12.1-id.xpi 653752 BLAKE2B 51d3687cff4bdb6c82390b85852e13cfc2270ecc6ca2d23ae59849b2ea96b710e37874d51c5f0e54484fbb358664804a4c9d11b76363f4850c2e4027f4add928 SHA512 da59bca0261f7d9ff6f77e81abe2da15c0ee9fd82e6b6d0da5b8c75acced23cba42a967fae62cf43c07f13e0d049c1fa42484f346990aeaab1cd181a6cd3a9cd -DIST thunderbird-115.12.1-is.xpi 727097 BLAKE2B c9e3524aa036a1f543fbb7c53845ad1c7bf0df33a67931cb1eae802c59db0f9299bdc60156bb74cc04da371500163a67a69e03d8a1663bd4bf0830dfb9384f37 SHA512 c609d487a0ade339b0a0299d88f45abab40618891336c236d627af384b4508f79cd0a61e2b22d1bdd000c319a076d420cff5e9bf9f1a008e43f68cd11c44f855 -DIST thunderbird-115.12.1-it.xpi 676204 BLAKE2B f72f26de8f3190da2ff771e9534952b8526b86e914b4f2a99f9651236914cec0f32b81e15db57b978dcf5ebab5313e380c95a4199d76d15722a00adf54890c49 SHA512 03bc410caeea17fa75d7cf4ddb83e81f52dd918298dca6f727c16c682d352351bbe9056402365d2ecf64fdf511febf57ebc700c27374c8e06c948492b058e825 -DIST thunderbird-115.12.1-ja.xpi 804931 BLAKE2B 3e1955ccb8a5eed15458b4373e932bd82ec2f4688579996c96f2ea701780b8c272ebde7652eb0947fee4afb727c0ea7dd2ae0921b702f044f0baf05b3dc626ff SHA512 1c604763509686acd19fe1d0f492049b0355cebef2179361f49e8324b81766500f504935b96cc3f1a88ad87e7e39fef255a77340c94230f4879d8ec46be8b931 -DIST thunderbird-115.12.1-ka.xpi 786093 BLAKE2B bb8094a7311e8f7cfcfd8237e6acbeec56f689201a4bde15fa11d4f233daf1fe97b624539de0abf8326fef5a2cac78d9f3532fe54bf7477ec8ac9c838c4e00da SHA512 793ed043bea3c7fe26c7b857f490b66be7b25984c8cf13c2457271151f964dd67882c60f9fbdcd0031c75798cfae599eccd51f20c31cf55cc9ced044db7ded38 -DIST thunderbird-115.12.1-kab.xpi 714604 BLAKE2B ee65868b223bc95b4174b523e5f39a83d22361d71f53f2750cb51257820165e1421714a421913d6e034618c907bc0149c3944fecaee5962e66d30c15cccab1e4 SHA512 91597a44fc4ac5260bb43d9d70c4e0c3bebc1c5d8a633444016206eb6a2b4f4c5fa6fbce5aee2106e785fa4c3387d053c3413741c26b7b2262ee05e1c7c3fda6 -DIST thunderbird-115.12.1-kk.xpi 842880 BLAKE2B 7927f8be84884c0c2d18c62cb41e9e944105458010c51c7d983f66bbc68ebc1e5f16f3fc4d3dd43451edd395bd7a90ab5e8ef79ed2248d84a873795608777292 SHA512 f838fde95baa1176b798c1822a359e976ce518337104dbb6b39be6ae40f8d067f68960dfd5d4408c23fd0886618ae7b82c50a3849c17ea78132a4dda1412f53d -DIST thunderbird-115.12.1-ko.xpi 746225 BLAKE2B 0e705bfa44b5fef277cb592ead66016d1c2345d3be22acd1216e9490c67b3b8f5b591d691c17200461ef82d1fe510519de45aea7e6973b5119921cce1c4f2e21 SHA512 099d7b24666aeffd66dc5fc8723cf4d5b353c55eecbce7862eb75e0a84b1986dd2d6d4ae1a4ee19276d3177aa2b5c23526607505d42ea213db1bdb3a603600e2 -DIST thunderbird-115.12.1-lt.xpi 690573 BLAKE2B f3bf6f0ea7a66ceeb9496baa2f1712733bf1ab67e9f7b7a01d62a8374e1a4828452e656bbf12b876951301e1a988d5202734d9495bb6cb1fe29c0431c96defaf SHA512 d62690b67ea1497a0279f8ef434f4d4b994217deaca701134a38d2f7440a0a398aa5e4eacdffacb0c33c77beaf357c820d172b071ed4af06806b4013f1499d39 -DIST thunderbird-115.12.1-lv.xpi 627156 BLAKE2B 30efb2d413397b86ebd85700a38a2ee0cc527e00909c9d3ef174c226f55ea0c96ceec4f62c11d273413d3df7337e351726bb047196304580672a8a1ba94217ee SHA512 ce7ba9ea43ca3535e4ebafcf0a8fce56bdb03a44c264b09a2b37541b8cdf5153403638df38d6be53effdf7ff1cd0ed5c44a88d2de2defd3ad9ddcc50086d8eb6 -DIST thunderbird-115.12.1-ms.xpi 575469 BLAKE2B 2780564733f270b58a1ace2911f2681cbe052ee2ae546bc3d5194047d5cdaa66a13e90052c92c851d58cf60a914ab07b5e30e613bdcbbdb26d4eada0b149c868 SHA512 32ccfb52cc2d7e19da3164d24888b0f8c78794e62f0a4bae364bb6ef859806a1dc5fe7df70d6e604b76791a7e85005f5e1894f5884ac74359bd18810b6f185b5 -DIST thunderbird-115.12.1-nb-NO.xpi 693900 BLAKE2B 90acc3e629ad51dbc7de16d4544a327ff7cb69837e0a5bf76fef3face1fcd017d3aaebc042e40b86daca359b00a4744ea32d41b39cde9bd5e67e174d0e104043 SHA512 b9e80d4fc1789b0541cc5ac1a64cd57ffb27c7368151c10df9cc18596ee69de0996611ab6750be551264599848a61d8f96ceed620fe2d1119918a617d62671be -DIST thunderbird-115.12.1-nl.xpi 730833 BLAKE2B da356e76a9855f4f09a16c92ce9e789558c91594f4b6f4e6a9739a345396554a43d3977e1c63da29ea762957d6a0d509de7cfa1c31f58784a31b6dd67b2e60c5 SHA512 b08fc93ff1456c5a65d4735d70fd3df501c4e85820402285c27536cfb7332e3ac64f37f6eff4f229c221f8a68b644ba5d2b79269063a051ee86c5fe0fb23a168 -DIST thunderbird-115.12.1-nn-NO.xpi 696719 BLAKE2B 64b347a4ba080f0205f6a011e24ca6e7885385dcb45ca3455dff13e288e32ce7a9aed2fd5eeed661e5a568503d9120f62d13f758a5e785f988c9135ecfb25d0b SHA512 9ef9929a88cb361aab34629d499266a8ed383fca964704e53f4a6e371145652fa5f19c5797f5e3179c6776f635aa536d54389e2f9c1de3368311166e969380c2 -DIST thunderbird-115.12.1-pa-IN.xpi 683514 BLAKE2B 9ba499c93c9b1579da936654e9a7be90684aa350a2fb268d5f5fd9b18383dfe0e629a3b271c9a5b99d34eb1d3a4e0b19ba8e0de748870f2fef3152039433a4b4 SHA512 d316e8a364cba0335be79553ac947d8ee8c338384c6dd836527dbb8f97822e834d0fc9b403a992c6573d3fc2204b6288409b43dd7b6dd3076d505815b5ea7f63 -DIST thunderbird-115.12.1-pl.xpi 749664 BLAKE2B 6f596c78b3813b554cb67abc747d7fc5a53a15eb8081e251e85eb299f8feec416e220a27ec82d38a53a1220399d0f45c128e05ac6cd8316c78c9f241f3db9633 SHA512 a8bb04b02511a16af58c3ed31441ce330459ad90d8ced0a21611601df84fc27b8afc8fe12aa6798f0341353b18119861ee6e68d038c0b93a87d430f7b04f4565 -DIST thunderbird-115.12.1-pt-BR.xpi 738421 BLAKE2B c04ffd683d7cac6db9fc967a8d945adc9dad85792455d065aa3ae0605bb58e18dca19a66a4ff2de3224214bd91eed5f94a38ea9074a6bcc3eb805543ade92803 SHA512 e9bf1f72bb174a6d9ccdccba664f1393a835eee2305e6f57703ca2545b87c1074b04dfdecb7ee88ca7a9afe81b6950dbb325b3262a059482222b6ef17daad7e6 -DIST thunderbird-115.12.1-pt-PT.xpi 728869 BLAKE2B 3dbc5a7cac7be62217d2ca9d63c8312e3d351b3799475d72fabe2671bef9ce431efeb4e21138a84eea0f31068a2841bc6b0be9ce21d44032c306517151f9c33b SHA512 ac6370656730cf71988bb8577a97ee9987661891b06817691b651f5e250b4f71fe54ff84afc1c89e8bef517df8827c6367f9576d4d57fc710208499304fb69cb -DIST thunderbird-115.12.1-rm.xpi 732589 BLAKE2B fa947e6a869b50cbe114dc00e0dcab866584fcca401ed16f3121949b3a5ab7866a18218e9555ccdaaa30be94f5896e1cbae5a1647c5846ac5a537865dea225f8 SHA512 5640bc32fa9016c5a6a784ba3f9c3843f48bc0e0374bafc9e0bf760cb27122bbe1a363bff43fa29df11dadb45bfe1302318617e41946aa9732b6620eca2d4429 -DIST thunderbird-115.12.1-ro.xpi 661831 BLAKE2B 9b7536bba0d9ca3bf8aa3d6f8672ae04d6158af7a7812a8057cd9df7b9fbadf276828e25d2004e4c2a8a45d480c31823bab50f5f65b7519e12f2d9b3d9029682 SHA512 9e1f0cb28901702fbab8e4f4020feeec3514f4435f7349a7db223c60a7c8c2fc1a048ef4b1fde290178da6c66a0ca46862a67222ad0012052743fec0dd2e0cbc -DIST thunderbird-115.12.1-ru.xpi 857135 BLAKE2B ed9acef4f3286df4f991722f89e3c8dcd55f9f28ce566ca1948c4119727dc540ffac7cdb7e6a18fa82d2f757bee710d7fc56f4021c7fa9f309480b36c5811ae7 SHA512 551f219de6e2f431836bfce4c0bbfd4d72a9aa197b3cbcefdc13ef9a7df8184ec0942f4d6ff9e45e961b908ec495391be004f2dbbed2b271037160ad3801d753 -DIST thunderbird-115.12.1-sk.xpi 769056 BLAKE2B fded2a6b57b72a28309d6fc135bb6caffd9a708d0085cc694455f47e2288b9ec1e3eeb262e9a6702abfe54cddcea3a2f9c243488386e7446a2fc2aad3262d78d SHA512 c56cc72032525c928e96ca2a28f64656f4a1293d8613d8a2138abda4980aab9eb995553aa76ce2a281a4b4ae42e0939fb83afbbf51d2c84330baaf1584a65d8c -DIST thunderbird-115.12.1-sl.xpi 729110 BLAKE2B 119365a7393efcedec3a0e8e34e7267403e8bff41f1cdf27b9468a81de4242de3a464c08ff47183f57f36551f8e77f8788011fce0b2d490574ab7bcd0c99ecc0 SHA512 fe5e83fcd34a984c9843235e1c8d0eea8ab83ed40247a81fee8cb2ff77dcb190a0ea7e8a522599472c30e6e5a554449f45f900454f54245ff896b541ad0e98ae -DIST thunderbird-115.12.1-sq.xpi 753635 BLAKE2B ba3b4b34beb01ecaafe88d7194fba718bf49063087a7141467b7e1dcbcab5d5fafb4a966a31309bbd3936dc2aeccb84bdafa751411afd76b2e463e47ab6c2b37 SHA512 1a668ef60e757b2cf44aa8354d79141e14d721bc6e45adc8a1095b64b595ab4cd75f11352896de682acb34b6276288a0d8203aefdb302641fed1114dac7567fc -DIST thunderbird-115.12.1-sr.xpi 757455 BLAKE2B f6caa5e44ac06935fd64a51a29b89b2c9f7d898c9db02a1487120c327cdfe2c0c66a5259ee84ac7e5431b259b13443660f77da238e7eec43868f5b0cfdf9a95c SHA512 c12af3b11c0726ca7fabfb0aa1fd8bf81af27e200a6da9a2d165b0476322767309b1ccc4b0f6f8fb1d0a5a2ffc6163d99d837e2265f4bf3a20305da315c7e84c -DIST thunderbird-115.12.1-sv-SE.xpi 733955 BLAKE2B dca12a48732ed9af210b6938f6e49ece7befe714ab62ddd9d584d7f2e5678e70c9945462be35028dd75b8b85414935035ca10a4c850f93f8f32a45e37a1f5005 SHA512 ec0151c44bb938c246a6ef6db20dd766c49498658cf3cdc3f32bddab8b644166ec2cc31642b71ca6955d1272bd7fbd4de9b781614ca7861c8b3cf058b9ef27b7 -DIST thunderbird-115.12.1-th.xpi 804660 BLAKE2B 8ce689ffb8535810e922173daf305d8fc46c9315148a18cea1ed919031123bf2ba1d7ea9e222a5c9956cc88ee7c64088a74aa1fbeeeb957c398cb90efb334b13 SHA512 a7a549aaba5e368dce0810f0c212529f5c477669b4ad0526112bc1622c147316ea4e4fbd96e86395247534ec56f885ea15605b6c533e170a165bc2ddccf0a363 -DIST thunderbird-115.12.1-tr.xpi 743474 BLAKE2B 82a8f60d332d19ab84dbe118498ac749a24348ae093aedc69a545d0b06d9fe02eac5b9cd1901d4c27656c10ddb06a5ab93d40eb293bb1724022011606cb80839 SHA512 a458aefa8638c7a894558d848dc101defa11b682f18de882850c8ef1fdf44c9be75cf16d3f2afcbcfd48b4719183ec300833bb60b6430f7a0c9d59c627527649 -DIST thunderbird-115.12.1-uk.xpi 846639 BLAKE2B 7355cf3324250be1360c52660d23152e3033f8706b9080e4874b38a0eb095993ca46f01575f303f6a8ccc903b508c78f20ad732d29bcc8d95df747ef92905b7e SHA512 6ea9d1b7ce831feba53cf305f6f6a4471d7d4de95148843e22d1ea087179ab1601fd5f87fd7542b1a9a5dd1ade7d0bb6aa3c43428b607979823ff416f3d48a6f -DIST thunderbird-115.12.1-uz.xpi 588508 BLAKE2B 4e9dc2b9d60caf57edd056e34e42d6d360125dbf7bcc15a446ee4d28e77c1fad551d95995959ba5c9dd09e65f3629b70cba3203fbade2cdd6b59ef749767621b SHA512 1a4f9c4f2c2830ef9fa00b0fd2153dd866800c6fe30088df70da29757a755fccd76c80ce981c2a3293b954f6ee5a932cc764746f2dcd8dc43e3d28ebbfe91774 -DIST thunderbird-115.12.1-vi.xpi 772899 BLAKE2B 177d6bd9d8458b55ea93fc2e72dee81e21b3bd8b902b173f28997b7b3b17231f811ee27d0ba5acaf409f67d9788b6d614f812080b0496a0d1a9f5318e4cb1c84 SHA512 b9ebcb3e736a92de097575e6651a98fd2dda2a00d797f225f9b9f031921e8a91d8f807a4aac034c295bd94e7a8071451f57609725c8dae3cecabc622a4a67759 -DIST thunderbird-115.12.1-zh-CN.xpi 771966 BLAKE2B d53a9f428691bfaf2e7c35977b8f87867f79e6fbeedbc4610e75ee3a1d2dbeb11184d13ebc2d39163ad02336ed509b9cfa09b7d3f920251ec00dacaabcc3469e SHA512 67f2c96a0347790acd48df1afc3adeacfb7bd5624069af70ef72ee4d31a5fc1d0120b6d0cbf1bfddea6e4dc9c5b663d940c996ba49f3a9341527b8485cae8910 -DIST thunderbird-115.12.1-zh-TW.xpi 776444 BLAKE2B 51dd24e9b4549887def3fddbf32a55cf2bcb3374bc9df83533d9585cb90f7c72b2f5b0673a9460aedfc89ef75e13155dce7248c6bd3c8353394ac14349e0d956 SHA512 a0adf8fc4329a39a6d1c05c4dcf9e0eccff4be29d2f3ef1814a78bb8c7579ed42cfd1f121355d3e5b99ff4123685a7a65d7281a2e65b502986bbc1efc611baef -DIST thunderbird-115.12.1.source.tar.xz 535032092 BLAKE2B b88927e5591651b40366da264e9b9ef8f54e404cf669d03a67ac0b0cf929fa3c1f3ca760d13f532f765bb208ec33fdcbee9edbb7811c50fca57d419ca5c4a311 SHA512 1640d860f9cd5107d8c26f0ca8cc6254cb7e4445fb968d2bfab7011fd4b1919e867fc0c639c097469dcffe3846ef2fab09c74d211fc56aec21981669f4e3c0cf DIST thunderbird-115.13.0-af.xpi 550968 BLAKE2B 447b0c44a688a4c4336d7641393876bdc91a73e4ca67d9cac35c25b9c832edc5e81025dee2daee1a77762401b2b432e6944674ccc3df44226b449858f815bf3e SHA512 ba365e1c3f8ce852774f6a81b563bf3727dad8c96de39e5f834510f6795baaa07da3f062f77855e2f07beb719e5bb2c59e39f5f0dcf76d9772b5694e0db71f5f DIST thunderbird-115.13.0-ar.xpi 673662 BLAKE2B 5b6339cbe9267e99495faff82555410c677da70754d6b16790042f2846ff03cf202e213b9e18ef9e0014218003a636cd65ab230715d719b9959551f6e1f7fe52 SHA512 7e38e46bdaa5c3074e24ddb67de08529ed91100b54046052e6d73e087981463bb399e3207e6618c426651d635f95b6b5b2664cc2581c4fa360989bc87fac5d13 DIST thunderbird-115.13.0-ast.xpi 569918 BLAKE2B e6c31f6487815a49eb5c97aa25eac5c193d046de260011dad0fb13aaf93c0a7566c17a28ae624b99e9d742b433db469702ad7c2eee88d1e5a3766f36b1efbbb2 SHA512 7bff6a66f08c66edaaa287edaf7aa5ff34cd77dd3b9a980e7954cd23793104f3b54fc664f24c10212ed27bac9507b1ad7931efc2569d9384b9202baffa8338e1 diff --git a/mail-client/thunderbird/thunderbird-115.12.1.ebuild b/mail-client/thunderbird/thunderbird-115.12.1.ebuild deleted file mode 100644 index a866aecacfb0..000000000000 --- a/mail-client/thunderbird/thunderbird-115.12.1.ebuild +++ /dev/null @@ -1,1363 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -FIREFOX_PATCHSET="firefox-115esr-patches-11.tar.xz" - -LLVM_MAX_SLOT=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" -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 multiprocessing optfeature pax-utils python-any-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} -) - -SRC_URI="${MOZ_SRC_BASE_URI}/source/${MOZ_P}.source.tar.xz -> ${MOZ_P_DISTFILES}.source.tar.xz - ${PATCH_URIS[@]}" - -DESCRIPTION="Thunderbird Mail Client" -HOMEPAGE="https://www.thunderbird.net/" - -KEYWORDS="amd64 ~arm64 ~ppc64 x86" - -SLOT="0" -LICENSE="MPL-2.0 GPL-2 LGPL-2.1" - -IUSE="+clang cpu_flags_arm_neon dbus debug eme-free hardened hwaccel" -IUSE+=" jack libproxy lto +openh264 pgo pulseaudio sndio selinux" -IUSE+=" +system-av1 +system-harfbuzz +system-icu +system-jpeg +system-libevent +system-libvpx system-png system-python-libs +system-webp" -IUSE+=" wayland wifi +X" - -# Thunderbird-only USE flags. -IUSE+=" +system-librnp" - -REQUIRED_USE="|| ( X wayland ) - debug? ( !system-av1 ) - pgo? ( lto ) - wifi? ( dbus )" - -TB_ONLY_DEPEND="!<x11-plugins/enigmail-2.2 - selinux? ( sec-policy/selinux-thunderbird ) - !system-librnp? ( dev-libs/jsoncpp ) - system-librnp? ( dev-util/librnp )" -BDEPEND="${PYTHON_DEPS} - || ( - ( - sys-devel/clang:18 - sys-devel/llvm:18 - clang? ( - sys-devel/lld:18 - virtual/rust:0/llvm-18 - pgo? ( =sys-libs/compiler-rt-sanitizers-18*[profile] ) - ) - ) - ( - sys-devel/clang:17 - sys-devel/llvm:17 - clang? ( - sys-devel/lld:17 - virtual/rust:0/llvm-17 - pgo? ( =sys-libs/compiler-rt-sanitizers-17*[profile] ) - ) - ) - ( - sys-devel/clang:16 - sys-devel/llvm:16 - clang? ( - sys-devel/lld:16 - virtual/rust:0/llvm-16 - pgo? ( =sys-libs/compiler-rt-sanitizers-16*[profile] ) - ) - ) - ( - sys-devel/clang:15 - sys-devel/llvm:15 - clang? ( - sys-devel/lld:15 - virtual/rust:0/llvm-15 - pgo? ( =sys-libs/compiler-rt-sanitizers-15*[profile] ) - ) - ) - ) - app-alternatives/awk - app-arch/unzip - app-arch/zip - >=dev-util/cbindgen-0.24.3 - net-libs/nodejs - virtual/pkgconfig - !clang? ( virtual/rust ) - !elibc_glibc? ( - || ( - dev-lang/rust - <dev-lang/rust-bin-1.73 - ) - ) - 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 - ) - wayland? ( - || ( - gui-wm/tinywl - <gui-libs/wlroots-0.17.3[tinywl(-)] - ) - x11-misc/xkeyboard-config - ) - )" -COMMON_DEPEND="${TB_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.90 - >=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 - x11-libs/pango - x11-libs/pixman - dbus? ( - dev-libs/dbus-glib - 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-74.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= ) - wayland? ( - >=media-libs/libepoxy-1.5.10-r1 - x11-libs/gtk+:3[wayland] - x11-libs/libxkbcommon[wayland] - ) - wifi? ( - kernel_linux? ( - dev-libs/dbus-glib - net-misc/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/libxkbcommon[X] - x11-libs/libXrandr - x11-libs/libXtst - x11-libs/libxcb:= - )" -RDEPEND="${COMMON_DEPEND} - jack? ( virtual/jack ) - openh264? ( media-libs/openh264:*[plugin] )" -DEPEND="${COMMON_DEPEND} - X? ( - x11-base/xorg-proto - x11-libs/libICE - x11-libs/libSM - )" - -S="${WORKDIR}/${PN}-${PV%_*}" - -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! 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 es-MX 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 -) - -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' - - # TODO: don't run addpredict in utility function. WLR_RENDERER=pixman doesn't work - addpredict /dev/dri - 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_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 - - # May need a wider addpredict when using wayland+pgo. - addpredict /dev/dri - - # Allow access to GPU during PGO run - local ati_cards mesa_cards nvidia_cards render_cards - shopt -s nullglob - - ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g') - if [[ -n "${ati_cards}" ]] ; then - addpredict "${ati_cards}" - fi - - mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g') - if [[ -n "${mesa_cards}" ]] ; then - addpredict "${mesa_cards}" - fi - - nvidia_cards=$(echo -n /dev/nvidia* | sed 's/ /:/g') - if [[ -n "${nvidia_cards}" ]] ; then - addpredict "${nvidia_cards}" - fi - - render_cards=$(echo -n /dev/dri/renderD128* | sed 's/ /:/g') - if [[ -n "${render_cards}" ]] ; then - addpredict "${render_cards}" - fi - - shopt -u nullglob - 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 -} - -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 - - if ! use ppc64; then - rm -v "${WORKDIR}"/firefox-patches/*ppc64*.patch || die - fi - - if use x86 && use elibc_glibc ; then - rm -v "${WORKDIR}"/firefox-patches/*-musl-non-lfs64-api-on-audio_thread_priority-crate.patch || die - fi - - # Workaround for bgo#917599 - if has_version ">=dev-libs/icu-74.1" && use system-icu ; then - eapply "${WORKDIR}"/firefox-patches/0029-bmo-1862601-system-icu-74.patch - fi - rm -v "${WORKDIR}"/firefox-patches/0029-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" - 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 "sed failed to set num_cores" - - # Make ICU respect MAKEOPTS - sed -i \ - -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ - "${S}"/intl/icu_sources_data.py \ - || die "sed failed to set num_cores" - - # 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 cargo checksums from crates we have patched - # moz_clear_vendor_checksums crate - moz_clear_vendor_checksums audio_thread_priority - moz_clear_vendor_checksums bindgen - moz_clear_vendor_checksums encoding_rs - moz_clear_vendor_checksums any_all_workaround - moz_clear_vendor_checksums packed_simd - - # 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" - tc-export CC CXX LD AR AS NM OBJDUMP RANLIB 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=comm/mail - mozconfig_add_options_ac '' --enable-project=comm/mail - - # Set Gentoo defaults - mozconfig_add_options_ac 'Gentoo default' \ - --allow-addon-sideload \ - --disable-cargo-incremental \ - --disable-crashreporter \ - --disable-gpsd \ - --disable-install-strip \ - --disable-parental-controls \ - --disable-strip \ - --disable-tests \ - --disable-updater \ - --disable-wmf \ - --enable-js-shell \ - --enable-legacy-profile-creation \ - --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 && [[ ${CHOST} != armv*h* ]] ; 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 - 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 - - if use system-librnp; then - mozconfig_add_options_ac "+system-librnp" --enable-compile-environment - mozconfig_use_with system-librnp - else - # This controls the backend of the bundled librnp. Choices are "botan" and "openssl". - # RNP Upstream recommends to use botan. In Gentoo it's preferred to use system-librnp. - mozconfig_add_options_ac "+bundled librnp backend = botan" --with-librnp-backend="botan" - fi - - mozconfig_use_enable dbus - mozconfig_use_enable libproxy - - use eme-free && mozconfig_add_options_ac '+eme-free' --disable-eme - - if use hardened ; then - mozconfig_add_options_ac "+hardened" --enable-hardening - append-ldflags "-Wl,-z,relro -Wl,-z,now" - 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 - - 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 - fi - - if use lto ; then - if use clang ; then - # Upstream only supports lld or mold when using clang. - 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 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 - - # LTO flag was handled via configure - filter-lto - - mozconfig_use_enable debug - if use debug ; then - mozconfig_add_options_ac '+debug' --disable-optimize - 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*' - - # Modifications to better support ARM, bug #553364 - if use cpu_flags_arm_neon ; then - mozconfig_add_options_ac '+cpu_flags_arm_neon' --with-fpu=neon - - if ! tc-is-clang ; then - # thumb options aren't supported when using clang, bug 666966 - mozconfig_add_options_ac '+cpu_flags_arm_neon' \ - --with-thumb=yes \ - --with-thumb-interwork=no - fi - fi - - if [[ ${CHOST} == armv*h* ]] ; then - mozconfig_add_options_ac 'CHOST=armv*h*' --with-float-abi=hard - - if ! use system-libvpx ; then - sed -i \ - -e "s|softfp|hard|" \ - "${S}"/media/libvpx/moz.build \ - || die - fi - fi - - # With profile 23.0 elf-hack=legacy is broken with gcc. - # With Firefox-115esr elf-hack=relr isn't available (only in rapid). - # Solution: Disable build system's elf-hack completely, and add "-z,pack-relative-relocs" - # manually with gcc. - # - # # elf-hack configure option isn't available on ppc64/riscv, #916259, #929244, #930046. - if use ppc64 || use riscv ; then - :; - else - mozconfig_add_options_ac 'elf-hack disabled' --disable-elf-hack - fi - - if use amd64 || use x86 ; then - ! use clang && append-ldflags "-z,pack-relative-relocs" - fi - - # Additional ARCH support - case "${ARCH}" in - arm) - # Reduce the memory requirements for linking - if use clang ; then - # Nothing to do - :; - elif use lto ; then - append-ldflags -Wl,--no-keep-memory - else - append-ldflags -Wl,--no-keep-memory -Wl,--reduce-memory-overheads - fi - ;; - esac - - if ! use elibc_glibc; then - mozconfig_add_options_ac '!elibc_glibc' --disable-jemalloc - fi - - # 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 - - if use system-python-libs; then - export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE="system" - else - export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE="none" - 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 - - ./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}/defaults/pref" - 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 \ - >>"${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 - 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 - - # 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}/comm/mail/branding/thunderbird" - local icon_symbolic_file="${icon_srcdir}/TB-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}-r2.desktop" - local desktop_filename="${PN}.desktop" - local exec_command="${PN}" - local icon="${PN}" - local use_wayland="false" - - 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 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 -} - -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 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 - - local show_doh_information - local show_shortcut_information - - if [[ -z "${REPLACING_VERSIONS}" ]] ; then - # New install; Tell user that DoH is disabled by default - show_doh_information=yes - show_shortcut_information=no - else - local replacing_version - for replacing_version in ${REPLACING_VERSIONS} ; do - if ver_test "${replacing_version}" -lt 91.0 ; then - # Tell user that we no longer install a shortcut - # per supported display protocol - show_shortcut_information=yes - fi - done - fi - - if [[ -n "${show_doh_information}" ]] ; then - elog - elog "Note regarding Trusted Recursive Resolver aka DNS-over-HTTPS (DoH):" - elog "Due to privacy concerns (encrypting DNS might be a good thing, sending all" - elog "DNS traffic to Cloudflare by default is not a good idea and applications" - elog "should respect OS configured settings), \"network.trr.mode\" was set to 5" - elog "(\"Off by choice\") by default." - elog "You can enable DNS-over-HTTPS in ${PN^}'s preferences." - fi - - if [[ -n "${show_shortcut_information}" ]] ; then - elog - elog "Since ${PN}-91.0 we no longer install multiple shortcuts for" - elog "each supported display protocol. Instead we will only install" - elog "one generic Mozilla ${PN^} shortcut." - elog "If you still want to be able to select between running Mozilla ${PN^}" - elog "on X11 or Wayland, you have to re-create these shortcuts on your own." - 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 - - optfeature_header "Optional programs for extra features:" - optfeature "desktop notifications" x11-libs/libnotify - optfeature "encrypted chat support" net-libs/libotr - optfeature "fallback mouse cursor theme e.g. on WMs" gnome-base/gsettings-desktop-schemas -} |