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: Fri, 09 Sep 2022 08:37:50
Message-Id: 1662712664.5fef8a86ea4708deaabc00837133bc94c069d73c.juippis@gentoo
1 commit: 5fef8a86ea4708deaabc00837133bc94c069d73c
2 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 9 08:35:32 2022 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 9 08:37:44 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fef8a86
7
8 mail-client/thunderbird: drop 102.2.1
9
10 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
11
12 mail-client/thunderbird/Manifest | 65 --
13 mail-client/thunderbird/thunderbird-102.2.1.ebuild | 1169 --------------------
14 2 files changed, 1234 deletions(-)
15
16 diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest
17 index 273dd738ed8d..d6590bfd03aa 100644
18 --- a/mail-client/thunderbird/Manifest
19 +++ b/mail-client/thunderbird/Manifest
20 @@ -1,70 +1,5 @@
21 DIST firefox-102esr-patches-02j.tar.xz 19688 BLAKE2B f26b8dd2613712ab49db34247c432769386ac066238b86c0eea367cebbd167334f822866129d0874efc35da4da686e6185881649b0b3095dede28ec8c658a3b2 SHA512 456cd2b7d9f907080afb5225d353154117624fa938f24dcfae7ada03f5b39572e5d6d6e1a4bba7825465b48f6d38b04e5c0f69556c82d4ebbe1463e11dc809d7
22 DIST firefox-91esr-patches-10j.tar.xz 18320 BLAKE2B ec882411eed19bafab8676e3d79f4ae43947bb97c44571c1497bb93a44fcfec99de06ebacbdf8c4944dcecdf949e4f684908d7ce4226cdcec60241e62e75810e SHA512 670a14d852bb74b9074c3fef9310650f71ce1c56314109c49aea02a7a69acc836af60a8beab11da53e21b10a8e6da341fcfa18b68a1dfd33b26978dd63758e9c
23 -DIST thunderbird-102.2.1-af.xpi 550105 BLAKE2B e9bc1b0daed89d6ba0c0098a07efa028a348a83cc770aecf90583600963a9131d4131fca95ec0b20bec3bc92b15eb4c1dcbbb3339b5c64dae86472b44f911b2e SHA512 3d01ed1ed68515d8c3e4dd74f98dfd624be3dc1c825bbdc21ba387f84741960d5cb35f3e26b05bf44c4682ab02f52570ae235bb4173f41832a1734a87abf8bf2
24 -DIST thunderbird-102.2.1-ar.xpi 653972 BLAKE2B 7778728e756c61af75a32f1737f39ef56c462045d83c4c5f90e312be429325bc0f0256514e7a55e8c3afbf1609716708952ed12fa7f1120de4d76b281721728e SHA512 3dcf18dd2c3233d0698f47211cb6ab02e86a4104cf7885e048dba9e18dd9353f95477d657def270c8b54eb1f9a47c550254c1011b8eb260add12a94bcf763ab2
25 -DIST thunderbird-102.2.1-ast.xpi 570833 BLAKE2B 811d65e39bf4739a8b69c33ec2010768264f8094ca20fcc31d4b96ba319eef8a41261dd164db79e5558dbd14d8aabea0b0f5e762db3256c828b79840cb3339f6 SHA512 a256e8a63e2551dabd278b7e1d863716efa35836031af0b8beec22e4e0c8cfdc9606ffc436617f4e7d2c252742937c6df5321b6482a44e40578e1bec27b48e28
26 -DIST thunderbird-102.2.1-be.xpi 685076 BLAKE2B d5b71f3e531d01c46b9c11f43ad6673b372be9de5c700fe9f4ed93b7509bd9bbed67eadd49b1d129506bff28d9477ab0e867589a9b16c7193e5e116492e99847 SHA512 93c0e3696630db05b4621be539c2ee58282e47e22341a6d61b24e3014db02f55b0c140b2d4d527ea4ce789bd18f2a2ac9db55ebd9013e47872effc56334202ac
27 -DIST thunderbird-102.2.1-bg.xpi 681980 BLAKE2B c41bafad4c0e0e56ae4c4929a3f949dfac870db0359b19371d43046d54cb0bc9b5601fe89f05567a145da225d249c0e50e1fd91d09113a69fd93d1a657206fa9 SHA512 ca75408cb7a6fc15f757868fe518a9aff50a4a2f015ccc743e4e335b048385164071600dfa4b6f171022dad2a3b7c3528e8a5764b1f3e2474fad3d4bf2c04f31
28 -DIST thunderbird-102.2.1-br.xpi 612641 BLAKE2B 5ad584a0244f6a5349e51dfd9b7b53148c8e7d58b61eaaa5e45f53ab00549cf3fc1c6c32f05efd999afa61b542ec575eed5c5b436b8595072b8013dad397dc78 SHA512 aaf8ee6514a8b5d05fc62d5d1237328802def64dbb338559b37eaa8dd7a312a7c130020a9b29008f2b06cfd0f08099895cccf28ef663b9a21b297dd93d585664
29 -DIST thunderbird-102.2.1-ca.xpi 635815 BLAKE2B 76556396519512017cb896b191895e001f3421bf4ed5c753014a8fd5ef22fce0575ca8e91c79d55d51b5bfbc594e05f77dbad2d545938bbcba3cfad86e92553d SHA512 5a70b04712260deb62e007532b93fe4c864fa582756e0c97be02cc708e4acf56953b29cf3002ebd07713a56451ab5e0e447c27bd47cd5ce3e27a48ccb621811d
30 -DIST thunderbird-102.2.1-cak.xpi 642306 BLAKE2B 411799a35ad29924702cf288501cdf236480ff7b897dee6e474275afe5c5585278eea54185344422ed1af9ead466f033c5c8d0357c6b6cd8f85bf80992e92e40 SHA512 0e44bf866f29dfdae03f0c9ec15dd6d61febeb122440cf6081fc04fcc098e4de169ba2dd4ea678c212fd97b94c5398dbaa77b09c1770b2b1d76f05319ae403e0
31 -DIST thunderbird-102.2.1-cs.xpi 706772 BLAKE2B 0b26a59f7b459837b145d1b92a4e9465a434c5d1cb6ab397db83a9ec98bf089bfc43e8a2b5c504a2cba859de981fb65917b47708f4bb99b8e07e95bbbcea107e SHA512 6959e16e49608ea988cdecb798886a0ee1b5f378f69c8de4033b516735499fff75133f6caf5a3ad455e4c7ca84a02045163cd604ecb449cb00935ce54b4bcf3e
32 -DIST thunderbird-102.2.1-cy.xpi 682669 BLAKE2B 23d17b7ccf0b8ba40396af52debb2b027edd4e633bc9e3b86cd77386919fa39f307bd14e8c3ab05cc0a45d1c8ae7eabd5aa39c98db7e62f0aa1bc9ff57ea8839 SHA512 eecac4e0bcc97182d79813588b42d74621f0af59631e872323f945257db65776f783d7c0f5ebaa56a65543ca89a98e022cfc0b3ce312bcef78933746fcf405c1
33 -DIST thunderbird-102.2.1-da.xpi 668472 BLAKE2B 827dabf445edaf997cfced4c8f012a310d3ad83972c1dce903470302cf247490980281cda541ea816a10533d35a7e3ec5b43ea2a988b8082891ea1d1d63469a2 SHA512 77fdf0a28e2d74d8b502273381ec5d34615d8e1784e960fd5d4c381b1702d2a3be43e7627e955ff6e53d2aea247496a5058d70f1444dbe6eda1f7afbdcad4077
34 -DIST thunderbird-102.2.1-de.xpi 702890 BLAKE2B a50a707074189a75f875f1dbe3ac255ceb2dfe45cbb09001afc86cf44ec9c97170639b3e3423c93a955beb7d7dd03822bee0ca4d4e1d97d5cdca635f3ae4e939 SHA512 7f7a26c216964fa6194ac513bd7e0b698e5b1497591458ec2f8b7dda110957b23533aa2ba7dee0d4dd576bb661764e448f53a3ff704250844c8ee44d7a3d1199
35 -DIST thunderbird-102.2.1-dsb.xpi 716113 BLAKE2B fef710ded898276afff2ed5aafc2b5c17e48592b5eb111354bb1a3d443db38bbb9982cf4e851f923cb81b7e4fba61646861bf153378efcb2dd3baffc32df296a SHA512 c708c1e26aef41dd563571fe7b1aad2fdad3e0317e2bcc0271260de46f364fa338c4215055ace0a54519dd0a91eec8292e9164f13e58c682160bbda23e15c7ee
36 -DIST thunderbird-102.2.1-el.xpi 812220 BLAKE2B 95516daade088ee344efb096f40eda726740d2c9a5f86ca7ee162d4355a082e93eefd31a61f1b232990c89a4f2a33a2783d1095d08ea2c0f7b30ff93f5dd4009 SHA512 9a511c96fb789fca8c5380878ed62442551643e74f31a32f692c3216ac73aec705c5e62b69a813985090ba36ed9c04a862263b75965a6e85a2dfe11c26d23774
37 -DIST thunderbird-102.2.1-en-CA.xpi 642442 BLAKE2B d1f9755cb9717d2f050b0a9f9ab90f4e7beb3f16347c1c2031bd13148d15febc97bd0d147e08ce4328641ef7563775f2ae3925a7d531ed61fe252ae14f539cbf SHA512 1a6f4ef6dd0e4f9993293e6a0153745774eca0428ec2a8ab8f0665f6ebee9a78aea14bbfbc55cb4b87bf73eae6904ebed19fece50c62e86f788a4fc53d5d5840
38 -DIST thunderbird-102.2.1-en-GB.xpi 643348 BLAKE2B 3e573d3165c5c26fa58fe57a6e8b856ba19254f57439fbc35b439d765555bd03eb576244834970c86aa0c60e966b33444b568064e0b995970aebf49d2c2a0775 SHA512 9a6578616ce8976ab97af832890e488d3c9aaf357b4ffe53135824aff6f09268ee764d770876f5aa434b3a506b24f565bb8734c3a0aa9cdaf60065c29411d314
39 -DIST thunderbird-102.2.1-es-AR.xpi 692820 BLAKE2B a5fb6f2d770994a2559779ee1496ec3ac7ab7cee6ef82bdaf97f77ee31a10db69efdcb34f771788427576f048a36b96974271eb6a3ce23de79c2c1f8077bd0eb SHA512 4512c3d2a269d5aa5827fea8d4967738dcecf459766db3a0aa06761a219aea0681e73c5d2133d51978dec06c60e82518c089c1e75ed89823d71fffc68eaa73cf
40 -DIST thunderbird-102.2.1-es-ES.xpi 648799 BLAKE2B 2e86cabdd6f69493d9751935c70e06194519ce0e726d6679e4ebf95223835e9e08a66e0b0059d1ff0058ba6d8fda51ac620cf1ac9b7544bda1b0857a17cfeb08 SHA512 14b6c312273b53381063672f6134ef47865a08583c29f11c1e8b1be8701996855e5509d89cba9d8270b6c386e2dc15c5460eac68a78f24e4c1c85c1d6ce649df
41 -DIST thunderbird-102.2.1-es-MX.xpi 695514 BLAKE2B 6b29d56e0621b48390e6913a7083345103cad19e92e21a03dc8266b13b6a12999b4091eb6fdb1bddb43330978952e420ea36cc7ce2f7c4e2a070dbc919833f6b SHA512 6c95f8369237f2629ece753746f1061ec37d6262d3f5c7472858aed6f9e6d291cb3dc79afa51ca3fc0fe413fe052853f1747991fb829d472a9bc1bf7ff3f28ef
42 -DIST thunderbird-102.2.1-et.xpi 666174 BLAKE2B 1418a9d70a7a0855e0c67ddbd4eb3fa30364e57b80f680c6fbdfa252ff5fdac319c9916fe1b239b92e130c94f65c1891821ed49a4e1d6e8d17fb48a978beb71f SHA512 fdcb218f572443ffaa8887e1f28041a12b9b24b520bbeb6c1c2928481caba9ed9618fe89b53d05adf5cf9f6d0baee8837e12530773d3202fdc06bfe91abd1a42
43 -DIST thunderbird-102.2.1-eu.xpi 677898 BLAKE2B 3da5de50f1db75ca336448127ec25165b30baedccba645913fa43406c39e9f31b9e93f1418149c6ebdc14f7d255e5e1cacb0b22be89881e513bc0cfebf95b0b1 SHA512 d98f8b2afb0a6973362a396dc6f637497ede8ce1d6ba986dfd4daf60e456e0fc1299049b0434ac8456e33ec46e856db12486581597f171ad040351e9afc8a881
44 -DIST thunderbird-102.2.1-fi.xpi 668660 BLAKE2B 5d0017ba20e9861513947dfd984c1119a12feea37b3ccb7270f13c43e019f8a408efcbe59cb7b5e15003c550bd332e69c7b72b282038c1bf2608968cf29b2118 SHA512 720335ba39fceb95cc176499bb214c9c25b8beb52e1a86c4f50fb21c892c58bf883e5d4683306c1975bb83b9de48a1a490c29d113ded8619301dced3cfad2318
45 -DIST thunderbird-102.2.1-fr.xpi 705312 BLAKE2B afa226e5d85c387c1acce6bb099bc4a00ad53dbf553541f7459f3605380a235d3fac3ab751559b4ba2afaa7ce6d8d78f43c8ca52429d3a1fbd847dceb51a3b4c SHA512 5254bad21421cb67de203459477325b3959d57e3a5809634dcf0bf6a9be8a15445f89ef566642eb4b1b22f14bf432b6104c0e0e9c962f8c54c740644d3f02a7f
46 -DIST thunderbird-102.2.1-fy-NL.xpi 687950 BLAKE2B 4fd79f230d25880272235f41428baa2957ae96d3c704cdd748ece9bd70165dc96fb63f13d28724a22d35174fd73991a9165b220f936c684cfc27426ab7173252 SHA512 0a2e78f8a4b19612db54efe636122cfadc9be15ac1e434ba6ae15f05f01db152c56b045c93b381ecf8145db23e8d3f519ee27f629759ef3ec5f41e7f01414ff8
47 -DIST thunderbird-102.2.1-ga-IE.xpi 606319 BLAKE2B 242131fa8bce326aae8f4e32862f3fe2484c701263b5ecd3639e7a043d28433d4aa0fbabcdbc9e425b04ecb8eb14201a1dea6ad3f6cab99b79d3ef1736e0f5ed SHA512 4227d74014d6b382762ae5fa21beddd1094ca2509b3ae309525db6b77b6429ded5dd013e405c7ae4732f6f151ee650a82b6c7c41666159cbc0ce1cfde804e28e
48 -DIST thunderbird-102.2.1-gd.xpi 630866 BLAKE2B 77af416f25e53fa8efcc84c98b696bc599f683093647172f3af634397ea931a248018cb6d89169e7db7f83d4e2a7fd6057357f9633569da54884b398c5d62085 SHA512 1a71a7291d4cb7187694acf606240d584bd4b7983126b34eef8427110acf6e554a02fb9a3463f509676ae39ccbba1a9912adefabd33ebb49fe8f7fc2ba8c7b59
49 -DIST thunderbird-102.2.1-gl.xpi 663759 BLAKE2B 88e39afe4154b42a27bf023a4c9afb5d915dd4674b8e7792d5e58e7d9ca28fdd404525a6f5d37f6ecb8fdfb0e2d5affa55eff14cbbec70dbaded1075c26f9793 SHA512 1b5401f297c3e16dd82ac846b673ab7f750c097d59a54e78ff30ba1d267127c191a7e9b51df5d7de726d17ae4a0338be37c11dc9ab0fb20552ce5869084e4b66
50 -DIST thunderbird-102.2.1-he.xpi 661738 BLAKE2B c9d28bff019e1c55adf9793c7b42d0b2686520b39816d593f58b4cb309261b170a7479c515e2017c02dbd8ecc000c6ddb67e88e796b616042facd122d8731541 SHA512 d450fbe618bbea069922360e885e2a2e70864e03b7bbf02dd3d5f43d5803b062b4367de9f36fa0e841e2f97f77d0185a37d5fc3b11f1f62380a6a12e88ef988b
51 -DIST thunderbird-102.2.1-hr.xpi 661213 BLAKE2B 823a23a8202dfc27405c473de86acdfff94fcc248e99d54f523f3a1b62db003530a25845a0db023f3ac3abc6c5f2f4b7f2dd4a02848e4793e9703a1789859de8 SHA512 670c6e54fe1094aa907dcd58898d253f22c010ea1fd8e3b72e815f4502143f1cbb2c52c02579fc23963769432c62d7f8a4428fa0180eeb694bb2335e9a9195c6
52 -DIST thunderbird-102.2.1-hsb.xpi 712946 BLAKE2B ec3b08ce32e3b3d3c2c285d2fca55ba1206ef0123f1899707906c35fd3be220692d24b234f04ad3a434e3d647d1221ffe57347cda31fcadcf8ff0d0245d578f8 SHA512 50f5a1ccab590ea618ace8c3264175a26b356fb683c4809455d722f9de319ea91bb96fce20ce215b751390dd1cae63cd5b3f30381b6543002b10a520dbac3297
53 -DIST thunderbird-102.2.1-hu.xpi 715823 BLAKE2B d0c19291dff98e33697210ef5b06b8b12241243acb152de018ed975c0ec67619e8f662174d660b582c31ecee78fb5fc563cb94790269303cf4890ad6e976f5de SHA512 6b2fad69d4247d8bf10ed955b68c8788c406eefef48467cffa66906fefc203d691c13286dab1a5e128a523624cc66691c6fff5d9da986f7cccd8a3890ef0a22c
54 -DIST thunderbird-102.2.1-id.xpi 639688 BLAKE2B 2fdfea50798344bfff2fb66c5b88d6e8908627799e0cc943ba0e6991800f5fb68ca1ad3e72a4ef3125ca2b25bd03dfd1c781f55a8ed1befe77bd62add1c1820b SHA512 88db7b33ef9cd19abca5f71ae693fa92949634422b27d76f4028e8a64dec2fd4904160a6edd20fa0da699ccf88a33a132068d203dbf0cb480ec67918a00d284b
55 -DIST thunderbird-102.2.1-is.xpi 679301 BLAKE2B e90303dae3486de9ef6b6b03bb1924b9f2fbc392fc5a0c96dcb17bd01bcdc5d5a3e69ac46795ce28494152f6fd0e86a16a90a4f94dacf8dfd9858e874f532353 SHA512 87f493aed4fe67485a5242bef82a4152f7261578db07ac1aa1425ec3e06d041f9c9bbad4071676c4cd30d855fcfc33f9a6bd3c9ed5a5267dd0c7c6ada8647005
56 -DIST thunderbird-102.2.1-it.xpi 597643 BLAKE2B 4a714d65eb00dc269444a2a15ced0fb6d71ca4469c2a5c1be35886cee37687f8ab2fde643443b5d4872a096b0985eae709e2b993f6d641358c75e756b8233c92 SHA512 26871667226ad4506f42880ad4a9bf2114e530162475c70edaa372a65968875d00587e904574b8785578e0e0c9c053c8bc2f44d869c61dd3fb6caa6070aa5a51
57 -DIST thunderbird-102.2.1-ja.xpi 734595 BLAKE2B 641dd8dabb969f332a384e1c52f3ed68f4178f223288555022c8a30df020ffe4015f4515d0e35940de2f52e7715485b023997fa745909495e8cbffafe11a8966 SHA512 4a9fed720296759a853867c762b8bd28b3d0ecf5284a743af71186c2ff47652c8ef986028397b2b1c64c0a32f969d89cc33ac16a547294ddc7eccb7b2e1e25ef
58 -DIST thunderbird-102.2.1-ka.xpi 749215 BLAKE2B 4f0a78a61edf38a26f14d723f0db06a172f067fc375a71ffd264e2106033b27a6399f44707b3778305b2e2aed32ec091aa937745dbed97c53e372890ce73f44c SHA512 99b4849bea2efe7a50056d17b3043e505cd7488085ea8f13133e63e5de1cb169b51a14bc908dcce3a1a55a4cdd2e7e889a46b5ed07fbe4465474a336f7616c84
59 -DIST thunderbird-102.2.1-kab.xpi 688250 BLAKE2B 84d364501980689deb0bd069d8334a8149b589a474308e55018f55e728731a462803e90387ac753dde7ded0f50b41ec1eb96ca104e3d46729be4ce439cca2d20 SHA512 cddd2ad7a4c94361ee2cf37437591613f883515b73617bc79ef26c4d81fec47b5f879117406e78ca194c3285380f7dae1a3f006feeea9b1ae60be36200013b54
60 -DIST thunderbird-102.2.1-kk.xpi 730864 BLAKE2B 220d5df99aad395b70457f275fea01ee3e5b864072c54c9a36e2f86c151c4a3dd6d27fccc2c271d4c429ea7f0123689a803f0b522807d827da37306e1f503ba9 SHA512 6cf042fbb654e178cb8906df98ae11d33e466b0194774ecf272f45430e1142e62cc41fb079e057b42635c7ae53dd46531a08c05bd10ddde85152d751ccf139bd
61 -DIST thunderbird-102.2.1-ko.xpi 693030 BLAKE2B c905bae92bf8494612f57f8f4aa9cd73a71a66e6c9ecd790e15e8e73f646818cc5c973da8e0409b0145735a3ed8e1b6aec079dd80a7a3d5869731571a4f29bab SHA512 2ea50b6ece8d75203f009d050185867257575ac50fdccbac22bdeeeb87f0d1ec7b2150b7235c0c987a026e70a47aafcf63ced190ce98f765d43af7380be72bd8
62 -DIST thunderbird-102.2.1-lt.xpi 681567 BLAKE2B eaa9bf3d881dad8acef7fb50615f84acdf88795cdf5d6d053ac82269cf425c75e2b22f375dff8781e8b0bbb8298af0ae5ae6a78d3e7e2651345381c938689af7 SHA512 1ff9e5ca556a2c768751b7720444da077e5d5be920ead102d725335793cd40a67dab3cb40b49243345614ea02958de667e3fa1d30b91c9771803508eaaf6a8ad
63 -DIST thunderbird-102.2.1-lv.xpi 609152 BLAKE2B 6f4967d1f6c8c37c0d2954d2b1f79882c7516903fc4515341b7a4b97f4e6c18fbf45c6164ea17c450668ca28f3ce21a5112926d45c525472c905fb4d12f7a1da SHA512 d9cdc204f3b21a16096cf6748d17cdcd3823ca159760db3f8a1f96d2779eff4bfcc77ad379662977ed01042d2d704f1623730238cc513a24ae382b45e75f6dfd
64 -DIST thunderbird-102.2.1-ms.xpi 569973 BLAKE2B 769f35a8b585f7cdd8a16d037af4e99a4a459a5e65eb8c3fb343be41f32bf6326842722f96ac57c7ca863b9bcb2935fb0c18863bd58b2f9b0c75847d0565d706 SHA512 038a4ba119bf17e6c05ebe8e10de3e2f8ee2f793fa6cb5e04ed6460c4323199ded2bacfdb053c408c8d701e64779308960613eafd70c15d1f41c3b1ae22db073
65 -DIST thunderbird-102.2.1-nb-NO.xpi 647802 BLAKE2B 7dfa2304b9cfe31b93a3c11ca173d4c1c9b25a78801abc26c1123e53c03afba32fd1f394d5c7447b1628beec1ed7e4e35ec02c545c289bf819ff776731bb4913 SHA512 25a0a8a8f5db211ab48adf25c1b0b787702d2cac373f30f562f46103e1ac32dd2af2186ab95e42d5fcfcc9217e4f26e855be7aa32f7b31ec508ccd609c27057c
66 -DIST thunderbird-102.2.1-nl.xpi 679619 BLAKE2B dc6a48b8d27d4768d9d83afd979da28b02dfb7dadbc17d0a80dfcf666cf56ad511492935ff49b260d0dfd23778f33bb15c13d7195682cd43ba9d88e7e12d40ec SHA512 bcc6b146ff1b6bfd14bf4e25c0d96e2b8a607c61b95c63e933a0b12915582705399cbe2ed4c698fc98c28e5728914c7c6e830ef9955ceeb472374c6c26475597
67 -DIST thunderbird-102.2.1-nn-NO.xpi 655077 BLAKE2B 5a3d94963aaa58f278a55430767f490cf8bcb3997c4fc9b743de36839d567b59bc56b5a3a1c518ef38f360b97f73e99a8863e8e173637f710c5568aebcda167a SHA512 74ee35dbf115fb88f0f66d86f1eae8ae7830a4d1921a58653b387c7f59a57fd257726a9d499e00f032387eb3b0b24a4ea7e767e3fe6e5e37eb93a1671105bd4c
68 -DIST thunderbird-102.2.1-pa-IN.xpi 644807 BLAKE2B d8e44ba3e404d29044f33484ab6316f05e8cd9c30caca79753323e116e9b0b4a4d2d29b0f0f3220c653a8bd22f61a8215088f57c1a3a54c2ad0fa1b627493999 SHA512 263fded44773747a11772c3be8f218f8d774ca2e5b53c7e3abe7abfa0d7a1b90892893a40547790ed5f83970895ef6f3fed6c622a8c2d7038059674218d365ae
69 -DIST thunderbird-102.2.1-pl.xpi 691781 BLAKE2B f76b2ae62824f2963e779e846b57d5a3c2b22f9ac3ea338092bcb6f15ca6e5df2e6876c1616754d9d063027bec876373d6a2b7b733a3bf6dea0f44730cec1ea0 SHA512 4832bd0b2f68ce6b192b8dccb1735e7341f67df731f97834c04bcabce48a85eefc5a9b90af26acde93f0db638cce8c04e60364c56da9d913a7340f29f1adedf3
70 -DIST thunderbird-102.2.1-pt-BR.xpi 687262 BLAKE2B a0e5801d64c0efc4c8709bf06f69fde1a65e23b3f4625f88aad0aadb9920fab8e2de79c7d6967ec37d6c3c4bbf9d4e0dc4acfe89f7c29c1994b6e862c67ecdb0 SHA512 a62c865a59fdd60498cb223b8d1852e4ab20c7432ca5128d145bb2fabac83178d2e0a6e82ac3bee93435cce15c4919191291e53f4dfa0d8a19ac6732ab2a8fb9
71 -DIST thunderbird-102.2.1-pt-PT.xpi 665589 BLAKE2B 5a7a471071096c0a47929224be82d8ce8bd5af0b6aba60f91bc51cd49a25c0c453de03513d0a69fcc40100165396b8859d02ea8ad0c5dd0bd573426c014fc21e SHA512 566f2f932648e9288b9bcfb75a4d9799dfed94e18cc17c0992a8c587083d1cfbd9aa9398ca4e26f4b9a73b63f6790b8352a2c304d00958bee9cb9ac7ecbe8525
72 -DIST thunderbird-102.2.1-rm.xpi 680752 BLAKE2B 297a20b1611a737463e097860dddeb2c66b49b810c7a3dec8801a6174735935cef9fc4d24121ee7b231648b352fbd9128105a07b3afafd28c1c482b178bb05f5 SHA512 745b8f1aa2946c15aaf331dd207dbd3be5acc725feba47c5135475475db6da2ba58259b4043ce451a9c5b54b1e21bde2482005e33792248d5dee4d068bd3b7a9
73 -DIST thunderbird-102.2.1-ro.xpi 651252 BLAKE2B 20fdca39e7d2decd88f94ab374f74f3332abcdef0fbb0518d8b4107e58ce1f40fe5f139c77e2510252f315832ccf3cf0087e7adaedaa5b03614b483d4c196be5 SHA512 0e9ceac3d12d3a81becaa6fa41aec97691e8e2179417c48c3ee4ae8e8eac45827d2bdd3d1475731d0bda3aa3009d4640b9336499bd894d98c740b504871b5819
74 -DIST thunderbird-102.2.1-ru.xpi 797369 BLAKE2B 89acad260dad71d846d05da21004745992543072edbd36e0e50105e0bf6812b48724c411c88e281d339572f75f1bc7c3eee462e917bef8ac9e65360a6803c60c SHA512 62ca30f53c1682869c45793e0f4a403d26b956219f260072b6fc6eeac9c4118b988e616bfd5d5c1d3cac22ddb71f8b7db24ba7ef6fed6465871684ec32240513
75 -DIST thunderbird-102.2.1-sk.xpi 715673 BLAKE2B 7db6d3163584b8ef8cf97f073480e06b8a78972924451b583ad66fab7398b74e89443d04e1a7ee80ee75530371c54a6567ee35269ba84ced02d676a1300d8156 SHA512 2357be4eec0c7892ab6479dff2b2856643b22449650a6f3c84be0f0693060a4954479d4c723d98c18adee13fa7a2a9be32eacc5bebb20e13bcb39a812f601846
76 -DIST thunderbird-102.2.1-sl.xpi 679736 BLAKE2B 83cab4e69c99c24e1653bae9215ca4b9f3fdf4f47008025054a414a1b3b46781668cb5a52f66e6b57bc6f27e1c91e408a57debbc114f4db32e7c53101883dba6 SHA512 16638e4df392909340d6f1ea1a284035df1112cfd27dd927ee04f321fa6ffdb0f1a93f47462c1242c9b3c1caa96095a094ae8d0e36a740b704e5bc33617f34f8
77 -DIST thunderbird-102.2.1-sq.xpi 690437 BLAKE2B 7b501a37555438d6091bef95d92dbca500d232f00754b1bea3b27f004480496aad885ebd34082f97b951fb21675dc93d32c146ff2d7c75c5a2a2db1bf90d7a07 SHA512 ea416bcb450de42e033c728f1c620a6b250c037e757fd27add62f6c53f7a67e42522e19d0a889ea04c64ca51d2551d1e9e2f7a6ab3118fa23c8298fd2ff620ad
78 -DIST thunderbird-102.2.1-sr.xpi 699187 BLAKE2B 2ba6b3882afabf9806c958fc801908890b70b56677db943ff8069201b3ca9b53a97977f3d967ffe9dab2a4026fbc0f9fa8eb759dc1c6ed48991093f01876d423 SHA512 76bbc071efc26c65630f00d8f0b1964489a33c4da22ed3a32c6cb4c2a8fa54090522cfccedb9bbb9e95e61806f4d62bb67dc617f2f934236dc3d81b36b747b85
79 -DIST thunderbird-102.2.1-sv-SE.xpi 683269 BLAKE2B fecc1619b2b408c1b8f56c9ca9d1744a8e59bed5faa850f68d1c7d2efc333777bd7e42f43081bebbc280bc8266eb584e96cd5c12a119ff16172b1af9dbb9a11b SHA512 684610cc4598d09e3f9db631d0373eddf6a56a61c7adda1b2f658bfec7ce2668c101dc882dcf53a1780b153a5d79bf5f7e289d05ca08163f71bf0b8ce2006b5b
80 -DIST thunderbird-102.2.1-th.xpi 734935 BLAKE2B 373e2f7eb84ce78af057e0650603f1e0e675bee47b29807be715b10e468f1e08f9068c99f54fead1bdff214b10354804173d23e336429e0ee9ace77419ca9aea SHA512 a0de3b0c799e432fefc2c3b7962720b2e4bc759e88ab8f6a7cfdc748ca3f0b2bd4d130ad454db4bc23c60331ebae5dd881fd689bcffcbb7e302e739957b3e2de
81 -DIST thunderbird-102.2.1-tr.xpi 690951 BLAKE2B 1c017489e9b974c8573d4cf918b1337fcc4c69ac51fe80372e64a537ce150514f979714bd96b36ddf4edb74381c6f36fd22f1fe6ea163433b26dc0393a0e434f SHA512 2436f9e8d5617a8cd6e4c885020eeef2c86dec2d777fe9faab9413a11cda07ee1fe72235fa9937e2d911a38e73baedfc139309a57e2daaf2c7b10ed71d7b4009
82 -DIST thunderbird-102.2.1-uk.xpi 790045 BLAKE2B 08d71f78a7e3bd9b7e0c2d0f482b6fe3db3bde9e8749c832eaa3ef3f4507ce7ff75c52048949f398a57303788ff97bda033b825b6ad122193c83ea56002d39ab SHA512 d52ea74907380e1ad9b9ad8a9dc49b8687f59b445f74d7b649d6abf57794df5f83ca3201985a2dab9fc80478461540d1cc40e63e0fc2f4b43d1554dda90fc0d3
83 -DIST thunderbird-102.2.1-uz.xpi 586791 BLAKE2B 0f692b6937d38db766c5ab51a3223f979845f12fd53b040864b9ded4e5554c8f584ac4ecd20b00961c2197411766f351da0f90a6850e1912a466a24e5e1e10b5 SHA512 68a9d8d253c75da028a6e155d64fcef550b00cdb696602a824fbe53566c94d163b25ca6743721854b82d9d61336a27341528f1d0acdb8ea05db044006cb323c7
84 -DIST thunderbird-102.2.1-vi.xpi 721452 BLAKE2B d7a225305a51d837a019d6679d0f6c6bae08edcf18b0e44a448e1173ff17094702d381c3a844f05165c08b0b589b8666e95825480a1f16f5ce62f93a4c9575c2 SHA512 5cc7b7a3b314cde1337af6bb5ce73620a7880a790f96b2be1766439033c806f201dc0e97f74f7bfdd410ea9cf985faf5f1dee2d3a512e48d378faa673ec2b5f8
85 -DIST thunderbird-102.2.1-zh-CN.xpi 718569 BLAKE2B 83d586f5ac233d8fc7b58e90fe43d006a5342ac5ea916ff90e733465b93dcaac1102b22ba509cb13bbf20bdf85cb6a273252862baaf386de7d43c81412ed56c9 SHA512 0c9d1b26cd3f127aa2d308375088f623d1d84b2bef5b6ea949aa28690d0567089a793e1aadf6baf1595845c9836c4589bb3b096543121947eabf735a7a576ff5
86 -DIST thunderbird-102.2.1-zh-TW.xpi 723809 BLAKE2B ecf4e2a43b96ac2c4b1962522ee5d7dbbba04899dba8965ca19cc6227be7c22d1268889e7fc180155c52ca5eb8eca55adadae9d708b6a87427e003f7bdeb9ce0 SHA512 3be070c1acf7606b4fa124a4285454f0e3d5d2c4db4c1da22092bcbbeaa8e0f8a256a86568ef2582bd735fd4c44196dfd6fb7514aa27528afa2d309af043e554
87 -DIST thunderbird-102.2.1.source.tar.xz 501438680 BLAKE2B 4d37c3fba8fc4e09fbc53c5153de1fa18dda621428c38079be827f015f6afc1a6241e3cb4f5d65fcac2128f1dc4ea336c185aeca35e67f4a9acaf529808dba93 SHA512 7b69cfffb5de56690cbbd97f6b627733072dee498a15adfece990f9019df8df948762ce8eb2ca2d91ef12ff56262fb1905476d8a477aed70bc71cd2f9f986ea4
88 DIST thunderbird-102.2.2-af.xpi 551019 BLAKE2B 1d531ec1cc1d1ec8131a851611d07833b2085fee672b8ef2fbd3afd31dd2a529e021e3774e93c9a269a401348bc7bbc1ea3240aab64cf43c737f415f7c6a518c SHA512 859e1b5ef3f3a25eb1a18f16d9b29177bc16cf3b87cabed70f29412d836e05426e9997baba52c2b92238e15297a6e2a8b0ebb4ab00a0d8938e2c96cdeee34007
89 DIST thunderbird-102.2.2-ar.xpi 655343 BLAKE2B c4b58bd6ad024b1d4f59973507c321cfb6d9d5be63ae9dc606a68cd19ec3af36648f8c57b3562f43b6b015aa4d998e58916366863a3bea6e8f1331fc111e5ae2 SHA512 52962d371852ca8a2af452ba8d27b9f963d1cac4ba2c7675990cdc51c4f0666c8a5985c94a58d56e1cfede5d95409bdbea0d5d0e7ef20d400057ee610cd3ea1f
90 DIST thunderbird-102.2.2-ast.xpi 571773 BLAKE2B ef01cf049ea05985d98b273871039ae9bae917bef48a799993a75418e15b7fc412bc110ba4b77177d4d52c32cffd69206635c749b25d90bef8ecf8b652f70bec SHA512 f0baf717491cf326b732f9af819373ef1b8fdf286b20f10b28d0e50528f38d030ac30fd72b8805f2cb32214e2f9226e6fb1f5dac953bac85700dbf917d2ff6f1
91
92 diff --git a/mail-client/thunderbird/thunderbird-102.2.1.ebuild b/mail-client/thunderbird/thunderbird-102.2.1.ebuild
93 deleted file mode 100644
94 index 5b45a09b43e3..000000000000
95 --- a/mail-client/thunderbird/thunderbird-102.2.1.ebuild
96 +++ /dev/null
97 @@ -1,1169 +0,0 @@
98 -# Copyright 1999-2022 Gentoo Authors
99 -# Distributed under the terms of the GNU General Public License v2
100 -
101 -EAPI=8
102 -
103 -FIREFOX_PATCHSET="firefox-102esr-patches-02j.tar.xz"
104 -
105 -LLVM_MAX_SLOT=14
106 -
107 -PYTHON_COMPAT=( python3_{8..11} )
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 \
138 - llvm multiprocessing optfeature 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/~{juippis,whissi,slashbeast}/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.thunderbird.net/"
156 -
157 -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
158 -
159 -SLOT="0"
160 -LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
161 -
162 -IUSE="+clang cpu_flags_arm_neon dbus debug eme-free hardened hwaccel"
163 -IUSE+=" jack libproxy lto +openh264 pgo pulseaudio sndio selinux"
164 -IUSE+=" +system-av1 +system-harfbuzz +system-icu +system-jpeg +system-libevent +system-libvpx system-png system-python-libs +system-webp"
165 -IUSE+=" wayland wifi"
166 -
167 -# Thunderbird-only USE flags.
168 -IUSE+=" +system-librnp"
169 -
170 -REQUIRED_USE="debug? ( !system-av1 )
171 - pgo? ( lto )
172 - wifi? ( dbus )"
173 -
174 -# Thunderbird-only dependencies.
175 -TB_ONLY_DEPEND="!<x11-plugins/enigmail-2.2
176 - selinux? ( sec-policy/selinux-thunderbird )
177 - !system-librnp? ( dev-libs/jsoncpp )
178 - system-librnp? ( dev-util/librnp )"
179 -BDEPEND="${PYTHON_DEPS}
180 - app-arch/unzip
181 - app-arch/zip
182 - >=dev-util/cbindgen-0.24.3
183 - net-libs/nodejs
184 - virtual/pkgconfig
185 - virtual/rust
186 - || (
187 - (
188 - sys-devel/clang:14
189 - sys-devel/llvm:14
190 - clang? (
191 - =sys-devel/lld-14*
192 - pgo? ( =sys-libs/compiler-rt-sanitizers-14*[profile] )
193 - )
194 - )
195 - (
196 - sys-devel/clang:13
197 - sys-devel/llvm:13
198 - clang? (
199 - =sys-devel/lld-13*
200 - pgo? ( =sys-libs/compiler-rt-sanitizers-13*[profile] )
201 - )
202 - )
203 - )
204 - amd64? ( >=dev-lang/nasm-2.14 )
205 - x86? ( >=dev-lang/nasm-2.14 )"
206 -
207 -COMMON_DEPEND="${TB_ONLY_DEPEND}
208 - dev-libs/atk
209 - dev-libs/expat
210 - dev-libs/glib:2
211 - dev-libs/libffi:=
212 - >=dev-libs/nss-3.79
213 - >=dev-libs/nspr-4.34
214 - media-libs/alsa-lib
215 - media-libs/fontconfig
216 - media-libs/freetype
217 - media-libs/mesa
218 - media-video/ffmpeg
219 - sys-libs/zlib
220 - virtual/freedesktop-icon-theme
221 - virtual/opengl
222 - x11-libs/cairo[X]
223 - x11-libs/gdk-pixbuf
224 - x11-libs/gtk+:3[X]
225 - x11-libs/libX11
226 - x11-libs/libXcomposite
227 - x11-libs/libXdamage
228 - x11-libs/libXext
229 - x11-libs/libXfixes
230 - x11-libs/libXrandr
231 - x11-libs/libXtst
232 - x11-libs/libxcb:=
233 - x11-libs/libxkbcommon[X]
234 - x11-libs/pango
235 - x11-libs/pixman
236 - dbus? (
237 - dev-libs/dbus-glib
238 - sys-apps/dbus
239 - )
240 - jack? ( virtual/jack )
241 - libproxy? ( net-libs/libproxy )
242 - sndio? ( >=media-sound/sndio-1.8.0-r1 )
243 - system-av1? (
244 - >=media-libs/dav1d-1.0.0:=
245 - >=media-libs/libaom-1.0.0:=
246 - )
247 - system-harfbuzz? (
248 - >=media-gfx/graphite2-1.3.13
249 - >=media-libs/harfbuzz-2.8.1:0=
250 - )
251 - system-icu? ( >=dev-libs/icu-71.1:= )
252 - system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 )
253 - system-libevent? ( >=dev-libs/libevent-2.0:0=[threads] )
254 - system-libvpx? ( >=media-libs/libvpx-1.8.2:0=[postproc] )
255 - system-png? ( >=media-libs/libpng-1.6.35:0=[apng] )
256 - system-webp? ( >=media-libs/libwebp-1.1.0:0= )
257 - wayland? (
258 - x11-libs/gtk+:3[wayland]
259 - x11-libs/libdrm
260 - x11-libs/libxkbcommon[wayland]
261 - )
262 - wifi? (
263 - kernel_linux? (
264 - dev-libs/dbus-glib
265 - net-misc/networkmanager
266 - sys-apps/dbus
267 - )
268 - )"
269 -
270 -RDEPEND="${COMMON_DEPEND}
271 - jack? ( virtual/jack )
272 - openh264? ( media-libs/openh264:*[plugin] )
273 - pulseaudio? (
274 - || (
275 - media-sound/pulseaudio
276 - >=media-sound/apulse-0.1.12-r4
277 - )
278 - )"
279 -
280 -DEPEND="${COMMON_DEPEND}
281 - x11-libs/libICE
282 - x11-libs/libSM
283 - pulseaudio? (
284 - || (
285 - media-sound/pulseaudio
286 - >=media-sound/apulse-0.1.12-r4[sdk]
287 - )
288 - )"
289 -
290 -S="${WORKDIR}/${PN}-${PV%_*}"
291 -
292 -llvm_check_deps() {
293 - if ! has_version -b "sys-devel/clang:${LLVM_SLOT}" ; then
294 - einfo "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 - einfo "=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 - einfo "=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
317 - el en-CA en-GB en-US es-AR es-ES es-MX et eu
318 - fi fr fy-NL ga-IE gd gl he hr hsb hu
319 - id is it ja ka kab kk ko lt lv ms nb-NO nl nn-NO
320 - pa-IN pl pt-BR pt-PT rm ro ru
321 - sk sl sq sr sv-SE th tr uk uz vi zh-CN zh-TW
322 -)
323 -
324 -mozilla_set_globals() {
325 - # https://bugs.gentoo.org/587334
326 - local MOZ_TOO_REGIONALIZED_FOR_L10N=(
327 - fy-NL ga-IE gu-IN hi-IN hy-AM nb-NO ne-NP nn-NO pa-IN sv-SE
328 - )
329 -
330 - local lang xflag
331 - for lang in "${MOZ_LANGS[@]}" ; do
332 - # en and en_US are handled internally
333 - if [[ ${lang} == en ]] || [[ ${lang} == en-US ]] ; then
334 - continue
335 - fi
336 -
337 - # strip region subtag if $lang is in the list
338 - if has ${lang} "${MOZ_TOO_REGIONALIZED_FOR_L10N[@]}" ; then
339 - xflag=${lang%%-*}
340 - else
341 - xflag=${lang}
342 - fi
343 -
344 - SRC_URI+=" l10n_${xflag/[_@]/-}? ("
345 - SRC_URI+=" ${MOZ_SRC_BASE_URI}/linux-x86_64/xpi/${lang}.xpi -> ${MOZ_P_DISTFILES}-${lang}.xpi"
346 - SRC_URI+=" )"
347 - IUSE+=" l10n_${xflag/[_@]/-}"
348 - done
349 -}
350 -mozilla_set_globals
351 -
352 -moz_clear_vendor_checksums() {
353 - debug-print-function ${FUNCNAME} "$@"
354 -
355 - if [[ ${#} -ne 1 ]] ; then
356 - die "${FUNCNAME} requires exact one argument"
357 - fi
358 -
359 - einfo "Clearing cargo checksums for ${1} ..."
360 -
361 - sed -i \
362 - -e 's/\("files":{\)[^}]*/\1/' \
363 - "${S}"/third_party/rust/${1}/.cargo-checksum.json \
364 - || die
365 -}
366 -
367 -moz_install_xpi() {
368 - debug-print-function ${FUNCNAME} "$@"
369 -
370 - if [[ ${#} -lt 2 ]] ; then
371 - die "${FUNCNAME} requires at least two arguments"
372 - fi
373 -
374 - local DESTDIR=${1}
375 - shift
376 -
377 - insinto "${DESTDIR}"
378 -
379 - local emid xpi_file xpi_tmp_dir
380 - for xpi_file in "${@}" ; do
381 - emid=
382 - xpi_tmp_dir=$(mktemp -d --tmpdir="${T}")
383 -
384 - # Unpack XPI
385 - unzip -qq "${xpi_file}" -d "${xpi_tmp_dir}" || die
386 -
387 - # Determine extension ID
388 - if [[ -f "${xpi_tmp_dir}/install.rdf" ]] ; then
389 - emid=$(sed -n -e '/install-manifest/,$ { /em:id/!d; s/.*[\">]\([^\"<>]*\)[\"<].*/\1/; p; q }' "${xpi_tmp_dir}/install.rdf")
390 - [[ -z "${emid}" ]] && die "failed to determine extension id from install.rdf"
391 - elif [[ -f "${xpi_tmp_dir}/manifest.json" ]] ; then
392 - emid=$(sed -n -e 's/.*"id": "\([^"]*\)".*/\1/p' "${xpi_tmp_dir}/manifest.json")
393 - [[ -z "${emid}" ]] && die "failed to determine extension id from manifest.json"
394 - else
395 - die "failed to determine extension id"
396 - fi
397 -
398 - einfo "Installing ${emid}.xpi into ${ED}${DESTDIR} ..."
399 - newins "${xpi_file}" "${emid}.xpi"
400 - done
401 -}
402 -
403 -mozconfig_add_options_ac() {
404 - debug-print-function ${FUNCNAME} "$@"
405 -
406 - if [[ ${#} -lt 2 ]] ; then
407 - die "${FUNCNAME} requires at least two arguments"
408 - fi
409 -
410 - local reason=${1}
411 - shift
412 -
413 - local option
414 - for option in ${@} ; do
415 - echo "ac_add_options ${option} # ${reason}" >>${MOZCONFIG}
416 - done
417 -}
418 -
419 -mozconfig_add_options_mk() {
420 - debug-print-function ${FUNCNAME} "$@"
421 -
422 - if [[ ${#} -lt 2 ]] ; then
423 - die "${FUNCNAME} requires at least two arguments"
424 - fi
425 -
426 - local reason=${1}
427 - shift
428 -
429 - local option
430 - for option in ${@} ; do
431 - echo "mk_add_options ${option} # ${reason}" >>${MOZCONFIG}
432 - done
433 -}
434 -
435 -mozconfig_use_enable() {
436 - debug-print-function ${FUNCNAME} "$@"
437 -
438 - if [[ ${#} -lt 1 ]] ; then
439 - die "${FUNCNAME} requires at least one arguments"
440 - fi
441 -
442 - local flag=$(use_enable "${@}")
443 - mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" "${flag}"
444 -}
445 -
446 -mozconfig_use_with() {
447 - debug-print-function ${FUNCNAME} "$@"
448 -
449 - if [[ ${#} -lt 1 ]] ; then
450 - die "${FUNCNAME} requires at least one arguments"
451 - fi
452 -
453 - local flag=$(use_with "${@}")
454 - mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" "${flag}"
455 -}
456 -
457 -pkg_pretend() {
458 - if [[ ${MERGE_TYPE} != binary ]] ; then
459 - if use pgo ; then
460 - if ! has usersandbox $FEATURES ; then
461 - die "You must enable usersandbox as X server can not run as root!"
462 - fi
463 - fi
464 -
465 - # Ensure we have enough disk space to compile
466 - if use pgo || use lto || use debug ; then
467 - CHECKREQS_DISK_BUILD="13500M"
468 - else
469 - CHECKREQS_DISK_BUILD="6600M"
470 - fi
471 -
472 - check-reqs_pkg_pretend
473 - fi
474 -}
475 -
476 -pkg_setup() {
477 - if [[ ${MERGE_TYPE} != binary ]] ; then
478 - if use pgo ; then
479 - if ! has userpriv ${FEATURES} ; then
480 - eerror "Building ${PN} with USE=pgo and FEATURES=-userpriv is not supported!"
481 - fi
482 - fi
483 -
484 - # Ensure we have enough disk space to compile
485 - if use pgo || use lto || use debug ; then
486 - CHECKREQS_DISK_BUILD="13500M"
487 - else
488 - CHECKREQS_DISK_BUILD="6400M"
489 - fi
490 -
491 - check-reqs_pkg_setup
492 -
493 - llvm_pkg_setup
494 -
495 - if use clang && use lto ; then
496 - local version_lld=$(ld.lld --version 2>/dev/null | awk '{ print $2 }')
497 - [[ -n ${version_lld} ]] && version_lld=$(ver_cut 1 "${version_lld}")
498 - [[ -z ${version_lld} ]] && die "Failed to read ld.lld version!"
499 -
500 - local version_llvm_rust=$(rustc -Vv 2>/dev/null | grep -F -- 'LLVM version:' | awk '{ print $3 }')
501 - [[ -n ${version_llvm_rust} ]] && version_llvm_rust=$(ver_cut 1 "${version_llvm_rust}")
502 - [[ -z ${version_llvm_rust} ]] && die "Failed to read used LLVM version from rustc!"
503 -
504 - if ver_test "${version_lld}" -ne "${version_llvm_rust}" ; then
505 - eerror "Rust is using LLVM version ${version_llvm_rust} but ld.lld version belongs to LLVM version ${version_lld}."
506 - eerror "You will be unable to link ${CATEGORY}/${PN}. To proceed you have the following options:"
507 - eerror " - Manually switch rust version using 'eselect rust' to match used LLVM version"
508 - eerror " - Switch to dev-lang/rust[system-llvm] which will guarantee matching version"
509 - eerror " - Build ${CATEGORY}/${PN} without USE=lto"
510 - eerror " - Rebuild lld with llvm that was used to build rust (may need to rebuild the whole "
511 - eerror " llvm/clang/lld/rust chain depending on your @world updates)"
512 - die "LLVM version used by Rust (${version_llvm_rust}) does not match with ld.lld version (${version_lld})!"
513 - fi
514 - fi
515 -
516 - python-any-r1_pkg_setup
517 -
518 - # Avoid PGO profiling problems due to enviroment leakage
519 - # These should *always* be cleaned up anyway
520 - unset \
521 - DBUS_SESSION_BUS_ADDRESS \
522 - DISPLAY \
523 - ORBIT_SOCKETDIR \
524 - SESSION_MANAGER \
525 - XAUTHORITY \
526 - XDG_CACHE_HOME \
527 - XDG_SESSION_COOKIE
528 -
529 - # Build system is using /proc/self/oom_score_adj, bug #604394
530 - addpredict /proc/self/oom_score_adj
531 -
532 - if use pgo ; then
533 - # Allow access to GPU during PGO run
534 - local ati_cards mesa_cards nvidia_cards render_cards
535 - shopt -s nullglob
536 -
537 - ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g')
538 - if [[ -n "${ati_cards}" ]] ; then
539 - addpredict "${ati_cards}"
540 - fi
541 -
542 - mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g')
543 - if [[ -n "${mesa_cards}" ]] ; then
544 - addpredict "${mesa_cards}"
545 - fi
546 -
547 - nvidia_cards=$(echo -n /dev/nvidia* | sed 's/ /:/g')
548 - if [[ -n "${nvidia_cards}" ]] ; then
549 - addpredict "${nvidia_cards}"
550 - fi
551 -
552 - render_cards=$(echo -n /dev/dri/renderD128* | sed 's/ /:/g')
553 - if [[ -n "${render_cards}" ]] ; then
554 - addpredict "${render_cards}"
555 - fi
556 -
557 - shopt -u nullglob
558 - fi
559 -
560 - if ! mountpoint -q /dev/shm ; then
561 - # If /dev/shm is not available, configure is known to fail with
562 - # a traceback report referencing /usr/lib/pythonN.N/multiprocessing/synchronize.py
563 - ewarn "/dev/shm is not mounted -- expect build failures!"
564 - fi
565 -
566 - # Google API keys (see http://www.chromium.org/developers/how-tos/api-keys)
567 - # Note: These are for Gentoo Linux use ONLY. For your own distribution, please
568 - # get your own set of keys.
569 - if [[ -z "${MOZ_API_KEY_GOOGLE+set}" ]] ; then
570 - MOZ_API_KEY_GOOGLE="AIzaSyDEAOvatFogGaPi0eTgsV_ZlEzx0ObmepsMzfAc"
571 - fi
572 -
573 - if [[ -z "${MOZ_API_KEY_LOCATION+set}" ]] ; then
574 - MOZ_API_KEY_LOCATION="AIzaSyB2h2OuRgGaPicUgy5N-5hsZqiPW6sH3n_rptiQ"
575 - fi
576 -
577 - # Mozilla API keys (see https://location.services.mozilla.com/api)
578 - # Note: These are for Gentoo Linux use ONLY. For your own distribution, please
579 - # get your own set of keys.
580 - if [[ -z "${MOZ_API_KEY_MOZILLA+set}" ]] ; then
581 - MOZ_API_KEY_MOZILLA="edb3d487-3a84-46m0ap1e3-9dfd-92b5efaaa005"
582 - fi
583 -
584 - # Ensure we use C locale when building, bug #746215
585 - export LC_ALL=C
586 - fi
587 -}
588 -
589 -src_unpack() {
590 - local _lp_dir="${WORKDIR}/language_packs"
591 - local _src_file
592 -
593 - if [[ ! -d "${_lp_dir}" ]] ; then
594 - mkdir "${_lp_dir}" || die
595 - fi
596 -
597 - for _src_file in ${A} ; do
598 - if [[ ${_src_file} == *.xpi ]]; then
599 - cp "${DISTDIR}/${_src_file}" "${_lp_dir}" || die "Failed to copy '${_src_file}' to '${_lp_dir}'!"
600 - else
601 - unpack ${_src_file}
602 - fi
603 - done
604 -}
605 -
606 -src_prepare() {
607 - if use lto; then
608 - rm -v "${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch || die
609 - fi
610 -
611 - eapply "${WORKDIR}/firefox-patches"
612 -
613 - # Allow user to apply any additional patches without modifing ebuild
614 - eapply_user
615 -
616 - # Make cargo respect MAKEOPTS
617 - export CARGO_BUILD_JOBS="$(makeopts_jobs)"
618 -
619 - # Make LTO respect MAKEOPTS
620 - sed -i \
621 - -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
622 - "${S}"/build/moz.configure/lto-pgo.configure \
623 - || die "sed failed to set num_cores"
624 -
625 - # Make ICU respect MAKEOPTS
626 - sed -i \
627 - -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
628 - "${S}"/intl/icu_sources_data.py \
629 - || die "sed failed to set num_cores"
630 -
631 - # sed-in toolchain prefix
632 - sed -i \
633 - -e "s/objdump/${CHOST}-objdump/" \
634 - "${S}"/python/mozbuild/mozbuild/configure/check_debug_ranges.py \
635 - || die "sed failed to set toolchain prefix"
636 -
637 - sed -i \
638 - -e 's/ccache_stats = None/return None/' \
639 - "${S}"/python/mozbuild/mozbuild/controller/building.py \
640 - || die "sed failed to disable ccache stats call"
641 -
642 - einfo "Removing pre-built binaries ..."
643 - find "${S}"/third_party -type f \( -name '*.so' -o -name '*.o' \) -print -delete || die
644 -
645 - # Clearing checksums where we have applied patches
646 - moz_clear_vendor_checksums audioipc
647 - moz_clear_vendor_checksums audioipc-client
648 - moz_clear_vendor_checksums audioipc-server
649 -
650 - # Create build dir
651 - BUILD_DIR="${WORKDIR}/${PN}_build"
652 - mkdir -p "${BUILD_DIR}" || die
653 -
654 - # Write API keys to disk
655 - echo -n "${MOZ_API_KEY_GOOGLE//gGaPi/}" > "${S}"/api-google.key || die
656 - echo -n "${MOZ_API_KEY_LOCATION//gGaPi/}" > "${S}"/api-location.key || die
657 - echo -n "${MOZ_API_KEY_MOZILLA//m0ap1/}" > "${S}"/api-mozilla.key || die
658 -
659 - xdg_environment_reset
660 -}
661 -
662 -src_configure() {
663 - # Show flags set at the beginning
664 - einfo "Current BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}"
665 - einfo "Current CFLAGS:\t\t${CFLAGS:-no value set}"
666 - einfo "Current CXXFLAGS:\t\t${CXXFLAGS:-no value set}"
667 - einfo "Current LDFLAGS:\t\t${LDFLAGS:-no value set}"
668 - einfo "Current RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}"
669 -
670 - local have_switched_compiler=
671 - if use clang && ! tc-is-clang ; then
672 - # Force clang
673 - einfo "Enforcing the use of clang due to USE=clang ..."
674 - have_switched_compiler=yes
675 - AR=llvm-ar
676 - AS=llvm-as
677 - CC=${CHOST}-clang
678 - CXX=${CHOST}-clang++
679 - NM=llvm-nm
680 - RANLIB=llvm-ranlib
681 - elif ! use clang && ! tc-is-gcc ; then
682 - # Force gcc
683 - have_switched_compiler=yes
684 - einfo "Enforcing the use of gcc due to USE=-clang ..."
685 - AR=gcc-ar
686 - CC=${CHOST}-gcc
687 - CXX=${CHOST}-g++
688 - NM=gcc-nm
689 - RANLIB=gcc-ranlib
690 - fi
691 -
692 - if [[ -n "${have_switched_compiler}" ]] ; then
693 - # Because we switched active compiler we have to ensure
694 - # that no unsupported flags are set
695 - strip-unsupported-flags
696 - fi
697 -
698 - # Ensure we use correct toolchain
699 - export HOST_CC="$(tc-getBUILD_CC)"
700 - export HOST_CXX="$(tc-getBUILD_CXX)"
701 - tc-export CC CXX LD AR NM OBJDUMP RANLIB PKG_CONFIG
702 -
703 - # Pass the correct toolchain paths through cbindgen
704 - if tc-is-cross-compiler ; then
705 - export BINDGEN_CFLAGS="${SYSROOT:+--sysroot=${ESYSROOT}} --target=${CHOST} ${BINDGEN_CFLAGS-}"
706 - fi
707 -
708 - # Set MOZILLA_FIVE_HOME
709 - export MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
710 -
711 - # python/mach/mach/mixin/process.py fails to detect SHELL
712 - export SHELL="${EPREFIX}/bin/bash"
713 -
714 - # Set state path
715 - export MOZBUILD_STATE_PATH="${BUILD_DIR}"
716 -
717 - # Set MOZCONFIG
718 - export MOZCONFIG="${S}/.mozconfig"
719 -
720 - # Initialize MOZCONFIG
721 - mozconfig_add_options_ac '' --enable-application=comm/mail
722 -
723 - # Set Gentoo defaults
724 - export MOZILLA_OFFICIAL=1
725 -
726 - mozconfig_add_options_ac 'Gentoo default' \
727 - --allow-addon-sideload \
728 - --disable-cargo-incremental \
729 - --disable-crashreporter \
730 - --disable-gpsd \
731 - --disable-install-strip \
732 - --disable-parental-controls \
733 - --disable-strip \
734 - --disable-updater \
735 - --enable-js-shell \
736 - --enable-negotiateauth \
737 - --enable-new-pass-manager \
738 - --enable-official-branding \
739 - --enable-release \
740 - --enable-system-ffi \
741 - --enable-system-pixman \
742 - --host="${CBUILD:-${CHOST}}" \
743 - --libdir="${EPREFIX}/usr/$(get_libdir)" \
744 - --prefix="${EPREFIX}/usr" \
745 - --target="${CHOST}" \
746 - --without-ccache \
747 - --without-wasm-sandboxed-libraries \
748 - --with-intl-api \
749 - --with-libclang-path="$(llvm-config --libdir)" \
750 - --with-system-nspr \
751 - --with-system-nss \
752 - --with-system-zlib \
753 - --with-toolchain-prefix="${CHOST}-" \
754 - --with-unsigned-addon-scopes=app,system \
755 - --x-includes="${ESYSROOT}/usr/include" \
756 - --x-libraries="${ESYSROOT}/usr/$(get_libdir)"
757 -
758 - # Set update channel
759 - local update_channel=release
760 - [[ -n ${MOZ_ESR} ]] && update_channel=esr
761 - mozconfig_add_options_ac '' --update-channel=${update_channel}
762 -
763 - if ! use x86 && [[ ${CHOST} != armv*h* ]] ; then
764 - mozconfig_add_options_ac '' --enable-rust-simd
765 - fi
766 -
767 - # For future keywording: This is currently (97.0) only supported on:
768 - # amd64, arm, arm64 & x86.
769 - # Might want to flip the logic around if Firefox is to support more arches.
770 - if use ppc64; then
771 - mozconfig_add_options_ac '' --disable-sandbox
772 - else
773 - mozconfig_add_options_ac '' --enable-sandbox
774 - fi
775 -
776 - if [[ -s "${S}/api-google.key" ]] ; then
777 - local key_origin="Gentoo default"
778 - if [[ $(cat "${S}/api-google.key" | md5sum | awk '{ print $1 }') != 709560c02f94b41f9ad2c49207be6c54 ]] ; then
779 - key_origin="User value"
780 - fi
781 -
782 - mozconfig_add_options_ac "${key_origin}" \
783 - --with-google-safebrowsing-api-keyfile="${S}/api-google.key"
784 - else
785 - einfo "Building without Google API key ..."
786 - fi
787 -
788 - if [[ -s "${S}/api-location.key" ]] ; then
789 - local key_origin="Gentoo default"
790 - if [[ $(cat "${S}/api-location.key" | md5sum | awk '{ print $1 }') != ffb7895e35dedf832eb1c5d420ac7420 ]] ; then
791 - key_origin="User value"
792 - fi
793 -
794 - mozconfig_add_options_ac "${key_origin}" \
795 - --with-google-location-service-api-keyfile="${S}/api-location.key"
796 - else
797 - einfo "Building without Location API key ..."
798 - fi
799 -
800 - if [[ -s "${S}/api-mozilla.key" ]] ; then
801 - local key_origin="Gentoo default"
802 - if [[ $(cat "${S}/api-mozilla.key" | md5sum | awk '{ print $1 }') != 3927726e9442a8e8fa0e46ccc39caa27 ]] ; then
803 - key_origin="User value"
804 - fi
805 -
806 - mozconfig_add_options_ac "${key_origin}" \
807 - --with-mozilla-api-keyfile="${S}/api-mozilla.key"
808 - else
809 - einfo "Building without Mozilla API key ..."
810 - fi
811 -
812 - mozconfig_use_with system-av1
813 - mozconfig_use_with system-harfbuzz
814 - mozconfig_use_with system-harfbuzz system-graphite2
815 - mozconfig_use_with system-icu
816 - mozconfig_use_with system-jpeg
817 - mozconfig_use_with system-libevent
818 - mozconfig_use_with system-libvpx
819 - mozconfig_use_with system-png
820 - mozconfig_use_with system-webp
821 -
822 - if use system-librnp; then
823 - mozconfig_add_options_ac "+system-librnp" --enable-compile-environment
824 - mozconfig_use_with system-librnp
825 - fi
826 -
827 - mozconfig_use_enable dbus
828 - mozconfig_use_enable libproxy
829 -
830 - use eme-free && mozconfig_add_options_ac '+eme-free' --disable-eme
831 -
832 - if use hardened ; then
833 - mozconfig_add_options_ac "+hardened" --enable-hardening
834 - append-ldflags "-Wl,-z,relro -Wl,-z,now"
835 - fi
836 -
837 - local myaudiobackends=""
838 - use jack && myaudiobackends+="jack,"
839 - use sndio && myaudiobackends+="sndio,"
840 - use pulseaudio && myaudiobackends+="pulseaudio,"
841 - ! use pulseaudio && myaudiobackends+="alsa,"
842 -
843 - mozconfig_add_options_ac '--enable-audio-backends' --enable-audio-backends="${myaudiobackends::-1}"
844 -
845 - mozconfig_use_enable wifi necko-wifi
846 -
847 - if use wayland ; then
848 - mozconfig_add_options_ac '+x11+wayland' --enable-default-toolkit=cairo-gtk3-x11-wayland
849 - else
850 - mozconfig_add_options_ac '+x11' --enable-default-toolkit=cairo-gtk3
851 - fi
852 -
853 - if use lto ; then
854 - if use clang ; then
855 - # Upstream only supports lld when using clang
856 - mozconfig_add_options_ac "forcing ld=lld due to USE=clang and USE=lto" --enable-linker=lld
857 -
858 - mozconfig_add_options_ac '+lto' --enable-lto=cross
859 -
860 - else
861 - # ThinLTO is currently broken, see bmo#1644409
862 - mozconfig_add_options_ac '+lto' --enable-lto=full
863 - mozconfig_add_options_ac "linker is set to bfd" --enable-linker=bfd
864 - fi
865 -
866 - if use pgo ; then
867 - mozconfig_add_options_ac '+pgo' MOZ_PGO=1
868 -
869 - if use clang ; then
870 - # Used in build/pgo/profileserver.py
871 - export LLVM_PROFDATA="llvm-profdata"
872 - fi
873 - fi
874 - else
875 - # Avoid auto-magic on linker
876 - if use clang ; then
877 - # This is upstream's default
878 - mozconfig_add_options_ac "forcing ld=lld due to USE=clang" --enable-linker=lld
879 - else
880 - mozconfig_add_options_ac "linker is set to bfd" --enable-linker=bfd
881 - fi
882 - fi
883 -
884 - # LTO flag was handled via configure
885 - filter-flags '-flto*'
886 -
887 - mozconfig_use_enable debug
888 - if use debug ; then
889 - mozconfig_add_options_ac '+debug' --disable-optimize
890 - else
891 - if is-flag '-g*' ; then
892 - if use clang ; then
893 - mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols=$(get-flag '-g*')
894 - else
895 - mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols
896 - fi
897 - else
898 - mozconfig_add_options_ac 'Gentoo default' --disable-debug-symbols
899 - fi
900 -
901 - if is-flag '-O0' ; then
902 - mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O0
903 - elif is-flag '-O4' ; then
904 - mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O4
905 - elif is-flag '-O3' ; then
906 - mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O3
907 - elif is-flag '-O1' ; then
908 - mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O1
909 - elif is-flag '-Os' ; then
910 - mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-Os
911 - else
912 - mozconfig_add_options_ac "Gentoo default" --enable-optimize=-O2
913 - fi
914 - fi
915 -
916 - # Debug flag was handled via configure
917 - filter-flags '-g*'
918 -
919 - # Optimization flag was handled via configure
920 - filter-flags '-O*'
921 -
922 - # Modifications to better support ARM, bug #553364
923 - if use cpu_flags_arm_neon ; then
924 - mozconfig_add_options_ac '+cpu_flags_arm_neon' --with-fpu=neon
925 -
926 - if ! tc-is-clang ; then
927 - # thumb options aren't supported when using clang, bug 666966
928 - mozconfig_add_options_ac '+cpu_flags_arm_neon' \
929 - --with-thumb=yes \
930 - --with-thumb-interwork=no
931 - fi
932 - fi
933 -
934 - if [[ ${CHOST} == armv*h* ]] ; then
935 - mozconfig_add_options_ac 'CHOST=armv*h*' --with-float-abi=hard
936 -
937 - if ! use system-libvpx ; then
938 - sed -i \
939 - -e "s|softfp|hard|" \
940 - "${S}"/media/libvpx/moz.build \
941 - || die
942 - fi
943 - fi
944 -
945 - if use clang ; then
946 - # https://bugzilla.mozilla.org/show_bug.cgi?id=1482204
947 - # https://bugzilla.mozilla.org/show_bug.cgi?id=1483822
948 - # toolkit/moz.configure Elfhack section: target.cpu in ('arm', 'x86', 'x86_64')
949 - local disable_elf_hack=
950 - if use amd64 ; then
951 - disable_elf_hack=yes
952 - elif use x86 ; then
953 - disable_elf_hack=yes
954 - elif use arm ; then
955 - disable_elf_hack=yes
956 - fi
957 -
958 - if [[ -n ${disable_elf_hack} ]] ; then
959 - mozconfig_add_options_ac 'elf-hack is broken when using Clang' --disable-elf-hack
960 - fi
961 - elif tc-is-gcc ; then
962 - if ver_test $(gcc-fullversion) -ge 10 ; then
963 - einfo "Forcing -fno-tree-loop-vectorize to workaround GCC bug, see bug 758446 ..."
964 - append-cxxflags -fno-tree-loop-vectorize
965 - fi
966 - fi
967 -
968 - # Additional ARCH support
969 - case "${ARCH}" in
970 - arm)
971 - # Reduce the memory requirements for linking
972 - if use clang ; then
973 - # Nothing to do
974 - :;
975 - elif use lto ; then
976 - append-ldflags -Wl,--no-keep-memory
977 - else
978 - append-ldflags -Wl,--no-keep-memory -Wl,--reduce-memory-overheads
979 - fi
980 - ;;
981 - esac
982 -
983 - if ! use elibc_glibc ; then
984 - mozconfig_add_options_ac '!elibc_glibc' --disable-jemalloc
985 - fi
986 -
987 - # Allow elfhack to work in combination with unstripped binaries
988 - # when they would normally be larger than 2GiB.
989 - append-ldflags "-Wl,--compress-debug-sections=zlib"
990 -
991 - # Make revdep-rebuild.sh happy; Also required for musl
992 - append-ldflags -Wl,-rpath="${MOZILLA_FIVE_HOME}",--enable-new-dtags
993 -
994 - # Pass $MAKEOPTS to build system
995 - export MOZ_MAKE_FLAGS="${MAKEOPTS}"
996 -
997 - # Use system's Python environment
998 - PIP_NETWORK_INSTALL_RESTRICTED_VIRTUALENVS=mach
999 -
1000 - if use system-python-libs; then
1001 - export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE="system"
1002 - else
1003 - export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE="none"
1004 - fi
1005 -
1006 - # Disable notification when build system has finished
1007 - export MOZ_NOSPAM=1
1008 -
1009 - # Portage sets XARGS environment variable to "xargs -r" by default which
1010 - # breaks build system's check_prog() function which doesn't support arguments
1011 - mozconfig_add_options_ac 'Gentoo default' "XARGS=${EPREFIX}/usr/bin/xargs"
1012 -
1013 - # Set build dir
1014 - mozconfig_add_options_mk 'Gentoo default' "MOZ_OBJDIR=${BUILD_DIR}"
1015 -
1016 - # Show flags we will use
1017 - einfo "Build BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}"
1018 - einfo "Build CFLAGS:\t\t${CFLAGS:-no value set}"
1019 - einfo "Build CXXFLAGS:\t\t${CXXFLAGS:-no value set}"
1020 - einfo "Build LDFLAGS:\t\t${LDFLAGS:-no value set}"
1021 - einfo "Build RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}"
1022 -
1023 - # Handle EXTRA_CONF and show summary
1024 - local ac opt hash reason
1025 -
1026 - # Apply EXTRA_ECONF entries to $MOZCONFIG
1027 - if [[ -n ${EXTRA_ECONF} ]] ; then
1028 - IFS=\! read -a ac <<<${EXTRA_ECONF// --/\!}
1029 - for opt in "${ac[@]}"; do
1030 - mozconfig_add_options_ac "EXTRA_ECONF" --${opt#--}
1031 - done
1032 - fi
1033 -
1034 - echo
1035 - echo "=========================================================="
1036 - echo "Building ${PF} with the following configuration"
1037 - grep ^ac_add_options "${MOZCONFIG}" | while read ac opt hash reason; do
1038 - [[ -z ${hash} || ${hash} == \# ]] \
1039 - || die "error reading mozconfig: ${ac} ${opt} ${hash} ${reason}"
1040 - printf " %-30s %s\n" "${opt}" "${reason:-mozilla.org default}"
1041 - done
1042 - echo "=========================================================="
1043 - echo
1044 -
1045 - ./mach configure || die
1046 -}
1047 -
1048 -src_compile() {
1049 - local virtx_cmd=
1050 -
1051 - if use pgo ; then
1052 - virtx_cmd=virtx
1053 -
1054 - # Reset and cleanup environment variables used by GNOME/XDG
1055 - gnome2_environment_reset
1056 -
1057 - addpredict /root
1058 - fi
1059 -
1060 - local -x GDK_BACKEND=x11
1061 -
1062 - ${virtx_cmd} ./mach build --verbose \
1063 - || die
1064 -}
1065 -
1066 -src_install() {
1067 - # xpcshell is getting called during install
1068 - pax-mark m \
1069 - "${BUILD_DIR}"/dist/bin/xpcshell \
1070 - "${BUILD_DIR}"/dist/bin/${PN} \
1071 - "${BUILD_DIR}"/dist/bin/plugin-container
1072 -
1073 - DESTDIR="${D}" ./mach install || die
1074 -
1075 - # Upstream cannot ship symlink but we can (bmo#658850)
1076 - rm "${ED}${MOZILLA_FIVE_HOME}/${PN}-bin" || die
1077 - dosym ${PN} ${MOZILLA_FIVE_HOME}/${PN}-bin
1078 -
1079 - # Don't install llvm-symbolizer from sys-devel/llvm package
1080 - if [[ -f "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" ]] ; then
1081 - rm -v "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" || die
1082 - fi
1083 -
1084 - # Install policy (currently only used to disable application updates)
1085 - insinto "${MOZILLA_FIVE_HOME}/distribution"
1086 - newins "${FILESDIR}"/distribution.ini distribution.ini
1087 - newins "${FILESDIR}"/disable-auto-update.policy.json policies.json
1088 -
1089 - # Install system-wide preferences
1090 - local PREFS_DIR="${MOZILLA_FIVE_HOME}/defaults/pref"
1091 - insinto "${PREFS_DIR}"
1092 - newins "${FILESDIR}"/gentoo-default-prefs.js gentoo-prefs.js
1093 -
1094 - local GENTOO_PREFS="${ED}${PREFS_DIR}/gentoo-prefs.js"
1095 -
1096 - # Set dictionary path to use system hunspell
1097 - cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set spellchecker.dictionary_path pref"
1098 - pref("spellchecker.dictionary_path", "${EPREFIX}/usr/share/myspell");
1099 - EOF
1100 -
1101 - # Force hwaccel prefs if USE=hwaccel is enabled
1102 - if use hwaccel ; then
1103 - cat "${FILESDIR}"/gentoo-hwaccel-prefs.js \
1104 - >>"${GENTOO_PREFS}" \
1105 - || die "failed to add prefs to force hardware-accelerated rendering to all-gentoo.js"
1106 -
1107 - if use wayland; then
1108 - cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set hwaccel wayland prefs"
1109 - pref("gfx.x11-egl.force-enabled", false);
1110 - EOF
1111 - else
1112 - cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set hwaccel x11 prefs"
1113 - pref("gfx.x11-egl.force-enabled", true);
1114 - EOF
1115 - fi
1116 - fi
1117 -
1118 - # Force the graphite pref if USE=system-harfbuzz is enabled, since the pref cannot disable it
1119 - if use system-harfbuzz ; then
1120 - cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set gfx.font_rendering.graphite.enabled pref"
1121 - sticky_pref("gfx.font_rendering.graphite.enabled", true);
1122 - EOF
1123 - fi
1124 -
1125 - # Install language packs
1126 - local langpacks=( $(find "${WORKDIR}/language_packs" -type f -name '*.xpi') )
1127 - if [[ -n "${langpacks}" ]] ; then
1128 - moz_install_xpi "${MOZILLA_FIVE_HOME}/distribution/extensions" "${langpacks[@]}"
1129 - fi
1130 -
1131 - # Install icons
1132 - local icon_srcdir="${S}/comm/mail/branding/thunderbird"
1133 - local icon_symbolic_file="${icon_srcdir}/TB-symbolic.svg"
1134 -
1135 - insinto /usr/share/icons/hicolor/symbolic/apps
1136 - newins "${icon_symbolic_file}" ${PN}-symbolic.svg
1137 -
1138 - local icon size
1139 - for icon in "${icon_srcdir}"/default*.png ; do
1140 - size=${icon%.png}
1141 - size=${size##*/default}
1142 -
1143 - if [[ ${size} -eq 48 ]] ; then
1144 - newicon "${icon}" ${PN}.png
1145 - fi
1146 -
1147 - newicon -s ${size} "${icon}" ${PN}.png
1148 - done
1149 -
1150 - # Install menu
1151 - local app_name="Mozilla ${MOZ_PN^}"
1152 - local desktop_file="${FILESDIR}/icon/${PN}-r2.desktop"
1153 - local desktop_filename="${PN}.desktop"
1154 - local exec_command="${PN}"
1155 - local icon="${PN}"
1156 - local use_wayland="false"
1157 -
1158 - if use wayland ; then
1159 - use_wayland="true"
1160 - fi
1161 -
1162 - cp "${desktop_file}" "${WORKDIR}/${PN}.desktop-template" || die
1163 -
1164 - sed -i \
1165 - -e "s:@NAME@:${app_name}:" \
1166 - -e "s:@EXEC@:${exec_command}:" \
1167 - -e "s:@ICON@:${icon}:" \
1168 - "${WORKDIR}/${PN}.desktop-template" \
1169 - || die
1170 -
1171 - newmenu "${WORKDIR}/${PN}.desktop-template" "${desktop_filename}"
1172 -
1173 - rm "${WORKDIR}/${PN}.desktop-template" || die
1174 -
1175 - # Install wrapper script
1176 - [[ -f "${ED}/usr/bin/${PN}" ]] && rm "${ED}/usr/bin/${PN}"
1177 - newbin "${FILESDIR}/${PN}-r1.sh" ${PN}
1178 -
1179 - # Update wrapper
1180 - sed -i \
1181 - -e "s:@PREFIX@:${EPREFIX}/usr:" \
1182 - -e "s:@MOZ_FIVE_HOME@:${MOZILLA_FIVE_HOME}:" \
1183 - -e "s:@APULSELIB_DIR@:${apulselib}:" \
1184 - -e "s:@DEFAULT_WAYLAND@:${use_wayland}:" \
1185 - "${ED}/usr/bin/${PN}" \
1186 - || die
1187 -}
1188 -
1189 -pkg_preinst() {
1190 - xdg_pkg_preinst
1191 -
1192 - # If the apulse libs are available in MOZILLA_FIVE_HOME then apulse
1193 - # does not need to be forced into the LD_LIBRARY_PATH
1194 - if use pulseaudio && has_version ">=media-sound/apulse-0.1.12-r4" ; then
1195 - einfo "APULSE found; Generating library symlinks for sound support ..."
1196 - local lib
1197 - pushd "${ED}${MOZILLA_FIVE_HOME}" &>/dev/null || die
1198 - for lib in ../apulse/libpulse{.so{,.0},-simple.so{,.0}} ; do
1199 - # A quickpkg rolled by hand will grab symlinks as part of the package,
1200 - # so we need to avoid creating them if they already exist.
1201 - if [[ ! -L ${lib##*/} ]] ; then
1202 - ln -s "${lib}" ${lib##*/} || die
1203 - fi
1204 - done
1205 - popd &>/dev/null || die
1206 - fi
1207 -}
1208 -
1209 -pkg_postinst() {
1210 - xdg_pkg_postinst
1211 -
1212 - if use pulseaudio && has_version ">=media-sound/apulse-0.1.12-r4" ; then
1213 - elog "Apulse was detected at merge time on this system and so it will always be"
1214 - elog "used for sound. If you wish to use pulseaudio instead please unmerge"
1215 - elog "media-sound/apulse."
1216 - elog
1217 - fi
1218 -
1219 - local show_doh_information
1220 - local show_shortcut_information
1221 -
1222 - if [[ -z "${REPLACING_VERSIONS}" ]] ; then
1223 - # New install; Tell user that DoH is disabled by default
1224 - show_doh_information=yes
1225 - show_shortcut_information=no
1226 - else
1227 - local replacing_version
1228 - for replacing_version in ${REPLACING_VERSIONS} ; do
1229 - if ver_test "${replacing_version}" -lt 91.0 ; then
1230 - # Tell user that we no longer install a shortcut
1231 - # per supported display protocol
1232 - show_shortcut_information=yes
1233 - fi
1234 - done
1235 - fi
1236 -
1237 - if [[ -n "${show_doh_information}" ]] ; then
1238 - elog
1239 - elog "Note regarding Trusted Recursive Resolver aka DNS-over-HTTPS (DoH):"
1240 - elog "Due to privacy concerns (encrypting DNS might be a good thing, sending all"
1241 - elog "DNS traffic to Cloudflare by default is not a good idea and applications"
1242 - elog "should respect OS configured settings), \"network.trr.mode\" was set to 5"
1243 - elog "(\"Off by choice\") by default."
1244 - elog "You can enable DNS-over-HTTPS in ${PN^}'s preferences."
1245 - fi
1246 -
1247 - if [[ -n "${show_shortcut_information}" ]] ; then
1248 - elog
1249 - elog "Since ${PN}-91.0 we no longer install multiple shortcuts for"
1250 - elog "each supported display protocol. Instead we will only install"
1251 - elog "one generic Mozilla ${PN^} shortcut."
1252 - elog "If you still want to be able to select between running Mozilla ${PN^}"
1253 - elog "on X11 or Wayland, you have to re-create these shortcuts on your own."
1254 - fi
1255 -
1256 - # bug 835078
1257 - if use hwaccel && has_version "x11-drivers/xf86-video-nouveau"; then
1258 - ewarn "You have nouveau drivers installed in your system and 'hwaccel' "
1259 - ewarn "enabled for Firefox. Nouveau / your GPU might not support the "
1260 - ewarn "required EGL, so either disable 'hwaccel' or try the workaround "
1261 - ewarn "explained in https://bugs.gentoo.org/835078#c5 if Firefox crashes."
1262 - fi
1263 -
1264 - optfeature_header "Optional runtime features:"
1265 - optfeature "encrypted chat support" net-libs/libotr
1266 -}