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: Mon, 30 May 2022 06:05:35
Message-Id: 1653889657.31e90f7475c77dfc548a6a3d77ff637f390c3149.juippis@gentoo
1 commit: 31e90f7475c77dfc548a6a3d77ff637f390c3149
2 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 30 05:47:37 2022 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Mon May 30 05:47:37 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31e90f74
7
8 mail-client/thunderbird: drop 91.9.0
9
10 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
11
12 mail-client/thunderbird/Manifest | 64 --
13 mail-client/thunderbird/thunderbird-91.9.0.ebuild | 1139 ---------------------
14 2 files changed, 1203 deletions(-)
15
16 diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest
17 index f6f270e01cc4..c35b38f04ef7 100644
18 --- a/mail-client/thunderbird/Manifest
19 +++ b/mail-client/thunderbird/Manifest
20 @@ -1,68 +1,4 @@
21 DIST firefox-91esr-patches-06j.tar.xz 17668 BLAKE2B ebe51e06197b70b0f0661724e1ccf2f2aaf0e0eb4576e795963c6a0f9c32f293825b8d2a487dcadd8e5e1cb5db7c756016c50f34e6bc6df451b44e54ef76686e SHA512 3af533a49c5e4a6fdb5be2225256655d402055332ba98f3aa159fcc78c4a9901a541b63d68cb02440f55ede04858388881118f655efebc75b18c316e0ab522a7
22 -DIST thunderbird-91.9.0-af.xpi 561893 BLAKE2B a960b28e1076edb28253d6ba37cbabd7ec5e28390b2a03d3534523bf38526fe53c39662962253e796a86e78765e1f2464aaa8834ab89d8347d4d52ce1b04f5b0 SHA512 88ff48ab1881908070abe982cf3de1b6d2e956a7a8b12f2504369e27e1a6f7b00af3cdfccc6f6e6eaba916f05811b88b8ef36218373c1fd709ab5814ad94e67c
23 -DIST thunderbird-91.9.0-ar.xpi 665729 BLAKE2B 89a32911b8efaef9865458440cad6c184df9c70b5aafa580ee49d520dc729f7885eeaeaf83fc28a25b8f5789e5b2e3364beaaf2aa7b87e0cdc5924d5046b8b6c SHA512 ea28bb9b5b13c0d93429239e27f4166a1c408b21973c850482ddf717addfb900e418930dbbfdc86ba6f41a4b561584ca6d3ae4d9118a461ebd856b9b9fe6b488
24 -DIST thunderbird-91.9.0-ast.xpi 580510 BLAKE2B d8af41d54f8b555f678b4f0ae1139153a7d82b7f330f8546b583a7e641b5553b0c1d257a4fd28857f20172416426c1158dae273dd357481f281c4e1a62335e72 SHA512 673575fc93a75631b443ed09df2c3c211f980059202494bd8320d9c4e7d2bdfe7611b83eda7d2c08695cfd7dc7adbbd7edf99e9419d36726434ec5bbd2f61a8e
25 -DIST thunderbird-91.9.0-be.xpi 695198 BLAKE2B f8886653e14038f8866da66f1bf5d1d68e76706b507e17a7085e4ec90651f16edb2ba1ce87fbba2ee90e3cfd408f7ecfebc331edf0e3474ff5f71662fd742a02 SHA512 578dacbda7a6d1fa9759b6bfc2c9118a2918777e19d9f07d32b35b30f8d2e285c69a8bd446d970f135797a41b233fa21a7e73e593bb5d264584e256ebe9e4ccf
26 -DIST thunderbird-91.9.0-bg.xpi 690995 BLAKE2B d7493477749b8fbf720b24857c4e1245bcfc2b130f092d7499c9aaf9e7266c8d25465ca15df6a94a5209b2d792378cac45c3c6eb571825099bbfa793cfbd1e0c SHA512 e6b73c1d372821c0789c195042461ba5339893ca877c63ee3a49f34f8a362e2d1af0eb259168eb0d81565f01f5550e00ee33ac8570d25c3edd4b5ffc10db8444
27 -DIST thunderbird-91.9.0-br.xpi 620587 BLAKE2B 3a6f7b3ff36005e9039a52b80dd7750da7686b883610f5fbb531ee3b078d3e135d3a1f65890eea6d88eed497fd2a2f2d7db1e2e6ba695b9ae19c328d4a6d5cd5 SHA512 54c160a072b51749c4362ea2dadfdf2a1a01183910e8986b33a93f2882218a8f74e250a7bc9fd1c4c9c8cb13c8a5569b0c4a44a91f89f52128ba63a5d86e50bf
28 -DIST thunderbird-91.9.0-ca.xpi 645974 BLAKE2B b149440506fda3cd1512bbe2ed5296e85b2d03d2de2b64a993c3a0797340deaaa0d161eba1f63584ce2065c056b9d9d769191725f3b75ed7affa3ab678b47654 SHA512 af31836f18d45886d8da2fadf9052f6df60f1d4727dde10e21a14e26590a579b4d712cf9a6349bf49a47378723b003f0abbe648e1ec6898924c2256709b4910f
29 -DIST thunderbird-91.9.0-cak.xpi 652066 BLAKE2B b9b8f3b6005d1b4e4b8d04d87e77ee2080b0db92b8d653fd85d29f506a58adea2a41063d9f092683cdfe0e727d833f3c6ede97e5192be59550b0a7025a932b31 SHA512 de05481fefc407713d6d62132099526aa065a4b29c320f4132f622f81d205149f18a7bc7bb60897b2739dabfb72017a2f68cd2427178490b6bd3220101282db8
30 -DIST thunderbird-91.9.0-cs.xpi 711939 BLAKE2B 9c5db0a812dc8ab627093e6ebd466db6375d9a1959d5ec404f24dc6f4a78012e31c446c8c3d82af0eba6043479f39ac83ebd09132727442c4887c16eacf2d19f SHA512 a2199359fd70a7fe19c21028c81e51267d66b908a39434cb9c4166ccab552a5f755e10677a7a2701e1c0514bf6c2d48495c15805403339f01eadbc1b98ee71b0
31 -DIST thunderbird-91.9.0-cy.xpi 688889 BLAKE2B cbf6edb5fab8202c2e5c5eb711fa659c71175d524c0716dcfbd31949b37b7f5cbc95b15a57aa6ce1952e5699942be1e0bab255480ce68d45158e280f9d94bb23 SHA512 354f373faed70932a19aa62a6159c56dd85b7e06576497e8ab954d1293c7393aab20bc8ae03527860d24e69c949963af06606098a87c904eba837af41401a937
32 -DIST thunderbird-91.9.0-da.xpi 674445 BLAKE2B bdc17f982af80ba85a5138ef3650d33d5129f12a4d4f28211a999f5012fffd9ed8031a83cfbbc1b516b26738c718c1c94deb3031cfbc06f9360a5edcc053bbad SHA512 085e2b7af5b01636721dd0162925677e983fd016eba2247a5b5ebf856014e7228cf70b9fc70390cd42575488cb7f3becc63b75777953adcfe6fe93cbaa7622e1
33 -DIST thunderbird-91.9.0-de.xpi 697527 BLAKE2B 452cff7e8ca3f7d10f58504dedbcc42a01e766429ff434bafce3b39e7758cc8fbb20b7652f98f5cdacb2f92f05193e9fa83afa5f1b45aeb34bd6ba15ed80c769 SHA512 b639499d8aded54909098515ded0b522d8d219b4d0ab8a665a4e273f9b103090775bdb15592f369a146e0f72b7d553f54f7f8855896750b6e7590ac22144f182
34 -DIST thunderbird-91.9.0-dsb.xpi 724000 BLAKE2B 9f5f34878c3297aa32050beb31807356ff1921773fc60a0f7922db3bd14e2facaffc42b9b09a2179554121b2cdb7be1d02911b112f156c7f5d4d65f071752b51 SHA512 53971dbd9aaf39a08b5b90b961a63e4ff82a994efede605df6aa88984ab16732e18885ec1abe8aa4e974ebe5a475079de0dea3275498c50080ff5e9ef5be86f5
35 -DIST thunderbird-91.9.0-el.xpi 821181 BLAKE2B 8f1eab436fe7885a72486ccad10266df3dc42dc2468807589708cd42baad1b5bfa96a797236bf541951fbf9ec9a532f36db9364e911da52d0c3c985c118eca27 SHA512 d58983a1473915922c913d42e2c6ce2346cf6221d27c0ac0ec303c99552586752bb381e473d8a669214828a3d446b8303b6a24c63704ceeb658cc4b1f2604ce6
36 -DIST thunderbird-91.9.0-en-CA.xpi 647813 BLAKE2B 5da9891b01efac97c970784178c5a9fdd8c542d9ea72c01a0f03b97e74d371bcf6e6cb19e40c0727c0b321c0bf09bf30ca3c163f6f10f3ec9ae1395242c1e492 SHA512 56608d95b5d79544b5649cf3e8d7d108098f072b9fb1136dd305369a106966acaabc8c0f4ea399c77c726eed5cedd38b9b965c4affcada704362387b7b89b932
37 -DIST thunderbird-91.9.0-en-GB.xpi 650553 BLAKE2B b215bf535dd86ae2ea53a5f1464e2a3d18517c4f9f6d7219d558c38c33fc92b8e747f7910ffd7e8a05773a3322cd1e08f936844a2b902bf4ec20c473b75591cf SHA512 71b4e64388c03c736910b5684375c7c97ac26247304d21d34952e7427613f72997ddf7b972b73c48fc5b60dcbfbbc71476fb71fc278275dc3b958ab105896911
38 -DIST thunderbird-91.9.0-es-AR.xpi 700497 BLAKE2B f809ef5107e619e085a4a4fd3ef56806d93769d582809ddcde1cdb0b75980b7d19d65e6e2e322e9445e79b2f335f88b3fe41e5ed344f201ac0ea5312c3e23095 SHA512 281362a6155144a20a4671127530a5abde1fb3a8d8f6fa7555cdb11f335787eca20c1a65513ac0124d7cc33b0b1afce5454fcebc4323270821da52e77862b199
39 -DIST thunderbird-91.9.0-es-ES.xpi 630920 BLAKE2B 1196ff9935b0b2e64ac033309944503f4c9778caddbfcf2eb76af913db83999fe59cd24cea65b68529515501037454a338e55b83cb80650c0d1e358062a15c95 SHA512 dfac9afd8fb756c072382cdb5ff47974a0b846b8fe5ffca81581fd07167d4f24416e4d3cf1ecea163f5c278c9130a00c061139ee79edf2e18cd58e30f9d4cb06
40 -DIST thunderbird-91.9.0-et.xpi 672170 BLAKE2B c5e555ea9a88a175a70a1ed6c0478cadd0e0e20029cf1efb52073f19368f8ca231fccb583f5aece1ad982f15d42265c75ae21aad7b6b2481e53c6a292a6c53c2 SHA512 fa6b590ace0ce60e36241479466fa67179d9514bea80d61ce1343fd418aa37b8f46e693d6ec6004bd91fd96b5725cd940d329a65de6773f44c16066179730a33
41 -DIST thunderbird-91.9.0-eu.xpi 678262 BLAKE2B be60dbb231b6264476f990120d4ec79549660e97c70e610c92a6568c3d4068bfff37410a1bd079b4a5d1c31620dda037c4334fff054657e0cf0e2d7502f71041 SHA512 b7bbc9321e122e32bd615390d326c12fab1090cbb5bdae04acacdc377d76126f1c5e90b588215ff6eb2c5e9c1c6b147f5777af2eac2f03d63962f1c2ab0ddf44
42 -DIST thunderbird-91.9.0-fi.xpi 676630 BLAKE2B 8a2a57814b2395b04f1db3bc96268452456e0699e4318dc4a2fd0c82df7bbbeec33fb248c7886cbcf0076f7f5dee111aa3780e900288c00de0889aecdd7eb6b5 SHA512 ee2e6d538ead1921ed7936a691bcef876283c559a78c19fc66c4e17d3c0d7f673152a0c929ba260877fca579978c2891edcbaad6c59c73236e63e642f8df8afb
43 -DIST thunderbird-91.9.0-fr.xpi 711454 BLAKE2B 6b35a7495d0d38fbc20d114e2882b9a265ffb0efe290a2b5edec3fdbf31f8d66b78e496a0077d42c6bcb967f4e4a683fbeaa8cd331e951a55f4b2bf9d648d1e5 SHA512 7cb80474ebc3ede31377ffa41816c131cf199917ef144a9c5c888953c64463e36477837d9e9636f72f732ae3299dd4feead55e866bef0beb85bc8f1cffb6de3f
44 -DIST thunderbird-91.9.0-fy-NL.xpi 691879 BLAKE2B 4a172455c0f6dbcbd542df9b4e327f34500ca2216fa625fa51a47acd2edcfba42c5392f235b3d163b2990d1b3ce37b78b9c3ed150955da46c668fe780ae88df3 SHA512 a84a8eeb69ab9b3f0394e05318455c4c7c13169a835719805a1643f6a13c10ffe4466440e134dcd3d88f62ece4e6941e279b78dd8674f6c86796ea160e79728e
45 -DIST thunderbird-91.9.0-ga-IE.xpi 613123 BLAKE2B a998ee6a2064f2bb1b3bb34aa82b8585a5d9d7669f4ded7d1010b83c5a1488efb4d4a66c03b2cee78c5056e766fa5a479db7cb8747817fed949279ce5e97666d SHA512 1ab01b0933073d1e21d89018f75918d12adea1dc8fc9fefa7a439570c675f8602f1bcfd785e661169c62f01b748965dcf7ea622b92b198bcd5f8b84a7b6de28b
46 -DIST thunderbird-91.9.0-gd.xpi 640647 BLAKE2B 53ce6b0a81e7232ec68c3b0bf32bef6e199fdc2dd01fa0c5958ca955e18f22aead55fc8512055d61150d4da063e694ccbd97f6ae43bb24774c0a708086d040a5 SHA512 f6a84137ba5250c328b37a3536713b9ec720da023e5f0d36c559f08af63b063529263a8f5ece62f7d14200334f579ca538bebeb0f426b09d9fb45a6be85a041b
47 -DIST thunderbird-91.9.0-gl.xpi 677788 BLAKE2B 144c036b99b94af984d01a75aba0a870fef392489fff3ee79921c0431a3d6d52af4bb69b95078c166f41dd594ef65c35c4f500a9a2f86a38bcfe9d45c9695055 SHA512 97ad8be20e96bc44b26836df8422cf52131c12632369404bbc19aeb2a286d7724da3d4eed0ad26380ab056743d3e699a7ff8bb3f6f7ad4cfd99de3ff706210a0
48 -DIST thunderbird-91.9.0-he.xpi 673190 BLAKE2B 2e22621ee9dbe0bb913b3fa75ad7bb7dc02ebd833ae168260afefb9feb39d7b6432369a7218664b864fa915c07955c150efb7dfb3eb841a34b58dee3f39229c6 SHA512 0ad821aa399d3d8e5c6c9c4f50b7f2965b3aa0acdac03f033ae82096e1f0d28eafbf127bd67aaf0dab02fe09102de78dafd3e0666ac818ca448ee304ad4df689
49 -DIST thunderbird-91.9.0-hr.xpi 653579 BLAKE2B 61299c76d6dfcd7ad45735258cbac3ed52a12ce5286b17f132e4dd4021a8803651d38a16c80f315aeca1c07fd98ce3ccbc8635f3407390b35539a52d2ea9e25d SHA512 88cb14042028e2d71719d58c64a8a5e7c2cb61a041d24af7632424ec11dd4db2ea63e74b96e46e389f76ecd0f30c3827af3eeb60130dad89b8a24e92269341ab
50 -DIST thunderbird-91.9.0-hsb.xpi 720812 BLAKE2B eaa0d2334a1dac1b1d46fc3846500714b9a1315209e18f79495b6936093b1c6fe1e9c51115e70fb3aec5bf33181adc6a7c20a4c0a7fca7a91e1bbe968d31886a SHA512 a9ecaa1f1cffeb7ccfa4535980162e382a7de352429692a55aee9b9bdcda16ed8e0170dde55f88a8cbe2ff2809d36f2458b8f7173cfe75b09d4270a86fc717d4
51 -DIST thunderbird-91.9.0-hu.xpi 723400 BLAKE2B 4fee3c754f5753cddf8e125e05da74932379a042c69bbb86526a3583519e7de8858fc2986d8f41bccfcee0043444242dba993df14e518cd1a6ecac37ced6facc SHA512 5a5b4ab9861d8e112011357e78d9b0ca9c381bd573fc1964c6f611f6c0a7f7b3959861ec18a7c18649170f42f3a46129e6eea8fc97310013100bdd267a8d3414
52 -DIST thunderbird-91.9.0-id.xpi 648249 BLAKE2B b95977ecc4a70d23e9f3569d9952141b2073e8043571eeba9d0ca53007409129bf0e9fa64816267fbba2c953dc5034909cb98b6912f8f08773411ef39fc36480 SHA512 9274dec833ee126465303506996e4910829c99b815c036ed489a1b483f4bae0cb24558055861d9318a95f3021a5226e2f2c732223754c1239f4907a5787e0368
53 -DIST thunderbird-91.9.0-is.xpi 682262 BLAKE2B 9f68535300adbeff02b138a7e598bd4d0cbc401eaec3ce5ba080f90813f05a3b632a0c4dafc130dd151cedc77931b59ae272d061c10186f9aafcefad270c0294 SHA512 138791eebd4362903a6288a9ca4cffd0d2d09ffd95413a21ca4df7c9c0f6977aa5c1f077154b5a0a735d97e40f83cb9b121debfa08a0b4ea9fcc9c3af25d058f
54 -DIST thunderbird-91.9.0-it.xpi 613333 BLAKE2B b333a3b3b59599e43cd7c6bca94a5f28be3cef7ae6fc87c7e33ed2b578ca1125e09b2986a2f5678eed784d9f62fa992f82cf735f012b97f9f69a38cc66f60097 SHA512 52a6f549f2771c57025074e39845ef0ffc8d002e21118766bbe7f8e304000c45dfab23e602bc7327807d3d8301d5619d35c5b460fee0288a0348903ed4f03f57
55 -DIST thunderbird-91.9.0-ja.xpi 756466 BLAKE2B b59314d0fcb4a2c6f32a72bcf69ffd317fb49ceebd1dafb235278f0ee686ab4a6402fd3e42c2d8b5feaaeec08315820165068b1cfe0705619766fe690a18ae6c SHA512 2f715c015a02efe66da4b19aaa27fb8c4f49c14687e7ab22c40615ea6b5051f13f9e5c4dd008177b66cd42a470a366613bf660b698d9fe3c0c801ba54625e419
56 -DIST thunderbird-91.9.0-ka.xpi 762629 BLAKE2B 03c749271b7a4d420277a42f1cdd6c207b6e728e63d7c3cb3209611bfd8f1802b7560443ce84f8daa85fabbf6a4b098507edeae924279d3b480b64f5b81cabbc SHA512 651a5eb8a641db3bc82357d24bf9a545e591b189c3973ee2aebc6a4403d579911f9d2caf27a1239822b478ec07724b6da2c613e3dc73b996ab457f6a714866c6
57 -DIST thunderbird-91.9.0-kab.xpi 677086 BLAKE2B c117239ae7513d54d830ef4865b93c18bdc51d2585a37c6bd53f2a2061062fa5753bf44ca05399e9bdc1152a15462fac4427be8e5fe02fe3367fd789a5d0f176 SHA512 1d5552138ddc896efd0855af3bc4587c57fdc8a323f35b1b6f574b4bf243745295002a62f6c1b2f2d448542e6f68bbbd7472e152d9e39283bf814eda08c0af7f
58 -DIST thunderbird-91.9.0-kk.xpi 745522 BLAKE2B 544b6cc5f219dda5091dc06c71ddcf9fa17b4844acfa47108e8093cb560c9c0a23383607670554c034e138afc924e416ede094eaf68b18ab32c1b012d92f1f86 SHA512 4751002ff331e59c4da910c068e2415394bd77663b7b87d5a82dd4533cab9f7504a4ed433824fc313554f5c49f6d0acc73979bf94a48e620c2f268e440c1f921
59 -DIST thunderbird-91.9.0-ko.xpi 704769 BLAKE2B 647ed171218ea862591378f5e1580fa55e1372140d5b239a0b3e8ecca9e3a763e3726e561521c1f265009e3f476b347965e812c98ae93ad53636e9240d3f90b1 SHA512 ab45b4eeadf6cd465b0bf90873f146b8094323af795e201f7b033863139559ca35afd546e4333b01cf1ebb9eef9864f5c49ab9ba023ce677e5762a1cc1892313
60 -DIST thunderbird-91.9.0-lt.xpi 696043 BLAKE2B f001d8ac1b63cebd0c1e2b3808e09c88f60eafbf300fad6ee0cc1e099a83a7fcb9a4ec1951c8dc3e5c418e51b46b6a55ab469eaa04e7dad2bb0976b785706f94 SHA512 8529ad40230fe51c1e2cc8eade56cd8a4d9458408e737996614bb7cf5bca4b3fcb83e995ef722d16a364d6e14ed04bf103592c5a97289a5d261e6d8f0783e669
61 -DIST thunderbird-91.9.0-lv.xpi 618523 BLAKE2B 17e1c9ac9745c4584f711ec31c1f481c55a9be02f8e2326d5696836de21504b6a8d6e24538e9b0af9942e5dbf20ec8875ef5d0136a74e58d3fe0a581d2cd25ea SHA512 ae0820426139aa1e88d509d9559141fc2048f9c3b931ac4fc609b5552b7458cf0fb404fcb35218f4dc168b98c334bab261bffe15c0670d99f755ee63295c0eba
62 -DIST thunderbird-91.9.0-ms.xpi 578079 BLAKE2B 595bcaad49cf1a840ceb3992161977283103a9879719e1788eb1037191d33f0995d4edf6de038a76b6a05339fe475d1be8cf6d939561af2c60ae730449477d37 SHA512 1f5451d97ddcc0cf88be6f788b564d1675217dd27b57c418884b421c76cee429499b0678a0caf7f4538b69f168cc562b84e18b8fd1663aabdaf034366ada81a6
63 -DIST thunderbird-91.9.0-nb-NO.xpi 653325 BLAKE2B 78c244ff057e58bd97e6e8741fcaf07d556cacfb690f143371b4cbd394a2cee02cec5dc334f009a79c28040ba5f689d325e7c9fb309c53e0ed13d98411fbcaef SHA512 755dea2d0608afd85782554d6d5fdd8a952f1b78e34d27e6eff3460bc21fa1acf4795f969803892bea39ab7f07a22847a1f2dfef1e11c056df3a1aa642368911
64 -DIST thunderbird-91.9.0-nl.xpi 685342 BLAKE2B e692fb2d0925f47ddd36317e47011ba55fa92e78cd675c084a8a362b70359008236cdb1145d9a57aa6da1b25c9e3b6957d00d5205dc8294e3f21f62f25805f4a SHA512 9c451d80f4c0494cea1786e26933c1563d767d32eeb957a24c138c353aee6c972f977130242ffd4648141238983cd9c945037f56a43297db4366efc5806adaae
65 -DIST thunderbird-91.9.0-nn-NO.xpi 658572 BLAKE2B 400c7c211b77d88de42b0e689c0d7cc80643010cefc219c09a2030cdfe90228b6c34b9a410751fd431afe9556a2ff54c422260735d5466ba36f82956f436f006 SHA512 0fa3bb155c9d30b7f5d47c2b7b26fc9130b3479144920a4214ad39c5f811806b085b756a62ced7840174835c621d5b0c5ebdb286d742fb320562233d91a92a8a
66 -DIST thunderbird-91.9.0-pa-IN.xpi 652334 BLAKE2B dc03b3385a6ca9a299dc6aef455a7f482049ac305fd7f592ed389184bf7f8ba6893f4c4ae96a1cb99415d04248d90eaf3725886d744d85eda35cb5c36b10c0d9 SHA512 a180f8388d958af5ce54b7ae55b73c0d36950f94c73499c784c6c3314297713b314c95774dd53375db4a8b47d40ba315ae2574027127469b48bcc8c2010df1c0
67 -DIST thunderbird-91.9.0-pl.xpi 694111 BLAKE2B 00d7b6aee28790b8abe758fde4e6473950e7dfceb56c7dbd465593283e0078a48726f1f69e68dd115e2b9d34590d30dbcb5c6cee074868c419619c797c78fe51 SHA512 3dd4254fc63f44bf9e8171a4f2a0c4774496857db4d5334ef587ab6b2d4bccca5748ee4228e11373945b81f6339e7095a65faa3976a7cb2034f59fd5b4fb54cd
68 -DIST thunderbird-91.9.0-pt-BR.xpi 694133 BLAKE2B 617276cdfe1ebe175d4b31dac5b60abed7ee0d9d47ef6ddce544a8bc597aa6a9e751736fd25cce76722fa09fa71e69b0840e90bd4e9cb8af853393822a714c4d SHA512 75e4f329e69a5362915ee15a3a9e83030f0013b1a8bae0bfe32976ae8d2915d7bad4e1a372df90fde78e7392d53aade50450350b9adee573931eb7af7a20e364
69 -DIST thunderbird-91.9.0-pt-PT.xpi 674674 BLAKE2B 7860059703f3c3f53c4947743c6c88b17f672a9cd1b3e55eccbe11169f9b44a4f699b0f2eb0011872d25a8f5b2260e532cea6dab93c04f8d4c7f56a22abe2403 SHA512 a41c5975f80e2a7b6199a4eb89fd14578b3eb003faf50f2cf8e8960c6283005f0170cddae897b446f31326e6efe811fda76fdf590985ed383089372dc0e90632
70 -DIST thunderbird-91.9.0-rm.xpi 687613 BLAKE2B 8876019fba14ac1cb3f6f325f2a2a1fa2323f4e566f83de058ec890862e27201a9a8e2a527c135c2862c3989da3b0df6be1734b818a65f4c576950f4b9fa8928 SHA512 249367a350a23c4f65c87b10598e08b708cdb645152f0405f98c14c407309f39862a4112865fbf22d2c3c388f4a9c1b0233322f88928e98f592d53c02ceb4533
71 -DIST thunderbird-91.9.0-ro.xpi 661345 BLAKE2B e58308083c72db3980cee4fbb1980a786f3599bf9c057312b2f7c6fca53b5f15d8d361868cccb622ef036c01382da65b63c2d89e16ecd4a07bac361bed2296c3 SHA512 b260a659a55d3722add2eba16ad3bb871e9b4ad206139d280fc304289cc38927e3f9052a5791cfdde82995844ec0e857fa7f0909fa02e88ca7eb3ce231b0dbbc
72 -DIST thunderbird-91.9.0-ru.xpi 793375 BLAKE2B e3dbf6f667490ad5784e14e2f7f16387f8ba0c8d5ed6db21359f1696c0ff6cb12578435468b25a3766873a24a0c5dbc62bbd29148217e31569e64a855f0a2c4c SHA512 68f636e51bfcadd3bcfaf474d646786573f103d21d2a74b0b10efb7ea7c224e9712a78a46411850909c9cb51a3b2cd9c9986001df8c4871875516ba86b1ec77c
73 -DIST thunderbird-91.9.0-sk.xpi 721092 BLAKE2B e12237d25e9de32ec9264a3a50a9a37e651d1f9cc01c61158a14e44446c4bc57dcabd98fb25f9b2b57b321fd9d8dd77442dfb8d25da473b33c769a3019dda5ef SHA512 a7b557163897aebec1c9f541320a08e0d6135ee4450e628697371cc07891870db3cb2e4c0c1ca3792a099042b757681a2ee2a984f20367f44fe3f51007527032
74 -DIST thunderbird-91.9.0-sl.xpi 682544 BLAKE2B 60203f9194ee028a941153ef8f1c15ac3e560723fa5ea342269f285523bbcdf2b88fc3479c1afa6aab26eee6d0c6caab25e110d3b89121820f9083e87bb398cf SHA512 87b9143619d9d6b87b30246e22c387279c25a0739897d3d695e89ac0eb30eb292979793df37cc804c98546b99bd8d4310b287445c3925c81f807a747dbe09c68
75 -DIST thunderbird-91.9.0-sq.xpi 703626 BLAKE2B 30664accc70eb50f04f9431104af849d30c516d8b331009f6fbfd333bae4b7878a7f3096b9dd633e26c0756025f50a79df5c27f0952e155fcc09fbd3c6fb2e73 SHA512 b0e94ac7eece597d8b3539ae16a5b64f0023e5a597ee94a9d595f597022ba3f707b796425bf484d0b8105ce8307f1cb9fe0bb46d642db12462272a666a6bff3f
76 -DIST thunderbird-91.9.0-sr.xpi 710564 BLAKE2B 27b9eeef78c5119febdc144026c1c96ef0f7bf5aac96e643c846e483ca999eb9fe2df653e15c755afcfee25a06b2f572b49b9f08c2ab76ed4909f257b98d5a04 SHA512 553c34a62ebd2f15c993bef76c649760a532e22be2236509dc6c529a37549dcadaba8dcf929fcc8704712ca3740ae647a5d1fa7edeb279210cd624d0b788cdbf
77 -DIST thunderbird-91.9.0-sv-SE.xpi 690968 BLAKE2B 875a193a3436d3df7903bea03d90d5b152de46b22f59408b48eb290c113410e1f587ed97f80b706a37ef59ca9b4def64a6492475f64d86a096c025f320562607 SHA512 83874b839edb45be55ea428a4c57a2e75a59ce389bcc9a56a36b7257177d61599cfc11875529062f5ba4cdf40f4ed9374af6e846a3d02b1de2322b32ea2110ca
78 -DIST thunderbird-91.9.0-th.xpi 748754 BLAKE2B ddd63fc2d2de718d5d76fadf46b76aaa57a459d9777a6609a22796f5943004c7baa5640448d947a27fd306b60d36d18ff8a55cb83dbf30d31b5c15f990f7da27 SHA512 e12bdb07eca97361f1f7b0edcce5d127996a13829d882324f88f358f615eacb40ce15f3597181a529d747e986a49aa09cf40190623be1916320d4c373f8cdeb8
79 -DIST thunderbird-91.9.0-tr.xpi 699653 BLAKE2B e7af633ab015d55f55f7a7697c37adfb8e5e8aceded90577c787f191649f6cb63f94a5b7e3a2a592ad74914661e176441b9a7fb6e89089d0838cf88bd53d6847 SHA512 bfa109ab0cc8309100a653d8d3b39f14aa4178ed6aa490a825274d9ced25141f896a63bc93b4556d104ee3d930057e989ac9452f262f1f7e99a5a9b5f1d0ed5f
80 -DIST thunderbird-91.9.0-uk.xpi 798482 BLAKE2B 03518c9a11aa24c3db8a13670b7384befd324fcb362cbc26c7be7909d35b88afd20d5b32e097b71dd1c0b2974d682338ea2e823aade72de5ef2994112401b031 SHA512 f78b1ae06c75c518de7a0229d64f26b2eec6a60aed637d8f3c91d2a74c6d3082caf11d84b41ac2d1688c38804e48ea5c8a1da15f7da7e7b88c528396669e7999
81 -DIST thunderbird-91.9.0-uz.xpi 595923 BLAKE2B 891c2b2e6f053c0360025bd59a4320e79cd3fd673a47922a091361b3bb45d15f92e6ac112af94abb407be2bff22ac4ed3d5c647e0ad6ac5f502a9d2756ff8346 SHA512 d94cfa93c26f1f654da9d26419ed63102a88b94732806c6c6c1363afe3adfb10535b68aa2d2f0117854f9a5b9478fc45e165bf5cc714795e3080e2fe9f53d259
82 -DIST thunderbird-91.9.0-vi.xpi 725525 BLAKE2B 461921f0281f635f4538f3f6303857526fff956b3911aae4473d9e191cbaf9b3ab639f25d54fd0490439f8e6d8e0ef0a83ef33f066c4c48fb3b37bb95b982023 SHA512 1e0bcef6b3d5885d95b792ce86545eb52d57805ef0bf7315224e624ee849c3219c4cd97cf74d9496844887108e6f583d58b2258dedd9d0d60284d7655beca8f6
83 -DIST thunderbird-91.9.0-zh-CN.xpi 730902 BLAKE2B 7b4afa2580ee07dc098940df67e457470cc03cc5f9680e4703ea9001af352113955c54fb318df0335977d41e426b873e41ea2364a7040b75edcd3fdb7a275411 SHA512 7e08d73b0a720800440ec7eb2d5ffd0e7ab393c6e6ecca515f5005bf1e4369a2b048fe5f4805536fc067712aab3b321c9bd546a342762114eac51f59871dff57
84 -DIST thunderbird-91.9.0-zh-TW.xpi 731944 BLAKE2B f1735f02aa8b45ee25ae684e0d63cc132bb6d1993f612bad9882a053749065d8bc0549fb5d74ca97cb4af306e8add6a466c1c001e7c148ebaf18130609a0602a SHA512 6030ad6d3c3b467ceabffbfff4d808ab5c63ffac4ece12b6c81116cf1a9b7cc5ce447f050115b60226ba0d3f9720636cb634bc7beda877eeab55765f1eb799f2
85 -DIST thunderbird-91.9.0.source.tar.xz 403847916 BLAKE2B 6905f18cace97cea12c02776d6b96259fe893cd416e14b4945e2a5982b025d11b4c74736cb6929211c6a9d13f0a5099b77bd40337a3b2c6a8cb9ee5f8fe35cb7 SHA512 474b5aca9c5e54fdc72eebff938f0d217bc039c3ac8d1caf965fb61bd1cf349f389a1df751a525de567a1eeabd7bb1bf2246014e84c7aab89edce059fe2e72d1
86 DIST thunderbird-91.9.1-af.xpi 561894 BLAKE2B c21ea02150f66d06be8751bf0064d6c4410c21f0d8c86a32423037ffa1c1045598f0cf8026a8d640cd13911d2508b2e33a2ea72beaf81516d4e99e019984b525 SHA512 385d5fdd3cdd86b5ece192d912d662e0f0e4e7b9a90e623841f6dfc80c0f361f7e9256894150ce571db387e76f5e4661c1ac14bdac287c8856fba45c131f7f30
87 DIST thunderbird-91.9.1-ar.xpi 665730 BLAKE2B 5a459f8c7f52cbc1299f4da6bcd5596bcbe7364a60c741523c4d7dc191d0830185cbeaac5d34fa9c577d0fccda52c96d1d20f800071a85aa184d55c4c467cc64 SHA512 7b9a8eb206062ec4393a72d8b3f5e0f36791f69a13ff0fab42ff190b4b2fda52d9f106fe23a3e40cee0c4f0796e5d3546bf8b6306316371998f57ec8c28644cb
88 DIST thunderbird-91.9.1-ast.xpi 580511 BLAKE2B 5c3299a9037df6727de7640fde336b52ee23d291acfe6e35dd2c34aab3b29321643a5f2449d12b04628101c5a1528d41aecaa339ea8e54d94a96de4cff0e534b SHA512 9565939eba6df79c91f01d6c1f2243c9c5e8a70653eb035050e037d8e2eae79ab92a1dc272cab2d76f4617366c616b5f58b4e7a16ff3918cdb5ba7783f75a025
89
90 diff --git a/mail-client/thunderbird/thunderbird-91.9.0.ebuild b/mail-client/thunderbird/thunderbird-91.9.0.ebuild
91 deleted file mode 100644
92 index 08dcd4fecb8e..000000000000
93 --- a/mail-client/thunderbird/thunderbird-91.9.0.ebuild
94 +++ /dev/null
95 @@ -1,1139 +0,0 @@
96 -# Copyright 1999-2022 Gentoo Authors
97 -# Distributed under the terms of the GNU General Public License v2
98 -
99 -EAPI="7"
100 -
101 -FIREFOX_PATCHSET="firefox-91esr-patches-06j.tar.xz"
102 -
103 -LLVM_MAX_SLOT=14
104 -
105 -PYTHON_COMPAT=( python3_{8..10} )
106 -PYTHON_REQ_USE="ncurses,sqlite,ssl"
107 -
108 -WANT_AUTOCONF="2.1"
109 -
110 -VIRTUALX_REQUIRED="pgo"
111 -
112 -MOZ_ESR=
113 -
114 -MOZ_PV=${PV}
115 -MOZ_PV_SUFFIX=
116 -if [[ ${PV} =~ (_(alpha|beta|rc).*)$ ]] ; then
117 - MOZ_PV_SUFFIX=${BASH_REMATCH[1]}
118 -
119 - # Convert the ebuild version to the upstream Mozilla version
120 - MOZ_PV="${MOZ_PV/_alpha/a}" # Handle alpha for SRC_URI
121 - MOZ_PV="${MOZ_PV/_beta/b}" # Handle beta for SRC_URI
122 - MOZ_PV="${MOZ_PV%%_rc*}" # Handle rc for SRC_URI
123 -fi
124 -
125 -if [[ -n ${MOZ_ESR} ]] ; then
126 - # ESR releases have slightly different version numbers
127 - MOZ_PV="${MOZ_PV}esr"
128 -fi
129 -
130 -MOZ_PN="${PN%-bin}"
131 -MOZ_P="${MOZ_PN}-${MOZ_PV}"
132 -MOZ_PV_DISTFILES="${MOZ_PV}${MOZ_PV_SUFFIX}"
133 -MOZ_P_DISTFILES="${MOZ_PN}-${MOZ_PV_DISTFILES}"
134 -
135 -inherit autotools check-reqs desktop flag-o-matic gnome2-utils \
136 - llvm multiprocessing optfeature pax-utils python-any-r1 toolchain-funcs \
137 - virtualx xdg
138 -
139 -MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/releases/${MOZ_PV}"
140 -
141 -if [[ ${PV} == *_rc* ]] ; then
142 - MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/candidates/${MOZ_PV}-candidates/build${PV##*_rc}"
143 -fi
144 -
145 -PATCH_URIS=(
146 - https://dev.gentoo.org/~{juippis,polynomial-c,whissi}/mozilla/patchsets/${FIREFOX_PATCHSET}
147 -)
148 -
149 -SRC_URI="${MOZ_SRC_BASE_URI}/source/${MOZ_P}.source.tar.xz -> ${MOZ_P_DISTFILES}.source.tar.xz
150 - ${PATCH_URIS[@]}"
151 -
152 -DESCRIPTION="Thunderbird Mail Client"
153 -HOMEPAGE="https://www.thunderbird.net/"
154 -
155 -KEYWORDS="amd64 ~arm64 ~ppc64 x86"
156 -
157 -SLOT="0"
158 -LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
159 -
160 -IUSE="+clang cpu_flags_arm_neon dbus debug eme-free hardened hwaccel"
161 -IUSE+=" jack lto +openh264 pgo pulseaudio sndio selinux"
162 -IUSE+=" +system-av1 +system-harfbuzz +system-icu +system-jpeg +system-libevent +system-libvpx system-png +system-webp"
163 -IUSE+=" wayland wifi"
164 -
165 -REQUIRED_USE="debug? ( !system-av1 )
166 - pgo? ( lto )
167 - wifi? ( dbus )"
168 -
169 -BDEPEND="${PYTHON_DEPS}
170 - app-arch/unzip
171 - app-arch/zip
172 - >=dev-util/cbindgen-0.19.0
173 - >=net-libs/nodejs-10.23.1
174 - virtual/pkgconfig
175 - >=virtual/rust-1.51.0
176 - || (
177 - (
178 - sys-devel/clang:14
179 - sys-devel/llvm:14
180 - clang? (
181 - =sys-devel/lld-14*
182 - pgo? ( =sys-libs/compiler-rt-sanitizers-14*[profile] )
183 - )
184 - )
185 - (
186 - sys-devel/clang:13
187 - sys-devel/llvm:13
188 - clang? (
189 - =sys-devel/lld-13*
190 - pgo? ( =sys-libs/compiler-rt-sanitizers-13*[profile] )
191 - )
192 - )
193 - (
194 - sys-devel/clang:12
195 - sys-devel/llvm:12
196 - clang? (
197 - =sys-devel/lld-12*
198 - pgo? ( =sys-libs/compiler-rt-sanitizers-12*[profile] )
199 - )
200 - )
201 - )
202 - amd64? ( >=dev-lang/nasm-2.13 )
203 - x86? ( >=dev-lang/nasm-2.13 )"
204 -
205 -COMMON_DEPEND="
206 - >=dev-libs/nss-3.68
207 - >=dev-libs/nspr-4.32
208 - dev-libs/atk
209 - dev-libs/expat
210 - >=x11-libs/cairo-1.10[X]
211 - >=x11-libs/gtk+-3.4.0:3[X]
212 - x11-libs/gdk-pixbuf
213 - >=x11-libs/pango-1.22.0
214 - >=media-libs/mesa-10.2:*
215 - media-libs/fontconfig
216 - >=media-libs/freetype-2.4.10
217 - kernel_linux? ( !pulseaudio? ( media-libs/alsa-lib ) )
218 - virtual/freedesktop-icon-theme
219 - >=x11-libs/pixman-0.19.2
220 - >=dev-libs/glib-2.26:2
221 - >=sys-libs/zlib-1.2.3
222 - >=dev-libs/libffi-3.0.10:=
223 - media-video/ffmpeg
224 - x11-libs/libX11
225 - x11-libs/libxcb:=
226 - x11-libs/libXcomposite
227 - x11-libs/libXdamage
228 - x11-libs/libXext
229 - x11-libs/libXfixes
230 - x11-libs/libXrender
231 - x11-libs/libXt
232 - dbus? (
233 - sys-apps/dbus
234 - dev-libs/dbus-glib
235 - )
236 - system-av1? (
237 - >=media-libs/dav1d-0.8.1:=
238 - >=media-libs/libaom-1.0.0:=
239 - )
240 - system-harfbuzz? (
241 - >=media-libs/harfbuzz-2.8.1:0=
242 - >=media-gfx/graphite2-1.3.13
243 - )
244 - system-icu? ( >=dev-libs/icu-69.1:= )
245 - system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 )
246 - system-libevent? ( >=dev-libs/libevent-2.0:0=[threads] )
247 - system-libvpx? ( >=media-libs/libvpx-1.8.2:0=[postproc] )
248 - system-png? ( >=media-libs/libpng-1.6.35:0=[apng] )
249 - system-webp? ( >=media-libs/libwebp-1.1.0:0= )
250 - wifi? (
251 - kernel_linux? (
252 - sys-apps/dbus
253 - dev-libs/dbus-glib
254 - net-misc/networkmanager
255 - )
256 - )
257 - jack? ( virtual/jack )
258 - selinux? ( sec-policy/selinux-mozilla )
259 - sndio? ( media-sound/sndio )"
260 -
261 -RDEPEND="${COMMON_DEPEND}
262 - jack? ( virtual/jack )
263 - openh264? ( media-libs/openh264:*[plugin] )
264 - pulseaudio? (
265 - || (
266 - media-sound/pulseaudio
267 - >=media-sound/apulse-0.1.12-r4
268 - )
269 - )
270 - selinux? ( sec-policy/selinux-mozilla )
271 - !<x11-plugins/enigmail-2.2"
272 -
273 -DEPEND="${COMMON_DEPEND}
274 - x11-libs/libICE
275 - x11-libs/libSM
276 - pulseaudio? (
277 - || (
278 - media-sound/pulseaudio
279 - >=media-sound/apulse-0.1.12-r4[sdk]
280 - )
281 - )
282 - wayland? ( >=x11-libs/gtk+-3.11:3[wayland] )
283 - amd64? ( virtual/opengl )
284 - x86? ( virtual/opengl )"
285 -
286 -S="${WORKDIR}/${PN}-${PV%_*}"
287 -
288 -llvm_check_deps() {
289 - if ! has_version -b "sys-devel/clang:${LLVM_SLOT}" ; then
290 - einfo "sys-devel/clang:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
291 - return 1
292 - fi
293 -
294 - if use clang ; then
295 - if ! has_version -b "=sys-devel/lld-${LLVM_SLOT}*" ; then
296 - einfo "=sys-devel/lld-${LLVM_SLOT}* is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
297 - return 1
298 - fi
299 -
300 - if use pgo ; then
301 - if ! has_version -b "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*" ; then
302 - einfo "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}* is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
303 - return 1
304 - fi
305 - fi
306 - fi
307 -
308 - einfo "Using LLVM slot ${LLVM_SLOT} to build" >&2
309 -}
310 -
311 -MOZ_LANGS=(
312 - af ar ast be bg br ca cak cs cy da de dsb
313 - el en-CA en-GB en-US es-AR es-ES et eu
314 - fi fr fy-NL ga-IE gd gl he hr hsb hu
315 - id is it ja ka kab kk ko lt lv ms nb-NO nl nn-NO
316 - pa-IN pl pt-BR pt-PT rm ro ru
317 - sk sl sq sr sv-SE th tr uk uz vi zh-CN zh-TW
318 -)
319 -
320 -mozilla_set_globals() {
321 - # https://bugs.gentoo.org/587334
322 - local MOZ_TOO_REGIONALIZED_FOR_L10N=(
323 - fy-NL ga-IE gu-IN hi-IN hy-AM nb-NO ne-NP nn-NO pa-IN sv-SE
324 - )
325 -
326 - local lang xflag
327 - for lang in "${MOZ_LANGS[@]}" ; do
328 - # en and en_US are handled internally
329 - if [[ ${lang} == en ]] || [[ ${lang} == en-US ]] ; then
330 - continue
331 - fi
332 -
333 - # strip region subtag if $lang is in the list
334 - if has ${lang} "${MOZ_TOO_REGIONALIZED_FOR_L10N[@]}" ; then
335 - xflag=${lang%%-*}
336 - else
337 - xflag=${lang}
338 - fi
339 -
340 - SRC_URI+=" l10n_${xflag/[_@]/-}? ("
341 - SRC_URI+=" ${MOZ_SRC_BASE_URI}/linux-x86_64/xpi/${lang}.xpi -> ${MOZ_P_DISTFILES}-${lang}.xpi"
342 - SRC_URI+=" )"
343 - IUSE+=" l10n_${xflag/[_@]/-}"
344 - done
345 -}
346 -mozilla_set_globals
347 -
348 -moz_clear_vendor_checksums() {
349 - debug-print-function ${FUNCNAME} "$@"
350 -
351 - if [[ ${#} -ne 1 ]] ; then
352 - die "${FUNCNAME} requires exact one argument"
353 - fi
354 -
355 - einfo "Clearing cargo checksums for ${1} ..."
356 -
357 - sed -i \
358 - -e 's/\("files":{\)[^}]*/\1/' \
359 - "${S}"/third_party/rust/${1}/.cargo-checksum.json \
360 - || die
361 -}
362 -
363 -moz_install_xpi() {
364 - debug-print-function ${FUNCNAME} "$@"
365 -
366 - if [[ ${#} -lt 2 ]] ; then
367 - die "${FUNCNAME} requires at least two arguments"
368 - fi
369 -
370 - local DESTDIR=${1}
371 - shift
372 -
373 - insinto "${DESTDIR}"
374 -
375 - local emid xpi_file xpi_tmp_dir
376 - for xpi_file in "${@}" ; do
377 - emid=
378 - xpi_tmp_dir=$(mktemp -d --tmpdir="${T}")
379 -
380 - # Unpack XPI
381 - unzip -qq "${xpi_file}" -d "${xpi_tmp_dir}" || die
382 -
383 - # Determine extension ID
384 - if [[ -f "${xpi_tmp_dir}/install.rdf" ]] ; then
385 - emid=$(sed -n -e '/install-manifest/,$ { /em:id/!d; s/.*[\">]\([^\"<>]*\)[\"<].*/\1/; p; q }' "${xpi_tmp_dir}/install.rdf")
386 - [[ -z "${emid}" ]] && die "failed to determine extension id from install.rdf"
387 - elif [[ -f "${xpi_tmp_dir}/manifest.json" ]] ; then
388 - emid=$(sed -n -e 's/.*"id": "\([^"]*\)".*/\1/p' "${xpi_tmp_dir}/manifest.json")
389 - [[ -z "${emid}" ]] && die "failed to determine extension id from manifest.json"
390 - else
391 - die "failed to determine extension id"
392 - fi
393 -
394 - einfo "Installing ${emid}.xpi into ${ED}${DESTDIR} ..."
395 - newins "${xpi_file}" "${emid}.xpi"
396 - done
397 -}
398 -
399 -mozconfig_add_options_ac() {
400 - debug-print-function ${FUNCNAME} "$@"
401 -
402 - if [[ ${#} -lt 2 ]] ; then
403 - die "${FUNCNAME} requires at least two arguments"
404 - fi
405 -
406 - local reason=${1}
407 - shift
408 -
409 - local option
410 - for option in ${@} ; do
411 - echo "ac_add_options ${option} # ${reason}" >>${MOZCONFIG}
412 - done
413 -}
414 -
415 -mozconfig_add_options_mk() {
416 - debug-print-function ${FUNCNAME} "$@"
417 -
418 - if [[ ${#} -lt 2 ]] ; then
419 - die "${FUNCNAME} requires at least two arguments"
420 - fi
421 -
422 - local reason=${1}
423 - shift
424 -
425 - local option
426 - for option in ${@} ; do
427 - echo "mk_add_options ${option} # ${reason}" >>${MOZCONFIG}
428 - done
429 -}
430 -
431 -mozconfig_use_enable() {
432 - debug-print-function ${FUNCNAME} "$@"
433 -
434 - if [[ ${#} -lt 1 ]] ; then
435 - die "${FUNCNAME} requires at least one arguments"
436 - fi
437 -
438 - local flag=$(use_enable "${@}")
439 - mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" "${flag}"
440 -}
441 -
442 -mozconfig_use_with() {
443 - debug-print-function ${FUNCNAME} "$@"
444 -
445 - if [[ ${#} -lt 1 ]] ; then
446 - die "${FUNCNAME} requires at least one arguments"
447 - fi
448 -
449 - local flag=$(use_with "${@}")
450 - mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" "${flag}"
451 -}
452 -
453 -pkg_pretend() {
454 - if [[ ${MERGE_TYPE} != binary ]] ; then
455 - if use pgo ; then
456 - if ! has usersandbox $FEATURES ; then
457 - die "You must enable usersandbox as X server can not run as root!"
458 - fi
459 - fi
460 -
461 - # Ensure we have enough disk space to compile
462 - if use pgo || use lto || use debug ; then
463 - CHECKREQS_DISK_BUILD="13500M"
464 - else
465 - CHECKREQS_DISK_BUILD="6400M"
466 - fi
467 -
468 - check-reqs_pkg_pretend
469 - fi
470 -}
471 -
472 -pkg_setup() {
473 - if [[ ${MERGE_TYPE} != binary ]] ; then
474 - if use pgo ; then
475 - if ! has userpriv ${FEATURES} ; then
476 - eerror "Building ${PN} with USE=pgo and FEATURES=-userpriv is not supported!"
477 - fi
478 - fi
479 -
480 - # Ensure we have enough disk space to compile
481 - if use pgo || use lto || use debug ; then
482 - CHECKREQS_DISK_BUILD="13500M"
483 - else
484 - CHECKREQS_DISK_BUILD="6400M"
485 - fi
486 -
487 - check-reqs_pkg_setup
488 -
489 - llvm_pkg_setup
490 -
491 - if use clang && use lto ; then
492 - local version_lld=$(ld.lld --version 2>/dev/null | awk '{ print $2 }')
493 - [[ -n ${version_lld} ]] && version_lld=$(ver_cut 1 "${version_lld}")
494 - [[ -z ${version_lld} ]] && die "Failed to read ld.lld version!"
495 -
496 - local version_llvm_rust=$(rustc -Vv 2>/dev/null | grep -F -- 'LLVM version:' | awk '{ print $3 }')
497 - [[ -n ${version_llvm_rust} ]] && version_llvm_rust=$(ver_cut 1 "${version_llvm_rust}")
498 - [[ -z ${version_llvm_rust} ]] && die "Failed to read used LLVM version from rustc!"
499 -
500 - if ver_test "${version_lld}" -ne "${version_llvm_rust}" ; then
501 - eerror "Rust is using LLVM version ${version_llvm_rust} but ld.lld version belongs to LLVM version ${version_lld}."
502 - eerror "You will be unable to link ${CATEGORY}/${PN}. To proceed you have the following options:"
503 - eerror " - Manually switch rust version using 'eselect rust' to match used LLVM version"
504 - eerror " - Switch to dev-lang/rust[system-llvm] which will guarantee matching version"
505 - eerror " - Build ${CATEGORY}/${PN} without USE=lto"
506 - eerror " - Rebuild lld with llvm that was used to build rust (may need to rebuild the whole "
507 - eerror " llvm/clang/lld/rust chain depending on your @world updates)"
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 - if ! use clang && [[ $(gcc-major-version) -eq 11 ]] \
513 - && ! has_version -b ">sys-devel/gcc-11.1.0:11" ; then
514 - # bug 792705
515 - eerror "Using GCC 11 to compile firefox is currently known to be broken (see bug #792705)."
516 - die "Set USE=clang or select <gcc-11 to build ${CATEGORY}/${P}."
517 - fi
518 -
519 - python-any-r1_pkg_setup
520 -
521 - # Avoid PGO profiling problems due to enviroment leakage
522 - # These should *always* be cleaned up anyway
523 - unset \
524 - DBUS_SESSION_BUS_ADDRESS \
525 - DISPLAY \
526 - ORBIT_SOCKETDIR \
527 - SESSION_MANAGER \
528 - XAUTHORITY \
529 - XDG_CACHE_HOME \
530 - XDG_SESSION_COOKIE
531 -
532 - # Build system is using /proc/self/oom_score_adj, bug #604394
533 - addpredict /proc/self/oom_score_adj
534 -
535 - if use pgo ; then
536 - # Allow access to GPU during PGO run
537 - local ati_cards mesa_cards nvidia_cards render_cards
538 - shopt -s nullglob
539 -
540 - ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g')
541 - if [[ -n "${ati_cards}" ]] ; then
542 - addpredict "${ati_cards}"
543 - fi
544 -
545 - mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g')
546 - if [[ -n "${mesa_cards}" ]] ; then
547 - addpredict "${mesa_cards}"
548 - fi
549 -
550 - nvidia_cards=$(echo -n /dev/nvidia* | sed 's/ /:/g')
551 - if [[ -n "${nvidia_cards}" ]] ; then
552 - addpredict "${nvidia_cards}"
553 - fi
554 -
555 - render_cards=$(echo -n /dev/dri/renderD128* | sed 's/ /:/g')
556 - if [[ -n "${render_cards}" ]] ; then
557 - addpredict "${render_cards}"
558 - fi
559 -
560 - shopt -u nullglob
561 - fi
562 -
563 - if ! mountpoint -q /dev/shm ; then
564 - # If /dev/shm is not available, configure is known to fail with
565 - # a traceback report referencing /usr/lib/pythonN.N/multiprocessing/synchronize.py
566 - ewarn "/dev/shm is not mounted -- expect build failures!"
567 - fi
568 -
569 - # Google API keys (see http://www.chromium.org/developers/how-tos/api-keys)
570 - # Note: These are for Gentoo Linux use ONLY. For your own distribution, please
571 - # get your own set of keys.
572 - if [[ -z "${MOZ_API_KEY_GOOGLE+set}" ]] ; then
573 - MOZ_API_KEY_GOOGLE="AIzaSyDEAOvatFogGaPi0eTgsV_ZlEzx0ObmepsMzfAc"
574 - fi
575 -
576 - if [[ -z "${MOZ_API_KEY_LOCATION+set}" ]] ; then
577 - MOZ_API_KEY_LOCATION="AIzaSyB2h2OuRgGaPicUgy5N-5hsZqiPW6sH3n_rptiQ"
578 - fi
579 -
580 - # Mozilla API keys (see https://location.services.mozilla.com/api)
581 - # Note: These are for Gentoo Linux use ONLY. For your own distribution, please
582 - # get your own set of keys.
583 - if [[ -z "${MOZ_API_KEY_MOZILLA+set}" ]] ; then
584 - MOZ_API_KEY_MOZILLA="edb3d487-3a84-46m0ap1e3-9dfd-92b5efaaa005"
585 - fi
586 -
587 - # Ensure we use C locale when building, bug #746215
588 - export LC_ALL=C
589 - fi
590 -}
591 -
592 -src_unpack() {
593 - local _lp_dir="${WORKDIR}/language_packs"
594 - local _src_file
595 -
596 - if [[ ! -d "${_lp_dir}" ]] ; then
597 - mkdir "${_lp_dir}" || die
598 - fi
599 -
600 - for _src_file in ${A} ; do
601 - if [[ ${_src_file} == *.xpi ]]; then
602 - cp "${DISTDIR}/${_src_file}" "${_lp_dir}" || die "Failed to copy '${_src_file}' to '${_lp_dir}'!"
603 - else
604 - unpack ${_src_file}
605 - fi
606 - done
607 -}
608 -
609 -src_prepare() {
610 - if use lto; then
611 - rm -v "${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch || die
612 - fi
613 -
614 - if use system-av1 && has_version "<media-libs/dav1d-1.0.0"; then
615 - rm -v "${WORKDIR}"/firefox-patches/0033-bgo-835788-dav1d-1.0.0-support.patch || die
616 - elog "<media-libs/dav1d-1.0.0 detected, removing 1.0.0 compat patch."
617 - elif ! use system-av1; then
618 - rm -v "${WORKDIR}"/firefox-patches/0033-bgo-835788-dav1d-1.0.0-support.patch || die
619 - elog "-system-av1 USE flag detected, removing 1.0.0 compat patch."
620 - fi
621 -
622 - eapply "${WORKDIR}/firefox-patches"
623 -
624 - # Allow user to apply any additional patches without modifing ebuild
625 - eapply_user
626 -
627 - # Make cargo respect MAKEOPTS
628 - export CARGO_BUILD_JOBS="$(makeopts_jobs)"
629 -
630 - # Make LTO respect MAKEOPTS
631 - sed -i \
632 - -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
633 - "${S}"/build/moz.configure/lto-pgo.configure \
634 - || die "sed failed to set num_cores"
635 -
636 - # Make ICU respect MAKEOPTS
637 - sed -i \
638 - -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
639 - "${S}"/intl/icu_sources_data.py \
640 - || die "sed failed to set num_cores"
641 -
642 - # sed-in toolchain prefix
643 - sed -i \
644 - -e "s/objdump/${CHOST}-objdump/" \
645 - "${S}"/python/mozbuild/mozbuild/configure/check_debug_ranges.py \
646 - || die "sed failed to set toolchain prefix"
647 -
648 - sed -i \
649 - -e 's/ccache_stats = None/return None/' \
650 - "${S}"/python/mozbuild/mozbuild/controller/building.py \
651 - || die "sed failed to disable ccache stats call"
652 -
653 - einfo "Removing pre-built binaries ..."
654 - find "${S}"/third_party -type f \( -name '*.so' -o -name '*.o' \) -print -delete || die
655 -
656 - # Clearing checksums where we have applied patches
657 - moz_clear_vendor_checksums target-lexicon-0.9.0
658 -
659 - # Create build dir
660 - BUILD_DIR="${WORKDIR}/${PN}_build"
661 - mkdir -p "${BUILD_DIR}" || die
662 -
663 - # Write API keys to disk
664 - echo -n "${MOZ_API_KEY_GOOGLE//gGaPi/}" > "${S}"/api-google.key || die
665 - echo -n "${MOZ_API_KEY_LOCATION//gGaPi/}" > "${S}"/api-location.key || die
666 - echo -n "${MOZ_API_KEY_MOZILLA//m0ap1/}" > "${S}"/api-mozilla.key || die
667 -
668 - xdg_src_prepare
669 -}
670 -
671 -src_configure() {
672 - # Show flags set at the beginning
673 - einfo "Current BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}"
674 - einfo "Current CFLAGS:\t\t${CFLAGS:-no value set}"
675 - einfo "Current CXXFLAGS:\t\t${CXXFLAGS:-no value set}"
676 - einfo "Current LDFLAGS:\t\t${LDFLAGS:-no value set}"
677 - einfo "Current RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}"
678 -
679 - local have_switched_compiler=
680 - if use clang && ! tc-is-clang ; then
681 - # Force clang
682 - einfo "Enforcing the use of clang due to USE=clang ..."
683 - have_switched_compiler=yes
684 - AR=llvm-ar
685 - CC=${CHOST}-clang
686 - CXX=${CHOST}-clang++
687 - NM=llvm-nm
688 - RANLIB=llvm-ranlib
689 - elif ! use clang && ! tc-is-gcc ; then
690 - # Force gcc
691 - have_switched_compiler=yes
692 - einfo "Enforcing the use of gcc due to USE=-clang ..."
693 - AR=gcc-ar
694 - CC=${CHOST}-gcc
695 - CXX=${CHOST}-g++
696 - NM=gcc-nm
697 - RANLIB=gcc-ranlib
698 - fi
699 -
700 - if [[ -n "${have_switched_compiler}" ]] ; then
701 - # Because we switched active compiler we have to ensure
702 - # that no unsupported flags are set
703 - strip-unsupported-flags
704 - fi
705 -
706 - # Ensure we use correct toolchain
707 - export HOST_CC="$(tc-getBUILD_CC)"
708 - export HOST_CXX="$(tc-getBUILD_CXX)"
709 - tc-export CC CXX LD AR NM OBJDUMP RANLIB PKG_CONFIG
710 -
711 - # Pass the correct toolchain paths through cbindgen
712 - if tc-is-cross-compiler ; then
713 - export BINDGEN_CFLAGS="${SYSROOT:+--sysroot=${ESYSROOT}} --target=${CHOST} ${BINDGEN_CFLAGS-}"
714 - fi
715 -
716 - # Set MOZILLA_FIVE_HOME
717 - export MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
718 -
719 - # python/mach/mach/mixin/process.py fails to detect SHELL
720 - export SHELL="${EPREFIX}/bin/bash"
721 -
722 - # Set state path
723 - export MOZBUILD_STATE_PATH="${BUILD_DIR}"
724 -
725 - # Set MOZCONFIG
726 - export MOZCONFIG="${S}/.mozconfig"
727 -
728 - # Initialize MOZCONFIG
729 - mozconfig_add_options_ac '' --enable-application=comm/mail
730 -
731 - # Set Gentoo defaults
732 - export MOZILLA_OFFICIAL=1
733 -
734 - mozconfig_add_options_ac 'Gentoo default' \
735 - --allow-addon-sideload \
736 - --disable-cargo-incremental \
737 - --disable-crashreporter \
738 - --disable-install-strip \
739 - --disable-strip \
740 - --disable-updater \
741 - --enable-js-shell \
742 - --enable-official-branding \
743 - --enable-release \
744 - --enable-system-ffi \
745 - --enable-system-pixman \
746 - --host="${CBUILD:-${CHOST}}" \
747 - --libdir="${EPREFIX}/usr/$(get_libdir)" \
748 - --prefix="${EPREFIX}/usr" \
749 - --target="${CHOST}" \
750 - --without-ccache \
751 - --with-intl-api \
752 - --with-libclang-path="$(llvm-config --libdir)" \
753 - --with-system-nspr \
754 - --with-system-nss \
755 - --with-system-zlib \
756 - --with-toolchain-prefix="${CHOST}-" \
757 - --with-unsigned-addon-scopes=app,system \
758 - --x-includes="${ESYSROOT}/usr/include" \
759 - --x-libraries="${ESYSROOT}/usr/$(get_libdir)"
760 -
761 - # Set update channel
762 - local update_channel=release
763 - [[ -n ${MOZ_ESR} ]] && update_channel=esr
764 - mozconfig_add_options_ac '' --update-channel=${update_channel}
765 -
766 - if ! use x86 && [[ ${CHOST} != armv*h* ]] ; then
767 - mozconfig_add_options_ac '' --enable-rust-simd
768 - fi
769 -
770 - if [[ -s "${S}/api-google.key" ]] ; then
771 - local key_origin="Gentoo default"
772 - if [[ $(cat "${S}/api-google.key" | md5sum | awk '{ print $1 }') != 709560c02f94b41f9ad2c49207be6c54 ]] ; then
773 - key_origin="User value"
774 - fi
775 -
776 - mozconfig_add_options_ac "${key_origin}" \
777 - --with-google-safebrowsing-api-keyfile="${S}/api-google.key"
778 - else
779 - einfo "Building without Google API key ..."
780 - fi
781 -
782 - if [[ -s "${S}/api-location.key" ]] ; then
783 - local key_origin="Gentoo default"
784 - if [[ $(cat "${S}/api-location.key" | md5sum | awk '{ print $1 }') != ffb7895e35dedf832eb1c5d420ac7420 ]] ; then
785 - key_origin="User value"
786 - fi
787 -
788 - mozconfig_add_options_ac "${key_origin}" \
789 - --with-google-location-service-api-keyfile="${S}/api-location.key"
790 - else
791 - einfo "Building without Location API key ..."
792 - fi
793 -
794 - if [[ -s "${S}/api-mozilla.key" ]] ; then
795 - local key_origin="Gentoo default"
796 - if [[ $(cat "${S}/api-mozilla.key" | md5sum | awk '{ print $1 }') != 3927726e9442a8e8fa0e46ccc39caa27 ]] ; then
797 - key_origin="User value"
798 - fi
799 -
800 - mozconfig_add_options_ac "${key_origin}" \
801 - --with-mozilla-api-keyfile="${S}/api-mozilla.key"
802 - else
803 - einfo "Building without Mozilla API key ..."
804 - fi
805 -
806 - mozconfig_use_with system-av1
807 - mozconfig_use_with system-harfbuzz
808 - mozconfig_use_with system-harfbuzz system-graphite2
809 - mozconfig_use_with system-icu
810 - mozconfig_use_with system-jpeg
811 - mozconfig_use_with system-libevent system-libevent "${ESYSROOT}/usr"
812 - mozconfig_use_with system-libvpx
813 - mozconfig_use_with system-png
814 - mozconfig_use_with system-webp
815 -
816 - mozconfig_use_enable dbus
817 -
818 - use eme-free && mozconfig_add_options_ac '+eme-free' --disable-eme
819 -
820 - if use hardened ; then
821 - mozconfig_add_options_ac "+hardened" --enable-hardening
822 - append-ldflags "-Wl,-z,relro -Wl,-z,now"
823 - fi
824 -
825 - mozconfig_use_enable jack
826 -
827 - mozconfig_use_enable pulseaudio
828 - # force the deprecated alsa sound code if pulseaudio is disabled
829 - if use kernel_linux && ! use pulseaudio ; then
830 - mozconfig_add_options_ac '-pulseaudio' --enable-alsa
831 - fi
832 -
833 - mozconfig_use_enable sndio
834 -
835 - mozconfig_use_enable wifi necko-wifi
836 -
837 - if use wayland ; then
838 - mozconfig_add_options_ac '+wayland' --enable-default-toolkit=cairo-gtk3-wayland
839 - else
840 - mozconfig_add_options_ac '' --enable-default-toolkit=cairo-gtk3
841 - fi
842 -
843 - if use lto ; then
844 - if use clang ; then
845 - # Upstream only supports lld when using clang
846 - mozconfig_add_options_ac "forcing ld=lld due to USE=clang and USE=lto" --enable-linker=lld
847 -
848 - mozconfig_add_options_ac '+lto' --enable-lto=cross
849 - else
850 - # ld.gold is known to fail:
851 - # /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld.gold: internal error in set_xindex, at /var/tmp/portage/sys-devel/binutils-2.37_p1-r1/work/binutils-2.37/gold/object.h:1050
852 -
853 - # ThinLTO is currently broken, see bmo#1644409
854 - mozconfig_add_options_ac '+lto' --enable-lto=full
855 - mozconfig_add_options_ac "linker is set to bfd" --enable-linker=bfd
856 - fi
857 -
858 - if use pgo ; then
859 - mozconfig_add_options_ac '+pgo' MOZ_PGO=1
860 -
861 - if use clang ; then
862 - # Used in build/pgo/profileserver.py
863 - export LLVM_PROFDATA="llvm-profdata"
864 - fi
865 - fi
866 - else
867 - # Avoid auto-magic on linker
868 - if use clang ; then
869 - # This is upstream's default
870 - mozconfig_add_options_ac "forcing ld=lld due to USE=clang" --enable-linker=lld
871 - else
872 - mozconfig_add_options_ac "linker is set to bfd" --enable-linker=bfd
873 - fi
874 - fi
875 -
876 - # LTO flag was handled via configure
877 - filter-flags '-flto*'
878 -
879 - mozconfig_use_enable debug
880 - if use debug ; then
881 - mozconfig_add_options_ac '+debug' --disable-optimize
882 - else
883 - if is-flag '-g*' ; then
884 - if use clang ; then
885 - mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols=$(get-flag '-g*')
886 - else
887 - mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols
888 - fi
889 - else
890 - mozconfig_add_options_ac 'Gentoo default' --disable-debug-symbols
891 - fi
892 -
893 - if is-flag '-O0' ; then
894 - mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O0
895 - elif is-flag '-O4' ; then
896 - mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O4
897 - elif is-flag '-O3' ; then
898 - mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O3
899 - elif is-flag '-O1' ; then
900 - mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O1
901 - elif is-flag '-Os' ; then
902 - mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-Os
903 - else
904 - mozconfig_add_options_ac "Gentoo default" --enable-optimize=-O2
905 - fi
906 - fi
907 -
908 - # Debug flag was handled via configure
909 - filter-flags '-g*'
910 -
911 - # Optimization flag was handled via configure
912 - filter-flags '-O*'
913 -
914 - # Modifications to better support ARM, bug #553364
915 - if use cpu_flags_arm_neon ; then
916 - mozconfig_add_options_ac '+cpu_flags_arm_neon' --with-fpu=neon
917 -
918 - if ! tc-is-clang ; then
919 - # thumb options aren't supported when using clang, bug 666966
920 - mozconfig_add_options_ac '+cpu_flags_arm_neon' \
921 - --with-thumb=yes \
922 - --with-thumb-interwork=no
923 - fi
924 - fi
925 -
926 - if [[ ${CHOST} == armv*h* ]] ; then
927 - mozconfig_add_options_ac 'CHOST=armv*h*' --with-float-abi=hard
928 -
929 - if ! use system-libvpx ; then
930 - sed -i \
931 - -e "s|softfp|hard|" \
932 - "${S}"/media/libvpx/moz.build \
933 - || die
934 - fi
935 - fi
936 -
937 - if use clang ; then
938 - # https://bugzilla.mozilla.org/show_bug.cgi?id=1482204
939 - # https://bugzilla.mozilla.org/show_bug.cgi?id=1483822
940 - # toolkit/moz.configure Elfhack section: target.cpu in ('arm', 'x86', 'x86_64')
941 - local disable_elf_hack=
942 - if use amd64 ; then
943 - disable_elf_hack=yes
944 - elif use x86 ; then
945 - disable_elf_hack=yes
946 - elif use arm ; then
947 - disable_elf_hack=yes
948 - fi
949 -
950 - if [[ -n ${disable_elf_hack} ]] ; then
951 - mozconfig_add_options_ac 'elf-hack is broken when using Clang' --disable-elf-hack
952 - fi
953 - elif tc-is-gcc ; then
954 - if ver_test $(gcc-fullversion) -ge 10 ; then
955 - einfo "Forcing -fno-tree-loop-vectorize to workaround GCC bug, see bug 758446 ..."
956 - append-cxxflags -fno-tree-loop-vectorize
957 - fi
958 - fi
959 -
960 - # Additional ARCH support
961 - case "${ARCH}" in
962 - arm)
963 - # Reduce the memory requirements for linking
964 - if use clang ; then
965 - # Nothing to do
966 - :;
967 - elif tc-ld-is-gold || use lto ; then
968 - append-ldflags -Wl,--no-keep-memory
969 - else
970 - append-ldflags -Wl,--no-keep-memory -Wl,--reduce-memory-overheads
971 - fi
972 - ;;
973 - esac
974 -
975 - if ! use elibc_glibc ; then
976 - mozconfig_add_options_ac '!elibc_glibc' --disable-jemalloc
977 - fi
978 -
979 - # Allow elfhack to work in combination with unstripped binaries
980 - # when they would normally be larger than 2GiB.
981 - append-ldflags "-Wl,--compress-debug-sections=zlib"
982 -
983 - # Make revdep-rebuild.sh happy; Also required for musl
984 - append-ldflags -Wl,-rpath="${MOZILLA_FIVE_HOME}",--enable-new-dtags
985 -
986 - # Pass $MAKEOPTS to build system
987 - export MOZ_MAKE_FLAGS="${MAKEOPTS}"
988 -
989 - # Use system's Python environment
990 - export MACH_USE_SYSTEM_PYTHON=1
991 -
992 - # Disable notification when build system has finished
993 - export MOZ_NOSPAM=1
994 -
995 - # Portage sets XARGS environment variable to "xargs -r" by default which
996 - # breaks build system's check_prog() function which doesn't support arguments
997 - mozconfig_add_options_ac 'Gentoo default' "XARGS=${EPREFIX}/usr/bin/xargs"
998 -
999 - # Set build dir
1000 - mozconfig_add_options_mk 'Gentoo default' "MOZ_OBJDIR=${BUILD_DIR}"
1001 -
1002 - # Show flags we will use
1003 - einfo "Build BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}"
1004 - einfo "Build CFLAGS:\t\t${CFLAGS:-no value set}"
1005 - einfo "Build CXXFLAGS:\t\t${CXXFLAGS:-no value set}"
1006 - einfo "Build LDFLAGS:\t\t${LDFLAGS:-no value set}"
1007 - einfo "Build RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}"
1008 -
1009 - # Handle EXTRA_CONF and show summary
1010 - local ac opt hash reason
1011 -
1012 - # Apply EXTRA_ECONF entries to $MOZCONFIG
1013 - if [[ -n ${EXTRA_ECONF} ]] ; then
1014 - IFS=\! read -a ac <<<${EXTRA_ECONF// --/\!}
1015 - for opt in "${ac[@]}"; do
1016 - mozconfig_add_options_ac "EXTRA_ECONF" --${opt#--}
1017 - done
1018 - fi
1019 -
1020 - echo
1021 - echo "=========================================================="
1022 - echo "Building ${PF} with the following configuration"
1023 - grep ^ac_add_options "${MOZCONFIG}" | while read ac opt hash reason; do
1024 - [[ -z ${hash} || ${hash} == \# ]] \
1025 - || die "error reading mozconfig: ${ac} ${opt} ${hash} ${reason}"
1026 - printf " %-30s %s\n" "${opt}" "${reason:-mozilla.org default}"
1027 - done
1028 - echo "=========================================================="
1029 - echo
1030 -
1031 - ./mach configure || die
1032 -}
1033 -
1034 -src_compile() {
1035 - local virtx_cmd=
1036 -
1037 - if use pgo ; then
1038 - virtx_cmd=virtx
1039 -
1040 - # Reset and cleanup environment variables used by GNOME/XDG
1041 - gnome2_environment_reset
1042 -
1043 - addpredict /root
1044 - fi
1045 -
1046 - local -x GDK_BACKEND=x11
1047 -
1048 - ${virtx_cmd} ./mach build --verbose \
1049 - || die
1050 -}
1051 -
1052 -src_install() {
1053 - # xpcshell is getting called during install
1054 - pax-mark m \
1055 - "${BUILD_DIR}"/dist/bin/xpcshell \
1056 - "${BUILD_DIR}"/dist/bin/${PN} \
1057 - "${BUILD_DIR}"/dist/bin/plugin-container
1058 -
1059 - DESTDIR="${D}" ./mach install || die
1060 -
1061 - # Upstream cannot ship symlink but we can (bmo#658850)
1062 - rm "${ED}${MOZILLA_FIVE_HOME}/${PN}-bin" || die
1063 - dosym ${PN} ${MOZILLA_FIVE_HOME}/${PN}-bin
1064 -
1065 - # Don't install llvm-symbolizer from sys-devel/llvm package
1066 - if [[ -f "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" ]] ; then
1067 - rm -v "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" || die
1068 - fi
1069 -
1070 - # Install policy (currently only used to disable application updates)
1071 - insinto "${MOZILLA_FIVE_HOME}/distribution"
1072 - newins "${FILESDIR}"/distribution.ini distribution.ini
1073 - newins "${FILESDIR}"/disable-auto-update.policy.json policies.json
1074 -
1075 - # Install system-wide preferences
1076 - local PREFS_DIR="${MOZILLA_FIVE_HOME}/defaults/pref"
1077 - insinto "${PREFS_DIR}"
1078 - newins "${FILESDIR}"/gentoo-default-prefs.js gentoo-prefs.js
1079 -
1080 - local GENTOO_PREFS="${ED}${PREFS_DIR}/gentoo-prefs.js"
1081 -
1082 - # Set dictionary path to use system hunspell
1083 - cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set spellchecker.dictionary_path pref"
1084 - pref("spellchecker.dictionary_path", "${EPREFIX}/usr/share/myspell");
1085 - EOF
1086 -
1087 - # Force hwaccel prefs if USE=hwaccel is enabled
1088 - if use hwaccel ; then
1089 - cat "${FILESDIR}"/gentoo-hwaccel-prefs.js \
1090 - >>"${GENTOO_PREFS}" \
1091 - || die "failed to add prefs to force hardware-accelerated rendering to all-gentoo.js"
1092 - fi
1093 -
1094 - # Force the graphite pref if USE=system-harfbuzz is enabled, since the pref cannot disable it
1095 - if use system-harfbuzz ; then
1096 - cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set gfx.font_rendering.graphite.enabled pref"
1097 - sticky_pref("gfx.font_rendering.graphite.enabled", true);
1098 - EOF
1099 - fi
1100 -
1101 - # Install language packs
1102 - local langpacks=( $(find "${WORKDIR}/language_packs" -type f -name '*.xpi') )
1103 - if [[ -n "${langpacks}" ]] ; then
1104 - moz_install_xpi "${MOZILLA_FIVE_HOME}/distribution/extensions" "${langpacks[@]}"
1105 - fi
1106 -
1107 - # Install icons
1108 - local icon_srcdir="${S}/comm/mail/branding/thunderbird"
1109 - local icon_symbolic_file="${icon_srcdir}/TB-symbolic.svg"
1110 -
1111 - insinto /usr/share/icons/hicolor/symbolic/apps
1112 - newins "${icon_symbolic_file}" ${PN}-symbolic.svg
1113 -
1114 - local icon size
1115 - for icon in "${icon_srcdir}"/default*.png ; do
1116 - size=${icon%.png}
1117 - size=${size##*/default}
1118 -
1119 - if [[ ${size} -eq 48 ]] ; then
1120 - newicon "${icon}" ${PN}.png
1121 - fi
1122 -
1123 - newicon -s ${size} "${icon}" ${PN}.png
1124 - done
1125 -
1126 - # Install menu
1127 - local app_name="Mozilla ${MOZ_PN^}"
1128 - local desktop_file="${FILESDIR}/icon/${PN}-r2.desktop"
1129 - local desktop_filename="${PN}.desktop"
1130 - local exec_command="${PN}"
1131 - local icon="${PN}"
1132 - local use_wayland="false"
1133 -
1134 - if use wayland ; then
1135 - use_wayland="true"
1136 - fi
1137 -
1138 - cp "${desktop_file}" "${WORKDIR}/${PN}.desktop-template" || die
1139 -
1140 - sed -i \
1141 - -e "s:@NAME@:${app_name}:" \
1142 - -e "s:@EXEC@:${exec_command}:" \
1143 - -e "s:@ICON@:${icon}:" \
1144 - "${WORKDIR}/${PN}.desktop-template" \
1145 - || die
1146 -
1147 - newmenu "${WORKDIR}/${PN}.desktop-template" "${desktop_filename}"
1148 -
1149 - rm "${WORKDIR}/${PN}.desktop-template" || die
1150 -
1151 - # Install wrapper script
1152 - [[ -f "${ED}/usr/bin/${PN}" ]] && rm "${ED}/usr/bin/${PN}"
1153 - newbin "${FILESDIR}/${PN}-r1.sh" ${PN}
1154 -
1155 - # Update wrapper
1156 - sed -i \
1157 - -e "s:@PREFIX@:${EPREFIX}/usr:" \
1158 - -e "s:@MOZ_FIVE_HOME@:${MOZILLA_FIVE_HOME}:" \
1159 - -e "s:@APULSELIB_DIR@:${apulselib}:" \
1160 - -e "s:@DEFAULT_WAYLAND@:${use_wayland}:" \
1161 - "${ED}/usr/bin/${PN}" \
1162 - || die
1163 -}
1164 -
1165 -pkg_preinst() {
1166 - xdg_pkg_preinst
1167 -
1168 - # If the apulse libs are available in MOZILLA_FIVE_HOME then apulse
1169 - # does not need to be forced into the LD_LIBRARY_PATH
1170 - if use pulseaudio && has_version ">=media-sound/apulse-0.1.12-r4" ; then
1171 - einfo "APULSE found; Generating library symlinks for sound support ..."
1172 - local lib
1173 - pushd "${ED}${MOZILLA_FIVE_HOME}" &>/dev/null || die
1174 - for lib in ../apulse/libpulse{.so{,.0},-simple.so{,.0}} ; do
1175 - # A quickpkg rolled by hand will grab symlinks as part of the package,
1176 - # so we need to avoid creating them if they already exist.
1177 - if [[ ! -L ${lib##*/} ]] ; then
1178 - ln -s "${lib}" ${lib##*/} || die
1179 - fi
1180 - done
1181 - popd &>/dev/null || die
1182 - fi
1183 -}
1184 -
1185 -pkg_postinst() {
1186 - xdg_pkg_postinst
1187 -
1188 - if use pulseaudio && has_version ">=media-sound/apulse-0.1.12-r4" ; then
1189 - elog "Apulse was detected at merge time on this system and so it will always be"
1190 - elog "used for sound. If you wish to use pulseaudio instead please unmerge"
1191 - elog "media-sound/apulse."
1192 - elog
1193 - fi
1194 -
1195 - local show_doh_information
1196 - local show_shortcut_information
1197 -
1198 - if [[ -z "${REPLACING_VERSIONS}" ]] ; then
1199 - # New install; Tell user that DoH is disabled by default
1200 - show_doh_information=yes
1201 - show_shortcut_information=no
1202 - else
1203 - local replacing_version
1204 - for replacing_version in ${REPLACING_VERSIONS} ; do
1205 - if ver_test "${replacing_version}" -lt 91.0 ; then
1206 - # Tell user that we no longer install a shortcut
1207 - # per supported display protocol
1208 - show_shortcut_information=yes
1209 - fi
1210 - done
1211 - fi
1212 -
1213 - if [[ -n "${show_doh_information}" ]] ; then
1214 - elog
1215 - elog "Note regarding Trusted Recursive Resolver aka DNS-over-HTTPS (DoH):"
1216 - elog "Due to privacy concerns (encrypting DNS might be a good thing, sending all"
1217 - elog "DNS traffic to Cloudflare by default is not a good idea and applications"
1218 - elog "should respect OS configured settings), \"network.trr.mode\" was set to 5"
1219 - elog "(\"Off by choice\") by default."
1220 - elog "You can enable DNS-over-HTTPS in ${PN^}'s preferences."
1221 - fi
1222 -
1223 - if [[ -n "${show_shortcut_information}" ]] ; then
1224 - elog
1225 - elog "Since ${PN}-91.0 we no longer install multiple shortcuts for"
1226 - elog "each supported display protocol. Instead we will only install"
1227 - elog "one generic Mozilla ${PN^} shortcut."
1228 - elog "If you still want to be able to select between running Mozilla ${PN^}"
1229 - elog "on X11 or Wayland, you have to re-create these shortcuts on your own."
1230 - fi
1231 -
1232 - optfeature_header "Optional runtime features:"
1233 - optfeature "encrypted chat support" net-libs/libotr
1234 -}