Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-client/thunderbird/
Date: Sun, 31 Jan 2021 05:22:54
Message-Id: 1612070483.161b2ef4ef62f09b842733c36260415fe24a7f44.juippis@gentoo
1 commit: 161b2ef4ef62f09b842733c36260415fe24a7f44
2 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 31 05:21:23 2021 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 31 05:21:23 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=161b2ef4
7
8 mail-client/thunderbird: security cleanup
9
10 Bug: https://bugs.gentoo.org/767394
11 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
12
13 mail-client/thunderbird/Manifest | 65 --
14 mail-client/thunderbird/thunderbird-78.6.1.ebuild | 1056 ---------------------
15 2 files changed, 1121 deletions(-)
16
17 diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest
18 index f6dda9171d1..590a58a3dc6 100644
19 --- a/mail-client/thunderbird/Manifest
20 +++ b/mail-client/thunderbird/Manifest
21 @@ -1,69 +1,4 @@
22 DIST firefox-78esr-patches-07.tar.xz 66156 BLAKE2B 8f69883432dcbd484b1fb15e3fde1630b1424e502ba78d9ec3cbe70cb2676a6876853d3477c8bfe35e92bca91b200e2d14543de1778d895676a52d2608109af2 SHA512 b4a01d3499002bd33a7fb45a1a80e9e73ba27a0986b6bfa43b3482dd8d82a686a14ae0c5e013402c8c8f359a642632a40bf4c362a0e83a1f53b453914f42e3a7
23 -DIST thunderbird-78.6.1-af.xpi 548339 BLAKE2B 0702395342f4e20246550d4cbdf0a4733879f1f72f7ab430f4c6998ca8e827219d27e825f989f4534be0984d25deb736756855de02187f9cf9f6356cd9eb14dc SHA512 bfc97747475389b26dbe18bea983b0d211b98cfeaeaa8ebce2719b6d2da50a7b84d8741bd9df5902a0adcca95a9091b9b75c1069455627d6f2cb350b84e00000
24 -DIST thunderbird-78.6.1-ar.xpi 648611 BLAKE2B a05ef5bed6f66a1ecba92c7de0f192f43378313bfa2d59d54506f5fb80ee8ac5fe1d0b119a23f26a3769d8a29c06f1deb849728a7d18b04733223aab23090332 SHA512 fb6f5c18cff61b7ca52743425efeab85bc7573c21193ca8e16558cb91bf7b6e8b8be5fcd56700fffe55dce1239dd0829e55e0916399cb79b686526d58b0dfbbb
25 -DIST thunderbird-78.6.1-ast.xpi 561254 BLAKE2B 3936ea67b3466e7ad2e09880b85ceaf424523673fddf30bfa7526521e23461fe93bdc25b477c98a3887eb309372fd0361b7561c6272536859d18807d312f3256 SHA512 ad82892abe2e30ccaad2cc9b54bafdd245f5b6214f6f2aa854e3b40019e81ee25c945ec66fbe29ce8f737dde4e6b7ed8bc45d409c62ad9cdea0d0358803c2870
26 -DIST thunderbird-78.6.1-be.xpi 666677 BLAKE2B 336a83cdf448e47919b71ef1086e0b37b05612797f469c93314e74223e4b3d9cf6530e7bf3786e16cf19476529bafd6afddcc236a05785a94c6dff2f7742e494 SHA512 bf29d3d562b22123a11d0347786a3f2e7da7dc8bf2d2b1a299eca48e309adc6deabc7684f1b8a7d436d91cac151dc4290adf2850e95cf47c349d4427f303ce38
27 -DIST thunderbird-78.6.1-bg.xpi 672420 BLAKE2B a5809108c9939fc1104b93bc48d8365e35cc30d6478873968b23217deffb004830a76860bf3a37737fe3c883d37af99c39c7077cc6f8b0f8efb96c757d0aec3a SHA512 8b9af3134954b8c47d11fee37274011588a337ffbc3fde3148dd67794bab93da80d9814cacaadbbd5149f2337c4bb1ff1b94590ae7f7638a0a641c8688cc214e
28 -DIST thunderbird-78.6.1-br.xpi 604516 BLAKE2B 54c32341dd8d4e6379dbb5400acde2259968fcde2b6095beedbf0ff36ba832dc9159ffd0c08c43bc39576d7b3d8512c6641133feda67e82235e5523bd6ac422d SHA512 a387b40d6cd90e790cd20ab2a57ce5614fc43eae1027c54fb83bc205c42445edbc0d237d253c853c58e2cea8c28035f4063e16a6aa9de0d3e27a57e87b181b61
29 -DIST thunderbird-78.6.1-ca.xpi 620452 BLAKE2B 5ac11dde1bccd137f370d3c51a80dd2949d52cd0e39ab1d5738a7588e746782f18168bc58ecc702a48d911cdd54e088a1e6e71a75fc84effc9a0d85528186bad SHA512 f5897c4e70ab96a2939c663db2b74aaf868b242b9792b3c479c6cafeb0730f98a590689c9c17cdfd127116099b27386e876d7713c9450cfd6d52287611922404
30 -DIST thunderbird-78.6.1-cak.xpi 635652 BLAKE2B adeab0e29b19555a93e433095e574d370835d6c53667862193d7dbf2e2be2bd3c775f646f161cab68d0eaf7730dd1b4c11acea1c72b368bdeed586ea84a1f550 SHA512 328cd44e49c13e301a59434fcad9aff773dbda187b0f4614494d28bc937ff9173df313d183265348efbc236bfa965d49b4fd1493a99435aa441bb0bef4d5a720
31 -DIST thunderbird-78.6.1-cs.xpi 635338 BLAKE2B 56d68b02b75d09db0f191736a543bbbcc7ea219ac247dad89ddf4242be97074ed3078c90970d574a35230803acb01de67cd4cc98f3b482a97d948ce4353ce0d4 SHA512 da8d60da7bd9d8e84cdbd9aeb071568c28bd0e963b4dc011e94e08480dfab320de859bc95a2e91b48517b0dfde67177382f528a421da045c487f309323f8b338
32 -DIST thunderbird-78.6.1-cy.xpi 646247 BLAKE2B 5513c77cb0a4b1b024a657abcbd6b5b83b9c448910618ddda61be6092fcf4e34b935d877c68cfdeab8f7d716a15ccf183c697c8dd17679e813f996f641561f60 SHA512 ce4c63649e81062bd060e2376167b1dfc8b2e453aa66e458f43c6c535ed510b2ccd084358eda25e78394b76d6fe14dcc3bf260ddaffee099f8f4a510811c79f9
33 -DIST thunderbird-78.6.1-da.xpi 620995 BLAKE2B 1abd5047f1d881464e5cd79bae249f3b72d7b37fc56c4533cc8a69c2dcefce87bb0828563b2133a1ea75cbb20b7c66b007ff7b87f0352831f27878335e118d8e SHA512 ff925fa534badd6114d97be8baa18df9907c998424f0a9bccd6b7363a060d815899357bdd71915e18eb34bcf9ab4700d97b4dbb6c35c751009a173eee9817e8b
34 -DIST thunderbird-78.6.1-de.xpi 665196 BLAKE2B 07a2d1b063fe37c04bbd9fec2b759b2176ab799979e18eef291c2d8880873a489b14ace271869f5e937bdc37824c7c166df7f544ff8d36f2234f5d188590a086 SHA512 efce8574a66d6e90b8487fd3283559502829b5710dcfaed6468026f96a2dacd9e41e1658c11183a662f8196d5e0489ca5d46d7fd7fa3dd8be8201c1fbbcc2806
35 -DIST thunderbird-78.6.1-dsb.xpi 666775 BLAKE2B 61427ca4c8aca1481a864a793bdf7c71bd06ac9e248efcfea5edd78727c2e0fde9990c2403ecfb3a2a2425d0c9dc4a540cd36f5fdcbdd5b754dcac3e7718a951 SHA512 66ed6a2d26271aa2adcc5f04ec45bfdd4bacde86cb74020be185a88acce4bd5fb31f366d9f34d3f5007dbae3041bdf7560ad7efa1b43ea323deff225cfc584b3
36 -DIST thunderbird-78.6.1-el.xpi 774453 BLAKE2B 1d73f2d543f149e96ec6892140136a472647ac4bd8b4030d319a7618655dfd155f006ad1e89d39de25575be9dc559f3d81c0ed767f080e28aaee075471179c12 SHA512 0e779010192f96f7dfb260fdbae942048a15a635682354c58e9f7ea88d4a5b9ab7fc89b891e9b83f0cf5542318a16fa37bf6c823bc0f55ab1f4d9a0423fa05eb
37 -DIST thunderbird-78.6.1-en-CA.xpi 611775 BLAKE2B 4809d1d9dc86fcba7082fd4bb888c924ecb6bc70a707d1b31c9582d5eec3e56b9722e2387c5ffea7f929bfec915f5eff9e22f0c6b1695143e0e112895b771e1e SHA512 ac602e248abbdfe66858b544fb53d6c38d11988682617b6b21de0aee1c582cb9e5c7b4c7fa735087d29a857ea8e794501cd96118aa68dccf2960c7aa2e7d77a5
38 -DIST thunderbird-78.6.1-en-GB.xpi 611185 BLAKE2B e7547970744420a2cb241476b85434a84bb221be6956c8583c2dae687e938176ba299bc27fdeed8a97484beb1ca84cbce6b823e2dade43fc862f9a1dcc05ae83 SHA512 d8f914252e7e8d9f3267d1b85f8c798ca42e1c9eceb695eaf3d6b71bba7794ebb12e30ea15523cdace33ad55758f504ae6f4ac91571d7bd95f6bee67eea96824
39 -DIST thunderbird-78.6.1-es-AR.xpi 657784 BLAKE2B e29522355346bfde7bf7bb43014f85a39dd94623e5709db7a9fdd2248f4b160162acb17ebb5251585f5992c6b9d938e69b3f749b4331526efafc21d0efa79caa SHA512 8459f2c6fd57dd4109b5d41b412f95e2caf3f76b7005a2e45803139d16d0c99301ae123fbb8ce391cd8c9055e5aacac1189698ff8b9ad05e0d67eafbc7dc467c
40 -DIST thunderbird-78.6.1-es-ES.xpi 569804 BLAKE2B bd3148312fc5d2f44ae80a337dc55beac789d3982e15eff889df368992995aeb6de0220fe59caca85cba9cbf941563331918e4ba4b1dae4194863290cf22f425 SHA512 940ad9cd539159b6f4a15213274e2dc202ca8291883c8f7cfcd99a4c057d704c87061ea43a3d05ed82cdf6cb15aecc232befafc922829e0060c5579c9d07711b
41 -DIST thunderbird-78.6.1-et.xpi 597719 BLAKE2B 95572389dad231e701d890f4e59b450ee629ba99375e2764763fc87cb9e8aa035bc7566537db92f6f0b5518a77155614d4f4f0ab72eb685c0cb58e1f86b0efcf SHA512 aedb8a69cd9ada611df998fd1ecccfd680673f55be6b67f145680b53d0ff579ec8e5c59c04ce2380723ebe8159521c32f93cfaaa66467757faec2e2e60a58bd8
42 -DIST thunderbird-78.6.1-eu.xpi 632967 BLAKE2B 00eb014ea22a8862cec1033ae6dc047b4a0f08251703119f0fcef6efcea1758f25aeb33271565c6ffe19edfb2c06215251c9244b595bb1a54463ee3d15b47055 SHA512 f201053409332ddf4795c6a120c8b501975b8b56d40de724384630d48fbdd5cd2963285c34a434046f35814ceb3935088e51b3be002bd6ae6f9fdd16a3978330
43 -DIST thunderbird-78.6.1-fa.xpi 639744 BLAKE2B 9e671dc6a7b93fcd3a7e00ea73d7e8627b93576184c9deb0ca942fdc0dd5d6acbfd1a4dcda365b5f8d0e56334a8c51ed2fac48c83a78fc57e535cb30df5ae8d3 SHA512 397b97dd85009fbbf97a3ccb963f92f06bf63248d6c32b078165f9ea0a1484ae3c202b899542f4556f25775c24ea2302465a31d6e93d4349f1b75c74ba81b510
44 -DIST thunderbird-78.6.1-fi.xpi 642451 BLAKE2B b6ddead26dfa2baa47cd86bf755299e1540f824e2f81feb0d401c9340371a770b8f632361f92cb89d991ae576ecc6be03c37aceb1b754c987c7f858efb9cfc87 SHA512 0ea8297cef463ac11069212bdbfb4dfa44789e282b4b1c54ce152786aeb3f92c72196c4f376fa0c59045136e224e27bfc44ab06b6b45259c2d2a2f7085e83510
45 -DIST thunderbird-78.6.1-fr.xpi 669501 BLAKE2B 6465f98d2acd0a178a419e10b80a89be4eb58904776d914677afb8f08c33f7e56ce3cb2775977a484570f685d675b660bcf505eca0dfb9a27ebcd279ad95c3b4 SHA512 a389bd39e1ee0d0bddb96e542b3bfcd3ba708b32b9a38d95ef6a076f0f2abbaa504c243d46abeb71ac2aba28a45864b8fb1c24cfc6fbbac84d124f6b7a52d09d
46 -DIST thunderbird-78.6.1-fy-NL.xpi 653079 BLAKE2B 7c1d759ca0a088585a0d4d1cbdbe8c0e429ddfaca5c299788741f3f79dddf40c0aaa1e398df76e3768f61315def9c2911e020dc9093ad4f8f080c64f9cbed62d SHA512 11cca649f12a27e54749342cbebbfb8919ef30a28e1e78672650b7efb45224f23b7b0c1af3c5341934b6cdaf27bc4fca9e44252ef3eb6688bf403c15946505fb
47 -DIST thunderbird-78.6.1-ga-IE.xpi 600706 BLAKE2B 5c4441b31c77e8654f4e11dcda00ad4c95a6b630196d8a10e69d729ff4a65b33c213ffdcc7a447020df5696bafa03e11e998aebf459a93b48ab115855fba2655 SHA512 fa88b6d97c4a210f040c6defa1c834af6ff49912ac5b5b38f908809e8bff59c1a1cb1f91f80feead7e66b6035a6e8e98c220f1de84fb3a782cfe4fa28120c4c3
48 -DIST thunderbird-78.6.1-gd.xpi 609380 BLAKE2B baf66f4879a0b82da4c8a10760f00132eb675f833a8d9732faebd29f6bf881fea5ab86e06d9b939c2a80ba0415d38d530fef26130d8f3e724985eb9916540e41 SHA512 0bd39f37e5bceacd0690ded7608501d5f2173fa437aba755ca51176d73e3a82f7ce5cde0ecaaa6b1199e2604ea497bc03f67f4464a165bf3e26de35ca623ec26
49 -DIST thunderbird-78.6.1-gl.xpi 615719 BLAKE2B b852ab7db18b6e35b950f791dab91937e5678317545c4a1982e4c9335594ae40fa2b15d829374bb1d3d042184758ed88b7fdb28d12ea363a7a35667372d283d7 SHA512 2a6009e9e596ca41c47a18ca0a804e1d7e58a10ae240c22922faee209bb597d382531dede9bd317955597c625aafd47044adc5827e92a8fa9f621b2ce265de0c
50 -DIST thunderbird-78.6.1-he.xpi 640493 BLAKE2B 9adbfdfd9029d7f3295a08643cb802e261631ea1e6321d8cef9f18911d92743513325b471c2b3de1350cac50f13acfc21bd38a218ce70f715b13a9ea755f7e3a SHA512 0f03ae87b60617167158a1b8863701473e6ef03bc64769d83edfddd1912deb43faac2de1ee37c75a697e69bca7b8d06c3a68b0fc6106c82d7c0a91de685bd360
51 -DIST thunderbird-78.6.1-hr.xpi 629032 BLAKE2B da9d0856bd33a7b12081c329e3721193256cf77e11d9040419b27101d2e3713a86049e164480444c02bbd1c02b0fca6337190651b1bd8fec698ea0d4314e1b61 SHA512 9f95d9fb18b66bfd17091148e3555e4868421da6aafa152b2d5de9928250c6db29a294accd2d3f8c22349816da433a69e77f2f80b471b1673d64af485e081679
52 -DIST thunderbird-78.6.1-hsb.xpi 668604 BLAKE2B 1fe2f5b87fd387d4d94eecde897cf7e6639aa2e4ae09986be96d6cc4819607e01f84d9005dbdf765d5e26b65cc0431d5ba387e9be1b713b1099fb23c10f665d9 SHA512 00a98a197217f26708222701115e9292aec43d66032931465db88900d64edf0208ca4b4e6b418713f3d82a3c813fbabfdebcbff98a28223c6a91d69121569418
53 -DIST thunderbird-78.6.1-hu.xpi 679840 BLAKE2B eb2808d6901aea571aff052b0357a433ea40f6549d9733d5b9c619d94a8d506a4a5f614c9c5de9365ee0bd3d828ea12f5e72cac0a8dde6b90d8698dcd2a2c926 SHA512 4f8e83923e66f00913a4e608fc7cab4686fe0ab78568ec03b6c91d723c1602226cfde9c88fdfdf0fb627db02d065f0a790d3c4dc823b74b184853f6bb0a85789
54 -DIST thunderbird-78.6.1-hy-AM.xpi 713330 BLAKE2B 4396a7d75a7d52baa25b170f01c840db19e9ff9cda1cbd7beffb8fd889c5f9e416623b3cf34513e70da12c164a97d60f2b6bce43edb45f8fe10a208b61389932 SHA512 6f6dabc061f339d0d90a34bcf3ba46f7dd0f391d985c9ef14ad082cd8b3a1f3a0c7d93edc8c42a98a2bacca6a1138e905d06e137c38ddb4ae7e75b9ce8a01a00
55 -DIST thunderbird-78.6.1-id.xpi 620682 BLAKE2B f35b50df580212c552474b81f331406970ada902651622639e636bb9ec0184f26fdf7804645b98ad9ef548afe1323617271fbccf484df9cf2c8a60107ee17d16 SHA512 215658eac2eb7b51431dd7a065b90fbb62b0fd3342da9cc1836a7445661e06ede0bad2c491a5a019b991c4cc7fe5272cb876ec4b16ecf8b367d8ab9d455669d6
56 -DIST thunderbird-78.6.1-is.xpi 581649 BLAKE2B 388b0c2fe807c2cf5aa31e5a57a1e44b968f059350b733303d3df8dffd56c5091b38200a4d6d75cc35eaca5832142c2d3fffb3e1bcdb19999371a36672f72417 SHA512 8d044d733442a48a8208576f547d63f29b8f0c292559e7f10c8f04122e2348a2821bdd4b9261ae7fba138a9e96c480f890f1dca6a4b630f55300d52ada9288bd
57 -DIST thunderbird-78.6.1-it.xpi 572958 BLAKE2B 0b0c0115e4169087c9fd962085ed5232b02764185dc4b2964d40cbf3ccb9f35fabad1baec24e1593fd9dbf2621c01291c4306aa78d871a79942a60a9c167822d SHA512 48ecc84509128aad59d90a88bd9f89b67be1366ba100520a19356d8c4afeb6d7498bbe838a718b4f2a86429455290b71bf2fb2f36e0ff121ea3cb29731fe683f
58 -DIST thunderbird-78.6.1-ja.xpi 722446 BLAKE2B 92b66c92e1eb9e6e2960cef8302cd7098a64064feb23f4a1e506fc791e7aed33ec5f1bdfddbb70fbda1f7fce0e0f9fcb8d0cb7e408a82a4b13682717b1b307f5 SHA512 7cf6b2ed3da796d89ab73bc7db2ad11bba96ef22e589df9a7ed6773b591189afb94f594b4af1175fd2db46fa369e17ed4527bb2f1dda46fe2dd7f58f5977952f
59 -DIST thunderbird-78.6.1-ka.xpi 717016 BLAKE2B 755f14bd03138a00be0d863a0e04c01148fd0691817b42e9d26bf18ca3d347b980faa16e53d419fcfcf382447cfeabae45ed7445ecce841d336526ce1b4033cc SHA512 58c582eaca90cef841ee02224412c2c1016a11d41d0664f3f37af9a410b7d66ae16c9e1fa4e6d1a8da0e33d61c63ecacb173d69037f8a507889c70715c9f6696
60 -DIST thunderbird-78.6.1-kab.xpi 651926 BLAKE2B da0c1daa58b1b6b9e2f90b4e01a78518d4db7281cf2f48eb10a0c21422bb90bf6bc3f8f318674c6c8baee2a321a6c901d1a837a72751e9102b0710ff9dd7f3da SHA512 c4cb1f458e82880e1097233864cebf5501031fd3172a92c2c824d604d6198d87255f658768119a837354526ffd2ae6c3f2d41229c3f548bf52f95d997bb497d9
61 -DIST thunderbird-78.6.1-kk.xpi 720461 BLAKE2B d4ae543c89f7577091fdc2c6d7b8fd3863a69d6af94e5654a73db57ae59d1ec646d47ba79d5e5d00feb4900f2dd0321f2f0bfc53ea6f7d2f3971b8fa82a72d56 SHA512 0a2168349dff87f315c8e013456659a2e341c342cbeef251fd86cf79ac3a4c7eab34da706487aa5d2a94e5abb92c8f5a8f1923c72517f0a74f6624137aced024
62 -DIST thunderbird-78.6.1-ko.xpi 688201 BLAKE2B d863d005de32c8aba1620fe9af86d4541cbd070f95c508ddc424530a7ea70a37c5bb02c75b7c928182f24c9404f05942f7d52067bc084e4bfc7a85ad3161047b SHA512 a4701560d4e6ba8b52d8cb6528fcb418cf37bbfb114eea66c07daafcd58b169d553e17e648b748de2ce0f01ce30c40419bc3896825c6f88cc1193451c6291cf9
63 -DIST thunderbird-78.6.1-lt.xpi 660301 BLAKE2B 407856ffbe249cc3d937c69c4e6704d9b3f0e30d055c8587a808f0c1d9971a481608d63c66daf490cd911e12dd225a51da7dcf8214ae8cfdb208085e868f1583 SHA512 2508e9fa781696a0c2cffd91563b763e9d5a9a2896d14f999c0787b30001a7519e6a060d1ec4e852d1b7c0349ff026e7d14dcc4eb2fc8df020fd70dc37f8c7b9
64 -DIST thunderbird-78.6.1-ms.xpi 572179 BLAKE2B 74fa5e42f7d749790841f1069a5faa367cc08503242c45a0026b2a3f71064696f75945409ed751382ec204e8b4f359fe89cf3eb42c02a6c8ed1e3105e2bfada2 SHA512 678c7419a5e1652b1a763e1e4eab3639813bbdc846f957166d1a5908233809d9752ad7c4180edc44222f26043bd8b16c3687e28718d37371c25dd62820f36d5d
65 -DIST thunderbird-78.6.1-nb-NO.xpi 637239 BLAKE2B 57f4128672e57e5fff83d44617735678e3f03ceb01ae79fff2038b64fc5eeb5f99169b9c460ee143605c86bfa7a350d55ce66ba90e4f334192c4433711784295 SHA512 bfb4ca357859d7b467eee75951ec1cc3490e8f6170943aa8e6ff95770d23c8936d6bd288fdb91e3a308fb469313e7cd685ddeba65570329b29aa831009392b08
66 -DIST thunderbird-78.6.1-nl.xpi 644355 BLAKE2B ba15ff1d565070d193548b2a1c4f314e4ec2b7daa9c4997dc6f2ea53e2256b5d9ba722ffee2accb749a989a211816a600194c640a55d67478f7cebde4ba5f0ae SHA512 175b03a3f94842fbc48c75bfa0e3ca1cbfdb0321f85b8e590f5511c41624e6fc9481c8e51e91a804679cb7c4a50bda7ad4ba8aa828af6550efdaad46af293a0e
67 -DIST thunderbird-78.6.1-nn-NO.xpi 640695 BLAKE2B 1aa628452c0ab95b15284fb4c5d73f2ca1f648b7f4da760bbe0334bcb05510fb92dc7a244b0d84d7baaedc75d08e287b667777e479035a9cc1c92c2559a1be5d SHA512 65731af02f83c88634f61371c1872413db969d191edf2d070d065c36f5bf0e1c3e41d88d5c417cd64f559e7316105711ee17b3f1aba057fb06f7e3a4f88f8af8
68 -DIST thunderbird-78.6.1-pa-IN.xpi 633219 BLAKE2B cfe1dca9234802ffa991275d45009143fb8b0fcbef77a98b342fe3130874e7d91dbf2f7e1d5ff049fe388110c86d6acdeb1bd18d982587842a7a9346d4cfac58 SHA512 13ffc0570ed34caaf98d6f036273c26945151c06d16558e263a7af85c409caa2ae3f3d62930c57d8bcd4d4e0494d95ec69bf1b5793a6c7ef404a8cee06e0cece
69 -DIST thunderbird-78.6.1-pl.xpi 637125 BLAKE2B 4ff7622b19e6b39e5eec148203d2b721f25757365e75cbe549e4619f9b952ad6e59392c58bc2a92af96fb7b2596dfb5704a0939fe9dad1d24d4d3da244c1831b SHA512 f748ffe82e2aa2df04d9820ad0d7b74aa59b65e1ea14060e5aceed98908ee4dadcf7818e7345653124b8e73d3926a281a241e3bb289d72b64857000286471a45
70 -DIST thunderbird-78.6.1-pt-BR.xpi 649402 BLAKE2B 8a7aa938e094feefd26023ccb8267d3b34b6b4d53a5df5780c530c757bdc8a8327cd13ce58582c1c86e967d88718c4a275d65ee1ca4a2618a1e416176ecd90e5 SHA512 e34950beae7c93f46d0e7eb3cbe5f7e21c1b19769ef84b25525493a728d8876a52ffe72c6bbfe1176330ac0b4698a9f68f5a373e031db51b2d6d4a27890dfe65
71 -DIST thunderbird-78.6.1-pt-PT.xpi 655494 BLAKE2B 41084fb4b7c6dabbd684d05dd9735309d16f9af0bfdd3861606100076d8d355ae80653412b2844c6e9e98d51c7a00b7380c0fa754213f3ebfe02dbae480de219 SHA512 083539a904e0c4ec1b5adeef705c51b8a395ad532539f796636ba6f0477ad768ed861a32fe3b834c9539fd0daa7cde9fa13fb946093f672ae4f4d0308e0b1223
72 -DIST thunderbird-78.6.1-rm.xpi 646521 BLAKE2B e3d0dc6a8365842657d84556fe485d8f89490f0b020830692cd498a3e0e905d37e9a58aa1d1899d34932309af2c4c4127b4d0d55fb892b4ae6a261eee00bb303 SHA512 e94fb8ee4e9884d51fd6f43268ff7b377c278bedb18d077388e6bc46e459905934314d22f0b33ecb54d05e22a42f0c0993f8b972a6c232805003b3de4ed0004c
73 -DIST thunderbird-78.6.1-ro.xpi 662634 BLAKE2B f8a66affef0f4a866af4e66478de1559457451088d8fd31516a49fed4949da0625c008935bff5cee6b33fe116d490777ba990f79a3e2a019a31cf5cfcfb1b31e SHA512 cd732df54a53fbc6e856d50da27defe258c41159e1e7b3955ebaa1268b825f6848802989877a68a9a3be4aca40824b61875fc5d6206d2c3d702d04ff47ab7b59
74 -DIST thunderbird-78.6.1-ru.xpi 756186 BLAKE2B 1d21b03e163225a2f0972520bc24545458c0ed78ab474facf0c50b06be522270221ec166b04ef7ff9d8c29ea6178b2989a5f7cfcd79d6999a7ac182a5d9b2935 SHA512 f57191febf197b514f2f1ad3dfbc27706138e8581ed9b29d1ced54a3cd0d71c504e8940e5b63f79c1e6d0408f3188c4872613d54fdb58a4cbe0d5715b223d742
75 -DIST thunderbird-78.6.1-si.xpi 651110 BLAKE2B 9b967bbd9b85293b1ce7e86ce219899ea7c60fc51fa6782742df2d272b785c5714975aefb3a0a639ce9d44f2541c4e3439a37368625dfe89bf165afe3fa58c41 SHA512 25d2d800e99a0cc04765ed86d9d91fa524d162de8b4233e9cc8d05a36762e97d3136c08a987d8985c90e32dd1b5a2c60fa81c4da6494b42781defb7d0c47a762
76 -DIST thunderbird-78.6.1-sk.xpi 643228 BLAKE2B 8d40464edc6cf813191680032918e21a8fbd46ba21490fb35640ea9a4edf3fc199fa12d31686b2237c3802ed98aaa40c222d1dc90a07bdaca7bf2c774fdad018 SHA512 c9fee505e42461dad487c65caaa9bd6d35287ef1ebabb533e30aa6669c60e8dfe49a2e7fcef80328626f6a64acec9a2af132c188b7a918d11c17ef19328acd2e
77 -DIST thunderbird-78.6.1-sl.xpi 632384 BLAKE2B 9fe5c5f7fa8e5bf2b3942031e70b1081e9ee55fa35bd884a4f1a726f55782d39ee17920a30618795596f3ca1e76f2481ada13572bcef6c43e1deb3f138b93bd9 SHA512 e7bcab0ac1cfc5c7c603f2d577d04e1e656f3a4d5a8be2a3eacaa5b067e1418bc3422417223cebcc00316158fd893cb9dc30213a0c694e832270d464f381df5a
78 -DIST thunderbird-78.6.1-sq.xpi 657825 BLAKE2B d2877a33c89b886e15eb29a11285c972cbefbb32047d918c5d8b7fd421aba884cc3f596eadb9a0aa7d4150f719d07df6451d6375b959bd00335656e30f7387a5 SHA512 52e23fdd381917aad0702b12315b0af1082853292864a4b2da65701b37fce29ecf18f34a7a52802b8ff3ba134b3e0742ef6f3a1ae28992723a3f220f253884e4
79 -DIST thunderbird-78.6.1-sr.xpi 683111 BLAKE2B e2ffd2145eea9fb8f49ec367919fc93fa13612d7ddd16358e65196813e877794d45873eeb13628bb2fa92d1b438298d405954f0dbcbd6302cda845de26c13397 SHA512 edddd2722d5488a14d0e35b23f23f4c310af72973673d60dd08c060b3663f686c83f360a50985c09cdf986aff74741bff7ad7dcd0f095b577160fa262ec779a2
80 -DIST thunderbird-78.6.1-sv-SE.xpi 648863 BLAKE2B 7f2cda06f7705504162ed9cdb95fa91901df0547225f8eabaa18b079a300149a46ac99bfbe41061553293178f50bad1c7d236d9e3d3c0a879b37895e86e96daa SHA512 9a650043ce8d457a383bf9179ab2049e280c5b12d32cc5056e1f84c2d2d4ea9819924123d985fc918b811f6bd28727b5613bdc8a1182d2ac2cd61e7473c1f656
81 -DIST thunderbird-78.6.1-th.xpi 712033 BLAKE2B 160826bc46de910002d69535956da25cd368e0e5ea7b71fc8ad371d3811210e55d8ba2b66f967757c7fbbe757cff815ac2257ead3f53112d9019a4067bde7ed3 SHA512 50073c9a5a0278e91fad3beec27aaa37dacb2dc5a54b63fd2795695bc57c26158dd1cdb60c384d004f1de026a1f91a0e1d2d53ff7f4b5963d1fb53d52ddced5d
82 -DIST thunderbird-78.6.1-tr.xpi 649074 BLAKE2B c6ff6ed1d9568a6af085601775c6c7c1b99cffac0bafc552cc34401c83cf79da87f56abf75a342aa71c36d9cb03ceda9b72888d398c560034447751013763734 SHA512 57ee0972642f769ee87e93d04945d4e0aa7c76c7abf1013d205e7b4f0c9f739594aa27f8830c84f1b6b8f6fee33c4ed34eb7075faebcf0dd18b94f4a0964913d
83 -DIST thunderbird-78.6.1-uz.xpi 586602 BLAKE2B c26dce6fe52528780f8840efa097392c2b08ae5e6bdbde60ea963a1ed4221005e8a6762cf298151b5b4d31a135190dbdbe1043418ebf58680075a5d1767f3144 SHA512 7388d41755c2476cf95a8e81ed5e0756a6ffdedfbcaa45b1627be339597de48f446a39f042bd9a3146cc9bc7dad5e58e649e0dec38c48d0d4d8027d371b18025
84 -DIST thunderbird-78.6.1-vi.xpi 674605 BLAKE2B 7db83cf29596b955a8a2f8376bbe3322d5fdacf84d661832603131639ddb4373a35f9810b2442dac4e5a920f189b2f44762c6e966b07e1c2867fde3528f115df SHA512 70b226b35e671956d2eab2d95cc15cf401f2339a74de5cacb6fa1de982ebcbb0b1642f83cf5cbcf64ca6b2c6ebd958f4aed33cf267ff7a52c248f6bd1ab6eff4
85 -DIST thunderbird-78.6.1-zh-CN.xpi 687175 BLAKE2B 08b9baf8e1e2090f579c7b1b480162654d4387a502e0ff7e74970ac737f1e1d0cee291a2979cb6ebe4e5baf7ea1245cba3a2d1d25612e5be5b33bb3be491d7c9 SHA512 d99d17ed9b4151c5cb948f36296f550110e953f912d5f7cff2133e8447b3eaae23b261abff356d81035d0a4624443f0eff71d34324c884d14d561893405305c5
86 -DIST thunderbird-78.6.1-zh-TW.xpi 687623 BLAKE2B 389a13ee623a350cdea95e00e6ed63f79f5096e846395126934ce5a77edab8e404aa77ac9ba6b12154a409c95dd68589eeeda4e5cd5dd792fdddc29be4cedf73 SHA512 e9f71faab7cfe04661298acf021562fec28f58aad1d5da244573c6dc561065a7c2dbd2e89dba965a31f279627b209a6d45dd109be4aa7c5fd5520b7828153ce3
87 -DIST thunderbird-78.6.1.source.tar.xz 351971732 BLAKE2B e66049bdad344a8aa1d95828fb257aad2fa4f425bd64abfb77629f0257d11317ab4f2ca9f04cd1a3a584dd9a3e7dd2a13c861960c72fb1c94809cebdebbbbf26 SHA512 672f9ce2716114e83d3feaa7f322a405946731d540b5a9781249eba951cbf865af73ce67654e1c47e93828b0d792c1ff6a36d7ce26aee7af7bfc8cd715a8f977
88 DIST thunderbird-78.7.0-af.xpi 548349 BLAKE2B d729644b8d01795f868328482fd5084b6faeccbb0b837435aec69ca7e09bec2a6c276705c58f95dc5052a16a8242f7f6f9ed20cf5203bec22aaa9c3e6927cdf0 SHA512 aae82d4e50226f67967a3a5ed9ebcb464e50ee8a663301fa63b907eec55bf851778599bb5fb8394d9d8779e3a14741c76fc2041a842d6428f84b21899c01e860
89 DIST thunderbird-78.7.0-ar.xpi 648607 BLAKE2B 8f5e7f17e33e2890f0a74873669f0d5944305da475f13d16fb5a5a5fb80661a0a76b34891996e1d3d1d4fcfcfe762b69f7962743124a799765430ce144689c0e SHA512 46eb357273c79a3077d91086bea0795bb03fda771812f905fb9ab8d76a06cb735f73eb314ae044a1c92d31492616da8b58b6910eb61e21b5cb807e7e3aec1578
90 DIST thunderbird-78.7.0-ast.xpi 561261 BLAKE2B 9c1a26af7207101d0d553957cd860e547398c8cc984127178ab585f8e9a8784a0d56e8328072780575661c03811ed8f0e54f03d401f2766933409f4ae5e05029 SHA512 2c8f16d8d58f0219d52954b4a327fb21edd4dd3c6e88d991d162f6f5a1b712a041e7fbe1f83a00af67f19465bc0827a8c1728dc1c1706cc01e022bc728b184a5
91
92 diff --git a/mail-client/thunderbird/thunderbird-78.6.1.ebuild b/mail-client/thunderbird/thunderbird-78.6.1.ebuild
93 deleted file mode 100644
94 index 5e08a396984..00000000000
95 --- a/mail-client/thunderbird/thunderbird-78.6.1.ebuild
96 +++ /dev/null
97 @@ -1,1056 +0,0 @@
98 -# Copyright 1999-2021 Gentoo Authors
99 -# Distributed under the terms of the GNU General Public License v2
100 -
101 -EAPI="7"
102 -
103 -FIREFOX_PATCHSET="firefox-78esr-patches-07.tar.xz"
104 -
105 -LLVM_MAX_SLOT=11
106 -
107 -PYTHON_COMPAT=( python3_{7..9} )
108 -PYTHON_REQ_USE="ncurses,sqlite,ssl"
109 -
110 -WANT_AUTOCONF="2.1"
111 -
112 -VIRTUALX_REQUIRED="pgo"
113 -
114 -MOZ_ESR=
115 -
116 -MOZ_PV=${PV}
117 -MOZ_PV_SUFFIX=
118 -if [[ ${PV} =~ (_(alpha|beta|rc).*)$ ]] ; then
119 - MOZ_PV_SUFFIX=${BASH_REMATCH[1]}
120 -
121 - # Convert the ebuild version to the upstream Mozilla version
122 - MOZ_PV="${MOZ_PV/_alpha/a}" # Handle alpha for SRC_URI
123 - MOZ_PV="${MOZ_PV/_beta/b}" # Handle beta for SRC_URI
124 - MOZ_PV="${MOZ_PV%%_rc*}" # Handle rc for SRC_URI
125 -fi
126 -
127 -if [[ -n ${MOZ_ESR} ]] ; then
128 - # ESR releases have slightly different version numbers
129 - MOZ_PV="${MOZ_PV}esr"
130 -fi
131 -
132 -MOZ_PN="${PN%-bin}"
133 -MOZ_P="${MOZ_PN}-${MOZ_PV}"
134 -MOZ_PV_DISTFILES="${MOZ_PV}${MOZ_PV_SUFFIX}"
135 -MOZ_P_DISTFILES="${MOZ_PN}-${MOZ_PV_DISTFILES}"
136 -
137 -inherit autotools check-reqs desktop flag-o-matic gnome2-utils llvm \
138 - multiprocessing pax-utils python-any-r1 toolchain-funcs \
139 - virtualx xdg
140 -
141 -MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/releases/${MOZ_PV}"
142 -
143 -if [[ ${PV} == *_rc* ]] ; then
144 - MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/candidates/${MOZ_PV}-candidates/build${PV##*_rc}"
145 -fi
146 -
147 -PATCH_URIS=(
148 - https://dev.gentoo.org/~{axs,polynomial-c,whissi}/mozilla/patchsets/${FIREFOX_PATCHSET}
149 -)
150 -
151 -SRC_URI="${MOZ_SRC_BASE_URI}/source/${MOZ_P}.source.tar.xz -> ${MOZ_P_DISTFILES}.source.tar.xz
152 - ${PATCH_URIS[@]}"
153 -
154 -DESCRIPTION="Thunderbird Mail Client"
155 -HOMEPAGE="https://www.mozilla.org/thunderbird"
156 -
157 -KEYWORDS="amd64 ~arm64 ~ppc64 x86"
158 -
159 -SLOT="0/$(ver_cut 1)"
160 -LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
161 -IUSE="+clang cpu_flags_arm_neon dbus debug eme-free
162 - hardened hwaccel jack lto +openh264 pgo pulseaudio selinux
163 - +system-av1 +system-harfbuzz +system-icu +system-jpeg +system-libevent
164 - +system-libvpx +system-webp wayland wifi"
165 -
166 -REQUIRED_USE="x86? ( lto? ( clang ) )
167 - wifi? ( dbus )"
168 -
169 -BDEPEND="${PYTHON_DEPS}
170 - app-arch/unzip
171 - app-arch/zip
172 - >=dev-util/cbindgen-0.14.3
173 - >=net-libs/nodejs-10.21.0
174 - virtual/pkgconfig
175 - >=virtual/rust-1.41.0
176 - || (
177 - (
178 - sys-devel/clang:11
179 - sys-devel/llvm:11
180 - clang? (
181 - =sys-devel/lld-11*
182 - pgo? ( =sys-libs/compiler-rt-sanitizers-11*[profile] )
183 - )
184 - )
185 - (
186 - sys-devel/clang:10
187 - sys-devel/llvm:10
188 - clang? (
189 - =sys-devel/lld-10*
190 - pgo? ( =sys-libs/compiler-rt-sanitizers-10*[profile] )
191 - )
192 - )
193 - (
194 - sys-devel/clang:9
195 - sys-devel/llvm:9
196 - clang? (
197 - =sys-devel/lld-9*
198 - pgo? ( =sys-libs/compiler-rt-sanitizers-9*[profile] )
199 - )
200 - )
201 - )
202 - lto? (
203 - !clang? ( sys-devel/binutils[gold] )
204 - )
205 - amd64? ( >=dev-lang/yasm-1.1 )
206 - x86? ( >=dev-lang/yasm-1.1 )
207 - !system-av1? (
208 - amd64? ( >=dev-lang/nasm-2.13 )
209 - x86? ( >=dev-lang/nasm-2.13 )
210 - )"
211 -
212 -CDEPEND="
213 - >=dev-libs/nss-3.53.1
214 - >=dev-libs/nspr-4.25
215 - dev-libs/atk
216 - dev-libs/expat
217 - >=x11-libs/cairo-1.10[X]
218 - >=x11-libs/gtk+-2.18:2
219 - >=x11-libs/gtk+-3.4.0:3[X]
220 - x11-libs/gdk-pixbuf
221 - >=x11-libs/pango-1.22.0
222 - >=media-libs/libpng-1.6.35:0=[apng]
223 - >=media-libs/mesa-10.2:*
224 - media-libs/fontconfig
225 - >=media-libs/freetype-2.4.10
226 - kernel_linux? ( !pulseaudio? ( media-libs/alsa-lib ) )
227 - virtual/freedesktop-icon-theme
228 - >=x11-libs/pixman-0.19.2
229 - >=dev-libs/glib-2.26:2
230 - >=sys-libs/zlib-1.2.3
231 - >=dev-libs/libffi-3.0.10:=
232 - media-video/ffmpeg
233 - x11-libs/libX11
234 - x11-libs/libXcomposite
235 - x11-libs/libXdamage
236 - x11-libs/libXext
237 - x11-libs/libXfixes
238 - x11-libs/libXrender
239 - x11-libs/libXt
240 - dbus? (
241 - sys-apps/dbus
242 - dev-libs/dbus-glib
243 - )
244 - system-av1? (
245 - >=media-libs/dav1d-0.3.0:=
246 - >=media-libs/libaom-1.0.0:=
247 - )
248 - system-harfbuzz? (
249 - >=media-libs/harfbuzz-2.6.8:0=
250 - >=media-gfx/graphite2-1.3.13
251 - )
252 - system-icu? ( >=dev-libs/icu-67.1:= )
253 - system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 )
254 - system-libevent? ( >=dev-libs/libevent-2.0:0=[threads] )
255 - system-libvpx? ( >=media-libs/libvpx-1.8.2:0=[postproc] )
256 - system-webp? ( >=media-libs/libwebp-1.1.0:0= )
257 - wifi? (
258 - kernel_linux? (
259 - sys-apps/dbus
260 - dev-libs/dbus-glib
261 - net-misc/networkmanager
262 - )
263 - )
264 - jack? ( virtual/jack )
265 - selinux? ( sec-policy/selinux-mozilla )"
266 -
267 -RDEPEND="${CDEPEND}
268 - jack? ( virtual/jack )
269 - openh264? ( media-libs/openh264:*[plugin] )
270 - pulseaudio? (
271 - || (
272 - media-sound/pulseaudio
273 - >=media-sound/apulse-0.1.12-r4
274 - )
275 - )
276 - selinux? ( sec-policy/selinux-mozilla )
277 - !<x11-plugins/enigmail-2.2"
278 -
279 -DEPEND="${CDEPEND}
280 - pulseaudio? (
281 - || (
282 - media-sound/pulseaudio
283 - >=media-sound/apulse-0.1.12-r4[sdk]
284 - )
285 - )
286 - wayland? ( >=x11-libs/gtk+-3.11:3[wayland] )
287 - amd64? ( virtual/opengl )
288 - x86? ( virtual/opengl )"
289 -
290 -S="${WORKDIR}/${PN}-${PV%_*}"
291 -
292 -llvm_check_deps() {
293 - if ! has_version -b "sys-devel/clang:${LLVM_SLOT}" ; then
294 - ewarn "sys-devel/clang:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
295 - return 1
296 - fi
297 -
298 - if use clang ; then
299 - if ! has_version -b "=sys-devel/lld-${LLVM_SLOT}*" ; then
300 - ewarn "=sys-devel/lld-${LLVM_SLOT}* is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
301 - return 1
302 - fi
303 -
304 - if use pgo ; then
305 - if ! has_version -b "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*" ; then
306 - ewarn "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}* is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
307 - return 1
308 - fi
309 - fi
310 - fi
311 -
312 - einfo "Using LLVM slot ${LLVM_SLOT} to build" >&2
313 -}
314 -
315 -MOZ_LANGS=(
316 - af ar ast be bg br ca cak cs cy da de dsb el en-CA en-GB en-US
317 - es-AR es-ES et eu fa fi fr fy-NL ga-IE gd gl he hr hsb hu hy-AM
318 - id is it ja ka kab kk ko lt ms nb-NO nl nn-NO pa-IN pl pt-BR
319 - pt-PT rm ro ru si sk sl sq sr sv-SE th tr uz vi zh-CN zh-TW
320 -)
321 -
322 -mozilla_set_globals() {
323 - # https://bugs.gentoo.org/587334
324 - local MOZ_TOO_REGIONALIZED_FOR_L10N=(
325 - fy-NL ga-IE gu-IN hi-IN hy-AM nb-NO ne-NP nn-NO pa-IN sv-SE
326 - )
327 -
328 - local lang xflag
329 - for lang in "${MOZ_LANGS[@]}" ; do
330 - # en and en_US are handled internally
331 - if [[ ${lang} == en ]] || [[ ${lang} == en-US ]] ; then
332 - continue
333 - fi
334 -
335 - # strip region subtag if $lang is in the list
336 - if has ${lang} "${MOZ_TOO_REGIONALIZED_FOR_L10N[@]}" ; then
337 - xflag=${lang%%-*}
338 - else
339 - xflag=${lang}
340 - fi
341 -
342 - SRC_URI+=" l10n_${xflag/[_@]/-}? ("
343 - SRC_URI+=" ${MOZ_SRC_BASE_URI}/linux-x86_64/xpi/${lang}.xpi -> ${MOZ_P_DISTFILES}-${lang}.xpi"
344 - SRC_URI+=" )"
345 - IUSE+=" l10n_${xflag/[_@]/-}"
346 - done
347 -}
348 -mozilla_set_globals
349 -
350 -moz_clear_vendor_checksums() {
351 - debug-print-function ${FUNCNAME} "$@"
352 -
353 - if [[ ${#} -ne 1 ]] ; then
354 - die "${FUNCNAME} requires exact one argument"
355 - fi
356 -
357 - einfo "Clearing cargo checksums for ${1} ..."
358 -
359 - sed -i \
360 - -e 's/\("files":{\)[^}]*/\1/' \
361 - "${S}"/third_party/rust/${1}/.cargo-checksum.json \
362 - || die
363 -}
364 -
365 -moz_install_xpi() {
366 - debug-print-function ${FUNCNAME} "$@"
367 -
368 - if [[ ${#} -lt 2 ]] ; then
369 - die "${FUNCNAME} requires at least two arguments"
370 - fi
371 -
372 - local DESTDIR=${1}
373 - shift
374 -
375 - insinto "${DESTDIR}"
376 -
377 - local emid xpi_file xpi_tmp_dir
378 - for xpi_file in "${@}" ; do
379 - emid=
380 - xpi_tmp_dir=$(mktemp -d --tmpdir="${T}")
381 -
382 - # Unpack XPI
383 - unzip -qq "${xpi_file}" -d "${xpi_tmp_dir}" || die
384 -
385 - # Determine extension ID
386 - if [[ -f "${xpi_tmp_dir}/install.rdf" ]] ; then
387 - emid=$(sed -n -e '/install-manifest/,$ { /em:id/!d; s/.*[\">]\([^\"<>]*\)[\"<].*/\1/; p; q }' "${xpi_tmp_dir}/install.rdf")
388 - [[ -z "${emid}" ]] && die "failed to determine extension id from install.rdf"
389 - elif [[ -f "${xpi_tmp_dir}/manifest.json" ]] ; then
390 - emid=$(sed -n -e 's/.*"id": "\([^"]*\)".*/\1/p' "${xpi_tmp_dir}/manifest.json")
391 - [[ -z "${emid}" ]] && die "failed to determine extension id from manifest.json"
392 - else
393 - die "failed to determine extension id"
394 - fi
395 -
396 - einfo "Installing ${emid}.xpi into ${ED}${DESTDIR} ..."
397 - newins "${xpi_file}" "${emid}.xpi"
398 - done
399 -}
400 -
401 -mozconfig_add_options_ac() {
402 - debug-print-function ${FUNCNAME} "$@"
403 -
404 - if [[ ${#} -lt 2 ]] ; then
405 - die "${FUNCNAME} requires at least two arguments"
406 - fi
407 -
408 - local reason=${1}
409 - shift
410 -
411 - local option
412 - for option in ${@} ; do
413 - echo "ac_add_options ${option} # ${reason}" >>${MOZCONFIG}
414 - done
415 -}
416 -
417 -mozconfig_add_options_mk() {
418 - debug-print-function ${FUNCNAME} "$@"
419 -
420 - if [[ ${#} -lt 2 ]] ; then
421 - die "${FUNCNAME} requires at least two arguments"
422 - fi
423 -
424 - local reason=${1}
425 - shift
426 -
427 - local option
428 - for option in ${@} ; do
429 - echo "mk_add_options ${option} # ${reason}" >>${MOZCONFIG}
430 - done
431 -}
432 -
433 -mozconfig_use_enable() {
434 - debug-print-function ${FUNCNAME} "$@"
435 -
436 - if [[ ${#} -lt 1 ]] ; then
437 - die "${FUNCNAME} requires at least one arguments"
438 - fi
439 -
440 - local flag=$(use_enable "${@}")
441 - mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" "${flag}"
442 -}
443 -
444 -mozconfig_use_with() {
445 - debug-print-function ${FUNCNAME} "$@"
446 -
447 - if [[ ${#} -lt 1 ]] ; then
448 - die "${FUNCNAME} requires at least one arguments"
449 - fi
450 -
451 - local flag=$(use_with "${@}")
452 - mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" "${flag}"
453 -}
454 -
455 -pkg_pretend() {
456 - if [[ ${MERGE_TYPE} != binary ]] ; then
457 - if use pgo ; then
458 - if ! has usersandbox $FEATURES ; then
459 - die "You must enable usersandbox as X server can not run as root!"
460 - fi
461 - fi
462 -
463 - # Ensure we have enough disk space to compile
464 - if use pgo || use lto || use debug ; then
465 - CHECKREQS_DISK_BUILD="13500M"
466 - else
467 - CHECKREQS_DISK_BUILD="6400M"
468 - fi
469 -
470 - check-reqs_pkg_pretend
471 - fi
472 -}
473 -
474 -pkg_setup() {
475 - if [[ ${MERGE_TYPE} != binary ]] ; then
476 - if use pgo ; then
477 - if ! has userpriv ${FEATURES} ; then
478 - eerror "Building ${PN} with USE=pgo and FEATURES=-userpriv is not supported!"
479 - fi
480 - fi
481 -
482 - # Ensure we have enough disk space to compile
483 - if use pgo || use lto || use debug ; then
484 - CHECKREQS_DISK_BUILD="13500M"
485 - else
486 - CHECKREQS_DISK_BUILD="6400M"
487 - fi
488 -
489 - check-reqs_pkg_setup
490 -
491 - llvm_pkg_setup
492 -
493 - if use clang && use lto ; then
494 - local version_lld=$(ld.lld --version 2>/dev/null | awk '{ print $2 }')
495 - [[ -n ${version_lld} ]] && version_lld=$(ver_cut 1 "${version_lld}")
496 - [[ -z ${version_lld} ]] && die "Failed to read ld.lld version!"
497 -
498 - local version_llvm_rust=$(rustc -Vv 2>/dev/null | grep -F -- 'LLVM version:' | awk '{ print $3 }')
499 - [[ -n ${version_llvm_rust} ]] && version_llvm_rust=$(ver_cut 1 "${version_llvm_rust}")
500 - [[ -z ${version_llvm_rust} ]] && die "Failed to read used LLVM version from rustc!"
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 - # Ensure we use C locale when building, bug #746215
542 - export LC_ALL=C
543 - fi
544 -}
545 -
546 -src_unpack() {
547 - local _lp_dir="${WORKDIR}/language_packs"
548 - local _src_file
549 -
550 - if [[ ! -d "${_lp_dir}" ]] ; then
551 - mkdir "${_lp_dir}" || die
552 - fi
553 -
554 - for _src_file in ${A} ; do
555 - if [[ ${_src_file} == *.xpi ]]; then
556 - cp "${DISTDIR}/${_src_file}" "${_lp_dir}" || die "Failed to copy '${_src_file}' to '${_lp_dir}'!"
557 - else
558 - unpack ${_src_file}
559 - fi
560 - done
561 -}
562 -
563 -src_prepare() {
564 - use lto && rm -v "${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch
565 - eapply "${WORKDIR}/firefox-patches"
566 -
567 - # Allow user to apply any additional patches without modifing ebuild
568 - eapply_user
569 -
570 - # Make LTO respect MAKEOPTS
571 - sed -i \
572 - -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
573 - "${S}"/build/moz.configure/lto-pgo.configure \
574 - || die "sed failed to set num_cores"
575 -
576 - # Make ICU respect MAKEOPTS
577 - sed -i \
578 - -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
579 - "${S}"/intl/icu_sources_data.py \
580 - || die "sed failed to set num_cores"
581 -
582 - # sed-in toolchain prefix
583 - sed -i \
584 - -e "s/objdump/${CHOST}-objdump/" \
585 - "${S}"/python/mozbuild/mozbuild/configure/check_debug_ranges.py \
586 - || die "sed failed to set toolchain prefix"
587 -
588 - sed -i \
589 - -e 's/ccache_stats = None/return None/' \
590 - "${S}"/python/mozbuild/mozbuild/controller/building.py \
591 - || die "sed failed to disable ccache stats call"
592 -
593 - einfo "Removing pre-built binaries ..."
594 - find "${S}"/third_party -type f \( -name '*.so' -o -name '*.o' \) -print -delete || die
595 -
596 - # Clearing checksums where we have applied patches
597 - moz_clear_vendor_checksums target-lexicon-0.9.0
598 -
599 - # Create build dir
600 - BUILD_DIR="${WORKDIR}/${PN}_build"
601 - mkdir -p "${BUILD_DIR}" || die
602 -
603 - # Write API keys to disk
604 - echo -n "${MOZ_API_KEY_GOOGLE//gGaPi/}" > "${S}"/api-google.key || die
605 -
606 - xdg_src_prepare
607 -}
608 -
609 -src_configure() {
610 - # Show flags set at the beginning
611 - einfo "Current CFLAGS: ${CFLAGS}"
612 - einfo "Current CXXFLAGS: ${CXXFLAGS}"
613 - einfo "Current LDFLAGS: ${LDFLAGS}"
614 - einfo "Current RUSTFLAGS: ${RUSTFLAGS}"
615 -
616 - local have_switched_compiler=
617 - if use clang && ! tc-is-clang ; then
618 - # Force clang
619 - einfo "Enforcing the use of clang due to USE=clang ..."
620 - have_switched_compiler=yes
621 - AR=llvm-ar
622 - CC=${CHOST}-clang
623 - CXX=${CHOST}-clang++
624 - NM=llvm-nm
625 - RANLIB=llvm-ranlib
626 - elif ! use clang && ! tc-is-gcc ; then
627 - # Force gcc
628 - have_switched_compiler=yes
629 - einfo "Enforcing the use of gcc due to USE=-clang ..."
630 - AR=gcc-ar
631 - CC=${CHOST}-gcc
632 - CXX=${CHOST}-g++
633 - NM=gcc-nm
634 - RANLIB=gcc-ranlib
635 - fi
636 -
637 - if [[ -n "${have_switched_compiler}" ]] ; then
638 - # Because we switched active compiler we have to ensure
639 - # that no unsupported flags are set
640 - strip-unsupported-flags
641 - fi
642 -
643 - # Ensure we use correct toolchain
644 - export HOST_CC="$(tc-getBUILD_CC)"
645 - export HOST_CXX="$(tc-getBUILD_CXX)"
646 - tc-export CC CXX LD AR NM OBJDUMP RANLIB PKG_CONFIG
647 -
648 - # Set MOZILLA_FIVE_HOME
649 - export MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
650 -
651 - # python/mach/mach/mixin/process.py fails to detect SHELL
652 - export SHELL="${EPREFIX}/bin/bash"
653 -
654 - # Set MOZCONFIG
655 - export MOZCONFIG="${S}/.mozconfig"
656 -
657 - # Initialize MOZCONFIG
658 - mozconfig_add_options_ac '' --enable-application=comm/mail
659 - mozconfig_add_options_ac '' --enable-calendar
660 -
661 - # Set Gentoo defaults
662 - export MOZILLA_OFFICIAL=1
663 -
664 - mozconfig_add_options_ac 'Gentoo default' \
665 - --allow-addon-sideload \
666 - --disable-cargo-incremental \
667 - --disable-crashreporter \
668 - --disable-install-strip \
669 - --disable-strip \
670 - --disable-updater \
671 - --enable-official-branding \
672 - --enable-release \
673 - --enable-system-ffi \
674 - --enable-system-pixman \
675 - --host="${CBUILD:-${CHOST}}" \
676 - --libdir="${EPREFIX}/usr/$(get_libdir)" \
677 - --prefix="${EPREFIX}/usr" \
678 - --target="${CHOST}" \
679 - --without-ccache \
680 - --with-intl-api \
681 - --with-libclang-path="$(llvm-config --libdir)" \
682 - --with-system-nspr \
683 - --with-system-nss \
684 - --with-system-png \
685 - --with-system-zlib \
686 - --with-toolchain-prefix="${CHOST}-" \
687 - --with-unsigned-addon-scopes=app,system \
688 - --x-includes="${SYSROOT}${EPREFIX}/usr/include" \
689 - --x-libraries="${SYSROOT}${EPREFIX}/usr/$(get_libdir)"
690 -
691 - # Set update channel
692 - local update_channel=release
693 - [[ -n ${MOZ_ESR} ]] && update_channel=esr
694 - mozconfig_add_options_ac '' --update-channel=${update_channel}
695 -
696 - if ! use x86 && [[ ${CHOST} != armv*h* ]] ; then
697 - mozconfig_add_options_ac '' --enable-rust-simd
698 - fi
699 -
700 - if [[ -s "${S}/api-google.key" ]] ; then
701 - local key_origin="Gentoo default"
702 - if [[ $(cat "${S}/api-google.key" | md5sum | awk '{ print $1 }') != 709560c02f94b41f9ad2c49207be6c54 ]] ; then
703 - key_origin="User value"
704 - fi
705 -
706 - mozconfig_add_options_ac "${key_origin}" \
707 - --with-google-location-service-api-keyfile="${S}/api-google.key" \
708 - --with-google-safebrowsing-api-keyfile="${S}/api-google.key"
709 - else
710 - einfo "Building without Google API key ..."
711 - fi
712 -
713 - mozconfig_use_with system-av1
714 - mozconfig_use_with system-harfbuzz
715 - mozconfig_use_with system-harfbuzz system-graphite2
716 - mozconfig_use_with system-icu
717 - mozconfig_use_with system-jpeg
718 - mozconfig_use_with system-libevent system-libevent "${SYSROOT}${EPREFIX}/usr"
719 - mozconfig_use_with system-libvpx
720 - mozconfig_use_with system-webp
721 -
722 - mozconfig_use_enable dbus
723 -
724 - use eme-free && mozconfig_add_options_ac '+eme-free' --disable-eme
725 -
726 - if use hardened ; then
727 - mozconfig_add_options_ac "+hardened" --enable-hardening
728 - append-ldflags "-Wl,-z,relro -Wl,-z,now"
729 - fi
730 -
731 - mozconfig_use_enable jack
732 -
733 - mozconfig_use_enable pulseaudio
734 - # force the deprecated alsa sound code if pulseaudio is disabled
735 - if use kernel_linux && ! use pulseaudio ; then
736 - mozconfig_add_options_ac '-pulseaudio' --enable-alsa
737 - fi
738 -
739 - mozconfig_use_enable wifi necko-wifi
740 -
741 - if use wayland ; then
742 - mozconfig_add_options_ac '+wayland' --enable-default-toolkit=cairo-gtk3-wayland
743 - else
744 - mozconfig_add_options_ac '' --enable-default-toolkit=cairo-gtk3
745 - fi
746 -
747 - if use lto ; then
748 - if use clang ; then
749 - # Upstream only supports lld when using clang
750 - mozconfig_add_options_ac "forcing ld=lld due to USE=clang and USE=lto" --enable-linker=lld
751 -
752 - mozconfig_add_options_ac '+lto' --enable-lto=cross
753 - else
754 - # Linking only works when using ld.gold when LTO is enabled
755 - mozconfig_add_options_ac "forcing ld=gold due to USE=lto" --enable-linker=gold
756 -
757 - # ThinLTO is currently broken, see bmo#1644409
758 - mozconfig_add_options_ac '+lto' --enable-lto=full
759 - fi
760 -
761 - if use pgo ; then
762 - mozconfig_add_options_ac '+pgo' MOZ_PGO=1
763 -
764 - if use clang ; then
765 - # Used in build/pgo/profileserver.py
766 - export LLVM_PROFDATA="llvm-profdata"
767 - fi
768 - fi
769 - else
770 - # Avoid auto-magic on linker
771 - if use clang ; then
772 - # This is upstream's default
773 - mozconfig_add_options_ac "forcing ld=lld due to USE=clang" --enable-linker=lld
774 - elif tc-ld-is-gold ; then
775 - mozconfig_add_options_ac "linker is set to gold" --enable-linker=gold
776 - else
777 - mozconfig_add_options_ac "linker is set to bfd" --enable-linker=bfd
778 - fi
779 - fi
780 -
781 - # LTO flag was handled via configure
782 - filter-flags '-flto*'
783 -
784 - mozconfig_use_enable debug
785 - if use debug ; then
786 - mozconfig_add_options_ac '+debug' --disable-optimize
787 - else
788 - if is-flag '-g*' ; then
789 - if use clang ; then
790 - mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols=$(get-flag '-g*')
791 - else
792 - mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols
793 - fi
794 - else
795 - mozconfig_add_options_ac 'Gentoo default' --disable-debug-symbols
796 - fi
797 -
798 - if is-flag '-O0' ; then
799 - mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O0
800 - elif is-flag '-O4' ; then
801 - mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O4
802 - elif is-flag '-O3' ; then
803 - mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O3
804 - elif is-flag '-O1' ; then
805 - mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O1
806 - elif is-flag '-Os' ; then
807 - mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-Os
808 - else
809 - mozconfig_add_options_ac "Gentoo default" --enable-optimize=-O2
810 - fi
811 - fi
812 -
813 - # Debug flag was handled via configure
814 - filter-flags '-g*'
815 -
816 - # Optimization flag was handled via configure
817 - filter-flags '-O*'
818 -
819 - # Modifications to better support ARM, bug #553364
820 - if use cpu_flags_arm_neon ; then
821 - mozconfig_add_options_ac '+cpu_flags_arm_neon' --with-fpu=neon
822 -
823 - if ! tc-is-clang ; then
824 - # thumb options aren't supported when using clang, bug 666966
825 - mozconfig_add_options_ac '+cpu_flags_arm_neon' \
826 - --with-thumb=yes \
827 - --with-thumb-interwork=no
828 - fi
829 - fi
830 -
831 - if [[ ${CHOST} == armv*h* ]] ; then
832 - mozconfig_add_options_ac 'CHOST=armv*h*' --with-float-abi=hard
833 -
834 - if ! use system-libvpx ; then
835 - sed -i \
836 - -e "s|softfp|hard|" \
837 - "${S}"/media/libvpx/moz.build \
838 - || die
839 - fi
840 - fi
841 -
842 - if use clang ; then
843 - # https://bugzilla.mozilla.org/show_bug.cgi?id=1482204
844 - # https://bugzilla.mozilla.org/show_bug.cgi?id=1483822
845 - # toolkit/moz.configure Elfhack section: target.cpu in ('arm', 'x86', 'x86_64')
846 - local disable_elf_hack=
847 - if use amd64 ; then
848 - disable_elf_hack=yes
849 - elif use x86 ; then
850 - disable_elf_hack=yes
851 - elif use arm ; then
852 - disable_elf_hack=yes
853 - fi
854 -
855 - if [[ -n ${disable_elf_hack} ]] ; then
856 - mozconfig_add_options_ac 'elf-hack is broken when using Clang' --disable-elf-hack
857 - fi
858 - elif tc-is-gcc ; then
859 - if ver_test $(gcc-fullversion) -ge 10 ; then
860 - einfo "Forcing -fno-tree-loop-vectorize to workaround GCC bug, see bug 758446 ..."
861 - append-cxxflags -fno-tree-loop-vectorize
862 - fi
863 - fi
864 -
865 - # Additional ARCH support
866 - case "${ARCH}" in
867 - arm)
868 - # Reduce the memory requirements for linking
869 - if use clang ; then
870 - # Nothing to do
871 - :;
872 - elif tc-ld-is-gold || use lto ; then
873 - append-ldflags -Wl,--no-keep-memory
874 - else
875 - append-ldflags -Wl,--no-keep-memory -Wl,--reduce-memory-overheads
876 - fi
877 - ;;
878 - esac
879 -
880 - if ! use elibc_glibc ; then
881 - mozconfig_add_options_ac '!elibc_glibc' --disable-jemalloc
882 - fi
883 -
884 - # Allow elfhack to work in combination with unstripped binaries
885 - # when they would normally be larger than 2GiB.
886 - append-ldflags "-Wl,--compress-debug-sections=zlib"
887 -
888 - # Make revdep-rebuild.sh happy; Also required for musl
889 - append-ldflags -Wl,-rpath="${MOZILLA_FIVE_HOME}",--enable-new-dtags
890 -
891 - # Pass $MAKEOPTS to build system
892 - export MOZ_MAKE_FLAGS="${MAKEOPTS}"
893 -
894 - # Use system's Python environment
895 - export MACH_USE_SYSTEM_PYTHON=1
896 -
897 - # Disable notification when build system has finished
898 - export MOZ_NOSPAM=1
899 -
900 - # Build system requires xargs but is unable to find it
901 - mozconfig_add_options_mk 'Gentoo default' "XARGS=${EPREFIX}/usr/bin/xargs"
902 -
903 - # Set build dir
904 - mozconfig_add_options_mk 'Gentoo default' "MOZ_OBJDIR=${BUILD_DIR}"
905 -
906 - # Show flags we will use
907 - einfo "Build CFLAGS: ${CFLAGS}"
908 - einfo "Build CXXFLAGS: ${CXXFLAGS}"
909 - einfo "Build LDFLAGS: ${LDFLAGS}"
910 - einfo "Build RUSTFLAGS: ${RUSTFLAGS}"
911 -
912 - # Handle EXTRA_CONF and show summary
913 - local ac opt hash reason
914 -
915 - # Apply EXTRA_ECONF entries to $MOZCONFIG
916 - if [[ -n ${EXTRA_ECONF} ]] ; then
917 - IFS=\! read -a ac <<<${EXTRA_ECONF// --/\!}
918 - for opt in "${ac[@]}"; do
919 - mozconfig_add_options_ac "EXTRA_ECONF" --${opt#--}
920 - done
921 - fi
922 -
923 - echo
924 - echo "=========================================================="
925 - echo "Building ${PF} with the following configuration"
926 - grep ^ac_add_options "${MOZCONFIG}" | while read ac opt hash reason; do
927 - [[ -z ${hash} || ${hash} == \# ]] \
928 - || die "error reading mozconfig: ${ac} ${opt} ${hash} ${reason}"
929 - printf " %-30s %s\n" "${opt}" "${reason:-mozilla.org default}"
930 - done
931 - echo "=========================================================="
932 - echo
933 -
934 - ./mach configure || die
935 -}
936 -
937 -src_compile() {
938 - local virtx_cmd=
939 -
940 - if use pgo ; then
941 - virtx_cmd=virtx
942 -
943 - # Reset and cleanup environment variables used by GNOME/XDG
944 - gnome2_environment_reset
945 -
946 - addpredict /root
947 - fi
948 -
949 - local -x GDK_BACKEND=x11
950 -
951 - ${virtx_cmd} ./mach build --verbose \
952 - || die
953 -}
954 -
955 -src_install() {
956 - # xpcshell is getting called during install
957 - pax-mark m \
958 - "${BUILD_DIR}"/dist/bin/xpcshell \
959 - "${BUILD_DIR}"/dist/bin/${PN} \
960 - "${BUILD_DIR}"/dist/bin/plugin-container
961 -
962 - DESTDIR="${D}" ./mach install || die
963 -
964 - # Upstream cannot ship symlink but we can (bmo#658850)
965 - rm "${ED}${MOZILLA_FIVE_HOME}/${PN}-bin" || die
966 - dosym ${PN} ${MOZILLA_FIVE_HOME}/${PN}-bin
967 -
968 - # Don't install llvm-symbolizer from sys-devel/llvm package
969 - if [[ -f "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" ]] ; then
970 - rm -v "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" || die
971 - fi
972 -
973 - # Install policy (currently only used to disable application updates)
974 - insinto "${MOZILLA_FIVE_HOME}/distribution"
975 - newins "${FILESDIR}"/distribution.ini distribution.ini
976 - newins "${FILESDIR}"/disable-auto-update.policy.json policies.json
977 -
978 - # Install system-wide preferences
979 - local PREFS_DIR="${MOZILLA_FIVE_HOME}/defaults/pref"
980 - insinto "${PREFS_DIR}"
981 - newins "${FILESDIR}"/gentoo-default-prefs.js gentoo-prefs.js
982 -
983 - local GENTOO_PREFS="${ED}${PREFS_DIR}/gentoo-prefs.js"
984 -
985 - # Set dictionary path to use system hunspell
986 - cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set spellchecker.dictionary_path pref"
987 - pref("spellchecker.dictionary_path", "${EPREFIX}/usr/share/myspell");
988 - EOF
989 -
990 - # Force hwaccel prefs if USE=hwaccel is enabled
991 - if use hwaccel ; then
992 - cat "${FILESDIR}"/gentoo-hwaccel-prefs.js \
993 - >>"${GENTOO_PREFS}" \
994 - || die "failed to add prefs to force hardware-accelerated rendering to all-gentoo.js"
995 - fi
996 -
997 - # Force the graphite pref if USE=system-harfbuzz is enabled, since the pref cannot disable it
998 - if use system-harfbuzz ; then
999 - cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set gfx.font_rendering.graphite.enabled pref"
1000 - sticky_pref("gfx.font_rendering.graphite.enabled", true);
1001 - EOF
1002 - fi
1003 -
1004 - # Install language packs
1005 - local langpacks=( $(find "${WORKDIR}/language_packs" -type f -name '*.xpi') )
1006 - if [[ -n "${langpacks}" ]] ; then
1007 - moz_install_xpi "${MOZILLA_FIVE_HOME}/distribution/extensions" "${langpacks[@]}"
1008 - fi
1009 -
1010 - # Install icons
1011 - local icon_srcdir="${S}/comm/mail/branding/thunderbird"
1012 - local icon_symbolic_file="${icon_srcdir}/TB-symbolic.svg"
1013 -
1014 - insinto /usr/share/icons/hicolor/symbolic/apps
1015 - newins "${icon_symbolic_file}" ${PN}-symbolic.svg
1016 -
1017 - local icon size
1018 - for icon in "${icon_srcdir}"/default*.png ; do
1019 - size=${icon%.png}
1020 - size=${size##*/default}
1021 -
1022 - if [[ ${size} -eq 48 ]] ; then
1023 - newicon "${icon}" ${PN}.png
1024 - fi
1025 -
1026 - newicon -s ${size} "${icon}" ${PN}.png
1027 - done
1028 -
1029 - # Install menus
1030 - local wrapper_wayland="${PN}-wayland.sh"
1031 - local wrapper_x11="${PN}-x11.sh"
1032 - local desktop_file="${FILESDIR}/icon/${PN}-r2.desktop"
1033 - local display_protocols="auto X11"
1034 - local icon="${PN}"
1035 - local name="Mozilla ${MOZ_PN^}"
1036 - local use_wayland="false"
1037 -
1038 - if use wayland ; then
1039 - display_protocols+=" Wayland"
1040 - use_wayland="true"
1041 - fi
1042 -
1043 - local app_name desktop_filename display_protocol exec_command
1044 - for display_protocol in ${display_protocols} ; do
1045 - app_name="${name} on ${display_protocol}"
1046 - desktop_filename="${PN}-${display_protocol,,}.desktop"
1047 -
1048 - case ${display_protocol} in
1049 - Wayland)
1050 - exec_command="${PN}-wayland --name ${PN}-wayland"
1051 - newbin "${FILESDIR}/${wrapper_wayland}" ${PN}-wayland
1052 - ;;
1053 - X11)
1054 - if ! use wayland ; then
1055 - # Exit loop here because there's no choice so
1056 - # we don't need wrapper/.desktop file for X11.
1057 - continue
1058 - fi
1059 -
1060 - exec_command="${PN}-x11 --name ${PN}-x11"
1061 - newbin "${FILESDIR}/${wrapper_x11}" ${PN}-x11
1062 - ;;
1063 - *)
1064 - app_name="${name}"
1065 - desktop_filename="${PN}.desktop"
1066 - exec_command="${PN}"
1067 - ;;
1068 - esac
1069 -
1070 - cp "${desktop_file}" "${WORKDIR}/${PN}.desktop-template" || die
1071 -
1072 - sed -i \
1073 - -e "s:@NAME@:${app_name}:" \
1074 - -e "s:@EXEC@:${exec_command}:" \
1075 - -e "s:@ICON@:${icon}:" \
1076 - "${WORKDIR}/${PN}.desktop-template" \
1077 - || die
1078 -
1079 - newmenu "${WORKDIR}/${PN}.desktop-template" "${desktop_filename}"
1080 -
1081 - rm "${WORKDIR}/${PN}.desktop-template" || die
1082 - done
1083 -
1084 - # Install generic wrapper script
1085 - [[ -f "${ED}/usr/bin/${PN}" ]] && rm "${ED}/usr/bin/${PN}"
1086 - newbin "${FILESDIR}/${PN}.sh" ${PN}
1087 -
1088 - # Update wrapper
1089 - local wrapper
1090 - for wrapper in \
1091 - "${ED}/usr/bin/${PN}" \
1092 - "${ED}/usr/bin/${PN}-x11" \
1093 - "${ED}/usr/bin/${PN}-wayland" \
1094 - ; do
1095 - [[ ! -f "${wrapper}" ]] && continue
1096 -
1097 - sed -i \
1098 - -e "s:@PREFIX@:${EPREFIX}/usr:" \
1099 - -e "s:@MOZ_FIVE_HOME@:${MOZILLA_FIVE_HOME}:" \
1100 - -e "s:@APULSELIB_DIR@:${apulselib}:" \
1101 - -e "s:@DEFAULT_WAYLAND@:${use_wayland}:" \
1102 - "${wrapper}" \
1103 - || die
1104 - done
1105 -}
1106 -
1107 -pkg_preinst() {
1108 - xdg_pkg_preinst
1109 -
1110 - # If the apulse libs are available in MOZILLA_FIVE_HOME then apulse
1111 - # does not need to be forced into the LD_LIBRARY_PATH
1112 - if use pulseaudio && has_version ">=media-sound/apulse-0.1.12-r4" ; then
1113 - einfo "APULSE found; Generating library symlinks for sound support ..."
1114 - local lib
1115 - pushd "${ED}${MOZILLA_FIVE_HOME}" &>/dev/null || die
1116 - for lib in ../apulse/libpulse{.so{,.0},-simple.so{,.0}} ; do
1117 - # A quickpkg rolled by hand will grab symlinks as part of the package,
1118 - # so we need to avoid creating them if they already exist.
1119 - if [[ ! -L ${lib##*/} ]] ; then
1120 - ln -s "${lib}" ${lib##*/} || die
1121 - fi
1122 - done
1123 - popd &>/dev/null || die
1124 - fi
1125 -}
1126 -
1127 -pkg_postinst() {
1128 - xdg_pkg_postinst
1129 -
1130 - if use pulseaudio && has_version ">=media-sound/apulse-0.1.12-r4" ; then
1131 - elog "Apulse was detected at merge time on this system and so it will always be"
1132 - elog "used for sound. If you wish to use pulseaudio instead please unmerge"
1133 - elog "media-sound/apulse."
1134 - elog
1135 - fi
1136 -
1137 - local show_doh_information
1138 -
1139 - if [[ -z "${REPLACING_VERSIONS}" ]] ; then
1140 - # New install; Tell user that DoH is disabled by default
1141 - show_doh_information=yes
1142 - fi
1143 -
1144 - if [[ -n "${show_doh_information}" ]] ; then
1145 - elog
1146 - elog "Note regarding Trusted Recursive Resolver aka DNS-over-HTTPS (DoH):"
1147 - elog "Due to privacy concerns (encrypting DNS might be a good thing, sending all"
1148 - elog "DNS traffic to Cloudflare by default is not a good idea and applications"
1149 - elog "should respect OS configured settings), \"network.trr.mode\" was set to 5"
1150 - elog "(\"Off by choice\") by default."
1151 - elog "You can enable DNS-over-HTTPS in ${PN^}'s preferences."
1152 - fi
1153 -}