From d6ca4e4f90cb75c323b5988eefa96a04c0d36908 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 20 Jun 2024 00:10:57 +0100 Subject: gentoo auto-resync : 20:06:2024 - 00:10:56 --- mail-client/Manifest.gz | Bin 3379 -> 3381 bytes mail-client/claws-mail/Manifest | 2 +- mail-client/claws-mail/claws-mail-4.2.0-r2.ebuild | 2 +- mail-client/thunderbird-bin/Manifest | 67 + .../thunderbird-bin-115.12.1.ebuild | 327 +++++ mail-client/thunderbird/Manifest | 66 + .../thunderbird/thunderbird-115.12.1.ebuild | 1353 ++++++++++++++++++++ 7 files changed, 1815 insertions(+), 2 deletions(-) create mode 100644 mail-client/thunderbird-bin/thunderbird-bin-115.12.1.ebuild create mode 100644 mail-client/thunderbird/thunderbird-115.12.1.ebuild (limited to 'mail-client') diff --git a/mail-client/Manifest.gz b/mail-client/Manifest.gz index a957f0b7b124..ffdf7bb4624b 100644 Binary files a/mail-client/Manifest.gz and b/mail-client/Manifest.gz differ diff --git a/mail-client/claws-mail/Manifest b/mail-client/claws-mail/Manifest index ac01343cb979..570366a0d421 100644 --- a/mail-client/claws-mail/Manifest +++ b/mail-client/claws-mail/Manifest @@ -11,7 +11,7 @@ DIST claws-mail-4.3.0.tar.xz 6831980 BLAKE2B e4dfb35b7f542ee514613b55286a19e2db3 EBUILD claws-mail-3.20.0-r2.ebuild 5400 BLAKE2B 7a57ec2e4adf3071d321b0648874feba4de3de9a2e180e7bbd54c52a78849e6369495c6fc1c3342017714bbb8451aa1c1f41caa2bf916a743b3d254d28fa888c SHA512 ce06e7de353792aeed8b7630232719252a1f1bb7d36b916faaef6d10652c8cf3822c485b3afecdaf54cddc1533b76980bdb68a8e892d906c282c17e4abe7fdf8 EBUILD claws-mail-3.21.0.ebuild 5400 BLAKE2B a11947a77d776ad69962f36c2e2f59422f1c35cf43616d21fc0fcfdf5575b65e935ea9d0aa2486b75b5aad6111e79d5f27d653efd75829a18b58f16a8fe0c1bc SHA512 c22947c8390849a44597ea6a751119ed67274673e9d2d066cc10a59a81068342e6ced0cbc85bff8cc932cde07a579150602ceb220f5b51c2bb17bd6166415ea6 EBUILD claws-mail-4.1.1-r4.ebuild 5638 BLAKE2B a96c2a34350ecf4adfdc9d1da538a5d430f7071ac7a01dd303abbc79cac8aeef7d481c253e6bfea67588c998937671e802d902af9288ea4df4ead7770f671cee SHA512 51c1cc196d0c9c932e7ec54c154209b830dd18779dd4f6804707d1d2861920f87931b51ad9c92faa9c28811168082d36a0faddde1d073d53df0111b28d413a2c -EBUILD claws-mail-4.2.0-r2.ebuild 5687 BLAKE2B 489a4dd9707407fe47df506c21c64ad98254f9dc6939da76edef5e3e798e4035baa5d8c8a95f2cee389d57b3f6124023cfaa3b2572d145eef26b914b0cb2740b SHA512 bbcb0c1f80555430034f5b522b06d2b90b5f523d44a4cb0fb63abd6cc04e4f7716d92583b20304217ad57a62d60e8b9c61cdf780fcf50b5211af4f93337b4202 +EBUILD claws-mail-4.2.0-r2.ebuild 5686 BLAKE2B 70a128f93bcb2b5b6bff8a2c2bbc6ec98ddeb355295eb6789fadf53cd5c0a8c3d87aed7261d81385ed6c76dd1db20a8ed9c9832479f883589f763109328ad48e SHA512 4317a026939a7639350064e4061d33994c72b56b9fa6a5cd044b96c2d638ffb09c827e2e5c5f84fd1d159673b67d7ddd73dcce50c8ccc0e9e0b47e203792fbbf EBUILD claws-mail-4.3.0.ebuild 5718 BLAKE2B 4219ae7260207b26030d9486a6dbbf73f922d4c5cf940933656933116284c985071ded8305bf24f8fb94fab6e96ad9175ea5d33a2bc344a91bb2c5f84fa4a8f9 SHA512 4addc2330332078566708f7212cbcc722d1d0e0298775f974e2a34ac37b93568695718accf349c0b5d8b99e6fec97743392fb83ec09d3b5f0540958f81569c49 EBUILD claws-mail-9999.ebuild 5727 BLAKE2B d6483a2da9d2c0933ef23f678980b20e9ab37e2a4add3d25637f6ee0ff0851df36ba94595b36e7acce46eff14b7db9f41ed27b2c523df4e55ff4321685e4e32c SHA512 11bafd152cb21aebed676d9f3574b50ca0a1699db2356ae49db1349fa39e8958de745d85e311224c0e822c015a7e3d88fb79549f5b5bcaf4b97efd18103b3010 MISC metadata.xml 1370 BLAKE2B d4e8a3be1636876f73dd0e789bbd1e62cc35e938b84623c4d177746bdd758bea5dd4bbb7d3c58077cac0554c1c6948f07fc4bf883eec70928f76c3fd495faf85 SHA512 e13f1ab08ddebc27da373923d20d4cfc292313a2f63438d55bd4843c90555ead1e4678345c2df6272ed784d52e305ccbaeda749b34e36f325e1de89a63b08e76 diff --git a/mail-client/claws-mail/claws-mail-4.2.0-r2.ebuild b/mail-client/claws-mail/claws-mail-4.2.0-r2.ebuild index 7c2196034cc0..650fd08e905f 100644 --- a/mail-client/claws-mail/claws-mail-4.2.0-r2.ebuild +++ b/mail-client/claws-mail/claws-mail-4.2.0-r2.ebuild @@ -15,7 +15,7 @@ if [[ "${PV}" == *9999 ]] ; then EGIT_REPO_URI="https://git.claws-mail.org/readonly/claws.git" else SRC_URI="https://www.claws-mail.org/download.php?file=releases/${P}.tar.xz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" + KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" fi SLOT="0" diff --git a/mail-client/thunderbird-bin/Manifest b/mail-client/thunderbird-bin/Manifest index f7144520d4d8..70e4e26f78cc 100644 --- a/mail-client/thunderbird-bin/Manifest +++ b/mail-client/thunderbird-bin/Manifest @@ -66,7 +66,74 @@ DIST thunderbird-115.11.1-uz.xpi 588507 BLAKE2B 3975bfea68b229b49831d600354322a4 DIST thunderbird-115.11.1-vi.xpi 772900 BLAKE2B 238958f46845afe5f3751f368f31db13df8297f660d6d6f242dad37fce2995e6a5017e38d61ef4fce581d9eb9a7a88ed43ea10288f66d0b168cac24bb727a11d SHA512 2afdd6d318c48aca73d5bf1f88477bba638c4ed5f1b8cac7919c409a5a5a715819bbf4f752b398ae249d13eccff51beedb4657667112bab6bb32894f58e4446f DIST thunderbird-115.11.1-zh-CN.xpi 771965 BLAKE2B 5818e1a504bf0ba3f438b9a2b0b0ae6647cb9b479bec9fc2165356d4bee86ecf17ef29a06c2e26cb2d0eab9f6b26e8812ba261af03d2e8fc48e39ee5a41d349e SHA512 d83fdbb374359ee1450fe305b85e360781853c114a18597d4e72fc928e0584273a80ab96d4a8bbc3dc8cb11312013bb01dd1d3cf0ee7b974639090cc28e65155 DIST thunderbird-115.11.1-zh-TW.xpi 776441 BLAKE2B 078595591f5f18fbf4fb843b24a22793e3088a03d0ba483c914bdfbf59dc142f02a30dd260a1915c83080b2177a81a1b94d64edc6e1b65457c1592d7a2fdb908 SHA512 14bd6e4c4746f838c7f0813d304c7d861a31623ed7ea6c9dbc0f6126adc674e9b9b73631472138465a23b0f3f463284f9b378cc5367212318bda8dadb913627a +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-bin_i686-115.11.1.tar.bz2 82957038 BLAKE2B 7c0f0d4ae6e349ffd2c86264845cc8e1ad68b260cbe717c061c41211d5647f23178cad4be17ce200283ebdd276224fdaf79d183a42274b415aef9f59e1d7c5e7 SHA512 aa63849db9fdb69059556fab0e24ee19986e28cece8a9617d27b3af593894cdab06b525d2e70d1e776612d50da1eca358b54fcfe5a4081f646ef3485d407546c +DIST thunderbird-bin_i686-115.12.1.tar.bz2 82991105 BLAKE2B f977cc67e59fee69cbe95975f522e0924ec32e62e466d69e93495d76c0dec63aad90fafd51f1a247a41731f6f52bca72a766dad915e9e80196a76f103fdbf54c SHA512 8633729764488ba5e6ddf6f3becc17d1510e17a11991326509c5ffe24f0e9f791b6e523adda44aa9b6e80a590cee4df71870d4ab545fc074a32627726bdf74da DIST thunderbird-bin_x86_64-115.11.1.tar.bz2 80688385 BLAKE2B 448c6afb17fc58351e4805c533548a33283195993ae9edbc2ce932265d96b05d3b584c7a0e7391a8a1804f136432991117f23e61609b80b749cb51563af567ac SHA512 2f192a45b14d7be2958bc2d2c6faf1bba0c094713ceaadc30a43184dbf2aa27ce6a507d7e4242255d1e6365fa4b8042d62bfb185415dbe767a611fe8e54a7ba4 +DIST thunderbird-bin_x86_64-115.12.1.tar.bz2 80593518 BLAKE2B 2f4f237476f34bc8e1a367d17e1af5fbef435939537ff01a5af79993cb42b404a0f85e0fd276866a62141cfe8d583c5a70856a9adfcc530ab69ed54c801b6c04 SHA512 d0a9fd7415931413cdf4c4f58c33d26194d6a88e617049585851fcb190b350caa7095ec315b4ad1e6e2607c0fccce96dfdeabab4c0acf863b5d8c79c7090cb9f EBUILD thunderbird-bin-115.11.1.ebuild 9025 BLAKE2B b920c9d10cd4ab8c4e9167f777fef46e6cd254c8a7c41955bf68bfa609b3f81170147b2e46910a29db50b9cc655200421524f2918b63ab7c43f370362432830a SHA512 93b42f57a301b7bc9433a7c93d042e7f8728f6bdf004cd5e3d9ba64f18059adce79cf534ee3686246534ab3509ff5cd4a2f5fc20cd9945071431f0ac675a520f +EBUILD thunderbird-bin-115.12.1.ebuild 9025 BLAKE2B b920c9d10cd4ab8c4e9167f777fef46e6cd254c8a7c41955bf68bfa609b3f81170147b2e46910a29db50b9cc655200421524f2918b63ab7c43f370362432830a SHA512 93b42f57a301b7bc9433a7c93d042e7f8728f6bdf004cd5e3d9ba64f18059adce79cf534ee3686246534ab3509ff5cd4a2f5fc20cd9945071431f0ac675a520f MISC metadata.xml 255 BLAKE2B f54493c82293ca95a1ffd16d6199055650b0aaa18234716339235bab3f14a87327cb04fac6b543f973b3fef8047412e54edf72bf0b8a9424f4aa1d2eb0feec30 SHA512 28c0ab3671ed2c65cd9694181f7f9c4a8bea53dee0a0a06f0d9086166317a87611017b105d5150167597c45a7dd8921182fd6bf9d1b3fc7408c0e94f36189e33 diff --git a/mail-client/thunderbird-bin/thunderbird-bin-115.12.1.ebuild b/mail-client/thunderbird-bin/thunderbird-bin-115.12.1.ebuild new file mode 100644 index 000000000000..0ddec45f3444 --- /dev/null +++ b/mail-client/thunderbird-bin/thunderbird-bin-115.12.1.ebuild @@ -0,0 +1,327 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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 desktop optfeature pax-utils xdg + +MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/releases/${MOZ_PV}" + +SRC_URI="amd64? ( ${MOZ_SRC_BASE_URI}/linux-x86_64/en-US/${MOZ_P}.tar.bz2 -> ${PN}_x86_64-${PV}.tar.bz2 ) + x86? ( ${MOZ_SRC_BASE_URI}/linux-i686/en-US/${MOZ_P}.tar.bz2 -> ${PN}_i686-${PV}.tar.bz2 )" + +DESCRIPTION="Thunderbird Mail Client" +HOMEPAGE="https://www.thunderbird.net/" + +KEYWORDS="-* amd64 x86" +SLOT="0/$(ver_cut 1)" +LICENSE="MPL-2.0 GPL-2 LGPL-2.1" +IUSE="+alsa +ffmpeg +pulseaudio selinux wayland" + +RESTRICT="strip" + +BDEPEND="app-arch/unzip + alsa? ( + !pulseaudio? ( + dev-util/patchelf + ) + )" +DEPEND="alsa? ( + !pulseaudio? ( + media-sound/apulse + ) + )" +RDEPEND="${DEPEND} + >=app-accessibility/at-spi2-core-2.46.0:2 + dev-libs/dbus-glib + >=dev-libs/glib-2.26:2 + media-libs/alsa-lib + media-libs/fontconfig + >=media-libs/freetype-2.4.10 + sys-apps/dbus + virtual/freedesktop-icon-theme + >=x11-libs/cairo-1.10[X] + x11-libs/gdk-pixbuf:2 + >=x11-libs/gtk+-3.11:3[wayland?] + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXcursor + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXtst + x11-libs/libxcb + >=x11-libs/pango-1.22.0 + ffmpeg? ( media-video/ffmpeg ) + pulseaudio? ( media-libs/libpulse ) + selinux? ( sec-policy/selinux-thunderbird ) +" + +QA_PREBUILT="opt/${MOZ_PN}/*" + +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_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 +} + +src_unpack() { + local _lp_dir="${WORKDIR}/language_packs" + local _src_file + + mkdir "${S}" || die + + 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 + MY_SRC_FILE=${_src_file} + fi + done +} + +src_install() { + # Set MOZILLA_FIVE_HOME + local MOZILLA_FIVE_HOME="/opt/${MOZ_PN}" + + dodir /opt + pushd "${ED}"/opt &>/dev/null || die + unpack "${MY_SRC_FILE}" + popd &>/dev/null || die + + pax-mark m \ + "${ED}${MOZILLA_FIVE_HOME}"/${MOZ_PN} \ + "${ED}${MOZILLA_FIVE_HOME}"/${MOZ_PN}-bin \ + "${ED}${MOZILLA_FIVE_HOME}"/plugin-container + + # Patch alsa support + local apulselib= + if use alsa && ! use pulseaudio ; then + apulselib="${EPREFIX}/usr/$(get_libdir)/apulse" + patchelf --set-rpath "${apulselib}" "${ED}${MOZILLA_FIVE_HOME}/libxul.so" || die + fi + + # Install policy (currently only used to disable application updates) + insinto "${MOZILLA_FIVE_HOME}/distribution" + 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" + + # 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="${ED}/${MOZILLA_FIVE_HOME}/chrome/icons/default" + + 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^} (bin)" + 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@:${EPREFIX}${MOZILLA_FIVE_HOME}:" \ + -e "s:@APULSELIB_DIR@:${apulselib}:" \ + -e "s:@DEFAULT_WAYLAND@:${use_wayland}:" \ + "${ED}/usr/bin/${PN}" \ + || die +} + +pkg_postinst() { + xdg_pkg_postinst + + use ffmpeg || ewarn "USE=-ffmpeg : HTML5 video will not render without media-video/ffmpeg installed" + + local HAS_AUDIO=0 + if use alsa || use pulseaudio; then + HAS_AUDIO=1 + fi + + if [[ ${HAS_AUDIO} -eq 0 ]] ; then + ewarn "USE=-pulseaudio & USE=-alsa : For audio please either set USE=pulseaudio or USE=alsa!" + 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 + + 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 +} diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest index a145ac77a015..eae6acea1a39 100644 --- a/mail-client/thunderbird/Manifest +++ b/mail-client/thunderbird/Manifest @@ -70,5 +70,71 @@ DIST thunderbird-115.11.0-vi.xpi 772902 BLAKE2B 3664d1ac5d06382b26c3e41682d7b028 DIST thunderbird-115.11.0-zh-CN.xpi 771965 BLAKE2B f29182a0467db6155e6ed95b60ae68f415dd8455d7a6ae86ecd2ef879688c361fb38cb71c8f17c11dd0ecd68f667b8d3e68674f9b3b3ed556ad7afb28d12b045 SHA512 075f922b324cb22ef6adefec2173093495139eff0fde93e4cf4861c7d054aa53c082938268cc4488ff5059ae13a8b9ee31adc1094c8e2ee606f703294e4402b0 DIST thunderbird-115.11.0-zh-TW.xpi 776444 BLAKE2B 868092eb289b5e2324011bd670961656d68701719ba268cdef5f91060a20a699283b90402ff673f718036b95b09835f276aabc20e0d90131cf76d08a1c7dc5bb SHA512 3f9b7c909c232b3ed6a989546bc90cf62443e348b628b39b97d3d0a5425fb1950b8bfc805495a1cb69adec1358b21b0838f9343e452129f4ab3bb8d101724659 DIST thunderbird-115.11.0.source.tar.xz 530402016 BLAKE2B 9a18a24a229e30bf7f11f075583e6da752448a2fd927c03177765e10c128cb6fc125ccecb534d6a82619693a01fe86f9c5aa472862bd358fe1e69844bbd32124 SHA512 002f783cff7f2b50d9a29f20061fe55a1f64487b38a18dcb49217c3d7b99c2852af842decbd0347939aaf4c4c73ae66a8b04527ccd1b6db7f87aab402cb84ca1 +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 EBUILD thunderbird-115.11.0.ebuild 39449 BLAKE2B a5a4b2fac3438be5332861bb8fd4ed5bf516b15131063364cec8131d5fcdcdf9200aba9134b6718c3a5b5a91aab78d4a8c0403517cd7131b6c82c75a2f6f273d SHA512 358b973200dd5385bf9e453c851050ac44afbc74bec528495b916b8e3bfdfa6c8e92c20cb2f91e383c21a96571d14b1d7a822ed51b3e938e07f3721ea93be4d9 +EBUILD thunderbird-115.12.1.ebuild 39451 BLAKE2B 8699a36328b3e8fc0ae6fa6bfa2241f4d5dd0610dacfd6cbad2a6c7d86ee1fa058a94fe2005df89d32910c81a3798b6d22326809be02bb76443fc5beee33e69b SHA512 e83e6f40056341548a6a482f4a1dd13c8f618489c8ebfa37a0776fa4c0c07c96f3f6199994ab384ba9c83f329218cb2b8e8f6e133ab3d11e67ce27b271af373d MISC metadata.xml 2387 BLAKE2B 3602296d8cca60f79ea66089332dbce63b9da3625e476659e0a663966e65bc060e67b263c8fdcdbf8fa5545adf7b8f958cc36f9011459c715ee31bb494e7ce5e SHA512 e51ee84ed715cba36beb240db27265ac37b8df684c0e98f3b81ccf7785c1f465f1bbe3729c1c01717445e787129b449c009815f62a7455ea3fc4db8d1d9e82c3 diff --git a/mail-client/thunderbird/thunderbird-115.12.1.ebuild b/mail-client/thunderbird/thunderbird-115.12.1.ebuild new file mode 100644 index 000000000000..a10f1e38238d --- /dev/null +++ b/mail-client/thunderbird/thunderbird-115.12.1.ebuild @@ -0,0 +1,1353 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +FIREFOX_PATCHSET="firefox-115esr-patches-09.tar.xz" + +LLVM_MAX_SLOT=17 + +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="!&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 + + # 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 +} -- cgit v1.2.3