summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2016-07-19 15:09:26 +0100
committerV3n3RiX <venerix@rogentos.ro>2016-07-19 15:09:26 +0100
commit2d40ed1d3f8088574d0fc8b89217ad6385bd7df4 (patch)
tree77ce96fa56d2e75a877ab632e22f6f639e0b8984
parentf4d618afce6e1528a652b80b55d888139e59cfe6 (diff)
import stable thunderbird from gentoo, keep ebuild in here, in case it gets changed or deprecated sooner then we want
-rw-r--r--app-office/wps-office/Manifest1
-rw-r--r--app-office/wps-office/wps-office-10.1.0.5672_alpha21.ebuild95
-rw-r--r--mail-client/thunderbird/Manifest62
-rw-r--r--mail-client/thunderbird/files/enigmail-1.6.0-parallel-fix.patch38
-rw-r--r--mail-client/thunderbird/files/icon/thunderbird-unbranded.desktop9
-rw-r--r--mail-client/thunderbird/files/icon/thunderbird.desktop9
-rw-r--r--mail-client/thunderbird/files/thunderbird-31.7.0-gcc5-1.patch242
-rw-r--r--mail-client/thunderbird/files/thunderbird-gentoo-default-prefs-1.js-19
-rw-r--r--mail-client/thunderbird/thunderbird-45.2.0.ebuild365
9 files changed, 830 insertions, 0 deletions
diff --git a/app-office/wps-office/Manifest b/app-office/wps-office/Manifest
new file mode 100644
index 00000000..f742d084
--- /dev/null
+++ b/app-office/wps-office/Manifest
@@ -0,0 +1 @@
+DIST wps-office_10.1.0.5672~a21_x86_64.tar.xz 161852328 SHA256 9f49052cc98958b5d60d08e2f0c81dc53f754aba1654f1407b02397a67b22356 SHA512 6b781d8b4db0173fb896e05508dd986ffb7d7c5e4ab452738b487d79588604b4a98f3616e0c775a1fd21ed20b6fbfbc9f81b1868c3cbfd34e770dfde8544c0c0 WHIRLPOOL 25b659336865f51fc1fe98300ce608c77d581db592398b8c801af44ef03c9f7892ea970e8c0f73f2c3b2420f77eb1a9d288aea5637225dc4ea1a3e01e2a35044
diff --git a/app-office/wps-office/wps-office-10.1.0.5672_alpha21.ebuild b/app-office/wps-office/wps-office-10.1.0.5672_alpha21.ebuild
new file mode 100644
index 00000000..bd3fe5a1
--- /dev/null
+++ b/app-office/wps-office/wps-office-10.1.0.5672_alpha21.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils unpacker versionator
+
+MY_PV="$(get_version_component_range 1-4)"
+MY_V="$(get_version_component_range 5)"
+
+if [ -z "$(get_version_component_range 6)" ]; then
+ MY_SP=""
+else
+ MY_SP="$(get_version_component_range 6)"
+fi
+
+case ${PV} in
+ *_alpha*)
+ MY_BRANCH=${MY_V/alpha/a}
+ ;;
+ *_beta*)
+ MY_BRANCH=${MY_V/beta/b}
+ ;;
+ *)
+ die "Invalid value for \${PV}: ${PV}"
+ ;;
+esac
+MY_VV=${MY_PV}~${MY_BRANCH}${MY_SP}
+
+DESCRIPTION="WPS Office is an office productivity suite"
+HOMEPAGE="http://linux.wps.cn/ http://wps-community.org/"
+KEYWORDS="~amd64"
+SRC_URI="http://kdl.cc.ksosoft.com/wps-community/download/${MY_BRANCH}/${PN}_${MY_VV}_x86_64.tar.xz"
+
+SLOT="0"
+RESTRICT="strip mirror" # mirror as explained at bug #547372
+LICENSE="WPS-EULA"
+IUSE=""
+
+NATIVE_DEPEND="
+ app-arch/bzip2
+ dev-libs/expat
+ dev-libs/glib:2
+ dev-libs/libffi
+ dev-libs/libxml2:2
+ media-libs/fontconfig:1.0
+ media-libs/freetype:2
+ media-libs/glu
+ media-libs/gst-plugins-base:0.10
+ media-libs/gstreamer:0.10
+ media-libs/libpng:1.2
+ virtual/opengl
+ media-libs/tiff:3
+ sys-apps/util-linux
+ sys-libs/zlib
+ x11-libs/libdrm
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXau
+ x11-libs/libxcb
+ x11-libs/libXdamage
+ x11-libs/libXdmcp
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXrender
+ x11-libs/libXxf86vm
+ media-libs/libmng
+ net-print/cups
+"
+RDEPEND="
+ ${UNBUNDLED_LIBS}
+ ${NATIVE_DEPEND}
+ net-nds/openldap
+ dev-db/sqlite:3
+"
+DEPEND=""
+
+S="${WORKDIR}/${PN}_${MY_VV}_x86_64"
+
+src_install() {
+ dodir /opt/kingsoft/wps-office
+ insinto /opt/kingsoft/wps-office
+ doins -r "${S}"/*
+ fperms 0755 /opt/kingsoft/wps-office/office6/{wps,wpp,et}
+ fperms 0755 /opt/kingsoft/wps-office/{wps,wpp,et}
+ dodir /usr/bin
+ for i in wps wpp et ; do
+ dosym /opt/kingsoft/wps-office/$i /usr/bin/$i
+ done
+ dodir /usr/share/applications
+ for i in wps-office-wps.desktop wps-office-wpp.desktop wps-office-et.desktop ; do
+ dosym /opt/kingsoft/wps-office/resource/applications/$i /usr/share/applications/$i
+ done
+}
diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest
new file mode 100644
index 00000000..7b1ef66e
--- /dev/null
+++ b/mail-client/thunderbird/Manifest
@@ -0,0 +1,62 @@
+DIST enigmail-1.9.1.tar.gz 1736876 SHA256 0393119725fa5931d9888a2a1c9796d440ee7975ca3d005eb63142768b10f993 SHA512 5417d7744ff5b8299d9799059f62013e546fb74206782169e5ce6baa0950d96d1c8996c99ec902ca73b241fd1268966e0a7ad30c032a1706a0efbf06fefc311c WHIRLPOOL 80cff68461edc743851de5a83cd04105f6689eb1289f46b72334a96b091dc430399a91b2ab004a39bd7cb04433ab0471dd07b44d39fc2eb3869487b07841fc5a
+DIST firefox-45.0-patches-04.tar.xz 18600 SHA256 2ee0ab58e0a1db7b573dd7ac407dcb9a43a85dd295c5d6d263f72ce629c5290c SHA512 cf5d4ddfe14dff92950baae066350ace0a503c5bdd9d837e4724fd2fb905a2fb540dcf34971531e79547dd62dfbf217d472f39ccc4802f34a245e24f406fdb5e WHIRLPOOL 1461c61ba7e54b7a91c758fdf91fda22260eaff4148b3cccab8ccfd9d09a3d80c0314e999284d392d9e961c42cd9720d6d30ac190074f74d1e53ecb1afa1b1e3
+DIST gdata-provider-2.6-r1.tar.xz 83836 SHA256 e181d5fe69e66f34719295790301e0d265c855be5f30df516c52dd3708d82158 SHA512 e5fcf60c221590d1d904ce8c6a74da7208b118c2872a26267f4ee6d3e68eea466d44b979b7259a012a21e48eb5b470d52cc9e58584226fe04ce88ff698da495b WHIRLPOOL 0e85fbb321edec0397b42808fd6320e245de35ddd1cf772545c432dbf26d8c28b042ba2c61bbde2abdbf4d5cca076436e6d678d6d636d3bcc562470d485df6c1
+DIST lightning-4.7.2.tar.xz 1927008 SHA256 55a2c26941834600364aec1444443797662e92a6a8203c4f5f2b315830755d80 SHA512 878fa278b8f8a6b7733e81aed0864104ef3c60d0236b729c71cc5e4e453b97255c3e4e4140c053e1ceb586142c46ee57b21539e23256a0bf78b6b8628405de88 WHIRLPOOL 53979b914e944f9026ae9d93b9ced6e69d9872ed4f7f385037fbc5314ad496deb489bc1d6435cf27aa74d9db4f615fe17a06ba022daa496f4d2de30aa2bfb48f
+DIST thunderbird-38.0-patches-0.1.tar.xz 684 SHA256 cd2a347b72a104e72d38e56bb92df3464e8820485119b4114dbd0bbda131a808 SHA512 52c83af301be959e861dfec55b3c4bc60035387c606976bd29232c4cba077230edcadef242491e699fba10027d0408dd4f33fa320bcf96727afe149166ca02de WHIRLPOOL a378a0fa1b152f17681a5e389662fedfacd45a137b224f038d3c98ab4a024bcf9e753fb2fe018cdb7126fb710ee8baabdf7882540450ead2985070d0d1f12eb0
+DIST thunderbird-45.2.0-ar.xpi 490775 SHA256 a978e30fff1f2da8f420f512a3956a7381fbafcc1fbb9692cdcdeb9277259739 SHA512 94c0d79cc278a9763577efdee9a8505d52f9b62d6ca2b3ca0c015cdf7c831cf5d757f9900c0da767c809396687bdad280086275de616a8073f0aedce4910b197 WHIRLPOOL b4c3748249bd31a895d19d944dc1a031f9c39680ea4f43a475344f11b38695da659ec9e1a4def602620f1847b4516c5d12f124bd255b484c98926f6e656139dc
+DIST thunderbird-45.2.0-ast.xpi 428059 SHA256 396c5eda1408bd303d848be10f836603f325166097741857a6eff27d10dfa5d5 SHA512 0c19326eb1c27e12bbc3d01dccc35f84b74c6fa736368ae87a329d56684b5b530ff7d7fa79fa5983f460d7a69af97afe10980cd557454b634525f297fb9cd755 WHIRLPOOL 93296ed54faf46ca259718c8728f2b8b1121028bdadf5c9711c12c67cbbbe13f25ba6dc50faec178ee9edb696c44fde14b054aa119b7200de02ff7c61c4631cc
+DIST thunderbird-45.2.0-be.xpi 469096 SHA256 daf2f8099263ba47043284431abfffb9621be3f73fbc66be4d392e233cabb166 SHA512 56a404e755afc964d960f61279b329216aea2523158c3250bf8bcd0b8e110659b2a148f80953607e96134e11509b0a60dfd878f73df0f90826a0061db56fc693 WHIRLPOOL 0bf28c99c972cda7a4f7518c15da52dfd23c42c024f4e7daccbeb3dc54c0c3f229778d1f164a4e296fe5b4841cd65117457225c2bfdd5327cd685b214f22b66c
+DIST thunderbird-45.2.0-bg.xpi 524299 SHA256 118c047b82bbc37f249447d9f5a77d994b2d01e60347ad63241940e9944aaa3a SHA512 a3b7b9a3671439124c3dc40d2f714a158006e77a40c532d7f09d383b6886c7dbbd3d516ad328722b0861b34c4484803b216ac5f66d28216dd25be5c441f123e0 WHIRLPOOL 1a28c09ce5fe3b95bff93c3821f061f160fa8cc6e234597bc096423fc6ab9b65ae56b6c36982cc64873e044f3bc96b6513aed2b033f563afb5da7ffaaf257d0e
+DIST thunderbird-45.2.0-bn-BD.xpi 581439 SHA256 ea259b4d5ebeab67d9791aab7f6da8f3d88bb97f679c805f4517a981816d08d7 SHA512 bef0108ea06ba28a001c6314222ec4f6f2885c5d28fbc11b4848ab3920f73ec277a029ab2b3dfc57e91a1487d212ff6480a9b2ca4c10a696c64ecc37d4a558b8 WHIRLPOOL 7bd617e888f9b002ed333230daa17288f020d01c27667a1f6c88e2b69e2dd81977395c0943367333a2f8fe1570c540185e358dc55642fe56e0630ca122923b9a
+DIST thunderbird-45.2.0-br.xpi 465999 SHA256 899f9afb7fcd889dc4da068d3a35feb6d4a84928124505830e6d5cd4f66c1eef SHA512 c63b4a4bcf9b40112df34a5208715de39c4f43b39397d31e58f9a0c4cb1ff5cc8111491398dc7765bf77efab0693e027207ff66dfcfd148ee02ca028f0828c02 WHIRLPOOL 3bdff7f64ae70575d15a5db5214b6f5a2e91202c45d02fe780b789ceaec6280795a646931cf98a8d318783414dec7e1b060c2ed94b18ae23fa44c0bb160e5c28
+DIST thunderbird-45.2.0-ca.xpi 467980 SHA256 b066d9d80a17244f03b996158fa16b8fcf9049a1b922249d2bf09823ea3deaa4 SHA512 ce53e3a9ba620d065b718b2318de4932a78f090a92159c8701129de2bdeec39572eec792ae49eb60771bf8eb71f0d23158499abcd36e1f3a2e91ba7d5676b4a7 WHIRLPOOL 80d7ce5d5304d0978a882ae090758a762fa22c6dbd6117e4120d934bbd8aade13d337debb9248f06dbe0d61cb1de213beaf54834de8d9eeb9a5866406e2a6705
+DIST thunderbird-45.2.0-cs.xpi 474327 SHA256 be80f75b6db1e345c79f61aebf918127754d8aad943219dc2631e5eb82a9ae4e SHA512 31466d9fd3861c3e2b61a7c1b1c4d8e4d6480441376c058fdac08b4ab0643419bc8a2a372fcf439fa876153d93587135f12f961c485bf020ffd1a4b67b4c8d57 WHIRLPOOL 50ca4a85af8b8c28e68e472fbd02d99f65d9cd92f9d639409f65a96bbfea968789ef69da9602375367106b5dd058c6ac395c05b97883b9ce1cdb491d04e4db12
+DIST thunderbird-45.2.0-cy.xpi 456120 SHA256 0f5db3def36ae7e0fa829c3fad44e11c1363bda38ae779efdf38cd6ee563dbd6 SHA512 cb0e7d6cd3b4b302003cab28750b4c26e0bf6870f6a6bed6b9f96228503b852b504fa2d42ed57247134280d6936f49a425770ecb837e574f73ea05daa7497d7e WHIRLPOOL 607ee59b1ee3317b6c00229065f47fb1b85a543c06bb52107954954dc98cf7ea2933545fb9fc15011894995d40d6deb001b237d33aeee4f67bc0f11cf9cf3b58
+DIST thunderbird-45.2.0-da.xpi 445594 SHA256 7a62a915897cf2ce2c0c45a2cc683f8df2770bad0aa818eef9e8bd2fcd031566 SHA512 9628f4d2a691d46c6b8989c400f62c4846fb2f08e3b767e0a12b1b1de90863364b9223bcdada4f04d6b7efb42ced052cccff4022149e82c5104990fe542560b0 WHIRLPOOL f7a1ae44c4dbce05c31b8f51756828bb40dc290f329b2947ebd276e7433ef7f38b8b04f7e69ecc3ff517ea3c2eda1ab3205b4311982c5f7167ed589f5c3da34a
+DIST thunderbird-45.2.0-de.xpi 451956 SHA256 9e1ec973a715740a857c3aae15fe8bfcd01209d80d64d2cafc6ad086dd0ed2d2 SHA512 6b805eee9d64614c6c2561de8d5255b6a3d2b780592d7b457fcfd7703309bf3e1cf0115d0862722725dd74f61f4f7a1a3c4aa5833e0f4ed2b2843b74e347b475 WHIRLPOOL 5ab4198f4cb16e99403bc69342e6781c1eaaff1110a32e0081c0bf3051454e50ab5cf47697d40c6d22e582ef3aa5430c69f6925d5a43091d6afe6f4b1a2c639b
+DIST thunderbird-45.2.0-el.xpi 514358 SHA256 9ba451a5b06685f43387f56304745dfb5ccd0d946b5b7e2571fe7490328fa761 SHA512 136e8d7b632102d03e694efe56ac09120561efad753f8c844b967e0ff4131d5114119c209b1e76a26d73950628ccbed27ddc4ed59f3f5a3fc8d5f37626db6253 WHIRLPOOL 05014c02c350597e547999de640c5f7fad00cb2714045d4bd94a584ec2f37e63ab4c4342ba3590ef639219c9c252634c24d5de181ad6f23ba5623ab883a198cd
+DIST thunderbird-45.2.0-en-GB.xpi 437603 SHA256 aa5c3e259439988ae44ff97ba743c044cd5ef731350b07fe90e430b4e9e7b326 SHA512 005a345dc51907cc94f396a0fbdfde2006f0bd5e9db9fc1243009550bbfef72302caa09161b2fcaf41459038d4a538f7b9089f791afa18ea25cf49de2ed14b86 WHIRLPOOL 20a3b5310c0385739263cf95168772b998cdd625ab86389531223b5447b46d95f03fe8954060376fde441b3c16300074e5bb8776572ecd92f48865943584e89b
+DIST thunderbird-45.2.0-es-AR.xpi 464683 SHA256 53206d90dde7e7eb7e43b6eafe0c01c5b0f38bd36ba82987fe182846da676ce2 SHA512 eb999df62d67dcdffdae538ab2fd8daa266ea3760d29ead230aa3639ca29df0d19b1e3a53e422d2999a86aab9adbbfccd11583ec3da9c4dbab1d95d63c31a986 WHIRLPOOL 034b1dab2c6b860813f1dfde920d6cc7096e13dd08adb3c0481f8cbf46ada95983e98c3a6dc4b852c49994a5a949077a5aadfd9adf815f35ae230d25a8ed006d
+DIST thunderbird-45.2.0-es-ES.xpi 388000 SHA256 b0d650684043e9ea4aa480b32303dcf457830611e6ec0d60471f71d6a74d206e SHA512 a32af4ac2fe17c7cb2499e2b225445eea513888824e588beb04800176e7d324486571d7a1794b2f2c8ba91eb775824a93b8d0e2f635df93c5cba75a2d09f289c WHIRLPOOL ddf293ecd293f7fceed02715f8f1d405b22da6bd473cc56de830f994aa77537e38164bb18c16c4ccac5d4b12ab4617c489e9608667a124e36ec423c4bca428aa
+DIST thunderbird-45.2.0-et.xpi 458418 SHA256 15b674575aa8aa5019ccdcb0c851ddc40c4e0359147efbf750f05e2fef9c93a3 SHA512 ef5f771069316aa7e23ff5f39ada03896fc7bce4105d4f14037f935aa2f661dd48e735d1f624355a6219c5843be498f309f1d80d314065202c7a5e1e6d3366e0 WHIRLPOOL 30edee1c231d8a9e2e1070af0fc14582c28c0edca28b0aa10b813fb3cd3ffb5e34e4f3ac3eb8fa019d4c6c228d64e762796ba1dbcf34b368368a9f5a0cb0afd7
+DIST thunderbird-45.2.0-eu.xpi 456708 SHA256 cf1689340d3443fcdbf8bb2a81257f7c7acde63509d59fd516d78c0b9585da74 SHA512 344b000872537ba329dfc0b944d325bceb324af581152293deff58146b9a5d7f4c4c407a879ddf70defc45f118c795e9a86057be8388894c611d28f01969a622 WHIRLPOOL 0bba4ce92ee76e959758fe1fc0b1b7fdc4cfdf0598ba75523d49f9b967b5f87e4dbb7090dcaf21b5c014e0a0b59bda40d0f4a1dc75ab561e53b501efe22340f7
+DIST thunderbird-45.2.0-fi.xpi 458335 SHA256 3ef09752756290132951a80261ba93d1160bffeeb30392f3e348ac7a843a6b6b SHA512 bb5c9da53d9d630f8a0be0113489df714b36518e0c77420270347970682ecc74e3c9c82a57aeff39945473a16d784f052899c3f275ba0644d51c6c8eb064c89d WHIRLPOOL c2e7b7f273ffa1046423aee0a94cb1f849e3e7e2290801c8cf96aef0fe1d1ddc257da5bd5f4747345a60ae1384ae0c7154f91891dcf0247d8042a0bc3ac1422c
+DIST thunderbird-45.2.0-fr.xpi 475466 SHA256 8a0ed16318f1f15e52e31042f5af8c368afd2479d685e8be31b78f3f7d5ad232 SHA512 458635798cbf3e402b9ee4334ade9cf51b4fe7c9e6f688d4eb0d7776786181ea409f8f4f309dc3227f29041e53e62a3caced9f1a4dd72661352ec61cd7dbd27d WHIRLPOOL e728f240ddc5d910f6cc7d8bd17eb1f1b50664326fa387599bfddb5115e875930f71f51c59b23bf12944c7bc492b5196d0ab1a19c9646b369834065ef94a2fcf
+DIST thunderbird-45.2.0-fy-NL.xpi 464757 SHA256 d6dc477d2f567a966c5a5c96164265da5804e352f3a3df63c869953634385c7e SHA512 acf4bc09dc3761e6026eaba4454c6eba2da843ccc1520b9dc75990da9d9420d7feaee01337c80ee73849b6ad88d8d92a3e3b200d91637a9ad141a2847bd874f0 WHIRLPOOL fb1af5a71a6304b0801242c1bc7c7720a31d4aa4fdc843745df13af6881c55029d51092a14d733be15c184123dea225b8fc29717e243e91b0487f906f17f52ae
+DIST thunderbird-45.2.0-ga-IE.xpi 480317 SHA256 a3f80339ef6e980fd45dd0877357497ffba73b05e04e0911e1dd2ba5f626e65e SHA512 bd8839d50e140680507e377cafd9d6091af3c09e90801238d4bb4247c3cacdf6696962c4b821bdf2dc9afc774d48b412dcd7a933b405c597e9d7e1abae8efccd WHIRLPOOL a595d937bdb85c3e762c21c1463d05d3cef67494964b9af1de27f87c2b45a77dbf04feb9887246ec46e8f5cb788620bbcfca9ed3ba9e21fbd976650e4fbf83bc
+DIST thunderbird-45.2.0-gd.xpi 478296 SHA256 c48487d6fca86519b3b773fb37044bef7387505c45c37b2f302eabce8201d1ed SHA512 d952fa2c691d7527376a3c369e7239c27b338cb337f2f9a870dc8b8838d763895d841794bde32754e890499b2bfad63e63ba907a5f7254ecae631fa2e923f330 WHIRLPOOL 16a3f801abd9c4e95aa90430732f1b7466b0ee633e7c083aa8e94b228b18fe62d14f69a1d61298a458bc27e236555d2607b1339beeec22215a6c69c56127c50f
+DIST thunderbird-45.2.0-gl.xpi 478580 SHA256 496153b62e38876d23d4f7b5da826be8d158ee7a7e5294025202c1944c0ad667 SHA512 16eba16d7f9ead8440a600fb0ee013c2ceb7ee06250fa17f4b7d15885d3fb52ccaed35af8a4f772a9818b8f4754487956a9660d56bc0f7279698e8eb79d73f38 WHIRLPOOL 61a3d665aefe72c818089acde213f6931b118caf3e6548e40562eb9ac10a02acf1abd8e04b538a21df1c50346336f58ccfc6a8d5fd3fe9de1abf78b369d7e761
+DIST thunderbird-45.2.0-he.xpi 497962 SHA256 ca89bc13f9126abe02c9a72191ea59667aaa9c0ba90c0618c6b3f152687707a7 SHA512 ad0ccda1f9e6bc879f5070bb0d2751d1d465cfeeb9b8b1ef92500a527e138ce357dfebf6aa7a04321943e9266e8b8689afbb68da17b50071978e981cb49554db WHIRLPOOL e3ba67cf42f9084a2bf17f3a2c902445fdbc0407b30cbf099fa6d0db358d4474baec0f105a72e67d532493bac6e4b7547c43f411dfdb3c4d40482211a490f148
+DIST thunderbird-45.2.0-hr.xpi 463959 SHA256 013a5e1146f1126e839aff7cdba5b96bfc03a7faece0b60ce68a780ba32ef4f5 SHA512 4818c015cfde81532e6810d984d50f57382abdf6305ce4660ce1252ef9f52a8c049f7912984a2fcde34532d7143d08fd59e9002a4be45fe6c19e229f19754471 WHIRLPOOL 047de6cd18a77df0d621a66e97d15647d42f2c99880655ad9c5e057d98f33be773d783f4c26bc40085245e77470d9f09063a9f95a4eec2142b686b3020f9c32a
+DIST thunderbird-45.2.0-hsb.xpi 479414 SHA256 99b232001e2bfa81a938d23fa6142660055aba5ad126b6e1e161389a948dcbd8 SHA512 b6ebb4cea7b1d98626a0b94939933dc3014328027862fa77c50f55f256b72bc6b9a9e641d78dc95e4f9e410f71f5e0b44f2c74b398630e18e77f661eccb057a5 WHIRLPOOL 56ba033bff6b74c3626ac85ae671da280a8a178af5bdd0659f63c04e3c6041466d098627d0f7db99bff314b8ac01bf41d5dc8903510501a393d99ad7b365c7e6
+DIST thunderbird-45.2.0-hu.xpi 479583 SHA256 607362dd26f7d530589dc02ca78441eaeafe6a78ae356967d8f87c23087d3c84 SHA512 837b391f713289632eac23e3599f5040b18d94c64ccfc18cc2b7a2760a64aa3fb36e9c16f6b7c493ddef2092c9a536683aed5604067ab4fca390f75b4f99a5a8 WHIRLPOOL 77a0bb3e75c3237914cdb88eaac17073d501e93413ea5ed2c40b55d4a5015afc73a7083ba15ae3c7e0d21580d159005fca2a744c3d47a04b413fd41951972eee
+DIST thunderbird-45.2.0-hy-AM.xpi 518883 SHA256 c57aff249ba9a5974c0a25f99eff35c9d6b9e6e01596059068003416681477ad SHA512 82cb17272cf40312b6670357d9571f18ed937e87e5d5f3143923d072e5bd53b33e9cf4ad11603ef67f649ab28879dd467caa1e16631f388ef4bbf578aba23656 WHIRLPOOL c7c15b54918645c3d32d0ec88913760ca4978222a37badda1ae16ef0af71be7e1f1fa088bd0e8e5b6c402eb3f3043577ee56f83ad09ad3c6078d5fea15837a52
+DIST thunderbird-45.2.0-id.xpi 499982 SHA256 785c4ba30e8b3d41b4b7989febcf03fa6f89c5d6024e12df6860e52ef5fd1de2 SHA512 1c8c02f8a27bd06511755db3c9dc34c10bf58384112882831c9c3fa5da6748e67d3ec042e7d62b339656644f8f0230459f65df59b4e49aac7088b41c707e017a WHIRLPOOL 08858afa806dd1e003c1323474a97c3e8408af2619d1ea064b59b292aa19c3e7cb769361bb264ddb7bf2804096153e717669486753348ab2f77a3fab74475ee6
+DIST thunderbird-45.2.0-is.xpi 462190 SHA256 427f2f3b8676d925fa0ff5b59515da6f67b222bcc7c0e9039063283425433e83 SHA512 d4308c1597b6b3bcfbcac5ca9ea4e9b6c4cdba576dad6acbbd50c41ba8c6a0057de7eed3d6254ac90eef395c025ef2e790022e72ebfcb0b5ca1bc77617884fd1 WHIRLPOOL e9bf549e70caae1b97d35f4bfbe7304dce28445f99c57190cdce9b1029691be58472d320b5f1c8c7cb8a47d395088e9022303612c73b80e4c6416f8c5bfd0a89
+DIST thunderbird-45.2.0-it.xpi 376889 SHA256 c8cde3092ea42720f9824fe9fb0fefe2a354ebab846b430ce14a020d2d1f2ce0 SHA512 c4af6fcf654e30ac9585e3317a7c6ea426f1c469ccb3820f1b0a4bdd4ff787d69946527b34f49abc1b982d19e95c5ad2da8ced85dfafedace3cc4e7ae72f8ce9 WHIRLPOOL d6505a63703d700ecdb2172d8e5366fc131b83093de33708055e4e8379ac55cd18e4f6c3a34f8d83767014d084f6337ee116dbd881a2811f652d5395d0edb3b8
+DIST thunderbird-45.2.0-ja.xpi 519552 SHA256 0a2927586939524e1b3ebb5d63cbba6c4124c0fcf7de034e184e6509522bcee4 SHA512 1646395ee321e936a83d57f18d6868c36f972387d06822d843d37d1c4a5c0bc7e80bc42f8b4030f59dd4abcd5a8a0001c12d21ec010b4ce673650c62659b5ad7 WHIRLPOOL ee26d1372dff090aad50c2ba95c5b6385dc99f52fbd2243b33204dfd5f46a49aa68ff9566cf59592ff79345c954a7df30588a26941cc887a5a56e721089997ad
+DIST thunderbird-45.2.0-ko.xpi 487418 SHA256 20c3e0bcae68cee6c00b788763ccf17dc9bf4d69667fd8ad635f13035aa85699 SHA512 f60d77f8753c1f33c2d11b6552046883d250e4a37713f030ffff9e19da6f7770c3e6b7754008aee6c743d28ab9842140f47534f0c3c2533183407ddc07f9c89c WHIRLPOOL a026367db37855ec8de1f85cc20ef691115f6580eb56d92ec099505eb7c03a66d88a9288ee7811261e74c45532f957e1c569d6cb63af2397aadd16cc9ff49c43
+DIST thunderbird-45.2.0-lt.xpi 477735 SHA256 f8f6a6ea5d6719acd9fefaef9286083a9322b87e9926298896972716956a4c85 SHA512 d1600d5b651704367fcdf15cc7bc475268da6501cc7d6fb12fc54597bac0b49886f082912f058fe0a5ca989f995b19c722ca7e187c382d1bdb9b230b82475e81 WHIRLPOOL 5bbf73f0ba6253b9e0a197f362e3cf1fb9fb731fa61d8603b69dd6071bd23f483475774460dbe63f78c6512d89bf7d4a9f34b38e32743f155ce5ba222d6c8286
+DIST thunderbird-45.2.0-nb-NO.xpi 460011 SHA256 3360d3d7f0c3a04e595a9de3cff3fbfffed3889bd09b1d3eae7e663d12fa0c35 SHA512 d661f172acb9d829ce4d465d57badf9f5575c2bd4d8617cda08d6182ec551ce6bff82dd5df2b72ad006adbb8499962acfbd23f9ccf922aa40c595062a925d270 WHIRLPOOL b7ed0136f7aad3b97dd4b103d323eb82e09b10115b4eb9d12f570873d8e9511692483d4e99d43088614d4422f521033aa054577dbbfe6e9eeb3241de8e089241
+DIST thunderbird-45.2.0-nl.xpi 456664 SHA256 1c8e9ebb0b08ad58588dce9043dca6c5fe22420836e8d810863cd35e78e0c677 SHA512 93d5af03854c000b0b8c8c91df4b4cebbd4b39095a83e3dbeae2ad8a6775182d32c1753a03a385c83129eab1002b75d92c4bc889bf95c433d0da06792dc919e2 WHIRLPOOL 3007420242bb47e41944cf8aacc33b8df53148c0b4fa22d01080c2a705c0f19e1dac603e4bdc5d4c404fe001b2e234073b3291445796101baf21ad1ca3252c50
+DIST thunderbird-45.2.0-nn-NO.xpi 460880 SHA256 5a6e2c6d762241d986e7e9e07487b8b228951c7ae5343fa90a95333b18b352dc SHA512 a100a6166476cd733980dcd0da150d9891005cc7c992c56f6d80bbece88f6e163a54be6afe0353f85dd2e5afa383995488c35e918a0ec98a445e40c406f4a74d WHIRLPOOL 504d6784ca0c3a408a244cfc949ce03749b3cead37a13100ec5a867b0350e1d3076e84719cbd3b9322196e655053a1f7b06c8f39c83dc291fc2aa9b2315e7fc5
+DIST thunderbird-45.2.0-pa-IN.xpi 551067 SHA256 cc2083bd72177ea77ce84e82477a70a07d69442260a8c2d9b922385ce0eb475d SHA512 3afb23e020fe1e29d2af245a8dda77b8c5d25045c4ce174c30872b69c28566e31c810f12e03b40446d49ea7042246b5d7cb43bf97f90f72858c83f63f138198a WHIRLPOOL e9ae4575df7a9b1cd4b103910e4d4d484e8e09f15f76f1a4aa8ece551eb5a170984bc2baad46da2284ee0197683038be4c4ba02308dbe544b80c3ac1a1b925cd
+DIST thunderbird-45.2.0-pl.xpi 423867 SHA256 e93ed1f99303670926ee40da34987204382806cfa5a738bc7964084b0f40ccb0 SHA512 28b43c37dbbbba6b249a37f3e877584e94f7478c5184e386695b7cf1df28c10d68ba00da983bc410e4689aa3e116c5176c02259ffd2f17397f81dd46d285a54f WHIRLPOOL 6776d960c5265771b369d9c5dc19b902222607b1191d4d07df9f143afefe8acfe02843537e65bf7e4ce5d7838b4769a4a6e78151dcc06caf1fed745f2cc0f8eb
+DIST thunderbird-45.2.0-pt-BR.xpi 464682 SHA256 d8115c3268771c3b1465bc230d13aa5da97f598c3e292a6234f7509732bef448 SHA512 991f14e965e8036070946ece314b1856067aaab900beca8c89cae2296282331253402545be16b9c4704d7b9dbee50fcaacb801e6417e7242ff34d2c705f2d93a WHIRLPOOL b945766f5f629b15ac0620a3b7cbfe2199cd93f9187e6ecc825cf5e3404d672ca6ff85cff7a0fdb891343c1e1e9d905f93392636500b4083a8551f0a16a17715
+DIST thunderbird-45.2.0-pt-PT.xpi 463751 SHA256 9bdaf161f7dcbacaddb3c00f6a44bfed5e30d61f738343e413613507fb1a7575 SHA512 15ca9cc7151e9724edc9932fc9e79e88bb0a13c7e2db6a4a49653449b743ddc4b1879f0d5355314162898723dee20a7e4a39bf9db0ca25ca799ea25e49abd72c WHIRLPOOL 99933bc8e9d9e7f8bdf222b63a5bc60c2cabe1aeb812ad1d5e5e3e1e7848d363c126d5f6ef37f9d5e3184562bf26c80aedc3513d18ef89638bb8b2d83124a5fe
+DIST thunderbird-45.2.0-rm.xpi 462650 SHA256 34d759713de25905ef526d9f0e615339d0c79c42a1f7bcddd5cb87c59f32cc09 SHA512 6dbf87c6ad146fa6e565ba67daa384feab2ef7ba89319c932a9523591c1721dbc1a38188576a7e7f4f5871a5e8c4d4a37380f0a0fea7f674403cb4f1ae895177 WHIRLPOOL 46dd34e8a422aae35a77c6041acb4fa71410a3f03b30e3a6a9fdac5bc4e9f1dc8350c8d6682d5ca4a68fef4f871cf1e75875ed13039a0d4c8095f5ffb52fb14f
+DIST thunderbird-45.2.0-ro.xpi 468518 SHA256 da26f4d97f0df751f032e14f057504d4bd6d640e1d0b0add9eaf15243d7debea SHA512 e2ba927b31a91e450d9ccee07da3313dbd0c35699843689fafcffd55a087377c56db29d10c7dcbe56e51709147bc2261dcd9353adc1e6c71e83f7c61ec453792 WHIRLPOOL 88186adc6a1343bb76f3a976bef16f99e2db4a74411a557615d40f24f91a1c7e2bfdb141b1dc1f66535f2f804c35f111ec3e981513e6faa1e878a14178c5bfd5
+DIST thunderbird-45.2.0-ru.xpi 463891 SHA256 5a20ab55ad711289126c40c322cf520f93c91e490db3bddced1784d1504403d9 SHA512 584af4c68906573c352330848049a4ca3a143797ad2c813d31cece69463b2de6d762d3663f080fe61e18dac30eeecd14f6620e2020abfeb219b76af314744e3e WHIRLPOOL a5023207331cced8d032d229fb952725b895cb3342989e5ffe2a6b4a3f1e5b06d9e343d88931e753cbd1aa792295eb4be8504e6bebc13ba3dc8b69b40d38d4d8
+DIST thunderbird-45.2.0-si.xpi 555994 SHA256 56bb13177f104227caf0a2b11e96b997e466f0d1e3d932e4858d79b86aeb92ab SHA512 369c4a3e520ee9bd0b24caabc42549dcfff0146f8b0480788d4b4d1747e5ca4407fdf0967b0d572064a98286bbfd05e8a60b6761eff80d6650261dd795d2d8f4 WHIRLPOOL ad4893e92c6ab8f4f9a42277d23a05cf735fab8b0d6112808df177136edb61fde5244d51aa6fbffe504f5912dd817ba16c32ed8902053b1fdb1e43bc410270f5
+DIST thunderbird-45.2.0-sk.xpi 481492 SHA256 f43fe29427604817ff0fe912232a513b04560f1ff4438a3dea3ac82d0943379a SHA512 c9ee1e950a2641684a2437b44ce1e32640064b41ba4c84ccaf260b5f642243e26585847d42061bc87ae0c0cac4355bb39781b30e9dd340128e8eea5dcf53a652 WHIRLPOOL 51b138d4ea16a85e764a5266312e08333a6cebd03ca97c4adcd9aeadd1e65c0530a3347fae909b2183dfc814280ac1bcdae5246b0e8990c4c3b314638eb52841
+DIST thunderbird-45.2.0-sl.xpi 462781 SHA256 5275f45f8e621681d65ce85c0582ac49056af43130eee5a47f81210096875a9b SHA512 cb8dddb9edf82ee869c5a82e628cb18e782028e62275571a54708804a54ef9a04c44253e16945961cc563ee976a71eb6ea7b3635e20cd4cb44ca9e479678a7c6 WHIRLPOOL 4a33ec587f9de1d864667517b1354c4d8cab1f87b324c92bda1cf8044bc25d9bc0373533b1338b7a8d1425f1f37d66ef0549c5a8b366f849126a24649f272012
+DIST thunderbird-45.2.0-sq.xpi 469535 SHA256 c3c71505de44e585323fa927afeb8c93f5c90cfdee744f5e44768a3eafa8d872 SHA512 97a849cc46523b927412ed6f55fc306a62514871f6803bc995bb35c81dc135c7f739e2d16c812dd137be32e1d1365169420075813967d23ae844c0bd4c5df036 WHIRLPOOL 774f1b0a2aae419d431050060b5b8691fac0b85992a83f1565fe683b4641f15093a67a0b10d1c46b311b33431ce3418c9bbea1c4c3dd55989311e3f60cd9125a
+DIST thunderbird-45.2.0-sr.xpi 565464 SHA256 0675a05d99555f8ea8e9d77b351d5f8a9c694362d8a421663ad9cb4c7257dcdd SHA512 ca50f9e0a02b0f93419a5360e11dd4433052d18ae55c984850b8428816a2deb3d9aae4f430387313d5573f151cb834bf7ca3c61557b4cf9ce87654b77a5ba8de WHIRLPOOL 135c9c61ed7dc0c0a7fd4b2c2efa14ed3fc756ffda6bcdbc9160202977a04c3c51697f796707d1b75a03d58e6c5019ff67e42f23d8cdbf1c65caf3f44e7ae35e
+DIST thunderbird-45.2.0-sv-SE.xpi 465434 SHA256 cbd64d87bb674279e5e241542359138399f77608e7f23f1a73f7e08d2e000bd1 SHA512 971a86449229c4c657d5339364e4417475cf2bac83377fdcf8dd43e1316a2c1908edaa2a2176f09163fb15b0b236b48c067fd7d39047a5f004500d3b5df42c56 WHIRLPOOL 869c05b96ba693f3561b6447bf5f237a688fc4bc3c0885c144033e977befb063ff9f0f1b5fc24a1ac49b4ede559def5427f5129dd613c4b9a7fe35717efe53c6
+DIST thunderbird-45.2.0-ta-LK.xpi 579218 SHA256 3365a20f6a97745f6550b1be5710fd1fdac8d6277ab63ebf5c16909e397e140b SHA512 b5d17d17f6da303de520614019371bfae8252a3d9976f04acd62356ed0bf30acb9dbdc3c0fea2bca0182c5245ae1720e87ce18d68b0bf31ec9d07e1b4be53a48 WHIRLPOOL 2dbc66c131eea55c71864bc04e89e198d3ae9bfd1a22fdee04f91ce4efc81f2a50913f5de62bf47270f9c031eefdf334c41f10515bc43ef39d050e48507c0232
+DIST thunderbird-45.2.0-tr.xpi 467621 SHA256 ab2bbf3016773dfa422604e89562c41d30df8beff34b5b9c9602ed00aad6774c SHA512 e64dddd58efdab4b2d6803f8caf702780aab7f5af2e9ba5618b46deca185cdb274cfe0d73f8a38e10343ef7089003286ccd4065c21d8e90b45a0bbd10da3fc58 WHIRLPOOL c52fb94d7e067edf1662de4103eff86fd08fda8e9370c8d7f0493cb7a3a06634ca724d5dc9c8acff42f89160e518253ecb27b7cfc6cd5bae7eef9d3055d51cca
+DIST thunderbird-45.2.0-uk.xpi 536438 SHA256 29701e0f882973ca8f4a6028608b27be3350883e55040cdc46355dbce4c2dd01 SHA512 59df17733cd19374adee98a215962f097cb4ab945c32d325cb0d120cec307740e0703084560d3591dd1b97c7d49be7ccf00571facffbafc8eeb92dbd601af8a3 WHIRLPOOL edb77fbf6b4f56bc26b9b5ded41582c9b332f017c57b3df9397ac5c61d19466012576bd85043a2bcd2708a179cdd154b40fb7734db708b120537bed901fd2c7b
+DIST thunderbird-45.2.0-vi.xpi 540497 SHA256 760db86b7c8f851ba3416b50f0a5a44655629f9c4f9c1ef4282fc3c1c9e71778 SHA512 43ff6cfd76cc81dcf5bb61a9f9feb03277ea1f7e4061e504d09eeb32bd0fe4a563fdf1f89572ba3311ad81fc209b7e395f34dc3d3891775cb28ff70ccaef0859 WHIRLPOOL 95c299b65efd37748e96569a23e5452918c973cc929be08a5ef10222e08748111ec876e98bc6b8726eb40e5a9f88a661223189843fdd03dbf653cf52efc7fa24
+DIST thunderbird-45.2.0-zh-CN.xpi 489209 SHA256 0a876c51d52eefc894102dcc1d9c867d33122672e76e0393941f3af13fcaf1bd SHA512 1347097bda7b89b87e9923313b9b09e905273185373ee600581bdf8c96497778e2ae39545dd8a6ef88af38b30e1ce5bd1bd6eaa3d1b27eb82bc34530397de16f WHIRLPOOL 54ca5bd559ebe06c66c6907be546933881fdcf7207ab420979eae2981b5898220f31234b9d2a1ce035f07c036a6bdd0b627f94e08667131c081f25aa4af5ab73
+DIST thunderbird-45.2.0-zh-TW.xpi 490850 SHA256 14aa68a367c79a9f87788c304966d3a60e99a77a2c42db9ce05d5755cc67b93e SHA512 81b5408b60822da17fc4359b45414a9ac1dc529787c8fa87bb60ed576d36ebb9fb9f303e42d0f82ce44fbdcc15d976f48cbf9f10d77fb5408ec576251a57893d WHIRLPOOL 154f32f52c1aa88bf00b156eff415288e5b59be6cfc30dc72daa016bf3b3d0e52b2dd3f594540a851f11c8feee32739ba44eba2a1c2537190263470ef059c5ff
+DIST thunderbird-45.2.0.source.tar.xz 201023884 SHA256 bd2389cbb28138668ab41b26f1dce49c455807e09b43fd370ee765ae3f0937c0 SHA512 325aba6cc62fd86267a9ee63a01b114eb75cd256e19b11bbac4576abef3fff918426670254115e619527a1336d53badb54b079df7628117d91ccdcd0cc7e2e81 WHIRLPOOL 70f96128e857b7ae265f9993046837c7ce4dfc5739a552f99294119e1ebb5f03afe1d5ffa0a84b1ef5af01df4b91a84617644fb13ddf65046b9b795957bd0053
diff --git a/mail-client/thunderbird/files/enigmail-1.6.0-parallel-fix.patch b/mail-client/thunderbird/files/enigmail-1.6.0-parallel-fix.patch
new file mode 100644
index 00000000..ab4b613c
--- /dev/null
+++ b/mail-client/thunderbird/files/enigmail-1.6.0-parallel-fix.patch
@@ -0,0 +1,38 @@
+commit dd4ad2eebd36c84307222ca56c10c073527d7054
+Author: Patrick Brunschwig <patrick@enigmail.net>
+Date: Sun Nov 24 19:06:23 2013 +0100
+
+ fixed broken parallel full build of TB (patch by Fabio Rossi)
+
+diff --git a/lang/Makefile.in b/lang/Makefile.in
+index 2334d4f..38688e0 100644
+--- a/lang/Makefile.in
++++ b/lang/Makefile.in
+@@ -16,12 +16,12 @@ include $(topsrcdir)/config/config.mk
+
+ include $(srcdir)/../util/build.mk
+
+-all: export jar
++all: jar
+
+ export:
+ $(PERL) $(srcdir)/make-lang-xpi.pl $(srcdir)/current-languages.txt $(srcdir)
+
+-jar:
++jar: export
+ $(MAKEJAR)
+
+ clean:
+diff --git a/ui/Makefile.in b/ui/Makefile.in
+index 6309525..13c98ee 100644
+--- a/ui/Makefile.in
++++ b/ui/Makefile.in
+@@ -28,7 +28,7 @@ include $(topsrcdir)/config/config.mk
+
+ include $(srcdir)/../util/build.mk
+
+-jar:
++jar: dirs
+ $(MAKEJAR)
+
+ clean:
diff --git a/mail-client/thunderbird/files/icon/thunderbird-unbranded.desktop b/mail-client/thunderbird/files/icon/thunderbird-unbranded.desktop
new file mode 100644
index 00000000..f9d87bef
--- /dev/null
+++ b/mail-client/thunderbird/files/icon/thunderbird-unbranded.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Mozilla Thunderbird
+Comment=Mail & News Reader
+Exec=/usr/bin/thunderbird %u
+Icon=thunderbird-icon-unbranded
+Terminal=false
+Type=Application
+Categories=Office;Network;Email;
+MimeType=x-scheme-handler/mailto;
diff --git a/mail-client/thunderbird/files/icon/thunderbird.desktop b/mail-client/thunderbird/files/icon/thunderbird.desktop
new file mode 100644
index 00000000..f9c31eba
--- /dev/null
+++ b/mail-client/thunderbird/files/icon/thunderbird.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Mozilla Thunderbird
+Comment=Mail & News Reader
+Exec=/usr/bin/thunderbird %u
+Icon=thunderbird-icon
+Terminal=false
+Type=Application
+Categories=Office;Network;Email;
+MimeType=x-scheme-handler/mailto;
diff --git a/mail-client/thunderbird/files/thunderbird-31.7.0-gcc5-1.patch b/mail-client/thunderbird/files/thunderbird-31.7.0-gcc5-1.patch
new file mode 100644
index 00000000..7723b814
--- /dev/null
+++ b/mail-client/thunderbird/files/thunderbird-31.7.0-gcc5-1.patch
@@ -0,0 +1,242 @@
+Submitted By: Fernando de Oliveira <famobr at yahoo dot com dot br>
+Date: 2015-05-17
+Initial Package Version: 31.7.0
+Upstream Status: Unknown
+Origin: Upstream, self
+URL: URL=https://bug1024492.bugzilla.mozilla.org/attachment.cgi?id=8439834&action=diff&context=patch&format=raw&headers=1
+Description: Fix building with gcc5
+
+diff -Nur comm-esr31.orig/mozilla/js/src/builtin/TypedObject.cpp comm-esr31/mozilla/js/src/builtin/TypedObject.cpp
+--- comm-esr31.orig/mozilla/js/src/builtin/TypedObject.cpp 2015-05-07 15:53:49.000000000 -0300
++++ comm-esr31/mozilla/js/src/builtin/TypedObject.cpp 2015-05-17 09:38:36.550714030 -0300
+@@ -710,12 +710,12 @@
+ contents.append(")");
+ RootedAtom stringRepr(cx, contents.finishAtom());
+ if (!stringRepr)
+- return nullptr;
++ return false;
+
+ // Extract ArrayType.prototype
+ RootedObject arrayTypePrototype(cx, GetPrototype(cx, arrayTypeGlobal));
+ if (!arrayTypePrototype)
+- return nullptr;
++ return false;
+
+ // Create the instance of ArrayType
+ Rooted<UnsizedArrayTypeDescr*> obj(cx);
+@@ -728,7 +728,7 @@
+ if (!JSObject::defineProperty(cx, obj, cx->names().length,
+ UndefinedHandleValue, nullptr, nullptr,
+ JSPROP_READONLY | JSPROP_PERMANENT))
+- return nullptr;
++ return false;
+
+ args.rval().setObject(*obj);
+ return true;
+@@ -762,7 +762,7 @@
+ if (!size.isValid()) {
+ JS_ReportErrorNumber(cx, js_GetErrorMessage, nullptr,
+ JSMSG_TYPEDOBJECT_TOO_BIG);
+- return nullptr;
++ return false;
+ }
+
+ // Construct a canonical string `new ArrayType(<elementType>).dimension(N)`:
+@@ -775,7 +775,7 @@
+ contents.append(")");
+ RootedAtom stringRepr(cx, contents.finishAtom());
+ if (!stringRepr)
+- return nullptr;
++ return false;
+
+ // Create the sized type object.
+ Rooted<SizedArrayTypeDescr*> obj(cx);
+@@ -793,7 +793,7 @@
+ if (!JSObject::defineProperty(cx, obj, cx->names().length,
+ lengthVal, nullptr, nullptr,
+ JSPROP_READONLY | JSPROP_PERMANENT))
+- return nullptr;
++ return false;
+
+ // Add `unsized` property, which is a link from the sized
+ // array to the unsized array.
+@@ -801,7 +801,7 @@
+ if (!JSObject::defineProperty(cx, obj, cx->names().unsized,
+ unsizedTypeDescrValue, nullptr, nullptr,
+ JSPROP_READONLY | JSPROP_PERMANENT))
+- return nullptr;
++ return false;
+
+ args.rval().setObject(*obj);
+ return true;
+@@ -1253,7 +1253,7 @@
+ Rooted<TypedProto*> proto(cx);
+ proto = NewObjectWithProto<TypedProto>(cx, objProto, nullptr, TenuredObject);
+ if (!proto)
+- return nullptr;
++ return false;
+ proto->initTypeDescrSlot(*descr);
+ descr->initReservedSlot(JS_DESCR_SLOT_TYPROTO, ObjectValue(*proto));
+
+@@ -1358,14 +1358,14 @@
+ #define BINARYDATA_SCALAR_DEFINE(constant_, type_, name_) \
+ if (!DefineSimpleTypeDescr<ScalarTypeDescr>(cx, global, module, constant_, \
+ cx->names().name_)) \
+- return nullptr;
++ return false;
+ JS_FOR_EACH_SCALAR_TYPE_REPR(BINARYDATA_SCALAR_DEFINE)
+ #undef BINARYDATA_SCALAR_DEFINE
+
+ #define BINARYDATA_REFERENCE_DEFINE(constant_, type_, name_) \
+ if (!DefineSimpleTypeDescr<ReferenceTypeDescr>(cx, global, module, constant_, \
+ cx->names().name_)) \
+- return nullptr;
++ return false;
+ JS_FOR_EACH_REFERENCE_TYPE_REPR(BINARYDATA_REFERENCE_DEFINE)
+ #undef BINARYDATA_REFERENCE_DEFINE
+
+@@ -1375,14 +1375,14 @@
+ arrayType = DefineMetaTypeDescr<ArrayMetaTypeDescr>(
+ cx, global, module, TypedObjectModuleObject::ArrayTypePrototype);
+ if (!arrayType)
+- return nullptr;
++ return false;
+
+ RootedValue arrayTypeValue(cx, ObjectValue(*arrayType));
+ if (!JSObject::defineProperty(cx, module, cx->names().ArrayType,
+ arrayTypeValue,
+ nullptr, nullptr,
+ JSPROP_READONLY | JSPROP_PERMANENT))
+- return nullptr;
++ return false;
+
+ // StructType.
+
+@@ -1390,14 +1390,14 @@
+ structType = DefineMetaTypeDescr<StructMetaTypeDescr>(
+ cx, global, module, TypedObjectModuleObject::StructTypePrototype);
+ if (!structType)
+- return nullptr;
++ return false;
+
+ RootedValue structTypeValue(cx, ObjectValue(*structType));
+ if (!JSObject::defineProperty(cx, module, cx->names().StructType,
+ structTypeValue,
+ nullptr, nullptr,
+ JSPROP_READONLY | JSPROP_PERMANENT))
+- return nullptr;
++ return false;
+
+ // Everything is setup, install module on the global object:
+ RootedValue moduleValue(cx, ObjectValue(*module));
+@@ -1407,7 +1407,7 @@
+ nullptr, nullptr,
+ 0))
+ {
+- return nullptr;
++ return false;
+ }
+
+ return module;
+@@ -2466,7 +2466,7 @@
+ if (length < 0) {
+ JS_ReportErrorNumber(cx, js_GetErrorMessage,
+ nullptr, JSMSG_TYPEDOBJECT_BAD_ARGS);
+- return nullptr;
++ return false;
+ }
+ Rooted<TypedObject*> obj(cx, createZeroed(cx, callee, length));
+ if (!obj)
+diff -Nur comm-esr31.orig/mozilla/js/src/frontend/BytecodeCompiler.cpp comm-esr31/mozilla/js/src/frontend/BytecodeCompiler.cpp
+--- comm-esr31.orig/mozilla/js/src/frontend/BytecodeCompiler.cpp 2015-05-07 15:53:49.000000000 -0300
++++ comm-esr31/mozilla/js/src/frontend/BytecodeCompiler.cpp 2015-05-17 09:39:00.183186652 -0300
+@@ -544,7 +544,7 @@
+
+ RootedScriptSource sourceObject(cx, CreateScriptSourceObject(cx, options));
+ if (!sourceObject)
+- return nullptr;
++ return false;
+ ScriptSource* ss = sourceObject->source();
+
+ SourceCompressionTask sct(cx);
+diff -Nur comm-esr31.orig/mozilla/js/src/vm/ScopeObject.h comm-esr31/mozilla/js/src/vm/ScopeObject.h
+--- comm-esr31.orig/mozilla/js/src/vm/ScopeObject.h 2015-05-07 15:53:56.000000000 -0300
++++ comm-esr31/mozilla/js/src/vm/ScopeObject.h 2015-05-17 09:53:20.202966820 -0300
+@@ -63,21 +63,9 @@
+ bool onNamedLambda;
+
+ public:
+- StaticScopeIter(ExclusiveContext* cx, JSObject* obj)
+- : obj(cx, obj), onNamedLambda(false)
+- {
+- JS_STATIC_ASSERT(allowGC == CanGC);
+- JS_ASSERT_IF(obj, obj->is<StaticBlockObject>() || obj->is<StaticWithObject>() ||
+- obj->is<JSFunction>());
+- }
++ StaticScopeIter(ExclusiveContext *cx, JSObject *obj);
+
+- StaticScopeIter(JSObject* obj)
+- : obj((ExclusiveContext*) nullptr, obj), onNamedLambda(false)
+- {
+- JS_STATIC_ASSERT(allowGC == NoGC);
+- JS_ASSERT_IF(obj, obj->is<StaticBlockObject>() || obj->is<StaticWithObject>() ||
+- obj->is<JSFunction>());
+- }
++ explicit StaticScopeIter(JSObject *obj);
+
+ bool done() const;
+ void operator++(int);
+diff -Nur comm-esr31.orig/mozilla/js/src/vm/ScopeObject-inl.h comm-esr31/mozilla/js/src/vm/ScopeObject-inl.h
+--- comm-esr31.orig/mozilla/js/src/vm/ScopeObject-inl.h 2015-05-07 15:53:56.000000000 -0300
++++ comm-esr31/mozilla/js/src/vm/ScopeObject-inl.h 2015-05-17 09:51:33.939344362 -0300
+@@ -13,6 +13,26 @@
+
+ namespace js {
+
++template <AllowGC allowGC>
++inline
++StaticScopeIter<allowGC>::StaticScopeIter(ExclusiveContext *cx, JSObject *obj)
++ : obj(cx, obj), onNamedLambda(false)
++{
++ JS_STATIC_ASSERT(allowGC == CanGC);
++ JS_ASSERT_IF(obj, obj->is<StaticBlockObject>() || obj->is<StaticWithObject>() ||
++ obj->is<JSFunction>());
++}
++
++template <AllowGC allowGC>
++inline
++StaticScopeIter<allowGC>::StaticScopeIter(JSObject *obj)
++ : obj((ExclusiveContext *) nullptr, obj), onNamedLambda(false)
++{
++ JS_STATIC_ASSERT(allowGC == NoGC);
++ JS_ASSERT_IF(obj, obj->is<StaticBlockObject>() || obj->is<StaticWithObject>() ||
++ obj->is<JSFunction>());
++}
++
+ inline void
+ ScopeObject::setAliasedVar(JSContext* cx, ScopeCoordinate sc, PropertyName* name, const Value& v)
+ {
+diff -Naur comm-esr31.orig/mozilla/netwerk/ipc/NeckoParent.cpp porg-build-2015.05.17-10h30m39s/comm-esr31/mozilla/netwerk/ipc/NeckoParent.cpp
+--- comm-esr31.orig/mozilla/netwerk/ipc/NeckoParent.cpp 2015-05-07 15:53:46.000000000 -0300
++++ porg-build-2015.05.17-10h30m39s/comm-esr31/mozilla/netwerk/ipc/NeckoParent.cpp 2015-05-17 10:51:24.013181648 -0300
+@@ -359,7 +359,7 @@
+ RtspChannelParent* p = static_cast<RtspChannelParent*>(aActor);
+ return p->Init(aConnectArgs);
+ #else
+- return nullptr;
++ return false;
+ #endif
+ }
+
+diff -Naur comm-esr31.orig/mozilla/js/xpconnect/wrappers/XrayWrapper.cpp comm-esr31/mozilla/js/xpconnect/wrappers/XrayWrapper.cpp
+--- comm-esr31.orig/mozilla/js/xpconnect/wrappers/XrayWrapper.cpp 2015-05-07 15:53:42.000000000 -0300
++++ comm-esr31/mozilla/js/xpconnect/wrappers/XrayWrapper.cpp 2015-05-17 11:22:59.442942469 -0300
+@@ -351,7 +351,7 @@
+ {
+ JSAutoCompartment ac(cx, target);
+ if (!JS_GetClassPrototype(cx, key, protop))
+- return nullptr;
++ return false;
+ }
+ return JS_WrapObject(cx, protop);
+ }
diff --git a/mail-client/thunderbird/files/thunderbird-gentoo-default-prefs-1.js-1 b/mail-client/thunderbird/files/thunderbird-gentoo-default-prefs-1.js-1
new file mode 100644
index 00000000..97c5fd09
--- /dev/null
+++ b/mail-client/thunderbird/files/thunderbird-gentoo-default-prefs-1.js-1
@@ -0,0 +1,9 @@
+pref("app.update.enabled", false);
+pref("app.update.autoInstallEnabled", false);
+pref("browser.display.use_system_colors", true);
+pref("intl.locale.matchOS", true);
+pref("general.useragent.locale", "chrome://global/locale/intl.properties");
+pref("mail.shell.checkDefaultClient", false);
+# Do not switch to Smart Folders after upgrade to 3.0b4
+pref("mail.folder.views.version", "1");
+pref("extensions.autoDisableScopes", 0);
diff --git a/mail-client/thunderbird/thunderbird-45.2.0.ebuild b/mail-client/thunderbird/thunderbird-45.2.0.ebuild
new file mode 100644
index 00000000..7431942f
--- /dev/null
+++ b/mail-client/thunderbird/thunderbird-45.2.0.ebuild
@@ -0,0 +1,365 @@
+# 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.2"
+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}"
+# ESR releases have slightly version numbers
+if [[ ${MOZ_ESR} == 1 ]]; then
+ MOZ_PV="${MOZ_PV}esr"
+fi
+MOZ_P="${PN}-${MOZ_PV}"
+
+# Enigmail version
+EMVER="1.9.1"
+
+# Patches
+PATCH="thunderbird-38.0-patches-0.1"
+PATCHFF="firefox-45.0-patches-04"
+
+MOZ_HTTP_URI="https://archive.mozilla.org/pub/${PN}/releases"
+
+MOZCONFIG_OPTIONAL_JIT="enabled"
+inherit flag-o-matic toolchain-funcs mozconfig-v6.45 makeedit autotools pax-utils check-reqs nsplugins mozlinguas-v2
+
+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"
+ 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
+
+ if ! use bindist; then
+ newicon "${S}"/other-licenses/branding/thunderbird/content/icon48.png thunderbird-icon.png
+ domenu "${FILESDIR}"/icon/${PN}.desktop
+ else
+ newicon "${S}"/mail/branding/aurora/content/icon48.png thunderbird-icon-unbranded.png
+ newmenu "${FILESDIR}"/icon/${PN}-unbranded.desktop \
+ ${PN}.desktop
+
+ sed -i -e "s:Mozilla\ Thunderbird:EarlyBird:g" \
+ "${ED}"/usr/share/applications/${PN}.desktop
+ fi
+
+ 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_postinst() {
+ 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
+}