summaryrefslogtreecommitdiff
path: root/mail-client/thunderbird
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-11-09 16:32:24 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-11-09 16:32:24 +0000
commit3f5a5d10d87cd7f434c3a4207fc0a7ffc25d9123 (patch)
tree3d2de0ea329bfae5fb1acd465386966d5ee95422 /mail-client/thunderbird
parent91b873ea3e20149dbb554dc214611efa4627962a (diff)
gentoo auto-resync : 09:11:2023 - 16:32:23
Diffstat (limited to 'mail-client/thunderbird')
-rw-r--r--mail-client/thunderbird/Manifest66
-rw-r--r--mail-client/thunderbird/thunderbird-115.4.2.ebuild1325
2 files changed, 1391 insertions, 0 deletions
diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest
index 2f1e2707c9b4..b06699ed1d73 100644
--- a/mail-client/thunderbird/Manifest
+++ b/mail-client/thunderbird/Manifest
@@ -70,5 +70,71 @@ DIST thunderbird-115.4.1-vi.xpi 742633 BLAKE2B c037c0d201406a0eb8f6193412d300b8a
DIST thunderbird-115.4.1-zh-CN.xpi 740611 BLAKE2B d021dfab257ff501968fe30e4b9a1cfb241635b556c35a63996f3a9ad40b6c77af6545a7b6d49ffbc036198a3e378222b41e96ef775c356d57af2c769c89b5dd SHA512 82ddb41a722524db6226c7d943ec3284399645336f94a7579aba6d9b30585b31e8618313da40ea211ce092522d61c716f24f939f5f08e0f037738bfeca1e76c8
DIST thunderbird-115.4.1-zh-TW.xpi 743527 BLAKE2B 2d8d2994be4811e558905375bf93b86bea3b827f33d071df21a773ffbf98756f0638fe5ca747f482eb983ca5b7073b0881825f1b27c5454d1bd94498a5b3b9fe SHA512 094f404ab4b191ef019c91b36eec3c1ed82a98d93dcfd51d75feac8792f3fd2cfa41b46f190c95e89e55b95cfeb4b99cc3302e1891eea70f57269c95bd4e33f5
DIST thunderbird-115.4.1.source.tar.xz 537988108 BLAKE2B 784ffa1b57cc6683f7e21d1dc00049f0b70fa591df4a46b099b8d2c205cad024008005d67f0cb76c7765a47ae176d8238fbebc8a27f63374f0f7c65c98c7d620 SHA512 ccf48a5376027b1e0182d4040a0571e5f34c2378349c0d11cb4e14c75f10247e2522e8d8d2a0a45022ff1a463a49f59b1cf611c70951cf5e1b383051c0573164
+DIST thunderbird-115.4.2-af.xpi 542154 BLAKE2B 52600dcb45906693f837ef33493f5044b3003a5dda425f34878964119c1f2279a978cc1293b7ea285425db6be224ee4d563e0f4f6cf001d4207322fcfd9aa2ce SHA512 3e3c24de127165a6340accc631e8d170ef195de350472245dc78727932d4f7c8fb3ffb7402394c84e7c8f1d692e2410a13f2a4b748bd6ad2bbef8dc488051f72
+DIST thunderbird-115.4.2-ar.xpi 654727 BLAKE2B c4a56fe934eacdc24c9f01685474e9633bab5c707a4c9cd39a0d5fcb03c312fbba4855c8fa5306cea682c3891c4a78c1a421ce0b49a6b7524a0254bc7cedabba SHA512 59d01a057ce05bbf3ac5adb1b269e50da173ad1a6ae63a2433f48f861f979af38d9ef46d045a8216405293fd1eb1c7dff34a258d067d787a61fbeaaf0c23e2ff
+DIST thunderbird-115.4.2-ast.xpi 561119 BLAKE2B f5e34e6bf7d1d387cb3a2027f520130a9ec758329057a99fbd25dc21a11896efa27c30f89bc5376e395e28500272a8e1f1812bd99618038bb76b247587b49daf SHA512 24aa2e9620995d0ad964300c8b9ca73148aa3650aee464fb9af85dcf7baadbdec40abd11c139fe4fde63f1db4304a53af41d793c780732de835ea5d4e870caa1
+DIST thunderbird-115.4.2-be.xpi 694083 BLAKE2B e84b4fac1238d6a931a7cd5b318a1b462472fc689bd5ce55b0aa5f5a7dedfd1e2006b2ec98499dcad31d6b83356623bb657160df87bf4427a7da5434b50d04b9 SHA512 9c6bc96315737486abc798d8dc2626125d87202d2ae95aded90ab84e615a0bf5c448a634a62b153fc95d46dfd6db6cc4d82e404e0330f9dd14643b0cd045f193
+DIST thunderbird-115.4.2-bg.xpi 681252 BLAKE2B 9a5582b114daceef47aa3aef67b6832c48217a7d645e9585ace3c3c1c7d89086f3d69bec012824e4f2ae5f9281efb55a592057ba5146d5fa089286416424af6a SHA512 53ea89c9bc0be4fe9f2b49fddc3a7b0339a7ca6ea2912c54650fb94f5f4c1dd24c95671f55bda467ae406184216134dabd995c14f472f76d8f42f21a02f31e44
+DIST thunderbird-115.4.2-br.xpi 626934 BLAKE2B 906176ca1dfb450c454c0a35d9439d84bccec6c7265f8d93a1f0e944282479fd51fb2d8976dd56b3b8768f882ceb2ebac81fa124c0c58c811b3aca21907ddcd8 SHA512 e6380076d27a1592f297044566b91793da83a5fde5a8758a7ad542b86553dc25b08dad7a237e16c1817c9bff18109ccd4bba640b9d9670a341aedb12c8348ced
+DIST thunderbird-115.4.2-ca.xpi 670651 BLAKE2B 6015fd0fa9c25f9935b52cdf9aa8f38b65427df54e1d8b6c9ec06a7b942ce64e4432a175dfca8147af1b5769a6e2529ef9f82fc80aeb50f8a73d529ce658f432 SHA512 c4561ecaa5bb9acc0636a2295fb861157559a06ce0fd700be7e3b22218db4b00f7b90723dd155e8625aa87c98baf513cf7ef814c1e5459dfc4dd873f608e283a
+DIST thunderbird-115.4.2-cak.xpi 657816 BLAKE2B 3236cb8d88b18450f52805f87815a799ce9f8887db49241542ee5b29d0b272eb93d3681f27737a9b49741c36a1e8adf3d01be57e840a231d10d6b1903a30ea86 SHA512 17237078d8326571c454f552e29513244e178c726a5dd82a7fe822f590e368cb9c17723792cd327719151dfbb8d1b8eabc9d0b6631fe780aa6df2278f972c0c0
+DIST thunderbird-115.4.2-cs.xpi 733799 BLAKE2B d39891f2d3cc1fe58007365573a98a3fb0ed2eb6c4e14ec95e9a0c6f7164cff890b5eebca95ddb2957335442866cec16bb25edb339dc572d11236c47318384a1 SHA512 715a04421916ab24a925867f351f5eecaff2f1cc7279906949b51ac31a7dc304b501559c16d0ccd8616f24e0cb63c42fa811f47204bdd5c3f167d9a4bcb31618
+DIST thunderbird-115.4.2-cy.xpi 703265 BLAKE2B 9247cd935cb777cb762b4f75131251d8f7ada40615058e3876f8aac0fda8f598e66b2ab050a77a1cd966b269a758965f09ac036c294ba80e1c8ea7b28b93b64d SHA512 6ea7051ef373e3b094676c594c53ccdb8487cbf37248f53e1d83bc3c4aaf07c3e7eb07fcf39c933873b0175309a9e3eca4ec0018f4fbfe652952848d39240d9f
+DIST thunderbird-115.4.2-da.xpi 690753 BLAKE2B 268da932d029c870fc81ac85335c4d0ec1caa7223fcc77653cb499f03e42430be5f5e2f13d0068396557fe0fd78fc1dc9111bdda9d27cd4b5c8d33429e850cb0 SHA512 e03ecc780af82192c5bfa41783d540362ed3d8a5975648a19c5c94dde74cdeba1a0c3a6a2ec55cb49589e89ec09edb232ec844c70aec2c579c38d73175403f59
+DIST thunderbird-115.4.2-de.xpi 720203 BLAKE2B 7d73d9e029f6cc4a2193afc1c4b3290f7691a57be22244a1ef3ed286b8b307459ce3008988e4dd5b8ce4bd414527d8bfe2a8de059f9b89875b1ebd274a7eed39 SHA512 7b24b827f26d93aa6cb50defe8053bf7c4c74e0d0fdfe08cd92fb055950f06d58f8080634d8714c93177a1415ce45f3435cbf5aa375738c168009602fe7b3fbe
+DIST thunderbird-115.4.2-dsb.xpi 737297 BLAKE2B 35e65e7f367e6865f3645d7b1fc9359a8e1dafadb7188409372d922f27a12457f0d3ffdf2436f3cd9e2833a63285a8f0515f1f6ca671482a4b00eb82dd3cf5fc SHA512 3d195ef2a009d8e758cc5a1ec86621bb07ec5ceb2ac95c94838bc911104a6277ce427f1e0d18945f0b3d187d5fdcff6c3e77f3267f20cf9c514191ef74f3e77a
+DIST thunderbird-115.4.2-el.xpi 836691 BLAKE2B c0338f54d7bac060490cec569cecf8375f580f717af774a7363a561dd772011617a9647e232ca6416c3439eaf5e226390913ab42c801bd0319ff1dd050ed8971 SHA512 55b35a99d02b7892b036abd027a31c68869b7dcbb9fb368962323f0cb7ffff2d6cdd15f89402efc2cc80204b524131004c35f95502dc049ff792fc48d10d7730
+DIST thunderbird-115.4.2-en-CA.xpi 656172 BLAKE2B 177af9035a6682a221b979e989102faed168c249ce801ac23a880a5f6f0fc265e607dc62f65e48a57b73f7b687bf90d335e1227135f179fd907c69cac247d346 SHA512 1c8a99dab32a9a034b6e79b8bf203847df440689cad717e76593408d80f8b80efbfbb2971487e98b58076b2b2f7d0c2160700add4bbb7400eb026346484fff66
+DIST thunderbird-115.4.2-en-GB.xpi 661450 BLAKE2B 0823ec27aabb53595f4a42713a8505441fc051b5071b30eb18c1d23cd7afca59338a3f9b29a8a7511ea9057eef03531493007618650bcc1bdcb5076d20e403cd SHA512 d83b84e2045f63a46dd51c04d8189ff6b2ff91175358f520b38aa95f0a0c6fd40a8b02289d4cec50dd092a37a07ac65e36d78b05e1e048d165c3e83d6f0cd267
+DIST thunderbird-115.4.2-es-AR.xpi 713034 BLAKE2B 43376bffd65860216d8dc123e887158cad3a0a6f52a5dfae2d818adeae176088680ef3a2e8b95285f23a598e070e95b965fd25ff9a34c39f546d23142d032078 SHA512 9be17005fcf290f165767563af302a74efb100cc55e889fcf4bc15bcbd2db25a0e8385b0d36c6b2bc639021d5d526274defbb0611a9b19936f41315e03d10620
+DIST thunderbird-115.4.2-es-ES.xpi 675615 BLAKE2B 807cf20f0c0219daad2d17a011589929e95de305589c5cf51a981421aef7642d6d7fae4338c31e507e3106d5b00e08bd89afda2dead9023d9158f44d376672c9 SHA512 74cdce9ec5f16feb9c32aec3b7ef5939ff6ab00e021df7a140badba220dd46e52d87b78d6d4d10ca1b08c94fd8d860939c9b108802014dfbd0130beac80c1b0e
+DIST thunderbird-115.4.2-es-MX.xpi 710140 BLAKE2B 72e64c8c73d5da8f0f8e5a6f7b48508986f03b66362980be6f0d0104ddc562ac5b1a3e9114f8a183a3e3e599784a33c562e1a3fb7d6a62a91f8f00e7db104c6d SHA512 6a8030b162058a17b686942a1eaede40f78d033df6fb0ad13922f2265ce7a2c5c82f28f2731f8fff20a26a460eb6f3b399520c0c7c599b74e96849061df22e45
+DIST thunderbird-115.4.2-et.xpi 671819 BLAKE2B 0b141cc80800e2b8272b65efe6f43b585f0d14bacbef3a4aa542013e426766eed876f0b2af9bc2e766cacee0ebb7185221af306c59e1eb424566bc778a871db4 SHA512 0cc0fb069dbffe5c76415ecfa44b356cf2d29512b681b04e865ab7e84f6d3827926c82d5379738aad82fc758c675e009cfe1fd2ede5231f76df759c0f01f3072
+DIST thunderbird-115.4.2-eu.xpi 692550 BLAKE2B feb373391deeb3308852343c5660ca4c41efa53f86c5a320cc3a52e1178345036798b50be418390633c85e417a60407793b0900cbaf1e9e76daa5a35c39270cb SHA512 3d5f0f49909674d8edbad47f847f2b5600f3ecfb4dbdc4c325deada4e9b7c0ed14bdcb10d845cec0082c27988ecff496fa0d4f9c32d2c6ba0518b0dc63c75095
+DIST thunderbird-115.4.2-fi.xpi 690415 BLAKE2B b72ef3a9280551816546e0e7b4b18abcf64841be4b8dc4a5012f18f1f16da78cd150e6f0e6db33472c5d5de7e897cde39d8e3b59dc575d5f2e0fe2d3f934d59f SHA512 fae06f4452e93c68fe473b38e93f0820737f6c833698fc7a7f4d58282e229e0a16fbd293b1bf9343da135e81f7c6dd798fc7fec83d141316c400b3ff22e3858e
+DIST thunderbird-115.4.2-fr.xpi 725269 BLAKE2B 48a054649df189058b6aa2793db25cf7691ecb32dedabbd360abb2aa93c614414996d702cd2a0d8b56fa9c1a46eb7f10aea3ec5873de8d94e117539a5f95044f SHA512 34e0fad6f1d9d30cff33f6ad4576d236310168d3552b1e1ecf377a10bbd285f7c4090b76dbfc2cbaaf9073f4ae804746459ec176dc8da7a0589a3b888c4ee739
+DIST thunderbird-115.4.2-fy-NL.xpi 707840 BLAKE2B 0016299f9de26dc2fa73c311f7b3d11cd13988a7606e3b97640aaef5d940b3d0b77f1e0f42c5aef15708c4e25db05fd9e2bf39b306ddb68e46efa15e8c4b0a67 SHA512 b41221ce42e6735de2c453ad368261228649d615caf122174841ee5393e8a847cf2663a08ac668e669f821412e81cea36d3da30487f50567c4c45769a6c111f2
+DIST thunderbird-115.4.2-ga-IE.xpi 602152 BLAKE2B 071f3155167812d9795f658c5d369fab5fcff8dbdb12606f41b05ae436558990d2614e6269b339f435fb7afe2ee9ace4e1c70dfa3dcf4213101ef51803e7bf24 SHA512 7285737078d2f1286a58bf0c11db7b1358ea11ad5a055b6c03119c1c8704162f351223d1964555d3451a94475d797029e92a71904088ca699a7d29456eb4ff34
+DIST thunderbird-115.4.2-gd.xpi 702991 BLAKE2B 98ae15bc36ef94955c3aca9c3045bf585d701951d52217994a0109d1c83cdbb1578894cfad8a88985d90de299db3b9f71a9180e649e1d97d5b468dea7c8d964e SHA512 505b2b57073b4ca5207cc393f876cfc627f777cf5ae34ebed5dba33e1ed22fe1cbca3146fa5c8ded32d1d2d406e583db4adaaa8f4b2d80c9a39d38d82937a5fe
+DIST thunderbird-115.4.2-gl.xpi 705372 BLAKE2B 825006703d291cb59bf2d97a05a315d5a659dcd294c6e63655bf944df01572707ac93b5091caa144860019d15c239854ee4932bbab1d92954eb3c745a6f2b4b8 SHA512 2d86b566aa03e255de39f6386eb9bde6634b6d7e7c3825763a9817678a39db278a2d6c0ff9ae228619f3b430c74a6d5cca7c754acab7cf94b0264b7553d5c34e
+DIST thunderbird-115.4.2-he.xpi 667478 BLAKE2B 2972514d9b4cc92ee00cbe6e84e7ba32a42d0c569fda60774fa0af1c68815a8decf41894c803222ebd2a0fbf5881ad622bfd9b141acaf6bc3f6062d1f43c47ea SHA512 1f4af45d0a63bea269aea409e5922dc9b57ea1f73c37ce3b32ee6db699d8cae069743cb124692b878d3e20168bcc7b6eff72902a566e3c702b1a0c00351cc12b
+DIST thunderbird-115.4.2-hr.xpi 674805 BLAKE2B 1a615a414b55311848e8a7a65cc542c7b5b7051b0946d858067d0bd72a6b46eeb48d3ceb30ad0f20bbd4b5794cf3042a724142e622d66d86aeed4fe45d018f89 SHA512 3d6067821a82c34e705d45d6aa9081779c344d5106963784f85d075b42f81738841d282c224b828bb290aa28507ae8ebbd00c305c30e60e07fd06f7bd0f78ed6
+DIST thunderbird-115.4.2-hsb.xpi 733833 BLAKE2B d19b944ef457e6fbf1a6aa6e74004a68150995b05f8c085cea6b5f985547dacc0f13a766bdb5822dfdcdc6f6ecf1bfb20f4192703b6b730c5652b52f2227b7e4 SHA512 4a71d08429c37db501a0f0027b149adc10dac2f8e0fd983a0c5ca8e1bbf86b14d55b3988b9030245b0d42821fb822bd492c57be8b4de47a7b76e7eb02c039253
+DIST thunderbird-115.4.2-hu.xpi 736574 BLAKE2B 221e78a8697ba392f756c2f50e348aeb840156775562078ea95235aa3fa175ca5953544f4d3da4a7c7f84055a6d064015aad4ce5b6e3347f2f979a013c427c0b SHA512 e03a0208f8640b0bf5223592491cf42657ed56ad1e011e81c1827c291377862db522eeb20eab894be15045ec45d2769e26f17ed5dc8ff50ce817569989bb20d8
+DIST thunderbird-115.4.2-id.xpi 642540 BLAKE2B f8f662afe4f00ebcbbc34a957f270d608241d144abedd04d43fc68fc3dafb750c6b5191a23adc7623b62be337ff498902fa7ddd610c12bae952590428361ed42 SHA512 821b5a18317bc99047ab7a16be50ceef930bec0442888dc72ffe535873654c675be39e4b3ba27901dfd3163ac473fe2e541051c5b737b8dac6f90d1e442c5f3f
+DIST thunderbird-115.4.2-is.xpi 701959 BLAKE2B 5508507b66b1586ac41422a545bacb5517368fd5a87ab3d9b26068f8900f8bbcd1eb70ad6b2bf7bdc0ef06073326c704c9cd988f0c2538e77c76e6d9b2580d56 SHA512 fa231f3297af417520570df4aa18248d7aa408f314b6b450eb94b58742b1534ea986954d801d54a9103156c5fb721365ef8ca4913ed236e4d24251ae73f44d12
+DIST thunderbird-115.4.2-it.xpi 643459 BLAKE2B bdda26b33a5817e7b7cb025696f05e379ef04a20d89a9b834dabbfcc6ae615f98016c9222ca5dcc78f42ecf20210050485d817fd06c9126f9e5b495c88811e17 SHA512 bfcfe83e320290d6dcd1dea2595ddb609db5f3a1bb52ebfe19d1f4bcdc217479d605c0810345abf2f638884b1756dbcb071f4580feb1f9ab5c1c9023d3d008a1
+DIST thunderbird-115.4.2-ja.xpi 777477 BLAKE2B 52b5ce3dc8b0e958bf869aadca65098186ba39eeba222704635d3fe3b698ecbad3885d7f6b12fc300e421ec54218731e29e39ed6d863e9a81ff2f988a3bc0950 SHA512 e356ff5b6fb6dc0de5e69eb22de04167a7a635bb0fb84c2c77e949508606862a4e2a50307ea4d019defd0d34bf797529abd6f554b234174459e48b3024366894
+DIST thunderbird-115.4.2-ka.xpi 764456 BLAKE2B 7b2b844612bbd52f4727478e3240bdae5dda285f2f1216c1b28b7778e1a990644a06f954515bf3d3d6aef85dcbbd1c533cc45fafb804b0f1c2cb930937c5256c SHA512 42f5157d5d10739986bf662594e344b302ed4bb63a00b503a468520a08e498908d26dd248bce1fdc60dc15f4467f4dce50b22b28684072dbc16384642709118b
+DIST thunderbird-115.4.2-kab.xpi 698917 BLAKE2B 7bf3881179f6e1e74e98cbe1967cfc5c0ba97f7e16652b51d5d48e0f95df6410c02971a78f27fdbaa9bbab9f4ab2eba869b225b9c1bc4c64fdb3f281f83cedab SHA512 afc62f464bae9276f0e600a6f58674331f07207f2535590d639e1451d660985f505e96cf44091b36b6df4e52d01f5b94a0a827e4c32f0c95f18187bd1bd619f2
+DIST thunderbird-115.4.2-kk.xpi 804987 BLAKE2B 085999084de5260ec33e7083ca96ece357cd29dd48a6ce847ac3d68840c8838da0d1c0f280cfa7d780c53c2f9cc1a86ee2d6539c140bf211f44f4576510ea2c1 SHA512 373884a86ba6c1a44bcb89df2d923f6d2b6088b9204a20fdf332305d6a3c20a892dde6a6bf437a95c235eaabbea039e9446da6237833b39213a427e68027063c
+DIST thunderbird-115.4.2-ko.xpi 712589 BLAKE2B 4650df718c5e30b43a30087f78962fe243ae68800bbe0dc68aa00cf2c99b43f7c1e0946496ad4898e630ab04fe8caf1cbfdcc03511c2eaa0a946e07de9b6d5d0 SHA512 e6c0e43a92a3d52c93fa555bc25d2c94b24e9bb4cc8e555d0364e44b3a3361771abd09c3472379550c7e675705ab8d471a160158f72c715c91fb3d0bffbd97e0
+DIST thunderbird-115.4.2-lt.xpi 680093 BLAKE2B 0ebb2d92e5e36a69c936596d193fd865e559a36b7c3c5f1328788be400295fc7548209763461f106fbc1f16dd0b7c03ddaa296780ac1b5d4ef3955e4e3991888 SHA512 c835525d2d287c842ccc3b28115e773c8fc5eb9d833a0dcaa89b4d4a3d5678e61b6a1bf00177a19029b5f8a924796035437f8f8451cdfc67f84761577b699ad5
+DIST thunderbird-115.4.2-lv.xpi 604646 BLAKE2B 710dd8af40c73cdf465b441fed53541651107608783bf331859e236c8984d6ef13db71921ce2ea55b3804658ab1d067d0be3c78f0b87b0fa3265ae7b5d98edce SHA512 633815a94021a1fced6fe6c3c1c8e1dcff446bf520a2814a0faaa571b6a70325f787988e46a85d77006b8956c82a5739ba9a842e83879a506a950361d9fd9594
+DIST thunderbird-115.4.2-ms.xpi 565733 BLAKE2B d28e735c34cf06c82fef1ed30dcfcf68aba62065c6433fc59c30a557903d4b04190b8bcf444cf1b2f67551c9d228eba2518a6e53b8fcc8ad0a3688c18202a3a6 SHA512 77b064bec644fddd804e6c152aa04a8f13029d6408d837c1ab2f744339f6aa5f6f563709e1f86f9425b595bd038d483bc59c0b73e511796c1b3a5a096c4a87a1
+DIST thunderbird-115.4.2-nb-NO.xpi 653834 BLAKE2B 0dff351bc0bdbdf53ad5104327d9690caa7175ec5b820f7b09f87ff66f984a8bccae612b6329010a81f3ab0aa8a1d29efd20224801fa353573c7129e9ac4b42c SHA512 c0780d1f69a0495a37d34d831ac58e887b02eb50e660d5ea939b553d9c547557bafadea8ed49fd475c7ecadda45203a158382b4cbd11b857eea561ac6e2b18e0
+DIST thunderbird-115.4.2-nl.xpi 699387 BLAKE2B 22956a74e2346b1536d55bd1026644bc5624a6784a997b75ed0e1c391c8cfc601b1a2cf8659cd3a0be9d9193f2a4d47e7e7fd3dad86deb4429ec81bc7bd7fedd SHA512 1260cc0fe970eb2f6301837259e144bca8a628c596660aa853164f83ca8997a81c72eccc2d210b4f401157d7c545c0cb34ceaeb96dd3d85dcc764387d5dfafa5
+DIST thunderbird-115.4.2-nn-NO.xpi 672836 BLAKE2B 5807e28377b4f5a9ff13de853786c63673a02ea3413435c7f045b3112b84e4f6a5720c34a9f7f242008ecd6bc8fc45a82f2a409151e1054012af7086a22704ec SHA512 4beae73a484c69636ffdb58ca7ae3c78f57836d20418cd97311854817c9cf5cae0bba4fd6fdb819594702ab6ae861585be5bfb702cd3c49d60d9b446b2e16bd5
+DIST thunderbird-115.4.2-pa-IN.xpi 655774 BLAKE2B 0ac9c058526049bf1bdfcce39509910ff13555dbca6fb95fd4f42df960dbe46ed867b08ca323299daf772a32775b2af1790ba28209ce5b9e78179db53906d4a0 SHA512 47560b437742e775f01a8353bef947c791dbec90bbf502c20152d23f8a391441b65f0e62b71d17c17aaf5742949c0b7406f27adb968ab1ef58c7b1f05f4e413c
+DIST thunderbird-115.4.2-pl.xpi 716519 BLAKE2B 7dd6cb48f69dc40e9ac7013f7f7a92ec06457384acc885493efc69c8c63b3cc1816edfe2b6f09798f6e9e64b2eaa4d6d274c6bd2505ac412a8cfe68810b0dd4a SHA512 afba3908a63fbfd8169c641dcba66feafa6b92780d4bfaaf0c6fd8543d71950d76f79c454376a7265a74c148fe0782b3d0cd120f7fe83202e7c658d23c0de460
+DIST thunderbird-115.4.2-pt-BR.xpi 707196 BLAKE2B dd641e310b28ba9455a75ceeb431f13bcf52bd33febc3fee623168862131ebc485bdb779a1af953ea5fdb22164ecc6db3e50c39b62b2169abca7ba0f65403bf0 SHA512 628f7883bd3411feef7018505ccb23d19bc3565e34f7d97d3969a354432d651af6239d3c7b6f9947d4def2714248db320b8ba10602209dfa0cc01484783b0d97
+DIST thunderbird-115.4.2-pt-PT.xpi 688986 BLAKE2B 36520fa6e46f06d274c3c1c11a90cc59ef45c7ff60819424e72a55d1f1814a169878ef64afc7e9722d2f2608883d8241c48650187dea79aa46889442e49d1b0f SHA512 508ca9e791ce58647e4aac934c17908f2e086065316e95cf171b10482aaaa7dc7e7bc23c992a28fc5d75de9552c47f94069304f4deb51092eb15b1c23e52a40c
+DIST thunderbird-115.4.2-rm.xpi 703911 BLAKE2B 727a4e1e66424ed97c72702be3d9c3099a5cf74410d55299ef23263ec36b5532645fc3b62b1e2731596101ea2f194cb6d9230979bf9763bc0349d3d7727beced SHA512 0270e8a861e093b8655f9e78b865f40edbc8240be31eae1f484aaf178810823ef00d83f7b22b191e4a500df6c7883fc361b6432711dab0d0cd8b8dcc729e10a5
+DIST thunderbird-115.4.2-ro.xpi 651297 BLAKE2B 600cd65a44c876257cd1772d928c62775267014295b467439dc9865dff2e3e8bafc55b8d5aa8fe16dd6360e4871a86999be94d142fd38c307bf1e5fc6614dd6b SHA512 7fe5642a30a76c9a3f120fe697a31ba456e114f7605a01a8eaba06154e0bb567971c917389c218d914846b9b859eb18206912b6046c80e83f4dc8a37f7204486
+DIST thunderbird-115.4.2-ru.xpi 820779 BLAKE2B fe0c451f807f0c6208794e96923934ae7ffc86391a8abaf79bc4f88997de95ee577db0294acf2962461e89e8e1be0d98e79dff8696883bbdc073c4ae1d100758 SHA512 01080b9170d36905fae3301dd6059c92b8f24d3061ea85ff0a6060356289c747190c8985b992c4b15c8c63891069e4316921b130b0edaf3a32f31b6c5bba621e
+DIST thunderbird-115.4.2-sk.xpi 736587 BLAKE2B 73bfaeef2b61789fc2cc85fe4f258c0ca139c9794eb18638deb887abe28f9e1442b0033c027ff059992c54853df7ba3d674f2c55f8534dd515d2a91543a325fb SHA512 f77f1dd2fa19f10929335acfd03a44d9ec1bc0edd7241413920fca7a88709b273542bffaf6aa1dcaf1aae7625913eca74a4086059945d4d995ed2362573d19f8
+DIST thunderbird-115.4.2-sl.xpi 701669 BLAKE2B 6e87a385e5b2e1c3caa2d442838dbaeeb13f72adf6af90f574b9b3717a978de15e4bebbf8d27ca861abcf8d867960732f05012b07cf0ad5a4689b392af99fa80 SHA512 f5856dd4037c8463cebfd88e3c70a7f02d92e1c183b8cfc9dec95932fa3db0083b9e3476ec27abe238e3d5a156140287ad34f596d2b3357c40b2158608663865
+DIST thunderbird-115.4.2-sq.xpi 717450 BLAKE2B 4cb2773e34ce5d4af161266f66429e2fb98de2be3078a80e6d712de36f8317d8660a59634f8a87de15971cb5cb8eef69139823bf2856dc8c8038f74a707b8a03 SHA512 5446f48d070b578dd5cc56aa918f9b14de4dc295ad157db921a1e58d6a449a12e400333f526a761e293e47db7e0c7d1a2222a40def267f8a4ee115c792fd8cb7
+DIST thunderbird-115.4.2-sr.xpi 740172 BLAKE2B 7c2162b05d030fa6adf0b305a45097a6f37883527c3cad110886198ded31955510cf1614ecc0315b773ef70da5f9d1459b66b42cf499b766926d1c3d2fa3ccb6 SHA512 f5e1ba1390401ed8e29684bb3906158026d9c4841c781cfafdb84011e0801a266983b888c3d3b65cec93bc8741a5102baeeed4ec6bed73f0e1777f2d67f7f1ab
+DIST thunderbird-115.4.2-sv-SE.xpi 702286 BLAKE2B ad1062161e4494ab934810c761c321546f39288a3c0c44a6b0674c91137684d78979e2f37a8306abaa8bd10f7fba6781f4ab954e121204839def31328fe27ec8 SHA512 9e1e09090ce0a0fa1c99d53dedab0c9a2b4ce48b88e64b512d4d87186a9bbc994df057a736c3991e0cd2afe2a6c5552f2b436252c17166c4c9e05321fcedad31
+DIST thunderbird-115.4.2-th.xpi 761857 BLAKE2B 3d62ab417e8db830df0caa9c241c02caab192a607561317419b5457c95ff6bc76a3a792396425d6b9f903e53ea8fedecee58cdcfcb2baae3989a5611799df747 SHA512 3ec14775b81a4fe4543936154a3e3dc529750cc94070facb2d0abf72d7a1b71295d192b20dec3af71c9fdcfd0d9deb5b32bfc4d8f2c76fc2b41e529bee791190
+DIST thunderbird-115.4.2-tr.xpi 714657 BLAKE2B e44166833c07256579b92986ba1ca3823cc0dcb46be03396bd25b7eda408e6294f4e3959c7b144115c479d9009a5c84e740faa4da22285bbcef405de15a5b09a SHA512 fdfda2cd1ef9b7e2c5288cc23704d1e4ef307b28f73eaf50c96f1660b6c81520f83cf52617b86c28b692a0c66ce85b2f395d2a18283cf75bccc377e37ebd0164
+DIST thunderbird-115.4.2-uk.xpi 813297 BLAKE2B 4f3d4111c66f37b2e31481f4ce0625dd24285a2f1f2d26cffc00ce59a54fea86b0ea68a73f1c183267a4e01e60d3ecd11b9e217d859f83658aab03f5aa2650a5 SHA512 8a0fc31accb99088704328cd073fbb3364d7ea5eee19172b5da8f79b5f5110a0922f62eeecbf03ae115ae31067ff39dd3c58571f55a10f1cc7d8daa02b0f6c61
+DIST thunderbird-115.4.2-uz.xpi 579984 BLAKE2B 1560a99c10c10fe8e3f630370347680b5e2dd4965f78654c2fac1382a3be405a53996a3b9ab563de318d179e71b79cb1eb0b485b4ca2b3ef14f66117c38d53b7 SHA512 9845cbb8e3050da631a20a5c893f809dca0b1c4e3234698f392161f28f37002d8eef4d7d2594a0966823ff63eb1d64aff821a85f53075680dcca01d86d951d32
+DIST thunderbird-115.4.2-vi.xpi 742633 BLAKE2B 3c6f69a35e0f0509d5342b4e98daf22e1e149bb2f4a19ccc27e82bb8ef3a6903753e816f4b26d79b9c3a53a17ce493a7f4f9c53ee4d1e0c0f47b6d42e7d7154d SHA512 8046098e2ad94691029d93d76e2c86365fcc40143fddc8344bc9490479a4d6b15b59d0c71e08f6b01f5432ce6b5893de1007fa5801042e605b94baedb585a0e3
+DIST thunderbird-115.4.2-zh-CN.xpi 740611 BLAKE2B 4ffebb29634666701660dee78f4bb8eeeb0a3df5c63fb19a0087944f704f1245765dac1338d7285c5d7937c6b194bc48539f3591cf41853a8c15bd2c95516b5d SHA512 cccf099c3ec92b5322623a92775147ad859dd062d0325129dc55fead0613831b63cb0afe3459b8e8a1ba94ff8c1458b9785c0f62630f72a01973bbbb228aa3db
+DIST thunderbird-115.4.2-zh-TW.xpi 743525 BLAKE2B f2d75f9b5861e7f86cfdf208ccc7348d24817b94f430fb23e0ecaf766186152b3d6e54ab87efaf4ea7134b5bf3fede25fe91dafc1f0df51ebab0b0ebf252330d SHA512 448a82d71905e3b6253b3a0f34edab994d3115574c3497cfe675286377142991284992f02a4c65d335d4e353954e801bc85293e59383e714da8fa7e7c6181e26
+DIST thunderbird-115.4.2.source.tar.xz 532064924 BLAKE2B 89c6df7c8992143eb8f2d1b3c4cdf1ff5698195e43bb20b5853a24c743df730ca86c8d4a6877b86a479346f851b09c07dd174e65203bdd0f480b3900242a4841 SHA512 44cedd5931edbac2ab0babfaf0e71a0262317c01fd7d71e8740bb8f54766c9b49b9e325f1d2796c3a233d4298457d8769b675213a21bef759c46086080bcc8bc
EBUILD thunderbird-115.4.1.ebuild 38698 BLAKE2B 65f463e51e43d8d17bd3c62d9c5916b9f24013da6018acb82d375b3ef7e0e1b9b74f1a933c1d42eaced369d10f59a40669e6b9f9e773ed5d432ec5acbf1a5ea3 SHA512 0d759f2e4ddeb46adc3ff7883aa7dd624dc00a4caf423ff9eb122ad433b4e4a2b3a87ada9adc473a362a2fb6b42063a7b73ad64f78f3549cf4436045c6167054
+EBUILD thunderbird-115.4.2.ebuild 38700 BLAKE2B d99ca5cd42e41c04491f42ab9c78b3e87806374b9454fe45dfba917ba832e2de6ded8f49c66eb5547f2f7e9a61ca1ec66891d402fda4edddfa3fc565474e92fe SHA512 055a7bb0447b7cc2bfe130ab4d60ff5a5219fe01ee830301cac0d1383e385b0ccde28ad131a716562bce6cb0596b8770aaf893c5bc2c4371d14d4bf4473b77ca
MISC metadata.xml 2448 BLAKE2B 3685d528d3211fb49b23b0fb05c67269f1b4466bef7dd6f2d890803961ddc1b1c0d8bc06b2d421c17384b8a3769bac35236f6af07059c0cbf9e694edec8b1dbe SHA512 d9a8983f34c9691ed1d0174cac3c7300995b9f7b877c09271210cc3f2a27dd20d9fbee0c99c1f6c987ab9566eee71a0624d2d68f97c84665c1c500ac8f3ecfb6
diff --git a/mail-client/thunderbird/thunderbird-115.4.2.ebuild b/mail-client/thunderbird/thunderbird-115.4.2.ebuild
new file mode 100644
index 000000000000..1fb6c7dc8963
--- /dev/null
+++ b/mail-client/thunderbird/thunderbird-115.4.2.ebuild
@@ -0,0 +1,1325 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FIREFOX_PATCHSET="firefox-115esr-patches-07.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
+
+ 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
+}