summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2022-08-25 07:25:15 +0300
committerJoonas Niilola <juippis@gentoo.org>2022-08-25 07:25:15 +0300
commitfce8c204c8b6388b5f82da808c7f4a6ac737fe31 (patch)
treebfdf05a0b15351a1ef73c82810071f94324d7cd1 /mail-client/thunderbird
parentwww-client/firefox: drop 91.12.0, 102.1.0, 103.0.2 (diff)
downloadgentoo-fce8c204c8b6388b5f82da808c7f4a6ac737fe31.tar.gz
gentoo-fce8c204c8b6388b5f82da808c7f4a6ac737fe31.tar.bz2
gentoo-fce8c204c8b6388b5f82da808c7f4a6ac737fe31.zip
mail-client/thunderbird: drop 91.12.0
Bug: https://bugs.gentoo.org/866217 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'mail-client/thunderbird')
-rw-r--r--mail-client/thunderbird/Manifest64
-rw-r--r--mail-client/thunderbird/thunderbird-91.12.0.ebuild1131
2 files changed, 0 insertions, 1195 deletions
diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest
index afd6fdf8f0aa..f660555da5d4 100644
--- a/mail-client/thunderbird/Manifest
+++ b/mail-client/thunderbird/Manifest
@@ -65,70 +65,6 @@ DIST thunderbird-102.2.0-vi.xpi 719956 BLAKE2B 0fe46a18b7886280df5050532b7259aed
DIST thunderbird-102.2.0-zh-CN.xpi 716463 BLAKE2B 91d9022eff74adbac74cd036074134804ee0f4f82e93bb74bc183837b736a574f712ac9cf1f2af0dd939e69378272a204d7473863e972d86da739384c03031fb SHA512 3d12e086151cf7680dcf9fdb417431eff36dc9b8de7ecb876d9d726c8ed8829831d7b62021ba67e55c2952acab8a161e62a22cfadbe026b1cfbfea715c4efe58
DIST thunderbird-102.2.0-zh-TW.xpi 722339 BLAKE2B 0a6d8498a8209798326fcb8ec868db550a594b57cb0450268d9fa9c49ffbbc8163baea214fa4b09e3c4497d101a4758552e7a12f1f70400d6945e333e1e4988e SHA512 98243637a26161cc857ccfbabc39a58d31962b8cf695f000fda58328b106a5850ccab55b9f5b59794f5c23bd529c987ad65e3d9850095d50120a374fbfdf6b44
DIST thunderbird-102.2.0.source.tar.xz 500331516 BLAKE2B 1c48e2c0fa02f4c2745e5f5db7efc393efd2c2a882cf5be02751be1e0d04dd217afb6cb393ee698416081de533a7583ae7f6a9312fca8c2dd9c0ae3a777321c1 SHA512 a9ca311e3c55c8703aaecfe30f8a8040a16acc445530f7462baeaaf941f7221e60b66b0894ea0b3c0eb83ccc882706674cfa319ae93557405946ffffb1f6b5dc
-DIST thunderbird-91.12.0-af.xpi 561877 BLAKE2B b32da4d389738f5984c6a5ab27810d122b3413d43b120862ac6cb4c4b550a45c4870d0f038d2421cad92eafa077f0539cca89c42ca745931061f2b9fb497a292 SHA512 dc1b72fe8c088ac48611678c1332aab525624940c8d9f5fdf1ffcf512837bc003e7893882f4bce724c2c4cf54487038c600e326ed227849250ff5e8cd76879fb
-DIST thunderbird-91.12.0-ar.xpi 665730 BLAKE2B 8919628c0d364635ea1c9a92acd5184f016ddf32ecf5c66cf7653ab26db05b208cd5ab9c3e6b4addfdb559754fc284c1874f7560f949d8b9fa6aa9c4758ec72b SHA512 97b228149582f5a4608cc2727c22e41253b7b3081837d9d020ac5af32144722c31f5d8d6b812641a43efb3be221a3e3ef66b034ff3e02fca902793d4156d2218
-DIST thunderbird-91.12.0-ast.xpi 580510 BLAKE2B 65e4d8e38b9f4d0189dd939e1440ca758c4196907159e1e627487509e8bf6a7ff156e57120c95bad223d980d7a97bcc20abed4c890f46c430671d6e68fdfcf11 SHA512 c77245fbbe002ab17f7f33d2abaee1f6ce24617845c70fce606380f1013128992e9d818f6f924f5877c7b78dc539f1aa785396eb622caa2037230c68e4e76af9
-DIST thunderbird-91.12.0-be.xpi 695197 BLAKE2B bdb8e8953af5ea22150f36d302f64efd4288766f3f8ce412ac9a89de259f83ad5d0108af4279fd59604f672d7690fa812fefb845d3f71fcfbdece7c28f0d1e50 SHA512 8398456ba9f0e1619fd3311b453b18e3774e3dcc2d11f8808f32d3548aab0c978eb40e6ca707f4eddc565ab09ce808db2ca461608de17432a7a6c31ceff3a728
-DIST thunderbird-91.12.0-bg.xpi 690995 BLAKE2B e2dc570320e91ca39e02b83ee590a4722cda6d7091a2c4451b7cef95a4219aeb01fa6310431bbcc5df2e4f7869097862dd24a13555af228825cbbe9063eb8409 SHA512 abd355a267bb32ce432389658298d86eb145d2ba9b294b48c0791171132e2754445c01120e1a97ea33c8838724659ea2256d76af8f5cbe684355c93ec95fd714
-DIST thunderbird-91.12.0-br.xpi 620587 BLAKE2B 652545be3c46541a12d0596abfeaa8c3287527d0735dcd70aa46bcabe39946984397a97201296198f86ac09634c0b295ea33739b20a6d5cdc78ea6eb95c1db35 SHA512 1886bd31b03c6fbb06507c3a1ba44de8e08a74d0265bf58f99ab6f3b12a256d66b6104af43491dcc6127fddb379d653f8d91f55cd8bfe9e53e40ec76ab15982a
-DIST thunderbird-91.12.0-ca.xpi 645974 BLAKE2B 4f47d83ff27e04ca00a2842bb110da1e498286f5d1c302f3b92cce176e9619dd0c1a2db0cb807ee5f42b0ed98feef84cf570e784f488d190f336865baf329316 SHA512 3aaf4797a6236ceaa7b8c7bcad5e1388bdd93c4f930300e9a3f2ceb1353b49e4184d0eb1398285a91e40180ba84e62967acc1ffbe8b6cf6b1318842d5ebaf086
-DIST thunderbird-91.12.0-cak.xpi 652065 BLAKE2B c766b2b39a013dbf059bc31b93a2370ffe50b65acc3201f41af14f48c32c1e80c51d802cab05ebccc661fe10c1a9a8c9c6dbec801914fce0f651ed01ed7adee1 SHA512 41752b0ac73fb37ce0e39192a8cd0b8fc435ea5e998c369e2a3d8c310b655bdcb50c50773a3f051ba99cd3b7a35a2369edf9a67622cec4070571a310ea1d3222
-DIST thunderbird-91.12.0-cs.xpi 711938 BLAKE2B 804c334ca6bdb690d1a674604bfb6432dda524276f94eb4aaf25cfed362ad4a9761155b3ffe22b11ecd915e3b61df1a2a4f06bd5adedcd5e6b0df1be622120bb SHA512 8a55ead4d0c543c1a6520cc19cae49cc79794a32b577e4b1b21e43ff9f8ad50015aaba9a9e9f34a390958183a81011b876fce16a78ec2ed68494305bbef9ad50
-DIST thunderbird-91.12.0-cy.xpi 688888 BLAKE2B 6e3ba696b19701112326d159dcd3ed4e29a6f38e8cd6a6f08bf831ec4d5b46ad962019bd3f264db2ef961356d3f70ad6c099bea659850dcf6e3d4376a510146c SHA512 586000f3cbd70c2e5486f9eed04f953f6e2940b0c9fbde5f9c7884c1b89e02e844741c57dbe0f78a83d24430071b9af83ee8c058337e02b3379b71c946a3d5fb
-DIST thunderbird-91.12.0-da.xpi 674444 BLAKE2B 3c80cd34a53bf5d1d5ecc3ac9df03af9ffd70b922eff67578db68f9de6ff989a6c07678c39ec7c3a91c1a00eb3439f63c1b00e3e829166ba74a29887e3d1b2a1 SHA512 a8362938c7636610f6e0a2fd8cabbd3e6e55d7a5b1170d7b1ba3ecfbe9a30beb7fb17542137138d2a1e13db43d743a0c04588dc925333a916afdfefb7f8ce5dd
-DIST thunderbird-91.12.0-de.xpi 697526 BLAKE2B b4cc8020d9136ed2eb13aeef46864d2bed8d22a969e5f30ba44e090e748b808e20eb02e8a9d6dafc2d6be46eb360d5f079c93f1399a959a50541b6f2fa4b885b SHA512 43956187e276802c44820474213c435d1e5fe6fc60765a480c5fe4cc1a8eff002f924b4d04e0c134b9061274e6d82c4d3d7925975270aca7b3c5047db4b8931e
-DIST thunderbird-91.12.0-dsb.xpi 723999 BLAKE2B 22feb9dd75cc784bde1f2cd0a9d4b9762f42332f28b1f70cb97ae8d2b4e930991891babb8c57dc6f0fa2e4b385ac6411985043e34d0497cd46c076d4e8c8208a SHA512 88eedd2151a32acf08e6bc940b98b9819423fce60677fe961a4449583aa0ccf8ad498c8d7cc53a2186863394d0674e0040f56d1bf5742985b156af610601866c
-DIST thunderbird-91.12.0-el.xpi 821177 BLAKE2B ad2ffd5be0ae45dedaa6268f387cab9ff0ff9965015bb88e9ba086b7e5e0bd467c6e6ee5b23be295e2856625a492e1c9f79c5d692c45be37dfdd17336f694da6 SHA512 a72a3aae42d452468467c62f04c01d9d490d1b08f36853093b621d5d027b12c31cd830b106ee6a1ca0a56cf854516c25b6f2643c121c7561f495130713c1cd2a
-DIST thunderbird-91.12.0-en-CA.xpi 647813 BLAKE2B c074b23412a98cb836c6713c03dbd72ded581d6769a486b7284d28dc1dbefe3c6eb873444edd48af058a3dabcd3d4e3ceb0a124ddc206454bb8baf40777ca70f SHA512 e99ed3bcea85c3f0e2d089d516a1c8c1cb862bebce8222e5c3001ffdadbf27f066f98d4f9a59bf2b2564b8622760a5938b868e9ecdd85cced952e284fe122e59
-DIST thunderbird-91.12.0-en-GB.xpi 650552 BLAKE2B 7cc7ed88b1c0d150883f253d5d24ec0344f7374b3e5319aeda0ce8b70bf162d3974cbb6b786e53aeb628df0aa8d48b1ade47c243c3dd8ea5b1eb29d22c01a29b SHA512 d47ceccb44f7116146ead95f68551dbdbbf47748ca2fc390fcab2703a96fe779173d9c30bc6ff9c5a4228190624d2be34cea38112082e8e173c0cca814eff3d5
-DIST thunderbird-91.12.0-es-AR.xpi 700496 BLAKE2B 1878411d727c6c17d00b5f28bf969f2dce237a36d7e574f2d3f0df38526a57c2e7bda886bf96f9944b3b2e5550465f988a657dd84e5b8db42888daeb220edd49 SHA512 0de0eda88398bc1cdd44fc506401642d170e5b282af29386cad003b9197461a213fef697efd76dfd2b611169a43a51099893014513fe2f9ce200330672c1958a
-DIST thunderbird-91.12.0-es-ES.xpi 630919 BLAKE2B d4884d0e8445aa2dea94e861c932cdc10353c8c127b83202f1cbd9a5b7db1b10922dd2a14687ec56c747bcda2576ae15c10616feca3d460dbfe8c146d8954350 SHA512 ad343dfa81507dcdc8f72647c262127c0761d00f7a258e73c27198301d9c85cd0d6d2ed40551ff83acb25c5335f29e24424b8ce06cc13e31dd2a9f405f35b586
-DIST thunderbird-91.12.0-et.xpi 672165 BLAKE2B 156e57af7bfb2b64a13cdab001cbb9912b2477ab2dddc04cdcb36429541a3b9aa160bd75b1abae3f0a5f330b20b9032331393d5650c49cd59add8bcb18892e6b SHA512 cc3478807b4ae44f2f1c02f25500941eb8ab32fa4c262c5d22208031af5b7da9a8a9ebf66b83dcc607068f8a4116514568b5d193c00def6a9d34bc45def5fa63
-DIST thunderbird-91.12.0-eu.xpi 678262 BLAKE2B 2161682a48b68af72f7878a6c35772a4ea7101fd1aeb12dbcc097c641a84663c7691362dd05c4abc2094646c373bde6658350e4ef8db92a10167d58b64b5b561 SHA512 fc0b2dcfdbd7465abcc360c5dc8c56740eea9673441d0a5f151032c562c2a18a4f6c348338368ab1a41637f6ee98196bbb3633037d9432a4d792f7b2c4bb7831
-DIST thunderbird-91.12.0-fi.xpi 676629 BLAKE2B 24a5d288edc5deb800c9d30344530ae3ed3770a3227ad9222caa48ad3dc48fc28930288508bc80b5eb3647468dc9ec4baf40357f1f1eb07d4aa97370f45d7fc1 SHA512 dbe720213d2a0be92d73613c42917515589ca69fa718212077062cbd837f6bc9f3e57a977550679990274267e2044976eb5e4a4d4be24e2889c8f29fa8775607
-DIST thunderbird-91.12.0-fr.xpi 711453 BLAKE2B 8ecef995d8973b90f4248b65a8d952030f367248d785bab187616e27119afb2085f476be091cfe01c0a5a4dc01e8a9d5ff892281f336029a20c975c68077185e SHA512 2bacaabdc0fb54c452801d5f9c0ff9b9d5026fe23466d15ac7bd51f03f5b4c8c993380fffa4a19657ad5cbd60a3813c76abdc327809dbdc811f867b67a80b84c
-DIST thunderbird-91.12.0-fy-NL.xpi 691880 BLAKE2B de11586c712c5a8cfda65fdc9cc4222278a5f2150c58c8bf9e93a0ec54099ac4c621d20ae4f84c923c9042cd7735c9950491d38793c65ee5bf8eff8bf26cf258 SHA512 510ac4a56fa38b488145394507d8de08e3d4fa6cee5b5f8efd347c5897f5be0ec4e3426ca17bb375c9e85b8cf03c2869288b0cbba048316bc1d7642233cfd4fc
-DIST thunderbird-91.12.0-ga-IE.xpi 613123 BLAKE2B b2092c69352a4d607f12b7e045561015b55caf1db2a135c544ea5dd3fe4c1222f18e70c63350838fc9d9c14a6a7c12702ddf79bfac240d324535cba8bda8e9aa SHA512 f7f9b942ec7f87ebb876dd3ef1250ca1098fbacb177ac09ce7c1010640a7aeb0488e047e7c50ede726634e21632374b9b447d279f136713502055b65197ab75e
-DIST thunderbird-91.12.0-gd.xpi 640648 BLAKE2B 53ae556aeb654912f5b6156000de036619e5b258ef205f2cc4b586efe76d005706e3209f13a2c0412e002a79c21364df65a7d124b77bbcdc1d7535d05b0457c5 SHA512 2a6184f1beddbd9be7ac38c35e6826714f87cc4a36d698a14a9052c8206f38f6907ed24623dfba467b997aefb4aff3a7e25b3286391003798a53bb1b09f2d1d4
-DIST thunderbird-91.12.0-gl.xpi 677788 BLAKE2B 9231b80caf364759b4c3f726322d8bcae83a8a92b6978c7ff07dc6763fac1ea0f3d7193781da6277d875e1c3288a09c13ad944400504f9e38c1ed48dd4e8b367 SHA512 53cb109e4c307607829662c852a708ffb4fae02e814e4d80e1eac185de1e8b25607f4ea18be32ba82f84eeeffdefa4750e851036e571785c8f047b95bff724de
-DIST thunderbird-91.12.0-he.xpi 673190 BLAKE2B f1a2523451e21f801ef804daa1c9ed6df7ba941b5336b48684997261d541a3493ee5f27f77583acdbd9a58d9609cc7e6eb31fdaf9a1125f2aaa2a72ceb504b55 SHA512 9bb5a7d25112de53625a2e43bb035a0fe7b2b22c1a3edfb6c270c7cb3658d5e8fe50701ded3c5d15b82d6f69b80c7a759b0a6114456390c6498261d6fb4cabd8
-DIST thunderbird-91.12.0-hr.xpi 653580 BLAKE2B eaf4fcc98a9344b26cbd0a31d349e40cb269f220b0633d56f498f600be1ca83a741969ee142151f20db3fc1be2483b496aa5ee8331603089e3e4a82874e4957b SHA512 73f2c08437b74dbd04c3af4cdfd80c2d2f4a9898c6a954255079705964546d2d6f1a03d66bd662c6131d461ac838c6e6a0912d725cf64b318b32457cc67f89e7
-DIST thunderbird-91.12.0-hsb.xpi 720812 BLAKE2B bf50445bb713b3844beee8dddc8eb0a16885279bc8dd43434400ece46cbf9ef6b64dbdc459d37917752ee043fa76f14c6925228376d55ad34d1bba363e20879f SHA512 3fbf08d73e864697f96778e7291b1b0809f17164e2f1aa462318bd42192f4782e127ca432691672c0cdeb8db636c032953639437e8c695c309573c599cb39272
-DIST thunderbird-91.12.0-hu.xpi 723399 BLAKE2B 34e833b21ac0614b38f63272c73e2acb8c3324d2c93a6f5240da24bf48b44bcb1784e0077ce8d6c5dc11c52bc7205ca3dd5e3702bd12567810c67a2dff8295f0 SHA512 7b11557f2add0d847f7ecc4a667395b0d38b53eea1501e68d115341d5190553c556c7b460b5cb41f245e21dd6769245cf3deb2e7b20df2cd33489455feaf034d
-DIST thunderbird-91.12.0-id.xpi 648249 BLAKE2B 5c5d74d6cd7c4183c3a3572faa2ac0f2be45bdba4618813342cf988d205037768e47f193c016858c1924059e4c618182d255f3106aa7ab371cd9d9bcfd9a7bd7 SHA512 9c41993701fc269f3dc6d52d9e532f4f6a3d02749e176f4e3bb850a4825a8b29f751c7a6b7792f4c0a612ee4dc85eb6cb25a15328995b96e3a39cd3ccc579bf1
-DIST thunderbird-91.12.0-is.xpi 682261 BLAKE2B 3a9ba3f188461d45ec63c0724db3d142592893e883dab3fa35b6eb843b8157456be9cf80bf61ef682d30086a04cfc0ef048eb5c2e49c646db18ae39b930673bb SHA512 1e13f0d660a2506543a504e4bae4f3a1048fb2160448380e33e278b85a2825187de8acaf3fd560dd17e19ea9c8d9e151306448b9cfb5258129a304554301f776
-DIST thunderbird-91.12.0-it.xpi 613332 BLAKE2B 6bda9311c88ae2b7eefad358f2088a89f076108e7481cddcbe0ff4ced7819145bb439e5e6378fd806a38576221e06c83b9fb03b21cef438655d8c8e09c35faa8 SHA512 b94e7b056a9ae44fdb138085a5bfd1c9dbaa8cf8a035c9518182c1c7d42d1741529779b7d5eed39a14fca1e663a15a9d04640035f89d58de4635655672a2bf1c
-DIST thunderbird-91.12.0-ja.xpi 756465 BLAKE2B 294313d414ba8f6cbb7384de9ff99bdd37e61f9a8b8f3fe30f57d212ed3e335f81b847f27af0aded2d3f6b897f6afc7ba90bbec184a8c5da2cc47058842d1c7e SHA512 e5ef81a967ea84d7204ae7ec1aadae015ca097a2da34106e9d6af6d28088f14bda346612c24e8b7ee3e60b76222dfe2051ba8d1df9cc6de62bf04b1e2802c17b
-DIST thunderbird-91.12.0-ka.xpi 762628 BLAKE2B 315bc6d9967a6846d10bb9388c8d59176cf7cf814d5299d9e3d78850cdefc144ce58b5e5ead1dce290f9f3ee83dba1f7135e46f75f1c4ce99632f6e3e7dbd6c7 SHA512 2542c0efff6ec1c0825384c69de225a2af00ff62fef70c9aea32d452b090af06ad3c197c6b6d27380efd8cd5707ff0870b8d2da8fa3ceacde25f714e5d9044af
-DIST thunderbird-91.12.0-kab.xpi 677085 BLAKE2B 6bc984773358961747dcbff74f8f5bbab9ebb32f26dd8ea9646ee8abaf035dd0292d8f2d0468efbb0da6453079a92fcd7ee29c70799913f1fb8acef4dc5bc56c SHA512 b43bc6b89eab93a58f78fffb2a5edb8c2b048047ef836b86188ed5c2edf8160b46f5c3ebf1335cdcad7a7f9c588558c01af45041609eacc7c4e4eee7712242e7
-DIST thunderbird-91.12.0-kk.xpi 745523 BLAKE2B 825d86d7d74074adabfc6913ac320d8351a552cd9cfcdfb3f47564377f0252a9c732601f6d66e7e8496f8f649ee5fd9399b55c64852ee9e4c55c03de2c391bbf SHA512 4e2c5142ec936ae24e29ff886a9c701eed53476b546c158b33b6428e1dda6cc3fce993fb60a759aec515456f81766436fd0ae0ffe63e9bb043f996d04864ea88
-DIST thunderbird-91.12.0-ko.xpi 704768 BLAKE2B e2424da47f368cea7fc75188f3e0189984be78dc4dfddcbc130a9cc04cd32455adef1bf2ac652c98704d6244042284ebeac867bff7b40929ab7cabe135f8cdd0 SHA512 80aeae3cb8ee9b387b752d103ccb5418a0ec1c1678c780e15936838f0c751505232d826a2496f2eb2baaf685bfc629f4ed37ae87289d418be28f956caa72688c
-DIST thunderbird-91.12.0-lt.xpi 696044 BLAKE2B 53c0dfbb246f87a196a475be7d36c048e5f3250a855e5433a73809f274ac7a43792b766f96256a2da91fc56dc6fc5650d06e63df1f277c6bbfc8bbd2cceb09c7 SHA512 1d5803e6401cd7151bd89a332a3f6e5e3df60260bf214fab7c19c1d18ec77846d3d30bd272d8709fe421966d96593cbc5d79c76460a578c1b4b005d868e6add6
-DIST thunderbird-91.12.0-lv.xpi 618523 BLAKE2B dd5f469d6f767ade48c6c692f1e25ad165628e17b7b2c6697ee42158598114c7c55b00d3b9d1c100b4da097b04ee40d8a6305dd7268bb2bfedb4443c9d5f242b SHA512 4d0c88ecbf19eef503d244138ff1a9f3515c3d1025ef2c6c15b680583be266490f5d29373d44ef827971caa2dba4abb11e70f77fff3ed7ff293f937af67c9f60
-DIST thunderbird-91.12.0-ms.xpi 578079 BLAKE2B ffc57088e1cb2caf4bc34de9dc914975591da10a9c85a3f2e9802b7e6032a106293ffcdb2859a7f83416c1ac08319aaeb3257213b9f2fddff0d7dea8cfab74ff SHA512 7c004d28966ac6cc699c3a04cef325f4aa28697484ded21527b9610812edec46fe510fda88033c048e32257be2b2bb292da943a4b1644d2535ce2d921bd3247d
-DIST thunderbird-91.12.0-nb-NO.xpi 653326 BLAKE2B e4b11d6ed736710ccee838b02e9eeabed28fb27f75540166c320b090ae555a16984110c3d361591654e6644f02c73a1a473d7098749a431c2c140b38ba9e35f3 SHA512 3103f1086a2496a3189b8f3dff28236e5692dd77d29e3643ebbbf6bf13ce3d18d38501a0ad424b1aa12152649d813e15bfdb48f3dd952cf2d29e309d0823182c
-DIST thunderbird-91.12.0-nl.xpi 685341 BLAKE2B 39c0a8478ce78abb886d3ab6a740eadfdbde77f59527965b7a29aea466aebbc465c1a6a968fe97df4f62ab535feaeee98478f7092373aedbe9683a0988c5cd33 SHA512 9b3b4836a18a3ebc2274a2fb5d86d4ef807ad8d1586d10d2528cae5ae26c51b0ccfbdcf9eac47bd8d0fce93658735e9de8f56b0ff8f8410dc1aef7aedcdc7178
-DIST thunderbird-91.12.0-nn-NO.xpi 658572 BLAKE2B 0d8c3e47a5e147892496222c6aaf728270ac6ba742ae9265c80e51d4fef7ef4196d0c8769d148f1fa0ec2411989cf606dd6d5e9305080d45ef0fa4065a512cc8 SHA512 f2ce60169c31aa3c10477c3a150f9241b85e64e3a9c24da7cfe7802f20e179d4982648e29752a0a547ac271b8e83ad69eb180dc069df708d632f295b7df6056e
-DIST thunderbird-91.12.0-pa-IN.xpi 652333 BLAKE2B 46071999f24491f4dc935897a9cfc7ef0193078a80b7b19baea0afea61481471ded60eac24f59fda21c2c905cb94ead11f740b7ddad832f144dd6ff92051c7eb SHA512 483f54a158cb5cf2a8e24c990797d0178018a4c1a2dec3260796cd25185dcea7739be904b6dce68b3b8cdcfba02c2a633b15784f5ed45a49c2ef82473249824c
-DIST thunderbird-91.12.0-pl.xpi 694111 BLAKE2B eb5fb48a747136b7da96841911a795540662239b6ebe47590a1a918383530344ad886736b9d374e9267adef1850935080d9ee26cf86e99343e2f2cfac07cf0ea SHA512 b3cc4c40b10e0276ba5a0f606d4520686038ca531bb84847d3b6cf7eec4ff0f6105e96727f7d59ea132a4573ed692f1aef0236216c848c020592db6a0d7ea4c5
-DIST thunderbird-91.12.0-pt-BR.xpi 694132 BLAKE2B b97af5b2fffa1302cd2fb2c0eda4b29de026a60e202914390bcce29a03fdad6b72229391bca17c676bf196eb3e8b50cdd838b6d07b89af43025c36b4527eb34b SHA512 9aae8fb9374643c1ab41d98e23fb22239e2b840173c9ba18ac97aed06465ec9ac574a3cdcef908356d0156a04ad0e3651d86ed32187115ca3bd433b50fd5bdfc
-DIST thunderbird-91.12.0-pt-PT.xpi 674673 BLAKE2B 9a432d467d1368a31058d277526b81900b6a2a463518e8b8afb2b058f841d04d170e33de3123b1fba9c8c53b5061b39c177439dfa87070bf74bc35b9728b7ad8 SHA512 4514dbd0630484ce7bad096cba5c36073948e85e7914aa443603bba8af66884578cef70f5dc7ba6ff801145589ed969780f7548c24cc743d1e49526b948b690c
-DIST thunderbird-91.12.0-rm.xpi 687614 BLAKE2B 9d7646e99c15e20634f6d4994ade393b40050bf4286ec7e077d9406f5075713e59fa0bf65d503cbbe2a2cc271676415f3f4f271ea9b5299a15094339136a6991 SHA512 e80e0f51f1524b4f8aca2aa04a014bf7c164ade33cd64afb0b3d1112b3fed1aa5d2c22d98752770054d430cc35e5d48faf2afb092cd9e603e6048567a5d36f1d
-DIST thunderbird-91.12.0-ro.xpi 661346 BLAKE2B 216e6faa4112ec6ca86d2f01e6d6c49d31ac846ef26751bac11143d5309740f635e4db8fca0a5e969d4f03b8baf7eac8a5a2e05a964ef2bc1083e381a0bc813a SHA512 e4be6c52b3c133129ebee33dd183d382a28fabc7dd24900488a4f62d651c44180563ad752e7e4e24da124a7a6adcd72fad139a6a16fad77fc2d42d599af5dbe0
-DIST thunderbird-91.12.0-ru.xpi 793373 BLAKE2B a9689e5110323a547b436fcb22e2f13760ec8ccb053d686d3b1b66b6a3d8add55630f2a906ad43c2aecc96d831b55d60ece3c2c4e95b564cb7da11da755ad791 SHA512 9759ecc8585996457c4d2b9116678bdff1972a3a2db2803b2bea0a52ddc2fac1017ba247ad59d4237afb5d3344bba791da1d51002a4bdf75061ff5fe642ac78c
-DIST thunderbird-91.12.0-sk.xpi 721092 BLAKE2B c7939edb9025216f8716ef60486b77488462dac2a85032199304ee06390bdd59a7a82cdd3a76eace3d195a43b880cc8968208ab4bd38a7968ed00882a21ff65e SHA512 f19435c22427dcb54f7c2c5dff6d91affa8468c82150eebecf5bf8d9a937583371c2613be7af5c69beeee3c9cbac430cd0ff4a151cb884191aa15e28b15b4559
-DIST thunderbird-91.12.0-sl.xpi 682543 BLAKE2B 5a5bed11847fe3f02fe11387ef66fd92450b6f9fd8fd6aca762a9e3bba92cffc154fdb450692e3187f9b4e452bf189821a90155098db8ec5cbd87321f89c41a9 SHA512 d3afea20f7b667524c2e70e3c46611776848d9e44462a8f987efef28cb36df0be43164889ddc41177b3cc63ad626a17569df61f0d442b284370cd2f5e639d369
-DIST thunderbird-91.12.0-sq.xpi 703626 BLAKE2B a9a3446663ceb0ff9e4a2e086c36f803953b2b7b56940e1e41a04a0e824af4499c372f4cf2dff420ca553ac8a48158729118a44c5cd8d886c1bb1f3cf023f1f8 SHA512 9ea2afdffe162cc85941fcfee330d07dfd1c0d18dba72a42d02b0b9cc0d61a3288dca5fb9e089e8978f1b69b28aec3e77bac14d168c97eff961ad758a888f6a8
-DIST thunderbird-91.12.0-sr.xpi 710562 BLAKE2B 16715cd53e0bbe3460e45d41c408644dbd9149a9998f7ed954a3f4d226efa5c76d109a3d6b66a2db52ff08c38961f334caa03f94cb83f5ada7e329cd8c46d2bd SHA512 a3f90d270f18265c84eaccfdf5491540746b5dcac5b0484f2fc687a74e6759f7c18ef4328baac6e056dfb9c8d2fc8bc3080dc214ed4e5e6fb79ddb5b3959bdd6
-DIST thunderbird-91.12.0-sv-SE.xpi 690965 BLAKE2B 59cbda2eb448ef6efd4060d55ee3a420ff5117c6413591cd786886563d51b38f93c4e7e632b5e83f1694d2abdd67eec20bffc14e8fdd5c99d092cc3f01f71e5d SHA512 0dd67c2f478ffc0712d5b2a63f118ee05a7d9db9e4eda9456a44c06fbd61ba3880db75c64b37b6c3e55c7f6be2dc26ed26c1d9fb9a15e76b830b78f486b90ca0
-DIST thunderbird-91.12.0-th.xpi 748755 BLAKE2B e8c08992950a19f36483bee6a043a8ae87740f316778dfc84cea5b3b7aa9ea372628f2cb6dd1f0ca89a10db25d4ae73e9fa6b9598ce17e6aa67eec6dd694d649 SHA512 5e4fb6d25816a63b5bbc7983ec4cdf54a2b2eba470010edca6d2df1c0be91a9d09a3452bbf46a09cd717ed11fa6e04347054d70d28b4510d8f1d7f5d28195f98
-DIST thunderbird-91.12.0-tr.xpi 699652 BLAKE2B 68122681bce86859527df47bf1e23226e3a6982f4ca5fb7ae8dff687722f4358325ade297eb09740f2e731a800e07650dab90ffab662438643f70420ac063437 SHA512 23e503f823c7cccf723f6a728c33ee32412cc30a09d5f51d07a762502a09adcfe458882547c2688b81fadf4edc9ebfbaa72ed0a8fec6e289bef81de12fc8e5ce
-DIST thunderbird-91.12.0-uk.xpi 798481 BLAKE2B e8b8168225a4cfc0e147afbe2a87d3132ea631fd84489496fcba741229f7cb7f00604872a2ce16b30acdc6b00561f0c3d67786abb74a00d72732d5b146d3dce4 SHA512 32e342f2cb3a98941b5d354628d6709c94725b9f0e898e650a12b249986e033625fc42995b6773f1015bf8fee1afedbd289045d18d173dc61762b1fa9f1cb16c
-DIST thunderbird-91.12.0-uz.xpi 595924 BLAKE2B 9c5311c2c098f60a6c2bbab31a93e3ff200604ec7b17274dd312da7a79604bd8dc4409db7fef28b62ad11d701880b9b0ce59c01f487703ee5597cdbe001fb47d SHA512 14f1763ac46b0684904d86363dcf65e0e8312fb6b6b5f7a3d9d0607f08ddbd1122967b8b5b4eff1a3f70d9dc89c1b68564cd943be998e7f5ea9516d195acfd58
-DIST thunderbird-91.12.0-vi.xpi 725526 BLAKE2B ee8a25cb9eba7d589c6320397e9552e6a57fb84dd2815126dc55dfbe602306d47f4bf7b234baf72544371c05deb689b15a5033c26873848e6e7d0316e10cb2c1 SHA512 5b6d5b3f47851a1f6e8fc2368c0da7e6b5b2237b01c3085116a46b0f9f3d6c53977abae03035e7fb2281d6840664a2db48d91d8f4806d2cfd8df9b03272a27f4
-DIST thunderbird-91.12.0-zh-CN.xpi 730901 BLAKE2B 9d183dcfbcd2bc8cfd200c5b9e580ed6c8f79f9185d6e6d2960fe384d5d1cd5a4d1313c5eb3d461c54c68df08140a4057e6423af2c2183167c5af7c96b1d2e72 SHA512 3b6b6a428a492069bac13c8cffc42eac316af2ef7c138a517269f11857393546dff3e3dd242f2ee9730db18630f623086aa58577dad43349844a6f542f260ab2
-DIST thunderbird-91.12.0-zh-TW.xpi 731943 BLAKE2B 441081aafebc9bff1ad0a6c8c33cba392854f41b30be59bc614a57ec316d5c0ccae774d3b0c238df3be61c1c072507e09a4cad612259f13145153f33bfd14ffd SHA512 b93fb3cd53646394ace88650ae2384b8b4160e7b60975b068d750e0add4474e926e9f47112432d940b90e90180bfe308c999bc93d06ff56f5d1bdbe8c5320d31
-DIST thunderbird-91.12.0.source.tar.xz 404609860 BLAKE2B 960958211bd4661cd36e55aff024ebe800aca867e7a9a5b54de694c4477473360d2422373accc325ca2cf7a3bdc720be427bf281beba2e9ab052fcf2a62ecf67 SHA512 1c0200a84ccc4124127d472713d72c4ff7ece8d61ad120d5c45c732a3ab4f86a2edfea23a8bf26e4739d24956654aec30e7bc59a28af17fbbf10f3d67466649a
DIST thunderbird-91.13.0-af.xpi 561879 BLAKE2B 69a959c61b28e7ee9733db245ffc91ebefa3396c1561b933b1dbfe1135ff88b3c5199be2d29e43e404e63f0016fa05838c7612823727fd061ad8f0407a762d2e SHA512 bd52e0f660db3046c8641038451e439c79f3961df342b69365faa9b8f2fb5d8e165a8b9249989524cd4e0bdc5867c872ff6ddbe5aad1c88bc0a869d4cf16e9c9
DIST thunderbird-91.13.0-ar.xpi 665731 BLAKE2B 3302223e35bef747a8c04a2cb25c1bdc6482674fff85bd4c6b278ff9be0a1f72615d075e13c185dce6296331bdde42bd487d9fda1f47f8fcad8806dfb9882009 SHA512 b510f1277a4a558f9e2552bccfa6f988c62b47366665c934bb173cb58480104b026f487e1b1d778cd25990a14b2a4b39b6f78852c3d0b220bf31e8f021ece2a0
DIST thunderbird-91.13.0-ast.xpi 580513 BLAKE2B 811bde79b93aad145f92dd7df9a998622b5d097c13edd6195c67f83bfdd8526dacdd29f35c2a33652997659b68ea2d745714b8b521236e6f6ec91ab324ddf994 SHA512 2f229377f089e383badebc251f40d6fd7171f3c6e4dfaa3eb2cc205cea0de6495f42efd940c6db8976c8c60997229c61b876f428b8a71ca2fc43590ba43c4cf2
diff --git a/mail-client/thunderbird/thunderbird-91.12.0.ebuild b/mail-client/thunderbird/thunderbird-91.12.0.ebuild
deleted file mode 100644
index eec0e380e0f1..000000000000
--- a/mail-client/thunderbird/thunderbird-91.12.0.ebuild
+++ /dev/null
@@ -1,1131 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-
-FIREFOX_PATCHSET="firefox-91esr-patches-10j.tar.xz"
-
-LLVM_MAX_SLOT=14
-
-PYTHON_COMPAT=( python3_{8..10} )
-PYTHON_REQ_USE="ncurses,sqlite,ssl"
-
-WANT_AUTOCONF="2.1"
-
-VIRTUALX_REQUIRED="pgo"
-
-MOZ_ESR=
-
-MOZ_PV=${PV}
-MOZ_PV_SUFFIX=
-if [[ ${PV} =~ (_(alpha|beta|rc).*)$ ]] ; then
- MOZ_PV_SUFFIX=${BASH_REMATCH[1]}
-
- # Convert the ebuild version to the upstream Mozilla version
- MOZ_PV="${MOZ_PV/_alpha/a}" # Handle alpha for SRC_URI
- MOZ_PV="${MOZ_PV/_beta/b}" # Handle beta for SRC_URI
- MOZ_PV="${MOZ_PV%%_rc*}" # Handle rc for SRC_URI
-fi
-
-if [[ -n ${MOZ_ESR} ]] ; then
- # ESR releases have slightly different version numbers
- MOZ_PV="${MOZ_PV}esr"
-fi
-
-MOZ_PN="${PN%-bin}"
-MOZ_P="${MOZ_PN}-${MOZ_PV}"
-MOZ_PV_DISTFILES="${MOZ_PV}${MOZ_PV_SUFFIX}"
-MOZ_P_DISTFILES="${MOZ_PN}-${MOZ_PV_DISTFILES}"
-
-inherit autotools check-reqs desktop flag-o-matic gnome2-utils \
- llvm multiprocessing optfeature pax-utils python-any-r1 toolchain-funcs \
- virtualx xdg
-
-MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/releases/${MOZ_PV}"
-
-if [[ ${PV} == *_rc* ]] ; then
- MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/candidates/${MOZ_PV}-candidates/build${PV##*_rc}"
-fi
-
-PATCH_URIS=(
- https://dev.gentoo.org/~{juippis,polynomial-c,whissi}/mozilla/patchsets/${FIREFOX_PATCHSET}
-)
-
-SRC_URI="${MOZ_SRC_BASE_URI}/source/${MOZ_P}.source.tar.xz -> ${MOZ_P_DISTFILES}.source.tar.xz
- ${PATCH_URIS[@]}"
-
-DESCRIPTION="Thunderbird Mail Client"
-HOMEPAGE="https://www.thunderbird.net/"
-
-KEYWORDS="amd64 ~arm64 ~ppc64 x86"
-
-SLOT="0"
-LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
-
-IUSE="+clang cpu_flags_arm_neon dbus debug eme-free hardened hwaccel"
-IUSE+=" jack lto +openh264 pgo pulseaudio sndio selinux"
-IUSE+=" +system-av1 +system-harfbuzz +system-icu +system-jpeg +system-libevent +system-libvpx system-png +system-webp"
-IUSE+=" wayland wifi"
-
-REQUIRED_USE="debug? ( !system-av1 )
- pgo? ( lto )
- wifi? ( dbus )"
-
-BDEPEND="${PYTHON_DEPS}
- app-arch/unzip
- app-arch/zip
- >=dev-util/cbindgen-0.24.0
- >=net-libs/nodejs-10.23.1
- virtual/pkgconfig
- >=virtual/rust-1.51.0
- || (
- (
- sys-devel/clang:14
- sys-devel/llvm:14
- clang? (
- =sys-devel/lld-14*
- pgo? ( =sys-libs/compiler-rt-sanitizers-14*[profile] )
- )
- )
- (
- sys-devel/clang:13
- sys-devel/llvm:13
- clang? (
- =sys-devel/lld-13*
- pgo? ( =sys-libs/compiler-rt-sanitizers-13*[profile] )
- )
- )
- )
- amd64? ( >=dev-lang/nasm-2.13 )
- x86? ( >=dev-lang/nasm-2.13 )"
-
-COMMON_DEPEND="
- >=dev-libs/nss-3.68
- >=dev-libs/nspr-4.32
- dev-libs/atk
- dev-libs/expat
- >=x11-libs/cairo-1.10[X]
- >=x11-libs/gtk+-3.4.0:3[X]
- x11-libs/gdk-pixbuf
- >=x11-libs/pango-1.22.0
- >=media-libs/mesa-10.2:*
- media-libs/fontconfig
- >=media-libs/freetype-2.4.10
- kernel_linux? ( !pulseaudio? ( media-libs/alsa-lib ) )
- virtual/freedesktop-icon-theme
- >=x11-libs/pixman-0.19.2
- >=dev-libs/glib-2.26:2
- >=sys-libs/zlib-1.2.3
- >=dev-libs/libffi-3.0.10:=
- media-video/ffmpeg
- x11-libs/libX11
- x11-libs/libxcb:=
- x11-libs/libXcomposite
- x11-libs/libXdamage
- x11-libs/libXext
- x11-libs/libXfixes
- x11-libs/libXrender
- x11-libs/libXt
- dbus? (
- sys-apps/dbus
- dev-libs/dbus-glib
- )
- system-av1? (
- >=media-libs/dav1d-0.8.1:=
- >=media-libs/libaom-1.0.0:=
- )
- system-harfbuzz? (
- >=media-libs/harfbuzz-2.8.1:0=
- >=media-gfx/graphite2-1.3.13
- )
- system-icu? ( >=dev-libs/icu-69.1:= )
- system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 )
- system-libevent? ( >=dev-libs/libevent-2.0:0=[threads] )
- system-libvpx? ( >=media-libs/libvpx-1.8.2:0=[postproc] )
- system-png? ( >=media-libs/libpng-1.6.35:0=[apng] )
- system-webp? ( >=media-libs/libwebp-1.1.0:0= )
- wifi? (
- kernel_linux? (
- sys-apps/dbus
- dev-libs/dbus-glib
- net-misc/networkmanager
- )
- )
- jack? ( virtual/jack )
- selinux? ( sec-policy/selinux-mozilla )
- sndio? ( media-sound/sndio )"
-
-RDEPEND="${COMMON_DEPEND}
- jack? ( virtual/jack )
- openh264? ( media-libs/openh264:*[plugin] )
- pulseaudio? (
- || (
- media-sound/pulseaudio
- >=media-sound/apulse-0.1.12-r4
- )
- )
- selinux? ( sec-policy/selinux-mozilla )
- !<x11-plugins/enigmail-2.2"
-
-DEPEND="${COMMON_DEPEND}
- x11-libs/libICE
- x11-libs/libSM
- pulseaudio? (
- || (
- media-sound/pulseaudio
- >=media-sound/apulse-0.1.12-r4[sdk]
- )
- )
- wayland? ( >=x11-libs/gtk+-3.11:3[wayland] )
- amd64? ( virtual/opengl )
- x86? ( virtual/opengl )"
-
-S="${WORKDIR}/${PN}-${PV%_*}"
-
-llvm_check_deps() {
- if ! has_version -b "sys-devel/clang:${LLVM_SLOT}" ; then
- einfo "sys-devel/clang:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
- return 1
- fi
-
- if use clang ; then
- if ! has_version -b "=sys-devel/lld-${LLVM_SLOT}*" ; then
- einfo "=sys-devel/lld-${LLVM_SLOT}* is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
- return 1
- fi
-
- if use pgo ; then
- if ! has_version -b "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*" ; then
- einfo "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}* is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
- return 1
- fi
- fi
- fi
-
- einfo "Using LLVM slot ${LLVM_SLOT} to build" >&2
-}
-
-MOZ_LANGS=(
- af ar ast be bg br ca cak cs cy da de dsb
- el en-CA en-GB en-US es-AR es-ES et eu
- fi fr fy-NL ga-IE gd gl he hr hsb hu
- id is it ja ka kab kk ko lt lv ms nb-NO nl nn-NO
- pa-IN pl pt-BR pt-PT rm ro ru
- sk sl sq sr sv-SE th tr uk uz vi zh-CN zh-TW
-)
-
-mozilla_set_globals() {
- # https://bugs.gentoo.org/587334
- local MOZ_TOO_REGIONALIZED_FOR_L10N=(
- fy-NL ga-IE gu-IN hi-IN hy-AM nb-NO ne-NP nn-NO pa-IN sv-SE
- )
-
- local lang xflag
- for lang in "${MOZ_LANGS[@]}" ; do
- # en and en_US are handled internally
- if [[ ${lang} == en ]] || [[ ${lang} == en-US ]] ; then
- continue
- fi
-
- # strip region subtag if $lang is in the list
- if has ${lang} "${MOZ_TOO_REGIONALIZED_FOR_L10N[@]}" ; then
- xflag=${lang%%-*}
- else
- xflag=${lang}
- fi
-
- SRC_URI+=" l10n_${xflag/[_@]/-}? ("
- SRC_URI+=" ${MOZ_SRC_BASE_URI}/linux-x86_64/xpi/${lang}.xpi -> ${MOZ_P_DISTFILES}-${lang}.xpi"
- SRC_URI+=" )"
- IUSE+=" l10n_${xflag/[_@]/-}"
- done
-}
-mozilla_set_globals
-
-moz_clear_vendor_checksums() {
- debug-print-function ${FUNCNAME} "$@"
-
- if [[ ${#} -ne 1 ]] ; then
- die "${FUNCNAME} requires exact one argument"
- fi
-
- einfo "Clearing cargo checksums for ${1} ..."
-
- sed -i \
- -e 's/\("files":{\)[^}]*/\1/' \
- "${S}"/third_party/rust/${1}/.cargo-checksum.json \
- || die
-}
-
-moz_install_xpi() {
- debug-print-function ${FUNCNAME} "$@"
-
- if [[ ${#} -lt 2 ]] ; then
- die "${FUNCNAME} requires at least two arguments"
- fi
-
- local DESTDIR=${1}
- shift
-
- insinto "${DESTDIR}"
-
- local emid xpi_file xpi_tmp_dir
- for xpi_file in "${@}" ; do
- emid=
- xpi_tmp_dir=$(mktemp -d --tmpdir="${T}")
-
- # Unpack XPI
- unzip -qq "${xpi_file}" -d "${xpi_tmp_dir}" || die
-
- # Determine extension ID
- if [[ -f "${xpi_tmp_dir}/install.rdf" ]] ; then
- emid=$(sed -n -e '/install-manifest/,$ { /em:id/!d; s/.*[\">]\([^\"<>]*\)[\"<].*/\1/; p; q }' "${xpi_tmp_dir}/install.rdf")
- [[ -z "${emid}" ]] && die "failed to determine extension id from install.rdf"
- elif [[ -f "${xpi_tmp_dir}/manifest.json" ]] ; then
- emid=$(sed -n -e 's/.*"id": "\([^"]*\)".*/\1/p' "${xpi_tmp_dir}/manifest.json")
- [[ -z "${emid}" ]] && die "failed to determine extension id from manifest.json"
- else
- die "failed to determine extension id"
- fi
-
- einfo "Installing ${emid}.xpi into ${ED}${DESTDIR} ..."
- newins "${xpi_file}" "${emid}.xpi"
- done
-}
-
-mozconfig_add_options_ac() {
- debug-print-function ${FUNCNAME} "$@"
-
- if [[ ${#} -lt 2 ]] ; then
- die "${FUNCNAME} requires at least two arguments"
- fi
-
- local reason=${1}
- shift
-
- local option
- for option in ${@} ; do
- echo "ac_add_options ${option} # ${reason}" >>${MOZCONFIG}
- done
-}
-
-mozconfig_add_options_mk() {
- debug-print-function ${FUNCNAME} "$@"
-
- if [[ ${#} -lt 2 ]] ; then
- die "${FUNCNAME} requires at least two arguments"
- fi
-
- local reason=${1}
- shift
-
- local option
- for option in ${@} ; do
- echo "mk_add_options ${option} # ${reason}" >>${MOZCONFIG}
- done
-}
-
-mozconfig_use_enable() {
- debug-print-function ${FUNCNAME} "$@"
-
- if [[ ${#} -lt 1 ]] ; then
- die "${FUNCNAME} requires at least one arguments"
- fi
-
- local flag=$(use_enable "${@}")
- mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" "${flag}"
-}
-
-mozconfig_use_with() {
- debug-print-function ${FUNCNAME} "$@"
-
- if [[ ${#} -lt 1 ]] ; then
- die "${FUNCNAME} requires at least one arguments"
- fi
-
- local flag=$(use_with "${@}")
- mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" "${flag}"
-}
-
-pkg_pretend() {
- if [[ ${MERGE_TYPE} != binary ]] ; then
- if use pgo ; then
- if ! has usersandbox $FEATURES ; then
- die "You must enable usersandbox as X server can not run as root!"
- fi
- fi
-
- # Ensure we have enough disk space to compile
- if use pgo || use lto || use debug ; then
- CHECKREQS_DISK_BUILD="13500M"
- else
- CHECKREQS_DISK_BUILD="6400M"
- fi
-
- check-reqs_pkg_pretend
- fi
-}
-
-pkg_setup() {
- if [[ ${MERGE_TYPE} != binary ]] ; then
- if use pgo ; then
- if ! has userpriv ${FEATURES} ; then
- eerror "Building ${PN} with USE=pgo and FEATURES=-userpriv is not supported!"
- fi
- fi
-
- # Ensure we have enough disk space to compile
- if use pgo || use lto || use debug ; then
- CHECKREQS_DISK_BUILD="13500M"
- else
- CHECKREQS_DISK_BUILD="6400M"
- fi
-
- check-reqs_pkg_setup
-
- llvm_pkg_setup
-
- if use clang && use lto ; then
- local version_lld=$(ld.lld --version 2>/dev/null | awk '{ print $2 }')
- [[ -n ${version_lld} ]] && version_lld=$(ver_cut 1 "${version_lld}")
- [[ -z ${version_lld} ]] && die "Failed to read ld.lld version!"
-
- local version_llvm_rust=$(rustc -Vv 2>/dev/null | grep -F -- 'LLVM version:' | awk '{ print $3 }')
- [[ -n ${version_llvm_rust} ]] && version_llvm_rust=$(ver_cut 1 "${version_llvm_rust}")
- [[ -z ${version_llvm_rust} ]] && die "Failed to read used LLVM version from rustc!"
-
- if ver_test "${version_lld}" -ne "${version_llvm_rust}" ; then
- eerror "Rust is using LLVM version ${version_llvm_rust} but ld.lld version belongs to LLVM version ${version_lld}."
- eerror "You will be unable to link ${CATEGORY}/${PN}. To proceed you have the following options:"
- eerror " - Manually switch rust version using 'eselect rust' to match used LLVM version"
- eerror " - Switch to dev-lang/rust[system-llvm] which will guarantee matching version"
- eerror " - Build ${CATEGORY}/${PN} without USE=lto"
- eerror " - Rebuild lld with llvm that was used to build rust (may need to rebuild the whole "
- eerror " llvm/clang/lld/rust chain depending on your @world updates)"
- die "LLVM version used by Rust (${version_llvm_rust}) does not match with ld.lld version (${version_lld})!"
- fi
- fi
-
- if ! use clang && [[ $(gcc-major-version) -eq 11 ]] \
- && ! has_version -b ">sys-devel/gcc-11.1.0:11" ; then
- # bug 792705
- eerror "Using GCC 11 to compile firefox is currently known to be broken (see bug #792705)."
- die "Set USE=clang or select <gcc-11 to build ${CATEGORY}/${P}."
- fi
-
- python-any-r1_pkg_setup
-
- # Avoid PGO profiling problems due to enviroment leakage
- # These should *always* be cleaned up anyway
- unset \
- DBUS_SESSION_BUS_ADDRESS \
- DISPLAY \
- ORBIT_SOCKETDIR \
- SESSION_MANAGER \
- XAUTHORITY \
- XDG_CACHE_HOME \
- XDG_SESSION_COOKIE
-
- # Build system is using /proc/self/oom_score_adj, bug #604394
- addpredict /proc/self/oom_score_adj
-
- if use pgo ; then
- # Allow access to GPU during PGO run
- local ati_cards mesa_cards nvidia_cards render_cards
- shopt -s nullglob
-
- ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g')
- if [[ -n "${ati_cards}" ]] ; then
- addpredict "${ati_cards}"
- fi
-
- mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g')
- if [[ -n "${mesa_cards}" ]] ; then
- addpredict "${mesa_cards}"
- fi
-
- nvidia_cards=$(echo -n /dev/nvidia* | sed 's/ /:/g')
- if [[ -n "${nvidia_cards}" ]] ; then
- addpredict "${nvidia_cards}"
- fi
-
- render_cards=$(echo -n /dev/dri/renderD128* | sed 's/ /:/g')
- if [[ -n "${render_cards}" ]] ; then
- addpredict "${render_cards}"
- fi
-
- shopt -u nullglob
- fi
-
- if ! mountpoint -q /dev/shm ; then
- # If /dev/shm is not available, configure is known to fail with
- # a traceback report referencing /usr/lib/pythonN.N/multiprocessing/synchronize.py
- ewarn "/dev/shm is not mounted -- expect build failures!"
- fi
-
- # Google API keys (see http://www.chromium.org/developers/how-tos/api-keys)
- # Note: These are for Gentoo Linux use ONLY. For your own distribution, please
- # get your own set of keys.
- if [[ -z "${MOZ_API_KEY_GOOGLE+set}" ]] ; then
- MOZ_API_KEY_GOOGLE="AIzaSyDEAOvatFogGaPi0eTgsV_ZlEzx0ObmepsMzfAc"
- fi
-
- if [[ -z "${MOZ_API_KEY_LOCATION+set}" ]] ; then
- MOZ_API_KEY_LOCATION="AIzaSyB2h2OuRgGaPicUgy5N-5hsZqiPW6sH3n_rptiQ"
- fi
-
- # Mozilla API keys (see https://location.services.mozilla.com/api)
- # Note: These are for Gentoo Linux use ONLY. For your own distribution, please
- # get your own set of keys.
- if [[ -z "${MOZ_API_KEY_MOZILLA+set}" ]] ; then
- MOZ_API_KEY_MOZILLA="edb3d487-3a84-46m0ap1e3-9dfd-92b5efaaa005"
- fi
-
- # Ensure we use C locale when building, bug #746215
- export LC_ALL=C
- fi
-}
-
-src_unpack() {
- local _lp_dir="${WORKDIR}/language_packs"
- local _src_file
-
- if [[ ! -d "${_lp_dir}" ]] ; then
- mkdir "${_lp_dir}" || die
- fi
-
- for _src_file in ${A} ; do
- if [[ ${_src_file} == *.xpi ]]; then
- cp "${DISTDIR}/${_src_file}" "${_lp_dir}" || die "Failed to copy '${_src_file}' to '${_lp_dir}'!"
- else
- unpack ${_src_file}
- fi
- done
-}
-
-src_prepare() {
- if use lto; then
- rm -v "${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch || die
- fi
-
- if use system-av1 && has_version "<media-libs/dav1d-1.0.0"; then
- rm -v "${WORKDIR}"/firefox-patches/0033-bgo-835788-dav1d-1.0.0-support.patch || die
- elog "<media-libs/dav1d-1.0.0 detected, removing 1.0.0 compat patch."
- elif ! use system-av1; then
- rm -v "${WORKDIR}"/firefox-patches/0033-bgo-835788-dav1d-1.0.0-support.patch || die
- elog "-system-av1 USE flag detected, removing 1.0.0 compat patch."
- fi
-
- eapply "${WORKDIR}/firefox-patches"
-
- # Allow user to apply any additional patches without modifing ebuild
- eapply_user
-
- # Make cargo respect MAKEOPTS
- export CARGO_BUILD_JOBS="$(makeopts_jobs)"
-
- # Make LTO respect MAKEOPTS
- sed -i \
- -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
- "${S}"/build/moz.configure/lto-pgo.configure \
- || die "sed failed to set num_cores"
-
- # Make ICU respect MAKEOPTS
- sed -i \
- -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
- "${S}"/intl/icu_sources_data.py \
- || die "sed failed to set num_cores"
-
- # sed-in toolchain prefix
- sed -i \
- -e "s/objdump/${CHOST}-objdump/" \
- "${S}"/python/mozbuild/mozbuild/configure/check_debug_ranges.py \
- || die "sed failed to set toolchain prefix"
-
- sed -i \
- -e 's/ccache_stats = None/return None/' \
- "${S}"/python/mozbuild/mozbuild/controller/building.py \
- || die "sed failed to disable ccache stats call"
-
- einfo "Removing pre-built binaries ..."
- find "${S}"/third_party -type f \( -name '*.so' -o -name '*.o' \) -print -delete || die
-
- # Clearing checksums where we have applied patches
- moz_clear_vendor_checksums target-lexicon-0.9.0
-
- # Create build dir
- BUILD_DIR="${WORKDIR}/${PN}_build"
- mkdir -p "${BUILD_DIR}" || die
-
- # Write API keys to disk
- echo -n "${MOZ_API_KEY_GOOGLE//gGaPi/}" > "${S}"/api-google.key || die
- echo -n "${MOZ_API_KEY_LOCATION//gGaPi/}" > "${S}"/api-location.key || die
- echo -n "${MOZ_API_KEY_MOZILLA//m0ap1/}" > "${S}"/api-mozilla.key || die
-
- xdg_environment_reset
-}
-
-src_configure() {
- # Show flags set at the beginning
- einfo "Current BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}"
- einfo "Current CFLAGS:\t\t${CFLAGS:-no value set}"
- einfo "Current CXXFLAGS:\t\t${CXXFLAGS:-no value set}"
- einfo "Current LDFLAGS:\t\t${LDFLAGS:-no value set}"
- einfo "Current RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}"
-
- local have_switched_compiler=
- if use clang && ! tc-is-clang ; then
- # Force clang
- einfo "Enforcing the use of clang due to USE=clang ..."
- have_switched_compiler=yes
- AR=llvm-ar
- CC=${CHOST}-clang
- CXX=${CHOST}-clang++
- NM=llvm-nm
- RANLIB=llvm-ranlib
- elif ! use clang && ! tc-is-gcc ; then
- # Force gcc
- have_switched_compiler=yes
- einfo "Enforcing the use of gcc due to USE=-clang ..."
- AR=gcc-ar
- CC=${CHOST}-gcc
- CXX=${CHOST}-g++
- NM=gcc-nm
- RANLIB=gcc-ranlib
- fi
-
- if [[ -n "${have_switched_compiler}" ]] ; then
- # Because we switched active compiler we have to ensure
- # that no unsupported flags are set
- strip-unsupported-flags
- fi
-
- # Ensure we use correct toolchain
- export HOST_CC="$(tc-getBUILD_CC)"
- export HOST_CXX="$(tc-getBUILD_CXX)"
- tc-export CC CXX LD AR NM OBJDUMP RANLIB PKG_CONFIG
-
- # Pass the correct toolchain paths through cbindgen
- if tc-is-cross-compiler ; then
- export BINDGEN_CFLAGS="${SYSROOT:+--sysroot=${ESYSROOT}} --target=${CHOST} ${BINDGEN_CFLAGS-}"
- fi
-
- # Set MOZILLA_FIVE_HOME
- export MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
-
- # python/mach/mach/mixin/process.py fails to detect SHELL
- export SHELL="${EPREFIX}/bin/bash"
-
- # Set state path
- export MOZBUILD_STATE_PATH="${BUILD_DIR}"
-
- # Set MOZCONFIG
- export MOZCONFIG="${S}/.mozconfig"
-
- # Initialize MOZCONFIG
- mozconfig_add_options_ac '' --enable-application=comm/mail
-
- # Set Gentoo defaults
- export MOZILLA_OFFICIAL=1
-
- mozconfig_add_options_ac 'Gentoo default' \
- --allow-addon-sideload \
- --disable-cargo-incremental \
- --disable-crashreporter \
- --disable-install-strip \
- --disable-strip \
- --disable-updater \
- --enable-js-shell \
- --enable-official-branding \
- --enable-release \
- --enable-system-ffi \
- --enable-system-pixman \
- --host="${CBUILD:-${CHOST}}" \
- --libdir="${EPREFIX}/usr/$(get_libdir)" \
- --prefix="${EPREFIX}/usr" \
- --target="${CHOST}" \
- --without-ccache \
- --with-intl-api \
- --with-libclang-path="$(llvm-config --libdir)" \
- --with-system-nspr \
- --with-system-nss \
- --with-system-zlib \
- --with-toolchain-prefix="${CHOST}-" \
- --with-unsigned-addon-scopes=app,system \
- --x-includes="${ESYSROOT}/usr/include" \
- --x-libraries="${ESYSROOT}/usr/$(get_libdir)"
-
- # Set update channel
- local update_channel=release
- [[ -n ${MOZ_ESR} ]] && update_channel=esr
- mozconfig_add_options_ac '' --update-channel=${update_channel}
-
- if ! use x86 && [[ ${CHOST} != armv*h* ]] ; then
- mozconfig_add_options_ac '' --enable-rust-simd
- fi
-
- if [[ -s "${S}/api-google.key" ]] ; then
- local key_origin="Gentoo default"
- if [[ $(cat "${S}/api-google.key" | md5sum | awk '{ print $1 }') != 709560c02f94b41f9ad2c49207be6c54 ]] ; then
- key_origin="User value"
- fi
-
- mozconfig_add_options_ac "${key_origin}" \
- --with-google-safebrowsing-api-keyfile="${S}/api-google.key"
- else
- einfo "Building without Google API key ..."
- fi
-
- if [[ -s "${S}/api-location.key" ]] ; then
- local key_origin="Gentoo default"
- if [[ $(cat "${S}/api-location.key" | md5sum | awk '{ print $1 }') != ffb7895e35dedf832eb1c5d420ac7420 ]] ; then
- key_origin="User value"
- fi
-
- mozconfig_add_options_ac "${key_origin}" \
- --with-google-location-service-api-keyfile="${S}/api-location.key"
- else
- einfo "Building without Location API key ..."
- fi
-
- if [[ -s "${S}/api-mozilla.key" ]] ; then
- local key_origin="Gentoo default"
- if [[ $(cat "${S}/api-mozilla.key" | md5sum | awk '{ print $1 }') != 3927726e9442a8e8fa0e46ccc39caa27 ]] ; then
- key_origin="User value"
- fi
-
- mozconfig_add_options_ac "${key_origin}" \
- --with-mozilla-api-keyfile="${S}/api-mozilla.key"
- else
- einfo "Building without Mozilla API key ..."
- fi
-
- mozconfig_use_with system-av1
- mozconfig_use_with system-harfbuzz
- mozconfig_use_with system-harfbuzz system-graphite2
- mozconfig_use_with system-icu
- mozconfig_use_with system-jpeg
- mozconfig_use_with system-libevent system-libevent "${ESYSROOT}/usr"
- mozconfig_use_with system-libvpx
- mozconfig_use_with system-png
- mozconfig_use_with system-webp
-
- mozconfig_use_enable dbus
-
- use eme-free && mozconfig_add_options_ac '+eme-free' --disable-eme
-
- if use hardened ; then
- mozconfig_add_options_ac "+hardened" --enable-hardening
- append-ldflags "-Wl,-z,relro -Wl,-z,now"
- fi
-
- mozconfig_use_enable jack
-
- mozconfig_use_enable pulseaudio
- # force the deprecated alsa sound code if pulseaudio is disabled
- if use kernel_linux && ! use pulseaudio ; then
- mozconfig_add_options_ac '-pulseaudio' --enable-alsa
- fi
-
- mozconfig_use_enable sndio
-
- mozconfig_use_enable wifi necko-wifi
-
- if use wayland ; then
- mozconfig_add_options_ac '+wayland' --enable-default-toolkit=cairo-gtk3-wayland
- else
- mozconfig_add_options_ac '' --enable-default-toolkit=cairo-gtk3
- fi
-
- if use lto ; then
- if use clang ; then
- # Upstream only supports lld when using clang
- mozconfig_add_options_ac "forcing ld=lld due to USE=clang and USE=lto" --enable-linker=lld
-
- mozconfig_add_options_ac '+lto' --enable-lto=cross
- else
- # ld.gold is known to fail:
- # /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
-
- # ThinLTO is currently broken, see bmo#1644409
- mozconfig_add_options_ac '+lto' --enable-lto=full
- mozconfig_add_options_ac "linker is set to bfd" --enable-linker=bfd
- fi
-
- if use pgo ; then
- mozconfig_add_options_ac '+pgo' MOZ_PGO=1
-
- if use clang ; then
- # Used in build/pgo/profileserver.py
- export LLVM_PROFDATA="llvm-profdata"
- fi
- fi
- else
- # Avoid auto-magic on linker
- if use clang ; then
- # This is upstream's default
- mozconfig_add_options_ac "forcing ld=lld due to USE=clang" --enable-linker=lld
- else
- mozconfig_add_options_ac "linker is set to bfd" --enable-linker=bfd
- fi
- fi
-
- # LTO flag was handled via configure
- filter-flags '-flto*'
-
- mozconfig_use_enable debug
- if use debug ; then
- mozconfig_add_options_ac '+debug' --disable-optimize
- else
- if is-flag '-g*' ; then
- if use clang ; then
- mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols=$(get-flag '-g*')
- else
- mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols
- fi
- else
- mozconfig_add_options_ac 'Gentoo default' --disable-debug-symbols
- fi
-
- if is-flag '-O0' ; then
- mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O0
- elif is-flag '-O4' ; then
- mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O4
- elif is-flag '-O3' ; then
- mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O3
- elif is-flag '-O1' ; then
- mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O1
- elif is-flag '-Os' ; then
- mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-Os
- else
- mozconfig_add_options_ac "Gentoo default" --enable-optimize=-O2
- fi
- fi
-
- # Debug flag was handled via configure
- filter-flags '-g*'
-
- # Optimization flag was handled via configure
- filter-flags '-O*'
-
- # Modifications to better support ARM, bug #553364
- if use cpu_flags_arm_neon ; then
- mozconfig_add_options_ac '+cpu_flags_arm_neon' --with-fpu=neon
-
- if ! tc-is-clang ; then
- # thumb options aren't supported when using clang, bug 666966
- mozconfig_add_options_ac '+cpu_flags_arm_neon' \
- --with-thumb=yes \
- --with-thumb-interwork=no
- fi
- fi
-
- if [[ ${CHOST} == armv*h* ]] ; then
- mozconfig_add_options_ac 'CHOST=armv*h*' --with-float-abi=hard
-
- if ! use system-libvpx ; then
- sed -i \
- -e "s|softfp|hard|" \
- "${S}"/media/libvpx/moz.build \
- || die
- fi
- fi
-
- if use clang ; then
- # https://bugzilla.mozilla.org/show_bug.cgi?id=1482204
- # https://bugzilla.mozilla.org/show_bug.cgi?id=1483822
- # toolkit/moz.configure Elfhack section: target.cpu in ('arm', 'x86', 'x86_64')
- local disable_elf_hack=
- if use amd64 ; then
- disable_elf_hack=yes
- elif use x86 ; then
- disable_elf_hack=yes
- elif use arm ; then
- disable_elf_hack=yes
- fi
-
- if [[ -n ${disable_elf_hack} ]] ; then
- mozconfig_add_options_ac 'elf-hack is broken when using Clang' --disable-elf-hack
- fi
- elif tc-is-gcc ; then
- if ver_test $(gcc-fullversion) -ge 10 ; then
- einfo "Forcing -fno-tree-loop-vectorize to workaround GCC bug, see bug 758446 ..."
- append-cxxflags -fno-tree-loop-vectorize
- fi
- fi
-
- # Additional ARCH support
- case "${ARCH}" in
- arm)
- # Reduce the memory requirements for linking
- if use clang ; then
- # Nothing to do
- :;
- elif tc-ld-is-gold || use lto ; then
- append-ldflags -Wl,--no-keep-memory
- else
- append-ldflags -Wl,--no-keep-memory -Wl,--reduce-memory-overheads
- fi
- ;;
- esac
-
- if ! use elibc_glibc ; then
- mozconfig_add_options_ac '!elibc_glibc' --disable-jemalloc
- fi
-
- # Allow elfhack to work in combination with unstripped binaries
- # when they would normally be larger than 2GiB.
- append-ldflags "-Wl,--compress-debug-sections=zlib"
-
- # Make revdep-rebuild.sh happy; Also required for musl
- append-ldflags -Wl,-rpath="${MOZILLA_FIVE_HOME}",--enable-new-dtags
-
- # Pass $MAKEOPTS to build system
- export MOZ_MAKE_FLAGS="${MAKEOPTS}"
-
- # Use system's Python environment
- export MACH_USE_SYSTEM_PYTHON=1
-
- # Disable notification when build system has finished
- export MOZ_NOSPAM=1
-
- # Portage sets XARGS environment variable to "xargs -r" by default which
- # breaks build system's check_prog() function which doesn't support arguments
- mozconfig_add_options_ac 'Gentoo default' "XARGS=${EPREFIX}/usr/bin/xargs"
-
- # Set build dir
- mozconfig_add_options_mk 'Gentoo default' "MOZ_OBJDIR=${BUILD_DIR}"
-
- # Show flags we will use
- einfo "Build BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}"
- einfo "Build CFLAGS:\t\t${CFLAGS:-no value set}"
- einfo "Build CXXFLAGS:\t\t${CXXFLAGS:-no value set}"
- einfo "Build LDFLAGS:\t\t${LDFLAGS:-no value set}"
- einfo "Build RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}"
-
- # Handle EXTRA_CONF and show summary
- local ac opt hash reason
-
- # Apply EXTRA_ECONF entries to $MOZCONFIG
- if [[ -n ${EXTRA_ECONF} ]] ; then
- IFS=\! read -a ac <<<${EXTRA_ECONF// --/\!}
- for opt in "${ac[@]}"; do
- mozconfig_add_options_ac "EXTRA_ECONF" --${opt#--}
- done
- fi
-
- echo
- echo "=========================================================="
- echo "Building ${PF} with the following configuration"
- grep ^ac_add_options "${MOZCONFIG}" | while read ac opt hash reason; do
- [[ -z ${hash} || ${hash} == \# ]] \
- || die "error reading mozconfig: ${ac} ${opt} ${hash} ${reason}"
- printf " %-30s %s\n" "${opt}" "${reason:-mozilla.org default}"
- done
- echo "=========================================================="
- echo
-
- ./mach configure || die
-}
-
-src_compile() {
- local virtx_cmd=
-
- if use pgo ; then
- virtx_cmd=virtx
-
- # Reset and cleanup environment variables used by GNOME/XDG
- gnome2_environment_reset
-
- addpredict /root
- fi
-
- local -x GDK_BACKEND=x11
-
- ${virtx_cmd} ./mach build --verbose \
- || die
-}
-
-src_install() {
- # xpcshell is getting called during install
- pax-mark m \
- "${BUILD_DIR}"/dist/bin/xpcshell \
- "${BUILD_DIR}"/dist/bin/${PN} \
- "${BUILD_DIR}"/dist/bin/plugin-container
-
- DESTDIR="${D}" ./mach install || die
-
- # Upstream cannot ship symlink but we can (bmo#658850)
- rm "${ED}${MOZILLA_FIVE_HOME}/${PN}-bin" || die
- dosym ${PN} ${MOZILLA_FIVE_HOME}/${PN}-bin
-
- # Don't install llvm-symbolizer from sys-devel/llvm package
- if [[ -f "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" ]] ; then
- rm -v "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" || die
- fi
-
- # Install policy (currently only used to disable application updates)
- insinto "${MOZILLA_FIVE_HOME}/distribution"
- newins "${FILESDIR}"/distribution.ini distribution.ini
- newins "${FILESDIR}"/disable-auto-update.policy.json policies.json
-
- # Install system-wide preferences
- local PREFS_DIR="${MOZILLA_FIVE_HOME}/defaults/pref"
- insinto "${PREFS_DIR}"
- newins "${FILESDIR}"/gentoo-default-prefs.js gentoo-prefs.js
-
- local GENTOO_PREFS="${ED}${PREFS_DIR}/gentoo-prefs.js"
-
- # Set dictionary path to use system hunspell
- cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set spellchecker.dictionary_path pref"
- pref("spellchecker.dictionary_path", "${EPREFIX}/usr/share/myspell");
- EOF
-
- # Force hwaccel prefs if USE=hwaccel is enabled
- if use hwaccel ; then
- cat "${FILESDIR}"/gentoo-hwaccel-prefs.js \
- >>"${GENTOO_PREFS}" \
- || die "failed to add prefs to force hardware-accelerated rendering to all-gentoo.js"
- fi
-
- # Force the graphite pref if USE=system-harfbuzz is enabled, since the pref cannot disable it
- if use system-harfbuzz ; then
- cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set gfx.font_rendering.graphite.enabled pref"
- sticky_pref("gfx.font_rendering.graphite.enabled", true);
- EOF
- fi
-
- # Install language packs
- local langpacks=( $(find "${WORKDIR}/language_packs" -type f -name '*.xpi') )
- if [[ -n "${langpacks}" ]] ; then
- moz_install_xpi "${MOZILLA_FIVE_HOME}/distribution/extensions" "${langpacks[@]}"
- fi
-
- # Install icons
- local icon_srcdir="${S}/comm/mail/branding/thunderbird"
- local icon_symbolic_file="${icon_srcdir}/TB-symbolic.svg"
-
- insinto /usr/share/icons/hicolor/symbolic/apps
- newins "${icon_symbolic_file}" ${PN}-symbolic.svg
-
- local icon size
- for icon in "${icon_srcdir}"/default*.png ; do
- size=${icon%.png}
- size=${size##*/default}
-
- if [[ ${size} -eq 48 ]] ; then
- newicon "${icon}" ${PN}.png
- fi
-
- newicon -s ${size} "${icon}" ${PN}.png
- done
-
- # Install menu
- local app_name="Mozilla ${MOZ_PN^}"
- local desktop_file="${FILESDIR}/icon/${PN}-r2.desktop"
- local desktop_filename="${PN}.desktop"
- local exec_command="${PN}"
- local icon="${PN}"
- local use_wayland="false"
-
- if use wayland ; then
- use_wayland="true"
- fi
-
- cp "${desktop_file}" "${WORKDIR}/${PN}.desktop-template" || die
-
- sed -i \
- -e "s:@NAME@:${app_name}:" \
- -e "s:@EXEC@:${exec_command}:" \
- -e "s:@ICON@:${icon}:" \
- "${WORKDIR}/${PN}.desktop-template" \
- || die
-
- newmenu "${WORKDIR}/${PN}.desktop-template" "${desktop_filename}"
-
- rm "${WORKDIR}/${PN}.desktop-template" || die
-
- # Install wrapper script
- [[ -f "${ED}/usr/bin/${PN}" ]] && rm "${ED}/usr/bin/${PN}"
- newbin "${FILESDIR}/${PN}-r1.sh" ${PN}
-
- # Update wrapper
- sed -i \
- -e "s:@PREFIX@:${EPREFIX}/usr:" \
- -e "s:@MOZ_FIVE_HOME@:${MOZILLA_FIVE_HOME}:" \
- -e "s:@APULSELIB_DIR@:${apulselib}:" \
- -e "s:@DEFAULT_WAYLAND@:${use_wayland}:" \
- "${ED}/usr/bin/${PN}" \
- || die
-}
-
-pkg_preinst() {
- xdg_pkg_preinst
-
- # If the apulse libs are available in MOZILLA_FIVE_HOME then apulse
- # does not need to be forced into the LD_LIBRARY_PATH
- if use pulseaudio && has_version ">=media-sound/apulse-0.1.12-r4" ; then
- einfo "APULSE found; Generating library symlinks for sound support ..."
- local lib
- pushd "${ED}${MOZILLA_FIVE_HOME}" &>/dev/null || die
- for lib in ../apulse/libpulse{.so{,.0},-simple.so{,.0}} ; do
- # A quickpkg rolled by hand will grab symlinks as part of the package,
- # so we need to avoid creating them if they already exist.
- if [[ ! -L ${lib##*/} ]] ; then
- ln -s "${lib}" ${lib##*/} || die
- fi
- done
- popd &>/dev/null || die
- fi
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
-
- if use pulseaudio && has_version ">=media-sound/apulse-0.1.12-r4" ; then
- elog "Apulse was detected at merge time on this system and so it will always be"
- elog "used for sound. If you wish to use pulseaudio instead please unmerge"
- elog "media-sound/apulse."
- elog
- fi
-
- local show_doh_information
- local show_shortcut_information
-
- if [[ -z "${REPLACING_VERSIONS}" ]] ; then
- # New install; Tell user that DoH is disabled by default
- show_doh_information=yes
- show_shortcut_information=no
- else
- local replacing_version
- for replacing_version in ${REPLACING_VERSIONS} ; do
- if ver_test "${replacing_version}" -lt 91.0 ; then
- # Tell user that we no longer install a shortcut
- # per supported display protocol
- show_shortcut_information=yes
- fi
- done
- fi
-
- if [[ -n "${show_doh_information}" ]] ; then
- elog
- elog "Note regarding Trusted Recursive Resolver aka DNS-over-HTTPS (DoH):"
- elog "Due to privacy concerns (encrypting DNS might be a good thing, sending all"
- elog "DNS traffic to Cloudflare by default is not a good idea and applications"
- elog "should respect OS configured settings), \"network.trr.mode\" was set to 5"
- elog "(\"Off by choice\") by default."
- elog "You can enable DNS-over-HTTPS in ${PN^}'s preferences."
- fi
-
- if [[ -n "${show_shortcut_information}" ]] ; then
- elog
- elog "Since ${PN}-91.0 we no longer install multiple shortcuts for"
- elog "each supported display protocol. Instead we will only install"
- elog "one generic Mozilla ${PN^} shortcut."
- elog "If you still want to be able to select between running Mozilla ${PN^}"
- elog "on X11 or Wayland, you have to re-create these shortcuts on your own."
- fi
-
- optfeature_header "Optional runtime features:"
- optfeature "encrypted chat support" net-libs/libotr
-}