summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2022-10-03 16:12:47 +0300
committerJoonas Niilola <juippis@gentoo.org>2022-10-03 16:12:47 +0300
commit7ef9a4ead601772707a43e90e15a62d3b2e8daf0 (patch)
tree3b8ded10b7fea09d621e156498183282e31d2b4f /mail-client
parentsys-devel/llvm-common: Remove 16.0.0_pre20220918 (diff)
downloadgentoo-7ef9a4ead601772707a43e90e15a62d3b2e8daf0.tar.gz
gentoo-7ef9a4ead601772707a43e90e15a62d3b2e8daf0.tar.bz2
gentoo-7ef9a4ead601772707a43e90e15a62d3b2e8daf0.zip
mail-client/thunderbird: drop 102.3.0
Bug: https://bugs.gentoo.org/873667 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'mail-client')
-rw-r--r--mail-client/thunderbird/Manifest66
-rw-r--r--mail-client/thunderbird/thunderbird-102.3.0.ebuild1164
2 files changed, 0 insertions, 1230 deletions
diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest
index db4a273b8680..9c4c82e57da4 100644
--- a/mail-client/thunderbird/Manifest
+++ b/mail-client/thunderbird/Manifest
@@ -1,71 +1,5 @@
-DIST firefox-102esr-patches-03j.tar.xz 20768 BLAKE2B 49c5be06c5df5eda693a9712a63989f71dbbfc34fb3dadd74f0c95a25b2d8123af973ce92d7c7b342de311d8e94fd652a3c126ad6b9f0eeda09e709d42959cf4 SHA512 8d1e9e37095fc2d1a24064b6b6b16e5535dd387d7a566c52b8add7e060e9e7d0f0c14ff46efe370dc7b8bf7469fe9cb0ba4c2014829195f922bdbb0a2f41bc31
DIST firefox-102esr-patches-04j.tar.xz 21860 BLAKE2B 1cc1d6493912f85e71cb5a0ec2c3196cda203242f3503bb6ce8c23a93e71a6e8b1138f88498a6a9698066134cc234989b35cb378693fb2cbc9ba4caa8d66761d SHA512 9f7188dd79b9856826ae2a60b0109c2c86c60c10b03cd1828a9f7a7576df5c49ed3e11e4d3319d80e117204d6bc3408e375a62ad16ec8d2e53f999cd298811d8
DIST firefox-91esr-patches-10j.tar.xz 18320 BLAKE2B ec882411eed19bafab8676e3d79f4ae43947bb97c44571c1497bb93a44fcfec99de06ebacbdf8c4944dcecdf949e4f684908d7ce4226cdcec60241e62e75810e SHA512 670a14d852bb74b9074c3fef9310650f71ce1c56314109c49aea02a7a69acc836af60a8beab11da53e21b10a8e6da341fcfa18b68a1dfd33b26978dd63758e9c
-DIST thunderbird-102.3.0-af.xpi 551021 BLAKE2B 10ef5b7f8ef3e725c52b9aa748e2c78e893850ffa3749450e43b00de8ec038600692f4219f36e06bbcb7f9af9c5d488c48090fb55d8254e9548116325ca379af SHA512 ac67bdff340212171cb4af0f12e6066f1631afebf8975b553eb0c84e2ec9a9e09ab05286b65829d1e98c62a3ea5a4c5c42cc51b9d76913aea04a546eee84e214
-DIST thunderbird-102.3.0-ar.xpi 655344 BLAKE2B 5507cdfeac571588b495ffc73f6a2e49f52b03061f65146f2e320d397b5f21b0dff2a3c548fc8c37ff99e2019adb629c4d78fbac1252f8a788c0a547b7bd36e1 SHA512 7a0e74e73871963062b5f5ab71fe55b617a5e9b391e1f57b14dd1742a2325d663fc8c5cf156dc1222b254b0d5f7ffc7c92208b1c4be29f4f2e0fc44f67b5686e
-DIST thunderbird-102.3.0-ast.xpi 571774 BLAKE2B 2ca17a765853def28adb4949a58813be3d23f02d52af94a3a629b3119aafed0856be9d8d3d652e68777a0e3ba2cc311d40841692a76b0de5ab161ea39d7a24cc SHA512 7e1b1f5224d722c3638422ba9754faca2bee5273d3ef7531b57e2f36537ae95754df7194aeb263ad0a7c57b3c5627c68a989f4ad7718958742c86aaf18a53bc7
-DIST thunderbird-102.3.0-be.xpi 686440 BLAKE2B ae4f4ac2ed29d851b12abee4a99b6b50be9338b68f0eedf6eaa0773c27e0e13f809b83df85d536c0e14ef1887b70e761615e9726751998c11e2d5d8e53553baf SHA512 a04a130515a45b0a808fa3c5bb121cae4878fe3f061bd48455d1dd90c6e2156e17dcfa2d95d12249d1c3d139731bfe5c6e301080aaff94de5a7a628e1314b00f
-DIST thunderbird-102.3.0-bg.xpi 683357 BLAKE2B e6bf91feede91f9511de48a9aff1a9dcfcc3e8bfa4bb63b49186931c487fe88762aa4cf452985e7fc4c165aa1583eb7c625639b33204d460ae5bfc8f80aeccd6 SHA512 2b034365adedd578cacb65bbe2fd88253ee740ef87438fbe1e9ac3e6db86c594e8e2c25ea61d2caa8e31893ea1d475d6351cf7de0273813065a3a698a02c0b1a
-DIST thunderbird-102.3.0-br.xpi 613888 BLAKE2B e5ba6ab851e495a700562d59c3bf3e26e406ed78de6d539dee4f777934ce262a35eba39ad828098e81d68d7f33d53bd4b461898b9f997c61b0d281d3b13affd7 SHA512 0b727909479e2c8a7ac4288b71e5df348b5173a9d99a7426f9fdadbcb1c756ae5d9cef37e4a860ed02269532296f75fccdade3dd17a37a63b5d2841454470ca9
-DIST thunderbird-102.3.0-ca.xpi 637361 BLAKE2B 268c7f7323d417c88ae8ceb9f6f8a3d4cf965a974c4850da265f69c1463072e148a1a6e6bc87f17ef754c7e14e549b211e3fee417a0dda71095a9df3210f6d69 SHA512 db479955bd238e61d824dfaaf7e4bcf3acff145b019537571107005d51ff1b0faff566eac461259e6a95d153e51121cc67a35c5f952d19f34af972ecdc67fd96
-DIST thunderbird-102.3.0-cak.xpi 643588 BLAKE2B 62685db9bd3180f86be8a9d9efd3c74a77c138043f105330de317b553079cfee817e21f6b3cc70eeb25f12dd43a49b2dbea9a823278edbe03584151e7cc2ad74 SHA512 3a2b9fc641486663e71b760ddf71f3aba0874babea5a21a4dca8f49abfcca72dae4c7042d7add505b3d2ee2613352c7031afa78c8fbbb9b7f01748b0f4313d25
-DIST thunderbird-102.3.0-cs.xpi 708030 BLAKE2B d778447086de373424decc923b310e531a7bbbdee4ffa6268cdcee73ba874750ba6f4c680accb24290a14f2d1ca2feaf702c51723dfcdbcf479ebee9ed00f225 SHA512 06618f65aac4eac1b673d1f4f9415a075ec35d1956e8a6cc8037affe2a62656c61f6e95961935bc0cf105d3ea0967822cb9ba15cb746baae053bd618f180bf6d
-DIST thunderbird-102.3.0-cy.xpi 684011 BLAKE2B 3f299ecc5683016e7a0661fdea91bc9751f0a42642edd0404039741bfeeb13123b4302ccdc4b755d402596c558442f65acfe78df608bb09a24980a3a76005b10 SHA512 82ed120c59e6e4c7d65aa7ec34bf43b666800958ff9f63d75405dec6d45e9aa78578059c62002b7556dcf2f1d579ab21366a1a078eb707a647ff59d44e624f1b
-DIST thunderbird-102.3.0-da.xpi 670192 BLAKE2B e2813d34937d173a4dc5b58d4d9913d8ce5e22176dfc8e1f2a3530d201cb0874a3a7f25bd2025307ce42233a0f0c187960d2a70d5a7b8bf41dac782e309e30c2 SHA512 117a596af27d00de31a7ecd305910e4bfcfcf49419447e3d02a2291da5040b9a6b1092b2a5c1db3a9589edb6af03cb1f537257550fd941252dcc78cae05aa820
-DIST thunderbird-102.3.0-de.xpi 704112 BLAKE2B a56d0f3fba40044da78eb0019e51183727ffc5d6c573c67741e0220a99bd3b206d4c662555bf72402bccfaadce3f516d7e7df1e33e2ec218b1c57ae9579df981 SHA512 7f31282d64d2e63ed5ce714f2aab75e74de6d0d687b2cb470ae57271aa3ea280f2bf372613ed4647d37df96299ebfa23dccf98e4262d8972bb4b4e32013efd2a
-DIST thunderbird-102.3.0-dsb.xpi 717402 BLAKE2B cec438eb485650a8e655b7ef0eb70744ba90f06b180717d79f3b0e1f050a4ca93cf19bde6bd4c06debe75d669af59560395425c7c30d7ec16b4b003f37078cc0 SHA512 e3e416d2ec174cbe1285b3df1711b9c21ba36cbec5379ca668e4bf0325f78bbec294bdbefe0a1dddd4e5f1d8d1af924881262a97ab91d87a808679d21648e1af
-DIST thunderbird-102.3.0-el.xpi 814992 BLAKE2B 2fd434bf1176963b0e2d05df2e7c0d2c73645010ecfd37cdf9e5028fc814362317e192ca91bf32b4a756d6d79c4aa4c78b8cf35fcbc40e4441f99127c5a77a5b SHA512 b79319c658cdf0eb428c20b2a16f89aa1ea27da365e11ac0b76c3e9bfb5d2f57655e5c094d5bd4b52b7e9b92f74bb6d503eef234c41ff987468f6c7f0bbe1c40
-DIST thunderbird-102.3.0-en-CA.xpi 643666 BLAKE2B 6e30d56f79110177061b4e2530aa6a01073189d3461e56dc675a69b3e0923240de9a1ed07007f9953f6560a9db41ad58650ec4730a5a943abb5603efaf47ac1a SHA512 f951c56fdc64586f21a527d6b98d5a9fe3ba833c4ce7075132b3fb1f26ab215b21b2f9bd3deab1a1876be0ed717553a66688e57c2d63f6389707ee458f20ad2b
-DIST thunderbird-102.3.0-en-GB.xpi 645537 BLAKE2B f683616e55e2b0e915932d872591d13073c2651f6f219dc385e3f98c5befc1bbbd88031d3b7ca2ebd4e7460b57654fbc434776ddae016ff770f904d281f265b7 SHA512 f802ec40bb7a429fa38eee8a6fd5b4ec3cdae862416b51ea6c3b900d96f7f5d5c22a26d9a30bf095733997a5866f894a2bcf27e84683cdae8314a2cada3e011c
-DIST thunderbird-102.3.0-es-AR.xpi 695182 BLAKE2B a74ac838652107c46125565c5b9afa7171834c5331d96134acdf79224a2b5a24b6f0b4aacb290e1d300441556ce56d014465933c312b67e026aaa7048c7d907d SHA512 8d1e0645b30e939f3915763d31af87417cac27ce8c62276f83e89dd7e13e8bf408574b896afdec40d40daa0b264e11553aad132aa6720f71e02284d620bc28f1
-DIST thunderbird-102.3.0-es-ES.xpi 650072 BLAKE2B 4d88f8c10407a17dc5064331706f0d649a26d8f85df12276fe512ce1c5e7a72d26de712498623ef9e3364ec66b9cc7927a732661495b0413cbcbb22254548ed3 SHA512 36d515b78d6c0dad1bd1ec08eb3d72c91d2b01216dd38590952c5acb9f72dcbb9c7138a6fc4abe3364a866aeaeca7b5d57a6258e877839e7bd59de6e7edac313
-DIST thunderbird-102.3.0-es-MX.xpi 697886 BLAKE2B f06f313143ca8c2d5e5a6cd0032dd0eba547555175f47d746707df45da31eb9ec1063e5599686c123389b1023741e3af64a8090d49c8c83b7ed8b73f1c8299c5 SHA512 9e784fbec42c56f56d460874159e25d11bd01ac325cfc0910918aa5f91f0bb53adde685342da6b0a0845b95a82ac3a4b5febaaa93e4c1b4e7cd69957028a4cf4
-DIST thunderbird-102.3.0-et.xpi 667402 BLAKE2B 64b72531f02ad41b799ac8c83df31f48ffdeac5b64c44b5885a8bd27a09e12dedb6349e13da277710719c5c196960354a5af2710e5b6a14278a2837cbf8ff676 SHA512 d89368372951a3a0dfaae2d42cc8d974350c69ea5d53fe4466a0b2898d0a7c2380a1882ce42028e90aee2b7456315fe93ccad8de94a4fb109f93a11e33c016f4
-DIST thunderbird-102.3.0-eu.xpi 679390 BLAKE2B f92815a2253cd0d1ee559497f5fbcaa284b68db4f255e0f8b529d959efa4539151474481ef686776a8b9adf71aaf9081d8ab33b12fad77b5c1b67b7e27ed1aeb SHA512 a17f6b5847ad9a030a82455eabb07e7ee2b2375858abb7b904040acbb78bd2a482978a62c44ad71aefc83a87a234fbe7208a967697b580425367f80d84381bce
-DIST thunderbird-102.3.0-fi.xpi 669906 BLAKE2B 9fed19f7e0dfcebd9f86c9578b9b9c2f2da133ebcbc16f986036af1519c54f3950ed69858c2be40336796861425d8f128f2e22f00d6d7166786e95808e3b4258 SHA512 cd240fc6660f90caa354daa5d0309c3a7ba7007415301bf092378752b7336550998517b96be5ed0169c6c3482e159fe65db839b13c4598a7f6c5dfb6b2216371
-DIST thunderbird-102.3.0-fr.xpi 706741 BLAKE2B 299859a55ee66809460bc4937c7e433470c221b3487c64cda3377f965d93f4b7759a956fdc09588e2fbae47ef024d09886d8e2ca6deb32c1b8f3c1f00bfb4d42 SHA512 a108b84f527846733da26e04900dfe16febcf17d6a87f3d1edbe4c11ba026b3352cacd3d83302319b5fbf49910e50ee76e8cbb1473b20cfab3db715b4ff48fcc
-DIST thunderbird-102.3.0-fy-NL.xpi 690270 BLAKE2B 32b6cfec874dd0cfe6f41ac0c6386d54f22ab122b7c25558ba8f94cfcaa6ba8a32c9a9975f09a009d610b4ded6d8965df94540d5069b777c0b34db0fd0ddf1d3 SHA512 16124a86096e517ee026564dd0162463f6e52b85fde0590ca8c7e16af93b4f09ef123b8a4ec49636ec8dcc4ecb8c5509a4171a2eb6cdee09259bbeed30b23f9d
-DIST thunderbird-102.3.0-ga-IE.xpi 607249 BLAKE2B 88847618d5591c9678b653ba8dbf87b27bf1443da6ec93cf40f0b9d49e4a696fb7365878306c09eeee34eeb38e98f7c9c5226a601402245452612e2d8b2a1bd7 SHA512 9976e57ab722ec347f5ed8f2eab8b7a04ece7972d7c58c88455cca8e961ffccb3b3d604ebee3e6ad8c21c755c3408d039cb6427f201b748bdbaf23011923b14f
-DIST thunderbird-102.3.0-gd.xpi 632124 BLAKE2B 59a4ac45a0fb477e1e7fdbef295183f6f2f0ef1d3888ef3ec5fec31bf6976aaba71fd7103d5d691121bdb80fa3c125e19e8d56906b97f29f1d8c55eee6fd3087 SHA512 69bb6c36a1605072d4315c4220024efbbcd1ab99443e3c6ef203ff29018c981a5d1df731fd0274659a09bc296eda0a82ed5ccfb9e6db082aca8833240d13ca2b
-DIST thunderbird-102.3.0-gl.xpi 665002 BLAKE2B 223f3210fce890a50142b6612e769c25065d86b5cca73ebf9fbfc58e5cbc48c75abe0e3c9a3b5a837363ad2615658305e9b47c04ded35e0f3187f108055f663e SHA512 919b042eb7e503c0a29a920ca4f79a34f92e617967cd41a84250f55afd539b0680b335a933508874217d6a33118770e0830270ef392c8b341e0dbe285eca1956
-DIST thunderbird-102.3.0-he.xpi 663366 BLAKE2B a5e72cd20cdce95c6f2c7d3f133d6c5a5e8b2e81b822555942c7e8bcf520dd9abed6494e0fa860b14301f51c3469d99a84e358b1c8febf2e8be0b2cba610ba6b SHA512 56980861200637ea4e8b32de75b4385be10da576b18dcf43fb5e9a36be94acce46b899f34371082100478b85c493ed7961a0d8f30b6481b1f4847b3afbd4aecf
-DIST thunderbird-102.3.0-hr.xpi 662453 BLAKE2B b8170ced632869a6d21c6092388b6d5fff7d48b94766690e61522245cce3f5e113933f32c95f4f79fd25d09072a1c57fb277ee6c223ad3b000d1efaf7e510222 SHA512 dbebf1ab20e10261f2ca65e82fcdc3dc900e07b0c51b9330b33eb57024b1cfccaa07ca820c6e3f3f339bc6f7aed1191be6f85e34fa805eb6470456c290afac58
-DIST thunderbird-102.3.0-hsb.xpi 715211 BLAKE2B 6200808c74011a9a249ee23f87785cf165b6136a937930d86aad4bd9db609cc898ae217b283127cf41029f3f2aae1bc9c211f0c60821f967eed1b9c70a251022 SHA512 c2dfef0a3da34e82f92801a18bb2dafdd463d00f9bcc8f5c6be17dd269e3df62574ffc22bdc8c990e3434d75b307657c453ed1aac2336107d31228ea48f1df6e
-DIST thunderbird-102.3.0-hu.xpi 717427 BLAKE2B effcd3ca4ec82dc630a73d94ff395d9f93f8c59c906835afc7415ed7d5c709ba92648f653009fa5c562be4656aed043e28294c0af7e8e32d28110ded2fcac294 SHA512 447ea1f3c3068ade31653b114f385238536ba7cd66fa482619d341b917e31f47d84aa68ff9427617eff0e3d8c589d4371bf059b065368e70d1f1de8c2f6dc78a
-DIST thunderbird-102.3.0-id.xpi 641543 BLAKE2B 7eba89c78f100d643b15737ca32349c7e5fff65f615b8c8fe8f7a4526bc389feb17b99d68d5e23e650c174b3137076b734fbafeeca39dc1eaa1b5a8544328b8f SHA512 b66496e0ffb420947b7a4776316dd9a0d8f5d5cb23787063bf52e781f8c8c187e204032e00fee0b428f477394b17ab006160f71455669fe32e8b93dfb9e9a62e
-DIST thunderbird-102.3.0-is.xpi 682150 BLAKE2B 0cf68b927201397dfd0b0e242e7704d54a559bd9117a3653823d6df2a50f1f07cfb6807135ad479028409381d2c91714a8ee2f6c5b4d72dd3fe94d22d8971c78 SHA512 c03d80b557c74c14dbe882ed39675860360de65e8400135bbac8d40051e2ebc4a7c9bc4644a42a83a832af6af7c8c97c06e9b9dc5a1b8bec2ea5f7138c4ee5f6
-DIST thunderbird-102.3.0-it.xpi 599314 BLAKE2B 30956e055e4208e6d75d7f084dcdd007850f6e980be7da0a1633ece2eb5fdc1a6bd22a0d8b066c228ff43487229c0ebb66a9e850c80c56c2c149ad57f548dfd1 SHA512 cd272641164b9d65bfd51a6f2aae9177c3e6c518d3a55f87d5f796c669e389ceb599ef771e84169290177af95db3e23187e8c2fb1d272c15a42daad2903beea0
-DIST thunderbird-102.3.0-ja.xpi 735625 BLAKE2B d641d63c9e897131e215ea73537a4dd630a91aef5a75bfb046da9f717551f6c507ea5bf6502f9b6d98ec5a6f6b9d495510bca94e914fb8ba48bfbbc8b9d166ef SHA512 112842cc8121a4c97a879a26c684d6a2a12a01a28c59a27d89895ab80b019bbb046a04a4b3d71403db2625c676be15236850d919108cbf411cb17c25c93dc5ca
-DIST thunderbird-102.3.0-ka.xpi 750627 BLAKE2B 3200ea0bd5e07ab30011b16c059d9e9510c7c7c85e282d1db88d99e798f9db3c57b72a2cdcd56ce3120838dddd3fcbf3cbd0bac283d157ba8302c289da93860e SHA512 7e65a44396c5b7e3a219a3f33592311f5ed1df7d350b0da49deb7616c15ab294f844b95a613205a5eaadb86040e0a25f75519852ea23736790288a9894ecfab2
-DIST thunderbird-102.3.0-kab.xpi 689694 BLAKE2B 55f72593b40e3ae7babe954e33703867d1bb42e0ff9f92ab1fd344bd4308253b13d76a2a11ea379967cf304c8eb7c9465cbd06d842859e02d4e74263089ce245 SHA512 f47813b70c023d875c3ee7734af6a92b65b13a8890883fff33d2fe8d1744a0e651d6d85e0a243ae43551709377896d749175a2a8421edd86d5c7e9d11d36003a
-DIST thunderbird-102.3.0-kk.xpi 732214 BLAKE2B 0418dd5ab0b7f0133c445fcdc2df5b1bcc0bc3d80c9548d4708bed7490e73232d79dcdbb138dc5d9e33820a8f26b75947c1b146817ff84667b0edaa35234bec9 SHA512 e665782b4adb0fcbae01aae345d60da4406a7efd7b7be0a6153c3485d62cddb8f07a668d9eb371e95deb2f34be70520d24eac9ec00b8abcf41a92220d2a2a76a
-DIST thunderbird-102.3.0-ko.xpi 694692 BLAKE2B 6084a90afd15f1282735c534a1fdfe599defb221aa29a742b4438c868aebebff94df7e7556981dda27f012a4d4445101fcbfaa1fbf7dfb51b0b88c7b06eec7f6 SHA512 4f19634329846dcb4dbd885cb04cd17e55d9001cc9d2690db8176854dd89310789e5faf8c087d3e2528a44329b1c4331adde31e5d89e176a211c4b16c4d75a38
-DIST thunderbird-102.3.0-lt.xpi 682840 BLAKE2B 7e341be98e93b3423cc985b6550a8888abd3453473eb71b6a37f5f0f88f785c0256f8698f35d181619f2c0d26959de9c10466763c3c0ad051b7086627edbc2b5 SHA512 ff7de82bd1532bf47c4f12e88fe72c7f0757b4efa4c18484b6eaa2e0c734b1c82ad4bac941daed16bb02ac7db200f4f2c6325356188d3608ed43023145c5725b
-DIST thunderbird-102.3.0-lv.xpi 610374 BLAKE2B 37d39d29f7064e0c2d3064888231bff9fedfc4ddd0709791004de23a64319b6d9e76b207649116808f6c3856d9df6ea3864de8bebb384849fccb493d8e8cdd27 SHA512 42d0d2a693c8edd4be886534b04c9fab699e5e7f56775f316efd9aef891bed797be67ef9c1246a6a0d3222594f3cdacacbc0710f1804fb4580048e7d5e473d99
-DIST thunderbird-102.3.0-ms.xpi 571203 BLAKE2B a0a1d893f3d4a744b88b9c534305a8578483774a97551bd6a12d2cedbc769c5a3ac72341f7a541f351908dbf5af1992422994986ccd866b42ab66465bf281eb1 SHA512 6132d3c1fe0b953054bf9150745fb00e41c956b182d27540d87dd003e374811c34a02193ed4925ba2d395024e176db71812b2e7d7b31fade377e2bac0512b58d
-DIST thunderbird-102.3.0-nb-NO.xpi 649306 BLAKE2B 15f31ed5fbb536bf3c49c1c8cc1957cb0ed94e4d3592764c13a991bc335cb759732f7645d85f2d600c844001e74092301dce2a63546f7a5d439151d90f6a46ad SHA512 f11773e55ce89e6408775841ff37526b801120c95bfed0ad917fcfcfa478f01df81f564fe91902733061705e9fc9085c6a567683bcf74812606121aa50d0fc95
-DIST thunderbird-102.3.0-nl.xpi 681883 BLAKE2B bf8ab1e8fbea74e74696b1f6dfa05a916959c02bc946ce89f2c50e5853d043188fef5a4129427b9fca86354f22e22926f80f437c68e62ead421438fcba51cd9e SHA512 9ae8517e4fddee8a9fd49c9ccc78f015bfba8ce8739bb80886335b210a7468e3ab5ad92bdc25a42c6922f4843c0fb1ffb70d587e490a90bc35104af63c22259c
-DIST thunderbird-102.3.0-nn-NO.xpi 656316 BLAKE2B 278c24ecd78d4a5457ce81b42051bb326e673090ae6bea22a4d3e57c237ea33fe34d2f463ba0dfda8343e1966108fc42abf6c96a5f97908213c3f35028b0b092 SHA512 b288c6ca86b1388275502ba7d4dbf27081d1bf0910c703c10a1bb21810e499ae244c46e76b39f5eacfb9b986a35a92cbc215ce4fb4056f36fbb91c76622cfae1
-DIST thunderbird-102.3.0-pa-IN.xpi 645954 BLAKE2B a7ef8b5e4fd29f7af5467456265cc6d58382e7594d1170a11a7ca6e1c336e648bdd032e3bc7b300eef5bcbaa2cafbe6fe9acb31de74b5704fe24383062a59c60 SHA512 524024ecc7783f613017e66bdff337fc5b63685e5fe0387fe4ff5a90554231f710a9a9ebc5a3909197968c77a71366c78bd3c0860333c48eeb213ffd72e424f7
-DIST thunderbird-102.3.0-pl.xpi 693053 BLAKE2B 156e07a802299f2970c8cf63005435968d18c751cef15cc3a81c6bb62dec94b353e914fb4564a8c1533a42fcb7499f76a421c959ca0ae29c854c1837f38d818f SHA512 5137436d2e71aa980084f5c14751b1b33db1cdce19687e7d59c02145dc6de4e264b1a7da88271677016352057efb5acd99f8a26aece6e0bef361a64a871a7da7
-DIST thunderbird-102.3.0-pt-BR.xpi 689717 BLAKE2B 60615b4cd1e09df23037d1641ab8821d3aaa00f8fa0ef67812543c01cffa44295b653e62331773375ab31f507e0128fda82d2d8153a495e7eabc1001867cf1c3 SHA512 c8f0cdf1edc5927c9f4b1688c763a612b2892b74ad782e40915c5c3f9469670ba9d2ce2ad620b64701e50818abb50dc68a316963046bb3ff4df70e1c7fbed18e
-DIST thunderbird-102.3.0-pt-PT.xpi 666853 BLAKE2B 0581401c231b9ed8add5c4a6b673ce743c83727c268f3a7b89621f9e34185f5be647139a611ecfe7a40ea99aac23716c180bce8829a5c34b7904e907eafb079c SHA512 e66153c1dabb3330cdc2d411d90bc19beade7357878c4fa8562ee61d33c16a82be066aeedf796cd97b66009d1192e33551e0ab0909288cf93922ff929c6a8ca7
-DIST thunderbird-102.3.0-rm.xpi 681992 BLAKE2B 0446ebb8e0dee176ee9053939e97924da800c02f3ca645b2372c93e533b770e333f5104e185e2c23d8c752580a32ef6ccb7f1bb950bbd80bb4d337ce9722450f SHA512 1078d50d95919bbb27d8c96084a27965f591f9f221bf5c1788871a8c70078c59e273bb9f3ee7c4272b9e0831f1fb14dcd03998a4ba8fd7bf4d0ac23c7d73634a
-DIST thunderbird-102.3.0-ro.xpi 652515 BLAKE2B d703fdf67591a4cd394105cb0c477f90e367ea31f1e1e5d06d20535d7758f2ecce5e42bc6cf8be45cac9e6f4ae572c0d85a9b9d13c6204411bc692cf482a901d SHA512 599a1223be768a4b495c392e10946513e9619302e92b53512cff9c6a8c06dd109ef54ef8b73e813f7830eb0d71a0ddbf585422e33c5ba78b7ab85db12d105eb1
-DIST thunderbird-102.3.0-ru.xpi 799078 BLAKE2B 5d9918e97b276d21e6bbe3b3998fc1d7bf0818f878ef462081ca9a5279916d55603cd9890009405c8adede597b7e5dc3ccebc5754a93ea95b3bff60d33d65e1f SHA512 3acf03ea17904d42586f0a7faf1589439ccf7d6fc898d161221c2f7a7208c4338130189986f45c6c5a15892f5207bddd2fc7f31f40704d7cc80668528c1d048e
-DIST thunderbird-102.3.0-sk.xpi 718205 BLAKE2B 2db1d720f97b23175fcc431030e73ed16d42342e25772036618f75accda0746b3044f7b5ebd6c16fc3e8cce1214ec8954d5ae26ee64810bbd2ab59b62b6bf263 SHA512 862ae9620a72713331b1143bb0e736bcf12f7b8baf236fef4210ab7568a6d3fcfddff652a7cb90efe937227cea74602e0d901c0ebf320c1171d48a513cbf12f8
-DIST thunderbird-102.3.0-sl.xpi 681766 BLAKE2B 2725e74769ab437b5e1bc037303896a93481e0f0d29cd405745128638018e1c3802a439438d0e6cd8d1e15f47f0412b7093cb23fab0596483af04b00d9c26d05 SHA512 74215d71ceebc06209c13a6f75e1a257f324c9bbff92902b9af79f3b8735c96b39685b4f1e280356fa1d9788ff8ceb886f9536c2ad7fdf23677bab270f527365
-DIST thunderbird-102.3.0-sq.xpi 691694 BLAKE2B 365ab964bbcce140c82609e1d1cfff5af48537775c8207dc6cd94e29633f55aec661132ac51eda635acc6c8b7950bdb342dc5254c287fdf85cd8f0b359196f7a SHA512 22f76003a3652d63b23cff50f6c9481d7e74db893df424fdc96a540592fc673e899b4cf9413d234d18e63256264bc941c6976545981cf955859f69262fd3f8ed
-DIST thunderbird-102.3.0-sr.xpi 701540 BLAKE2B ac0e0fcb5f07688c30dd4ad287415cbf1960ff9465bd4143f9536703037bb59e630e0a456da59a9378e3a2ac82dfc41ef5ef48c8a3ded0eebc1922a2a4f12460 SHA512 703ff924eca6d352b652e2f95e3e02b6a2d3e2dcc286ee17e079ab98303247d154d8943adfb230ed6659ce520f9258c860ac50b4870b2fc5f49bf2f19a10eb28
-DIST thunderbird-102.3.0-sv-SE.xpi 685592 BLAKE2B 9e00f4a8877018d57dcd120c08203a9827a9b9e6bf809aa7c836d3b4d222225495481ee7b5b6d36e0afca3b386b3ebdc98148c1aa304702d95901f0d187f97db SHA512 d02a5a06c511c5b6567e67772e52e47dd8ac3ac3a86a54a3c7db203b6c1d4d1b01d55ef7a7a34bbb0bc855af945213fc8639449561e890ea439c1c981459997d
-DIST thunderbird-102.3.0-th.xpi 736311 BLAKE2B 9d1a8bd9cdc85f4fbc4b016c9895fae7f756a4917298a4ce02189b498b20759b632b6624cddcfb34440d63d8d3f049d4e7cc2aa8b7e7722831158df96cf61a5a SHA512 868fadb15f9ad4e352cb0a6eadf6c9fcd291a4caa088518d83128b56fc859e054546d6ef041428844409cdace61a7fd23866bb089c3c68c9889ac16f3adccb11
-DIST thunderbird-102.3.0-tr.xpi 693692 BLAKE2B 1b61adfd195be375878b86fef9745da32813f6aeec1f5f6893e134dc10f96c8a2aeebae8b6f82603edbda00a09c47018f42e5448dbb032b96ba2fbfc7fa16428 SHA512 cd2e483bbb5396e2f321427c0157b527ed025cc09d89b6d4a96a62689770b44ed45c3d15ef7fda557d2be73224017e35110a0f86dffc719566ed810f1d62980c
-DIST thunderbird-102.3.0-uk.xpi 792341 BLAKE2B 95fd773902cdef9d2ec881516a95de63edd1c9e4f1f7ff908f362ba40675b3e13a7e3d5cffdbdff5948b8d34142745104bf6292121c1f860667a34520dd22df7 SHA512 c07eab976bdf43c312acbe03cdb89022ab749bcb254fdf3a8ad82fc413ed58d225f83ddf592ad231c78e4a2cf96a0436073fd018233e9868a9c7a8855adac7e7
-DIST thunderbird-102.3.0-uz.xpi 587625 BLAKE2B 1aadc2357f2295fc42bdd06db42006622c158b89424f695f5b965722b758d016b58573d8aaa3539406644d773bd8b96f0d0a158a91ed956c5b8dbf54402563b9 SHA512 36e401ec5705f02499ecb95953c5035b613c43f5de6ca210f333370cff2e46af4d93ecbdec792ac658ec8acd624ff071ca66af22951b3aa1ab5aeaeacdc88a15
-DIST thunderbird-102.3.0-vi.xpi 723633 BLAKE2B 65482d0565db77b97f0780e1a36ef4d42842f69a747c790e42d393ffc234ad8dd8dbd4efd66178f28d0e4a65aae5167fe705583e48ace4385994f4e6d362b2af SHA512 69fe444b006868359a313d1f835ee0d114d3ca04bf8818c8ca632c9d332ff6cec6569858f2abd62b3b4178bda420e8e80babb279a02cd2bf1dc2de927b067534
-DIST thunderbird-102.3.0-zh-CN.xpi 721838 BLAKE2B 303bdecc376e68c49522cf06b81a1a20d9523c01fa84a08f1e7d86cf2159f578cdead06b886635b82f29cebf715cb5fc7781cfe6c6ef895a71a6462324ca9dd3 SHA512 20aaf8d38614d2fb5f86079d4ab922725396d42b3088afed924a7690c1d52e9aa82da2ba9a8931a336202289598afc5ffd4f7fc7c42eca766f81feb9c9f72d50
-DIST thunderbird-102.3.0-zh-TW.xpi 726302 BLAKE2B 41aad182ac38625b5a851ca5827687490a32beff91aefd9309627ab9fcc018bfbbffb569c87d5f7502b642028153fca4caed38e7dbc0dda61c84e76e0567cc31 SHA512 7d45fcd1f67c63c1f6d3835c05895af426a465c0ac8a9981aa8db73d5882ae2e04b97c451099bdbaf44cc0953cb6273122d3dd781d8f67a8147974e3025232e0
-DIST thunderbird-102.3.0.source.tar.xz 515366928 BLAKE2B 9fc3e10da925aed285206351d1e30bd13f96a3fede04d6051e5ad70d7c4445df99ecac23d34ab3134318e0cdf7fafbe9e687480d7b8526af3809c84e401f00c4 SHA512 9b9908d9f7b1281df5b2c74a25211973e25d9b780f05b9550c89e5aeb8b39070c517a1a33d0d84a33ed26dbcef99058308b76c056bd4e34987c32f0600e3882e
DIST thunderbird-102.3.1-af.xpi 551420 BLAKE2B a4284bed51d507ee551a3e316d478e90942c7370a9cb811077722d09314ce1eab83134506ab2055082ddf1c7ef28d151ab0f3e91c72ad86dcc41cb96724708c9 SHA512 5226a93bc94ec69de028138cb8550db20838eec5ccaee94f14297346195b45c0a6534dca75474d0719380ac5462d480d9e5a6997ce017ff7430eeb8ab4dcc83f
DIST thunderbird-102.3.1-ar.xpi 655776 BLAKE2B e14b0084b408df3b0a04daacdc15daeae31167798b2cccad6aaa20bd0b83fb79d655f26e7ac0e5abd0ef85ade576190542194de476af3e99602981aa702f662d SHA512 13ded198c187540ea8255e69bae5467108deec866b6681caa2cab8c11fbe5c8cd01d6d3e0e8599291ccd160756d2bb646e8a76874736239cd161f4764aaf82ab
DIST thunderbird-102.3.1-ast.xpi 572178 BLAKE2B cbec4e2d5550cabe5cf0be2077ba538a400095ec21181f9d6e45e0a3274f81098cd9aa6b07353f55f175a17a1116a6b6a27c7963f1c9343084da9497fdf1871d SHA512 1856fe6d8aec0f949bff83595d7144cbfd23f12287c2d77a947ff895421432a1399206279938d72e47708628a88b24d737bd387593a65c24f012949c1cd3b274
diff --git a/mail-client/thunderbird/thunderbird-102.3.0.ebuild b/mail-client/thunderbird/thunderbird-102.3.0.ebuild
deleted file mode 100644
index c3c7517bc39e..000000000000
--- a/mail-client/thunderbird/thunderbird-102.3.0.ebuild
+++ /dev/null
@@ -1,1164 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-FIREFOX_PATCHSET="firefox-102esr-patches-03j.tar.xz"
-
-LLVM_MAX_SLOT=14
-
-PYTHON_COMPAT=( python3_{8..11} )
-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,whissi,slashbeast}/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 libproxy lto +openh264 pgo pulseaudio sndio selinux"
-IUSE+=" +system-av1 +system-harfbuzz +system-icu +system-jpeg +system-libevent +system-libvpx system-png system-python-libs +system-webp"
-IUSE+=" wayland wifi"
-
-# Thunderbird-only USE flags.
-IUSE+=" +system-librnp"
-
-REQUIRED_USE="debug? ( !system-av1 )
- pgo? ( lto )
- wifi? ( dbus )"
-
-# Thunderbird-only dependencies.
-TB_ONLY_DEPEND="!<x11-plugins/enigmail-2.2
- selinux? ( sec-policy/selinux-thunderbird )
- !system-librnp? ( dev-libs/jsoncpp )
- system-librnp? ( dev-util/librnp:= )"
-BDEPEND="${PYTHON_DEPS}
- app-arch/unzip
- app-arch/zip
- >=dev-util/cbindgen-0.24.3
- net-libs/nodejs
- virtual/pkgconfig
- virtual/rust
- || (
- (
- 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.14 )
- x86? ( >=dev-lang/nasm-2.14 )"
-
-COMMON_DEPEND="${TB_ONLY_DEPEND}
- dev-libs/atk
- dev-libs/expat
- dev-libs/glib:2
- dev-libs/libffi:=
- >=dev-libs/nss-3.79
- >=dev-libs/nspr-4.34
- media-libs/alsa-lib
- media-libs/fontconfig
- media-libs/freetype
- media-libs/mesa
- media-video/ffmpeg
- sys-libs/zlib
- virtual/freedesktop-icon-theme
- virtual/opengl
- x11-libs/cairo[X]
- x11-libs/gdk-pixbuf
- x11-libs/gtk+:3[X]
- x11-libs/libX11
- x11-libs/libXcomposite
- x11-libs/libXdamage
- x11-libs/libXext
- x11-libs/libXfixes
- x11-libs/libXrandr
- x11-libs/libXtst
- x11-libs/libxcb:=
- x11-libs/libxkbcommon[X]
- x11-libs/pango
- x11-libs/pixman
- dbus? (
- dev-libs/dbus-glib
- sys-apps/dbus
- )
- jack? ( virtual/jack )
- libproxy? ( net-libs/libproxy )
- sndio? ( >=media-sound/sndio-1.8.0-r1 )
- system-av1? (
- >=media-libs/dav1d-1.0.0:=
- >=media-libs/libaom-1.0.0:=
- )
- system-harfbuzz? (
- >=media-gfx/graphite2-1.3.13
- >=media-libs/harfbuzz-2.8.1:0=
- )
- system-icu? ( >=dev-libs/icu-71.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= )
- wayland? (
- x11-libs/gtk+:3[wayland]
- x11-libs/libdrm
- x11-libs/libxkbcommon[wayland]
- )
- wifi? (
- kernel_linux? (
- dev-libs/dbus-glib
- net-misc/networkmanager
- sys-apps/dbus
- )
- )"
-
-RDEPEND="${COMMON_DEPEND}
- jack? ( virtual/jack )
- openh264? ( media-libs/openh264:*[plugin] )
- pulseaudio? (
- || (
- media-sound/pulseaudio
- >=media-sound/apulse-0.1.12-r4
- )
- )"
-
-DEPEND="${COMMON_DEPEND}
- x11-libs/libICE
- x11-libs/libSM
- pulseaudio? (
- || (
- media-sound/pulseaudio
- >=media-sound/apulse-0.1.12-r4[sdk]
- )
- )"
-
-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 es-MX 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="6600M"
- 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
-
- 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
-
- 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
-
- # 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
- AS=llvm-as
- 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-gpsd \
- --disable-install-strip \
- --disable-parental-controls \
- --disable-strip \
- --disable-updater \
- --enable-js-shell \
- --enable-negotiateauth \
- --enable-new-pass-manager \
- --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 \
- --without-wasm-sandboxed-libraries \
- --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
-
- # For future keywording: This is currently (97.0) only supported on:
- # amd64, arm, arm64 & x86.
- # Might want to flip the logic around if Firefox is to support more arches.
- if use ppc64; then
- mozconfig_add_options_ac '' --disable-sandbox
- else
- mozconfig_add_options_ac '' --enable-sandbox
- 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
- mozconfig_use_with system-libvpx
- mozconfig_use_with system-png
- mozconfig_use_with system-webp
-
- if use system-librnp; then
- mozconfig_add_options_ac "+system-librnp" --enable-compile-environment
- mozconfig_use_with system-librnp
- fi
-
- mozconfig_use_enable dbus
- mozconfig_use_enable libproxy
-
- 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
-
- local myaudiobackends=""
- use jack && myaudiobackends+="jack,"
- use sndio && myaudiobackends+="sndio,"
- use pulseaudio && myaudiobackends+="pulseaudio,"
- ! use pulseaudio && myaudiobackends+="alsa,"
-
- mozconfig_add_options_ac '--enable-audio-backends' --enable-audio-backends="${myaudiobackends::-1}"
-
- mozconfig_use_enable wifi necko-wifi
-
- if use wayland ; then
- mozconfig_add_options_ac '+x11+wayland' --enable-default-toolkit=cairo-gtk3-x11-wayland
- else
- mozconfig_add_options_ac '+x11' --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
- # 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 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
- PIP_NETWORK_INSTALL_RESTRICTED_VIRTUALENVS=mach
-
- if use system-python-libs; then
- export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE="system"
- else
- export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE="none"
- fi
-
- # 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"
-
- if use wayland; then
- cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set hwaccel wayland prefs"
- pref("gfx.x11-egl.force-enabled", false);
- EOF
- else
- cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set hwaccel x11 prefs"
- pref("gfx.x11-egl.force-enabled", true);
- EOF
- fi
- 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
-
- # bug 835078
- if use hwaccel && has_version "x11-drivers/xf86-video-nouveau"; then
- ewarn "You have nouveau drivers installed in your system and 'hwaccel' "
- ewarn "enabled for Firefox. Nouveau / your GPU might not support the "
- ewarn "required EGL, so either disable 'hwaccel' or try the workaround "
- ewarn "explained in https://bugs.gentoo.org/835078#c5 if Firefox crashes."
- fi
-
- optfeature_header "Optional runtime features:"
- optfeature "encrypted chat support" net-libs/libotr
-}