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, 29 Apr 2022 05:58:09
Message-Id: 1651211882.42ec47afdd97a945017a56fc1434c75d39fe7fcd.juippis@gentoo
1 commit: 42ec47afdd97a945017a56fc1434c75d39fe7fcd
2 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 29 05:30:46 2022 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 29 05:58:02 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42ec47af
7
8 mail-client/thunderbird: drop 91.8.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.8.0.ebuild | 1145 ---------------------
14 2 files changed, 1209 deletions(-)
15
16 diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest
17 index 6c40512eef03..d01c60b49d84 100644
18 --- a/mail-client/thunderbird/Manifest
19 +++ b/mail-client/thunderbird/Manifest
20 @@ -63,70 +63,6 @@ DIST thunderbird-91.7.0-vi.xpi 720551 BLAKE2B 894926fa3cbfe5fce7191eb1f34f11e09d
21 DIST thunderbird-91.7.0-zh-CN.xpi 726136 BLAKE2B 2def8d6a98822e9c886002700417cf1a33db10551419da964fb818c31c7adc0dc47599ab8f4fb00f63373cabb8d20190d28ba7b7c5e6111e7522a96649d0b840 SHA512 5447b0b16597a500e3339d7282bcdd9e6927e719e8c8afa5c71cf608e7a18959be66a4cb3c49eb7400c8fac38ee0ad7d00b41ace819288eb1a9cc2456a32b7ae
22 DIST thunderbird-91.7.0-zh-TW.xpi 727309 BLAKE2B d6dc9650e74a0df619df07d17f3f694b72018fe2335e315c30a2efe0182cdec222ebc24a5b11de2b434a6ebd7e9c9309ea0410bd4d1f45bcc49eed79726aeed1 SHA512 14e74a10c7f0b213c39c0cb1a13d9951a6129d4b009c94c24ea4e346b6ac20d9250fd6a0541414d87af65267e7f6455fd343a6ffa1a2f51617f52bba2eec90a6
23 DIST thunderbird-91.7.0.source.tar.xz 409451024 BLAKE2B 0fe4c7a2da979a8061b2cfe0dce43b675f8854549a20ddacccccb52e20ec814e3c13776ece89247c76e82496ecfd886c7d23d0997841a3c999803c917eee5651 SHA512 2afaee16f155edcb0bdb46ebe282a733cf041ec6f562aebd06f8b675e46917f6f500fcc532fc54d74f3f4b0b489a88934a2c6c304f849873de4bc2690b9056a0
24 -DIST thunderbird-91.8.0-af.xpi 561894 BLAKE2B 91b462c633b65cbf823b8e02b42f00feae17e258950f721e8975ca954324df4f1a734c1791bbe505529f1c54484710777c3512a19dcb89516ef055568020535e SHA512 95bc1cc1b5c57fe0480380dbdb492ef46fc6cb16c7f80c457cb121e5dcac0b573f5d936f57436153402ddc3f7afc70de25c3f36f19ef517497573e150b61f85b
25 -DIST thunderbird-91.8.0-ar.xpi 665730 BLAKE2B e853ba424a52b3dbe1a7fa402e603d8176fa398850a28516b3bb2d4cfe4faf528d92db5619eba0b00b1ef218c01db8c74eb24e2e3d11e56e19ad615db8b1dcbd SHA512 209e45c161567e53b258dc715f16d8d4e3580ceba1be9d5e99cf5d05190e849884942bf0db91c4bcd1f4e883fcea03a4eb3da3022dd09c88282dd6fc422174a0
26 -DIST thunderbird-91.8.0-ast.xpi 580509 BLAKE2B 6ff86567fffecf527c5b814c1ad3a42d7a14e6329f624e34d74e199c5e90c44e39f387c24400c6d3b4ff4ee78fa3ebf7bebba101a5a8819046370830209b3fca SHA512 85f67ad13bdfde1a8c1420c877c1ae5626c11f84e3050c3541d516c4c98c74d02dbd318a1f99e6754175565528080c0b8638a87f14e453f952095c97be1a1ae6
27 -DIST thunderbird-91.8.0-be.xpi 695198 BLAKE2B 6549df276524bfbbadd2d6ac1db55c5c536ce4c9eae4630a95973bb9654c4f6c6f383485438a2d0cdf90bd408621f5abfa8e4ae177db991660aef7bcea1aadcf SHA512 28cc190fb20754aeb15080fb30f942753c96e7d6db3d3202a56dc5be56bcfd144855c8e2a51aa76039b59454ed46608c166a7372267dae818f4c426fd5e9cc6b
28 -DIST thunderbird-91.8.0-bg.xpi 690996 BLAKE2B bfd70be5de08df5cd94c701e7d228ab593d874857d05a04e2c9fdd6428968c752fee68016a388a6762d3e472ff2ccad70a1616c85d671ea8192883a57030fc61 SHA512 26eea7ad31d509f329696e851e98750deaa6b181d8690af4b496213018af761db52dbeaad107094ba24e876555e93b9b056b97b2594cbfd1b0670cc3c1c5a559
29 -DIST thunderbird-91.8.0-br.xpi 620588 BLAKE2B 089ed23537dfac44b0ad0f77081ab059254211534a1a7cccc628b28a1edbdcf41bb63d46d15885d4ad55554018dc2de722f7c565af44cdc952e04660d8d12f9e SHA512 3de805556b0a6adeece0a985b333d131f51c6030bdc00dde7857fabdb28ae8796c3248c5f1ec5460b2a4f6240db2496cf716b6595235db894d855ca6aaa9cd00
30 -DIST thunderbird-91.8.0-ca.xpi 645975 BLAKE2B 9655a0ead07207bbc450b87317731faa946a580914e3d98fbbbb07e02e6c5cd465b0c94ee15dee511a623fefa580ad3b026f3871ac3e5a171e2c32475399ab78 SHA512 fa0cb42e7d9e4638e023de6a48a9e95c94304e6c124ca48503c8c2d5720ca4e3d6e8eb3bc3ad209bf4e3bc720a9fb50ae9c35ffca3de4c02d2578bd593a3bd07
31 -DIST thunderbird-91.8.0-cak.xpi 652065 BLAKE2B 7b1bb074cc76e4a53de73d2c63c21a01512a12f49cc7f5933a8b35b632cf6b4b9760a44e4fcad5830f0c3ba1e5ec97dc511ef92e6f0b03836d4784c57729f786 SHA512 b7faf048bcaa8230ade82cbb6b92097b727963ed5236b7d9c820639b09c616f214ec7f4eddc0ed58b1b30f1002af073a621f3c30b928324dac2817b30a506ca2
32 -DIST thunderbird-91.8.0-cs.xpi 711939 BLAKE2B 57117773304313d72cdbd9a6189f48b9c3f8a9328701be8686a2cfd8952a83ff49c60560aeb95565881e14cfe9b07be685e3f4fd6a51caf634638281a60fb1e6 SHA512 43b65f4d4e97c852bb52818df11e58843502a2ec6d5486c9392993ca3f93632b9638dfefc7af0ed701551156e1a569a3869c1e5de33a37c89544a090098cda87
33 -DIST thunderbird-91.8.0-cy.xpi 688888 BLAKE2B 9f90c4e5b4f595d3ec0622053982a5085c708b2b563c28d412858a07b25bf5648865b5ab8623a1cf6d78ecb3454d47b30e0de0def63241a052437375a318b701 SHA512 83851c82f6688d41abb048e8bb2b478cde284207883983695a5b5f82a87e7c0b871ec1273e8f8f8724954ed14004a521f0b6530684a3cefa94839a609017e6d0
34 -DIST thunderbird-91.8.0-da.xpi 674444 BLAKE2B c95cbca0e1f983cea1a94026cdaedc82b8f481183e2d6a10e082d280d5d3159bf714473afd7a123305f0d0223aa1b8c7dbb3ae583927b4808bed8daac74f7efa SHA512 726f44000fa27c02dc030bc460f6d54db32ba51c2cb3734d08821db02de53c6a1b3636a42af1e2fdf5da5185aae12f4e403581cbeba1996349d7059adf51f1da
35 -DIST thunderbird-91.8.0-de.xpi 697527 BLAKE2B ce6894157eb98b0c44b03ed194abe3cc4cb4a7d9a2d8b6327409cef3c06b84872fc8d3e5bba66a4c5e22811ad60fe54c4303e95b388a72d5520d548ffc556e97 SHA512 49250b25927b681caf751335ad83187fb6b951a8bdb2506cc62efed5508b61a9edc0fc0a3f68a1c53c5088f96b3dc161e74877a900221653e1e94e1dfefadc5d
36 -DIST thunderbird-91.8.0-dsb.xpi 723999 BLAKE2B b43b130e2af3ba412400cc1f464e56bc872f020aa3ac9429b764df0435d78cd26b913f85978799e1a217f7dae057efff5f5fff6eb2fbf92f1932cab0b8bf0a1e SHA512 0980f9c3e3da3441c9e9cf3f752ae2bcf04f17646d62f97a925c956689dc09c1d8d232d00a4624392daa52f4ccaf7c39414c3d04a02fd3908c7d2f33053c0d1f
37 -DIST thunderbird-91.8.0-el.xpi 821180 BLAKE2B 2fa30afd1385d3e179528b2b171d5e52e223f791986a93dd9fc5981ff0410f68f5ec168db9c6f623da299d4419784647fb3313737b8226e9c9473ef476605198 SHA512 d8dd82504ebf59eb78a0806caee1f41f892e48bb11d809b69a2db4cc11fc2b1aa20e999162ac837296f047ba573d7c534067c79f2d75ad0b26065b7f9745aaae
38 -DIST thunderbird-91.8.0-en-CA.xpi 647814 BLAKE2B 71c5033b1b26ebcf7a3abcea3dcc4cd9b4fa3df3f23a14d6f87387d05570e9d08eaddf21102b187cac2e770603159441d48487081cb457dd322800af71cf2b4d SHA512 972fb0fe5428b2691cd111d0f64367fb58c7021f18537180146dbd7751642fcaaa8a2174aeb77536c82af5b2dbd9b130051cfda7794a5c7ad0eb3bdff68cfef7
39 -DIST thunderbird-91.8.0-en-GB.xpi 650553 BLAKE2B 3fa7da4a741c8661857da3f208e8a8ad35cceba226d7a1de057bde45a634671b530f80be6befb83fed96b5143724a0cca126adc8370fb25e6751bfb8ac1eb9f0 SHA512 b58f571a15ad8241e4d2636f72ac069f5977ce3ea566b8f6db03921e1a550691a0583094b9420ad1738831665c4ff832d9f521dbc8fd72bf311c233cfb0440b3
40 -DIST thunderbird-91.8.0-es-AR.xpi 700496 BLAKE2B 17409c3e5af16b5f547b811468be17ad1e1ef9fbdcef77929112eb71cdd8f78b8d025386f6911bba41d966432384ceee187a30281f5aa467fece59f751abc161 SHA512 15490f30abdf75740b4b571e42a37d83c0ea176ae44752b9a130d7cd4c56eba74d7daa0cb887fd94be6b07fac812fd41e33b56b9ad9b2f430d272d28a360abf9
41 -DIST thunderbird-91.8.0-es-ES.xpi 630919 BLAKE2B edf81ecc4f5bf4e4239106f483dbb0ff44832e3ce7395b783e5270f82289f34c3e2e9abaeb6b22d952719537d130732dd19bf68ffaa3dd8b2dffe8e7bbdcaf03 SHA512 b0797cd8b1ed968ecc0f56545500bc69acd495b970fa91422b8e2ed1b759d8a92b9ae8de93ae04bb3c457e46beaecd5446ba02554336243ae84dfd45fe0038e0
42 -DIST thunderbird-91.8.0-et.xpi 672170 BLAKE2B 5bddb0c950b7f13dedc288f1cde32b514138bcd7b68ef271855f150a7bcd7c1b00fe8c646597a0dfb07746290cf0d189359f421b293c8e86389580efd2013b5b SHA512 82ab5f85fe4858b31da052f38b0e5450581e016314da9d144ffa82a50508d549deba7ed18d044ced903190290531dc68bbc892cef02aefa6015ebce7efa6c8db
43 -DIST thunderbird-91.8.0-eu.xpi 678263 BLAKE2B 405b038f53980384bab4f0b40da87d168aa6b3c126fed787c108a79088cb097edb19fdea4fada37b7dc8f883e8b9069d20d822c3155ea084ab86f4fd33a8c9fc SHA512 e601e51e285f13e042769bd1783ef0ea4bbf4bc98701a5965d1781e9b86e979cc0df3f49930f1239a97004681c39743ee1498a30fc53ce28dd9154bf333bc7fb
44 -DIST thunderbird-91.8.0-fi.xpi 676629 BLAKE2B 91a0df310c1efa4b47e0490faae286a01e8cb6f0a875bd85a4909c523dc67d3592c39452d88afcd8ed238758a4cc663d859096aa512346db1d642c5e1faa0781 SHA512 af14937b85a34d597ae11b2626280650f75cba26b94dda23e143d94c4e0fa52bc452fa156d6f04963f37ca4459bf6011b5a3b8aa72a1c0dcc204cacc3484fc85
45 -DIST thunderbird-91.8.0-fr.xpi 711453 BLAKE2B 721b600c9a6c9cfbc493bd17eb7918166a2aed6b2ca1bc09686288c70654d232f2ba6eb720bd38ea47bd4a16e6c300a74355f8304604cd58d26794b833715adf SHA512 057a3bd49bb50eeb86ac14839857029065fcd100ab087b9a247ef8033b895e4193c6a465fd0f8ebac42e5618f083367803e698c10998464a3a2e61059f263257
46 -DIST thunderbird-91.8.0-fy-NL.xpi 691880 BLAKE2B 4d358eb6264013aec6fb255e6d9677d2734b63d3e13ea56ec9e2a48da3cd1d9b0bad81b882a43466ccfa3e8c9b556332f51baabdb4e02d525344b87ebcae4a65 SHA512 fa3464d240184bff5937c52b230b4af6b9343a281a9a8d43927bbb31c935416ca7b996ad34615987eb89d8c9bfd1342b1cc8623242b73c40c64d3ef8a4c2e4c8
47 -DIST thunderbird-91.8.0-ga-IE.xpi 613124 BLAKE2B 0f91cdba04f1cd83049f785c5fc0eb3fc4ed5944d99bb02a41ea622c084865c374d9d1cad4e5ff0b6ca64f0e69b74aa081bd5c46cbd44492e77587283279cc54 SHA512 5cf99613fc798b12046c6c1326ed4d67ef1e11ffacdb27f80bee8da7e7ddac034ed6a7c02e387b8fbe7cc5f0755b5081818d50bd69f34fc9adab923bed499066
48 -DIST thunderbird-91.8.0-gd.xpi 640649 BLAKE2B bc0717c69f557d39688c11839414821f846f94e5752b48c0336eb5f985006350f74e4834eb7fcc5ef4a863d8a884751501e9ccfea980b22c1f5ea392c89ff62e SHA512 298b4441e8d262531763391d857d7de2f6f327b4ac06775783d53019d7512dd16f35655f7f4e565e405fe0e4edd91a9ed60c4126f72b2097584a8ff78504cd5d
49 -DIST thunderbird-91.8.0-gl.xpi 677789 BLAKE2B de1523aeb7dd9a3f5080e0ba38785883d56c53402119f0faa2684e656c8953c3137c42b47b6cb908e517531ffdd845ae7210df0280d33784d3145100d7df06cd SHA512 2a19b357c916c805a41fe5846551bde08a463a8aafc5669d2f41abbbe9d5c4d3332a0a3b08f7aa1f204217935da1cf24eacca1486531b73c03a838bd14571e3b
50 -DIST thunderbird-91.8.0-he.xpi 673191 BLAKE2B be07e8279df2d99709b1a0bab1fa481f963e44a539274fdc0cd742d37846ef170e6082521f0ae226809fde7fb61ac8622a76b6778773394f072b703cb804d632 SHA512 d4bfd6b0939ef8e2220cc45983d43b7afa14551a644a6de7f87b4a53b7f20060aff6476949ad4e47842e036eea30ad3118582b66c432752d74edb3ba1badec9c
51 -DIST thunderbird-91.8.0-hr.xpi 653580 BLAKE2B c4f747c9668fb360dd1b95f73e2bae4b84db0728a5b09aa074c3f1e08f09227a5af4950fc91d6bc74407d3f9bedfbd49f91f2e14dc88e373bfac2f74e4abbe20 SHA512 d516404feeda698def0a70db061e4340622ff2bd5285cdb9ca3bc264e238619b31af50b8767fde8a86fbe74f223b7bd99a50a154094864784f0e57b25d2fbaf4
52 -DIST thunderbird-91.8.0-hsb.xpi 720812 BLAKE2B 02d24764d07118d7464b2e7c1e3adea97787bafe95f92a8e2570ab5d900d66991cfb5599aea8c593b1f6e1b9e458b7c352478dbec4180f8df2c3d1dbebeb68f4 SHA512 f47dd956d599cff3cca9095b405dd9b8876560b93a90c883fe35dcd840e07f0bfb76ecf28f0451abf694bc06e787e807393357159e912c750cad59178075db8c
53 -DIST thunderbird-91.8.0-hu.xpi 723400 BLAKE2B cd1bc27ad150e67398054da416f730b5980d18fd610bd4611aaf1d4122d5575ec3c3f9f1c37fef77aef6a265ea0e0edaa15a477ce8a274977515121b29fab317 SHA512 460cbe5bb1617f7d2be22aa10cb7f592691700bec47756461c82f22d3789b3a1ef42a24d5ea391bf9242d6489ca25d1c6515b91f629b758a50e9166c8d4bd54b
54 -DIST thunderbird-91.8.0-id.xpi 648250 BLAKE2B 5417b6a08c5c3dd1b0ccf7aa5ef5e3c4cbf4d4f6f468b7c1eca0e1444546b8e25ddb10d1601d42911952d5a1a55a5885057904912cdebe795f93672fe6ba529d SHA512 dc69edd053e4d0d8aed61ad6d92c6ab83b3001be5f43ef4a85e9974f3297587ee5c252372c3b08cfd26b70987391037789457906f8715705cc45662ea5f48b1f
55 -DIST thunderbird-91.8.0-is.xpi 682261 BLAKE2B 8d754c2e43fc7a42b24aee7329e9a91728f41e15ca23206d185facb24aeca9b071ca3aef8fbff8b9b8d8fc718db5275080716bd08b02ca4ac749760eb3f56664 SHA512 c6dfd8ea989212de68c90f27b14e886d9f098f37a552dab2f03a4a5386e2963c545c83c570bfb027fba824f8fc427ca0add063120b05b6e05c45f899ff2af216
56 -DIST thunderbird-91.8.0-it.xpi 613333 BLAKE2B 28684b199b8267c18d1dc7a06bed6e08f948689ffe47ec63609ab0eb7bca2974ec5c2fb3ea38cd1c9b5543fd2d858576fcd1b014d5b274aab37d28f512616449 SHA512 37d0ee737637fc270b7729eda98324a25b92c3849e61ed33f7ada88ac91b9228942b7b91c7db882193798c1a54b716f9b8da82bc2600be3f755ca677a52f7022
57 -DIST thunderbird-91.8.0-ja.xpi 756466 BLAKE2B 40abc87f56c3503101244281040c259395ecd9bfd91313578437acd7391af4a76fb23c07f27ef66ef2d6b5d75fdbd7ed9cfad1da9c5f5370e105cf09a38510e3 SHA512 86ed9b15f311b747c0673fa5776486c10ac789da5bdf1a970dd2edc70452b8da5f693b361e87825b77b012fe5286bf2de84fe531f33e6448da9a8db7e455af42
58 -DIST thunderbird-91.8.0-ka.xpi 762629 BLAKE2B 8b4e63b2b7d1da8179867e19e82d739649b6e6cbe889c8cbe3ff2921d78e61e1d0d2f4612f6bdd9e6128565cd612495ace60f5714160afe43820bb6ef672b876 SHA512 84d6a450267952fe8d17a26365d5539cdc5d7c29a1d7d92fbeb3b063c404fcf15ee529a0514304307c828d29f174a3464013641a4a3d86c6743099215367b7d5
59 -DIST thunderbird-91.8.0-kab.xpi 677087 BLAKE2B e34b3329159282015859dfd7383f64d53128c3db47b8ec7763b28aee8693f1a965490e8865710f3763a4229dce872c33741cefa34798ad6e283958d76ad45c2b SHA512 33f8c9bc1b32aa2091d522bf7d16f9cb78265716e94b2de696380f07318be381ef74ead362f77dc029e1e48369f68eef8596b29e5a72771a8acc13205338c1f8
60 -DIST thunderbird-91.8.0-kk.xpi 745524 BLAKE2B 0a9e56371eba9bad979b13f4311ffc9287f19880556058e6a415782e4e25617c3d32246f470e0326c215d9e6e7c09e2830bf0b6150417c45a2cd2153b09bccfd SHA512 7dd5086a4e665423176b94bd246c2d52ab17b5c744d878e629f847ec5e7c13342ceb8ad3328bb4c83d4f1c8ac50c161915b05298b6c9a2057d7c240f2d6ed2ae
61 -DIST thunderbird-91.8.0-ko.xpi 704769 BLAKE2B 613375caf04131d5ab907b18b0750b8d9eee8670f126b91450a89240d13fe9c19f1e3a7122a0bca6a83916492462f81b0b63f42b54eaf4c6582e67cbc5334e5e SHA512 cc94d9b5d655ea7139b5c6650e4661b5d3423e4e657bbc0858a0e005b232d48b76662faee5898c71dd00152eb7292caaa677f552176010e83cad9f0099fb7e92
62 -DIST thunderbird-91.8.0-lt.xpi 696044 BLAKE2B 693e3065862bd2c64c7a2873ce6f4958fcbc4fbcb03b47830440961f6f14f62473c73e905c859e2a67847926797656704babd9dfb1799e41bdb4438d6987defb SHA512 d6d843a87b7883ae9d2f9edd10770bba2ecc326c3418925c364654e605a3e22ffe7e3410b6b130cb734b4547ad57a965956e70261c10348aed57bbccfa14852c
63 -DIST thunderbird-91.8.0-lv.xpi 618525 BLAKE2B 9a658e2fe5c802aa6aa4cc3d8b2a3bb834f3f4873c994c9e1fa035dce0df9ac747eb7ea8a87807e36a84bdcf8bc509302ea423db6a747e1ad63a23c8496209ae SHA512 c9c8d9e34dd1c9a95e36d557db0d4e1e18db0e0080c6e82a786d1061aa46f1d89465de9598fccdf97512c8c023a566a07e801f2c713a5893817a83fd671fd8a6
64 -DIST thunderbird-91.8.0-ms.xpi 578080 BLAKE2B 55210dc6f2bc929008c972da98b366e59836a16272464fcdfa391b421c056179f4b4ce2a69ac38432b5207f9ee46d902d26002dd047c567a358664ab741a77f2 SHA512 af148af6d77dccc7111cf84093c4d3c876d3ff597cf1e91eaf35ecfb21fd33e7eb7cf2a30b50655a636b15e651ea6d18e6d0eac6e90df15ba4ebb398c807c76d
65 -DIST thunderbird-91.8.0-nb-NO.xpi 653327 BLAKE2B 1fd577995a7cc28ecbfb3984d3435836c5fb4c9b0e3d5cd7ce32cb68ee23af9e015384df0926fcf9fb54af5efc0bea0ce388cfc13786084985d54c1dad808b22 SHA512 ed1155fd22a92ad1c1f06f13cfe6f853bd18b7b6a1897f100f32d96f91d9463e331cd7dc74af7e2aa57a8139740ecc2c122dae7f221e44a5dd4341d30e5e9364
66 -DIST thunderbird-91.8.0-nl.xpi 685342 BLAKE2B c6c521084b429f5e79b18790e7c9c9336a672058c8616515871a231e1322e9582f63496c5ccaeca4ce57cc20b004da7e46f4439279c40ebf2f2dc0d0610bbec5 SHA512 b6db1edb5b518985705ecbeeeb6b5720c11780bd9b7ce2b2da4078fc339afe818715f20b1dfa246b29fdb8b129115d1af100feca0ceeb7815b841b042752dfff
67 -DIST thunderbird-91.8.0-nn-NO.xpi 658572 BLAKE2B 0accb581df38e71e07161789070de7f5b9caafb51b661521f8554aecc090a835be12e268dc3fa7d1793b4717294d378f69948961c126cf95b6a6d3aa73b9b108 SHA512 a2dac86c96469c3a4d675d8017c67364bdc8fa88d94910a90a663eb425a7476db5b89c307400d64d0092dd9fde0ba9900b3948c036ce4be01d9ca90f4bf8aa43
68 -DIST thunderbird-91.8.0-pa-IN.xpi 652334 BLAKE2B 17140f837ecebc7294d504ab92e60313dd24aeeeae6befa62292aa06a91c654edd51fb23dbb74ddb84b56a79df7e9ef8cb07ad2ebc06c6c60aa69de06e92cc75 SHA512 c57d1de37b7df131a7ca47798f9a152d90bc3a0e940f3d522d4522ec901000ec4016960819d1d77d059ded8057110d9721349cdac30665b99a5a06c5aeca4095
69 -DIST thunderbird-91.8.0-pl.xpi 694112 BLAKE2B 61bff41eb8e80532349e38df87467508f6a50b219e6cb2414914b1432267902c8f6f72c179afede242e914a7b00c0e3828671d6e5ff78c8f526777af4f743365 SHA512 e485cad56e326c8dd8121366f7cda59e7904ae4c269318ec86973a31e0e111331ab082f42afb8298bf6825215bb7b6fe1a6374601859599a992f3913172ccc94
70 -DIST thunderbird-91.8.0-pt-BR.xpi 694133 BLAKE2B 9df2655b9a6afc0375d4e8671c3b02127742ff6de37d5bf0235e846cdb14b9cc60fd8e8effbcbfc64f0d63c806b14e901dd8b1c6927c3e8ce8dc56e39ba67aef SHA512 669f1be2d608e899ed0bfd1c8e5764847baeb8c061523de4d2a648d3ae03e8c528bb69ecdb0fa59c527ae64eda266040d5c30637296c234c3378ceb1aaf39662
71 -DIST thunderbird-91.8.0-pt-PT.xpi 674674 BLAKE2B 95aed11822bd01668063cd345d4e9927bcf312c17c71bbe94228cbcde9dcf396b12b779e329da5ae2710c21f8e046c56402ccfec9c11c8ffa460023b0a61954d SHA512 1f3a3dabbe9937b19ff46e14553829d3605f05d9466156a7e6f26f0813609e534a2b5b80de7529e3bca66a22941d18d5cf6837e95350891f1276727219d07e1d
72 -DIST thunderbird-91.8.0-rm.xpi 687614 BLAKE2B 8f4eaeeaadf3508484567fa66b9e82b9a8280d554700ade05e7f4d0b22a2c0e6ae0e0c854b1367bf43548790d49a6ccf8630d773fa1debe0926e088925f6b8e4 SHA512 d93db38a8f4a435e609f46743c99b8eff760714e1daff365620be059b8a61fca53479b5e2155690bff7a343d86d2adbe308e1c6e818670b18e00a2f97a79257e
73 -DIST thunderbird-91.8.0-ro.xpi 661346 BLAKE2B ccf870b835ca8c92f8077172f3e0f8fee832eecf0cd745367d58c8dbf604ed7b06821fac274f3ded7288984224def1624a690c931b684b4983a188cfda756131 SHA512 0b7df068486121555a5f9fd08c229322fdb889390d61138b1050b9d1c4c916683684d82187f8c7b0e5c5d63bcc82cba0b9597b81dd1406d1f19e31aa8876bf7e
74 -DIST thunderbird-91.8.0-ru.xpi 793374 BLAKE2B 3ff88c83abec94f9a4e21d6a05c9b1870c1eefbaf179c698d7af3bf479e7cfa8a232533a6dbd2607acba8d6553128d04a81ecfa788a062ecddc8919624ecfa3b SHA512 a5f4fd48aae5719a38ae3a715b93146c184a50d7f5dd6a4f44db410c5b0b1464dd2819d5550c3e642950de32f4536b48fd3a2a76a4dfed8c9880be44ce6e2d15
75 -DIST thunderbird-91.8.0-sk.xpi 721093 BLAKE2B d65a0d2a52f1dcf7f73d2d37e73a86b1a7251b907fc5025c1dc65f33234a39cf809ca878c0a18b99edd1c419c0ddc2570fe0580e0cb2c6e8a1c14a150edab5ca SHA512 077c67f7ab72e8dc01038b14a96361ccf6dae8027f80079b63c9c7b2e146f31873754381106d89fd1b1034aa2a779cafd7e5fea752d603269fc6e14548b4b18f
76 -DIST thunderbird-91.8.0-sl.xpi 682544 BLAKE2B 39575e474371b497ebb4e737a883cc46b949e2787691884b432fd21287f3c3a916611c7dc4a21bd9b044a4f93aa86631abd07ff57e473540b1d1479d719dc167 SHA512 9afd2a905473e78738814f19e12f3bb565ea8bfc0a4b3ec054b11c6cebf9e0fba996345381e0b0f66ea2a96f1f31dfdf8a5fc2dc6add82bbb03809c0f2e977f2
77 -DIST thunderbird-91.8.0-sq.xpi 703626 BLAKE2B bac45d0de92981b0f7065838bf1c51a8ce920701accf174620bd397f098835cf0b9b5cfa6207c890c17b56324451b1c574ed51e496aac6988fe3b76aeb48919b SHA512 7dd70b85c4e1c05aaede45b4c9d9e665d9715bd8d48936ca687e4b4b6adb4549fd656e48f0a70a2c0697342c4c235d5488772aa271f032a5e6da75147cde881c
78 -DIST thunderbird-91.8.0-sr.xpi 710564 BLAKE2B ee9954ec5691acea9af05deda3bb2ef6612e5ed742c279188068d46dbd6912310f63527c1534cca5fb61276760c0657b97313903a8314500f487dcf30302f68a SHA512 96cfc5721c427861e1bacd80b0a3408fe88fe21fe8a3f9411b28e908b4df170faaad52c22fe0588e38c31acf685068a921d569318b2b1d5257dba2c753698e73
79 -DIST thunderbird-91.8.0-sv-SE.xpi 690968 BLAKE2B 504430e0af0a0dc50aa8dc986ab0e80b787a6fb4f2c1316a224b654e0803414334a0db7e2eac11cd599b5d878e9a7ced9805570dd1d3e31a157a1047e461be7d SHA512 3e5fe7bc5215e5432b9e62c130ff59f87c3ea79a6bcf337448d11bc1b41530d8046badd34e296f8f8531a9676fe642ef521820d1bd88ace0a693bd5e395c956f
80 -DIST thunderbird-91.8.0-th.xpi 748756 BLAKE2B 059c3296baadcb3e746f0fe0b991aeaa5387701b6798a7bddc7f3dc2df8207d7285170bb23f2454b59e88b8c6e83a3e71ee57bcf61e0201150185de19a4660ff SHA512 02401e05f9a4a63d80f2667325beeb46e6d91fd027665908160baadea5ef1bd057436035d759636e6a420874e8b9a986f1d325ec546d87c92e51cd890c5bc7ad
81 -DIST thunderbird-91.8.0-tr.xpi 699652 BLAKE2B c3ea88e1656ac821090605a9a8db74fc81cd5f72b0c5ec257980b567e803b28d0e9ba34e51b588ef956231fa0817bc01ff941b35bb5c085a716a187fe28903f7 SHA512 216954b928d041ea1641e596138a2801fbe17ec26cef08b41f54a89915943d722cb24c626aa4ae1dc5a7cb4bac887394c03790a9cc4aa6989a876538a55330bb
82 -DIST thunderbird-91.8.0-uk.xpi 798482 BLAKE2B 19778ae8cfcb93b83ab540c78db6f2761cbac997d841a15bab931d3c75f67c4753674d13f15b3d0c3caaa2ab36834252e9bff1d6580aa1519d0f8c345a33635c SHA512 f20be53c19b00984d44bb3ae0636706b7f0f00567230a81f51904a8d5bff134a9b4fe92c2a100e93d9e9d36d639a3cba9d168778bb3394db2925844c18ce6950
83 -DIST thunderbird-91.8.0-uz.xpi 595925 BLAKE2B 6762aa6058ae6faae41e0ce356743b6fee09d42fb7b1ea7daf6c501b3dd9e2f03481885ccd39a26c59aa66bb2ceb396dcad53a34adf97913f0056c7a5753afc1 SHA512 de4107b5f69634b33bc807aba3a9a477580e7b1a19b159fb128b27152d030af342f895e3f88d7e7301e45af51b72bc11933805bce2cb47324f75a45b98447787
84 -DIST thunderbird-91.8.0-vi.xpi 725527 BLAKE2B 63e83e534406ff29e949211db05e9e4a174835cc81e66b1057834cc0fdabf520d63c06e53408dac6215c4138fedd8f0804b155ea80113a8f2fbb87a4b8f75c1c SHA512 eee86653547672465b561f9f1ce9c6bde733e9db05cebb5230471a0a016a7c5c389adf67f66c6312def5abac0c0551820756f0f49448bee0853aeb21c5dc5f27
85 -DIST thunderbird-91.8.0-zh-CN.xpi 730902 BLAKE2B f9b38733993da2958ac981c150fcbb0482909cb9930f9c0b00dd5392a66730ccf4ec0e64c384da0cda249a6758626131ee5651fd7113a59b90d12e6ade84908a SHA512 02642d349dd7abd54c6462c32db381777f863077de102e35d7b9a96f33b2447e83237592bff7ab7ddd8486714477fc144532887f0e25bde8a2d81bec5f4b2948
86 -DIST thunderbird-91.8.0-zh-TW.xpi 731944 BLAKE2B 96af2bc372640dd48408f261f05bb2a751404510606cb939e6142009a3cdeaf87f956120f82956504525d4a3e81a56d1ea3146490ea0a0443fd72c36bffe25e1 SHA512 3c0bbef2af7330e7ee760c22cb2d90f8adb1ba522309ab946745f5ecd734bf094633b943367c5d5235021d6bc000e5569df8e41380f582f7df8500b9eec40fa5
87 -DIST thunderbird-91.8.0.source.tar.xz 404452336 BLAKE2B d045244b587bec6a35561cfa1de0edfdd898e2f5b03373053fcab7584ecd3f3fbddd618763732ce320920de6f3af4033b19f7970e0a87cdd70c21daba4d0791b SHA512 147c7ad68b0a32cc0fd4405935836af1fa77bbce6a1e367b51ef9871e7fc2a8fe908a1d200be34326f4f339d272e62f619b75680201fe82d301ddd02e23824d5
88 DIST thunderbird-91.8.1-af.xpi 561895 BLAKE2B 14609f1e3d08e90bd8fbfcb241982602ea70906bf121cbc4008aba07cc062e1aa3b0334d458d2e045155419d2437c22d23afa5e5bff77b3cc1a2cdced33258ce SHA512 698673f6afb6285806bae6c88a619d20ec654d2cd1fc525500022f0300b113a0601be53391ca714b49addb7a8d8be84382892aaf3427fd971925f68e0001bf11
89 DIST thunderbird-91.8.1-ar.xpi 665730 BLAKE2B 4a45222fb69435f7736b2fba9c7154b53f74fa8a9a54e51191dbdff6417c3b9ea5dc1d31e80ac51cd050c356266a4957ea4af2f1d57fa17de462ef6e324bb5d2 SHA512 66c40dd5d43b84ab9aaf2f9bf01dd9e9855bad531022c0c03c018dab4be15d13098fcfcddae7e4b26dbff64f851c26f59985577e8d09cb7ba03a8b303befcb7c
90 DIST thunderbird-91.8.1-ast.xpi 580511 BLAKE2B 08b8a68e138e43df82f9051d455959b35408e52441106c1d18db6e4c7c948336fb9d5803ac63efaf0ef0d76733548be15102e607d342d0dc841a4510baa881e3 SHA512 9477df1858b8b42ebb693681d57bffab925a02ba0be6815d82d65f273c5d52d4915ea129df88c9a992741099df770ac570bc6e169252ef265348ac972765eea6
91
92 diff --git a/mail-client/thunderbird/thunderbird-91.8.0.ebuild b/mail-client/thunderbird/thunderbird-91.8.0.ebuild
93 deleted file mode 100644
94 index 9aeb25dc77a6..000000000000
95 --- a/mail-client/thunderbird/thunderbird-91.8.0.ebuild
96 +++ /dev/null
97 @@ -1,1145 +0,0 @@
98 -# Copyright 1999-2022 Gentoo Authors
99 -# Distributed under the terms of the GNU General Public License v2
100 -
101 -EAPI="7"
102 -
103 -FIREFOX_PATCHSET="firefox-91esr-patches-06j.tar.xz"
104 -
105 -LLVM_MAX_SLOT=14
106 -
107 -PYTHON_COMPAT=( python3_{8..10} )
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,polynomial-c,whissi}/mozilla/patchsets/${FIREFOX_PATCHSET}
149 -)
150 -
151 -SRC_URI="${MOZ_SRC_BASE_URI}/source/${MOZ_P}.source.tar.xz -> ${MOZ_P_DISTFILES}.source.tar.xz
152 - ${PATCH_URIS[@]}"
153 -
154 -DESCRIPTION="Thunderbird Mail Client"
155 -HOMEPAGE="https://www.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 lto +openh264 pgo pulseaudio sndio selinux"
164 -IUSE+=" +system-av1 +system-harfbuzz +system-icu +system-jpeg +system-libevent +system-libvpx system-png +system-webp"
165 -IUSE+=" wayland wifi"
166 -
167 -REQUIRED_USE="debug? ( !system-av1 )
168 - pgo? ( lto )
169 - wifi? ( dbus )"
170 -
171 -BDEPEND="${PYTHON_DEPS}
172 - app-arch/unzip
173 - app-arch/zip
174 - >=dev-util/cbindgen-0.19.0
175 - >=net-libs/nodejs-10.23.1
176 - virtual/pkgconfig
177 - >=virtual/rust-1.51.0
178 - || (
179 - (
180 - sys-devel/clang:14
181 - sys-devel/llvm:14
182 - clang? (
183 - =sys-devel/lld-14*
184 - pgo? ( =sys-libs/compiler-rt-sanitizers-14*[profile] )
185 - )
186 - )
187 - (
188 - sys-devel/clang:13
189 - sys-devel/llvm:13
190 - clang? (
191 - =sys-devel/lld-13*
192 - pgo? ( =sys-libs/compiler-rt-sanitizers-13*[profile] )
193 - )
194 - )
195 - (
196 - sys-devel/clang:12
197 - sys-devel/llvm:12
198 - clang? (
199 - =sys-devel/lld-12*
200 - pgo? ( =sys-libs/compiler-rt-sanitizers-12*[profile] )
201 - )
202 - )
203 - (
204 - sys-devel/clang:11
205 - sys-devel/llvm:11
206 - clang? (
207 - =sys-devel/lld-11*
208 - pgo? ( =sys-libs/compiler-rt-sanitizers-11*[profile] )
209 - )
210 - )
211 - )
212 - amd64? ( >=dev-lang/nasm-2.13 )
213 - x86? ( >=dev-lang/nasm-2.13 )"
214 -
215 -COMMON_DEPEND="
216 - >=dev-libs/nss-3.68
217 - >=dev-libs/nspr-4.32
218 - dev-libs/atk
219 - dev-libs/expat
220 - >=x11-libs/cairo-1.10[X]
221 - >=x11-libs/gtk+-3.4.0:3[X]
222 - x11-libs/gdk-pixbuf
223 - >=x11-libs/pango-1.22.0
224 - >=media-libs/mesa-10.2:*
225 - media-libs/fontconfig
226 - >=media-libs/freetype-2.4.10
227 - kernel_linux? ( !pulseaudio? ( media-libs/alsa-lib ) )
228 - virtual/freedesktop-icon-theme
229 - >=x11-libs/pixman-0.19.2
230 - >=dev-libs/glib-2.26:2
231 - >=sys-libs/zlib-1.2.3
232 - >=dev-libs/libffi-3.0.10:=
233 - media-video/ffmpeg
234 - x11-libs/libX11
235 - x11-libs/libxcb:=
236 - x11-libs/libXcomposite
237 - x11-libs/libXdamage
238 - x11-libs/libXext
239 - x11-libs/libXfixes
240 - x11-libs/libXrender
241 - x11-libs/libXt
242 - dbus? (
243 - sys-apps/dbus
244 - dev-libs/dbus-glib
245 - )
246 - system-av1? (
247 - >=media-libs/dav1d-0.8.1:=
248 - >=media-libs/libaom-1.0.0:=
249 - )
250 - system-harfbuzz? (
251 - >=media-libs/harfbuzz-2.8.1:0=
252 - >=media-gfx/graphite2-1.3.13
253 - )
254 - system-icu? ( >=dev-libs/icu-69.1:= )
255 - system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 )
256 - system-libevent? ( >=dev-libs/libevent-2.0:0=[threads] )
257 - system-libvpx? ( >=media-libs/libvpx-1.8.2:0=[postproc] )
258 - system-png? ( >=media-libs/libpng-1.6.35:0=[apng] )
259 - system-webp? ( >=media-libs/libwebp-1.1.0:0= )
260 - wifi? (
261 - kernel_linux? (
262 - sys-apps/dbus
263 - dev-libs/dbus-glib
264 - net-misc/networkmanager
265 - )
266 - )
267 - jack? ( virtual/jack )
268 - selinux? ( sec-policy/selinux-mozilla )
269 - sndio? ( media-sound/sndio )"
270 -
271 -RDEPEND="${COMMON_DEPEND}
272 - jack? ( virtual/jack )
273 - openh264? ( media-libs/openh264:*[plugin] )
274 - pulseaudio? (
275 - || (
276 - media-sound/pulseaudio
277 - >=media-sound/apulse-0.1.12-r4
278 - )
279 - )
280 - selinux? ( sec-policy/selinux-mozilla )
281 - !<x11-plugins/enigmail-2.2"
282 -
283 -DEPEND="${COMMON_DEPEND}
284 - x11-libs/libICE
285 - x11-libs/libSM
286 - pulseaudio? (
287 - || (
288 - media-sound/pulseaudio
289 - >=media-sound/apulse-0.1.12-r4[sdk]
290 - )
291 - )
292 - wayland? ( >=x11-libs/gtk+-3.11:3[wayland] )
293 - amd64? ( virtual/opengl )
294 - x86? ( virtual/opengl )"
295 -
296 -S="${WORKDIR}/${PN}-${PV%_*}"
297 -
298 -llvm_check_deps() {
299 - if ! has_version -b "sys-devel/clang:${LLVM_SLOT}" ; then
300 - einfo "sys-devel/clang:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
301 - return 1
302 - fi
303 -
304 - if use clang ; then
305 - if ! has_version -b "=sys-devel/lld-${LLVM_SLOT}*" ; then
306 - einfo "=sys-devel/lld-${LLVM_SLOT}* is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
307 - return 1
308 - fi
309 -
310 - if use pgo ; then
311 - if ! has_version -b "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*" ; then
312 - einfo "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}* is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
313 - return 1
314 - fi
315 - fi
316 - fi
317 -
318 - einfo "Using LLVM slot ${LLVM_SLOT} to build" >&2
319 -}
320 -
321 -MOZ_LANGS=(
322 - af ar ast be bg br ca cak cs cy da de dsb
323 - el en-CA en-GB en-US es-AR es-ES et eu
324 - fi fr fy-NL ga-IE gd gl he hr hsb hu
325 - id is it ja ka kab kk ko lt lv ms nb-NO nl nn-NO
326 - pa-IN pl pt-BR pt-PT rm ro ru
327 - sk sl sq sr sv-SE th tr uk uz vi zh-CN zh-TW
328 -)
329 -
330 -mozilla_set_globals() {
331 - # https://bugs.gentoo.org/587334
332 - local MOZ_TOO_REGIONALIZED_FOR_L10N=(
333 - fy-NL ga-IE gu-IN hi-IN hy-AM nb-NO ne-NP nn-NO pa-IN sv-SE
334 - )
335 -
336 - local lang xflag
337 - for lang in "${MOZ_LANGS[@]}" ; do
338 - # en and en_US are handled internally
339 - if [[ ${lang} == en ]] || [[ ${lang} == en-US ]] ; then
340 - continue
341 - fi
342 -
343 - # strip region subtag if $lang is in the list
344 - if has ${lang} "${MOZ_TOO_REGIONALIZED_FOR_L10N[@]}" ; then
345 - xflag=${lang%%-*}
346 - else
347 - xflag=${lang}
348 - fi
349 -
350 - SRC_URI+=" l10n_${xflag/[_@]/-}? ("
351 - SRC_URI+=" ${MOZ_SRC_BASE_URI}/linux-x86_64/xpi/${lang}.xpi -> ${MOZ_P_DISTFILES}-${lang}.xpi"
352 - SRC_URI+=" )"
353 - IUSE+=" l10n_${xflag/[_@]/-}"
354 - done
355 -}
356 -mozilla_set_globals
357 -
358 -moz_clear_vendor_checksums() {
359 - debug-print-function ${FUNCNAME} "$@"
360 -
361 - if [[ ${#} -ne 1 ]] ; then
362 - die "${FUNCNAME} requires exact one argument"
363 - fi
364 -
365 - einfo "Clearing cargo checksums for ${1} ..."
366 -
367 - sed -i \
368 - -e 's/\("files":{\)[^}]*/\1/' \
369 - "${S}"/third_party/rust/${1}/.cargo-checksum.json \
370 - || die
371 -}
372 -
373 -moz_install_xpi() {
374 - debug-print-function ${FUNCNAME} "$@"
375 -
376 - if [[ ${#} -lt 2 ]] ; then
377 - die "${FUNCNAME} requires at least two arguments"
378 - fi
379 -
380 - local DESTDIR=${1}
381 - shift
382 -
383 - insinto "${DESTDIR}"
384 -
385 - local emid xpi_file xpi_tmp_dir
386 - for xpi_file in "${@}" ; do
387 - emid=
388 - xpi_tmp_dir=$(mktemp -d --tmpdir="${T}")
389 -
390 - # Unpack XPI
391 - unzip -qq "${xpi_file}" -d "${xpi_tmp_dir}" || die
392 -
393 - # Determine extension ID
394 - if [[ -f "${xpi_tmp_dir}/install.rdf" ]] ; then
395 - emid=$(sed -n -e '/install-manifest/,$ { /em:id/!d; s/.*[\">]\([^\"<>]*\)[\"<].*/\1/; p; q }' "${xpi_tmp_dir}/install.rdf")
396 - [[ -z "${emid}" ]] && die "failed to determine extension id from install.rdf"
397 - elif [[ -f "${xpi_tmp_dir}/manifest.json" ]] ; then
398 - emid=$(sed -n -e 's/.*"id": "\([^"]*\)".*/\1/p' "${xpi_tmp_dir}/manifest.json")
399 - [[ -z "${emid}" ]] && die "failed to determine extension id from manifest.json"
400 - else
401 - die "failed to determine extension id"
402 - fi
403 -
404 - einfo "Installing ${emid}.xpi into ${ED}${DESTDIR} ..."
405 - newins "${xpi_file}" "${emid}.xpi"
406 - done
407 -}
408 -
409 -mozconfig_add_options_ac() {
410 - debug-print-function ${FUNCNAME} "$@"
411 -
412 - if [[ ${#} -lt 2 ]] ; then
413 - die "${FUNCNAME} requires at least two arguments"
414 - fi
415 -
416 - local reason=${1}
417 - shift
418 -
419 - local option
420 - for option in ${@} ; do
421 - echo "ac_add_options ${option} # ${reason}" >>${MOZCONFIG}
422 - done
423 -}
424 -
425 -mozconfig_add_options_mk() {
426 - debug-print-function ${FUNCNAME} "$@"
427 -
428 - if [[ ${#} -lt 2 ]] ; then
429 - die "${FUNCNAME} requires at least two arguments"
430 - fi
431 -
432 - local reason=${1}
433 - shift
434 -
435 - local option
436 - for option in ${@} ; do
437 - echo "mk_add_options ${option} # ${reason}" >>${MOZCONFIG}
438 - done
439 -}
440 -
441 -mozconfig_use_enable() {
442 - debug-print-function ${FUNCNAME} "$@"
443 -
444 - if [[ ${#} -lt 1 ]] ; then
445 - die "${FUNCNAME} requires at least one arguments"
446 - fi
447 -
448 - local flag=$(use_enable "${@}")
449 - mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" "${flag}"
450 -}
451 -
452 -mozconfig_use_with() {
453 - debug-print-function ${FUNCNAME} "$@"
454 -
455 - if [[ ${#} -lt 1 ]] ; then
456 - die "${FUNCNAME} requires at least one arguments"
457 - fi
458 -
459 - local flag=$(use_with "${@}")
460 - mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" "${flag}"
461 -}
462 -
463 -pkg_pretend() {
464 - if [[ ${MERGE_TYPE} != binary ]] ; then
465 - if use pgo ; then
466 - if ! has usersandbox $FEATURES ; then
467 - die "You must enable usersandbox as X server can not run as root!"
468 - fi
469 - fi
470 -
471 - # Ensure we have enough disk space to compile
472 - if use pgo || use lto || use debug ; then
473 - CHECKREQS_DISK_BUILD="13500M"
474 - else
475 - CHECKREQS_DISK_BUILD="6400M"
476 - fi
477 -
478 - check-reqs_pkg_pretend
479 - fi
480 -}
481 -
482 -pkg_setup() {
483 - if [[ ${MERGE_TYPE} != binary ]] ; then
484 - if use pgo ; then
485 - if ! has userpriv ${FEATURES} ; then
486 - eerror "Building ${PN} with USE=pgo and FEATURES=-userpriv is not supported!"
487 - fi
488 - fi
489 -
490 - # Ensure we have enough disk space to compile
491 - if use pgo || use lto || use debug ; then
492 - CHECKREQS_DISK_BUILD="13500M"
493 - else
494 - CHECKREQS_DISK_BUILD="6400M"
495 - fi
496 -
497 - check-reqs_pkg_setup
498 -
499 - llvm_pkg_setup
500 -
501 - if use clang && use lto ; then
502 - local version_lld=$(ld.lld --version 2>/dev/null | awk '{ print $2 }')
503 - [[ -n ${version_lld} ]] && version_lld=$(ver_cut 1 "${version_lld}")
504 - [[ -z ${version_lld} ]] && die "Failed to read ld.lld version!"
505 -
506 - local version_llvm_rust=$(rustc -Vv 2>/dev/null | grep -F -- 'LLVM version:' | awk '{ print $3 }')
507 - [[ -n ${version_llvm_rust} ]] && version_llvm_rust=$(ver_cut 1 "${version_llvm_rust}")
508 - [[ -z ${version_llvm_rust} ]] && die "Failed to read used LLVM version from rustc!"
509 -
510 - if ver_test "${version_lld}" -ne "${version_llvm_rust}" ; then
511 - eerror "Rust is using LLVM version ${version_llvm_rust} but ld.lld version belongs to LLVM version ${version_lld}."
512 - eerror "You will be unable to link ${CATEGORY}/${PN}. To proceed you have the following options:"
513 - eerror " - Manually switch rust version using 'eselect rust' to match used LLVM version"
514 - eerror " - Switch to dev-lang/rust[system-llvm] which will guarantee matching version"
515 - eerror " - Build ${CATEGORY}/${PN} without USE=lto"
516 - die "LLVM version used by Rust (${version_llvm_rust}) does not match with ld.lld version (${version_lld})!"
517 - fi
518 - fi
519 -
520 - if ! use clang && [[ $(gcc-major-version) -eq 11 ]] \
521 - && ! has_version -b ">sys-devel/gcc-11.1.0:11" ; then
522 - # bug 792705
523 - eerror "Using GCC 11 to compile firefox is currently known to be broken (see bug #792705)."
524 - die "Set USE=clang or select <gcc-11 to build ${CATEGORY}/${P}."
525 - fi
526 -
527 - python-any-r1_pkg_setup
528 -
529 - # Avoid PGO profiling problems due to enviroment leakage
530 - # These should *always* be cleaned up anyway
531 - unset \
532 - DBUS_SESSION_BUS_ADDRESS \
533 - DISPLAY \
534 - ORBIT_SOCKETDIR \
535 - SESSION_MANAGER \
536 - XAUTHORITY \
537 - XDG_CACHE_HOME \
538 - XDG_SESSION_COOKIE
539 -
540 - # Build system is using /proc/self/oom_score_adj, bug #604394
541 - addpredict /proc/self/oom_score_adj
542 -
543 - if use pgo ; then
544 - # Allow access to GPU during PGO run
545 - local ati_cards mesa_cards nvidia_cards render_cards
546 - shopt -s nullglob
547 -
548 - ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g')
549 - if [[ -n "${ati_cards}" ]] ; then
550 - addpredict "${ati_cards}"
551 - fi
552 -
553 - mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g')
554 - if [[ -n "${mesa_cards}" ]] ; then
555 - addpredict "${mesa_cards}"
556 - fi
557 -
558 - nvidia_cards=$(echo -n /dev/nvidia* | sed 's/ /:/g')
559 - if [[ -n "${nvidia_cards}" ]] ; then
560 - addpredict "${nvidia_cards}"
561 - fi
562 -
563 - render_cards=$(echo -n /dev/dri/renderD128* | sed 's/ /:/g')
564 - if [[ -n "${render_cards}" ]] ; then
565 - addpredict "${render_cards}"
566 - fi
567 -
568 - shopt -u nullglob
569 - fi
570 -
571 - if ! mountpoint -q /dev/shm ; then
572 - # If /dev/shm is not available, configure is known to fail with
573 - # a traceback report referencing /usr/lib/pythonN.N/multiprocessing/synchronize.py
574 - ewarn "/dev/shm is not mounted -- expect build failures!"
575 - fi
576 -
577 - # Google API keys (see http://www.chromium.org/developers/how-tos/api-keys)
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_GOOGLE+set}" ]] ; then
581 - MOZ_API_KEY_GOOGLE="AIzaSyDEAOvatFogGaPi0eTgsV_ZlEzx0ObmepsMzfAc"
582 - fi
583 -
584 - if [[ -z "${MOZ_API_KEY_LOCATION+set}" ]] ; then
585 - MOZ_API_KEY_LOCATION="AIzaSyB2h2OuRgGaPicUgy5N-5hsZqiPW6sH3n_rptiQ"
586 - fi
587 -
588 - # Mozilla API keys (see https://location.services.mozilla.com/api)
589 - # Note: These are for Gentoo Linux use ONLY. For your own distribution, please
590 - # get your own set of keys.
591 - if [[ -z "${MOZ_API_KEY_MOZILLA+set}" ]] ; then
592 - MOZ_API_KEY_MOZILLA="edb3d487-3a84-46m0ap1e3-9dfd-92b5efaaa005"
593 - fi
594 -
595 - # Ensure we use C locale when building, bug #746215
596 - export LC_ALL=C
597 - fi
598 -}
599 -
600 -src_unpack() {
601 - local _lp_dir="${WORKDIR}/language_packs"
602 - local _src_file
603 -
604 - if [[ ! -d "${_lp_dir}" ]] ; then
605 - mkdir "${_lp_dir}" || die
606 - fi
607 -
608 - for _src_file in ${A} ; do
609 - if [[ ${_src_file} == *.xpi ]]; then
610 - cp "${DISTDIR}/${_src_file}" "${_lp_dir}" || die "Failed to copy '${_src_file}' to '${_lp_dir}'!"
611 - else
612 - unpack ${_src_file}
613 - fi
614 - done
615 -}
616 -
617 -src_prepare() {
618 - if use lto; then
619 - rm -v "${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch || die
620 - fi
621 -
622 - if use system-av1 && has_version "<media-libs/dav1d-1.0.0"; then
623 - rm -v "${WORKDIR}"/firefox-patches/0033-bgo-835788-dav1d-1.0.0-support.patch || die
624 - elog "<media-libs/dav1d-1.0.0 detected, removing 1.0.0 compat patch."
625 - elif ! use system-av1; then
626 - rm -v "${WORKDIR}"/firefox-patches/0033-bgo-835788-dav1d-1.0.0-support.patch || die
627 - elog "-system-av1 USE flag detected, removing 1.0.0 compat patch."
628 - fi
629 -
630 - eapply "${WORKDIR}/firefox-patches"
631 -
632 - # Allow user to apply any additional patches without modifing ebuild
633 - eapply_user
634 -
635 - # Make cargo respect MAKEOPTS
636 - export CARGO_BUILD_JOBS="$(makeopts_jobs)"
637 -
638 - # Make LTO respect MAKEOPTS
639 - sed -i \
640 - -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
641 - "${S}"/build/moz.configure/lto-pgo.configure \
642 - || die "sed failed to set num_cores"
643 -
644 - # Make ICU respect MAKEOPTS
645 - sed -i \
646 - -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
647 - "${S}"/intl/icu_sources_data.py \
648 - || die "sed failed to set num_cores"
649 -
650 - # sed-in toolchain prefix
651 - sed -i \
652 - -e "s/objdump/${CHOST}-objdump/" \
653 - "${S}"/python/mozbuild/mozbuild/configure/check_debug_ranges.py \
654 - || die "sed failed to set toolchain prefix"
655 -
656 - sed -i \
657 - -e 's/ccache_stats = None/return None/' \
658 - "${S}"/python/mozbuild/mozbuild/controller/building.py \
659 - || die "sed failed to disable ccache stats call"
660 -
661 - einfo "Removing pre-built binaries ..."
662 - find "${S}"/third_party -type f \( -name '*.so' -o -name '*.o' \) -print -delete || die
663 -
664 - # Clearing checksums where we have applied patches
665 - moz_clear_vendor_checksums target-lexicon-0.9.0
666 -
667 - # Create build dir
668 - BUILD_DIR="${WORKDIR}/${PN}_build"
669 - mkdir -p "${BUILD_DIR}" || die
670 -
671 - # Write API keys to disk
672 - echo -n "${MOZ_API_KEY_GOOGLE//gGaPi/}" > "${S}"/api-google.key || die
673 - echo -n "${MOZ_API_KEY_LOCATION//gGaPi/}" > "${S}"/api-location.key || die
674 - echo -n "${MOZ_API_KEY_MOZILLA//m0ap1/}" > "${S}"/api-mozilla.key || die
675 -
676 - xdg_src_prepare
677 -}
678 -
679 -src_configure() {
680 - # Show flags set at the beginning
681 - einfo "Current BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}"
682 - einfo "Current CFLAGS:\t\t${CFLAGS:-no value set}"
683 - einfo "Current CXXFLAGS:\t\t${CXXFLAGS:-no value set}"
684 - einfo "Current LDFLAGS:\t\t${LDFLAGS:-no value set}"
685 - einfo "Current RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}"
686 -
687 - local have_switched_compiler=
688 - if use clang && ! tc-is-clang ; then
689 - # Force clang
690 - einfo "Enforcing the use of clang due to USE=clang ..."
691 - have_switched_compiler=yes
692 - AR=llvm-ar
693 - CC=${CHOST}-clang
694 - CXX=${CHOST}-clang++
695 - NM=llvm-nm
696 - RANLIB=llvm-ranlib
697 - elif ! use clang && ! tc-is-gcc ; then
698 - # Force gcc
699 - have_switched_compiler=yes
700 - einfo "Enforcing the use of gcc due to USE=-clang ..."
701 - AR=gcc-ar
702 - CC=${CHOST}-gcc
703 - CXX=${CHOST}-g++
704 - NM=gcc-nm
705 - RANLIB=gcc-ranlib
706 - fi
707 -
708 - if [[ -n "${have_switched_compiler}" ]] ; then
709 - # Because we switched active compiler we have to ensure
710 - # that no unsupported flags are set
711 - strip-unsupported-flags
712 - fi
713 -
714 - # Ensure we use correct toolchain
715 - export HOST_CC="$(tc-getBUILD_CC)"
716 - export HOST_CXX="$(tc-getBUILD_CXX)"
717 - tc-export CC CXX LD AR NM OBJDUMP RANLIB PKG_CONFIG
718 -
719 - # Pass the correct toolchain paths through cbindgen
720 - if tc-is-cross-compiler ; then
721 - export BINDGEN_CFLAGS="${SYSROOT:+--sysroot=${ESYSROOT}} --target=${CHOST} ${BINDGEN_CFLAGS-}"
722 - fi
723 -
724 - # Set MOZILLA_FIVE_HOME
725 - export MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
726 -
727 - # python/mach/mach/mixin/process.py fails to detect SHELL
728 - export SHELL="${EPREFIX}/bin/bash"
729 -
730 - # Set state path
731 - export MOZBUILD_STATE_PATH="${BUILD_DIR}"
732 -
733 - # Set MOZCONFIG
734 - export MOZCONFIG="${S}/.mozconfig"
735 -
736 - # Initialize MOZCONFIG
737 - mozconfig_add_options_ac '' --enable-application=comm/mail
738 -
739 - # Set Gentoo defaults
740 - export MOZILLA_OFFICIAL=1
741 -
742 - mozconfig_add_options_ac 'Gentoo default' \
743 - --allow-addon-sideload \
744 - --disable-cargo-incremental \
745 - --disable-crashreporter \
746 - --disable-install-strip \
747 - --disable-strip \
748 - --disable-updater \
749 - --enable-js-shell \
750 - --enable-official-branding \
751 - --enable-release \
752 - --enable-system-ffi \
753 - --enable-system-pixman \
754 - --host="${CBUILD:-${CHOST}}" \
755 - --libdir="${EPREFIX}/usr/$(get_libdir)" \
756 - --prefix="${EPREFIX}/usr" \
757 - --target="${CHOST}" \
758 - --without-ccache \
759 - --with-intl-api \
760 - --with-libclang-path="$(llvm-config --libdir)" \
761 - --with-system-nspr \
762 - --with-system-nss \
763 - --with-system-zlib \
764 - --with-toolchain-prefix="${CHOST}-" \
765 - --with-unsigned-addon-scopes=app,system \
766 - --x-includes="${SYSROOT}${EPREFIX}/usr/include" \
767 - --x-libraries="${SYSROOT}${EPREFIX}/usr/$(get_libdir)"
768 -
769 - # Set update channel
770 - local update_channel=release
771 - [[ -n ${MOZ_ESR} ]] && update_channel=esr
772 - mozconfig_add_options_ac '' --update-channel=${update_channel}
773 -
774 - if ! use x86 && [[ ${CHOST} != armv*h* ]] ; then
775 - mozconfig_add_options_ac '' --enable-rust-simd
776 - fi
777 -
778 - if [[ -s "${S}/api-google.key" ]] ; then
779 - local key_origin="Gentoo default"
780 - if [[ $(cat "${S}/api-google.key" | md5sum | awk '{ print $1 }') != 709560c02f94b41f9ad2c49207be6c54 ]] ; then
781 - key_origin="User value"
782 - fi
783 -
784 - mozconfig_add_options_ac "${key_origin}" \
785 - --with-google-safebrowsing-api-keyfile="${S}/api-google.key"
786 - else
787 - einfo "Building without Google API key ..."
788 - fi
789 -
790 - if [[ -s "${S}/api-location.key" ]] ; then
791 - local key_origin="Gentoo default"
792 - if [[ $(cat "${S}/api-location.key" | md5sum | awk '{ print $1 }') != ffb7895e35dedf832eb1c5d420ac7420 ]] ; then
793 - key_origin="User value"
794 - fi
795 -
796 - mozconfig_add_options_ac "${key_origin}" \
797 - --with-google-location-service-api-keyfile="${S}/api-location.key"
798 - else
799 - einfo "Building without Location API key ..."
800 - fi
801 -
802 - if [[ -s "${S}/api-mozilla.key" ]] ; then
803 - local key_origin="Gentoo default"
804 - if [[ $(cat "${S}/api-mozilla.key" | md5sum | awk '{ print $1 }') != 3927726e9442a8e8fa0e46ccc39caa27 ]] ; then
805 - key_origin="User value"
806 - fi
807 -
808 - mozconfig_add_options_ac "${key_origin}" \
809 - --with-mozilla-api-keyfile="${S}/api-mozilla.key"
810 - else
811 - einfo "Building without Mozilla API key ..."
812 - fi
813 -
814 - mozconfig_use_with system-av1
815 - mozconfig_use_with system-harfbuzz
816 - mozconfig_use_with system-harfbuzz system-graphite2
817 - mozconfig_use_with system-icu
818 - mozconfig_use_with system-jpeg
819 - mozconfig_use_with system-libevent system-libevent "${SYSROOT}${EPREFIX}/usr"
820 - mozconfig_use_with system-libvpx
821 - mozconfig_use_with system-png
822 - mozconfig_use_with system-webp
823 -
824 - mozconfig_use_enable dbus
825 -
826 - use eme-free && mozconfig_add_options_ac '+eme-free' --disable-eme
827 -
828 - if use hardened ; then
829 - mozconfig_add_options_ac "+hardened" --enable-hardening
830 - append-ldflags "-Wl,-z,relro -Wl,-z,now"
831 - fi
832 -
833 - mozconfig_use_enable jack
834 -
835 - mozconfig_use_enable pulseaudio
836 - # force the deprecated alsa sound code if pulseaudio is disabled
837 - if use kernel_linux && ! use pulseaudio ; then
838 - mozconfig_add_options_ac '-pulseaudio' --enable-alsa
839 - fi
840 -
841 - mozconfig_use_enable sndio
842 -
843 - mozconfig_use_enable wifi necko-wifi
844 -
845 - if use wayland ; then
846 - mozconfig_add_options_ac '+wayland' --enable-default-toolkit=cairo-gtk3-wayland
847 - else
848 - mozconfig_add_options_ac '' --enable-default-toolkit=cairo-gtk3
849 - fi
850 -
851 - if use lto ; then
852 - if use clang ; then
853 - # Upstream only supports lld when using clang
854 - mozconfig_add_options_ac "forcing ld=lld due to USE=clang and USE=lto" --enable-linker=lld
855 -
856 - mozconfig_add_options_ac '+lto' --enable-lto=cross
857 - else
858 - # ld.gold is known to fail:
859 - # /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
860 -
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 tc-ld-is-gold || 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 - export MACH_USE_SYSTEM_PYTHON=1
999 -
1000 - # Disable notification when build system has finished
1001 - export MOZ_NOSPAM=1
1002 -
1003 - # Portage sets XARGS environment variable to "xargs -r" by default which
1004 - # breaks build system's check_prog() function which doesn't support arguments
1005 - mozconfig_add_options_ac 'Gentoo default' "XARGS=${EPREFIX}/usr/bin/xargs"
1006 -
1007 - # Set build dir
1008 - mozconfig_add_options_mk 'Gentoo default' "MOZ_OBJDIR=${BUILD_DIR}"
1009 -
1010 - # Show flags we will use
1011 - einfo "Build BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}"
1012 - einfo "Build CFLAGS:\t\t${CFLAGS:-no value set}"
1013 - einfo "Build CXXFLAGS:\t\t${CXXFLAGS:-no value set}"
1014 - einfo "Build LDFLAGS:\t\t${LDFLAGS:-no value set}"
1015 - einfo "Build RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}"
1016 -
1017 - # Handle EXTRA_CONF and show summary
1018 - local ac opt hash reason
1019 -
1020 - # Apply EXTRA_ECONF entries to $MOZCONFIG
1021 - if [[ -n ${EXTRA_ECONF} ]] ; then
1022 - IFS=\! read -a ac <<<${EXTRA_ECONF// --/\!}
1023 - for opt in "${ac[@]}"; do
1024 - mozconfig_add_options_ac "EXTRA_ECONF" --${opt#--}
1025 - done
1026 - fi
1027 -
1028 - echo
1029 - echo "=========================================================="
1030 - echo "Building ${PF} with the following configuration"
1031 - grep ^ac_add_options "${MOZCONFIG}" | while read ac opt hash reason; do
1032 - [[ -z ${hash} || ${hash} == \# ]] \
1033 - || die "error reading mozconfig: ${ac} ${opt} ${hash} ${reason}"
1034 - printf " %-30s %s\n" "${opt}" "${reason:-mozilla.org default}"
1035 - done
1036 - echo "=========================================================="
1037 - echo
1038 -
1039 - ./mach configure || die
1040 -}
1041 -
1042 -src_compile() {
1043 - local virtx_cmd=
1044 -
1045 - if use pgo ; then
1046 - virtx_cmd=virtx
1047 -
1048 - # Reset and cleanup environment variables used by GNOME/XDG
1049 - gnome2_environment_reset
1050 -
1051 - addpredict /root
1052 - fi
1053 -
1054 - local -x GDK_BACKEND=x11
1055 -
1056 - ${virtx_cmd} ./mach build --verbose \
1057 - || die
1058 -}
1059 -
1060 -src_install() {
1061 - # xpcshell is getting called during install
1062 - pax-mark m \
1063 - "${BUILD_DIR}"/dist/bin/xpcshell \
1064 - "${BUILD_DIR}"/dist/bin/${PN} \
1065 - "${BUILD_DIR}"/dist/bin/plugin-container
1066 -
1067 - DESTDIR="${D}" ./mach install || die
1068 -
1069 - # Upstream cannot ship symlink but we can (bmo#658850)
1070 - rm "${ED}${MOZILLA_FIVE_HOME}/${PN}-bin" || die
1071 - dosym ${PN} ${MOZILLA_FIVE_HOME}/${PN}-bin
1072 -
1073 - # Don't install llvm-symbolizer from sys-devel/llvm package
1074 - if [[ -f "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" ]] ; then
1075 - rm -v "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" || die
1076 - fi
1077 -
1078 - # Install policy (currently only used to disable application updates)
1079 - insinto "${MOZILLA_FIVE_HOME}/distribution"
1080 - newins "${FILESDIR}"/distribution.ini distribution.ini
1081 - newins "${FILESDIR}"/disable-auto-update.policy.json policies.json
1082 -
1083 - # Install system-wide preferences
1084 - local PREFS_DIR="${MOZILLA_FIVE_HOME}/defaults/pref"
1085 - insinto "${PREFS_DIR}"
1086 - newins "${FILESDIR}"/gentoo-default-prefs.js gentoo-prefs.js
1087 -
1088 - local GENTOO_PREFS="${ED}${PREFS_DIR}/gentoo-prefs.js"
1089 -
1090 - # Set dictionary path to use system hunspell
1091 - cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set spellchecker.dictionary_path pref"
1092 - pref("spellchecker.dictionary_path", "${EPREFIX}/usr/share/myspell");
1093 - EOF
1094 -
1095 - # Force hwaccel prefs if USE=hwaccel is enabled
1096 - if use hwaccel ; then
1097 - cat "${FILESDIR}"/gentoo-hwaccel-prefs.js \
1098 - >>"${GENTOO_PREFS}" \
1099 - || die "failed to add prefs to force hardware-accelerated rendering to all-gentoo.js"
1100 - fi
1101 -
1102 - # Force the graphite pref if USE=system-harfbuzz is enabled, since the pref cannot disable it
1103 - if use system-harfbuzz ; then
1104 - cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set gfx.font_rendering.graphite.enabled pref"
1105 - sticky_pref("gfx.font_rendering.graphite.enabled", true);
1106 - EOF
1107 - fi
1108 -
1109 - # Install language packs
1110 - local langpacks=( $(find "${WORKDIR}/language_packs" -type f -name '*.xpi') )
1111 - if [[ -n "${langpacks}" ]] ; then
1112 - moz_install_xpi "${MOZILLA_FIVE_HOME}/distribution/extensions" "${langpacks[@]}"
1113 - fi
1114 -
1115 - # Install icons
1116 - local icon_srcdir="${S}/comm/mail/branding/thunderbird"
1117 - local icon_symbolic_file="${icon_srcdir}/TB-symbolic.svg"
1118 -
1119 - insinto /usr/share/icons/hicolor/symbolic/apps
1120 - newins "${icon_symbolic_file}" ${PN}-symbolic.svg
1121 -
1122 - local icon size
1123 - for icon in "${icon_srcdir}"/default*.png ; do
1124 - size=${icon%.png}
1125 - size=${size##*/default}
1126 -
1127 - if [[ ${size} -eq 48 ]] ; then
1128 - newicon "${icon}" ${PN}.png
1129 - fi
1130 -
1131 - newicon -s ${size} "${icon}" ${PN}.png
1132 - done
1133 -
1134 - # Install menu
1135 - local app_name="Mozilla ${MOZ_PN^}"
1136 - local desktop_file="${FILESDIR}/icon/${PN}-r2.desktop"
1137 - local desktop_filename="${PN}.desktop"
1138 - local exec_command="${PN}"
1139 - local icon="${PN}"
1140 - local use_wayland="false"
1141 -
1142 - if use wayland ; then
1143 - use_wayland="true"
1144 - fi
1145 -
1146 - cp "${desktop_file}" "${WORKDIR}/${PN}.desktop-template" || die
1147 -
1148 - sed -i \
1149 - -e "s:@NAME@:${app_name}:" \
1150 - -e "s:@EXEC@:${exec_command}:" \
1151 - -e "s:@ICON@:${icon}:" \
1152 - "${WORKDIR}/${PN}.desktop-template" \
1153 - || die
1154 -
1155 - newmenu "${WORKDIR}/${PN}.desktop-template" "${desktop_filename}"
1156 -
1157 - rm "${WORKDIR}/${PN}.desktop-template" || die
1158 -
1159 - # Install wrapper script
1160 - [[ -f "${ED}/usr/bin/${PN}" ]] && rm "${ED}/usr/bin/${PN}"
1161 - newbin "${FILESDIR}/${PN}-r1.sh" ${PN}
1162 -
1163 - # Update wrapper
1164 - sed -i \
1165 - -e "s:@PREFIX@:${EPREFIX}/usr:" \
1166 - -e "s:@MOZ_FIVE_HOME@:${MOZILLA_FIVE_HOME}:" \
1167 - -e "s:@APULSELIB_DIR@:${apulselib}:" \
1168 - -e "s:@DEFAULT_WAYLAND@:${use_wayland}:" \
1169 - "${ED}/usr/bin/${PN}" \
1170 - || die
1171 -}
1172 -
1173 -pkg_preinst() {
1174 - xdg_pkg_preinst
1175 -
1176 - # If the apulse libs are available in MOZILLA_FIVE_HOME then apulse
1177 - # does not need to be forced into the LD_LIBRARY_PATH
1178 - if use pulseaudio && has_version ">=media-sound/apulse-0.1.12-r4" ; then
1179 - einfo "APULSE found; Generating library symlinks for sound support ..."
1180 - local lib
1181 - pushd "${ED}${MOZILLA_FIVE_HOME}" &>/dev/null || die
1182 - for lib in ../apulse/libpulse{.so{,.0},-simple.so{,.0}} ; do
1183 - # A quickpkg rolled by hand will grab symlinks as part of the package,
1184 - # so we need to avoid creating them if they already exist.
1185 - if [[ ! -L ${lib##*/} ]] ; then
1186 - ln -s "${lib}" ${lib##*/} || die
1187 - fi
1188 - done
1189 - popd &>/dev/null || die
1190 - fi
1191 -}
1192 -
1193 -pkg_postinst() {
1194 - xdg_pkg_postinst
1195 -
1196 - if use pulseaudio && has_version ">=media-sound/apulse-0.1.12-r4" ; then
1197 - elog "Apulse was detected at merge time on this system and so it will always be"
1198 - elog "used for sound. If you wish to use pulseaudio instead please unmerge"
1199 - elog "media-sound/apulse."
1200 - elog
1201 - fi
1202 -
1203 - local show_doh_information
1204 - local show_shortcut_information
1205 -
1206 - if [[ -z "${REPLACING_VERSIONS}" ]] ; then
1207 - # New install; Tell user that DoH is disabled by default
1208 - show_doh_information=yes
1209 - show_shortcut_information=no
1210 - else
1211 - local replacing_version
1212 - for replacing_version in ${REPLACING_VERSIONS} ; do
1213 - if ver_test "${replacing_version}" -lt 91.0 ; then
1214 - # Tell user that we no longer install a shortcut
1215 - # per supported display protocol
1216 - show_shortcut_information=yes
1217 - fi
1218 - done
1219 - fi
1220 -
1221 - if [[ -n "${show_doh_information}" ]] ; then
1222 - elog
1223 - elog "Note regarding Trusted Recursive Resolver aka DNS-over-HTTPS (DoH):"
1224 - elog "Due to privacy concerns (encrypting DNS might be a good thing, sending all"
1225 - elog "DNS traffic to Cloudflare by default is not a good idea and applications"
1226 - elog "should respect OS configured settings), \"network.trr.mode\" was set to 5"
1227 - elog "(\"Off by choice\") by default."
1228 - elog "You can enable DNS-over-HTTPS in ${PN^}'s preferences."
1229 - fi
1230 -
1231 - if [[ -n "${show_shortcut_information}" ]] ; then
1232 - elog
1233 - elog "Since ${PN}-91.0 we no longer install multiple shortcuts for"
1234 - elog "each supported display protocol. Instead we will only install"
1235 - elog "one generic Mozilla ${PN^} shortcut."
1236 - elog "If you still want to be able to select between running Mozilla ${PN^}"
1237 - elog "on X11 or Wayland, you have to re-create these shortcuts on your own."
1238 - fi
1239 -
1240 - optfeature_header "Optional runtime features:"
1241 - optfeature "encrypted chat support" net-libs/libotr
1242 -}