summaryrefslogtreecommitdiff
path: root/mail-client/thunderbird
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-09-10 12:30:41 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-09-10 12:30:41 +0100
commitadd278b9601ff9e4af091c91c851ee46a185be8f (patch)
tree4b654beae0eec584ae1d1f3227a57607d591a0ea /mail-client/thunderbird
parentd8a7472fc6314625f7d16e0427004eb448412908 (diff)
gentoo auto-resync : 10:09:2024 - 12:30:41
Diffstat (limited to 'mail-client/thunderbird')
-rw-r--r--mail-client/thunderbird/Manifest133
-rw-r--r--mail-client/thunderbird/thunderbird-115.15.0.ebuild1363
-rw-r--r--mail-client/thunderbird/thunderbird-128.2.0.ebuild1190
3 files changed, 2686 insertions, 0 deletions
diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest
index 6b4b2f151349..71531735d333 100644
--- a/mail-client/thunderbird/Manifest
+++ b/mail-client/thunderbird/Manifest
@@ -7,6 +7,7 @@ AUX icon/thunderbird-r2.desktop 882 BLAKE2B eb9c2e381b67319d9cd53f26e9b406f55de8
AUX thunderbird-r1.sh 2896 BLAKE2B 140047417b24e959fe6388c4913457f8e3e786158b7394abf7442b0d2e83de21238e58983845a23b855e1aab60c9289e1a12af430eac9a8b2d9929da97de2852 SHA512 f9b989152a8a3ac274033722c77ec19374085654ad6c85ea4db6f8af8f4b2066d6d9f82b610be2db341c8ac867547f54f806ca6571258ed98dd9e2527d21b357
DIST firefox-115esr-patches-13.tar.xz 51360 BLAKE2B a048bfadba989ebbd4c6e3df97d303d6853844e66ed92f5f5f322acf18866218b91d52dbbece63827de283eef855c932d67e329c8d93200aa83f11268a5d1b2f SHA512 186ec72323e621362dcef1bc67c476716aff97dfad701faa9220a7302e798d3cb4ed90d5ea59e3e92f016be29875bb5219787635db99a8848b7c76e4e2e09e90
DIST firefox-128esr-patches-02.tar.xz 20052 BLAKE2B 1c5646e6111d400c4f85910380c407c0000efddd9f9dfc228b042bbbb38755d4a2003f5fe9717a13ec53693cd6fdb1cbf9822649e8726f165a9e3d101a8b213f SHA512 ab0e7ad443d0b5d0a44867c9a732681df3bf28b30a2e14dc7d2eb43859483f452723b614ff6e8f52666be3840d88104aa2c82616628210215e1765b60beb3ea2
+DIST firefox-128esr-patches-03.tar.xz 14156 BLAKE2B 9a618f0ddb8596b740893dc9113f374d193a00e4e8e76dbb2794928ceaafc7b5309cb6f69f6287ae1e423f0be0a060580b0d9d59307c9889362dd17fb7d31d3d SHA512 c6ec7233b368fac623ec0cce6f5c37d358a0fa5bb2154dc67eebb50968376ca9d46f3a734f5d79a4aa4edde9e300a9c65315d0e499aa6a1325b6c76a6c164258
DIST thunderbird-115.14.0-af.xpi 551075 BLAKE2B c059761dace91e4f5e98f1bdde879312f2eea951ade269c7b4239974aa4609cbc8f3090a0646e87fad840bfc166ce2421403e7c210c8ae965ae6385404d06c4d SHA512 584013d7b6eea794448f4764c17de7b989155ca782f602948a2d0f745c4344954daacd35327bcb85f9e9cad99d5b917f748d47a4805cef171d806bd8211aa591
DIST thunderbird-115.14.0-ar.xpi 673775 BLAKE2B ea5e62105a53306ee18dd332775eb4917c68d041f50b14fda1baaa9ad09df42e6dafb47a03023c3a46cbf5092009ac84ae97cfe82b6771a99dcc7e86c6844b32 SHA512 2767eef517e451aedfca4b9a8e254f4388afc1c6021cdc301bd56513073688a63ceb7891aa5bb9dd6c83ae2d5f9078e9b832bdf3e761c88e2379076d15baf519
DIST thunderbird-115.14.0-ast.xpi 570025 BLAKE2B 3477dcd1ca19880feeef3dba4fa07396e84acbb80345c1402fbfc1012451b2abdedb05b60f4907ff2873da174216e1275a61a281f4ccffd0030403b4813062c0 SHA512 a01c2d85389e7ca86af4bcc73565bca9faea308a77c16457dcb981492433a177761dd20daf3224ee64c7a527408265ae53fdfb2c2a5b4cfa0df8d2325240ca3a
@@ -72,6 +73,71 @@ DIST thunderbird-115.14.0-vi.xpi 774809 BLAKE2B fc16ca251941ed6e89b5cbbf8c5fea61
DIST thunderbird-115.14.0-zh-CN.xpi 775075 BLAKE2B 08be1a16a498404b503c7ea084c585a2c4f99c755b233a8cd3f8c384ce6b4c7768f0f6b03ab77e4688d2241c07f413decaca6b7a38f8113161e2c1303876a5ec SHA512 eb4e1894f408b7d90982a447183c3dbd702c654950c772c3adf6ac90be23655e6d6426210542de70682ba70797c247e6271bc7867fe2a8dc04ba8a63ab0e94c0
DIST thunderbird-115.14.0-zh-TW.xpi 778882 BLAKE2B 1c17c1d70f42ad4a38497846fdb6296816f5f5bd782aed05ef090b2913170a796e1a54184ac566c3c278ab821dfc9379337f39a1c31f4f98e80833bcbea99189 SHA512 661acf4f1eeb803eabb4c5b8f9cfbbb6bd71eb456860fe23debf0de889d204aba490d545334098c8fd302de29b6adb5f1a75c4bd96e3fbd13f3dceec358a15ad
DIST thunderbird-115.14.0.source.tar.xz 533296972 BLAKE2B b286062857df12cee6b5aa42f26de7509cd89558a8173cb9e1ffebda2c9bd6ef808bf5034ee2149809e6c427d9c3fdc7f2d37030b0c71aa00d5b8f5381166d14 SHA512 b12e1302d6be94dd88bee6dd069d3fec944bfce95e1afc1d72c14cc188d952fd5a85f0e70575317250701ac89498d876f3384b022957689fabcef61ad7d78c29
+DIST thunderbird-115.15.0-af.xpi 553548 BLAKE2B 62e9e3904c8f89cbaa6a01f6734e09bd93f3dea42cea6b0e5ce793a1ed8dbdccf5d1e0d67d92f1e4de09661f14f8a6cc7481f1860e04a581635ee4984355928d SHA512 2496a41f4f18cf53d0607c81659aaa9c248e07ef0b2068e6fae888a76b4d15fe8eb8e1031b21f81b586886e004c19e3d18a7b2800a12f3d0986a2b0c33f61109
+DIST thunderbird-115.15.0-ar.xpi 706940 BLAKE2B 3bd58099f54219d62b24013f8ea920d03514f6e9589dc6d19696b7ef78fa4b703a12d83293583b9c8506055ed2f47593e1b8b4055dd3abb1bc5554f9a5f9bddb SHA512 9c1bb958ab1101457f91f6fb5e8d35c2d0e727c3f9be02829bb536f1fae959d8fafd1d88e592cb8962f19dbbd227061c3e610acd55b10da3b166e7386b4acca9
+DIST thunderbird-115.15.0-ast.xpi 583831 BLAKE2B 91f3eac2479eb1f789ed5707443425c2000ad7d69f2431c78f3b7733736825dffbe02eef1f0cc48886648fa5e22dbc84f275efba614b43340d1726ec4d3ef86b SHA512 bda904a4f4072e87799f6d5ec99094457275482ec622e9bc87e961e91566d6611c1a3522f6bb7f36387b515c114d6a8ef7a9d15f2a673e5fbe02678d91855c2f
+DIST thunderbird-115.15.0-be.xpi 787754 BLAKE2B 89ada2a5bbe21d67caa2dfcb0598a2ec1a1986b64d397eeeda69c84260cee80ed34d42ba25352404a5194a387f4568c76f5344db62a5fa6bb1457e929fb475ef SHA512 a368e0d276f4f18b2fa6e552a6536db4375d1673ffc24a0564e779f4a573a0df5e830d825ba4539486aadc374cddc3dbcb4794f42269921b08edc5dfeef457ef
+DIST thunderbird-115.15.0-bg.xpi 828487 BLAKE2B da7dc05893f27e8103eee568b0886dc9b99e95c5fa041baba722043b704c20b6550fe00628d2e33b3ebbc32bd99ede28ec2b3b3a8a88d9253100bc960d4bc319 SHA512 04c68c65c7466023689d362ed12fd9de1a64b56650622bc59fb108a2b9f20ea0fe8b5dadd04a4a6cce769daccb3da973bb266d851b03937958c95bb828e371da
+DIST thunderbird-115.15.0-br.xpi 677642 BLAKE2B dd8fa1be534833f6646dac0479628b2510a86334b6739967e8c3c9bd745047b9b7f351546538093188722b2a16bf0b4f6436b89326d799244676efffbdedfef1 SHA512 0b6e141d12df90805c9e9ada288afda8ee562e7cc7909e89f181effdf345717699208d82b0af93b9d057dc5329a7c75f612005aab288a3d4cf3eaebf49a0fa99
+DIST thunderbird-115.15.0-ca.xpi 732349 BLAKE2B c8c43c87bea904f5f95260167f360efdb2f3a05956c4bf023fa600b2b818479d2e1da683d144547b0f578c5c5f211cab199dfd3dace4b2261742729ba12e690d SHA512 dede551b1ce32df6c0e278ce0f611e24b8157d023699c24b18c0d4b08304a479a266c290a1838e9b3f51995480f2ab6c3941c18172877e37cdeae760c08e2151
+DIST thunderbird-115.15.0-cak.xpi 694684 BLAKE2B 47d526da3821602495b0540404dee1b23eec8ff5bacae283d00fbc0582ed51fb9b9ea400033c79c117bafc767fe3659dfb54846f067fdee644bed53eac01703e SHA512 6a632d77d7d50c4df06d64bcfd85fbf1ba7e367caf0f8da5441722079f47e4d429badf44ede6a1ef8011d180f2059f05424e8ad3220249c4fbb0eb31aa6b5493
+DIST thunderbird-115.15.0-cs.xpi 814276 BLAKE2B 54399b3c2a8c0b5c6f8df4c067712373fcfa7002083002504a3d18ad21e56c6d909544d3f9f65cb3172276e2e7a353cf60365915a382e4e546ef36cc1ed0235d SHA512 9d7a87727302c96404f6368e38b9af4267e7fc474943e5e00126c43d98e912d3e2ecc70f139b4ea47e489df4322b47ef36d67912f9b284d3571effc758ede07b
+DIST thunderbird-115.15.0-cy.xpi 776201 BLAKE2B a9eb65746714b5e1fa18a9063ba0c0a41c67a929c3c8be6c046acf1061648df4dc9db6f1f23cc5e0902168e35e01b9aa7d668a15fe49a923b42d7f55dda6325d SHA512 25d65bc1928729d7d73dc696e7cbb10dd2b1ef3ca2b9ec6cfd30cd8cee13bd417a2167797790b001d8816d493cc96726845e8031ce88374197402ca2dba27454
+DIST thunderbird-115.15.0-da.xpi 762858 BLAKE2B 5b66867366323a8f359c34414f20dbf3f8c45de0f331e2cda878de72e186847a964fbf186e297a0cbb9271567575f5541b0baa4149555460a587b327a3d8ecd3 SHA512 fbf6ffab75a1f05200be6e0c88b3ee5e84c595e2294a1b0ea37d8c80fea7b6e3d8b363db9cf07b26d7f24a84f1bdda46557836bc7ee2f8e8163a07bbf4ddc1f3
+DIST thunderbird-115.15.0-de.xpi 794013 BLAKE2B a1499b20f81b34f0fcaf70c60ee0869ccc86b4025a0aa70f908c903aeaeeed001562130cc66571831b1725f6bef897b0b5c2fed551d8869f264dc1c62b13f62f SHA512 d3757ef308e58c0e68772b7aa4a4452869268dace611b2702aae0c725b4cff0baf2573a0087e21bf8cbf26829669abe0afbdd37390cab5879efa4c798ca448f6
+DIST thunderbird-115.15.0-dsb.xpi 812883 BLAKE2B f9795b4fc72e8b670ceb980bc38a8a61adba0b1752d463273da62082f372feb4ae598dc05d38c43aae907840d3676835803e77ea64f18cb2771e110ea84a8762 SHA512 1801e5a70bf5afd1ab6be7f34a2734644f7dfe951cd80efbc4cfbc2025a1782c804cf7284b9b4f0847224667afd565a670dc306a539f841a84b08705a4108085
+DIST thunderbird-115.15.0-el.xpi 923744 BLAKE2B d97291dbe15cb78a3e68672573699339d080bd14b8621012d37613fc330602cd859d8ca0cd3509b278d88cd7c10d3adbd7d2c11e016b8c9552f7412d42aa6249 SHA512 12b41df0868a571a78b068eaa2f66e71c059df20a8dbfcb531df06f05f9385e19be86fc784fede52753d6f6292e8808010ac8e66587e30715c98e3d7077d2ee9
+DIST thunderbird-115.15.0-en-CA.xpi 728508 BLAKE2B cc4152bb9ce4179868124cfc9a4330c87ff82e494f330ff6b391b976ce01b6d74b831c589ee178478c9788ba4de1c449686cd5d6b169498a2d598c6b480ed850 SHA512 d9381df862baebfe08549e873c5feff9e779b6336fea3a6bc458057a0c45e8bf81f36c694b68b9767087e4f32b6cf3097ae7e0724e78b7af3160d5957a88c396
+DIST thunderbird-115.15.0-en-GB.xpi 729649 BLAKE2B fd08184f7dc96515a2ffd9be3b760971d163a81097a56c7ef835ff2be2f6ee417ce98e8eebdf92a23003c01f23e2b02249451f50085c7d6d24397d19a83f67bc SHA512 e2daf19989bfb7592e7ea3ca0f4e68608b06a5691ab5c38a2df55d3c8751252ed1820cef3b23764624c1e2a6c5eb15aa09b452e93ea0bb1561e633b411bca395
+DIST thunderbird-115.15.0-es-AR.xpi 787328 BLAKE2B c88ef73a576cfe7c70dc62b751cbd55f45e9a9f2ed65386fe2c7220eea78d5dacc0d9b3f26f445becd65b628fdadc6d077c2923de1877a0ab7083093dc294dc5 SHA512 ea65441024a299fc6a9487f77aaa02a6ad53d66840ba06e535a580c5048f7ed4ea27ddbd77724bd0bfc992085344bdde440a5fd048d946fe821301f669dcfb7a
+DIST thunderbird-115.15.0-es-ES.xpi 751242 BLAKE2B d257ae2832b9feb601baddd44f6efc54f69e7f40ffe2e64252b3bcfe53ab0be1bff49e28dfeb33d2ecf613d63c96712779f513ddc443d6a809c8cf1d47b1e2b7 SHA512 802126f07e178d5c38fb74f02fb77fc32895fd38d6b2525c08b90d5458ecafff03a80d7b468e08f3c42fd71cabfb353d79b92c4d51dee99fa18fdb53efb19512
+DIST thunderbird-115.15.0-es-MX.xpi 757498 BLAKE2B daece78669631a36e1235d08d4d23b148f389284bac985d634fc6c1d77ba69f97bbc243063026069487809a79f9d084ffa68a191341dc4ffa78fe3153174fe09 SHA512 9cc2d48a7af9c53c7450ed2fce2f6c3749d1dbdcb135303e7b4d233dae96490d3597ca65d5152192152dc8438c75865d112fe7b3581e6e1f4d7dec8d8d42f3a4
+DIST thunderbird-115.15.0-et.xpi 716734 BLAKE2B 3aa410ef782a893f09092a5ae6c259a6e9c26ffc98a729971f41134d0ffd9500a5c9179145933669314f7eaa08dad8602fef0b271873d9cb19a549d64a1cd5f9 SHA512 20a09a02768792e617540e88312fc675c086daf55a279d7f398b1ba3b7fbb678ff04e5bb90c9881554d3ec0d316ecac30ee2c29c052545955471636e54c0a01a
+DIST thunderbird-115.15.0-eu.xpi 750792 BLAKE2B c165efbdcd40ca4d2936c409a34b675815952ec6338b0a90a22e249706e9df6c1701bfad99b5b478b7ea3a2df325fe928dd1122613d407a9e80844b749319031 SHA512 b0c875dbf7bd312ce28cca2b7693ba07154209d0117c596f5b2984c639ff53391147e04f302d82a42a333a62206125f33ee04b471ae465333531971865111281
+DIST thunderbird-115.15.0-fi.xpi 760381 BLAKE2B a4744d25976e83453d0324df2c580195fb2c9e420b9e1116b115783b8373ea569a7bc3f33ed86669c7a4ba98b9f237000cc3e56bc96820285b79ca14a83ced31 SHA512 2632031a4db1832b30e78b8944ab2f2f6dc32d6d3df763ab22ef37ad7cd7d06baa1c4db16b18a5eac0436d5a38aff7fdc8027a3be6a22430d18d3c0041e4a439
+DIST thunderbird-115.15.0-fr.xpi 800563 BLAKE2B 67f05fcc018554e2596409e9fd532059deb097458fd3c6fa234dfa996fc4326c23ae3b6a211c51eee7292a163ac6c59cdb0f014626206f296c3133e934810c5c SHA512 788dd6d65879f5723db6fe4d5345e60be6083629cfb413c30198912c50e9c47727759fe439cd26c233b5efa510e62471d6122638f86c5827a7c0fa6da7bceecb
+DIST thunderbird-115.15.0-fy-NL.xpi 782017 BLAKE2B f6f6fb51e439f9358bf630aa7f6eeeeaf1d3ad2273eae270473badc3f7ba788ed0b3861924f8ccd1333bc861ec5796858286ba1b199af6f7e0b78a44e60fb2f3 SHA512 eeccb4f8fd248c400df6d83253d33e65123542917ea6c25a19d7c5c073f86cb27bb762d4f87db3ad8d15ff4d3a8656d1c549a9b16f3ad4de057d77ed701ef7eb
+DIST thunderbird-115.15.0-ga-IE.xpi 640765 BLAKE2B bfc70a6d2432c6bb716c24d6185d9de52aff8b3129d46fb5e248ac4d8231167be6c969153055eb147e65a626a501b625e9e2c2f2943833d3b875af00bd1b96fc SHA512 2e628b3f3a2ac64b8c089d9fe46f18e43d81710e831991884f19e33886b3f964a063a2be2537bcd66be9d9510f55d0e14d94eafd602999d0587351e9c43b9b68
+DIST thunderbird-115.15.0-gd.xpi 751210 BLAKE2B 82a71dd33f3a0075ee71fc35f28117ef66e45a6ee248867e99dd90f78f6bc557d6cd03564c76bc64e3af2d4e4f2de39187553639a93690ba2f31a6dfd3859d42 SHA512 ea8f8f477ea2a38c4b30484abc3cfa2e31b637830cf8b1c4ccda1dbe74d921e929ddbf1cdaa954814d5d5192b41770086d1ad71fb8243d5277399921a6df0554
+DIST thunderbird-115.15.0-gl.xpi 761600 BLAKE2B 54ee430dd05878fe3e58ace3ab55ec5000c28f0658301d9ba74320454b4b8e48017935b89c07b094586112a65a60a10e95c83ff106d09b575a9aa5d80e6d375c SHA512 172a39a2b3439438b60c0c439c9234f6cceffebab3cc5429ac1358ad036179fdde25c10d39f7360208df2127eed521505c56043a1740ae52c5381adee93cd324
+DIST thunderbird-115.15.0-he.xpi 724287 BLAKE2B 454140edbe87cc51ce54aa6c56ac7bbdbe11940f7586ad28408cb866948d0c4f659b948f5f475e48526da00ee598a5c2f3017b9500857b948b6926b241e3d83b SHA512 b504cf16c8b442091e309c394b9ac6ddde2f5eca6780df2bae7a8a5ad6e1551850525cbcc975ce6ee92d71490f10693f47da7414844e02969c9760c1aa24ac00
+DIST thunderbird-115.15.0-hr.xpi 723720 BLAKE2B 58ba0dbd29ca1ec950d8c7b03d59efb725462e8a069d86eae1a1a2b0431c3902e21065095ab5f3655dffeecfa2d17b1bc01c19a83243b3fc8fce739901978353 SHA512 b2073682142f979d6c524d2448ee59ae0c0071daed287ec5a8d6cd3e05d71018e432e37bfc392af2840cb8ae60f3e2bb693e12dd2fea6f8e794e377a0b0efc6e
+DIST thunderbird-115.15.0-hsb.xpi 810428 BLAKE2B d532e05091137f25bbe70f543da50007c2c1e2191b3b776c0085fd5f1b5de4ee381798ce2b629b487e95444b74261e39b60c8807e7bd3c7b7f9ad1842bd72d87 SHA512 f863fa7fb45cfd91ef465ee1d7d2c57be094712a6341ffe27da857bc3b48a33919c983cdeef05943ad066bc00f62485dc5ab308302e79e30efc7c187117cc07b
+DIST thunderbird-115.15.0-hu.xpi 812084 BLAKE2B 92b0827dacd1c2607649982456f084c81f7a7d52b2f0ca55ef624523bdbbc25deb7d66b09716afe5b5668ded69ebd5e2d07e0bf463d5976fc3e8d4c821947168 SHA512 920b6a4ef23880a46c469f2dd8b63517600aa1ded49169b3982574c16c8d61f1d2732310b46471780100ed6e3a1e87f0484a325f84ef053b971d9283efb25a23
+DIST thunderbird-115.15.0-id.xpi 689001 BLAKE2B 287bc728f652c87983b92bdcdbc8fdb484a96a46a4ecee4a1134863ff42748ff9ce9c9f6fef9de2d8175995ec975d1a25cf091e5507c117077d6bdcd1114fb49 SHA512 094c8d4eeaee440ff8f0022ed9371d348794df30e6000f6533a540404c65ada4382f1ed08be3cf07966398e506a0f2dcbc7db11940ac1ef40c553e12494edd5d
+DIST thunderbird-115.15.0-is.xpi 767724 BLAKE2B 88325eb0c14edf8339c7a65b844962b1314fd2031de657c9ddad9df1313051861275725e761bc03920b8efde75d7eb3df33b95acda96741814a1e5524fc8087f SHA512 3eff726fed4f98304da87cb19296e3ba15b8c98dbaba6b6c7b02b7769d1fa04a3826f725de78c67eee1f5847fa34607fec375b8283c82d028cb88aaf25c119a0
+DIST thunderbird-115.15.0-it.xpi 717903 BLAKE2B d769ba1b46cdd414dff918d04e52b077715606d77f3ef8b9b119e813a7227877f0622ba7b2d1afd1deb78d768f71c06b735ace258ff5b7e00691357d587b400e SHA512 3f1c9c1712d2ee0e18f5e41b79870480ebfd0ce8e6660c18448def04ab96342370e882e6f3fb1dab4804dad3f83f57ef9453a4491c1679cf95d3b15d734942d8
+DIST thunderbird-115.15.0-ja.xpi 849892 BLAKE2B a7b1d4c2910fc999b38ac2742fd71a53f06982903256298abaaac6a697afe8f46a63f78b9e3fa5036838bbbb7c5dbb9456ae315ebae965d4768f0c825dcc1020 SHA512 a5885e219687f0804e3ab7e9c44f4771de6b98154e4301456e9cdb70dbf347afc39f2bcb38151af808b6e968a21afe9622785f308ad19df768c4f9c22c7ec381
+DIST thunderbird-115.15.0-ka.xpi 825497 BLAKE2B 5f8c516c60fdb2b292601802ec5d357935f1832a665bea812bd386f7d3effde9ba6f691b5c51c2f93a1be1a4c93e321ea67a4aeaa48ae296a6e703814d668648 SHA512 f9f459731a98d872a72092d104ccd43207bdde060b44f21ddecee773bbe521ebd863290391664e56ae3f3f5e9f304ee0b4742d05cd176f192c2c4f9f5b12036f
+DIST thunderbird-115.15.0-kab.xpi 757769 BLAKE2B 85769ea8ee24d0385be470b57ad37d8a1136489a199c30b0e1ed89fe150459032bc7d319ce44bfab8678186bb4350527dd6b629bf5da186da7553bff50d499b3 SHA512 d5369ccdade4f1f67c613a4a9ce89ba54b880a09432ff8c129d15c84392f5a55244845104c848bc45508094104a5f42f46e90c75c16913764d5a997084bb0722
+DIST thunderbird-115.15.0-kk.xpi 890201 BLAKE2B 875bf941500c677ecd5ef8a68a0a18de80296964d8994dacab0daab04e7d54a4b593cecf5d2372c1b94482685e3bffc1af8e3a216261114a1f3ae2a59c217eaf SHA512 e79f808d2fc4cb9d3732e5b9850074dda396e843388c22d305f6dc98ffa05030c08223b5b7bfe7666fb3e51959a81ff673938a0049a8fe47c0d63ec2357d1f28
+DIST thunderbird-115.15.0-ko.xpi 784810 BLAKE2B 349edb1a57558d020c840afd7f1c97985c7f3d73db499df888f8b4bbe5c3526e9f8d888016cc5200b0b05a5ad3a0ca3c5f21112ebe1e2f33ffad63ff7d227a69 SHA512 4b295c31d2d25b0a8660ba8fa2450f5777b4e8281fff7bec7b9acb95c55bbe3bef07fc1634d04b8675177e02cae82a632431bb873197535c4ec24e77e2cbbebe
+DIST thunderbird-115.15.0-lt.xpi 725498 BLAKE2B af4d7b8fdda2ebf20604dbade0595762a3d62969d856c118fec85ace2a78e6599e6076ece85d77fd59f253ab820e7615a1bc39aa990d958908c4d3dc93d98aa2 SHA512 2a846f8cbf2598938af8b07014e30d0d961bbe39d28fafb9f936aaf0a366e0b711faf24d833dede396a85cc8dbe35251c1faabd604699a19fd04dde68cbe4e64
+DIST thunderbird-115.15.0-lv.xpi 646853 BLAKE2B 2adbc3c14e4d7ec694fc60afcaec80f983ad9f023c8aba7df95275e1b01c56c5dfd9784d30f249f3b548477a661555ac531bbf6cf621338f48f47a4f076726ff SHA512 259980f5d19380eda199c9f6a2143a4ae2297462ace0f87bc9eac51016b6646724f0376ab8fdf9027acc619f4053cc8aa4efc59abf5f5480e62b6a3fb3bde677
+DIST thunderbird-115.15.0-ms.xpi 604574 BLAKE2B aa33ebc053162adb395e53ee6c0d24da671afec78019a045cd0f9eac8a705eb0de36fd41ffe979110fda95d9d72d286700452cfe7d60de63b13991d60a3f2886 SHA512 a337100b2e2af801915fdc3d3ae8657d02b3d0b79e628fbdcf765d61836fd16578d3184c0fc86ef54e701810165502e4b2cb3643e91cdc48e53653e053bf2907
+DIST thunderbird-115.15.0-nb-NO.xpi 731332 BLAKE2B 6a4006aee252df55b1650e49479ec2fd20439734b54d6a8d8e9e9d92b0e3527f010a9bf8d9176413b512dd3c596ac707e06cde41c93c73184218346091fc0011 SHA512 132ac5c6b51aa54db8a99bcfac53f26029e1f9366fe70cd3ed92bdb16817dce601c8580f9c4d3ec072d16bee86b7b882674af5da0a1ea721601c45e70710480e
+DIST thunderbird-115.15.0-nl.xpi 772932 BLAKE2B 3835c5f8f1e0e5c83241620f8f5e93991b2a864416f80042396c40f7071542bce055e2cb16a3619384253afb1cbb35a133d906fc34d45bded51950952229fed4 SHA512 e8efa8aad313a8b0b737932de74259193313eb2dca9d43c17006d50c9106025b3f87cb0fbffa54016d0deab1c2122f19e855a19e89935328bab4c365739faa77
+DIST thunderbird-115.15.0-nn-NO.xpi 751328 BLAKE2B 23c0990e0008d669260ff983ad2b0c791b9ffc72666f3fd7a783cf9e3515151b714b39a94956349a24bf5b2fecdd108a830164359cc4b78272e22c56b33c6695 SHA512 6c4b0b49a52fe991cda6999a306f5455f3a0b50304aa5f976d204cbd0ace3f43cf035d7ddbb5573e95ad49a7405fc73d364c05e98fdfe9d3d79fcf4f5c2162ef
+DIST thunderbird-115.15.0-pa-IN.xpi 707741 BLAKE2B 1040a214ea3bd23bc1786b9c2283ce300fc2d1d0f1511a579139fe4fbc3eea252f08a9f1f25b797087b7156ad5a761843e3f65f46e7e1a237c4387846d4facd9 SHA512 b795f4b25f93532af62b533c018800786d6bc2516be74922ed4703309637133bdb44f328682c89a44f58b04b56bb906426114c1a9f3c1ab9aa0f4554057eeeaa
+DIST thunderbird-115.15.0-pl.xpi 793040 BLAKE2B 213e59d3a9086dcb455fcb0768d38bba682b289bc8c253ef6dcd701896506bd80867842ad364ce2b712eb2b740358cf973e8a46f6cc2e2865df448e296099984 SHA512 34b1fcf5337fc9dab9040f0344786d4945c2a2172979456920e7399fbde033218f8122f17991915b04c95e194643e339e7cb0e983aa540093553f21a243b3dc1
+DIST thunderbird-115.15.0-pt-BR.xpi 780411 BLAKE2B 686e3b1c93e30d353a64ebce552b9d6f019e8207b74d3989dc7bd5499ea213db8369cbc17c7d9b5edef4d363ff35e440cf560c818812aff8066d2e65ab273c76 SHA512 b0abc305d52bdd83a445122b3e7a5083ee893450f03359aed7f3ad1369a80f5a28d209a3bd417d42601bc0b8ae91ea8b7755946b47bd59f1a381d3df0e60ba38
+DIST thunderbird-115.15.0-pt-PT.xpi 775799 BLAKE2B 70418fff74d67ae80da5724d5a665dc75f0b1590ee0c58145a8f406decb7bf34c75df981c07d178c57ff8cf253251ee10c753d7c18b389dc3339dec3cd398daf SHA512 179e73c6c30b1d6fa5a2d45bfdcba08906a12a9754ef4c3dc22e0a21d3b055a7ecc1dbee9831b93a04d237e33a6870a8b8a3f640b5c4dc653a67dd5b445a95ac
+DIST thunderbird-115.15.0-rm.xpi 776803 BLAKE2B 7a2e9e81d4f87a5779ac0d9698317d228f019d912c37e6125c94c1ce8ac38b6b3658b3f8625ca36ee44b4593d5e1746ffeb1a0142a1009c367fda5f66e8ddefc SHA512 2139d1c10b42f4a414e616abb5c9d91660cc282f92e70027701ef7daf8959d1e0353631494f580298b07124c902d40b8b6867f99f126f85a82ef0f23e6d6aed4
+DIST thunderbird-115.15.0-ro.xpi 693502 BLAKE2B 4d441b79b5d3afa525a040df641b9dc1116bd137902e36c3bcb09959ee09594b36780806e67343970fa42c5e952b35dc62b5fa8f0621825330feb59f2ff2f53d SHA512 d2ee3bc13614c71d9b16e42cba267ae80336bf978d01ebd6ed9453c2be0d6a0f5adc8fad482e835879cb9d534aa38ab5b80cd59a422a3ea4b7ca39f37443f9c4
+DIST thunderbird-115.15.0-ru.xpi 905766 BLAKE2B 50f214ef41bd3e0e57ac751e1b71244a5cebd67dcff870dea3dddd3e28aec34ba0ea3b9849d92adf68ac3d54d2ab2ee5e0f11dcba9a6ab977f06c6d5cd2a9354 SHA512 140129a13dd4cb81f8cd5643eefa97ceb4674e154774feaeb6679189cc0df0ba9f060aa6a8907454d0459c5d6cee165a59244eb02f50f2a385bb903be9e3594d
+DIST thunderbird-115.15.0-sk.xpi 813473 BLAKE2B 7af3e872a0b6690c8c4d0b36547a2c5f7b362c5f2744cec974050151c6a7fe9a56a46703cd7573573f083d1561faf23e4aac694388f708eb1f3e5a7569a6dc4c SHA512 4a1eab644776f7549764922c59616f96d91bcc29e4ede3c4bd3562a3c10a4b75145923ebee9226bc8849e1b0818fc5d42ac9a9f357abf2b15da1e688a677ee92
+DIST thunderbird-115.15.0-sl.xpi 771130 BLAKE2B d768a1b4906e32b65551bb48fe701c23cd007aae6e49126af1296e276471fe3dddf27b17f4363dbc285068325fed2bc7375e8bd2f4387065551f9d0ee048f8a4 SHA512 ff6f2cd3f2aa92ba975baec8afa1283104be6b80b1f3f2b845abea03a4f66c9b3532342e26b11b79d3a5cb750443e3237df16285d1c1a3f66ed8e7bbe960203c
+DIST thunderbird-115.15.0-sq.xpi 795877 BLAKE2B 9e88bfdb0d87977980ca28a04404e0c3f417428e363e768ac7e48edae93a45bf65ffa7c1ce29ef311f569943b2fdfc51b1aad11e8e2736ec7aa73e1062cef2fa SHA512 10f976e4e27f684b250e000ed867a16488d049580c0d386dcabc4ef69b79ae92a2e245f398d8cdf518c78b44b6d0630247d47c0b241901570eda5e2f754023b9
+DIST thunderbird-115.15.0-sr.xpi 794778 BLAKE2B b66b90e413c840acbb4696f2f9dda861df7d3cdf945eb1a7428b9af7da446bf12de1f082950d6e9361d21462c9bb3841de2ed61111ca18d377a7f76566d8b0b6 SHA512 47f7dff1d25d51d55c067d4eb75e74d67291f555c6bed5e19dcc733cfc6f4558497b1ac3b5b72c36527da43f1475ddf51d0b8e53b235bb3fdbd963f7b6edae10
+DIST thunderbird-115.15.0-sv-SE.xpi 776291 BLAKE2B 09015a65c11e3ab8a8ba9973420d27eada85607d074bc752b98b0be68c70093f70a1bdd8b64e1a6fb68ba5f9611f68027920777f8e55380de5e7ca5e36b54beb SHA512 8a095c742b58736121f4bbb76b69118d0871fbad1c69df51663726e58e07f8781bccf59ce12364e847e2c132809555a997a92a4a77751b2e257cf5bea16a4082
+DIST thunderbird-115.15.0-th.xpi 843556 BLAKE2B b2b860fa51391c7dc0a3d2eac5b49ee72850c177ea776a60af32824f0fdcf310b98db773e46d32fd7a25d73caec36837c09afa5daf615eaa400f3d907588da94 SHA512 ecae3e36c620d9b9481add385f2ca5b7315e5d053e98dddc1be0d3c290c52e1c0527f69427261845e04b7b2b8772e4420daab6507dc577888419e3cffb186383
+DIST thunderbird-115.15.0-tr.xpi 786494 BLAKE2B 619245907e2f1ea6e9fad1950507b1f8036358192fc406900fc1398dceb323d909b9ec8ac13d782f2ca307fa86d75338787e7509bee051a1dc40fb2ee48596c9 SHA512 8b926b9fd9f34d3da683792bd31d9b13178fbf48992889b28b2ffacd729290b33742bf61b7545c5f5688bfc1e40112c71227c29d8951fbe065fa755c9b5356f1
+DIST thunderbird-115.15.0-uk.xpi 889489 BLAKE2B 8026e53271436a08be86590ee532f558c2deb0383b1c6c17537dd6962d0441eae7f63ccf3f8d0bef26982c70dde01a9b5551cd6a3204f8f852f5ccaf9f38fb80 SHA512 eecbe3d98f5d2c42384031a6bd74aca52b281be25a38a990063153447354ba1500864a775f56e9b8b2e0c8164bdf1408cabb36c79b2fc0ab9fed6db2511a80ff
+DIST thunderbird-115.15.0-uz.xpi 616842 BLAKE2B e91646bc269836c830f0515a82ce0edb81ae1574c4367b967531f6b53e133143553cfd94884dabbdcd6973cc1a69a3ce90de5a5f189f7bd05a707a311c97247c SHA512 27ce21fa8bd28b5a2357bf025aa45dc7238f7d965797d7911f567c8c5404d8f4597fea77c4ef2a250bb37cc3eb888578b2589430393e0155d01cc61a9889c035
+DIST thunderbird-115.15.0-vi.xpi 815663 BLAKE2B 7cf6b7a580bedbcdb8d1d6ce969ed6a475db3301e1ed72f50ca0be7672c5932af64cc44346a4011694edfb17c4d2a461604be23140285756061f7a97588a8bb2 SHA512 29502cfa4e379d46603f3aae3dcc4f6f1d3371f69a821dec466f5febee8cd9fb80dc68de65198290d84b2ccb4ca333d85a1e9bcdeb8ccea6a19ca8961a2dc9d6
+DIST thunderbird-115.15.0-zh-CN.xpi 816082 BLAKE2B 6327323e3cb30dbed637dbd82175ba0f1eb68c6b228c735db585a8050358739bffcc2ed3d0f86b84a0f5dfed16cab9d4b4bd1882459903fc5741dc2ea63c5a31 SHA512 9861cac106263f3928a0cfc70f4760f35053a8dd4c207ed788922328fff5d297ddc9c81768d461fd04b0b3266ce1150022eb73405c3fa5876f9c479fc7655b10
+DIST thunderbird-115.15.0-zh-TW.xpi 819843 BLAKE2B 1f5854be3f2cdd4f680b0d649d6ee144f0d2ffc0cfaff094ad2f569a7c3a3245c8c460309b352de87e884e484486d9c3b84cbe56b07408706580528b9f65402f SHA512 3e7fffbdbe5b4435a29a420496e341a9b9d04568cfb46e0f73a8bbff4640d85266d105ca39789261db80e44834e7813a62723f5f3d190fbe585c293cfe03f39d
+DIST thunderbird-115.15.0.source.tar.xz 534455612 BLAKE2B b77bb2a6c1334fba8638b299c91ab71e7753819538aee005afaf4554db8a91838daf88a670f6b108d7a33dee1a0fe57b9d0c9aca724a471801e858043a5d3b45 SHA512 b161b99e09b6d1ba833f77264e35034ad199438b4fc88d244a6b68c84693fa2e90fbab60dafb827a2e23b37c484f9843a58751d93826ba7cdd0391114d253de2
DIST thunderbird-128.1.0-af.xpi 530022 BLAKE2B 741b3613ff2d6478d241bc4a2498827f4ab3915ef8378ac60a360aedb90b761ce14142ea3e2126d56275c97d47744325d8b2085b40dcb174bb320d791b7c1b22 SHA512 80cf8a2a84d4334100af3c010497a3b3f6a1ecee0646193f1534dad84de96c6aa331a18172ecc4da7428b4c4881d0a46169ce8893b90845e680bb9eb5fd0e476
DIST thunderbird-128.1.0-ar.xpi 679531 BLAKE2B 545379463b938a57ba4de7f08f3df356e0e7b74621542d74fc40a2da84d127fe00785561f7fec446a434bc29ec3ecb04965cde58eba684f52bc3d4f189f34139 SHA512 89bbb69670c0db83053c7bdbc6ef8590c01805b487f8cb40d5139e2973aacce9e8277d20a779ba372dd29453f7717bd7cc27640873d56961b9d3321d1ad7970c
DIST thunderbird-128.1.0-ast.xpi 560727 BLAKE2B 75de626cbe945a7e1d86aa1a5ba7ede2009f9c437ce46d605b159a6e84e84d600215f537c94e28e825b82ae237d55fbe3afa1e60316859a4ee55e572adbf69d6 SHA512 db71edb6381fafb026dd28dc48ee3e9ace6f714bc1063ac75a283bf42b545e61547ce8f52f6427d656a3533b6d250122ae3ae21e856f96a61fa1539d0fc3d0b8
@@ -202,7 +268,74 @@ DIST thunderbird-128.1.1-vi.xpi 784776 BLAKE2B addae70dfb4fcbeb4ee55d179c5be4617
DIST thunderbird-128.1.1-zh-CN.xpi 784197 BLAKE2B 8e4074448545cb54373406d0ce0295a68e6fdfababf38e95a4a473407cd824e189d62b27105156dc2f923beb6a9c2f2348d83802ce550dcb4d0a3c36d90d71ac SHA512 b42683ec3970afa764f491ac1f47cd7ccc117646a2f377088902f0c1f46b7bc2719d318f86cddc483268dcc65a59c87a1b1ac6dc627dd58ec9fc1254d1d73794
DIST thunderbird-128.1.1-zh-TW.xpi 787600 BLAKE2B 9a56823925b2f0a5bff9c2c098d45d04242ac2a3d33603deaba17d346c6756b624f352d0a10fc6206a2f80c008fd822d9002c860ec89dbabcc9b398c7c4a0f3f SHA512 997c503a8dbe3e8cd2d331de6633eb205a9d21a886284360793e481bbcbfcb2a60e0451a64aa78d536034376aee6dea660cc14f8c8bdf8255acfdd9733631276
DIST thunderbird-128.1.1esr.source.tar.xz 667771968 BLAKE2B 61cad10d9ec40d854ae7521b7cfd3075a9994d15a88af9171fec0ce228d08c7c75d41108f89a4bc8b5356322776cf25289e74f8b2b601bcfbe29b5b494bb11fa SHA512 91e17d63383b05a7565838c61eda3b642f1bb3b4c43ae78a8810dd6d9ba2e5f10939be17598dd5e87bdf28d6f70ff9e154e54218aaf161bd89a5a6d30b504427
+DIST thunderbird-128.2.0-af.xpi 530351 BLAKE2B f4b04315d8618d6bd5709eb0c4cb96c361a1e2a93b2556ed9bb3c06a7b5c938667d170ffb26ff573c906e019be0602bcf6aa692184d2af713c78106392718d00 SHA512 4553dd36a166eded64956870e200fa598111fb970780a2b97f56319a465bb357b81e726f05bbf98cd5c09954e7a19e879b1de3a405bc0445de91ca2b7c44f707
+DIST thunderbird-128.2.0-ar.xpi 679867 BLAKE2B 5b306c106986de11dd40335a5ff30611de6d787d8d4f235ed40efb03f13690aa3685be6c6219f23812ab61d4c6a197bfee464111cb020e0d3e6ed420f613e1a1 SHA512 688e9fd15d629ab219a9234241bbc731cec59746bab60d1c2201046a58968c0afc2c7ac058501e5f206358b2e76af91ce926974bcbc82b6ca168d09a09ff4563
+DIST thunderbird-128.2.0-ast.xpi 561055 BLAKE2B 7e985f8fdf59dbc14168467b36a469fcc5eddacd7d049174713f1fe19bb5441320ca84171489a71ae3fea2f9e6267a98f2496e00df6f08b53eea9b17fc026a07 SHA512 edf8813fb11d6a7afd18b3d2253a41d1c4e450028dea2af61233e1602d98c65304038fabc0047c64aec91f65eb943b11b5b30662e4f3a44d21e04c74a4c50f14
+DIST thunderbird-128.2.0-be.xpi 755105 BLAKE2B 3fec208e7f3b0817e3a8e8822abdcea3cee6787b8bf565f9f2b89e80637828a2acfabca1ff6e9f64fbf2f4d1d73c623bec56071cc35d4296c8eb4789030602cf SHA512 4a208b9dff9389557f003f4637171b1e58eede69f2c875a5e9fedd488c3b80e84a7fe989d1e67c0b79e18e93df74ef04aa54d613cd1d01c8394a8d8f51531f82
+DIST thunderbird-128.2.0-bg.xpi 807860 BLAKE2B 7aa592981e26c26ef9ece53278f3ba9d0752e9581af9e5958219350187ba252bcf0279cb2b546b9c1dbe400d043128827b74b5dfdf9164cc647d893f72dca979 SHA512 99442d6032ee1a2824a0186a22b29748b1b69b7c59a616438ebc6ddce732437ef8b42e9de7b6034bd3f8c763aa725ff699ec6c608199e6cfcb2e79115b745748
+DIST thunderbird-128.2.0-br.xpi 652477 BLAKE2B 3cf8b378b67c62942a46cb685de9166d6ba8b8e3daae29859e871011e9d9f4558c2f5ab2010feefb85a534a63fcb7eae6d28749a551cc31fdca01a9b8255a2ea SHA512 1d6408eb0688fde1ffa1de6e791380f5e3fc222a5ca1a971a6e9e0a9444de82a3184824f1e95cee71a97a784557d59473e408efee6e33cc07f5f249ad6039475
+DIST thunderbird-128.2.0-ca.xpi 708967 BLAKE2B 76177b2b3e1ed5a9f7227364da6297f00e30ea5ff09ad93bd053e72593217c31b68b8e877e4e878cc50618e5e2179a984350c27b1e4be5ee2ace7a588197e5c2 SHA512 1c99399e388c47516a22d879cc23b14578c28364f0e957d82a7b92e75ee66922f748790a6522e0fa02073a820dcf0c190e9fb2b9a2087ad65499af1f6caae61d
+DIST thunderbird-128.2.0-cak.xpi 671704 BLAKE2B da438c852c579e6b02cafbc1b09b7d58e3cc76fb235fe157c19f3c044c2b2633ba77594059ba127252c3b362549431ffc293c88556a026ba8dbade3738d5515b SHA512 c138049b26928ea03d9554f99a6fa42a641f1bd840e50f16bbf164f15e7a46696651f63fd170ad374ea9931cc61c903606e423a087c1f5fb82fe3b17387c90cd
+DIST thunderbird-128.2.0-cs.xpi 785045 BLAKE2B 98ff73560bd028c0c1b8fc8b7e64fb9eb3af3966b55ad9b97310541308ea76eba7de9eea5de76f9e2fd459c66beaa6741a50303a16cf981f2892c329b388d74b SHA512 2f289d2d43305b091787dbddd62d4c288e031608e4d3a8e73f99fabad1ee694c50d90d4c6c2fd7e14f5d6cbf6ea343cf794b98133744f7d2268c513d4e31aa31
+DIST thunderbird-128.2.0-cy.xpi 749051 BLAKE2B fb7d2c860c49878632e8dc71d1ecedb02e5c3ed2de7a342e2a7824d30384537ef9c44a1b47a28d7ecdf7c7c582f665ba24429168b421953fd1d3b4e2070fab60 SHA512 6a8264a6ef7e8646dce804a1e8a9c5d789c1fb16c0237b799c0c4752037d7d9e7695bc63f73c56e63388e4b9f05561e14e434f5e3d6538debe05051630da0cc7
+DIST thunderbird-128.2.0-da.xpi 734115 BLAKE2B 95b06adf1ac0aad11ea642c4f0cd323766bed54c9ed691d2520686a59d1b1cf823e4c3c7a3f603f15be7872b41c637e655923026829b18e1ef118be0f021c99a SHA512 c7342d1d4681106a01ecae25cfb1ee485172c9e7e36d10d0e227e24a1a5d4547f69f2f384c87839fcea1dbdb935f97e504d29e9cb0a39cfc6088282d3149c4ec
+DIST thunderbird-128.2.0-de.xpi 766251 BLAKE2B a1ebb1c4a90afd192e93e7187036ca9d77f4e76d28c3f5820115c99884f01da3a6ace89554767ea2f736ed46ceaf93a2b99d60296fa48a43ad00b7aef03167b4 SHA512 df8f8a6d95c2d698427985daf5b6c5922a4201d5314005adf9d66aece66642901a0fc6dd01e4c34ba54ee7c196897f91c7beae69c7c09a2f040ff4f5bb03741d
+DIST thunderbird-128.2.0-dsb.xpi 782743 BLAKE2B d2f4209c6da0d6ac196958cb230eb70859548c3867a0a955df8edfb09822e0dddcfed100530da19f6d09fcf389177cbb6713aaabdf7d36a18382388adbfb2ffa SHA512 08fe7553f916fe0f8057a206cd4f1327e7bb6293ca6254433c08a1113a5f7ba83d26bdc6e16915e61bcff9c31ea4b8ed7d7bceb204f1e9cf8815c930aeeca302
+DIST thunderbird-128.2.0-el.xpi 889269 BLAKE2B 64a9552d9147e5eef0e3b8d711053d89e7e9ed64820f9ddbf160f0e84fac09452bdb9fb4f0796e4d265f5e41f451e93ecc65f71da8ec9cdfd8f506f7400eeefe SHA512 cd50a58fab6fdb5f2ddb062526547981b44d1193463033d9ee5be7c54f1834adb2a5410da7236678d447442d470f2fb32b389e40fc0961b0d053b8f008ad7914
+DIST thunderbird-128.2.0-en-CA.xpi 702143 BLAKE2B d28f797da6751302bd103ad4025e7e05e7f1746b7c2ef9bc36d5dab24a0e4248e3bd3e7aec345649379669e8d985eac709dcd2993758638a72011352c7302b1f SHA512 192b530c7e5035ebe8b1d1f2d870ea0ae7586aea179b7b6a5410522a675bf79ce786a7187040a14f2af3225401c520aa30511eedb7c60876137e4246c1896b0a
+DIST thunderbird-128.2.0-en-GB.xpi 702700 BLAKE2B dca31bdcc8b9b1da3c4708800276b868d9b5206f55a52952564e98f52920f53c41850ba09553c51b55da9fff092c66e93491cc165c16f7c881c347f180ada6a5 SHA512 026ba038c4bfb2abd3f26c31ee826eed0d17d00d4ed1e58f25da2e6d6f297ad4e90c1e12d1b8e4e2b908b171ce0cbb4a1057354fc5cee66073c90311c7f54ae6
+DIST thunderbird-128.2.0-es-AR.xpi 758350 BLAKE2B 64721c4eaeb8d7301bdbad809c7235b14b9d0f726fae6caa8acf61596bb9f150ff6feb8ad44a5d5792bceef40476690027f2e461ab12006e9c1abe8b2585e84d SHA512 7552962ef95cfca777c57f4b8109b6ceb0de35387878d140ec4dbcfca556a3d640a0f0049177448d32cce48c17705caa112ceb6409e87c278acbed4f4d3a20f5
+DIST thunderbird-128.2.0-es-ES.xpi 723514 BLAKE2B 3bbbc917ab62b65f315a77bd2c950e9c4aad0b448982a967000e3a754d7725c849ca38430ceaaad235816daf82b0ea2fabd666f9744ba05f57b14f90a856a5ff SHA512 bb5fb42d34b405058c97e7e329a64c9892bdbfe530748167dec283eb34086cd2be772f54e2d56714eda85939fd54faba7f14677c66817d6573faff541d4f561a
+DIST thunderbird-128.2.0-es-MX.xpi 737707 BLAKE2B 7260c4ae37fde04ebc0f23449192c8f329b007c9cb7b0e826cd7189dbd4ab966beb23599e4d106b4551c4a1f19b105ee6080a8f40b502d8ecde5f83e1efa6a75 SHA512 f38efcd62b3cdb38afcedc43fd228f77ad59caa859bb8481a6f4aea41aeca276134047700c312da3984ea40311a31afe4cb22f69eb105b2ef16eb8f017ec6e7e
+DIST thunderbird-128.2.0-et.xpi 696280 BLAKE2B bab80a3332acb3b5487068069728604d72235c9a0aeb9c793a4d8b6c61f6e7af29462b54d6a9bfe6d445e4cc454559f1fb4aee50830d57cf7f6b6eedab6e4362 SHA512 e34b4c6c5037401c4d6acb9d64b5984d18ae03c905360f2ae9504dea79afa4e0e9e9d2b93cd1cec843f0eb56945f9fc5070136eff9e4309163ebc4e88de376ac
+DIST thunderbird-128.2.0-eu.xpi 726802 BLAKE2B 53b6e2830d8d5e95cd741522ea4d115509ebe4eb150606f4f997aae65b0f17b228c51633dc22df9360f8562801b6437df18f355bde3c21e6a3ee9df9b73a3940 SHA512 ebfce61496f2c7c202961be85e4da5aa488b1a91021bf911891cff40c32a3abf0bcc665e6c4d0c07d0778eccd0d61df5fd52163f00ab3b914637f705fcb44a65
+DIST thunderbird-128.2.0-fi.xpi 733651 BLAKE2B c7a50566eac18ca86f88b8a743679fd03c0b11a9c55ac4a7fa9c6aead7f7a54eaae89c4c8752a683dbeb58cd8037fa2d41cf7838a86314933c2297a70ee0c49b SHA512 e1ecfdba4e0732a61c61bb931fac430f09642d7641e3cb3da4ec680ca1553a613a49937613a70a520aed158ffdf7f64ca9359c888e11563ab2941101361c29a4
+DIST thunderbird-128.2.0-fr.xpi 770186 BLAKE2B 0eb14cb05d3411a583d48732d6f65dce30fbfed37640707a85e66cce770fa0786e66e02f0e96e2009467ecaa40ba532913a0c8a7615999565142560acd9951ea SHA512 163daaaa076f00ee23ab0271249fa7a9c175b6a411f8d3309751e41f02c1f405531b0bb2ae0a29fdad6049ef9c4c8d71bbe479f084e7c98b56bf3be3ab3bda2d
+DIST thunderbird-128.2.0-fy-NL.xpi 752848 BLAKE2B ddb1920d1082090be895c41025b1313a824fd12c3ef819f4f0ef82ab693d871c210d0be4fb77831872a49b43fb57fbb0b4a6803717b00ea155e50b3ffe396a80 SHA512 cc336b67d0be16c82b4b3fac0bb5fe16f2c6f6fa711c5c0701970a37d75fc4c7869b329183471decd051566bdbedbacb360e49a283c1c116adf881de717745ce
+DIST thunderbird-128.2.0-ga-IE.xpi 615198 BLAKE2B 3b89495c04e27b9bd4a185ab79d5f8f41a07409b0b77119f350c91ee512cde9fd99a97aa1eca0b9b8838e29b950ac093a9845f9da2e63bb1c1a84e06bf5cf614 SHA512 09e0f9f0a23c2c52e399d9999873d92893a49c829619861b4f0f72d0dad12b638403626519097e6bd059166752d100c9bda9a4f8a4f47a21478646daf66dc610
+DIST thunderbird-128.2.0-gd.xpi 727804 BLAKE2B 8f75354d217d9d84c091ba029460332827f1de97e588c6613a33bc857da573f24d2a4ef66906c66ff5faf5b54a0c89179b96d668afd51dfe5148cee89a7f2bde SHA512 4b9b3da0cdba5df1a505cd730073d2e8887d4099fdfe7fd5a0f914db2f4e73fab2da47286a84f2eea0bdbbcfd5585f425928b29e7d09f1f050eaf9d3480c036d
+DIST thunderbird-128.2.0-gl.xpi 736573 BLAKE2B 3dd448d20d76383a5219db7d1e7ab5e21c793515943bb70bb1635862632cd7351c78268a687f8fa2d25ab2c7138118487f16243ab47e89dc33c921924560e285 SHA512 8975e87497557b9b427ff002d2fd156d2ef4e4b0036836af993f1a7b9c73c632c05d424bdc4e6359f6045bbea725ab3dee993e978b020f0480a1acd96395b2ce
+DIST thunderbird-128.2.0-he.xpi 700301 BLAKE2B aa7c9b89a6453aacc09c50d653148ed21ac53f29f88d24dbeef015bd60ac7aa1b3d7d33858c275b16ffb41cb54e4c2f41f09a9525ee6b19b98a9a993cc21a8e8 SHA512 3dd3929b600aab5d1a5c9f489fa326b48eb4de1740579e0d948d8b72aa2fb50e73bf337014be7d892c23cd1b2ab36a13d52da9b10dc4e5a220dff06dcf16afc9
+DIST thunderbird-128.2.0-hr.xpi 715018 BLAKE2B 1a40b987f16a5067a0d26a70a12b8c380248ab7cffb3053cb9991453e35fd9ebaf5167a0870bc6ccb6642a5dd6605860680fe596986bdbd599d80121d4156141 SHA512 b02f671ce57339f85098afb41e27b09a516cd903906bd34dfbe199525fecd73cd0bca978464fddef302f38ccab1bc14d862840677e7fbdb1ba9fd20ea754280d
+DIST thunderbird-128.2.0-hsb.xpi 780137 BLAKE2B 6d4610d5f13f7d211732b797ac79c105e2785a58873c49b7fdf948706eca001fef8523e1460f2485f79ac6876973297ebc02dabce837ac4f1c5413adc2d6849c SHA512 746dcb7d355c429fd4c6b633885a86eeb37e300a738c5bcbda4ca91ac0f6ededcf915e9d6a5de54bf7b3c2e463cd86d2cdb7ec2342173ed1836ab19f1137a880
+DIST thunderbird-128.2.0-hu.xpi 782933 BLAKE2B e88c56b89ae79d46865281ca8472ebd6862ba5fc81364ac538a2aa2efc99079e849cfb9fc5645080646ae0eafae4a80dc8d2e46ee99ba115d4bda654d4a8c894 SHA512 028839eca290eb7b02c83bb1bb40ec0f35dcae7d446c06f0366ab7cc17c1bdb0adc0bd72a5a71b6b67a4deb607befd2c5de0372c695d3a1ced5407f8c853fae6
+DIST thunderbird-128.2.0-id.xpi 666011 BLAKE2B 2b73fb3f7621e618e46479d657f8d20ad1fba7cbd4a8c5e0363c2b1ef021fbb03c934c5f11ad20ba4fa86413b93677add503077aafa42087e9fd78339886313d SHA512 16871831e5b92d8721d52c72afc0af6df0a7048e58e6f59bff8ad09b6aee00c0090c465d00f9501ce0f53d3b10b905bfaa1571d3d3e9006385bd22cd1abc0af8
+DIST thunderbird-128.2.0-is.xpi 743886 BLAKE2B eecdf7c8a9eadba2944ecae09df3b12872c83e8dbcee9ad481106ce4716ae8db915e61437215311957c9b43dc45676f5a5d163311452e6a8aed3020d0dd056a8 SHA512 17d1bf8d5ca0aedb25bad3e61f4bfb098830a87d95ace1dd2d90fadc030e7bf668c7cceea170ea7d13d7cb80c6e3e36b6749cdf52b970150dc5ea6b9ae1a6bbe
+DIST thunderbird-128.2.0-it.xpi 690396 BLAKE2B cea4e519cf4fa3e326dac57f6e684da5d311e5312beb687b847965833e5acb28ce59b41c97d198863654d2cf49e494951306425385a33cbe27061c09694f030b SHA512 8f473a1b0ffd9feec15e415f0c34ba69609e8a8ab271f3b36dacd4866f02affeeb73e4bb975db2375ce051f59969e54fe577591e9f6810e4a5440c659f4c9431
+DIST thunderbird-128.2.0-ja.xpi 819902 BLAKE2B 3911492febf78bde263ab00d5410a5991ae8c67f0cea5443565e1552bd2cfa5a48e43d73c6fe83b94b222ff2d391afa4efe01c13ce6e7d6ea28f6095ae00847b SHA512 b09cb2fb7b904d2048f1c37e4dfb74b9adf4b0b21023c55551ae51121acea85198a594701396e0d9058c267b83e8c1f2e6fc5b31f8fca8b001ed23f4cb5883e9
+DIST thunderbird-128.2.0-ka.xpi 796047 BLAKE2B 69465d477abfde17660b651dae0ba9fe05cd4b6fcc119a03f1dd3b905bdef1692bb15dc66e6f0d9a7be426a9ad1319040991e2b9afaca9fbdeceafb50ad3f5c4 SHA512 b02d01ef4f9b75a2d103ad499120cd0f9d01ae2b74d8a922463c2c2d42ddc6dfe73dc7ecf51d7c8f5be235107bb1f8c7b484d747e39bd576165eafab2a0edfbb
+DIST thunderbird-128.2.0-kab.xpi 731859 BLAKE2B d1b0799ba696785afec55f4b96eab8ff1641a43066638d475467ef997a49e584a31a53ec726e46e1bb59b3f97b164dd0c785a25db89f13a646ba7b69e297def0 SHA512 777dd7242a23724a4ce559164c0ee20243fa137e99a7a9c31b1e99587606dcd66fe7d39a89a799ca294b9abdb537da5ede605eaca85b19a35f0cab99b7a11a5f
+DIST thunderbird-128.2.0-kk.xpi 857290 BLAKE2B 39bbbc3e03fe9ce194cfe23cb1e65cb2e443b8c81d091bcb117daac219c76075ce2ddb6e8f3bb31eb9040bd7092bf84d0f532c3ad2293b1b298858d1cf9bb498 SHA512 8c9a2e6597246a166e0e5a51ec6309035788925e41a115e8e6b489fe1f6e6d528cf4ef535a010d83260a0f0aac375589e4bbdf711fa9b38b15980cb4db43d73e
+DIST thunderbird-128.2.0-ko.xpi 755165 BLAKE2B 255e9a16f49e607314d365f313249343dbcf8f170abe2e93d3862be51746ffba7aba0f3611992c4458f0d1aa3f2f2000babfd7b09ae4cec828fdca661b308d14 SHA512 1fe409f22f094f9c5b2cc70561650ad4563836ab8a3c5cce846376f53572838a93cca38810e75f2b6d19bc44b156e9341f2ae05b5832ef7844b703ce922b3416
+DIST thunderbird-128.2.0-lt.xpi 700918 BLAKE2B 622bbefcb2572593977459e9325fe25c979d00c7cfc08d04ec17734148a99f1a21535b00d90ccee31e87ca2f6a4260a241b6527ce1781586ab1c3f01ee4096ef SHA512 42539e633382f62b7fc4adf26a87b0842071077f7e6c6262b78f9174b969dc16ec79640cd7990c0bf6761c14f848792f32c9140248d734d97178566417069691
+DIST thunderbird-128.2.0-lv.xpi 623624 BLAKE2B c1f55d36b94e2b564a4f2c88c8726d85772a4853bb9b54777bd6892566747e1076cbc985268c3b4bbd161d8f853e0df07360765b513e5fc4ed2da3da211c0b3d SHA512 beea131a1297ac199c3b3ede8f8e09a576d70a6caca85b6073bc9d4bc6fa08186dc41936a5ea773957ee2fc395c618469acbf8bc41f5c30a193f19aeb9edc7b5
+DIST thunderbird-128.2.0-ms.xpi 581084 BLAKE2B f37963924f629b13445ed30156b5bb53282788e8d9f0a995eea822954661fb4ec729dfef397ddbf0cf439f06a6b8c0ac8ee9bcc1392662f0dddd0d4c5c30569b SHA512 d3229b79de9b89f4d668e520f80376ab1a88fc7f160c0d5c105ce4b1ce4fb6293d55368eac7d85a2bee929403386c4ccb143be7656d325ad0ec5e0759885de2c
+DIST thunderbird-128.2.0-nb-NO.xpi 703763 BLAKE2B 6f9bf5ea39c7350a1f3c1c7a7e5d3fb8417da27cf2c9bb0bdc36c8a777c0292346c662361fa4c4fc77d27f76d545921f40630b73d7bd730d5ace3b90768772f4 SHA512 580a7d4ccda3fa278647e6c1354cb9e70737ab6ca4fdf1ea2f335808f46369ca8908a77511dc0ca48c99beb45824afd708c9abb8617c8ff842c7547f2cf62f1a
+DIST thunderbird-128.2.0-nl.xpi 744105 BLAKE2B 20a89e15ae7e3539d5a28f38c58d0c7611d101c95600731abcdb248e2e5a59272302a9a0fafad924d4d96150f68bfbd872d47da5293ab8d27f236790e0ba01aa SHA512 9934e0042db3801c2fad3a2754d19f640354128dd376fc1db835b253c48cc83639be08de0162533e47db48d7869e689767cacad6ebaf136e22b831af587f6cb0
+DIST thunderbird-128.2.0-nn-NO.xpi 723768 BLAKE2B b1b6fafe6ffccc66f30665fc40c699daeb1c74c482573d1d2ceec565095b72f9eb40857954ab0cbd8de74022fed9f57275e22b5aa5f1169f6f4831b23543c781 SHA512 8f225825aef220b637fddab316e49d9a05535b19a83e224d6f7fbc88b56d100e8659e9c51658d2d6d082ce02b5db4ca4a4cfa94c3039a22d68df5c942ad28fc2
+DIST thunderbird-128.2.0-pa-IN.xpi 683076 BLAKE2B 1e05f44edd29210a4179a0b6fb00ba8095a7d7ff7d50855f1b8d84c0deccd8149eceb8ec4813f15bcf73edc056c74a7c911fc4395352f1b0143721f3b9f1f67d SHA512 1301414761d65b83d01b2605a70355b522bf66a2b9a01f7cebae46f8ba1aaf131d98b2989e2e740de2f11cb69067192db2156c286056ddec50bb42475a98641f
+DIST thunderbird-128.2.0-pl.xpi 762953 BLAKE2B 431add2fd6a53522452e0d1ea78a855fb3e562bb83c8e68797dfe2534b07fbb99505755ff7263574fe5e945d5cb57a281d1a3adf960b1c1022bca7df7c7aeca4 SHA512 582a2a94f3a472a930561d0a2d297d30d0444673b3d188e6cb3c49999c99a90783dd9671329db625a619ed349b016ab0a1638ace68be065fe2785829d90fff0e
+DIST thunderbird-128.2.0-pt-BR.xpi 751314 BLAKE2B be58c6d7445ce7fcc4a8f1744861342b749dfd09c0729f0df6416dd2354f903315be0f24acacef461c0a658301077c9aac0b3f2696f6c8c274cd80aa84b49b7a SHA512 fbda48a6f95cca8f7d02cebda30d2a129b113d4dceda4ea3a4fb1bdec837f61c91e39baf1a3677e0fd16cad49a07a59d8db9ff44d810bddd6af00b7a9981c048
+DIST thunderbird-128.2.0-pt-PT.xpi 746871 BLAKE2B 2e798c17d91e7b178d827bfdb56714e5dad560880765248f6d122806a1f4ab1878e488727570c243dc5d28a4aa8a7ffec30e99c6592f1d7bc8e2beb7a0a185a9 SHA512 3c48f173e48e67a66668af76008da90092fc02c77ec8625fba28218fc693931ff8658adc5913e318900b02ae04131cba1201ba68c7536a1cf8470d38bcc8eeaa
+DIST thunderbird-128.2.0-rm.xpi 746778 BLAKE2B a7936361d462a4411c571ffd381f4f8be95868de1fa8f09b6c39e4d78af0a910aebe9fe79f890c09d1f1e9a395c1c7e77de2c76c4d2c3ffa0bbf544304fce875 SHA512 c80e6909801c63c0db8e7423248e74bf634bb6efe14ba8e04ec69f9d1e95a1b8a4f37b44144e3889c3daba6ba2871542093259ffa62dc6e981c05a25bbbe154f
+DIST thunderbird-128.2.0-ro.xpi 669742 BLAKE2B edc839c54e190a7141f703dfd67999c48788ca56a364042f9181e283cafff20e2acb1fef5deb7e3fa0a5760403c1580ebfdcf6476ebe886c585706fc4d0babfe SHA512 dbc3f1a5b827d249ea7899ea67ceff9055eaeb7fb94c268d26829a056b7e377eea20ac64e685133ffa0418fec3b5114fdac53cb4f21de3006ee0994955f473da
+DIST thunderbird-128.2.0-ru.xpi 872246 BLAKE2B a05fa2c35876340956c853008bb9d42c9cf73f4f9fb49f289d55e9eaa5a68afa85f561736da5093ce9f3da33a0b48856840da36873d2dc060dfe22d0d181a713 SHA512 8fb14d376d25fc7690eb9d7cac23e12935d39809d481bd37038cf5993996e8da9af91369521e736f09e13891dbe2b6ff87538222500feda2166b73798ac5cc0e
+DIST thunderbird-128.2.0-sk.xpi 784171 BLAKE2B 19c2bc75d192c4bb5a9e3b76fc69b7a78452256f3fcf460ab0efd02d63a78de18a69e55f94431f24d0cfb6ac5f41ef9882e6e5b84317bd05116681b0db058901 SHA512 935bc5c8c88c159c1a7179aab69dd1d3ea6507067a9341760ee6e8e3a6fe0a25d8b439d92072b031cf8a675bb47bd7b4d56c26da6a5ab738402247ee4941c497
+DIST thunderbird-128.2.0-sl.xpi 743551 BLAKE2B 945d820ff6ac2f8a3cdc284e82ae93a9f67a6f2e645ecea7fbec070caef934d5d370c2d74dc0d8807dcadbf080a34c439889afe746200a32c3f8642d15efc573 SHA512 fa96809c273f08e93ee833eb64b923eb50c25a216ef69550dbdf7900d801dbe8baa4b87c00f1d08b0f805a7ba638174f03a5bd74db64e8eb7cb5bedab089d2bc
+DIST thunderbird-128.2.0-sq.xpi 765887 BLAKE2B 768d4675b03246cf929a62ea94d9ab1118952bf7276bdfbd4e8445093f018d52b517257fbb2406f15885e29d2a2a40d971741491e64710452428c71e8d3169ae SHA512 5a0ff4c52e61dbbbf87a3b012a3031f23a993d9287bda6cb9428e1de36bd0ccf93f0e1e7691fb234e696ac69587d99eff214699c7f0019ae261242b80b0662f7
+DIST thunderbird-128.2.0-sr.xpi 771006 BLAKE2B 2163ba03ca321921386fa2f3aaeaeb0c55fe89c630495e8272b64d06c6ad1e28ea3940d13ed98285fe0c25bf35b9a725ad8a3f83ed0819163a901d22d02c1fe2 SHA512 c29b762cbcc86b7cf732207a86fb04f548d7e2de8051381a99590e02f49a310fa647af08455172f44f74c095ced5ec301133f82c2d3151534da8903d6c73f6bb
+DIST thunderbird-128.2.0-sv-SE.xpi 747521 BLAKE2B bab34c471bf2fa3cf15e568ad838c97bdb7e513f4b090c4596e677075bd68103f4f9045551b99cad35ee30c77d7791727b7fd42fa7aaa292511559a4af3d412e SHA512 aead8781d882e5afb0a3751ebb37dc06e510b028e03f8653d197c7cb6070f958e023d8a59e3855bfcf87be4cfaa3901e53f76ae7413c84800f4991ca196790f5
+DIST thunderbird-128.2.0-th.xpi 813955 BLAKE2B 6e6d87168c2eccd1879f28bcd20e75ee74e77334857c6537825ede0b67d00a6ceb29bcc69393231345e7949e19341f2b06567ac69ffaa241b9cf73a28693efea SHA512 ac7714861e3384d0811eb6becd95d5da87bac4de8df2f78aa103972918259cf3e0947cbfa47eb355463aab3aa4be5abe80e127a61bf880994e192d635440636c
+DIST thunderbird-128.2.0-tr.xpi 758166 BLAKE2B 7558c91ab4be059287a140e857580dbf88817b49f1cc28b16dbe7ed1c1f511356591cbe9657dda96b406462a0c8c15c5c214c9c29c1723c6baa03150401062e8 SHA512 ebd44f3cf3c257fec075c7697246337bfc1fd6f0866947457f975a62e2d57299e77b4e31b72b8340dffb494c1cbd804e773fc0f462d0ec7ee58573ceea027703
+DIST thunderbird-128.2.0-uk.xpi 856056 BLAKE2B 3f3733a75f8a85abedc80936c9b1f89c4b3342e4d0337cc3da241ae392807929fa2dbcb9144a882e80167feec357b143f6abf707ee0b581d1cf68f6acb5d5d59 SHA512 c9c88a315305f76172c7df4dabff7cdb399e2eeb661cfb3b14bf489ca3ec004dc61dd70752436c9b318afa23b3984e697344b1cb1fcaeb7cb0fc92e11fa9de27
+DIST thunderbird-128.2.0-uz.xpi 592134 BLAKE2B 392ceee3e9c43ed96190a7d320593796a7d87dcfdd61cac45a2438bc5c390365d3533029e1b5c35a3bb39bac179c51f1b35d70a52d067a4502da540efc2956ea SHA512 00959d85d4cf38e203bd27dc1506ea4e4b326fdd3fee6973282180c0c04fcd1a3ff41e196f78c924fb7a666cf644f335523072e19a5a2790d642d1c97839e6e9
+DIST thunderbird-128.2.0-vi.xpi 787029 BLAKE2B 8905a673b71236891630a9dfac65575e5cc30a4db1951de756dfcfb4a4b10b41fa3bab7a7da01b1502fc1b795aeea1b92eedc7b1abaaf6049d1bc483c52141a3 SHA512 d854fb027d13d24fa4f4783880f76531c2a08bbab5cab5bc041e42ac36954923b797024d99d7c36c032565d5155d6c2d147743cc425ebd8ac2bcfc2179110899
+DIST thunderbird-128.2.0-zh-CN.xpi 785328 BLAKE2B a5cad2e891779711ab6be31929d96647c95b93bb50e6ec31f8a4b4f87eb2881f9ed20bf5818f4475aaaa301ed4a25a6a5350fdca9ce3d532747ff9a74593b535 SHA512 647dfe19d2866e1455d9c21ff0576f7a6ee5a780f5d07ca11cc02bade2a50cf42f21270d573f74258feba2a9adbede415fa4ae4a71e87f77a133e8931c259b47
+DIST thunderbird-128.2.0-zh-TW.xpi 789781 BLAKE2B 2f584744f1ec20465b5e39d8cb966543a1d549fbfb133392aa6bea100f3657df9b29c01d4f07b3bdc4d531a370f7da8d0b85605a680d36919eaf2e4091b4aef6 SHA512 162d5a7ef2e84e55424a6fcb14d18999d0b4c781045180a30394d7f767507dc6b1b084b2d4f3bed63b11d605560bf1fd59fbed7ed0d1e0dce6e47511ed7e6a8e
+DIST thunderbird-128.2.0esr.source.tar.xz 674856032 BLAKE2B d86751b94bc6b611fa2ac740e79e57f4321d048e9bfb48f4237021ba2282036b79c449c08837b8b4c19e884cfb900493af4a8f6e221c56a4849241cd32d66de0 SHA512 24af7d705c13a0b49b0f9fa66a4d17ce4e95b65cc60f84f56364dc8fb480fb61b80166872e234a3c1cb843624874757407b2d9f0c5af82ddf2bf86de82571077
EBUILD thunderbird-115.14.0.ebuild 39759 BLAKE2B 2da23464f236749409d2809acf66d836379e9fbf393039c144c4223d942095b1235d0450a57cde3ea4b2e0867d285f5af336b9da95a299c9eecdf8a3a39302f9 SHA512 dc244a723ab46e1e781eaecbfa4c801b00687eaa58acd8569fc9334d28a5cadbf1c7d87d86af4d82857cd3241f7e3ed7e3ea2caeea32dcddb4da002049f94ce3
+EBUILD thunderbird-115.15.0.ebuild 39761 BLAKE2B 4d7d2e184f86579c14c1fbf2df8527f54240651cf8c91c2ecd9b1ac4bc06ada4077a86c5622a6e3bbd5a982253ff411f8c17b0f594149997f3b54ef188964cf1 SHA512 710fb5cabe1aa23a6d178487dace22e6a9a40a49e6e5ca68339ee1285944d01031552a974e8f72bda7237abe8d83c5461dd350967680bc126c9f2c21dfc56851
EBUILD thunderbird-128.1.0.ebuild 36692 BLAKE2B 33dcd6e10fe3064cbed99463430930bcccd29ddc4f16a209eb7dcdf7fd5ea3156c894b8b2dda1cbf1112e86453a9c12e6d1b2690eb1ac5673188e518e52aa8ba SHA512 263308e503b83264126282d8181835b424eac4fd1789c5423f822527afd993870f331612e24b2cf149508a3a01569e5ae2f53fbaa47d5ad72e034cdf96694581
EBUILD thunderbird-128.1.1.ebuild 36692 BLAKE2B 33dcd6e10fe3064cbed99463430930bcccd29ddc4f16a209eb7dcdf7fd5ea3156c894b8b2dda1cbf1112e86453a9c12e6d1b2690eb1ac5673188e518e52aa8ba SHA512 263308e503b83264126282d8181835b424eac4fd1789c5423f822527afd993870f331612e24b2cf149508a3a01569e5ae2f53fbaa47d5ad72e034cdf96694581
+EBUILD thunderbird-128.2.0.ebuild 35775 BLAKE2B 698bb70b80b04d0505165c867c6b4835d8d72c58c5291f736e87caf5fa329578a3d4b8a16d357468b307466d4e473c1d7a19aa06e75f12b71a55bf8d680dc73d SHA512 1eaca1ab731975eb94255cf3b62527245575c252d2fc7139038bbd94d97511961771486791a867a88632c7e7351d0d1f7696e2a323b998f1d4f826fe76cbd599
MISC metadata.xml 2387 BLAKE2B 3602296d8cca60f79ea66089332dbce63b9da3625e476659e0a663966e65bc060e67b263c8fdcdbf8fa5545adf7b8f958cc36f9011459c715ee31bb494e7ce5e SHA512 e51ee84ed715cba36beb240db27265ac37b8df684c0e98f3b81ccf7785c1f465f1bbe3729c1c01717445e787129b449c009815f62a7455ea3fc4db8d1d9e82c3
diff --git a/mail-client/thunderbird/thunderbird-115.15.0.ebuild b/mail-client/thunderbird/thunderbird-115.15.0.ebuild
new file mode 100644
index 000000000000..842dd4ecf663
--- /dev/null
+++ b/mail-client/thunderbird/thunderbird-115.15.0.ebuild
@@ -0,0 +1,1363 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FIREFOX_PATCHSET="firefox-115esr-patches-13.tar.xz"
+
+LLVM_MAX_SLOT=18
+
+PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_REQ_USE="ncurses,sqlite,ssl"
+
+WANT_AUTOCONF="2.1"
+
+VIRTUALX_REQUIRED="manual"
+
+MOZ_ESR=
+
+MOZ_PV=${PV}
+MOZ_PV_SUFFIX=
+if [[ ${PV} =~ (_(alpha|beta|rc).*)$ ]] ; then
+ MOZ_PV_SUFFIX=${BASH_REMATCH[1]}
+
+ # Convert the ebuild version to the upstream Mozilla version
+ MOZ_PV="${MOZ_PV/_alpha/a}" # Handle alpha for SRC_URI
+ MOZ_PV="${MOZ_PV/_beta/b}" # Handle beta for SRC_URI
+ MOZ_PV="${MOZ_PV%%_rc*}" # Handle rc for SRC_URI
+fi
+
+if [[ -n ${MOZ_ESR} ]] ; then
+ # ESR releases have slightly different version numbers
+ MOZ_PV="${MOZ_PV}esr"
+fi
+
+MOZ_PN="${PN%-bin}"
+MOZ_P="${MOZ_PN}-${MOZ_PV}"
+MOZ_PV_DISTFILES="${MOZ_PV}${MOZ_PV_SUFFIX}"
+MOZ_P_DISTFILES="${MOZ_PN}-${MOZ_PV_DISTFILES}"
+
+inherit autotools check-reqs desktop flag-o-matic gnome2-utils linux-info \
+ llvm multiprocessing optfeature pax-utils python-any-r1 toolchain-funcs \
+ virtualx xdg
+
+MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/releases/${MOZ_PV}"
+
+if [[ ${PV} == *_rc* ]] ; then
+ MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/candidates/${MOZ_PV}-candidates/build${PV##*_rc}"
+fi
+
+PATCH_URIS=(
+ https://dev.gentoo.org/~juippis/mozilla/patchsets/${FIREFOX_PATCHSET}
+)
+
+SRC_URI="${MOZ_SRC_BASE_URI}/source/${MOZ_P}.source.tar.xz -> ${MOZ_P_DISTFILES}.source.tar.xz
+ ${PATCH_URIS[@]}"
+
+DESCRIPTION="Thunderbird Mail Client"
+HOMEPAGE="https://www.thunderbird.net/"
+
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+
+SLOT="0"
+LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
+
+IUSE="+clang cpu_flags_arm_neon dbus debug eme-free hardened hwaccel"
+IUSE+=" jack libproxy lto +openh264 pgo pulseaudio sndio selinux"
+IUSE+=" +system-av1 +system-harfbuzz +system-icu +system-jpeg +system-libevent +system-libvpx system-png system-python-libs +system-webp"
+IUSE+=" wayland wifi +X"
+
+# Thunderbird-only USE flags.
+IUSE+=" +system-librnp"
+
+REQUIRED_USE="|| ( X wayland )
+ debug? ( !system-av1 )
+ pgo? ( lto )
+ wifi? ( dbus )"
+
+TB_ONLY_DEPEND="!<x11-plugins/enigmail-2.2
+ selinux? ( sec-policy/selinux-thunderbird )
+ !system-librnp? ( dev-libs/jsoncpp )
+ system-librnp? ( >=dev-util/librnp-0.17.1 )"
+BDEPEND="${PYTHON_DEPS}
+ || (
+ (
+ sys-devel/clang:18
+ sys-devel/llvm:18
+ clang? (
+ sys-devel/lld:18
+ virtual/rust:0/llvm-18
+ pgo? ( =sys-libs/compiler-rt-sanitizers-18*[profile] )
+ )
+ )
+ (
+ sys-devel/clang:17
+ sys-devel/llvm:17
+ clang? (
+ sys-devel/lld:17
+ virtual/rust:0/llvm-17
+ pgo? ( =sys-libs/compiler-rt-sanitizers-17*[profile] )
+ )
+ )
+ (
+ sys-devel/clang:16
+ sys-devel/llvm:16
+ clang? (
+ sys-devel/lld:16
+ virtual/rust:0/llvm-16
+ pgo? ( =sys-libs/compiler-rt-sanitizers-16*[profile] )
+ )
+ )
+ (
+ sys-devel/clang:15
+ sys-devel/llvm:15
+ clang? (
+ sys-devel/lld:15
+ virtual/rust:0/llvm-15
+ pgo? ( =sys-libs/compiler-rt-sanitizers-15*[profile] )
+ )
+ )
+ )
+ app-alternatives/awk
+ app-arch/unzip
+ app-arch/zip
+ >=dev-util/cbindgen-0.24.3
+ net-libs/nodejs
+ virtual/pkgconfig
+ !clang? ( virtual/rust )
+ !elibc_glibc? (
+ || (
+ dev-lang/rust
+ <dev-lang/rust-bin-1.73
+ )
+ )
+ amd64? ( >=dev-lang/nasm-2.14 )
+ x86? ( >=dev-lang/nasm-2.14 )
+ pgo? (
+ X? (
+ sys-devel/gettext
+ x11-base/xorg-server[xvfb]
+ x11-apps/xhost
+ )
+ wayland? (
+ || (
+ gui-wm/tinywl
+ <gui-libs/wlroots-0.17.3[tinywl(-)]
+ )
+ x11-misc/xkeyboard-config
+ )
+ )"
+COMMON_DEPEND="${TB_ONLY_DEPEND}
+ >=app-accessibility/at-spi2-core-2.46.0:2
+ dev-libs/expat
+ dev-libs/glib:2
+ dev-libs/libffi:=
+ >=dev-libs/nss-3.90
+ >=dev-libs/nspr-4.35
+ media-libs/alsa-lib
+ media-libs/fontconfig
+ media-libs/freetype
+ media-libs/mesa
+ media-video/ffmpeg
+ sys-libs/zlib
+ virtual/freedesktop-icon-theme
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf
+ x11-libs/pango
+ x11-libs/pixman
+ dbus? (
+ dev-libs/dbus-glib
+ sys-apps/dbus
+ )
+ jack? ( virtual/jack )
+ pulseaudio? (
+ || (
+ media-libs/libpulse
+ >=media-sound/apulse-0.1.12-r4[sdk]
+ )
+ )
+ libproxy? ( net-libs/libproxy )
+ selinux? ( sec-policy/selinux-mozilla )
+ sndio? ( >=media-sound/sndio-1.8.0-r1 )
+ system-av1? (
+ >=media-libs/dav1d-1.0.0:=
+ >=media-libs/libaom-1.0.0:=
+ )
+ system-harfbuzz? (
+ >=media-gfx/graphite2-1.3.13
+ >=media-libs/harfbuzz-2.8.1:0=
+ )
+ system-icu? ( >=dev-libs/icu-74.1:= )
+ system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 )
+ system-libevent? ( >=dev-libs/libevent-2.1.12:0=[threads(+)] )
+ system-libvpx? ( >=media-libs/libvpx-1.8.2:0=[postproc] )
+ system-png? ( >=media-libs/libpng-1.6.35:0=[apng] )
+ system-webp? ( >=media-libs/libwebp-1.1.0:0= )
+ wayland? (
+ >=media-libs/libepoxy-1.5.10-r1
+ x11-libs/gtk+:3[wayland]
+ x11-libs/libxkbcommon[wayland]
+ )
+ wifi? (
+ kernel_linux? (
+ dev-libs/dbus-glib
+ net-misc/networkmanager
+ sys-apps/dbus
+ )
+ )
+ X? (
+ virtual/opengl
+ x11-libs/cairo[X]
+ x11-libs/gtk+:3[X]
+ x11-libs/libX11
+ x11-libs/libXcomposite
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libxkbcommon[X]
+ x11-libs/libXrandr
+ x11-libs/libXtst
+ x11-libs/libxcb:=
+ )"
+RDEPEND="${COMMON_DEPEND}
+ jack? ( virtual/jack )
+ openh264? ( media-libs/openh264:*[plugin] )"
+DEPEND="${COMMON_DEPEND}
+ X? (
+ x11-base/xorg-proto
+ x11-libs/libICE
+ x11-libs/libSM
+ )"
+
+S="${WORKDIR}/${PN}-${PV%_*}"
+
+llvm_check_deps() {
+ if ! has_version -b "sys-devel/clang:${LLVM_SLOT}" ; then
+ einfo "sys-devel/clang:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
+ return 1
+ fi
+
+ if use clang && ! tc-ld-is-mold ; then
+ if ! has_version -b "sys-devel/lld:${LLVM_SLOT}" ; then
+ einfo "sys-devel/lld:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
+ return 1
+ fi
+
+ if ! has_version -b "virtual/rust:0/llvm-${LLVM_SLOT}" ; then
+ einfo "virtual/rust:0/llvm-${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
+ return 1
+ fi
+
+ if use pgo ; then
+ if ! has_version -b "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*[profile]" ; then
+ einfo "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*[profile] is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
+ return 1
+ fi
+ fi
+ fi
+
+ einfo "Using LLVM slot ${LLVM_SLOT} to build" >&2
+}
+
+MOZ_LANGS=(
+ af ar ast be bg br ca cak cs cy da de dsb
+ el en-CA en-GB en-US es-AR es-ES es-MX et eu
+ fi fr fy-NL ga-IE gd gl he hr hsb hu
+ id is it ja ka kab kk ko lt lv ms nb-NO nl nn-NO
+ pa-IN pl pt-BR pt-PT rm ro ru
+ sk sl sq sr sv-SE th tr uk uz vi zh-CN zh-TW
+)
+
+mozilla_set_globals() {
+ # https://bugs.gentoo.org/587334
+ local MOZ_TOO_REGIONALIZED_FOR_L10N=(
+ fy-NL ga-IE gu-IN hi-IN hy-AM nb-NO ne-NP nn-NO pa-IN sv-SE
+ )
+
+ local lang xflag
+ for lang in "${MOZ_LANGS[@]}" ; do
+ # en and en_US are handled internally
+ if [[ ${lang} == en ]] || [[ ${lang} == en-US ]] ; then
+ continue
+ fi
+
+ # strip region subtag if $lang is in the list
+ if has ${lang} "${MOZ_TOO_REGIONALIZED_FOR_L10N[@]}" ; then
+ xflag=${lang%%-*}
+ else
+ xflag=${lang}
+ fi
+
+ SRC_URI+=" l10n_${xflag/[_@]/-}? ("
+ SRC_URI+=" ${MOZ_SRC_BASE_URI}/linux-x86_64/xpi/${lang}.xpi -> ${MOZ_P_DISTFILES}-${lang}.xpi"
+ SRC_URI+=" )"
+ IUSE+=" l10n_${xflag/[_@]/-}"
+ done
+}
+mozilla_set_globals
+
+moz_clear_vendor_checksums() {
+ debug-print-function ${FUNCNAME} "$@"
+
+ if [[ ${#} -ne 1 ]] ; then
+ die "${FUNCNAME} requires exact one argument"
+ fi
+
+ einfo "Clearing cargo checksums for ${1} ..."
+
+ sed -i \
+ -e 's/\("files":{\)[^}]*/\1/' \
+ "${S}"/third_party/rust/${1}/.cargo-checksum.json \
+ || die
+}
+
+moz_install_xpi() {
+ debug-print-function ${FUNCNAME} "$@"
+
+ if [[ ${#} -lt 2 ]] ; then
+ die "${FUNCNAME} requires at least two arguments"
+ fi
+
+ local DESTDIR=${1}
+ shift
+
+ insinto "${DESTDIR}"
+
+ local emid xpi_file xpi_tmp_dir
+ for xpi_file in "${@}" ; do
+ emid=
+ xpi_tmp_dir=$(mktemp -d --tmpdir="${T}")
+
+ # Unpack XPI
+ unzip -qq "${xpi_file}" -d "${xpi_tmp_dir}" || die
+
+ # Determine extension ID
+ if [[ -f "${xpi_tmp_dir}/install.rdf" ]] ; then
+ emid=$(sed -n -e '/install-manifest/,$ { /em:id/!d; s/.*[\">]\([^\"<>]*\)[\"<].*/\1/; p; q }' "${xpi_tmp_dir}/install.rdf")
+ [[ -z "${emid}" ]] && die "failed to determine extension id from install.rdf"
+ elif [[ -f "${xpi_tmp_dir}/manifest.json" ]] ; then
+ emid=$(sed -n -e 's/.*"id": "\([^"]*\)".*/\1/p' "${xpi_tmp_dir}/manifest.json")
+ [[ -z "${emid}" ]] && die "failed to determine extension id from manifest.json"
+ else
+ die "failed to determine extension id"
+ fi
+
+ einfo "Installing ${emid}.xpi into ${ED}${DESTDIR} ..."
+ newins "${xpi_file}" "${emid}.xpi"
+ done
+}
+
+mozconfig_add_options_ac() {
+ debug-print-function ${FUNCNAME} "$@"
+
+ if [[ ${#} -lt 2 ]] ; then
+ die "${FUNCNAME} requires at least two arguments"
+ fi
+
+ local reason=${1}
+ shift
+
+ local option
+ for option in ${@} ; do
+ echo "ac_add_options ${option} # ${reason}" >>${MOZCONFIG}
+ done
+}
+
+mozconfig_add_options_mk() {
+ debug-print-function ${FUNCNAME} "$@"
+
+ if [[ ${#} -lt 2 ]] ; then
+ die "${FUNCNAME} requires at least two arguments"
+ fi
+
+ local reason=${1}
+ shift
+
+ local option
+ for option in ${@} ; do
+ echo "mk_add_options ${option} # ${reason}" >>${MOZCONFIG}
+ done
+}
+
+mozconfig_use_enable() {
+ debug-print-function ${FUNCNAME} "$@"
+
+ if [[ ${#} -lt 1 ]] ; then
+ die "${FUNCNAME} requires at least one arguments"
+ fi
+
+ local flag=$(use_enable "${@}")
+ mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" "${flag}"
+}
+
+mozconfig_use_with() {
+ debug-print-function ${FUNCNAME} "$@"
+
+ if [[ ${#} -lt 1 ]] ; then
+ die "${FUNCNAME} requires at least one arguments"
+ fi
+
+ local flag=$(use_with "${@}")
+ mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" "${flag}"
+}
+
+# This is a straight copypaste from toolchain-funcs.eclass's 'tc-ld-is-lld', and is temporarily
+# placed here until toolchain-funcs.eclass gets an official support for mold linker.
+# Please see:
+# https://github.com/gentoo/gentoo/pull/28366 ||
+# https://github.com/gentoo/gentoo/pull/28355
+tc-ld-is-mold() {
+ local out
+
+ # Ensure ld output is in English.
+ local -x LC_ALL=C
+
+ # First check the linker directly.
+ out=$($(tc-getLD "$@") --version 2>&1)
+ if [[ ${out} == *"mold"* ]] ; then
+ return 0
+ fi
+
+ # Then see if they're selecting mold via compiler flags.
+ # Note: We're assuming they're using LDFLAGS to hold the
+ # options and not CFLAGS/CXXFLAGS.
+ local base="${T}/test-tc-linker"
+ cat <<-EOF > "${base}.c"
+ int main() { return 0; }
+ EOF
+ out=$($(tc-getCC "$@") ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -Wl,--version "${base}.c" -o "${base}" 2>&1)
+ rm -f "${base}"*
+ if [[ ${out} == *"mold"* ]] ; then
+ return 0
+ fi
+
+ # No mold here!
+ return 1
+}
+
+virtwl() {
+ debug-print-function ${FUNCNAME} "$@"
+
+ [[ $# -lt 1 ]] && die "${FUNCNAME} needs at least one argument"
+ [[ -n $XDG_RUNTIME_DIR ]] || die "${FUNCNAME} needs XDG_RUNTIME_DIR to be set; try xdg_environment_reset"
+ tinywl -h >/dev/null || die 'tinywl -h failed'
+
+ # TODO: don't run addpredict in utility function. WLR_RENDERER=pixman doesn't work
+ addpredict /dev/dri
+ local VIRTWL VIRTWL_PID
+ coproc VIRTWL { WLR_BACKENDS=headless exec tinywl -s 'echo $WAYLAND_DISPLAY; read _; kill $PPID'; }
+ local -x WAYLAND_DISPLAY
+ read WAYLAND_DISPLAY <&${VIRTWL[0]}
+
+ debug-print "${FUNCNAME}: $@"
+ "$@"
+ local r=$?
+
+ [[ -n $VIRTWL_PID ]] || die "tinywl exited unexpectedly"
+ exec {VIRTWL[0]}<&- {VIRTWL[1]}>&-
+ return $r
+}
+
+pkg_pretend() {
+ if [[ ${MERGE_TYPE} != binary ]] ; then
+ if use pgo ; then
+ if ! has usersandbox $FEATURES ; then
+ die "You must enable usersandbox as X server can not run as root!"
+ fi
+ fi
+
+ # Ensure we have enough disk space to compile
+ if use pgo || use lto || use debug ; then
+ CHECKREQS_DISK_BUILD="13500M"
+ else
+ CHECKREQS_DISK_BUILD="6600M"
+ fi
+
+ check-reqs_pkg_pretend
+ fi
+}
+
+pkg_setup() {
+ if [[ ${MERGE_TYPE} != binary ]] ; then
+ if use pgo ; then
+ if ! has userpriv ${FEATURES} ; then
+ eerror "Building ${PN} with USE=pgo and FEATURES=-userpriv is not supported!"
+ fi
+ fi
+
+ # Ensure we have enough disk space to compile
+ if use pgo || use lto || use debug ; then
+ CHECKREQS_DISK_BUILD="13500M"
+ else
+ CHECKREQS_DISK_BUILD="6400M"
+ fi
+
+ check-reqs_pkg_setup
+
+ llvm_pkg_setup
+
+ if use clang && use lto && tc-ld-is-lld ; then
+ local version_lld=$(ld.lld --version 2>/dev/null | awk '{ print $2 }')
+ [[ -n ${version_lld} ]] && version_lld=$(ver_cut 1 "${version_lld}")
+ [[ -z ${version_lld} ]] && die "Failed to read ld.lld version!"
+
+ local version_llvm_rust=$(rustc -Vv 2>/dev/null | grep -F -- 'LLVM version:' | awk '{ print $3 }')
+ [[ -n ${version_llvm_rust} ]] && version_llvm_rust=$(ver_cut 1 "${version_llvm_rust}")
+ [[ -z ${version_llvm_rust} ]] && die "Failed to read used LLVM version from rustc!"
+
+ if ver_test "${version_lld}" -ne "${version_llvm_rust}" ; then
+ eerror "Rust is using LLVM version ${version_llvm_rust} but ld.lld version belongs to LLVM version ${version_lld}."
+ eerror "You will be unable to link ${CATEGORY}/${PN}. To proceed you have the following options:"
+ eerror " - Manually switch rust version using 'eselect rust' to match used LLVM version"
+ eerror " - Switch to dev-lang/rust[system-llvm] which will guarantee matching version"
+ eerror " - Build ${CATEGORY}/${PN} without USE=lto"
+ eerror " - Rebuild lld with llvm that was used to build rust (may need to rebuild the whole "
+ eerror " llvm/clang/lld/rust chain depending on your @world updates)"
+ die "LLVM version used by Rust (${version_llvm_rust}) does not match with ld.lld version (${version_lld})!"
+ fi
+ fi
+
+ python-any-r1_pkg_setup
+
+ # Avoid PGO profiling problems due to enviroment leakage
+ # These should *always* be cleaned up anyway
+ unset \
+ DBUS_SESSION_BUS_ADDRESS \
+ DISPLAY \
+ ORBIT_SOCKETDIR \
+ SESSION_MANAGER \
+ XAUTHORITY \
+ XDG_CACHE_HOME \
+ XDG_SESSION_COOKIE
+
+ # Build system is using /proc/self/oom_score_adj, bug #604394
+ addpredict /proc/self/oom_score_adj
+
+ if use pgo ; then
+ # Update 105.0: "/proc/self/oom_score_adj" isn't enough anymore with pgo, but not sure
+ # whether that's due to better OOM handling by Firefox (bmo#1771712), or portage
+ # (PORTAGE_SCHEDULING_POLICY) update...
+ addpredict /proc
+
+ # May need a wider addpredict when using wayland+pgo.
+ addpredict /dev/dri
+
+ # Allow access to GPU during PGO run
+ local ati_cards mesa_cards nvidia_cards render_cards
+ shopt -s nullglob
+
+ ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g')
+ if [[ -n "${ati_cards}" ]] ; then
+ addpredict "${ati_cards}"
+ fi
+
+ mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g')
+ if [[ -n "${mesa_cards}" ]] ; then
+ addpredict "${mesa_cards}"
+ fi
+
+ nvidia_cards=$(echo -n /dev/nvidia* | sed 's/ /:/g')
+ if [[ -n "${nvidia_cards}" ]] ; then
+ addpredict "${nvidia_cards}"
+ fi
+
+ render_cards=$(echo -n /dev/dri/renderD128* | sed 's/ /:/g')
+ if [[ -n "${render_cards}" ]] ; then
+ addpredict "${render_cards}"
+ fi
+
+ shopt -u nullglob
+ fi
+
+ if ! mountpoint -q /dev/shm ; then
+ # If /dev/shm is not available, configure is known to fail with
+ # a traceback report referencing /usr/lib/pythonN.N/multiprocessing/synchronize.py
+ ewarn "/dev/shm is not mounted -- expect build failures!"
+ fi
+
+ # Google API keys (see http://www.chromium.org/developers/how-tos/api-keys)
+ # Note: These are for Gentoo Linux use ONLY. For your own distribution, please
+ # get your own set of keys.
+ if [[ -z "${MOZ_API_KEY_GOOGLE+set}" ]] ; then
+ MOZ_API_KEY_GOOGLE="AIzaSyDEAOvatFogGaPi0eTgsV_ZlEzx0ObmepsMzfAc"
+ fi
+
+ if [[ -z "${MOZ_API_KEY_LOCATION+set}" ]] ; then
+ MOZ_API_KEY_LOCATION="AIzaSyB2h2OuRgGaPicUgy5N-5hsZqiPW6sH3n_rptiQ"
+ fi
+
+ # Mozilla API keys (see https://location.services.mozilla.com/api)
+ # Note: These are for Gentoo Linux use ONLY. For your own distribution, please
+ # get your own set of keys.
+ if [[ -z "${MOZ_API_KEY_MOZILLA+set}" ]] ; then
+ MOZ_API_KEY_MOZILLA="edb3d487-3a84-46m0ap1e3-9dfd-92b5efaaa005"
+ fi
+
+ # Ensure we use C locale when building, bug #746215
+ export LC_ALL=C
+ fi
+}
+
+src_unpack() {
+ local _lp_dir="${WORKDIR}/language_packs"
+ local _src_file
+
+ if [[ ! -d "${_lp_dir}" ]] ; then
+ mkdir "${_lp_dir}" || die
+ fi
+
+ for _src_file in ${A} ; do
+ if [[ ${_src_file} == *.xpi ]]; then
+ cp "${DISTDIR}/${_src_file}" "${_lp_dir}" || die "Failed to copy '${_src_file}' to '${_lp_dir}'!"
+ else
+ unpack ${_src_file}
+ fi
+ done
+}
+
+src_prepare() {
+ if use lto; then
+ rm -v "${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch || die
+ fi
+
+ if ! use ppc64; then
+ rm -v "${WORKDIR}"/firefox-patches/*ppc64*.patch || die
+ fi
+
+ if use x86 && use elibc_glibc ; then
+ rm -v "${WORKDIR}"/firefox-patches/*-musl-non-lfs64-api-on-audio_thread_priority-crate.patch || die
+ fi
+
+ # Workaround for bgo#917599
+ if has_version ">=dev-libs/icu-74.1" && use system-icu ; then
+ eapply "${WORKDIR}"/firefox-patches/0029-bmo-1862601-system-icu-74.patch
+ fi
+ rm -v "${WORKDIR}"/firefox-patches/0029-bmo-1862601-system-icu-74.patch || die
+
+ # Workaround for bgo#915651 on musl
+ if use elibc_glibc ; then
+ rm -v "${WORKDIR}"/firefox-patches/*bgo-748849-RUST_TARGET_override.patch || die
+ fi
+
+ eapply "${WORKDIR}/firefox-patches"
+
+ # Allow user to apply any additional patches without modifing ebuild
+ eapply_user
+
+ # Make cargo respect MAKEOPTS
+ export CARGO_BUILD_JOBS="$(makeopts_jobs)"
+
+ # Workaround for bgo#915651
+ if ! use elibc_glibc ; then
+ if use amd64 ; then
+ export RUST_TARGET="x86_64-unknown-linux-musl"
+ elif use x86 ; then
+ export RUST_TARGET="i686-unknown-linux-musl"
+ else
+ die "Unknown musl chost, please post your rustc -vV along with emerge --info on Gentoo's bug #915651"
+ fi
+ fi
+
+ # Make LTO respect MAKEOPTS
+ sed -i \
+ -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
+ "${S}"/build/moz.configure/lto-pgo.configure \
+ || die "sed failed to set num_cores"
+
+ # Make ICU respect MAKEOPTS
+ sed -i \
+ -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
+ "${S}"/intl/icu_sources_data.py \
+ || die "sed failed to set num_cores"
+
+ # sed-in toolchain prefix
+ sed -i \
+ -e "s/objdump/${CHOST}-objdump/" \
+ "${S}"/python/mozbuild/mozbuild/configure/check_debug_ranges.py \
+ || die "sed failed to set toolchain prefix"
+
+ sed -i \
+ -e 's/ccache_stats = None/return None/' \
+ "${S}"/python/mozbuild/mozbuild/controller/building.py \
+ || die "sed failed to disable ccache stats call"
+
+ einfo "Removing pre-built binaries ..."
+
+ find "${S}"/third_party -type f \( -name '*.so' -o -name '*.o' \) -print -delete || die
+
+ # Clear cargo checksums from crates we have patched
+ # moz_clear_vendor_checksums crate
+ moz_clear_vendor_checksums audio_thread_priority
+ moz_clear_vendor_checksums bindgen
+ moz_clear_vendor_checksums encoding_rs
+ moz_clear_vendor_checksums any_all_workaround
+ moz_clear_vendor_checksums packed_simd
+
+ # Create build dir
+ BUILD_DIR="${WORKDIR}/${PN}_build"
+ mkdir -p "${BUILD_DIR}" || die
+
+ # Write API keys to disk
+ echo -n "${MOZ_API_KEY_GOOGLE//gGaPi/}" > "${S}"/api-google.key || die
+ echo -n "${MOZ_API_KEY_LOCATION//gGaPi/}" > "${S}"/api-location.key || die
+ echo -n "${MOZ_API_KEY_MOZILLA//m0ap1/}" > "${S}"/api-mozilla.key || die
+
+ xdg_environment_reset
+}
+
+src_configure() {
+ # Show flags set at the beginning
+ einfo "Current BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}"
+ einfo "Current CFLAGS:\t\t${CFLAGS:-no value set}"
+ einfo "Current CXXFLAGS:\t\t${CXXFLAGS:-no value set}"
+ einfo "Current LDFLAGS:\t\t${LDFLAGS:-no value set}"
+ einfo "Current RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}"
+
+ local have_switched_compiler=
+ if use clang; then
+ # Force clang
+ einfo "Enforcing the use of clang due to USE=clang ..."
+
+ local version_clang=$(clang --version 2>/dev/null | grep -F -- 'clang version' | awk '{ print $3 }')
+ [[ -n ${version_clang} ]] && version_clang=$(ver_cut 1 "${version_clang}")
+ [[ -z ${version_clang} ]] && die "Failed to read clang version!"
+
+ if tc-is-gcc; then
+ have_switched_compiler=yes
+ fi
+ AR=llvm-ar
+ CC=${CHOST}-clang-${version_clang}
+ CXX=${CHOST}-clang++-${version_clang}
+ NM=llvm-nm
+ RANLIB=llvm-ranlib
+ elif ! use clang && ! tc-is-gcc ; then
+ # Force gcc
+ have_switched_compiler=yes
+ einfo "Enforcing the use of gcc due to USE=-clang ..."
+ AR=gcc-ar
+ CC=${CHOST}-gcc
+ CXX=${CHOST}-g++
+ NM=gcc-nm
+ RANLIB=gcc-ranlib
+ fi
+
+ if [[ -n "${have_switched_compiler}" ]] ; then
+ # Because we switched active compiler we have to ensure
+ # that no unsupported flags are set
+ strip-unsupported-flags
+ fi
+
+ # Ensure we use correct toolchain,
+ # AS is used in a non-standard way by upstream, #bmo1654031
+ export HOST_CC="$(tc-getBUILD_CC)"
+ export HOST_CXX="$(tc-getBUILD_CXX)"
+ export AS="$(tc-getCC) -c"
+ tc-export CC CXX LD AR AS NM OBJDUMP RANLIB PKG_CONFIG
+
+ # Pass the correct toolchain paths through cbindgen
+ if tc-is-cross-compiler ; then
+ export BINDGEN_CFLAGS="${SYSROOT:+--sysroot=${ESYSROOT}} --target=${CHOST} ${BINDGEN_CFLAGS-}"
+ fi
+
+ # Set MOZILLA_FIVE_HOME
+ export MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
+
+ # python/mach/mach/mixin/process.py fails to detect SHELL
+ export SHELL="${EPREFIX}/bin/bash"
+
+ # Set state path
+ export MOZBUILD_STATE_PATH="${BUILD_DIR}"
+
+ # Set MOZCONFIG
+ export MOZCONFIG="${S}/.mozconfig"
+
+ # Initialize MOZCONFIG
+ mozconfig_add_options_ac '' --enable-application=comm/mail
+ mozconfig_add_options_ac '' --enable-project=comm/mail
+
+ # Set Gentoo defaults
+ mozconfig_add_options_ac 'Gentoo default' \
+ --allow-addon-sideload \
+ --disable-cargo-incremental \
+ --disable-crashreporter \
+ --disable-gpsd \
+ --disable-install-strip \
+ --disable-parental-controls \
+ --disable-strip \
+ --disable-tests \
+ --disable-updater \
+ --disable-wmf \
+ --enable-js-shell \
+ --enable-legacy-profile-creation \
+ --enable-negotiateauth \
+ --enable-new-pass-manager \
+ --enable-official-branding \
+ --enable-release \
+ --enable-system-ffi \
+ --enable-system-pixman \
+ --enable-system-policies \
+ --host="${CBUILD:-${CHOST}}" \
+ --libdir="${EPREFIX}/usr/$(get_libdir)" \
+ --prefix="${EPREFIX}/usr" \
+ --target="${CHOST}" \
+ --without-ccache \
+ --without-wasm-sandboxed-libraries \
+ --with-intl-api \
+ --with-libclang-path="$(llvm-config --libdir)" \
+ --with-system-nspr \
+ --with-system-nss \
+ --with-system-zlib \
+ --with-toolchain-prefix="${CHOST}-" \
+ --with-unsigned-addon-scopes=app,system \
+ --x-includes="${ESYSROOT}/usr/include" \
+ --x-libraries="${ESYSROOT}/usr/$(get_libdir)"
+
+ # Set update channel
+ local update_channel=release
+ [[ -n ${MOZ_ESR} ]] && update_channel=esr
+ mozconfig_add_options_ac '' --update-channel=${update_channel}
+
+ if ! use x86 && [[ ${CHOST} != armv*h* ]] ; then
+ mozconfig_add_options_ac '' --enable-rust-simd
+ fi
+
+ # For future keywording: This is currently (97.0) only supported on:
+ # amd64, arm, arm64 & x86.
+ # Might want to flip the logic around if Firefox is to support more arches.
+ # bug 833001, bug 903411#c8
+ if use ppc64 || use riscv; then
+ mozconfig_add_options_ac '' --disable-sandbox
+ else
+ mozconfig_add_options_ac '' --enable-sandbox
+ fi
+
+ # Enable JIT on riscv64 explicitly
+ # Can be removed once upstream enable it by default in the future.
+ use riscv && mozconfig_add_options_ac 'Enable JIT for RISC-V 64' --enable-jit
+
+ if [[ -s "${S}/api-google.key" ]] ; then
+ local key_origin="Gentoo default"
+ if [[ $(cat "${S}/api-google.key" | md5sum | awk '{ print $1 }') != 709560c02f94b41f9ad2c49207be6c54 ]] ; then
+ key_origin="User value"
+ fi
+
+ mozconfig_add_options_ac "${key_origin}" \
+ --with-google-safebrowsing-api-keyfile="${S}/api-google.key"
+ else
+ einfo "Building without Google API key ..."
+ fi
+
+ if [[ -s "${S}/api-location.key" ]] ; then
+ local key_origin="Gentoo default"
+ if [[ $(cat "${S}/api-location.key" | md5sum | awk '{ print $1 }') != ffb7895e35dedf832eb1c5d420ac7420 ]] ; then
+ key_origin="User value"
+ fi
+
+ mozconfig_add_options_ac "${key_origin}" \
+ --with-google-location-service-api-keyfile="${S}/api-location.key"
+ else
+ einfo "Building without Location API key ..."
+ fi
+
+ if [[ -s "${S}/api-mozilla.key" ]] ; then
+ local key_origin="Gentoo default"
+ if [[ $(cat "${S}/api-mozilla.key" | md5sum | awk '{ print $1 }') != 3927726e9442a8e8fa0e46ccc39caa27 ]] ; then
+ key_origin="User value"
+ fi
+
+ mozconfig_add_options_ac "${key_origin}" \
+ --with-mozilla-api-keyfile="${S}/api-mozilla.key"
+ else
+ einfo "Building without Mozilla API key ..."
+ fi
+
+ mozconfig_use_with system-av1
+ mozconfig_use_with system-harfbuzz
+ mozconfig_use_with system-harfbuzz system-graphite2
+ mozconfig_use_with system-icu
+ mozconfig_use_with system-jpeg
+ mozconfig_use_with system-libevent
+ mozconfig_use_with system-libvpx
+ mozconfig_use_with system-png
+ mozconfig_use_with system-webp
+
+ if use system-librnp; then
+ mozconfig_add_options_ac "+system-librnp" --enable-compile-environment
+ mozconfig_use_with system-librnp
+ else
+ # This controls the backend of the bundled librnp. Choices are "botan" and "openssl".
+ # RNP Upstream recommends to use botan. In Gentoo it's preferred to use system-librnp.
+ mozconfig_add_options_ac "+bundled librnp backend = botan" --with-librnp-backend="botan"
+ fi
+
+ mozconfig_use_enable dbus
+ mozconfig_use_enable libproxy
+
+ use eme-free && mozconfig_add_options_ac '+eme-free' --disable-eme
+
+ if use hardened ; then
+ mozconfig_add_options_ac "+hardened" --enable-hardening
+ append-ldflags "-Wl,-z,relro -Wl,-z,now"
+ fi
+
+ local myaudiobackends=""
+ use jack && myaudiobackends+="jack,"
+ use sndio && myaudiobackends+="sndio,"
+ use pulseaudio && myaudiobackends+="pulseaudio,"
+ ! use pulseaudio && myaudiobackends+="alsa,"
+
+ mozconfig_add_options_ac '--enable-audio-backends' --enable-audio-backends="${myaudiobackends::-1}"
+
+ mozconfig_use_enable wifi necko-wifi
+
+ if use X && use wayland ; then
+ mozconfig_add_options_ac '+x11+wayland' --enable-default-toolkit=cairo-gtk3-x11-wayland
+ elif ! use X && use wayland ; then
+ mozconfig_add_options_ac '+wayland' --enable-default-toolkit=cairo-gtk3-wayland-only
+ else
+ mozconfig_add_options_ac '+x11' --enable-default-toolkit=cairo-gtk3
+ fi
+
+ if use lto ; then
+ if use clang ; then
+ # Upstream only supports lld or mold when using clang.
+ if tc-ld-is-mold ; then
+ mozconfig_add_options_ac "using ld=mold due to system selection" --enable-linker=mold
+ else
+ mozconfig_add_options_ac "forcing ld=lld due to USE=clang and USE=lto" --enable-linker=lld
+ fi
+
+ mozconfig_add_options_ac '+lto' --enable-lto=cross
+
+ else
+ # ThinLTO is currently broken, see bmo#1644409.
+ # mold does not support gcc+lto combination.
+ mozconfig_add_options_ac '+lto' --enable-lto=full
+ mozconfig_add_options_ac "linker is set to bfd" --enable-linker=bfd
+ fi
+
+ if use pgo ; then
+ mozconfig_add_options_ac '+pgo' MOZ_PGO=1
+
+ if use clang ; then
+ # Used in build/pgo/profileserver.py
+ export LLVM_PROFDATA="llvm-profdata"
+ fi
+ fi
+ else
+ # Avoid auto-magic on linker
+ if use clang ; then
+ # lld is upstream's default
+ if tc-ld-is-mold ; then
+ mozconfig_add_options_ac "using ld=mold due to system selection" --enable-linker=mold
+ else
+ mozconfig_add_options_ac "forcing ld=lld due to USE=clang" --enable-linker=lld
+ fi
+
+ else
+ if tc-ld-is-mold ; then
+ mozconfig_add_options_ac "using ld=mold due to system selection" --enable-linker=mold
+ else
+ mozconfig_add_options_ac "linker is set to bfd due to USE=-clang" --enable-linker=bfd
+ fi
+ fi
+ fi
+
+ # LTO flag was handled via configure
+ filter-lto
+
+ mozconfig_use_enable debug
+ if use debug ; then
+ mozconfig_add_options_ac '+debug' --disable-optimize
+ mozconfig_add_options_ac '+debug' --enable-real-time-tracing
+ else
+ mozconfig_add_options_ac 'Gentoo defaults' --disable-real-time-tracing
+
+ if is-flag '-g*' ; then
+ if use clang ; then
+ mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols=$(get-flag '-g*')
+ else
+ mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols
+ fi
+ else
+ mozconfig_add_options_ac 'Gentoo default' --disable-debug-symbols
+ fi
+
+ if is-flag '-O0' ; then
+ mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O0
+ elif is-flag '-O4' ; then
+ mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O4
+ elif is-flag '-O3' ; then
+ mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O3
+ elif is-flag '-O1' ; then
+ mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O1
+ elif is-flag '-Os' ; then
+ mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-Os
+ else
+ mozconfig_add_options_ac "Gentoo default" --enable-optimize=-O2
+ fi
+ fi
+
+ # Debug flag was handled via configure
+ filter-flags '-g*'
+
+ # Optimization flag was handled via configure
+ filter-flags '-O*'
+
+ # Modifications to better support ARM, bug #553364
+ if use cpu_flags_arm_neon ; then
+ mozconfig_add_options_ac '+cpu_flags_arm_neon' --with-fpu=neon
+
+ if ! tc-is-clang ; then
+ # thumb options aren't supported when using clang, bug 666966
+ mozconfig_add_options_ac '+cpu_flags_arm_neon' \
+ --with-thumb=yes \
+ --with-thumb-interwork=no
+ fi
+ fi
+
+ if [[ ${CHOST} == armv*h* ]] ; then
+ mozconfig_add_options_ac 'CHOST=armv*h*' --with-float-abi=hard
+
+ if ! use system-libvpx ; then
+ sed -i \
+ -e "s|softfp|hard|" \
+ "${S}"/media/libvpx/moz.build \
+ || die
+ fi
+ fi
+
+ # With profile 23.0 elf-hack=legacy is broken with gcc.
+ # With Firefox-115esr elf-hack=relr isn't available (only in rapid).
+ # Solution: Disable build system's elf-hack completely, and add "-z,pack-relative-relocs"
+ # manually with gcc.
+ #
+ # # elf-hack configure option isn't available on ppc64/riscv, #916259, #929244, #930046.
+ if use ppc64 || use riscv ; then
+ :;
+ else
+ mozconfig_add_options_ac 'elf-hack disabled' --disable-elf-hack
+ fi
+
+ if use amd64 || use x86 ; then
+ ! use clang && append-ldflags "-z,pack-relative-relocs"
+ fi
+
+ # Additional ARCH support
+ case "${ARCH}" in
+ arm)
+ # Reduce the memory requirements for linking
+ if use clang ; then
+ # Nothing to do
+ :;
+ elif use lto ; then
+ append-ldflags -Wl,--no-keep-memory
+ else
+ append-ldflags -Wl,--no-keep-memory -Wl,--reduce-memory-overheads
+ fi
+ ;;
+ esac
+
+ if ! use elibc_glibc; then
+ mozconfig_add_options_ac '!elibc_glibc' --disable-jemalloc
+ fi
+
+ # Allow elfhack to work in combination with unstripped binaries
+ # when they would normally be larger than 2GiB.
+ append-ldflags "-Wl,--compress-debug-sections=zlib"
+
+ # Make revdep-rebuild.sh happy; Also required for musl
+ append-ldflags -Wl,-rpath="${MOZILLA_FIVE_HOME}",--enable-new-dtags
+
+ # Pass $MAKEOPTS to build system
+ export MOZ_MAKE_FLAGS="${MAKEOPTS}"
+
+ # Use system's Python environment
+ export PIP_NETWORK_INSTALL_RESTRICTED_VIRTUALENVS=mach
+
+ if use system-python-libs; then
+ export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE="system"
+ else
+ export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE="none"
+ fi
+
+ # Disable notification when build system has finished
+ export MOZ_NOSPAM=1
+
+ # Portage sets XARGS environment variable to "xargs -r" by default which
+ # breaks build system's check_prog() function which doesn't support arguments
+ mozconfig_add_options_ac 'Gentoo default' "XARGS=${EPREFIX}/usr/bin/xargs"
+
+ # Set build dir
+ mozconfig_add_options_mk 'Gentoo default' "MOZ_OBJDIR=${BUILD_DIR}"
+
+ # Show flags we will use
+ einfo "Build BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}"
+ einfo "Build CFLAGS:\t\t${CFLAGS:-no value set}"
+ einfo "Build CXXFLAGS:\t\t${CXXFLAGS:-no value set}"
+ einfo "Build LDFLAGS:\t\t${LDFLAGS:-no value set}"
+ einfo "Build RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}"
+
+ # Handle EXTRA_CONF and show summary
+ local ac opt hash reason
+
+ # Apply EXTRA_ECONF entries to $MOZCONFIG
+ if [[ -n ${EXTRA_ECONF} ]] ; then
+ IFS=\! read -a ac <<<${EXTRA_ECONF// --/\!}
+ for opt in "${ac[@]}"; do
+ mozconfig_add_options_ac "EXTRA_ECONF" --${opt#--}
+ done
+ fi
+
+ echo
+ echo "=========================================================="
+ echo "Building ${PF} with the following configuration"
+ grep ^ac_add_options "${MOZCONFIG}" | while read ac opt hash reason; do
+ [[ -z ${hash} || ${hash} == \# ]] \
+ || die "error reading mozconfig: ${ac} ${opt} ${hash} ${reason}"
+ printf " %-30s %s\n" "${opt}" "${reason:-mozilla.org default}"
+ done
+ echo "=========================================================="
+ echo
+
+ ./mach configure || die
+}
+
+src_compile() {
+ local virtx_cmd=
+
+ if tc-ld-is-mold && use lto; then
+ # increase ulimit with mold+lto, bugs #892641, #907485
+ if ! ulimit -n 16384 1>/dev/null 2>&1 ; then
+ ewarn "Unable to modify ulimits - building with mold+lto might fail due to low ulimit -n resources."
+ ewarn "Please see bugs #892641 & #907485."
+ else
+ ulimit -n 16384
+ fi
+ fi
+
+ if use pgo; then
+ # Reset and cleanup environment variables used by GNOME/XDG
+ gnome2_environment_reset
+
+ addpredict /root
+
+ if ! use X; then
+ virtx_cmd=virtwl
+ else
+ virtx_cmd=virtx
+ fi
+ fi
+
+ if ! use X; then
+ local -x GDK_BACKEND=wayland
+ else
+ local -x GDK_BACKEND=x11
+ fi
+
+ ${virtx_cmd} ./mach build --verbose || die
+}
+
+src_install() {
+ # xpcshell is getting called during install
+ pax-mark m \
+ "${BUILD_DIR}"/dist/bin/xpcshell \
+ "${BUILD_DIR}"/dist/bin/${PN} \
+ "${BUILD_DIR}"/dist/bin/plugin-container
+
+ DESTDIR="${D}" ./mach install || die
+
+ # Upstream cannot ship symlink but we can (bmo#658850)
+ rm "${ED}${MOZILLA_FIVE_HOME}/${PN}-bin" || die
+ dosym ${PN} ${MOZILLA_FIVE_HOME}/${PN}-bin
+
+ # Don't install llvm-symbolizer from sys-devel/llvm package
+ if [[ -f "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" ]] ; then
+ rm -v "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" || die
+ fi
+
+ # Install policy (currently only used to disable application updates)
+ insinto "${MOZILLA_FIVE_HOME}/distribution"
+ newins "${FILESDIR}"/distribution.ini distribution.ini
+ newins "${FILESDIR}"/disable-auto-update.policy.json policies.json
+
+ # Install system-wide preferences
+ local PREFS_DIR="${MOZILLA_FIVE_HOME}/defaults/pref"
+ insinto "${PREFS_DIR}"
+ newins "${FILESDIR}"/gentoo-default-prefs.js gentoo-prefs.js
+
+ local GENTOO_PREFS="${ED}${PREFS_DIR}/gentoo-prefs.js"
+
+ # Set dictionary path to use system hunspell
+ cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set spellchecker.dictionary_path pref"
+ pref("spellchecker.dictionary_path", "${EPREFIX}/usr/share/myspell");
+ EOF
+
+ # Force hwaccel prefs if USE=hwaccel is enabled
+ if use hwaccel ; then
+ cat "${FILESDIR}"/gentoo-hwaccel-prefs.js \
+ >>"${GENTOO_PREFS}" \
+ || die "failed to add prefs to force hardware-accelerated rendering to all-gentoo.js"
+
+ if use wayland; then
+ cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set hwaccel wayland prefs"
+ pref("gfx.x11-egl.force-enabled", false);
+ EOF
+ else
+ cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set hwaccel x11 prefs"
+ pref("gfx.x11-egl.force-enabled", true);
+ EOF
+ fi
+ fi
+
+ # Force the graphite pref if USE=system-harfbuzz is enabled, since the pref cannot disable it
+ if use system-harfbuzz ; then
+ cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set gfx.font_rendering.graphite.enabled pref"
+ sticky_pref("gfx.font_rendering.graphite.enabled", true);
+ EOF
+ fi
+
+ # Install language packs
+ local langpacks=( $(find "${WORKDIR}/language_packs" -type f -name '*.xpi') )
+ if [[ -n "${langpacks}" ]] ; then
+ moz_install_xpi "${MOZILLA_FIVE_HOME}/distribution/extensions" "${langpacks[@]}"
+ fi
+
+ # Install icons
+ local icon_srcdir="${S}/comm/mail/branding/thunderbird"
+ local icon_symbolic_file="${icon_srcdir}/TB-symbolic.svg"
+
+ insinto /usr/share/icons/hicolor/symbolic/apps
+ newins "${icon_symbolic_file}" ${PN}-symbolic.svg
+
+ local icon size
+ for icon in "${icon_srcdir}"/default*.png ; do
+ size=${icon%.png}
+ size=${size##*/default}
+
+ if [[ ${size} -eq 48 ]] ; then
+ newicon "${icon}" ${PN}.png
+ fi
+
+ newicon -s ${size} "${icon}" ${PN}.png
+ done
+
+ # Install menu
+ local app_name="Mozilla ${MOZ_PN^}"
+ local desktop_file="${FILESDIR}/icon/${PN}-r2.desktop"
+ local desktop_filename="${PN}.desktop"
+ local exec_command="${PN}"
+ local icon="${PN}"
+ local use_wayland="false"
+
+ if use wayland ; then
+ use_wayland="true"
+ fi
+
+ cp "${desktop_file}" "${WORKDIR}/${PN}.desktop-template" || die
+
+ sed -i \
+ -e "s:@NAME@:${app_name}:" \
+ -e "s:@EXEC@:${exec_command}:" \
+ -e "s:@ICON@:${icon}:" \
+ "${WORKDIR}/${PN}.desktop-template" \
+ || die
+
+ newmenu "${WORKDIR}/${PN}.desktop-template" "${desktop_filename}"
+
+ rm "${WORKDIR}/${PN}.desktop-template" || die
+
+ # Install wrapper script
+ [[ -f "${ED}/usr/bin/${PN}" ]] && rm "${ED}/usr/bin/${PN}"
+ newbin "${FILESDIR}/${PN}-r1.sh" ${PN}
+
+ # Update wrapper
+ sed -i \
+ -e "s:@PREFIX@:${EPREFIX}/usr:" \
+ -e "s:@MOZ_FIVE_HOME@:${MOZILLA_FIVE_HOME}:" \
+ -e "s:@APULSELIB_DIR@:${apulselib}:" \
+ -e "s:@DEFAULT_WAYLAND@:${use_wayland}:" \
+ "${ED}/usr/bin/${PN}" \
+ || die
+}
+
+pkg_preinst() {
+ xdg_pkg_preinst
+
+ # If the apulse libs are available in MOZILLA_FIVE_HOME then apulse
+ # does not need to be forced into the LD_LIBRARY_PATH
+ if use pulseaudio && has_version ">=media-sound/apulse-0.1.12-r4" ; then
+ einfo "APULSE found; Generating library symlinks for sound support ..."
+ local lib
+ pushd "${ED}${MOZILLA_FIVE_HOME}" &>/dev/null || die
+ for lib in ../apulse/libpulse{.so{,.0},-simple.so{,.0}} ; do
+ # A quickpkg rolled by hand will grab symlinks as part of the package,
+ # so we need to avoid creating them if they already exist.
+ if [[ ! -L ${lib##*/} ]] ; then
+ ln -s "${lib}" ${lib##*/} || die
+ fi
+ done
+ popd &>/dev/null || die
+ fi
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+
+ if use pulseaudio && has_version ">=media-sound/apulse-0.1.12-r4" ; then
+ elog "Apulse was detected at merge time on this system and so it will always be"
+ elog "used for sound. If you wish to use pulseaudio instead please unmerge"
+ elog "media-sound/apulse."
+ elog
+ fi
+
+ local show_doh_information
+ local show_shortcut_information
+
+ if [[ -z "${REPLACING_VERSIONS}" ]] ; then
+ # New install; Tell user that DoH is disabled by default
+ show_doh_information=yes
+ show_shortcut_information=no
+ else
+ local replacing_version
+ for replacing_version in ${REPLACING_VERSIONS} ; do
+ if ver_test "${replacing_version}" -lt 91.0 ; then
+ # Tell user that we no longer install a shortcut
+ # per supported display protocol
+ show_shortcut_information=yes
+ fi
+ done
+ fi
+
+ if [[ -n "${show_doh_information}" ]] ; then
+ elog
+ elog "Note regarding Trusted Recursive Resolver aka DNS-over-HTTPS (DoH):"
+ elog "Due to privacy concerns (encrypting DNS might be a good thing, sending all"
+ elog "DNS traffic to Cloudflare by default is not a good idea and applications"
+ elog "should respect OS configured settings), \"network.trr.mode\" was set to 5"
+ elog "(\"Off by choice\") by default."
+ elog "You can enable DNS-over-HTTPS in ${PN^}'s preferences."
+ fi
+
+ if [[ -n "${show_shortcut_information}" ]] ; then
+ elog
+ elog "Since ${PN}-91.0 we no longer install multiple shortcuts for"
+ elog "each supported display protocol. Instead we will only install"
+ elog "one generic Mozilla ${PN^} shortcut."
+ elog "If you still want to be able to select between running Mozilla ${PN^}"
+ elog "on X11 or Wayland, you have to re-create these shortcuts on your own."
+ fi
+
+ # bug 835078
+ if use hwaccel && has_version "x11-drivers/xf86-video-nouveau"; then
+ ewarn "You have nouveau drivers installed in your system and 'hwaccel' "
+ ewarn "enabled for Firefox. Nouveau / your GPU might not support the "
+ ewarn "required EGL, so either disable 'hwaccel' or try the workaround "
+ ewarn "explained in https://bugs.gentoo.org/835078#c5 if Firefox crashes."
+ fi
+
+ optfeature_header "Optional programs for extra features:"
+ optfeature "desktop notifications" x11-libs/libnotify
+ optfeature "encrypted chat support" net-libs/libotr
+ optfeature "fallback mouse cursor theme e.g. on WMs" gnome-base/gsettings-desktop-schemas
+}
diff --git a/mail-client/thunderbird/thunderbird-128.2.0.ebuild b/mail-client/thunderbird/thunderbird-128.2.0.ebuild
new file mode 100644
index 000000000000..37b1a02af219
--- /dev/null
+++ b/mail-client/thunderbird/thunderbird-128.2.0.ebuild
@@ -0,0 +1,1190 @@
+# 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"
+
+MOZ_ESR=
+
+MOZ_PV=${PV}
+MOZ_PV_SUFFIX=
+if [[ ${PV} =~ (_(alpha|beta|rc).*)$ ]] ; then
+ MOZ_PV_SUFFIX=${BASH_REMATCH[1]}
+
+ # Convert the ebuild version to the upstream Mozilla version
+ MOZ_PV="${MOZ_PV/_alpha/a}" # Handle alpha for SRC_URI
+ MOZ_PV="${MOZ_PV/_beta/b}" # Handle beta for SRC_URI
+ MOZ_PV="${MOZ_PV%%_rc*}" # Handle rc for SRC_URI
+fi
+
+if [[ -n ${MOZ_ESR} ]] ; then
+ # ESR releases have slightly different version numbers
+ MOZ_PV="${MOZ_PV}esr"
+fi
+
+MOZ_PN="${PN%-bin}"
+MOZ_P="${MOZ_PN}-${MOZ_PV}"
+MOZ_PV_DISTFILES="${MOZ_PV}${MOZ_PV_SUFFIX}"
+MOZ_P_DISTFILES="${MOZ_PN}-${MOZ_PV_DISTFILES}"
+
+inherit autotools check-reqs desktop flag-o-matic gnome2-utils linux-info llvm-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}esr"
+
+if [[ ${PV} == *_rc* ]] ; then
+ MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/candidates/${MOZ_PV}esr-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}esr.source.tar.xz -> ${MOZ_P_DISTFILES}esr.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 +openh264 pgo pulseaudio sndio"
+IUSE+=" selinux +system-av1 +system-harfbuzz +system-icu +system-jpeg +system-libevent"
+IUSE+=" +system-libvpx system-png +system-webp wayland wifi +X"
+
+# Thunderbird-only USE flags.
+IUSE+=" +system-librnp"
+
+REQUIRED_USE="|| ( X wayland )
+ debug? ( !system-av1 )
+ pgo? ( lto )
+ 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 )
+ openh264? ( media-libs/openh264:*[plugin] )"
+DEPEND="${COMMON_DEPEND}
+ X? (
+ x11-base/xorg-proto
+ x11-libs/libICE
+ x11-libs/libSM
+ )"
+
+S="${WORKDIR}/${PN}-${PV%_*}"
+
+llvm_check_deps() {
+ if ! has_version -b "sys-devel/clang:${LLVM_SLOT}" ; then
+ einfo "sys-devel/clang:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
+ return 1
+ fi
+
+ if use clang && ! tc-ld-is-mold ; then
+ if ! has_version -b "sys-devel/lld:${LLVM_SLOT}" ; then
+ einfo "sys-devel/lld:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
+ return 1
+ fi
+
+ if ! has_version -b "virtual/rust:0/llvm-${LLVM_SLOT}" ; then
+ einfo "virtual/rust:0/llvm-${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
+ return 1
+ fi
+
+ if use pgo ; then
+ if ! has_version -b "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*[profile]" ; then
+ einfo "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*[profile] is missing!" >&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 \
+ --enable-thunderbird-rust \
+ --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_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
+}