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