summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mail-client')
-rw-r--r--mail-client/thunderbird/Manifest58
-rw-r--r--mail-client/thunderbird/files/firefox-45-gcc6.patch40
-rw-r--r--mail-client/thunderbird/thunderbird-45.4.0.ebuild392
3 files changed, 490 insertions, 0 deletions
diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest
index 4d09f06c8eeb..f8a67b5edab9 100644
--- a/mail-client/thunderbird/Manifest
+++ b/mail-client/thunderbird/Manifest
@@ -17,6 +17,7 @@ DIST lightning-4.0.8.tar.xz 2307984 SHA256 7a0e2550edf3d5a6d8e2566dc20f20630c8cd
DIST lightning-4.7.2.tar.xz 1927008 SHA256 55a2c26941834600364aec1444443797662e92a6a8203c4f5f2b315830755d80 SHA512 878fa278b8f8a6b7733e81aed0864104ef3c60d0236b729c71cc5e4e453b97255c3e4e4140c053e1ceb586142c46ee57b21539e23256a0bf78b6b8628405de88 WHIRLPOOL 53979b914e944f9026ae9d93b9ced6e69d9872ed4f7f385037fbc5314ad496deb489bc1d6435cf27aa74d9db4f615fe17a06ba022daa496f4d2de30aa2bfb48f
DIST lightning-4.7.3.repack.tar.xz 1927348 SHA256 1602f5f7d0e51161ca2057ad3b7f77c976c5d6c9ef6a852afa607fc32fd9af61 SHA512 19b66daeba7686ba59942e582ba5ae5feb8215ea97f1580cf42347b3ebcc4947775e40975b728091d0515051e5fcee01d73b29f78dc243c17dd1f0077f0d1627 WHIRLPOOL 0da115a00ad2be42999d316663ac45369d3157c344127e7b14f66b42354363b890a5087d01d44de5b87bd9499d7e20060da1d3e7e9d64629fae17ae0698bb9d1
DIST lightning-4.7.3.tar.xz 1134460 SHA256 8834c59a58797af747805f9a67ebcc311607a98bea4d185689d7c35f024bce7b SHA512 ebca7d74413a15f404ce094e5a4d047d79f250a04c6c1e78a3ab5aa49946e1e1ac81a1f7703bf2e631d841b98df66a21982788ee15af14eefe1d51eca29e1d48 WHIRLPOOL 34a28dcf707fe564433a663c2ac3efc79dff409cf22383425f38d4ac06184ac980f35a6ee81ab8e9d7030189538188ffe2d5fa426e0aa1cb8a11ebe6191a5fd1
+DIST lightning-4.7.4.tar.xz 1927800 SHA256 24310e7ef2e5dfdf35c52cce4480553c1641368558f1c388e8ba3a99d4c8f2f2 SHA512 65b398d71897a942cae30924de15ae47e2fed83cb70a58b3d99271246eaaabf48703a1b8b5ea74799bf66a4908df56ae2fa75422f62979036f1d322fe77fdae1 WHIRLPOOL 499deb17bf2cb28b028dd68f41c973185282703dc87963ae5df60d81f8e8004feda9a9e5ec202f94ddf87249402e78679330ddd74e51347a12702d005d2ddf38
DIST thunderbird-24.0-patches-0.1.tar.xz 1056 SHA256 2a4e128a6f5c35c865fbef77c006e6b24b98f89ceee5de6cfbf572e2c5fdca70 SHA512 aa411270fa4b6ffebbbb210a57a4b5c900ae5a696b7d6050dab2ee439365f3fc7e348c5c45b7632279d6f3c54009e7b29f1acb42501960489157875d79891361 WHIRLPOOL b7e7329d1eb78b222cc18c7b1750e737706e66f64b31ccd94ddf27733d0b8c651d001798d2319e544ac558affe76f69be71a225e246b99a36cee4fd0808dcf5f
DIST thunderbird-24.8.0-ar.xpi 457862 SHA256 e954ec8c64356b82006b01f3bb30d247994ce81f37a7e96de93c606b464c55cc SHA512 f8267f4ef885d900e15bc8609503ea6da37dde39b17362b0e35d384ec51416847c4c898a638708dcbc792bfb1a819bacc1b1f9f8bbff45623ea521c902929cce WHIRLPOOL 8116a679e37eae740e880fcadb48ade6d49cb96732a4f4212038f1ed03c15288219fc7be9a308709a658882872dc79aa794907643df7ab2c139358192635eb98
DIST thunderbird-24.8.0-ast.xpi 373831 SHA256 acdfeef9612eb4ec261ffadb8f5ea494aef4200f9758df55365646a99a6bd47c SHA512 5968a948bfc69f82982890ac3414fe6d9c8c587fe9b815dd29ab3d4a01b27e67d99270d5f915f5c86edab430fa3c4e57ee2dae73be1d32bc06088831180d2e14 WHIRLPOOL b3edbf4b1f70df7d8d08e24f801b82961174b5e78b0d8977b0a070c18a4dae0871063e0f177f2388b8dad1589a2e33d0f87a876dc63bd3f558cf645dd3d46718
@@ -301,3 +302,60 @@ DIST thunderbird-45.3.0-vi.xpi 540497 SHA256 36325c156df4a34a581fe8fc0e5c013364f
DIST thunderbird-45.3.0-zh-CN.xpi 489209 SHA256 cf53c911e587360f7acf1756dc714d975b3691b3521f49d409b6a5f5b3b1b016 SHA512 2869f3cf67e02de76079361d66f91d4a21d183f2ef050d39d6f8582bf66de8b027fe627d9a596fb7b6351e1195a1fc0daba71a683d94ff4000ef9ee20b3f6d87 WHIRLPOOL 2bf513fe2f4049bebead2ce7d037667f9fd1c271d15fdc6d83eb890cfa728e1b6790e7e5b2e743b4beb8d0cfe53371453417b947edab9132a49de24fb2c4decb
DIST thunderbird-45.3.0-zh-TW.xpi 490850 SHA256 0c2d483534b394fd27cf934e80537d0c789023b4f67eef87965679278d6a6e7c SHA512 180086ec0baa27595906f66c8c9ccd017e5578dd1ff8875f1e8a7ee3c83867950ce9309e3608ae382c84b02e80383bae6a6e21140de4aa90258e4d87672e8643 WHIRLPOOL 5382beeef82b920959eb37a21eca3af96a6dfb6078fafe7a6487c149f059e6c464e4a113c848c341788119e6644834027137eec5210ef0021fd7f1635066f8dd
DIST thunderbird-45.3.0.source.tar.xz 201005896 SHA256 231f6a7a073344659e436a2b1ae58004c3a29e74375af2c8d0de13f3bc79fac7 SHA512 1226b35535d68b9c088ab8692f61120c99951e1ecbae4739ced711665a3237d248202831831f00536c724e2f6359db4601fa5c90f2793433eab4bd9dab0c1165 WHIRLPOOL 86c4145859ee39d4fcf48eacd5a0b61f6f9f70fee3c2e38fe5b225c06e17ea4b7c1c5ccfa2c9f4d0696e9d807a6b612990ccda7d35bd22a8687ef15a9c3747be
+DIST thunderbird-45.4.0-ar.xpi 490775 SHA256 3742f91169a3b677f20deebf0a5303d67276952c217240123147fa33f2559f5c SHA512 8c27334e4fbf573eb31410b412fc16d8dd1aa56a4a9e0a7eaa2e55aa3678a2f98f60b30fbb72b384a6a804d75972e4ca1e078e673f5eb8eea04013bf714e38fe WHIRLPOOL 61f9890f2d26ebdbd472f7ae31d2e275ae2104af38723db35143139f2e0e0450500f1d10a0435557bf7126b867e302d2b7755c3014910fd92d6a2e4ae6d3bdf8
+DIST thunderbird-45.4.0-ast.xpi 428059 SHA256 115338fcb25bb536580969f683e0712f9325371c50fde1040db39e6646e1127b SHA512 d7497c8030324c4286263ba6c19c592ab30eeb4532a08958fa07f9d61a90e2dda319529c443cbbeba9dd436d2290114bd5aa08125c0503d1a1866e124553d4b2 WHIRLPOOL 1f2fd07c0677ccaf62e24af85e6f9cac06ab74c65f3958aff5f0335ada4d39746e29b0ac3024fb9d9f69e4d8d4aa83a5fd48f027f6facb2317cd7169343e626b
+DIST thunderbird-45.4.0-be.xpi 469096 SHA256 e6d238d0c183f3c3443632984937948f96da0ab646da7fdf9d0137cb9cb94d60 SHA512 bd236f78a2448788e6cbdfe18cb57573e18ebb86e0086db1ebb01e1c9a3f5c93ce135a39b6e0c9b33f0ed185e80a3b7ede7a98a2295e872864ff5ab890355364 WHIRLPOOL 41d0845258140e59986aad6e62f1643a7234ff29be852f99d3f489b72071d7d77714fa1a6acb7730ebd542e06c0fea89075d75a7d50eff6aba8ca81ffc508fc2
+DIST thunderbird-45.4.0-bg.xpi 524299 SHA256 78f052076fac13bad9a41bae8f731a00af15575ebfe9276638665d7544f607bd SHA512 f1ff590a3a9f64ceca07d74de398e776c458d548873f780135001181cc112202097b5d34e88cf7c7d18b5e458d985d4184ec0a9fb9ec61ed8c9862be52a40a34 WHIRLPOOL 2c717c4dec5804cabc482f22f208e50e68d21d056f6bc0d05a2e14d3a22e8aae3488d858139ecd34d080ed9810b45967346683998a38b5ec680ceaf0cfcd12be
+DIST thunderbird-45.4.0-bn-BD.xpi 581438 SHA256 6ece88bd01954cc52a10bf1b3fb537eb3e12c4a1cd5d93d9100f476cb2f80512 SHA512 264f5a9b34ad9e12b4f2bc2019d78d1429c07eb6cdec60a70c5ae83b81554acaf00a673afedcc83c149e323365cf51df35f082004993644d3c0785c5199043b6 WHIRLPOOL 7cbc0f564efc8a17e5ab86162445cad8343aefc9c8319245d9a00306a508641d2bc45e1b6d864aa2e508274f987a66d4c1a147793371c04559df32eb17fb8945
+DIST thunderbird-45.4.0-br.xpi 466000 SHA256 79a64fdb3c68269866224b5b9a47b6ccf13c4eb6870f58c8059541ba3aaf818b SHA512 595f0e93c668abbefa2f3d259181a363dac3a4787d71a5da35f7c4cbf750cee15e0ac7276b201ff1e363b9dbe8094338b13784a50865c05b3aa0e08abacbfa88 WHIRLPOOL 999e51ae89f24666dd4b732e59de87a5b6d93eee5fdaeb1678c5f212f1f24663816fad32da2a1bb733f34147951826503a0e3882705d97a0799c18b02087e0be
+DIST thunderbird-45.4.0-ca.xpi 467980 SHA256 850f9ed3e20b6fb2f82e12898892c0ff92cdfd14bff3b853b843cc3a3f62887b SHA512 373a17904b11064e507b1ddef1b89d9bc1ddef9a5b9d0a16dd4094d87f112db38b55d90416d891e9d585648cce46c3d27f9d1a987859f4b0fc20c3953d9300ec WHIRLPOOL 35bf654d928d9d075f779c261f7d231fafb34161da696e06c449aa90676348fd19e950d97bccf5f46a71c756c4badd9da81299da02cb066369be4d35ad087b1f
+DIST thunderbird-45.4.0-cs.xpi 474328 SHA256 01a18bc70d834c751f11b2eda248f239bad0f698631f668c3a691c0a992de6c1 SHA512 7ddc7b7de82fe916e4c3888fc3400414dfc21d5f3190de2c035809e494b7ce1ba64d16bff19b9f021c175ff87eae265edc131725b3c585a5e4d59cba345c42b8 WHIRLPOOL 4a013dc1e6bfbe9f11d1f1054a969a454807f33974bd77caec1ab70155c29873b840f1b0f03da8cb0495869f610f130d89c239e12b5f5a8ecd146f1485ce9ab1
+DIST thunderbird-45.4.0-cy.xpi 456120 SHA256 f2053a69135ced25c58e7afb65c05812a667d1097965e6cebc7d1d903897e03d SHA512 05950485c3673b82df38bcae20a4ea4fe10cccb43ff08e22dd4bebf6325fe1e8b19ca729c28f1b61016c9601d65bb6892a54ec93ae4dd5bde198759b9d04f8fc WHIRLPOOL 46e8b4e0938163c24c83f37053c54cf7b9f3f4bc77dcf821f78c1c05fcbad3d3efb2cb2da9a1b42b6a735c949f3c2f0ef834b444370f20d395650b74d232b0be
+DIST thunderbird-45.4.0-da.xpi 445594 SHA256 98669d0d53189e111b6766285702f0f2958112a2a1e72c250aa285de05a04253 SHA512 e8dada2025788a0f439e5ef3aa5136392b9066cebbf67a2878362e9868c15f405a569d83a3d7bc59664909019055c857dab29a4a18246efbcdd6d47b0e8ea488 WHIRLPOOL 94aadc2ed7ee2d895fd94056719762d9f8ce74b99ca2fcfeaae6e05d571911e208d8c342d89c8035bb1f832baf05a726fa8984af9981b06323a58d14ec71599c
+DIST thunderbird-45.4.0-de.xpi 451956 SHA256 0d899493efee990999f48260825eb19a9b3e840beb6e3d12eb76cd2abfea67a6 SHA512 6a9ace591d4d9f21137c151ea1decdd2aaedef29f8f57b209fbd7029df981ded0397ffa6e99851e781410fedb90fde010ad6cf02674211d95ad0934716c2b78a WHIRLPOOL 0f126f99e3a7fbdc29a7367edcc18441abfb5cbb507ae587a96fd7ff5005657e4777be21a3213870d4ee5d163edd7b089f1c602e839dc9b7fd9159f8789c3d88
+DIST thunderbird-45.4.0-el.xpi 514358 SHA256 ef0dc8ea71f43a06023a7cf0ce5ac4b2fc46977dadb027e4bee45c3a947be2c8 SHA512 e3858463f4defc9aa7bfa7215aa9e25fb3a4eb75ed6fafdd6c44bb3c775653209f2921a52acbd4e3bcaa6824e8e4615619729d10f4bc5fc45026c55e6907c05b WHIRLPOOL 7232be2511c86de5905e4fa94822c565cedba9e165614188a9d298d7c3872edf247ea54a5fa3fd260c2c61c8e9cc7d167bc91809bca592f4bc3c4bee9ca5c85b
+DIST thunderbird-45.4.0-en-GB.xpi 437602 SHA256 67d9b02860f07fd3b87690cb9bf7caf4f27b1c1f2076edbd55833721852df120 SHA512 036831c511b80b63422776e92762ee21532063b8a48dfecdf9e8c399cdfa25f43e3ab2f7570bc067dbc07022b40eeec46b789bfef08309565408cb12af94293c WHIRLPOOL 510ef714c440fa88011054c1339a9f43216ac578c9609817de8f29db1a65295df8d27d9c594646d5a9f9a604787ec9f381287833ab666ac9b19f6af769d3237d
+DIST thunderbird-45.4.0-es-AR.xpi 464684 SHA256 32fee60118f9616b08d6cc82a571886b181fbb3c0ed8e51fe66567cf98fa8dda SHA512 b507f7e45556df78dece20c2159dc6ce3df0a823a82157e66b8f7a5b18b2b5a014f816f8a52d7af7555af3637d00e42184596bb9edc8af6290023928a2d50045 WHIRLPOOL e3494dc2c2e303b6642e14448e1e1e0f14e9384dfb251da676761c18da48859c06d1c649d48fbe0b872bc19e5ae9a41ab221e7da0ce18a22b8a86ee3462178d4
+DIST thunderbird-45.4.0-es-ES.xpi 388000 SHA256 bc0ec66057808053025008a1cb0b2023d91e6536d9f64b2aac34dab6e1f35240 SHA512 5d09e83f12f81dec1e76dbb73b566e0402e1327241d8b5aa1a9109179fd5058e5958ed8bd161d1ed88e91f33dd03398d974ace26b1548d1cb3bcf6282dbfc987 WHIRLPOOL 2d301202f66aea9dd3ea3ff10d06cf7364e190f65d379c901e013e8667edeabf4e7e68829131ca62f462c3193b00237fd0efc48f77a6ecfddbcc1a1307feb94a
+DIST thunderbird-45.4.0-et.xpi 458419 SHA256 0e0321a4c04b707fb9d4a879eea38ff4f1df56ae6b1a0dceec724cfeb4a48031 SHA512 f61a47328acdcb5cf7c440b0dc1b5a811a8a172b40264463de056f65ca1f59a4d9f14d997ffa394c5aed494fcf21e09dac0c5f944ba1cd29d557498ad88169ef WHIRLPOOL 7d2504a85f0da0d3fa2a8fc7de2037a9bb9258f902283b5f898b958a517b41535c968ce4ac4369c04ceced03ddc58c8a7d048a7306b84091a8a4d930fe0276c7
+DIST thunderbird-45.4.0-eu.xpi 456708 SHA256 173862da12643d9ad5d0934e859081859a728cf604dd6d72f4b71de8e6d61865 SHA512 8afdccd41bcca3f9b96a8e5bf66b750b7dc55237704f49921fb15910e230613c0ca785f3443a12e3c12e85a2e35004d0bdd7806e6765e69dc28e93e724c36721 WHIRLPOOL 9f95c7760bb7784383f8f7dd359cfc2774f09c46d4089bbcdc7835cc61403e70c3e3628df40205ee70483eb774d0e0269ddcdfc3c2be42634383e2317c225a55
+DIST thunderbird-45.4.0-fi.xpi 458335 SHA256 73024f4eb37f2b48bec2e47f0fa6fa3e97ffe04400713e3b452143567f56b84d SHA512 40ec0abaeb7541fce4328ab7bb5dd30c94f2dc8d64b8133c5fbb362d86b36f583e524caa8d2d2334a0266cae1d19812cba8bd46b643c2e15a7d11bf0850d4228 WHIRLPOOL 6b53092b68b0c120508c70a0223b42f79b84b10f97fefea36f5ed870bdd5fefd2ae1459c504f422620c92f986828f6bd94008f344b92d9156ff9004b270b9f88
+DIST thunderbird-45.4.0-fr.xpi 475465 SHA256 0a6031d4535de002a0cc040cafb1e598e2df98ef670338c25f754a8e242eae55 SHA512 70064b499e9acf37d6fde2ce0323de19f65dd972aa4e589d4632dba8b68dcf2f3a3941fb05c0a776aeddbc196a6d7df17ed18a2f05ba97af4d5907707b06f8c4 WHIRLPOOL 5aa39bb24a19d39dbe966d96cd2507ae6d9abd5f18af2a89c3bdc2bd082ecdae96634dc5e6dfc09854e7f9c5c31cd9a964aa1bddfa2b3078169716ed2a908681
+DIST thunderbird-45.4.0-fy-NL.xpi 464757 SHA256 72091838b72a7483f59aaa8b0c830560a75e5f1884ea257843c8a8bb526c88ca SHA512 841d6916fc859be626edf06715f94381e46857184996855bad7bd7e81efb84dedc895d6ac3164b713f30d010f9584d9d61ab1feabdd1e1d131d226eb707f3589 WHIRLPOOL b00ef3c377922dad3d0978be546834c2b3d5258fc94a338fa4ce797bdf2c02a58aa99458680b471cb3ec5c37f0dd80d4286d7328cbadb719a8b9b8943d65b004
+DIST thunderbird-45.4.0-ga-IE.xpi 480316 SHA256 1f6fd5f118720491461ca51e342cf71af0aa6df5c92767ddee102fd35f14396f SHA512 4a71874900906285cc47ff28df998002118b053a4be1d9d0099b00c53630a7310e1426b74e7424e3c3caddba1d574f84cfffb2c0fba556fdc709ffb8a54a4b2c WHIRLPOOL f44e95623f0affc3063040c070d74003903ee2226588d3e10d89ba6c3ed80c3c2fe3bc3cef94abb2f93f02e781fdd06c0779a5d7a4958b740e4554c47c9db614
+DIST thunderbird-45.4.0-gd.xpi 478296 SHA256 1c2c3f6ef55aec121e981f78b3289beb53e0e11ad1fc4be969330eab2f3e28c6 SHA512 d37e1afe65491d5578b60d937b7a858cd8779cbeaa586803234b7a29ebf41a5a7f705ba4f04c6ecaaf1593b3561b4246d71ee83d9699f691caf717a48afb0ef7 WHIRLPOOL ed5f2df35e0166dc4872e54d6719b54cb8a0fb372869094d2b32fffeb0253a9ae3b0e5eae6e9952b0c3b141ef0d5d74f6ee9140a4e0359e72b27118cf92bbbc3
+DIST thunderbird-45.4.0-gl.xpi 478580 SHA256 6435b0ee04332a69c7284f221c58f0e5fac2208499f4f8850f5fe7f9c36cd8cb SHA512 9f28b5d46c4d997973b3b4e93cccfd604087a2b62a6b2759f6024a8b1f5f7b81dc51f5eed753cb7f9acfb23483ea5e228bfc884f6160e3b3282c84368efe3c09 WHIRLPOOL a4505bf429f263a8d45475633da346746dfb85bb277c39e8f95bdeb3072585e9076eb3a524f663dee0ef5800efaeb04ff1c5a7527d885b5c7f4d6860744aa5c6
+DIST thunderbird-45.4.0-he.xpi 497962 SHA256 1d63d030edb43a14fbeaaca01a048e5b7de6d001d9e1595efe2cdbbe32fc89cc SHA512 e62d835a4ccd7bca2eed4f5b46378c2214bb3a9a6d32492b77f59de8431a20d6d2c752a5103d42fcf33a131b2d0ab0849de71bc4a827da0c81aac3c607364130 WHIRLPOOL 6cb0c5ee7e607a2804e4f8c025bb14231f4ce89f50ffe2ea51e013caa218f6699097d7271c66ad3bec7a60518d79688fd7b6635e61457b7d574ebe33a7ffa525
+DIST thunderbird-45.4.0-hr.xpi 463959 SHA256 aa7eee8d4ec03bbee12414d8526549925d742416b120c591099a7b8f465bfe26 SHA512 f89df8b547cd3d4127e647549576cd29363cdbcdd4457b5b8f1468e8e154cf8743f0749364a0d633f3eb3452a4e2b03d5044b960c8997d1cbfbf9cde73b99cdb WHIRLPOOL d5504587eaf10ec51ef8da6276df9086c25d99b211b58c277977605d8fd97dbe2881b9c6a9b380bf4c00c83c4025ec634ce333a9e43bc9af5bfe11f0b01beb5c
+DIST thunderbird-45.4.0-hsb.xpi 479414 SHA256 e905d2c8b5b62ffd898876c5bf5b4f1ee62198730eee6ee7e76f90e12a73fbb6 SHA512 c6fd2b885599c32f5aed391136bc2d0ec3d68eecea2a3cd66d3fc05b5b977e60b236a04f27f61796e45e80642594f9d4b35075872f2d3ffe3a4e63474efed68b WHIRLPOOL a45c8d81938bf67801a805e7f6694421282436bde2ce5e5fa940d9a6267d8987d9bed1389546b7185fe2fefd9358d4e607f5c58f07b95046a5d29699ee91a90c
+DIST thunderbird-45.4.0-hu.xpi 479584 SHA256 bc66e42252f1e206ae63625dc9d9038403301acbf5a8f7f71a624322fc1008e9 SHA512 b8cb794db48570e776f04336dfe7637a419867f009f7a711c8c803379e77ae53e70f90dd14f34246c221ff43df00ddee1e06c522b6275ca8167f34e1975265a4 WHIRLPOOL 4568234c8599f3a00daaa0e25645726912c8ab664647ad898c7e89be6b86dd37819c44b6b106217e4133b391e945d0a4e854ffdd4d87b54e1933367df5a8598e
+DIST thunderbird-45.4.0-hy-AM.xpi 518883 SHA256 3f20eebddddd84b4da13b44335576c6bd541ec9286e7b6d3a2aaf5c50f7b5213 SHA512 dcc5e9fca05b9849863771bb6193a4b58fc2edcb9d3369feae4adf5c5be24cffd8aad69001b91419d84427dc9a4a3c8ddfeea56eb033dff7998f6d19858c6440 WHIRLPOOL 6f1d1bd6959430466f5282c86f95b88ef13cf642e860a08d86c083dffa27d0c993b1b9c49e3bf1854c822601dfa9bd1826c8f4354aab32cce0c46688919983bc
+DIST thunderbird-45.4.0-id.xpi 499981 SHA256 f504cc06e99c0c4d5ecc4b4bdb53f63cd620c9107714c3f8cc0155cefd2d2a8d SHA512 5029359631ef0980f57bd360d307bc7f5faf88ee6446882ad66f3ab4faf3536ea0661333724e6c259106eefa71e742de9ad3520d486ab75f69ef55a55b870b62 WHIRLPOOL 6c2fadcc27e313e1cc85c201b0c86703e20c698991a7fa23c0677ea748be683e60679f555cdc95089f85d19777cff5440e5c369dc897d9baef3ec51f69994b2b
+DIST thunderbird-45.4.0-is.xpi 462190 SHA256 b1d8415fb293c4f868306ac65e7ddadd06740ec473cb0477ccb4394e075467f0 SHA512 a2b72163b927a99504f9164cb3d0b7c51f0c6caad257576e69f51010d6ac513ae71142beddb320807fc94c18fa947e9a721fff505563b5c7f7d29cdcb13f1828 WHIRLPOOL 9cff322ffb33c89132185e4d873f77e3bf89972cb3223578c9a2b3853c162871cbfa4aaf40c77666332a38db83970bbcd12899d9968ab92860298ef2508b888a
+DIST thunderbird-45.4.0-it.xpi 376889 SHA256 f0b70688b8f3fdf3fe287f8d502249008fc3e8e5a79e2bc794d37fdd6d1a031e SHA512 b6e682c4cb8b56769b00e335f2ca815bd9ecfad2428060f1f6cff1e4f6f6f9ff8dc79cbf5f9e9477a9567ecb81a7bea431be801be257f682a16a02e7755c162f WHIRLPOOL 69680c7033738181fc14237b1c2a3726e005145c00787cf167e03fab7aa6d596cf98dfdc73ecfa4111a789ef53cfa06907efab0268b60c580a0c77ae5ec6e9e4
+DIST thunderbird-45.4.0-ja.xpi 519552 SHA256 4b637aadf553b85dcab6cb7c589093ec7f42a4bc3cf9ebc44a9347f7839dc6cf SHA512 d9c71969131e28d7d612b70acd0475d8a7c3d3a48eb230278361fc80a7ad91f5b75730685c9b1c727b253549a76100fa4bcc157e2abd7a2714a25e3ac80e73e3 WHIRLPOOL 4b6cdcccfca0184182f174a67bc0a29fa301eda5508603e8345ff30f5054eba2d7d910b6a2048bf728f4615b04fbaed2ba81587f21dca188463979cb105fdcff
+DIST thunderbird-45.4.0-ko.xpi 487417 SHA256 db0731e45fe914fc546f13c8c0e3dfe302333a8414b957abe01a8611b51d2d70 SHA512 0a6ed50ed53e719b21fdc16559f9c6b0242752e26829d5eb0ca8ba14523f099c0d070eab6ea4af6193cef3d3de13bfb4f6dae86839b5d53d2715e15f510e0559 WHIRLPOOL 2fb1f02a5646fc6431ec5b9d682a34277a32108c9732e607371b0d8e49414284b49c6b1d7188df1420b4801c651a8260fa6f3fe0f9a743b1a6b0e62cf2e95ce7
+DIST thunderbird-45.4.0-lt.xpi 477736 SHA256 280c80246c5d0ff505814d3104f9e967d50210b52a8b95d31b14e42f17a2a167 SHA512 095e5c4ecdd437e657ca1856f7fe6e5654c1280ff6ef51d66cdf72851044c9d82d9d2f652a2b3b3ae11db70f291a786e9b48da46c932515d7bfcb6df4ec05d7d WHIRLPOOL 2f62413542ad89a241012a3a898196c6dc9081f97e5d46947fbeba5df121dc19ebc3820228eafb43759e0b1f4c5f9721105966cf3fe997643663a50fc6d66784
+DIST thunderbird-45.4.0-nb-NO.xpi 460011 SHA256 41eb2dbc26bf555ef46b00bc60700bb93ffafa46f9fbebb91a7b46c34599b9d8 SHA512 1bc7b732fcb4574a8a1de8b849904f04dd7494bdbf74e8462812f34326539af56f39381aea9de0f188e79518978ed050bbb66b38130b0f8e900c9da5997fa06a WHIRLPOOL d7b6498ecd1cd30e798e793610074a5c6d45b85ebf78131b5e39929346f7a6c37e5b5da172c90b2208fd8a1858777fb7ecf4cd5f73d165fd6db85424c6f8c50e
+DIST thunderbird-45.4.0-nl.xpi 456664 SHA256 269f0821b14dbc2a07b9e211328a6dddf5dc60ab965e4c7716346486213401e7 SHA512 f36deb5a12b255f6bc69f043bfcf846a1d23ea4c55d79079f64b8837896240a547976ec708a99570681c9f878bb6cf4961a38d962ab2bf05356265e7a037bad7 WHIRLPOOL 62fb8ad7e2936f681687cb9bf5f40a1e992490af09688ec56a39172da5e0bfcee155130318e21ecdacbd4695630c7d88e820cd7f23d6b0d763707c0dbba6c3b0
+DIST thunderbird-45.4.0-nn-NO.xpi 460880 SHA256 8480a9a81980119e7e9e0fe02d0a5f5dc8a150f848245975d46072a9991a8001 SHA512 532d5700e135a8746c605ae100238a27ffaa5cc55e766f8440d6fbfc0fd33e536b5fa4a1e866ec9df4c4c5b60da4e883cf6dd0d0a0882a64b41148f77aebbc47 WHIRLPOOL 919461787a26d3955661ac0e3296d9b7d071e7961c3f171485987aa6dedcd09586dbb9b7fd7e13f4ab265f2f038cdeff212382662cfd3ba3fbc24554d85accd5
+DIST thunderbird-45.4.0-pa-IN.xpi 551067 SHA256 8fa60166d04fd0e8aa06c3ae0e47f6ffd7f8fd7c4488782df8f52b678be04b11 SHA512 2f09934739165c4714323132c44d7127ce67c31b2209d37b2f794cf1038ebb1dff7cbd1e41cba0a0e7d2a914339d5216151c7660ebac7c9347b7aab474dd9ee6 WHIRLPOOL 291b08c9f86bbabe51d8ffdee84a9786e62b1ad367da10656c958044c0e454fa2b2a6ba1791271253d0dddc5484109691157020e906b3e619dbb8063e7ece136
+DIST thunderbird-45.4.0-pl.xpi 423867 SHA256 b691c8758b8b85cfcd1c255f96b8b6bfb6f74748fdfe087b962283bc97746d43 SHA512 e2127274f7613968c4b24c9d4fbd0d44b29dabff2498c41c51647cd0c95e47a897ddd07bf6085c05058247d2457a34494126cf13cc849fe2aa43b6cb24edd707 WHIRLPOOL c8065a1299cd9e5830481ba38c3529803f347205f3d3a2fcaa63ecc1a892593cf7d4b16a1a60cf28166172afd414614e6c5452c8415fee67c1e26794c4ed5c43
+DIST thunderbird-45.4.0-pt-BR.xpi 464682 SHA256 c6b847c7275389d7ce2a95f9203088aab18213b3515fc2950f3c91a0e50364c1 SHA512 a9a33138f89fad6d7bdb3db71497c39992da866710141e18db281a8ccba00e052a5c490d5a791c227902b35c395175426505972cf6584ceaa39160137def5d28 WHIRLPOOL bac45c53f702fe9a0eb30ce6ae84d774227f16345f04422e69c955d976f8d8c1f94581d6d981bf7d675367e91b2859d958410219b58f1d08a3a1d9b6cb210ed0
+DIST thunderbird-45.4.0-pt-PT.xpi 463751 SHA256 d770f8ee181afff99bd5bc3200dad1c83bfd82589e62b7b486ac7f2309eba94a SHA512 7a9d500facf05b1918f3a2a04de2bbc788ae1689e1f348dd6fc5c9cb69c26847bc3612fe4bc6008f4b87c928500d8f2bc19f0ec174fe12fe9d7e8dfc6e0a28c2 WHIRLPOOL bfa42175e4e6108884dccbf7a2b5ffc192cba5bbe25f7d798add4f6146f17a33443f51503f03b4978879d518bdd1c446c7ee689396737b2ca8b5c09e68e26165
+DIST thunderbird-45.4.0-rm.xpi 462650 SHA256 a7e0770679dd02dd1afa356a03f51e1b217bef1b3864e19f106962a9fc69a2be SHA512 b69e51de8f8f9051c57410720e22c13da3fb1e724e8872214ca0ee3a28d7446ad5813486ef6310fa3f5d7f1c774f27dd861eb7e97c6692e7008ae6c612de99f9 WHIRLPOOL 1f83e69d7049f98adee912c999f76d071eeef7c42b16fddf3301ce87a777238c18a0b366396ac59feeb00e6af9a10c3bbff9c628f3db71d5dcb6a836b24915b4
+DIST thunderbird-45.4.0-ro.xpi 468518 SHA256 3f3664f5ad48e062ce73625aae545bfbf1860d8b247a1515b4d18f379291bde1 SHA512 904292bcc2f0acdd332b8bf389451a21d684e75a654cc35cd4d4be76a41417ce336735f9bfc3eacbe4f7f20f3de1db7411243d24d9af71a3c12d1060252e4e21 WHIRLPOOL 0845d144fa0ff0f785e76c85c05c7d9371792ba9bd7f32d3aef5243aaad815f13505d973fd76af3cb2722c81fe9b093c7d433561a9af397abcd910de676623e2
+DIST thunderbird-45.4.0-ru.xpi 463891 SHA256 18643265f02d7d0398e219c12a2be407db40bd8c34b6dc29c79342734cd8acaf SHA512 2ff043cf364f7b2874953236134a282e901b505a2124d99919c91e0b6684079c3f4c0e2b905d28bc8379361e07d65504a8adfb5d9261a2bae49c2c8b2a0b0556 WHIRLPOOL 4441eeed5d1c215b0ba46260b3d68d0a8e3f9cbb99d239c6d700a358a0eea74a6be9862c63216bad1460e24dcaf8ee32e6b613408063548b142073cc1012af12
+DIST thunderbird-45.4.0-si.xpi 555995 SHA256 5206e8b878183277c65d614377c154ebfab34b094c8aa76ab93fcd92157571e5 SHA512 83f572af7d6f16b8b3f4f4d6c4369067b3780ef9f8b9dee12523e62143bba1213475861b9fb7bfbabb6aa674b740fad74b4e954c63d0b3f13e02b08b0b82c52a WHIRLPOOL 874b27d6a0c39f074dd34fb058ef177ef73725dc287c6eb416f465b6dce7adba5c5812615ea9739de31fd16a8757f4557170c4a47880747669c55052e2e21980
+DIST thunderbird-45.4.0-sk.xpi 481492 SHA256 775d268775de1c547e32981546e7bfcd6d73da880ebdbb85eeea414d7017293f SHA512 cd2d3defe66604bcaa5c6b40d48e5d3fca71e0632830465d123fca521cf3c8adfc4b937e8b27355fe888188363f9e856e5e9f66aeac321567e3040e653faf698 WHIRLPOOL 81a027d18847a28add97593f9afdc51b4faa0206c9b131610c422bebb60dd80cc40b76351ef5f37bb064bc0fae035c0a6849212cb7beb044430352a9b8ccbcb5
+DIST thunderbird-45.4.0-sl.xpi 462777 SHA256 0715d18ca9585d7f36d771e22a02b3890216c70ed1e68f6ab586929e613c6e5a SHA512 5dbeb963f3fc02924ebb05f8119b3f41df82b8bdfdb0738a74b25d8fe95e1403279b1fc52329e20c1666444600757ede8fc8e0563fa4f6b93797ad560b2f6822 WHIRLPOOL a05aef6bea188da060e835c7a60578e394c50f53a4a1140c16121a0e3bae06c5b9a845dec5ee676032a64b72228590780db15cc6f680b5a53c4a5c9ee92b6a87
+DIST thunderbird-45.4.0-sq.xpi 469535 SHA256 1b3fa3df5140e934ea13906d5db934c365edd9573b1b0803902681a342bba08e SHA512 3d7330872b4c9e265d582bb9b58d7b7740d18185d8bbac13631cac36e40c27321f505a4d9ae5ff4cb4ce3cdca9924a9e16cb3021e04c9190eea95ceba211832d WHIRLPOOL a22f336a35ac2cdbaf8eda8d34dabcea7e663a289ade0ff0085505898f4829a154aafa41ac10555a07e39052ccc4e0e89e274811f32054f1c54d13334bb8c53a
+DIST thunderbird-45.4.0-sr.xpi 565465 SHA256 e8ec87ffdd35b598846b7389855145c702e763736f5481d180eabe90dee643e2 SHA512 4f0014a95b3c29ef4c56d0d2af7ff2336defe799a404cc4847c04fcf855cd270034dddedef61825bd2aacbf02a09338df90fc92b612a3b1ffb4e2eec02c12c81 WHIRLPOOL c39311e117ee7b9c9ecca394f296767e98e84d9538792dee09809562fc0d06afac74585fdb6feb29344a0e005f957caaaf956f62475f549ca9c4ae776d7b8be0
+DIST thunderbird-45.4.0-sv-SE.xpi 465434 SHA256 83e2cb632f8bc2ccf5e38ffe3a952741410451e3e92a7e2e928f62ac5806ee20 SHA512 6805d95faba6a1a725bc340b437c3e6a5cdad5b733481a9f4a0c62510b49b62054c692391dbb2758e27a72a6080eccd5783b7388df5b0cb5ff02798778152c78 WHIRLPOOL 80b7aa94be30a8ba7001db7af04109a7ab91ebdcf42a12a9d98018950672e77217834071c6eb1ceaf0d6a0a175678f715d610521313ddbcdb8c0f32984172dfe
+DIST thunderbird-45.4.0-ta-LK.xpi 579219 SHA256 6962a711d3e008f3e6d56b0e21bab1f877c9a94ab8b1bfc14fbd1461cbeb674c SHA512 b1f49b2c66157807ca656a717ef62d47ecec375108d4a9b3f3f309e1ff10fd798a9ee77f49ee4d73e871335947aa4c666dc5e73b3482d18534ac26062c2a6481 WHIRLPOOL 672e803b378431246ac319495c8b9ccf92bf2ab577078bd55dcade6df6464c4ef4ad3f5399817ecffed1469d79125b89aa76f627910035fc6ad7bc1190aac070
+DIST thunderbird-45.4.0-tr.xpi 467621 SHA256 a38156623205abff1865263dabdbebbf834ef64f19761bef698eb244c3456fdd SHA512 fe2d4cb5e5f017b2c30551c2a02a40c7965551cdb6b53873c222758442679c4c7593209b8a9a03ddea331f53aa9ee3f53a3b48fdcc817cc68eaa167bfff9d9dd WHIRLPOOL 8b30c11003bc6697f44a96c08bc863d33c1f82836a1fcca5554115bea21292a331ff7fc63cb0800c4d3f619bb7362c8306d97182ac2e9801ed0ac01292bc9d17
+DIST thunderbird-45.4.0-uk.xpi 536438 SHA256 2b23b35e01d2a5d9a32b1a6e96ab4a2ad6b8fffb0ecec2faf6d5ee9b49659a10 SHA512 1b961362f5b51dcfd027df1c05867f02d1bd527eb4a0212cd982d956364d4eb09209d28287c1d45360c3610b52c55d679fdddfcf49e72e8aa8d5d1c8116a17bf WHIRLPOOL 56b6023b8feb0db363da8acc1599a8172ffa46952b3d2771423879f313f119741f16455994d7d36fedb9b98475407a4e53104dcdba40442602a90f38fada7f2d
+DIST thunderbird-45.4.0-vi.xpi 540497 SHA256 35ea6857cbf496bf918756db414fb612a2817bf59c26134d57343207f2015072 SHA512 f33e5225e13f98c6150c1dc68a447ea68730186aaa639ed417cf95e118b6f97469cb623389df43e89bf2c3eaef6e1c439a9225436b82e82db095f32d0f18055f WHIRLPOOL c27450cf2c81a3cd40a947e49efa8325c0fdbb7d2d3068d80116836edae1a05e34a263e9facc024f9831c899c9ad76a9236452bb786a7c7e1967e7e837bbc00d
+DIST thunderbird-45.4.0-zh-CN.xpi 489209 SHA256 549174da246854c7826cb3047306d59c5e34cd6568d1091f07512e8a5557535d SHA512 a2e371bd81a6c02aa80ef7bf3bc9dba6c40a7b5ba0fd0bdf04a689ad97debac42e7a88406f3501d8bdddf1c689085838884ab92cb13cee3c6add4735b7f29098 WHIRLPOOL 9c53b83ea7d012b7def79cb225e3b8e48c94eb9f9531250979cdb8656ac4b8759e05db04455eb3c02136fed82780279984ef7943fee135427bd65b75676cfcc9
+DIST thunderbird-45.4.0-zh-TW.xpi 490850 SHA256 a865d3403db417a513e29fdc80ffaeecaeffc130eb6d4183a533f46676809d32 SHA512 7cd3dfae653d40a78be654028542fa1c5166eafc2ff8e7b0dbdb6c6a6c8a34948751ceda0e22d3657484a9d2f320e1a2f325a0b09c40bc9045b7f53d93d027cf WHIRLPOOL f9f0df688f7a41eeb8b197e0d61b6946b37fda8274767ba84355091aea659d8ad8be151cb71b93686c7221ab1bd84a1735cb8a093e7988473f780b285e8d091c
+DIST thunderbird-45.4.0.source.tar.xz 201094212 SHA256 36f66edbb9b0f1ff9d0de8f12eab6cccbfa23db79e01db307fb2186904a38e61 SHA512 9c601d9625b43103b64e111da3a88fccdc30d4a52aa8a66ee02120bc13f3c5600d24fa1cfd3817975a0e58be9078d192334dd3099aa462468d8ab0cd05a3bcd5 WHIRLPOOL 7370f6063a71eeec3f7df7ada6bfed5582414afa7287dd04905655470a99eaa1a2eabf4549807ac2cbea93e59df3542d3cee9aaf939aa7612532bd66402ee5e2
diff --git a/mail-client/thunderbird/files/firefox-45-gcc6.patch b/mail-client/thunderbird/files/firefox-45-gcc6.patch
new file mode 100644
index 000000000000..c5b861c2d09b
--- /dev/null
+++ b/mail-client/thunderbird/files/firefox-45-gcc6.patch
@@ -0,0 +1,40 @@
+Upstream bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1245076
+
+--- a/config/gcc-stl-wrapper.template.h 2016-08-31 12:38:43.094770023 -0400
++++ b/config/gcc-stl-wrapper.template.h 2016-08-31 12:40:12.030579071 -0400
+@@ -17,6 +17,12 @@
+ // Silence "warning: #include_next is a GCC extension"
+ #pragma GCC system_header
+
++
++#ifndef moz_dont_include_mozalloc_for_cstdlib
++# define moz_dont_include_mozalloc_for_cstdlib
++#endif
++#ifndef moz_dont_include_mozalloc_for_${HEADER}
++
+ // mozalloc.h wants <new>; break the cycle by always explicitly
+ // including <new> here. NB: this is a tad sneaky. Sez the gcc docs:
+ //
+@@ -25,15 +31,17 @@
+ // same name as the current file. It simply looks for the file
+ // named, starting with the directory in the search path after the
+ // one where the current file was found.
+-#include_next <new>
++# include_next <new>
+
+ // See if we're in code that can use mozalloc. NB: this duplicates
+ // code in nscore.h because nscore.h pulls in prtypes.h, and chromium
+ // can't build with that being included before base/basictypes.h.
+-#if !defined(XPCOM_GLUE) && !defined(NS_NO_XPCOM) && !defined(MOZ_NO_MOZALLOC)
+-# include "mozilla/mozalloc.h"
+-#else
+-# error "STL code can only be used with infallible ::operator new()"
++# if !defined(XPCOM_GLUE) && !defined(NS_NO_XPCOM) && !defined(MOZ_NO_MOZALLOC)
++# include "mozilla/mozalloc.h"
++# else
++# error "STL code can only be used with infallible ::operator new()"
++# endif
++
+ #endif
+
+ #if defined(DEBUG) && !defined(_GLIBCXX_DEBUG)
diff --git a/mail-client/thunderbird/thunderbird-45.4.0.ebuild b/mail-client/thunderbird/thunderbird-45.4.0.ebuild
new file mode 100644
index 000000000000..55d978fe56a8
--- /dev/null
+++ b/mail-client/thunderbird/thunderbird-45.4.0.ebuild
@@ -0,0 +1,392 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+WANT_AUTOCONF="2.1"
+MOZ_ESR=""
+MOZ_LIGHTNING_VER="4.7.4"
+MOZ_LIGHTNING_GDATA_VER="2.6"
+
+# This list can be updated using scripts/get_langs.sh from the mozilla overlay
+MOZ_LANGS=(ar ast be bg bn-BD 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 pa-IN pl pt-BR pt-PT rm ro ru si sk sl sq sr sv-SE ta-LK tr
+uk vi zh-CN zh-TW )
+
+# Convert the ebuild version to the upstream mozilla version, used by mozlinguas
+MOZ_PV="${PV/_beta/b}"
+
+# Enigmail version
+EMVER="1.9.1"
+
+# Patches
+PATCH="thunderbird-38.0-patches-0.1"
+PATCHFF="firefox-45.0-patches-06"
+
+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}"
+
+MOZCONFIG_OPTIONAL_JIT="enabled"
+inherit flag-o-matic toolchain-funcs mozconfig-v6.45 makeedit autotools pax-utils check-reqs nsplugins mozlinguas-v2 fdo-mime gnome2-utils
+
+DESCRIPTION="Thunderbird Mail Client"
+HOMEPAGE="http://www.mozilla.com/en-US/thunderbird/"
+
+KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+SLOT="0"
+LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
+IUSE="bindist crypt hardened ldap lightning +minimal mozdom selinux"
+RESTRICT="!bindist? ( bindist )"
+
+PATCH_URIS=( https://dev.gentoo.org/~{anarchy,axs,polynomial-c}/mozilla/patchsets/{${PATCH},${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}-r1.tar.xz )
+ crypt? ( http://www.enigmail.net/download/source/enigmail-${EMVER}.tar.gz )
+ ${PATCH_URIS[@]}"
+
+ASM_DEPEND=">=dev-lang/yasm-1.1"
+
+CDEPEND="
+ >=dev-libs/nss-3.21.1
+ >=dev-libs/nspr-4.12
+ !x11-plugins/enigmail
+ crypt? ( || (
+ ( >=app-crypt/gnupg-2.0
+ || (
+ app-crypt/pinentry[gtk(-)]
+ app-crypt/pinentry[qt4(-)]
+ app-crypt/pinentry[qt5(-)]
+ )
+ )
+ =app-crypt/gnupg-1.4*
+ ) )"
+
+DEPEND="${CDEPEND}
+ amd64? ( ${ASM_DEPEND}
+ virtual/opengl )
+ x86? ( ${ASM_DEPEND}
+ virtual/opengl )"
+
+RDEPEND="${CDEPEND}
+ selinux? ( sec-policy/selinux-thunderbird )
+"
+
+S="${WORKDIR}/${MOZ_P}"
+
+BUILD_OBJ_DIR="${S}/tbird"
+
+pkg_setup() {
+ moz_pkgsetup
+
+ export MOZILLA_DIR="${S}/mozilla"
+
+ if ! use bindist ; then
+ 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"
+ elog
+ fi
+}
+
+pkg_pretend() {
+ # Ensure we have enough disk space to compile
+ CHECKREQS_DISK_BUILD="4G"
+ check-reqs_pkg_setup
+
+ if use jit && [[ -n ${PROFILE_IS_HARDENED} ]]; then
+ ewarn "You are emerging this package on a hardened profile with USE=jit enabled."
+ ewarn "This is horribly insecure as it disables all PAGEEXEC restrictions."
+ ewarn "Please ensure you know what you are doing. If you don't, please consider"
+ ewarn "emerging the package with USE=-jit"
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+
+ # Unpack language packs
+ mozlinguas_src_unpack
+
+ # this version of lightning is a .tar.xz, no xpi needed
+ #xpi_unpack lightning-${MOZ_LIGHTNING_VER}.xpi
+
+ # this version of gdata-provider is a .tar.xz , no xpi needed
+ #use lightning && xpi_unpack gdata-provider-${MOZ_LIGHTNING_GDATA_VER}.xpi
+}
+
+src_prepare() {
+ # Apply our Thunderbird patchset
+ rm -f "${WORKDIR}"/thunderbird/2001_ldap_respect_cflags.patch
+ eapply "${WORKDIR}/thunderbird"
+
+ # Apply our patchset from firefox to thunderbird as well
+ pushd "${S}"/mozilla &>/dev/null || die
+ eapply "${WORKDIR}/firefox" \
+ "${FILESDIR}"/firefox-45-gcc6.patch
+ popd &>/dev/null || die
+
+ # Ensure that are plugins dir is enabled as default
+ sed -i -e "s:/usr/lib/mozilla/plugins:/usr/lib/nsbrowser/plugins:" \
+ "${S}"/mozilla/xpcom/io/nsAppFileLocationProvider.cpp || die "sed failed to replace plugin path for 32bit!"
+ sed -i -e "s:/usr/lib64/mozilla/plugins:/usr/lib64/nsbrowser/plugins:" \
+ "${S}"/mozilla/xpcom/io/nsAppFileLocationProvider.cpp || die "sed failed to replace plugin path for 64bit!"
+
+ # 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}"/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}"/mozilla/toolkit/mozapps/installer/packager.mk || die
+
+ # Shell scripts sometimes contain DOS line endings; bug 391889
+ grep -rlZ --include="*.sh" $'\r$' . |
+ while read -r -d $'\0' file ; do
+ einfo edos2unix "${file}"
+ edos2unix "${file}"
+ done
+
+ # Allow user to apply any additional patches without modifing ebuild
+ eapply_user
+
+ # Confirm the version of lightning being grabbed for langpacks is the same
+ # as that used in thunderbird
+ local THIS_MOZ_LIGHTNING_VER=$(python "${S}"/calendar/lightning/build/makeversion.py ${PV})
+ if [[ ${MOZ_LIGHTNING_VER} != ${THIS_MOZ_LIGHTNING_VER} ]]; then
+ eqawarn "The version of lightning used for localization differs from the version"
+ eqawarn "in thunderbird. Please update MOZ_LIGHTNING_VER in the ebuild from ${MOZ_LIGHTNING_VER}"
+ eqawarn "to ${THIS_MOZ_LIGHTNING_VER}"
+ fi
+
+ eautoreconf
+ # Ensure we run eautoreconf in mozilla to regenerate configure
+ cd "${S}"/mozilla || die
+ eautoconf
+ cd "${S}"/mozilla/js/src || die
+ eautoconf
+}
+
+src_configure() {
+ MEXTENSIONS="default"
+
+ ####################################
+ #
+ # mozconfig, CFLAGS and CXXFLAGS setup
+ #
+ ####################################
+
+ mozconfig_init
+ mozconfig_config
+
+ # It doesn't compile on alpha without this LDFLAGS
+ use alpha && append-ldflags "-Wl,--no-relax"
+
+ # Add full relro support for hardened
+ use hardened && append-ldflags "-Wl,-z,relro,-z,now"
+
+ mozconfig_annotate '' --enable-extensions="${MEXTENSIONS}"
+ mozconfig_annotate '' --disable-mailnews
+ mozconfig_annotate '' --enable-calendar
+
+ # Other tb-specific settings
+ mozconfig_annotate '' --with-user-appdir=.thunderbird
+
+ mozconfig_use_enable ldap
+
+ mozlinguas_mozconfig
+
+ # Bug #72667
+ if use mozdom; then
+ MEXTENSIONS="${MEXTENSIONS},inspector"
+ fi
+
+ # Use an objdir to keep things organized.
+ echo "mk_add_options MOZ_OBJDIR=${BUILD_OBJ_DIR}" >> "${S}"/.mozconfig
+
+ # Finalize and report settings
+ mozconfig_final
+
+ ####################################
+ #
+ # Configure and build
+ #
+ ####################################
+
+ # Disable no-print-directory
+ MAKEOPTS=${MAKEOPTS/--no-print-directory/}
+
+ if [[ $(gcc-major-version) -lt 4 ]]; then
+ append-cxxflags -fno-stack-protector
+ fi
+
+ if use crypt; then
+ pushd "${WORKDIR}"/enigmail &>/dev/null ||die
+ econf
+ popd &>/dev/null ||die
+ fi
+}
+
+src_compile() {
+ mkdir -p "${BUILD_OBJ_DIR}" && cd "${BUILD_OBJ_DIR}" || die
+
+ CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \
+ MOZ_MAKE_FLAGS="${MAKEOPTS}" SHELL="${SHELL:-${EPREFIX%/}/bin/bash}" \
+ emake -f "${S}"/client.mk
+
+ # Only build enigmail extension if crypt enabled.
+ if use crypt ; then
+ einfo "Building enigmail"
+ pushd "${WORKDIR}"/enigmail &>/dev/null || die
+ emake -j1
+ emake -j1 xpi
+ popd &>/dev/null || die
+ fi
+}
+
+src_install() {
+ declare emid
+ cd "${BUILD_OBJ_DIR}" || die
+
+ # Copy our preference before omnijar is created.
+ cp "${FILESDIR}"/thunderbird-gentoo-default-prefs-1.js-1 \
+ "${BUILD_OBJ_DIR}/dist/bin/defaults/pref/all-gentoo.js" \
+ || die
+
+ mozconfig_install_prefs \
+ "${BUILD_OBJ_DIR}/dist/bin/defaults/pref/all-gentoo.js"
+
+ # dev-db/sqlite does not have FTS3_TOKENIZER support.
+ # gloda needs it to function, and bad crashes happen when its enabled and doesn't work
+ if in_iuse system-sqlite && use system-sqlite ; then
+ echo "lockPref(\"mailnews.database.global.indexer.enabled\", false);" \
+ >>"${BUILD_OBJ_DIR}/dist/bin/defaults/pref/all-gentoo.js" || die
+ fi
+
+ # Pax mark xpcshell for hardened support, only used for startupcache creation.
+ pax-mark m "${BUILD_OBJ_DIR}"/dist/bin/xpcshell
+
+ MOZ_MAKE_FLAGS="${MAKEOPTS}" \
+ emake DESTDIR="${D}" install
+
+ # Install language packs
+ mozlinguas_src_install
+
+ local size sizes icon_path icon
+ if ! use bindist; then
+ icon_path="${S}/other-licenses/branding/thunderbird"
+ icon="${PN}-icon"
+
+ domenu "${FILESDIR}"/icon/${PN}.desktop
+ else
+ icon_path="${S}/mail/branding/aurora"
+ 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}"/mailicon48.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}/mailicon${size}.png" "${icon}.png"
+ done
+
+ local emid
+ # stage extra locales for lightning and install over existing
+ mozlinguas_xpistage_langpacks "${BUILD_OBJ_DIR}"/dist/xpi-stage/lightning \
+ "${WORKDIR}"/lightning-${MOZ_LIGHTNING_VER} lightning calendar
+
+ emid='{e2fda1a4-762b-4020-b5ad-a41df1933103}'
+ mkdir -p "${T}/${emid}" || die
+ cp -RLp -t "${T}/${emid}" "${BUILD_OBJ_DIR}"/dist/xpi-stage/lightning/* || 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
+ 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
+ insinto ${MOZILLA_FIVE_HOME}/extensions
+ doins -r "${T}/${emid}"
+ fi
+
+ if use crypt ; then
+ local enigmail_xpipath="${WORKDIR}/enigmail/build"
+ cd "${T}" || die
+ unzip "${enigmail_xpipath}"/enigmail*.xpi install.rdf || die
+ emid=$(sed -n '/<em:id>/!d; s/.*\({.*}\).*/\1/; p; q' install.rdf)
+
+ dodir ${MOZILLA_FIVE_HOME}/extensions/${emid} || die
+ cd "${ED}"${MOZILLA_FIVE_HOME}/extensions/${emid} || die
+ unzip "${enigmail_xpipath}"/enigmail*.xpi || die
+ fi
+
+ # Required in order for jit to work on hardened, for mozilla-31 and above
+ use jit && pax-mark pm "${ED}"${MOZILLA_FIVE_HOME}/{thunderbird,thunderbird-bin}
+
+ # Plugin-container needs to be pax-marked for hardened to ensure plugins such as flash
+ # continue to work as expected.
+ pax-mark m "${ED}"${MOZILLA_FIVE_HOME}/plugin-container
+
+ if use minimal; then
+ rm -r "${ED}"/usr/include "${ED}"${MOZILLA_FIVE_HOME}/{idl,include,lib,sdk} || \
+ die "Failed to remove sdk and headers"
+ fi
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+
+ if use crypt; then
+ local peimpl=$(eselect --brief --colour=no pinentry show)
+ case "${peimpl}" in
+ *gtk*|*qt*) ;;
+ *) ewarn "The pinentry front-end currently selected is not one supported by thunderbird."
+ ewarn "You may be prompted for your password in an inaccessible shell!!"
+ ewarn "Please use 'eselect pinentry' to select either the gtk or qt front-end"
+ ;;
+ esac
+ fi
+ elog
+ elog "If you experience problems with plugins please issue the"
+ elog "following command : rm \${HOME}/.thunderbird/*/extensions.sqlite ,"
+ elog "then restart thunderbird"
+ if ! use lightning; then
+ elog
+ elog "If calendar fails to show up in extensions please open config editor"
+ elog "and set extensions.lastAppVersion to 38.0.0 to force a reload. If this"
+ elog "fails to show the calendar extension after restarting with above change"
+ elog "please file a bug report."
+ fi
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+}