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 Jan 2023 06:16:42
Message-Id: 1675059394.86af4490a19aaf73d3481323bb4ebf0d38ca7f3f.juippis@gentoo
1 commit: 86af4490a19aaf73d3481323bb4ebf0d38ca7f3f
2 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 30 06:16:13 2023 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 30 06:16:34 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86af4490
7
8 mail-client/thunderbird: drop 102.6.0
9
10 Bug: https://bugs.gentoo.org/891217
11 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
12
13 mail-client/thunderbird/Manifest | 65 --
14 mail-client/thunderbird/thunderbird-102.6.0.ebuild | 1177 --------------------
15 2 files changed, 1242 deletions(-)
16
17 diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest
18 index b8ea577b6789..25233a540a9c 100644
19 --- a/mail-client/thunderbird/Manifest
20 +++ b/mail-client/thunderbird/Manifest
21 @@ -1,69 +1,4 @@
22 DIST firefox-102esr-patches-07j.tar.xz 23012 BLAKE2B 41b706f5ae8695ddd33e971cf1aa99317382a57618cf19163c5bca09ed5d430dba672ac51b7ab3072360452cc89ac50397bb7992882a61a3adda37022239e654 SHA512 7048353ea5504e34d9d3950e3e5e3125f631f95269d5c9e422ca052173a316718fdd4b57ea7980a452139b1192805cb598f47f398fb148a426a85a5e979c6cdd
23 -DIST thunderbird-102.6.0-af.xpi 551371 BLAKE2B d40ad673db1e0b43038ead3064e3d121512f74185c6f0d3209e3bcebe17b76cbd8240b3482e20e300213582d250134bb1673d4cf040ec7143383fdecb4941550 SHA512 39ad5d3381ecc100cf42dadb448eb14402cd88669a65d0ec75d3b9579a9d8a24f515b4050c75c9b6f131adc1fd4a844039c4c8c168e5f76f68bf433176000abd
24 -DIST thunderbird-102.6.0-ar.xpi 656149 BLAKE2B 97d85d3cd1b6f6462a79076b989a9a132a15247568f35d5e9b9f499a29403b52ec8e44cb6d5847b2cddf0c606755941e1ae47bc267925106791e3938d1fb6842 SHA512 0a6fdf6d5b20e5182004581df031ae3203a43b716a719aa83a61d1b71b6d352c3838f6e35afa19c8a91eaacc1920731c2f9b715d794fd5448da39c8f3599659d
25 -DIST thunderbird-102.6.0-ast.xpi 564286 BLAKE2B efd2547eaae08ff6112ba17a2785eab4fa27a11d5a368185a99d2ef54dc9763cf88c563383e6840cf1d19c471ec9940d8bf56821ad809f06461b5dbf1f51e510 SHA512 6c1ee7f96671a7b6ea7e23ebdd23e96b8475061010bdaa6d8a0d74d80e4522025bc02e5f7cfa76592e9d3a9a0e3e07d2119a6d77bcb9071c3a483f111d7f5cae
26 -DIST thunderbird-102.6.0-be.xpi 686679 BLAKE2B 6909b6c6cc55d4239160d88833dc9684d484aa6034a07a2d3bf6007bf093229f358fa8a0a735bbb7151bc77ad9b2c91240c22147a62f58ad709081006b7424fe SHA512 942a18d839495933c26d60374bb2d29e5a89e1db658553e991647c97d6144a7d2a32505933a2e0014df1655fffb500e8242878b103178dcad3909f7589de6ae3
27 -DIST thunderbird-102.6.0-bg.xpi 682267 BLAKE2B 40b414598b43a559358d2efbb72edd35041d1d652108762c80c56c145eed5efc455c2c49f5071121b9a000b9698e28c4a37c92e76487ecca6aa5c8e689e29836 SHA512 78577af4b6ac2ecfbeb6a18cafb67b26170316681af8076f076a601872d71b9ce65945034627fc493720bd032b0388b5db696902e44bc2e35afa1507f0406231
28 -DIST thunderbird-102.6.0-br.xpi 615115 BLAKE2B 6f0a9a91ebdd974734076079e4f6fc495bd53ace0eee0803e7b5ea166632bc36d483d38df593754e7dd7c2df37ebb5d3ce68d067c820ce1d6497acf216fa52da SHA512 54478151924207b75f45d7ff11842ce116b044775915eba930a68c40b4793dadb8cf085d78c07b358a8bac07b78d4d68dfbdf8ac08f02f5e347ef89fb619326e
29 -DIST thunderbird-102.6.0-ca.xpi 636173 BLAKE2B 8a71042393646cc58c54c8f7d8e2e58052f468eba169bd7dcc8619494ca151b73073a39d437fec714b496a6ccf247b406119ad03f9acd90aeddf07273b1d0a4c SHA512 596125f8ce3be2853d2d9ffbebe13e5989be1c694d29c5e8bace20045e372c54d8fa3f67f66fa91df571accdb4c8399cea5d479754ba53c7a6007e331e255780
30 -DIST thunderbird-102.6.0-cak.xpi 641841 BLAKE2B a577bbfaa32f6c4a1c4b06b0645a313a00f842deef75a4a1057b7b92c0b633aa5ca154160f592badc8930f6b9ca9bc0e3ce795bcdc9ceaa595cca446440284fd SHA512 736bbfbe3984a1d6bfd32a4832a9af390b8c47ff46840de54645a1868274f45066a2fda55b247c4b33413f939b8c79048676fc2c8902c2919e2629ba0725ec0a
31 -DIST thunderbird-102.6.0-cs.xpi 706337 BLAKE2B 1660326810e3f5d768be6e2bf1ced920d9a0917a4d4474f9a2d75835a43137bcf583883a40e9604449fb4384227f915631202f34c31ac9bba050b9b4f1cca1b2 SHA512 02f671229d632d69a2934e0c67540c67a2d94585ea1d5182b23c44ffa82eb17b6c030e43283c510cfd85c9237cece364fdf6769b52dcda5caedf5c5a9afb4a34
32 -DIST thunderbird-102.6.0-cy.xpi 684716 BLAKE2B 42a6eab3a276324dd39e237878253ef574aaecfe8b7a57fe715c04a3951d321306eb0c88e5f6416bfab7fa9dbf42357fe73cc31af5d3a2a533028fcda787a6ff SHA512 eb10c6609f1259000090ccb73986a8422dc123e8e89ebe8149567a3423e84ca616cfef1f95fc1daf3aadeb91d3c7a6bd9a3512e79c62692e6bcb386d22fd366c
33 -DIST thunderbird-102.6.0-da.xpi 670578 BLAKE2B 44910e31c236875473248b04cfd0d7026164ef408cdb88f481835388327cff129c8f53eb6d710745af4207c1c80241f552a07e20b8a04a6c8033cd127ee77804 SHA512 d2a229417c1a7240f9f2e19cc1bceeb3cb747a3dfa03a118c3a6372e22c03278750d46b5f2e287a2e5dcb872f96f9330202593a369921694589d4b70b7c1797f
34 -DIST thunderbird-102.6.0-de.xpi 703558 BLAKE2B 9eb529ab6c6528025ddb08315fceddb4be974c6dd0f27b79d8d9c3d74585bdf589e998c50b1113dd998983a33435a2490eed70d2244f868ba82317ec0f37b0ac SHA512 e251e4cfe9b6edfe490b51bd3cd8e5d0a12331a66af4d5722524951f1d004a29b5b5a326786c974e062ae6422ae5c985cf133a77e411032befbac3d6bd19427c
35 -DIST thunderbird-102.6.0-dsb.xpi 718469 BLAKE2B a21dcc0a81ed4916914851d296aa67a10679f5224ce903e320887f62c2e7421b96f346086d99495913c604558d051d88f74c24bd1990fb47952753e945220e1f SHA512 df878b5fca899fdd05f9c6e232d3b350bfb0eecb498c262b29387f277fce87cc097864d9c3a350434e37d32adbba103053d6ebc7b89617e71aa351420f0c2b3d
36 -DIST thunderbird-102.6.0-el.xpi 816314 BLAKE2B 51c5a35bff3c1ae48baa11c7f2d6778b93b5ddbbef5e6a755a2af2b7ddf37c822db2098da04651f1cb7f1ca5542699cc9fa186b2c46f631be4fe99920f8cdf26 SHA512 051fc46752afb99c0485d2d7a541a6ecb25198ca4980c7738e0936bef93af84df216109d746109d81fca97742ba72111368192f438eb64417625572267dc4ef3
37 -DIST thunderbird-102.6.0-en-CA.xpi 644397 BLAKE2B 4c89635edc2108b90cbef17215fdf8e7bdf726ba6afd209b9dd8bf3b70d517e90a1e35700f9be28398e0dfc300e77bf3285a905660d4f2c084e3bfb78b0a3ad5 SHA512 1fa224ce9c7d96134e7e0d49e2d43d73d45788d7618ce4678b8ee854fb4c9ff55b69ed28a8cd3c23259bc0faacb5be96d664ac7c0a2987bc66be419359532c07
38 -DIST thunderbird-102.6.0-en-GB.xpi 645398 BLAKE2B 1127f2ff7fa1f15f4e32054e7f4093adeb7bc195daabaacf4176e3c9c058c904826f8cd4174ae09717ee35a2d0c0f061dffc3558fe76ea8670346779ab50060e SHA512 0b0f8d1715db33e9b0380032c1e9e68e94bb8fdaf4a0c5dce6fe20d9f28868403dbb8b2a052e38e31ad577ce8f3d42932065a9c74c63b0a4642084ecccb0517c
39 -DIST thunderbird-102.6.0-es-AR.xpi 695963 BLAKE2B 5438a969a194f6765cbd1715c0eb954d17aa2b786fe673c8aafa77411547a19090f3a0be8d9f79e5517bfd41b5101a3fdca76e567f89c362c9fbb748ad928b70 SHA512 71d875eed4dacaf6c57206e42377003ebe724c303b552db0338a7a96d1f66861eafe35b80c0db4e859d8bfe1dbf9082bd6d14c4f35ee820e0f534efae75d466e
40 -DIST thunderbird-102.6.0-es-ES.xpi 652044 BLAKE2B e37f6db79e677d15be9f1e0de44a59ffbd61fb1ee51b3e7428e8f4af7cdf3343c6ed4e3d78c05601522c187b58c6f9298a8e476f5a808125d71eadffb1ca75c3 SHA512 3a0cc7cda34f5103f12311d1ae5414d4b1ae20fa6824ffd16472e8dcc6909d2c87ee987bbfcef5050690e69426c3c4da47dffbf2c224deb1420122fab2be2325
41 -DIST thunderbird-102.6.0-es-MX.xpi 698653 BLAKE2B 709e3937ed27c1960f3938de2bd3d0a841a3d5c638fadf5cc25c0e082bd9cd61464be7cabac011871b0b9e41b2e6db2ef87012fc68c81b3a0c6e2594a9df391c SHA512 9572bc8861ea79c794404c0ab955a906a43b50d389aea4270f6fe69c6efad73292e06aa36f8ee9d707755b0421fd387bc4fa6c94062ed488f8082d9b93d20697
42 -DIST thunderbird-102.6.0-et.xpi 666813 BLAKE2B 13cfd1c60b1cd6bec28c5a74bf087e5a1bcd3abced363f55c8e5f2265d8c8a8f6b4f2fc597f4aeddd3577c93fa91907a96c55b8399826b7f9f70e9d35e661111 SHA512 7f9b72b447362eaa90ffd9e107fc0596252ad9401b672e6e42cae6f357817e1823bbd0b3a96de3c1e2662de80dd3c8d36159fef6e5b34cea6ed7df513b1586fb
43 -DIST thunderbird-102.6.0-eu.xpi 680211 BLAKE2B 3999aaded266d553641376770cf23beabcc85c764e54849f2d96b463cf7d444f3e4229b01dc7639b26daef058f40d4795b0baa3e3defa5b89f613610479fae33 SHA512 ce103d756783ff5d7f0f98380b40fb8519642dc59c656551314edc99350bcf63990cb42c6c4b6febe3c14293284c968bd747c75fbdabd1bb0965fed2e841e884
44 -DIST thunderbird-102.6.0-fi.xpi 673900 BLAKE2B 331a133e781779ed43bd5a1da49f077d110f0b6a9ccb69ac3b63b7cb3294b1363147fdaf11ac3eca79f396d7b9f796e995bb0fd3408e6598565851570affe458 SHA512 02e0d8a607d6c1a0a87f18c980fc71c4e07e37d216c862bd166b8b1985d58987bc6722145bfe5d7cf393f6f3a9a94f5689a3f8eec3a8b05c34d5d7c744963a3a
45 -DIST thunderbird-102.6.0-fr.xpi 708767 BLAKE2B f24c4a9cccdad7abcc63403f6b9fec3933af73aedfd36f0e1b3ba3930550ceac36fd3b5871504e559dcce41818ac4fb6654074bbbb687b4214953ab6a931ece4 SHA512 aab507318faa49cdf5023d398efb8f30672fff3684b76c95d0596d7b1ea2a2d8e330bfe2a3c3a790b73ea7a4380e84c819ec17a8f1c71354e70cc84fe08dee05
46 -DIST thunderbird-102.6.0-fy-NL.xpi 690681 BLAKE2B 08a0b387b7c9af20e02cd165a5ce8f82ee9cc2a63fd1df115f43ac2208518fa199f69013806ba308cfe26d53a7c2eea63822f059e4b1f335b9ec3506d87bf4b4 SHA512 43c19548f1c66eb6056aa8a97650cf9776898953c48861afa97bc44dd8c55ba884b5ab1ce2d925d2fd641dc10c57f10ea25cfa3802508d84515f4cea78af409b
47 -DIST thunderbird-102.6.0-ga-IE.xpi 603098 BLAKE2B d3fb9f8be27275ac0f04c7ffe8df4295e095b50bf95a0a201418007900a8ecec5cfb45b6f5bbf1c037c7df91a20381259b9d31e060e780f71b36a498905a4d14 SHA512 2ed196425786723ed4906b25b029380fcc1d3a3f029fb14aa8bfffb6fe68b28d70cf6d1173e50ef15639f7480c439266a9a76a56c2f2e4cb99eea1d3f580bbb9
48 -DIST thunderbird-102.6.0-gd.xpi 632444 BLAKE2B 9dafaa48a393817c99a6b85c20c22dc5212c6a9dca9b99028550503073827986d5f42bf50a5ff8a909df895637fcdd485497f7a23751e89d33ad7c55b3237665 SHA512 9c6265b64258c828b508054a3b35a0b6d716922203166fa386d06540a5439aa37c0eca62acfd2d0ac767b282d1b7036cec861f8b02125cf4f9432a04f9858618
49 -DIST thunderbird-102.6.0-gl.xpi 663209 BLAKE2B a22e81e3f73187deb32849abdd0360035294fd30207b6350aca86e3e74c528c02cb61114333042653f58147f54186dddbfb1696aa8681f6541e63dc3397ade40 SHA512 9679ddb054f31a23cefbe810432884ff88b755287eaea4ffb6d80d3532b213ad026f12d8a868c5c0f3030b87fc459fb01d2896dddea4564374171c2cea79c68a
50 -DIST thunderbird-102.6.0-he.xpi 662890 BLAKE2B b84a87a4f1b9527611991e518436bac332844b3f63aa2e445c769718e97f18d6a9ddb3370d0e235d79121849b7182728aa55c0d34f328128960646c51e09347d SHA512 6de0f31ebe635f09192ae04ef9abb7dfb726ee7b98240a96e8f25d1de46c30b0430941b89bcffdcfdb265e4636bbf5952fbc2a1df0a075f7e16ac2a783e3180c
51 -DIST thunderbird-102.6.0-hr.xpi 661113 BLAKE2B 46d7ed557e7a0eb9ec5115f20f4e05caddce9ff71e485fdd569194bcca5465a8825f93092fa938d7e768aac96ec8b734075e3c9fb22a603d399f2fcf2d1d919a SHA512 9f57830a5380d9684a009f63f123169eecbdc68d4288c6776639f95ba3c065ad311c3729f822b221763a5cea43839cce88fb68c0164d0af6ca066b7bf55f1b10
52 -DIST thunderbird-102.6.0-hsb.xpi 715753 BLAKE2B 1254d420a1f30e3ac6c9efc45a0e49be496ea19a2a55bceada310cd5d07fd660cc41900f9431c4a858c95bb9273de186264c6c4a7e6d4bbb51614ffee595542a SHA512 86a3ce8fd33bbdbb12e439dc9caf2540ac364cccdc5a908a4792f6bf82612a2bf4c63a392b7f65e9fbbd31fd5556e6dbbf6b83e3e3aef66296e1da12a2c3aec7
53 -DIST thunderbird-102.6.0-hu.xpi 718785 BLAKE2B d6e684910a45efb831a3ecc10f8051f200693f6d53b86ec474f3c0763f682dfda48e4d36caaec33107e8e1c488b3f608896ccb66cdfc50c78d2857056d816c7b SHA512 3f3ff25a4a1815ca8e18dc9922d533a77a4798f465e3ca94b137505ae159c62b7357ac8db2519fd0019dd52c20c018908b3aec99af16340550b0a098948854a4
54 -DIST thunderbird-102.6.0-id.xpi 639542 BLAKE2B 2184ad176da3ba13d87c4d7458665ef5d8fd90eb3857294716028dfba8c3f9695abf3df03b17a214c3a3397317fcd4324da8ccfa3a5f7c7f77c9c0b7f802451c SHA512 7a5b612777826f92abeab4d20e04824e05c3543da022a87ca15e30f1bcdbb60008bf867dc3105f2960a1f0065b1b8ea5ab7213309a7692c302aa6cf289c56762
55 -DIST thunderbird-102.6.0-is.xpi 685616 BLAKE2B e3f103ee17bf32a515f8a9feae8e0cb294a259b6cadfebdf9e2f9940014dda9b43d7ec80859f2be0a456cc0daa1c5e79aebd3ea49ad4d52802f7bc51f3e77c7c SHA512 9b628ae20c00f85ddc71c6551791c91ab0b5a42bdd0a0757b999827bc90cc3f24abae37d797715f9956ab05c5f07a5242615968254556837bb63a975f370b2d6
56 -DIST thunderbird-102.6.0-it.xpi 617778 BLAKE2B 72e83b962769c6ef054af4492419f91a35372fcd054407c8fc1310a6b1db7922f3b91bab7cd5d898d7f336c05394a9c70ec8b0bbb99119eae0be1953539c993b SHA512 dad1d4a4d039f42bf8b8338abf83d52a843358d765d1c6169a6efb88cfeffcf109f8e6157ef08dd58bda772f9873b485f3c70fc75b571ee13575dc4cec576926
57 -DIST thunderbird-102.6.0-ja.xpi 755145 BLAKE2B 133d6a442951eb4140a57a3381e9649d2222817a854639a7eb347d5ecb08db45c7e3db62a7d34281eda24fa12b5910ac0181d48495450f7626dc5d3a2258fce8 SHA512 0776d7977973d543da901dbbacf393a2bc9710a40ea77aea26411610589f6e88452633ac1fcd2eaa6d5f3873629e2f4bdf84fc6684a6181fa9c51835d182094a
58 -DIST thunderbird-102.6.0-ka.xpi 752977 BLAKE2B 8749992143020a455f8357622dfe827babd9252e6c90a1025badb3ac9d48f06b7e3af96356a5903cf7dca7352e677603de4b50f21d75d1bb4401a24d5b36dc68 SHA512 ebd01f0581d5c380118a74c8caf96802d7e0a9168ec1512ea691fd933139d71f03c0be48ea1e4fcbca4196a8512788c4c7b614c151797eb788633dcfd8ade56a
59 -DIST thunderbird-102.6.0-kab.xpi 688571 BLAKE2B 443a36e47043871fb6df3b8922c6fd0b8ee72e3b07de712c60141a1ef8421dc7fa3ebc04c42fc89921651f1064dd9e74af6308a3e2a78cb09adf20f3263170b5 SHA512 7683cebf8f35cfc8f40747982be4365757517eb29f38f429889205479d607fbc4322cd52ca0e95e7d95aeec102a6ad85cd2bfc2f96e9184a605ccf8f2d70f4e6
60 -DIST thunderbird-102.6.0-kk.xpi 731941 BLAKE2B 0483c34c197ba9a54128565ae07a8fdc8aa2ba2bf2f9f7814a145ac56b676a41c3003e0a3fcaf2e23e71a4c781c9beadef0e5c73d54ea4129cbe83b0fd2f61b4 SHA512 dbdb14b1f1817169f5a923b31e22d307808c0c5e2dc37d9eb5907a7549a18e52c324098487e61e739ff6d1c7a531ec231005fed14c85995f6eaaec1897b90d85
61 -DIST thunderbird-102.6.0-ko.xpi 692941 BLAKE2B 656e430013d62ee6cd3ebbf5a7db9d5723356203312be73c08b3c9698022c38fa3725858b7efe119fd5a7a717a620ed725e394f8c4399390f6823e34debf8786 SHA512 fc1b6f6ad34519eb7b6a8e00a5a6f191fccde5ee1fab24eb7417e1f8b384cb79c20ab8190f0773d17bff7f1c6caac76cac6ab79b1f7207e5260485b611fa0b43
62 -DIST thunderbird-102.6.0-lt.xpi 680719 BLAKE2B b94fe6f0bc5dcd5cfee2d0fbd4f1aec71d913f0245f64ea9e814744e715a6adfacdde238b3215a1e4d13c586520474645b7ff18b49a364fac12be793aa767104 SHA512 fd5da6cbda18266b5f2af0fe2dcb48a4342a4fbdc64e56457532a7c1b298b3b14e8ef6cb82b56d479f3f503ae89141aa7a8f7e97cdfe5fafdfb6768398b61eea
63 -DIST thunderbird-102.6.0-lv.xpi 608590 BLAKE2B 9251982242fbea22292aa22e5849ac35013ee78d485b0d51dc0784f97927c4e1c1e511cf275a4d0a4289754d80b6d0324a6e3676fade5d1f46d36d5e9c25a371 SHA512 6efe47150ed0764666967783b18ba8d925139289664916a85887654a82eef3e7c35b24e0241f0c646f8b74f3eb6418f2df0082e873d83655903efed7299140a8
64 -DIST thunderbird-102.6.0-ms.xpi 568426 BLAKE2B 689318f581ca31b2082edf2290f4db8da143d0fe176aaaedacf76ce1c92d9908938fb5c64ef8b505949a85672c13252462e854e1e9fb35a340f35f188d36a7f4 SHA512 c330d82486c5113f190ae6708cd097b71979a66c8e990702bfa2a7e129cb004b72f50e0498086dcea430b971465d14e35c4e9406f3564e2bc14bf8d91bd7b557
65 -DIST thunderbird-102.6.0-nb-NO.xpi 648581 BLAKE2B 62e8e7aeded9bea7d8c9927ddfc7561991193e856939aa4efc55f1d4d68b867d5c3641474e27f6ad52740bb3ff15e0b54061ca3fd4a174af1eae619efc4cadb1 SHA512 1ec77469b9a8263f3986e215996dc9269e40666cf1d9db8d57ef9a60616be28feb9d7bf022c3df7fab79d4b47579167cf9adba0fa9f47a0eca35c72edc0b8ee4
66 -DIST thunderbird-102.6.0-nl.xpi 682267 BLAKE2B 1e0ee3763215dfb1c61f3f798ec8d5e3d2d06d20ffcdf29aa195d04a01fb0b779511a3008622786dca5e388f1b21d2c6180ab68208cff6489b0c0ccef76d8413 SHA512 fcfaa77776c01f9b30ba7fcb1fa09196b131f43ad1811822553419f8660b1048bf878eb54cb1e1d94dc774441375558a0ed9cf0f2db690876d9ae786f5bd5f6d
67 -DIST thunderbird-102.6.0-nn-NO.xpi 656905 BLAKE2B 1fc58a52d85458e9adc5c89bf9391bc646611cc9c2627f2c268ae494a95914126fd5b79443ed7d3255c938e0943376933c1b5c85ddfad0a9506eb5c461a001a0 SHA512 fc732834cc0d69fbb6fedef64404eb76b1a3930958ffc20f482b8fb6f99a71043335cefd9cc34da64a3f7fcee51f02499021962044e93675ca235044e543c884
68 -DIST thunderbird-102.6.0-pa-IN.xpi 653543 BLAKE2B eb712c58dfe9b544ad95e0d55474fce719c35471227f05625c7b2ce6683c830446b3e1be6849ec6dcc3c13d0f2abd36c5de3d14b71786e1fdee6ad876afedd1e SHA512 9f40f5bdfd169a812e7903971e90a416e5afa5940c159a93ceb9b8099185c53cae8f60db200b0e882e219e52e19081014a17954fe12a2ae8e6ff3e67f54f8949
69 -DIST thunderbird-102.6.0-pl.xpi 695417 BLAKE2B c25755090a7346019ba6a6cf0883899fa48e95f67e8bca0f2dfdeeb6f7632118e31ae274b6e62e9da8eb7497344353dcfee73a2ed850dfb608cdf7bee32efa17 SHA512 80abb78e6af93fb0808c9ff0d815262c2bcdec4610f6f5acbe61dd5c3f7e1a8627f5699dab39964c00f43bc00c0c8b69a129caec06dfae183ef00b69a0e6be91
70 -DIST thunderbird-102.6.0-pt-BR.xpi 690288 BLAKE2B 9735797eea770807d0a703167cfe618f1ffc531a2b67d91f5f42079dbb76717295b6ec03ad7200737cca784cb9c4b87f4aa5d21e0a632fbb8371a0f51db10491 SHA512 47c0c6a1c9945f4220330d0e514fbe0ac92758a1278c76ee9511953bba13498ea07ff16a40f9e27062dc351942723f9864132fc7a330f5b47914b1e5ed8fdcb0
71 -DIST thunderbird-102.6.0-pt-PT.xpi 666879 BLAKE2B 5206cadb17d735b9b279fb79a695044025c2ec59f887c4bdf2b09487dec911b80ca12b2eb7c96a014b2a6f6aa860a61040fb56f8bab39676b215e2c776297344 SHA512 3cf8c8bc313a9dd385b5186ef35dd20e6be5314374eb788dd7d8203efb2be9335c55c264a1e886eb445c55dd81f9b623527d26f28c4cace28967b5f058cd9503
72 -DIST thunderbird-102.6.0-rm.xpi 686111 BLAKE2B 3cb6183f9230ea5e00037345bc78eb40141c094c793c07dfdc4a8f26eed163c09764b20886d994e28560f84448a9c3d9f98a941257344da16de9e2336c568ca5 SHA512 9fe6acc962feab4af57d7f8d42f447c315019afa911950d1480ae45f44b102ea7e3fb28af21f609671c07acda307ea9863fe7de823242cb7017f5bee940de967
73 -DIST thunderbird-102.6.0-ro.xpi 651333 BLAKE2B f4eb13cc5392e3d4f67793cce56f2371ba6532f9dfdd8524e0c15f7ac2b96614a01d280bd47b0a9aff5e5210b63b3149712fbc40449328302a00dcef2bb9796c SHA512 3c15aa06cb8d5a7bd40c8c6bf6aad727ef6c482991318f4c37da54239aa19bf2440391b80350f29716d8d270031ab82e84f85e921abc3e06d5d6235e54f93579
74 -DIST thunderbird-102.6.0-ru.xpi 801784 BLAKE2B e88d66c025284825926b81c4ace40a97648179183a3dc3443cb197b89e18fdadb2a2284f38e0b96163e10fb62aec80e198020195edd674c2fe729ab2c9284ebc SHA512 a5f1d1f6a4a243c08b262be67ee5cbaf683297f411b10268a12fb106f79d909605cdf6997a6f3fb27a7ed8e6e99cf205de6d8acd173052dc87b71b8c619cddef
75 -DIST thunderbird-102.6.0-sk.xpi 718355 BLAKE2B 4d1dc612324026b8362c15b3097019b1cc5f784f3ec37aa6edafa61daecebf77cf9c9c51645de662d7bdbf926a80f056c77966e4ac4474094dff20baf62c0d7a SHA512 4db3a11ad4f79969b7ffc896a6c085e6b11410abce3ebb198c8ce7c9a1972510b59307be9ff31213af9bfd2d742e572354a1153fe2a35fc9ee5759a83a1a5c00
76 -DIST thunderbird-102.6.0-sl.xpi 683783 BLAKE2B 56b393ec7500f29dafae0244f9330bef0e6a4b10c063102849f2b2a146d3cfd0ac9792c95e3fe46e71fcdb235470831e11c7818e82b437432b4745a79cdd21ca SHA512 92c76c1e2fe327445c442656b7a7b256225b8517b9d37705746d388fe8428122b376fc7ed2bb01cecae70e4d756431c2596f37dfc21c2eaa146ffcd2e215e92e
77 -DIST thunderbird-102.6.0-sq.xpi 690225 BLAKE2B 6d68b5445ffc0da516f063997518cf5491a674ba4c8aa1e4a3a104e859263d5fdf6e5a09217619845c9656c3cbd62a72c77563f718b039eb9205b13a936d642b SHA512 6f1117c9b43759841f66eba4d2423914d05f6c8255f8e231359a0f31bc116afe1a6b6fdc059c35145f873be168ece0bbe403fcd675510282583cccb195daeb2c
78 -DIST thunderbird-102.6.0-sr.xpi 705270 BLAKE2B 88dadfa227cc46e92bfd10d6ce0c41ed21a3fbc97f2b2f35360833e35defd8edfc6e4608c6bc29255612d3306ea6ee1bb052ea13545dacc5e86b74edb369e48c SHA512 19e0b4520796f0abbe30761134eeffaa130d903abdf77a1eef24f36b1feb7ed9e3a4758ead61fce7e53b201dd1619afe0aa50c813f49f92c56834ed8a3ce100f
79 -DIST thunderbird-102.6.0-sv-SE.xpi 685685 BLAKE2B a3cc5187879243ce138aac16ed618e72a63f45b31dcf99517763ed1152dd865c514929f9a397e540be28a63e0820c3f01b1420809b5430efd09b8899fcdfab92 SHA512 5f91e8d45f540d1a2dd018bb40052dcec931d01e574d91db3803bede2c3de896252f17aa22d3a135b89d96d219c6c6c1a2fc72d6cee461c4e200ecd5bac382c1
80 -DIST thunderbird-102.6.0-th.xpi 734541 BLAKE2B c73c8724dc639011f68aa258eef6ae509dbc0c76afbce008f2a2e309d9582582b2637b0d7cc0fbb4d8215f33962ef0f23c9e14c1a57ab3ac49a9de550a8d88c0 SHA512 ef3b2a00a8a03584b751940ecaa06698106982704df843b05c49f9d27d7cfc46faffd0b25621cfed7843b0b9b6456e33e7e87388ceab68eb156d9320e03d7e00
81 -DIST thunderbird-102.6.0-tr.xpi 697056 BLAKE2B 89f4c8fc64a3946773901ff1ed0acc5ed8835e9d55667309f14c7be7a154e9dfcd7659634dd160504d5dfe85f361d944d144c94cdd66b2aeec3cf83209a78f59 SHA512 af51189eeaa7fa102ae0948b2210e8c2cdd9792209157248576c5859d8572f8b31496ebe18fc27e64c55f348278ce5ea0e850d951736752a48364d75640e37a3
82 -DIST thunderbird-102.6.0-uk.xpi 794406 BLAKE2B cf7487a685d80cf43a6084fde50048d87e8f50a4213be41e649606f7e0cd788bf9145efdd7571a41a360b821061e96f4dd8dd52427c37d27733c6d51f4c3be0c SHA512 7694f113a68dd6d9acc77ba4566abfa342c0d2a9023c4722f878e75763f9cc046f935063e3d76b9d2f7de1c83aa74cc1cdf3441a66913a3a387809d75a643ea1
83 -DIST thunderbird-102.6.0-uz.xpi 584806 BLAKE2B 68dc65a45bdc0cba2d381ddcad39c500e9b61480c3e234dd704fdcb7f9710188d694cf75ef1bde901892e087fabb8f17be6a8922d50c303e80dddc463793461a SHA512 47820076488e81d7e792574633d44f7114ddada2a8a65738ad8f6531ce77f2f63018c46b26d38f704e690b851c8a732cb8e57f52d8ffb807f37f9cfde034b0b9
84 -DIST thunderbird-102.6.0-vi.xpi 724846 BLAKE2B 6dca929b4e4153c1e6b92b300f5545d8169df52442c63014d11ec5483fd3d45138e7a5b674220c50ac0052e5980c960174664ec47e2408b31d48c0e826085a47 SHA512 031ce995cdb963f0568affbf191abf15a3ee321278bd907213372c967624b66214d2233118903dea0e21708537f599a35181fa34003083293e0ebb0c6fc58be4
85 -DIST thunderbird-102.6.0-zh-CN.xpi 722697 BLAKE2B ee72fcf8d68619b3e256dcf0008724005f2e5096a571275b652ea7a617c5bd951462677a9081978063055374e175fafbc64feb9d2a2d588d6150dc0e55e00722 SHA512 dcc1f0281926eaf0b480c702df74ccf8decf3d53902df96b7deec1e68d7ad0472c01a8f9aa1b7ee8bf9d7e5ec577e8bde682922c99cdc0b43d83c6a520d18523
86 -DIST thunderbird-102.6.0-zh-TW.xpi 725968 BLAKE2B b6b27f9376c32fc7cf69581a4f02847b6fc57dbd20d311215e29704f783eaa0cd9bb4901549c004f3fbbf39aa68c7cef4fb1f7e5dace611e4a30534e315a64a4 SHA512 904c5a8159b4d468745455b090013d6447de265d13b031f0ef19f2488130767e556e9a9513ebd8614ce6def270966e4a55fb57281092c45e41cee98f41bdcb3c
87 -DIST thunderbird-102.6.0.source.tar.xz 503321152 BLAKE2B 1cacdaadd952f8dd7e2d2cdf47288d58922919fe2171e403e5a31fdae77b172be2921e455cd37253541ddf49ed3c105a5b29d994ef374625cd45804a200e843d SHA512 34f79068685ace75ca65141d8165138d25326e9d0a1c25b0463ea69c64a7240dd19c6c894c875c5429cf7b40344fbd32b1ba0412bf8893c4bb744c83f8bc25ad
88 DIST thunderbird-102.6.1-af.xpi 551371 BLAKE2B 1663fbb2cd90e6638cb96922e515e0b5762cf55bb6fe3c366c83508a01c49e27656a89e0c6ba0a7079bcbbca02f702f967d3858ba7fb7931b6653f92b7ba6496 SHA512 730306d74c3ef95f5e3a2b90e868d6c963687b436ef7310b01f48d23b3a0c9f0370e21506d946d8b3e2930d563c2a9bfc3ab115be5d28f0d2f61237b276824e5
89 DIST thunderbird-102.6.1-ar.xpi 656150 BLAKE2B 33f2ff4e97b206b5b7c27b661f863fde2e83ac066f136e0c1c8ad2e7779b0aa70d3460868b3fe3a25037e9adfc84cb1617fdc1136e165c3309560dd282be2821 SHA512 6c045f1cb0f4a1d67598f3149500b32d9a36a6549eb116e4901c640091b604b8cc106a1e5ca38e4786ef894b7c7ee3230e94ff44b29e013bc07ca7c1e8cf8f38
90 DIST thunderbird-102.6.1-ast.xpi 564287 BLAKE2B 8355c98444ad184b37b00a64dcd270c33ccf98a17349c726ba41d6d138959372c48af3f654c34305958bc5198b51af75dfd3253e8d85c5b1043d76cc19d496cb SHA512 9739b6850b543f674805189bac97eb2b1c5ff7d756f6f7cb5b748aaeb72f80a1b2bddcfc98f55bb14a55d716302d039fccaf4d85879c3a7d28fc1c97c699432c
91
92 diff --git a/mail-client/thunderbird/thunderbird-102.6.0.ebuild b/mail-client/thunderbird/thunderbird-102.6.0.ebuild
93 deleted file mode 100644
94 index cd66080501e7..000000000000
95 --- a/mail-client/thunderbird/thunderbird-102.6.0.ebuild
96 +++ /dev/null
97 @@ -1,1177 +0,0 @@
98 -# Copyright 1999-2023 Gentoo Authors
99 -# Distributed under the terms of the GNU General Public License v2
100 -
101 -EAPI=8
102 -
103 -FIREFOX_PATCHSET="firefox-102esr-patches-07j.tar.xz"
104 -
105 -LLVM_MAX_SLOT=15
106 -
107 -PYTHON_COMPAT=( python3_{9..11} )
108 -PYTHON_REQ_USE="ncurses,sqlite,ssl"
109 -
110 -WANT_AUTOCONF="2.1"
111 -
112 -VIRTUALX_REQUIRED="pgo"
113 -
114 -MOZ_ESR=
115 -
116 -MOZ_PV=${PV}
117 -MOZ_PV_SUFFIX=
118 -if [[ ${PV} =~ (_(alpha|beta|rc).*)$ ]] ; then
119 - MOZ_PV_SUFFIX=${BASH_REMATCH[1]}
120 -
121 - # Convert the ebuild version to the upstream Mozilla version
122 - MOZ_PV="${MOZ_PV/_alpha/a}" # Handle alpha for SRC_URI
123 - MOZ_PV="${MOZ_PV/_beta/b}" # Handle beta for SRC_URI
124 - MOZ_PV="${MOZ_PV%%_rc*}" # Handle rc for SRC_URI
125 -fi
126 -
127 -if [[ -n ${MOZ_ESR} ]] ; then
128 - # ESR releases have slightly different version numbers
129 - MOZ_PV="${MOZ_PV}esr"
130 -fi
131 -
132 -MOZ_PN="${PN%-bin}"
133 -MOZ_P="${MOZ_PN}-${MOZ_PV}"
134 -MOZ_PV_DISTFILES="${MOZ_PV}${MOZ_PV_SUFFIX}"
135 -MOZ_P_DISTFILES="${MOZ_PN}-${MOZ_PV_DISTFILES}"
136 -
137 -inherit autotools check-reqs desktop flag-o-matic gnome2-utils \
138 - llvm multiprocessing optfeature pax-utils python-any-r1 toolchain-funcs \
139 - virtualx xdg
140 -
141 -MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/releases/${MOZ_PV}"
142 -
143 -if [[ ${PV} == *_rc* ]] ; then
144 - MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/candidates/${MOZ_PV}-candidates/build${PV##*_rc}"
145 -fi
146 -
147 -PATCH_URIS=(
148 - https://dev.gentoo.org/~{juippis,whissi,slashbeast}/mozilla/patchsets/${FIREFOX_PATCHSET}
149 -)
150 -
151 -SRC_URI="${MOZ_SRC_BASE_URI}/source/${MOZ_P}.source.tar.xz -> ${MOZ_P_DISTFILES}.source.tar.xz
152 - ${PATCH_URIS[@]}"
153 -
154 -DESCRIPTION="Thunderbird Mail Client"
155 -HOMEPAGE="https://www.thunderbird.net/"
156 -
157 -KEYWORDS="amd64 ~arm64 ~ppc64 x86"
158 -
159 -SLOT="0"
160 -LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
161 -
162 -IUSE="+clang cpu_flags_arm_neon dbus debug eme-free hardened hwaccel"
163 -IUSE+=" jack libproxy lto +openh264 pgo pulseaudio sndio selinux"
164 -IUSE+=" +system-av1 +system-harfbuzz +system-icu +system-jpeg +system-libevent +system-libvpx system-png system-python-libs +system-webp"
165 -IUSE+=" wayland wifi"
166 -
167 -# Thunderbird-only USE flags.
168 -IUSE+=" +system-librnp"
169 -
170 -REQUIRED_USE="debug? ( !system-av1 )
171 - pgo? ( lto )
172 - wayland? ( dbus )
173 - wifi? ( dbus )"
174 -
175 -# Thunderbird-only dependencies.
176 -TB_ONLY_DEPEND="!<x11-plugins/enigmail-2.2
177 - selinux? ( sec-policy/selinux-thunderbird )
178 - !system-librnp? ( dev-libs/jsoncpp )
179 - system-librnp? ( dev-util/librnp )"
180 -BDEPEND="${PYTHON_DEPS}
181 - || (
182 - (
183 - sys-devel/clang:15
184 - sys-devel/llvm:15
185 - clang? (
186 - sys-devel/lld:15
187 - virtual/rust:0/llvm-15
188 - pgo? ( =sys-libs/compiler-rt-sanitizers-15*[profile] )
189 - )
190 - )
191 - (
192 - sys-devel/clang:14
193 - sys-devel/llvm:14
194 - clang? (
195 - sys-devel/lld:14
196 - virtual/rust:0/llvm-14
197 - pgo? ( =sys-libs/compiler-rt-sanitizers-14*[profile] )
198 - )
199 - )
200 - )
201 - !clang? ( virtual/rust )
202 - app-arch/unzip
203 - app-arch/zip
204 - >=dev-util/cbindgen-0.24.3
205 - net-libs/nodejs
206 - virtual/pkgconfig
207 - amd64? ( >=dev-lang/nasm-2.14 )
208 - x86? ( >=dev-lang/nasm-2.14 )"
209 -
210 -COMMON_DEPEND="${TB_ONLY_DEPEND}
211 - >=app-accessibility/at-spi2-core-2.46.0:2
212 - dev-libs/expat
213 - dev-libs/glib:2
214 - dev-libs/libffi:=
215 - >=dev-libs/nss-3.79.2
216 - >=dev-libs/nspr-4.34
217 - media-libs/alsa-lib
218 - media-libs/fontconfig
219 - media-libs/freetype
220 - media-libs/mesa
221 - media-video/ffmpeg
222 - sys-libs/zlib
223 - virtual/freedesktop-icon-theme
224 - virtual/opengl
225 - x11-libs/cairo[X]
226 - x11-libs/gdk-pixbuf
227 - x11-libs/gtk+:3[X]
228 - x11-libs/libX11
229 - x11-libs/libXcomposite
230 - x11-libs/libXdamage
231 - x11-libs/libXext
232 - x11-libs/libXfixes
233 - x11-libs/libXrandr
234 - x11-libs/libXtst
235 - x11-libs/libxcb:=
236 - x11-libs/libxkbcommon[X]
237 - x11-libs/pango
238 - x11-libs/pixman
239 - dbus? (
240 - dev-libs/dbus-glib
241 - sys-apps/dbus
242 - )
243 - jack? ( virtual/jack )
244 - libproxy? ( net-libs/libproxy )
245 - sndio? ( >=media-sound/sndio-1.8.0-r1 )
246 - system-av1? (
247 - >=media-libs/dav1d-1.0.0:=
248 - >=media-libs/libaom-1.0.0:=
249 - )
250 - system-harfbuzz? (
251 - >=media-gfx/graphite2-1.3.13
252 - >=media-libs/harfbuzz-2.8.1:0=
253 - )
254 - system-icu? ( >=dev-libs/icu-71.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 - wayland? (
261 - x11-libs/gtk+:3[wayland]
262 - x11-libs/libdrm
263 - x11-libs/libxkbcommon[wayland]
264 - )
265 - wifi? (
266 - kernel_linux? (
267 - dev-libs/dbus-glib
268 - net-misc/networkmanager
269 - sys-apps/dbus
270 - )
271 - )"
272 -
273 -RDEPEND="${COMMON_DEPEND}
274 - jack? ( virtual/jack )
275 - openh264? ( media-libs/openh264:*[plugin] )
276 - pulseaudio? (
277 - || (
278 - media-sound/pulseaudio
279 - >=media-sound/apulse-0.1.12-r4
280 - )
281 - )"
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 -
293 -S="${WORKDIR}/${PN}-${PV%_*}"
294 -
295 -llvm_check_deps() {
296 - if ! has_version -b "sys-devel/clang:${LLVM_SLOT}" ; then
297 - einfo "sys-devel/clang:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
298 - return 1
299 - fi
300 -
301 - if use clang ; then
302 - if ! has_version -b "sys-devel/lld:${LLVM_SLOT}" ; then
303 - einfo "sys-devel/lld:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
304 - return 1
305 - fi
306 -
307 - if ! has_version -b "virtual/rust:0/llvm-${LLVM_SLOT}" ; then
308 - einfo "virtual/rust:0/llvm-${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
309 - return 1
310 - fi
311 -
312 - if use pgo ; then
313 - if ! has_version -b "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*[profile]" ; then
314 - einfo "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*[profile] is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
315 - return 1
316 - fi
317 - fi
318 - fi
319 -
320 - einfo "Using LLVM slot ${LLVM_SLOT} to build" >&2
321 -}
322 -
323 -MOZ_LANGS=(
324 - af ar ast be bg br ca cak cs cy da de dsb
325 - el en-CA en-GB en-US es-AR es-ES es-MX et eu
326 - fi fr fy-NL ga-IE gd gl he hr hsb hu
327 - id is it ja ka kab kk ko lt lv ms nb-NO nl nn-NO
328 - pa-IN pl pt-BR pt-PT rm ro ru
329 - sk sl sq sr sv-SE th tr uk uz vi zh-CN zh-TW
330 -)
331 -
332 -mozilla_set_globals() {
333 - # https://bugs.gentoo.org/587334
334 - local MOZ_TOO_REGIONALIZED_FOR_L10N=(
335 - fy-NL ga-IE gu-IN hi-IN hy-AM nb-NO ne-NP nn-NO pa-IN sv-SE
336 - )
337 -
338 - local lang xflag
339 - for lang in "${MOZ_LANGS[@]}" ; do
340 - # en and en_US are handled internally
341 - if [[ ${lang} == en ]] || [[ ${lang} == en-US ]] ; then
342 - continue
343 - fi
344 -
345 - # strip region subtag if $lang is in the list
346 - if has ${lang} "${MOZ_TOO_REGIONALIZED_FOR_L10N[@]}" ; then
347 - xflag=${lang%%-*}
348 - else
349 - xflag=${lang}
350 - fi
351 -
352 - SRC_URI+=" l10n_${xflag/[_@]/-}? ("
353 - SRC_URI+=" ${MOZ_SRC_BASE_URI}/linux-x86_64/xpi/${lang}.xpi -> ${MOZ_P_DISTFILES}-${lang}.xpi"
354 - SRC_URI+=" )"
355 - IUSE+=" l10n_${xflag/[_@]/-}"
356 - done
357 -}
358 -mozilla_set_globals
359 -
360 -moz_clear_vendor_checksums() {
361 - debug-print-function ${FUNCNAME} "$@"
362 -
363 - if [[ ${#} -ne 1 ]] ; then
364 - die "${FUNCNAME} requires exact one argument"
365 - fi
366 -
367 - einfo "Clearing cargo checksums for ${1} ..."
368 -
369 - sed -i \
370 - -e 's/\("files":{\)[^}]*/\1/' \
371 - "${S}"/third_party/rust/${1}/.cargo-checksum.json \
372 - || die
373 -}
374 -
375 -moz_install_xpi() {
376 - debug-print-function ${FUNCNAME} "$@"
377 -
378 - if [[ ${#} -lt 2 ]] ; then
379 - die "${FUNCNAME} requires at least two arguments"
380 - fi
381 -
382 - local DESTDIR=${1}
383 - shift
384 -
385 - insinto "${DESTDIR}"
386 -
387 - local emid xpi_file xpi_tmp_dir
388 - for xpi_file in "${@}" ; do
389 - emid=
390 - xpi_tmp_dir=$(mktemp -d --tmpdir="${T}")
391 -
392 - # Unpack XPI
393 - unzip -qq "${xpi_file}" -d "${xpi_tmp_dir}" || die
394 -
395 - # Determine extension ID
396 - if [[ -f "${xpi_tmp_dir}/install.rdf" ]] ; then
397 - emid=$(sed -n -e '/install-manifest/,$ { /em:id/!d; s/.*[\">]\([^\"<>]*\)[\"<].*/\1/; p; q }' "${xpi_tmp_dir}/install.rdf")
398 - [[ -z "${emid}" ]] && die "failed to determine extension id from install.rdf"
399 - elif [[ -f "${xpi_tmp_dir}/manifest.json" ]] ; then
400 - emid=$(sed -n -e 's/.*"id": "\([^"]*\)".*/\1/p' "${xpi_tmp_dir}/manifest.json")
401 - [[ -z "${emid}" ]] && die "failed to determine extension id from manifest.json"
402 - else
403 - die "failed to determine extension id"
404 - fi
405 -
406 - einfo "Installing ${emid}.xpi into ${ED}${DESTDIR} ..."
407 - newins "${xpi_file}" "${emid}.xpi"
408 - done
409 -}
410 -
411 -mozconfig_add_options_ac() {
412 - debug-print-function ${FUNCNAME} "$@"
413 -
414 - if [[ ${#} -lt 2 ]] ; then
415 - die "${FUNCNAME} requires at least two arguments"
416 - fi
417 -
418 - local reason=${1}
419 - shift
420 -
421 - local option
422 - for option in ${@} ; do
423 - echo "ac_add_options ${option} # ${reason}" >>${MOZCONFIG}
424 - done
425 -}
426 -
427 -mozconfig_add_options_mk() {
428 - debug-print-function ${FUNCNAME} "$@"
429 -
430 - if [[ ${#} -lt 2 ]] ; then
431 - die "${FUNCNAME} requires at least two arguments"
432 - fi
433 -
434 - local reason=${1}
435 - shift
436 -
437 - local option
438 - for option in ${@} ; do
439 - echo "mk_add_options ${option} # ${reason}" >>${MOZCONFIG}
440 - done
441 -}
442 -
443 -mozconfig_use_enable() {
444 - debug-print-function ${FUNCNAME} "$@"
445 -
446 - if [[ ${#} -lt 1 ]] ; then
447 - die "${FUNCNAME} requires at least one arguments"
448 - fi
449 -
450 - local flag=$(use_enable "${@}")
451 - mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" "${flag}"
452 -}
453 -
454 -mozconfig_use_with() {
455 - debug-print-function ${FUNCNAME} "$@"
456 -
457 - if [[ ${#} -lt 1 ]] ; then
458 - die "${FUNCNAME} requires at least one arguments"
459 - fi
460 -
461 - local flag=$(use_with "${@}")
462 - mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" "${flag}"
463 -}
464 -
465 -pkg_pretend() {
466 - if [[ ${MERGE_TYPE} != binary ]] ; then
467 - if use pgo ; then
468 - if ! has usersandbox $FEATURES ; then
469 - die "You must enable usersandbox as X server can not run as root!"
470 - fi
471 - fi
472 -
473 - # Ensure we have enough disk space to compile
474 - if use pgo || use lto || use debug ; then
475 - CHECKREQS_DISK_BUILD="13500M"
476 - else
477 - CHECKREQS_DISK_BUILD="6600M"
478 - fi
479 -
480 - check-reqs_pkg_pretend
481 - fi
482 -}
483 -
484 -pkg_setup() {
485 - if [[ ${MERGE_TYPE} != binary ]] ; then
486 - if use pgo ; then
487 - if ! has userpriv ${FEATURES} ; then
488 - eerror "Building ${PN} with USE=pgo and FEATURES=-userpriv is not supported!"
489 - fi
490 - fi
491 -
492 - # Ensure we have enough disk space to compile
493 - if use pgo || use lto || use debug ; then
494 - CHECKREQS_DISK_BUILD="13500M"
495 - else
496 - CHECKREQS_DISK_BUILD="6400M"
497 - fi
498 -
499 - check-reqs_pkg_setup
500 -
501 - llvm_pkg_setup
502 -
503 - if use clang && use lto ; then
504 - local version_lld=$(ld.lld --version 2>/dev/null | awk '{ print $2 }')
505 - [[ -n ${version_lld} ]] && version_lld=$(ver_cut 1 "${version_lld}")
506 - [[ -z ${version_lld} ]] && die "Failed to read ld.lld version!"
507 -
508 - local version_llvm_rust=$(rustc -Vv 2>/dev/null | grep -F -- 'LLVM version:' | awk '{ print $3 }')
509 - [[ -n ${version_llvm_rust} ]] && version_llvm_rust=$(ver_cut 1 "${version_llvm_rust}")
510 - [[ -z ${version_llvm_rust} ]] && die "Failed to read used LLVM version from rustc!"
511 -
512 - if ver_test "${version_lld}" -ne "${version_llvm_rust}" ; then
513 - eerror "Rust is using LLVM version ${version_llvm_rust} but ld.lld version belongs to LLVM version ${version_lld}."
514 - eerror "You will be unable to link ${CATEGORY}/${PN}. To proceed you have the following options:"
515 - eerror " - Manually switch rust version using 'eselect rust' to match used LLVM version"
516 - eerror " - Switch to dev-lang/rust[system-llvm] which will guarantee matching version"
517 - eerror " - Build ${CATEGORY}/${PN} without USE=lto"
518 - eerror " - Rebuild lld with llvm that was used to build rust (may need to rebuild the whole "
519 - eerror " llvm/clang/lld/rust chain depending on your @world updates)"
520 - die "LLVM version used by Rust (${version_llvm_rust}) does not match with ld.lld version (${version_lld})!"
521 - fi
522 - fi
523 -
524 - python-any-r1_pkg_setup
525 -
526 - # Avoid PGO profiling problems due to enviroment leakage
527 - # These should *always* be cleaned up anyway
528 - unset \
529 - DBUS_SESSION_BUS_ADDRESS \
530 - DISPLAY \
531 - ORBIT_SOCKETDIR \
532 - SESSION_MANAGER \
533 - XAUTHORITY \
534 - XDG_CACHE_HOME \
535 - XDG_SESSION_COOKIE
536 -
537 - # Build system is using /proc/self/oom_score_adj, bug #604394
538 - addpredict /proc/self/oom_score_adj
539 -
540 - if use pgo ; then
541 - # Allow access to GPU during PGO run
542 - local ati_cards mesa_cards nvidia_cards render_cards
543 - shopt -s nullglob
544 -
545 - ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g')
546 - if [[ -n "${ati_cards}" ]] ; then
547 - addpredict "${ati_cards}"
548 - fi
549 -
550 - mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g')
551 - if [[ -n "${mesa_cards}" ]] ; then
552 - addpredict "${mesa_cards}"
553 - fi
554 -
555 - nvidia_cards=$(echo -n /dev/nvidia* | sed 's/ /:/g')
556 - if [[ -n "${nvidia_cards}" ]] ; then
557 - addpredict "${nvidia_cards}"
558 - fi
559 -
560 - render_cards=$(echo -n /dev/dri/renderD128* | sed 's/ /:/g')
561 - if [[ -n "${render_cards}" ]] ; then
562 - addpredict "${render_cards}"
563 - fi
564 -
565 - shopt -u nullglob
566 - fi
567 -
568 - if ! mountpoint -q /dev/shm ; then
569 - # If /dev/shm is not available, configure is known to fail with
570 - # a traceback report referencing /usr/lib/pythonN.N/multiprocessing/synchronize.py
571 - ewarn "/dev/shm is not mounted -- expect build failures!"
572 - fi
573 -
574 - # Google API keys (see http://www.chromium.org/developers/how-tos/api-keys)
575 - # Note: These are for Gentoo Linux use ONLY. For your own distribution, please
576 - # get your own set of keys.
577 - if [[ -z "${MOZ_API_KEY_GOOGLE+set}" ]] ; then
578 - MOZ_API_KEY_GOOGLE="AIzaSyDEAOvatFogGaPi0eTgsV_ZlEzx0ObmepsMzfAc"
579 - fi
580 -
581 - if [[ -z "${MOZ_API_KEY_LOCATION+set}" ]] ; then
582 - MOZ_API_KEY_LOCATION="AIzaSyB2h2OuRgGaPicUgy5N-5hsZqiPW6sH3n_rptiQ"
583 - fi
584 -
585 - # Mozilla API keys (see https://location.services.mozilla.com/api)
586 - # Note: These are for Gentoo Linux use ONLY. For your own distribution, please
587 - # get your own set of keys.
588 - if [[ -z "${MOZ_API_KEY_MOZILLA+set}" ]] ; then
589 - MOZ_API_KEY_MOZILLA="edb3d487-3a84-46m0ap1e3-9dfd-92b5efaaa005"
590 - fi
591 -
592 - # Ensure we use C locale when building, bug #746215
593 - export LC_ALL=C
594 - fi
595 -}
596 -
597 -src_unpack() {
598 - local _lp_dir="${WORKDIR}/language_packs"
599 - local _src_file
600 -
601 - if [[ ! -d "${_lp_dir}" ]] ; then
602 - mkdir "${_lp_dir}" || die
603 - fi
604 -
605 - for _src_file in ${A} ; do
606 - if [[ ${_src_file} == *.xpi ]]; then
607 - cp "${DISTDIR}/${_src_file}" "${_lp_dir}" || die "Failed to copy '${_src_file}' to '${_lp_dir}'!"
608 - else
609 - unpack ${_src_file}
610 - fi
611 - done
612 -}
613 -
614 -src_prepare() {
615 - if use lto; then
616 - rm -v "${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch || die
617 - fi
618 -
619 - eapply "${WORKDIR}/firefox-patches"
620 -
621 - # Allow user to apply any additional patches without modifing ebuild
622 - eapply_user
623 -
624 - # Make cargo respect MAKEOPTS
625 - export CARGO_BUILD_JOBS="$(makeopts_jobs)"
626 -
627 - # Make LTO respect MAKEOPTS
628 - sed -i \
629 - -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
630 - "${S}"/build/moz.configure/lto-pgo.configure \
631 - || die "sed failed to set num_cores"
632 -
633 - # Make ICU respect MAKEOPTS
634 - sed -i \
635 - -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
636 - "${S}"/intl/icu_sources_data.py \
637 - || die "sed failed to set num_cores"
638 -
639 - # sed-in toolchain prefix
640 - sed -i \
641 - -e "s/objdump/${CHOST}-objdump/" \
642 - "${S}"/python/mozbuild/mozbuild/configure/check_debug_ranges.py \
643 - || die "sed failed to set toolchain prefix"
644 -
645 - sed -i \
646 - -e 's/ccache_stats = None/return None/' \
647 - "${S}"/python/mozbuild/mozbuild/controller/building.py \
648 - || die "sed failed to disable ccache stats call"
649 -
650 - einfo "Removing pre-built binaries ..."
651 - find "${S}"/third_party -type f \( -name '*.so' -o -name '*.o' \) -print -delete || die
652 -
653 - # Clearing crate checksums where we have applied patches
654 - moz_clear_vendor_checksums bindgen
655 -
656 - # Create build dir
657 - BUILD_DIR="${WORKDIR}/${PN}_build"
658 - mkdir -p "${BUILD_DIR}" || die
659 -
660 - # Write API keys to disk
661 - echo -n "${MOZ_API_KEY_GOOGLE//gGaPi/}" > "${S}"/api-google.key || die
662 - echo -n "${MOZ_API_KEY_LOCATION//gGaPi/}" > "${S}"/api-location.key || die
663 - echo -n "${MOZ_API_KEY_MOZILLA//m0ap1/}" > "${S}"/api-mozilla.key || die
664 -
665 - xdg_environment_reset
666 -}
667 -
668 -src_configure() {
669 - # Show flags set at the beginning
670 - einfo "Current BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}"
671 - einfo "Current CFLAGS:\t\t${CFLAGS:-no value set}"
672 - einfo "Current CXXFLAGS:\t\t${CXXFLAGS:-no value set}"
673 - einfo "Current LDFLAGS:\t\t${LDFLAGS:-no value set}"
674 - einfo "Current RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}"
675 -
676 - local have_switched_compiler=
677 - if use clang; then
678 - # Force clang
679 - einfo "Enforcing the use of clang due to USE=clang ..."
680 - if tc-is-gcc; then
681 - have_switched_compiler=yes
682 - fi
683 - AR=llvm-ar
684 - CC=${CHOST}-clang
685 - CXX=${CHOST}-clang++
686 - NM=llvm-nm
687 - RANLIB=llvm-ranlib
688 - elif ! use clang && ! tc-is-gcc ; then
689 - # Force gcc
690 - have_switched_compiler=yes
691 - einfo "Enforcing the use of gcc due to USE=-clang ..."
692 - AR=gcc-ar
693 - CC=${CHOST}-gcc
694 - CXX=${CHOST}-g++
695 - NM=gcc-nm
696 - RANLIB=gcc-ranlib
697 - fi
698 -
699 - if [[ -n "${have_switched_compiler}" ]] ; then
700 - # Because we switched active compiler we have to ensure
701 - # that no unsupported flags are set
702 - strip-unsupported-flags
703 - fi
704 -
705 - # Ensure we use correct toolchain
706 - export HOST_CC="$(tc-getBUILD_CC)"
707 - export HOST_CXX="$(tc-getBUILD_CXX)"
708 - export AS="$(tc-getCC) -c"
709 - tc-export CC CXX LD AR AS 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-gpsd \
739 - --disable-install-strip \
740 - --disable-parental-controls \
741 - --disable-strip \
742 - --disable-updater \
743 - --enable-js-shell \
744 - --enable-negotiateauth \
745 - --enable-new-pass-manager \
746 - --enable-official-branding \
747 - --enable-release \
748 - --enable-system-ffi \
749 - --enable-system-pixman \
750 - --host="${CBUILD:-${CHOST}}" \
751 - --libdir="${EPREFIX}/usr/$(get_libdir)" \
752 - --prefix="${EPREFIX}/usr" \
753 - --target="${CHOST}" \
754 - --without-ccache \
755 - --without-wasm-sandboxed-libraries \
756 - --with-intl-api \
757 - --with-libclang-path="$(llvm-config --libdir)" \
758 - --with-system-nspr \
759 - --with-system-nss \
760 - --with-system-zlib \
761 - --with-toolchain-prefix="${CHOST}-" \
762 - --with-unsigned-addon-scopes=app,system \
763 - --x-includes="${ESYSROOT}/usr/include" \
764 - --x-libraries="${ESYSROOT}/usr/$(get_libdir)"
765 -
766 - # Set update channel
767 - local update_channel=release
768 - [[ -n ${MOZ_ESR} ]] && update_channel=esr
769 - mozconfig_add_options_ac '' --update-channel=${update_channel}
770 -
771 - if ! use x86 && [[ ${CHOST} != armv*h* ]] ; then
772 - mozconfig_add_options_ac '' --enable-rust-simd
773 - fi
774 -
775 - # For future keywording: This is currently (97.0) only supported on:
776 - # amd64, arm, arm64 & x86.
777 - # Might want to flip the logic around if Firefox is to support more arches.
778 - if use ppc64; then
779 - mozconfig_add_options_ac '' --disable-sandbox
780 - else
781 - mozconfig_add_options_ac '' --enable-sandbox
782 - fi
783 -
784 - if [[ -s "${S}/api-google.key" ]] ; then
785 - local key_origin="Gentoo default"
786 - if [[ $(cat "${S}/api-google.key" | md5sum | awk '{ print $1 }') != 709560c02f94b41f9ad2c49207be6c54 ]] ; then
787 - key_origin="User value"
788 - fi
789 -
790 - mozconfig_add_options_ac "${key_origin}" \
791 - --with-google-safebrowsing-api-keyfile="${S}/api-google.key"
792 - else
793 - einfo "Building without Google API key ..."
794 - fi
795 -
796 - if [[ -s "${S}/api-location.key" ]] ; then
797 - local key_origin="Gentoo default"
798 - if [[ $(cat "${S}/api-location.key" | md5sum | awk '{ print $1 }') != ffb7895e35dedf832eb1c5d420ac7420 ]] ; then
799 - key_origin="User value"
800 - fi
801 -
802 - mozconfig_add_options_ac "${key_origin}" \
803 - --with-google-location-service-api-keyfile="${S}/api-location.key"
804 - else
805 - einfo "Building without Location API key ..."
806 - fi
807 -
808 - if [[ -s "${S}/api-mozilla.key" ]] ; then
809 - local key_origin="Gentoo default"
810 - if [[ $(cat "${S}/api-mozilla.key" | md5sum | awk '{ print $1 }') != 3927726e9442a8e8fa0e46ccc39caa27 ]] ; then
811 - key_origin="User value"
812 - fi
813 -
814 - mozconfig_add_options_ac "${key_origin}" \
815 - --with-mozilla-api-keyfile="${S}/api-mozilla.key"
816 - else
817 - einfo "Building without Mozilla API key ..."
818 - fi
819 -
820 - mozconfig_use_with system-av1
821 - mozconfig_use_with system-harfbuzz
822 - mozconfig_use_with system-harfbuzz system-graphite2
823 - mozconfig_use_with system-icu
824 - mozconfig_use_with system-jpeg
825 - mozconfig_use_with system-libevent
826 - mozconfig_use_with system-libvpx
827 - mozconfig_use_with system-png
828 - mozconfig_use_with system-webp
829 -
830 - if use system-librnp; then
831 - mozconfig_add_options_ac "+system-librnp" --enable-compile-environment
832 - mozconfig_use_with system-librnp
833 - fi
834 -
835 - mozconfig_use_enable dbus
836 - mozconfig_use_enable libproxy
837 -
838 - use eme-free && mozconfig_add_options_ac '+eme-free' --disable-eme
839 -
840 - if use hardened ; then
841 - mozconfig_add_options_ac "+hardened" --enable-hardening
842 - append-ldflags "-Wl,-z,relro -Wl,-z,now"
843 - fi
844 -
845 - local myaudiobackends=""
846 - use jack && myaudiobackends+="jack,"
847 - use sndio && myaudiobackends+="sndio,"
848 - use pulseaudio && myaudiobackends+="pulseaudio,"
849 - ! use pulseaudio && myaudiobackends+="alsa,"
850 -
851 - mozconfig_add_options_ac '--enable-audio-backends' --enable-audio-backends="${myaudiobackends::-1}"
852 -
853 - mozconfig_use_enable wifi necko-wifi
854 -
855 - if use wayland ; then
856 - mozconfig_add_options_ac '+x11+wayland' --enable-default-toolkit=cairo-gtk3-x11-wayland
857 - else
858 - mozconfig_add_options_ac '+x11' --enable-default-toolkit=cairo-gtk3
859 - fi
860 -
861 - if use lto ; then
862 - if use clang ; then
863 - # Upstream only supports lld when using clang
864 - mozconfig_add_options_ac "forcing ld=lld due to USE=clang and USE=lto" --enable-linker=lld
865 -
866 - mozconfig_add_options_ac '+lto' --enable-lto=cross
867 -
868 - else
869 - # ThinLTO is currently broken, see bmo#1644409
870 - mozconfig_add_options_ac '+lto' --enable-lto=full
871 - mozconfig_add_options_ac "linker is set to bfd" --enable-linker=bfd
872 - fi
873 -
874 - if use pgo ; then
875 - mozconfig_add_options_ac '+pgo' MOZ_PGO=1
876 -
877 - if use clang ; then
878 - # Used in build/pgo/profileserver.py
879 - export LLVM_PROFDATA="llvm-profdata"
880 - fi
881 - fi
882 - else
883 - # Avoid auto-magic on linker
884 - if use clang ; then
885 - # This is upstream's default
886 - mozconfig_add_options_ac "forcing ld=lld due to USE=clang" --enable-linker=lld
887 - else
888 - mozconfig_add_options_ac "linker is set to bfd" --enable-linker=bfd
889 - fi
890 - fi
891 -
892 - # LTO flag was handled via configure
893 - filter-flags '-flto*'
894 -
895 - mozconfig_use_enable debug
896 - if use debug ; then
897 - mozconfig_add_options_ac '+debug' --disable-optimize
898 - else
899 - if is-flag '-g*' ; then
900 - if use clang ; then
901 - mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols=$(get-flag '-g*')
902 - else
903 - mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols
904 - fi
905 - else
906 - mozconfig_add_options_ac 'Gentoo default' --disable-debug-symbols
907 - fi
908 -
909 - if is-flag '-O0' ; then
910 - mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O0
911 - elif is-flag '-O4' ; then
912 - mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O4
913 - elif is-flag '-O3' ; then
914 - mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O3
915 - elif is-flag '-O1' ; then
916 - mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O1
917 - elif is-flag '-Os' ; then
918 - mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-Os
919 - else
920 - mozconfig_add_options_ac "Gentoo default" --enable-optimize=-O2
921 - fi
922 - fi
923 -
924 - # Debug flag was handled via configure
925 - filter-flags '-g*'
926 -
927 - # Optimization flag was handled via configure
928 - filter-flags '-O*'
929 -
930 - # Modifications to better support ARM, bug #553364
931 - if use cpu_flags_arm_neon ; then
932 - mozconfig_add_options_ac '+cpu_flags_arm_neon' --with-fpu=neon
933 -
934 - if ! tc-is-clang ; then
935 - # thumb options aren't supported when using clang, bug 666966
936 - mozconfig_add_options_ac '+cpu_flags_arm_neon' \
937 - --with-thumb=yes \
938 - --with-thumb-interwork=no
939 - fi
940 - fi
941 -
942 - if [[ ${CHOST} == armv*h* ]] ; then
943 - mozconfig_add_options_ac 'CHOST=armv*h*' --with-float-abi=hard
944 -
945 - if ! use system-libvpx ; then
946 - sed -i \
947 - -e "s|softfp|hard|" \
948 - "${S}"/media/libvpx/moz.build \
949 - || die
950 - fi
951 - fi
952 -
953 - if use clang ; then
954 - # https://bugzilla.mozilla.org/show_bug.cgi?id=1482204
955 - # https://bugzilla.mozilla.org/show_bug.cgi?id=1483822
956 - # toolkit/moz.configure Elfhack section: target.cpu in ('arm', 'x86', 'x86_64')
957 - local disable_elf_hack=
958 - if use amd64 ; then
959 - disable_elf_hack=yes
960 - elif use x86 ; then
961 - disable_elf_hack=yes
962 - elif use arm ; then
963 - disable_elf_hack=yes
964 - fi
965 -
966 - if [[ -n ${disable_elf_hack} ]] ; then
967 - mozconfig_add_options_ac 'elf-hack is broken when using Clang' --disable-elf-hack
968 - fi
969 - elif tc-is-gcc ; then
970 - if ver_test $(gcc-fullversion) -ge 10 ; then
971 - einfo "Forcing -fno-tree-loop-vectorize to workaround GCC bug, see bug 758446 ..."
972 - append-cxxflags -fno-tree-loop-vectorize
973 - fi
974 - fi
975 -
976 - # Additional ARCH support
977 - case "${ARCH}" in
978 - arm)
979 - # Reduce the memory requirements for linking
980 - if use clang ; then
981 - # Nothing to do
982 - :;
983 - elif use lto ; then
984 - append-ldflags -Wl,--no-keep-memory
985 - else
986 - append-ldflags -Wl,--no-keep-memory -Wl,--reduce-memory-overheads
987 - fi
988 - ;;
989 - esac
990 -
991 - if ! use elibc_glibc ; then
992 - mozconfig_add_options_ac '!elibc_glibc' --disable-jemalloc
993 - fi
994 -
995 - # Allow elfhack to work in combination with unstripped binaries
996 - # when they would normally be larger than 2GiB.
997 - append-ldflags "-Wl,--compress-debug-sections=zlib"
998 -
999 - # Make revdep-rebuild.sh happy; Also required for musl
1000 - append-ldflags -Wl,-rpath="${MOZILLA_FIVE_HOME}",--enable-new-dtags
1001 -
1002 - # Pass $MAKEOPTS to build system
1003 - export MOZ_MAKE_FLAGS="${MAKEOPTS}"
1004 -
1005 - # Use system's Python environment
1006 - export PIP_NETWORK_INSTALL_RESTRICTED_VIRTUALENVS=mach
1007 -
1008 - if use system-python-libs; then
1009 - export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE="system"
1010 - else
1011 - export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE="none"
1012 - fi
1013 -
1014 - # Disable notification when build system has finished
1015 - export MOZ_NOSPAM=1
1016 -
1017 - # Portage sets XARGS environment variable to "xargs -r" by default which
1018 - # breaks build system's check_prog() function which doesn't support arguments
1019 - mozconfig_add_options_ac 'Gentoo default' "XARGS=${EPREFIX}/usr/bin/xargs"
1020 -
1021 - # Set build dir
1022 - mozconfig_add_options_mk 'Gentoo default' "MOZ_OBJDIR=${BUILD_DIR}"
1023 -
1024 - # Show flags we will use
1025 - einfo "Build BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}"
1026 - einfo "Build CFLAGS:\t\t${CFLAGS:-no value set}"
1027 - einfo "Build CXXFLAGS:\t\t${CXXFLAGS:-no value set}"
1028 - einfo "Build LDFLAGS:\t\t${LDFLAGS:-no value set}"
1029 - einfo "Build RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}"
1030 -
1031 - # Handle EXTRA_CONF and show summary
1032 - local ac opt hash reason
1033 -
1034 - # Apply EXTRA_ECONF entries to $MOZCONFIG
1035 - if [[ -n ${EXTRA_ECONF} ]] ; then
1036 - IFS=\! read -a ac <<<${EXTRA_ECONF// --/\!}
1037 - for opt in "${ac[@]}"; do
1038 - mozconfig_add_options_ac "EXTRA_ECONF" --${opt#--}
1039 - done
1040 - fi
1041 -
1042 - echo
1043 - echo "=========================================================="
1044 - echo "Building ${PF} with the following configuration"
1045 - grep ^ac_add_options "${MOZCONFIG}" | while read ac opt hash reason; do
1046 - [[ -z ${hash} || ${hash} == \# ]] \
1047 - || die "error reading mozconfig: ${ac} ${opt} ${hash} ${reason}"
1048 - printf " %-30s %s\n" "${opt}" "${reason:-mozilla.org default}"
1049 - done
1050 - echo "=========================================================="
1051 - echo
1052 -
1053 - ./mach configure || die
1054 -}
1055 -
1056 -src_compile() {
1057 - local virtx_cmd=
1058 -
1059 - if use pgo ; then
1060 - virtx_cmd=virtx
1061 -
1062 - # Reset and cleanup environment variables used by GNOME/XDG
1063 - gnome2_environment_reset
1064 -
1065 - addpredict /root
1066 - fi
1067 -
1068 - local -x GDK_BACKEND=x11
1069 -
1070 - ${virtx_cmd} ./mach build --verbose \
1071 - || die
1072 -}
1073 -
1074 -src_install() {
1075 - # xpcshell is getting called during install
1076 - pax-mark m \
1077 - "${BUILD_DIR}"/dist/bin/xpcshell \
1078 - "${BUILD_DIR}"/dist/bin/${PN} \
1079 - "${BUILD_DIR}"/dist/bin/plugin-container
1080 -
1081 - DESTDIR="${D}" ./mach install || die
1082 -
1083 - # Upstream cannot ship symlink but we can (bmo#658850)
1084 - rm "${ED}${MOZILLA_FIVE_HOME}/${PN}-bin" || die
1085 - dosym ${PN} ${MOZILLA_FIVE_HOME}/${PN}-bin
1086 -
1087 - # Don't install llvm-symbolizer from sys-devel/llvm package
1088 - if [[ -f "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" ]] ; then
1089 - rm -v "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" || die
1090 - fi
1091 -
1092 - # Install policy (currently only used to disable application updates)
1093 - insinto "${MOZILLA_FIVE_HOME}/distribution"
1094 - newins "${FILESDIR}"/distribution.ini distribution.ini
1095 - newins "${FILESDIR}"/disable-auto-update.policy.json policies.json
1096 -
1097 - # Install system-wide preferences
1098 - local PREFS_DIR="${MOZILLA_FIVE_HOME}/defaults/pref"
1099 - insinto "${PREFS_DIR}"
1100 - newins "${FILESDIR}"/gentoo-default-prefs.js gentoo-prefs.js
1101 -
1102 - local GENTOO_PREFS="${ED}${PREFS_DIR}/gentoo-prefs.js"
1103 -
1104 - # Set dictionary path to use system hunspell
1105 - cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set spellchecker.dictionary_path pref"
1106 - pref("spellchecker.dictionary_path", "${EPREFIX}/usr/share/myspell");
1107 - EOF
1108 -
1109 - # Force hwaccel prefs if USE=hwaccel is enabled
1110 - if use hwaccel ; then
1111 - cat "${FILESDIR}"/gentoo-hwaccel-prefs.js \
1112 - >>"${GENTOO_PREFS}" \
1113 - || die "failed to add prefs to force hardware-accelerated rendering to all-gentoo.js"
1114 -
1115 - if use wayland; then
1116 - cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set hwaccel wayland prefs"
1117 - pref("gfx.x11-egl.force-enabled", false);
1118 - EOF
1119 - else
1120 - cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set hwaccel x11 prefs"
1121 - pref("gfx.x11-egl.force-enabled", true);
1122 - EOF
1123 - fi
1124 - fi
1125 -
1126 - # Force the graphite pref if USE=system-harfbuzz is enabled, since the pref cannot disable it
1127 - if use system-harfbuzz ; then
1128 - cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set gfx.font_rendering.graphite.enabled pref"
1129 - sticky_pref("gfx.font_rendering.graphite.enabled", true);
1130 - EOF
1131 - fi
1132 -
1133 - # Install language packs
1134 - local langpacks=( $(find "${WORKDIR}/language_packs" -type f -name '*.xpi') )
1135 - if [[ -n "${langpacks}" ]] ; then
1136 - moz_install_xpi "${MOZILLA_FIVE_HOME}/distribution/extensions" "${langpacks[@]}"
1137 - fi
1138 -
1139 - # Install icons
1140 - local icon_srcdir="${S}/comm/mail/branding/thunderbird"
1141 - local icon_symbolic_file="${icon_srcdir}/TB-symbolic.svg"
1142 -
1143 - insinto /usr/share/icons/hicolor/symbolic/apps
1144 - newins "${icon_symbolic_file}" ${PN}-symbolic.svg
1145 -
1146 - local icon size
1147 - for icon in "${icon_srcdir}"/default*.png ; do
1148 - size=${icon%.png}
1149 - size=${size##*/default}
1150 -
1151 - if [[ ${size} -eq 48 ]] ; then
1152 - newicon "${icon}" ${PN}.png
1153 - fi
1154 -
1155 - newicon -s ${size} "${icon}" ${PN}.png
1156 - done
1157 -
1158 - # Install menu
1159 - local app_name="Mozilla ${MOZ_PN^}"
1160 - local desktop_file="${FILESDIR}/icon/${PN}-r2.desktop"
1161 - local desktop_filename="${PN}.desktop"
1162 - local exec_command="${PN}"
1163 - local icon="${PN}"
1164 - local use_wayland="false"
1165 -
1166 - if use wayland ; then
1167 - use_wayland="true"
1168 - fi
1169 -
1170 - cp "${desktop_file}" "${WORKDIR}/${PN}.desktop-template" || die
1171 -
1172 - sed -i \
1173 - -e "s:@NAME@:${app_name}:" \
1174 - -e "s:@EXEC@:${exec_command}:" \
1175 - -e "s:@ICON@:${icon}:" \
1176 - "${WORKDIR}/${PN}.desktop-template" \
1177 - || die
1178 -
1179 - newmenu "${WORKDIR}/${PN}.desktop-template" "${desktop_filename}"
1180 -
1181 - rm "${WORKDIR}/${PN}.desktop-template" || die
1182 -
1183 - # Install wrapper script
1184 - [[ -f "${ED}/usr/bin/${PN}" ]] && rm "${ED}/usr/bin/${PN}"
1185 - newbin "${FILESDIR}/${PN}-r1.sh" ${PN}
1186 -
1187 - # Update wrapper
1188 - sed -i \
1189 - -e "s:@PREFIX@:${EPREFIX}/usr:" \
1190 - -e "s:@MOZ_FIVE_HOME@:${MOZILLA_FIVE_HOME}:" \
1191 - -e "s:@APULSELIB_DIR@:${apulselib}:" \
1192 - -e "s:@DEFAULT_WAYLAND@:${use_wayland}:" \
1193 - "${ED}/usr/bin/${PN}" \
1194 - || die
1195 -}
1196 -
1197 -pkg_preinst() {
1198 - xdg_pkg_preinst
1199 -
1200 - # If the apulse libs are available in MOZILLA_FIVE_HOME then apulse
1201 - # does not need to be forced into the LD_LIBRARY_PATH
1202 - if use pulseaudio && has_version ">=media-sound/apulse-0.1.12-r4" ; then
1203 - einfo "APULSE found; Generating library symlinks for sound support ..."
1204 - local lib
1205 - pushd "${ED}${MOZILLA_FIVE_HOME}" &>/dev/null || die
1206 - for lib in ../apulse/libpulse{.so{,.0},-simple.so{,.0}} ; do
1207 - # A quickpkg rolled by hand will grab symlinks as part of the package,
1208 - # so we need to avoid creating them if they already exist.
1209 - if [[ ! -L ${lib##*/} ]] ; then
1210 - ln -s "${lib}" ${lib##*/} || die
1211 - fi
1212 - done
1213 - popd &>/dev/null || die
1214 - fi
1215 -}
1216 -
1217 -pkg_postinst() {
1218 - xdg_pkg_postinst
1219 -
1220 - if use pulseaudio && has_version ">=media-sound/apulse-0.1.12-r4" ; then
1221 - elog "Apulse was detected at merge time on this system and so it will always be"
1222 - elog "used for sound. If you wish to use pulseaudio instead please unmerge"
1223 - elog "media-sound/apulse."
1224 - elog
1225 - fi
1226 -
1227 - local show_doh_information
1228 - local show_shortcut_information
1229 -
1230 - if [[ -z "${REPLACING_VERSIONS}" ]] ; then
1231 - # New install; Tell user that DoH is disabled by default
1232 - show_doh_information=yes
1233 - show_shortcut_information=no
1234 - else
1235 - local replacing_version
1236 - for replacing_version in ${REPLACING_VERSIONS} ; do
1237 - if ver_test "${replacing_version}" -lt 91.0 ; then
1238 - # Tell user that we no longer install a shortcut
1239 - # per supported display protocol
1240 - show_shortcut_information=yes
1241 - fi
1242 - done
1243 - fi
1244 -
1245 - if [[ -n "${show_doh_information}" ]] ; then
1246 - elog
1247 - elog "Note regarding Trusted Recursive Resolver aka DNS-over-HTTPS (DoH):"
1248 - elog "Due to privacy concerns (encrypting DNS might be a good thing, sending all"
1249 - elog "DNS traffic to Cloudflare by default is not a good idea and applications"
1250 - elog "should respect OS configured settings), \"network.trr.mode\" was set to 5"
1251 - elog "(\"Off by choice\") by default."
1252 - elog "You can enable DNS-over-HTTPS in ${PN^}'s preferences."
1253 - fi
1254 -
1255 - if [[ -n "${show_shortcut_information}" ]] ; then
1256 - elog
1257 - elog "Since ${PN}-91.0 we no longer install multiple shortcuts for"
1258 - elog "each supported display protocol. Instead we will only install"
1259 - elog "one generic Mozilla ${PN^} shortcut."
1260 - elog "If you still want to be able to select between running Mozilla ${PN^}"
1261 - elog "on X11 or Wayland, you have to re-create these shortcuts on your own."
1262 - fi
1263 -
1264 - # bug 835078
1265 - if use hwaccel && has_version "x11-drivers/xf86-video-nouveau"; then
1266 - ewarn "You have nouveau drivers installed in your system and 'hwaccel' "
1267 - ewarn "enabled for Firefox. Nouveau / your GPU might not support the "
1268 - ewarn "required EGL, so either disable 'hwaccel' or try the workaround "
1269 - ewarn "explained in https://bugs.gentoo.org/835078#c5 if Firefox crashes."
1270 - fi
1271 -
1272 - optfeature_header "Optional runtime features:"
1273 - optfeature "encrypted chat support" net-libs/libotr
1274 -}