1 |
commit: 936263a56c7cb7ad516ec40138ee083bc46342a8 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 4 19:13:53 2021 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 4 19:14:33 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=936263a5 |
7 |
|
8 |
mail-client/thunderbird: bump to v78.10.1 |
9 |
|
10 |
Package-Manager: Portage-3.0.18, Repoman-3.0.3 |
11 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
12 |
|
13 |
mail-client/thunderbird/Manifest | 65 ++ |
14 |
mail-client/thunderbird/thunderbird-78.10.1.ebuild | 1100 ++++++++++++++++++++ |
15 |
2 files changed, 1165 insertions(+) |
16 |
|
17 |
diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest |
18 |
index cc6c9ee96eb..ab9ad167185 100644 |
19 |
--- a/mail-client/thunderbird/Manifest |
20 |
+++ b/mail-client/thunderbird/Manifest |
21 |
@@ -64,3 +64,68 @@ DIST thunderbird-78.10.0-vi.xpi 674602 BLAKE2B e87d7cbe0f7bcede042861068b0ee060a |
22 |
DIST thunderbird-78.10.0-zh-CN.xpi 687175 BLAKE2B cd16a66fa0f52392085d1ed41b52506d551fb493cb20ec8594f97f9447ffafa48fbe50653c2db21299bf44907418a283047dd74726963b4f36e4311e9f974a7d SHA512 b090dd30644c8c54898f1857c00e3e35f8d9e28705534d60b10039ccb102986353ad38501bd59150f870012194de274f933113b583098acf47389bb16fc99b55 |
23 |
DIST thunderbird-78.10.0-zh-TW.xpi 687615 BLAKE2B f03053699d420ddbafdca131278ef53daaa5dc9c79fbf2f759114aa2aecfa96b2cc484c131c88f7f2e55adff3119181690cca4578aadc692c8d74f41c4199bae SHA512 a4ada20993753092e39a473cca575d32b1d4fbe87547199930486fc3f8ae8fba7727030f91a7e04970a887280aba3508e5e834cdbf89b7040c3b35b148d89093 |
24 |
DIST thunderbird-78.10.0.source.tar.xz 351422752 BLAKE2B b5944ff04ddebb8ba6c4da439acd5b985863d858c10aa726e407b1a3fb4e5529935d5932ea3b4e22080b83de640a2830cebc2fbbcac72212a91cbcb851535de2 SHA512 89c8bc9f76335093f7a43c9980da3f4436c1fa0ed3ffd9c0a2d9648749ad7ab427e2aede2b20ee9143748c828bdd417b5b6cf06e73597dee3a745ef28143ee2d |
25 |
+DIST thunderbird-78.10.1-af.xpi 548349 BLAKE2B 65465d2753f769c924a1c59e38d37ef73068c5b0528f37331316dd08816bc9c2ef2d9ee5419e1ddc8ce67c4322b6aeae8f6a240f4e44188627087b6db467a3b6 SHA512 f61d62d6ff0b5c6b651cd5bc57444bad772295c0b1f7ab66864f913009756442d1247cd75ac8af0fb6b6d82dffbac4db70f927a8469c638078a3b9bd587a4c17 |
26 |
+DIST thunderbird-78.10.1-ar.xpi 648607 BLAKE2B f472727e8a3c41a3322275f07a9f2787990528b45157aaa43004a06d1686e557a2a3588ec39638139c84977622afeeca6794caa5e2ab7ddd99d62d03090095c0 SHA512 ebe8b2897a228acd80736edcbbbd6dfe4458ba8bc5728847556148e82f99fc78e63a326f8783a1c7f0ca6823c723cd2199f0f01d7c00783072bea2b926ff9bc0 |
27 |
+DIST thunderbird-78.10.1-ast.xpi 561260 BLAKE2B 3c6c52141a9656362229f6284f3620da372eb5d19275d29cf019487cbb261be8756ae692650254c8377e9ab185c2bbe83124c03d1478aa7de4db9178e8ba4b70 SHA512 7c69196f50a6eb8972a52232f1e654d0ae35ccaef5807d99c2f53f5bc685cbc9980d22e597246721529006a98784da071984d74c71a4b86b9869cb5b59e807ca |
28 |
+DIST thunderbird-78.10.1-be.xpi 666667 BLAKE2B 708c2d6de48662f088633ccb6bc34eade6fd3d14e02f223b553174120db139b610bf1c619ae558571bde779229c825f373fbac503532e4e8f0498a08791f6da5 SHA512 ec5799c256894bd1aeb75e461e96f10dec49ea126b41e8017377b9bb2cf6deb6b20327acf6645db44dcb087e987c287d7c73214310ccbb6970aa43d29a3ba45d |
29 |
+DIST thunderbird-78.10.1-bg.xpi 672413 BLAKE2B a49456571373ef2bdcc02928854d0f02b2ad0950194aad16728a8eea69816d3ba4495370b4468fe118b11c3c598418073841e31e612d7480d4b51eaabf0626a8 SHA512 12cacfdb7140e1d5cbd74cb339d5970345677b3abdceb3ba216ea35d206573c61bbe59c84e11d69019678781e9ab35ea899b32d88f295a235f98ff696aa77e00 |
30 |
+DIST thunderbird-78.10.1-br.xpi 604528 BLAKE2B d8f907c678b4164b2c5c96f914486d0ecc5ceb856d0256b929dc16a8f70167b426b59c37dc45f68bc03d79bed6642c8bae7d88cced5e7b5158e16942cf235c1a SHA512 bc77fd713194c7ce1855b669f4c58479dafdcf410954c2dcd8c92a517de184d70b2bdce1a389fc377a910988c2f01f45ffca7c2d757b9154a4ad82c7e9d4c069 |
31 |
+DIST thunderbird-78.10.1-ca.xpi 620447 BLAKE2B 5907345666c868e3ff8568c02db3703299f69374f59dfe384c6f5e2ca7ca1a1a0e190fb45960f1981324e287c003a66dbf9e0d777490e1f790a21115964a4640 SHA512 f4b5f7c52a52642e0797a1726601b81ab6880c04c91ca5ee140a2d591fe86a57e769d5568dbce24c8a5662ee328eb76079b37e28007ef36fc8169da3aecb3bab |
32 |
+DIST thunderbird-78.10.1-cak.xpi 635654 BLAKE2B a475f501c5dc58e5c9ecae56e74fb67e1b39849afcd625081f2edc2b083f522e47061dc1bf595725cae049158b803259327290e467f97091ad6a54f92aa57dd7 SHA512 f9c1577479aac246609a9e0086014bcb13db88eb5bb7aaf19043bad9593c18eac1d38774e57a4ea955065e1141f3665a97101c591dfca92ad76ea0d6e5705c65 |
33 |
+DIST thunderbird-78.10.1-cs.xpi 635343 BLAKE2B b00be83eeea5827e9550f39870b2566bb6a0c5db68160e523f817a56b7436a6184691d0adfa20f6876ae7ad23daa0920ea807f7840e5529b716fef81e21220b4 SHA512 d5bbd28dd71cd8d98bc1ad0692d9af1f805633cb66b728481256c4d37977c033f27eb85d149ab392b9cf0c8af43afbf7509e2713862df937423cf2a4cd342f0c |
34 |
+DIST thunderbird-78.10.1-cy.xpi 646247 BLAKE2B a6cecf5047ef652e9d9bdc22f32ca6e7afc9f5212e0753b855e5d27327505d37652c39e2ac96e7f8bc77b777a5502b9d1def8d4b5498a90238c8d7578d223689 SHA512 2ed8b464861caf62ca6b5e3073311f8252fa5c581cbffd40dc7351f81aee86498125bb9fe445e99b5b71b916bd0ce75f867eab8c48f520badbcd5c0cd62bda4c |
35 |
+DIST thunderbird-78.10.1-da.xpi 620985 BLAKE2B f9911211bc4f51b5e4c3952150724d0288c030d3865c4c0c87ab7eb10ad0ea7685b832df8837e0182a9d8f6ee967ddb3b7de4d1df6f48be7310350f7663cc7d7 SHA512 44de70b4ffc37d42bb59da4568caba05ca1672ad0dc5dfd1a2ff17d32841ea25794cd3332ed0a30a1a8e9f9480189bc8718bd95336f5af490031bae75d6dbf02 |
36 |
+DIST thunderbird-78.10.1-de.xpi 665195 BLAKE2B 17d3b219b30610189c5581a8c568f8dd368a01f319384ceaaceaaea1cfb57976df99b28a9b03552f03763e864304672584bd567965fdaaff46c5232a2d41c160 SHA512 aa604dc2abb9278956830aeed64307c9761551300b4c0d7e82b6ae9c33eff72341a88bc7849f65f4ccb8e6c09b48997286d78c90a872831e80148785f1efa0ee |
37 |
+DIST thunderbird-78.10.1-dsb.xpi 666778 BLAKE2B 48b503194cdba6c30cb2282d2c0e46d2d7c66fb8b83e6f08b1ec4e855e1c3451018af72f9c6a7820b5adbde6cd5a0ffdf9cfdee83ff00576466a8e8ceeeab2bd SHA512 863520dfb725b2b782fac5bb0f6463e0d36f09c66e4cdfa40b68efc3c85265ac5f64773a1c0f163ff83a70eb91efd5750c5859780f76281a05def2319803387e |
38 |
+DIST thunderbird-78.10.1-el.xpi 774452 BLAKE2B 33a080424361dbb60efd2c62df74f0bd116e95ae2495774dcc4a7101d21f0194b97d0723fe95b4b6cfa5a2e9f811ed42290eebd3641955d8774c3c15d6a8481a SHA512 e25158c4857be6766d60093ac798b44847f59a27c93c19dff9c9cd55d4745da11e31bfe460a467ccadce9fdae53f00f0a290ff2c9aa55afa86161006f6d3ac88 |
39 |
+DIST thunderbird-78.10.1-en-CA.xpi 611772 BLAKE2B 45bbc9a72f04f268d360fa96bddecb02cbce5ca3dfd8c0b23a3fc059194d32ed87157b629972f1f7e601ccc107cc96219d669b43e4d696d8c266442a23e90e1a SHA512 408dc313a1ed84450243051ddd04c94f587649bddff2e8953f5f3affb418b76984c8bc2902974a7c5eb6f6c602cd13b4316fbcc05b7d4d16ed4b39ab597012a8 |
40 |
+DIST thunderbird-78.10.1-en-GB.xpi 611185 BLAKE2B b4e221ea35e8000d36c59839e6b730639a74a7e3207efd282c75924b0d2a004e2bfe478b666097c0c9e80ee6af393b879306b12d47b5088b38000ba5e6f8ecd9 SHA512 b5122a65669ef8e088412a682f076585fe4adb85236aecff7d0c394e5729966166f580ee04b2b998d7e5c302cfd8a90777a8e54c063072f57cd5880746cf559a |
41 |
+DIST thunderbird-78.10.1-es-AR.xpi 657793 BLAKE2B ae730d2151b21c09447b3a47b6fc0e4f79bb804ae6a3683a40d2a7d3984f6b7b0c137ec2486004fd3dd44029c5e10a74d59744fdda13bbfae34fb1d89043e2f5 SHA512 2454efed76f115012f01ce09d6b34d069dfe0dec3bbc54e66e91fc9ba2c3deb315f0b0d940148f66b69034c10e380199da1449192513d34fc5dac2c6fb7a1bbb |
42 |
+DIST thunderbird-78.10.1-es-ES.xpi 569803 BLAKE2B ab49540402f97945d55095ffbc6140cd9181dff11c7c406641f696f15041bc64f0bb9157eb6d73b9e50d2e4cf720a0065bff5d829792188fe074b4d82a7551ef SHA512 091fd1d6ca2e5b33d75184241a21f702501d776fc97361942e8c3a0fa5bd2417ae10f39529ab2269d7a18ae4321d20c03503a6a4e48da5f1c31cbbd12f7b25f6 |
43 |
+DIST thunderbird-78.10.1-et.xpi 597731 BLAKE2B 0357921de11aa4c7023015a31cc14f9c71f086c80539a30843e9f5f6c4cc57d916193c199cedfcc3e025c15b8e8bb9cfd1737da50430b51d688b816b1671b45d SHA512 c97377e5e9b2a61da6006b9d94d6072e50d3f2158ed3833720a8bfc7e7b4c6cf9298119f3a25c90ef2450dcbf7ae470a95afdd5b1f130c2f955cb6ebb91e99ad |
44 |
+DIST thunderbird-78.10.1-eu.xpi 632962 BLAKE2B ee37ef26f71c32a7fe4c9f8aa0655e74215f18e3c5f52ddd0d8f26c2661f382ebf184aced06fe0bc26c23a2f1af98e455b0503ec357c9af6b688098d49f058e9 SHA512 8475def83fbd5394ba693b4ac13f9f4bfc871068f6ea920d58c1101600223c2aa20f5d73d79ae00a1fb7910bc68dab9d6ae6182d5cd26cf05ff728401ea07ad6 |
45 |
+DIST thunderbird-78.10.1-fa.xpi 639751 BLAKE2B 0a75ede733c3d878aad5e15086df60e88686ecc51e4b33ebd7005f8f090009bc9c3a68d050ca77a1ea22eea64d3d87ede5b587346d4d5d6ede99cdbd23c9a9e4 SHA512 4afa939e38533be5f5b693a03f87540b3ca4a97545fcff018c816ef347ed48f41f184463a04cb2aa00cf7a2250b55749862d5463340c6b91632da0c22e28a481 |
46 |
+DIST thunderbird-78.10.1-fi.xpi 642453 BLAKE2B f167972ffdcb6acba8d2b4064971ece460595c56eaad9e9196b0ac82645669596507b3fcc9caa3befe212233259af1d8d4964ca6fa0e23dcd8b5b4062a2cb63c SHA512 5c012f08cd3866e47498d5b33db74df95e182b7ce576b8434baf03d36c612a370fd34598fca13e106112ee11e7bdba11144b6c18c34185a1457a6c04fd878e6f |
47 |
+DIST thunderbird-78.10.1-fr.xpi 669502 BLAKE2B 64ccc9df17608944ecd06d7de5e0678d1dd2ddce464b5ba958d862d4085de71a32140c347731766860910c834017f571895d4adc66d53dd8b07002a6cf4addf5 SHA512 0fa7409296f05f53520cf5194c5e01f5d342d433db9da92fa58d7bff8067ec179d532553d40c6e0fc4972628fd6f4fb6a929ea5c7a178c43f50c7e0bfb17a2c0 |
48 |
+DIST thunderbird-78.10.1-fy-NL.xpi 653075 BLAKE2B ece183399f66ee9d69508622508a83c7c6cc129c737bd1232b096c2010b93024632466fe7bb7ab516787a30c886f5d9a2d4a3ae4ee8d59a051496dd9b31af17a SHA512 434167511d8501a1462a028f04311d539126f79f44cf47c72e68ff4d4b10d821f24f67dcb2f9dae0a8bbf4ce50019e600c62fe38359ab235ae1adf53e63e7dd0 |
49 |
+DIST thunderbird-78.10.1-ga-IE.xpi 600714 BLAKE2B 71d8f36d3e169feee6f966dc7703e05a5894db2d8488ce26ff3451e9b99ebd7891356ff5400acfebadf18bb0bcfc355f45d88b2399b50e5bed8b0c787a25650a SHA512 da3967dab052adfe6df82aae32ac66e4df13b0b22183621c1ebfb45cb8f1c50cfd2b461e69100221572966bff8e30f6187450353aea27e4c9c4570e0f98fcfe8 |
50 |
+DIST thunderbird-78.10.1-gd.xpi 609386 BLAKE2B f7e0d712bd7ca410578eaf892dbe22943d8f54b11bd8f74751990992b80f58c52ed5f51459c9426cebf6f3ce43387a200c3ba2d2fbbb04c5cad646f25c13d213 SHA512 17633ed107da6c709d8aa6fdce523f8aff7d7dd79dda98aac5a7a43c036655277c1f9e7572a260bec18e659a6c3d9887e37b3055a06be61cb3d730bc36072a1e |
51 |
+DIST thunderbird-78.10.1-gl.xpi 615724 BLAKE2B bf7f6a45533aba198a7517fb8bdd3fba83886f268d265b1449fede6b714ba50aa9e4c5ead1245194385a69e6e98dc8e56727e3a38a9c7b0aa555d9d7ffc1e17c SHA512 dc894a236f32356fdb7eb347debfed91a797adedfb2b752f1c47f03e93770530f5d717cc2f09c9e6955a9e1dc0068ae8ddf37209defcc238045f4e4e2602c7ed |
52 |
+DIST thunderbird-78.10.1-he.xpi 640493 BLAKE2B 90d0a2c5fbac9e8c76281575dcbcd17b79f45ea909c9ff20c50d9907c01771dd9d09bb5fedf37c6c50509ea19becdffc420640eac253ff8b529f0e47824c3817 SHA512 f2b1468795e18cff843baf78df020e63421bebe3e774373ccd32b32687bb9f10e75bf2493fd57f947a0325ca43b74ea3324504f8be8d50aba6e6ae76e93d1cf0 |
53 |
+DIST thunderbird-78.10.1-hr.xpi 629029 BLAKE2B fda05d088cadfd07c7f0d00a9d4385ec6d1627b7bd76649fbe1ed2eef2c77d94bbb6afee15de799fa6afaf88aa9b748d6080fe9c191d3acbf3839513c6dd6fbf SHA512 770ea1e23de6097d2437927390f01e7d692ac4d66a373d6d06600a4f076e2f5877860f3a490b95719b938d3e158d2e43b47f7ebfafc7bc14d31fc13aaabf12e4 |
54 |
+DIST thunderbird-78.10.1-hsb.xpi 668607 BLAKE2B 6f8a9c2f6f2c9c0ccc84be405625cbe4a7cc50a03bb88b099cd63bfd324d63eb64a67fa2151be5b51eae1cc4830dea906b01345e13d2539a642aceb3f31844c6 SHA512 74a8b48f443bee735efc9af3d5a76b5b0d506c21955a4403fb9985a8769106e119482e2a65eb5fbc9ed4e3e64abeec279fb33df81bf0f7a5fedd9f0bb60d8c7b |
55 |
+DIST thunderbird-78.10.1-hu.xpi 679839 BLAKE2B e8cfc9d566331fa7250e65b3340bc32edd868cd921e5669dd2ab6f768cf5e0257c70ffe2a0d709f8689672ffe8957d412dab685862f9ed7adf802a14cad51fa9 SHA512 781df7540833ba1699a4d4616c6f01c90916cddfe4326e961243bb22926b51e0e656647578191d669cdd36e88542120a4044799692128c8ecc53d6ac7415f89c |
56 |
+DIST thunderbird-78.10.1-hy-AM.xpi 713324 BLAKE2B 35287559ec8e5b25d9bbc7e7906dad617c011a452cf2666f14f00bdc98d994d2d1126e385c1d749179040da797abd71b69b64e11bfef082c4b960605a84a163c SHA512 55b92bac02f8901eda092b2b9caa7fed42f757578e7ea021282e996cb3731e4d00d26be83fad4dd8b8e261587dca3f4db41ef7f59f8683497882aa7c1918c015 |
57 |
+DIST thunderbird-78.10.1-id.xpi 620671 BLAKE2B c44c09b1cc490e6dae0d46720e7094b0f2206ec1fec3a43238c1b8a733eb810bb06fd723e4d37fd39a86b85842f052de950e55896e59ab7ce0bd7d00f2ca6234 SHA512 39431b80eed8b32103ff731247b612b9a6e05cd3cf253486ce7cb5feb67a34b537faddef203331f0e8598bcda0dcfd7ecffcd7ff34f1faa1080102bc2a0bb17d |
58 |
+DIST thunderbird-78.10.1-is.xpi 581640 BLAKE2B af122a5c26c6239cbfdc400540cc1a5ec1e84bdad317715551e8cdad0104207df1a52b542a1a2472db8bc7101089f089cf143226cd6625d2b2a6f826c9dd74d6 SHA512 a1e0087386d08fcc7812fdae2338785644262796d7eee89cbce2645b0f6f4bd3b22399d6609464b65327b18f0cccf0bd28e7d830a14b2ff83fd9c97eb72d5a23 |
59 |
+DIST thunderbird-78.10.1-it.xpi 572963 BLAKE2B 0e423d5d0bcc033b4fce744bf9bbd799f894b444124bcb409f944129ea453e19c62fa4d3b4d2d0ef46ef120b3e66eb35f9588f586e9957ded096d49033059a66 SHA512 f77d989af80bce6e512fdf21041164829745d4531647d7cf916d32e009815b7ef56ff81d03d3124ae75ff82684299b7a8fb35462734439fb18d3f4f7306b186b |
60 |
+DIST thunderbird-78.10.1-ja.xpi 722457 BLAKE2B 10108dad764b367ff877f337feb577cea3654181ff87d3ade3994e95f02c8f8cecf3489b0ae72f48d5a95aa025ceb03b872417b7eccf87cf0ea96e9ec897a5bc SHA512 4d1b37b7dcf8c8fd5c71d27faad152d8f158acedf59764d37df1fb3830c25ca0fd8eba2fa28c7f3b171b2305f567783aa1b64dd476a5a41e8b1801c5fa88272f |
61 |
+DIST thunderbird-78.10.1-ka.xpi 717012 BLAKE2B adf49de3345cb15f97cd8fad208dac1b9a2355d21ffa192ae5a230d112287d8c67cc6939b520c74e85bd0aa0ead4a342e0f5c8c8b1808482a95a0930ee5be0d1 SHA512 d64930e76c3cbe568d9b44fbde63fe57bef18c86f5e4aee13f99564db519e5a31a3162c348aa236f4280faf2819154339ec7f6142b3f8478e48f1e115cfe1902 |
62 |
+DIST thunderbird-78.10.1-kab.xpi 651917 BLAKE2B 734d614b0df7d5b2fc433aee2bc7037fbe94411980f97720b602bcb5f9c1efc406f242dc8852a1f82da7729c15024a48ee30cbc34090bf8ee0330ce278366e70 SHA512 37f715ae79d0aed7af095c8c987260a55348d72d68d3ca0534a6c144dc05ef66ad1880db666cbf7d328f00e6e33755d498d57c37376314d730b1d904d177a702 |
63 |
+DIST thunderbird-78.10.1-kk.xpi 720470 BLAKE2B fbebe34b651e938756f9f62d2386c6624ef77bb771ec39b966ad192d114ee39398e986f649bf41554bb8c793efea7b81808673a22c6dbb82b559e88d2352fba3 SHA512 2e2a86a1a0ed1479a9f107c79ee39b59232e824fbe12f92e1e1537788228cfe9fe3d321d7ca174a8a68f15b25a19be4931d80d9de4adb19ffb2525d934fe2402 |
64 |
+DIST thunderbird-78.10.1-ko.xpi 688212 BLAKE2B 78bad395f3505d8ad7ed553606daf71e0b0e1356e57ca619c50106c22c8f2ee1ec4cefd0f45b6c811a78baf86225d0f103149277ee85e97e85bd669c464399db SHA512 3b5f4fda23f12c94339a13a904c320c14bc9a94d1dcf82a5a2e768f34575dae2d882a78b8bb41d707b6fbffbe606cf4e75458a27d33263504dab7fa7199aae13 |
65 |
+DIST thunderbird-78.10.1-lt.xpi 660288 BLAKE2B 16e726ba97f9877beec7a85510c9c9f647a1d193a8f4b3f69af7d4c4967a8d60bf4ebbdd6a19ade28ba4acad537da66f13e698e2c3ee7cea380284a03eb831f4 SHA512 5379f94b4ae248941f607a1d626cd43da2ceb2981ef5d3c429e15c079c434928195feceefe51d3ad2618de97494af6c3301a3457290bde05ba9d494a8e1c72e1 |
66 |
+DIST thunderbird-78.10.1-ms.xpi 572176 BLAKE2B 073a67fbe39d4b698375a2acee59aa5d3d4376d559fd9e1624f5a34d41543d4ee1bdc63b796a4ca7827d713be25b7085a12f398ef1593e2cda145799eb402db8 SHA512 0e37b81d2549c3fcb919a9f81d2d748d2bca53b7cd83fe07427f5ec096beb806b1394a4609c6bb69a18b64cb3dd9360d50f08a3e3fc1d56fd8dd8377a9fa7855 |
67 |
+DIST thunderbird-78.10.1-nb-NO.xpi 637237 BLAKE2B 499bfa520ea27aeb0e836847730227160f843daaba09ac7884f59567d5cda2a2acf34c6ae8e6a0c7b80269b6ef84ebcc2f112eb7b222049f806d9e67bd44a1d5 SHA512 dc0f3b19559542714dc1c10c8b92cc67116ff6fc46d0a6df5cc89e405117678b36dc8c36d02dc08b239288f2ceb97ba50c67eb48fbb3265f91932ae17727ff11 |
68 |
+DIST thunderbird-78.10.1-nl.xpi 644360 BLAKE2B 8ce344355638ddf835de00552a7f7822aab8aa2307ea561e63411c6bb95cb40c5fd5ed2824867d6cbb9837ea0faace3e7cfd2e5a5bbfe0c6f9a1006b6072e90e SHA512 2d4860f3a4ecf873c7825913edce78a810a73fef0fa7193919f1bda5d921760e88dbf66de31b509870b57d7025201d52129b165301864b869acc458dcec2569c |
69 |
+DIST thunderbird-78.10.1-nn-NO.xpi 640694 BLAKE2B 784330f15e0633215596c0efbd1d4061705fdce88018ed73c038b5854668a873f32f333f090924eed992352c39f6389ce7113bfb5c7c1e9a2af0134948ff0aa0 SHA512 f1fd2f5a1d73922fb87c48583c2da1c01737f9bc0cbff7d71dfaa177f1fd1b712d81997a97cb1f0360d02c3f923cd88f910effd56606d6b5f8ddc779d6790fe4 |
70 |
+DIST thunderbird-78.10.1-pa-IN.xpi 633221 BLAKE2B 17ca4c75c8633c7b87b7677b6c39a13bf37fe5bb8c3bc3df45f0ed1681f364aca98d5745500bf52e0a258da694bb76e1b7f0a2ae5bc0c3938138edae901f13db SHA512 bbba80e3ea703c46f72808642477970caa4896fc03b0275ed815c1aacce71d5e25686b08dd3af3da0740515876739a8b11a003d59a009da64900956644a81a2f |
71 |
+DIST thunderbird-78.10.1-pl.xpi 637126 BLAKE2B 3b8dda76317b1c4336e45a58c54b48398f772cb6e09018d02bbf01749bb05e2dcd8ba547f4138927e7777e6f6ec9df5a7a5de32921cf9b2a3f4b7d78e7bceb98 SHA512 4745909f5880872d3b24b676e520ee5468458d5fdd5b6576a2399f202d6d2b7c3076268b22a537db3a65c87d3d98c3aa33bdb9b510ccedb1802f0cd027b8cb3b |
72 |
+DIST thunderbird-78.10.1-pt-BR.xpi 649410 BLAKE2B 21b66dfa6b47ba541292eb50f59ae4633f8cb2cc0c06c0812ce335501c920bb3208015e8ef58e16d3616b5864abd4be22359eae82741152e478fe2dee513fa7f SHA512 cc5054a30147ec346ea50105415f69e6c59f7d78d5941e54d2e323cb80c4bb3d26782d99e91bec079fd463e7bfd3a6baa91cfd8136e8d283408c1b3cf653e0c2 |
73 |
+DIST thunderbird-78.10.1-pt-PT.xpi 655495 BLAKE2B a92a0b16346dfbb058c5f892b84eda07cde3fc8fb58eb118f18beac8cf0545d4fe34d21629a37dc9df97bf780483f254ee2556e864d0370c472883025198499f SHA512 a222b49731a4190f2923e24cd248148df3b4d3a1f71d8f696ba395c6b4ba4d701443024f1065b5fc6fbb79ad7a8bc82a31184934018969acb4e3a176babdb86d |
74 |
+DIST thunderbird-78.10.1-rm.xpi 646537 BLAKE2B 89aba571d4de7591690824d2b01bb27773f935fc91adb2c094d2f6de3fe4fb01ee800dd5cf8e773755196fd3dd5cc9b1c79c657288aa24274375b5d5ccf684ec SHA512 198abe0685551aa73cdae9f73b7f8d8ceb77e379da446cad87cd093616e431700b50ca482ee07ee4a2ee04a127a2e17e43f62445c733fb10f63fa759843d2f9f |
75 |
+DIST thunderbird-78.10.1-ro.xpi 662633 BLAKE2B 11d68ce8457bd8d4e89ffcaad338db3bbc71421a260d38e0b371a9dc79987c3438e57cc624c904d256457656e023799eefe7fb2065122754f10276e4443a186d SHA512 5532f26e3e872b1241d448542a5a96682f72c93ee44921bdef6e55a457b75c95e0011e7c1d9e3d772872a5225c7982875b6d830851ca3308f5ccd34b7ed3366b |
76 |
+DIST thunderbird-78.10.1-ru.xpi 756194 BLAKE2B bca3852e5332165975a2a156055462740723db8cae888cc6207d4674f9ee0233da048a4e4d3f9e08d814d5df61cd758ad3814723e005bf8adc7f62b614a122a1 SHA512 1b29ca0747830e609d41ed1fcdd70d208cb9e71394055982efae425ccbcfe9d29a0cc675e739d1be346b140fb9463998c37d22c97ed0a316756fe219914e26d4 |
77 |
+DIST thunderbird-78.10.1-si.xpi 651107 BLAKE2B 355a86c9978403a5b535e09ab6d5aeabac7f0d3d13c0cfad8f4b1081cebcd2b683f6b87dcc4c5b9640e1f43023b74c580d950262c5baf2a6561ad85f341c32ff SHA512 78c1df6786238e55231b7c3fc7bf7248deb1be5e88d2b18ce09e8df3c4aaddacd4c598bf74e56c1486f0a402403d45ddc454a13a8a347e8d2602c90bf4365c07 |
78 |
+DIST thunderbird-78.10.1-sk.xpi 643224 BLAKE2B baa8b1d4ab7f86e9ddfeca53ac58615e51c2f59aa473ffd20ab3a46d60474e31756decbb17821043169d159f8fb69c2634202212092d28cf8aec56dbf8e0a536 SHA512 b280ea2dda6be6107fe92f0adac1f514a3c9d34b5b7b2c18c55fcc92e2102957f7cfdf53215706bf46b3ca96ba13f66f2e53e9863e918cf8b027adfc7ca62d76 |
79 |
+DIST thunderbird-78.10.1-sl.xpi 632384 BLAKE2B ee76ab6be65789d70c30e63c8bb2855c25782caf01412d11a051863eb2e241d91953a2c8e9c7813b955506b2729ce1be889cc6ee685b3bdabe53457f91425eca SHA512 1d0a83b5e9669128ac2209c5d9744b1775e570d23864aace080f9f0756b7d5948285f0cfe73686be78f8380c355cab37eaefb2aaf38a818fe479f2866ea83ada |
80 |
+DIST thunderbird-78.10.1-sq.xpi 657823 BLAKE2B 04766fe017975b0af9aefdbc7413acb9ce2903daf7c56fcd84725b18a3c35a96616823b07c469893589e079c26c30c4c2ed5541f959c231eaeee8a8e7df6c80d SHA512 206bc26b85b748bc482fa2d59fa08dc60847477f48021712faddf566c15ab96a5fcd78ba9e36fbd416b791a1f72cc60bb0bad3ff3fa091bda1a6b5f37e95f6d3 |
81 |
+DIST thunderbird-78.10.1-sr.xpi 683117 BLAKE2B 44fe02cc8586529e50f79b4e4835cae0d339d77f97eace0294ba0b12710cf3ccc7cf29fc25900b5f733d7c568887a649e36a6a2b43637ac4e706f06b6d59c601 SHA512 31ede6e790a4abfdd286b5cfa3426704415a0d68e1efcb3cb8fdd41caa2c8e6165165903b2b5632bb78524586bab7efd23f4b4dcadad0d1a02b681db5f462765 |
82 |
+DIST thunderbird-78.10.1-sv-SE.xpi 648861 BLAKE2B 5f6478e1564d79db67281e1c42c1219c0d292707582c116c9b9bb16a5283e8ff515d9a27d492916b4d8473f97950e2081632efe13ff356430d2d47dc0e678df3 SHA512 99616dd578b086a60beddbd8456542ff4af79ce41ad827e9121ffb02480a3e5f5c55e0d080e831fcf84a90a13c86aa8cfca7fe7b3b3a1f28c7cc683871ea667c |
83 |
+DIST thunderbird-78.10.1-th.xpi 712034 BLAKE2B ca6a6c7891d2e0dfbc1a1e79e53530ffa8b6041e35249d85fa5cff233cd833ef7df99b86c51fe86299b3ba2843e29c0ea2d825c3f91696a8412eb0c2e22d0f58 SHA512 fa9238d9ad4cf38af499779bd07fb4c652f957d146e0e517cd0090aaaeb68ec1604b89ce384cbae2b38998e7e6c59efd5c22553d3f5d3d2a20e8fd0ad5732fb5 |
84 |
+DIST thunderbird-78.10.1-tr.xpi 649074 BLAKE2B eccd23607866d07c6d00d24326d761bf96f7790107fd984c151d8d1faf0ead74b653c0e7c468c42c8584294865816d2326ac9f7a559f8decccbae973a629d8b2 SHA512 9a809264134b8357892211638eb18b722d2913355b9c1f5eb50a18bacefa8c3403f068f15232d0e94ca72959691028c0588d4bf3035e36ae427133ee7cc2675f |
85 |
+DIST thunderbird-78.10.1-uz.xpi 586605 BLAKE2B 27159277eb214f35017c654f189cba5932ce3f9172b8d42c8bd5a08bd54c02928f3f58220c3677e8dcaaed1329ce6b10422dd6feb237776e4c7ffd5c1dddd9b2 SHA512 fc01d58803accd06b8ef4f9a50023522a370a69fa44af00f765239ed37f84f1f220383ed426e74a8c1e19fc8f3dc3b864675fbedd9cdb1faec58e788a7383c85 |
86 |
+DIST thunderbird-78.10.1-vi.xpi 674610 BLAKE2B f14923a00644e107072179603d06c072cfa3e2726658859548c366fd1ea9878f43a431907a1abfd5ad454fe21fae8bb4d715ed82f0e89795d72a56125995b46f SHA512 ef2c57eeb9c5c823966fffed1986ff09ad0529807035ee183b03754df0c9a6993c63afff9f64ed65bcb995027c5aacd04af212c1e94c81f280ba1785360b4d09 |
87 |
+DIST thunderbird-78.10.1-zh-CN.xpi 687177 BLAKE2B 43da21f8faf74f9392ede14bdc8bdc7ba741724cbfae91ab6dcd9e3a8ad41e834355a3069e52acfdbf5bb3685f53e275cc4aeddfb987939ebfb6b1329384cb01 SHA512 2275a1e189d806f98c59a19231ed03683aed60bc08969cbcd9d3650b9b545ba3f2cc143b536a6689bb9b14c930048cda85d038267de3a75d44c3132dc474238b |
88 |
+DIST thunderbird-78.10.1-zh-TW.xpi 687622 BLAKE2B d3ff5da0323d6529a142ca20d29ce06397fb6761282ee6f4b8dc03ea4a79874f9db5856e5980de8cb7b2e68332b3589121768c1abefe9a9e5af29dc1cbafec68 SHA512 b4f85ca2ae438265fa9fdd99910d292937e78687a74cf12cc33e1a693e38cb76820a0e0c45f50de39cd2c4a3b911b5988eddbedb52a15379121590c9383ffac0 |
89 |
+DIST thunderbird-78.10.1.source.tar.xz 354316236 BLAKE2B 756f471de37e96f9e9733864747b5d9270dbd67592e02b3632f80d815af95ce421a913f3f8d9454d5b5885e5506a6dad36f7b7c20ab46c371a5ba594cc51e681 SHA512 fffae4bcf2411834a86b5d1fd7c3fa8dbc32763061de4afef44ec95d55a8c4ab94576f54bd8b8c9aef22e0c4a09b48a381ba2ddafc31be60ef79b81e6835e4db |
90 |
|
91 |
diff --git a/mail-client/thunderbird/thunderbird-78.10.1.ebuild b/mail-client/thunderbird/thunderbird-78.10.1.ebuild |
92 |
new file mode 100644 |
93 |
index 00000000000..152bd8350aa |
94 |
--- /dev/null |
95 |
+++ b/mail-client/thunderbird/thunderbird-78.10.1.ebuild |
96 |
@@ -0,0 +1,1100 @@ |
97 |
+# Copyright 1999-2021 Gentoo Authors |
98 |
+# Distributed under the terms of the GNU General Public License v2 |
99 |
+ |
100 |
+EAPI="7" |
101 |
+ |
102 |
+FIREFOX_PATCHSET="firefox-78esr-patches-12.tar.xz" |
103 |
+ |
104 |
+LLVM_MAX_SLOT=11 |
105 |
+ |
106 |
+PYTHON_COMPAT=( python3_{7..9} ) |
107 |
+PYTHON_REQ_USE="ncurses,sqlite,ssl" |
108 |
+ |
109 |
+WANT_AUTOCONF="2.1" |
110 |
+ |
111 |
+VIRTUALX_REQUIRED="pgo" |
112 |
+ |
113 |
+MOZ_ESR= |
114 |
+ |
115 |
+MOZ_PV=${PV} |
116 |
+MOZ_PV_SUFFIX= |
117 |
+if [[ ${PV} =~ (_(alpha|beta|rc).*)$ ]] ; then |
118 |
+ MOZ_PV_SUFFIX=${BASH_REMATCH[1]} |
119 |
+ |
120 |
+ # Convert the ebuild version to the upstream Mozilla version |
121 |
+ MOZ_PV="${MOZ_PV/_alpha/a}" # Handle alpha for SRC_URI |
122 |
+ MOZ_PV="${MOZ_PV/_beta/b}" # Handle beta for SRC_URI |
123 |
+ MOZ_PV="${MOZ_PV%%_rc*}" # Handle rc for SRC_URI |
124 |
+fi |
125 |
+ |
126 |
+if [[ -n ${MOZ_ESR} ]] ; then |
127 |
+ # ESR releases have slightly different version numbers |
128 |
+ MOZ_PV="${MOZ_PV}esr" |
129 |
+fi |
130 |
+ |
131 |
+MOZ_PN="${PN%-bin}" |
132 |
+MOZ_P="${MOZ_PN}-${MOZ_PV}" |
133 |
+MOZ_PV_DISTFILES="${MOZ_PV}${MOZ_PV_SUFFIX}" |
134 |
+MOZ_P_DISTFILES="${MOZ_PN}-${MOZ_PV_DISTFILES}" |
135 |
+ |
136 |
+inherit autotools check-reqs desktop flag-o-matic gnome2-utils llvm \ |
137 |
+ multiprocessing pax-utils python-any-r1 toolchain-funcs \ |
138 |
+ virtualx xdg |
139 |
+ |
140 |
+MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/releases/${MOZ_PV}" |
141 |
+ |
142 |
+if [[ ${PV} == *_rc* ]] ; then |
143 |
+ MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/candidates/${MOZ_PV}-candidates/build${PV##*_rc}" |
144 |
+fi |
145 |
+ |
146 |
+PATCH_URIS=( |
147 |
+ https://dev.gentoo.org/~{axs,polynomial-c,whissi}/mozilla/patchsets/${FIREFOX_PATCHSET} |
148 |
+) |
149 |
+ |
150 |
+SRC_URI="${MOZ_SRC_BASE_URI}/source/${MOZ_P}.source.tar.xz -> ${MOZ_P_DISTFILES}.source.tar.xz |
151 |
+ ${PATCH_URIS[@]}" |
152 |
+ |
153 |
+DESCRIPTION="Thunderbird Mail Client" |
154 |
+HOMEPAGE="https://www.mozilla.org/thunderbird" |
155 |
+ |
156 |
+KEYWORDS="amd64 ~arm64 ~ppc64 x86" |
157 |
+ |
158 |
+SLOT="0/$(ver_cut 1)" |
159 |
+LICENSE="MPL-2.0 GPL-2 LGPL-2.1" |
160 |
+IUSE="+clang cpu_flags_arm_neon dbus debug eme-free |
161 |
+ hardened hwaccel jack lto +openh264 pgo pulseaudio selinux |
162 |
+ +system-av1 +system-harfbuzz +system-icu +system-jpeg +system-libevent |
163 |
+ +system-libvpx +system-webp wayland wifi" |
164 |
+ |
165 |
+REQUIRED_USE="wifi? ( dbus )" |
166 |
+ |
167 |
+BDEPEND="${PYTHON_DEPS} |
168 |
+ app-arch/unzip |
169 |
+ app-arch/zip |
170 |
+ >=dev-util/cbindgen-0.14.3 |
171 |
+ >=net-libs/nodejs-10.21.0 |
172 |
+ virtual/pkgconfig |
173 |
+ >=virtual/rust-1.41.0 |
174 |
+ || ( |
175 |
+ ( |
176 |
+ sys-devel/clang:11 |
177 |
+ sys-devel/llvm:11 |
178 |
+ clang? ( |
179 |
+ =sys-devel/lld-11* |
180 |
+ pgo? ( =sys-libs/compiler-rt-sanitizers-11*[profile] ) |
181 |
+ ) |
182 |
+ ) |
183 |
+ ( |
184 |
+ sys-devel/clang:10 |
185 |
+ sys-devel/llvm:10 |
186 |
+ clang? ( |
187 |
+ =sys-devel/lld-10* |
188 |
+ pgo? ( =sys-libs/compiler-rt-sanitizers-10*[profile] ) |
189 |
+ ) |
190 |
+ ) |
191 |
+ ) |
192 |
+ lto? ( |
193 |
+ !clang? ( sys-devel/binutils[gold] ) |
194 |
+ ) |
195 |
+ amd64? ( >=dev-lang/yasm-1.1 ) |
196 |
+ x86? ( >=dev-lang/yasm-1.1 ) |
197 |
+ !system-av1? ( |
198 |
+ amd64? ( >=dev-lang/nasm-2.13 ) |
199 |
+ x86? ( >=dev-lang/nasm-2.13 ) |
200 |
+ )" |
201 |
+ |
202 |
+CDEPEND=" |
203 |
+ >=dev-libs/nss-3.53.1 |
204 |
+ >=dev-libs/nspr-4.25 |
205 |
+ dev-libs/atk |
206 |
+ dev-libs/expat |
207 |
+ >=x11-libs/cairo-1.10[X] |
208 |
+ >=x11-libs/gtk+-2.18:2 |
209 |
+ >=x11-libs/gtk+-3.4.0:3[X] |
210 |
+ x11-libs/gdk-pixbuf |
211 |
+ >=x11-libs/pango-1.22.0 |
212 |
+ >=media-libs/libpng-1.6.35:0=[apng] |
213 |
+ >=media-libs/mesa-10.2:* |
214 |
+ media-libs/fontconfig |
215 |
+ >=media-libs/freetype-2.4.10 |
216 |
+ kernel_linux? ( !pulseaudio? ( media-libs/alsa-lib ) ) |
217 |
+ virtual/freedesktop-icon-theme |
218 |
+ >=x11-libs/pixman-0.19.2 |
219 |
+ >=dev-libs/glib-2.26:2 |
220 |
+ >=sys-libs/zlib-1.2.3 |
221 |
+ >=dev-libs/libffi-3.0.10:= |
222 |
+ media-video/ffmpeg |
223 |
+ x11-libs/libX11 |
224 |
+ x11-libs/libXcomposite |
225 |
+ x11-libs/libXdamage |
226 |
+ x11-libs/libXext |
227 |
+ x11-libs/libXfixes |
228 |
+ x11-libs/libXrender |
229 |
+ x11-libs/libXt |
230 |
+ dbus? ( |
231 |
+ sys-apps/dbus |
232 |
+ dev-libs/dbus-glib |
233 |
+ ) |
234 |
+ system-av1? ( |
235 |
+ >=media-libs/dav1d-0.3.0:= |
236 |
+ >=media-libs/libaom-1.0.0:= |
237 |
+ ) |
238 |
+ system-harfbuzz? ( |
239 |
+ >=media-libs/harfbuzz-2.6.8:0= |
240 |
+ >=media-gfx/graphite2-1.3.13 |
241 |
+ ) |
242 |
+ system-icu? ( >=dev-libs/icu-67.1:= ) |
243 |
+ system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 ) |
244 |
+ system-libevent? ( >=dev-libs/libevent-2.0:0=[threads] ) |
245 |
+ system-libvpx? ( >=media-libs/libvpx-1.8.2:0=[postproc] ) |
246 |
+ system-webp? ( >=media-libs/libwebp-1.1.0:0= ) |
247 |
+ wifi? ( |
248 |
+ kernel_linux? ( |
249 |
+ sys-apps/dbus |
250 |
+ dev-libs/dbus-glib |
251 |
+ net-misc/networkmanager |
252 |
+ ) |
253 |
+ ) |
254 |
+ jack? ( virtual/jack ) |
255 |
+ selinux? ( sec-policy/selinux-mozilla )" |
256 |
+ |
257 |
+RDEPEND="${CDEPEND} |
258 |
+ jack? ( virtual/jack ) |
259 |
+ openh264? ( media-libs/openh264:*[plugin] ) |
260 |
+ pulseaudio? ( |
261 |
+ || ( |
262 |
+ media-sound/pulseaudio |
263 |
+ >=media-sound/apulse-0.1.12-r4 |
264 |
+ ) |
265 |
+ ) |
266 |
+ selinux? ( sec-policy/selinux-mozilla ) |
267 |
+ !<x11-plugins/enigmail-2.2" |
268 |
+ |
269 |
+DEPEND="${CDEPEND} |
270 |
+ pulseaudio? ( |
271 |
+ || ( |
272 |
+ media-sound/pulseaudio |
273 |
+ >=media-sound/apulse-0.1.12-r4[sdk] |
274 |
+ ) |
275 |
+ ) |
276 |
+ wayland? ( >=x11-libs/gtk+-3.11:3[wayland] ) |
277 |
+ amd64? ( virtual/opengl ) |
278 |
+ x86? ( virtual/opengl )" |
279 |
+ |
280 |
+S="${WORKDIR}/${PN}-${PV%_*}" |
281 |
+ |
282 |
+llvm_check_deps() { |
283 |
+ if ! has_version -b "sys-devel/clang:${LLVM_SLOT}" ; then |
284 |
+ ewarn "sys-devel/clang:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 |
285 |
+ return 1 |
286 |
+ fi |
287 |
+ |
288 |
+ if use clang ; then |
289 |
+ if ! has_version -b "=sys-devel/lld-${LLVM_SLOT}*" ; then |
290 |
+ ewarn "=sys-devel/lld-${LLVM_SLOT}* is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 |
291 |
+ return 1 |
292 |
+ fi |
293 |
+ |
294 |
+ if use pgo ; then |
295 |
+ if ! has_version -b "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*" ; then |
296 |
+ ewarn "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}* is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 |
297 |
+ return 1 |
298 |
+ fi |
299 |
+ fi |
300 |
+ fi |
301 |
+ |
302 |
+ einfo "Using LLVM slot ${LLVM_SLOT} to build" >&2 |
303 |
+} |
304 |
+ |
305 |
+MOZ_LANGS=( |
306 |
+ af ar ast be bg br ca cak cs cy da de dsb el en-CA en-GB en-US |
307 |
+ es-AR es-ES et eu fa fi fr fy-NL ga-IE gd gl he hr hsb hu hy-AM |
308 |
+ id is it ja ka kab kk ko lt ms nb-NO nl nn-NO pa-IN pl pt-BR |
309 |
+ pt-PT rm ro ru si sk sl sq sr sv-SE th tr uz vi zh-CN zh-TW |
310 |
+) |
311 |
+ |
312 |
+mozilla_set_globals() { |
313 |
+ # https://bugs.gentoo.org/587334 |
314 |
+ local MOZ_TOO_REGIONALIZED_FOR_L10N=( |
315 |
+ fy-NL ga-IE gu-IN hi-IN hy-AM nb-NO ne-NP nn-NO pa-IN sv-SE |
316 |
+ ) |
317 |
+ |
318 |
+ local lang xflag |
319 |
+ for lang in "${MOZ_LANGS[@]}" ; do |
320 |
+ # en and en_US are handled internally |
321 |
+ if [[ ${lang} == en ]] || [[ ${lang} == en-US ]] ; then |
322 |
+ continue |
323 |
+ fi |
324 |
+ |
325 |
+ # strip region subtag if $lang is in the list |
326 |
+ if has ${lang} "${MOZ_TOO_REGIONALIZED_FOR_L10N[@]}" ; then |
327 |
+ xflag=${lang%%-*} |
328 |
+ else |
329 |
+ xflag=${lang} |
330 |
+ fi |
331 |
+ |
332 |
+ SRC_URI+=" l10n_${xflag/[_@]/-}? (" |
333 |
+ SRC_URI+=" ${MOZ_SRC_BASE_URI}/linux-x86_64/xpi/${lang}.xpi -> ${MOZ_P_DISTFILES}-${lang}.xpi" |
334 |
+ SRC_URI+=" )" |
335 |
+ IUSE+=" l10n_${xflag/[_@]/-}" |
336 |
+ done |
337 |
+} |
338 |
+mozilla_set_globals |
339 |
+ |
340 |
+moz_clear_vendor_checksums() { |
341 |
+ debug-print-function ${FUNCNAME} "$@" |
342 |
+ |
343 |
+ if [[ ${#} -ne 1 ]] ; then |
344 |
+ die "${FUNCNAME} requires exact one argument" |
345 |
+ fi |
346 |
+ |
347 |
+ einfo "Clearing cargo checksums for ${1} ..." |
348 |
+ |
349 |
+ sed -i \ |
350 |
+ -e 's/\("files":{\)[^}]*/\1/' \ |
351 |
+ "${S}"/third_party/rust/${1}/.cargo-checksum.json \ |
352 |
+ || die |
353 |
+} |
354 |
+ |
355 |
+moz_install_xpi() { |
356 |
+ debug-print-function ${FUNCNAME} "$@" |
357 |
+ |
358 |
+ if [[ ${#} -lt 2 ]] ; then |
359 |
+ die "${FUNCNAME} requires at least two arguments" |
360 |
+ fi |
361 |
+ |
362 |
+ local DESTDIR=${1} |
363 |
+ shift |
364 |
+ |
365 |
+ insinto "${DESTDIR}" |
366 |
+ |
367 |
+ local emid xpi_file xpi_tmp_dir |
368 |
+ for xpi_file in "${@}" ; do |
369 |
+ emid= |
370 |
+ xpi_tmp_dir=$(mktemp -d --tmpdir="${T}") |
371 |
+ |
372 |
+ # Unpack XPI |
373 |
+ unzip -qq "${xpi_file}" -d "${xpi_tmp_dir}" || die |
374 |
+ |
375 |
+ # Determine extension ID |
376 |
+ if [[ -f "${xpi_tmp_dir}/install.rdf" ]] ; then |
377 |
+ emid=$(sed -n -e '/install-manifest/,$ { /em:id/!d; s/.*[\">]\([^\"<>]*\)[\"<].*/\1/; p; q }' "${xpi_tmp_dir}/install.rdf") |
378 |
+ [[ -z "${emid}" ]] && die "failed to determine extension id from install.rdf" |
379 |
+ elif [[ -f "${xpi_tmp_dir}/manifest.json" ]] ; then |
380 |
+ emid=$(sed -n -e 's/.*"id": "\([^"]*\)".*/\1/p' "${xpi_tmp_dir}/manifest.json") |
381 |
+ [[ -z "${emid}" ]] && die "failed to determine extension id from manifest.json" |
382 |
+ else |
383 |
+ die "failed to determine extension id" |
384 |
+ fi |
385 |
+ |
386 |
+ einfo "Installing ${emid}.xpi into ${ED}${DESTDIR} ..." |
387 |
+ newins "${xpi_file}" "${emid}.xpi" |
388 |
+ done |
389 |
+} |
390 |
+ |
391 |
+mozconfig_add_options_ac() { |
392 |
+ debug-print-function ${FUNCNAME} "$@" |
393 |
+ |
394 |
+ if [[ ${#} -lt 2 ]] ; then |
395 |
+ die "${FUNCNAME} requires at least two arguments" |
396 |
+ fi |
397 |
+ |
398 |
+ local reason=${1} |
399 |
+ shift |
400 |
+ |
401 |
+ local option |
402 |
+ for option in ${@} ; do |
403 |
+ echo "ac_add_options ${option} # ${reason}" >>${MOZCONFIG} |
404 |
+ done |
405 |
+} |
406 |
+ |
407 |
+mozconfig_add_options_mk() { |
408 |
+ debug-print-function ${FUNCNAME} "$@" |
409 |
+ |
410 |
+ if [[ ${#} -lt 2 ]] ; then |
411 |
+ die "${FUNCNAME} requires at least two arguments" |
412 |
+ fi |
413 |
+ |
414 |
+ local reason=${1} |
415 |
+ shift |
416 |
+ |
417 |
+ local option |
418 |
+ for option in ${@} ; do |
419 |
+ echo "mk_add_options ${option} # ${reason}" >>${MOZCONFIG} |
420 |
+ done |
421 |
+} |
422 |
+ |
423 |
+mozconfig_use_enable() { |
424 |
+ debug-print-function ${FUNCNAME} "$@" |
425 |
+ |
426 |
+ if [[ ${#} -lt 1 ]] ; then |
427 |
+ die "${FUNCNAME} requires at least one arguments" |
428 |
+ fi |
429 |
+ |
430 |
+ local flag=$(use_enable "${@}") |
431 |
+ mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" "${flag}" |
432 |
+} |
433 |
+ |
434 |
+mozconfig_use_with() { |
435 |
+ debug-print-function ${FUNCNAME} "$@" |
436 |
+ |
437 |
+ if [[ ${#} -lt 1 ]] ; then |
438 |
+ die "${FUNCNAME} requires at least one arguments" |
439 |
+ fi |
440 |
+ |
441 |
+ local flag=$(use_with "${@}") |
442 |
+ mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" "${flag}" |
443 |
+} |
444 |
+ |
445 |
+pkg_pretend() { |
446 |
+ if [[ ${MERGE_TYPE} != binary ]] ; then |
447 |
+ if use pgo ; then |
448 |
+ if ! has usersandbox $FEATURES ; then |
449 |
+ die "You must enable usersandbox as X server can not run as root!" |
450 |
+ fi |
451 |
+ fi |
452 |
+ |
453 |
+ # Ensure we have enough disk space to compile |
454 |
+ if use pgo || use lto || use debug ; then |
455 |
+ CHECKREQS_DISK_BUILD="13500M" |
456 |
+ else |
457 |
+ CHECKREQS_DISK_BUILD="6400M" |
458 |
+ fi |
459 |
+ |
460 |
+ check-reqs_pkg_pretend |
461 |
+ fi |
462 |
+} |
463 |
+ |
464 |
+pkg_setup() { |
465 |
+ if [[ ${MERGE_TYPE} != binary ]] ; then |
466 |
+ if use pgo ; then |
467 |
+ if ! has userpriv ${FEATURES} ; then |
468 |
+ eerror "Building ${PN} with USE=pgo and FEATURES=-userpriv is not supported!" |
469 |
+ fi |
470 |
+ fi |
471 |
+ |
472 |
+ # Ensure we have enough disk space to compile |
473 |
+ if use pgo || use lto || use debug ; then |
474 |
+ CHECKREQS_DISK_BUILD="13500M" |
475 |
+ else |
476 |
+ CHECKREQS_DISK_BUILD="6400M" |
477 |
+ fi |
478 |
+ |
479 |
+ check-reqs_pkg_setup |
480 |
+ |
481 |
+ llvm_pkg_setup |
482 |
+ |
483 |
+ if use clang && use lto ; then |
484 |
+ local version_lld=$(ld.lld --version 2>/dev/null | awk '{ print $2 }') |
485 |
+ [[ -n ${version_lld} ]] && version_lld=$(ver_cut 1 "${version_lld}") |
486 |
+ [[ -z ${version_lld} ]] && die "Failed to read ld.lld version!" |
487 |
+ |
488 |
+ # temp fix for https://bugs.gentoo.org/768543 |
489 |
+ # we can assume that rust 1.{49,50}.0 always uses llvm 11 |
490 |
+ local version_rust=$(rustc -Vv 2>/dev/null | grep -F -- 'release:' | awk '{ print $2 }') |
491 |
+ [[ -n ${version_rust} ]] && version_rust=$(ver_cut 1-2 "${version_rust}") |
492 |
+ [[ -z ${version_rust} ]] && die "Failed to read version from rustc!" |
493 |
+ |
494 |
+ if ver_test "${version_rust}" -ge "1.49" && ver_test "${version_rust}" -le "1.50" ; then |
495 |
+ local version_llvm_rust="11" |
496 |
+ else |
497 |
+ local version_llvm_rust=$(rustc -Vv 2>/dev/null | grep -F -- 'LLVM version:' | awk '{ print $3 }') |
498 |
+ [[ -n ${version_llvm_rust} ]] && version_llvm_rust=$(ver_cut 1 "${version_llvm_rust}") |
499 |
+ [[ -z ${version_llvm_rust} ]] && die "Failed to read used LLVM version from rustc!" |
500 |
+ fi |
501 |
+ |
502 |
+ if ver_test "${version_lld}" -ne "${version_llvm_rust}" ; then |
503 |
+ eerror "Rust is using LLVM version ${version_llvm_rust} but ld.lld version belongs to LLVM version ${version_lld}." |
504 |
+ eerror "You will be unable to link ${CATEGORY}/${PN}. To proceed you have the following options:" |
505 |
+ eerror " - Manually switch rust version using 'eselect rust' to match used LLVM version" |
506 |
+ eerror " - Switch to dev-lang/rust[system-llvm] which will guarantee matching version" |
507 |
+ eerror " - Build ${CATEGORY}/${PN} without USE=lto" |
508 |
+ die "LLVM version used by Rust (${version_llvm_rust}) does not match with ld.lld version (${version_lld})!" |
509 |
+ fi |
510 |
+ fi |
511 |
+ |
512 |
+ python-any-r1_pkg_setup |
513 |
+ |
514 |
+ # Avoid PGO profiling problems due to enviroment leakage |
515 |
+ # These should *always* be cleaned up anyway |
516 |
+ unset \ |
517 |
+ DBUS_SESSION_BUS_ADDRESS \ |
518 |
+ DISPLAY \ |
519 |
+ ORBIT_SOCKETDIR \ |
520 |
+ SESSION_MANAGER \ |
521 |
+ XAUTHORITY \ |
522 |
+ XDG_CACHE_HOME \ |
523 |
+ XDG_SESSION_COOKIE |
524 |
+ |
525 |
+ # Build system is using /proc/self/oom_score_adj, bug #604394 |
526 |
+ addpredict /proc/self/oom_score_adj |
527 |
+ |
528 |
+ if ! mountpoint -q /dev/shm ; then |
529 |
+ # If /dev/shm is not available, configure is known to fail with |
530 |
+ # a traceback report referencing /usr/lib/pythonN.N/multiprocessing/synchronize.py |
531 |
+ ewarn "/dev/shm is not mounted -- expect build failures!" |
532 |
+ fi |
533 |
+ |
534 |
+ # Google API keys (see http://www.chromium.org/developers/how-tos/api-keys) |
535 |
+ # Note: These are for Gentoo Linux use ONLY. For your own distribution, please |
536 |
+ # get your own set of keys. |
537 |
+ if [[ -z "${MOZ_API_KEY_GOOGLE+set}" ]] ; then |
538 |
+ MOZ_API_KEY_GOOGLE="AIzaSyDEAOvatFogGaPi0eTgsV_ZlEzx0ObmepsMzfAc" |
539 |
+ fi |
540 |
+ |
541 |
+ if [[ -z "${MOZ_API_KEY_LOCATION+set}" ]] ; then |
542 |
+ MOZ_API_KEY_LOCATION="AIzaSyB2h2OuRgGaPicUgy5N-5hsZqiPW6sH3n_rptiQ" |
543 |
+ fi |
544 |
+ |
545 |
+ # Mozilla API keys (see https://location.services.mozilla.com/api) |
546 |
+ # Note: These are for Gentoo Linux use ONLY. For your own distribution, please |
547 |
+ # get your own set of keys. |
548 |
+ if [[ -z "${MOZ_API_KEY_MOZILLA+set}" ]] ; then |
549 |
+ MOZ_API_KEY_MOZILLA="edb3d487-3a84-46m0ap1e3-9dfd-92b5efaaa005" |
550 |
+ fi |
551 |
+ |
552 |
+ # Ensure we use C locale when building, bug #746215 |
553 |
+ export LC_ALL=C |
554 |
+ fi |
555 |
+} |
556 |
+ |
557 |
+src_unpack() { |
558 |
+ local _lp_dir="${WORKDIR}/language_packs" |
559 |
+ local _src_file |
560 |
+ |
561 |
+ if [[ ! -d "${_lp_dir}" ]] ; then |
562 |
+ mkdir "${_lp_dir}" || die |
563 |
+ fi |
564 |
+ |
565 |
+ for _src_file in ${A} ; do |
566 |
+ if [[ ${_src_file} == *.xpi ]]; then |
567 |
+ cp "${DISTDIR}/${_src_file}" "${_lp_dir}" || die "Failed to copy '${_src_file}' to '${_lp_dir}'!" |
568 |
+ else |
569 |
+ unpack ${_src_file} |
570 |
+ fi |
571 |
+ done |
572 |
+} |
573 |
+ |
574 |
+src_prepare() { |
575 |
+ use lto && rm -v "${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch |
576 |
+ eapply "${WORKDIR}/firefox-patches" |
577 |
+ |
578 |
+ # Allow user to apply any additional patches without modifing ebuild |
579 |
+ eapply_user |
580 |
+ |
581 |
+ # Make LTO respect MAKEOPTS |
582 |
+ sed -i \ |
583 |
+ -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ |
584 |
+ "${S}"/build/moz.configure/lto-pgo.configure \ |
585 |
+ || die "sed failed to set num_cores" |
586 |
+ |
587 |
+ # Make ICU respect MAKEOPTS |
588 |
+ sed -i \ |
589 |
+ -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ |
590 |
+ "${S}"/intl/icu_sources_data.py \ |
591 |
+ || die "sed failed to set num_cores" |
592 |
+ |
593 |
+ # sed-in toolchain prefix |
594 |
+ sed -i \ |
595 |
+ -e "s/objdump/${CHOST}-objdump/" \ |
596 |
+ "${S}"/python/mozbuild/mozbuild/configure/check_debug_ranges.py \ |
597 |
+ || die "sed failed to set toolchain prefix" |
598 |
+ |
599 |
+ sed -i \ |
600 |
+ -e 's/ccache_stats = None/return None/' \ |
601 |
+ "${S}"/python/mozbuild/mozbuild/controller/building.py \ |
602 |
+ || die "sed failed to disable ccache stats call" |
603 |
+ |
604 |
+ einfo "Removing pre-built binaries ..." |
605 |
+ find "${S}"/third_party -type f \( -name '*.so' -o -name '*.o' \) -print -delete || die |
606 |
+ |
607 |
+ # Clearing checksums where we have applied patches |
608 |
+ moz_clear_vendor_checksums target-lexicon-0.9.0 |
609 |
+ |
610 |
+ # Create build dir |
611 |
+ BUILD_DIR="${WORKDIR}/${PN}_build" |
612 |
+ mkdir -p "${BUILD_DIR}" || die |
613 |
+ |
614 |
+ # Write API keys to disk |
615 |
+ echo -n "${MOZ_API_KEY_GOOGLE//gGaPi/}" > "${S}"/api-google.key || die |
616 |
+ echo -n "${MOZ_API_KEY_LOCATION//gGaPi/}" > "${S}"/api-location.key || die |
617 |
+ echo -n "${MOZ_API_KEY_MOZILLA//m0ap1/}" > "${S}"/api-mozilla.key || die |
618 |
+ |
619 |
+ xdg_src_prepare |
620 |
+} |
621 |
+ |
622 |
+src_configure() { |
623 |
+ # Show flags set at the beginning |
624 |
+ einfo "Current BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}" |
625 |
+ einfo "Current CFLAGS:\t\t${CFLAGS:-no value set}" |
626 |
+ einfo "Current CXXFLAGS:\t\t${CXXFLAGS:-no value set}" |
627 |
+ einfo "Current LDFLAGS:\t\t${LDFLAGS:-no value set}" |
628 |
+ einfo "Current RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}" |
629 |
+ |
630 |
+ local have_switched_compiler= |
631 |
+ if use clang && ! tc-is-clang ; then |
632 |
+ # Force clang |
633 |
+ einfo "Enforcing the use of clang due to USE=clang ..." |
634 |
+ have_switched_compiler=yes |
635 |
+ AR=llvm-ar |
636 |
+ CC=${CHOST}-clang |
637 |
+ CXX=${CHOST}-clang++ |
638 |
+ NM=llvm-nm |
639 |
+ RANLIB=llvm-ranlib |
640 |
+ elif ! use clang && ! tc-is-gcc ; then |
641 |
+ # Force gcc |
642 |
+ have_switched_compiler=yes |
643 |
+ einfo "Enforcing the use of gcc due to USE=-clang ..." |
644 |
+ AR=gcc-ar |
645 |
+ CC=${CHOST}-gcc |
646 |
+ CXX=${CHOST}-g++ |
647 |
+ NM=gcc-nm |
648 |
+ RANLIB=gcc-ranlib |
649 |
+ fi |
650 |
+ |
651 |
+ if [[ -n "${have_switched_compiler}" ]] ; then |
652 |
+ # Because we switched active compiler we have to ensure |
653 |
+ # that no unsupported flags are set |
654 |
+ strip-unsupported-flags |
655 |
+ fi |
656 |
+ |
657 |
+ # Ensure we use correct toolchain |
658 |
+ export HOST_CC="$(tc-getBUILD_CC)" |
659 |
+ export HOST_CXX="$(tc-getBUILD_CXX)" |
660 |
+ tc-export CC CXX LD AR NM OBJDUMP RANLIB PKG_CONFIG |
661 |
+ |
662 |
+ # Pass the correct toolchain paths through cbindgen |
663 |
+ if tc-is-cross-compiler ; then |
664 |
+ export BINDGEN_CFLAGS="${SYSROOT:+--sysroot=${ESYSROOT}} --target=${CHOST} ${BINDGEN_CFLAGS-}" |
665 |
+ fi |
666 |
+ |
667 |
+ # Set MOZILLA_FIVE_HOME |
668 |
+ export MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" |
669 |
+ |
670 |
+ # python/mach/mach/mixin/process.py fails to detect SHELL |
671 |
+ export SHELL="${EPREFIX}/bin/bash" |
672 |
+ |
673 |
+ # Set MOZCONFIG |
674 |
+ export MOZCONFIG="${S}/.mozconfig" |
675 |
+ |
676 |
+ # Initialize MOZCONFIG |
677 |
+ mozconfig_add_options_ac '' --enable-application=comm/mail |
678 |
+ mozconfig_add_options_ac '' --enable-calendar |
679 |
+ |
680 |
+ # Set Gentoo defaults |
681 |
+ export MOZILLA_OFFICIAL=1 |
682 |
+ |
683 |
+ mozconfig_add_options_ac 'Gentoo default' \ |
684 |
+ --allow-addon-sideload \ |
685 |
+ --disable-cargo-incremental \ |
686 |
+ --disable-crashreporter \ |
687 |
+ --disable-install-strip \ |
688 |
+ --disable-strip \ |
689 |
+ --disable-updater \ |
690 |
+ --enable-official-branding \ |
691 |
+ --enable-release \ |
692 |
+ --enable-system-ffi \ |
693 |
+ --enable-system-pixman \ |
694 |
+ --host="${CBUILD:-${CHOST}}" \ |
695 |
+ --libdir="${EPREFIX}/usr/$(get_libdir)" \ |
696 |
+ --prefix="${EPREFIX}/usr" \ |
697 |
+ --target="${CHOST}" \ |
698 |
+ --without-ccache \ |
699 |
+ --with-intl-api \ |
700 |
+ --with-libclang-path="$(llvm-config --libdir)" \ |
701 |
+ --with-system-nspr \ |
702 |
+ --with-system-nss \ |
703 |
+ --with-system-png \ |
704 |
+ --with-system-zlib \ |
705 |
+ --with-toolchain-prefix="${CHOST}-" \ |
706 |
+ --with-unsigned-addon-scopes=app,system \ |
707 |
+ --x-includes="${SYSROOT}${EPREFIX}/usr/include" \ |
708 |
+ --x-libraries="${SYSROOT}${EPREFIX}/usr/$(get_libdir)" |
709 |
+ |
710 |
+ # Set update channel |
711 |
+ local update_channel=release |
712 |
+ [[ -n ${MOZ_ESR} ]] && update_channel=esr |
713 |
+ mozconfig_add_options_ac '' --update-channel=${update_channel} |
714 |
+ |
715 |
+ if ! use x86 && [[ ${CHOST} != armv*h* ]] ; then |
716 |
+ mozconfig_add_options_ac '' --enable-rust-simd |
717 |
+ fi |
718 |
+ |
719 |
+ if [[ -s "${S}/api-google.key" ]] ; then |
720 |
+ local key_origin="Gentoo default" |
721 |
+ if [[ $(cat "${S}/api-google.key" | md5sum | awk '{ print $1 }') != 709560c02f94b41f9ad2c49207be6c54 ]] ; then |
722 |
+ key_origin="User value" |
723 |
+ fi |
724 |
+ |
725 |
+ mozconfig_add_options_ac "${key_origin}" \ |
726 |
+ --with-google-safebrowsing-api-keyfile="${S}/api-google.key" |
727 |
+ else |
728 |
+ einfo "Building without Google API key ..." |
729 |
+ fi |
730 |
+ |
731 |
+ if [[ -s "${S}/api-location.key" ]] ; then |
732 |
+ local key_origin="Gentoo default" |
733 |
+ if [[ $(cat "${S}/api-location.key" | md5sum | awk '{ print $1 }') != ffb7895e35dedf832eb1c5d420ac7420 ]] ; then |
734 |
+ key_origin="User value" |
735 |
+ fi |
736 |
+ |
737 |
+ mozconfig_add_options_ac "${key_origin}" \ |
738 |
+ --with-google-location-service-api-keyfile="${S}/api-location.key" |
739 |
+ else |
740 |
+ einfo "Building without Location API key ..." |
741 |
+ fi |
742 |
+ |
743 |
+ if [[ -s "${S}/api-mozilla.key" ]] ; then |
744 |
+ local key_origin="Gentoo default" |
745 |
+ if [[ $(cat "${S}/api-mozilla.key" | md5sum | awk '{ print $1 }') != 3927726e9442a8e8fa0e46ccc39caa27 ]] ; then |
746 |
+ key_origin="User value" |
747 |
+ fi |
748 |
+ |
749 |
+ mozconfig_add_options_ac "${key_origin}" \ |
750 |
+ --with-mozilla-api-keyfile="${S}/api-mozilla.key" |
751 |
+ else |
752 |
+ einfo "Building without Mozilla API key ..." |
753 |
+ fi |
754 |
+ |
755 |
+ mozconfig_use_with system-av1 |
756 |
+ mozconfig_use_with system-harfbuzz |
757 |
+ mozconfig_use_with system-harfbuzz system-graphite2 |
758 |
+ mozconfig_use_with system-icu |
759 |
+ mozconfig_use_with system-jpeg |
760 |
+ mozconfig_use_with system-libevent system-libevent "${SYSROOT}${EPREFIX}/usr" |
761 |
+ mozconfig_use_with system-libvpx |
762 |
+ mozconfig_use_with system-webp |
763 |
+ |
764 |
+ mozconfig_use_enable dbus |
765 |
+ |
766 |
+ use eme-free && mozconfig_add_options_ac '+eme-free' --disable-eme |
767 |
+ |
768 |
+ if use hardened ; then |
769 |
+ mozconfig_add_options_ac "+hardened" --enable-hardening |
770 |
+ append-ldflags "-Wl,-z,relro -Wl,-z,now" |
771 |
+ fi |
772 |
+ |
773 |
+ mozconfig_use_enable jack |
774 |
+ |
775 |
+ mozconfig_use_enable pulseaudio |
776 |
+ # force the deprecated alsa sound code if pulseaudio is disabled |
777 |
+ if use kernel_linux && ! use pulseaudio ; then |
778 |
+ mozconfig_add_options_ac '-pulseaudio' --enable-alsa |
779 |
+ fi |
780 |
+ |
781 |
+ mozconfig_use_enable wifi necko-wifi |
782 |
+ |
783 |
+ if use wayland ; then |
784 |
+ mozconfig_add_options_ac '+wayland' --enable-default-toolkit=cairo-gtk3-wayland |
785 |
+ else |
786 |
+ mozconfig_add_options_ac '' --enable-default-toolkit=cairo-gtk3 |
787 |
+ fi |
788 |
+ |
789 |
+ if use lto ; then |
790 |
+ if use clang ; then |
791 |
+ # Upstream only supports lld when using clang |
792 |
+ mozconfig_add_options_ac "forcing ld=lld due to USE=clang and USE=lto" --enable-linker=lld |
793 |
+ |
794 |
+ mozconfig_add_options_ac '+lto' --enable-lto=cross |
795 |
+ else |
796 |
+ # Linking only works when using ld.gold when LTO is enabled |
797 |
+ mozconfig_add_options_ac "forcing ld=gold due to USE=lto" --enable-linker=gold |
798 |
+ |
799 |
+ # ThinLTO is currently broken, see bmo#1644409 |
800 |
+ mozconfig_add_options_ac '+lto' --enable-lto=full |
801 |
+ fi |
802 |
+ |
803 |
+ if use pgo ; then |
804 |
+ mozconfig_add_options_ac '+pgo' MOZ_PGO=1 |
805 |
+ |
806 |
+ if use clang ; then |
807 |
+ # Used in build/pgo/profileserver.py |
808 |
+ export LLVM_PROFDATA="llvm-profdata" |
809 |
+ fi |
810 |
+ fi |
811 |
+ else |
812 |
+ # Avoid auto-magic on linker |
813 |
+ if use clang ; then |
814 |
+ # This is upstream's default |
815 |
+ mozconfig_add_options_ac "forcing ld=lld due to USE=clang" --enable-linker=lld |
816 |
+ elif tc-ld-is-gold ; then |
817 |
+ mozconfig_add_options_ac "linker is set to gold" --enable-linker=gold |
818 |
+ else |
819 |
+ mozconfig_add_options_ac "linker is set to bfd" --enable-linker=bfd |
820 |
+ fi |
821 |
+ fi |
822 |
+ |
823 |
+ # LTO flag was handled via configure |
824 |
+ filter-flags '-flto*' |
825 |
+ |
826 |
+ mozconfig_use_enable debug |
827 |
+ if use debug ; then |
828 |
+ mozconfig_add_options_ac '+debug' --disable-optimize |
829 |
+ else |
830 |
+ if is-flag '-g*' ; then |
831 |
+ if use clang ; then |
832 |
+ mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols=$(get-flag '-g*') |
833 |
+ else |
834 |
+ mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols |
835 |
+ fi |
836 |
+ else |
837 |
+ mozconfig_add_options_ac 'Gentoo default' --disable-debug-symbols |
838 |
+ fi |
839 |
+ |
840 |
+ if is-flag '-O0' ; then |
841 |
+ mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O0 |
842 |
+ elif is-flag '-O4' ; then |
843 |
+ mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O4 |
844 |
+ elif is-flag '-O3' ; then |
845 |
+ mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O3 |
846 |
+ elif is-flag '-O1' ; then |
847 |
+ mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O1 |
848 |
+ elif is-flag '-Os' ; then |
849 |
+ mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-Os |
850 |
+ else |
851 |
+ mozconfig_add_options_ac "Gentoo default" --enable-optimize=-O2 |
852 |
+ fi |
853 |
+ fi |
854 |
+ |
855 |
+ # Debug flag was handled via configure |
856 |
+ filter-flags '-g*' |
857 |
+ |
858 |
+ # Optimization flag was handled via configure |
859 |
+ filter-flags '-O*' |
860 |
+ |
861 |
+ # Modifications to better support ARM, bug #553364 |
862 |
+ if use cpu_flags_arm_neon ; then |
863 |
+ mozconfig_add_options_ac '+cpu_flags_arm_neon' --with-fpu=neon |
864 |
+ |
865 |
+ if ! tc-is-clang ; then |
866 |
+ # thumb options aren't supported when using clang, bug 666966 |
867 |
+ mozconfig_add_options_ac '+cpu_flags_arm_neon' \ |
868 |
+ --with-thumb=yes \ |
869 |
+ --with-thumb-interwork=no |
870 |
+ fi |
871 |
+ fi |
872 |
+ |
873 |
+ if [[ ${CHOST} == armv*h* ]] ; then |
874 |
+ mozconfig_add_options_ac 'CHOST=armv*h*' --with-float-abi=hard |
875 |
+ |
876 |
+ if ! use system-libvpx ; then |
877 |
+ sed -i \ |
878 |
+ -e "s|softfp|hard|" \ |
879 |
+ "${S}"/media/libvpx/moz.build \ |
880 |
+ || die |
881 |
+ fi |
882 |
+ fi |
883 |
+ |
884 |
+ if use clang ; then |
885 |
+ # https://bugzilla.mozilla.org/show_bug.cgi?id=1482204 |
886 |
+ # https://bugzilla.mozilla.org/show_bug.cgi?id=1483822 |
887 |
+ # toolkit/moz.configure Elfhack section: target.cpu in ('arm', 'x86', 'x86_64') |
888 |
+ local disable_elf_hack= |
889 |
+ if use amd64 ; then |
890 |
+ disable_elf_hack=yes |
891 |
+ elif use x86 ; then |
892 |
+ disable_elf_hack=yes |
893 |
+ elif use arm ; then |
894 |
+ disable_elf_hack=yes |
895 |
+ fi |
896 |
+ |
897 |
+ if [[ -n ${disable_elf_hack} ]] ; then |
898 |
+ mozconfig_add_options_ac 'elf-hack is broken when using Clang' --disable-elf-hack |
899 |
+ fi |
900 |
+ elif tc-is-gcc ; then |
901 |
+ if ver_test $(gcc-fullversion) -ge 10 ; then |
902 |
+ einfo "Forcing -fno-tree-loop-vectorize to workaround GCC bug, see bug 758446 ..." |
903 |
+ append-cxxflags -fno-tree-loop-vectorize |
904 |
+ fi |
905 |
+ fi |
906 |
+ |
907 |
+ # Additional ARCH support |
908 |
+ case "${ARCH}" in |
909 |
+ arm) |
910 |
+ # Reduce the memory requirements for linking |
911 |
+ if use clang ; then |
912 |
+ # Nothing to do |
913 |
+ :; |
914 |
+ elif tc-ld-is-gold || use lto ; then |
915 |
+ append-ldflags -Wl,--no-keep-memory |
916 |
+ else |
917 |
+ append-ldflags -Wl,--no-keep-memory -Wl,--reduce-memory-overheads |
918 |
+ fi |
919 |
+ ;; |
920 |
+ esac |
921 |
+ |
922 |
+ if ! use elibc_glibc ; then |
923 |
+ mozconfig_add_options_ac '!elibc_glibc' --disable-jemalloc |
924 |
+ fi |
925 |
+ |
926 |
+ # Allow elfhack to work in combination with unstripped binaries |
927 |
+ # when they would normally be larger than 2GiB. |
928 |
+ append-ldflags "-Wl,--compress-debug-sections=zlib" |
929 |
+ |
930 |
+ # Make revdep-rebuild.sh happy; Also required for musl |
931 |
+ append-ldflags -Wl,-rpath="${MOZILLA_FIVE_HOME}",--enable-new-dtags |
932 |
+ |
933 |
+ # Pass $MAKEOPTS to build system |
934 |
+ export MOZ_MAKE_FLAGS="${MAKEOPTS}" |
935 |
+ |
936 |
+ # Use system's Python environment |
937 |
+ export MACH_USE_SYSTEM_PYTHON=1 |
938 |
+ |
939 |
+ # Disable notification when build system has finished |
940 |
+ export MOZ_NOSPAM=1 |
941 |
+ |
942 |
+ # Build system requires xargs but is unable to find it |
943 |
+ mozconfig_add_options_mk 'Gentoo default' "XARGS=${EPREFIX}/usr/bin/xargs" |
944 |
+ |
945 |
+ # Set build dir |
946 |
+ mozconfig_add_options_mk 'Gentoo default' "MOZ_OBJDIR=${BUILD_DIR}" |
947 |
+ |
948 |
+ # Show flags we will use |
949 |
+ einfo "Build BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}" |
950 |
+ einfo "Build CFLAGS:\t\t${CFLAGS:-no value set}" |
951 |
+ einfo "Build CXXFLAGS:\t\t${CXXFLAGS:-no value set}" |
952 |
+ einfo "Build LDFLAGS:\t\t${LDFLAGS:-no value set}" |
953 |
+ einfo "Build RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}" |
954 |
+ |
955 |
+ # Handle EXTRA_CONF and show summary |
956 |
+ local ac opt hash reason |
957 |
+ |
958 |
+ # Apply EXTRA_ECONF entries to $MOZCONFIG |
959 |
+ if [[ -n ${EXTRA_ECONF} ]] ; then |
960 |
+ IFS=\! read -a ac <<<${EXTRA_ECONF// --/\!} |
961 |
+ for opt in "${ac[@]}"; do |
962 |
+ mozconfig_add_options_ac "EXTRA_ECONF" --${opt#--} |
963 |
+ done |
964 |
+ fi |
965 |
+ |
966 |
+ echo |
967 |
+ echo "==========================================================" |
968 |
+ echo "Building ${PF} with the following configuration" |
969 |
+ grep ^ac_add_options "${MOZCONFIG}" | while read ac opt hash reason; do |
970 |
+ [[ -z ${hash} || ${hash} == \# ]] \ |
971 |
+ || die "error reading mozconfig: ${ac} ${opt} ${hash} ${reason}" |
972 |
+ printf " %-30s %s\n" "${opt}" "${reason:-mozilla.org default}" |
973 |
+ done |
974 |
+ echo "==========================================================" |
975 |
+ echo |
976 |
+ |
977 |
+ ./mach configure || die |
978 |
+} |
979 |
+ |
980 |
+src_compile() { |
981 |
+ local virtx_cmd= |
982 |
+ |
983 |
+ if use pgo ; then |
984 |
+ virtx_cmd=virtx |
985 |
+ |
986 |
+ # Reset and cleanup environment variables used by GNOME/XDG |
987 |
+ gnome2_environment_reset |
988 |
+ |
989 |
+ addpredict /root |
990 |
+ fi |
991 |
+ |
992 |
+ local -x GDK_BACKEND=x11 |
993 |
+ |
994 |
+ ${virtx_cmd} ./mach build --verbose \ |
995 |
+ || die |
996 |
+} |
997 |
+ |
998 |
+src_install() { |
999 |
+ # xpcshell is getting called during install |
1000 |
+ pax-mark m \ |
1001 |
+ "${BUILD_DIR}"/dist/bin/xpcshell \ |
1002 |
+ "${BUILD_DIR}"/dist/bin/${PN} \ |
1003 |
+ "${BUILD_DIR}"/dist/bin/plugin-container |
1004 |
+ |
1005 |
+ DESTDIR="${D}" ./mach install || die |
1006 |
+ |
1007 |
+ # Upstream cannot ship symlink but we can (bmo#658850) |
1008 |
+ rm "${ED}${MOZILLA_FIVE_HOME}/${PN}-bin" || die |
1009 |
+ dosym ${PN} ${MOZILLA_FIVE_HOME}/${PN}-bin |
1010 |
+ |
1011 |
+ # Don't install llvm-symbolizer from sys-devel/llvm package |
1012 |
+ if [[ -f "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" ]] ; then |
1013 |
+ rm -v "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" || die |
1014 |
+ fi |
1015 |
+ |
1016 |
+ # Install policy (currently only used to disable application updates) |
1017 |
+ insinto "${MOZILLA_FIVE_HOME}/distribution" |
1018 |
+ newins "${FILESDIR}"/distribution.ini distribution.ini |
1019 |
+ newins "${FILESDIR}"/disable-auto-update.policy.json policies.json |
1020 |
+ |
1021 |
+ # Install system-wide preferences |
1022 |
+ local PREFS_DIR="${MOZILLA_FIVE_HOME}/defaults/pref" |
1023 |
+ insinto "${PREFS_DIR}" |
1024 |
+ newins "${FILESDIR}"/gentoo-default-prefs.js gentoo-prefs.js |
1025 |
+ |
1026 |
+ local GENTOO_PREFS="${ED}${PREFS_DIR}/gentoo-prefs.js" |
1027 |
+ |
1028 |
+ # Set dictionary path to use system hunspell |
1029 |
+ cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set spellchecker.dictionary_path pref" |
1030 |
+ pref("spellchecker.dictionary_path", "${EPREFIX}/usr/share/myspell"); |
1031 |
+ EOF |
1032 |
+ |
1033 |
+ # Force hwaccel prefs if USE=hwaccel is enabled |
1034 |
+ if use hwaccel ; then |
1035 |
+ cat "${FILESDIR}"/gentoo-hwaccel-prefs.js \ |
1036 |
+ >>"${GENTOO_PREFS}" \ |
1037 |
+ || die "failed to add prefs to force hardware-accelerated rendering to all-gentoo.js" |
1038 |
+ fi |
1039 |
+ |
1040 |
+ # Force the graphite pref if USE=system-harfbuzz is enabled, since the pref cannot disable it |
1041 |
+ if use system-harfbuzz ; then |
1042 |
+ cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set gfx.font_rendering.graphite.enabled pref" |
1043 |
+ sticky_pref("gfx.font_rendering.graphite.enabled", true); |
1044 |
+ EOF |
1045 |
+ fi |
1046 |
+ |
1047 |
+ # Install language packs |
1048 |
+ local langpacks=( $(find "${WORKDIR}/language_packs" -type f -name '*.xpi') ) |
1049 |
+ if [[ -n "${langpacks}" ]] ; then |
1050 |
+ moz_install_xpi "${MOZILLA_FIVE_HOME}/distribution/extensions" "${langpacks[@]}" |
1051 |
+ fi |
1052 |
+ |
1053 |
+ # Install icons |
1054 |
+ local icon_srcdir="${S}/comm/mail/branding/thunderbird" |
1055 |
+ local icon_symbolic_file="${icon_srcdir}/TB-symbolic.svg" |
1056 |
+ |
1057 |
+ insinto /usr/share/icons/hicolor/symbolic/apps |
1058 |
+ newins "${icon_symbolic_file}" ${PN}-symbolic.svg |
1059 |
+ |
1060 |
+ local icon size |
1061 |
+ for icon in "${icon_srcdir}"/default*.png ; do |
1062 |
+ size=${icon%.png} |
1063 |
+ size=${size##*/default} |
1064 |
+ |
1065 |
+ if [[ ${size} -eq 48 ]] ; then |
1066 |
+ newicon "${icon}" ${PN}.png |
1067 |
+ fi |
1068 |
+ |
1069 |
+ newicon -s ${size} "${icon}" ${PN}.png |
1070 |
+ done |
1071 |
+ |
1072 |
+ # Install menus |
1073 |
+ local wrapper_wayland="${PN}-wayland.sh" |
1074 |
+ local wrapper_x11="${PN}-x11.sh" |
1075 |
+ local desktop_file="${FILESDIR}/icon/${PN}-r2.desktop" |
1076 |
+ local display_protocols="auto X11" |
1077 |
+ local icon="${PN}" |
1078 |
+ local name="Mozilla ${MOZ_PN^}" |
1079 |
+ local use_wayland="false" |
1080 |
+ |
1081 |
+ if use wayland ; then |
1082 |
+ display_protocols+=" Wayland" |
1083 |
+ use_wayland="true" |
1084 |
+ fi |
1085 |
+ |
1086 |
+ local app_name desktop_filename display_protocol exec_command |
1087 |
+ for display_protocol in ${display_protocols} ; do |
1088 |
+ app_name="${name} on ${display_protocol}" |
1089 |
+ desktop_filename="${PN}-${display_protocol,,}.desktop" |
1090 |
+ |
1091 |
+ case ${display_protocol} in |
1092 |
+ Wayland) |
1093 |
+ exec_command="${PN}-wayland --name ${PN}-wayland" |
1094 |
+ newbin "${FILESDIR}/${wrapper_wayland}" ${PN}-wayland |
1095 |
+ ;; |
1096 |
+ X11) |
1097 |
+ if ! use wayland ; then |
1098 |
+ # Exit loop here because there's no choice so |
1099 |
+ # we don't need wrapper/.desktop file for X11. |
1100 |
+ continue |
1101 |
+ fi |
1102 |
+ |
1103 |
+ exec_command="${PN}-x11 --name ${PN}-x11" |
1104 |
+ newbin "${FILESDIR}/${wrapper_x11}" ${PN}-x11 |
1105 |
+ ;; |
1106 |
+ *) |
1107 |
+ app_name="${name}" |
1108 |
+ desktop_filename="${PN}.desktop" |
1109 |
+ exec_command="${PN}" |
1110 |
+ ;; |
1111 |
+ esac |
1112 |
+ |
1113 |
+ cp "${desktop_file}" "${WORKDIR}/${PN}.desktop-template" || die |
1114 |
+ |
1115 |
+ sed -i \ |
1116 |
+ -e "s:@NAME@:${app_name}:" \ |
1117 |
+ -e "s:@EXEC@:${exec_command}:" \ |
1118 |
+ -e "s:@ICON@:${icon}:" \ |
1119 |
+ "${WORKDIR}/${PN}.desktop-template" \ |
1120 |
+ || die |
1121 |
+ |
1122 |
+ newmenu "${WORKDIR}/${PN}.desktop-template" "${desktop_filename}" |
1123 |
+ |
1124 |
+ rm "${WORKDIR}/${PN}.desktop-template" || die |
1125 |
+ done |
1126 |
+ |
1127 |
+ # Install generic wrapper script |
1128 |
+ [[ -f "${ED}/usr/bin/${PN}" ]] && rm "${ED}/usr/bin/${PN}" |
1129 |
+ newbin "${FILESDIR}/${PN}.sh" ${PN} |
1130 |
+ |
1131 |
+ # Update wrapper |
1132 |
+ local wrapper |
1133 |
+ for wrapper in \ |
1134 |
+ "${ED}/usr/bin/${PN}" \ |
1135 |
+ "${ED}/usr/bin/${PN}-x11" \ |
1136 |
+ "${ED}/usr/bin/${PN}-wayland" \ |
1137 |
+ ; do |
1138 |
+ [[ ! -f "${wrapper}" ]] && continue |
1139 |
+ |
1140 |
+ sed -i \ |
1141 |
+ -e "s:@PREFIX@:${EPREFIX}/usr:" \ |
1142 |
+ -e "s:@MOZ_FIVE_HOME@:${MOZILLA_FIVE_HOME}:" \ |
1143 |
+ -e "s:@APULSELIB_DIR@:${apulselib}:" \ |
1144 |
+ -e "s:@DEFAULT_WAYLAND@:${use_wayland}:" \ |
1145 |
+ "${wrapper}" \ |
1146 |
+ || die |
1147 |
+ done |
1148 |
+} |
1149 |
+ |
1150 |
+pkg_preinst() { |
1151 |
+ xdg_pkg_preinst |
1152 |
+ |
1153 |
+ # If the apulse libs are available in MOZILLA_FIVE_HOME then apulse |
1154 |
+ # does not need to be forced into the LD_LIBRARY_PATH |
1155 |
+ if use pulseaudio && has_version ">=media-sound/apulse-0.1.12-r4" ; then |
1156 |
+ einfo "APULSE found; Generating library symlinks for sound support ..." |
1157 |
+ local lib |
1158 |
+ pushd "${ED}${MOZILLA_FIVE_HOME}" &>/dev/null || die |
1159 |
+ for lib in ../apulse/libpulse{.so{,.0},-simple.so{,.0}} ; do |
1160 |
+ # A quickpkg rolled by hand will grab symlinks as part of the package, |
1161 |
+ # so we need to avoid creating them if they already exist. |
1162 |
+ if [[ ! -L ${lib##*/} ]] ; then |
1163 |
+ ln -s "${lib}" ${lib##*/} || die |
1164 |
+ fi |
1165 |
+ done |
1166 |
+ popd &>/dev/null || die |
1167 |
+ fi |
1168 |
+} |
1169 |
+ |
1170 |
+pkg_postinst() { |
1171 |
+ xdg_pkg_postinst |
1172 |
+ |
1173 |
+ if use pulseaudio && has_version ">=media-sound/apulse-0.1.12-r4" ; then |
1174 |
+ elog "Apulse was detected at merge time on this system and so it will always be" |
1175 |
+ elog "used for sound. If you wish to use pulseaudio instead please unmerge" |
1176 |
+ elog "media-sound/apulse." |
1177 |
+ elog |
1178 |
+ fi |
1179 |
+ |
1180 |
+ local show_doh_information |
1181 |
+ |
1182 |
+ if [[ -z "${REPLACING_VERSIONS}" ]] ; then |
1183 |
+ # New install; Tell user that DoH is disabled by default |
1184 |
+ show_doh_information=yes |
1185 |
+ fi |
1186 |
+ |
1187 |
+ if [[ -n "${show_doh_information}" ]] ; then |
1188 |
+ elog |
1189 |
+ elog "Note regarding Trusted Recursive Resolver aka DNS-over-HTTPS (DoH):" |
1190 |
+ elog "Due to privacy concerns (encrypting DNS might be a good thing, sending all" |
1191 |
+ elog "DNS traffic to Cloudflare by default is not a good idea and applications" |
1192 |
+ elog "should respect OS configured settings), \"network.trr.mode\" was set to 5" |
1193 |
+ elog "(\"Off by choice\") by default." |
1194 |
+ elog "You can enable DNS-over-HTTPS in ${PN^}'s preferences." |
1195 |
+ fi |
1196 |
+} |