summaryrefslogtreecommitdiff
path: root/mail-client
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-12-21 07:51:26 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-12-21 07:51:26 +0000
commita473f013073f9c57e59e7d30f088eee89312dd0d (patch)
treed61e9b56d311b630806bf50e85fc6b6ffd6825d0 /mail-client
parent2ac4d6eef70b0af1c7380b190dd14c8df8a4b9a5 (diff)
gentoo auto-resync : 21:12:2023 - 07:51:26
Diffstat (limited to 'mail-client')
-rw-r--r--mail-client/Manifest.gzbin3391 -> 3388 bytes
-rw-r--r--mail-client/thunderbird/Manifest66
-rw-r--r--mail-client/thunderbird/thunderbird-115.6.0.ebuild1331
3 files changed, 1397 insertions, 0 deletions
diff --git a/mail-client/Manifest.gz b/mail-client/Manifest.gz
index ade2110459bd..4160f098e614 100644
--- a/mail-client/Manifest.gz
+++ b/mail-client/Manifest.gz
Binary files differ
diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest
index 288cb5f74864..1ac23feebfb4 100644
--- a/mail-client/thunderbird/Manifest
+++ b/mail-client/thunderbird/Manifest
@@ -135,6 +135,72 @@ DIST thunderbird-115.5.2-vi.xpi 744073 BLAKE2B 21fd48e75badf6314e0118fd7483edc6f
DIST thunderbird-115.5.2-zh-CN.xpi 742532 BLAKE2B b3c121eec6e1347295e269862b9f107137b5858129dd84ba7eb981996e132b943d083a8b78fe66e520ab3712d664e145a49f382067117e410fc05df4267389eb SHA512 a857eb75cef56d7e9d472844e31b89e871b35901c4a58964a6b803c8c18265ae36ec24b27881cfda7733d49b1ccfc74271b3169cdc02568f92426014177aae96
DIST thunderbird-115.5.2-zh-TW.xpi 745480 BLAKE2B b44a471007684a6f633ee7560dc2c336271a3d3e5ecab866f10bd976eeb30bc4e4bacb69d48e396aaa814868de4886f964d4e5a8b58abbb1da9b2dc734750f2a SHA512 2389ec68c15fd275a7f0d71025ad7a87cb7e3b567513ae44e80ecc19eaf00e15bb6bdc85fb15c52deb5d8e9a0449ccc86a36026e0bfeec2c32cc16b994258e28
DIST thunderbird-115.5.2.source.tar.xz 531855444 BLAKE2B 1a71852b72eb70edd4e157b9199d32a9f9746a07934e334e7ef9e020c1bf3087a902c4957d4afadfff6d7f6ab81178c3489cd7975d7f03f2ae0e1ce14b585e30 SHA512 5b6b534e076aad916424767886ec9f67672780d0df387e41e8651240fbcbb44415875e11cebf8fdde80b7d7f4bde181fe713657662f1f5f90ffdd807d4fcc63b
+DIST thunderbird-115.6.0-af.xpi 542270 BLAKE2B 8822a1636024a63deb91c5cdbbd8f3d167d4d65035344438e98eb5705f985a77e8e6491b8b03be1ae3ceeb40561ec49f711fa2bfb772e74dd6f4ad4b465d477e SHA512 de7ff8a267bd0ab3ee3725f6ad9c5efd625ad12e611d46d2e159aa1d6e43ff978ec7da2e6052cc3bc7eb9c22e9ad688d643f15f31513eb26d6a269e3ea0532e7
+DIST thunderbird-115.6.0-ar.xpi 654454 BLAKE2B 956487488643556bb0ca1cbfc0697723288a007c1399126123949f93ad0ec88eb2d057c01b08de5df73b74bbcba9e11922eb950fc250d810157dfe5a1221874c SHA512 6b0115559934892f22b9a478dc3f79616d3ee7d0d1403d5e0d0c1aa74036c894bcb55606125a6c7c758fe2eb42cc8a0e91c68cd3863ad2221068ce8d5b6b944c
+DIST thunderbird-115.6.0-ast.xpi 560905 BLAKE2B ba14897b7d57c67889da747a7942472d6f1afd9e8dedb930b9e27c4d996530676429a1947e957431f11a397e81ee79eccad393afbc12d135af8870e3fa707934 SHA512 7b06e3e24ab46394227d1bdc9b0b63bb9dde7b15f4ddce150b0172a0d00fe41bf3f023fc098f172f1ad73b5672ab285e59afdd8ca7c75f6d77bf637d625fd764
+DIST thunderbird-115.6.0-be.xpi 693665 BLAKE2B 4d648d60501a19a78bc58fbac8919877629aef5d658e3b123fb0357463fae81ca9e765927b91a6527de8d9cc6d55b7da3d784e8ccb095dc1494614c87fa3ca99 SHA512 250f912d83dad2645fddefc28e58f358baced7d941ac4df0cb20e63da7f08b5f4e44e1793d851839b517b8efc5e8aa9058979d1699660d61f763e877f86f3a66
+DIST thunderbird-115.6.0-bg.xpi 766943 BLAKE2B cb4ae7f61d22654805bfb4a1cbce4b008df8553478d6835766fb4e5ab46b8d8d663a43b67a3cf01580bf004e44dfd9f7ef01ed9d420bd718621a9ffb8709e2ae SHA512 15ef396c6060f65e7f22951fed2c89ebcf4a6f018062554b4c1c8956e225ec0f74f507fb6127dec45a56894d06a0d83e86ac45ef1dc426ecdcdb63ae39b9e191
+DIST thunderbird-115.6.0-br.xpi 626666 BLAKE2B 8732b349cc23d1e1dcf83887473128155d8792d4f45bec49c3263b6aeef8e6d5d5777d5660ffa93b5cd6cd60db9cffdb4d8c8edb70e3256dab8bd457ee240c5e SHA512 4a1d60b641c8a81fe264b4809e97f6f933946053bdf7f96170bed977c295bcc9cfcd0efce3b74b9170bcec769b46b2da0d2dbac56e3ae3184804f55f2db39ee7
+DIST thunderbird-115.6.0-ca.xpi 673454 BLAKE2B 6c1591642cffb12d41f9f46be21469faefa36bc8bd44492a1e4e8e6712ece8c9e9d876d938de561990bd61fce57fcdb7b5683a34529e659372c0dd697ae7fd6f SHA512 85e1620463d43123468d1dce8183f74efc4ca4c46ec4eed609cbd859d6bb996d8235ae974568de60d6bdd7a04d03418af9b1f9cac9b3b85164641cd72e6f0a55
+DIST thunderbird-115.6.0-cak.xpi 658499 BLAKE2B 59cb817b5310f674bcc36bc30318536c318c6a09763bfe5cb4ff6bef09fe53bda43ebc0db6f526319e05709bdb267ffd28a88d53caff80805cb76a238de4170a SHA512 4874674265cd8667f85c47c4f04342dfda94a679506e0ab27d6ced6bf91d2cccb46ff365b0f001bcb80e031b521a3042f9d48d19a592aa8cfa06872e0c95249a
+DIST thunderbird-115.6.0-cs.xpi 735013 BLAKE2B 052ed3ecbacb01a405bc9ab8359540b41be849a45db8b79e8ed467ced8892b5e28e96c4bdaada7d42860c41dca011aad673d1594425f796d664f442ebd8f9b52 SHA512 26658377a3d9bc37c225df83166a6575b652ecd2e8030e9a87cab4c40d9f2b14cc08c687948d615a4a080fec23ed7843dd6ea2bf271964f0f31bdbd918e623c1
+DIST thunderbird-115.6.0-cy.xpi 704420 BLAKE2B 9a3f2bcf4316a634b15f8774cf05596c49011f622929e917cf9e4d1d8b44f59aa514a987b5a4926d37029966d11a1486b4b0e4bd42646b9950610b709d01ec55 SHA512 aff4151d3de7fc67a50bb55432e0b4c2c60ef9c1d87f6678df5aab89bae8874ae2cf8e347cecb25d2504db43082d34a642316847aa89c17e35c15a3e715512dc
+DIST thunderbird-115.6.0-da.xpi 692025 BLAKE2B 99ccd87b786521f9e7bdf3333ce2593eb6f1361ea6886e4a16b5c53ed0e7d27dada4777a8a94e03e301a9e2b40b98a12f15c659facddcc476789579f088da55d SHA512 035b8e81dd6ff442414d26dc7727e18a97fac032dea503621d8f5e24c59bd3622543b66b703bb0947ac60181742196cc764550802d832bd2e7805d2d67cb1efc
+DIST thunderbird-115.6.0-de.xpi 721332 BLAKE2B 4381ffeaa6fb6b06eac75c3695111b4c644a9b8567f0f98f030d6cd578ea3b1177ab3462c11807187dbb6df14c011c09e936e0f29d0de7e22a67d433d403f985 SHA512 aad8d9c67b95c74169caa31b6baa48c505ab9b4cd0d39cc80ac1063991d94410f83e72e7f2d7c557a7ed108bc5d08a5bd9f75c798a988957b4ed29a444bfaeb2
+DIST thunderbird-115.6.0-dsb.xpi 738625 BLAKE2B e6e3b18f91302a67984b135e2eb54ddc9a9eed8c54ec115bf2743d138a99947b33ac5095b8f03e0c5779c23b729d9c38063e2db57e59dfe4970c995a16998617 SHA512 a2731f0fe4eedd997c7e7fe87f08a7d4f14a7a3eb4fcf397abf0e71d281f481bd6a3658141ea97461aabdda0506428ba46f1bbedeefe861c302044aebef63881
+DIST thunderbird-115.6.0-el.xpi 838294 BLAKE2B ebe5ea77ba7814b7420a3e2af7bf9138c0c0099f777013a05081477379b0464bce383ef4952e18908ef03fa62c61109b2f6785ec1f46fba11c5f3c9a2bd155f3 SHA512 ee0dfc43cea886a380f8452d8c45ee366c246e40b440a3f04227ef0bb2a5f9d7792069b7b2c93a159145e97af55af90463147986e79b275c010682ee55f079a4
+DIST thunderbird-115.6.0-en-CA.xpi 656773 BLAKE2B b6e9240b8a9cf9d6a54883937dd834ad32965a93ee121f72fe7ba3a94355e02c5f45ad46a4ff8963ce431392dd52266986aaad0a61f9dcbfa96c21f09b5b3cbc SHA512 689bdf8d3becd844453bfc5f79cf40b32a269f1a8a59e21140d5c0f4ac33113efc011f637b8419b27f9c5632d29dfa9d9b289c3f49acde5741935a74c19bb4f0
+DIST thunderbird-115.6.0-en-GB.xpi 662678 BLAKE2B 5fdf589456110cfc32c7dabd31fc7fc9721aeef53a72f2c1f9c2e3924d6f008a05a465a9570e3bb0df1f93fb9e07cf5ab3db9bb6d3da6a333536e6f43ad03c11 SHA512 fcefc18ed7dc89e4914b60590a2d15974a875e54e925876e9b3fb6644d417e6e0cb02b3c232c6bfa0ce76d911df9a943ad47d910b4aa8c02dd9c547e03595e90
+DIST thunderbird-115.6.0-es-AR.xpi 714479 BLAKE2B 353a02dab21c8682e689ccb47fc770c34815799fb206f11404396ade7eb26cc3b0d33a1e318a4c936c94be72648a011b445084747ce376da00efc5a9b92356a2 SHA512 dabad0943ddea13c062697677fd39ac167323d05ac2457450adb03bafd9e9315b02c8028049aeb1a7da73efc9c07d430316b5a67e092c70d1636f664816fcc9f
+DIST thunderbird-115.6.0-es-ES.xpi 676936 BLAKE2B c8af369853f9777b8a38712b4ca4171b0dfc2571edd4ecada09d9ba5500c71cd8330107d518eea7dc25dcc9a6840d03bee1cf4543a1e9fe0f8227efe104cdb0e SHA512 a986fd4f3f24b8ab44377f1763b3b1393df5b0b6397618bd6f0b3bb4c8233355d8d8614f4f6e229a3e053c3d51bcf5ea7c274eca39b343180f4892e122446e8c
+DIST thunderbird-115.6.0-es-MX.xpi 710432 BLAKE2B 5d3d95372d193f58b7c704e4fc402ab874fb2498298da24310c61fbc20c0f99871e372e366617a97941995cb250946c94b016357e9d52b2e99f1912199f77159 SHA512 8b0b80d7b15ac73e67881a83f095e5f4d92e3f666d3b6dfc2e9c7759b1156db50930e9f564b211df219e3f30ebdd842cfa987a09985f184f95c1672d8af6df70
+DIST thunderbird-115.6.0-et.xpi 671087 BLAKE2B 52d31d60e3b213436d336c539d9aee475cf370369ed6f8519591ad0d49b19cf964b5da4fab9ad4e6107a3df8bddd86454909fa3d910a59c02d987f3605b9cf15 SHA512 1571d4c6b6df1410c8e791870c7ebef1553869b029649aff00db9b816d1492e827be3f4232167454aee5593433029fab228791141a5f3deb64d2a8baf58ef582
+DIST thunderbird-115.6.0-eu.xpi 694625 BLAKE2B a281fe20dc723c621deff7ed45442cff885f8c62e7409d45cf0be421825ad0c3ff898b8eb6a45bde54ff8aa883071f2cdb6f5ef3f79297e43854e48ab973d436 SHA512 504fa751eedacbe65ee672458d3e4620d793e83ae91e7503b7862af070c5340befb3d7c1830a35c9b9cb63acae9f34c3a9109f8cb86475b3f1aef30b558b413f
+DIST thunderbird-115.6.0-fi.xpi 693969 BLAKE2B 0e2e23217f65db561e3f720908c79b285693a75578235a178864ca406df75dbc70fbfa172615652bc114722cb30b36c0e5c40e83856ebf80fccbc32bae5466d3 SHA512 11adabbb4cd240d7f57b9c8b683c073dba236d8f54d53ead48e3bfe82f6867bc4da9d623cd785af1ef64fbcac00ca8cda284672ef8afaa3d667165db5ac89799
+DIST thunderbird-115.6.0-fr.xpi 726650 BLAKE2B 9a29cf37476ec0a86851643a779ceb8c0a743cd28d105ad1bd68e0023f5badae87f6b2cb2619496d7bc2f68f519d8ddf6bb9f5ad590d3b9dc30c970617838f08 SHA512 1d76dd1e9e4717b014bc379d7d2942e4ddf02b223c37cf27e3320c6151f0fd9c0130b35908cb769611facb6db95b24bd036a2e4c4d9721e66eb8682d54862b40
+DIST thunderbird-115.6.0-fy-NL.xpi 709255 BLAKE2B 25c895a3439adbc2b22017618fc4eb6c0b4a007492789642d7fbe638495b906f613c2a2014482214c53dbaebf8edf746562bf6b06a617cbe39bfbdc6600380de SHA512 16415e17ac18787bdedcf59c1643ea840ecb0628fddc5a80c3e23bb709b387fbd02c54ff85f54a68e3f59a68acc829b958b4e5334f9bf4eca6fa7cc7151725a2
+DIST thunderbird-115.6.0-ga-IE.xpi 602004 BLAKE2B 94760845e188779c0cdb3ae4328993fb7a56918f804e21135d4ab8d07d62cdeb683f1bedeaf45c56e641ffa34bd39b3d4fb3cebb030a4f06bebb0326c545229b SHA512 3388b4dfb1d9c2faaf5f46fb355bd3041578e8b03233fd9f6d2282df538f2f716012909714f336bb7058df96151a0aadbd10019b819f1002b0ba893ae21a4a7b
+DIST thunderbird-115.6.0-gd.xpi 702941 BLAKE2B 6728b3f90ad7c79014091fa0028f73f2376790f71f4f65a998d2e825f1f1f0f1a66dac80fb775995d4e5d4a81a2adfa186504d05f811b34d438d380b6433418c SHA512 12d081829030a569107acfb99de6d583c01173c1170af4a9906267f0cea709ad70693fa674112fdf08316d6eaac577643e0c194c0e632fb2dd4cd0dceea51c8e
+DIST thunderbird-115.6.0-gl.xpi 706705 BLAKE2B 7b10a4c0e9b2199a3fa1b0f9bf06791cb5fa4a8bdcfa5bf9e36daf69ae6a275049a9399f81499073a2782f46829023ee5d2c3ad2725de6e4e80d56196b35d358 SHA512 42c86bbc93f8467ab31c9e0611438f331e06927c6abc0e88c2fffb677e5a8b798060c71466584a4d0bb7832f197d90caae5ff84b48780097043639229ff7f60e
+DIST thunderbird-115.6.0-he.xpi 667340 BLAKE2B 65c18f5d9b0f7644eef10c74e12308b702e998e30e6746cdde80a01f8fe26bbf8dfb17de858e9fb77fd0be56d7c253f2d6c9b0b355062c2a259a9fff58e4ac8b SHA512 fef30822c6dc890cdc2947eabd7be9681d01da2f923d954c21406d3ad38e8eceafa7277d187796265fd432a4ecdd18c1500b6c060a6da6e2f8c654655ef09744
+DIST thunderbird-115.6.0-hr.xpi 677272 BLAKE2B e5e0d0cb9676e993fad27ee4c19267be13271fd0559b932d57cdf4c6b1dc77fea93738dba2407d057af222318e64d3199406d2604b483667409f0a212b43e290 SHA512 b39ab0bbba9ca2198b27bd2ea40b1a189a0ba3d4090eeaab8ee12be50496d9bd0af61566bafad2da2447206b36cfec01a1a9575a2fbad93c61fce4a5e5dbbe0a
+DIST thunderbird-115.6.0-hsb.xpi 734932 BLAKE2B 4f771fc2db3de4111d1360e24441abfbb493fde3f23cb31ab50c33fd857a39c48542b3272fa0acb797875163bb68aa3ecae6f282f29d9ab43f89dcf95f336e1a SHA512 31f0f3c215f8dabb89bfe2e8662db9d96263a604d05e71caaaf62c6051b5217ff540224d3d4faaa5c8c73a5f67320f238b3b54087c50ceaf84d176413eb35b86
+DIST thunderbird-115.6.0-hu.xpi 737865 BLAKE2B da1b98c7df6eeb94840f8423159322430a41eb5f0c92434586b6718afd45265b504c1e5b33783adc4f37f16057edbcff9fd13dbbe797486a58bfbdfab9e43f0d SHA512 546337ba1619e6040bd1903bde28b01ce5c7793630ddf554f7eae1b46ed56b2a2ccbf8e06f63520a684ad54d081157faf0c24a4523e326282c23c26abd82c3bc
+DIST thunderbird-115.6.0-id.xpi 642168 BLAKE2B c02f9e201e02230afd428a74436af961ae05e0953c4575f85f668008b1eb9c233c9836f8b9f40892bb714cd686f13a1d6d21ea8e2494d9d2d78bf42ff37f030a SHA512 53d41f9d180db0d744e93e16be70f502040fa0ded368c63e967348fef795c04dde4d3e9360487db949398390db24019cd8f9332c8f9d5875ba90767e53bbabcd
+DIST thunderbird-115.6.0-is.xpi 703277 BLAKE2B 7425c6e2f004a2516165db94adca55a420230fc64ba1d0ce894f870ac89855fe182c922314842bff73569e089efd3f5de02b92355d3e056f5fcca46f903c2d43 SHA512 c36087e0495810fdb217d30f8cbe5b5e99c0218187bd0be4f1ddd754e3b8188c036afcada3cb2edbde28eae6171204e0cb3703b0b50bce6a83b2d6acc4eab96f
+DIST thunderbird-115.6.0-it.xpi 644849 BLAKE2B eecd9077e09865200ca1709024fd597c23f7664729c9da6519713051cf433bb7163138ea48ea6b48c2694cdb9edb6971306cf25ced2d31debf243f0936636299 SHA512 a0bc3a096feb10f63e96cd456fd8b686779463e3ea670c794ba03df45501162a910c43c206296f7102398eb2b8519e8f56d0720df9e2bb6ad6e1577a0ecb342b
+DIST thunderbird-115.6.0-ja.xpi 779843 BLAKE2B 5774702075fad00e11b40a5440e6fe89c173322d434c7a837abd672e21c6c7ba0e5c01fd7e0491233e132cb4c38ddc45538dbb41dd3ea5f08769501438ae6c22 SHA512 af0690fc56e21cb6483cc80e66845e3ebfa4333f9c4fde8f5498da15d758222bc659b68930d2e4f1e26ccd86a71ee352dd37f879dc6365354aaae7013e4e317a
+DIST thunderbird-115.6.0-ka.xpi 765373 BLAKE2B 0ba450832ece87e5667fcd455ca794b853e217da5684e2b2ec87f0e28d1e270f7090e9153b7ab0c5222d9ba06fc3012affe42f8e2709d925dee8e2f9cefbe864 SHA512 b46fcda7d137c0f7330f8e129b2ccb740c2d90dc663012893887fc6d5ba938647ce5b9376fd8a60ac8cd52449295b82e06243683deb8474b1752300a65b02367
+DIST thunderbird-115.6.0-kab.xpi 699206 BLAKE2B 063b29eee6944ce5c8e72ac874ee9cce0eef8eddb82b7b121b3697837e40da62abe3c365167a5816751604f324e5ba08a1e8aee6e8e9240b633e1f8d08508e9a SHA512 efd334d0e03c59871950a7c2bb0d790e7ca37df43e858d5ceda2abafe69a8433fad01207e705dd905c34ca573093d611d3ff5c2ad244d5f872238b1536080dee
+DIST thunderbird-115.6.0-kk.xpi 806674 BLAKE2B 630bd466c1d4e8348a591797a3e3ad3b23486b096cd5ad2f92de6da51b2a0a41585f0b1d63512a35f180eba1752418b5a1888c0e6de1dc0bd14edc43fd16ced5 SHA512 248db30b4d9f4b43f2e287ca35532881cb63a640e53c8a675836c2d38d65828504a32bb0cb0e9782e0e331f842d244bd795ece95e578c3fd6ba34236ddd2b502
+DIST thunderbird-115.6.0-ko.xpi 715689 BLAKE2B 85820b0cbb578a5e062c9194a0beed8c76861a916a9d7cb6da505016f97ae5da97a98694760c69b7f87ed54f602ea40eb66bc7141ad2437b26353b394eb58789 SHA512 6122eb7fe0fd01de43895621ef80c868b70fa858465b5d6c0a4e311ac9c0a6ac7d4db7de3d049706f56e63454fd7b1b28c87a2170aaefe99a8ab38961046c0f7
+DIST thunderbird-115.6.0-lt.xpi 679456 BLAKE2B 2ad83ed2e98c9e87aadead8802617edec884760ce9098789083b97a69c6e8b7ac5e687feeaba1337101f202c981d31ad5031815cc93dd5deb92f67891bfc1d02 SHA512 5dbf61b4341dfdc1dd61c215e4992cb60bf90f68f58b5492e908c020d9ad0ab1fb13cb0f11897b601ce5d64ae5e909b221c9a56c23eace020ab0c1bc161d0b4d
+DIST thunderbird-115.6.0-lv.xpi 604299 BLAKE2B 5f8724c4b4206ad775b90b1f4c769625d74d0e8003079662a109782288e18c954b54da76c6d12628a0752fa56d419fdc75c013e722e65c6d9e57038bd6c637f3 SHA512 b12da106721f7476378653ad8f6afd6c8f81fd58a4a24e81df994391bd4c8728fea43438c581280c582375010ae0809d6b756fc2edf153ea5d835b2a0ec5342c
+DIST thunderbird-115.6.0-ms.xpi 565448 BLAKE2B 4329f7ce710ded76de077d3f1e053a90cc77d2f9f2345958cf4f6010573e013521a5d023a119c538b9352f0af2038aa741dced24dfb0c455b9168ad0f7124644 SHA512 554661e54fa94bfe67198b58a6834de4808373c400352c0adee6679cefb017d29c87567ee3b279648f99a2872ab7ae03c552ba985a44fd1de50e0ab224b3c37a
+DIST thunderbird-115.6.0-nb-NO.xpi 653213 BLAKE2B 603fc723d92188408592478cd52d2913b26cc54c5f3cdd8b02d418244a59de4ada07a3f12563b5eeaba496c8fd6a8a25c67b00c9365075f1ff83930b5bb4b675 SHA512 b130f3c91f71592b85f3969a6c2c51dfd5283b1015108251a779c6ec2d02e2924cbe99890745409bcd3962bf7964d8af52932e3679951193f42ec3868edeb718
+DIST thunderbird-115.6.0-nl.xpi 700733 BLAKE2B 2db0e4dce6561cfa09472365a6c96467a31045801931cf138b487da0122682400e8b23d34a9599f6b851db03a1dfdf71f5deabe98b4749d9c47b66586f52bab0 SHA512 9a06b30dc03e7009b045a2ddfb1cce9ea7f87bc3fcd4600ad2d7421a95c5ac0ee5a8548103e8ca100768b0173e4f123063594242423e5fdeadf2c7a44da8fb8e
+DIST thunderbird-115.6.0-nn-NO.xpi 672842 BLAKE2B 199468749feab8a005a1cd1d1037f9e35348a10e2fec291ac233102fe962118bd5940b6abe51e4f97bc65091fd251edb3c29ee4b811b17b6a2935f495873b2e8 SHA512 78d2fc46a80e118f98ba6c02179ba1834dd46ff64822a5dfcc5565b1ed617fc65de3f577716db5f643d301e9a7339c2783177f938cbe3da62329b48d9e1e1282
+DIST thunderbird-115.6.0-pa-IN.xpi 658003 BLAKE2B 3c796fc8abaa1037a9606f173d56c388c9085a095aa42ad248494d1edcfcf63578ba91014283d8eac68dc60c50f1b16e9084967952a97e3a3955f64fdfcab464 SHA512 7904f09c9a662ee2430d49490014f5f909b6b348a0cd6cda09fe06b75e973021fdb6fa910e484c818e654637d923b2bdfea9ae3fc1712bd10a8c51639f6c33de
+DIST thunderbird-115.6.0-pl.xpi 717833 BLAKE2B a3ff3bfb755d836449b92aa1b890cf02907a2418df159c9600eec46a42823074691631c433d8648dd3d1804429b02b70e5d69513ce35b48b0f6415e7bbf90306 SHA512 fd75751556487e0b44cd26710095bd0441000964461e8404c2cbb1734cf2d1f277d0e70cb0f8b389f4a24d3419a0894126a44a4b19b90a285cb3591fb7ae50ed
+DIST thunderbird-115.6.0-pt-BR.xpi 708596 BLAKE2B db846bc24352b6ed1c43ae2fdbfccafa61e7eef8fafd6dff0e5f2eb09cf24bef975ac70de1486fd4c3351e72d23e5962a75226151cc6f903ad2c2f833234fade SHA512 f07c8cb15228838cef222e3dfda8e23b63bef8b22a5af894b9e808b623c6bb75b45dfdb12246d251eda140406eb9d2d312b949fc5a1ef8209011c77a7c96c973
+DIST thunderbird-115.6.0-pt-PT.xpi 689344 BLAKE2B 6daebc7b3b5aea006f8a7d1b90278d5a9f72011a03cf462506b9a502b42e25bcaead0a404a89eabfab88bfa796756cd6552830273671b655627f15dfc2419e17 SHA512 05875bc0b9285eaeda64b0ef203ec26801bc9d24c4b22cd47563801a36d24ab235db63c90dd05eea68e460b9082a7af56f4ca2a0579e6edade5fe6ff8dea3cd5
+DIST thunderbird-115.6.0-rm.xpi 704568 BLAKE2B f59f9824cd1f1411093cd8725a5ad144abb6fb4d880ba32539ac1d583b92684f3ae0c93fc1944ee2ea32e5b7bbe5927acc0026c8ee074282d03f5e313f345fe0 SHA512 7bdbe6d409236a14f1164cc234ffc8ed897f186ef828407efc85d850f4d30233f79c89d03fb88aa674a05ebb7899f34a7ebb3ae8dfa970e0927641db170df325
+DIST thunderbird-115.6.0-ro.xpi 650706 BLAKE2B c02a10820f600d04a2cffa142d79e90ccbf76a736fa5231b97f8dd094aeb85ddd5f16e0b869b221c5989329d0aa6e54d23cda606c99a1daa19950efcaa884c1d SHA512 91950e41a39fada900ef6689604702e690914f53b03552fc322d859b0581a5f50d571e35a5e4b9ae7c7799e21c1883d72246cc3c33c16d06b8a1deb8d88069d9
+DIST thunderbird-115.6.0-ru.xpi 821680 BLAKE2B 17cb9a7bebfb665bb13ce06ed9b1387327c4ff526fbf1407469063c60f2b8b908e7f8252de4926817ad7613935513a7b4cebbb4d66e6a989613463e34a252684 SHA512 1457a5d8d43d27e23cbf92b5364edc822eb52c764634940f58258b059fa86ebeb8ca93c17c87c1505c7636ffa06e94d5fca5488aec91aaea300fc0ae38acc8c7
+DIST thunderbird-115.6.0-sk.xpi 737521 BLAKE2B cc316f8aa6de6a6119f4503e2b582debb74f8df273b7c3f11b9f54957b82f23d3ab2a40f235f1562e5af7427930cce14aec12311bbf1bedfcd78f9d7e81bc116 SHA512 77cf15dc38c999876fe283232729637f3147248cebcab5856963cbe271bf7f442ca612db245ece0d1a3a9755a9b640b31d5f2503d3c8ba74e2683ec78f387d74
+DIST thunderbird-115.6.0-sl.xpi 704067 BLAKE2B 537d2d840af2df0625544a6727fefe3bd03e5d09ecf350a0e8b4127f1125ab8f45d61dee56f4a1713ea33e5083419000feb485cb7a3201eb8c2e1a9b6d46cc0f SHA512 2e3df44fefc145091474a7a445d527d49f82af98e7438bd8c259fa43b6deee8fc00b66ed95e66e058ec7561bcf9ea9a11f3c3097900fc9f6cbe8bd0e1dd8aaa3
+DIST thunderbird-115.6.0-sq.xpi 721303 BLAKE2B e0d0ad5b4e0acf778bcce78822a9aaeedf0aa91defee7bff6c3d52a42ed55992bd87e8b9d5d97a179b84d0fa67f2d26502a7a12f1e6c09139751f178510ebe0e SHA512 983a03ca11966bf033d9f777c6e364ddb00ffaff72121cf1dc098ad239236585cafe9db732838ef234a1fdafa28f37fbf3ddb80e2b9de43375a85a9ceb812292
+DIST thunderbird-115.6.0-sr.xpi 745016 BLAKE2B f854809b1f58a1ec4d6b200f72500208ded7a312dbaaac45fae8ff85b7a49faa458635e52214b49903ac9b0bffa503207b60fd7d8422d6f652e78eb5658dcb82 SHA512 486bb10660ebf07fca4366f40e70894ba441f3792cb1b6f12938a955b487fc3593b6cfc551afdbf1a0775d9f1d85590ee925ac27bf9f19daca87adb40c85e87c
+DIST thunderbird-115.6.0-sv-SE.xpi 703650 BLAKE2B 2241e8f7e67c695f465e515f942a8eb2772fda695508621595ee87e0851468210e5047938cc187f76d6eedafddcabf8184b247f74a3ad8afcb6365a528874dfe SHA512 bb528c7d430d5fbb28bfc950bb7aef76b90604f7e55db1cb91159064c1cb2e11cbcdca815ab9cbe36f12864fa51798d7568ff2ef7c06f333a2dd95380552b832
+DIST thunderbird-115.6.0-th.xpi 760882 BLAKE2B 21f68a96273d409527ad9a3cdde7b7dabc86fb93077f146b777aa7e6882852ae50b9f461de7b61237dc3c7011653ef37cefdb0960c62b8c1e809482c807b67fe SHA512 ada54177c33a174a3462043272a8aea27e9ecbd31ebd9ea84223282ae160a7eaaecb40ea8366931b7b0c82a85c0f848a034a92b2f80cd2c301479013a1de611f
+DIST thunderbird-115.6.0-tr.xpi 716694 BLAKE2B f943a45b3c7c84f30181faa26aa5d2b3db08df98bf580df0c25a7e269adcd99695b478fa006d816bdc4ae6826aa93fdd3e1d50bdb319d79bab361abc687c3672 SHA512 eed6e364bc770ededd6a86f4ac4a7dd0913194a30db5b79550d0e7309f533618297f2d4cd56b1114d6e01997ba98717c5ab01dfb00c4f633eecacbb23c5e2fb5
+DIST thunderbird-115.6.0-uk.xpi 814588 BLAKE2B e1a44ba8d9f12373316de745c72a465c30f7b1db86501ed6ee795a1c8ac33a482544813759521a2ee7230c0cc499880fee0734fbdf0f24139e991e79ae74d936 SHA512 88e4b4d9bbeb8676a65bf3d6b185c86201475dfe0f8587a481e17c621dbb40c5218637d68c92340e38a754daf38b23a51af79934764f7480face8a26301ac4a7
+DIST thunderbird-115.6.0-uz.xpi 579835 BLAKE2B 1f7da7fa117be11adb560d6dc69e663c8f190bce89e6dc93e595e05b242ed8b5ed9facd3113a1631afe717e6c9c6aed2b44623a5bc1d012d3c2991fe5b2e295b SHA512 c48d3fb2953451f4b60f416bcbe5f327af01118f6a1a1aeaaa97ceffc9da4e8fd2c06bb0dc17b2cb71ac0b075a60a71acee2d3529bf3e6539311293006b7a5ec
+DIST thunderbird-115.6.0-vi.xpi 743885 BLAKE2B 854538cd52cd17e5eea327686c22e0723544dc85b8cbc00aa81bbb03010b49a8041d1cabdf14764717d821983536e361c18fe06c74fc06d1fa77090f63987f90 SHA512 fe109df931ad1a7402bdb005b8acf26e5ddacc1fb2f0ec625b20f19b83966e39bcb91362e797c4fe918e904ee808f8e7e2f244bd0bd15ec139301451946e41fd
+DIST thunderbird-115.6.0-zh-CN.xpi 742056 BLAKE2B 93094c230dca599044e5e5a13fad590938b4325b63135a751320213cc29355f8f217c099fd2355d14f45c27675fb3b3d1f94652a10b0b4af8e82fb5ed71dc3a1 SHA512 f8f35b4cbdb115cc715829e2069e725c2ca21a67eb260912e76e0b920070bac98d91ae2ba4b003f2fd4e2cc71310accd43ec12b48ccfd46fdbed23d3e9db40f6
+DIST thunderbird-115.6.0-zh-TW.xpi 744996 BLAKE2B 324362125b03ff5f3eb0ef9795cadbaa452ea148fd5e7fd1fe9ff41071a67933f18ff0bc0f26d976ae432b687c1a5308a5e7532bbbd21be0be0c04d3210b183c SHA512 4f2616917a13be4e9a2aa9f2be584eba1d9f2050cb99ca1b5cfc360636417c5a18050913c6e9e72cd1f8d1deadde3132a51755ec4697484fe097919a4a39ce7e
+DIST thunderbird-115.6.0.source.tar.xz 530104696 BLAKE2B 3fa18506045027587cd9c8a22708965cae244345be817b921569df88059610b09054086a2953a78aeb552f4c120e7705129cfe3bb4d6a1f534bb1562a203bbdc SHA512 2484a99a62fc960b7926b1daa6055e14b1f9e1006ea45522d16131071b33003d4f7ef95911fd2ceb3e941f9d251c66d917013d6a5ecd717d2b1c6d33944f2e01
EBUILD thunderbird-115.5.0.ebuild 38950 BLAKE2B 2f242a8041ce49b2c6ea797c810e2acf1e244c24c369b68008f567cf5fbb747c8ea32988f538d5d010fd92dfa849ceb9d0749d5e237c242e20cb29969f4c44f4 SHA512 5e96deb61c8d2285b17696d38d5791961be4c1ce82d677f8f4d963f406464e8ba523d56a68d05b6f0b2a55e1d17f3fd75441b9086a59b9ae5a65737eb3c6cec7
EBUILD thunderbird-115.5.2.ebuild 38952 BLAKE2B 86e582a9768ffd5cc0401c14eb6611358d3da430298f5edc6c078da7d802c722b0527fce5331d4cea2182d196769dd6aba7fbcc1030ef3d1dbec64b705d9eb13 SHA512 54e5eb12354842cd680f6f7d7a6e9d07473f1e98430717e364ee62c5c276ee2e39cd3888844c91919d3e8c3d4c1c94d1579fad814074bd76ea9a669f77fbfc98
+EBUILD thunderbird-115.6.0.ebuild 38952 BLAKE2B 86e582a9768ffd5cc0401c14eb6611358d3da430298f5edc6c078da7d802c722b0527fce5331d4cea2182d196769dd6aba7fbcc1030ef3d1dbec64b705d9eb13 SHA512 54e5eb12354842cd680f6f7d7a6e9d07473f1e98430717e364ee62c5c276ee2e39cd3888844c91919d3e8c3d4c1c94d1579fad814074bd76ea9a669f77fbfc98
MISC metadata.xml 2387 BLAKE2B 3602296d8cca60f79ea66089332dbce63b9da3625e476659e0a663966e65bc060e67b263c8fdcdbf8fa5545adf7b8f958cc36f9011459c715ee31bb494e7ce5e SHA512 e51ee84ed715cba36beb240db27265ac37b8df684c0e98f3b81ccf7785c1f465f1bbe3729c1c01717445e787129b449c009815f62a7455ea3fc4db8d1d9e82c3
diff --git a/mail-client/thunderbird/thunderbird-115.6.0.ebuild b/mail-client/thunderbird/thunderbird-115.6.0.ebuild
new file mode 100644
index 000000000000..17e0f8878c88
--- /dev/null
+++ b/mail-client/thunderbird/thunderbird-115.6.0.ebuild
@@ -0,0 +1,1331 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FIREFOX_PATCHSET="firefox-115esr-patches-08.tar.xz"
+
+LLVM_MAX_SLOT=17
+
+PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_REQ_USE="ncurses,sqlite,ssl"
+
+WANT_AUTOCONF="2.1"
+
+VIRTUALX_REQUIRED="manual"
+
+MOZ_ESR=
+
+MOZ_PV=${PV}
+MOZ_PV_SUFFIX=
+if [[ ${PV} =~ (_(alpha|beta|rc).*)$ ]] ; then
+ MOZ_PV_SUFFIX=${BASH_REMATCH[1]}
+
+ # Convert the ebuild version to the upstream Mozilla version
+ MOZ_PV="${MOZ_PV/_alpha/a}" # Handle alpha for SRC_URI
+ MOZ_PV="${MOZ_PV/_beta/b}" # Handle beta for SRC_URI
+ MOZ_PV="${MOZ_PV%%_rc*}" # Handle rc for SRC_URI
+fi
+
+if [[ -n ${MOZ_ESR} ]] ; then
+ # ESR releases have slightly different version numbers
+ MOZ_PV="${MOZ_PV}esr"
+fi
+
+MOZ_PN="${PN%-bin}"
+MOZ_P="${MOZ_PN}-${MOZ_PV}"
+MOZ_PV_DISTFILES="${MOZ_PV}${MOZ_PV_SUFFIX}"
+MOZ_P_DISTFILES="${MOZ_PN}-${MOZ_PV_DISTFILES}"
+
+inherit autotools check-reqs desktop flag-o-matic gnome2-utils linux-info \
+ llvm multiprocessing optfeature pax-utils python-any-r1 toolchain-funcs \
+ virtualx xdg
+
+MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/releases/${MOZ_PV}"
+
+if [[ ${PV} == *_rc* ]] ; then
+ MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/candidates/${MOZ_PV}-candidates/build${PV##*_rc}"
+fi
+
+PATCH_URIS=(
+ https://dev.gentoo.org/~juippis/mozilla/patchsets/${FIREFOX_PATCHSET}
+)
+
+SRC_URI="${MOZ_SRC_BASE_URI}/source/${MOZ_P}.source.tar.xz -> ${MOZ_P_DISTFILES}.source.tar.xz
+ ${PATCH_URIS[@]}"
+
+DESCRIPTION="Thunderbird Mail Client"
+HOMEPAGE="https://www.thunderbird.net/"
+
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+
+SLOT="0"
+LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
+
+IUSE="+clang cpu_flags_arm_neon dbus debug eme-free hardened hwaccel"
+IUSE+=" jack libproxy lto +openh264 pgo pulseaudio sndio selinux"
+IUSE+=" +system-av1 +system-harfbuzz +system-icu +system-jpeg +system-libevent +system-libvpx system-png system-python-libs +system-webp"
+IUSE+=" wayland wifi +X"
+
+# Thunderbird-only USE flags.
+IUSE+=" +system-librnp"
+
+REQUIRED_USE="|| ( X wayland )
+ debug? ( !system-av1 )
+ pgo? ( lto )
+ wifi? ( dbus )"
+
+TB_ONLY_DEPEND="!<x11-plugins/enigmail-2.2
+ selinux? ( sec-policy/selinux-thunderbird )
+ !system-librnp? ( dev-libs/jsoncpp )
+ system-librnp? ( dev-util/librnp )"
+BDEPEND="${PYTHON_DEPS}
+ || (
+ (
+ sys-devel/clang:17
+ sys-devel/llvm:17
+ clang? (
+ sys-devel/lld:17
+ virtual/rust:0/llvm-17
+ pgo? ( =sys-libs/compiler-rt-sanitizers-17*[profile] )
+ )
+ )
+ (
+ sys-devel/clang:16
+ sys-devel/llvm:16
+ clang? (
+ sys-devel/lld:16
+ virtual/rust:0/llvm-16
+ pgo? ( =sys-libs/compiler-rt-sanitizers-16*[profile] )
+ )
+ )
+ (
+ sys-devel/clang:15
+ sys-devel/llvm:15
+ clang? (
+ sys-devel/lld:15
+ virtual/rust:0/llvm-15
+ pgo? ( =sys-libs/compiler-rt-sanitizers-15*[profile] )
+ )
+ )
+ )
+ app-alternatives/awk
+ app-arch/unzip
+ app-arch/zip
+ >=dev-util/cbindgen-0.24.3
+ net-libs/nodejs
+ virtual/pkgconfig
+ !clang? ( >=virtual/rust-1.65 )
+ amd64? ( >=dev-lang/nasm-2.14 )
+ x86? ( >=dev-lang/nasm-2.14 )
+ pgo? (
+ X? (
+ sys-devel/gettext
+ x11-base/xorg-server[xvfb]
+ x11-apps/xhost
+ )
+ wayland? (
+ >=gui-libs/wlroots-0.15.1-r1[tinywl]
+ x11-misc/xkeyboard-config
+ )
+ )"
+COMMON_DEPEND="${TB_ONLY_DEPEND}
+ >=app-accessibility/at-spi2-core-2.46.0:2
+ dev-libs/expat
+ dev-libs/glib:2
+ dev-libs/libffi:=
+ >=dev-libs/nss-3.90
+ >=dev-libs/nspr-4.35
+ media-libs/alsa-lib
+ media-libs/fontconfig
+ media-libs/freetype
+ media-libs/mesa
+ media-video/ffmpeg
+ sys-libs/zlib
+ virtual/freedesktop-icon-theme
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf
+ x11-libs/pango
+ x11-libs/pixman
+ dbus? (
+ dev-libs/dbus-glib
+ sys-apps/dbus
+ )
+ jack? ( virtual/jack )
+ pulseaudio? (
+ || (
+ media-libs/libpulse
+ >=media-sound/apulse-0.1.12-r4[sdk]
+ )
+ )
+ libproxy? ( net-libs/libproxy )
+ selinux? ( sec-policy/selinux-mozilla )
+ sndio? ( >=media-sound/sndio-1.8.0-r1 )
+ system-av1? (
+ >=media-libs/dav1d-1.0.0:=
+ >=media-libs/libaom-1.0.0:=
+ )
+ system-harfbuzz? (
+ >=media-gfx/graphite2-1.3.13
+ >=media-libs/harfbuzz-2.8.1:0=
+ )
+ system-icu? ( >=dev-libs/icu-73.1:= )
+ system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 )
+ system-libevent? ( >=dev-libs/libevent-2.1.12:0=[threads(+)] )
+ system-libvpx? ( >=media-libs/libvpx-1.8.2:0=[postproc] )
+ system-png? ( >=media-libs/libpng-1.6.35:0=[apng] )
+ system-webp? ( >=media-libs/libwebp-1.1.0:0= )
+ wayland? (
+ >=media-libs/libepoxy-1.5.10-r1
+ x11-libs/gtk+:3[wayland]
+ x11-libs/libxkbcommon[wayland]
+ )
+ wifi? (
+ kernel_linux? (
+ dev-libs/dbus-glib
+ net-misc/networkmanager
+ sys-apps/dbus
+ )
+ )
+ X? (
+ virtual/opengl
+ x11-libs/cairo[X]
+ x11-libs/gtk+:3[X]
+ x11-libs/libX11
+ x11-libs/libXcomposite
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libxkbcommon[X]
+ x11-libs/libXrandr
+ x11-libs/libXtst
+ x11-libs/libxcb:=
+ )"
+RDEPEND="${COMMON_DEPEND}
+ jack? ( virtual/jack )
+ openh264? ( media-libs/openh264:*[plugin] )"
+DEPEND="${COMMON_DEPEND}
+ X? (
+ x11-base/xorg-proto
+ x11-libs/libICE
+ x11-libs/libSM
+ )"
+
+S="${WORKDIR}/${PN}-${PV%_*}"
+
+llvm_check_deps() {
+ if ! has_version -b "sys-devel/clang:${LLVM_SLOT}" ; then
+ einfo "sys-devel/clang:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
+ return 1
+ fi
+
+ if use clang && ! tc-ld-is-mold ; then
+ if ! has_version -b "sys-devel/lld:${LLVM_SLOT}" ; then
+ einfo "sys-devel/lld:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
+ return 1
+ fi
+
+ if ! has_version -b "virtual/rust:0/llvm-${LLVM_SLOT}" ; then
+ einfo "virtual/rust:0/llvm-${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
+ return 1
+ fi
+
+ if use pgo ; then
+ if ! has_version -b "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*[profile]" ; then
+ einfo "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*[profile] is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
+ return 1
+ fi
+ fi
+ fi
+
+ einfo "Using LLVM slot ${LLVM_SLOT} to build" >&2
+}
+
+MOZ_LANGS=(
+ af ar ast be bg br ca cak cs cy da de dsb
+ el en-CA en-GB en-US es-AR es-ES es-MX et eu
+ fi fr fy-NL ga-IE gd gl he hr hsb hu
+ id is it ja ka kab kk ko lt lv ms nb-NO nl nn-NO
+ pa-IN pl pt-BR pt-PT rm ro ru
+ sk sl sq sr sv-SE th tr uk uz vi zh-CN zh-TW
+)
+
+mozilla_set_globals() {
+ # https://bugs.gentoo.org/587334
+ local MOZ_TOO_REGIONALIZED_FOR_L10N=(
+ fy-NL ga-IE gu-IN hi-IN hy-AM nb-NO ne-NP nn-NO pa-IN sv-SE
+ )
+
+ local lang xflag
+ for lang in "${MOZ_LANGS[@]}" ; do
+ # en and en_US are handled internally
+ if [[ ${lang} == en ]] || [[ ${lang} == en-US ]] ; then
+ continue
+ fi
+
+ # strip region subtag if $lang is in the list
+ if has ${lang} "${MOZ_TOO_REGIONALIZED_FOR_L10N[@]}" ; then
+ xflag=${lang%%-*}
+ else
+ xflag=${lang}
+ fi
+
+ SRC_URI+=" l10n_${xflag/[_@]/-}? ("
+ SRC_URI+=" ${MOZ_SRC_BASE_URI}/linux-x86_64/xpi/${lang}.xpi -> ${MOZ_P_DISTFILES}-${lang}.xpi"
+ SRC_URI+=" )"
+ IUSE+=" l10n_${xflag/[_@]/-}"
+ done
+}
+mozilla_set_globals
+
+moz_clear_vendor_checksums() {
+ debug-print-function ${FUNCNAME} "$@"
+
+ if [[ ${#} -ne 1 ]] ; then
+ die "${FUNCNAME} requires exact one argument"
+ fi
+
+ einfo "Clearing cargo checksums for ${1} ..."
+
+ sed -i \
+ -e 's/\("files":{\)[^}]*/\1/' \
+ "${S}"/third_party/rust/${1}/.cargo-checksum.json \
+ || die
+}
+
+moz_install_xpi() {
+ debug-print-function ${FUNCNAME} "$@"
+
+ if [[ ${#} -lt 2 ]] ; then
+ die "${FUNCNAME} requires at least two arguments"
+ fi
+
+ local DESTDIR=${1}
+ shift
+
+ insinto "${DESTDIR}"
+
+ local emid xpi_file xpi_tmp_dir
+ for xpi_file in "${@}" ; do
+ emid=
+ xpi_tmp_dir=$(mktemp -d --tmpdir="${T}")
+
+ # Unpack XPI
+ unzip -qq "${xpi_file}" -d "${xpi_tmp_dir}" || die
+
+ # Determine extension ID
+ if [[ -f "${xpi_tmp_dir}/install.rdf" ]] ; then
+ emid=$(sed -n -e '/install-manifest/,$ { /em:id/!d; s/.*[\">]\([^\"<>]*\)[\"<].*/\1/; p; q }' "${xpi_tmp_dir}/install.rdf")
+ [[ -z "${emid}" ]] && die "failed to determine extension id from install.rdf"
+ elif [[ -f "${xpi_tmp_dir}/manifest.json" ]] ; then
+ emid=$(sed -n -e 's/.*"id": "\([^"]*\)".*/\1/p' "${xpi_tmp_dir}/manifest.json")
+ [[ -z "${emid}" ]] && die "failed to determine extension id from manifest.json"
+ else
+ die "failed to determine extension id"
+ fi
+
+ einfo "Installing ${emid}.xpi into ${ED}${DESTDIR} ..."
+ newins "${xpi_file}" "${emid}.xpi"
+ done
+}
+
+mozconfig_add_options_ac() {
+ debug-print-function ${FUNCNAME} "$@"
+
+ if [[ ${#} -lt 2 ]] ; then
+ die "${FUNCNAME} requires at least two arguments"
+ fi
+
+ local reason=${1}
+ shift
+
+ local option
+ for option in ${@} ; do
+ echo "ac_add_options ${option} # ${reason}" >>${MOZCONFIG}
+ done
+}
+
+mozconfig_add_options_mk() {
+ debug-print-function ${FUNCNAME} "$@"
+
+ if [[ ${#} -lt 2 ]] ; then
+ die "${FUNCNAME} requires at least two arguments"
+ fi
+
+ local reason=${1}
+ shift
+
+ local option
+ for option in ${@} ; do
+ echo "mk_add_options ${option} # ${reason}" >>${MOZCONFIG}
+ done
+}
+
+mozconfig_use_enable() {
+ debug-print-function ${FUNCNAME} "$@"
+
+ if [[ ${#} -lt 1 ]] ; then
+ die "${FUNCNAME} requires at least one arguments"
+ fi
+
+ local flag=$(use_enable "${@}")
+ mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" "${flag}"
+}
+
+mozconfig_use_with() {
+ debug-print-function ${FUNCNAME} "$@"
+
+ if [[ ${#} -lt 1 ]] ; then
+ die "${FUNCNAME} requires at least one arguments"
+ fi
+
+ local flag=$(use_with "${@}")
+ mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" "${flag}"
+}
+
+# This is a straight copypaste from toolchain-funcs.eclass's 'tc-ld-is-lld', and is temporarily
+# placed here until toolchain-funcs.eclass gets an official support for mold linker.
+# Please see:
+# https://github.com/gentoo/gentoo/pull/28366 ||
+# https://github.com/gentoo/gentoo/pull/28355
+tc-ld-is-mold() {
+ local out
+
+ # Ensure ld output is in English.
+ local -x LC_ALL=C
+
+ # First check the linker directly.
+ out=$($(tc-getLD "$@") --version 2>&1)
+ if [[ ${out} == *"mold"* ]] ; then
+ return 0
+ fi
+
+ # Then see if they're selecting mold via compiler flags.
+ # Note: We're assuming they're using LDFLAGS to hold the
+ # options and not CFLAGS/CXXFLAGS.
+ local base="${T}/test-tc-linker"
+ cat <<-EOF > "${base}.c"
+ int main() { return 0; }
+ EOF
+ out=$($(tc-getCC "$@") ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -Wl,--version "${base}.c" -o "${base}" 2>&1)
+ rm -f "${base}"*
+ if [[ ${out} == *"mold"* ]] ; then
+ return 0
+ fi
+
+ # No mold here!
+ return 1
+}
+
+virtwl() {
+ debug-print-function ${FUNCNAME} "$@"
+
+ [[ $# -lt 1 ]] && die "${FUNCNAME} needs at least one argument"
+ [[ -n $XDG_RUNTIME_DIR ]] || die "${FUNCNAME} needs XDG_RUNTIME_DIR to be set; try xdg_environment_reset"
+ tinywl -h >/dev/null || die 'tinywl -h failed'
+
+ # TODO: don't run addpredict in utility function. WLR_RENDERER=pixman doesn't work
+ addpredict /dev/dri
+ local VIRTWL VIRTWL_PID
+ coproc VIRTWL { WLR_BACKENDS=headless exec tinywl -s 'echo $WAYLAND_DISPLAY; read _; kill $PPID'; }
+ local -x WAYLAND_DISPLAY
+ read WAYLAND_DISPLAY <&${VIRTWL[0]}
+
+ debug-print "${FUNCNAME}: $@"
+ "$@"
+ local r=$?
+
+ [[ -n $VIRTWL_PID ]] || die "tinywl exited unexpectedly"
+ exec {VIRTWL[0]}<&- {VIRTWL[1]}>&-
+ return $r
+}
+
+pkg_pretend() {
+ if [[ ${MERGE_TYPE} != binary ]] ; then
+ if use pgo ; then
+ if ! has usersandbox $FEATURES ; then
+ die "You must enable usersandbox as X server can not run as root!"
+ fi
+ fi
+
+ # Ensure we have enough disk space to compile
+ if use pgo || use lto || use debug ; then
+ CHECKREQS_DISK_BUILD="13500M"
+ else
+ CHECKREQS_DISK_BUILD="6600M"
+ fi
+
+ check-reqs_pkg_pretend
+ fi
+}
+
+pkg_setup() {
+ if [[ ${MERGE_TYPE} != binary ]] ; then
+ if use pgo ; then
+ if ! has userpriv ${FEATURES} ; then
+ eerror "Building ${PN} with USE=pgo and FEATURES=-userpriv is not supported!"
+ fi
+ fi
+
+ # Ensure we have enough disk space to compile
+ if use pgo || use lto || use debug ; then
+ CHECKREQS_DISK_BUILD="13500M"
+ else
+ CHECKREQS_DISK_BUILD="6400M"
+ fi
+
+ check-reqs_pkg_setup
+
+ llvm_pkg_setup
+
+ if use clang && use lto && tc-ld-is-lld ; then
+ local version_lld=$(ld.lld --version 2>/dev/null | awk '{ print $2 }')
+ [[ -n ${version_lld} ]] && version_lld=$(ver_cut 1 "${version_lld}")
+ [[ -z ${version_lld} ]] && die "Failed to read ld.lld version!"
+
+ local version_llvm_rust=$(rustc -Vv 2>/dev/null | grep -F -- 'LLVM version:' | awk '{ print $3 }')
+ [[ -n ${version_llvm_rust} ]] && version_llvm_rust=$(ver_cut 1 "${version_llvm_rust}")
+ [[ -z ${version_llvm_rust} ]] && die "Failed to read used LLVM version from rustc!"
+
+ if ver_test "${version_lld}" -ne "${version_llvm_rust}" ; then
+ eerror "Rust is using LLVM version ${version_llvm_rust} but ld.lld version belongs to LLVM version ${version_lld}."
+ eerror "You will be unable to link ${CATEGORY}/${PN}. To proceed you have the following options:"
+ eerror " - Manually switch rust version using 'eselect rust' to match used LLVM version"
+ eerror " - Switch to dev-lang/rust[system-llvm] which will guarantee matching version"
+ eerror " - Build ${CATEGORY}/${PN} without USE=lto"
+ eerror " - Rebuild lld with llvm that was used to build rust (may need to rebuild the whole "
+ eerror " llvm/clang/lld/rust chain depending on your @world updates)"
+ die "LLVM version used by Rust (${version_llvm_rust}) does not match with ld.lld version (${version_lld})!"
+ fi
+ fi
+
+ python-any-r1_pkg_setup
+
+ # Avoid PGO profiling problems due to enviroment leakage
+ # These should *always* be cleaned up anyway
+ unset \
+ DBUS_SESSION_BUS_ADDRESS \
+ DISPLAY \
+ ORBIT_SOCKETDIR \
+ SESSION_MANAGER \
+ XAUTHORITY \
+ XDG_CACHE_HOME \
+ XDG_SESSION_COOKIE
+
+ # Build system is using /proc/self/oom_score_adj, bug #604394
+ addpredict /proc/self/oom_score_adj
+
+ if use pgo ; then
+ # Update 105.0: "/proc/self/oom_score_adj" isn't enough anymore with pgo, but not sure
+ # whether that's due to better OOM handling by Firefox (bmo#1771712), or portage
+ # (PORTAGE_SCHEDULING_POLICY) update...
+ addpredict /proc
+
+ # May need a wider addpredict when using wayland+pgo.
+ addpredict /dev/dri
+
+ # Allow access to GPU during PGO run
+ local ati_cards mesa_cards nvidia_cards render_cards
+ shopt -s nullglob
+
+ ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g')
+ if [[ -n "${ati_cards}" ]] ; then
+ addpredict "${ati_cards}"
+ fi
+
+ mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g')
+ if [[ -n "${mesa_cards}" ]] ; then
+ addpredict "${mesa_cards}"
+ fi
+
+ nvidia_cards=$(echo -n /dev/nvidia* | sed 's/ /:/g')
+ if [[ -n "${nvidia_cards}" ]] ; then
+ addpredict "${nvidia_cards}"
+ fi
+
+ render_cards=$(echo -n /dev/dri/renderD128* | sed 's/ /:/g')
+ if [[ -n "${render_cards}" ]] ; then
+ addpredict "${render_cards}"
+ fi
+
+ shopt -u nullglob
+ fi
+
+ if ! mountpoint -q /dev/shm ; then
+ # If /dev/shm is not available, configure is known to fail with
+ # a traceback report referencing /usr/lib/pythonN.N/multiprocessing/synchronize.py
+ ewarn "/dev/shm is not mounted -- expect build failures!"
+ fi
+
+ # Google API keys (see http://www.chromium.org/developers/how-tos/api-keys)
+ # Note: These are for Gentoo Linux use ONLY. For your own distribution, please
+ # get your own set of keys.
+ if [[ -z "${MOZ_API_KEY_GOOGLE+set}" ]] ; then
+ MOZ_API_KEY_GOOGLE="AIzaSyDEAOvatFogGaPi0eTgsV_ZlEzx0ObmepsMzfAc"
+ fi
+
+ if [[ -z "${MOZ_API_KEY_LOCATION+set}" ]] ; then
+ MOZ_API_KEY_LOCATION="AIzaSyB2h2OuRgGaPicUgy5N-5hsZqiPW6sH3n_rptiQ"
+ fi
+
+ # Mozilla API keys (see https://location.services.mozilla.com/api)
+ # Note: These are for Gentoo Linux use ONLY. For your own distribution, please
+ # get your own set of keys.
+ if [[ -z "${MOZ_API_KEY_MOZILLA+set}" ]] ; then
+ MOZ_API_KEY_MOZILLA="edb3d487-3a84-46m0ap1e3-9dfd-92b5efaaa005"
+ fi
+
+ # Ensure we use C locale when building, bug #746215
+ export LC_ALL=C
+ fi
+}
+
+src_unpack() {
+ local _lp_dir="${WORKDIR}/language_packs"
+ local _src_file
+
+ if [[ ! -d "${_lp_dir}" ]] ; then
+ mkdir "${_lp_dir}" || die
+ fi
+
+ for _src_file in ${A} ; do
+ if [[ ${_src_file} == *.xpi ]]; then
+ cp "${DISTDIR}/${_src_file}" "${_lp_dir}" || die "Failed to copy '${_src_file}' to '${_lp_dir}'!"
+ else
+ unpack ${_src_file}
+ fi
+ done
+}
+
+src_prepare() {
+ if use lto; then
+ rm -v "${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch || die
+ fi
+
+ if ! use ppc64; then
+ rm -v "${WORKDIR}"/firefox-patches/*ppc64*.patch || die
+ fi
+
+ if use x86 && use elibc_glibc ; then
+ rm -v "${WORKDIR}"/firefox-patches/*-musl-non-lfs64-api-on-audio_thread_priority-crate.patch || die
+ fi
+
+ # Workaround for bgo#917599
+ if has_version ">=dev-libs/icu-74.1" && use system-icu ; then
+ eapply "${WORKDIR}"/firefox-patches/0029-bmo-1862601-system-icu-74.patch
+ fi
+ rm -v "${WORKDIR}"/firefox-patches/0029-bmo-1862601-system-icu-74.patch || die
+
+ 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)"
+
+ # 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
+
+ if use clang ; then
+ # https://bugzilla.mozilla.org/show_bug.cgi?id=1482204
+ # https://bugzilla.mozilla.org/show_bug.cgi?id=1483822
+ # toolkit/moz.configure Elfhack section: target.cpu in ('arm', 'x86', 'x86_64')
+ local disable_elf_hack=
+ if use amd64 ; then
+ disable_elf_hack=yes
+ elif use x86 ; then
+ disable_elf_hack=yes
+ elif use arm ; then
+ disable_elf_hack=yes
+ fi
+
+ if [[ -n ${disable_elf_hack} ]] ; then
+ mozconfig_add_options_ac 'elf-hack is broken when using Clang' --disable-elf-hack
+ fi
+ fi
+
+ if use elibc_musl && use arm64 ; then
+ mozconfig_add_options_ac 'elf-hack is broken when using musl/arm64' --disable-elf-hack
+ 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
+}