diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-05-11 20:05:09 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-05-11 20:05:09 +0100 |
commit | 28a5ab9ef0145841525a5895cebeab62d54577fb (patch) | |
tree | d0741e6490857b035968771bd288179310c8da87 | |
parent | bf449b0cddb86addb2317cd7a73db582d4488ea6 (diff) |
mail-client/thunderbird : drop, use ::gentoo ebuild
-rw-r--r-- | mail-client/thunderbird/Manifest | 66 | ||||
-rw-r--r-- | mail-client/thunderbird/files/disable-auto-update.policy.json | 5 | ||||
-rw-r--r-- | mail-client/thunderbird/files/distribution.ini | 9 | ||||
-rw-r--r-- | mail-client/thunderbird/files/gentoo-default-prefs.js | 7 | ||||
-rw-r--r-- | mail-client/thunderbird/files/gentoo-hwaccel-prefs.js | 3 | ||||
-rw-r--r-- | mail-client/thunderbird/files/icon/thunderbird-r2.desktop | 30 | ||||
-rw-r--r-- | mail-client/thunderbird/files/thunderbird-wayland.sh | 7 | ||||
-rw-r--r-- | mail-client/thunderbird/files/thunderbird-x11.sh | 7 | ||||
-rw-r--r-- | mail-client/thunderbird/files/thunderbird.sh | 128 | ||||
-rw-r--r-- | mail-client/thunderbird/thunderbird-78.10.1-r10.ebuild | 1108 |
10 files changed, 0 insertions, 1370 deletions
diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest deleted file mode 100644 index cf8d934d..00000000 --- a/mail-client/thunderbird/Manifest +++ /dev/null @@ -1,66 +0,0 @@ -DIST firefox-78esr-patches-12.tar.xz 67840 BLAKE2B d85abdbb54a252852badac50866cf5b5009c050ec4aa80ae2454eef2719e80f3442f5a74ec58d3c36531539042830427cd85507b708c1d5b36ea44dd0cef60b7 SHA512 4445c0880fc234c3838394483ce986e4e222260a99427069ba9c55b56fcd49a485ec916ee6aa2629f922390e92bfcd78028e30cc2e62fad9bc080ae45b26ba2e -DIST thunderbird-78.10.1-af.xpi 548349 BLAKE2B 65465d2753f769c924a1c59e38d37ef73068c5b0528f37331316dd08816bc9c2ef2d9ee5419e1ddc8ce67c4322b6aeae8f6a240f4e44188627087b6db467a3b6 SHA512 f61d62d6ff0b5c6b651cd5bc57444bad772295c0b1f7ab66864f913009756442d1247cd75ac8af0fb6b6d82dffbac4db70f927a8469c638078a3b9bd587a4c17 -DIST thunderbird-78.10.1-ar.xpi 648607 BLAKE2B f472727e8a3c41a3322275f07a9f2787990528b45157aaa43004a06d1686e557a2a3588ec39638139c84977622afeeca6794caa5e2ab7ddd99d62d03090095c0 SHA512 ebe8b2897a228acd80736edcbbbd6dfe4458ba8bc5728847556148e82f99fc78e63a326f8783a1c7f0ca6823c723cd2199f0f01d7c00783072bea2b926ff9bc0 -DIST thunderbird-78.10.1-ast.xpi 561260 BLAKE2B 3c6c52141a9656362229f6284f3620da372eb5d19275d29cf019487cbb261be8756ae692650254c8377e9ab185c2bbe83124c03d1478aa7de4db9178e8ba4b70 SHA512 7c69196f50a6eb8972a52232f1e654d0ae35ccaef5807d99c2f53f5bc685cbc9980d22e597246721529006a98784da071984d74c71a4b86b9869cb5b59e807ca -DIST thunderbird-78.10.1-be.xpi 666667 BLAKE2B 708c2d6de48662f088633ccb6bc34eade6fd3d14e02f223b553174120db139b610bf1c619ae558571bde779229c825f373fbac503532e4e8f0498a08791f6da5 SHA512 ec5799c256894bd1aeb75e461e96f10dec49ea126b41e8017377b9bb2cf6deb6b20327acf6645db44dcb087e987c287d7c73214310ccbb6970aa43d29a3ba45d -DIST thunderbird-78.10.1-bg.xpi 672413 BLAKE2B a49456571373ef2bdcc02928854d0f02b2ad0950194aad16728a8eea69816d3ba4495370b4468fe118b11c3c598418073841e31e612d7480d4b51eaabf0626a8 SHA512 12cacfdb7140e1d5cbd74cb339d5970345677b3abdceb3ba216ea35d206573c61bbe59c84e11d69019678781e9ab35ea899b32d88f295a235f98ff696aa77e00 -DIST thunderbird-78.10.1-br.xpi 604528 BLAKE2B d8f907c678b4164b2c5c96f914486d0ecc5ceb856d0256b929dc16a8f70167b426b59c37dc45f68bc03d79bed6642c8bae7d88cced5e7b5158e16942cf235c1a SHA512 bc77fd713194c7ce1855b669f4c58479dafdcf410954c2dcd8c92a517de184d70b2bdce1a389fc377a910988c2f01f45ffca7c2d757b9154a4ad82c7e9d4c069 -DIST thunderbird-78.10.1-ca.xpi 620447 BLAKE2B 5907345666c868e3ff8568c02db3703299f69374f59dfe384c6f5e2ca7ca1a1a0e190fb45960f1981324e287c003a66dbf9e0d777490e1f790a21115964a4640 SHA512 f4b5f7c52a52642e0797a1726601b81ab6880c04c91ca5ee140a2d591fe86a57e769d5568dbce24c8a5662ee328eb76079b37e28007ef36fc8169da3aecb3bab -DIST thunderbird-78.10.1-cak.xpi 635654 BLAKE2B a475f501c5dc58e5c9ecae56e74fb67e1b39849afcd625081f2edc2b083f522e47061dc1bf595725cae049158b803259327290e467f97091ad6a54f92aa57dd7 SHA512 f9c1577479aac246609a9e0086014bcb13db88eb5bb7aaf19043bad9593c18eac1d38774e57a4ea955065e1141f3665a97101c591dfca92ad76ea0d6e5705c65 -DIST thunderbird-78.10.1-cs.xpi 635343 BLAKE2B b00be83eeea5827e9550f39870b2566bb6a0c5db68160e523f817a56b7436a6184691d0adfa20f6876ae7ad23daa0920ea807f7840e5529b716fef81e21220b4 SHA512 d5bbd28dd71cd8d98bc1ad0692d9af1f805633cb66b728481256c4d37977c033f27eb85d149ab392b9cf0c8af43afbf7509e2713862df937423cf2a4cd342f0c -DIST thunderbird-78.10.1-cy.xpi 646247 BLAKE2B a6cecf5047ef652e9d9bdc22f32ca6e7afc9f5212e0753b855e5d27327505d37652c39e2ac96e7f8bc77b777a5502b9d1def8d4b5498a90238c8d7578d223689 SHA512 2ed8b464861caf62ca6b5e3073311f8252fa5c581cbffd40dc7351f81aee86498125bb9fe445e99b5b71b916bd0ce75f867eab8c48f520badbcd5c0cd62bda4c -DIST thunderbird-78.10.1-da.xpi 620985 BLAKE2B f9911211bc4f51b5e4c3952150724d0288c030d3865c4c0c87ab7eb10ad0ea7685b832df8837e0182a9d8f6ee967ddb3b7de4d1df6f48be7310350f7663cc7d7 SHA512 44de70b4ffc37d42bb59da4568caba05ca1672ad0dc5dfd1a2ff17d32841ea25794cd3332ed0a30a1a8e9f9480189bc8718bd95336f5af490031bae75d6dbf02 -DIST thunderbird-78.10.1-de.xpi 665195 BLAKE2B 17d3b219b30610189c5581a8c568f8dd368a01f319384ceaaceaaea1cfb57976df99b28a9b03552f03763e864304672584bd567965fdaaff46c5232a2d41c160 SHA512 aa604dc2abb9278956830aeed64307c9761551300b4c0d7e82b6ae9c33eff72341a88bc7849f65f4ccb8e6c09b48997286d78c90a872831e80148785f1efa0ee -DIST thunderbird-78.10.1-dsb.xpi 666778 BLAKE2B 48b503194cdba6c30cb2282d2c0e46d2d7c66fb8b83e6f08b1ec4e855e1c3451018af72f9c6a7820b5adbde6cd5a0ffdf9cfdee83ff00576466a8e8ceeeab2bd SHA512 863520dfb725b2b782fac5bb0f6463e0d36f09c66e4cdfa40b68efc3c85265ac5f64773a1c0f163ff83a70eb91efd5750c5859780f76281a05def2319803387e -DIST thunderbird-78.10.1-el.xpi 774452 BLAKE2B 33a080424361dbb60efd2c62df74f0bd116e95ae2495774dcc4a7101d21f0194b97d0723fe95b4b6cfa5a2e9f811ed42290eebd3641955d8774c3c15d6a8481a SHA512 e25158c4857be6766d60093ac798b44847f59a27c93c19dff9c9cd55d4745da11e31bfe460a467ccadce9fdae53f00f0a290ff2c9aa55afa86161006f6d3ac88 -DIST thunderbird-78.10.1-en-CA.xpi 611772 BLAKE2B 45bbc9a72f04f268d360fa96bddecb02cbce5ca3dfd8c0b23a3fc059194d32ed87157b629972f1f7e601ccc107cc96219d669b43e4d696d8c266442a23e90e1a SHA512 408dc313a1ed84450243051ddd04c94f587649bddff2e8953f5f3affb418b76984c8bc2902974a7c5eb6f6c602cd13b4316fbcc05b7d4d16ed4b39ab597012a8 -DIST thunderbird-78.10.1-en-GB.xpi 611185 BLAKE2B b4e221ea35e8000d36c59839e6b730639a74a7e3207efd282c75924b0d2a004e2bfe478b666097c0c9e80ee6af393b879306b12d47b5088b38000ba5e6f8ecd9 SHA512 b5122a65669ef8e088412a682f076585fe4adb85236aecff7d0c394e5729966166f580ee04b2b998d7e5c302cfd8a90777a8e54c063072f57cd5880746cf559a -DIST thunderbird-78.10.1-es-AR.xpi 657793 BLAKE2B ae730d2151b21c09447b3a47b6fc0e4f79bb804ae6a3683a40d2a7d3984f6b7b0c137ec2486004fd3dd44029c5e10a74d59744fdda13bbfae34fb1d89043e2f5 SHA512 2454efed76f115012f01ce09d6b34d069dfe0dec3bbc54e66e91fc9ba2c3deb315f0b0d940148f66b69034c10e380199da1449192513d34fc5dac2c6fb7a1bbb -DIST thunderbird-78.10.1-es-ES.xpi 569803 BLAKE2B ab49540402f97945d55095ffbc6140cd9181dff11c7c406641f696f15041bc64f0bb9157eb6d73b9e50d2e4cf720a0065bff5d829792188fe074b4d82a7551ef SHA512 091fd1d6ca2e5b33d75184241a21f702501d776fc97361942e8c3a0fa5bd2417ae10f39529ab2269d7a18ae4321d20c03503a6a4e48da5f1c31cbbd12f7b25f6 -DIST thunderbird-78.10.1-et.xpi 597731 BLAKE2B 0357921de11aa4c7023015a31cc14f9c71f086c80539a30843e9f5f6c4cc57d916193c199cedfcc3e025c15b8e8bb9cfd1737da50430b51d688b816b1671b45d SHA512 c97377e5e9b2a61da6006b9d94d6072e50d3f2158ed3833720a8bfc7e7b4c6cf9298119f3a25c90ef2450dcbf7ae470a95afdd5b1f130c2f955cb6ebb91e99ad -DIST thunderbird-78.10.1-eu.xpi 632962 BLAKE2B ee37ef26f71c32a7fe4c9f8aa0655e74215f18e3c5f52ddd0d8f26c2661f382ebf184aced06fe0bc26c23a2f1af98e455b0503ec357c9af6b688098d49f058e9 SHA512 8475def83fbd5394ba693b4ac13f9f4bfc871068f6ea920d58c1101600223c2aa20f5d73d79ae00a1fb7910bc68dab9d6ae6182d5cd26cf05ff728401ea07ad6 -DIST thunderbird-78.10.1-fa.xpi 639751 BLAKE2B 0a75ede733c3d878aad5e15086df60e88686ecc51e4b33ebd7005f8f090009bc9c3a68d050ca77a1ea22eea64d3d87ede5b587346d4d5d6ede99cdbd23c9a9e4 SHA512 4afa939e38533be5f5b693a03f87540b3ca4a97545fcff018c816ef347ed48f41f184463a04cb2aa00cf7a2250b55749862d5463340c6b91632da0c22e28a481 -DIST thunderbird-78.10.1-fi.xpi 642453 BLAKE2B f167972ffdcb6acba8d2b4064971ece460595c56eaad9e9196b0ac82645669596507b3fcc9caa3befe212233259af1d8d4964ca6fa0e23dcd8b5b4062a2cb63c SHA512 5c012f08cd3866e47498d5b33db74df95e182b7ce576b8434baf03d36c612a370fd34598fca13e106112ee11e7bdba11144b6c18c34185a1457a6c04fd878e6f -DIST thunderbird-78.10.1-fr.xpi 669502 BLAKE2B 64ccc9df17608944ecd06d7de5e0678d1dd2ddce464b5ba958d862d4085de71a32140c347731766860910c834017f571895d4adc66d53dd8b07002a6cf4addf5 SHA512 0fa7409296f05f53520cf5194c5e01f5d342d433db9da92fa58d7bff8067ec179d532553d40c6e0fc4972628fd6f4fb6a929ea5c7a178c43f50c7e0bfb17a2c0 -DIST thunderbird-78.10.1-fy-NL.xpi 653075 BLAKE2B ece183399f66ee9d69508622508a83c7c6cc129c737bd1232b096c2010b93024632466fe7bb7ab516787a30c886f5d9a2d4a3ae4ee8d59a051496dd9b31af17a SHA512 434167511d8501a1462a028f04311d539126f79f44cf47c72e68ff4d4b10d821f24f67dcb2f9dae0a8bbf4ce50019e600c62fe38359ab235ae1adf53e63e7dd0 -DIST thunderbird-78.10.1-ga-IE.xpi 600714 BLAKE2B 71d8f36d3e169feee6f966dc7703e05a5894db2d8488ce26ff3451e9b99ebd7891356ff5400acfebadf18bb0bcfc355f45d88b2399b50e5bed8b0c787a25650a SHA512 da3967dab052adfe6df82aae32ac66e4df13b0b22183621c1ebfb45cb8f1c50cfd2b461e69100221572966bff8e30f6187450353aea27e4c9c4570e0f98fcfe8 -DIST thunderbird-78.10.1-gd.xpi 609386 BLAKE2B f7e0d712bd7ca410578eaf892dbe22943d8f54b11bd8f74751990992b80f58c52ed5f51459c9426cebf6f3ce43387a200c3ba2d2fbbb04c5cad646f25c13d213 SHA512 17633ed107da6c709d8aa6fdce523f8aff7d7dd79dda98aac5a7a43c036655277c1f9e7572a260bec18e659a6c3d9887e37b3055a06be61cb3d730bc36072a1e -DIST thunderbird-78.10.1-gl.xpi 615724 BLAKE2B bf7f6a45533aba198a7517fb8bdd3fba83886f268d265b1449fede6b714ba50aa9e4c5ead1245194385a69e6e98dc8e56727e3a38a9c7b0aa555d9d7ffc1e17c SHA512 dc894a236f32356fdb7eb347debfed91a797adedfb2b752f1c47f03e93770530f5d717cc2f09c9e6955a9e1dc0068ae8ddf37209defcc238045f4e4e2602c7ed -DIST thunderbird-78.10.1-he.xpi 640493 BLAKE2B 90d0a2c5fbac9e8c76281575dcbcd17b79f45ea909c9ff20c50d9907c01771dd9d09bb5fedf37c6c50509ea19becdffc420640eac253ff8b529f0e47824c3817 SHA512 f2b1468795e18cff843baf78df020e63421bebe3e774373ccd32b32687bb9f10e75bf2493fd57f947a0325ca43b74ea3324504f8be8d50aba6e6ae76e93d1cf0 -DIST thunderbird-78.10.1-hr.xpi 629029 BLAKE2B fda05d088cadfd07c7f0d00a9d4385ec6d1627b7bd76649fbe1ed2eef2c77d94bbb6afee15de799fa6afaf88aa9b748d6080fe9c191d3acbf3839513c6dd6fbf SHA512 770ea1e23de6097d2437927390f01e7d692ac4d66a373d6d06600a4f076e2f5877860f3a490b95719b938d3e158d2e43b47f7ebfafc7bc14d31fc13aaabf12e4 -DIST thunderbird-78.10.1-hsb.xpi 668607 BLAKE2B 6f8a9c2f6f2c9c0ccc84be405625cbe4a7cc50a03bb88b099cd63bfd324d63eb64a67fa2151be5b51eae1cc4830dea906b01345e13d2539a642aceb3f31844c6 SHA512 74a8b48f443bee735efc9af3d5a76b5b0d506c21955a4403fb9985a8769106e119482e2a65eb5fbc9ed4e3e64abeec279fb33df81bf0f7a5fedd9f0bb60d8c7b -DIST thunderbird-78.10.1-hu.xpi 679839 BLAKE2B e8cfc9d566331fa7250e65b3340bc32edd868cd921e5669dd2ab6f768cf5e0257c70ffe2a0d709f8689672ffe8957d412dab685862f9ed7adf802a14cad51fa9 SHA512 781df7540833ba1699a4d4616c6f01c90916cddfe4326e961243bb22926b51e0e656647578191d669cdd36e88542120a4044799692128c8ecc53d6ac7415f89c -DIST thunderbird-78.10.1-hy-AM.xpi 713324 BLAKE2B 35287559ec8e5b25d9bbc7e7906dad617c011a452cf2666f14f00bdc98d994d2d1126e385c1d749179040da797abd71b69b64e11bfef082c4b960605a84a163c SHA512 55b92bac02f8901eda092b2b9caa7fed42f757578e7ea021282e996cb3731e4d00d26be83fad4dd8b8e261587dca3f4db41ef7f59f8683497882aa7c1918c015 -DIST thunderbird-78.10.1-id.xpi 620671 BLAKE2B c44c09b1cc490e6dae0d46720e7094b0f2206ec1fec3a43238c1b8a733eb810bb06fd723e4d37fd39a86b85842f052de950e55896e59ab7ce0bd7d00f2ca6234 SHA512 39431b80eed8b32103ff731247b612b9a6e05cd3cf253486ce7cb5feb67a34b537faddef203331f0e8598bcda0dcfd7ecffcd7ff34f1faa1080102bc2a0bb17d -DIST thunderbird-78.10.1-is.xpi 581640 BLAKE2B af122a5c26c6239cbfdc400540cc1a5ec1e84bdad317715551e8cdad0104207df1a52b542a1a2472db8bc7101089f089cf143226cd6625d2b2a6f826c9dd74d6 SHA512 a1e0087386d08fcc7812fdae2338785644262796d7eee89cbce2645b0f6f4bd3b22399d6609464b65327b18f0cccf0bd28e7d830a14b2ff83fd9c97eb72d5a23 -DIST thunderbird-78.10.1-it.xpi 572963 BLAKE2B 0e423d5d0bcc033b4fce744bf9bbd799f894b444124bcb409f944129ea453e19c62fa4d3b4d2d0ef46ef120b3e66eb35f9588f586e9957ded096d49033059a66 SHA512 f77d989af80bce6e512fdf21041164829745d4531647d7cf916d32e009815b7ef56ff81d03d3124ae75ff82684299b7a8fb35462734439fb18d3f4f7306b186b -DIST thunderbird-78.10.1-ja.xpi 722457 BLAKE2B 10108dad764b367ff877f337feb577cea3654181ff87d3ade3994e95f02c8f8cecf3489b0ae72f48d5a95aa025ceb03b872417b7eccf87cf0ea96e9ec897a5bc SHA512 4d1b37b7dcf8c8fd5c71d27faad152d8f158acedf59764d37df1fb3830c25ca0fd8eba2fa28c7f3b171b2305f567783aa1b64dd476a5a41e8b1801c5fa88272f -DIST thunderbird-78.10.1-ka.xpi 717012 BLAKE2B adf49de3345cb15f97cd8fad208dac1b9a2355d21ffa192ae5a230d112287d8c67cc6939b520c74e85bd0aa0ead4a342e0f5c8c8b1808482a95a0930ee5be0d1 SHA512 d64930e76c3cbe568d9b44fbde63fe57bef18c86f5e4aee13f99564db519e5a31a3162c348aa236f4280faf2819154339ec7f6142b3f8478e48f1e115cfe1902 -DIST thunderbird-78.10.1-kab.xpi 651917 BLAKE2B 734d614b0df7d5b2fc433aee2bc7037fbe94411980f97720b602bcb5f9c1efc406f242dc8852a1f82da7729c15024a48ee30cbc34090bf8ee0330ce278366e70 SHA512 37f715ae79d0aed7af095c8c987260a55348d72d68d3ca0534a6c144dc05ef66ad1880db666cbf7d328f00e6e33755d498d57c37376314d730b1d904d177a702 -DIST thunderbird-78.10.1-kk.xpi 720470 BLAKE2B fbebe34b651e938756f9f62d2386c6624ef77bb771ec39b966ad192d114ee39398e986f649bf41554bb8c793efea7b81808673a22c6dbb82b559e88d2352fba3 SHA512 2e2a86a1a0ed1479a9f107c79ee39b59232e824fbe12f92e1e1537788228cfe9fe3d321d7ca174a8a68f15b25a19be4931d80d9de4adb19ffb2525d934fe2402 -DIST thunderbird-78.10.1-ko.xpi 688212 BLAKE2B 78bad395f3505d8ad7ed553606daf71e0b0e1356e57ca619c50106c22c8f2ee1ec4cefd0f45b6c811a78baf86225d0f103149277ee85e97e85bd669c464399db SHA512 3b5f4fda23f12c94339a13a904c320c14bc9a94d1dcf82a5a2e768f34575dae2d882a78b8bb41d707b6fbffbe606cf4e75458a27d33263504dab7fa7199aae13 -DIST thunderbird-78.10.1-lt.xpi 660288 BLAKE2B 16e726ba97f9877beec7a85510c9c9f647a1d193a8f4b3f69af7d4c4967a8d60bf4ebbdd6a19ade28ba4acad537da66f13e698e2c3ee7cea380284a03eb831f4 SHA512 5379f94b4ae248941f607a1d626cd43da2ceb2981ef5d3c429e15c079c434928195feceefe51d3ad2618de97494af6c3301a3457290bde05ba9d494a8e1c72e1 -DIST thunderbird-78.10.1-ms.xpi 572176 BLAKE2B 073a67fbe39d4b698375a2acee59aa5d3d4376d559fd9e1624f5a34d41543d4ee1bdc63b796a4ca7827d713be25b7085a12f398ef1593e2cda145799eb402db8 SHA512 0e37b81d2549c3fcb919a9f81d2d748d2bca53b7cd83fe07427f5ec096beb806b1394a4609c6bb69a18b64cb3dd9360d50f08a3e3fc1d56fd8dd8377a9fa7855 -DIST thunderbird-78.10.1-nb-NO.xpi 637237 BLAKE2B 499bfa520ea27aeb0e836847730227160f843daaba09ac7884f59567d5cda2a2acf34c6ae8e6a0c7b80269b6ef84ebcc2f112eb7b222049f806d9e67bd44a1d5 SHA512 dc0f3b19559542714dc1c10c8b92cc67116ff6fc46d0a6df5cc89e405117678b36dc8c36d02dc08b239288f2ceb97ba50c67eb48fbb3265f91932ae17727ff11 -DIST thunderbird-78.10.1-nl.xpi 644360 BLAKE2B 8ce344355638ddf835de00552a7f7822aab8aa2307ea561e63411c6bb95cb40c5fd5ed2824867d6cbb9837ea0faace3e7cfd2e5a5bbfe0c6f9a1006b6072e90e SHA512 2d4860f3a4ecf873c7825913edce78a810a73fef0fa7193919f1bda5d921760e88dbf66de31b509870b57d7025201d52129b165301864b869acc458dcec2569c -DIST thunderbird-78.10.1-nn-NO.xpi 640694 BLAKE2B 784330f15e0633215596c0efbd1d4061705fdce88018ed73c038b5854668a873f32f333f090924eed992352c39f6389ce7113bfb5c7c1e9a2af0134948ff0aa0 SHA512 f1fd2f5a1d73922fb87c48583c2da1c01737f9bc0cbff7d71dfaa177f1fd1b712d81997a97cb1f0360d02c3f923cd88f910effd56606d6b5f8ddc779d6790fe4 -DIST thunderbird-78.10.1-pa-IN.xpi 633221 BLAKE2B 17ca4c75c8633c7b87b7677b6c39a13bf37fe5bb8c3bc3df45f0ed1681f364aca98d5745500bf52e0a258da694bb76e1b7f0a2ae5bc0c3938138edae901f13db SHA512 bbba80e3ea703c46f72808642477970caa4896fc03b0275ed815c1aacce71d5e25686b08dd3af3da0740515876739a8b11a003d59a009da64900956644a81a2f -DIST thunderbird-78.10.1-pl.xpi 637126 BLAKE2B 3b8dda76317b1c4336e45a58c54b48398f772cb6e09018d02bbf01749bb05e2dcd8ba547f4138927e7777e6f6ec9df5a7a5de32921cf9b2a3f4b7d78e7bceb98 SHA512 4745909f5880872d3b24b676e520ee5468458d5fdd5b6576a2399f202d6d2b7c3076268b22a537db3a65c87d3d98c3aa33bdb9b510ccedb1802f0cd027b8cb3b -DIST thunderbird-78.10.1-pt-BR.xpi 649410 BLAKE2B 21b66dfa6b47ba541292eb50f59ae4633f8cb2cc0c06c0812ce335501c920bb3208015e8ef58e16d3616b5864abd4be22359eae82741152e478fe2dee513fa7f SHA512 cc5054a30147ec346ea50105415f69e6c59f7d78d5941e54d2e323cb80c4bb3d26782d99e91bec079fd463e7bfd3a6baa91cfd8136e8d283408c1b3cf653e0c2 -DIST thunderbird-78.10.1-pt-PT.xpi 655495 BLAKE2B a92a0b16346dfbb058c5f892b84eda07cde3fc8fb58eb118f18beac8cf0545d4fe34d21629a37dc9df97bf780483f254ee2556e864d0370c472883025198499f SHA512 a222b49731a4190f2923e24cd248148df3b4d3a1f71d8f696ba395c6b4ba4d701443024f1065b5fc6fbb79ad7a8bc82a31184934018969acb4e3a176babdb86d -DIST thunderbird-78.10.1-rm.xpi 646537 BLAKE2B 89aba571d4de7591690824d2b01bb27773f935fc91adb2c094d2f6de3fe4fb01ee800dd5cf8e773755196fd3dd5cc9b1c79c657288aa24274375b5d5ccf684ec SHA512 198abe0685551aa73cdae9f73b7f8d8ceb77e379da446cad87cd093616e431700b50ca482ee07ee4a2ee04a127a2e17e43f62445c733fb10f63fa759843d2f9f -DIST thunderbird-78.10.1-ro.xpi 662633 BLAKE2B 11d68ce8457bd8d4e89ffcaad338db3bbc71421a260d38e0b371a9dc79987c3438e57cc624c904d256457656e023799eefe7fb2065122754f10276e4443a186d SHA512 5532f26e3e872b1241d448542a5a96682f72c93ee44921bdef6e55a457b75c95e0011e7c1d9e3d772872a5225c7982875b6d830851ca3308f5ccd34b7ed3366b -DIST thunderbird-78.10.1-ru.xpi 756194 BLAKE2B bca3852e5332165975a2a156055462740723db8cae888cc6207d4674f9ee0233da048a4e4d3f9e08d814d5df61cd758ad3814723e005bf8adc7f62b614a122a1 SHA512 1b29ca0747830e609d41ed1fcdd70d208cb9e71394055982efae425ccbcfe9d29a0cc675e739d1be346b140fb9463998c37d22c97ed0a316756fe219914e26d4 -DIST thunderbird-78.10.1-si.xpi 651107 BLAKE2B 355a86c9978403a5b535e09ab6d5aeabac7f0d3d13c0cfad8f4b1081cebcd2b683f6b87dcc4c5b9640e1f43023b74c580d950262c5baf2a6561ad85f341c32ff SHA512 78c1df6786238e55231b7c3fc7bf7248deb1be5e88d2b18ce09e8df3c4aaddacd4c598bf74e56c1486f0a402403d45ddc454a13a8a347e8d2602c90bf4365c07 -DIST thunderbird-78.10.1-sk.xpi 643224 BLAKE2B baa8b1d4ab7f86e9ddfeca53ac58615e51c2f59aa473ffd20ab3a46d60474e31756decbb17821043169d159f8fb69c2634202212092d28cf8aec56dbf8e0a536 SHA512 b280ea2dda6be6107fe92f0adac1f514a3c9d34b5b7b2c18c55fcc92e2102957f7cfdf53215706bf46b3ca96ba13f66f2e53e9863e918cf8b027adfc7ca62d76 -DIST thunderbird-78.10.1-sl.xpi 632384 BLAKE2B ee76ab6be65789d70c30e63c8bb2855c25782caf01412d11a051863eb2e241d91953a2c8e9c7813b955506b2729ce1be889cc6ee685b3bdabe53457f91425eca SHA512 1d0a83b5e9669128ac2209c5d9744b1775e570d23864aace080f9f0756b7d5948285f0cfe73686be78f8380c355cab37eaefb2aaf38a818fe479f2866ea83ada -DIST thunderbird-78.10.1-sq.xpi 657823 BLAKE2B 04766fe017975b0af9aefdbc7413acb9ce2903daf7c56fcd84725b18a3c35a96616823b07c469893589e079c26c30c4c2ed5541f959c231eaeee8a8e7df6c80d SHA512 206bc26b85b748bc482fa2d59fa08dc60847477f48021712faddf566c15ab96a5fcd78ba9e36fbd416b791a1f72cc60bb0bad3ff3fa091bda1a6b5f37e95f6d3 -DIST thunderbird-78.10.1-sr.xpi 683117 BLAKE2B 44fe02cc8586529e50f79b4e4835cae0d339d77f97eace0294ba0b12710cf3ccc7cf29fc25900b5f733d7c568887a649e36a6a2b43637ac4e706f06b6d59c601 SHA512 31ede6e790a4abfdd286b5cfa3426704415a0d68e1efcb3cb8fdd41caa2c8e6165165903b2b5632bb78524586bab7efd23f4b4dcadad0d1a02b681db5f462765 -DIST thunderbird-78.10.1-sv-SE.xpi 648861 BLAKE2B 5f6478e1564d79db67281e1c42c1219c0d292707582c116c9b9bb16a5283e8ff515d9a27d492916b4d8473f97950e2081632efe13ff356430d2d47dc0e678df3 SHA512 99616dd578b086a60beddbd8456542ff4af79ce41ad827e9121ffb02480a3e5f5c55e0d080e831fcf84a90a13c86aa8cfca7fe7b3b3a1f28c7cc683871ea667c -DIST thunderbird-78.10.1-th.xpi 712034 BLAKE2B ca6a6c7891d2e0dfbc1a1e79e53530ffa8b6041e35249d85fa5cff233cd833ef7df99b86c51fe86299b3ba2843e29c0ea2d825c3f91696a8412eb0c2e22d0f58 SHA512 fa9238d9ad4cf38af499779bd07fb4c652f957d146e0e517cd0090aaaeb68ec1604b89ce384cbae2b38998e7e6c59efd5c22553d3f5d3d2a20e8fd0ad5732fb5 -DIST thunderbird-78.10.1-tr.xpi 649074 BLAKE2B eccd23607866d07c6d00d24326d761bf96f7790107fd984c151d8d1faf0ead74b653c0e7c468c42c8584294865816d2326ac9f7a559f8decccbae973a629d8b2 SHA512 9a809264134b8357892211638eb18b722d2913355b9c1f5eb50a18bacefa8c3403f068f15232d0e94ca72959691028c0588d4bf3035e36ae427133ee7cc2675f -DIST thunderbird-78.10.1-uz.xpi 586605 BLAKE2B 27159277eb214f35017c654f189cba5932ce3f9172b8d42c8bd5a08bd54c02928f3f58220c3677e8dcaaed1329ce6b10422dd6feb237776e4c7ffd5c1dddd9b2 SHA512 fc01d58803accd06b8ef4f9a50023522a370a69fa44af00f765239ed37f84f1f220383ed426e74a8c1e19fc8f3dc3b864675fbedd9cdb1faec58e788a7383c85 -DIST thunderbird-78.10.1-vi.xpi 674610 BLAKE2B f14923a00644e107072179603d06c072cfa3e2726658859548c366fd1ea9878f43a431907a1abfd5ad454fe21fae8bb4d715ed82f0e89795d72a56125995b46f SHA512 ef2c57eeb9c5c823966fffed1986ff09ad0529807035ee183b03754df0c9a6993c63afff9f64ed65bcb995027c5aacd04af212c1e94c81f280ba1785360b4d09 -DIST thunderbird-78.10.1-zh-CN.xpi 687177 BLAKE2B 43da21f8faf74f9392ede14bdc8bdc7ba741724cbfae91ab6dcd9e3a8ad41e834355a3069e52acfdbf5bb3685f53e275cc4aeddfb987939ebfb6b1329384cb01 SHA512 2275a1e189d806f98c59a19231ed03683aed60bc08969cbcd9d3650b9b545ba3f2cc143b536a6689bb9b14c930048cda85d038267de3a75d44c3132dc474238b -DIST thunderbird-78.10.1-zh-TW.xpi 687622 BLAKE2B d3ff5da0323d6529a142ca20d29ce06397fb6761282ee6f4b8dc03ea4a79874f9db5856e5980de8cb7b2e68332b3589121768c1abefe9a9e5af29dc1cbafec68 SHA512 b4f85ca2ae438265fa9fdd99910d292937e78687a74cf12cc33e1a693e38cb76820a0e0c45f50de39cd2c4a3b911b5988eddbedb52a15379121590c9383ffac0 -DIST thunderbird-78.10.1.source.tar.xz 354316236 BLAKE2B 756f471de37e96f9e9733864747b5d9270dbd67592e02b3632f80d815af95ce421a913f3f8d9454d5b5885e5506a6dad36f7b7c20ab46c371a5ba594cc51e681 SHA512 fffae4bcf2411834a86b5d1fd7c3fa8dbc32763061de4afef44ec95d55a8c4ab94576f54bd8b8c9aef22e0c4a09b48a381ba2ddafc31be60ef79b81e6835e4db diff --git a/mail-client/thunderbird/files/disable-auto-update.policy.json b/mail-client/thunderbird/files/disable-auto-update.policy.json deleted file mode 100644 index f3662202..00000000 --- a/mail-client/thunderbird/files/disable-auto-update.policy.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "policies": { - "DisableAppUpdate": true - } -} diff --git a/mail-client/thunderbird/files/distribution.ini b/mail-client/thunderbird/files/distribution.ini deleted file mode 100644 index ab0d1491..00000000 --- a/mail-client/thunderbird/files/distribution.ini +++ /dev/null @@ -1,9 +0,0 @@ -[Global] -id=gentoo -version=1.0 -about=Mozilla Thunderbird for Gentoo -about.de=Mozilla Thunderbird für Gentoo - -[Preferences] -app.distributor="gentoo" -app.distributor.channel="gentoo" diff --git a/mail-client/thunderbird/files/gentoo-default-prefs.js b/mail-client/thunderbird/files/gentoo-default-prefs.js deleted file mode 100644 index 4b5121a8..00000000 --- a/mail-client/thunderbird/files/gentoo-default-prefs.js +++ /dev/null @@ -1,7 +0,0 @@ -pref("general.smoothScroll", true); -pref("general.autoScroll", false); -pref("general.useragent.locale", "chrome://global/locale/intl.properties"); -pref("mail.shell.checkDefaultClient", false); -pref("intl.locale.requested", ""); -/* Disable DoH by default */ -pref("network.trr.mode", 5); diff --git a/mail-client/thunderbird/files/gentoo-hwaccel-prefs.js b/mail-client/thunderbird/files/gentoo-hwaccel-prefs.js deleted file mode 100644 index a00144a7..00000000 --- a/mail-client/thunderbird/files/gentoo-hwaccel-prefs.js +++ /dev/null @@ -1,3 +0,0 @@ -/* Force hardware accelerated rendering due to USE=hwaccel */ -pref("layers.acceleration.force-enabled", true); -pref("webgl.force-enabled", true); diff --git a/mail-client/thunderbird/files/icon/thunderbird-r2.desktop b/mail-client/thunderbird/files/icon/thunderbird-r2.desktop deleted file mode 100644 index 9bcd414e..00000000 --- a/mail-client/thunderbird/files/icon/thunderbird-r2.desktop +++ /dev/null @@ -1,30 +0,0 @@ -[Desktop Entry] -Version=1.0 -Name=@NAME@ -GenericName=Email -Comment=Send and Receive Email -Comment[ca]=Llegiu i escriviu correu -Comment[cs]=Čtení a psaní pošty -Comment[de]=Emails lesen und verfassen -Comment[fi]=Lue ja kirjoita sähköposteja -Comment[fr]=Lire et écrire des courriels -Comment[it]=Leggere e scrivere email -Comment[ja]=メールの読み書き -Comment[pl]=Czytanie i wysyłanie e-maili -Comment[pt_BR]=Ler e escrever suas mensagens -Comment[sv]=Läs och skriv e-post -Exec=@EXEC@ %u -Icon=@ICON@ -Terminal=false -Type=Application -MimeType=message/rfc822;text/calendar;x-scheme-handler/mailto; -StartupNotify=true -Categories=Network;Email;Calendar; -Keywords=email;messages;calendar -Actions=profile-manager-window; - -[Desktop Action profile-manager-window] -Name=Open the Profile Manager -Name[de]=Profilverwaltung öffnen -Name[cs]=Správa profilů -Exec=@EXEC@ --ProfileManager diff --git a/mail-client/thunderbird/files/thunderbird-wayland.sh b/mail-client/thunderbird/files/thunderbird-wayland.sh deleted file mode 100644 index 2cfdc5e1..00000000 --- a/mail-client/thunderbird/files/thunderbird-wayland.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -# -# Run Mozilla Thunderbird under Wayland -# -export MOZ_ENABLE_WAYLAND=1 -exec @PREFIX@/bin/thunderbird "$@" diff --git a/mail-client/thunderbird/files/thunderbird-x11.sh b/mail-client/thunderbird/files/thunderbird-x11.sh deleted file mode 100644 index 2f4e410c..00000000 --- a/mail-client/thunderbird/files/thunderbird-x11.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -# -# Run Mozilla Thunderbird on X11 -# -export MOZ_DISABLE_WAYLAND=1 -exec @PREFIX@/bin/thunderbird "$@" diff --git a/mail-client/thunderbird/files/thunderbird.sh b/mail-client/thunderbird/files/thunderbird.sh deleted file mode 100644 index 7345cfcd..00000000 --- a/mail-client/thunderbird/files/thunderbird.sh +++ /dev/null @@ -1,128 +0,0 @@ -#!/bin/bash - -## -## Usage: -## -## $ thunderbird -## -## This script is meant to run Mozilla Thunderbird in Gentoo. - -cmdname=$(basename "$0") - -## -## Variables -## -MOZ_ARCH=$(uname -m) -case ${MOZ_ARCH} in - x86_64|s390x|sparc64) - MOZ_LIB_DIR="@PREFIX@/lib64" - SECONDARY_LIB_DIR="@PREFIX@/lib" - ;; - *) - MOZ_LIB_DIR="@PREFIX@/lib" - SECONDARY_LIB_DIR="@PREFIX@/lib64" - ;; -esac - -MOZ_THUNDERBIRD_FILE="thunderbird" - -if [[ ! -r ${MOZ_LIB_DIR}/thunderbird/${MOZ_THUNDERBIRD_FILE} ]]; then - if [[ ! -r ${SECONDARY_LIB_DIR}/thunderbird/${MOZ_THUNDERBIRD_FILE} ]]; then - echo "Error: ${MOZ_LIB_DIR}/thunderbird/${MOZ_THUNDERBIRD_FILE} not found" >&2 - if [[ -d $SECONDARY_LIB_DIR ]]; then - echo " ${SECONDARY_LIB_DIR}/thunderbird/${MOZ_THUNDERBIRD_FILE} not found" >&2 - fi - exit 1 - fi - MOZ_LIB_DIR="$SECONDARY_LIB_DIR" -fi -MOZILLA_FIVE_HOME="${MOZ_LIB_DIR}/thunderbird" -MOZ_EXTENSIONS_PROFILE_DIR="${HOME}/.mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}" -MOZ_PROGRAM="${MOZILLA_FIVE_HOME}/${MOZ_THUNDERBIRD_FILE}" -DESKTOP_FILE="thunderbird" - -## -## Enable Wayland backend? -## -if @DEFAULT_WAYLAND@ && [[ -z ${MOZ_DISABLE_WAYLAND} ]]; then - if [[ -n "$WAYLAND_DISPLAY" ]]; then - DESKTOP_FILE="thunderbird-wayland" - export MOZ_ENABLE_WAYLAND=1 - fi -elif [[ -n ${MOZ_DISABLE_WAYLAND} ]]; then - DESKTOP_FILE="thunderbird-x11" -fi - -## -## Use D-Bus remote exclusively when there's Wayland display. -## -if [[ -n "${WAYLAND_DISPLAY}" ]]; then - export MOZ_DBUS_REMOTE=1 -fi - -## -## Make sure that we set the plugin path -## -MOZ_PLUGIN_DIR="plugins" - -if [[ -n "${MOZ_PLUGIN_PATH}" ]]; then - MOZ_PLUGIN_PATH=${MOZ_PLUGIN_PATH}:${MOZ_LIB_DIR}/mozilla/${MOZ_PLUGIN_DIR} -else - MOZ_PLUGIN_PATH=${MOZ_LIB_DIR}/mozilla/${MOZ_PLUGIN_DIR} -fi - -if [[ -d "${SECONDARY_LIB_DIR}/mozilla/${MOZ_PLUGIN_DIR}" ]]; then - MOZ_PLUGIN_PATH=${MOZ_PLUGIN_PATH}:${SECONDARY_LIB_DIR}/mozilla/${MOZ_PLUGIN_DIR} -fi - -export MOZ_PLUGIN_PATH - -## -## Set MOZ_APP_LAUNCHER for gnome-session -## -export MOZ_APP_LAUNCHER="@PREFIX@/bin/${cmdname}" - -## -## Disable the GNOME crash dialog, Mozilla has its own -## -if [[ "$XDG_CURRENT_DESKTOP" == "GNOME" ]]; then - GNOME_DISABLE_CRASH_DIALOG=1 - export GNOME_DISABLE_CRASH_DIALOG -fi - -## -## Enable Xinput2 (#617344) -## - -# respect user settings -MOZ_USE_XINPUT2=${MOZ_USE_XINPUT2:-auto} - -if [[ ${MOZ_USE_XINPUT2} == auto && -n ${WAYLAND_DISPLAY} ]]; then - # enabling XINPUT2 should be safe for all wayland users - MOZ_USE_XINPUT2=1 -elif [[ ${MOZ_USE_XINPUT2} == auto && ${XDG_CURRENT_DESKTOP^^} == KDE ]]; then - # XINPUT2 is known to cause problems for KWin users - MOZ_USE_XINPUT2=0 -elif [[ ${MOZ_USE_XINPUT2} == auto && ${XDG_CURRENT_DESKTOP^^} == LXQT ]]; then - # LXQt uses KWin - MOZ_USE_XINPUT2=0 -elif [[ ${MOZ_USE_XINPUT2} == auto ]]; then - # should work on Mate, Xfce, FluxBox, OpenBox and all the others ... - MOZ_USE_XINPUT2=1 -fi - -[[ ${MOZ_USE_XINPUT2} != 0 ]] && export MOZ_USE_XINPUT2=${MOZ_USE_XINPUT2} - -# Don't throw "old profile" dialog box. -export MOZ_ALLOW_DOWNGRADE=1 - -## -## Route to the correct .desktop file to get proper -## name and actions -## -if [[ $@ != *"--name "* ]]; then - set -- --name "${DESKTOP_FILE}" "$@" -fi - -# Run the mail client -exec ${MOZ_PROGRAM} "$@" diff --git a/mail-client/thunderbird/thunderbird-78.10.1-r10.ebuild b/mail-client/thunderbird/thunderbird-78.10.1-r10.ebuild deleted file mode 100644 index d96dd2af..00000000 --- a/mail-client/thunderbird/thunderbird-78.10.1-r10.ebuild +++ /dev/null @@ -1,1108 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -FIREFOX_PATCHSET="firefox-78esr-patches-12.tar.xz" - -LLVM_MAX_SLOT=12 - -PYTHON_COMPAT=( python3_{7..9} ) -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 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/~{axs,polynomial-c,whissi}/mozilla/patchsets/${FIREFOX_PATCHSET} -) - -SRC_URI="${MOZ_SRC_BASE_URI}/source/${MOZ_P}.source.tar.xz -> ${MOZ_P_DISTFILES}.source.tar.xz - ${PATCH_URIS[@]}" - -DESCRIPTION="Thunderbird Mail Client" -HOMEPAGE="https://www.mozilla.org/thunderbird" - -KEYWORDS="amd64 ~arm64 ~ppc64 x86" - -SLOT="0/78" -LICENSE="MPL-2.0 GPL-2 LGPL-2.1" -IUSE="+clang cpu_flags_arm_neon dbus debug eme-free - hardened hwaccel jack lto +openh264 pgo pulseaudio selinux - +system-av1 +system-harfbuzz +system-icu +system-jpeg +system-libevent - +system-libvpx +system-webp wayland wifi" - -REQUIRED_USE="wifi? ( dbus )" - -BDEPEND="${PYTHON_DEPS} - app-arch/unzip - app-arch/zip - >=dev-util/cbindgen-0.14.3 - >=net-libs/nodejs-10.21.0 - virtual/pkgconfig - >=virtual/rust-1.41.0 - || ( - ( - sys-devel/clang:12 - sys-devel/llvm:12 - clang? ( - =sys-devel/lld-12* - pgo? ( =sys-libs/compiler-rt-sanitizers-12*[profile] ) - ) - ) - ( - sys-devel/clang:11 - sys-devel/llvm:11 - clang? ( - =sys-devel/lld-11* - pgo? ( =sys-libs/compiler-rt-sanitizers-11*[profile] ) - ) - ) - ( - sys-devel/clang:10 - sys-devel/llvm:10 - clang? ( - =sys-devel/lld-10* - pgo? ( =sys-libs/compiler-rt-sanitizers-10*[profile] ) - ) - ) - ) - lto? ( - !clang? ( sys-devel/binutils[gold] ) - ) - amd64? ( >=dev-lang/yasm-1.1 ) - x86? ( >=dev-lang/yasm-1.1 ) - !system-av1? ( - amd64? ( >=dev-lang/nasm-2.13 ) - x86? ( >=dev-lang/nasm-2.13 ) - )" - -CDEPEND=" - >=dev-libs/nss-3.53.1 - >=dev-libs/nspr-4.25 - dev-libs/atk - dev-libs/expat - >=x11-libs/cairo-1.10[X] - >=x11-libs/gtk+-2.18:2 - >=x11-libs/gtk+-3.4.0:3[X] - x11-libs/gdk-pixbuf - >=x11-libs/pango-1.22.0 - >=media-libs/libpng-1.6.35:0=[apng] - >=media-libs/mesa-10.2:* - media-libs/fontconfig - >=media-libs/freetype-2.4.10 - kernel_linux? ( !pulseaudio? ( media-libs/alsa-lib ) ) - virtual/freedesktop-icon-theme - >=x11-libs/pixman-0.19.2 - >=dev-libs/glib-2.26:2 - >=sys-libs/zlib-1.2.3 - >=dev-libs/libffi-3.0.10:= - media-video/ffmpeg - x11-libs/libX11 - x11-libs/libXcomposite - x11-libs/libXdamage - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libXrender - x11-libs/libXt - dbus? ( - sys-apps/dbus - dev-libs/dbus-glib - ) - system-av1? ( - >=media-libs/dav1d-0.3.0:= - >=media-libs/libaom-1.0.0:= - ) - system-harfbuzz? ( - >=media-libs/harfbuzz-2.6.8:0= - >=media-gfx/graphite2-1.3.13 - ) - system-icu? ( >=dev-libs/icu-67.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-webp? ( >=media-libs/libwebp-1.1.0:0= ) - wifi? ( - kernel_linux? ( - sys-apps/dbus - dev-libs/dbus-glib - net-misc/networkmanager - ) - ) - jack? ( virtual/jack ) - selinux? ( sec-policy/selinux-mozilla )" - -RDEPEND="${CDEPEND} - jack? ( virtual/jack ) - openh264? ( media-libs/openh264:*[plugin] ) - pulseaudio? ( - || ( - media-sound/pulseaudio - >=media-sound/apulse-0.1.12-r4 - ) - ) - selinux? ( sec-policy/selinux-mozilla ) - !<x11-plugins/enigmail-2.2" - -DEPEND="${CDEPEND} - pulseaudio? ( - || ( - media-sound/pulseaudio - >=media-sound/apulse-0.1.12-r4[sdk] - ) - ) - wayland? ( >=x11-libs/gtk+-3.11:3[wayland] ) - amd64? ( virtual/opengl ) - x86? ( virtual/opengl )" - -S="${WORKDIR}/${PN}-${PV%_*}" - -llvm_check_deps() { - if ! has_version -b "sys-devel/clang:${LLVM_SLOT}" ; then - ewarn "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 - ewarn "=sys-devel/lld-${LLVM_SLOT}* is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 - return 1 - fi - - if use pgo ; then - if ! has_version -b "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*" ; then - ewarn "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}* is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 - return 1 - fi - fi - fi - - einfo "Using LLVM slot ${LLVM_SLOT} to build" >&2 -} - -MOZ_LANGS=( - af ar ast be bg br ca cak cs cy da de dsb el en-CA en-GB en-US - es-AR es-ES et eu fa fi fr fy-NL ga-IE gd gl he hr hsb hu hy-AM - id is it ja ka kab kk ko lt ms nb-NO nl nn-NO pa-IN pl pt-BR - pt-PT rm ro ru si sk sl sq sr sv-SE th tr uz vi zh-CN zh-TW -) - -mozilla_set_globals() { - # https://bugs.gentoo.org/587334 - local MOZ_TOO_REGIONALIZED_FOR_L10N=( - fy-NL ga-IE gu-IN hi-IN hy-AM nb-NO ne-NP nn-NO pa-IN sv-SE - ) - - local lang xflag - for lang in "${MOZ_LANGS[@]}" ; do - # en and en_US are handled internally - if [[ ${lang} == en ]] || [[ ${lang} == en-US ]] ; then - continue - fi - - # strip region subtag if $lang is in the list - if has ${lang} "${MOZ_TOO_REGIONALIZED_FOR_L10N[@]}" ; then - xflag=${lang%%-*} - else - xflag=${lang} - fi - - SRC_URI+=" l10n_${xflag/[_@]/-}? (" - SRC_URI+=" ${MOZ_SRC_BASE_URI}/linux-x86_64/xpi/${lang}.xpi -> ${MOZ_P_DISTFILES}-${lang}.xpi" - SRC_URI+=" )" - IUSE+=" l10n_${xflag/[_@]/-}" - done -} -mozilla_set_globals - -moz_clear_vendor_checksums() { - debug-print-function ${FUNCNAME} "$@" - - if [[ ${#} -ne 1 ]] ; then - die "${FUNCNAME} requires exact one argument" - fi - - einfo "Clearing cargo checksums for ${1} ..." - - sed -i \ - -e 's/\("files":{\)[^}]*/\1/' \ - "${S}"/third_party/rust/${1}/.cargo-checksum.json \ - || die -} - -moz_install_xpi() { - debug-print-function ${FUNCNAME} "$@" - - if [[ ${#} -lt 2 ]] ; then - die "${FUNCNAME} requires at least two arguments" - fi - - local DESTDIR=${1} - shift - - insinto "${DESTDIR}" - - local emid xpi_file xpi_tmp_dir - for xpi_file in "${@}" ; do - emid= - xpi_tmp_dir=$(mktemp -d --tmpdir="${T}") - - # Unpack XPI - unzip -qq "${xpi_file}" -d "${xpi_tmp_dir}" || die - - # Determine extension ID - if [[ -f "${xpi_tmp_dir}/install.rdf" ]] ; then - emid=$(sed -n -e '/install-manifest/,$ { /em:id/!d; s/.*[\">]\([^\"<>]*\)[\"<].*/\1/; p; q }' "${xpi_tmp_dir}/install.rdf") - [[ -z "${emid}" ]] && die "failed to determine extension id from install.rdf" - elif [[ -f "${xpi_tmp_dir}/manifest.json" ]] ; then - emid=$(sed -n -e 's/.*"id": "\([^"]*\)".*/\1/p' "${xpi_tmp_dir}/manifest.json") - [[ -z "${emid}" ]] && die "failed to determine extension id from manifest.json" - else - die "failed to determine extension id" - fi - - einfo "Installing ${emid}.xpi into ${ED}${DESTDIR} ..." - newins "${xpi_file}" "${emid}.xpi" - done -} - -mozconfig_add_options_ac() { - debug-print-function ${FUNCNAME} "$@" - - if [[ ${#} -lt 2 ]] ; then - die "${FUNCNAME} requires at least two arguments" - fi - - local reason=${1} - shift - - local option - for option in ${@} ; do - echo "ac_add_options ${option} # ${reason}" >>${MOZCONFIG} - done -} - -mozconfig_add_options_mk() { - debug-print-function ${FUNCNAME} "$@" - - if [[ ${#} -lt 2 ]] ; then - die "${FUNCNAME} requires at least two arguments" - fi - - local reason=${1} - shift - - local option - for option in ${@} ; do - echo "mk_add_options ${option} # ${reason}" >>${MOZCONFIG} - done -} - -mozconfig_use_enable() { - debug-print-function ${FUNCNAME} "$@" - - if [[ ${#} -lt 1 ]] ; then - die "${FUNCNAME} requires at least one arguments" - fi - - local flag=$(use_enable "${@}") - mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" "${flag}" -} - -mozconfig_use_with() { - debug-print-function ${FUNCNAME} "$@" - - if [[ ${#} -lt 1 ]] ; then - die "${FUNCNAME} requires at least one arguments" - fi - - local flag=$(use_with "${@}") - mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" "${flag}" -} - -pkg_pretend() { - if [[ ${MERGE_TYPE} != binary ]] ; then - if use pgo ; then - if ! has usersandbox $FEATURES ; then - die "You must enable usersandbox as X server can not run as root!" - fi - fi - - # Ensure we have enough disk space to compile - if use pgo || use lto || use debug ; then - CHECKREQS_DISK_BUILD="13500M" - else - CHECKREQS_DISK_BUILD="6400M" - fi - - check-reqs_pkg_pretend - fi -} - -pkg_setup() { - if [[ ${MERGE_TYPE} != binary ]] ; then - if use pgo ; then - if ! has userpriv ${FEATURES} ; then - eerror "Building ${PN} with USE=pgo and FEATURES=-userpriv is not supported!" - fi - fi - - # Ensure we have enough disk space to compile - if use pgo || use lto || use debug ; then - CHECKREQS_DISK_BUILD="13500M" - else - CHECKREQS_DISK_BUILD="6400M" - fi - - check-reqs_pkg_setup - - llvm_pkg_setup - - if use clang && use lto ; then - local version_lld=$(ld.lld --version 2>/dev/null | awk '{ print $2 }') - [[ -n ${version_lld} ]] && version_lld=$(ver_cut 1 "${version_lld}") - [[ -z ${version_lld} ]] && die "Failed to read ld.lld version!" - - # temp fix for https://bugs.gentoo.org/768543 - # we can assume that rust 1.{49,50}.0 always uses llvm 11 - local version_rust=$(rustc -Vv 2>/dev/null | grep -F -- 'release:' | awk '{ print $2 }') - [[ -n ${version_rust} ]] && version_rust=$(ver_cut 1-2 "${version_rust}") - [[ -z ${version_rust} ]] && die "Failed to read version from rustc!" - - if ver_test "${version_rust}" -ge "1.49" && ver_test "${version_rust}" -le "1.50" ; then - local version_llvm_rust="11" - else - 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!" - fi - - 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" - 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 ! 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() { - use lto && rm -v "${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch - eapply "${WORKDIR}/firefox-patches" - - # Allow user to apply any additional patches without modifing ebuild - eapply_user - - # Make LTO respect MAKEOPTS - sed -i \ - -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ - "${S}"/build/moz.configure/lto-pgo.configure \ - || die "sed failed to set num_cores" - - # Make ICU respect MAKEOPTS - sed -i \ - -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ - "${S}"/intl/icu_sources_data.py \ - || die "sed failed to set num_cores" - - # sed-in toolchain prefix - sed -i \ - -e "s/objdump/${CHOST}-objdump/" \ - "${S}"/python/mozbuild/mozbuild/configure/check_debug_ranges.py \ - || die "sed failed to set toolchain prefix" - - sed -i \ - -e 's/ccache_stats = None/return None/' \ - "${S}"/python/mozbuild/mozbuild/controller/building.py \ - || die "sed failed to disable ccache stats call" - - einfo "Removing pre-built binaries ..." - find "${S}"/third_party -type f \( -name '*.so' -o -name '*.o' \) -print -delete || die - - # Clearing checksums where we have applied patches - moz_clear_vendor_checksums target-lexicon-0.9.0 - - # Create build dir - BUILD_DIR="${WORKDIR}/${PN}_build" - mkdir -p "${BUILD_DIR}" || die - - # Write API keys to disk - echo -n "${MOZ_API_KEY_GOOGLE//gGaPi/}" > "${S}"/api-google.key || die - echo -n "${MOZ_API_KEY_LOCATION//gGaPi/}" > "${S}"/api-location.key || die - echo -n "${MOZ_API_KEY_MOZILLA//m0ap1/}" > "${S}"/api-mozilla.key || die - - xdg_src_prepare -} - -src_configure() { - # Show flags set at the beginning - einfo "Current BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}" - einfo "Current CFLAGS:\t\t${CFLAGS:-no value set}" - einfo "Current CXXFLAGS:\t\t${CXXFLAGS:-no value set}" - einfo "Current LDFLAGS:\t\t${LDFLAGS:-no value set}" - einfo "Current RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}" - - local have_switched_compiler= - if use clang && ! tc-is-clang ; then - # Force clang - einfo "Enforcing the use of clang due to USE=clang ..." - have_switched_compiler=yes - AR=llvm-ar - CC=${CHOST}-clang - CXX=${CHOST}-clang++ - NM=llvm-nm - RANLIB=llvm-ranlib - elif ! use clang && ! tc-is-gcc ; then - # Force gcc - have_switched_compiler=yes - einfo "Enforcing the use of gcc due to USE=-clang ..." - AR=gcc-ar - CC=${CHOST}-gcc - CXX=${CHOST}-g++ - NM=gcc-nm - RANLIB=gcc-ranlib - fi - - if [[ -n "${have_switched_compiler}" ]] ; then - # Because we switched active compiler we have to ensure - # that no unsupported flags are set - strip-unsupported-flags - fi - - # Ensure we use correct toolchain - export HOST_CC="$(tc-getBUILD_CC)" - export HOST_CXX="$(tc-getBUILD_CXX)" - tc-export CC CXX LD AR NM OBJDUMP RANLIB PKG_CONFIG - - # Pass the correct toolchain paths through cbindgen - if tc-is-cross-compiler ; then - export BINDGEN_CFLAGS="${SYSROOT:+--sysroot=${ESYSROOT}} --target=${CHOST} ${BINDGEN_CFLAGS-}" - fi - - # Set MOZILLA_FIVE_HOME - export MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" - - # python/mach/mach/mixin/process.py fails to detect SHELL - export SHELL="${EPREFIX}/bin/bash" - - # Set MOZCONFIG - export MOZCONFIG="${S}/.mozconfig" - - # Initialize MOZCONFIG - mozconfig_add_options_ac '' --enable-application=comm/mail - mozconfig_add_options_ac '' --enable-calendar - - # Set Gentoo defaults - export MOZILLA_OFFICIAL=1 - - mozconfig_add_options_ac 'Gentoo default' \ - --allow-addon-sideload \ - --disable-cargo-incremental \ - --disable-crashreporter \ - --disable-install-strip \ - --disable-strip \ - --disable-updater \ - --enable-official-branding \ - --enable-release \ - --enable-system-ffi \ - --enable-system-pixman \ - --host="${CBUILD:-${CHOST}}" \ - --libdir="${EPREFIX}/usr/$(get_libdir)" \ - --prefix="${EPREFIX}/usr" \ - --target="${CHOST}" \ - --without-ccache \ - --with-intl-api \ - --with-libclang-path="$(llvm-config --libdir)" \ - --with-system-nspr \ - --with-system-nss \ - --with-system-png \ - --with-system-zlib \ - --with-toolchain-prefix="${CHOST}-" \ - --with-unsigned-addon-scopes=app,system \ - --x-includes="${SYSROOT}${EPREFIX}/usr/include" \ - --x-libraries="${SYSROOT}${EPREFIX}/usr/$(get_libdir)" - - # Set update channel - local update_channel=release - [[ -n ${MOZ_ESR} ]] && update_channel=esr - mozconfig_add_options_ac '' --update-channel=${update_channel} - - if ! use x86 && [[ ${CHOST} != armv*h* ]] ; then - mozconfig_add_options_ac '' --enable-rust-simd - fi - - if [[ -s "${S}/api-google.key" ]] ; then - local key_origin="Gentoo default" - if [[ $(cat "${S}/api-google.key" | md5sum | awk '{ print $1 }') != 709560c02f94b41f9ad2c49207be6c54 ]] ; then - key_origin="User value" - fi - - mozconfig_add_options_ac "${key_origin}" \ - --with-google-safebrowsing-api-keyfile="${S}/api-google.key" - else - einfo "Building without Google API key ..." - fi - - if [[ -s "${S}/api-location.key" ]] ; then - local key_origin="Gentoo default" - if [[ $(cat "${S}/api-location.key" | md5sum | awk '{ print $1 }') != ffb7895e35dedf832eb1c5d420ac7420 ]] ; then - key_origin="User value" - fi - - mozconfig_add_options_ac "${key_origin}" \ - --with-google-location-service-api-keyfile="${S}/api-location.key" - else - einfo "Building without Location API key ..." - fi - - if [[ -s "${S}/api-mozilla.key" ]] ; then - local key_origin="Gentoo default" - if [[ $(cat "${S}/api-mozilla.key" | md5sum | awk '{ print $1 }') != 3927726e9442a8e8fa0e46ccc39caa27 ]] ; then - key_origin="User value" - fi - - mozconfig_add_options_ac "${key_origin}" \ - --with-mozilla-api-keyfile="${S}/api-mozilla.key" - else - einfo "Building without Mozilla API key ..." - fi - - mozconfig_use_with system-av1 - mozconfig_use_with system-harfbuzz - mozconfig_use_with system-harfbuzz system-graphite2 - mozconfig_use_with system-icu - mozconfig_use_with system-jpeg - mozconfig_use_with system-libevent system-libevent "${SYSROOT}${EPREFIX}/usr" - mozconfig_use_with system-libvpx - mozconfig_use_with system-webp - - mozconfig_use_enable dbus - - use eme-free && mozconfig_add_options_ac '+eme-free' --disable-eme - - if use hardened ; then - mozconfig_add_options_ac "+hardened" --enable-hardening - append-ldflags "-Wl,-z,relro -Wl,-z,now" - fi - - mozconfig_use_enable jack - - mozconfig_use_enable pulseaudio - # force the deprecated alsa sound code if pulseaudio is disabled - if use kernel_linux && ! use pulseaudio ; then - mozconfig_add_options_ac '-pulseaudio' --enable-alsa - fi - - mozconfig_use_enable wifi necko-wifi - - if use wayland ; then - mozconfig_add_options_ac '+wayland' --enable-default-toolkit=cairo-gtk3-wayland - else - mozconfig_add_options_ac '' --enable-default-toolkit=cairo-gtk3 - fi - - if use lto ; then - if use clang ; then - # Upstream only supports lld when using clang - mozconfig_add_options_ac "forcing ld=lld due to USE=clang and USE=lto" --enable-linker=lld - - mozconfig_add_options_ac '+lto' --enable-lto=cross - else - # Linking only works when using ld.gold when LTO is enabled - mozconfig_add_options_ac "forcing ld=gold due to USE=lto" --enable-linker=gold - - # ThinLTO is currently broken, see bmo#1644409 - mozconfig_add_options_ac '+lto' --enable-lto=full - 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 - elif tc-ld-is-gold ; then - mozconfig_add_options_ac "linker is set to gold" --enable-linker=gold - else - mozconfig_add_options_ac "linker is set to bfd" --enable-linker=bfd - fi - fi - - # LTO flag was handled via configure - filter-flags '-flto*' - - mozconfig_use_enable debug - if use debug ; then - mozconfig_add_options_ac '+debug' --disable-optimize - else - if is-flag '-g*' ; then - if use clang ; then - mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols=$(get-flag '-g*') - else - mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols - fi - else - mozconfig_add_options_ac 'Gentoo default' --disable-debug-symbols - fi - - if is-flag '-O0' ; then - mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O0 - elif is-flag '-O4' ; then - mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O4 - elif is-flag '-O3' ; then - mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O3 - elif is-flag '-O1' ; then - mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O1 - elif is-flag '-Os' ; then - mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-Os - else - mozconfig_add_options_ac "Gentoo default" --enable-optimize=-O2 - fi - fi - - # Debug flag was handled via configure - filter-flags '-g*' - - # Optimization flag was handled via configure - filter-flags '-O*' - - # Modifications to better support ARM, bug #553364 - if use cpu_flags_arm_neon ; then - mozconfig_add_options_ac '+cpu_flags_arm_neon' --with-fpu=neon - - if ! tc-is-clang ; then - # thumb options aren't supported when using clang, bug 666966 - mozconfig_add_options_ac '+cpu_flags_arm_neon' \ - --with-thumb=yes \ - --with-thumb-interwork=no - fi - fi - - if [[ ${CHOST} == armv*h* ]] ; then - mozconfig_add_options_ac 'CHOST=armv*h*' --with-float-abi=hard - - if ! use system-libvpx ; then - sed -i \ - -e "s|softfp|hard|" \ - "${S}"/media/libvpx/moz.build \ - || die - fi - fi - - if use clang ; then - # https://bugzilla.mozilla.org/show_bug.cgi?id=1482204 - # https://bugzilla.mozilla.org/show_bug.cgi?id=1483822 - # toolkit/moz.configure Elfhack section: target.cpu in ('arm', 'x86', 'x86_64') - local disable_elf_hack= - if use amd64 ; then - disable_elf_hack=yes - elif use x86 ; then - disable_elf_hack=yes - elif use arm ; then - disable_elf_hack=yes - fi - - if [[ -n ${disable_elf_hack} ]] ; then - mozconfig_add_options_ac 'elf-hack is broken when using Clang' --disable-elf-hack - fi - elif tc-is-gcc ; then - if ver_test $(gcc-fullversion) -ge 10 ; then - einfo "Forcing -fno-tree-loop-vectorize to workaround GCC bug, see bug 758446 ..." - append-cxxflags -fno-tree-loop-vectorize - fi - fi - - # Additional ARCH support - case "${ARCH}" in - arm) - # Reduce the memory requirements for linking - if use clang ; then - # Nothing to do - :; - elif tc-ld-is-gold || use lto ; then - append-ldflags -Wl,--no-keep-memory - else - append-ldflags -Wl,--no-keep-memory -Wl,--reduce-memory-overheads - fi - ;; - esac - - if ! use elibc_glibc ; then - mozconfig_add_options_ac '!elibc_glibc' --disable-jemalloc - fi - - # Allow elfhack to work in combination with unstripped binaries - # when they would normally be larger than 2GiB. - append-ldflags "-Wl,--compress-debug-sections=zlib" - - # Make revdep-rebuild.sh happy; Also required for musl - append-ldflags -Wl,-rpath="${MOZILLA_FIVE_HOME}",--enable-new-dtags - - # Pass $MAKEOPTS to build system - export MOZ_MAKE_FLAGS="${MAKEOPTS}" - - # Use system's Python environment - export MACH_USE_SYSTEM_PYTHON=1 - - # Disable notification when build system has finished - export MOZ_NOSPAM=1 - - # Build system requires xargs but is unable to find it - mozconfig_add_options_mk 'Gentoo default' "XARGS=${EPREFIX}/usr/bin/xargs" - - # Set build dir - mozconfig_add_options_mk 'Gentoo default' "MOZ_OBJDIR=${BUILD_DIR}" - - # Show flags we will use - einfo "Build BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}" - einfo "Build CFLAGS:\t\t${CFLAGS:-no value set}" - einfo "Build CXXFLAGS:\t\t${CXXFLAGS:-no value set}" - einfo "Build LDFLAGS:\t\t${LDFLAGS:-no value set}" - einfo "Build RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}" - - # Handle EXTRA_CONF and show summary - local ac opt hash reason - - # Apply EXTRA_ECONF entries to $MOZCONFIG - if [[ -n ${EXTRA_ECONF} ]] ; then - IFS=\! read -a ac <<<${EXTRA_ECONF// --/\!} - for opt in "${ac[@]}"; do - mozconfig_add_options_ac "EXTRA_ECONF" --${opt#--} - done - fi - - echo - echo "==========================================================" - echo "Building ${PF} with the following configuration" - grep ^ac_add_options "${MOZCONFIG}" | while read ac opt hash reason; do - [[ -z ${hash} || ${hash} == \# ]] \ - || die "error reading mozconfig: ${ac} ${opt} ${hash} ${reason}" - printf " %-30s %s\n" "${opt}" "${reason:-mozilla.org default}" - done - echo "==========================================================" - echo - - ./mach configure || die -} - -src_compile() { - local virtx_cmd= - - if use pgo ; then - virtx_cmd=virtx - - # Reset and cleanup environment variables used by GNOME/XDG - gnome2_environment_reset - - addpredict /root - fi - - local -x GDK_BACKEND=x11 - - ${virtx_cmd} ./mach build --verbose \ - || die -} - -src_install() { - # xpcshell is getting called during install - pax-mark m \ - "${BUILD_DIR}"/dist/bin/xpcshell \ - "${BUILD_DIR}"/dist/bin/${PN} \ - "${BUILD_DIR}"/dist/bin/plugin-container - - DESTDIR="${D}" ./mach install || die - - # Upstream cannot ship symlink but we can (bmo#658850) - rm "${ED}${MOZILLA_FIVE_HOME}/${PN}-bin" || die - dosym ${PN} ${MOZILLA_FIVE_HOME}/${PN}-bin - - # Don't install llvm-symbolizer from sys-devel/llvm package - if [[ -f "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" ]] ; then - rm -v "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" || die - fi - - # Install policy (currently only used to disable application updates) - insinto "${MOZILLA_FIVE_HOME}/distribution" - newins "${FILESDIR}"/distribution.ini distribution.ini - newins "${FILESDIR}"/disable-auto-update.policy.json policies.json - - # Install system-wide preferences - local PREFS_DIR="${MOZILLA_FIVE_HOME}/defaults/pref" - insinto "${PREFS_DIR}" - newins "${FILESDIR}"/gentoo-default-prefs.js gentoo-prefs.js - - local GENTOO_PREFS="${ED}${PREFS_DIR}/gentoo-prefs.js" - - # Set dictionary path to use system hunspell - cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set spellchecker.dictionary_path pref" - pref("spellchecker.dictionary_path", "${EPREFIX}/usr/share/myspell"); - EOF - - # Force hwaccel prefs if USE=hwaccel is enabled - if use hwaccel ; then - cat "${FILESDIR}"/gentoo-hwaccel-prefs.js \ - >>"${GENTOO_PREFS}" \ - || die "failed to add prefs to force hardware-accelerated rendering to all-gentoo.js" - fi - - # Force the graphite pref if USE=system-harfbuzz is enabled, since the pref cannot disable it - if use system-harfbuzz ; then - cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set gfx.font_rendering.graphite.enabled pref" - sticky_pref("gfx.font_rendering.graphite.enabled", true); - EOF - fi - - # Install language packs - local langpacks=( $(find "${WORKDIR}/language_packs" -type f -name '*.xpi') ) - if [[ -n "${langpacks}" ]] ; then - moz_install_xpi "${MOZILLA_FIVE_HOME}/distribution/extensions" "${langpacks[@]}" - fi - - # Install icons - local icon_srcdir="${S}/comm/mail/branding/thunderbird" - local icon_symbolic_file="${icon_srcdir}/TB-symbolic.svg" - - insinto /usr/share/icons/hicolor/symbolic/apps - newins "${icon_symbolic_file}" ${PN}-symbolic.svg - - local icon size - for icon in "${icon_srcdir}"/default*.png ; do - size=${icon%.png} - size=${size##*/default} - - if [[ ${size} -eq 48 ]] ; then - newicon "${icon}" ${PN}.png - fi - - newicon -s ${size} "${icon}" ${PN}.png - done - - # Install menus - local wrapper_wayland="${PN}-wayland.sh" - local wrapper_x11="${PN}-x11.sh" - local desktop_file="${FILESDIR}/icon/${PN}-r2.desktop" - local display_protocols="auto X11" - local icon="${PN}" - local name="Mozilla ${MOZ_PN^}" - local use_wayland="false" - - if use wayland ; then - display_protocols+=" Wayland" - use_wayland="true" - fi - - local app_name desktop_filename display_protocol exec_command - for display_protocol in ${display_protocols} ; do - app_name="${name} on ${display_protocol}" - desktop_filename="${PN}-${display_protocol,,}.desktop" - - case ${display_protocol} in - Wayland) - exec_command="${PN}-wayland --name ${PN}-wayland" - newbin "${FILESDIR}/${wrapper_wayland}" ${PN}-wayland - ;; - X11) - if ! use wayland ; then - # Exit loop here because there's no choice so - # we don't need wrapper/.desktop file for X11. - continue - fi - - exec_command="${PN}-x11 --name ${PN}-x11" - newbin "${FILESDIR}/${wrapper_x11}" ${PN}-x11 - ;; - *) - app_name="${name}" - desktop_filename="${PN}.desktop" - exec_command="${PN}" - ;; - esac - - 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 - done - - # Install generic wrapper script - [[ -f "${ED}/usr/bin/${PN}" ]] && rm "${ED}/usr/bin/${PN}" - newbin "${FILESDIR}/${PN}.sh" ${PN} - - # Update wrapper - local wrapper - for wrapper in \ - "${ED}/usr/bin/${PN}" \ - "${ED}/usr/bin/${PN}-x11" \ - "${ED}/usr/bin/${PN}-wayland" \ - ; do - [[ ! -f "${wrapper}" ]] && continue - - 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}:" \ - "${wrapper}" \ - || die - done -} - -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 - - if [[ -z "${REPLACING_VERSIONS}" ]] ; then - # New install; Tell user that DoH is disabled by default - show_doh_information=yes - 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 -} |