1 |
commit: cadd71c3b13d5ac34683211b3939c81dadb00211 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 5 20:01:44 2021 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 5 20:02:13 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cadd71c3 |
7 |
|
8 |
mail-client/thunderbird: bump to v78.7.1 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/768825 |
11 |
Package-Manager: Portage-3.0.14, Repoman-3.0.2 |
12 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
13 |
|
14 |
mail-client/thunderbird/Manifest | 66 ++ |
15 |
mail-client/thunderbird/thunderbird-78.7.1.ebuild | 1073 +++++++++++++++++++++ |
16 |
2 files changed, 1139 insertions(+) |
17 |
|
18 |
diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest |
19 |
index 590a58a3dc6..d9013e61498 100644 |
20 |
--- a/mail-client/thunderbird/Manifest |
21 |
+++ b/mail-client/thunderbird/Manifest |
22 |
@@ -1,4 +1,5 @@ |
23 |
DIST firefox-78esr-patches-07.tar.xz 66156 BLAKE2B 8f69883432dcbd484b1fb15e3fde1630b1424e502ba78d9ec3cbe70cb2676a6876853d3477c8bfe35e92bca91b200e2d14543de1778d895676a52d2608109af2 SHA512 b4a01d3499002bd33a7fb45a1a80e9e73ba27a0986b6bfa43b3482dd8d82a686a14ae0c5e013402c8c8f359a642632a40bf4c362a0e83a1f53b453914f42e3a7 |
24 |
+DIST firefox-78esr-patches-08.tar.xz 66436 BLAKE2B 1aeecb8fae01c213c9eb2b55e5af00765a4d7870bf8b5fc5e839281603d8a6258d46eefdba35318ebcf9f4329a821abcefe4cda5b42620b617332f6d15dcc14c SHA512 c5b8af257e74738caa2054dafe4757fed03655b976041a09f7d574b1e6d3ea3c942a9203bc15be7ff084fab523561372e1d0bfd64ed25ed26975544ee86654a3 |
25 |
DIST thunderbird-78.7.0-af.xpi 548349 BLAKE2B d729644b8d01795f868328482fd5084b6faeccbb0b837435aec69ca7e09bec2a6c276705c58f95dc5052a16a8242f7f6f9ed20cf5203bec22aaa9c3e6927cdf0 SHA512 aae82d4e50226f67967a3a5ed9ebcb464e50ee8a663301fa63b907eec55bf851778599bb5fb8394d9d8779e3a14741c76fc2041a842d6428f84b21899c01e860 |
26 |
DIST thunderbird-78.7.0-ar.xpi 648607 BLAKE2B 8f5e7f17e33e2890f0a74873669f0d5944305da475f13d16fb5a5a5fb80661a0a76b34891996e1d3d1d4fcfcfe762b69f7962743124a799765430ce144689c0e SHA512 46eb357273c79a3077d91086bea0795bb03fda771812f905fb9ab8d76a06cb735f73eb314ae044a1c92d31492616da8b58b6910eb61e21b5cb807e7e3aec1578 |
27 |
DIST thunderbird-78.7.0-ast.xpi 561261 BLAKE2B 9c1a26af7207101d0d553957cd860e547398c8cc984127178ab585f8e9a8784a0d56e8328072780575661c03811ed8f0e54f03d401f2766933409f4ae5e05029 SHA512 2c8f16d8d58f0219d52954b4a327fb21edd4dd3c6e88d991d162f6f5a1b712a041e7fbe1f83a00af67f19465bc0827a8c1728dc1c1706cc01e022bc728b184a5 |
28 |
@@ -64,3 +65,68 @@ DIST thunderbird-78.7.0-vi.xpi 674602 BLAKE2B 82417b1cfa49e7ca162baf70bbea4b7686 |
29 |
DIST thunderbird-78.7.0-zh-CN.xpi 687176 BLAKE2B a38b3ac31c79cec6fa93cd72af7f3e6f20666bf157defc8063beb09313cbb62720e24724337342baf9d5b2ef3330a09e7666802d23824d14b1e68714ab9ff816 SHA512 eecf33fb400128a5f949a4a62043ce45f352ace129b2e6cda5361563ab852a986e84335b2ffcd566ed0f1913519e3ed61f0b7c32d481695c83fa32af003d20ad |
30 |
DIST thunderbird-78.7.0-zh-TW.xpi 687616 BLAKE2B 025519461319a34c7d81e0c8b7bdc94ab85a7e2fc5fb5851457f09efaa85cfa755a6629d6a14c16cd8949607cb79e8f8ffed9798c3445eda2141d61ed3241c39 SHA512 67a0f5f0f57cc7a87764289332090f7ed6b42ba834175cce5402e40f1d963c2166e8fa76ad34dbc943cc450e558d205ca245e12b1fa0b3dc5162d384bb60cef1 |
31 |
DIST thunderbird-78.7.0.source.tar.xz 353095828 BLAKE2B 2406a8fdc9f3718f47f35b426a0476d20861ff02fc57841f4cb469b1517ba4b35409c8ce624321b25fc5032cb9b08d51548bee880a82392eb0bd4a40a79125de SHA512 feee821eaf1f18e48f9b6f88dfa0ccf1fdb9b7087d5a0a1a284e4c8b931fdf765f9b34d80fa26fdc0f4f3b8a8d7ff0eb66ff093defa18999ff8b7082bba5c85d |
32 |
+DIST thunderbird-78.7.1-af.xpi 548331 BLAKE2B cce90f640602a186d4ff62ca183bf324d0f0a7f439932c12b20422ed19c1c810017317e7f35ab84eb45f0fcea08e2a227c24aa8a90c4dd313b415e98eaeffee6 SHA512 65937e5eb081588e9297cc4cb1f273248b83d50f1d4f41b460943ffba316bb05f8d369271718fd568ce110c5aeb4af081943a30465ea2d916d83a65c9fc4376b |
33 |
+DIST thunderbird-78.7.1-ar.xpi 648602 BLAKE2B c2f8a333b25b271794194e98036d5b7bb9c33b3e126a5c13f0e9b1a11afd1ce5e443c01ba1425201376b17158fe72e8550410db08da25a174ad49a4e3c47e22f SHA512 34a430b789c0032b5f093d206ac3cfb7b63c59d0e08fd439f0793790475eb1691932b8babac5a067d48c381e497127e9d11f9abdecd8e70f953320142403f539 |
34 |
+DIST thunderbird-78.7.1-ast.xpi 561255 BLAKE2B 72a927b2b7914cd30bdf5fd787c9c73bbc7b31c496b3980b07db0d7945df33ecd53fdd21e8742f48bbdd906c4ea7d03f2c95d599bf2345be37cf8ae424e90f8f SHA512 dfe810e362fa0947d4a44445f491b0899def9e9da463f39af4335634dc843172a3a296a49dc0d13e5d8a25fce6acb608b7ab82b8a32236eb52815a05372231af |
35 |
+DIST thunderbird-78.7.1-be.xpi 666669 BLAKE2B 9ccd4f6c325bda38a624c46e8067102e4ef31bd9c6cfa299c57508b2afbd0166bf074b2fddc16997a26b154e43c0aa90e9ac23dcc690d29fdab6af8deed8dbe6 SHA512 e1f51aeb93111b8123c07318859fd66950f31f6582b61164680fd7fc7f3a217f35bcba4d0341be77e1167b71006e3275169a2e50e546622389e77c2256cddd19 |
36 |
+DIST thunderbird-78.7.1-bg.xpi 672414 BLAKE2B bff0be6ce4ef303009fb175518cf3f59cd65fdf44fcc8f8d0ec1fc8a975c5d6196c3bc0b1e9a8b940ac118326a73e21f5970b3df4014a1aec449ca239bbf39c8 SHA512 b1e15994104e05897222308b9fe519813492be5da6166e793cc0d91e90c61678c7d4c1b82a1027f33dfa19f7bb69aaa13be61525ddb0460396ff1ccac545b07a |
37 |
+DIST thunderbird-78.7.1-br.xpi 604528 BLAKE2B 1881e2885745c691f409ebf4f00aac87ac3900d501823c3d80ec364be328072b7019d613965844faccd1fe08c48807729f92278412033f1cf936ab598d415e5a SHA512 961d6d6aea6eed4eac787e2b443bf465d041221e8e1387ccc96de79da8a057ac26a3337cdcc4c328f792aa5a56298ad53c3db37426730ad6dd2784bdd2cc2a7c |
38 |
+DIST thunderbird-78.7.1-ca.xpi 620448 BLAKE2B 2376b2a191774246e93abdabff96db50d37b6ba644ff2f4856da6069afdc795510659837308ec0ee15708ff4a66f3a0dd32a17f66f0a6083be91a79c15e21632 SHA512 7e002f78f84acb130d8d5542451c8fe7168e8994c00413da912e789b096b4c1fe325158d727b2044d316568b4ed058d071752b014df68b369a6b36b8dfb4cb73 |
39 |
+DIST thunderbird-78.7.1-cak.xpi 635641 BLAKE2B b565f3cffef6dda31a0cd87412792ad09ce756bd9cc1d3065dba6d378192749a6c478b5d1fdb619858ad7fb294206210afa5660ede80d951e45064d4a46abf38 SHA512 553e9000defcbb557bc6259c054afb4d38d237b8e9ef11bec113d245e1f37a262e1c329040243963fb3f1f413062c61c2dde4be435ede7f276fca8a68231e348 |
40 |
+DIST thunderbird-78.7.1-cs.xpi 635348 BLAKE2B a812546a6749522fe62f7dcc0e30bccafae61a237d6225400edccba1bc287e533bd13e095bdd1c35d7e6f7284af35c634050625770f4992ca68c74d9566228b5 SHA512 cfbf99ab4fde04aae64f0d100d2c567fad4db3853b9fc6635bceed6dd1d86cb5fe692ea27ee8fdd6ae67c6001fc47e7315107787944734a011804d9834c579dc |
41 |
+DIST thunderbird-78.7.1-cy.xpi 646241 BLAKE2B 0e152e892d645ac327b73618d21eafc6e7e838a67d674c4b61351e937b70eb870e7f33aae41bd222b708f5e951418626cfcd3efd1c95c94012d4910d23f1e1a3 SHA512 02f7be6a3b77c5b0db4fb6b50958d91564d1069fe797195943d5302316e289d8da792acedac2d5a110e914e46ac7220423b055d3380d7f00e4350fc674cb3e2b |
42 |
+DIST thunderbird-78.7.1-da.xpi 620992 BLAKE2B 085be356ea53d223137aa75803ff6a5ede2cdcf5af9888943978c37ec9a03d7228ad2f22be1121e84ebb77d2efa8566316a4bd1b6db26de294ac0503e1582f82 SHA512 c9df0d22d1fce230e89fdf29b7c3d9a825002e7928b5bf30489974c77040d085ce25db488cfeba8ea61aa5d263f8b625cf4edf0e7440a0fa5bf8423124fd7e68 |
43 |
+DIST thunderbird-78.7.1-de.xpi 665189 BLAKE2B 83b63e60d919dc50dd7c13b3b7822033f3f9cbd9f05b4113c72515b56e7f87e9dfbae0f414babd1de1af839fc2bdcda7efdb5ef4f5bb12a0007c65997b39cd85 SHA512 5bc1c5f59a64e483ecf11ddd42e70143cd130ff314ff7fd73867ef8a830bcab74ff1b1674393b332103804c040f10b3bf6ce851c3e5c44ec75daaecc1deb9e5c |
44 |
+DIST thunderbird-78.7.1-dsb.xpi 666776 BLAKE2B b2485d1e787ac8bf13f4d5e6e64a7f10291b24a638b2bedb838e9837976307a417ae95ae44b6cef6257f7e76fbd1b9020dbedf3cd8b00a2b6762fc292298364d SHA512 9db0ca9433077fa26de4e6a973cbe20e9a2ec41ee9d3e74c531e7c88ecae7e8ba50259cca0494ad63042050a0465eb51e40244f61f513134fa32e879f2710230 |
45 |
+DIST thunderbird-78.7.1-el.xpi 774455 BLAKE2B 1cee967b7f9278ecc6a736a6d2cf8c669c1bd2d5a20ca2f978bdd53dc606ec3f6e485879fae6e6604721ff9c9e452c40e1ad5061a085e529621d78eb725cfdd9 SHA512 868d0ebfc82678c7aa10042789054dfe9ae4fe7a5ae0b67ebd18be029053ec1f74f25edce5704d9ba05664e77c365b71335399e56bf5b6670364c03f05393fd0 |
46 |
+DIST thunderbird-78.7.1-en-CA.xpi 611774 BLAKE2B fd296eafa4da35df28568c5b62fad9d617fb63d48232808d56ec34606eed3955bf3c42e43d406493c21b15df00252845e226d5906b8d4eae7e893148a53b5c53 SHA512 22ce03ac87ae25fa209e14a1a79db625192d04916994011e75efcf6f200e50ace6d8a76f107cfea8915180d5693952797df17d24aa52c79a7abd3b67dad50329 |
47 |
+DIST thunderbird-78.7.1-en-GB.xpi 611181 BLAKE2B a3aea6f0dd25b4530a95bbaef28a004c95b72092891dbf9ac985ab4785b82cc1067503415356eee1a7a10ddab5fa82919e715253c0b0b35e26820b34d35d18eb SHA512 794bb8e10f5c24b98cf15ba2475043a14d1ee9a1df1881ae5036ee62c323e001ade87d0eeead597a2064a3034db748b54198db8be5b405844a118c48b18e1fe6 |
48 |
+DIST thunderbird-78.7.1-es-AR.xpi 657787 BLAKE2B 8010574824d0f65cad768382b519a545b58a885ed3ce872a6ec13b02a972c7d93cbc4b297c147beb3b91d76233d571c7b059cc8863160ac31ac72130c37b3205 SHA512 e57066af4cb8d84c081eb22517e1fb7ac5977dae801eebb3aa4f97cb4b839a239cf345deab21c8818e022f74e5a4f2b92e8359d6c1106c80660225c15587f279 |
49 |
+DIST thunderbird-78.7.1-es-ES.xpi 569808 BLAKE2B 41dcd411bef5d5a0c67a82dcd8536c86e00e897974d74eef6b8934c92399f2dc052a3e8b35deb6f78ed05677be4e1cd1d27d397a082551ceb571aac999529885 SHA512 8aece81c6a4f62299f645e96ed40218bd25b946131292b1d5e9d19ef0b7b73bcece2af6230871fb2efff16ad4726a7bff8718706e58b990794d505b8f5cb5103 |
50 |
+DIST thunderbird-78.7.1-et.xpi 597730 BLAKE2B 54e516226d85bc8d6290bdf048ebc4bda2363c25e39389f377736e2a9bc18d50d342f540824fe668e36eacdde1f0ea52dc6a67fe82671a3000372ec347bafef2 SHA512 af732a1ddca07237c80ce69190e208125dac124a7843a11cafd96876810b6144cd3d9793ce7c87856cb4145648f5b201a2096f51e75d86a3f5457730a2942072 |
51 |
+DIST thunderbird-78.7.1-eu.xpi 632966 BLAKE2B 438a59e7a36f53b7808e0de7a6cf12beb0ac6e455d9f7eaa4af3b57a524e352228823667b27b3e6b62cedfcd63791763645156e825dd7ddd60eab170835cac88 SHA512 ad8ca0510d0c809a11fd4785cf06bf7aa0d9599a5b3f39688bf92ba690fdbdc27c4e0eeb01c33d916683fae25780114c8f917c2691a22effd9f370dbfc80a930 |
52 |
+DIST thunderbird-78.7.1-fa.xpi 639750 BLAKE2B b6b44660321ba43ee7bb5733270775506913d738be34ecebeddd192ceacbf31f4290680871d7f7726abb0ea49ea3620dc64645e6db09c2a699aa48e1f44a69d3 SHA512 c0acda56255ac259509220fa2a25bdcab84cd02474b20159065fe64d5b828e5e0fa7eae056cbac7ae661fa375cd8f5a2aa716ee8696d95ab2c422584bc5dfa26 |
53 |
+DIST thunderbird-78.7.1-fi.xpi 642448 BLAKE2B 7c2aced4427af74bb60fec5e17949bcb4e2a85eeddf11d0fa268f7ca2aebc80ae68980aa1f8fc50254da222d90270a11e901df9398c47fb68caa31d965c0ee92 SHA512 ba397c237bf936196e06c233a682a36fb8769fc73277bb46e8950545854ca6048fbdd56b418cac12964be4bf10c68a5a0dbacd928955a091741dfb3a65b8d341 |
54 |
+DIST thunderbird-78.7.1-fr.xpi 669484 BLAKE2B be4fa6342c9c75fa6b5018de3f060cd0018747d21ec5af614e677ed542d339ed6479c1b6ca7f18a6e5e5c2c90fac1256dc69692c6f6e742ed6043c31403d71d5 SHA512 24b49b86e7582d67d70b24667fd94a301eef6af835136c2adbbebe412d9dde8f63e0e2dde43f4f37096da38d0e6d886a89b28e0138d6311fae69d34b4fb3f128 |
55 |
+DIST thunderbird-78.7.1-fy-NL.xpi 653081 BLAKE2B bbd3ad8cf5e71f1f6741702782f1274e6607e6a89bfc52726da42e237f003758d27d9a65f4334c629e3cddb2dc55d7740033c50e75c2549127e4aad9506bb907 SHA512 7aa34efeb70d0900b2f51932e8509c5a5b980c557c7fc27997db8273a4899289ddc964ab96d901854aaf8da2b343cbb2c8ca4c92f0c5fe650968f6c3033696d3 |
56 |
+DIST thunderbird-78.7.1-ga-IE.xpi 600708 BLAKE2B 35f0dc040b960bb1f21904a424185aa9515f532004924c899ccd880cb6a6dee0374f99e14cab64a621fec5c29cc218fbd6e18356269a6ff3cc813ba6cf38d787 SHA512 ecf380c370a24182d1403cf8ae14faa18bbb5f1ca435e360f12d8bba845c7e4b800425d882756e451e0264f0f52829c1c384f24005631b48f77a11bb45c4d61f |
57 |
+DIST thunderbird-78.7.1-gd.xpi 609376 BLAKE2B 6dc39607cf2799982e73c81986f16540b469233e88c0b56e5074c2f84351f96e03c2a480d90c587a23e1eecdf77ae8c52932c77e3adbba2fb0c3f1762a6ff7d5 SHA512 9fb3e2aa5bb7e0ef449a61a80e0169adc48a92232440d29b605e201cbc83b3fa99659528488e8ce9a44df67d5a7d5a6072c991dc401d3b98d4cf973556436d6a |
58 |
+DIST thunderbird-78.7.1-gl.xpi 615734 BLAKE2B 26dac66ad0bca8b698b5149712cb9815303ca1a283a63e94831f2d62a7e9ec640ae3c5c41bd3a6904ed10331250073f37967ba53813fd962c18a6c327d6864d3 SHA512 2a9b6061502d7e5a2880d00b89dcc56005578015cf151180351e10665b71b93ba478a5acf6345f1071ec7d64e5e6cd8495ac460524d3d18879117a38c38afa69 |
59 |
+DIST thunderbird-78.7.1-he.xpi 640493 BLAKE2B 48933d44e15a8905f5b2271f6a70d09b7cb32977c198a79002b065f78ffa01049235f792674d15fba364f3560752080f5c4cc6683663b1759a670f149b536698 SHA512 8cc5d1d5c775dfd55bb952fde2ea9340c076f0cbbf40ca12650104cf5afc6c7c651dcfd9a7216ff269e9df081cadf1aa709db0b461410aca938ed4e7a475bf25 |
60 |
+DIST thunderbird-78.7.1-hr.xpi 629036 BLAKE2B 77f114535945c4bd11a0debb82c6a304ebc73abcc95eb2f50058d458820609303d4e9bee7b966075a49372281ff183bd8286e5fb4ac5711263676d0492e2a3d5 SHA512 efb1e006ce71797035876249e7bfb8be1a3761341daff24d8b479cd174070deb8635711a1510539a447925a3efe9e58605091c2e3eacb303a34fe785fc089a40 |
61 |
+DIST thunderbird-78.7.1-hsb.xpi 668606 BLAKE2B 1b73023460dac3c194973c1f6866d6ddef10d9281bba8f501e50c537e396c6d9024c61bc60f8f4e4533592eb6d36ca974bed5f0d94ca9d7f160bacdb9bea38c9 SHA512 17f10bf78a84bd0466d8fc4a6777cb2189ca0438a7d36c7cc7a6b34b3d2d7217ee95829b35bc762a3fef6a27e3e9c23f17926dadef0cd63be7381d974c7976dd |
62 |
+DIST thunderbird-78.7.1-hu.xpi 679833 BLAKE2B 395741a3883fe327e2f86b574d9380019b0f8a1563b8efc921420bab2fef7643e79c5698c983587941acb299a349b985b9b789e8b3ceae6e6d325e5e9364dcf6 SHA512 196be3d4dda0ec9eba59bc084bb79e175054578bc1fca566d50f557ccdecc1719ebee86c9028490cb801fb7d10acf9379362615f0386a089f0619cf33a4ee6d4 |
63 |
+DIST thunderbird-78.7.1-hy-AM.xpi 713333 BLAKE2B e0b1bb83311b5f3aa0400857e87f850400fbae0c5a260c6225afe5436e30684b99673a40a5588aeda8557b107afe5c1ebd3a3007f5dcbae4311e509fa402150d SHA512 37f1c1353f2574bc2d627f4d3414e9e5178be19d3cc3c21a26acc9960d80a54e32692e7ffb8440a96f484177dc3daedb690d1a5f5e979efb72c2894e08f42703 |
64 |
+DIST thunderbird-78.7.1-id.xpi 620681 BLAKE2B 2d5d552ed77af4be911274d95c2d6d5c56850eed59c5bd6d9bf92cad8c35861fe69900e671914aafc57cce35c6790d0835473b12b5b8d6e8e8a93c9e4e240e2c SHA512 df18ee1a241c2c4116ad9239c7d82a714b8bc9215731dceab5e17622fcbc1ba9ebf70aeba1ba6d035cefd8142cb230196279a7109582e03dec782bb26b5d8e9e |
65 |
+DIST thunderbird-78.7.1-is.xpi 581641 BLAKE2B 76f0558421c98422c9b9d3ca511d6b46f0e22ab1d93d9d5d7be9dde7ed61caa72b26ac3afab965e2bcfc38059df8e97e28b64d7709bb6792a56057c232145028 SHA512 8ef05fb92582d37b03a054dcce3c2dc275e320aa21b7a0362e58d8b28eae135b099274a777649fb342d0d9aeff14a8ea6c9bf6c967efe9d2d2469b1eb7128d0c |
66 |
+DIST thunderbird-78.7.1-it.xpi 572957 BLAKE2B 4ec382d69d893f577ae8d392417eac8ee5558ccd355dd6b43910e81175bd59caf8416955d4d23c584cbaf41f67343c1889b31d0ae7f23dad5b2b98a82b5d3f4f SHA512 6845c8f28362c3b02c93b13136c2f4d58aa5abf444d37ec05a654557a67bc0195959c95d631a3fd7b4830e35580f8b6fee030c2c8f0243bdb163278d5bf18463 |
67 |
+DIST thunderbird-78.7.1-ja.xpi 722453 BLAKE2B 3f8347b2c442f053ee2661eb1e7b8b312526223cec7b13b7792ff81ff94038a20dc5febeae5dc1bab2037f00e082793af5eff8117cb709e11c9d981d05aed75e SHA512 5cc4837d2415f1d9a5f1dfb8a7cdff31e361778823b323f8967b25844e4f14521fea761c9e814c66d9ff11f976e9ebb89dd043eb4dc8f4997a392235ddaef4fd |
68 |
+DIST thunderbird-78.7.1-ka.xpi 717020 BLAKE2B 1f5d26f7f64a33ce9d426b0596ab407673824be38778c76780b92bb95efc5371e5d9984735ae664e2cbd3b882674e1fa7a4da001c4e8079add262f506b74a780 SHA512 fbeb06a99b732501722e94b71eee89f242ec3335f144d2ec996e15aff942c7939501260161824383237024f89180e58f89a64b8f5d573d3feec410bd53c4a695 |
69 |
+DIST thunderbird-78.7.1-kab.xpi 651920 BLAKE2B 5d9d8e7b2b4bda1f02f26a6e07f898c9a833e8d33b65dc14cabe051483e1e093bf3f203baac33de5a86a3fa7d9dcf54a00ce6cda3b3c70ceafebf9eed1adc847 SHA512 cf54e992bd34eea44120993fa5ccaf974b1b881d5bbd9a31bfc94d91274e6ba7ab0fd38be813ba2541dfd7c93cee8f09f66968d6f84ec065f527f777ea300a25 |
70 |
+DIST thunderbird-78.7.1-kk.xpi 720468 BLAKE2B 7423d001a75295fea425e0d6277f07014b101d7244a952f717196b98482b71f4b340144018647ad89021ce5f7e5a736944b92c369456cc96bd2c069774d87c5f SHA512 152c2b51d5f88d27fbe8a91d247154fcc8a045efbedf94b7665f41389f2007d05f96142b8817456db61c1d7d099f3d6bbe01fe84537a79643da1e51d9c6fd8bb |
71 |
+DIST thunderbird-78.7.1-ko.xpi 688208 BLAKE2B 2bea5704aae0ec5af0a8304b9770209e328ac22db445b5544805d85c33aeeefa3b3a9291b5812aad2f67e55ed5b4370449ecde26058ce50b2c08fa579840e5ee SHA512 ecd1a4019a0e0eee95f337b9cd736632a5795e833b2c838d33d3eaf908bc2e46befa53754956705ca572d68711cda24873267803eca221a92813c9e3ec9f9822 |
72 |
+DIST thunderbird-78.7.1-lt.xpi 660300 BLAKE2B bfb641c5186f4924099b7a78377be81c3e8237e56c804988af177639bb0bc3215919ca564cb41d5ae4e737d608ea9f9056281f1084375735d5f64568fdb583a2 SHA512 9f22f0aafc7e2161fc25c83e5e7ab0f465d83efa83c7142a28781e86802846b97dfc1b414e27277bd9f372cfe2d9ea8e55d25ed9abc0922de305a19dcac14dba |
73 |
+DIST thunderbird-78.7.1-ms.xpi 572168 BLAKE2B 37c501548f69833ffee72fb21ea21302c04ce360e014b641225cae0a9fd612c78899327984157a4fb0fcfccb13af0c5e8a25241e07a609c4f09bc04020bdb39b SHA512 71a64ca8da63b6b79a3e76e1512ad6e80e024fa41d13b48bd9b8a75421f6183970311a99d8f40116be2ea1b8dae47bba7cd32d066db767eb6b404b679276846c |
74 |
+DIST thunderbird-78.7.1-nb-NO.xpi 637238 BLAKE2B d2857157c7a2526398087137d243f5107e5e219f9a0835bdc429c890399eedb4ba6b6cda5c8a463da29bb69532747f6e01d675e2200519da49b8d688ffcd7c48 SHA512 5b4571d11a889ccaf009b832b4298acb481e2bb6986a78807b6316c5ad37721243a4ba1927c7c445661c68e992251b7a3573a254c77360ede5f4ccdfb55cd895 |
75 |
+DIST thunderbird-78.7.1-nl.xpi 644351 BLAKE2B 44037f21b0c0a137f8d6ebb38fe10e24a2a0f1825e2b7fb1b5eac0f0c4e283af81398dc139aa35c6abb453afae524dcf6483bd3159dc01206cf839c29f6bd033 SHA512 8189ab4077117d2023463158ecfbcc9d429a2b69bb29a768037fb886c048d333399247c64d4a4718e05ad0f4212527bc7efc9edb306ff7e880536736027de5a8 |
76 |
+DIST thunderbird-78.7.1-nn-NO.xpi 640689 BLAKE2B 056bc2217df6d3642df851ac7858bc2ddf2010b28e03416e46e77bfee5be5f791bb4f206939d546684f703fdf79bd659825488a97baed72042911db74e0e301a SHA512 91e25c62d13c84c130fe7eb9c5c1fa44bb1f0b18c5a7c989bd1f572beb9f369bcde46251e326102644871403f0d87813aab88fa3d4a975558e95c555d0d0d44b |
77 |
+DIST thunderbird-78.7.1-pa-IN.xpi 633217 BLAKE2B 922d9e8088c8097531a78000abddb02b5c09c78f15a73992d7cb40fe177861c066d9495a1ebeb76c788b648edb73fa61a2eb70e72e9a9612233e3e03cc2235ae SHA512 1d442fcdccf0f29054ec8779fcb5ddc070795be974616fd01d191bdf14782c4f8737ea9c32480753a8c2b19b5936cf0bb59dbedf1c3f931c05830278e8512d02 |
78 |
+DIST thunderbird-78.7.1-pl.xpi 637119 BLAKE2B f6ee9810d7894ea0060e87b7602f1868892e40c0acd0d5fc7b8af7b4c43568f19f6ee1fea9ae43d051c51c633f804526864e6266e177cf2cea41fc193537c251 SHA512 66eefff7f14b46efd1d36935e7f103af64906411acaa7b04aa1fe2b52743dbafc35e9df169d386e6396a644ba195ae9f36d899ccb6c563feeefa748d0d69b926 |
79 |
+DIST thunderbird-78.7.1-pt-BR.xpi 649425 BLAKE2B d273765eec06334a510432c2cd9400af06d900768613767ce81146aba51046f5792f9c95b20b270bda348c96ab968a16d30079a33cb641f864c85218499c59fc SHA512 a8e68b939a4d9408664979af43a4f4d4d3d8742f742635f14b124b58e36438c52f6cebbd888c343d628a7ddca630ee1dbd3db7c031090695ec24bb7f5e448cc3 |
80 |
+DIST thunderbird-78.7.1-pt-PT.xpi 655497 BLAKE2B 096ed9eb201b9b9e1a3f315ea40be11cbbd6ecfd27df7caf72680db50d156b890b3cc604e5a6f1374c185ba904e5d5500f2716400962737a71365dcb4192631d SHA512 ab6fdb6b89a22e2cb95a957749480b346b789625311768f9ec76af8b21b69709a07256dd9fbbb8215dbefbcea6e2d27ce4307cde646be9b1bde6b8e09cc921ba |
81 |
+DIST thunderbird-78.7.1-rm.xpi 646521 BLAKE2B 3c6f8ab99bf8934b1fd95e72b4ccc9584b8ad3f92e099f98439c5e16eb1d489348743c2f68d82dbe38fe482882e7cf3955ee460996728dfa854876711f24d13f SHA512 55b2d7ca443ee785c6189f0774e86027abd489394b061d4328c5fc7b9cec069dae02f3921d4ff5195ea864083325fe635e87184d6eb0c8eab1e2096452ae7774 |
82 |
+DIST thunderbird-78.7.1-ro.xpi 662631 BLAKE2B 0fb99fbeebde1d30e0b7431a7312d1b0d20884639b99cd87b88d33b126e29ad017f875b4eda240e8d71e36c28392fdd7adc2283535d8036e4363c6057a4a7cc7 SHA512 239d9f6a02cf14949cb621e19d7a29dd065ebeb64b8efe4b7d7eb4d725798d554579fd3781242162a911f2962b59178c3100f6ef679381f19a894f3400bb4ef3 |
83 |
+DIST thunderbird-78.7.1-ru.xpi 756186 BLAKE2B 5edb386de9187fa02eb4581e68b1d429d9879319ca19f510cfb0c2c7546230753946e1b442e65628d82d6804ad021ca88fcd2806b56f2e03196952963a9e9638 SHA512 18f0b7a5ab507bfb1ed2de4f55a9fc3957cf8fd4922732f634c16033222d3d15566d37a2c9bf4d6867aaa27c8e8dd373ae06c21448ac3022d3d8d131f0d29062 |
84 |
+DIST thunderbird-78.7.1-si.xpi 651093 BLAKE2B 96b386fc6fbdbd086e5ed46aeedf3ea77fdaf6ed84c8afe3b022f2e9c34e683c2fb0c403f30fa01f6ef3bb14a1c916b6f726c2871cd9e98e34cfb0fcd13bc70f SHA512 7f0a78581d9c53b79cd1e91738233e9539de7fa7bc42fc581c61d0f50d06737900b7b04fe8696a9f5fdfea50ef586e9dc0b4648148a4fe91e843f001076d6b0b |
85 |
+DIST thunderbird-78.7.1-sk.xpi 643225 BLAKE2B 50d8204f2da30d7df8622ea16d34232987beb34e93060b86c89513b59310b38439debc7b207739fe6133ae481b8c7ce40cd8536ee9de1740ddd25b6896bb197d SHA512 4bb180beba717cefa559199af4060cafad5341492ca3bcbeb986a963b694764a44ede400680f22eb1465bb419ae657df0add60cb2ac9099b1f1e045882212178 |
86 |
+DIST thunderbird-78.7.1-sl.xpi 632384 BLAKE2B a32a6473427ea5c256f5875cef2495a52d686f5d0355222745f4ab399386560a162ded20b6c8985a08549acc655edec4435558ffb4e5687dc9d60deb95493c14 SHA512 f7b8c65fcdcc68c60853ca2b598e6b2d3c4aa025165745ba7a6c790ea33cee0fc9657824f8750b3784a1d4cf76d8ddc28f3b83183c9df391e71f1e9c12e9515b |
87 |
+DIST thunderbird-78.7.1-sq.xpi 657818 BLAKE2B ea1f16a82fff0cd0c3cced4c63c4b014ca9ad8925fb516861cdd8bfc638ec4fa4031a222f09ae7fc9003802b04c080388315bb78e768289c15382214a758f1c7 SHA512 d318d60fb9c4ea8c434b3dc31c9abb588e897e3b1e8fa651b70a65cc9854dc70f61863f64836ee7f2f297d63ab6b5955f239e7ac8fea6b313616d86ad1692213 |
88 |
+DIST thunderbird-78.7.1-sr.xpi 683120 BLAKE2B ce7bc68be627ed02847513e3bc8b68795158c75c1d2f593ccddb9413f49388fbaa3bc3f5829afb825b63ae439133661803adf9f26a3a5bd86fec829299b01bc1 SHA512 6d6261487c625abd5c2738ae4b6ddb62673e042dfedfb8890e59d799cbc015cd4e2c729791dd60c6e33026a9682af529de9936d32643bd6667c364eeab5136d9 |
89 |
+DIST thunderbird-78.7.1-sv-SE.xpi 648866 BLAKE2B 7a807067338614d54a3f9e179812ab8af64fe1794f6f91c3bba4799ebd77b0a2a18eff9ac65f0cd4f277ef6dbac88d4fa9ad61ab06203e1de67c3d25e0a6f692 SHA512 e053347d503c5bf8eb9f991e47b5e4a2769ffb7065432e17035f3ad762354265dc1355701027255d66fc232bb2160c8bb18b31db33496ec552b304675f0f468a |
90 |
+DIST thunderbird-78.7.1-th.xpi 712032 BLAKE2B 3ec6941268be2f4faa52195b8fdc37ed04b0c7b37e7c5d67aa6d2271a8146c805fad0e1d8a341a3de06ed697fc9488c9a79718a08d2e3c82fb201773b0196481 SHA512 540801ef1f6813b3f537819cbc8258d1b1df56fc3c17ab840a5fb65f0ce06a8a7ba65b4797d26540b0f15e806fdbd14a5585a00c895829b4d534cf6c993481f3 |
91 |
+DIST thunderbird-78.7.1-tr.xpi 649073 BLAKE2B fa30974c9c090574bff1c247aecb5cac6016927e86bab258abf92cd379eccbcf75d4722f74f0344ef7e625b12b955ad36a6094136438937d3e4f70ddaaa6fc0a SHA512 00334c3555edb39d0f015ec2bb1a5238367496bb40133f2cfda8393a5ee493261bab57f2d27f5a2e1e01cc2bc0aee23e55e960354426e63649d745745c58a0a3 |
92 |
+DIST thunderbird-78.7.1-uz.xpi 586594 BLAKE2B f99102dfe91198a423a98af0deb56589765669d503ff542bb1e3662102e47b0fbd67254d67c893420eabc98427ed6d9bc8b5015df37f89207978005493aebb3b SHA512 fe97f644bcb676558f10f627b6709b062225cc17a70171eaabd064750a479f595d16487f3d89ecaa49d2ba6d8ecf6ab4030ea7dc6621e3f894e500a209bc794b |
93 |
+DIST thunderbird-78.7.1-vi.xpi 674614 BLAKE2B 50c7c2280b2e804813286f32752196db4fe8ad2c24f51a76800ea503c231cbf88a9e5c12dd1c916ba7e9db5995c4b101deebf1c1f6a2cfc41445f0ef33ee4334 SHA512 8670bf8ade9dcdb95941e5f2f345d51ddf86d40e8d4aedd1b25f879820d83e146c211c1300ce1542ccabb5e6db3087ea7663a98290a88e1fe7edc1b79b4dc30b |
94 |
+DIST thunderbird-78.7.1-zh-CN.xpi 687176 BLAKE2B 0848a228e62a77160f8667c6fa0baffa03c039ddf165421e88f49e736859499874e57cc7978956e5f0da7ae383fb5d31ca25b0d2f84464e3dda9c414ba731963 SHA512 abf954d65768e9598534232d74da8ea44bf9491453d71bf17ad64a4deacb3572985abbca16bfb9047b64f3b2e33f379a6ee50a29eb470006f8f442bb05d6a597 |
95 |
+DIST thunderbird-78.7.1-zh-TW.xpi 687622 BLAKE2B e9ba2b698c944c33d080e7522bffce093b74494b480ccfe0df9942b93b7ad16347a65e9bdccc5b67953dae032310c70c6bac5f192b5d44dfeaedc707318ba79a SHA512 871fe27f95cc17e29145039f52d4fbbb126d231a7bdd27fcb11a2e5d1925631a708e49c3fa8c8d08f0f2fee838f3ca929c1e7619761d0444843f8c8d47611c7a |
96 |
+DIST thunderbird-78.7.1.source.tar.xz 361610852 BLAKE2B 71b6ec2aa5e99d8c5114f66ff670d2930f246c57c461cddcc6c61b4beb8c629d5269197de62fe10cb0bde1be796312e4cc316b63e5c75d28cb9e6bbe9298dbbd SHA512 fe5635eda67ea356cc83e8e5ced4ca3c4555a964192c3e77fa0095a26a8e7366c6520604283bb9f3a5f529fee18baf54ca169bdcb7b402bd3752157b95848bc4 |
97 |
|
98 |
diff --git a/mail-client/thunderbird/thunderbird-78.7.1.ebuild b/mail-client/thunderbird/thunderbird-78.7.1.ebuild |
99 |
new file mode 100644 |
100 |
index 00000000000..400d7ac8061 |
101 |
--- /dev/null |
102 |
+++ b/mail-client/thunderbird/thunderbird-78.7.1.ebuild |
103 |
@@ -0,0 +1,1073 @@ |
104 |
+# Copyright 1999-2021 Gentoo Authors |
105 |
+# Distributed under the terms of the GNU General Public License v2 |
106 |
+ |
107 |
+EAPI="7" |
108 |
+ |
109 |
+FIREFOX_PATCHSET="firefox-78esr-patches-08.tar.xz" |
110 |
+ |
111 |
+LLVM_MAX_SLOT=11 |
112 |
+ |
113 |
+PYTHON_COMPAT=( python3_{7..9} ) |
114 |
+PYTHON_REQ_USE="ncurses,sqlite,ssl" |
115 |
+ |
116 |
+WANT_AUTOCONF="2.1" |
117 |
+ |
118 |
+VIRTUALX_REQUIRED="pgo" |
119 |
+ |
120 |
+MOZ_ESR= |
121 |
+ |
122 |
+MOZ_PV=${PV} |
123 |
+MOZ_PV_SUFFIX= |
124 |
+if [[ ${PV} =~ (_(alpha|beta|rc).*)$ ]] ; then |
125 |
+ MOZ_PV_SUFFIX=${BASH_REMATCH[1]} |
126 |
+ |
127 |
+ # Convert the ebuild version to the upstream Mozilla version |
128 |
+ MOZ_PV="${MOZ_PV/_alpha/a}" # Handle alpha for SRC_URI |
129 |
+ MOZ_PV="${MOZ_PV/_beta/b}" # Handle beta for SRC_URI |
130 |
+ MOZ_PV="${MOZ_PV%%_rc*}" # Handle rc for SRC_URI |
131 |
+fi |
132 |
+ |
133 |
+if [[ -n ${MOZ_ESR} ]] ; then |
134 |
+ # ESR releases have slightly different version numbers |
135 |
+ MOZ_PV="${MOZ_PV}esr" |
136 |
+fi |
137 |
+ |
138 |
+MOZ_PN="${PN%-bin}" |
139 |
+MOZ_P="${MOZ_PN}-${MOZ_PV}" |
140 |
+MOZ_PV_DISTFILES="${MOZ_PV}${MOZ_PV_SUFFIX}" |
141 |
+MOZ_P_DISTFILES="${MOZ_PN}-${MOZ_PV_DISTFILES}" |
142 |
+ |
143 |
+inherit autotools check-reqs desktop flag-o-matic gnome2-utils llvm \ |
144 |
+ multiprocessing pax-utils python-any-r1 toolchain-funcs \ |
145 |
+ virtualx xdg |
146 |
+ |
147 |
+MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/releases/${MOZ_PV}" |
148 |
+ |
149 |
+if [[ ${PV} == *_rc* ]] ; then |
150 |
+ MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/candidates/${MOZ_PV}-candidates/build${PV##*_rc}" |
151 |
+fi |
152 |
+ |
153 |
+PATCH_URIS=( |
154 |
+ https://dev.gentoo.org/~{axs,polynomial-c,whissi}/mozilla/patchsets/${FIREFOX_PATCHSET} |
155 |
+) |
156 |
+ |
157 |
+SRC_URI="${MOZ_SRC_BASE_URI}/source/${MOZ_P}.source.tar.xz -> ${MOZ_P_DISTFILES}.source.tar.xz |
158 |
+ ${PATCH_URIS[@]}" |
159 |
+ |
160 |
+DESCRIPTION="Thunderbird Mail Client" |
161 |
+HOMEPAGE="https://www.mozilla.org/thunderbird" |
162 |
+ |
163 |
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" |
164 |
+ |
165 |
+SLOT="0/$(ver_cut 1)" |
166 |
+LICENSE="MPL-2.0 GPL-2 LGPL-2.1" |
167 |
+IUSE="+clang cpu_flags_arm_neon dbus debug eme-free |
168 |
+ hardened hwaccel jack lto +openh264 pgo pulseaudio selinux |
169 |
+ +system-av1 +system-harfbuzz +system-icu +system-jpeg +system-libevent |
170 |
+ +system-libvpx +system-webp wayland wifi" |
171 |
+ |
172 |
+REQUIRED_USE="x86? ( lto? ( clang ) ) |
173 |
+ wifi? ( dbus )" |
174 |
+ |
175 |
+BDEPEND="${PYTHON_DEPS} |
176 |
+ app-arch/unzip |
177 |
+ app-arch/zip |
178 |
+ >=dev-util/cbindgen-0.14.3 |
179 |
+ >=net-libs/nodejs-10.21.0 |
180 |
+ virtual/pkgconfig |
181 |
+ >=virtual/rust-1.41.0 |
182 |
+ || ( |
183 |
+ ( |
184 |
+ sys-devel/clang:11 |
185 |
+ sys-devel/llvm:11 |
186 |
+ clang? ( |
187 |
+ =sys-devel/lld-11* |
188 |
+ pgo? ( =sys-libs/compiler-rt-sanitizers-11*[profile] ) |
189 |
+ ) |
190 |
+ ) |
191 |
+ ( |
192 |
+ sys-devel/clang:10 |
193 |
+ sys-devel/llvm:10 |
194 |
+ clang? ( |
195 |
+ =sys-devel/lld-10* |
196 |
+ pgo? ( =sys-libs/compiler-rt-sanitizers-10*[profile] ) |
197 |
+ ) |
198 |
+ ) |
199 |
+ ( |
200 |
+ sys-devel/clang:9 |
201 |
+ sys-devel/llvm:9 |
202 |
+ clang? ( |
203 |
+ =sys-devel/lld-9* |
204 |
+ pgo? ( =sys-libs/compiler-rt-sanitizers-9*[profile] ) |
205 |
+ ) |
206 |
+ ) |
207 |
+ ) |
208 |
+ lto? ( |
209 |
+ !clang? ( sys-devel/binutils[gold] ) |
210 |
+ ) |
211 |
+ amd64? ( >=dev-lang/yasm-1.1 ) |
212 |
+ x86? ( >=dev-lang/yasm-1.1 ) |
213 |
+ !system-av1? ( |
214 |
+ amd64? ( >=dev-lang/nasm-2.13 ) |
215 |
+ x86? ( >=dev-lang/nasm-2.13 ) |
216 |
+ )" |
217 |
+ |
218 |
+CDEPEND=" |
219 |
+ >=dev-libs/nss-3.53.1 |
220 |
+ >=dev-libs/nspr-4.25 |
221 |
+ dev-libs/atk |
222 |
+ dev-libs/expat |
223 |
+ >=x11-libs/cairo-1.10[X] |
224 |
+ >=x11-libs/gtk+-2.18:2 |
225 |
+ >=x11-libs/gtk+-3.4.0:3[X] |
226 |
+ x11-libs/gdk-pixbuf |
227 |
+ >=x11-libs/pango-1.22.0 |
228 |
+ >=media-libs/libpng-1.6.35:0=[apng] |
229 |
+ >=media-libs/mesa-10.2:* |
230 |
+ media-libs/fontconfig |
231 |
+ >=media-libs/freetype-2.4.10 |
232 |
+ kernel_linux? ( !pulseaudio? ( media-libs/alsa-lib ) ) |
233 |
+ virtual/freedesktop-icon-theme |
234 |
+ >=x11-libs/pixman-0.19.2 |
235 |
+ >=dev-libs/glib-2.26:2 |
236 |
+ >=sys-libs/zlib-1.2.3 |
237 |
+ >=dev-libs/libffi-3.0.10:= |
238 |
+ media-video/ffmpeg |
239 |
+ x11-libs/libX11 |
240 |
+ x11-libs/libXcomposite |
241 |
+ x11-libs/libXdamage |
242 |
+ x11-libs/libXext |
243 |
+ x11-libs/libXfixes |
244 |
+ x11-libs/libXrender |
245 |
+ x11-libs/libXt |
246 |
+ dbus? ( |
247 |
+ sys-apps/dbus |
248 |
+ dev-libs/dbus-glib |
249 |
+ ) |
250 |
+ system-av1? ( |
251 |
+ >=media-libs/dav1d-0.3.0:= |
252 |
+ >=media-libs/libaom-1.0.0:= |
253 |
+ ) |
254 |
+ system-harfbuzz? ( |
255 |
+ >=media-libs/harfbuzz-2.6.8:0= |
256 |
+ >=media-gfx/graphite2-1.3.13 |
257 |
+ ) |
258 |
+ system-icu? ( >=dev-libs/icu-67.1:= ) |
259 |
+ system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 ) |
260 |
+ system-libevent? ( >=dev-libs/libevent-2.0:0=[threads] ) |
261 |
+ system-libvpx? ( >=media-libs/libvpx-1.8.2:0=[postproc] ) |
262 |
+ system-webp? ( >=media-libs/libwebp-1.1.0:0= ) |
263 |
+ wifi? ( |
264 |
+ kernel_linux? ( |
265 |
+ sys-apps/dbus |
266 |
+ dev-libs/dbus-glib |
267 |
+ net-misc/networkmanager |
268 |
+ ) |
269 |
+ ) |
270 |
+ jack? ( virtual/jack ) |
271 |
+ selinux? ( sec-policy/selinux-mozilla )" |
272 |
+ |
273 |
+RDEPEND="${CDEPEND} |
274 |
+ jack? ( virtual/jack ) |
275 |
+ openh264? ( media-libs/openh264:*[plugin] ) |
276 |
+ pulseaudio? ( |
277 |
+ || ( |
278 |
+ media-sound/pulseaudio |
279 |
+ >=media-sound/apulse-0.1.12-r4 |
280 |
+ ) |
281 |
+ ) |
282 |
+ selinux? ( sec-policy/selinux-mozilla ) |
283 |
+ !<x11-plugins/enigmail-2.2" |
284 |
+ |
285 |
+DEPEND="${CDEPEND} |
286 |
+ pulseaudio? ( |
287 |
+ || ( |
288 |
+ media-sound/pulseaudio |
289 |
+ >=media-sound/apulse-0.1.12-r4[sdk] |
290 |
+ ) |
291 |
+ ) |
292 |
+ wayland? ( >=x11-libs/gtk+-3.11:3[wayland] ) |
293 |
+ amd64? ( virtual/opengl ) |
294 |
+ x86? ( virtual/opengl )" |
295 |
+ |
296 |
+S="${WORKDIR}/${PN}-${PV%_*}" |
297 |
+ |
298 |
+llvm_check_deps() { |
299 |
+ if ! has_version -b "sys-devel/clang:${LLVM_SLOT}" ; then |
300 |
+ ewarn "sys-devel/clang:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 |
301 |
+ return 1 |
302 |
+ fi |
303 |
+ |
304 |
+ if use clang ; then |
305 |
+ if ! has_version -b "=sys-devel/lld-${LLVM_SLOT}*" ; then |
306 |
+ ewarn "=sys-devel/lld-${LLVM_SLOT}* is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 |
307 |
+ return 1 |
308 |
+ fi |
309 |
+ |
310 |
+ if use pgo ; then |
311 |
+ if ! has_version -b "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*" ; then |
312 |
+ ewarn "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}* is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 |
313 |
+ return 1 |
314 |
+ fi |
315 |
+ fi |
316 |
+ fi |
317 |
+ |
318 |
+ einfo "Using LLVM slot ${LLVM_SLOT} to build" >&2 |
319 |
+} |
320 |
+ |
321 |
+MOZ_LANGS=( |
322 |
+ af ar ast be bg br ca cak cs cy da de dsb el en-CA en-GB en-US |
323 |
+ es-AR es-ES et eu fa fi fr fy-NL ga-IE gd gl he hr hsb hu hy-AM |
324 |
+ id is it ja ka kab kk ko lt ms nb-NO nl nn-NO pa-IN pl pt-BR |
325 |
+ pt-PT rm ro ru si sk sl sq sr sv-SE th tr uz vi zh-CN zh-TW |
326 |
+) |
327 |
+ |
328 |
+mozilla_set_globals() { |
329 |
+ # https://bugs.gentoo.org/587334 |
330 |
+ local MOZ_TOO_REGIONALIZED_FOR_L10N=( |
331 |
+ fy-NL ga-IE gu-IN hi-IN hy-AM nb-NO ne-NP nn-NO pa-IN sv-SE |
332 |
+ ) |
333 |
+ |
334 |
+ local lang xflag |
335 |
+ for lang in "${MOZ_LANGS[@]}" ; do |
336 |
+ # en and en_US are handled internally |
337 |
+ if [[ ${lang} == en ]] || [[ ${lang} == en-US ]] ; then |
338 |
+ continue |
339 |
+ fi |
340 |
+ |
341 |
+ # strip region subtag if $lang is in the list |
342 |
+ if has ${lang} "${MOZ_TOO_REGIONALIZED_FOR_L10N[@]}" ; then |
343 |
+ xflag=${lang%%-*} |
344 |
+ else |
345 |
+ xflag=${lang} |
346 |
+ fi |
347 |
+ |
348 |
+ SRC_URI+=" l10n_${xflag/[_@]/-}? (" |
349 |
+ SRC_URI+=" ${MOZ_SRC_BASE_URI}/linux-x86_64/xpi/${lang}.xpi -> ${MOZ_P_DISTFILES}-${lang}.xpi" |
350 |
+ SRC_URI+=" )" |
351 |
+ IUSE+=" l10n_${xflag/[_@]/-}" |
352 |
+ done |
353 |
+} |
354 |
+mozilla_set_globals |
355 |
+ |
356 |
+moz_clear_vendor_checksums() { |
357 |
+ debug-print-function ${FUNCNAME} "$@" |
358 |
+ |
359 |
+ if [[ ${#} -ne 1 ]] ; then |
360 |
+ die "${FUNCNAME} requires exact one argument" |
361 |
+ fi |
362 |
+ |
363 |
+ einfo "Clearing cargo checksums for ${1} ..." |
364 |
+ |
365 |
+ sed -i \ |
366 |
+ -e 's/\("files":{\)[^}]*/\1/' \ |
367 |
+ "${S}"/third_party/rust/${1}/.cargo-checksum.json \ |
368 |
+ || die |
369 |
+} |
370 |
+ |
371 |
+moz_install_xpi() { |
372 |
+ debug-print-function ${FUNCNAME} "$@" |
373 |
+ |
374 |
+ if [[ ${#} -lt 2 ]] ; then |
375 |
+ die "${FUNCNAME} requires at least two arguments" |
376 |
+ fi |
377 |
+ |
378 |
+ local DESTDIR=${1} |
379 |
+ shift |
380 |
+ |
381 |
+ insinto "${DESTDIR}" |
382 |
+ |
383 |
+ local emid xpi_file xpi_tmp_dir |
384 |
+ for xpi_file in "${@}" ; do |
385 |
+ emid= |
386 |
+ xpi_tmp_dir=$(mktemp -d --tmpdir="${T}") |
387 |
+ |
388 |
+ # Unpack XPI |
389 |
+ unzip -qq "${xpi_file}" -d "${xpi_tmp_dir}" || die |
390 |
+ |
391 |
+ # Determine extension ID |
392 |
+ if [[ -f "${xpi_tmp_dir}/install.rdf" ]] ; then |
393 |
+ emid=$(sed -n -e '/install-manifest/,$ { /em:id/!d; s/.*[\">]\([^\"<>]*\)[\"<].*/\1/; p; q }' "${xpi_tmp_dir}/install.rdf") |
394 |
+ [[ -z "${emid}" ]] && die "failed to determine extension id from install.rdf" |
395 |
+ elif [[ -f "${xpi_tmp_dir}/manifest.json" ]] ; then |
396 |
+ emid=$(sed -n -e 's/.*"id": "\([^"]*\)".*/\1/p' "${xpi_tmp_dir}/manifest.json") |
397 |
+ [[ -z "${emid}" ]] && die "failed to determine extension id from manifest.json" |
398 |
+ else |
399 |
+ die "failed to determine extension id" |
400 |
+ fi |
401 |
+ |
402 |
+ einfo "Installing ${emid}.xpi into ${ED}${DESTDIR} ..." |
403 |
+ newins "${xpi_file}" "${emid}.xpi" |
404 |
+ done |
405 |
+} |
406 |
+ |
407 |
+mozconfig_add_options_ac() { |
408 |
+ debug-print-function ${FUNCNAME} "$@" |
409 |
+ |
410 |
+ if [[ ${#} -lt 2 ]] ; then |
411 |
+ die "${FUNCNAME} requires at least two arguments" |
412 |
+ fi |
413 |
+ |
414 |
+ local reason=${1} |
415 |
+ shift |
416 |
+ |
417 |
+ local option |
418 |
+ for option in ${@} ; do |
419 |
+ echo "ac_add_options ${option} # ${reason}" >>${MOZCONFIG} |
420 |
+ done |
421 |
+} |
422 |
+ |
423 |
+mozconfig_add_options_mk() { |
424 |
+ debug-print-function ${FUNCNAME} "$@" |
425 |
+ |
426 |
+ if [[ ${#} -lt 2 ]] ; then |
427 |
+ die "${FUNCNAME} requires at least two arguments" |
428 |
+ fi |
429 |
+ |
430 |
+ local reason=${1} |
431 |
+ shift |
432 |
+ |
433 |
+ local option |
434 |
+ for option in ${@} ; do |
435 |
+ echo "mk_add_options ${option} # ${reason}" >>${MOZCONFIG} |
436 |
+ done |
437 |
+} |
438 |
+ |
439 |
+mozconfig_use_enable() { |
440 |
+ debug-print-function ${FUNCNAME} "$@" |
441 |
+ |
442 |
+ if [[ ${#} -lt 1 ]] ; then |
443 |
+ die "${FUNCNAME} requires at least one arguments" |
444 |
+ fi |
445 |
+ |
446 |
+ local flag=$(use_enable "${@}") |
447 |
+ mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" "${flag}" |
448 |
+} |
449 |
+ |
450 |
+mozconfig_use_with() { |
451 |
+ debug-print-function ${FUNCNAME} "$@" |
452 |
+ |
453 |
+ if [[ ${#} -lt 1 ]] ; then |
454 |
+ die "${FUNCNAME} requires at least one arguments" |
455 |
+ fi |
456 |
+ |
457 |
+ local flag=$(use_with "${@}") |
458 |
+ mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" "${flag}" |
459 |
+} |
460 |
+ |
461 |
+pkg_pretend() { |
462 |
+ if [[ ${MERGE_TYPE} != binary ]] ; then |
463 |
+ if use pgo ; then |
464 |
+ if ! has usersandbox $FEATURES ; then |
465 |
+ die "You must enable usersandbox as X server can not run as root!" |
466 |
+ fi |
467 |
+ fi |
468 |
+ |
469 |
+ # Ensure we have enough disk space to compile |
470 |
+ if use pgo || use lto || use debug ; then |
471 |
+ CHECKREQS_DISK_BUILD="13500M" |
472 |
+ else |
473 |
+ CHECKREQS_DISK_BUILD="6400M" |
474 |
+ fi |
475 |
+ |
476 |
+ check-reqs_pkg_pretend |
477 |
+ fi |
478 |
+} |
479 |
+ |
480 |
+pkg_setup() { |
481 |
+ if [[ ${MERGE_TYPE} != binary ]] ; then |
482 |
+ if use pgo ; then |
483 |
+ if ! has userpriv ${FEATURES} ; then |
484 |
+ eerror "Building ${PN} with USE=pgo and FEATURES=-userpriv is not supported!" |
485 |
+ fi |
486 |
+ fi |
487 |
+ |
488 |
+ # Ensure we have enough disk space to compile |
489 |
+ if use pgo || use lto || use debug ; then |
490 |
+ CHECKREQS_DISK_BUILD="13500M" |
491 |
+ else |
492 |
+ CHECKREQS_DISK_BUILD="6400M" |
493 |
+ fi |
494 |
+ |
495 |
+ check-reqs_pkg_setup |
496 |
+ |
497 |
+ llvm_pkg_setup |
498 |
+ |
499 |
+ if use clang && use lto ; then |
500 |
+ local version_lld=$(ld.lld --version 2>/dev/null | awk '{ print $2 }') |
501 |
+ [[ -n ${version_lld} ]] && version_lld=$(ver_cut 1 "${version_lld}") |
502 |
+ [[ -z ${version_lld} ]] && die "Failed to read ld.lld version!" |
503 |
+ |
504 |
+ # temp fix for https://bugs.gentoo.org/768543 |
505 |
+ # we can assume that rust 1.49.0 always uses llvm 11 |
506 |
+ local version_rust=$(rustc -Vv 2>/dev/null | grep -F -- 'release:' | awk '{ print $2 }') |
507 |
+ [[ -n ${version_rust} ]] && version_rust=$(ver_cut 1-2 "${version_rust}") |
508 |
+ [[ -z ${version_rust} ]] && die "Failed to read version from rustc!" |
509 |
+ |
510 |
+ if ver_test "${version_rust}" -eq "1.49" ; then |
511 |
+ local version_llvm_rust="11" |
512 |
+ else |
513 |
+ local version_llvm_rust=$(rustc -Vv 2>/dev/null | grep -F -- 'LLVM version:' | awk '{ print $3 }') |
514 |
+ [[ -n ${version_llvm_rust} ]] && version_llvm_rust=$(ver_cut 1 "${version_llvm_rust}") |
515 |
+ [[ -z ${version_llvm_rust} ]] && die "Failed to read used LLVM version from rustc!" |
516 |
+ fi |
517 |
+ |
518 |
+ if ver_test "${version_lld}" -ne "${version_llvm_rust}" ; then |
519 |
+ eerror "Rust is using LLVM version ${version_llvm_rust} but ld.lld version belongs to LLVM version ${version_lld}." |
520 |
+ eerror "You will be unable to link ${CATEGORY}/${PN}. To proceed you have the following options:" |
521 |
+ eerror " - Manually switch rust version using 'eselect rust' to match used LLVM version" |
522 |
+ eerror " - Switch to dev-lang/rust[system-llvm] which will guarantee matching version" |
523 |
+ eerror " - Build ${CATEGORY}/${PN} without USE=lto" |
524 |
+ die "LLVM version used by Rust (${version_llvm_rust}) does not match with ld.lld version (${version_lld})!" |
525 |
+ fi |
526 |
+ fi |
527 |
+ |
528 |
+ python-any-r1_pkg_setup |
529 |
+ |
530 |
+ # Avoid PGO profiling problems due to enviroment leakage |
531 |
+ # These should *always* be cleaned up anyway |
532 |
+ unset \ |
533 |
+ DBUS_SESSION_BUS_ADDRESS \ |
534 |
+ DISPLAY \ |
535 |
+ ORBIT_SOCKETDIR \ |
536 |
+ SESSION_MANAGER \ |
537 |
+ XAUTHORITY \ |
538 |
+ XDG_CACHE_HOME \ |
539 |
+ XDG_SESSION_COOKIE |
540 |
+ |
541 |
+ # Build system is using /proc/self/oom_score_adj, bug #604394 |
542 |
+ addpredict /proc/self/oom_score_adj |
543 |
+ |
544 |
+ if ! mountpoint -q /dev/shm ; then |
545 |
+ # If /dev/shm is not available, configure is known to fail with |
546 |
+ # a traceback report referencing /usr/lib/pythonN.N/multiprocessing/synchronize.py |
547 |
+ ewarn "/dev/shm is not mounted -- expect build failures!" |
548 |
+ fi |
549 |
+ |
550 |
+ # Google API keys (see http://www.chromium.org/developers/how-tos/api-keys) |
551 |
+ # Note: These are for Gentoo Linux use ONLY. For your own distribution, please |
552 |
+ # get your own set of keys. |
553 |
+ if [[ -z "${MOZ_API_KEY_GOOGLE+set}" ]] ; then |
554 |
+ MOZ_API_KEY_GOOGLE="AIzaSyDEAOvatFogGaPi0eTgsV_ZlEzx0ObmepsMzfAc" |
555 |
+ fi |
556 |
+ |
557 |
+ # Ensure we use C locale when building, bug #746215 |
558 |
+ export LC_ALL=C |
559 |
+ fi |
560 |
+} |
561 |
+ |
562 |
+src_unpack() { |
563 |
+ local _lp_dir="${WORKDIR}/language_packs" |
564 |
+ local _src_file |
565 |
+ |
566 |
+ if [[ ! -d "${_lp_dir}" ]] ; then |
567 |
+ mkdir "${_lp_dir}" || die |
568 |
+ fi |
569 |
+ |
570 |
+ for _src_file in ${A} ; do |
571 |
+ if [[ ${_src_file} == *.xpi ]]; then |
572 |
+ cp "${DISTDIR}/${_src_file}" "${_lp_dir}" || die "Failed to copy '${_src_file}' to '${_lp_dir}'!" |
573 |
+ else |
574 |
+ unpack ${_src_file} |
575 |
+ fi |
576 |
+ done |
577 |
+} |
578 |
+ |
579 |
+src_prepare() { |
580 |
+ use lto && rm -v "${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch |
581 |
+ eapply "${WORKDIR}/firefox-patches" |
582 |
+ |
583 |
+ # Allow user to apply any additional patches without modifing ebuild |
584 |
+ eapply_user |
585 |
+ |
586 |
+ # Make LTO respect MAKEOPTS |
587 |
+ sed -i \ |
588 |
+ -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ |
589 |
+ "${S}"/build/moz.configure/lto-pgo.configure \ |
590 |
+ || die "sed failed to set num_cores" |
591 |
+ |
592 |
+ # Make ICU respect MAKEOPTS |
593 |
+ sed -i \ |
594 |
+ -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ |
595 |
+ "${S}"/intl/icu_sources_data.py \ |
596 |
+ || die "sed failed to set num_cores" |
597 |
+ |
598 |
+ # sed-in toolchain prefix |
599 |
+ sed -i \ |
600 |
+ -e "s/objdump/${CHOST}-objdump/" \ |
601 |
+ "${S}"/python/mozbuild/mozbuild/configure/check_debug_ranges.py \ |
602 |
+ || die "sed failed to set toolchain prefix" |
603 |
+ |
604 |
+ sed -i \ |
605 |
+ -e 's/ccache_stats = None/return None/' \ |
606 |
+ "${S}"/python/mozbuild/mozbuild/controller/building.py \ |
607 |
+ || die "sed failed to disable ccache stats call" |
608 |
+ |
609 |
+ einfo "Removing pre-built binaries ..." |
610 |
+ find "${S}"/third_party -type f \( -name '*.so' -o -name '*.o' \) -print -delete || die |
611 |
+ |
612 |
+ # Clearing checksums where we have applied patches |
613 |
+ moz_clear_vendor_checksums target-lexicon-0.9.0 |
614 |
+ |
615 |
+ # Create build dir |
616 |
+ BUILD_DIR="${WORKDIR}/${PN}_build" |
617 |
+ mkdir -p "${BUILD_DIR}" || die |
618 |
+ |
619 |
+ # Write API keys to disk |
620 |
+ echo -n "${MOZ_API_KEY_GOOGLE//gGaPi/}" > "${S}"/api-google.key || die |
621 |
+ |
622 |
+ xdg_src_prepare |
623 |
+} |
624 |
+ |
625 |
+src_configure() { |
626 |
+ # Show flags set at the beginning |
627 |
+ einfo "Current BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}" |
628 |
+ einfo "Current CFLAGS:\t\t${CFLAGS:-no value set}" |
629 |
+ einfo "Current CXXFLAGS:\t\t${CXXFLAGS:-no value set}" |
630 |
+ einfo "Current LDFLAGS:\t\t${LDFLAGS:-no value set}" |
631 |
+ einfo "Current RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}" |
632 |
+ |
633 |
+ local have_switched_compiler= |
634 |
+ if use clang && ! tc-is-clang ; then |
635 |
+ # Force clang |
636 |
+ einfo "Enforcing the use of clang due to USE=clang ..." |
637 |
+ have_switched_compiler=yes |
638 |
+ AR=llvm-ar |
639 |
+ CC=${CHOST}-clang |
640 |
+ CXX=${CHOST}-clang++ |
641 |
+ NM=llvm-nm |
642 |
+ RANLIB=llvm-ranlib |
643 |
+ elif ! use clang && ! tc-is-gcc ; then |
644 |
+ # Force gcc |
645 |
+ have_switched_compiler=yes |
646 |
+ einfo "Enforcing the use of gcc due to USE=-clang ..." |
647 |
+ AR=gcc-ar |
648 |
+ CC=${CHOST}-gcc |
649 |
+ CXX=${CHOST}-g++ |
650 |
+ NM=gcc-nm |
651 |
+ RANLIB=gcc-ranlib |
652 |
+ fi |
653 |
+ |
654 |
+ if [[ -n "${have_switched_compiler}" ]] ; then |
655 |
+ # Because we switched active compiler we have to ensure |
656 |
+ # that no unsupported flags are set |
657 |
+ strip-unsupported-flags |
658 |
+ fi |
659 |
+ |
660 |
+ # Ensure we use correct toolchain |
661 |
+ export HOST_CC="$(tc-getBUILD_CC)" |
662 |
+ export HOST_CXX="$(tc-getBUILD_CXX)" |
663 |
+ tc-export CC CXX LD AR NM OBJDUMP RANLIB PKG_CONFIG |
664 |
+ |
665 |
+ # Pass the correct toolchain paths through cbindgen |
666 |
+ if tc-is-cross-compiler ; then |
667 |
+ export BINDGEN_CFLAGS="${SYSROOT:+--sysroot=${ESYSROOT}} --target=${CHOST} ${BINDGEN_CFLAGS-}" |
668 |
+ fi |
669 |
+ |
670 |
+ # Set MOZILLA_FIVE_HOME |
671 |
+ export MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" |
672 |
+ |
673 |
+ # python/mach/mach/mixin/process.py fails to detect SHELL |
674 |
+ export SHELL="${EPREFIX}/bin/bash" |
675 |
+ |
676 |
+ # Set MOZCONFIG |
677 |
+ export MOZCONFIG="${S}/.mozconfig" |
678 |
+ |
679 |
+ # Initialize MOZCONFIG |
680 |
+ mozconfig_add_options_ac '' --enable-application=comm/mail |
681 |
+ mozconfig_add_options_ac '' --enable-calendar |
682 |
+ |
683 |
+ # Set Gentoo defaults |
684 |
+ export MOZILLA_OFFICIAL=1 |
685 |
+ |
686 |
+ mozconfig_add_options_ac 'Gentoo default' \ |
687 |
+ --allow-addon-sideload \ |
688 |
+ --disable-cargo-incremental \ |
689 |
+ --disable-crashreporter \ |
690 |
+ --disable-install-strip \ |
691 |
+ --disable-strip \ |
692 |
+ --disable-updater \ |
693 |
+ --enable-official-branding \ |
694 |
+ --enable-release \ |
695 |
+ --enable-system-ffi \ |
696 |
+ --enable-system-pixman \ |
697 |
+ --host="${CBUILD:-${CHOST}}" \ |
698 |
+ --libdir="${EPREFIX}/usr/$(get_libdir)" \ |
699 |
+ --prefix="${EPREFIX}/usr" \ |
700 |
+ --target="${CHOST}" \ |
701 |
+ --without-ccache \ |
702 |
+ --with-intl-api \ |
703 |
+ --with-libclang-path="$(llvm-config --libdir)" \ |
704 |
+ --with-system-nspr \ |
705 |
+ --with-system-nss \ |
706 |
+ --with-system-png \ |
707 |
+ --with-system-zlib \ |
708 |
+ --with-toolchain-prefix="${CHOST}-" \ |
709 |
+ --with-unsigned-addon-scopes=app,system \ |
710 |
+ --x-includes="${SYSROOT}${EPREFIX}/usr/include" \ |
711 |
+ --x-libraries="${SYSROOT}${EPREFIX}/usr/$(get_libdir)" |
712 |
+ |
713 |
+ # Set update channel |
714 |
+ local update_channel=release |
715 |
+ [[ -n ${MOZ_ESR} ]] && update_channel=esr |
716 |
+ mozconfig_add_options_ac '' --update-channel=${update_channel} |
717 |
+ |
718 |
+ if ! use x86 && [[ ${CHOST} != armv*h* ]] ; then |
719 |
+ mozconfig_add_options_ac '' --enable-rust-simd |
720 |
+ fi |
721 |
+ |
722 |
+ if [[ -s "${S}/api-google.key" ]] ; then |
723 |
+ local key_origin="Gentoo default" |
724 |
+ if [[ $(cat "${S}/api-google.key" | md5sum | awk '{ print $1 }') != 709560c02f94b41f9ad2c49207be6c54 ]] ; then |
725 |
+ key_origin="User value" |
726 |
+ fi |
727 |
+ |
728 |
+ mozconfig_add_options_ac "${key_origin}" \ |
729 |
+ --with-google-location-service-api-keyfile="${S}/api-google.key" \ |
730 |
+ --with-google-safebrowsing-api-keyfile="${S}/api-google.key" |
731 |
+ else |
732 |
+ einfo "Building without Google API key ..." |
733 |
+ fi |
734 |
+ |
735 |
+ mozconfig_use_with system-av1 |
736 |
+ mozconfig_use_with system-harfbuzz |
737 |
+ mozconfig_use_with system-harfbuzz system-graphite2 |
738 |
+ mozconfig_use_with system-icu |
739 |
+ mozconfig_use_with system-jpeg |
740 |
+ mozconfig_use_with system-libevent system-libevent "${SYSROOT}${EPREFIX}/usr" |
741 |
+ mozconfig_use_with system-libvpx |
742 |
+ mozconfig_use_with system-webp |
743 |
+ |
744 |
+ mozconfig_use_enable dbus |
745 |
+ |
746 |
+ use eme-free && mozconfig_add_options_ac '+eme-free' --disable-eme |
747 |
+ |
748 |
+ if use hardened ; then |
749 |
+ mozconfig_add_options_ac "+hardened" --enable-hardening |
750 |
+ append-ldflags "-Wl,-z,relro -Wl,-z,now" |
751 |
+ fi |
752 |
+ |
753 |
+ mozconfig_use_enable jack |
754 |
+ |
755 |
+ mozconfig_use_enable pulseaudio |
756 |
+ # force the deprecated alsa sound code if pulseaudio is disabled |
757 |
+ if use kernel_linux && ! use pulseaudio ; then |
758 |
+ mozconfig_add_options_ac '-pulseaudio' --enable-alsa |
759 |
+ fi |
760 |
+ |
761 |
+ mozconfig_use_enable wifi necko-wifi |
762 |
+ |
763 |
+ if use wayland ; then |
764 |
+ mozconfig_add_options_ac '+wayland' --enable-default-toolkit=cairo-gtk3-wayland |
765 |
+ else |
766 |
+ mozconfig_add_options_ac '' --enable-default-toolkit=cairo-gtk3 |
767 |
+ fi |
768 |
+ |
769 |
+ if use lto ; then |
770 |
+ if use clang ; then |
771 |
+ # Upstream only supports lld when using clang |
772 |
+ mozconfig_add_options_ac "forcing ld=lld due to USE=clang and USE=lto" --enable-linker=lld |
773 |
+ |
774 |
+ mozconfig_add_options_ac '+lto' --enable-lto=cross |
775 |
+ else |
776 |
+ # Linking only works when using ld.gold when LTO is enabled |
777 |
+ mozconfig_add_options_ac "forcing ld=gold due to USE=lto" --enable-linker=gold |
778 |
+ |
779 |
+ # ThinLTO is currently broken, see bmo#1644409 |
780 |
+ mozconfig_add_options_ac '+lto' --enable-lto=full |
781 |
+ fi |
782 |
+ |
783 |
+ if use pgo ; then |
784 |
+ mozconfig_add_options_ac '+pgo' MOZ_PGO=1 |
785 |
+ |
786 |
+ if use clang ; then |
787 |
+ # Used in build/pgo/profileserver.py |
788 |
+ export LLVM_PROFDATA="llvm-profdata" |
789 |
+ fi |
790 |
+ fi |
791 |
+ else |
792 |
+ # Avoid auto-magic on linker |
793 |
+ if use clang ; then |
794 |
+ # This is upstream's default |
795 |
+ mozconfig_add_options_ac "forcing ld=lld due to USE=clang" --enable-linker=lld |
796 |
+ elif tc-ld-is-gold ; then |
797 |
+ mozconfig_add_options_ac "linker is set to gold" --enable-linker=gold |
798 |
+ else |
799 |
+ mozconfig_add_options_ac "linker is set to bfd" --enable-linker=bfd |
800 |
+ fi |
801 |
+ fi |
802 |
+ |
803 |
+ # LTO flag was handled via configure |
804 |
+ filter-flags '-flto*' |
805 |
+ |
806 |
+ mozconfig_use_enable debug |
807 |
+ if use debug ; then |
808 |
+ mozconfig_add_options_ac '+debug' --disable-optimize |
809 |
+ else |
810 |
+ if is-flag '-g*' ; then |
811 |
+ if use clang ; then |
812 |
+ mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols=$(get-flag '-g*') |
813 |
+ else |
814 |
+ mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols |
815 |
+ fi |
816 |
+ else |
817 |
+ mozconfig_add_options_ac 'Gentoo default' --disable-debug-symbols |
818 |
+ fi |
819 |
+ |
820 |
+ if is-flag '-O0' ; then |
821 |
+ mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O0 |
822 |
+ elif is-flag '-O4' ; then |
823 |
+ mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O4 |
824 |
+ elif is-flag '-O3' ; then |
825 |
+ mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O3 |
826 |
+ elif is-flag '-O1' ; then |
827 |
+ mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O1 |
828 |
+ elif is-flag '-Os' ; then |
829 |
+ mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-Os |
830 |
+ else |
831 |
+ mozconfig_add_options_ac "Gentoo default" --enable-optimize=-O2 |
832 |
+ fi |
833 |
+ fi |
834 |
+ |
835 |
+ # Debug flag was handled via configure |
836 |
+ filter-flags '-g*' |
837 |
+ |
838 |
+ # Optimization flag was handled via configure |
839 |
+ filter-flags '-O*' |
840 |
+ |
841 |
+ # Modifications to better support ARM, bug #553364 |
842 |
+ if use cpu_flags_arm_neon ; then |
843 |
+ mozconfig_add_options_ac '+cpu_flags_arm_neon' --with-fpu=neon |
844 |
+ |
845 |
+ if ! tc-is-clang ; then |
846 |
+ # thumb options aren't supported when using clang, bug 666966 |
847 |
+ mozconfig_add_options_ac '+cpu_flags_arm_neon' \ |
848 |
+ --with-thumb=yes \ |
849 |
+ --with-thumb-interwork=no |
850 |
+ fi |
851 |
+ fi |
852 |
+ |
853 |
+ if [[ ${CHOST} == armv*h* ]] ; then |
854 |
+ mozconfig_add_options_ac 'CHOST=armv*h*' --with-float-abi=hard |
855 |
+ |
856 |
+ if ! use system-libvpx ; then |
857 |
+ sed -i \ |
858 |
+ -e "s|softfp|hard|" \ |
859 |
+ "${S}"/media/libvpx/moz.build \ |
860 |
+ || die |
861 |
+ fi |
862 |
+ fi |
863 |
+ |
864 |
+ if use clang ; then |
865 |
+ # https://bugzilla.mozilla.org/show_bug.cgi?id=1482204 |
866 |
+ # https://bugzilla.mozilla.org/show_bug.cgi?id=1483822 |
867 |
+ # toolkit/moz.configure Elfhack section: target.cpu in ('arm', 'x86', 'x86_64') |
868 |
+ local disable_elf_hack= |
869 |
+ if use amd64 ; then |
870 |
+ disable_elf_hack=yes |
871 |
+ elif use x86 ; then |
872 |
+ disable_elf_hack=yes |
873 |
+ elif use arm ; then |
874 |
+ disable_elf_hack=yes |
875 |
+ fi |
876 |
+ |
877 |
+ if [[ -n ${disable_elf_hack} ]] ; then |
878 |
+ mozconfig_add_options_ac 'elf-hack is broken when using Clang' --disable-elf-hack |
879 |
+ fi |
880 |
+ elif tc-is-gcc ; then |
881 |
+ if ver_test $(gcc-fullversion) -ge 10 ; then |
882 |
+ einfo "Forcing -fno-tree-loop-vectorize to workaround GCC bug, see bug 758446 ..." |
883 |
+ append-cxxflags -fno-tree-loop-vectorize |
884 |
+ fi |
885 |
+ fi |
886 |
+ |
887 |
+ # Additional ARCH support |
888 |
+ case "${ARCH}" in |
889 |
+ arm) |
890 |
+ # Reduce the memory requirements for linking |
891 |
+ if use clang ; then |
892 |
+ # Nothing to do |
893 |
+ :; |
894 |
+ elif tc-ld-is-gold || use lto ; then |
895 |
+ append-ldflags -Wl,--no-keep-memory |
896 |
+ else |
897 |
+ append-ldflags -Wl,--no-keep-memory -Wl,--reduce-memory-overheads |
898 |
+ fi |
899 |
+ ;; |
900 |
+ esac |
901 |
+ |
902 |
+ if ! use elibc_glibc ; then |
903 |
+ mozconfig_add_options_ac '!elibc_glibc' --disable-jemalloc |
904 |
+ fi |
905 |
+ |
906 |
+ # Allow elfhack to work in combination with unstripped binaries |
907 |
+ # when they would normally be larger than 2GiB. |
908 |
+ append-ldflags "-Wl,--compress-debug-sections=zlib" |
909 |
+ |
910 |
+ # Make revdep-rebuild.sh happy; Also required for musl |
911 |
+ append-ldflags -Wl,-rpath="${MOZILLA_FIVE_HOME}",--enable-new-dtags |
912 |
+ |
913 |
+ # Pass $MAKEOPTS to build system |
914 |
+ export MOZ_MAKE_FLAGS="${MAKEOPTS}" |
915 |
+ |
916 |
+ # Use system's Python environment |
917 |
+ export MACH_USE_SYSTEM_PYTHON=1 |
918 |
+ |
919 |
+ # Disable notification when build system has finished |
920 |
+ export MOZ_NOSPAM=1 |
921 |
+ |
922 |
+ # Build system requires xargs but is unable to find it |
923 |
+ mozconfig_add_options_mk 'Gentoo default' "XARGS=${EPREFIX}/usr/bin/xargs" |
924 |
+ |
925 |
+ # Set build dir |
926 |
+ mozconfig_add_options_mk 'Gentoo default' "MOZ_OBJDIR=${BUILD_DIR}" |
927 |
+ |
928 |
+ # Show flags we will use |
929 |
+ einfo "Build BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}" |
930 |
+ einfo "Build CFLAGS:\t\t${CFLAGS:-no value set}" |
931 |
+ einfo "Build CXXFLAGS:\t\t${CXXFLAGS:-no value set}" |
932 |
+ einfo "Build LDFLAGS:\t\t${LDFLAGS:-no value set}" |
933 |
+ einfo "Build RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}" |
934 |
+ |
935 |
+ # Handle EXTRA_CONF and show summary |
936 |
+ local ac opt hash reason |
937 |
+ |
938 |
+ # Apply EXTRA_ECONF entries to $MOZCONFIG |
939 |
+ if [[ -n ${EXTRA_ECONF} ]] ; then |
940 |
+ IFS=\! read -a ac <<<${EXTRA_ECONF// --/\!} |
941 |
+ for opt in "${ac[@]}"; do |
942 |
+ mozconfig_add_options_ac "EXTRA_ECONF" --${opt#--} |
943 |
+ done |
944 |
+ fi |
945 |
+ |
946 |
+ echo |
947 |
+ echo "==========================================================" |
948 |
+ echo "Building ${PF} with the following configuration" |
949 |
+ grep ^ac_add_options "${MOZCONFIG}" | while read ac opt hash reason; do |
950 |
+ [[ -z ${hash} || ${hash} == \# ]] \ |
951 |
+ || die "error reading mozconfig: ${ac} ${opt} ${hash} ${reason}" |
952 |
+ printf " %-30s %s\n" "${opt}" "${reason:-mozilla.org default}" |
953 |
+ done |
954 |
+ echo "==========================================================" |
955 |
+ echo |
956 |
+ |
957 |
+ ./mach configure || die |
958 |
+} |
959 |
+ |
960 |
+src_compile() { |
961 |
+ local virtx_cmd= |
962 |
+ |
963 |
+ if use pgo ; then |
964 |
+ virtx_cmd=virtx |
965 |
+ |
966 |
+ # Reset and cleanup environment variables used by GNOME/XDG |
967 |
+ gnome2_environment_reset |
968 |
+ |
969 |
+ addpredict /root |
970 |
+ fi |
971 |
+ |
972 |
+ local -x GDK_BACKEND=x11 |
973 |
+ |
974 |
+ ${virtx_cmd} ./mach build --verbose \ |
975 |
+ || die |
976 |
+} |
977 |
+ |
978 |
+src_install() { |
979 |
+ # xpcshell is getting called during install |
980 |
+ pax-mark m \ |
981 |
+ "${BUILD_DIR}"/dist/bin/xpcshell \ |
982 |
+ "${BUILD_DIR}"/dist/bin/${PN} \ |
983 |
+ "${BUILD_DIR}"/dist/bin/plugin-container |
984 |
+ |
985 |
+ DESTDIR="${D}" ./mach install || die |
986 |
+ |
987 |
+ # Upstream cannot ship symlink but we can (bmo#658850) |
988 |
+ rm "${ED}${MOZILLA_FIVE_HOME}/${PN}-bin" || die |
989 |
+ dosym ${PN} ${MOZILLA_FIVE_HOME}/${PN}-bin |
990 |
+ |
991 |
+ # Don't install llvm-symbolizer from sys-devel/llvm package |
992 |
+ if [[ -f "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" ]] ; then |
993 |
+ rm -v "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" || die |
994 |
+ fi |
995 |
+ |
996 |
+ # Install policy (currently only used to disable application updates) |
997 |
+ insinto "${MOZILLA_FIVE_HOME}/distribution" |
998 |
+ newins "${FILESDIR}"/distribution.ini distribution.ini |
999 |
+ newins "${FILESDIR}"/disable-auto-update.policy.json policies.json |
1000 |
+ |
1001 |
+ # Install system-wide preferences |
1002 |
+ local PREFS_DIR="${MOZILLA_FIVE_HOME}/defaults/pref" |
1003 |
+ insinto "${PREFS_DIR}" |
1004 |
+ newins "${FILESDIR}"/gentoo-default-prefs.js gentoo-prefs.js |
1005 |
+ |
1006 |
+ local GENTOO_PREFS="${ED}${PREFS_DIR}/gentoo-prefs.js" |
1007 |
+ |
1008 |
+ # Set dictionary path to use system hunspell |
1009 |
+ cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set spellchecker.dictionary_path pref" |
1010 |
+ pref("spellchecker.dictionary_path", "${EPREFIX}/usr/share/myspell"); |
1011 |
+ EOF |
1012 |
+ |
1013 |
+ # Force hwaccel prefs if USE=hwaccel is enabled |
1014 |
+ if use hwaccel ; then |
1015 |
+ cat "${FILESDIR}"/gentoo-hwaccel-prefs.js \ |
1016 |
+ >>"${GENTOO_PREFS}" \ |
1017 |
+ || die "failed to add prefs to force hardware-accelerated rendering to all-gentoo.js" |
1018 |
+ fi |
1019 |
+ |
1020 |
+ # Force the graphite pref if USE=system-harfbuzz is enabled, since the pref cannot disable it |
1021 |
+ if use system-harfbuzz ; then |
1022 |
+ cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set gfx.font_rendering.graphite.enabled pref" |
1023 |
+ sticky_pref("gfx.font_rendering.graphite.enabled", true); |
1024 |
+ EOF |
1025 |
+ fi |
1026 |
+ |
1027 |
+ # Install language packs |
1028 |
+ local langpacks=( $(find "${WORKDIR}/language_packs" -type f -name '*.xpi') ) |
1029 |
+ if [[ -n "${langpacks}" ]] ; then |
1030 |
+ moz_install_xpi "${MOZILLA_FIVE_HOME}/distribution/extensions" "${langpacks[@]}" |
1031 |
+ fi |
1032 |
+ |
1033 |
+ # Install icons |
1034 |
+ local icon_srcdir="${S}/comm/mail/branding/thunderbird" |
1035 |
+ local icon_symbolic_file="${icon_srcdir}/TB-symbolic.svg" |
1036 |
+ |
1037 |
+ insinto /usr/share/icons/hicolor/symbolic/apps |
1038 |
+ newins "${icon_symbolic_file}" ${PN}-symbolic.svg |
1039 |
+ |
1040 |
+ local icon size |
1041 |
+ for icon in "${icon_srcdir}"/default*.png ; do |
1042 |
+ size=${icon%.png} |
1043 |
+ size=${size##*/default} |
1044 |
+ |
1045 |
+ if [[ ${size} -eq 48 ]] ; then |
1046 |
+ newicon "${icon}" ${PN}.png |
1047 |
+ fi |
1048 |
+ |
1049 |
+ newicon -s ${size} "${icon}" ${PN}.png |
1050 |
+ done |
1051 |
+ |
1052 |
+ # Install menus |
1053 |
+ local wrapper_wayland="${PN}-wayland.sh" |
1054 |
+ local wrapper_x11="${PN}-x11.sh" |
1055 |
+ local desktop_file="${FILESDIR}/icon/${PN}-r2.desktop" |
1056 |
+ local display_protocols="auto X11" |
1057 |
+ local icon="${PN}" |
1058 |
+ local name="Mozilla ${MOZ_PN^}" |
1059 |
+ local use_wayland="false" |
1060 |
+ |
1061 |
+ if use wayland ; then |
1062 |
+ display_protocols+=" Wayland" |
1063 |
+ use_wayland="true" |
1064 |
+ fi |
1065 |
+ |
1066 |
+ local app_name desktop_filename display_protocol exec_command |
1067 |
+ for display_protocol in ${display_protocols} ; do |
1068 |
+ app_name="${name} on ${display_protocol}" |
1069 |
+ desktop_filename="${PN}-${display_protocol,,}.desktop" |
1070 |
+ |
1071 |
+ case ${display_protocol} in |
1072 |
+ Wayland) |
1073 |
+ exec_command="${PN}-wayland --name ${PN}-wayland" |
1074 |
+ newbin "${FILESDIR}/${wrapper_wayland}" ${PN}-wayland |
1075 |
+ ;; |
1076 |
+ X11) |
1077 |
+ if ! use wayland ; then |
1078 |
+ # Exit loop here because there's no choice so |
1079 |
+ # we don't need wrapper/.desktop file for X11. |
1080 |
+ continue |
1081 |
+ fi |
1082 |
+ |
1083 |
+ exec_command="${PN}-x11 --name ${PN}-x11" |
1084 |
+ newbin "${FILESDIR}/${wrapper_x11}" ${PN}-x11 |
1085 |
+ ;; |
1086 |
+ *) |
1087 |
+ app_name="${name}" |
1088 |
+ desktop_filename="${PN}.desktop" |
1089 |
+ exec_command="${PN}" |
1090 |
+ ;; |
1091 |
+ esac |
1092 |
+ |
1093 |
+ cp "${desktop_file}" "${WORKDIR}/${PN}.desktop-template" || die |
1094 |
+ |
1095 |
+ sed -i \ |
1096 |
+ -e "s:@NAME@:${app_name}:" \ |
1097 |
+ -e "s:@EXEC@:${exec_command}:" \ |
1098 |
+ -e "s:@ICON@:${icon}:" \ |
1099 |
+ "${WORKDIR}/${PN}.desktop-template" \ |
1100 |
+ || die |
1101 |
+ |
1102 |
+ newmenu "${WORKDIR}/${PN}.desktop-template" "${desktop_filename}" |
1103 |
+ |
1104 |
+ rm "${WORKDIR}/${PN}.desktop-template" || die |
1105 |
+ done |
1106 |
+ |
1107 |
+ # Install generic wrapper script |
1108 |
+ [[ -f "${ED}/usr/bin/${PN}" ]] && rm "${ED}/usr/bin/${PN}" |
1109 |
+ newbin "${FILESDIR}/${PN}.sh" ${PN} |
1110 |
+ |
1111 |
+ # Update wrapper |
1112 |
+ local wrapper |
1113 |
+ for wrapper in \ |
1114 |
+ "${ED}/usr/bin/${PN}" \ |
1115 |
+ "${ED}/usr/bin/${PN}-x11" \ |
1116 |
+ "${ED}/usr/bin/${PN}-wayland" \ |
1117 |
+ ; do |
1118 |
+ [[ ! -f "${wrapper}" ]] && continue |
1119 |
+ |
1120 |
+ sed -i \ |
1121 |
+ -e "s:@PREFIX@:${EPREFIX}/usr:" \ |
1122 |
+ -e "s:@MOZ_FIVE_HOME@:${MOZILLA_FIVE_HOME}:" \ |
1123 |
+ -e "s:@APULSELIB_DIR@:${apulselib}:" \ |
1124 |
+ -e "s:@DEFAULT_WAYLAND@:${use_wayland}:" \ |
1125 |
+ "${wrapper}" \ |
1126 |
+ || die |
1127 |
+ done |
1128 |
+} |
1129 |
+ |
1130 |
+pkg_preinst() { |
1131 |
+ xdg_pkg_preinst |
1132 |
+ |
1133 |
+ # If the apulse libs are available in MOZILLA_FIVE_HOME then apulse |
1134 |
+ # does not need to be forced into the LD_LIBRARY_PATH |
1135 |
+ if use pulseaudio && has_version ">=media-sound/apulse-0.1.12-r4" ; then |
1136 |
+ einfo "APULSE found; Generating library symlinks for sound support ..." |
1137 |
+ local lib |
1138 |
+ pushd "${ED}${MOZILLA_FIVE_HOME}" &>/dev/null || die |
1139 |
+ for lib in ../apulse/libpulse{.so{,.0},-simple.so{,.0}} ; do |
1140 |
+ # A quickpkg rolled by hand will grab symlinks as part of the package, |
1141 |
+ # so we need to avoid creating them if they already exist. |
1142 |
+ if [[ ! -L ${lib##*/} ]] ; then |
1143 |
+ ln -s "${lib}" ${lib##*/} || die |
1144 |
+ fi |
1145 |
+ done |
1146 |
+ popd &>/dev/null || die |
1147 |
+ fi |
1148 |
+} |
1149 |
+ |
1150 |
+pkg_postinst() { |
1151 |
+ xdg_pkg_postinst |
1152 |
+ |
1153 |
+ if use pulseaudio && has_version ">=media-sound/apulse-0.1.12-r4" ; then |
1154 |
+ elog "Apulse was detected at merge time on this system and so it will always be" |
1155 |
+ elog "used for sound. If you wish to use pulseaudio instead please unmerge" |
1156 |
+ elog "media-sound/apulse." |
1157 |
+ elog |
1158 |
+ fi |
1159 |
+ |
1160 |
+ local show_doh_information |
1161 |
+ |
1162 |
+ if [[ -z "${REPLACING_VERSIONS}" ]] ; then |
1163 |
+ # New install; Tell user that DoH is disabled by default |
1164 |
+ show_doh_information=yes |
1165 |
+ fi |
1166 |
+ |
1167 |
+ if [[ -n "${show_doh_information}" ]] ; then |
1168 |
+ elog |
1169 |
+ elog "Note regarding Trusted Recursive Resolver aka DNS-over-HTTPS (DoH):" |
1170 |
+ elog "Due to privacy concerns (encrypting DNS might be a good thing, sending all" |
1171 |
+ elog "DNS traffic to Cloudflare by default is not a good idea and applications" |
1172 |
+ elog "should respect OS configured settings), \"network.trr.mode\" was set to 5" |
1173 |
+ elog "(\"Off by choice\") by default." |
1174 |
+ elog "You can enable DNS-over-HTTPS in ${PN^}'s preferences." |
1175 |
+ fi |
1176 |
+} |