diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-04-18 08:46:05 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-04-18 08:46:05 +0100 |
commit | cf1a411e806b434c96329401a6ff0901ec7f0d5c (patch) | |
tree | 969527fcceb3b686400c73b5ed22c1d587a8eb3e /mail-client/thunderbird | |
parent | 6a01345ec5dc673d0ebd4653ceb063eafa7fcf65 (diff) |
gentoo auto-resync : 18:04:2025 - 08:46:04next
Diffstat (limited to 'mail-client/thunderbird')
-rw-r--r-- | mail-client/thunderbird/Manifest | 66 | ||||
-rw-r--r-- | mail-client/thunderbird/thunderbird-128.9.2.ebuild | 1171 |
2 files changed, 1237 insertions, 0 deletions
diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest index 28eefae818b1..703e8bc52342 100644 --- a/mail-client/thunderbird/Manifest +++ b/mail-client/thunderbird/Manifest @@ -138,6 +138,71 @@ DIST thunderbird-128.9.1esr-vi.xpi 790624 BLAKE2B 4db0053b2b3a759b2f9669e67105a8 DIST thunderbird-128.9.1esr-zh-CN.xpi 790963 BLAKE2B 1daf03c672558c502b3f58df73bbe312af6ad72d1a479c5a58f94d497f4695bcb52c6d514f24dcdbd2f111d166de4eb873d95f7e1b456b9690986ecaabb732bc SHA512 f7595bf7cec3543cb61d527b00299d9c6a41b2855c0fecb9078c0f249f078dfd82d6a9b99aa24817fed7d524987f5f299f4ae5447def1f2ece84a3b8df375536 DIST thunderbird-128.9.1esr-zh-TW.xpi 794256 BLAKE2B ae935095826acbfb328e2d443e17c6f3ddb604c98497839605a782097befaf7e36f13e361bc3c763f1aaf30ffa0e2a6d12327d873eb381c55a4b8fbc8b2ee59c SHA512 849850d9fbb4822086a713cc37a4380b4d85162048ca0c0a6a70425829f634529ba60d4fef36e24338248961d4b622231b78fe15e5e0a8e0da9bca58fe474b11 DIST thunderbird-128.9.1esr.source.tar.xz 674219396 BLAKE2B 2b9690dc6396c3bd3074fc7b9015b35d9e5957df2d885c7142ce21a26fc69baa1acbeb0944ab7a97cac6298ae7b6d518b07cc14677e0ee8e02fae17375596cd7 SHA512 bc53ad210c6942fd4a5d31e693d6f376c009873397ea4e3c36d9de33d9dc1af5a3ff9e6ca9039dd8849ea8b56daa220f08b7bef4e2ea1b86e98dfe3b9b58dc0d +DIST thunderbird-128.9.2esr-af.xpi 534913 BLAKE2B 578f563773716438ef53e6e6d0be730e7ad82719dc968d9842ea77b4f2a2493743d00aa4d689a16755f2afe11b250841816ac7c45c279fd47fc622a8b4dd254e SHA512 4858224f1a82438c7a988e32e2ead50ff7ee6ee18c79aa247a4da7005902c29a62c8552be8ebd685a8f7dbd23fe7d2738b0611848a134e8ed0400ff50b2b523a +DIST thunderbird-128.9.2esr-ar.xpi 686462 BLAKE2B dfaf8e6805a3c065f4ce1237481cea624f058daa540068d238489ac05908d3d2ac45ea11afdce442e4c9b06f041a27cb4aae570a68693146c15cbd70145e5ddc SHA512 5418a8e7763a1dced512501d17fc252886efdb535b0b2a4080d40b92d11e0e4b9c19cc756a14f3136402d22c4998cac531660ea0c9ee19669b6eeb9168f4ce3c +DIST thunderbird-128.9.2esr-ast.xpi 574779 BLAKE2B fe77dafdf4c08101dfb417fd6790633c2b54b4de7df9ed9556b5ce1c6b49186fcad1f733c3f5da7196976e3c17246584ca588783377b061c4cd7bde555d1faf9 SHA512 3585c10ae4d65bcb78bdf47318b0e91eda71aa4bb0cbe72f26bfa65ff7543ea12bb4f513d44c4f61f7c9a97863c11af449377abc7bafafb03c9245b559042dd6 +DIST thunderbird-128.9.2esr-be.xpi 781612 BLAKE2B 387d855e7ebc12802ddc464e1869c50090afe50c59436abce9124fe92cb3a5d964407e038c8b420f5d93583a7cd40c5f1dc3578c0db71235d8791e6139f426bc SHA512 7f33543b4658a530513e55f0b2a2054080993bab24f91d1aa0c99a16cce03588abb91d6fee20b8d75e0316576738b2889931e1bfd670d8545bb7003e0dd9e270 +DIST thunderbird-128.9.2esr-bg.xpi 814007 BLAKE2B 80d0e825b129774065433ba095d14691832dfd0fda634a571af4c6cf98f58f185977703641640ac8f864940d1f7143a634cb0052d9c84a1ba5e6546ccb03ff3f SHA512 acba92529ff749a27185928c5f89fd63cc472105537b6a9081f1eebe8443e7cfc8e9f4d42e87198e731679d8c8fa28c02f4c1f6cb89a84098e674024eca1e4d4 +DIST thunderbird-128.9.2esr-br.xpi 650139 BLAKE2B 8df6a7e9a1c33cee0ad057e4f3f1bba8a75a2feffc2c5d210ab6581ff056f260d5f51f99b2604163676e7ad8774f06ac8e52b345a3795f3d89b52046ef45c6f9 SHA512 2111b1f2a8a6d3a7c9aac88fa2b80daba834bbfed5ecb8588dcbe7b1764ac7b97f2dc118ae80ef2827a40a6f1c95ca267e9befd369d62aa7c2a9c49e701d2dbd +DIST thunderbird-128.9.2esr-ca.xpi 704673 BLAKE2B 36a059e6af9a747350980a9643f04b61255e4a212a731dd10309463098833c88d25cb804dfb8c95858b5cc9b592cfe8b09fb423716ffbb44cefb295d32119cd5 SHA512 7d6be4c35433505963776409d7c3ef63fb01cf485db3b64b283abdd9a1cce7b63d10de4f2f61cb03d4aece02271228e47ae0d463948c6136ce00c89ab95208cd +DIST thunderbird-128.9.2esr-cak.xpi 669095 BLAKE2B d9f9210e23c1397a7844988afab84bc6c2c259294069ca37b29a19c2a979c86f9d4db8b56eebcb1db2b1a01a311682128517bfe0b7c464d60e9301cd935dedbc SHA512 2e957bf6ebfacf7831e80838531c6576d38c2fc676c5ef822be9aec857d9331b10a3fc282723bda2246de7186684e0bcaefcf33fb3766bf3098078ab3f5e01fb +DIST thunderbird-128.9.2esr-cs.xpi 789856 BLAKE2B c032b06e7876c2046c5b891578ad45589caf392b337206358c3f91ae20d16dbb842ed17e6bde52c0cff2ff95c28a49049a682d8a087f5bfcefe2b96282f8c686 SHA512 608e573ce57fad531d3e7f490c0e8c88c585d44237eb781e447b51d527ce7098e12b4179f1b763b0abd150d19c9c4f92401702bcca7344d1073e9077a0b48c3c +DIST thunderbird-128.9.2esr-cy.xpi 753576 BLAKE2B d9efe55f9109a8deee020fa7f6d7e958a7af237acec4d489d39b38c2ca12f201e78db9ef70535a89e84beabb08660a200f3e25a62b6e1b8bbdbaf53adbfdfbea SHA512 644d65d5804bafb6dcf474bafd4e6706835c5e4df8b22902ef61ba0669b4aac14fd55ba145e10c1a5114d3f6afb635eb55d931e5f3c5f2bdb3d11fd99986ed55 +DIST thunderbird-128.9.2esr-da.xpi 738601 BLAKE2B 4c1c8fe16a3e27f1253ca1504caeb99a5d3662b16a85aa6e2df2c096a5435a28910a83c62f91e74b4c263b322c38276775ec26a8b4c6414793a7ce73b981903a SHA512 3b975020316d86d8e7a29fa65eb3e908400af5a2360044584699c69a39a7bec93f20f200a7f71d7160112024c84443d9a7c7a49c407d1d16d732e7d9a462d5b1 +DIST thunderbird-128.9.2esr-de.xpi 771420 BLAKE2B 09dbcb0bc9d186c6540d93a98bb7608247c8d01e1725583a23e6220b192c8e513941965b08f9befd969f3d52bd4d05d82753145004222378f37b953b960d9ea7 SHA512 6573b034e9a01b9320106e1a48d707c0862bad9d7c72fcdab21716dd8133a243fe943463d2c5cb287e1281fd0981fd0bd0a001e6274a1e516f09d3790b4e93aa +DIST thunderbird-128.9.2esr-dsb.xpi 787498 BLAKE2B 282de02e1946a4a3cf200244e487820956062955047ef7ae53cce9d9ab8698130be49a7f638b551051bd9c09861dd01162c6abc81f4fcb7e9f74ff474d568c16 SHA512 1003fb6482d867bf4bffda93f09257dcf1385d167f54b27a87b1ca6d1637ecb769503d3479c3581069b38c093f527ad3ad93862c2839f521c780a92a34470231 +DIST thunderbird-128.9.2esr-el.xpi 892796 BLAKE2B 512122a05978d9e917909eeff5727e5a32d57fb54ce3dd43fb4ed702c9f3ac9ce4f0c3b9b5befe0e285e2246c1ce1eeb7b6d4e5419620e9a246205000a8ab499 SHA512 66c6e0d8f62ece91967361f400c4738b526961badf161bfc72de8203e187b743eaddc4faa04a1dbbf304efc972c8d0d4a803c6219b19f79f66235c34a3d6033d +DIST thunderbird-128.9.2esr-en-CA.xpi 705369 BLAKE2B 18a293c59807da5c100c609cc752bc8ed6480222c3248a4ba54e0c499e59a6ad367887642102d9c8098199a5054a9b11c436d54a346503e7e79d1eff197e5e29 SHA512 59f6748f54d58846b971635d63447e030b05e9b232502e4a2bbead0832dfc53ba89236a9b36a552dc05d7e83595f470e02c70c04fb4338a24e470ec2978d108d +DIST thunderbird-128.9.2esr-en-GB.xpi 705107 BLAKE2B 7270e5d00c7f6d8e9f4dfb8103191ddaee567a48bfa971c5ef0edbe938a857c4a005167bd7e61d887e1a2cdbeb79c3604ec04e7e45c3edd843bc61223ced97a6 SHA512 57ce937b91c264e00834fc27c8decdc7fc1f324296b500b4833f988eb06fe7859559056e6771de9b214186eaddba1e3f833bee47138b28ad8721a3e87d36efbe +DIST thunderbird-128.9.2esr-es-AR.xpi 760990 BLAKE2B ccd61db66f4c404482cc6029a41fef2f8307c9ed798c1fbc9e09a3f33a2f4b984091024d24398c814a2c7c2ecb0fbe5af07b6af867646190c21c6a156273741a SHA512 671574d9abc7ea429716152eab8a1af0f5133bf413dd78bb19871f474a211b821f757d3e5bd5ba53efec2f494b869e3981269055222c90be958607bdbf697408 +DIST thunderbird-128.9.2esr-es-ES.xpi 761586 BLAKE2B 8e8216351b0215164309e3463276e434546563306fbdf4d90c948d38d67ce5d870fdf8becc6677936febfd94297aa2c10deb492dc4bc63616bef93c73a267119 SHA512 d46b588a3a9ef40b462816a4bd8a081b64f5406e87b7d162470c9831633a47f4581e46467deeb1f7f6b29ac471804cc4a44c9f3df8d3debe0d0db55d83e6ec3e +DIST thunderbird-128.9.2esr-es-MX.xpi 756969 BLAKE2B 57fb147e69aa749ad906c8d211972ec702e13b798df9da9f1c596a00b8f3378b51c1248a733e4cc0baae1bf37c590ff07f8a9edbc222b30f0f4c3ac705b9bd08 SHA512 6015c4155a0cb86f2a3a9939aab47cff71bee1d8a3d0bb0668e0714de6130917826e4069170ccd9875fd0ef8f4759ad26f05b9eeae12dc8a608600ab6f0edbc0 +DIST thunderbird-128.9.2esr-et.xpi 692375 BLAKE2B 4d1fe0558cdd60fdce3703fa88874342ac1247aa5457574426d4610de62c56b15e5917ea62a37932a585584e959d1a8634afdebee0a9105ca1ab7f8fc3fff95a SHA512 059bf63a8e9afefa497452237c8b584c80e077c6887f8fbaab51906c32b9b252a758e3bd5c30c9dbde0f272f55d14f6c990a74771df39784207aa7e413b2cf4e +DIST thunderbird-128.9.2esr-eu.xpi 737437 BLAKE2B 9a066e69e1796a0a11104a7e0d131da292098d05fcf2fb816e1b7763b2750b37f7ba9a8258d06a966e8e04c3e658b403a233e976c57392c602bb12fdbbbb9071 SHA512 a9f8f26227d0b3a3fe8f0174e0591688a87c5aa22e3da742ec9813b1e4877bd77b64fc4bc01b8b726d8b85c0a08b678cf548b59ab2f6987168fe6fd24eeff95a +DIST thunderbird-128.9.2esr-fi.xpi 735346 BLAKE2B cfa8ae8868daab34130858999b308dc361cbb5bb15b82bfd8408975c0cf170087bf3702518696130f2f0563f5b03be5e580731ef5edf3dfb3c42452f3ba0b759 SHA512 19d9c93b60d6015ff10ae2dc1ea611f6146c3d78818b5415b9b3f80817a18390bb02e2a95e3e6d947e3a311b76bfae3795ae59d404846df56ecef68bdfec1e52 +DIST thunderbird-128.9.2esr-fr.xpi 775199 BLAKE2B b2441f33b7531ddb3d56a8e4c292d4864009ca0f831cee13dc63c29d6bdc931e98a28be02696716e1d684e297e22a4ea8cf95ce946e16f8273ec6818e9120138 SHA512 fe477c508cf6fbe9ccc5567c673760bdbdc589da5ef90b09eaeae49696c58cb1f56cc3c5eed74c9eb8c59d0435a7f257321625d4782e0268bad034d94026f98c +DIST thunderbird-128.9.2esr-fy-NL.xpi 756473 BLAKE2B d53bf64e048f6b62feb574e044a99eaac5c0355df6074c66e1ed8f07874e3dda389b69fbc03aaf21805d65a352c078278c4121950bc8353e5cbca947cd081890 SHA512 5bc69699e72d44166250c233223f17fcae0d6f852b28d8cc639bb2ea4f5a77b652ec0d32086f2775bd191c708712c7b316e8b3eae33ffce64207de7f8b89f85d +DIST thunderbird-128.9.2esr-ga-IE.xpi 614301 BLAKE2B cdb7a595bee2c98248b0212a37aecb13a9f1bd6c78b95b9774860136b3d5b7cf866ab7a08ff51c564e41731da66cbe08155a6ee043bff569d3952b10d08f3f79 SHA512 b16ceb98d0793e26ea2d8492203ffdafb5ccca131bbcfba7c54adb3b46ca2808acd42daaa102896f78b940786af2a0337208976928fdf2b89dcebc7c4173dce1 +DIST thunderbird-128.9.2esr-gd.xpi 723344 BLAKE2B 8a29a8efe9797723423f1338b1998e281ffc8b7aa92f9323dda63196916226bbe5b79f56cfcc48755dee972656624da02db6fea19ff0fd9a89222d62a704868c SHA512 64d3bf479682a1118b7e5d8ee6deb56cc316deab6fa2c0e249099473f12a5e2784e632a9fda50ac68a47259a9edb2dfd640c5040342217a3495606964bf1048d +DIST thunderbird-128.9.2esr-gl.xpi 738663 BLAKE2B 5ee2e977157575ef2d0553b5da835d7ca508b58d6d75eb9ab7052869bf5b2a580c49faa7553d89f488d6be430d69f8bd729ac38d73a0684f963533c5ad8976fb SHA512 8a690ce14fa5827e39ae74c8acb284091a9f62fb2a97a677a5672e0288c4a1b207e476b9ec23570fcf6e801ecc1f38e26b65de5fe9604f8d5be209d02d2f46ab +DIST thunderbird-128.9.2esr-he.xpi 696999 BLAKE2B db98d3812e0dd86b8a148efa6663df98868cc044dbb06ba16630b8c71e1d3ff6eb6aaa4e9faab5bf78f1c80cbf8380d8039108c8bb7ad93bc9a1dcac9b280118 SHA512 bbc10b2d2473003c781c2edc910d36b4ace5a81b6f9402877199dfdbee707ba0987540f64f03561a24620a4422c60615b7a2d724c4ec71ff0ddcab847520d335 +DIST thunderbird-128.9.2esr-hr.xpi 724037 BLAKE2B d89f3ca08d0c0519f4f2c4c6da17c42ac32e66364a965ddfd618a7f89caf08e5d24944ed394eea61cc5f2e655042568b3a8a6738919e756fd158867d8a8325c5 SHA512 477dcb2b554d64654e1178be16326693e4406280f936bf7091ab7d19063c36847ec632e6b5e1bc61fa07a19a6bc520afca05152986ed7ebff9a44e4305312aeb +DIST thunderbird-128.9.2esr-hsb.xpi 784036 BLAKE2B f79a932530c100b77250d1a0ef064bddea5baf005658595b18487566e94c601ef595e831e3d46dcd254debd004de92fc45c354d217132164cff746f1d64f64eb SHA512 393eead55446a892eb50717f09443d77d4a2089b320c5c9be149f76c8c10f17015f2e5fb8a7852de829fd5eee5d0ed38f1ecca7a75c0fdd3ef5bacbea4aaabd0 +DIST thunderbird-128.9.2esr-hu.xpi 787700 BLAKE2B d80610315585deea76a58b1c579c77e7d5725cb63c76837b9f022bf58cbda2244215f19ba19b6dc8b7f367fac9e70a1cf3514b642eb42d65a76e4bedc9ad5ab7 SHA512 3bef2f80ed08521e54c24dabf1d358be698d68787555b39377e2f7ed5d8145144b8aa4e7675f03a0d1e7a4a5d0b031435f87b859767f964373688c22f4ad4c12 +DIST thunderbird-128.9.2esr-id.xpi 721178 BLAKE2B e05127e023ff8ef544a53c108e2a6c0c127391b447eda29fabd9d219679a81ba0103d0ba051c4e25ab92a202688627ad52921cf68736add521f3588547e7c899 SHA512 e2100596d8d9e93c078c12b1dec6c3202a691a3cf11e3f95e4326b7fa4be06738142b88d8b6e48a47a2b94a2b9f3b018b2be78d761c5849746d968efb9ed3740 +DIST thunderbird-128.9.2esr-is.xpi 750934 BLAKE2B 744287866cf6559ed3330c40b0b8e9a85ce894c46b41cb39f1ba9a31cfd51cdb4c94d83d578f409e9227eb16d0b7a755f2029abc23238315ea7d698ce83e8f53 SHA512 2e923fb245d4f759cd4f21dbffd7457e65db1a3fc1852133dac960c5cb3c321ab8ec0b8a6d03df0bae6d29cfda93607377851ecd487ab0f92017878282378453 +DIST thunderbird-128.9.2esr-it.xpi 752077 BLAKE2B be0b05aff90c1ffb81a4dfe2af6c382ca6ba08251e9ff61d9978f384b3196bb3ba7408c6c47698b3da94144b65c0b7e91875ba003ed762faa7060e4216491e8f SHA512 a9c32fdcb9aec75b0b439b9d36e10d38f804c94e71a0b183ac48451b91ac3b7c617fd8afd36e490e6587c4bf555526503187028bf04d52db094f3f41ce5e5014 +DIST thunderbird-128.9.2esr-ja.xpi 822946 BLAKE2B 1106aff4b1274974b09100469681898b2349e9291f6ba5ce188b812f0a2b92728e0b1adf6bc7ae50866d0c64135cfebadfa9f76ee509d93a734123a40bfd5de7 SHA512 acd569c3c96f8623cbeb21b1695b22f3e89ca550dd1cf9b842ba90b2c816738fc9520302c2c087823c3d3bdb38b6c2ce5ba98b8e2ed38b1e1e3150818774090c +DIST thunderbird-128.9.2esr-ka.xpi 814153 BLAKE2B e1c560bff362d30d1ba5f3bab4b264accd4ae6b1aaad93ea5c995ecf605bf941d01c42f665003b35909cfcec4d361a2cf75ce3894b886e06f27323b96c85d9f5 SHA512 df41d2a1265f0fd6e47acc643c66dcb51c390b61472b12f5e1f14839c82da9e20304895849a7905d32b854ca820ab222e92fb9e799af3df159c6492fc6c19ca9 +DIST thunderbird-128.9.2esr-kab.xpi 729659 BLAKE2B 926cf07078bf07a21a4d946ca24cf3b75f5eb98817eb3f4d45f6b550580f70de2ab1fca6625777a48a2317b216e2adc3ddbcf4d515f9bd328501ac12a60e444c SHA512 7caa7f8eee0e2bcff71191b6175b9b6cde104e32e746f29ecb42120e254eeba1715fbd268bdb544f1536187a8a8e912c5f095ba52a74ef798097c1f077aff9a2 +DIST thunderbird-128.9.2esr-kk.xpi 856115 BLAKE2B 72a8b6244fe18b86a0fcde2d1e12af53fe813634a5d9aa03aa06040197bc36cc064a20b64dad0ca7629f9293473cc6fb1fb1b9db994f180526e67f9a4bc7a952 SHA512 d2375f5098aa4f6747185ba8dcc16895ec7f78bad44f77642aa92ede3ca096ca8f934071aebe07e10adb35e71a0d5ba4f28d3cc044c421b49be5bdaadcfd4522 +DIST thunderbird-128.9.2esr-ko.xpi 790139 BLAKE2B 94e5c08601394e83569b6adab5637c3365c868757f532472797b629398f9258df3bc104301e9dc8113271b3c3541a4845a1cd54ad524cbe5d8e746a24125b2aa SHA512 c80d5594d4ec787cd6e494f41c74dbfc3dba334f282fa63da970d967a995ba80f7bb291bf6d2ea340a003880046fa15c4efeb188941d893e15311b7ec2a785bc +DIST thunderbird-128.9.2esr-lt.xpi 696749 BLAKE2B b13c2ec7754d112b8359614b1932b581a7575885b2e66da8cb2d71903e2fb6aec522aa81f5e84b2dbde6f3d13892eee0f16fc788a55303ecb8f31abe18060fe5 SHA512 5f1ea5e590d151e76a788f68e89c5981ea07a089e1d3ab29ea5b489388041bce989478f93025becc4054799f51b7fc8cbe3042b5f58a66cf9d8665d5423e287c +DIST thunderbird-128.9.2esr-lv.xpi 626196 BLAKE2B 6de713146b34cfcc30ce7950bff34d168f2996088147660f64742f4b135a0202ef6810710c4779d47f6c4b5607944c9adf28841e11b93ee14269d254a42dc6a4 SHA512 c689f3c92c583d09499d70a4e9276b6b1d40618f67cc0926ed55fdccffa11d953a2171c15035303a488fb175995a8117048a587989956f38a03a7f8429053992 +DIST thunderbird-128.9.2esr-ms.xpi 586656 BLAKE2B 824da40e728e177fc672747a48b6176f5cbf637c34492c42f0870d6e2f1312f2fff6bcf651c64d98bae239075c1c3bc632a03db418b9bee4cbd3c652df90915d SHA512 375dede00eb63e5132420ea3bb60fe146ae6368187cec7139348925bd9bef1dd31f78462144946d0465e5468bde515a9b1bcf4a21f9c896c66dc87ece5ac812d +DIST thunderbird-128.9.2esr-nb-NO.xpi 700494 BLAKE2B a0a5f7d933971b9365e47d030843650fdc6f8124ba745a3ec4b28844d29443f22960e55a65203d13d170eb84446684cf587681c368013164474c2ceff7e99383 SHA512 a35cb1a31ade9e4c40964cb9de237c13b5eb485dd909ba15745ddbd4318ac49a4482239e45fbdf1f26226c7d875c61513f65846d5ce368278e1ed6b86970bd17 +DIST thunderbird-128.9.2esr-nl.xpi 746755 BLAKE2B 45f988114df47476c192d5b460dddbc6cc282f62ab9694dfc0c133e3e0687e6785b656bd27b83ba834042ad60154074079035e3969947b189aae3d3cb1deabac SHA512 507df111ffe06be85f9f2f58c9cd0912ca665b815001434e8d2105a1030b77c24a571928925edd9f2dac8f75dae99d59c8ec2300bdd3ab98ecd97d2059872fdb +DIST thunderbird-128.9.2esr-nn-NO.xpi 726226 BLAKE2B b5d280b4ac1ee59df6cd2432958358ddc13ee4a447ee69a3fb6070e8d26b00b1f20f39ccf5ab1b2a9be7068cb62df9a3d0f21aa53f4722a6e5ad8d266c5db3c9 SHA512 e812a091c92b08357f9477be0606bebf08528df2f5132564e8375d9ceb15901ce04f117abfb9ad832b4684598505c8ba09ee19a94d00eccbb94676b639505fa5 +DIST thunderbird-128.9.2esr-pa-IN.xpi 687931 BLAKE2B 0bc717c0b6b856647f5c7b4119bca3bedd8538795aa29b127cbd86f02367c2252799e76a0895ab56908f27946d5c84f7e0945760bb61f25bd2395751c97e049d SHA512 5eec98a92e8848ef6fc7f3f2ce5bc92c83f09b25d30b0e1e19c739150fec5e1f3eb43d6b9aa3b747b71301ed5170f399f56300870e5131cd5154676cb1ca69f3 +DIST thunderbird-128.9.2esr-pl.xpi 785522 BLAKE2B 267ba42e3551212a94f40c1e2eb42d7b927eea734e81802e96b3b6acc323442513ef8c4d3a660afb88d157363f2d04b1969cf9e7640d374d1887378a37da1d6c SHA512 af862a09101690b18d853f9fe382ee87a7035db70550f01c12a2ebeebb7dc9527d0ec77e72b038db6644cd33afec4d38df23d98b34fa3ac2f0e7c5b5dc85b201 +DIST thunderbird-128.9.2esr-pt-BR.xpi 754954 BLAKE2B 9dca01cfddd9aede76842ef8b3774a888900c1c82973dc435039e02dbe0b19c19655b8260de6ba6c25cf3b5231ee44bb3080b18678df52a91274cffb7d3c8b3d SHA512 76f4a3b55b3ad65ac816bbdf4662675c9e24c691973c75b5cb84f3c1664ff728fddf9067b1f4f39285ab2363cdfaf503d15808c36ffcacfa38b42bf95c73f7ca +DIST thunderbird-128.9.2esr-pt-PT.xpi 747653 BLAKE2B 33ef3c9180ff605a0e9f1bdf5fa939980f912d72b33e0349ab95feaca7d6fc67944010a9aa0f8023e4d2d01ed010fe1db61e81bd6a30f6087977191464a733a4 SHA512 95433497d3cb3ce7c249537fcd34acf2ee7df9e1c4dea55d6899cfc746998e42bd49d6e290ee2a84aecbe1a0d3f0c400ab6b698acb17c31a79e1a475747cb68b +DIST thunderbird-128.9.2esr-rm.xpi 750656 BLAKE2B b0297af4f83293e0e916b1425029dd6a04a3aaa20bd459827c9483fa1a6c5cb818cb53bcfeaa914c74bcf164186c230eebfc98d96364b8ec2a76f727681c1c51 SHA512 302856232d5c33d7cc3549c14ec867ce62dadc3b17c9bae3bdbc7eb9fbfe528c989b562eebbae86248e0f4a6ca2316dd15afda2898784f207b051ef64dc9ca99 +DIST thunderbird-128.9.2esr-ro.xpi 666551 BLAKE2B a157c246af378314bf008898be0426d2f98568c8153c9a3f87920232152ad1cf06f1241f4b10141d70aa0d1f739e70aceaa64d64df88ed4010e4b00f6264647e SHA512 66fd97de9523cac68a3e8d9ad40f25ceb080338b3575647d959e937a8517a0afe277c866a97fbad1ba03a84c104b8bb07d8e30d6b158fb198ff351bf821f043f +DIST thunderbird-128.9.2esr-ru.xpi 875876 BLAKE2B dce6e20f7ee33cf885ca881bf7e14e531442bece8c1b2b784d4b38f4956c164e6d2be24b896376602ab0ed2f4279a22a97966523b4502f0032c78e1794740d5a SHA512 572f9de7818415812c806fcf8db02d7420011a68c9b408f3f0f03106f0df36b97ac51203a73382d6d0f358cecfa41b70feba63238582ec07b3e879f0adfbef7d +DIST thunderbird-128.9.2esr-sk.xpi 789276 BLAKE2B c2e689c0e9b6a3f2639519a767fb013595339594bcefe29b16bc60d611cda1c8ee429f76123cf986354b221858f4b553f89fbfb2533920c4e1e11e9d0461bcc2 SHA512 7daaaf0b627b98b625d696d591f8b40804703d0e4cc833d0a658b76f8b365ea4f1d5e5823480fe950ed956c2ce8c2664188638cd700a9ad7bad4286fa48ee2b3 +DIST thunderbird-128.9.2esr-sl.xpi 750620 BLAKE2B 12a098edb805ddd20aca80c20d6a44041c86429e3af7728d12958a2521fb844ff685ded67fe384b216989f88f7cf041be8af3375741b41531b39edd2ab62a26a SHA512 f645ba0ec5d18bab3532c5525b3820716beef19b3328bf4beb0897f5bcd3e53abe4d329f8010be3cb19d17d59a990b9a10fb7323549227b1880cc066cd472898 +DIST thunderbird-128.9.2esr-sq.xpi 773100 BLAKE2B 7641ec827e788a566365b4b251ff51839b8f0e578b28308e9e30833bcd6d364de3802dd2514bfcf484a858994cacc8181b4d70df4cb847bbfeece820df039f21 SHA512 7fae159f7825f7ff72e44a795460f87799bee69471bd1cdbd00850f8b05a2bf28e3ef17a1b9b5cb8fafcef6156fceba8fb83d56da60775d22dfd1bc9e5ab5fef +DIST thunderbird-128.9.2esr-sr.xpi 766344 BLAKE2B d60503e04de6abca129c66d764460b63b889e359c8e9ad593d8bcf6cde4630ad5786efa2d22e5fc3b66dbcae4516791b9b456398c1727dc69f788e73a32cf463 SHA512 00c172bd0f7e994dacdee527571bdca564a12d666325afee56af318aa1266a62534c73fdd284056b550a6e66c81037a10dc833c6817ea70f305331dd9ea2fc2f +DIST thunderbird-128.9.2esr-sv-SE.xpi 750538 BLAKE2B 3f4400ab0ee4a1cd08111345f8eec87c5a6d8c1c152f0b0ac9135b348becce5707b872f455990dde301fe9abf9f810e07a4273f17bc841279c5c5c50eae588e5 SHA512 7518f2f8d6377597e9032cfcdbd7c879b01080c64f103ad84bb1fd3f68999320fbfb77932045059ba26e274263b0b629d83fbd87867a932825715f56b2a73ea5 +DIST thunderbird-128.9.2esr-th.xpi 846501 BLAKE2B fe728650067b48fcec26017325968f9e8365aa224d164e5b3824027fd674158e0be34e2a4642f38d5f5cbc56790c9d5d1fb4a7e65bf816f7c9bb7abb242e0b2a SHA512 6ec8a3b4288a21e05f4f8717187297969623dc37afb46073fda25404ae0d6cef4711901387ddfd5953d2934e55e198ae34416247fa626c99004dd1e3071e23a2 +DIST thunderbird-128.9.2esr-tr.xpi 762699 BLAKE2B f3277d574e9955fc8c9fdbcfbb34563a714d2e10f02cada4a440ffddf79c4bdad9300a96fe77fe6d8d28c0a516967278ec63dc62110f57a18e68c458f5197edf SHA512 f15ae2bd268668e2d5cc8a7766e026d5502e95779371c1001b2f3394f9bbbeb5a89f856fecb57b883dd2b85e3456d6e7bf787c341b8f3c07008e00fefdbe9802 +DIST thunderbird-128.9.2esr-uk.xpi 864130 BLAKE2B 689fbfe78774f97f85c778e0b3cec1313e05e8c971f6b205560d7699ac442d340d5fcd91f7a92a67755b5607c9dd16699d944f2996106e7c7e9697e48268a7a6 SHA512 bf34458a7703b43b7b9f23d292fb89ed593dd85498d2435789c055586c455d7ddcf346e1d39b46d12532adfdbd9196f16f28fffa98a376cc474d2e70efcc93f5 +DIST thunderbird-128.9.2esr-uz.xpi 589339 BLAKE2B c6921a539458f163828a686ce9c8c2a709487c02f5c6165c09bc609f4cb55a02704c39d9e8970c651550c819daf299bfaa06989b0f449dce089b5f02997674c6 SHA512 79c4a292ce928d2a25b096774bab2501a84106370d6fb154ed237da3f64bca960f373b4d982c103c8f90cf1696e9ad2b41292f87b065482e8b623a2aabf74a2c +DIST thunderbird-128.9.2esr-vi.xpi 790624 BLAKE2B d8dbe793502d2f080ec1e3ee0952c788569a29d80d0f23cb97876f0fc2c2010aa1ca695c74964002b906d02ab50936f9a3c4c92c4190434036136347c2e14410 SHA512 9153a48647693989edeae1bbf1ac0542e689205c8f701ed4c989971548a396b1d856bf402b02a26ca01781c1bd163ab26deaa1d73e8883313e9527932baa0d00 +DIST thunderbird-128.9.2esr-zh-CN.xpi 790962 BLAKE2B 58152b99fbb1b8844ea072ffcc9f0ccda8db7701b51c400195519082f91833acc89e2654786f39827042f7a11f193ee23881bcc80a9332660c4f1cf13d7d47cb SHA512 712e8ec25d13018ed389a4ef28a235da47a849072815df41f60ab7fa02145296ff8f80b7e0dd54cec88362b56547c8e3f6902a38a72b97c3a9e771a0309f17e9 +DIST thunderbird-128.9.2esr-zh-TW.xpi 794257 BLAKE2B 8f4a7185ce11f62b179c6f07580cc8b267ec322afe40c3037e517283bb546d39ba6d236d5ca3282e7e6d4cb0d3cea72e2e51f69263e54a1c22caca8c848c2f70 SHA512 795078b20eb1b7056d6d56658874ac94bf4be619579eef1eb5ba5ef4faa3e04cadbfc09b46357dad44bbe272e7b7b12ccdbad1163d02f13cec474ab0250b2221 +DIST thunderbird-128.9.2esr.source.tar.xz 674861236 BLAKE2B 51f72cd370790541fd43dc1207c2f13419db2100635b3840c50767ee782e617666d40e181577ffe3e22594547554c33394d0edb64f59b049e47031026e174012 SHA512 3c8df53304611c1a7f8c02d50cfa1017f4d64c50a93fd6603ce0766cbb5d63c7bc5e0276f155c35817c3efa49f683c05583ddf24257bf8c25f585b67fd732cb5 DIST thunderbird-137.0.1-af.xpi 315723 BLAKE2B 476d0cd1ed6e15500c3ceef61910313fe2aa9066459f41df45484372e92638c871d3316d4679509e117e6d318e6948bc55361a40d8ae613c60a3d1debff3049b SHA512 861497204e4843037ab1d2dd00570a76a4f9c3a7fd381a45b74c911e18f0026cdf510556d263e36d133ca5375ebcb1a0c7a871e3efc1497166b6310c2337c1b6 DIST thunderbird-137.0.1-ar.xpi 432365 BLAKE2B 69c825af9cfc5eaf2a221f21f70ccd8c1907efbc44738ca7f5f09c5893e52e64bde5365ce9e63ee8038f654733f81444a8053b901741de74cb1462e3d3fa42df SHA512 73f8436375b9cc749c58bc53b5040468412ab3105711e6caa1af01a8c100574e3b0cf50571f19bbeacfedcc3cb932e4f77197a5718cef95ed4f438ec4ad779c7 DIST thunderbird-137.0.1-ast.xpi 341313 BLAKE2B 27a0042e6064b0fa83271469e5b3c1e059541606f27e639d036a11b700a24c3e7b52c6eaa23939639c1013a95117bdb2507d7b5c16f613ccde2d0bc8f1c561f2 SHA512 93fe47a583061a22ac61adb6ac727f1cf92002321e89a8211ca328fb3c3e8138840b3a4cb683b85aed488d21faf69d3e522018bf87d77c06dd145dcb578ade91 @@ -270,6 +335,7 @@ DIST thunderbird-137.0.2-zh-TW.xpi 505943 BLAKE2B 15ce3d3a5be8d70e460b2543aba53a DIST thunderbird-137.0.2.source.tar.xz 724560064 BLAKE2B 7ac15397211bd92ad95f0502c5acbab38c156811b18b5bf039819bda45b1682b0fe6c6772f0f6ce05237510a7953ce9d0170ab440436631df3fc3ff4de02c926 SHA512 6cc631d14780f1bf9224208881c14834cef078688ffa006f50dfdd3a4e81c95255fb455f530a09a0f296dc494af104aefe2414ac53c6b8c9956ca1a9d7a7e053 EBUILD thunderbird-128.9.0.ebuild 34256 BLAKE2B 17dc6c3617ef5faaf39fc2b52f81c6d653d5e233e486d480732c4d207263d75d15e101079a46dbfd8406fd22f5e150e555286b4520efd53cc1b58c91aa92b2d7 SHA512 c8fda6c491a05ad12c222cca4a5e75d75d5e70fd23f1602f9973915c44b018c6294fa6d5f65c8cb42c824809f9d92589bef0da0b5296a35de7a095d2e870d380 EBUILD thunderbird-128.9.1.ebuild 34257 BLAKE2B 8561ca03ea1f0ca6c52b3282f63f09dff98884d0a09e73df4aec6e81a399e51a5d7a0795869a10377c89856abfaf23ce1fc2539d6e71ede92434e1ba8139eb59 SHA512 d6232cb1c9f0df4ab7b96720f6370bcf7608b5de6bee06e3932ccf6472a3b1c0347fb97a9a715ae9b30569fd8986cea865800b740fa59b8d2fddb3937cc96b0f +EBUILD thunderbird-128.9.2.ebuild 34257 BLAKE2B 8561ca03ea1f0ca6c52b3282f63f09dff98884d0a09e73df4aec6e81a399e51a5d7a0795869a10377c89856abfaf23ce1fc2539d6e71ede92434e1ba8139eb59 SHA512 d6232cb1c9f0df4ab7b96720f6370bcf7608b5de6bee06e3932ccf6472a3b1c0347fb97a9a715ae9b30569fd8986cea865800b740fa59b8d2fddb3937cc96b0f EBUILD thunderbird-137.0.1.ebuild 33815 BLAKE2B 80cdc94078fdd77a8b90d3162dcc446d464b696a9e0dca5cb17cafe57d19f2c0f84196ab2e8a1b8ec07fda19336b6b00b6a07bd818689dc357cbd1fc42517a36 SHA512 2ef982430c1906e1ec409d26e9af9f4d2256b30619afba3d3e6c3410dc85d6df13071a42800fa05f92910be61426f430ade58a22037b8cc8473c1f2904348c69 EBUILD thunderbird-137.0.2.ebuild 33815 BLAKE2B c1e35429df362aea60dc7af187dd068e8c1b0cdbaee3a4eab3b7f6d3920900f2bcad210c4994e58169a671b0edd98df9b1404ce8c94ec974be631c3eaa93b715 SHA512 219a3c56e0aa1e2bd51c89e55c67b406d3268e9c64c5805b3c7ae1cee3b5b3c9303fabed1bf96f99fdc87d66e4f6086e0dc4e87c33812a2727f72e0910d636ae MISC metadata.xml 2277 BLAKE2B e4681b61ae7363d0442ad382e5972c7654624c2033e43559d9d751af8abcebf6e1badede00b68d8f28ba0eda4b060acb3f730b79181d0acfc286c1a03c7cc2fe SHA512 517460e6a4ce6232570290b69596bc2e1913c7a95ef4df62216df4d3be7b8c83247004916ed5e74d285951d9e9d96fe80406d128a0764ab41aa26458805a1513 diff --git a/mail-client/thunderbird/thunderbird-128.9.2.ebuild b/mail-client/thunderbird/thunderbird-128.9.2.ebuild new file mode 100644 index 000000000000..c737cf50b0a6 --- /dev/null +++ b/mail-client/thunderbird/thunderbird-128.9.2.ebuild @@ -0,0 +1,1171 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +FIREFOX_PATCHSET="firefox-128esr-patches-09.tar.xz" + +LLVM_COMPAT=( 18 19 ) + +PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_REQ_USE="ncurses,sqlite,ssl" + +RUST_MIN_VER="1.77.1" +RUST_NEEDS_LLVM=1 + +WANT_AUTOCONF="2.1" + +VIRTUALX_REQUIRED="manual" + +# Thunderbird will have separate release and esr channels, matching Firefox's rapid and esr. +MOZ_ESR=yes + +MOZ_PV=${PV} +MOZ_PV_SUFFIX= +if [[ ${PV} =~ (_(alpha|beta|rc).*)$ ]] ; then + MOZ_PV_SUFFIX=${BASH_REMATCH[1]} + + # Convert the ebuild version to the upstream Mozilla version + MOZ_PV="${MOZ_PV/_alpha/a}" # Handle alpha for SRC_URI + MOZ_PV="${MOZ_PV/_beta/b}" # Handle beta for SRC_URI + MOZ_PV="${MOZ_PV%%_rc*}" # Handle rc for SRC_URI +fi + +if [[ -n ${MOZ_ESR} ]] ; then + # ESR releases have slightly different version numbers + MOZ_PV="${MOZ_PV}esr" +fi + +MOZ_PN="${PN%-bin}" +MOZ_P="${MOZ_PN}-${MOZ_PV}" +MOZ_PV_DISTFILES="${MOZ_PV}${MOZ_PV_SUFFIX}" +MOZ_P_DISTFILES="${MOZ_PN}-${MOZ_PV_DISTFILES}" + +inherit autotools check-reqs desktop flag-o-matic gnome2-utils linux-info llvm-r1 multiprocessing \ + optfeature pax-utils python-any-r1 rust toolchain-funcs virtualx xdg + +DESCRIPTION="Thunderbird Mail Client" +HOMEPAGE="https://www.thunderbird.net/" + +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[@]}" +S="${WORKDIR}/${PN}-${PV%_*}" + +if [[ -n ${MOZ_ESR} ]] ; then + SLOT="0/esr" +else + SLOT="0/stable" +fi + +LICENSE="MPL-2.0 GPL-2 LGPL-2.1" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +IUSE="+clang +dbus debug eme-free hardened hwaccel jack libproxy pgo pulseaudio sndio selinux" +IUSE+=" +system-av1 +system-harfbuzz +system-icu +system-jpeg +system-libevent +system-libvpx" +IUSE+=" system-png +system-webp wayland wifi +X" + +# Thunderbird-only USE flags. +IUSE+=" +rust-extensions +system-librnp" + +REQUIRED_USE="|| ( X wayland ) + debug? ( !system-av1 ) + rust-extensions? ( dbus ) + wayland? ( dbus ) + wifi? ( dbus )" + +TB_ONLY_DEPEND="selinux? ( sec-policy/selinux-thunderbird ) + !system-librnp? ( dev-libs/jsoncpp ) + system-librnp? ( >=dev-util/librnp-0.17.1 )" +BDEPEND="${PYTHON_DEPS} + $(llvm_gen_dep ' + llvm-core/clang:${LLVM_SLOT} + llvm-core/llvm:${LLVM_SLOT} + clang? ( + llvm-core/lld:${LLVM_SLOT} + pgo? ( llvm-runtimes/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 + amd64? ( >=dev-lang/nasm-2.14 ) + x86? ( >=dev-lang/nasm-2.14 ) + pgo? ( + X? ( + sys-devel/gettext + x11-base/xorg-server[xvfb] + x11-apps/xhost + ) + !X? ( + || ( + gui-wm/tinywl + <gui-libs/wlroots-0.17.3[tinywl(-)] + ) + x11-misc/xkeyboard-config + ) + )" +COMMON_DEPEND="${TB_ONLY_DEPEND} + >=app-accessibility/at-spi2-core-2.46.0:2 + dev-libs/expat + dev-libs/glib:2 + dev-libs/libffi:= + >=dev-libs/nss-3.101 + >=dev-libs/nspr-4.35 + media-libs/alsa-lib + media-libs/fontconfig + media-libs/freetype + media-libs/mesa + media-video/ffmpeg + sys-libs/zlib + virtual/freedesktop-icon-theme + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/pango + x11-libs/pixman + dbus? ( sys-apps/dbus ) + jack? ( virtual/jack ) + pulseaudio? ( + || ( + media-libs/libpulse + >=media-sound/apulse-0.1.12-r4[sdk] + ) + ) + libproxy? ( net-libs/libproxy ) + selinux? ( sec-policy/selinux-mozilla ) + sndio? ( >=media-sound/sndio-1.8.0-r1 ) + system-av1? ( + >=media-libs/dav1d-1.0.0:= + >=media-libs/libaom-1.0.0:= + ) + system-harfbuzz? ( + >=media-gfx/graphite2-1.3.13 + >=media-libs/harfbuzz-2.8.1:0= + ) + system-icu? ( >=dev-libs/icu-74.1:= ) + system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1:= ) + system-libevent? ( >=dev-libs/libevent-2.1.12:0=[threads(+)] ) + system-libvpx? ( >=media-libs/libvpx-1.8.2:0=[postproc] ) + system-png? ( >=media-libs/libpng-1.6.35:0=[apng] ) + system-webp? ( >=media-libs/libwebp-1.1.0:0= ) + wayland? ( + >=media-libs/libepoxy-1.5.10-r1 + x11-libs/gtk+:3[wayland] + ) + wifi? ( + kernel_linux? ( + || ( + net-misc/networkmanager + net-misc/connman[networkmanager] + ) + sys-apps/dbus + ) + ) + X? ( + virtual/opengl + x11-libs/cairo[X] + x11-libs/gtk+:3[X] + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXrandr + x11-libs/libxcb:= + )" +RDEPEND="${COMMON_DEPEND} + jack? ( virtual/jack )" +DEPEND="${COMMON_DEPEND} + X? ( + x11-base/xorg-proto + x11-libs/libICE + x11-libs/libSM + )" + +llvm_check_deps() { + if ! has_version -b "llvm-core/clang:${LLVM_SLOT}" ; then + einfo "llvm-core/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 "llvm-core/lld:${LLVM_SLOT}" ; then + einfo "llvm-core/lld:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 + return 1 + fi + fi + + if use pgo ; then + if ! has_version -b "=llvm-runtimes/compiler-rt-sanitizers-${LLVM_SLOT}*[profile]" ; then + einfo "=llvm-runtimes/compiler-rt-sanitizers-${LLVM_SLOT}*[profile] is missing!" >&2 + einfo "Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 + return 1 + 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 debug ; then + CHECKREQS_DISK_BUILD="14300M" + elif tc-is-lto ; then + CHECKREQS_DISK_BUILD="10600M" + else + CHECKREQS_DISK_BUILD="6800M" + fi + + check-reqs_pkg_pretend + fi +} + +pkg_setup() { + + # Get LTO from environment; export after this phase for use in src_configure (etc) + use_lto=no + + if [[ ${MERGE_TYPE} != binary ]] ; then + + if tc-is-lto; then + use_lto=yes + # LTO is handled via configure + filter-lto + fi + + if use pgo ; then + if ! has userpriv ${FEATURES} ; then + eerror "Building ${PN} with USE=pgo and FEATURES=-userpriv is not supported!" + fi + fi + + if [[ ${use_lto} = yes ]] ; then + # -Werror=lto-type-mismatch -Werror=odr are going to fail with GCC, + # bmo#1516758, bgo#942288 + filter-flags -Werror=lto-type-mismatch -Werror=odr + fi + + if use pgo || use debug ; then + CHECKREQS_DISK_BUILD="14300M" + elif [[ ${use_lto} == "yes" ]] ; then + CHECKREQS_DISK_BUILD="10600M" + else + CHECKREQS_DISK_BUILD="6800M" + fi + + check-reqs_pkg_setup + llvm-r1_pkg_setup + rust_pkg_setup + 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 + + export use_lto +} + +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} == "yes" ]]; 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" + elif use arm64 ; then + export RUST_TARGET="aarch64-unknown-linux-musl" + elif use ppc64 ; then + export RUST_TARGET="powerpc64le-unknown-linux-musl" + elif use riscv ; then + # We can pretty safely rule out any 32-bit riscvs, but 64-bit riscvs also have tons of + # different ABIs available. riscv64gc-unknown-linux-musl seems to be the best working + # guess right now though. + elog "riscv detected, forcing a riscv64 target for now." + export RUST_TARGET="riscv64gc-unknown-linux-musl" + else + die "Unknown musl chost, please post a new bug with your rustc -vV along with emerge --info" + 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-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-ffi \ + --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 '' --enable-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, since it's not activated automatically via "known arches" list. + # Update 128.1.0: Disable jit on riscv (this line can be blanked to disable by default), + # bgo#937867. + use riscv && mozconfig_add_options_ac 'Disable JIT for RISC-V 64' --disable-jit + + if [[ -s "${S}/api-google.key" ]] ; then + local key_origin="Gentoo default" + if [[ $(cat "${S}/api-google.key" | md5sum | awk '{ print $1 }') != 709560c02f94b41f9ad2c49207be6c54 ]] ; then + key_origin="User value" + fi + + mozconfig_add_options_ac "${key_origin}" \ + --with-google-safebrowsing-api-keyfile="${S}/api-google.key" + else + einfo "Building without Google API key ..." + fi + + if [[ -s "${S}/api-location.key" ]] ; then + local key_origin="Gentoo default" + if [[ $(cat "${S}/api-location.key" | md5sum | awk '{ print $1 }') != ffb7895e35dedf832eb1c5d420ac7420 ]] ; then + key_origin="User value" + fi + + mozconfig_add_options_ac "${key_origin}" \ + --with-google-location-service-api-keyfile="${S}/api-location.key" + else + einfo "Building without Location API key ..." + fi + + if [[ -s "${S}/api-mozilla.key" ]] ; then + local key_origin="Gentoo default" + if [[ $(cat "${S}/api-mozilla.key" | md5sum | awk '{ print $1 }') != 3927726e9442a8e8fa0e46ccc39caa27 ]] ; then + key_origin="User value" + fi + + mozconfig_add_options_ac "${key_origin}" \ + --with-mozilla-api-keyfile="${S}/api-mozilla.key" + else + einfo "Building without Mozilla API key ..." + fi + + mozconfig_use_enable rust-extensions thunderbird-rust + + mozconfig_use_with system-av1 + mozconfig_use_with system-harfbuzz + mozconfig_use_with system-harfbuzz system-graphite2 + mozconfig_use_with system-icu + mozconfig_use_with system-jpeg + mozconfig_use_with system-libevent + mozconfig_use_with system-libvpx + mozconfig_use_with system-png + mozconfig_use_with system-webp + + if use system-librnp; then + mozconfig_add_options_ac "+system-librnp" --enable-compile-environment + mozconfig_use_with system-librnp + else + # This controls the backend of the bundled librnp. Choices are "botan" and "openssl". + # RNP Upstream recommends to use botan. In Gentoo it's preferred to use system-librnp. + mozconfig_add_options_ac "+bundled librnp backend = botan" --with-librnp-backend="botan" + fi + + mozconfig_use_enable dbus + mozconfig_use_enable libproxy + + use eme-free && mozconfig_add_options_ac '+eme-free' --disable-eme + + if use hardened ; then + mozconfig_add_options_ac "+hardened" --enable-hardening + append-ldflags "-Wl,-z,relro -Wl,-z,now" + + # Increase the FORTIFY_SOURCE value, #910071. + sed -i -e '/-D_FORTIFY_SOURCE=/s:2:3:' "${S}"/build/moz.configure/toolchain.configure || die + fi + + local myaudiobackends="" + use jack && myaudiobackends+="jack," + use sndio && myaudiobackends+="sndio," + use pulseaudio && myaudiobackends+="pulseaudio," + ! use pulseaudio && myaudiobackends+="alsa," + + mozconfig_add_options_ac '--enable-audio-backends' --enable-audio-backends="${myaudiobackends::-1}" + + mozconfig_use_enable wifi necko-wifi + + if use X && use wayland ; then + mozconfig_add_options_ac '+x11+wayland' --enable-default-toolkit=cairo-gtk3-x11-wayland + elif ! use X && use wayland ; then + mozconfig_add_options_ac '+wayland' --enable-default-toolkit=cairo-gtk3-wayland-only + else + mozconfig_add_options_ac '+x11' --enable-default-toolkit=cairo-gtk3-x11-only + fi + + if [[ ${use_lto} == "yes" ]] ; 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 + + 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 + + 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 + + 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" + + # 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 [[ ${use_lto} == "yes" ]] && tc-ld-is-mold ; 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 llvm-core/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 exec_command="${PN}" + local icon="${PN}" + local use_wayland="false" + + if [[ -n ${MOZ_ESR} ]] ; then + local desktop_filename="${PN}-esr.desktop" + else + local desktop_filename="${PN}.desktop" + fi + + 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:@DEFAULT_WAYLAND@:${use_wayland}:" \ + "${ED}/usr/bin/${PN}" || die +} + +pkg_postinst() { + xdg_pkg_postinst + + 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 +} |