summaryrefslogtreecommitdiff
path: root/mail-client
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-10-24 04:04:24 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-10-24 04:04:24 +0100
commite7daa1f959ba2c720f36a6984f588098e68b15cd (patch)
tree42ed099f2514ebda2681a4de13af60727c8a9fab /mail-client
parentfd93fe10d9e6c855fed8e1524b2d2d64d2085570 (diff)
gentoo auto-resync : 24:10:2024 - 04:04:24
Diffstat (limited to 'mail-client')
-rw-r--r--mail-client/Manifest.gzbin3381 -> 3383 bytes
-rw-r--r--mail-client/thunderbird-bin/Manifest67
-rw-r--r--mail-client/thunderbird-bin/thunderbird-bin-128.3.3.ebuild278
-rw-r--r--mail-client/thunderbird/Manifest66
-rw-r--r--mail-client/thunderbird/thunderbird-128.3.3.ebuild1192
5 files changed, 1603 insertions, 0 deletions
diff --git a/mail-client/Manifest.gz b/mail-client/Manifest.gz
index 0d2e374508ff..7d5187c8f964 100644
--- a/mail-client/Manifest.gz
+++ b/mail-client/Manifest.gz
Binary files differ
diff --git a/mail-client/thunderbird-bin/Manifest b/mail-client/thunderbird-bin/Manifest
index 677cdf24b6fc..b6303dd0feae 100644
--- a/mail-client/thunderbird-bin/Manifest
+++ b/mail-client/thunderbird-bin/Manifest
@@ -130,10 +130,77 @@ DIST thunderbird-128.3.2-uz.xpi 592132 BLAKE2B 20ffc9073326adabb3d1eefa2c78f3927
DIST thunderbird-128.3.2-vi.xpi 789694 BLAKE2B c360793dd9a633a311e2c4eaf6323696585d19961205871cc0f0be765939f9879203a935949165152bb33e67cd42f14ceeef2847e73a28af0f61ac11f4d698e8 SHA512 f951281dbb5669138a3e223ea01658159721cd54a132a4ee5be6b12a2aae7acbd8c758abfa87f77838a9ce7fcadb55462659f6e091a84f908af3b0aeb181b495
DIST thunderbird-128.3.2-zh-CN.xpi 788217 BLAKE2B d2156337cf524f49de6e13b9d520408e06299f14b20f74457a3a0a468a398a1e72ef14243b8c7de1f059f3c915e2c38f75b853b95bf705e274662543c134fe25 SHA512 b812958f7941fda5c9eebf5af4a87e4d40342af39edaa85850b0eaa6a6f5f8259fde0e69db8fa14dd33ed1e6e2f39b7b38ee4ff475a2f7f4e746e979be1dd344
DIST thunderbird-128.3.2-zh-TW.xpi 792577 BLAKE2B 056d561d4bc69acfef8f95ad1e3f59840a9df496ee3e36eb5571da620badb2601578256853e428b9e6243a2adf21caa1d4f6557f200dfb9ce73b5c86788cf00b SHA512 90d18b3378068b94e39e2ff17bba925eed957ecd9a206a3257b32dc943f7a0ae5d162c110ab4d4e1070e1644c626f2af1cd7056333db698a8ca473507d829156
+DIST thunderbird-128.3.3-af.xpi 530350 BLAKE2B dfd9aee3ed4693375894c156f07fee5812a43c35907a4e9a9cd45d48bd6634571c89067d7e45e9d589c40ef1d7281e993ac9f8f701f00138968465fc9f603db7 SHA512 ba52cecfa9b583d2b29bd9351c07df011bfe420500796c8ebc2f928433c4c438b92e5cd239abfee4f9f6d0b802c330f23328138d0c7fa0a90ea5cd43f37dba9e
+DIST thunderbird-128.3.3-ar.xpi 679867 BLAKE2B 5662ce9ad21a6f633e28b578eab4c561ad670ea49fbb6b56d9080646736daa32cec9ace45b2ce1022af0923a7f4d41351ea790d06b2ddc7192139c54289ed567 SHA512 59643147bedd722a8ab1a28f4e3c45d168d3a45293e817ca1410a9b227b04372d09c6513ce703704b69cb03a3b32b767de98f91cb50b33085fa479bc926eed49
+DIST thunderbird-128.3.3-ast.xpi 561055 BLAKE2B ad5e7b711c162fe37072f2d3059c13f1dc53abb8330ebc7ab2d556222dbaabc8d85a16be3620e676d392dc57e344b14de6664d66a53e91af07e2153b82da1168 SHA512 62c0b2bb05ff3d74e2704d454474aaf1d67789edffb944f39210d525c26d73c76a245e1e9ea0f2bb4f642d30625267cd4b2703ec70f46ed24e45a8bf64434759
+DIST thunderbird-128.3.3-be.xpi 766042 BLAKE2B d9a24daafc7f0403ab61dff208f3a667d1a7a49e620fd519e8c58b1047fcd92ca22bf246edb601bbb7e63ba53c504e6bdbe983f9a578895437c45ae8912ecc45 SHA512 9703efcdb97cba540eb0b8ce89c11109275b75a1d3229406c4d0906a4c4f2a70859869b49c8411b9207518b51a598df279e2c011db4901f3049de9e490c63e3e
+DIST thunderbird-128.3.3-bg.xpi 809923 BLAKE2B face0a95f78b9ef1e8cdb07e33f790384d912860533d52e3679b191f26a09c5045f43d825c6ff7705f29396e2fef3a268a0a961b305316ba0a9082b6b7c3fc84 SHA512 c530e85552f47c107ae3303074a720142ded6e1e4a17dadfdf6c9e5fb2a0e0f5cc188fa50e9f71f90b11e86488a355993fc9d29e295a5bf276629e13459b8c5a
+DIST thunderbird-128.3.3-br.xpi 653015 BLAKE2B d4a7cd1ab7abd57a3b88b2aba35a77987320bfe8f94f64953780da3baa789b024e09aba8f6ae46e71294511c71343ae7de02f6bec3a29ca166b0bbb3ac4bdbec SHA512 108686fcf33967e8456e1aceafb499fc8113315008ef021676be5b465a73f948f035e0a574d4a152143d7ec8a5675e6b2b0215ab53e61f4a93a30982cb7aa9da
+DIST thunderbird-128.3.3-ca.xpi 709740 BLAKE2B fb4e8f33c6b1859e0bab509f4a8e3637335473fcd6ce8da75bb237144d42494d8fbaf7a5737fac6f86edc8e5fa727db633c585252e0e47916b5fbe875db44a6b SHA512 40ce89c4ff9a45adca1c77750dcf498d58dee92139292378cffd9ed476e709654afc0e1c2888a292257e48eed16e64b4139c4e46e915113fabcbdbefdee0ba25
+DIST thunderbird-128.3.3-cak.xpi 671704 BLAKE2B 31c73f7859f487fb68b38096452af62c579c9c9cfd1e68a67868d55a3f32655e632ba4ce88e39202936771f400ccb86f2d67c8a36617b8955ff39e48994a30f7 SHA512 6ec38c947ee618e8d4031fdb2be29c18227eaa40d03a5776d14de7c41407fac168492346e66289ba66a1e281f9716fee6ae71f92b2d3f857deac2137fc140b9a
+DIST thunderbird-128.3.3-cs.xpi 787256 BLAKE2B 0d52ae2df2205b10b16b4eb6f40eed2eab022981c3908ec970615ac0d2026fffe27e669e52bac0803c38b8b45f5b3b7491797472938e086af5cc157d916a06f8 SHA512 9915ad557587d55a0b894de92c0e4a79a4ee3797bb31b2427454df037893734ff30ef9c40523a106f0c2aaca0152c0943089c2a4da0c6f7eebcb0b72306fdc17
+DIST thunderbird-128.3.3-cy.xpi 752026 BLAKE2B 8a319ecb9ada6a3d1832e2a793776b6ef2420f081fcfea0af3b8dfc76389340d3a90130dc73b86d26d926adca900d5dcfabceea753e33df6bfbb67a7e5ecfca2 SHA512 48ef3b61886178b279d6992472c4743714e89d268a5d96358f91d97775b32047323356cb284813057045d372229fa5930d99167b84ca7be40ef2fc6405157533
+DIST thunderbird-128.3.3-da.xpi 734117 BLAKE2B e7340ebcbcba9228e1f5238807eda2b2fb0a02033cd4945f57b81a595598f18c33d2316f5ba426a3f2b0c01e0710b5ac8bf0c39e219c5bf774efa6321e6d95bb SHA512 52c5dfacaf272966761e9c0ba1219d8b4b0741058482f06f29405596ae8dddc4c65c88b3cc2c47f6ef0462a8487d2004b983f4d82a8044a151a210ca59ffc96e
+DIST thunderbird-128.3.3-de.xpi 769103 BLAKE2B 7dea467259f6f3d9f54395e81be1ba02502ea3c5a752f5b9cf86106c09ceb08ccead6285db3ef0277f93417151360ef53389fa2e678890f614b334a441275bfe SHA512 f9744679862011a2b35e61b8e5f9fb1de699e365b2010612142ea0579cce6b129b8436cc8ff761d4afabbfa8b6fd3de80420069ebe64bf2e90a302ec87a5f2af
+DIST thunderbird-128.3.3-dsb.xpi 785747 BLAKE2B deb66260afa63dfb005af50d4fb5058a01a4f0441eb4f101f7f25cb2ca00fc24f50e6bedb6ecfe759534bda6a644f24d155f0c0c0b025faaedcdb39f86d867d2 SHA512 919d59dd266a379fb3c40359667f29bb5307bad623a908e6525899ee119dfdf6c776a4304bb77c8d592feb346674ca4308257aab1dd60b5b6b7f850b9d9e1ceb
+DIST thunderbird-128.3.3-el.xpi 892517 BLAKE2B 7401cddb98577b78e5eb715649bfdce54cf13d4c9fa616d4f0b295f686a7ca52a1b71c905afc79417d3423c37bc2860ed2ba66531d8a643815539ea809786a09 SHA512 14f861de128c0d4e5d170c5c8cdbc1c8f8bca1be5cd8dd22499bd91c8971d88252a86adce508ef6c3d5dedc586aef897533fee84fa1563e55ec33b57a87f9893
+DIST thunderbird-128.3.3-en-CA.xpi 703807 BLAKE2B be53b56a4d5b61b77a1ec691ac8e7456dc965dd38407e32618b02bc8bcd69a161f3b05768a1b216738b1b83b1994c9836c49e8c89952e4af78c166afd77bc65d SHA512 9d16b9699f8e3e41da56f1e882b327968db00cffb21530f896268af5015387f6c6d0bb38ed4515fd42c5e82c6bdecfc5eb041857cdf82267b51e7ff595dbbe96
+DIST thunderbird-128.3.3-en-GB.xpi 705297 BLAKE2B 35de4aa18839a2849b00678b36a6cffeca016d519dd956481518a381d878515921da7e300bfbdcc644c6da5fe3fc7b08df7cab7d0864a56d94869b4492515ac7 SHA512 c05fb6491a747abb1686100dc648c73a2ce69c08b2fb417afc1774bfe8cc4fe3ca2640de07ef0798d42083837988953bbc4ef55356d679eca3e1f53a4b6d55c1
+DIST thunderbird-128.3.3-es-AR.xpi 761097 BLAKE2B eb8824b510dc5b1b93ec0362d2217b228fecb131304836b4159133e528b11e588d8ad15e44b6dae6695cc3e5471ef1eeb67434e3b0d6f193379614ebd6277f4f SHA512 4e90b9a9b145dadba9cc2ee9da816868eb616f8f1914b8d993c7e87634cb1772abe482bcfdca0a2721a7984dd5b2ca921f18c184b60f0d05b37a7532d345a3d3
+DIST thunderbird-128.3.3-es-ES.xpi 725279 BLAKE2B b4f51cc3ea74839c9ff2ceb0b7f6fb2e01498bc3dbe2a2d82b5489091486296e8ea41d259a0e98988b4277bd56992f80cc45561378b16c28e04e41332ff3376c SHA512 5b73b178a544ffd794e41c16e5998fda5555cfaa0d0971ea74ce4ee715ad451e4ae8a33a663cada0b359449ba6f35d0eab6ddcf5af615454e47825d33ca30dd8
+DIST thunderbird-128.3.3-es-MX.xpi 737707 BLAKE2B 80a476dca2ad54690b30f1c0085605a84925040e13bdb461391b64903bbddb0cc10cdde0554226ddd1fd06857dbdacad98a17636c39f454aee786bc6fc9b0d59 SHA512 9372750e5d3f7e7e58d5a7845b89e99c3ba014b231338c9716eaa356d79edb01707b9e255468bef135eb5bc7b686cffe365d40a9579a861271268627c6f68ee9
+DIST thunderbird-128.3.3-et.xpi 696281 BLAKE2B b1105444431f3d60164b6d8ebef1e158d9bfa4424d98213462d41d0f1d7ed4d604822a69033f099dafefe232fdadf40f4d78fbdd9229f8254f150125be08ba06 SHA512 b02946f69df7175eb9970bbaea0c3d8922c7326e0c1fdaf6a095d5f24a47445f5c9aa91f6ca361cd7e7f2db07e9efc58a6dd011391c2fe2cd45894757aa97172
+DIST thunderbird-128.3.3-eu.xpi 733821 BLAKE2B 49db698afc1086bebf6ca814230a8b2e1fb24e00c25ffea185c412cb491315829407fe1844c19d98023688f5a45b47a8b4461e5e63c9cb25088783a4c5e2f0b2 SHA512 9424115c7f599e2dda84fd0ade7ed740eb87e5008e7ec0b31a923387095fece829f29fbf4200f1aa55c8f23148c7f1aa88d77844db099c151ece911efc376b95
+DIST thunderbird-128.3.3-fi.xpi 736708 BLAKE2B 89d07a7f87cf1dc23dc717513d778ae2fb0ee76796dfb68ae94161d731730c9db9cb2afdba2267e6cf4d8df805d4e7d49eb0b35ab4ceeca3effae08740167846 SHA512 93b57c203344c6ea3081cd52a4d9667f4ef6dc90d118247a99b1a728a3e3042e0bde5516a015d85cf73fc066c609749b2e6648fb78865a37f6f591e5863440d0
+DIST thunderbird-128.3.3-fr.xpi 772887 BLAKE2B e1933da155aeabeb3a3df52e23daaf88d8199794bff7168e91f37b7dd59bf9fcdd38ae6cc24d334f3447122434bf5dbccc2ad0bc45500456e8f64ebe04f36287 SHA512 b3dd2f4b77bdfed132645d781a7ab6cb66f4c17668669639067b2d51de1dde44934e91241be9e80994a04788d867b9f9305526d1debb1b2bcb9edccdd9b8eccf
+DIST thunderbird-128.3.3-fy-NL.xpi 754430 BLAKE2B 2ad71558aa67c0c17b70e05086e8e8626d66dd4069808a0ae0797683bb8fbd5ffb654ce8892ac975049df6d89cba4621133a8198964f0790a7f1a73779663578 SHA512 566b29a02e5d4436348bcd09ed3efc5d8a40dccbdc7c5bdebf0ef4f126820265457572ad3175122e35d549a7ed35e47acc0203efc75387b357d052ecfe919747
+DIST thunderbird-128.3.3-ga-IE.xpi 615880 BLAKE2B 4d6e98e35fd0feffc22dc86a43c70ebbb10cdd682c591a01c8ff6b574b6d642572bce44d2d2373840bf8243c05d38fc1401202ad3bd9cfa59b9f0795ae087397 SHA512 54fbbad8db77ded44e55b1d9b570aae9b33ca2420eecc353d93643d2f35eb123f097e35b8b7c89df3040c23b4bb215a74fb3d0d3919b096232a1e10d8ff1521b
+DIST thunderbird-128.3.3-gd.xpi 728530 BLAKE2B b5ce99cd6b7e0fa1ff1a446a7ce21faef05dabcaaa69e2058fa786bf92a97043c128fc9784dc46c34aa1e830d3c51dbcd392fd22f57fed7f8196b574a891e206 SHA512 9258a17c6e2f51f6d1e70274557c0adbf7723e02a2429077d8c855f15e02cb9d2a6fd798cb2d997004750a77c5b21fa0241b7d2441e891c987a261ed4eb8353a
+DIST thunderbird-128.3.3-gl.xpi 741503 BLAKE2B 102c167ab5258245a22e72cb7fd93fa69d79b5d43bc779b87f0fe160581de752c2ac79c45f32b3db7183acf13ceccee7b65e41f217ab85c17bb5af866b9439f4 SHA512 cc6b89af55b086a6224835c337d826a1d7909b5fc4d7a62cde249edbdbb369c2f6a588a8b5307adfb9f56d887ca71d2ce7f5de3f6d186b35eec3da2925079dc9
+DIST thunderbird-128.3.3-he.xpi 700302 BLAKE2B 9b4311ae97affe88ae04bc5cdda1d9735c0714139c80bc2c86c9800b170b757c4961bdd010c3a88abd9393d13503a3af6315345af92a8f9dcfba165c58185f5d SHA512 152ad30a4b41c1d69fbf7870848328baf6fcb1d59eda3d2554cb63a48c4bec544ae38289f48643115d599118b25bc1607f2cf3292a10cd613d138f8003f0521e
+DIST thunderbird-128.3.3-hr.xpi 718726 BLAKE2B e286cecac78102215a7e46bb34ad297b7abe5d1ac26b5a7eb3d497d2734c419b4a14e7651a99f622e7566e14777cb948297fde04d3c7a66987296eb83cf1ad72 SHA512 9b9f9454dfc90101791dd6ac5cf9a19913716be17fd0e57686065f7d6c9a0074572293299c5246aa80466dfea0d9ff6aeea5cce0f49e7885f9c9ca58638cec2a
+DIST thunderbird-128.3.3-hsb.xpi 783149 BLAKE2B 298ac20208672dd8ad1a15206b3e88801b0d85610f7e03df4c9804b1b9d437d06440a34e5c97c5a3af8bfb2ae61873c2dfe44b4ada50c5ef3fc50dde576802f5 SHA512 8ce0aac896f29f7a5bb227cea892545fd951963c5fad30558e977ed51ed04f4ca3e41e5b2af75ce92d6023e0dc81e1ecf17d6ff352279e136bb843035336bd25
+DIST thunderbird-128.3.3-hu.xpi 786083 BLAKE2B cdb373723fa0b18f1a2a330fb8ec1ec271812fdfc3d5d6296d8cbc8c1f31817870960f70299f7894b4430c9deadfcf07d2e3c11d22580018dec799d0868dae45 SHA512 8cac477730b3af08fa8e5107d537c555e634e3ad50a8a802784a02ebf5393f963f0e996f2aae69a7a471f65e626109aeb2072db33a0487f629547a901d17f11f
+DIST thunderbird-128.3.3-id.xpi 666012 BLAKE2B 525de2e515128c435660631d6cd1634a43ca469fc17c7c4a58a48a284e88d382eb2e2be5398661752aad13453837959a7927127da4e43e9a02d1b8570b881cda SHA512 9fe68bb217bdef1051ec718c045beeb71ac5b6c3038094c04bc122cafbecb1032ed8187e61894e86754e7131815ef151fb34a643634e911c8a4382bc2999f46f
+DIST thunderbird-128.3.3-is.xpi 745511 BLAKE2B 46b8e6148f0c80f92714a39f3702cb9168841546c4811aaa4fcc059b2f6407c22f51665a70e0efe2ad3cce475bd6eda2754872ae7809d6eb178f96fde14e5719 SHA512 f1c6673a664d0d7f2b36aec2f961ad85bbc04772bc00f1bb791fc2c3a433fee1ed627ac003edcd5f5b0a77eafe419889c8d4e81839c0e939d1be851957377f0c
+DIST thunderbird-128.3.3-it.xpi 693199 BLAKE2B f8bedfadd5dfaa73fe9ce2ea405d47dd08dc40b55038b9cbb614d0fcfba8819838f8972049e778bfae0f9dc3061e408b0df0c73702d3ed68ed4475926da2c068 SHA512 de53f3351c2f93c2359027e77e03866a24e81b7c63a3a7778d669649fded5eb97bda6ccb555171c1f080aa4bafd30de850d3bfa0d5092e87970f159208d445ca
+DIST thunderbird-128.3.3-ja.xpi 822831 BLAKE2B 974e96bd955f0d1b831402f01026fc9205853a2f92b23146383041b7a8c61707bb56d880196b3528447d09f9ad6270f002b18d4122bee158c554dcf98420dca6 SHA512 bda1c8ea4000828a60213a1e2a4253a2a0d81e6e93d8d1ab2ab29962da9e83208cdc92d564c4116bbac964d36c2e3ddc8ac75caf361620ba9f362f942bd30699
+DIST thunderbird-128.3.3-ka.xpi 796046 BLAKE2B 4c61030f26881f3ca7eeb8c776906121e098a12557dd31b495bc1d7ef5311f3a1613c22144fb695a501a2138168a23f706df5763ca53e7352d31adc0f0729342 SHA512 e561537fbef3f72a3161e463f3bf7b51bcfe9dbafcbdf8c2ba06d42470b7119f6a99ce7e588bcd3cfeb87aadaac5d0c28b14a035cf5abd67010b18ea9f1a84e4
+DIST thunderbird-128.3.3-kab.xpi 732380 BLAKE2B 8d433198ccf44de4eeb8d520df2fa041b8731334deef326fb7f6a2336d1786c9c3df0ad0ab187aef854b14060c90e3496a2cad73db2a1de9ab6e5f8ec41d772d SHA512 8137fbe1ad08d69c31f80211e878284ce0ef13bd7aaade85ad2d604b96e78c091b52243f5a8fa2b76630eff3d956399300c1d692f46517d888694a2d17253348
+DIST thunderbird-128.3.3-kk.xpi 859197 BLAKE2B a07202551d43382cda0c4aae80531e7d614642af6987cc4fdd6787ede3eb18e739f68ff3c8bb34610d0e45b547501b308858e7c895f68574324c392f8d68af71 SHA512 02ed2c44d7719f4a977477b4537a3b05ba7e962907c1f76dbf40c8689e084e30d64fdb4965ff820163cd4e54e6f8079c0ac7854ab140d70c46a77dd004360111
+DIST thunderbird-128.3.3-ko.xpi 755136 BLAKE2B 1dcfaf8d05bd0bed6dbef073a698ec1ccce7de7d5ad855b57f797bc184c3828db3a6b1692d3b75c8d234fcf9b90c1a5b693384b72657580df50be2fc9d1f8b65 SHA512 06a52a954a989cd9461712ccabd42ef0689865424aee4e5d1bc85e8d29d3736444169612c5875de28d345eb82102e4c57a63be2e83caba6e562c775c3fb51901
+DIST thunderbird-128.3.3-lt.xpi 700919 BLAKE2B 06cf61a7d1ff84b9243eda11a6a85a222652c4d982558646600282c9feeb539b8417dee791434f5b57a0da5bd04d0e00290a613dfe25ccdd57e4db0d042a23e9 SHA512 ca7186843c2febbb8dde54000d88d82468ce4a8ec6476d2013b5b127a1e2480ab8b9e3ddc6e7d9a3f7b1ff3f06ae4f57affea5e6e434cce8093e61ea46579786
+DIST thunderbird-128.3.3-lv.xpi 623625 BLAKE2B 7ac613977e5083c5d32cbc270a706e3fecc2a770719dacbe77abd27745c363865ee4038b6cf2723dce5834927af276a08c832be016e8d352641af3ff08c77e55 SHA512 bcd56f8090cbf69a8288a74b011a00418fd3bfa2a758f6b3cd21db7b78a2175bab8d416d8ec57980b10c9fb4b8869970d4fcd812e5651a37375294ca21dc0edf
+DIST thunderbird-128.3.3-ms.xpi 581083 BLAKE2B 350096107efad905d247fcde7262ae09222a3d2347760a91b0eb6cc59e0d84ad2f0eb6cf8a98807d25d201f629c462b5d70085b55e3cca4a19c1ca5997a4b1bb SHA512 feff1dd2fb62e9754769e2ae3852d8c3229282a10f5a0c7f0f72f5b16db54be2300624e406f82170ffc16f10ed8958e99691df823732507d94078755a882229c
+DIST thunderbird-128.3.3-nb-NO.xpi 703766 BLAKE2B 20c41278120cc36f5a0dc68283b62080cab45a6ff8a60a9528e0ce84a9188ad59e3f2c087e9c95baa71f05c8dcec5e5326a3c9bf69ea4045e1d06f55aaf89b34 SHA512 b04737a84daf01fed2591fd6c5186dbd1bc447755d2d152e6ffad4f279c3ec04a3fd8571174e6a085b7242ff14569bc85b9f2452883f3dab0d6e0b0488e4a642
+DIST thunderbird-128.3.3-nl.xpi 746835 BLAKE2B 0cf3305b7527c420bc10b4e9687ff6ba9242545f05b16b0962d303162365134c7024cb651c9cf203f27ef1e4ad9f1ba8545c2fc05396f24367491792f342e3c9 SHA512 990b901e34defb9e1736f5f2d14c6e40498fa5b55c14b5ad8de7ae7d8a2b96a205bba423f4b4b6b5a901a8458a90cf2d6b20d22f5cd5084a102ce3a3744015b9
+DIST thunderbird-128.3.3-nn-NO.xpi 725950 BLAKE2B 126cdb5950cddf72674c0630f702a7e3711a3dbf48723943621714c0c5edcd5f2e788a18019c73848ca147c4c2c0578b088fcea83eebf9a9dafdbf0421a8923f SHA512 274c2499fb8f8cdec38d34a57c90569bd184a23e53df222a07debacf1bd008bcd2226fad27af250a4145000442231e6bd5bc8761469518408e215663429535b1
+DIST thunderbird-128.3.3-pa-IN.xpi 683344 BLAKE2B 08a15464f5e4c24d2f9a8b41cedcb15befde23b26dd96bd99800c2b3a31178f893b6d0f73463d94404e4ce5beb75667835e5b256d8d68c0c16afc5cdb08eff69 SHA512 c7e4eebb4806eeb54da4d7c301e8bb449f10b201962770379104bd9612395c4479bf20de521eeb05b7c29a8e6191bf88647c49527fab0870019cce93bb324bb0
+DIST thunderbird-128.3.3-pl.xpi 764581 BLAKE2B 3ea71614a6409ace7b3e7119c83995d3a23e8b8242531856ab8b941840b95c1d5fadcc84ee93e02e8c053fad8bde7090db1c2b1abe5542523b9b1a254e6193e9 SHA512 fab4d4c55fd9d8a49e1bd8c2d3a404ff47b08b0e3a0bd8e57aa5663dace844d30119c80d4ec20866b90d8dc3581ffbbaded569217f34f772fd165e4c878f2e9d
+DIST thunderbird-128.3.3-pt-BR.xpi 754206 BLAKE2B 96f4fdbf6363c3e18b3c87c4fd96c289be4621768632deadd2325ccdf5969b11c00d4a51001e0b6827117c99fb008b10d00830a37edc8af97c7d8fc37208dc15 SHA512 9eeff0357470075c20d2b34ae3f92659c0725edd8432d9d2d76b6a809c050b2793e9f54759179e6aa1ec18ac4c8d1ef7c2e0cf1d99174b547e5b65c63d1ff694
+DIST thunderbird-128.3.3-pt-PT.xpi 747132 BLAKE2B fd12d2f88cd366ec00cab6168b4b0d73e5d851ccd0593f53217853d8ecc462f83dc5595ee8c50163bcc40c2491e1a15675001d1ea627990506ee69da83e6ae2d SHA512 13e1c57b3aaf91d884a25744f1784a64e0ab8c871825b954182a7ce282b58611057e3def5973b0a2d01ac5a909a06de9386c9bd27461645681426bd873f65777
+DIST thunderbird-128.3.3-rm.xpi 747955 BLAKE2B c411609494d41d049c86d34e9cacf12cd3eefd0aae8bb38a4b5af3726fbbc9a42e9dfa831c746fe1d6e58842529fdf6c41291b769bfea36fc339cd85627695ed SHA512 5e9fb3611663664bfb16c9c792b093cb2b9077b21f9cebc49051287b97ba7b017b41718648d2c8b1c47c2fc2fdbdcba8d300fadd31a08c9a183fac08bcc3c2a3
+DIST thunderbird-128.3.3-ro.xpi 669741 BLAKE2B 1a2f49118e05e58116dd0221ceab5e8ba0f2f66503d89a21b7ea3e6686f09935d0acb5f24b22d9d87a8d90549ddf274f953986689c95249832ba64a340ca342a SHA512 f341cb90ee176f82577071d494271b2fe0e690568005b829bd1e74e8db5866ef82643bf09ec4be828a4df72cee0fea4527c9918780f456be613a574d492cb52f
+DIST thunderbird-128.3.3-ru.xpi 875464 BLAKE2B a077b9eb9a28a000a51239b808438278d20d1799d3b8cf696bdd87258313e985b1f2036181d3210259dc9be3da4389f4259832d02370130f40cf6f8bf55d1afc SHA512 003893a2d43b84f562b3997db07864ee2df2bc45a70156d5a2359d2983a1e80ddbad4205a7274d21d7bc15cd042700c2cdcd308848d9469e0d34138ac9ce35fb
+DIST thunderbird-128.3.3-sk.xpi 787305 BLAKE2B b41e9d7ba44628cce237fc15d8ef79ebc9280ac2ff0bb4a96ddeb8c6407cdd74292e79ac8cffa58b9ec15c3f1e96a2bf6e4c83f21020c9005de70e2a40b4cb3b SHA512 5a929b558ac007bf0f24d60b724dbf7645ba0e2c4f2c04d154b425a45d327d079f3a7a2659a7c3893bb3a79b2897e3030bce1aadf236fd393fada7fe9bffa49b
+DIST thunderbird-128.3.3-sl.xpi 745304 BLAKE2B 5b354f9db9951c2795a42f9bce3b1c756dbf6573bcf34f63b13fa3a5c30d5b44142191a9b7f22bcd7a97d67bacd4af83af9e2835255ca9a3ffc0267b230f6d63 SHA512 e94879c6c0607c7d1fda87a9e96040ea922b0a53ca84944dd000e9d2add07bfc6f857451d1479ebe656f3e93850ac0a8ad2117ad7e76107b7cc4d11f85e0e935
+DIST thunderbird-128.3.3-sq.xpi 767680 BLAKE2B 48fa2d872d7087201d49df0295acd012c237fb63c1f729e69aa274e52c8c6391c05ddb0d24261dc758b1bbbb97375f300c57aa959bac646c7675c62b55119827 SHA512 d7a4c3c03f3dadbf40163e4c03a6865608f87ac522237b18082bebaedd11e37e9f64ec97b03e7465abd4370a6d0dda705aacaa605005153964c5e0d4eb737463
+DIST thunderbird-128.3.3-sr.xpi 771103 BLAKE2B 3835bd1419ae146dd6a41faa44fb3fd74892bc56da86905defeb10504e96ba2c16a88197fb7d27f68bd59a7d00069b71bc26f920daa260056d5c1b67d45714e1 SHA512 991dd0dbf10bf9e3a1af0cae1e23085a906255e84e9ccb2f5c063a8d363f542f42652b560a822384b19bc6a8e2a4685d8328415e282c24a173da927eb19a3857
+DIST thunderbird-128.3.3-sv-SE.xpi 750252 BLAKE2B 48270b3e74a696dc0da9e2a0dd903cb62010a0229e4a8c00e55eabec971313706c7a24b585b83ebf99263018335b9c18470dd9aa1c2a9127c879b3de2bc53b27 SHA512 bc0028e0653733d6274285fe1ba7b3660023e9207a84be7623c1bb723b674f4b160333e89abf1f06caf9d4c361c4ee6fda106ad718d7b9a72da0a2bc40c91a24
+DIST thunderbird-128.3.3-th.xpi 814080 BLAKE2B 541d2c9b52e95b8bcb2b75923cbaaf138208c8017b59121950c89aeb97d197f83d93874cf66ad20d59b20f626d47b104319e1a2c75ea8d15731b301e33b1c610 SHA512 43caab0e45a8a98de5e05f9ae79653f23e9ec98b232e4b43e8a43ed7ea8a160e96d8f733b29b9538e4e271a6c1c9517e3823b07ed020d6524c667893eb0b9cb6
+DIST thunderbird-128.3.3-tr.xpi 760390 BLAKE2B 0be7d53ae223ed969fff8da391802e4fbd5ba8c8859eb17ecef121b9fbe713ce7bba1669686fc0ecfd5dec1fe27939a3b2e8428ebeee412a282de8744aa2b9ce SHA512 05658607b967bff998e57b6aa3b13346fdfb7a792bdfc279150f77002c283247e5afa043eaddae36e178a29becee28ed067f874fa871f2094f6851727d144020
+DIST thunderbird-128.3.3-uk.xpi 861344 BLAKE2B efd701a40d82a8e55cb60073851c84e6c5190f055eb3352d7abad122bc4f84ed9b82e2c8617af8ce646b22bd7d51751095a2180f8064eb74534be880d4f08bbc SHA512 f5e11db76536fa25558a9664fc2fd47bb0bd84bb92851aae81ab051b5c9b787ad5f05ffa4bbcba693246300a549c1577301c0c47cde4d5d309fb91c010871035
+DIST thunderbird-128.3.3-uz.xpi 592133 BLAKE2B 4d3484e08f63af6cab6e2d4e2d5b2c67012519e06d6bae5588fedad687cf2bd10db958572afc17eb8d534bcdfae679f2377179cf2adfc36dc56e368fa30029e1 SHA512 6bc8cde6901ca61309949cad6503571c1fed1b471c034af797b44d3422351cfd6042d76b0591e01e9b7ce8f29b22b3a3d7da155be8c9e1a5257c074a9b9fa7dc
+DIST thunderbird-128.3.3-vi.xpi 789696 BLAKE2B 221dd1c72bd996ef37069ce6a1d66a0f1a4848941b9b42374728a32695094b211d46f947227d0b71b8a0bc82a4b7a098ec6e71d3abc18e2e0ae3c22fabc5ea62 SHA512 98632701e26ce666f5b5b1f21af443061a51c13674591f5a97111282cb939e7598afcb262b11fffe6f6e17ca20329f90a77db2c492fd541d5ebca539ef604d89
+DIST thunderbird-128.3.3-zh-CN.xpi 788219 BLAKE2B e458aefb20f27dca6d0c9cdd27981e7485438d6d3d5e34c70b912d7845da012f3c473a2403718c30bca617c54b4cf1a0832ee357b494478a1ab4194e3d733f9d SHA512 2a026f1500d2a7342ebae47938b87c39146b8e0c1f371142b29af5f953d5fe4d9d4d9d1c45f04eea0a70a85830db41f7dcb3d3c7d7a0114d37e785e1a94e38d2
+DIST thunderbird-128.3.3-zh-TW.xpi 792579 BLAKE2B 8f4520ac3bd42a941b5f111bc3ad8a750aa6377eed534c17293f99d23fc9c500d60afef337b96973f316a852139bbd4ca67698bd18ebde408efe8e3bd1f50fba SHA512 89c9b6b465ae023f92f0f329a9e3d473db135f0a0915dd4ed6f51a26a6cfdbf93595a3480c85d7d037218af030e185558b6986f22f6f81c27ebf79239c43c62a
DIST thunderbird-bin_i686-128.3.1.tar.bz2 89545533 BLAKE2B e4f51c46e19566b656197012c4f93761b01088ababdba70a2c794fdf3b05e0fa5e042e5da312afda28596601ef83f6b78268254f238ea0cc83baec962aa1c4cb SHA512 0e12f05da058b349b91fec70329ace2f2c488a158c1769b14c2238ed8c2188be70efdaacac6d01b7200942865d758243b8332270638be1245185691c344c0fa3
DIST thunderbird-bin_i686-128.3.2.tar.bz2 89530451 BLAKE2B 252d96234f7b90ea3a72df69ca9f3a919492483da9bad5a3be4eb2d51d9c4d6bb5a66cf55a270731641fcf35df2a45964ec08947178f5d4beb32b4f18273d502 SHA512 0719b289f84e50f3482089777f915561db708a16dc250e2ed40fb284b9faadc76ec5c726b50391e3ded52186e9d3e3bdf06651cc8ec77b0f7b0769de290247bc
+DIST thunderbird-bin_i686-128.3.3.tar.bz2 89534500 BLAKE2B c639209aea3f4ce526faf90d8ecefe026f8cf7d8b03241e0ae0406750f4b590cb74c560258d53d21ddc95eaec3875f3a5227200abf423d807ef1adf742dc90a4 SHA512 c225accada8e58458673d1880ee148bec5cb129b7734bbe0988d5e644e0c40f810a18f19ae5831844b707a076c1f932e08265662a05f4d07a61756898d6bd965
DIST thunderbird-bin_x86_64-128.3.1.tar.bz2 87149756 BLAKE2B 031e364ac3e14811c0a8839e124890f44ad3dd77b2e5201a51ca4aa198f24e1f7a3e04922e14504198aadb555a4d88dee8ca410dccb6e9c30609b97ed2808282 SHA512 358b4eb4b7d9a8cd5c4372c549e16d090967f709060236f5d7d22c8ec22440edff18d7b6cec93409b093afdce2e5e2a9513036c2647a413ac095aa09bd5686ae
DIST thunderbird-bin_x86_64-128.3.2.tar.bz2 87061650 BLAKE2B e2d1dc5b13713c1fb6fff36ac792b9949d6584fa7170c3d8e9fdb52132f8a349d995b555e3e7ff33d1d20368a0030b57a2ec6e88e2a15a17be122f5c218764f8 SHA512 976a431194da677ecf9460e90b2b09ce0545c6297df962fad3232b54d374d39a6f86960bbbdcdc09818250637d4abbaf146117abf8f6fa405b23a6a5537646c9
+DIST thunderbird-bin_x86_64-128.3.3.tar.bz2 87157208 BLAKE2B 9ad7ed253233115c5c57f0f4c95cbb31f07db4a85ca5f068793792822eea8aaf78cfbe3756a600e0dbe8c08dd852bd348abff9fa91a642dbfb53699d5436935f SHA512 74a92253ba7f180d489da89bb77456df40604153b8371f3915b6c6cfec0db7a5c21e6e711b46e00bfecf874afecb4010947825fc70563d9beb3933a6462608b6
EBUILD thunderbird-bin-128.3.1.ebuild 7455 BLAKE2B 8b01548ba050e7c8594dfcfd59daa88f53b41b05c0fcfd9a3852727f86f5b670f1143aeb7e4f10fc282ce3ec7ae4ed6ba617dca9f214d664ff8a831c267d273f SHA512 27f83c6af97e348387b532bb4d9e7745cf775071138126364584242c35ec56128608ea0d41332f516e7d0a4de46908e9331ad947805cf7a24665294eb85fe102
EBUILD thunderbird-bin-128.3.2.ebuild 7455 BLAKE2B 8b01548ba050e7c8594dfcfd59daa88f53b41b05c0fcfd9a3852727f86f5b670f1143aeb7e4f10fc282ce3ec7ae4ed6ba617dca9f214d664ff8a831c267d273f SHA512 27f83c6af97e348387b532bb4d9e7745cf775071138126364584242c35ec56128608ea0d41332f516e7d0a4de46908e9331ad947805cf7a24665294eb85fe102
+EBUILD thunderbird-bin-128.3.3.ebuild 7455 BLAKE2B 8b01548ba050e7c8594dfcfd59daa88f53b41b05c0fcfd9a3852727f86f5b670f1143aeb7e4f10fc282ce3ec7ae4ed6ba617dca9f214d664ff8a831c267d273f SHA512 27f83c6af97e348387b532bb4d9e7745cf775071138126364584242c35ec56128608ea0d41332f516e7d0a4de46908e9331ad947805cf7a24665294eb85fe102
MISC metadata.xml 255 BLAKE2B f54493c82293ca95a1ffd16d6199055650b0aaa18234716339235bab3f14a87327cb04fac6b543f973b3fef8047412e54edf72bf0b8a9424f4aa1d2eb0feec30 SHA512 28c0ab3671ed2c65cd9694181f7f9c4a8bea53dee0a0a06f0d9086166317a87611017b105d5150167597c45a7dd8921182fd6bf9d1b3fc7408c0e94f36189e33
diff --git a/mail-client/thunderbird-bin/thunderbird-bin-128.3.3.ebuild b/mail-client/thunderbird-bin/thunderbird-bin-128.3.3.ebuild
new file mode 100644
index 000000000000..5dfbe82ed133
--- /dev/null
+++ b/mail-client/thunderbird-bin/thunderbird-bin-128.3.3.ebuild
@@ -0,0 +1,278 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MOZ_ESR=
+
+MOZ_PV=${PV}
+MOZ_PV_SUFFIX=
+if [[ ${PV} =~ (_(alpha|beta|rc).*)$ ]] ; then
+ MOZ_PV_SUFFIX=${BASH_REMATCH[1]}
+
+ # Convert the ebuild version to the upstream Mozilla version
+ MOZ_PV="${MOZ_PV/_alpha/a}" # Handle alpha for SRC_URI
+ MOZ_PV="${MOZ_PV/_beta/b}" # Handle beta for SRC_URI
+ MOZ_PV="${MOZ_PV%%_rc*}" # Handle rc for SRC_URI
+fi
+
+if [[ -n ${MOZ_ESR} ]] ; then
+ # ESR releases have slightly different version numbers
+ MOZ_PV="${MOZ_PV}esr"
+fi
+
+MOZ_PN="${PN%-bin}"
+MOZ_P="${MOZ_PN}-${MOZ_PV}"
+MOZ_PV_DISTFILES="${MOZ_PV}${MOZ_PV_SUFFIX}"
+MOZ_P_DISTFILES="${MOZ_PN}-${MOZ_PV_DISTFILES}"
+
+inherit desktop optfeature pax-utils xdg
+
+MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/releases/${MOZ_PV}esr"
+
+SRC_URI="amd64? ( ${MOZ_SRC_BASE_URI}/linux-x86_64/en-US/${MOZ_P}esr.tar.bz2 -> ${PN}_x86_64-${PV}.tar.bz2 )
+ x86? ( ${MOZ_SRC_BASE_URI}/linux-i686/en-US/${MOZ_P}esr.tar.bz2 -> ${PN}_i686-${PV}.tar.bz2 )"
+
+DESCRIPTION="Thunderbird Mail Client"
+HOMEPAGE="https://www.thunderbird.net/"
+
+KEYWORDS="-* amd64 ~x86"
+SLOT="0/$(ver_cut 1)"
+LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
+IUSE="+alsa +pulseaudio selinux wayland"
+
+RESTRICT="strip"
+
+BDEPEND="app-arch/unzip"
+RDEPEND="${DEPEND}
+ >=app-accessibility/at-spi2-core-2.46.0:2
+ >=dev-libs/glib-2.26:2
+ media-libs/alsa-lib
+ media-libs/fontconfig
+ >=media-libs/freetype-2.4.10
+ sys-apps/dbus
+ virtual/freedesktop-icon-theme
+ >=x11-libs/cairo-1.10[X]
+ x11-libs/gdk-pixbuf:2
+ >=x11-libs/gtk+-3.11:3[X,wayland?]
+ x11-libs/libX11
+ x11-libs/libXcomposite
+ x11-libs/libXcursor
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXi
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ x11-libs/libxcb
+ >=x11-libs/pango-1.22.0
+ alsa? (
+ !pulseaudio? ( media-sound/apulse )
+ )
+ pulseaudio? ( media-libs/libpulse )
+ selinux? ( sec-policy/selinux-thunderbird )
+"
+
+QA_PREBUILT="opt/${MOZ_PN}/*"
+
+MOZ_LANGS=(
+ af ar ast be bg br ca cak cs cy da de dsb
+ el en-CA en-GB en-US es-AR es-ES es-MX et eu
+ fi fr fy-NL ga-IE gd gl he hr hsb hu
+ id is it ja ka kab kk ko lt lv ms nb-NO nl nn-NO
+ pa-IN pl pt-BR pt-PT rm ro ru
+ sk sl sq sr sv-SE th tr uk uz vi zh-CN zh-TW
+)
+
+mozilla_set_globals() {
+ # https://bugs.gentoo.org/587334
+ local MOZ_TOO_REGIONALIZED_FOR_L10N=(
+ fy-NL ga-IE gu-IN hi-IN hy-AM nb-NO ne-NP nn-NO pa-IN sv-SE
+ )
+
+ local lang xflag
+ for lang in "${MOZ_LANGS[@]}" ; do
+ # en and en_US are handled internally
+ if [[ ${lang} == en ]] || [[ ${lang} == en-US ]] ; then
+ continue
+ fi
+
+ # strip region subtag if $lang is in the list
+ if has ${lang} "${MOZ_TOO_REGIONALIZED_FOR_L10N[@]}" ; then
+ xflag=${lang%%-*}
+ else
+ xflag=${lang}
+ fi
+
+ SRC_URI+=" l10n_${xflag/[_@]/-}? ("
+ SRC_URI+=" ${MOZ_SRC_BASE_URI}/linux-x86_64/xpi/${lang}.xpi -> ${MOZ_P_DISTFILES}-${lang}.xpi"
+ SRC_URI+=" )"
+ IUSE+=" l10n_${xflag/[_@]/-}"
+ done
+}
+mozilla_set_globals
+
+moz_install_xpi() {
+ debug-print-function ${FUNCNAME} "$@"
+
+ if [[ ${#} -lt 2 ]] ; then
+ die "${FUNCNAME} requires at least two arguments"
+ fi
+
+ local DESTDIR=${1}
+ shift
+
+ insinto "${DESTDIR}"
+
+ local emid xpi_file xpi_tmp_dir
+ for xpi_file in "${@}" ; do
+ emid=
+ xpi_tmp_dir=$(mktemp -d --tmpdir="${T}")
+
+ # Unpack XPI
+ unzip -qq "${xpi_file}" -d "${xpi_tmp_dir}" || die
+
+ # Determine extension ID
+ if [[ -f "${xpi_tmp_dir}/install.rdf" ]] ; then
+ emid=$(sed -n -e '/install-manifest/,$ { /em:id/!d; s/.*[\">]\([^\"<>]*\)[\"<].*/\1/; p; q }' "${xpi_tmp_dir}/install.rdf")
+ [[ -z "${emid}" ]] && die "failed to determine extension id from install.rdf"
+ elif [[ -f "${xpi_tmp_dir}/manifest.json" ]] ; then
+ emid=$(sed -n -e 's/.*"id": "\([^"]*\)".*/\1/p' "${xpi_tmp_dir}/manifest.json")
+ [[ -z "${emid}" ]] && die "failed to determine extension id from manifest.json"
+ else
+ die "failed to determine extension id"
+ fi
+
+ einfo "Installing ${emid}.xpi into ${ED}${DESTDIR} ..."
+ newins "${xpi_file}" "${emid}.xpi"
+ done
+}
+
+src_unpack() {
+ local _lp_dir="${WORKDIR}/language_packs"
+ local _src_file
+
+ mkdir "${S}" || die
+
+ if [[ ! -d "${_lp_dir}" ]] ; then
+ mkdir "${_lp_dir}" || die
+ fi
+
+ for _src_file in ${A} ; do
+ if [[ ${_src_file} == *.xpi ]]; then
+ cp "${DISTDIR}/${_src_file}" "${_lp_dir}" || die "Failed to copy '${_src_file}' to '${_lp_dir}'!"
+ else
+ MY_SRC_FILE=${_src_file}
+ fi
+ done
+}
+
+src_install() {
+ # Set MOZILLA_FIVE_HOME
+ local MOZILLA_FIVE_HOME="/opt/${MOZ_PN}"
+
+ dodir /opt
+ pushd "${ED}"/opt &>/dev/null || die
+ unpack "${MY_SRC_FILE}"
+ popd &>/dev/null || die
+
+ pax-mark m \
+ "${ED}${MOZILLA_FIVE_HOME}"/${MOZ_PN} \
+ "${ED}${MOZILLA_FIVE_HOME}"/${MOZ_PN}-bin
+
+ # Install policy (currently only used to disable application updates)
+ insinto "${MOZILLA_FIVE_HOME}/distribution"
+ newins "${FILESDIR}"/disable-auto-update.policy.json policies.json
+
+ # Install system-wide preferences
+ local PREFS_DIR="${MOZILLA_FIVE_HOME}/defaults/pref"
+ insinto "${PREFS_DIR}"
+ newins "${FILESDIR}"/gentoo-default-prefs-r1.js gentoo-prefs.js
+
+ local GENTOO_PREFS="${ED}${PREFS_DIR}/gentoo-prefs.js"
+
+ # Install language packs
+ local langpacks=( $(find "${WORKDIR}/language_packs" -type f -name '*.xpi') )
+ if [[ -n "${langpacks}" ]] ; then
+ moz_install_xpi "${MOZILLA_FIVE_HOME}/distribution/extensions" "${langpacks[@]}"
+ fi
+
+ # Install icons
+ local icon_srcdir="${ED}/${MOZILLA_FIVE_HOME}/chrome/icons/default"
+
+ local icon size
+ for icon in "${icon_srcdir}"/default*.png ; do
+ size=${icon%.png}
+ size=${size##*/default}
+
+ if [[ ${size} -eq 48 ]] ; then
+ newicon "${icon}" ${PN}.png
+ fi
+
+ newicon -s ${size} "${icon}" ${PN}.png
+ done
+
+ # Install menu
+ local app_name="Mozilla ${MOZ_PN^} (bin)"
+ local desktop_file="${FILESDIR}/icon/${PN}-r2.desktop"
+ local desktop_filename="${PN}.desktop"
+ local exec_command="${PN}"
+ local icon="${PN}"
+ local use_wayland="false"
+
+ if use wayland ; then
+ use_wayland="true"
+ fi
+
+ cp "${desktop_file}" "${WORKDIR}/${PN}.desktop-template" || die
+
+ # Add apulse support through our wrapper shell launcher, patchelf-method broken since 119.0.
+ # See bgo#916230
+ local apulselib=
+ if use alsa && ! use pulseaudio ; then
+ apulselib="${EPREFIX}/usr/$(get_libdir)/apulse"
+ fi
+
+ sed -i \
+ -e "s:@NAME@:${app_name}:" \
+ -e "s:@EXEC@:${exec_command}:" \
+ -e "s:@ICON@:${icon}:" \
+ "${WORKDIR}/${PN}.desktop-template" \
+ || die
+
+ newmenu "${WORKDIR}/${PN}.desktop-template" "${desktop_filename}"
+
+ rm "${WORKDIR}/${PN}.desktop-template" || die
+
+ # Install wrapper script
+ [[ -f "${ED}/usr/bin/${PN}" ]] && rm "${ED}/usr/bin/${PN}"
+ newbin "${FILESDIR}/${PN}-r1.sh" ${PN}
+
+ # Update wrapper
+ sed -i \
+ -e "s:@PREFIX@:${EPREFIX}/usr:" \
+ -e "s:@MOZ_FIVE_HOME@:${EPREFIX}${MOZILLA_FIVE_HOME}:" \
+ -e "s:@APULSELIB_DIR@:${apulselib}:" \
+ -e "s:@DEFAULT_WAYLAND@:${use_wayland}:" \
+ "${ED}/usr/bin/${PN}" \
+ || die
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+
+ local HAS_AUDIO=0
+ if use alsa || use pulseaudio; then
+ HAS_AUDIO=1
+ fi
+
+ if [[ ${HAS_AUDIO} -eq 0 ]] ; then
+ ewarn "USE=-pulseaudio & USE=-alsa : For audio please either set USE=pulseaudio or USE=alsa!"
+ fi
+
+ optfeature_header "Optional programs for extra features:"
+ optfeature "fallback mouse cursor theme e.g. on WMs" gnome-base/gsettings-desktop-schemas
+ optfeature "ffmpeg-based audio/video codec support, required for HTML5 video rendering" media-video/ffmpeg
+ optfeature "encrypted chat support" net-libs/libotr
+ optfeature "desktop notifications" x11-libs/libnotify
+}
diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest
index 2c178bbb26c3..a6f61b151595 100644
--- a/mail-client/thunderbird/Manifest
+++ b/mail-client/thunderbird/Manifest
@@ -332,9 +332,75 @@ DIST thunderbird-128.3.2esr-vi.xpi 789694 BLAKE2B c360793dd9a633a311e2c4eaf63236
DIST thunderbird-128.3.2esr-zh-CN.xpi 788217 BLAKE2B d2156337cf524f49de6e13b9d520408e06299f14b20f74457a3a0a468a398a1e72ef14243b8c7de1f059f3c915e2c38f75b853b95bf705e274662543c134fe25 SHA512 b812958f7941fda5c9eebf5af4a87e4d40342af39edaa85850b0eaa6a6f5f8259fde0e69db8fa14dd33ed1e6e2f39b7b38ee4ff475a2f7f4e746e979be1dd344
DIST thunderbird-128.3.2esr-zh-TW.xpi 792577 BLAKE2B 056d561d4bc69acfef8f95ad1e3f59840a9df496ee3e36eb5571da620badb2601578256853e428b9e6243a2adf21caa1d4f6557f200dfb9ce73b5c86788cf00b SHA512 90d18b3378068b94e39e2ff17bba925eed957ecd9a206a3257b32dc943f7a0ae5d162c110ab4d4e1070e1644c626f2af1cd7056333db698a8ca473507d829156
DIST thunderbird-128.3.2esr.source.tar.xz 671832068 BLAKE2B 0358b56af736eee89d40e06a63d51a26834d03e3d724286fa70483478d2890ee934a6ced0c38de2604a4f76c13071ceb65c60146cf2936bd36b2fb402f5d6cb8 SHA512 65d542554d775f5501208bdc85e38af4084e4c5b474a83e8f1a8595ce2873265ebcb833a0f134cac67dab82f0d0c7834745c44cdbe66d2251247eea5e4ad2723
+DIST thunderbird-128.3.3esr-af.xpi 530350 BLAKE2B dfd9aee3ed4693375894c156f07fee5812a43c35907a4e9a9cd45d48bd6634571c89067d7e45e9d589c40ef1d7281e993ac9f8f701f00138968465fc9f603db7 SHA512 ba52cecfa9b583d2b29bd9351c07df011bfe420500796c8ebc2f928433c4c438b92e5cd239abfee4f9f6d0b802c330f23328138d0c7fa0a90ea5cd43f37dba9e
+DIST thunderbird-128.3.3esr-ar.xpi 679867 BLAKE2B 5662ce9ad21a6f633e28b578eab4c561ad670ea49fbb6b56d9080646736daa32cec9ace45b2ce1022af0923a7f4d41351ea790d06b2ddc7192139c54289ed567 SHA512 59643147bedd722a8ab1a28f4e3c45d168d3a45293e817ca1410a9b227b04372d09c6513ce703704b69cb03a3b32b767de98f91cb50b33085fa479bc926eed49
+DIST thunderbird-128.3.3esr-ast.xpi 561055 BLAKE2B ad5e7b711c162fe37072f2d3059c13f1dc53abb8330ebc7ab2d556222dbaabc8d85a16be3620e676d392dc57e344b14de6664d66a53e91af07e2153b82da1168 SHA512 62c0b2bb05ff3d74e2704d454474aaf1d67789edffb944f39210d525c26d73c76a245e1e9ea0f2bb4f642d30625267cd4b2703ec70f46ed24e45a8bf64434759
+DIST thunderbird-128.3.3esr-be.xpi 766042 BLAKE2B d9a24daafc7f0403ab61dff208f3a667d1a7a49e620fd519e8c58b1047fcd92ca22bf246edb601bbb7e63ba53c504e6bdbe983f9a578895437c45ae8912ecc45 SHA512 9703efcdb97cba540eb0b8ce89c11109275b75a1d3229406c4d0906a4c4f2a70859869b49c8411b9207518b51a598df279e2c011db4901f3049de9e490c63e3e
+DIST thunderbird-128.3.3esr-bg.xpi 809923 BLAKE2B face0a95f78b9ef1e8cdb07e33f790384d912860533d52e3679b191f26a09c5045f43d825c6ff7705f29396e2fef3a268a0a961b305316ba0a9082b6b7c3fc84 SHA512 c530e85552f47c107ae3303074a720142ded6e1e4a17dadfdf6c9e5fb2a0e0f5cc188fa50e9f71f90b11e86488a355993fc9d29e295a5bf276629e13459b8c5a
+DIST thunderbird-128.3.3esr-br.xpi 653015 BLAKE2B d4a7cd1ab7abd57a3b88b2aba35a77987320bfe8f94f64953780da3baa789b024e09aba8f6ae46e71294511c71343ae7de02f6bec3a29ca166b0bbb3ac4bdbec SHA512 108686fcf33967e8456e1aceafb499fc8113315008ef021676be5b465a73f948f035e0a574d4a152143d7ec8a5675e6b2b0215ab53e61f4a93a30982cb7aa9da
+DIST thunderbird-128.3.3esr-ca.xpi 709740 BLAKE2B fb4e8f33c6b1859e0bab509f4a8e3637335473fcd6ce8da75bb237144d42494d8fbaf7a5737fac6f86edc8e5fa727db633c585252e0e47916b5fbe875db44a6b SHA512 40ce89c4ff9a45adca1c77750dcf498d58dee92139292378cffd9ed476e709654afc0e1c2888a292257e48eed16e64b4139c4e46e915113fabcbdbefdee0ba25
+DIST thunderbird-128.3.3esr-cak.xpi 671704 BLAKE2B 31c73f7859f487fb68b38096452af62c579c9c9cfd1e68a67868d55a3f32655e632ba4ce88e39202936771f400ccb86f2d67c8a36617b8955ff39e48994a30f7 SHA512 6ec38c947ee618e8d4031fdb2be29c18227eaa40d03a5776d14de7c41407fac168492346e66289ba66a1e281f9716fee6ae71f92b2d3f857deac2137fc140b9a
+DIST thunderbird-128.3.3esr-cs.xpi 787256 BLAKE2B 0d52ae2df2205b10b16b4eb6f40eed2eab022981c3908ec970615ac0d2026fffe27e669e52bac0803c38b8b45f5b3b7491797472938e086af5cc157d916a06f8 SHA512 9915ad557587d55a0b894de92c0e4a79a4ee3797bb31b2427454df037893734ff30ef9c40523a106f0c2aaca0152c0943089c2a4da0c6f7eebcb0b72306fdc17
+DIST thunderbird-128.3.3esr-cy.xpi 752026 BLAKE2B 8a319ecb9ada6a3d1832e2a793776b6ef2420f081fcfea0af3b8dfc76389340d3a90130dc73b86d26d926adca900d5dcfabceea753e33df6bfbb67a7e5ecfca2 SHA512 48ef3b61886178b279d6992472c4743714e89d268a5d96358f91d97775b32047323356cb284813057045d372229fa5930d99167b84ca7be40ef2fc6405157533
+DIST thunderbird-128.3.3esr-da.xpi 734117 BLAKE2B e7340ebcbcba9228e1f5238807eda2b2fb0a02033cd4945f57b81a595598f18c33d2316f5ba426a3f2b0c01e0710b5ac8bf0c39e219c5bf774efa6321e6d95bb SHA512 52c5dfacaf272966761e9c0ba1219d8b4b0741058482f06f29405596ae8dddc4c65c88b3cc2c47f6ef0462a8487d2004b983f4d82a8044a151a210ca59ffc96e
+DIST thunderbird-128.3.3esr-de.xpi 769103 BLAKE2B 7dea467259f6f3d9f54395e81be1ba02502ea3c5a752f5b9cf86106c09ceb08ccead6285db3ef0277f93417151360ef53389fa2e678890f614b334a441275bfe SHA512 f9744679862011a2b35e61b8e5f9fb1de699e365b2010612142ea0579cce6b129b8436cc8ff761d4afabbfa8b6fd3de80420069ebe64bf2e90a302ec87a5f2af
+DIST thunderbird-128.3.3esr-dsb.xpi 785747 BLAKE2B deb66260afa63dfb005af50d4fb5058a01a4f0441eb4f101f7f25cb2ca00fc24f50e6bedb6ecfe759534bda6a644f24d155f0c0c0b025faaedcdb39f86d867d2 SHA512 919d59dd266a379fb3c40359667f29bb5307bad623a908e6525899ee119dfdf6c776a4304bb77c8d592feb346674ca4308257aab1dd60b5b6b7f850b9d9e1ceb
+DIST thunderbird-128.3.3esr-el.xpi 892517 BLAKE2B 7401cddb98577b78e5eb715649bfdce54cf13d4c9fa616d4f0b295f686a7ca52a1b71c905afc79417d3423c37bc2860ed2ba66531d8a643815539ea809786a09 SHA512 14f861de128c0d4e5d170c5c8cdbc1c8f8bca1be5cd8dd22499bd91c8971d88252a86adce508ef6c3d5dedc586aef897533fee84fa1563e55ec33b57a87f9893
+DIST thunderbird-128.3.3esr-en-CA.xpi 703807 BLAKE2B be53b56a4d5b61b77a1ec691ac8e7456dc965dd38407e32618b02bc8bcd69a161f3b05768a1b216738b1b83b1994c9836c49e8c89952e4af78c166afd77bc65d SHA512 9d16b9699f8e3e41da56f1e882b327968db00cffb21530f896268af5015387f6c6d0bb38ed4515fd42c5e82c6bdecfc5eb041857cdf82267b51e7ff595dbbe96
+DIST thunderbird-128.3.3esr-en-GB.xpi 705297 BLAKE2B 35de4aa18839a2849b00678b36a6cffeca016d519dd956481518a381d878515921da7e300bfbdcc644c6da5fe3fc7b08df7cab7d0864a56d94869b4492515ac7 SHA512 c05fb6491a747abb1686100dc648c73a2ce69c08b2fb417afc1774bfe8cc4fe3ca2640de07ef0798d42083837988953bbc4ef55356d679eca3e1f53a4b6d55c1
+DIST thunderbird-128.3.3esr-es-AR.xpi 761097 BLAKE2B eb8824b510dc5b1b93ec0362d2217b228fecb131304836b4159133e528b11e588d8ad15e44b6dae6695cc3e5471ef1eeb67434e3b0d6f193379614ebd6277f4f SHA512 4e90b9a9b145dadba9cc2ee9da816868eb616f8f1914b8d993c7e87634cb1772abe482bcfdca0a2721a7984dd5b2ca921f18c184b60f0d05b37a7532d345a3d3
+DIST thunderbird-128.3.3esr-es-ES.xpi 725279 BLAKE2B b4f51cc3ea74839c9ff2ceb0b7f6fb2e01498bc3dbe2a2d82b5489091486296e8ea41d259a0e98988b4277bd56992f80cc45561378b16c28e04e41332ff3376c SHA512 5b73b178a544ffd794e41c16e5998fda5555cfaa0d0971ea74ce4ee715ad451e4ae8a33a663cada0b359449ba6f35d0eab6ddcf5af615454e47825d33ca30dd8
+DIST thunderbird-128.3.3esr-es-MX.xpi 737707 BLAKE2B 80a476dca2ad54690b30f1c0085605a84925040e13bdb461391b64903bbddb0cc10cdde0554226ddd1fd06857dbdacad98a17636c39f454aee786bc6fc9b0d59 SHA512 9372750e5d3f7e7e58d5a7845b89e99c3ba014b231338c9716eaa356d79edb01707b9e255468bef135eb5bc7b686cffe365d40a9579a861271268627c6f68ee9
+DIST thunderbird-128.3.3esr-et.xpi 696281 BLAKE2B b1105444431f3d60164b6d8ebef1e158d9bfa4424d98213462d41d0f1d7ed4d604822a69033f099dafefe232fdadf40f4d78fbdd9229f8254f150125be08ba06 SHA512 b02946f69df7175eb9970bbaea0c3d8922c7326e0c1fdaf6a095d5f24a47445f5c9aa91f6ca361cd7e7f2db07e9efc58a6dd011391c2fe2cd45894757aa97172
+DIST thunderbird-128.3.3esr-eu.xpi 733821 BLAKE2B 49db698afc1086bebf6ca814230a8b2e1fb24e00c25ffea185c412cb491315829407fe1844c19d98023688f5a45b47a8b4461e5e63c9cb25088783a4c5e2f0b2 SHA512 9424115c7f599e2dda84fd0ade7ed740eb87e5008e7ec0b31a923387095fece829f29fbf4200f1aa55c8f23148c7f1aa88d77844db099c151ece911efc376b95
+DIST thunderbird-128.3.3esr-fi.xpi 736708 BLAKE2B 89d07a7f87cf1dc23dc717513d778ae2fb0ee76796dfb68ae94161d731730c9db9cb2afdba2267e6cf4d8df805d4e7d49eb0b35ab4ceeca3effae08740167846 SHA512 93b57c203344c6ea3081cd52a4d9667f4ef6dc90d118247a99b1a728a3e3042e0bde5516a015d85cf73fc066c609749b2e6648fb78865a37f6f591e5863440d0
+DIST thunderbird-128.3.3esr-fr.xpi 772887 BLAKE2B e1933da155aeabeb3a3df52e23daaf88d8199794bff7168e91f37b7dd59bf9fcdd38ae6cc24d334f3447122434bf5dbccc2ad0bc45500456e8f64ebe04f36287 SHA512 b3dd2f4b77bdfed132645d781a7ab6cb66f4c17668669639067b2d51de1dde44934e91241be9e80994a04788d867b9f9305526d1debb1b2bcb9edccdd9b8eccf
+DIST thunderbird-128.3.3esr-fy-NL.xpi 754430 BLAKE2B 2ad71558aa67c0c17b70e05086e8e8626d66dd4069808a0ae0797683bb8fbd5ffb654ce8892ac975049df6d89cba4621133a8198964f0790a7f1a73779663578 SHA512 566b29a02e5d4436348bcd09ed3efc5d8a40dccbdc7c5bdebf0ef4f126820265457572ad3175122e35d549a7ed35e47acc0203efc75387b357d052ecfe919747
+DIST thunderbird-128.3.3esr-ga-IE.xpi 615880 BLAKE2B 4d6e98e35fd0feffc22dc86a43c70ebbb10cdd682c591a01c8ff6b574b6d642572bce44d2d2373840bf8243c05d38fc1401202ad3bd9cfa59b9f0795ae087397 SHA512 54fbbad8db77ded44e55b1d9b570aae9b33ca2420eecc353d93643d2f35eb123f097e35b8b7c89df3040c23b4bb215a74fb3d0d3919b096232a1e10d8ff1521b
+DIST thunderbird-128.3.3esr-gd.xpi 728530 BLAKE2B b5ce99cd6b7e0fa1ff1a446a7ce21faef05dabcaaa69e2058fa786bf92a97043c128fc9784dc46c34aa1e830d3c51dbcd392fd22f57fed7f8196b574a891e206 SHA512 9258a17c6e2f51f6d1e70274557c0adbf7723e02a2429077d8c855f15e02cb9d2a6fd798cb2d997004750a77c5b21fa0241b7d2441e891c987a261ed4eb8353a
+DIST thunderbird-128.3.3esr-gl.xpi 741503 BLAKE2B 102c167ab5258245a22e72cb7fd93fa69d79b5d43bc779b87f0fe160581de752c2ac79c45f32b3db7183acf13ceccee7b65e41f217ab85c17bb5af866b9439f4 SHA512 cc6b89af55b086a6224835c337d826a1d7909b5fc4d7a62cde249edbdbb369c2f6a588a8b5307adfb9f56d887ca71d2ce7f5de3f6d186b35eec3da2925079dc9
+DIST thunderbird-128.3.3esr-he.xpi 700302 BLAKE2B 9b4311ae97affe88ae04bc5cdda1d9735c0714139c80bc2c86c9800b170b757c4961bdd010c3a88abd9393d13503a3af6315345af92a8f9dcfba165c58185f5d SHA512 152ad30a4b41c1d69fbf7870848328baf6fcb1d59eda3d2554cb63a48c4bec544ae38289f48643115d599118b25bc1607f2cf3292a10cd613d138f8003f0521e
+DIST thunderbird-128.3.3esr-hr.xpi 718726 BLAKE2B e286cecac78102215a7e46bb34ad297b7abe5d1ac26b5a7eb3d497d2734c419b4a14e7651a99f622e7566e14777cb948297fde04d3c7a66987296eb83cf1ad72 SHA512 9b9f9454dfc90101791dd6ac5cf9a19913716be17fd0e57686065f7d6c9a0074572293299c5246aa80466dfea0d9ff6aeea5cce0f49e7885f9c9ca58638cec2a
+DIST thunderbird-128.3.3esr-hsb.xpi 783149 BLAKE2B 298ac20208672dd8ad1a15206b3e88801b0d85610f7e03df4c9804b1b9d437d06440a34e5c97c5a3af8bfb2ae61873c2dfe44b4ada50c5ef3fc50dde576802f5 SHA512 8ce0aac896f29f7a5bb227cea892545fd951963c5fad30558e977ed51ed04f4ca3e41e5b2af75ce92d6023e0dc81e1ecf17d6ff352279e136bb843035336bd25
+DIST thunderbird-128.3.3esr-hu.xpi 786083 BLAKE2B cdb373723fa0b18f1a2a330fb8ec1ec271812fdfc3d5d6296d8cbc8c1f31817870960f70299f7894b4430c9deadfcf07d2e3c11d22580018dec799d0868dae45 SHA512 8cac477730b3af08fa8e5107d537c555e634e3ad50a8a802784a02ebf5393f963f0e996f2aae69a7a471f65e626109aeb2072db33a0487f629547a901d17f11f
+DIST thunderbird-128.3.3esr-id.xpi 666012 BLAKE2B 525de2e515128c435660631d6cd1634a43ca469fc17c7c4a58a48a284e88d382eb2e2be5398661752aad13453837959a7927127da4e43e9a02d1b8570b881cda SHA512 9fe68bb217bdef1051ec718c045beeb71ac5b6c3038094c04bc122cafbecb1032ed8187e61894e86754e7131815ef151fb34a643634e911c8a4382bc2999f46f
+DIST thunderbird-128.3.3esr-is.xpi 745511 BLAKE2B 46b8e6148f0c80f92714a39f3702cb9168841546c4811aaa4fcc059b2f6407c22f51665a70e0efe2ad3cce475bd6eda2754872ae7809d6eb178f96fde14e5719 SHA512 f1c6673a664d0d7f2b36aec2f961ad85bbc04772bc00f1bb791fc2c3a433fee1ed627ac003edcd5f5b0a77eafe419889c8d4e81839c0e939d1be851957377f0c
+DIST thunderbird-128.3.3esr-it.xpi 693199 BLAKE2B f8bedfadd5dfaa73fe9ce2ea405d47dd08dc40b55038b9cbb614d0fcfba8819838f8972049e778bfae0f9dc3061e408b0df0c73702d3ed68ed4475926da2c068 SHA512 de53f3351c2f93c2359027e77e03866a24e81b7c63a3a7778d669649fded5eb97bda6ccb555171c1f080aa4bafd30de850d3bfa0d5092e87970f159208d445ca
+DIST thunderbird-128.3.3esr-ja.xpi 822831 BLAKE2B 974e96bd955f0d1b831402f01026fc9205853a2f92b23146383041b7a8c61707bb56d880196b3528447d09f9ad6270f002b18d4122bee158c554dcf98420dca6 SHA512 bda1c8ea4000828a60213a1e2a4253a2a0d81e6e93d8d1ab2ab29962da9e83208cdc92d564c4116bbac964d36c2e3ddc8ac75caf361620ba9f362f942bd30699
+DIST thunderbird-128.3.3esr-ka.xpi 796046 BLAKE2B 4c61030f26881f3ca7eeb8c776906121e098a12557dd31b495bc1d7ef5311f3a1613c22144fb695a501a2138168a23f706df5763ca53e7352d31adc0f0729342 SHA512 e561537fbef3f72a3161e463f3bf7b51bcfe9dbafcbdf8c2ba06d42470b7119f6a99ce7e588bcd3cfeb87aadaac5d0c28b14a035cf5abd67010b18ea9f1a84e4
+DIST thunderbird-128.3.3esr-kab.xpi 732380 BLAKE2B 8d433198ccf44de4eeb8d520df2fa041b8731334deef326fb7f6a2336d1786c9c3df0ad0ab187aef854b14060c90e3496a2cad73db2a1de9ab6e5f8ec41d772d SHA512 8137fbe1ad08d69c31f80211e878284ce0ef13bd7aaade85ad2d604b96e78c091b52243f5a8fa2b76630eff3d956399300c1d692f46517d888694a2d17253348
+DIST thunderbird-128.3.3esr-kk.xpi 859197 BLAKE2B a07202551d43382cda0c4aae80531e7d614642af6987cc4fdd6787ede3eb18e739f68ff3c8bb34610d0e45b547501b308858e7c895f68574324c392f8d68af71 SHA512 02ed2c44d7719f4a977477b4537a3b05ba7e962907c1f76dbf40c8689e084e30d64fdb4965ff820163cd4e54e6f8079c0ac7854ab140d70c46a77dd004360111
+DIST thunderbird-128.3.3esr-ko.xpi 755136 BLAKE2B 1dcfaf8d05bd0bed6dbef073a698ec1ccce7de7d5ad855b57f797bc184c3828db3a6b1692d3b75c8d234fcf9b90c1a5b693384b72657580df50be2fc9d1f8b65 SHA512 06a52a954a989cd9461712ccabd42ef0689865424aee4e5d1bc85e8d29d3736444169612c5875de28d345eb82102e4c57a63be2e83caba6e562c775c3fb51901
+DIST thunderbird-128.3.3esr-lt.xpi 700919 BLAKE2B 06cf61a7d1ff84b9243eda11a6a85a222652c4d982558646600282c9feeb539b8417dee791434f5b57a0da5bd04d0e00290a613dfe25ccdd57e4db0d042a23e9 SHA512 ca7186843c2febbb8dde54000d88d82468ce4a8ec6476d2013b5b127a1e2480ab8b9e3ddc6e7d9a3f7b1ff3f06ae4f57affea5e6e434cce8093e61ea46579786
+DIST thunderbird-128.3.3esr-lv.xpi 623625 BLAKE2B 7ac613977e5083c5d32cbc270a706e3fecc2a770719dacbe77abd27745c363865ee4038b6cf2723dce5834927af276a08c832be016e8d352641af3ff08c77e55 SHA512 bcd56f8090cbf69a8288a74b011a00418fd3bfa2a758f6b3cd21db7b78a2175bab8d416d8ec57980b10c9fb4b8869970d4fcd812e5651a37375294ca21dc0edf
+DIST thunderbird-128.3.3esr-ms.xpi 581083 BLAKE2B 350096107efad905d247fcde7262ae09222a3d2347760a91b0eb6cc59e0d84ad2f0eb6cf8a98807d25d201f629c462b5d70085b55e3cca4a19c1ca5997a4b1bb SHA512 feff1dd2fb62e9754769e2ae3852d8c3229282a10f5a0c7f0f72f5b16db54be2300624e406f82170ffc16f10ed8958e99691df823732507d94078755a882229c
+DIST thunderbird-128.3.3esr-nb-NO.xpi 703766 BLAKE2B 20c41278120cc36f5a0dc68283b62080cab45a6ff8a60a9528e0ce84a9188ad59e3f2c087e9c95baa71f05c8dcec5e5326a3c9bf69ea4045e1d06f55aaf89b34 SHA512 b04737a84daf01fed2591fd6c5186dbd1bc447755d2d152e6ffad4f279c3ec04a3fd8571174e6a085b7242ff14569bc85b9f2452883f3dab0d6e0b0488e4a642
+DIST thunderbird-128.3.3esr-nl.xpi 746835 BLAKE2B 0cf3305b7527c420bc10b4e9687ff6ba9242545f05b16b0962d303162365134c7024cb651c9cf203f27ef1e4ad9f1ba8545c2fc05396f24367491792f342e3c9 SHA512 990b901e34defb9e1736f5f2d14c6e40498fa5b55c14b5ad8de7ae7d8a2b96a205bba423f4b4b6b5a901a8458a90cf2d6b20d22f5cd5084a102ce3a3744015b9
+DIST thunderbird-128.3.3esr-nn-NO.xpi 725950 BLAKE2B 126cdb5950cddf72674c0630f702a7e3711a3dbf48723943621714c0c5edcd5f2e788a18019c73848ca147c4c2c0578b088fcea83eebf9a9dafdbf0421a8923f SHA512 274c2499fb8f8cdec38d34a57c90569bd184a23e53df222a07debacf1bd008bcd2226fad27af250a4145000442231e6bd5bc8761469518408e215663429535b1
+DIST thunderbird-128.3.3esr-pa-IN.xpi 683344 BLAKE2B 08a15464f5e4c24d2f9a8b41cedcb15befde23b26dd96bd99800c2b3a31178f893b6d0f73463d94404e4ce5beb75667835e5b256d8d68c0c16afc5cdb08eff69 SHA512 c7e4eebb4806eeb54da4d7c301e8bb449f10b201962770379104bd9612395c4479bf20de521eeb05b7c29a8e6191bf88647c49527fab0870019cce93bb324bb0
+DIST thunderbird-128.3.3esr-pl.xpi 764581 BLAKE2B 3ea71614a6409ace7b3e7119c83995d3a23e8b8242531856ab8b941840b95c1d5fadcc84ee93e02e8c053fad8bde7090db1c2b1abe5542523b9b1a254e6193e9 SHA512 fab4d4c55fd9d8a49e1bd8c2d3a404ff47b08b0e3a0bd8e57aa5663dace844d30119c80d4ec20866b90d8dc3581ffbbaded569217f34f772fd165e4c878f2e9d
+DIST thunderbird-128.3.3esr-pt-BR.xpi 754206 BLAKE2B 96f4fdbf6363c3e18b3c87c4fd96c289be4621768632deadd2325ccdf5969b11c00d4a51001e0b6827117c99fb008b10d00830a37edc8af97c7d8fc37208dc15 SHA512 9eeff0357470075c20d2b34ae3f92659c0725edd8432d9d2d76b6a809c050b2793e9f54759179e6aa1ec18ac4c8d1ef7c2e0cf1d99174b547e5b65c63d1ff694
+DIST thunderbird-128.3.3esr-pt-PT.xpi 747132 BLAKE2B fd12d2f88cd366ec00cab6168b4b0d73e5d851ccd0593f53217853d8ecc462f83dc5595ee8c50163bcc40c2491e1a15675001d1ea627990506ee69da83e6ae2d SHA512 13e1c57b3aaf91d884a25744f1784a64e0ab8c871825b954182a7ce282b58611057e3def5973b0a2d01ac5a909a06de9386c9bd27461645681426bd873f65777
+DIST thunderbird-128.3.3esr-rm.xpi 747955 BLAKE2B c411609494d41d049c86d34e9cacf12cd3eefd0aae8bb38a4b5af3726fbbc9a42e9dfa831c746fe1d6e58842529fdf6c41291b769bfea36fc339cd85627695ed SHA512 5e9fb3611663664bfb16c9c792b093cb2b9077b21f9cebc49051287b97ba7b017b41718648d2c8b1c47c2fc2fdbdcba8d300fadd31a08c9a183fac08bcc3c2a3
+DIST thunderbird-128.3.3esr-ro.xpi 669741 BLAKE2B 1a2f49118e05e58116dd0221ceab5e8ba0f2f66503d89a21b7ea3e6686f09935d0acb5f24b22d9d87a8d90549ddf274f953986689c95249832ba64a340ca342a SHA512 f341cb90ee176f82577071d494271b2fe0e690568005b829bd1e74e8db5866ef82643bf09ec4be828a4df72cee0fea4527c9918780f456be613a574d492cb52f
+DIST thunderbird-128.3.3esr-ru.xpi 875464 BLAKE2B a077b9eb9a28a000a51239b808438278d20d1799d3b8cf696bdd87258313e985b1f2036181d3210259dc9be3da4389f4259832d02370130f40cf6f8bf55d1afc SHA512 003893a2d43b84f562b3997db07864ee2df2bc45a70156d5a2359d2983a1e80ddbad4205a7274d21d7bc15cd042700c2cdcd308848d9469e0d34138ac9ce35fb
+DIST thunderbird-128.3.3esr-sk.xpi 787305 BLAKE2B b41e9d7ba44628cce237fc15d8ef79ebc9280ac2ff0bb4a96ddeb8c6407cdd74292e79ac8cffa58b9ec15c3f1e96a2bf6e4c83f21020c9005de70e2a40b4cb3b SHA512 5a929b558ac007bf0f24d60b724dbf7645ba0e2c4f2c04d154b425a45d327d079f3a7a2659a7c3893bb3a79b2897e3030bce1aadf236fd393fada7fe9bffa49b
+DIST thunderbird-128.3.3esr-sl.xpi 745304 BLAKE2B 5b354f9db9951c2795a42f9bce3b1c756dbf6573bcf34f63b13fa3a5c30d5b44142191a9b7f22bcd7a97d67bacd4af83af9e2835255ca9a3ffc0267b230f6d63 SHA512 e94879c6c0607c7d1fda87a9e96040ea922b0a53ca84944dd000e9d2add07bfc6f857451d1479ebe656f3e93850ac0a8ad2117ad7e76107b7cc4d11f85e0e935
+DIST thunderbird-128.3.3esr-sq.xpi 767680 BLAKE2B 48fa2d872d7087201d49df0295acd012c237fb63c1f729e69aa274e52c8c6391c05ddb0d24261dc758b1bbbb97375f300c57aa959bac646c7675c62b55119827 SHA512 d7a4c3c03f3dadbf40163e4c03a6865608f87ac522237b18082bebaedd11e37e9f64ec97b03e7465abd4370a6d0dda705aacaa605005153964c5e0d4eb737463
+DIST thunderbird-128.3.3esr-sr.xpi 771103 BLAKE2B 3835bd1419ae146dd6a41faa44fb3fd74892bc56da86905defeb10504e96ba2c16a88197fb7d27f68bd59a7d00069b71bc26f920daa260056d5c1b67d45714e1 SHA512 991dd0dbf10bf9e3a1af0cae1e23085a906255e84e9ccb2f5c063a8d363f542f42652b560a822384b19bc6a8e2a4685d8328415e282c24a173da927eb19a3857
+DIST thunderbird-128.3.3esr-sv-SE.xpi 750252 BLAKE2B 48270b3e74a696dc0da9e2a0dd903cb62010a0229e4a8c00e55eabec971313706c7a24b585b83ebf99263018335b9c18470dd9aa1c2a9127c879b3de2bc53b27 SHA512 bc0028e0653733d6274285fe1ba7b3660023e9207a84be7623c1bb723b674f4b160333e89abf1f06caf9d4c361c4ee6fda106ad718d7b9a72da0a2bc40c91a24
+DIST thunderbird-128.3.3esr-th.xpi 814080 BLAKE2B 541d2c9b52e95b8bcb2b75923cbaaf138208c8017b59121950c89aeb97d197f83d93874cf66ad20d59b20f626d47b104319e1a2c75ea8d15731b301e33b1c610 SHA512 43caab0e45a8a98de5e05f9ae79653f23e9ec98b232e4b43e8a43ed7ea8a160e96d8f733b29b9538e4e271a6c1c9517e3823b07ed020d6524c667893eb0b9cb6
+DIST thunderbird-128.3.3esr-tr.xpi 760390 BLAKE2B 0be7d53ae223ed969fff8da391802e4fbd5ba8c8859eb17ecef121b9fbe713ce7bba1669686fc0ecfd5dec1fe27939a3b2e8428ebeee412a282de8744aa2b9ce SHA512 05658607b967bff998e57b6aa3b13346fdfb7a792bdfc279150f77002c283247e5afa043eaddae36e178a29becee28ed067f874fa871f2094f6851727d144020
+DIST thunderbird-128.3.3esr-uk.xpi 861344 BLAKE2B efd701a40d82a8e55cb60073851c84e6c5190f055eb3352d7abad122bc4f84ed9b82e2c8617af8ce646b22bd7d51751095a2180f8064eb74534be880d4f08bbc SHA512 f5e11db76536fa25558a9664fc2fd47bb0bd84bb92851aae81ab051b5c9b787ad5f05ffa4bbcba693246300a549c1577301c0c47cde4d5d309fb91c010871035
+DIST thunderbird-128.3.3esr-uz.xpi 592133 BLAKE2B 4d3484e08f63af6cab6e2d4e2d5b2c67012519e06d6bae5588fedad687cf2bd10db958572afc17eb8d534bcdfae679f2377179cf2adfc36dc56e368fa30029e1 SHA512 6bc8cde6901ca61309949cad6503571c1fed1b471c034af797b44d3422351cfd6042d76b0591e01e9b7ce8f29b22b3a3d7da155be8c9e1a5257c074a9b9fa7dc
+DIST thunderbird-128.3.3esr-vi.xpi 789696 BLAKE2B 221dd1c72bd996ef37069ce6a1d66a0f1a4848941b9b42374728a32695094b211d46f947227d0b71b8a0bc82a4b7a098ec6e71d3abc18e2e0ae3c22fabc5ea62 SHA512 98632701e26ce666f5b5b1f21af443061a51c13674591f5a97111282cb939e7598afcb262b11fffe6f6e17ca20329f90a77db2c492fd541d5ebca539ef604d89
+DIST thunderbird-128.3.3esr-zh-CN.xpi 788219 BLAKE2B e458aefb20f27dca6d0c9cdd27981e7485438d6d3d5e34c70b912d7845da012f3c473a2403718c30bca617c54b4cf1a0832ee357b494478a1ab4194e3d733f9d SHA512 2a026f1500d2a7342ebae47938b87c39146b8e0c1f371142b29af5f953d5fe4d9d4d9d1c45f04eea0a70a85830db41f7dcb3d3c7d7a0114d37e785e1a94e38d2
+DIST thunderbird-128.3.3esr-zh-TW.xpi 792579 BLAKE2B 8f4520ac3bd42a941b5f111bc3ad8a750aa6377eed534c17293f99d23fc9c500d60afef337b96973f316a852139bbd4ca67698bd18ebde408efe8e3bd1f50fba SHA512 89c9b6b465ae023f92f0f329a9e3d473db135f0a0915dd4ed6f51a26a6cfdbf93595a3480c85d7d037218af030e185558b6986f22f6f81c27ebf79239c43c62a
+DIST thunderbird-128.3.3esr.source.tar.xz 679424276 BLAKE2B 41a14aec99fe13a980f0ace5f9670cfcfa946d860a010fd4b0601c7b1b44c62cb466f0e5774a6353b2b4e2b2535247bc966ef14fbcc7f024dfa175871921627f SHA512 53a5bfacebb4d532f1a66502493e8641c59ce3ebe81530db7c5f9fb75a18db54211a2a4641e1aab96ffed127658a212334fa1a651a575c270118d0eed0a93c27
EBUILD thunderbird-115.15.0.ebuild 39759 BLAKE2B 2da23464f236749409d2809acf66d836379e9fbf393039c144c4223d942095b1235d0450a57cde3ea4b2e0867d285f5af336b9da95a299c9eecdf8a3a39302f9 SHA512 dc244a723ab46e1e781eaecbfa4c801b00687eaa58acd8569fc9334d28a5cadbf1c7d87d86af4d82857cd3241f7e3ed7e3ea2caeea32dcddb4da002049f94ce3
EBUILD thunderbird-128.2.3.ebuild 35930 BLAKE2B 5d89784ef4cf142109ff5d0cf4e4b1ee66ab6602daa1380f03681431baffcc20d3a2ca240a9f9756119ebdb82eff8bed9a23afc1dee1bc6bcf3990b2eb19bb5e SHA512 37f851e182cde572195fcd9e44064134bf45c55831abc3bd64b507c0c6dcd5217b0eba693d9e8f8c853a439c2513fcd0b85c1d047587f59f683def8efa2229fd
EBUILD thunderbird-128.3.0-r1.ebuild 35874 BLAKE2B be15d9b420627957b0af027034226432b09c669d52500788accc50d2fd44b7a0aec465961b0f8ac6a003e1bde581c06452fbcc001e70a8cd7ab74800d6ecbfe6 SHA512 01cfe9cc797595d8a97e90e82bf6a275c7eb788e80c3371fb81cc7ed2e6a0985eb5cf10ed51ba79e93f479c450482ca8c3509c578117bba5836e125f8b1a9b59
EBUILD thunderbird-128.3.1.ebuild 35874 BLAKE2B be15d9b420627957b0af027034226432b09c669d52500788accc50d2fd44b7a0aec465961b0f8ac6a003e1bde581c06452fbcc001e70a8cd7ab74800d6ecbfe6 SHA512 01cfe9cc797595d8a97e90e82bf6a275c7eb788e80c3371fb81cc7ed2e6a0985eb5cf10ed51ba79e93f479c450482ca8c3509c578117bba5836e125f8b1a9b59
EBUILD thunderbird-128.3.2.ebuild 35875 BLAKE2B 9f874604e1accdc59e147f06d15dbfae92e5c6146d89c16f544a619c83118a0225ca6afeac95178218f0529e88a73697591322bebb440bbb732b481580a3c10d SHA512 f8263faf943c228b822088953393959983ef42be49de051dbbd7a5650e9b05e9c2cad1dc34d8b0b05c0ed4c4492fc13539c3bdbbd148d7f2a1714cf9bad6577b
+EBUILD thunderbird-128.3.3.ebuild 35875 BLAKE2B 9f874604e1accdc59e147f06d15dbfae92e5c6146d89c16f544a619c83118a0225ca6afeac95178218f0529e88a73697591322bebb440bbb732b481580a3c10d SHA512 f8263faf943c228b822088953393959983ef42be49de051dbbd7a5650e9b05e9c2cad1dc34d8b0b05c0ed4c4492fc13539c3bdbbd148d7f2a1714cf9bad6577b
MISC metadata.xml 2522 BLAKE2B ae04a037a2497aa3cdbe64ab396557f8f73b67cedb943e48823261348645d4d2d88e9741f6724cc7b0dc68edf7d9b7a79bd738efef39a196ad14ca6353bbf377 SHA512 ff4f36837cea680c924d108e5110c04f3fc55537905f1ae73e297db3ecbcdf0f4409ba6e7a046e188554d640ddacaaf781ac0618c62b214b13a6a15599dbde8e
diff --git a/mail-client/thunderbird/thunderbird-128.3.3.ebuild b/mail-client/thunderbird/thunderbird-128.3.3.ebuild
new file mode 100644
index 000000000000..2bfc08ccbbce
--- /dev/null
+++ b/mail-client/thunderbird/thunderbird-128.3.3.ebuild
@@ -0,0 +1,1192 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FIREFOX_PATCHSET="firefox-128esr-patches-03.tar.xz"
+
+LLVM_COMPAT=( 17 18 )
+
+PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_REQ_USE="ncurses,sqlite,ssl"
+
+WANT_AUTOCONF="2.1"
+
+VIRTUALX_REQUIRED="manual"
+
+# Thunderbird will have separate release and esr channels, matching Firefox's rapid and esr.
+MOZ_ESR=yes
+
+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-r1 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 +dbus debug eme-free hardened hwaccel jack libproxy lto pgo pulseaudio sndio selinux"
+IUSE+=" +system-av1 +system-harfbuzz +system-icu +system-jpeg +system-libevent +system-libvpx"
+IUSE+=" system-png +system-webp wayland wifi +X"
+
+# Thunderbird-only USE flags.
+IUSE+=" +rust-extensions +system-librnp"
+
+REQUIRED_USE="|| ( X wayland )
+ debug? ( !system-av1 )
+ pgo? ( lto )
+ rust-extensions? ( dbus )
+ wayland? ( dbus )
+ wifi? ( dbus )"
+
+TB_ONLY_DEPEND="selinux? ( sec-policy/selinux-thunderbird )
+ !system-librnp? ( dev-libs/jsoncpp )
+ system-librnp? ( >=dev-util/librnp-0.17.1 )"
+BDEPEND="${PYTHON_DEPS}
+ $(llvm_gen_dep '
+ sys-devel/clang:${LLVM_SLOT}
+ sys-devel/llvm:${LLVM_SLOT}
+ clang? (
+ sys-devel/lld:${LLVM_SLOT}
+ virtual/rust:0/llvm-${LLVM_SLOT}
+ pgo? ( sys-libs/compiler-rt-sanitizers:${LLVM_SLOT}[profile] )
+ )
+ ')
+ app-alternatives/awk
+ app-arch/unzip
+ app-arch/zip
+ >=dev-util/cbindgen-0.26.0
+ net-libs/nodejs
+ virtual/pkgconfig
+ !clang? ( >=virtual/rust-1.76 )
+ !elibc_glibc? ( dev-lang/rust )
+ amd64? ( >=dev-lang/nasm-2.14 )
+ x86? ( >=dev-lang/nasm-2.14 )
+ pgo? (
+ X? (
+ sys-devel/gettext
+ x11-base/xorg-server[xvfb]
+ x11-apps/xhost
+ )
+ !X? (
+ || (
+ gui-wm/tinywl
+ <gui-libs/wlroots-0.17.3[tinywl(-)]
+ )
+ x11-misc/xkeyboard-config
+ )
+ )"
+COMMON_DEPEND="${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.101
+ >=dev-libs/nspr-4.35
+ media-libs/alsa-lib
+ media-libs/fontconfig
+ media-libs/freetype
+ media-libs/mesa
+ media-video/ffmpeg
+ sys-libs/zlib
+ virtual/freedesktop-icon-theme
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf:2
+ x11-libs/pango
+ x11-libs/pixman
+ dbus? ( sys-apps/dbus )
+ jack? ( virtual/jack )
+ pulseaudio? (
+ || (
+ media-libs/libpulse
+ >=media-sound/apulse-0.1.12-r4[sdk]
+ )
+ )
+ libproxy? ( net-libs/libproxy )
+ selinux? ( sec-policy/selinux-mozilla )
+ sndio? ( >=media-sound/sndio-1.8.0-r1 )
+ system-av1? (
+ >=media-libs/dav1d-1.0.0:=
+ >=media-libs/libaom-1.0.0:=
+ )
+ system-harfbuzz? (
+ >=media-gfx/graphite2-1.3.13
+ >=media-libs/harfbuzz-2.8.1:0=
+ )
+ system-icu? ( >=dev-libs/icu-74.1:= )
+ system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1:= )
+ system-libevent? ( >=dev-libs/libevent-2.1.12:0=[threads(+)] )
+ system-libvpx? ( >=media-libs/libvpx-1.8.2:0=[postproc] )
+ system-png? ( >=media-libs/libpng-1.6.35:0=[apng] )
+ system-webp? ( >=media-libs/libwebp-1.1.0:0= )
+ wayland? (
+ >=media-libs/libepoxy-1.5.10-r1
+ x11-libs/gtk+:3[wayland]
+ )
+ wifi? (
+ kernel_linux? (
+ || (
+ net-misc/networkmanager
+ net-misc/connman[networkmanager]
+ )
+ sys-apps/dbus
+ )
+ )
+ X? (
+ virtual/opengl
+ x11-libs/cairo[X]
+ x11-libs/gtk+:3[X]
+ x11-libs/libX11
+ x11-libs/libXcomposite
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXrandr
+ x11-libs/libxcb:=
+ )"
+RDEPEND="${COMMON_DEPEND}
+ jack? ( virtual/jack )"
+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!" >&2
+ einfo "Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
+ return 1
+ fi
+ fi
+ fi
+
+ einfo "Using LLVM slot ${LLVM_SLOT} to build" >&2
+}
+
+MOZ_LANGS=(
+ af ar ast be bg br ca cak cs cy da de dsb
+ el en-CA en-GB en-US es-AR es-ES 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}"
+}
+
+virtwl() {
+ debug-print-function ${FUNCNAME} "$@"
+
+ [[ $# -lt 1 ]] && die "${FUNCNAME} needs at least one argument"
+ [[ -n $XDG_RUNTIME_DIR ]] || die "${FUNCNAME} needs XDG_RUNTIME_DIR to be set; try xdg_environment_reset"
+ tinywl -h >/dev/null || die 'tinywl -h failed'
+
+ local VIRTWL VIRTWL_PID
+ coproc VIRTWL { WLR_BACKENDS=headless exec tinywl -s 'echo $WAYLAND_DISPLAY; read _; kill $PPID'; }
+ local -x WAYLAND_DISPLAY
+ read WAYLAND_DISPLAY <&${VIRTWL[0]}
+
+ debug-print "${FUNCNAME}: $@"
+ "$@"
+ local r=$?
+
+ [[ -n $VIRTWL_PID ]] || die "tinywl exited unexpectedly"
+ exec {VIRTWL[0]}<&- {VIRTWL[1]}>&-
+ return $r
+}
+
+pkg_pretend() {
+ if [[ ${MERGE_TYPE} != binary ]] ; then
+ if use pgo ; then
+ if ! has usersandbox $FEATURES ; then
+ die "You must enable usersandbox as X server can not run as root!"
+ fi
+ fi
+
+ # Ensure we have enough disk space to compile
+ if use pgo || use lto || use debug ; then
+ CHECKREQS_DISK_BUILD="13500M"
+ else
+ CHECKREQS_DISK_BUILD="6600M"
+ fi
+
+ check-reqs_pkg_pretend
+ fi
+}
+
+pkg_setup() {
+ if [[ ${MERGE_TYPE} != binary ]] ; then
+ if use pgo ; then
+ if ! has userpriv ${FEATURES} ; then
+ eerror "Building ${PN} with USE=pgo and FEATURES=-userpriv is not supported!"
+ fi
+ fi
+
+ # Ensure we have enough disk space to compile
+ if use pgo || use lto || use debug ; then
+ CHECKREQS_DISK_BUILD="13500M"
+ else
+ CHECKREQS_DISK_BUILD="6400M"
+ fi
+
+ check-reqs_pkg_setup
+
+ llvm-r1_pkg_setup
+
+ if use clang && use lto && tc-ld-is-lld ; then
+ local version_lld=$(ld.lld --version 2>/dev/null | awk '{ print $2 }')
+ [[ -n ${version_lld} ]] && version_lld=$(ver_cut 1 "${version_lld}")
+ [[ -z ${version_lld} ]] && die "Failed to read ld.lld version!"
+
+ local version_llvm_rust=$(rustc -Vv 2>/dev/null | grep -F -- 'LLVM version:' | awk '{ print $3 }')
+ [[ -n ${version_llvm_rust} ]] && version_llvm_rust=$(ver_cut 1 "${version_llvm_rust}")
+ [[ -z ${version_llvm_rust} ]] && die "Failed to read used LLVM version from rustc!"
+
+ if ver_test "${version_lld}" -ne "${version_llvm_rust}" ; then
+ eerror "Rust is using LLVM version ${version_llvm_rust} but ld.lld version belongs to LLVM version ${version_lld}."
+ eerror "You will be unable to link ${CATEGORY}/${PN}. To proceed you have the following options:"
+ eerror " - Manually switch rust version using 'eselect rust' to match used LLVM version"
+ eerror " - Switch to dev-lang/rust[system-llvm] which will guarantee matching version"
+ eerror " - Build ${CATEGORY}/${PN} without USE=lto"
+ eerror " - Rebuild lld with llvm that was used to build rust (may need to rebuild the whole "
+ eerror " llvm/clang/lld/rust chain depending on your @world updates)"
+ die "LLVM version used by Rust (${version_llvm_rust}) does not match with ld.lld version (${version_lld})!"
+ fi
+ fi
+
+ python-any-r1_pkg_setup
+
+ # Avoid PGO profiling problems due to enviroment leakage
+ # These should *always* be cleaned up anyway
+ unset \
+ DBUS_SESSION_BUS_ADDRESS \
+ DISPLAY \
+ ORBIT_SOCKETDIR \
+ SESSION_MANAGER \
+ XAUTHORITY \
+ XDG_CACHE_HOME \
+ XDG_SESSION_COOKIE
+
+ # Build system is using /proc/self/oom_score_adj, bug #604394
+ addpredict /proc/self/oom_score_adj
+
+ if use pgo ; then
+ # Update 105.0: "/proc/self/oom_score_adj" isn't enough anymore with pgo, but not sure
+ # whether that's due to better OOM handling by Firefox (bmo#1771712), or portage
+ # (PORTAGE_SCHEDULING_POLICY) update...
+ addpredict /proc
+
+ # Clear tons of conditions, since PGO is hardware-dependant.
+ addpredict /dev
+ fi
+
+ if ! mountpoint -q /dev/shm ; then
+ # If /dev/shm is not available, configure is known to fail with
+ # a traceback report referencing /usr/lib/pythonN.N/multiprocessing/synchronize.py
+ ewarn "/dev/shm is not mounted -- expect build failures!"
+ fi
+
+ # Google API keys (see http://www.chromium.org/developers/how-tos/api-keys)
+ # Note: These are for Gentoo Linux use ONLY. For your own distribution, please
+ # get your own set of keys.
+ if [[ -z "${MOZ_API_KEY_GOOGLE+set}" ]] ; then
+ MOZ_API_KEY_GOOGLE="AIzaSyDEAOvatFogGaPi0eTgsV_ZlEzx0ObmepsMzfAc"
+ fi
+
+ if [[ -z "${MOZ_API_KEY_LOCATION+set}" ]] ; then
+ MOZ_API_KEY_LOCATION="AIzaSyB2h2OuRgGaPicUgy5N-5hsZqiPW6sH3n_rptiQ"
+ fi
+
+ # Mozilla API keys (see https://location.services.mozilla.com/api)
+ # Note: These are for Gentoo Linux use ONLY. For your own distribution, please
+ # get your own set of keys.
+ if [[ -z "${MOZ_API_KEY_MOZILLA+set}" ]] ; then
+ MOZ_API_KEY_MOZILLA="edb3d487-3a84-46m0ap1e3-9dfd-92b5efaaa005"
+ fi
+
+ # Ensure we use C locale when building, bug #746215
+ export LC_ALL=C
+ fi
+}
+
+src_unpack() {
+ local _lp_dir="${WORKDIR}/language_packs"
+ local _src_file
+
+ if [[ ! -d "${_lp_dir}" ]] ; then
+ mkdir "${_lp_dir}" || die
+ fi
+
+ for _src_file in ${A} ; do
+ if [[ ${_src_file} == *.xpi ]]; then
+ cp "${DISTDIR}/${_src_file}" "${_lp_dir}" || die "Failed to copy '${_src_file}' to '${_lp_dir}'!"
+ else
+ unpack ${_src_file}
+ fi
+ done
+}
+
+src_prepare() {
+ if use lto; then
+ rm -v "${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch || die
+ fi
+
+ # Workaround for bgo#917599
+ if has_version ">=dev-libs/icu-74.1" && use system-icu ; then
+ eapply "${WORKDIR}"/firefox-patches/*-bmo-1862601-system-icu-74.patch
+ fi
+ rm -v "${WORKDIR}"/firefox-patches/*-bmo-1862601-system-icu-74.patch || die
+
+ # Workaround for bgo#915651 on musl
+ if use elibc_glibc ; then
+ rm -v "${WORKDIR}"/firefox-patches/*bgo-748849-RUST_TARGET_override.patch || die
+ fi
+
+ eapply "${WORKDIR}/firefox-patches"
+
+ # Allow user to apply any additional patches without modifing ebuild
+ eapply_user
+
+ # Make cargo respect MAKEOPTS
+ export CARGO_BUILD_JOBS="$(makeopts_jobs)"
+
+ # Workaround for bgo#915651
+ if ! use elibc_glibc ; then
+ if use amd64 ; then
+ export RUST_TARGET="x86_64-unknown-linux-musl"
+ elif use x86 ; then
+ export RUST_TARGET="i686-unknown-linux-musl"
+ else
+ die "Unknown musl chost, please post your rustc -vV along with emerge --info on Gentoo's bug #915651"
+ fi
+ fi
+
+ # Make LTO respect MAKEOPTS
+ sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
+ "${S}"/build/moz.configure/lto-pgo.configure || die "Failed sedding multiprocessing.cpu_count"
+
+ # Make ICU respect MAKEOPTS
+ sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
+ "${S}"/intl/icu_sources_data.py || die "Failed sedding multiprocessing.cpu_count"
+
+ # Respect MAKEOPTS all around (maybe some find+sed is better)
+ sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
+ "${S}"/python/mozbuild/mozbuild/base.py || die "Failed sedding multiprocessing.cpu_count"
+
+ sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
+ "${S}"/third_party/libwebrtc/build/toolchain/get_cpu_count.py || die "Failed sedding multiprocessing.cpu_count"
+
+ sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
+ "${S}"/third_party/libwebrtc/build/toolchain/get_concurrent_links.py ||
+ die "Failed sedding multiprocessing.cpu_count"
+
+ sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
+ "${S}"/third_party/python/gyp/pylib/gyp/input.py || die "Failed sedding multiprocessing.cpu_count"
+
+ sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
+ "${S}"/python/mozbuild/mozbuild/code_analysis/mach_commands.py || die "Failed sedding multiprocessing.cpu_count"
+
+ # sed-in toolchain prefix
+ sed -i \
+ -e "s/objdump/${CHOST}-objdump/" \
+ "${S}"/python/mozbuild/mozbuild/configure/check_debug_ranges.py || die "sed failed to set toolchain prefix"
+
+ sed -i \
+ -e 's/ccache_stats = None/return None/' \
+ "${S}"/python/mozbuild/mozbuild/controller/building.py || die "sed failed to disable ccache stats call"
+
+ einfo "Removing pre-built binaries ..."
+
+ find "${S}"/third_party -type f \( -name '*.so' -o -name '*.o' \) -print -delete || die
+
+ # Clear checksums from cargo crates we've manually patched.
+ # moz_clear_vendor_checksums xyz
+
+ # Create build dir
+ BUILD_DIR="${WORKDIR}/${PN}_build"
+ mkdir -p "${BUILD_DIR}" || die
+
+ # Write API keys to disk
+ echo -n "${MOZ_API_KEY_GOOGLE//gGaPi/}" > "${S}"/api-google.key || die
+ echo -n "${MOZ_API_KEY_LOCATION//gGaPi/}" > "${S}"/api-location.key || die
+ echo -n "${MOZ_API_KEY_MOZILLA//m0ap1/}" > "${S}"/api-mozilla.key || die
+
+ xdg_environment_reset
+}
+
+src_configure() {
+ # Show flags set at the beginning
+ einfo "Current BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}"
+ einfo "Current CFLAGS:\t\t${CFLAGS:-no value set}"
+ einfo "Current CXXFLAGS:\t\t${CXXFLAGS:-no value set}"
+ einfo "Current LDFLAGS:\t\t${LDFLAGS:-no value set}"
+ einfo "Current RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}"
+
+ local have_switched_compiler=
+ if use clang; then
+ # Force clang
+ einfo "Enforcing the use of clang due to USE=clang ..."
+
+ local version_clang=$(clang --version 2>/dev/null | grep -F -- 'clang version' | awk '{ print $3 }')
+ [[ -n ${version_clang} ]] && version_clang=$(ver_cut 1 "${version_clang}")
+ [[ -z ${version_clang} ]] && die "Failed to read clang version!"
+
+ if tc-is-gcc; then
+ have_switched_compiler=yes
+ fi
+ AR=llvm-ar
+ CC=${CHOST}-clang-${version_clang}
+ CXX=${CHOST}-clang++-${version_clang}
+ NM=llvm-nm
+ RANLIB=llvm-ranlib
+ elif ! use clang && ! tc-is-gcc ; then
+ # Force gcc
+ have_switched_compiler=yes
+ einfo "Enforcing the use of gcc due to USE=-clang ..."
+ AR=gcc-ar
+ CC=${CHOST}-gcc
+ CXX=${CHOST}-g++
+ NM=gcc-nm
+ RANLIB=gcc-ranlib
+ fi
+
+ if [[ -n "${have_switched_compiler}" ]] ; then
+ # Because we switched active compiler we have to ensure
+ # that no unsupported flags are set
+ strip-unsupported-flags
+ fi
+
+ # Ensure we use correct toolchain,
+ # AS is used in a non-standard way by upstream, #bmo1654031
+ export HOST_CC="$(tc-getBUILD_CC)"
+ export HOST_CXX="$(tc-getBUILD_CXX)"
+ export AS="$(tc-getCC) -c"
+
+ # Configuration tests expect llvm-readelf output, bug 913130
+ READELF="llvm-readelf"
+
+ tc-export CC CXX LD AR AS NM OBJDUMP RANLIB READELF PKG_CONFIG
+
+ # Pass the correct toolchain paths through cbindgen
+ if tc-is-cross-compiler ; then
+ export BINDGEN_CFLAGS="${SYSROOT:+--sysroot=${ESYSROOT}} --target=${CHOST} ${BINDGEN_CFLAGS-}"
+ fi
+
+ # Set MOZILLA_FIVE_HOME
+ export MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
+
+ # python/mach/mach/mixin/process.py fails to detect SHELL
+ export SHELL="${EPREFIX}/bin/bash"
+
+ # Set state path
+ export MOZBUILD_STATE_PATH="${BUILD_DIR}"
+
+ # Set MOZCONFIG
+ export MOZCONFIG="${S}/.mozconfig"
+
+ # Initialize MOZCONFIG
+ mozconfig_add_options_ac '' --enable-application=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-disk-remnant-avoidance \
+ --disable-geckodriver \
+ --disable-gpsd \
+ --disable-install-strip \
+ --disable-legacy-profile-creation \
+ --disable-parental-controls \
+ --disable-strip \
+ --disable-tests \
+ --disable-updater \
+ --disable-valgrind \
+ --disable-wmf \
+ --enable-js-shell \
+ --enable-negotiateauth \
+ --enable-new-pass-manager \
+ --enable-official-branding \
+ --enable-release \
+ --enable-system-ffi \
+ --enable-system-pixman \
+ --enable-system-policies \
+ --host="${CBUILD:-${CHOST}}" \
+ --libdir="${EPREFIX}/usr/$(get_libdir)" \
+ --prefix="${EPREFIX}/usr" \
+ --target="${CHOST}" \
+ --without-ccache \
+ --without-wasm-sandboxed-libraries \
+ --with-intl-api \
+ --with-libclang-path="$(llvm-config --libdir)" \
+ --with-system-nspr \
+ --with-system-nss \
+ --with-system-zlib \
+ --with-toolchain-prefix="${CHOST}-" \
+ --with-unsigned-addon-scopes=app,system \
+ --x-includes="${ESYSROOT}/usr/include" \
+ --x-libraries="${ESYSROOT}/usr/$(get_libdir)"
+
+ # Set update channel
+ local update_channel=release
+ [[ -n ${MOZ_ESR} ]] && update_channel=esr
+ mozconfig_add_options_ac '' --update-channel=${update_channel}
+
+ if ! use x86 ; then
+ mozconfig_add_options_ac '' --enable-rust-simd
+ fi
+
+ # For future keywording: This is currently (97.0) only supported on:
+ # amd64, arm, arm64 & x86.
+ # Might want to flip the logic around if Firefox is to support more arches.
+ # bug 833001, bug 903411#c8
+ if use ppc64 || use riscv; then
+ mozconfig_add_options_ac '' --disable-sandbox
+ 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_enable rust-extensions thunderbird-rust
+
+ 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"
+
+ # Increase the FORTIFY_SOURCE value, #910071.
+ sed -i -e '/-D_FORTIFY_SOURCE=/s:2:3:' "${S}"/build/moz.configure/toolchain.configure || die
+ fi
+
+ local myaudiobackends=""
+ use jack && myaudiobackends+="jack,"
+ use sndio && myaudiobackends+="sndio,"
+ use pulseaudio && myaudiobackends+="pulseaudio,"
+ ! use pulseaudio && myaudiobackends+="alsa,"
+
+ mozconfig_add_options_ac '--enable-audio-backends' --enable-audio-backends="${myaudiobackends::-1}"
+
+ mozconfig_use_enable wifi necko-wifi
+
+ if use X && use wayland ; then
+ mozconfig_add_options_ac '+x11+wayland' --enable-default-toolkit=cairo-gtk3-x11-wayland
+ elif ! use X && use wayland ; then
+ mozconfig_add_options_ac '+wayland' --enable-default-toolkit=cairo-gtk3-wayland-only
+ else
+ mozconfig_add_options_ac '+x11' --enable-default-toolkit=cairo-gtk3-x11-only
+ fi
+
+ # LTO is handled via configure
+ filter-lto
+
+ if use lto ; then
+ if use clang ; then
+ # Upstream only supports lld or mold when using clang.
+ if tc-ld-is-mold ; then
+ # mold expects the -flto line from *FLAGS configuration, bgo#923119
+ append-ldflags "-flto=thin"
+ mozconfig_add_options_ac "using ld=mold due to system selection" --enable-linker=mold
+ else
+ mozconfig_add_options_ac "forcing ld=lld due to USE=clang and USE=lto" --enable-linker=lld
+ fi
+
+ mozconfig_add_options_ac '+lto' --enable-lto=cross
+
+ else
+ # ThinLTO is currently broken, see bmo#1644409.
+ # mold does not support gcc+lto combination.
+ mozconfig_add_options_ac '+lto' --enable-lto=full
+ mozconfig_add_options_ac "linker is set to bfd" --enable-linker=bfd
+ fi
+
+ if use pgo ; then
+ mozconfig_add_options_ac '+pgo' MOZ_PGO=1
+
+ if use clang ; then
+ # Used in build/pgo/profileserver.py
+ export LLVM_PROFDATA="llvm-profdata"
+ fi
+ fi
+ else
+ # Avoid auto-magic on linker
+ if use clang ; then
+ # lld is upstream's default
+ if tc-ld-is-mold ; then
+ mozconfig_add_options_ac "using ld=mold due to system selection" --enable-linker=mold
+ else
+ mozconfig_add_options_ac "forcing ld=lld due to USE=clang" --enable-linker=lld
+ fi
+
+ else
+ if tc-ld-is-mold ; then
+ mozconfig_add_options_ac "using ld=mold due to system selection" --enable-linker=mold
+ else
+ mozconfig_add_options_ac "linker is set to bfd due to USE=-clang" --enable-linker=bfd
+ fi
+ fi
+ fi
+
+ mozconfig_use_enable debug
+ if use debug ; then
+ mozconfig_add_options_ac '+debug' --disable-optimize
+ mozconfig_add_options_ac '+debug' --enable-jemalloc
+ mozconfig_add_options_ac '+debug' --enable-real-time-tracing
+ else
+ mozconfig_add_options_ac 'Gentoo defaults' --disable-real-time-tracing
+
+ if is-flag '-g*' ; then
+ if use clang ; then
+ mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols=$(get-flag '-g*')
+ else
+ mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols
+ fi
+ else
+ mozconfig_add_options_ac 'Gentoo default' --disable-debug-symbols
+ fi
+
+ if is-flag '-O0' ; then
+ mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O0
+ elif is-flag '-O4' ; then
+ mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O4
+ elif is-flag '-O3' ; then
+ mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O3
+ elif is-flag '-O1' ; then
+ mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O1
+ elif is-flag '-Os' ; then
+ mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-Os
+ else
+ mozconfig_add_options_ac "Gentoo default" --enable-optimize=-O2
+ fi
+ fi
+
+ # Debug flag was handled via configure
+ filter-flags '-g*'
+
+ # Optimization flag was handled via configure
+ filter-flags '-O*'
+
+ # elf-hack
+ # Filter "-z,pack-relative-relocs" and let the build system handle it instead.
+ if use amd64 || use x86 ; then
+ filter-flags "-z,pack-relative-relocs"
+
+ if tc-ld-is-mold ; then
+ # relr-elf-hack is currently broken with mold, bgo#916259
+ mozconfig_add_options_ac 'disable elf-hack with mold linker' --disable-elf-hack
+ else
+ mozconfig_add_options_ac 'relr elf-hack' --enable-elf-hack=relr
+ fi
+ elif use ppc64 || use riscv ; then
+ # '--disable-elf-hack' is not recognized on ppc64/riscv,
+ # see bgo #917049, #930046
+ :;
+ else
+ mozconfig_add_options_ac 'disable elf-hack on non-supported arches' --disable-elf-hack
+ fi
+
+ if ! use elibc_glibc; then
+ mozconfig_add_options_ac '!elibc_glibc' --disable-jemalloc
+ fi
+
+ # System-av1 fix
+ use system-av1 && append-ldflags "-Wl,--undefined-version"
+
+ # 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
+
+ export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE="none"
+
+ # 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-r1.js gentoo-prefs.js
+
+ local GENTOO_PREFS="${ED}${PREFS_DIR}/gentoo-prefs.js"
+
+ # 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
+
+ # 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 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
+
+ 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
+}