diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-14 15:30:24 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-14 15:30:24 +0000 |
commit | 9b921f0a27acb73f29835bcf94b91bbdef87e9de (patch) | |
tree | a20561c628642e6e518ffac7df78980360a7ff8b /mail-client/thunderbird | |
parent | 05a3b7c2189f095dfc46fbb03d4b3e801d3dc13a (diff) |
gentoo auto-resync : 14:12:2022 - 15:30:24
Diffstat (limited to 'mail-client/thunderbird')
-rw-r--r-- | mail-client/thunderbird/Manifest | 67 | ||||
-rw-r--r-- | mail-client/thunderbird/thunderbird-102.6.0.ebuild | 1177 |
2 files changed, 1244 insertions, 0 deletions
diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest index 2a7486ad35ba..7c9243e4ee2b 100644 --- a/mail-client/thunderbird/Manifest +++ b/mail-client/thunderbird/Manifest @@ -5,6 +5,7 @@ AUX gentoo-hwaccel-prefs.js 162 BLAKE2B c5f2dfb727081e2d538c262f12c0cfdda31cbda5 AUX icon/thunderbird-r2.desktop 882 BLAKE2B eb9c2e381b67319d9cd53f26e9b406f55de86b716b28a3df6470594a612e07acda4c7dcdb48b6d55930972592f7f01afbbf14f09ccc4b20265d3c18554a01a2c SHA512 689c9fa5c37a1e6ee80a3dfaebec2a185d91508537c35ce2fb35d13d89b16ae0cf3c640c3115a52c0e4b7a7624aee6a8f8c52679a0073c94dea25cc779ce624b AUX thunderbird-r1.sh 2896 BLAKE2B 140047417b24e959fe6388c4913457f8e3e786158b7394abf7442b0d2e83de21238e58983845a23b855e1aab60c9289e1a12af430eac9a8b2d9929da97de2852 SHA512 f9b989152a8a3ac274033722c77ec19374085654ad6c85ea4db6f8af8f4b2066d6d9f82b610be2db341c8ac867547f54f806ca6571258ed98dd9e2527d21b357 DIST firefox-102esr-patches-06j.tar.xz 24436 BLAKE2B eb7ff5c214cbdca8fd772629e7012e3a7643cec12bc27159882545684c4e3df25b642881536e62048e6a22c569f752c0e7c6a9938acf5552f5b27d7d15e227fe SHA512 1771f1af1f07c85dd532a0b727e893de1c37f23e5bc1d10e0babfe4cd80bbd1cc587dde31a5eab7cf8ca4c9f6491d9c83eeea353662781286be64d333cbdce6d +DIST firefox-102esr-patches-07j.tar.xz 23012 BLAKE2B 41b706f5ae8695ddd33e971cf1aa99317382a57618cf19163c5bca09ed5d430dba672ac51b7ab3072360452cc89ac50397bb7992882a61a3adda37022239e654 SHA512 7048353ea5504e34d9d3950e3e5e3125f631f95269d5c9e422ca052173a316718fdd4b57ea7980a452139b1192805cb598f47f398fb148a426a85a5e979c6cdd DIST thunderbird-102.5.1-af.xpi 551372 BLAKE2B e3a65da8a0ec5d5b6a6b957f932de081fe03a11e14a3b781309d804ccb8f7e663785337d4574256cdc400a06a50c0f3c64a3c46d301ce4b8ca56b6a7bed07318 SHA512 e03a295d3d4d14e884dd4c84bb1676a755558b2f971134873a6777392390a53581dd0ac2e64ee249adb818105bf14400306cd8b9aecd82252d3e41bc9271a72e DIST thunderbird-102.5.1-ar.xpi 656149 BLAKE2B 9ffe1c99f8b9ec3bf21534d20c5eee962df9c6bfd645d468a98facaefcdc53af303b79db2fa343772668b77c94a5c7a9a06a7cbbe7e8c9ae7db6094dfe591614 SHA512 572615719c43adf8160eda2f06e2a175f30fcc1066f50ffaa22106fb8a9b1545168017951f67cd9e797d4e5787256e385bca63b2e03f6cbad84d49401f56e4df DIST thunderbird-102.5.1-ast.xpi 564289 BLAKE2B 9f4cf47c1da44d59b6628abf31b61a3047f64695daa7e4501e05dcdf53c97ee6e1d3c94b2ee841ee8ba2f5f116f4d0b48c9af06ed5eac60c00eca0e0ba5ccb6d SHA512 9188fa81549ec60da473a54285818d558622f61fb77abb522e26fa7e92ee5f4bd316b7ab1c2067fa9fdeb6c5064f2f375f1a99d650b7a000257be7f89862639a @@ -70,5 +71,71 @@ DIST thunderbird-102.5.1-vi.xpi 724848 BLAKE2B c38fd0f3aeb17662fd1e8608be5576422 DIST thunderbird-102.5.1-zh-CN.xpi 722699 BLAKE2B e87e74eb3ae24d61032e1ed90596a495f78a228044284b40cdba17fc7e712d8cde901c9fff03c962c78c512d0a91f859d86578acc58104a589e5dea66a848976 SHA512 af19cf2beccfb3b15f55f9c1a988e14e07dd6091d190af599dc454245afa51adc5e5bd2ce74562d0d93b8e2384dcc1c403bdf4fd0fdcb4b20b9573551193073f DIST thunderbird-102.5.1-zh-TW.xpi 725970 BLAKE2B 04453c6cf08d0718ba2ea44ad0665903743bf64453c2c2a3da9c199868e76aef44f03c70657147c5bdc151bb3b6ac15732d4189fe4be398eac8a826aa5caa4be SHA512 ee933237684e4600bdb17e00f62cda4c975c151c79ea054e7bd8a4a6970b251bdbae8f27359677c104bdb44952d28087b9b16b1e7bca11dd076c70807e4020e7 DIST thunderbird-102.5.1.source.tar.xz 509550884 BLAKE2B 869f988ad1e0a240824a40fbb82f37bd89b868edfa7a6e22cef62406126d4a6cacf1cb52e79e0243b41f0b530e1840accf98e5f0e531f2cb67b4ab4c190ed914 SHA512 bebd20f1435793be1ead5ac962ef49c6f01909eeb16f3d909e8a57bd42f4ae1d99ae50cf55439dc395be94abd920f8239ffb98eba7a0653657c454918f6df9c7 +DIST thunderbird-102.6.0-af.xpi 551371 BLAKE2B d40ad673db1e0b43038ead3064e3d121512f74185c6f0d3209e3bcebe17b76cbd8240b3482e20e300213582d250134bb1673d4cf040ec7143383fdecb4941550 SHA512 39ad5d3381ecc100cf42dadb448eb14402cd88669a65d0ec75d3b9579a9d8a24f515b4050c75c9b6f131adc1fd4a844039c4c8c168e5f76f68bf433176000abd +DIST thunderbird-102.6.0-ar.xpi 656149 BLAKE2B 97d85d3cd1b6f6462a79076b989a9a132a15247568f35d5e9b9f499a29403b52ec8e44cb6d5847b2cddf0c606755941e1ae47bc267925106791e3938d1fb6842 SHA512 0a6fdf6d5b20e5182004581df031ae3203a43b716a719aa83a61d1b71b6d352c3838f6e35afa19c8a91eaacc1920731c2f9b715d794fd5448da39c8f3599659d +DIST thunderbird-102.6.0-ast.xpi 564286 BLAKE2B efd2547eaae08ff6112ba17a2785eab4fa27a11d5a368185a99d2ef54dc9763cf88c563383e6840cf1d19c471ec9940d8bf56821ad809f06461b5dbf1f51e510 SHA512 6c1ee7f96671a7b6ea7e23ebdd23e96b8475061010bdaa6d8a0d74d80e4522025bc02e5f7cfa76592e9d3a9a0e3e07d2119a6d77bcb9071c3a483f111d7f5cae +DIST thunderbird-102.6.0-be.xpi 686679 BLAKE2B 6909b6c6cc55d4239160d88833dc9684d484aa6034a07a2d3bf6007bf093229f358fa8a0a735bbb7151bc77ad9b2c91240c22147a62f58ad709081006b7424fe SHA512 942a18d839495933c26d60374bb2d29e5a89e1db658553e991647c97d6144a7d2a32505933a2e0014df1655fffb500e8242878b103178dcad3909f7589de6ae3 +DIST thunderbird-102.6.0-bg.xpi 682267 BLAKE2B 40b414598b43a559358d2efbb72edd35041d1d652108762c80c56c145eed5efc455c2c49f5071121b9a000b9698e28c4a37c92e76487ecca6aa5c8e689e29836 SHA512 78577af4b6ac2ecfbeb6a18cafb67b26170316681af8076f076a601872d71b9ce65945034627fc493720bd032b0388b5db696902e44bc2e35afa1507f0406231 +DIST thunderbird-102.6.0-br.xpi 615115 BLAKE2B 6f0a9a91ebdd974734076079e4f6fc495bd53ace0eee0803e7b5ea166632bc36d483d38df593754e7dd7c2df37ebb5d3ce68d067c820ce1d6497acf216fa52da SHA512 54478151924207b75f45d7ff11842ce116b044775915eba930a68c40b4793dadb8cf085d78c07b358a8bac07b78d4d68dfbdf8ac08f02f5e347ef89fb619326e +DIST thunderbird-102.6.0-ca.xpi 636173 BLAKE2B 8a71042393646cc58c54c8f7d8e2e58052f468eba169bd7dcc8619494ca151b73073a39d437fec714b496a6ccf247b406119ad03f9acd90aeddf07273b1d0a4c SHA512 596125f8ce3be2853d2d9ffbebe13e5989be1c694d29c5e8bace20045e372c54d8fa3f67f66fa91df571accdb4c8399cea5d479754ba53c7a6007e331e255780 +DIST thunderbird-102.6.0-cak.xpi 641841 BLAKE2B a577bbfaa32f6c4a1c4b06b0645a313a00f842deef75a4a1057b7b92c0b633aa5ca154160f592badc8930f6b9ca9bc0e3ce795bcdc9ceaa595cca446440284fd SHA512 736bbfbe3984a1d6bfd32a4832a9af390b8c47ff46840de54645a1868274f45066a2fda55b247c4b33413f939b8c79048676fc2c8902c2919e2629ba0725ec0a +DIST thunderbird-102.6.0-cs.xpi 706337 BLAKE2B 1660326810e3f5d768be6e2bf1ced920d9a0917a4d4474f9a2d75835a43137bcf583883a40e9604449fb4384227f915631202f34c31ac9bba050b9b4f1cca1b2 SHA512 02f671229d632d69a2934e0c67540c67a2d94585ea1d5182b23c44ffa82eb17b6c030e43283c510cfd85c9237cece364fdf6769b52dcda5caedf5c5a9afb4a34 +DIST thunderbird-102.6.0-cy.xpi 684716 BLAKE2B 42a6eab3a276324dd39e237878253ef574aaecfe8b7a57fe715c04a3951d321306eb0c88e5f6416bfab7fa9dbf42357fe73cc31af5d3a2a533028fcda787a6ff SHA512 eb10c6609f1259000090ccb73986a8422dc123e8e89ebe8149567a3423e84ca616cfef1f95fc1daf3aadeb91d3c7a6bd9a3512e79c62692e6bcb386d22fd366c +DIST thunderbird-102.6.0-da.xpi 670578 BLAKE2B 44910e31c236875473248b04cfd0d7026164ef408cdb88f481835388327cff129c8f53eb6d710745af4207c1c80241f552a07e20b8a04a6c8033cd127ee77804 SHA512 d2a229417c1a7240f9f2e19cc1bceeb3cb747a3dfa03a118c3a6372e22c03278750d46b5f2e287a2e5dcb872f96f9330202593a369921694589d4b70b7c1797f +DIST thunderbird-102.6.0-de.xpi 703558 BLAKE2B 9eb529ab6c6528025ddb08315fceddb4be974c6dd0f27b79d8d9c3d74585bdf589e998c50b1113dd998983a33435a2490eed70d2244f868ba82317ec0f37b0ac SHA512 e251e4cfe9b6edfe490b51bd3cd8e5d0a12331a66af4d5722524951f1d004a29b5b5a326786c974e062ae6422ae5c985cf133a77e411032befbac3d6bd19427c +DIST thunderbird-102.6.0-dsb.xpi 718469 BLAKE2B a21dcc0a81ed4916914851d296aa67a10679f5224ce903e320887f62c2e7421b96f346086d99495913c604558d051d88f74c24bd1990fb47952753e945220e1f SHA512 df878b5fca899fdd05f9c6e232d3b350bfb0eecb498c262b29387f277fce87cc097864d9c3a350434e37d32adbba103053d6ebc7b89617e71aa351420f0c2b3d +DIST thunderbird-102.6.0-el.xpi 816314 BLAKE2B 51c5a35bff3c1ae48baa11c7f2d6778b93b5ddbbef5e6a755a2af2b7ddf37c822db2098da04651f1cb7f1ca5542699cc9fa186b2c46f631be4fe99920f8cdf26 SHA512 051fc46752afb99c0485d2d7a541a6ecb25198ca4980c7738e0936bef93af84df216109d746109d81fca97742ba72111368192f438eb64417625572267dc4ef3 +DIST thunderbird-102.6.0-en-CA.xpi 644397 BLAKE2B 4c89635edc2108b90cbef17215fdf8e7bdf726ba6afd209b9dd8bf3b70d517e90a1e35700f9be28398e0dfc300e77bf3285a905660d4f2c084e3bfb78b0a3ad5 SHA512 1fa224ce9c7d96134e7e0d49e2d43d73d45788d7618ce4678b8ee854fb4c9ff55b69ed28a8cd3c23259bc0faacb5be96d664ac7c0a2987bc66be419359532c07 +DIST thunderbird-102.6.0-en-GB.xpi 645398 BLAKE2B 1127f2ff7fa1f15f4e32054e7f4093adeb7bc195daabaacf4176e3c9c058c904826f8cd4174ae09717ee35a2d0c0f061dffc3558fe76ea8670346779ab50060e SHA512 0b0f8d1715db33e9b0380032c1e9e68e94bb8fdaf4a0c5dce6fe20d9f28868403dbb8b2a052e38e31ad577ce8f3d42932065a9c74c63b0a4642084ecccb0517c +DIST thunderbird-102.6.0-es-AR.xpi 695963 BLAKE2B 5438a969a194f6765cbd1715c0eb954d17aa2b786fe673c8aafa77411547a19090f3a0be8d9f79e5517bfd41b5101a3fdca76e567f89c362c9fbb748ad928b70 SHA512 71d875eed4dacaf6c57206e42377003ebe724c303b552db0338a7a96d1f66861eafe35b80c0db4e859d8bfe1dbf9082bd6d14c4f35ee820e0f534efae75d466e +DIST thunderbird-102.6.0-es-ES.xpi 652044 BLAKE2B e37f6db79e677d15be9f1e0de44a59ffbd61fb1ee51b3e7428e8f4af7cdf3343c6ed4e3d78c05601522c187b58c6f9298a8e476f5a808125d71eadffb1ca75c3 SHA512 3a0cc7cda34f5103f12311d1ae5414d4b1ae20fa6824ffd16472e8dcc6909d2c87ee987bbfcef5050690e69426c3c4da47dffbf2c224deb1420122fab2be2325 +DIST thunderbird-102.6.0-es-MX.xpi 698653 BLAKE2B 709e3937ed27c1960f3938de2bd3d0a841a3d5c638fadf5cc25c0e082bd9cd61464be7cabac011871b0b9e41b2e6db2ef87012fc68c81b3a0c6e2594a9df391c SHA512 9572bc8861ea79c794404c0ab955a906a43b50d389aea4270f6fe69c6efad73292e06aa36f8ee9d707755b0421fd387bc4fa6c94062ed488f8082d9b93d20697 +DIST thunderbird-102.6.0-et.xpi 666813 BLAKE2B 13cfd1c60b1cd6bec28c5a74bf087e5a1bcd3abced363f55c8e5f2265d8c8a8f6b4f2fc597f4aeddd3577c93fa91907a96c55b8399826b7f9f70e9d35e661111 SHA512 7f9b72b447362eaa90ffd9e107fc0596252ad9401b672e6e42cae6f357817e1823bbd0b3a96de3c1e2662de80dd3c8d36159fef6e5b34cea6ed7df513b1586fb +DIST thunderbird-102.6.0-eu.xpi 680211 BLAKE2B 3999aaded266d553641376770cf23beabcc85c764e54849f2d96b463cf7d444f3e4229b01dc7639b26daef058f40d4795b0baa3e3defa5b89f613610479fae33 SHA512 ce103d756783ff5d7f0f98380b40fb8519642dc59c656551314edc99350bcf63990cb42c6c4b6febe3c14293284c968bd747c75fbdabd1bb0965fed2e841e884 +DIST thunderbird-102.6.0-fi.xpi 673900 BLAKE2B 331a133e781779ed43bd5a1da49f077d110f0b6a9ccb69ac3b63b7cb3294b1363147fdaf11ac3eca79f396d7b9f796e995bb0fd3408e6598565851570affe458 SHA512 02e0d8a607d6c1a0a87f18c980fc71c4e07e37d216c862bd166b8b1985d58987bc6722145bfe5d7cf393f6f3a9a94f5689a3f8eec3a8b05c34d5d7c744963a3a +DIST thunderbird-102.6.0-fr.xpi 708767 BLAKE2B f24c4a9cccdad7abcc63403f6b9fec3933af73aedfd36f0e1b3ba3930550ceac36fd3b5871504e559dcce41818ac4fb6654074bbbb687b4214953ab6a931ece4 SHA512 aab507318faa49cdf5023d398efb8f30672fff3684b76c95d0596d7b1ea2a2d8e330bfe2a3c3a790b73ea7a4380e84c819ec17a8f1c71354e70cc84fe08dee05 +DIST thunderbird-102.6.0-fy-NL.xpi 690681 BLAKE2B 08a0b387b7c9af20e02cd165a5ce8f82ee9cc2a63fd1df115f43ac2208518fa199f69013806ba308cfe26d53a7c2eea63822f059e4b1f335b9ec3506d87bf4b4 SHA512 43c19548f1c66eb6056aa8a97650cf9776898953c48861afa97bc44dd8c55ba884b5ab1ce2d925d2fd641dc10c57f10ea25cfa3802508d84515f4cea78af409b +DIST thunderbird-102.6.0-ga-IE.xpi 603098 BLAKE2B d3fb9f8be27275ac0f04c7ffe8df4295e095b50bf95a0a201418007900a8ecec5cfb45b6f5bbf1c037c7df91a20381259b9d31e060e780f71b36a498905a4d14 SHA512 2ed196425786723ed4906b25b029380fcc1d3a3f029fb14aa8bfffb6fe68b28d70cf6d1173e50ef15639f7480c439266a9a76a56c2f2e4cb99eea1d3f580bbb9 +DIST thunderbird-102.6.0-gd.xpi 632444 BLAKE2B 9dafaa48a393817c99a6b85c20c22dc5212c6a9dca9b99028550503073827986d5f42bf50a5ff8a909df895637fcdd485497f7a23751e89d33ad7c55b3237665 SHA512 9c6265b64258c828b508054a3b35a0b6d716922203166fa386d06540a5439aa37c0eca62acfd2d0ac767b282d1b7036cec861f8b02125cf4f9432a04f9858618 +DIST thunderbird-102.6.0-gl.xpi 663209 BLAKE2B a22e81e3f73187deb32849abdd0360035294fd30207b6350aca86e3e74c528c02cb61114333042653f58147f54186dddbfb1696aa8681f6541e63dc3397ade40 SHA512 9679ddb054f31a23cefbe810432884ff88b755287eaea4ffb6d80d3532b213ad026f12d8a868c5c0f3030b87fc459fb01d2896dddea4564374171c2cea79c68a +DIST thunderbird-102.6.0-he.xpi 662890 BLAKE2B b84a87a4f1b9527611991e518436bac332844b3f63aa2e445c769718e97f18d6a9ddb3370d0e235d79121849b7182728aa55c0d34f328128960646c51e09347d SHA512 6de0f31ebe635f09192ae04ef9abb7dfb726ee7b98240a96e8f25d1de46c30b0430941b89bcffdcfdb265e4636bbf5952fbc2a1df0a075f7e16ac2a783e3180c +DIST thunderbird-102.6.0-hr.xpi 661113 BLAKE2B 46d7ed557e7a0eb9ec5115f20f4e05caddce9ff71e485fdd569194bcca5465a8825f93092fa938d7e768aac96ec8b734075e3c9fb22a603d399f2fcf2d1d919a SHA512 9f57830a5380d9684a009f63f123169eecbdc68d4288c6776639f95ba3c065ad311c3729f822b221763a5cea43839cce88fb68c0164d0af6ca066b7bf55f1b10 +DIST thunderbird-102.6.0-hsb.xpi 715753 BLAKE2B 1254d420a1f30e3ac6c9efc45a0e49be496ea19a2a55bceada310cd5d07fd660cc41900f9431c4a858c95bb9273de186264c6c4a7e6d4bbb51614ffee595542a SHA512 86a3ce8fd33bbdbb12e439dc9caf2540ac364cccdc5a908a4792f6bf82612a2bf4c63a392b7f65e9fbbd31fd5556e6dbbf6b83e3e3aef66296e1da12a2c3aec7 +DIST thunderbird-102.6.0-hu.xpi 718785 BLAKE2B d6e684910a45efb831a3ecc10f8051f200693f6d53b86ec474f3c0763f682dfda48e4d36caaec33107e8e1c488b3f608896ccb66cdfc50c78d2857056d816c7b SHA512 3f3ff25a4a1815ca8e18dc9922d533a77a4798f465e3ca94b137505ae159c62b7357ac8db2519fd0019dd52c20c018908b3aec99af16340550b0a098948854a4 +DIST thunderbird-102.6.0-id.xpi 639542 BLAKE2B 2184ad176da3ba13d87c4d7458665ef5d8fd90eb3857294716028dfba8c3f9695abf3df03b17a214c3a3397317fcd4324da8ccfa3a5f7c7f77c9c0b7f802451c SHA512 7a5b612777826f92abeab4d20e04824e05c3543da022a87ca15e30f1bcdbb60008bf867dc3105f2960a1f0065b1b8ea5ab7213309a7692c302aa6cf289c56762 +DIST thunderbird-102.6.0-is.xpi 685616 BLAKE2B e3f103ee17bf32a515f8a9feae8e0cb294a259b6cadfebdf9e2f9940014dda9b43d7ec80859f2be0a456cc0daa1c5e79aebd3ea49ad4d52802f7bc51f3e77c7c SHA512 9b628ae20c00f85ddc71c6551791c91ab0b5a42bdd0a0757b999827bc90cc3f24abae37d797715f9956ab05c5f07a5242615968254556837bb63a975f370b2d6 +DIST thunderbird-102.6.0-it.xpi 617778 BLAKE2B 72e83b962769c6ef054af4492419f91a35372fcd054407c8fc1310a6b1db7922f3b91bab7cd5d898d7f336c05394a9c70ec8b0bbb99119eae0be1953539c993b SHA512 dad1d4a4d039f42bf8b8338abf83d52a843358d765d1c6169a6efb88cfeffcf109f8e6157ef08dd58bda772f9873b485f3c70fc75b571ee13575dc4cec576926 +DIST thunderbird-102.6.0-ja.xpi 755145 BLAKE2B 133d6a442951eb4140a57a3381e9649d2222817a854639a7eb347d5ecb08db45c7e3db62a7d34281eda24fa12b5910ac0181d48495450f7626dc5d3a2258fce8 SHA512 0776d7977973d543da901dbbacf393a2bc9710a40ea77aea26411610589f6e88452633ac1fcd2eaa6d5f3873629e2f4bdf84fc6684a6181fa9c51835d182094a +DIST thunderbird-102.6.0-ka.xpi 752977 BLAKE2B 8749992143020a455f8357622dfe827babd9252e6c90a1025badb3ac9d48f06b7e3af96356a5903cf7dca7352e677603de4b50f21d75d1bb4401a24d5b36dc68 SHA512 ebd01f0581d5c380118a74c8caf96802d7e0a9168ec1512ea691fd933139d71f03c0be48ea1e4fcbca4196a8512788c4c7b614c151797eb788633dcfd8ade56a +DIST thunderbird-102.6.0-kab.xpi 688571 BLAKE2B 443a36e47043871fb6df3b8922c6fd0b8ee72e3b07de712c60141a1ef8421dc7fa3ebc04c42fc89921651f1064dd9e74af6308a3e2a78cb09adf20f3263170b5 SHA512 7683cebf8f35cfc8f40747982be4365757517eb29f38f429889205479d607fbc4322cd52ca0e95e7d95aeec102a6ad85cd2bfc2f96e9184a605ccf8f2d70f4e6 +DIST thunderbird-102.6.0-kk.xpi 731941 BLAKE2B 0483c34c197ba9a54128565ae07a8fdc8aa2ba2bf2f9f7814a145ac56b676a41c3003e0a3fcaf2e23e71a4c781c9beadef0e5c73d54ea4129cbe83b0fd2f61b4 SHA512 dbdb14b1f1817169f5a923b31e22d307808c0c5e2dc37d9eb5907a7549a18e52c324098487e61e739ff6d1c7a531ec231005fed14c85995f6eaaec1897b90d85 +DIST thunderbird-102.6.0-ko.xpi 692941 BLAKE2B 656e430013d62ee6cd3ebbf5a7db9d5723356203312be73c08b3c9698022c38fa3725858b7efe119fd5a7a717a620ed725e394f8c4399390f6823e34debf8786 SHA512 fc1b6f6ad34519eb7b6a8e00a5a6f191fccde5ee1fab24eb7417e1f8b384cb79c20ab8190f0773d17bff7f1c6caac76cac6ab79b1f7207e5260485b611fa0b43 +DIST thunderbird-102.6.0-lt.xpi 680719 BLAKE2B b94fe6f0bc5dcd5cfee2d0fbd4f1aec71d913f0245f64ea9e814744e715a6adfacdde238b3215a1e4d13c586520474645b7ff18b49a364fac12be793aa767104 SHA512 fd5da6cbda18266b5f2af0fe2dcb48a4342a4fbdc64e56457532a7c1b298b3b14e8ef6cb82b56d479f3f503ae89141aa7a8f7e97cdfe5fafdfb6768398b61eea +DIST thunderbird-102.6.0-lv.xpi 608590 BLAKE2B 9251982242fbea22292aa22e5849ac35013ee78d485b0d51dc0784f97927c4e1c1e511cf275a4d0a4289754d80b6d0324a6e3676fade5d1f46d36d5e9c25a371 SHA512 6efe47150ed0764666967783b18ba8d925139289664916a85887654a82eef3e7c35b24e0241f0c646f8b74f3eb6418f2df0082e873d83655903efed7299140a8 +DIST thunderbird-102.6.0-ms.xpi 568426 BLAKE2B 689318f581ca31b2082edf2290f4db8da143d0fe176aaaedacf76ce1c92d9908938fb5c64ef8b505949a85672c13252462e854e1e9fb35a340f35f188d36a7f4 SHA512 c330d82486c5113f190ae6708cd097b71979a66c8e990702bfa2a7e129cb004b72f50e0498086dcea430b971465d14e35c4e9406f3564e2bc14bf8d91bd7b557 +DIST thunderbird-102.6.0-nb-NO.xpi 648581 BLAKE2B 62e8e7aeded9bea7d8c9927ddfc7561991193e856939aa4efc55f1d4d68b867d5c3641474e27f6ad52740bb3ff15e0b54061ca3fd4a174af1eae619efc4cadb1 SHA512 1ec77469b9a8263f3986e215996dc9269e40666cf1d9db8d57ef9a60616be28feb9d7bf022c3df7fab79d4b47579167cf9adba0fa9f47a0eca35c72edc0b8ee4 +DIST thunderbird-102.6.0-nl.xpi 682267 BLAKE2B 1e0ee3763215dfb1c61f3f798ec8d5e3d2d06d20ffcdf29aa195d04a01fb0b779511a3008622786dca5e388f1b21d2c6180ab68208cff6489b0c0ccef76d8413 SHA512 fcfaa77776c01f9b30ba7fcb1fa09196b131f43ad1811822553419f8660b1048bf878eb54cb1e1d94dc774441375558a0ed9cf0f2db690876d9ae786f5bd5f6d +DIST thunderbird-102.6.0-nn-NO.xpi 656905 BLAKE2B 1fc58a52d85458e9adc5c89bf9391bc646611cc9c2627f2c268ae494a95914126fd5b79443ed7d3255c938e0943376933c1b5c85ddfad0a9506eb5c461a001a0 SHA512 fc732834cc0d69fbb6fedef64404eb76b1a3930958ffc20f482b8fb6f99a71043335cefd9cc34da64a3f7fcee51f02499021962044e93675ca235044e543c884 +DIST thunderbird-102.6.0-pa-IN.xpi 653543 BLAKE2B eb712c58dfe9b544ad95e0d55474fce719c35471227f05625c7b2ce6683c830446b3e1be6849ec6dcc3c13d0f2abd36c5de3d14b71786e1fdee6ad876afedd1e SHA512 9f40f5bdfd169a812e7903971e90a416e5afa5940c159a93ceb9b8099185c53cae8f60db200b0e882e219e52e19081014a17954fe12a2ae8e6ff3e67f54f8949 +DIST thunderbird-102.6.0-pl.xpi 695417 BLAKE2B c25755090a7346019ba6a6cf0883899fa48e95f67e8bca0f2dfdeeb6f7632118e31ae274b6e62e9da8eb7497344353dcfee73a2ed850dfb608cdf7bee32efa17 SHA512 80abb78e6af93fb0808c9ff0d815262c2bcdec4610f6f5acbe61dd5c3f7e1a8627f5699dab39964c00f43bc00c0c8b69a129caec06dfae183ef00b69a0e6be91 +DIST thunderbird-102.6.0-pt-BR.xpi 690288 BLAKE2B 9735797eea770807d0a703167cfe618f1ffc531a2b67d91f5f42079dbb76717295b6ec03ad7200737cca784cb9c4b87f4aa5d21e0a632fbb8371a0f51db10491 SHA512 47c0c6a1c9945f4220330d0e514fbe0ac92758a1278c76ee9511953bba13498ea07ff16a40f9e27062dc351942723f9864132fc7a330f5b47914b1e5ed8fdcb0 +DIST thunderbird-102.6.0-pt-PT.xpi 666879 BLAKE2B 5206cadb17d735b9b279fb79a695044025c2ec59f887c4bdf2b09487dec911b80ca12b2eb7c96a014b2a6f6aa860a61040fb56f8bab39676b215e2c776297344 SHA512 3cf8c8bc313a9dd385b5186ef35dd20e6be5314374eb788dd7d8203efb2be9335c55c264a1e886eb445c55dd81f9b623527d26f28c4cace28967b5f058cd9503 +DIST thunderbird-102.6.0-rm.xpi 686111 BLAKE2B 3cb6183f9230ea5e00037345bc78eb40141c094c793c07dfdc4a8f26eed163c09764b20886d994e28560f84448a9c3d9f98a941257344da16de9e2336c568ca5 SHA512 9fe6acc962feab4af57d7f8d42f447c315019afa911950d1480ae45f44b102ea7e3fb28af21f609671c07acda307ea9863fe7de823242cb7017f5bee940de967 +DIST thunderbird-102.6.0-ro.xpi 651333 BLAKE2B f4eb13cc5392e3d4f67793cce56f2371ba6532f9dfdd8524e0c15f7ac2b96614a01d280bd47b0a9aff5e5210b63b3149712fbc40449328302a00dcef2bb9796c SHA512 3c15aa06cb8d5a7bd40c8c6bf6aad727ef6c482991318f4c37da54239aa19bf2440391b80350f29716d8d270031ab82e84f85e921abc3e06d5d6235e54f93579 +DIST thunderbird-102.6.0-ru.xpi 801784 BLAKE2B e88d66c025284825926b81c4ace40a97648179183a3dc3443cb197b89e18fdadb2a2284f38e0b96163e10fb62aec80e198020195edd674c2fe729ab2c9284ebc SHA512 a5f1d1f6a4a243c08b262be67ee5cbaf683297f411b10268a12fb106f79d909605cdf6997a6f3fb27a7ed8e6e99cf205de6d8acd173052dc87b71b8c619cddef +DIST thunderbird-102.6.0-sk.xpi 718355 BLAKE2B 4d1dc612324026b8362c15b3097019b1cc5f784f3ec37aa6edafa61daecebf77cf9c9c51645de662d7bdbf926a80f056c77966e4ac4474094dff20baf62c0d7a SHA512 4db3a11ad4f79969b7ffc896a6c085e6b11410abce3ebb198c8ce7c9a1972510b59307be9ff31213af9bfd2d742e572354a1153fe2a35fc9ee5759a83a1a5c00 +DIST thunderbird-102.6.0-sl.xpi 683783 BLAKE2B 56b393ec7500f29dafae0244f9330bef0e6a4b10c063102849f2b2a146d3cfd0ac9792c95e3fe46e71fcdb235470831e11c7818e82b437432b4745a79cdd21ca SHA512 92c76c1e2fe327445c442656b7a7b256225b8517b9d37705746d388fe8428122b376fc7ed2bb01cecae70e4d756431c2596f37dfc21c2eaa146ffcd2e215e92e +DIST thunderbird-102.6.0-sq.xpi 690225 BLAKE2B 6d68b5445ffc0da516f063997518cf5491a674ba4c8aa1e4a3a104e859263d5fdf6e5a09217619845c9656c3cbd62a72c77563f718b039eb9205b13a936d642b SHA512 6f1117c9b43759841f66eba4d2423914d05f6c8255f8e231359a0f31bc116afe1a6b6fdc059c35145f873be168ece0bbe403fcd675510282583cccb195daeb2c +DIST thunderbird-102.6.0-sr.xpi 705270 BLAKE2B 88dadfa227cc46e92bfd10d6ce0c41ed21a3fbc97f2b2f35360833e35defd8edfc6e4608c6bc29255612d3306ea6ee1bb052ea13545dacc5e86b74edb369e48c SHA512 19e0b4520796f0abbe30761134eeffaa130d903abdf77a1eef24f36b1feb7ed9e3a4758ead61fce7e53b201dd1619afe0aa50c813f49f92c56834ed8a3ce100f +DIST thunderbird-102.6.0-sv-SE.xpi 685685 BLAKE2B a3cc5187879243ce138aac16ed618e72a63f45b31dcf99517763ed1152dd865c514929f9a397e540be28a63e0820c3f01b1420809b5430efd09b8899fcdfab92 SHA512 5f91e8d45f540d1a2dd018bb40052dcec931d01e574d91db3803bede2c3de896252f17aa22d3a135b89d96d219c6c6c1a2fc72d6cee461c4e200ecd5bac382c1 +DIST thunderbird-102.6.0-th.xpi 734541 BLAKE2B c73c8724dc639011f68aa258eef6ae509dbc0c76afbce008f2a2e309d9582582b2637b0d7cc0fbb4d8215f33962ef0f23c9e14c1a57ab3ac49a9de550a8d88c0 SHA512 ef3b2a00a8a03584b751940ecaa06698106982704df843b05c49f9d27d7cfc46faffd0b25621cfed7843b0b9b6456e33e7e87388ceab68eb156d9320e03d7e00 +DIST thunderbird-102.6.0-tr.xpi 697056 BLAKE2B 89f4c8fc64a3946773901ff1ed0acc5ed8835e9d55667309f14c7be7a154e9dfcd7659634dd160504d5dfe85f361d944d144c94cdd66b2aeec3cf83209a78f59 SHA512 af51189eeaa7fa102ae0948b2210e8c2cdd9792209157248576c5859d8572f8b31496ebe18fc27e64c55f348278ce5ea0e850d951736752a48364d75640e37a3 +DIST thunderbird-102.6.0-uk.xpi 794406 BLAKE2B cf7487a685d80cf43a6084fde50048d87e8f50a4213be41e649606f7e0cd788bf9145efdd7571a41a360b821061e96f4dd8dd52427c37d27733c6d51f4c3be0c SHA512 7694f113a68dd6d9acc77ba4566abfa342c0d2a9023c4722f878e75763f9cc046f935063e3d76b9d2f7de1c83aa74cc1cdf3441a66913a3a387809d75a643ea1 +DIST thunderbird-102.6.0-uz.xpi 584806 BLAKE2B 68dc65a45bdc0cba2d381ddcad39c500e9b61480c3e234dd704fdcb7f9710188d694cf75ef1bde901892e087fabb8f17be6a8922d50c303e80dddc463793461a SHA512 47820076488e81d7e792574633d44f7114ddada2a8a65738ad8f6531ce77f2f63018c46b26d38f704e690b851c8a732cb8e57f52d8ffb807f37f9cfde034b0b9 +DIST thunderbird-102.6.0-vi.xpi 724846 BLAKE2B 6dca929b4e4153c1e6b92b300f5545d8169df52442c63014d11ec5483fd3d45138e7a5b674220c50ac0052e5980c960174664ec47e2408b31d48c0e826085a47 SHA512 031ce995cdb963f0568affbf191abf15a3ee321278bd907213372c967624b66214d2233118903dea0e21708537f599a35181fa34003083293e0ebb0c6fc58be4 +DIST thunderbird-102.6.0-zh-CN.xpi 722697 BLAKE2B ee72fcf8d68619b3e256dcf0008724005f2e5096a571275b652ea7a617c5bd951462677a9081978063055374e175fafbc64feb9d2a2d588d6150dc0e55e00722 SHA512 dcc1f0281926eaf0b480c702df74ccf8decf3d53902df96b7deec1e68d7ad0472c01a8f9aa1b7ee8bf9d7e5ec577e8bde682922c99cdc0b43d83c6a520d18523 +DIST thunderbird-102.6.0-zh-TW.xpi 725968 BLAKE2B b6b27f9376c32fc7cf69581a4f02847b6fc57dbd20d311215e29704f783eaa0cd9bb4901549c004f3fbbf39aa68c7cef4fb1f7e5dace611e4a30534e315a64a4 SHA512 904c5a8159b4d468745455b090013d6447de265d13b031f0ef19f2488130767e556e9a9513ebd8614ce6def270966e4a55fb57281092c45e41cee98f41bdcb3c +DIST thunderbird-102.6.0.source.tar.xz 503321152 BLAKE2B 1cacdaadd952f8dd7e2d2cdf47288d58922919fe2171e403e5a31fdae77b172be2921e455cd37253541ddf49ed3c105a5b29d994ef374625cd45804a200e843d SHA512 34f79068685ace75ca65141d8165138d25326e9d0a1c25b0463ea69c64a7240dd19c6c894c875c5429cf7b40344fbd32b1ba0412bf8893c4bb744c83f8bc25ad EBUILD thunderbird-102.5.1.ebuild 33790 BLAKE2B de8857460ffa3ba47453cf34802ddfd6dc65acdd1150daaae0f52aa6f18e00b4e7058b0968227dd8631cc8bc437e14266e589bd572debc316b306883582469e0 SHA512 9e84e7ae19cd39f8ccef431e98c43cb061ccb1c914eb7717780ec41bb1046205909574043eda0fc47a47e3d1a68b560ea45ca2f1b9c029c3475cd913a6c2ad76 +EBUILD thunderbird-102.6.0.ebuild 33794 BLAKE2B e7d92cc83117d65f3f1041b2e0563f56090d7fda9268c6a3c0fc9439c4d471e4096dae502d026d73bc69adb1f74d42979eeb2f15afd31fac0484c598b7095574 SHA512 a1c3449a0389e148624eb155b57f9d64a78dee03c3ea04881b0d0b5eb7290964afeedb40793cbafe61d37cec07882e46b82e4d808f4a98681585948edbeebf63 MISC metadata.xml 2139 BLAKE2B c348f9dc2bf813c386bc2e62782bf762ef4fdaf3f913cec41bbd115a7bac54b01852dec04e6f7574b24ea5cd6d9500f289109127cdac5887128b07116d6a6cf8 SHA512 09b0670e852cc954b5df5e846935d274ae180e4627d112104d5fedf2a777fda7d52d73cdfde9e50475d9a560ed44946d4c0682d52d793bbfb5f2e1b1e0aac608 diff --git a/mail-client/thunderbird/thunderbird-102.6.0.ebuild b/mail-client/thunderbird/thunderbird-102.6.0.ebuild new file mode 100644 index 000000000000..90101ece23ec --- /dev/null +++ b/mail-client/thunderbird/thunderbird-102.6.0.ebuild @@ -0,0 +1,1177 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +FIREFOX_PATCHSET="firefox-102esr-patches-07j.tar.xz" + +LLVM_MAX_SLOT=15 + +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 ) + 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 ) + 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 ! 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 + 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 +} |