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