summaryrefslogtreecommitdiff
path: root/mail-client/thunderbird
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-02-20 20:21:39 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-02-20 20:21:39 +0000
commitdd03974882f85ca04e35cfbc97f7ff756f5d5c20 (patch)
tree4fabcc91c51083e19657dd0a557043e74468106e /mail-client/thunderbird
parentd542bd2ef95af892c7ef62be1489b0288b1df9e3 (diff)
gentoo auto-resync : 20:02:2023 - 20:21:39
Diffstat (limited to 'mail-client/thunderbird')
-rw-r--r--mail-client/thunderbird/Manifest67
-rw-r--r--mail-client/thunderbird/thunderbird-102.8.0.ebuild1176
2 files changed, 1243 insertions, 0 deletions
diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest
index 3756e6c2c50d..22d85cb130e5 100644
--- a/mail-client/thunderbird/Manifest
+++ b/mail-client/thunderbird/Manifest
@@ -6,6 +6,7 @@ AUX icon/thunderbird-r2.desktop 882 BLAKE2B eb9c2e381b67319d9cd53f26e9b406f55de8
AUX thunderbird-r1.sh 2896 BLAKE2B 140047417b24e959fe6388c4913457f8e3e786158b7394abf7442b0d2e83de21238e58983845a23b855e1aab60c9289e1a12af430eac9a8b2d9929da97de2852 SHA512 f9b989152a8a3ac274033722c77ec19374085654ad6c85ea4db6f8af8f4b2066d6d9f82b610be2db341c8ac867547f54f806ca6571258ed98dd9e2527d21b357
DIST firefox-102esr-patches-07j.tar.xz 23012 BLAKE2B 41b706f5ae8695ddd33e971cf1aa99317382a57618cf19163c5bca09ed5d430dba672ac51b7ab3072360452cc89ac50397bb7992882a61a3adda37022239e654 SHA512 7048353ea5504e34d9d3950e3e5e3125f631f95269d5c9e422ca052173a316718fdd4b57ea7980a452139b1192805cb598f47f398fb148a426a85a5e979c6cdd
DIST firefox-102esr-patches-08j.tar.xz 23268 BLAKE2B c98448da56fe9c2cbaa0c1bee355189ab4604db3d2e2597a2897142c08d44998968fb7f37ce42e9f2be22ccb77b581965bcf1f7cfb68813afd5af6650514713c SHA512 3592c820ae339d4331c0d39966bab0f9ff1144edfcaaed717566254931e9362f740325f1727103efaa1e2dbc3508b8bcf2d2d44cdfcfb2904011267423381fb0
+DIST firefox-102esr-patches-09jtb.tar.xz 20492 BLAKE2B d5771a9d665cc53ceea0222d48bd73cb0b8896d70aea88fb70744d29f1af0e43f148dd3f1269e03e04a63949e1d50205ba795bec9f4a55d3261e0a2ae8c078ee SHA512 dcfbe583a5f84eaecd506f836043a4a4811bfee9d9cafbf47efce367ee2ff6463a7dc223e78410a3e5b30201fbd62627317dc74c5ebd1d6f3e275105655f29cd
DIST thunderbird-102.6.1-af.xpi 551371 BLAKE2B 1663fbb2cd90e6638cb96922e515e0b5762cf55bb6fe3c366c83508a01c49e27656a89e0c6ba0a7079bcbbca02f702f967d3858ba7fb7931b6653f92b7ba6496 SHA512 730306d74c3ef95f5e3a2b90e868d6c963687b436ef7310b01f48d23b3a0c9f0370e21506d946d8b3e2930d563c2a9bfc3ab115be5d28f0d2f61237b276824e5
DIST thunderbird-102.6.1-ar.xpi 656150 BLAKE2B 33f2ff4e97b206b5b7c27b661f863fde2e83ac066f136e0c1c8ad2e7779b0aa70d3460868b3fe3a25037e9adfc84cb1617fdc1136e165c3309560dd282be2821 SHA512 6c045f1cb0f4a1d67598f3149500b32d9a36a6549eb116e4901c640091b604b8cc106a1e5ca38e4786ef894b7c7ee3230e94ff44b29e013bc07ca7c1e8cf8f38
DIST thunderbird-102.6.1-ast.xpi 564287 BLAKE2B 8355c98444ad184b37b00a64dcd270c33ccf98a17349c726ba41d6d138959372c48af3f654c34305958bc5198b51af75dfd3253e8d85c5b1043d76cc19d496cb SHA512 9739b6850b543f674805189bac97eb2b1c5ff7d756f6f7cb5b748aaeb72f80a1b2bddcfc98f55bb14a55d716302d039fccaf4d85879c3a7d28fc1c97c699432c
@@ -201,7 +202,73 @@ DIST thunderbird-102.7.2-vi.xpi 738979 BLAKE2B 58dc4b99c0143ca9daa66704d6efc3252
DIST thunderbird-102.7.2-zh-CN.xpi 732011 BLAKE2B 8306b9a8174e2c1c96de9ce4bfe010f7769aadd7e0c11ec3fd3b563794ced0c508ad396f5958368e9fedc2594a0d58e856a31174967a595af043d84214d34c54 SHA512 673ac712704d21934f41a91012e55b1d226aee704d967b59c4ed22519c2631e27331678c8bd3142beef76b22b9214c59a324f41db4a7c210eb1cbf39c104de2c
DIST thunderbird-102.7.2-zh-TW.xpi 742460 BLAKE2B c4b02a37eddbd134af28fb699d0e88d48b42544f5106c962b41a277922f41b93a03f6431f39397ba72689495d9b88ec15e723f1f364979472513a252a254f715 SHA512 c305bffed35f65c8f0926d8c8673024ad379d91c12e21846a240be5486b8e67bad63e2ccfc5919d1913d57e7e828de44ef2c4bd05b14f5f6c177790827e7b02f
DIST thunderbird-102.7.2.source.tar.xz 502932420 BLAKE2B 5c4d6b5ed79c31fb1e8d687c3f17e00ed4259e4b86cefc80276302edddbd16e4ba7f855c1d6bf8caaf5dde3354a26ef5e72ec2998f9015ee8d6f13517581990f SHA512 7371079d59cceb47fdd0e9661f79eae7510ab0f5bf8e80c21952dfb5fed3db72279a4ac9d3a3de3617194fb36a9420ae814a69ee19a93ba242d2aa2b921e3010
+DIST thunderbird-102.8.0-af.xpi 556846 BLAKE2B a20a4dae383b090220b363052add894152dcb90d5526cf8679cbc5722c21475c0fdab9a381b12b049128cd21360bdc3adfd0807c505f0339a3cf5ef9d9c5ec3e SHA512 fef9dfc66088d21bc8d4164bcf02b150c80949cf37a24a114f642aef0fcac60d454b2336f6a049ba0a5a6d0b4c67b4f973099c46b60071d6d7c18f1d86f36bc9
+DIST thunderbird-102.8.0-ar.xpi 666810 BLAKE2B 0255fd71055c55eb737e62383781e862bba88f5c0cf6994ca8752a6e77dc6890b4e2baa5d5a5805c92c6e679b50d2367a8d61d14389462d53254898f16fc4a72 SHA512 fc38c0883a8e0d53ae56ad6c2ec6dfa417d1b11cf01fc86d67f817d0c585c7b4d6fe1d4f7720acdd47964b44b443ed3f6ed01abdd10d91112839336881d9cdeb
+DIST thunderbird-102.8.0-ast.xpi 572264 BLAKE2B 761a0483f19abca13a1bc8914ff174fdf38fb5e68699371974a910d607b1b79dcecefbb27dd39c47d81834b2f58e03294dbb08b2cc2f7174287661a08eeda26e SHA512 3fa3eaaf53289c7091c68d6001610cc8f592c6ec8b3021426e161c6dcf27e92d118d1cd3654919f9936c5310ede50af81f450114a8b9541522077e1ba0667ad0
+DIST thunderbird-102.8.0-be.xpi 701890 BLAKE2B 7c56b866fdc142080c1e6d9923b4d1005ac4f067531f256e4e7c0930166d678db0c4a1803a87aae3b00e5dafcd8f3615fea577907032d352ee9612a1cc57665e SHA512 1751b05c762063008a46f25d01b8bc9ee5834cc38a1ee6559e9b98284cf786bc20d50e07cfe9409d29d674e03f66f3b0c6d7bd679838ec78c0906501e4ca065a
+DIST thunderbird-102.8.0-bg.xpi 693376 BLAKE2B 5ce1f59a54bf4682ffbc4cc0362383d57bc8154779fae311a9aaa9cd1164706bec78d30df3fb295c5931ab3baffad4da12f86b4c29500dc8cd7f18adee5dc76c SHA512 d5ab1ab76fd6c5ec361a6f247d860637f6af733dd2dce12ab04cdacbe72c994262e0c7addc8c32863d184dda60ca79cd6c0ed6bb0c8f7668dbbd6895af07cfca
+DIST thunderbird-102.8.0-br.xpi 626470 BLAKE2B 6f6568a09be6f65d6b4830bc1173761a293da22ff96246745af8230baf627984b17ca63f9e7a16e2f0e26216a67abca7bdf4226bbd7f6044fd433ae40998c351 SHA512 4b21cf08710c0e854d4c3deefde819babb8bcac05d0fa29067ba9fdc2e7d15fd2e10d0864fda0159dd7924ff927ad157fdf5e34a7a2e8cf1f31e568afc3e5afc
+DIST thunderbird-102.8.0-ca.xpi 651366 BLAKE2B 898c9d2d8ad1ea8b6793d56b2cd58c633a129c65f729685cdba56f31068d3d9ce1f1b9960f24cac9496fec6851ba7ba5fbed6fa1550fec820e05364acbb3bd3f SHA512 0c2123cb6d2af63b159eeb940c9980eec180e835da4125efea2c4f5bd3aa5ca575d80b398d2ac96091a185feaf7f7dd8313fee4c504b68313d3863c5d6069ecc
+DIST thunderbird-102.8.0-cak.xpi 651755 BLAKE2B 92f60bce7fa91e7c92cbeff4e9206710c200adfe8f92a4c0dcdebc0c1a6402b88bb88f12beb53adb1d1fb7b4ce6be7907c98831b06532ab85796ad70ff248bf1 SHA512 21e1f88256f62504a0b667ac805f0a099ef73a07903a3d667a7608bce0dd44992ecf63baa380d8336616b9b945bf83652ea336f150c66735ee2d080b79abfd10
+DIST thunderbird-102.8.0-cs.xpi 728623 BLAKE2B d8cde9ca9283bc1100a49cba3c7db7f4571ee43093eef66cde4a39f51fe2071ebae862ba7f57b0931fe279634c38dced2b3f536cdb5acf2a51c47285875d9d75 SHA512 098171bd0a4851d00b8fddb91e8c31031a465a36d3f507acf203285ae38ce78acadf8382eb6b58cadfc7d3df1b59321904d519f28db1c43b962187499afe5cc7
+DIST thunderbird-102.8.0-cy.xpi 705575 BLAKE2B 076aaea1945211002ec00fc9866866adc2fedc76d45d239d2c3b3af4540d8f4d9a92b3c35d27b4e7fdd87b0fa0fb29919b3ef38db99b9482f70d332fa6f993e1 SHA512 249b2abde1f9dbd8d70dfc7b2cc2e0a07cf89359234fb3553a3b277c6f46fa8907174b5c10148b262e9c8ddda2f0f196a7a493f441c86d693f6d25c5865d25a3
+DIST thunderbird-102.8.0-da.xpi 685253 BLAKE2B 72d3c1402613f9fdcd8c7b5244ef6e5f02ee8d07d57ba26453b7adf9492c4723daab034f77e8f7a52825a47856d9f21e7033ea4b466ec314fe9effab5a6ab2a3 SHA512 17ff4b37b554b6495d405f39dda688dc3716aad918302900d26e15a347d728f4ed0c866dabaf14a92b90e32baff2e3861712eaf3bdf7d2a8009f62994f7de8a7
+DIST thunderbird-102.8.0-de.xpi 717941 BLAKE2B 5e4a4df2c2486ab19270d2dfaf4fab119360aa0e29fffb0c0c74232a853d8b6cda2981302e0c7a489d4ec95e6676f38ad63f31a68ee3c711d6c0a413049ac998 SHA512 2fce93222a227dd41d29f8be3c993ecb4e3e104fa2973def0c90252474faa7e7d80ec05f0451ba68c1fd48ad4590b31599b8def779108fb106efb99c9a506850
+DIST thunderbird-102.8.0-dsb.xpi 737085 BLAKE2B 1b6028b7e2236fdd414d193980103c96f6d546edec4c4f18648c55cfdd013b3b220840c7e74c2ea350f0b4868f54e9251c4cc18adb6bf6bc7f0e618996170c52 SHA512 1ada2b45ecf5a71edb9481da5812daf57109dd7d7638779f52e9d4ddf96efd981f45481757a58ecbd5fec3cffd25f9b7e76aac4fcd87a5d7555ac57ab1c6f5c4
+DIST thunderbird-102.8.0-el.xpi 840812 BLAKE2B 57b2a20e415551348157dfc286a41af01040ede783e04e9f6d188a3509471263ddbd83270d71ccbaf56c4c7783993a6f39823537d58d8f2e95b40d08e0a94458 SHA512 eb3fd781419475951a53947a4b7cc9944fd9a507b83c5ed76f63d19c17d211eebff2c149f49e8c78d5cc77638113db79afbd971a1c1e85a7e8ba5e83fdb734ee
+DIST thunderbird-102.8.0-en-CA.xpi 659091 BLAKE2B df096091b69e4a5dca3b7d8ed85cceb147cb76dfddfa43d6421e6255011e392ebbf29d2f8cebb4794954048a31bf9198886a0116673d0177bdd7b3e67475b86c SHA512 8572395e3aad58cefe9ed11dfc71fd8076e0342218db2b68ade6d9cc157d79bbcc6bc6c915f1b08a37b30c2f706718c6441c14bc4109c5dbc82222024fbd58d8
+DIST thunderbird-102.8.0-en-GB.xpi 665005 BLAKE2B 1be990b45220f857675444d4d1454ac9aa92235db962b7dde871befc3fb378ddccb940ea5f85c01ebd86dfdec778e5bee0972a00c804921f0a046b872fed08b2 SHA512 c03a209759627f89e9fe1f5a01400062ad24dec83bf51f4f4c762c54b5e29bf11e67c47863abb88c7d3dc7f3982a34c86172de4801bbf8376962055d731340ea
+DIST thunderbird-102.8.0-es-AR.xpi 717274 BLAKE2B b6992ae75385f2bc0f5592beb9b9afba5dd27c3e84109410a99937839715a5aedbc3de42381104c089a43a9c81c69dc659e6998f9f0c4a26dce8d1c3029fccac SHA512 802c76116d016dc7da68f069d2c78da401237bb228327d644879a7d76966ab84a9a2c2ff4cd011d09aef3728643ec4529b30cee6a990f12027e483783fc7bcf0
+DIST thunderbird-102.8.0-es-ES.xpi 677480 BLAKE2B 01e58e8ed40a137b05064ce913b8075d78f287f0d4e0ee1749ebf1e04363f4aac15338145d0038fbc7337f2556dbdbace817933a6b1c0d0c9d203896507111c4 SHA512 d59d6bd71b9a329e4ee8a6e22ae57afc3bb63c491552ea3d39138b14954b7c34e3147604f9ad70efabaf50fbc4894181554f9d017c44a8e92577a4052faec686
+DIST thunderbird-102.8.0-es-MX.xpi 719708 BLAKE2B b2cb2b86e265de078da6084c66ea70380189624ef60b6f35ecb3bef706f4f33cf7412bc0b0f243b412a4635bb7a9e75ed5142d2435d1294818b491b487de4464 SHA512 3f6349a8b31270e1aa0ebab2a1abc153d346698076a7d2ee4e01ce6d54669acd7cbf3382fd232311dbc1e2934f67cfb1413da0ff4a7ea1c1d44eb866c7422362
+DIST thunderbird-102.8.0-et.xpi 676676 BLAKE2B 1ea76320778cbfe420847b775c93a4b5977a4058d5c1fc9556d40431f91a12fcedfc200db5849daad37a51926f462a9f64abd65abeab01cbf99f84730ede9cf5 SHA512 441a68c14fe3bbf1f7b765fec4bfed8d0201a6cbcd19d37991bfb24131d1284fb9f77cac6b4c5da8bb7d80b42880bd049b6e04f9fb4d85d7960044bf6d70e403
+DIST thunderbird-102.8.0-eu.xpi 701825 BLAKE2B d7b3057d5775b40f752b8ce2ec606d860c5bd35caedf74486981be87e8fa3b96a3041a33fb56371cf547a4f958bdc69711af6b3f12e47b723ef3739c74a7a6b8 SHA512 d4eec0a4ccdc2ad36b794e915ef25fe9abf7a3c191287aa633b283961b5eb578409e7c5adb5054843e13678817d3f9d81a0babea97c1556a869849cf6ceb41ef
+DIST thunderbird-102.8.0-fi.xpi 693483 BLAKE2B 3f5773dfb7487a6ff11f3d68a34f83667bb988d1dad555b43a7407153fa7ba5bec937e43f03ad1dc5ba30b0386241b7caf7340f1adf2b005d50afdb852ed4642 SHA512 3715c773f75125c0779114d7dea24d8f09e7c9d7d6bc0ced73a0d5fb549313446f40b01576b25acd1b303c803ee96da44cce873c9c0560025ac27d6954cb9ee6
+DIST thunderbird-102.8.0-fr.xpi 730315 BLAKE2B 034af1acb66f8c830f6346940c1898b4ee99c2a678dab3435dc9e43a7c8555e07249e0a4b4d3a45a3e5f682de990da020e5f182650ca89155be55b3ae9812664 SHA512 57383170e9bb3f873f8abb4264f9ef5800b9e8618844878a70e87e61c2be7843bc93b9d0a7349ead440d0389c2d0067a2f59891f5f6845db2c6247fbe692d17b
+DIST thunderbird-102.8.0-fy-NL.xpi 711990 BLAKE2B 41611390ce9ae2755f1250d0ccd4630848bd3658ec26cb1290484d46892a2bc858e12d00b4cc255abb34337901894b400eefdb9ae37dfb7a7ccd3679d3930025 SHA512 30dbc3eaa34bf6e9bf971e95893eb24730285922abf4e7d13ed9bdad80ce450ea0494e5237869911c6103b5fd941a505a77bf3101c28eb633c0790ccf89e219c
+DIST thunderbird-102.8.0-ga-IE.xpi 614534 BLAKE2B 3013fa9d413dc0b40a21dc996433ada32ac939e4f79bc218d296766ffb253f0c193b40f0221e21102ab0de307919a4ed25d40b2e5e48d6200b1b9c9e9c0c14e2 SHA512 59740de37279dbb83c5ff5bc96c59e6f2d3bbe9cce9ee85f8250f8358e5e33992cf2f0d9bd9ed2d8ca2b88edcac248a054460f82c35ce622852ede0b2cd3f45e
+DIST thunderbird-102.8.0-gd.xpi 643573 BLAKE2B b38cb384025de0553e4124623fce2a4944d986cdeb5abed00b372f66d585048ea52a7654d8ca268402101f3b4f730851d49e5d4d0ffc22a65f484ff27d21a7d7 SHA512 ab39bba01d4abc0d5bd05579e08082ad68aca59d0b7bc802bda9477817826aef698c6127afe7b059303ec2f8f49f45644b6a5e5df567beec7dbd248f17182e01
+DIST thunderbird-102.8.0-gl.xpi 672999 BLAKE2B fbdf76ec268ae61792b630f65a528a0d6d924ef45392e0e0c9960f86672ea0040db0b2a412c1b16811d7e048df498b61f8c9993969963bb3410a845535715986 SHA512 a3e86635a96a3ff40e8e2c71818a4c34bdbe91031db813bbe916aac86799c76bf7b32cb2527b9f51a0ec73c5f649e99487c232f47f47d7cf7144ccb5c3187f27
+DIST thunderbird-102.8.0-he.xpi 676369 BLAKE2B 86e02c5b93c7d95b4581e981ca348d2273833531a6a56522094a493d4a972446af5c06a84b464879b191460938f2031799e3e454dcfca8f8fce7f162a5971a5c SHA512 f9e2cfab3d783b82e8c82cacfd0b9ff89deb70320d7cb8b26488e7891532050dd85883689cadfe86f76a2fbf8b974fb00b1d5f880fd2c76c444448c44c7fdfe2
+DIST thunderbird-102.8.0-hr.xpi 677717 BLAKE2B 80e0acba77e2b450023ffdf3bf86f10bee3df6bb43e48b5166c6f2f1652d9d2ea9deae6f9a7690073a60c6ddac6c95cda4563fdefc8c350227256ccce3055cad SHA512 bb59801bb736dc97f1b6dbce576c5b0f5d780b7d425daa8e8411988f166f20000ec0676766c1fae009d3a56d811f21e48fe79a49993f20560cba3fe2df0a6e6d
+DIST thunderbird-102.8.0-hsb.xpi 736540 BLAKE2B 080ce79fd8f5209c000978e5a4410f4976cd6f15a946415ccb7f452f98381a208552559908cd60c81374482cfc8686d3af33cb8cadeebcd7c62657c7f8ba5b2b SHA512 4b6f28c10783f6653e619b8333cd326f713b1c10e17a3d5b3280f57a8d89038b3e8470d9e8f8ad0a3df54446c9028576e4c03795420e88696534dadec2cfdcd3
+DIST thunderbird-102.8.0-hu.xpi 741198 BLAKE2B 3825da017b18c03c947e9b890d91df474888e6821d36da9227bea0a56e631ec198a1ed5cb5c7a94c293485d1e68f0db134ca87bb5de3eb8ec79b3c9c50a75d69 SHA512 bfbc888d1442b008372c54bf7f1b420782298dff1b2103ec40bd697ac21a1903acff2b4be34e30e45d84849f679969648c954d93ba656c3a9af82d4723de50a9
+DIST thunderbird-102.8.0-id.xpi 653189 BLAKE2B 19b74dac95b4caa72e3b54e6e68f155cf8d686b00858c89899d546d4986d266827ada72df576a243c885b080e0f6822b396c7c5cd035c86fb0ddf1458704f971 SHA512 e3094fbf752f0c2774d7af36731df9167ef6ccf2b37904648b973aba92d379a3c1f91c592b94dbef7d3fe49b353b55209abf2128c879bacae02ade5b290b3b9f
+DIST thunderbird-102.8.0-is.xpi 706390 BLAKE2B e2319866ae57755e6b94939c9c189cd8c5e50e7a12ed9de8626ebe7522a1dbbbc25e3f35f2c1b99d61ac85001558dce8f4f2c91f23aa66654c77a9015e0afac6 SHA512 22d49127a8db13a232f190000c6739b837dd20ce886e72de3c2797806b1e86078fcfd726704465460a7084b6fb9151eded3d5de79d99b5e94383392c69f5694e
+DIST thunderbird-102.8.0-it.xpi 639986 BLAKE2B d1827954bf1ebdd3777f4dbfa0c27afcf370e3fa4ab67e81b97fd0bc0f9bd634d9dd98e1d5abb4ea80352c9d75e5f58a1266a82914e20a8d5948bb874cd749cd SHA512 2b2f8a31283e6b0956c6ef1c05347cd3ada15580cc9dcedcb98cb7b9c3a1c14c053c7037e578ca844bed6cbc255ac089e77d506944be5245f5ee35e49ada13a9
+DIST thunderbird-102.8.0-ja.xpi 781903 BLAKE2B ba4ff3574a0d7dccf131dfe568386f29d1471e3a724678378285a7d6a9338c47fcfda6eda1742f518547cc443b88dd5c639453c8f17f25fafd4c86e4fcbcda95 SHA512 bbeab2a2c7b4507eab48c44f7e850a9b22d5dbdd273fad2d3f83efc38a27fde94736062887f0375fa44ebc9e446865ac3b52b0bf3954058a8b512008e1f01500
+DIST thunderbird-102.8.0-ka.xpi 769801 BLAKE2B 9ddb99b606ca529197e990bb294cfe2582a629c371f3f447675cbf116fa60a40e5b8a11cd34ce3bab6826faec97ee2a8318cff66b40df671e021461c38f32c66 SHA512 c6cd109721f289defbcd1d530299ec57587d7c31b176d0df0f50a0ec3b0d62533985a51d4e5af1d468f670fb7d0a361de52fc2175b4d06ba1d2a30b9d8aa5eaa
+DIST thunderbird-102.8.0-kab.xpi 702702 BLAKE2B 694307b0be82a6eee734b87cacc3066eb2f32c6465b6c85b8bdb1f7ba105c6f8227440e0174f9560d4721a507cde27f8ecfc910afadf85a674741f96ac849e7c SHA512 2eb20003fb9f3e9cccfcaf56568a402895abceb54c717f95cb1c6fc194df718496bf02d45f521351077fbb6c21200ced6ecfa4991c9f698dcbb978cfb4981514
+DIST thunderbird-102.8.0-kk.xpi 810966 BLAKE2B 68ee90a839b622a0a7170c25656351adb6bc469b62db4da7c31d74c536e787c50e123a23ff758bd093cea0543f072b76d922c17da06d7cab2a54d2eb9e6e6f9e SHA512 afb99158fb0b97932712ccf4681d4ce1b8acdfe45045b389faa479d563184e06a15232f68cd32df18337077ed9e6def27966a1132b199a45bfacab167a996792
+DIST thunderbird-102.8.0-ko.xpi 716819 BLAKE2B 6e99dc581d26833b01f7a11b2e226e81297777c859d6b9499772d7e491e303b63e697b2d5ffcf4236353469b29c7ad4980e0abe35f2f72617a510b14a513cc41 SHA512 00b336fc6aa52a353c0f7704f873285efffbaed255dc77ee3a700d836346cfeee65f5a815bd568617c90734972eef4d1a35110df2e8f71d79d453afc3ebe46b7
+DIST thunderbird-102.8.0-lt.xpi 690854 BLAKE2B a9ebcc5a0ba136e2293227921e0b35342d4776d367b2dcd3321038b2455904b4917cdd5233e5e088a7f30d3a2f04c17b7d968199bf407d739685a16efa68d216 SHA512 4a02504d223d7ae4a55fa872b295188096275098d720d39af46a862caac61989567438575002947c6db3a2f97b33cb5d3954af4cbe4603358d0dbece3bf1f85b
+DIST thunderbird-102.8.0-lv.xpi 617742 BLAKE2B b99320f9bef102449141e70c30a7254c7afcbf6ba690610ba1c451bd8e99650cb9a012549b3d795599b04f4d57fb7a3a3d652c882d0558a534611ae0bae2d0f7 SHA512 134375194ab49d693dbb848c8770925a656104d0b21dcfd46b040cb5fbfda0b9632d253779c439b92d58644f31be63fc01afea7c870393c5e1369be0123a2a5f
+DIST thunderbird-102.8.0-ms.xpi 577756 BLAKE2B 098c4b35e625d82bd1435ac96a96ee20723feb0dc16394da875227dcf687e991038745e5100994a50965ad29cbfd5f1b4f2398bc30b7bfd06232cbc98aa658a4 SHA512 55b5630459407d1175610507c991be4dd4914622eb61e97de57ccba0702266e9f830d02d034a482dd041370c6b5b39c96bc28f6a0760b035d1006900e98bdb2f
+DIST thunderbird-102.8.0-nb-NO.xpi 662680 BLAKE2B 00d14e015678724fc9ed6d542bfd0d313a050d5d08b0eef0e39d37db9d1ccb694b70ceec5431943da85bb68e7895c13957f2425d7e53a1afc9bdddb27b5bbaf7 SHA512 b83cd60bd749c8c71ee1d411be911631598e5aaa7ab046496405224a569498c609aa5b351ebb920094106c28f8aff2e7360021ae7984f5ebb98520da6a421539
+DIST thunderbird-102.8.0-nl.xpi 703274 BLAKE2B 1c11ed192bd035f4dff39879f27d72eba4c0af0bf2d79fb4cc1bd98707d5526c8e5bae9d7c22fe6512fdb2c3cfa1813c88edc88b14bae6b8f75ae2d81285bebf SHA512 c70493196512ca6adbaed47859bbf3bc67275df3118fff5480dee858ceff2f2b95b55e233c4f230b356650c0c6dfefc7297a2e66a078ce89383a6e475b0c44f4
+DIST thunderbird-102.8.0-nn-NO.xpi 672830 BLAKE2B 38cbf7c984fbbb352dd0701e2eeac94a3d569b1d877e1380e749136225717265284231dbd2d1e38afb286816bbdf6a9bbfbf5b8cc13c234ff56a9401e3ed866f SHA512 53603e04b32be0734fd2aace1b7bad80d9ec178749f850eec95b8c254d78bea8260f096840296a0e8d8d03b60f08bc243a457a27d0373a397f002b69c7249009
+DIST thunderbird-102.8.0-pa-IN.xpi 668028 BLAKE2B 0a50ee8de8b2e7f9b6a6de5c86985ec44f16c4cee7feb53b775e810e8b1d69e6c14e600c1613b8de4e362d9281aba53f8f19ee9172d142e00db5050761214420 SHA512 78f3b142f64d183d0d2764f741561e31d6df43fe0fa829a3e500f1a8d5c14b8c79f0bb53191cb7dbea712391d7bb15217555b03cab6261bb94d414d03587298a
+DIST thunderbird-102.8.0-pl.xpi 716230 BLAKE2B c11712c0744eb0e1ea8e5d7eaa4c2953c15798394df98d69f337515a8b2bcc086876d04988cf7b87ee06eba253da578267b301bc3c3c2b5896b53d02ad52e87a SHA512 176c20fffcbfab8c9001b775f2ba88bdf2c7489c408f7a25cfdf7bae5c153a20df9d51526289938a005859eb0592b1c7daa6b9b3dfe9b3eaab90660fcc9bb65f
+DIST thunderbird-102.8.0-pt-BR.xpi 711149 BLAKE2B f1efeacbdb7c46840d3cb3a0bc5de36cb1a1874fb5889cfedd17bb6f48a34c84a7fe0a53f4511b806c3afa29be992fe0bc8a7bc699c36067b52053853673f65b SHA512 e7d8b78da9382ab7406472a62f8997b7cc934a5a7fe789f40978439ab37d758c101b4809b94fd6092bfa9c5e5b8b3e1030e5ee5971ea01ad3fd3abdc8492cc82
+DIST thunderbird-102.8.0-pt-PT.xpi 686908 BLAKE2B 2c12a9cab4425ccb112de36037e65f634268f8f457716bfb39437209192de17ce09b76c6dd84817c183be7bf01ae9fdb6c6a0c0ac448bb8c7a4a7d1c02409a17 SHA512 91c2aac320a4abf2fd5836be3dd65f06f9c4556c6e13c6e2a379c01a16405502f840245dc86b15c8b245c4d97530651c9b41cb8dd4760eb5656bfb80faa192d6
+DIST thunderbird-102.8.0-rm.xpi 701681 BLAKE2B 7aa3778a53ac1963a01c00e299c078f18b28c1b997b324a426d815e270a179445d6b93c92eb0e0003365d84a7de1b23faa35d10155a520cc5a506d3193f9a801 SHA512 8038ec09aed6edd03b7e44a20bedd8774c71dbf078599900ee2d2650a9a729e8e4e1f0a77193f598911093ea43e4a7a298007164be254d576efd46b66ff8328b
+DIST thunderbird-102.8.0-ro.xpi 661280 BLAKE2B d300aeb79e973e016abb6815083502c0b41505f0f96eecabfba86a29e84d4ede0dbe564efaca88d344ab0adc7c0e277911a1cd1f9d3f94f49cc38728f0f6cac9 SHA512 b1f0b86ccef593ac08a89c59e859f1b3be828053f0e4eb2b96fe4d8fe9ea7c3b80ed46bc913f35bbb97cc0a007921d994f8dfdee6d37c56690641028a70aec71
+DIST thunderbird-102.8.0-ru.xpi 827220 BLAKE2B bafe29c9789bdd74721a51c5964d1bb8ad6d154b66e5142f0eb589f8c11ee002a3526fea83dd1d490df9d6067666b007917db16b2cdf05187c5301331ab94673 SHA512 5e21ec06ba966d9b7423eb73cc9704f0d4f638a2948849b52182dbc8b52744e679274ac8889f4931fb47500b99ca9cd8b1762f9e595d02c77797f9ab4e006a2d
+DIST thunderbird-102.8.0-sk.xpi 740978 BLAKE2B 0b7a16f23a686de5eb2fe09f378c49c39c93a2220040ca0fef0fa0c43096328bbb3899bfac11692ca8195b2b3938f29ac438f39b579ebd5d7527fdf2549d32df SHA512 e188b9379eee301bfdf83148e6adf8ae42e9810c15cdff94ddc2dab3879c4d4e2454ab878e5e14a7d2d087d0bc42a1c6587fbfff32820d4a4fc2aeec23c22e2a
+DIST thunderbird-102.8.0-sl.xpi 704059 BLAKE2B 8bc714d04391d653896aa01ae32de6d2240b28ed0059121f5bbdcc18350176b19abc4926c822806054ad87ed3306758f4e1266462fc385446d1194c49017391e SHA512 470f0d6769cdf0a9dd333e1ba2552ca9b5d34f43432d09812f9c5a0c5b6c346e77a6be80acbb46c57ebf739097254ef212b29df1dc533a607b4c8248f3d54336
+DIST thunderbird-102.8.0-sq.xpi 726033 BLAKE2B 3e33ff35be23b41f8ab76f41d09e1e92b8c00f53e8b0db9f2d756e21926bf917e6a0ac2a6ffc0a5c0b2b591af3ebbc68960e0838164685331834422e2e4f9f9a SHA512 f57758d8a9187ac9a07dc560daa9032e2598710de2580607e3d387de69d0c0d547f6f51f809648079bd2be1cf79a6f75c63e46e642bf26539f9d4d0294f56725
+DIST thunderbird-102.8.0-sr.xpi 720554 BLAKE2B 58283154945d4b2776a862b7200fc1743e403e77fdd1515b5c35560c97e4b2f32da1187a02b520b6f4c88ae7b328c036c209e90c9d6cd08d22bd9ee73281ffee SHA512 f32b020255159dcd022bffb7c09eaba668dd9eeedecdd78f5b7a1740fd38e5060e44a0f74286616a0528f74b0c9b859b247bf4551c933ddbc888a42c41b8b399
+DIST thunderbird-102.8.0-sv-SE.xpi 706951 BLAKE2B 2c2ec71753f105bcbea20dbf1a99173bab16c649af9dc8e40adebb5f2ecd5c1fb2777df06af3a9fe85a7f764913ae22682f1947f884f8671c16833f69b682671 SHA512 f33fb045505af36e6b84efe8959a655fcf7f251fab66ed1b4a7ed33094d54045b41125168f6f0f45e8d26708892b607f99283e6f0247acce79752a8c7f9e6f97
+DIST thunderbird-102.8.0-th.xpi 758234 BLAKE2B 453e8cc42412e4fc296f5784a988d3e26899204f428bb8c891786803715f774b8f3c10ea0976abdda10ff76c7e737fb8f766806d4481c444dc57b7664b7c27dc SHA512 40588e5515ff5895648cf39da8c56e3078b3d520d3a9ccefaff4b32777bf989ad8c9fcd143df0518c84eb74179fc3aac003ff411e3ffcce899616ae31f9b669b
+DIST thunderbird-102.8.0-tr.xpi 720173 BLAKE2B 1f64fadec7daae108b637b61ba6994ee13be99e5bb1a79628f4085580530626628ff4ec1e58f49a1035bf42066611f9a2c07f7b9aa072beaaa8bc2aa6be142cf SHA512 6d80071fe03b39f52c4603339e5efccfd5578ad857fafeb02ea6876eff92a7d18e4b47a9bb62209f602bf3a3e81f912386d1a145a742146ccaa22ae57b63a8a6
+DIST thunderbird-102.8.0-uk.xpi 818662 BLAKE2B 431cf46003f857da7b37173b9b4cb417739edffff8702c8233591823afe975ff43fa6320996aac68d0be7cf21b85f1369ff5d93b1f8d960b2ea78817b11adbf0 SHA512 d1d23a7864ce3652f1c7e0a49647e909f106b2db5e2c60b24cd89bc67a1cacef5d5ac76ec18fa3a38443a1a383aa56afbb732a89cff36da17d03cee572ea8616
+DIST thunderbird-102.8.0-uz.xpi 593011 BLAKE2B fc4fff39b07a51e71b8070935b16be2fc3b21bbc964fe6edf962ec43fe643dc72482c482737c3af2630c6ffd050cb4fcf7da1a994040a2673c6a4aaa9123c10b SHA512 95c1cfa07b79453de650e477585a83819f8e1afb8ec222270f51f68932d190e00332d86e6a00f9a4eb25f01bb0345b80e14c9d559754c961fed0181e520f2dee
+DIST thunderbird-102.8.0-vi.xpi 745664 BLAKE2B b7c783684c4f39fb6224a1401e461a3c8efda3866c850f7a5e1376a159c544d1f87a3e75fe9fea7300fb017995ae7f95ecc0fa7bc79cfc932b4120bc317507bc SHA512 d136c1dee9f039982283fcb1544a7e7e11a72ad951aa3d67cb7ea31ce9a655448a2871479ddca2b38821b7791c5dc3e0e528ad4ddd258578cf2d8c8cde6c7c73
+DIST thunderbird-102.8.0-zh-CN.xpi 739884 BLAKE2B 4cada7d7ab5bda49b8369386c9aad4ef550cf8efde003df269a7c4586f484ee7fa769b76dd7d2e974c94d933ba6f7983f6f3bbbfbe35189db1b5831a9eddbed4 SHA512 6b4bb9d2414820f91d9937c6c3800c72fc5581d8957de89c0c487b1dd1088fab07cde1e49d982b8852bf7c8e6446528081d0952d2b41075981f808c2de7ef25b
+DIST thunderbird-102.8.0-zh-TW.xpi 748345 BLAKE2B b085df259a0bb089bd9576c360eac61455eae277fca289819c468397ffb4d0288756e77b330490c5557993904b6695659e687ea03e4782256b342c39fb3d821e SHA512 08fa57f369b78156a5508f6cb2ee371efc69150be0f59fd9f74e68fd3185c7403112221c6e1eb63c375bbc816685619a0e6b8d7f3af119f27a5eddf2760d504b
+DIST thunderbird-102.8.0.source.tar.xz 506030440 BLAKE2B 618d48ebfa97a89ea1da9ec4503c98974092b8f6279530eac25c896acad132b6b03e9dd4facc0c7db1c40b952f6184f66608f37d845d520c8bef5d47c0c67d83 SHA512 2431eb8799184b261609c96bed3c9368bec9035a831aa5f744fa89e48aedb130385b268dd90f03bbddfec449dc3e5fad1b5f8727fe9e11e1d1f123a81b97ddf8
EBUILD thunderbird-102.6.1-r1.ebuild 33795 BLAKE2B dda0368a48f1036020fa366de40d7b306de60deccc85426b5c381a72cc3e7e3d11bfe608c8221ef44d5ee6a5b538f73c3b83827268da730b6c376dcaea7371a1 SHA512 77edda9483ffe4c50ff914a9993fee6f16a1fc5e556552c0b97ed0b45cf11f0f99526e1b2c0b6292799b974b8b2a8ca2e7ebb511c4a9e7732643e67f5cda0337
EBUILD thunderbird-102.7.1-r1.ebuild 33726 BLAKE2B 3d4d79f6696fe0ac1384cf058507e0c648a4cb1f5a05305b981aa036145580cf7ead72d3f552503ea061ad87266bf1629f17218addc90f5c7af661a975ab8e37 SHA512 d3712017b2dac743a06bd8a2df52abf4d3801e67a140991b888768bdbdbc8efa3030975c1611005686e2111685332e4c035803f2c84de6ccf06d77a7928641be
EBUILD thunderbird-102.7.2-r1.ebuild 33726 BLAKE2B 3d4d79f6696fe0ac1384cf058507e0c648a4cb1f5a05305b981aa036145580cf7ead72d3f552503ea061ad87266bf1629f17218addc90f5c7af661a975ab8e37 SHA512 d3712017b2dac743a06bd8a2df52abf4d3801e67a140991b888768bdbdbc8efa3030975c1611005686e2111685332e4c035803f2c84de6ccf06d77a7928641be
+EBUILD thunderbird-102.8.0.ebuild 34002 BLAKE2B 3d15b049b167ed91fe913a19cb23caf53ba3442fd0cc4649fa606b031dde55daa606654ebf7b1f34889ab9682eafdc1c72b18d66a9f53e228b54b87f8682d6a6 SHA512 459683be5d25f7fcf57fb2f6051211071fd3be8d01adf53971e415c2c460765d2e3d33b0e690739e120049273780727ff87fa5e6d3fd669fb19ef99424b746a8
MISC metadata.xml 2139 BLAKE2B c348f9dc2bf813c386bc2e62782bf762ef4fdaf3f913cec41bbd115a7bac54b01852dec04e6f7574b24ea5cd6d9500f289109127cdac5887128b07116d6a6cf8 SHA512 09b0670e852cc954b5df5e846935d274ae180e4627d112104d5fedf2a777fda7d52d73cdfde9e50475d9a560ed44946d4c0682d52d793bbfb5f2e1b1e0aac608
diff --git a/mail-client/thunderbird/thunderbird-102.8.0.ebuild b/mail-client/thunderbird/thunderbird-102.8.0.ebuild
new file mode 100644
index 000000000000..bb6f87b08d98
--- /dev/null
+++ b/mail-client/thunderbird/thunderbird-102.8.0.ebuild
@@ -0,0 +1,1176 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FIREFOX_PATCHSET="firefox-102esr-patches-09jtb.tar.xz"
+
+LLVM_MAX_SLOT=15
+
+PYTHON_COMPAT=( python3_{9..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 )
+ wayland? ( dbus )
+ 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}
+ || (
+ (
+ sys-devel/clang:15
+ sys-devel/llvm:15
+ clang? (
+ sys-devel/lld:15
+ virtual/rust:0/llvm-15
+ pgo? ( =sys-libs/compiler-rt-sanitizers-15*[profile] )
+ )
+ )
+ (
+ sys-devel/clang:14
+ sys-devel/llvm:14
+ clang? (
+ sys-devel/lld:14
+ virtual/rust:0/llvm-14
+ pgo? ( =sys-libs/compiler-rt-sanitizers-14*[profile] )
+ )
+ )
+ )
+ !clang? ( virtual/rust )
+ app-arch/unzip
+ app-arch/zip
+ >=dev-util/cbindgen-0.24.3
+ net-libs/nodejs
+ virtual/pkgconfig
+ amd64? ( >=dev-lang/nasm-2.14 )
+ x86? ( >=dev-lang/nasm-2.14 )"
+
+COMMON_DEPEND="${TB_ONLY_DEPEND}
+ >=app-accessibility/at-spi2-core-2.46.0:2
+ dev-libs/expat
+ dev-libs/glib:2
+ dev-libs/libffi:=
+ >=dev-libs/nss-3.79.2
+ >=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 )
+ pulseaudio? (
+ || (
+ media-libs/libpulse
+ >=media-sound/apulse-0.1.12-r4[sdk]
+ )
+ )
+ 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] )"
+
+DEPEND="${COMMON_DEPEND}
+ x11-base/xorg-proto
+ x11-libs/libICE
+ x11-libs/libSM"
+
+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 ! has_version -b "virtual/rust:0/llvm-${LLVM_SLOT}" ; then
+ einfo "virtual/rust:0/llvm-${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}*[profile]" ; then
+ einfo "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*[profile] 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
+
+ # Clearing crate checksums where we have applied patches
+ moz_clear_vendor_checksums bindgen
+
+ # 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; then
+ # Force clang
+ einfo "Enforcing the use of clang due to USE=clang ..."
+ if tc-is-gcc; then
+ have_switched_compiler=yes
+ fi
+ 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)"
+ export AS="$(tc-getCC) -c"
+ tc-export CC CXX LD AR AS 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
+ else
+ # This controls the backend of the bundled librnp. Choices are "botan" and "openssl".
+ # RNP Upstream recommends to use botan. In Gentoo it's preferred to use system-librnp.
+ mozconfig_add_options_ac "+bundled librnp backend = botan" --with-librnp-backend="botan"
+ 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
+ export 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
+}