From 2073697492d489d4ac25280f773c33db213c0e14 Mon Sep 17 00:00:00 2001 From: sakaki Date: Wed, 3 Jun 2020 13:25:54 +0100 Subject: [PATCH] Add thunderbird-68.8.1.ebuild to overlay Remove --disable-elf-hack on arm64 --- mail-client/thunderbird/Manifest | 54 ++ .../thunderbird/thunderbird-68.8.1.ebuild | 777 ++++++++++++++++++ 2 files changed, 831 insertions(+) create mode 100644 mail-client/thunderbird/thunderbird-68.8.1.ebuild diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest index 69757590..6832ae6c 100644 --- a/mail-client/thunderbird/Manifest +++ b/mail-client/thunderbird/Manifest @@ -547,3 +547,57 @@ DIST thunderbird-68.8.0-vi.xpi 623423 BLAKE2B cc59029c5e48f42f61e02ba851cb2a4b43 DIST thunderbird-68.8.0-zh-CN.xpi 626818 BLAKE2B 19e4fa571f18fb0b866e1852684bdc77c469e3c49d78c13e29a09c20dfbd0407a5b7884f4ae0692dfbdcec015c17838233464a69ed1bab335c46c25dd714a292 SHA512 04e764f2a6633d45aac954856a6434c30e71afaedac2c1975330a01c503da43492d2bcfa51afc7a95061b26cfe03bed1df051713cc7578d372758e2fefb63451 DIST thunderbird-68.8.0-zh-TW.xpi 627476 BLAKE2B 6cd8f0e1e479e12834eda79795f8869d39b5bd5993a85cc62fa502ccf1086bc7641907090e55ca10bc4ff2f5aaa3cc9130df2d6b9864111b201020b4e860ce59 SHA512 84146e64e4d187ffc49b81cc02c92d9b9387481879b4bb1961dfed68b6b12ed7417c0e8e320aa4626136ce39c0e633eb0253139094e2ecab6c96f30d54f8e1b2 DIST thunderbird-68.8.0.source.tar.xz 335068956 BLAKE2B 41d016328f99e896551ca766521f314db1b0c7b46b47e6f2f6b48f9fc916b565b1ac1b8c52d1ee8dbb34cea6446bef7ff78575288d6f6eb57c2828e1df1e715f SHA512 1af899913454e97ba3b08a090f775c0ce65ae6d8c1d31171017f09355a0bb126516d4770b4a4a0e774419497c404fa70dcfcafdf767c9caba0bf1d658c0d9350 +DIST thunderbird-68.8.1-ar.xpi 617168 BLAKE2B d44fbda96eb9de9cb4daf9a9521c97ba7bc6590df9d9c476ef927b3145c37698d26cfdaf5bc96cde9ae29f556823e4a4874cbbfc731e37e99295aab31e4f4a2f SHA512 140dd39f43805c07423a3c747731a68ecceff4263ad3eed8d0450c7b52d4ec841947d7e2411b39a4ae0ebb5a49943463908d8ef91ec59e6bddb83ed7ed2af048 +DIST thunderbird-68.8.1-ast.xpi 551299 BLAKE2B 3e607e179ff2e0bcca691eb94b9eb610829b0bbd18f440716e2bc9b7f693db463a96e6c14af9847c07742e7c5db38b4bae9955de0bb0bb08044d281ab41da2ec SHA512 94f76e0d67c889704599658cd41cb58c92f500d22c8c3c90fb9b0eea63c07a3dc48daad331cf9654e30e2fb3a53d5d34a821741084f975ffbf225bb16ef07c83 +DIST thunderbird-68.8.1-be.xpi 646281 BLAKE2B f323209254a121f697e81f35a4f448d9879b07a9a71bdcd59fd2367c0314a18efe6a77ce171ed577e1e4748ac3ea9127c2c4bc423bc6c194cc5fa9d876c210d3 SHA512 23dd5504775cb637172a828be8d31012d673351274d93f309ae7302a05ea139fa860933e4f18b24c17d0480bfa50c02f0528a25d2f82c128f20d4e2df10b0a74 +DIST thunderbird-68.8.1-bg.xpi 646228 BLAKE2B f797ba2685773a7859d168b1887694d10592679dcff9fc1a23de96120e688dc9a9e1bccd592b73ff03114a6bbe0daefdcc7d071b3c4bc58c8543450d510f0018 SHA512 d118e47f7cdb26c05365c891d87c03f2bef2896b2b5818ec688e4098cdb72ade6ff585ae3232b91cb89ee2d434ebf2e3ea7efdf09495914f881a66833f95fde9 +DIST thunderbird-68.8.1-br.xpi 574853 BLAKE2B cbd840293897409b8ba5720d7ac8f5ddca587fbd72c449f004c25f250078e7eb8fc0669513ab9d5415e670e2eb163c272dda0d850029ce2c4c258a2527b30d1d SHA512 1e39f934bb0a01b6d37f754eea4be883760cf4d186c0383296018943b1e35a2c8a79222473a3be43cecc07e9285f1330605f8565d54e27713a76a7f14dd2c558 +DIST thunderbird-68.8.1-ca.xpi 578439 BLAKE2B 59529fea3c215f2523a0181eff4fa5132e91411f995bf694cfb5c8fe5d13506f6a0afd4ac74da0c172ec32e5184c00aebc45b27fcf2095c77ef64eaf751fe0d7 SHA512 02487bf486bae8e154a45d73c3877b23d0a8ead8e6b335d829ab5d11718fbca240bd972e6dfe99c5a93cf995cb6e8e3e50ac3f71a01ce4af775bad481318f39f +DIST thunderbird-68.8.1-cs.xpi 603043 BLAKE2B bb2d9ee278d303be62d5e582cdf6f5e156fa20468825fcda74c3d3d7a4f0ec94d1cbfead80a8cd8f3e083caacbe4df32f7d4d155cf926c18db6315fcdb40b516 SHA512 4d6ba4681908e7a95b464fd3461388047ed372f70bfa0b39fd05f9f05b9c8f9c228d6e929cc29ff7d050393f00fc98f4e90264f5770ac7d4b7e3c554f9352a20 +DIST thunderbird-68.8.1-cy.xpi 589903 BLAKE2B d0fbe63fcb991797d61b357903163a351cf1b465730dbdbdc8de5e633bf27c6361322436a7a82832d461d661fe7ae1c7343eba64a21e18aa1b61e1e9446562d4 SHA512 c74643766be993e8f12cd48036c4784bf76200df35993e6857ca64cd9be20488d5e1eaff6e854582845b4561482a003e8a70f7fb86ba2feab835fbe7c0a3eeff +DIST thunderbird-68.8.1-da.xpi 588350 BLAKE2B 5ee2863ebd37b18cf2a06c9a39cd6c4ee8cdf38e33dc7d1aa370197b564f300c1545b80ef3a9ad6567e7657fc1e6083187ff027e23fa69d60782672073f7c7cd SHA512 22de7a06ffa128265c782dfc558249aeb16f4e7edc1c3cc20dc8d05ce33389a3e12b904363b118cf93991a54988e2a9ff0b97ddcd1db862e90b50c45a585a5c7 +DIST thunderbird-68.8.1-de.xpi 597804 BLAKE2B a233cbefd305eb5cf98b3fce099821ad19ce967c9da0b9291d1e1a8d2607253002e45b917fc3b802e2f2909da561d5b78a315d809f27246d2882c72bd0052b87 SHA512 84f68db09c5f7fa51e36b1b6f36db53f3cb8ac5451411cf1929e912806e451fdfd0853f098335c58294a4e6ba8a51625c5cf696630fadf23bf16553378b4b46c +DIST thunderbird-68.8.1-el.xpi 699224 BLAKE2B 073c34e88cc35fd5ef4273d608e31ceec0a66e90f1ec2bbefbf8e4ee4216748da39a5f7d373f611c6819240f8a92b757ba9f1931a003f20cbba9e79fbef71d30 SHA512 c631e414f81f2294ffec211f34eff558b4ee2a50d254d3aa854ba582aa8c1095ac16d9f7814dd4f7e7740fefaecf6b44dacd9932be3b0ddb952575672de3899d +DIST thunderbird-68.8.1-en-GB.xpi 556403 BLAKE2B b848c8b6e401e55dd0f5c655a314ea231de5424d10703b9245ea6464c4e4a9e3844f7d26cd76cfafe804621f1c920d18be5b0af5b6d669c3dcd5b7310f51780d SHA512 dba0214379cc47bcb1382a02ade560176a84644d59ab968c208e1fe08b4123f33defae0d1a4b7fc89fd9764a975068b4421332f0e2e39aa6bc7938f06f968b2f +DIST thunderbird-68.8.1-es-AR.xpi 596551 BLAKE2B 9bc6d94a0d229777e23edaa444378362c521b9e8aa8baa37a06dcd5415e34bf4adf50514d0107c1adae7dcf191d885e0bcc69115428da2c5a40b844118af844b SHA512 ebe2e50e546604563c005ade6d2ed3fe3c9a6dcb7a67973057e814d8632244af9d2eab3105de62e54d74116429ada193bc79c9619d3370574a2d03b57b251c7e +DIST thunderbird-68.8.1-es-ES.xpi 518352 BLAKE2B ba2a2869be1c969ac3515094b39d321f5a9d03e696bca95fe66ac18f1c8aadf25b177c254e36abe2cc14de4b42dfa078986217c8c3ee6fa3b2ba5d4b94fdce88 SHA512 de619425ee7dfd5744997fe76bd6918e703d99c666e7d2d79e8048a4becd3a62bbd54f45561bc469324b4dadebb748f8be4476cd80f4e10f93ac2cd2594dee07 +DIST thunderbird-68.8.1-et.xpi 573582 BLAKE2B 5cde46e5c857fd80cdf35e0b4a57a2d1944ee84beb27b71db388bed6971de53e679c062a56ef8333d5eefdad2df3d5f555493019835a1676eea49fd1ca2758a1 SHA512 c46d72808313d9688cbcf3493a9d5328a603897e0785fd033187843b7a8db0d09da4428989bef75628c3f581778a9e67dbea965811c2f986d23de9b2d5d8716e +DIST thunderbird-68.8.1-eu.xpi 579945 BLAKE2B ddd160737a55eecb8b5d4cc78233e94fbeb0fa0ae9de0789429875c388771eceebcbf9d6af62253afb2abe7c85753eea83d88daead49b3f801ef5192a245c178 SHA512 ebd97db85adad98bc10077a390d03a4c8686d2d0e12713c5d7d37f761fc52e2cebb29633003ef50869b5166e0c2716b96db077d4b45a7333f0850bb9fd404a39 +DIST thunderbird-68.8.1-fi.xpi 578418 BLAKE2B d701f51cab8df2bf145b2f1c4b2e2ca1ebc4ed5ffdd608ec042a5c091e308cd783d2ffa7463eee054803754a5c02dd5dcb73676a9010f79be1c5d70414737070 SHA512 d3c0e891fed198e2654da5ae8f0458dc14aac58b27f05965fde2f631094df4d55685e4dbda989982bb8cadb0eeee0892bcb37e5508f009caac690df30c70f8c8 +DIST thunderbird-68.8.1-fr.xpi 607811 BLAKE2B e990aff44455330637cf38a797fc7c01be28b5bd74437b21bc3343389bd6b31c05032a12d2dd69d02e7208ebe42da22dd2279b8d765601e2d5f8346051289075 SHA512 35373679db5be0b78132505b083b37237cd88be55911a7536ee061fc3deb76fb5e80fcba160dd0beea063f45e6ed5247c76794ee73d7a0cfea64deb131499f36 +DIST thunderbird-68.8.1-fy-NL.xpi 594467 BLAKE2B 3d053e5f5bc3d368a8115fdccb662d6b191a44e205c3ae5ffc0e637f03627ad5a6384bea072997761fbe52c66987853d4907d7718d769545ca14aa0233a962a6 SHA512 7f4fc2d8ac13e65e3d5bd7dbcfeaa51d87b3d71b218a7ac2b51a2fc09c69259c6e328f5f1b569787cebdce7a214d4d6fcbaf847b996344af2483a792bb7893a4 +DIST thunderbird-68.8.1-ga-IE.xpi 588711 BLAKE2B 574a2d3031330f0eeb0549b9386082a1958358cc21bbaa67fd6e9256020aa693220674e542e7e37909757785960018536bd4bc20745a4dde2f39423fab3014c9 SHA512 91bf876675e480ab939d0ac662380d36a51d8d101885a68f123b661349d0709f864ecae8cf595d10a787c401ff475265af997c15629e444cbb2683d51d8fa8ea +DIST thunderbird-68.8.1-gd.xpi 587110 BLAKE2B cd3bbb2872f71b94b8cd77fabf05a4cfdebc74896a82d747c1e9fd6d619fc448f919c2eefb55f7f39753b5dfb6d7eee47fac7dac23eeb91fd6eb3937aae021bf SHA512 daae05b1b978ac3bcbf170c829014e4dc2bfeae23e0cf24e0f0867dee802b50c11d40afec2c5e4da6254bd2116efdc60bb6edb3d09c7b0560f1a57514c393d05 +DIST thunderbird-68.8.1-gl.xpi 568397 BLAKE2B 7d8bf1508395ff84a06d181bc8a5dbf992d0543d65d063911a91bc7b4707d453e2bc0b9d998e695f3d7d9068c06492017f96ff90d91f6fc4b5e9d7528840036f SHA512 deb5c876cc375a2d60b83a7c4d6f17afd575e1cc1b377837a6cbcef6b5708589f9af242f6e4b943e20de68f02d9b6f73bd03b9d65fc25c8d151840a5365cfaa2 +DIST thunderbird-68.8.1-he.xpi 604787 BLAKE2B 32b1b6c288871c36dad40b520038065d28ea4089bad232ff82275f26da3d615f7aacf09087380e586c9d310719ad603608f64d2e8d0413f5291c83415f85a9b7 SHA512 7f19b68b7915dcb671d2a08094ce9528106fbc1315407dae03681dc00eaa0ceccc43862de37f7988aa8903c630ca135e0412579d57cd9579c4ea892ebeac68f8 +DIST thunderbird-68.8.1-hr.xpi 583784 BLAKE2B ef3f62ef37c507b1bdd807a3e4d819dfa04b65379058363544408c0737cd03f8ba8b1c2e1f706657b851369a15dbf59c78527b0456acdb2c904367ab7087ee88 SHA512 96c8a1e80cebfc6d31eff0fa0d1e4bbb4a316695fcc27f6fe63ec43efe642eef0546b0f58beadf634952eb2960730b4317a0bfe29a19c099880dfbf439e7f436 +DIST thunderbird-68.8.1-hsb.xpi 616035 BLAKE2B d7c5150a6486fb3fe3c1018cf1d5b607084d7657c6e0d36d7f713a55bb34126f19d604ac5346b9cb66fae519c29e05ebf488710ee6ee5223492836f0a9f1d638 SHA512 c15fd63d2954d514a193c2a8ab6ba121025fba468757bc47d636975318bc2170d69380339c975c7cbf9d115113f5aaef6f2ac183e61cd98c62edcfda9813876d +DIST thunderbird-68.8.1-hu.xpi 618155 BLAKE2B 1427378ffdc12fd7d69dd1b1361719ada0a0f1d80e58ace7f58443cbcac9386094f3528b9295adefcc6521e418a7c5f16908bf63b19859c4f9ec7f200a96e2c7 SHA512 8ad4c119c41b13a9c2fcb296e21ac8ded9c5972600054ab5f295dd4a1216dc52482e694188306f1df37a709454fe84330a23ebe2bad21aa251b9f74d0f1b7ff4 +DIST thunderbird-68.8.1-hy-AM.xpi 631979 BLAKE2B 6dfe25756c886eb5c9b8b443bd28f46a7055511cc3f59aacbc15409b1cca5a41fc6c4acd6d55b3b05fb140c3ab571d1aba5d1871cc662994310a8bca60c72372 SHA512 fd415cb25ed8e5f04a7bc16d92ba497e8747aa248fc9997dcbbf1832575a6d6adeb89f787fdf99816006357674270db5d5ae65719d555cb5cbb1a156f9459804 +DIST thunderbird-68.8.1-id.xpi 567749 BLAKE2B 6d4abe1432b17cb022e11da34f57198fb50f55b66787a9c5362c58cce4d151b9587e657316785a71a4433eac80e360f88c903d5def8771811c180cdbfdca96bf SHA512 34a09adae9e7b23436fc33d848c723741153061c54baf501e290ebdb53212d6cff4d283a3d9974f4bfbc1fd0fe7bd0e19fb0529a85f9740706a40c6a115c9f45 +DIST thunderbird-68.8.1-is.xpi 575440 BLAKE2B c6aced0cbc03b5e6f05fe2daf4c2403da55fb66b5a35ea197f4527768ee81e5b00896031b9008b749995fb3880ae3b1de3008dc2e9200fced326c9e8798b2af6 SHA512 0f22756eb14ec9f73cbe6ba731f3c6196dfb7188081663b579cf29519a05f77e9c2e1e7919f180ba30e1c951f49ff7ed59aa231bc8bac11e7c880e1a80f8b87c +DIST thunderbird-68.8.1-it.xpi 489520 BLAKE2B b7b9fb11ed208d6cb5a409be4b4cc65f27f3d1b7e0fa32c193aa76695bc6ab59282bd10f766f7f053fd0a42f3495c410580373f2f84e020b4fa12c4a7282fc94 SHA512 6d63a2844516a19f9dffa9d1a61bbda86e1c53b2ec4bfb315c9c769565dc55dd13116823341d809c0e8c6de39cebe015d9423622dc63b50d9de6daa6a80e79ef +DIST thunderbird-68.8.1-ja.xpi 643575 BLAKE2B 59056399155ebbe3f07e0102528dc2b821d7a5d3b2feb3ba1f0f058afe45cb208a1b5a4092f3f378f9c59f21dfd85e0fc820d0fb42adbc717b84c0cd4ab41681 SHA512 8c2be19cbc069a1244270cb6447fa9e4e8a17a877ba76b1519deb29cef9cb6c7b1662b36bc02cb62f0f5e9f7bcf0832d3a7121a01760140ae3ac3e90a86d2b74 +DIST thunderbird-68.8.1-ko.xpi 620531 BLAKE2B 27be1be2bf874fca555c28bb74b6774101d0b6a0a86693725d1f5c60bb14e7b5726be187bd0430c5f458668a4ee01d62366106611b809d35f3af7907974b69f4 SHA512 161159af10b3e7bf050f50c4f90350611e7e5d1b574c7480b5ed461da85b2f46e83be5ff7601858fddfb15585bd6c7aa977feb5dbbd6e4ada41870d8998f2761 +DIST thunderbird-68.8.1-lt.xpi 603846 BLAKE2B 49ce6fe01ec682ed2d6934a902a53af52cb820608c2c3665a7410db54e82dffae0d82ff9bacce15961bf1ab4efff3876781addba070467265d9aca0be94257b4 SHA512 ca39ada0233c3ab67aa38ae0e2f0616b3a9262f90563470b374946ce40bd126002fd402abc552b20c56687f71e181f9557c34dbcf3d4e1dab8ec0bda3e529e24 +DIST thunderbird-68.8.1-nb-NO.xpi 574021 BLAKE2B 776d675da933d58163b990185382f224481889e8fe940a0c72d88243e1e06eb5735961d3ac67de4e89c9bbfb8aec05047cb9d688691b405849bb0ed7980c9a5a SHA512 591db6d31695f405201715b7c11105856d0fde703256115bebfc4c17e114cadafdef9c67bee31d8112922377b5b9de3906242cbfa8ac908838e2ef0bc51aadbb +DIST thunderbird-68.8.1-nl.xpi 581355 BLAKE2B fe9b32c898cc1d8b1d68679700b3924839195e23e40468c9eb454fc244e6f3d18487743825caf25ad1b2f0bbf4ea7821865c8f500ad1925ffb15ab54bc4038e4 SHA512 5448e33472e12bc383bded71a7ba22239e840a0d2e85befdfa125f3012f559d8c673b3a7319506e4d126e614639c68f1e1841ef9b411c44337ee7f05776ea3f7 +DIST thunderbird-68.8.1-nn-NO.xpi 574950 BLAKE2B b7b92ec6f52388b2c2383855867247730a970b15ad8208b600b36e915dd7db0c3471276c50136f425ce662b0986686da6a409bd1608d4079ea1594be9bc448ac SHA512 277fdaba93e11815c9475f366fac2aa8acad5224936b6424b4605bbb6a0c73a61e57f3a7d3d6c0c1772ded7700652810a7423a446f386a61ab55186b264236e3 +DIST thunderbird-68.8.1-pl.xpi 576084 BLAKE2B 8f9238d6c05267f9310eb9580fb721fc30d35ef2f7925badb2d9204e4d71ad36ee8fa01650dfc592a7425db338829d7c6f6d7d64ccb3d462183efa0b1aec1672 SHA512 27b98562b280db394035eb0b359d7dcde2e423c2ac41f7f41417fad0a91bdc9a092441b46b6ab4449b4eb48437fe43316999b02dff8bcc3518848b34cccf121a +DIST thunderbird-68.8.1-pt-BR.xpi 589838 BLAKE2B 8720fcb1ca9c46514e208c87e8b0131a049ba77ee0ddcef08a421ee62362f0e2b0b96dd1280889fd64925e9648ea3427848d0b0b09411232ef5c0d60d1985d82 SHA512 5ef5470601ff1c3b40948683272108a041cbd8a880fb9092afeef822457ec7fb1f81a224d4979255776207a36e1c87202da538a97f15b2aef60fef5261fa81d1 +DIST thunderbird-68.8.1-pt-PT.xpi 588102 BLAKE2B 94abce1930d13bff5bfbcf3b7a6a0e74812c0b6d69ba90ae0c33aec057cb9164fc8a8fafe2aa8ac9a03752016ad5d040225d89834235a6e774b71d6207d508c7 SHA512 18bcbe1ab95b78a6eaf70aff014a19461123ca64efdc27b6a799db00a90b9a396d71dccc413bd72ef84c4d6730f91c20cfcd444c2a3c93b50a8ad6454370cbb6 +DIST thunderbird-68.8.1-rm.xpi 578049 BLAKE2B 1d882012ee7436fac06cba5f11992de4bb0cd3660573887786b6fe8eb9e75e6cfbc901042e3d29d595ea20c04024972e79a8f34dd7bd2990c796e1a5f9d419e8 SHA512 e18e81ebee1e2f59cc15950a38993c376f6d3a2bdbf147bf753a7dd96cd5272108b91823862ea24b9211141fd7b3e8e10fc96bbec37944b20236fec08c2e4648 +DIST thunderbird-68.8.1-ro.xpi 594841 BLAKE2B 24074b205635c2d4395cc3d156a887e304d92ebf2d376c4af095704171dcda332fd338876a27766549b19c035903a9b11e94aeda0e7d3248d07046cc34c8b3b4 SHA512 8aa3010f51a61e076d1fca87f44dab2e56c27bfcbdb1507fa604a2723569a604583e29fa1ba0bbda82e93b0b69152a1212046876535e953b33517893a5e403b4 +DIST thunderbird-68.8.1-ru.xpi 683327 BLAKE2B fb353054ab7f04e563ceb401e9bc0002c7ca653648f0af0abf8e31dfe4dc1880ec5513740d2d49b1c61377851fbba72ecc63e493c0b75366fe6fbdfbe9eafadc SHA512 0e56a741e685959f66141ae96893f5b181ca43d2f6a05df7600967c990199805ad985029727c641b0120f40bd55757d2965aa48065b5ab34c947e9ed54914f42 +DIST thunderbird-68.8.1-si.xpi 637406 BLAKE2B 49365381d7588836ba2d5286e8061935527efa255c4f2ab8b86c38e3313b68dc224dc2f3a1495bf8a488692b31b2c1fc6fa3a8c2911e4b4d54c55f8ae2668d3d SHA512 6b62d1e0b5e20fb657a6b34b1dbc89b9db579bdf50cc70905b5561014903ff313a7dbd9e4fe06468c60c1d9adc5d46c8d070e757cda81a9ba0d6a7ae8c991531 +DIST thunderbird-68.8.1-sk.xpi 609753 BLAKE2B 600b1188fb78f2b3649f640177e4e43644a6045b2340dd991d2f335a7ca988f7e4d12128698ba74df87d64b70a9aefb83e2547b696e57b223e8a206570bbbeaa SHA512 fa12f45cad36b1fe651734de183f8bfe9608e7a7f9665a344bc3011594a1028f17cf74dc21b01e811f5ec337a47d353913f4f7822aea9d8085783fce7f2c984e +DIST thunderbird-68.8.1-sl.xpi 590628 BLAKE2B 796ed738bf03ae2c660c1bde8407582406e6274a3f7cdf53a55abdc6badff3437190b48580d5ce2a9b2ab37814ac706eeb24c6e9f7133d1c8cf151e6ffc592ea SHA512 81e75ef9bff2e099b0d66c0378ec03174bf31df2c4243d6be214e5ebb920658d110ae2120eb0e3f2e04c8d334a5823e3ff8b9744a195e3afd18472be0c988190 +DIST thunderbird-68.8.1-sq.xpi 598900 BLAKE2B 01eb23c6319b03353f252bd99ac5eb1b1c01b9071431ed24f82ad4481424d043c72908946ee0c4e839ffbc940735ddb9c533ed8c710fe012fe72a3cc6aa1f522 SHA512 9dfa5ceb5c771ba22ecf628020cb7e4003ffa8e322b43478b60dbf8b8e653aa1993b5f89ba5a1043be270b24e23a8f4cafd33a0fa9716e1d7573221fa63af7cd +DIST thunderbird-68.8.1-sr.xpi 624898 BLAKE2B 5783a07ec6e01de5fcc5fb4c54a68f605d371133fb21f2a09d029ab10802531cba8284e386e989e2d8c1fccc20f3b506fc7b6185b61de4993249ec67dc473e2d SHA512 3f2039940dc3e5e2544dd31839b2fe56e21620e2b526a0487a50884e2a3ffc51df9fdafc54fad23a05927c6f40c4ab29fd6748d15cbd889a54157f0c25b5b349 +DIST thunderbird-68.8.1-sv-SE.xpi 591595 BLAKE2B 8f44028fc00f330055b2e968e07c71a1f35c9be0d26bfacb2ce0cc76dcd475b0611ad77ca89fa82eb51dd511c7d86a0c7644a1221dadfc062ef13ed264329e10 SHA512 9d8f56fc66cc342f91fe27dafbd1591fa6696be40e504666eeae1a7962ea39dba087ccad864989bd490acc2a46fd9dabb5fcdcb0ee340c5da7e14183f710b9e9 +DIST thunderbird-68.8.1-tr.xpi 599707 BLAKE2B 508ce6e7943219b1b85c7d5afffbf3dd1486a4182e30c230336498684f3bdc16f903a885a1b428a3bf6b3db6866ffba5f9e439a814a34d3526dbdcef1bf44174 SHA512 ba6a524d30efb09507b2ea7f2c27ffa6e467e79db71006730b4ce340a82f33993c8151952a6971b15387ffdaa522d264e0003e8af53f2a2beeb17c9ff1bcb6a3 +DIST thunderbird-68.8.1-uk.xpi 671454 BLAKE2B a29f4dfb1531832cedbc2b7967f5a2ad8a5ee66bf38a5112a02e9682a12beef81b0c1b7427297f68f2ffd6f1187ae9595c95210ef7efed0c3e66afaa15839fef SHA512 9ba02df425aee8061fb1d8ecc5766495bf214e959073d08a2b185ff4b9901f2fd12a083d3e4345308444450a227f033fe16206dbf33ce2e1dd6d4006a2533499 +DIST thunderbird-68.8.1-vi.xpi 623422 BLAKE2B 3d4f701c5f631a58949ec0b8a93dd067f9a26cd80ffadc68484b690c2a4d51fa274c3c4c2a98d7e6b2ef18cd5700dd5fafb918fd9b20a69342953cb8eb9defb1 SHA512 f01eece531222e17ac7a1550e7f0d49c0fbf0e7d68e636a8cff30787bc6159f0b9daf5619041ae9c7894ed9cf3fbde4d0958e2b50bf69ab6464459dffdee63b1 +DIST thunderbird-68.8.1-zh-CN.xpi 626819 BLAKE2B e22583a8447a3711c13c780592c25df8cd2c5d9be7b6bb5b4ca348f4eec193031b414167c2f0189bce1b1cb05cbfc58b9fd8744b7661065925b52bb014d217ed SHA512 2120492a8cbb18e6a07941b24d307734aa88c7f68832b5616961056af49e422864627498eb1a93a5a17ba6785eda03815496b763b79501b72376f838f140ab5a +DIST thunderbird-68.8.1-zh-TW.xpi 627475 BLAKE2B 85e1c115edbd4d21d6bc8653e469f270224534701c4799b16cdb95689a2576f2cea7250a7694ace14b1cd916f8b8ca40435f634ff9d0719dc8b8625964d8931c SHA512 b03988ccd1984852e002e93bbf9ba1a74617156098bb6f928238930e9a92545c39be10792bf1c84acc8b880f9c6335139c84c9e47969a96b2971f3fb889f74ab +DIST thunderbird-68.8.1.source.tar.xz 337093664 BLAKE2B 157122a13b29e2571412ca3fccd892963b483039fffc2f15e00c20e537452846ede6c78931a00f16e112f87d7026f191db8b4a745d9b5f43ae550cf5c604f338 SHA512 079ab64aa9c7cbb922076bb129082d1de942fc76dad26eaf1348c963268cea830faf7414b115bd8f50f95df6383c1ddbec5cb2c9c8b8f7e57cddd1cb101783bf diff --git a/mail-client/thunderbird/thunderbird-68.8.1.ebuild b/mail-client/thunderbird/thunderbird-68.8.1.ebuild new file mode 100644 index 00000000..0c857dad --- /dev/null +++ b/mail-client/thunderbird/thunderbird-68.8.1.ebuild @@ -0,0 +1,777 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +VIRTUALX_REQUIRED="pgo" +WANT_AUTOCONF="2.1" +MOZ_ESR="" +MOZ_LIGHTNING_VER="6.2.5" +MOZ_LIGHTNING_GDATA_VER="4.4.1" + +PYTHON_COMPAT=( python3_{6,7,8} ) +PYTHON_REQ_USE='ncurses,sqlite,ssl,threads(+)' + +# This list can be updated using scripts/get_langs.sh from the mozilla overlay +MOZ_LANGS=(ar ast be bg br ca cs cy da de el en en-GB en-US es-AR +es-ES et eu fi fr fy-NL ga-IE gd gl he hr hsb hu hy-AM id is it +ja ko lt nb-NO nl nn-NO pl pt-BR pt-PT rm ro ru si sk sl sq sr +sv-SE tr uk vi zh-CN zh-TW ) + +# Convert the ebuild version to the upstream mozilla version, used by mozlinguas +MOZ_PV="${PV/_beta/b}" + +# Patches +PATCHFF="firefox-68.0-patches-14" + +MOZ_HTTP_URI="https://archive.mozilla.org/pub/${PN}/releases" + +# ESR releases have slightly version numbers +if [[ ${MOZ_ESR} == 1 ]]; then + MOZ_PV="${MOZ_PV}esr" +fi +MOZ_P="${PN}-${MOZ_PV}" + +LLVM_MAX_SLOT=10 + +DESCRIPTION="Thunderbird Mail Client" +HOMEPAGE="https://www.mozilla.org/thunderbird" + +KEYWORDS="amd64 ~ppc64 x86 ~amd64-linux ~x86-linux" +SLOT="0" +LICENSE="MPL-2.0 GPL-2 LGPL-2.1" +IUSE="bindist clang cpu_flags_x86_avx2 dbus debug eme-free + +gmp-autoupdate hardened jack lightning lto cpu_flags_arm_neon pgo + pulseaudio selinux startup-notification +system-av1 +system-harfbuzz + +system-icu +system-jpeg +system-libevent +system-sqlite + system-libvpx +system-webp test wayland wifi" +RESTRICT="!bindist? ( bindist ) + !test? ( test )" + +PATCH_URIS=( https://dev.gentoo.org/~{anarchy,axs,polynomial-c,whissi}/mozilla/patchsets/${PATCHFF}.tar.xz ) +SRC_URI="${SRC_URI} + ${MOZ_HTTP_URI}/${MOZ_PV}/source/${MOZ_P}.source.tar.xz + https://dev.gentoo.org/~axs/distfiles/lightning-${MOZ_LIGHTNING_VER}.tar.xz + lightning? ( https://dev.gentoo.org/~axs/distfiles/gdata-provider-${MOZ_LIGHTNING_GDATA_VER}.tar.xz ) + ${PATCH_URIS[@]}" + +inherit check-reqs eapi7-ver flag-o-matic toolchain-funcs eutils \ + gnome2-utils llvm mozcoreconf-v6 pax-utils xdg-utils \ + autotools mozlinguas-v2 virtualx multiprocessing + +CDEPEND=" + >=dev-libs/nss-3.44.1 + >=dev-libs/nspr-4.21 + dev-libs/atk + dev-libs/expat + >=x11-libs/cairo-1.10[X] + >=x11-libs/gtk+-2.18:2 + >=x11-libs/gtk+-3.4.0:3[X] + x11-libs/gdk-pixbuf + >=x11-libs/pango-1.22.0 + >=media-libs/libpng-1.6.35:0=[apng] + >=media-libs/mesa-10.2:* + media-libs/fontconfig + >=media-libs/freetype-2.4.10 + kernel_linux? ( !pulseaudio? ( media-libs/alsa-lib ) ) + virtual/freedesktop-icon-theme + dbus? ( >=sys-apps/dbus-0.60 + >=dev-libs/dbus-glib-0.72 ) + startup-notification? ( >=x11-libs/startup-notification-0.8 ) + >=x11-libs/pixman-0.19.2 + >=dev-libs/glib-2.26:2 + >=sys-libs/zlib-1.2.3 + >=virtual/libffi-3.0.10:= + media-video/ffmpeg + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXrender + x11-libs/libXt + system-av1? ( + >=media-libs/dav1d-0.3.0:= + >=media-libs/libaom-1.0.0:= + ) + system-harfbuzz? ( >=media-libs/harfbuzz-2.4.0:0= >=media-gfx/graphite2-1.3.13 ) + system-icu? ( >=dev-libs/icu-63.1:= ) + system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 ) + system-libevent? ( >=dev-libs/libevent-2.0:0=[threads] ) + system-libvpx? ( =media-libs/libvpx-1.7*:0=[postproc] ) + system-sqlite? ( >=dev-db/sqlite-3.28.0:3[secure-delete,debug=] ) + system-webp? ( >=media-libs/libwebp-1.0.2:0= ) + wifi? ( kernel_linux? ( >=sys-apps/dbus-0.60 + >=dev-libs/dbus-glib-0.72 + net-misc/networkmanager ) ) + jack? ( virtual/jack ) + selinux? ( sec-policy/selinux-mozilla )" + +RDEPEND="${CDEPEND} + jack? ( virtual/jack ) + pulseaudio? ( || ( media-sound/pulseaudio + >=media-sound/apulse-0.1.9 ) ) + selinux? ( sec-policy/selinux-mozilla )" + +DEPEND="${CDEPEND} + app-arch/zip + app-arch/unzip + >=dev-util/cbindgen-0.8.7 + >=net-libs/nodejs-8.11.0 + >=sys-devel/binutils-2.30 + sys-apps/findutils + || ( + ( + sys-devel/clang:10 + !clang? ( sys-devel/llvm:10 ) + clang? ( + =sys-devel/lld-10* + sys-devel/llvm:10[gold] + pgo? ( =sys-libs/compiler-rt-sanitizers-10*[profile] ) + ) + ) + ( + sys-devel/clang:9 + !clang? ( sys-devel/llvm:9 ) + clang? ( + =sys-devel/lld-9* + sys-devel/llvm:9[gold] + pgo? ( =sys-libs/compiler-rt-sanitizers-9*[profile] ) + ) + ) + ( + sys-devel/clang:8 + !clang? ( sys-devel/llvm:8 ) + clang? ( + =sys-devel/lld-8* + sys-devel/llvm:8[gold] + pgo? ( =sys-libs/compiler-rt-sanitizers-8*[profile] ) + ) + ) + ( + sys-devel/clang:7 + !clang? ( sys-devel/llvm:7 ) + clang? ( + =sys-devel/lld-7* + sys-devel/llvm:7[gold] + pgo? ( =sys-libs/compiler-rt-sanitizers-7*[profile] ) + ) + ) + ) + pulseaudio? ( media-sound/pulseaudio ) + >=virtual/rust-1.34.0 + wayland? ( >=x11-libs/gtk+-3.11:3[wayland] ) + amd64? ( >=dev-lang/yasm-1.1 virtual/opengl ) + x86? ( >=dev-lang/yasm-1.1 virtual/opengl ) + !system-av1? ( + amd64? ( >=dev-lang/nasm-2.13 ) + x86? ( >=dev-lang/nasm-2.13 ) + )" + +REQUIRED_USE="wifi? ( dbus ) + pgo? ( lto )" + +S="${WORKDIR}/${MOZ_P%b[0-9]*}" + +BUILD_OBJ_DIR="${S}/tbird" + +# allow GMP_PLUGIN_LIST to be set in an eclass or +# overridden in the enviromnent (advanced hackers only) +if [[ -z $GMP_PLUGIN_LIST ]] ; then + GMP_PLUGIN_LIST=( gmp-gmpopenh264 gmp-widevinecdm ) +fi + +llvm_check_deps() { + if ! has_version --host-root "sys-devel/clang:${LLVM_SLOT}" ; then + ewarn "sys-devel/clang:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 + return 1 + fi + + if use clang ; then + if ! has_version --host-root "=sys-devel/lld-${LLVM_SLOT}*" ; then + ewarn "=sys-devel/lld-${LLVM_SLOT}* is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 + return 1 + fi + + if use pgo ; then + if ! has_version --host-root "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*" ; then + ewarn "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}* is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 + return 1 + fi + fi + fi + + einfo "Will use LLVM slot ${LLVM_SLOT}!" >&2 +} + +pkg_setup() { + moz_pkgsetup + + if use pgo ; then + if ! has usersandbox $FEATURES ; then + die "You must enable usersandbox as X server can not run as root!" + fi + fi + + # 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 \ + XDG_SESSION_COOKIE \ + XAUTHORITY + + if ! use bindist ; then + einfo + elog "You are enabling official branding. You may not redistribute this build" + elog "to any users on your network or the internet. Doing so puts yourself into" + elog "a legal problem with Mozilla Foundation." + elog "You can disable it by emerging ${PN} _with_ the bindist USE-flag." + fi + + addpredict /proc/self/oom_score_adj + + llvm_pkg_setup +} + +pkg_pretend() { + # Ensure we have enough disk space to compile + if use pgo || use lto || use debug || use test ; then + CHECKREQS_DISK_BUILD="8G" + else + CHECKREQS_DISK_BUILD="4G" + fi + + check-reqs_pkg_setup +} + +src_unpack() { + unpack ${A} + + # Unpack language packs + mozlinguas_src_unpack +} + +src_prepare() { + # Apply firefox patchset then apply thunderbird patches + rm "${WORKDIR}"/firefox/2013_avoid_noinline_on_GCC_with_skcms.patch || die + rm "${WORKDIR}"/firefox/2015_fix_cssparser.patch || die + eapply "${WORKDIR}/firefox" + pushd "${S}"/comm &>/dev/null || die + eapply "${FILESDIR}/1000_fix_gentoo_preferences.patch" + popd &>/dev/null || die + + # Allow user to apply any additional patches without modifing ebuild + eapply_user + + local n_jobs=$(makeopts_jobs) + if [[ ${n_jobs} == 1 ]]; then + einfo "Building with MAKEOPTS=-j1 is known to fail (bug #687028); Forcing MAKEOPTS=-j2 ..." + export MAKEOPTS=-j2 + fi + + # Enable gnomebreakpad + if use debug ; then + sed -i -e "s:GNOME_DISABLE_CRASH_DIALOG=1:GNOME_DISABLE_CRASH_DIALOG=0:g" \ + "${S}"/build/unix/run-mozilla.sh || die "sed failed!" + fi + + # Drop -Wl,--as-needed related manipulation for ia64 as it causes ld sefgaults, bug #582432 + if use ia64 ; then + sed -i \ + -e '/^OS_LIBS += no_as_needed/d' \ + -e '/^OS_LIBS += as_needed/d' \ + "${S}"/widget/gtk/mozgtk/gtk2/moz.build \ + "${S}"/widget/gtk/mozgtk/gtk3/moz.build \ + || die "sed failed to drop --as-needed for ia64" + fi + + # Fix sandbox violations during make clean, bug 372817 + sed -e "s:\(/no-such-file\):${T}\1:g" \ + -i "${S}"/config/rules.mk \ + -i "${S}"/nsprpub/configure{.in,} \ + || die + + # Don't exit with error when some libs are missing which we have in + # system. + sed '/^MOZ_PKG_FATAL_WARNINGS/s@= 1@= 0@' \ + -i "${S}"/comm/mail/installer/Makefile.in || die + + # Don't error out when there's no files to be removed: + sed 's@\(xargs rm\)$@\1 -f@' \ + -i "${S}"/toolkit/mozapps/installer/packager.mk || die + + # Keep codebase the same even if not using official branding + sed '/^MOZ_DEV_EDITION=1/d' \ + -i "${S}"/browser/branding/aurora/configure.sh || die + + # rustfmt, a tool to format Rust code, is optional and not required to build Firefox. + # However, when available, an unsupported version can cause problems, bug #669548 + sed -i -e "s@check_prog('RUSTFMT', add_rustup_path('rustfmt')@check_prog('RUSTFMT', add_rustup_path('rustfmt_do_not_use')@" \ + "${S}"/build/moz.configure/rust.configure || die + + # Autotools configure is now called old-configure.in + # This works because there is still a configure.in that happens to be for the + # shell wrapper configure script + eautoreconf old-configure.in + + # Must run autoconf in js/src + cd "${S}"/js/src || die + eautoconf old-configure.in +} + +src_configure() { + MEXTENSIONS="default" + # 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. + _google_api_key=AIzaSyDEAOvatFo0eTgsV_ZlEzx0ObmepsMzfAc + + # Add information about TERM to output (build.log) to aid debugging + # blessings problems + if [[ -n "${TERM}" ]] ; then + einfo "TERM is set to: \"${TERM}\"" + else + einfo "TERM is unset." + fi + + if use clang && ! tc-is-clang ; then + # Force clang + einfo "Enforcing the use of clang due to USE=clang ..." + CC=${CHOST}-clang + CXX=${CHOST}-clang++ + strip-unsupported-flags + elif ! use clang && ! tc-is-gcc ; then + # Force gcc + einfo "Enforcing the use of gcc due to USE=-clang ..." + CC=${CHOST}-gcc + CXX=${CHOST}-g++ + strip-unsupported-flags + fi + + #################################### + # + # mozconfig, CFLAGS and CXXFLAGS setup + # + #################################### + + mozconfig_init + # common config components + mozconfig_annotate 'system_libs' \ + --with-system-zlib \ + --with-system-bz2 + + # Must pass release in order to properly select linker + mozconfig_annotate 'Enable by Gentoo' --enable-release + + if use pgo ; then + if ! has userpriv $FEATURES ; then + eerror "Building firefox with USE=pgo and FEATURES=-userpriv is not supported!" + fi + fi + + # Don't let user's LTO flags clash with upstream's flags + filter-flags -flto* + + if use lto ; then + local show_old_compiler_warning= + + if use clang ; then + # At this stage CC is adjusted and the following check will + # will work + if [[ $(clang-major-version) -lt 7 ]] ; then + show_old_compiler_warning=1 + fi + + # Upstream only supports lld when using clang + mozconfig_annotate "forcing ld=lld due to USE=clang and USE=lto" --enable-linker=lld + else + if [[ $(gcc-major-version) -lt 8 ]] ; then + show_old_compiler_warning=1 + fi + + # Bug 689358 + append-cxxflags -flto + + if ! use cpu_flags_x86_avx2 ; then + local _gcc_version_with_ipa_cdtor_fix="8.3" + local _current_gcc_version="$(gcc-major-version).$(gcc-minor-version)" + + if ver_test "${_current_gcc_version}" -lt "${_gcc_version_with_ipa_cdtor_fix}" ; then + # due to a GCC bug, GCC will produce AVX2 instructions + # even if the CPU doesn't support AVX2, https://gcc.gnu.org/ml/gcc-patches/2018-12/msg01142.html + einfo "Disable IPA cdtor due to bug in GCC and missing AVX2 support -- triggered by USE=lto" + append-ldflags -fdisable-ipa-cdtor + else + einfo "No GCC workaround required, GCC version is already patched!" + fi + else + einfo "No GCC workaround required, system supports AVX2" + fi + + # Linking only works when using ld.gold when LTO is enabled + mozconfig_annotate "forcing ld=gold due to USE=lto" --enable-linker=gold + fi + + if [[ -n "${show_old_compiler_warning}" ]] ; then + # Checking compiler's major version uses CC variable. Because we allow + # user to control used compiler via USE=clang flag, we cannot use + # initial value. So this is the earliest stage where we can do this check + # because pkg_pretend is not called in the main phase function sequence + # environment saving is not guaranteed so we don't know if we will have + # correct compiler until now. + ewarn "" + ewarn "USE=lto requires up-to-date compiler (>=gcc-8 or >=clang-7)." + ewarn "You are on your own -- expect build failures. Don't file bugs using that unsupported configuration!" + ewarn "" + sleep 5 + fi + + mozconfig_annotate '+lto' --enable-lto=thin + + if use pgo ; then + mozconfig_annotate '+pgo' MOZ_PGO=1 + fi + else + # Avoid auto-magic on linker + if use clang ; then + # This is upstream's default + mozconfig_annotate "forcing ld=lld due to USE=clang" --enable-linker=lld + elif tc-ld-is-gold ; then + mozconfig_annotate "linker is set to gold" --enable-linker=gold + else + mozconfig_annotate "linker is set to bfd" --enable-linker=bfd + fi + fi + + # It doesn't compile on alpha without this LDFLAGS + use alpha && append-ldflags "-Wl,--no-relax" + + # Add full relro support for hardened + if use hardened ; then + append-ldflags "-Wl,-z,relro,-z,now" + mozconfig_use_enable hardened hardening + fi + + # Modifications to better support ARM, bug 553364 + if use cpu_flags_arm_neon ; then + mozconfig_annotate '' --with-fpu=neon + + if ! tc-is-clang ; then + # thumb options aren't supported when using clang, bug 666966 + mozconfig_annotate '' --with-thumb=yes + mozconfig_annotate '' --with-thumb-interwork=no + fi + fi + + if [[ ${CHOST} == armv*h* ]] ; then + mozconfig_annotate '' --with-float-abi=hard + if ! use system-libvpx ; then + sed -i -e "s|softfp|hard|" \ + "${S}"/media/libvpx/moz.build + fi + fi + + mozconfig_use_enable !bindist official-branding + + mozconfig_use_enable debug + mozconfig_use_enable debug tests + if ! use debug ; then + mozconfig_annotate 'disabled by Gentoo' --disable-debug-symbols + else + mozconfig_annotate 'enabled by Gentoo' --enable-debug-symbols + fi + # These are enabled by default in all mozilla applications + mozconfig_annotate '' --with-system-nspr --with-nspr-prefix="${SYSROOT}${EPREFIX}"/usr + mozconfig_annotate '' --with-system-nss --with-nss-prefix="${SYSROOT}${EPREFIX}"/usr + mozconfig_annotate '' --x-includes="${SYSROOT}${EPREFIX}"/usr/include \ + --x-libraries="${SYSROOT}${EPREFIX}"/usr/$(get_libdir) + mozconfig_annotate '' --prefix="${EPREFIX}"/usr + mozconfig_annotate '' --libdir="${EPREFIX}"/usr/$(get_libdir) + mozconfig_annotate '' --disable-crashreporter + mozconfig_annotate 'Gentoo default' --with-system-png + mozconfig_annotate '' --enable-system-ffi + mozconfig_annotate '' --disable-gconf + mozconfig_annotate '' --with-intl-api + mozconfig_annotate '' --enable-system-pixman + # Instead of the standard --build= and --host=, mozilla uses --host instead + # of --build, and --target intstead of --host. + # Note, mozilla also has --build but it does not do what you think it does. + # Set both --target and --host as mozilla uses python to guess values otherwise + mozconfig_annotate '' --target="${CHOST}" + mozconfig_annotate '' --host="${CBUILD:-${CHOST}}" + if use system-libevent ; then + mozconfig_annotate '' --with-system-libevent="${SYSROOT}${EPREFIX}"/usr + fi + + if ! use x86 && [[ ${CHOST} != armv*h* ]] ; then + mozconfig_annotate '' --enable-rust-simd + fi + + # use the gtk3 toolkit (the only one supported at this point) + # TODO: Will this result in automagic dependency on x11-libs/gtk+[wayland]? + if use wayland ; then + mozconfig_annotate '' --enable-default-toolkit=cairo-gtk3-wayland + else + mozconfig_annotate '' --enable-default-toolkit=cairo-gtk3 + fi + + mozconfig_use_enable startup-notification + mozconfig_use_enable system-sqlite + 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-libvpx + mozconfig_use_with system-webp + mozconfig_use_enable pulseaudio + # force the deprecated alsa sound code if pulseaudio is disabled + if use kernel_linux && ! use pulseaudio ; then + mozconfig_annotate '-pulseaudio' --enable-alsa + fi + + # Disable built-in ccache support to avoid sandbox violation, #665420 + # Use FEATURES=ccache instead! + mozconfig_annotate '' --without-ccache + sed -i -e 's/ccache_stats = None/return None/' \ + python/mozbuild/mozbuild/controller/building.py || \ + die "Failed to disable ccache stats call" + + mozconfig_use_enable dbus + + mozconfig_use_enable wifi necko-wifi + + # enable JACK, bug 600002 + mozconfig_use_enable jack + + # Other tb-specific settings + mozconfig_annotate '' --with-user-appdir=.thunderbird + mozconfig_annotate '' --enable-ldap + mozconfig_annotate '' --enable-calendar + + # Enable/Disable eme support + use eme-free && mozconfig_annotate '+eme-free' --disable-eme + + # Setup api key for location services and safebrowsing, https://bugzilla.mozilla.org/show_bug.cgi?id=1531176#c34 + echo -n "${_google_api_key}" > "${S}"/google-api-key + mozconfig_annotate '' --with-google-location-service-api-keyfile="${S}/google-api-key" + mozconfig_annotate '' --with-google-safebrowsing-api-keyfile="${S}/google-api-key" + + mozconfig_annotate '' --enable-extensions="${MEXTENSIONS}" + + # allow elfhack to work in combination with unstripped binaries + # when they would normally be larger than 2GiB. + append-ldflags "-Wl,--compress-debug-sections=zlib" + + if use clang && ! use arm64; then + # https://bugzilla.mozilla.org/show_bug.cgi?id=1482204 + # https://bugzilla.mozilla.org/show_bug.cgi?id=1483822 + mozconfig_annotate 'elf-hack is broken when using Clang' --disable-elf-hack + fi + + echo "mk_add_options MOZ_OBJDIR=${BUILD_OBJ_DIR}" >> "${S}"/.mozconfig + echo "mk_add_options XARGS=/usr/bin/xargs" >> "${S}"/.mozconfig + + # Finalize and report settings + mozconfig_final + + mkdir -p "${S}"/third_party/rust/libloading/.deps + + # workaround for funky/broken upstream configure... + SHELL="${SHELL:-${EPREFIX}/bin/bash}" MOZ_NOSPAM=1 \ + ./mach configure || die +} + +src_compile() { + local _virtx= + if use pgo ; then + _virtx=virtx + + # Reset and cleanup environment variables used by GNOME/XDG + gnome2_environment_reset + + addpredict /root + addpredict /etc/gconf + fi + + GDK_BACKEND=x11 \ + MOZ_MAKE_FLAGS="${MAKEOPTS} -O" \ + SHELL="${SHELL:-${EPREFIX}/bin/bash}" \ + MOZ_NOSPAM=1 \ + ${_virtx} \ + ./mach build --verbose \ + || die +} + +src_install() { + MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" + cd "${BUILD_OBJ_DIR}" || die + + # Pax mark xpcshell for hardened support, only used for startupcache creation. + pax-mark m "${BUILD_OBJ_DIR}"/dist/bin/xpcshell + + # Copy our preference before omnijar is created. + cp "${FILESDIR}"/thunderbird-gentoo-default-prefs.js-2 \ + "${BUILD_OBJ_DIR}/dist/bin/defaults/pref/all-gentoo.js" \ + || die + + # set dictionary path, to use system hunspell + echo "pref(\"spellchecker.dictionary_path\", \"${EPREFIX}/usr/share/myspell\");" \ + >>"${BUILD_OBJ_DIR}/dist/bin/defaults/pref/all-gentoo.js" || die + + # force the graphite pref if system-harfbuzz is enabled, since the pref cant disable it + if use system-harfbuzz ; then + echo "sticky_pref(\"gfx.font_rendering.graphite.enabled\",true);" \ + >>"${BUILD_OBJ_DIR}/dist/bin/defaults/pref/all-gentoo.js" || die + fi + + # force cairo as the canvas renderer on platforms without skia support + if [[ $(tc-endian) == "big" ]] ; then + echo "sticky_pref(\"gfx.canvas.azure.backends\",\"cairo\");" \ + >>"${BUILD_OBJ_DIR}/dist/bin/defaults/pref/all-gentoo.js" || die + echo "sticky_pref(\"gfx.content.azure.backends\",\"cairo\");" \ + >>"${BUILD_OBJ_DIR}/dist/bin/defaults/pref/all-gentoo.js" || die + fi + + echo "pref(\"extensions.autoDisableScopes\", 3);" >> \ + "${BUILD_OBJ_DIR}/dist/bin/defaults/pref/all-gentoo.js" \ + || die + + local plugin + use gmp-autoupdate || use eme-free || for plugin in "${GMP_PLUGIN_LIST[@]}" ; do + echo "pref(\"media.${plugin}.autoupdate\", false);" >> \ + "${BUILD_OBJ_DIR}/dist/bin/defaults/pref/all-gentoo.js" \ + || die + done + + cd "${S}" + MOZ_MAKE_FLAGS="${MAKEOPTS}" SHELL="${SHELL:-${EPREFIX}/bin/bash}" MOZ_NOSPAM=1 \ + DESTDIR="${D}" ./mach install || die + + # Install language packs + MOZEXTENSION_TARGET="distribution/extensions" MOZ_INSTALL_L10N_XPIFILE="1" mozlinguas_src_install + + local size sizes icon_path icon + if ! use bindist; then + icon_path="${S}/comm/mail/branding/thunderbird" + icon="${PN}-icon" + + domenu "${FILESDIR}"/icon/${PN}.desktop + else + icon_path="${S}/comm/mail/branding/nightly" + icon="${PN}-icon-unbranded" + + newmenu "${FILESDIR}"/icon/${PN}-unbranded.desktop \ + ${PN}.desktop + + sed -i -e "s:Mozilla\ Thunderbird:EarlyBird:g" \ + "${ED}"/usr/share/applications/${PN}.desktop + fi + + # Install a 48x48 icon into /usr/share/pixmaps for legacy DEs + newicon "${icon_path}"/default48.png "${icon}".png + # Install icons for menu entry + sizes="16 22 24 32 48 256" + for size in ${sizes}; do + newicon -s ${size} "${icon_path}/default${size}.png" "${icon}.png" + done + + # Disable built-in auto-update because we update firefox through package manager + insinto ${MOZILLA_FIVE_HOME}/distribution/ + newins "${FILESDIR}"/disable-auto-update.policy.json policies.json + + # Add StartupNotify=true bug 237317 + if use startup-notification ; then + echo "StartupNotify=true"\ + >> "${ED}/usr/share/applications/${PN}.desktop" \ + || die + fi + + # Don't install llvm-symbolizer from sys-devel/llvm package + [[ -f "${ED%/}${MOZILLA_FIVE_HOME}/llvm-symbolizer" ]] && \ + rm "${ED%/}${MOZILLA_FIVE_HOME}/llvm-symbolizer" + + local emid + # stage extra locales for lightning and install over existing + emid='{e2fda1a4-762b-4020-b5ad-a41df1933103}' + rm -f "${ED}"/${MOZILLA_FIVE_HOME}/distribution/extensions/${emid}.xpi || die + mozlinguas_xpistage_langpacks "${BUILD_OBJ_DIR}"/dist/bin/distribution/extensions/${emid} \ + "${WORKDIR}"/lightning-${MOZ_LIGHTNING_VER} lightning calendar + + mkdir -p "${T}/${emid}" || die + cp -RLp -t "${T}/${emid}" "${BUILD_OBJ_DIR}"/dist/bin/distribution/extensions/${emid}/* || die + insinto ${MOZILLA_FIVE_HOME}/distribution/extensions + doins -r "${T}/${emid}" + + if use lightning; then + # move lightning out of distribution/extensions and into extensions for app-global install + mkdir -p "${ED}"/${MOZILLA_FIVE_HOME}/extensions + mv "${ED}"/${MOZILLA_FIVE_HOME}/{distribution,}/extensions/${emid} || die + + # stage extra locales for gdata-provider and install app-global + mozlinguas_xpistage_langpacks "${BUILD_OBJ_DIR}"/dist/xpi-stage/gdata-provider \ + "${WORKDIR}"/gdata-provider-${MOZ_LIGHTNING_GDATA_VER} + emid='{a62ef8ec-5fdc-40c2-873c-223b8a6925cc}' + mkdir -p "${T}/${emid}" || die + cp -RLp -t "${T}/${emid}" "${BUILD_OBJ_DIR}"/dist/xpi-stage/gdata-provider/* || die + + # manifest.json does not allow the addon to load, put install.rdf in place + # note, version number needs to be set properly + cp -RLp -t "${T}/${emid}" "${WORKDIR}"/gdata-provider-${MOZ_LIGHTNING_GDATA_VER}/install.rdf + sed -i -e '/em:version/ s/>[^<]*4.1=media-sound/apulse-0.1.9" ; 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_desktop_database_update + xdg_icon_cache_update + + if ! use gmp-autoupdate && ! use eme-free ; then + elog "USE='-gmp-autoupdate' has disabled the following plugins from updating or" + elog "installing into new profiles:" + local plugin + for plugin in "${GMP_PLUGIN_LIST[@]}"; do elog "\t ${plugin}" ; done + elog + fi + + if use pulseaudio && has_version ">=media-sound/apulse-0.1.9" ; 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 +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update +}