From 1add8f869cafb49cbeb6dce6703cb2d5fdc5508a Mon Sep 17 00:00:00 2001 From: Jory Pratt Date: Tue, 17 Nov 2020 11:23:24 -0600 Subject: www-client/firefox: Version bump 83.0 final Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Jory Pratt --- www-client/firefox/Manifest | 93 ++- www-client/firefox/firefox-83.0.ebuild | 926 +++++++++++++++++++++++++++ www-client/firefox/firefox-83.0_beta6.ebuild | 926 --------------------------- 3 files changed, 1018 insertions(+), 927 deletions(-) create mode 100644 www-client/firefox/firefox-83.0.ebuild delete mode 100644 www-client/firefox/firefox-83.0_beta6.ebuild diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest index ded7b5d..a5d7380 100644 --- a/www-client/firefox/Manifest +++ b/www-client/firefox/Manifest @@ -1,2 +1,93 @@ +DIST firefox-83.0-ach.xpi 463987 BLAKE2B 2173c637ae155ec474d18250adf8cd67ff7732ed9ecc7533004296934f82dfdd2f83f5f59dbd6b095b519bf5d3caf888f5e07913004a27771a13376ac080978d SHA512 cb1644bb1451311923bcbbbafe727fe8b35c33cf9643dceac603e802b82a2684451f9005ef6bfdd1ddebde01548926eb62dcd511e1f8a960248ea5b74f5f72e0 +DIST firefox-83.0-af.xpi 431349 BLAKE2B b4f912e706b464728e779bfc3cbdb7304bd763c55347140c32bdf309b3b4869ebc4bc1433f5cf5c970774f69aabddc4b5f5fce568dc32c50c4aaf90e9d07e13f SHA512 076e9084ae00dda0cfde5b09cf2dae7ed8994543c8de645a70b2f116d01da9e024159114d4d6ef21ce134b7d7cd16b95678121b41300ec5174a36112d41da4ed +DIST firefox-83.0-an.xpi 511284 BLAKE2B 0b6332b8dcb254bf9df13fde4e34d01c2ef6398c329cce630a0b05a91b1f4ef02c8177f1726f489e8526ffd9fa9e822a010bfd6a669f5a598e7ed60f8328a278 SHA512 43559e760a96092b4c4bfeab6830f021e69c8c7c56a187f49109ea94443372e6323d503f1f175df1d77c685fcbbab2077f7fb02dd031804cde8a7dec2aa1d988 +DIST firefox-83.0-ar.xpi 562330 BLAKE2B 633481c9db8fed0e0b1599c271acdeeca82b05535661b9a00b37ec1cc49a19e7b435bd32e74f89b9dd60834074c73d6510281a34f846615bde59b14fa4998b13 SHA512 d6b3db644432dd65bbc355157e5203661b602177610c27ad6d1e1d048a0e9c8012b89568e6131d60a155f962b7e7f0941ae3f48f487c3f7db46705a63bd0f707 +DIST firefox-83.0-ast.xpi 459649 BLAKE2B 9b9837240bb6d2ef2041626eb81b6f40f215de61a922ea40f79271151ec85c0205de9692062472a07bd982de496a15bbf6a63cb5125a3e86c076409c8167a0b1 SHA512 abbb91d39c475a3b579c6da9bcafa08d8c875a52baf0884f1647179777be2f158d7804cc160f71aef4af3c15d9bebde4f62439631146b7aa9f7ade6add752820 +DIST firefox-83.0-az.xpi 500905 BLAKE2B 19c3210be7a521aceb03925b8562280df46394667bc5643d334f7e6b679883074ae2e36351da7c2952affaddea3d006683d28a8109f598ed3cdd9b0ebfe6ae93 SHA512 63ec5b9fd8ce96ce29610c0f6ce336202cba285a1da01f97b502370752238ca5dafdbcf3eb37de4104715acc4d0a54900db5bc0f419f44466299cb583dcb42d8 +DIST firefox-83.0-be.xpi 607736 BLAKE2B c24cac35a6508484d60ead2dd939581ca479929e6f9c6df7ea494626ca4852532f0a44ea6fcc53db6eb9b54766ed705ce30cd5107a993d77f6dcdd71cfa31fbe SHA512 aa6a7feaca1569c4b82df19629f6208bf25224534f4f9dff77e2c5db7d01045ecc0275832a5d2e450a1c500f30f7171b7767d60182e6187391a20c512f20d89f +DIST firefox-83.0-bg.xpi 557656 BLAKE2B 43c26ebbc28e667d6967d505983de4d341b79d5043f1b6141f490be004e5828e2ddf6610c02a7ae36da6cd8b55626c7591cb8030cb44d6fb950bf5a490e2227e SHA512 06b379b35849755b904a58471db65a948cf33bb9e9e5c7f493a3af0acef56d55ece03fcfe67624f19488a62159611230f667ff090020058cc8d3e3668b50a1e4 +DIST firefox-83.0-bn.xpi 575851 BLAKE2B 3c930006fcf683ea611490c13aa01e1deeb9fe38086c34cd50dd275e4f7b6fe419d6c510faefde47e6c9f9947370ca69e2615a9ba17545d8cf1bc8b9a2f9ceb2 SHA512 7fe7ff7ffdc7dae72edcea2ffe2d9b85e9f83d3d696804553a680c47c1f43d957ecc134270b1f17c168b8e24958b9aeca0222d71d709e17b64c7284bb685cb62 +DIST firefox-83.0-br.xpi 510348 BLAKE2B f47b8249c6dc703d6b1280587dddd9ec200951be82cdd1e94e1033a05ab41b5c269a6a121d1946b73a21b8adb2d001740a99594d33abdf886bf95bf246a9ac51 SHA512 24c21783a0180de5cd96be662395c6ad4cec05e7bc9bfdefc3dce0ce9c1ec55bbd78854d437ea603972738684a6c92256c5327f880a88c9e3f5d4e2e48f59873 +DIST firefox-83.0-bs.xpi 467511 BLAKE2B 5b0b2f98d96efd7530b268d180336b8452e0d081a84fe14c1556113e1d9623d824889995875047073d05058605cec92f0e5f1ad09b14d953ecbd2730970e2419 SHA512 2407ec6132544d4618b06e3e828adaf6f459acc368c295a046740e5f6e0be8a93687b6378e1ffd84623cd2274cdf4964fdb550306f455d25c6ee557a26d27601 +DIST firefox-83.0-ca.xpi 517038 BLAKE2B 6ee95654781dbf169f027fc0d364b22f532f88b11ec93e4b14ce241b25ad7c84c70e85a08525a4e68b90a5af1993fb4231ce1bdc2da694c6ee26f2365d307f00 SHA512 c3ecb629fab730bea806eb40ae924e02d49ce3431cab40d561d769f7a75431783ae92a976b335da0267c0204a57c59fdc5b938a6893d32cfecc47e802d7223d2 +DIST firefox-83.0-cak.xpi 550968 BLAKE2B 1909e84ef78a8b0e7955d1eb2c289ab817efe9b6da3652a06f4a9a078edbfcfc3bd509a339f8b28fe3bfc86d480aa648d2f626e3c80608d71c86d5865106ffe0 SHA512 a660237119a0d212b14e21fc6cbf7c4809052d622022c5312236dda6297df03f5652e08767628dd66094770617dab5a22abb8a43e5b34d62d8ef76dadc92bec8 +DIST firefox-83.0-cs.xpi 542374 BLAKE2B eb4b4414ebfeb1615a247621c0bc6c6390bfa48aa2cc9e9e356b2174d30417c627b5ff2fc62ed1957adac0047787ce7eb63bad13a3572e2f6d3ada292f05bb07 SHA512 fe17f3dabed830556fe28f8706a0bd5e4b43ca026bc1c080334c0b3eb3eac3a48850d24dc05a157dae5c2430a1ce2c5962f2357da88ac2c43a078f5caf0d1a99 +DIST firefox-83.0-cy.xpi 530346 BLAKE2B 3deaa0f4f446fdd8022b4c4ce2481bef745306d76f17c55c644d5c329687a6108c6d825858c7b7d69ad58f77aea56a1ca4fb51086d5bf5ef5603c9204afa07e6 SHA512 65e5bbad73405c5b806f1b911909e2dfd76620f03ef0d89c9e4a5ab10e2a9afef7bbeb34dad638131c43967bd99b8a4600a7aa41bc088389b46db89cfd93cd0b +DIST firefox-83.0-da.xpi 519955 BLAKE2B 933a46d27a3b9ba00af785872311b2515122ea0eabff3cab08ed5097a49bfa1f85e73152cce14fb894b86a52371a736c6f39865740cdee5e6452a22c12297ae6 SHA512 2e8fe90cf12a5f0821bda1d9aafa39aca61f39696b42e00dd786ae2c13944fe445584fae80f485db12fa29723954e8bb1c751a40a8f1a566c9b97e41558d584a +DIST firefox-83.0-de.xpi 542417 BLAKE2B 96f604109957d4ee551fde411803458e5352dacc4c14239b9efb118a34205b66d1349d9e37745fa3f80b7492157648a13c1d6b9b60e16293e030ac9512871472 SHA512 7d0670a38b8fdfa861b290a0e99caaf639255dd6bd5d0de0514a11ed74897d7b9be30b1aded2073e3956f8581a790de2ddf18ef0fea213018c1b8e594716b250 +DIST firefox-83.0-dsb.xpi 553750 BLAKE2B b08e98f1b7179364369d78a22d9042e153536bfbce1a013088fe4ba9bc2dbf64249cdd05ce0b3838c26d9244a8e2110bd36217d0358ec30cebe5fee551aee8b0 SHA512 ed7b677e439b96487e3b3520de90673ccce4b8f8e595ea63afc86f06d15f8405d90b4021dffdcdd105eca3272a84ceb6d9d8cd7b121349c0b702a93b7ff577ff +DIST firefox-83.0-el.xpi 625387 BLAKE2B cce3c644162aec81b32f45eaf9ba9bb365a2ce2b2d4c8847ae979d6a5bb5d20c2c49137afa5a30ea99d2c1ddbf348105a50f495b3f90c7942e61e2993a2c1fd5 SHA512 9a5b34aa968a8254e7a8afff3ead87537b890576135bc548b45f9b2feacfb967f8e78ffe2ef43301f2792dfeb1c0782883e4e368fb80f6e8d84af005a029d180 +DIST firefox-83.0-en-CA.xpi 497394 BLAKE2B 4f1116e6e35834b44cd4111ea330d0e10569dcb424b364990e81c2a62cca6ff28b5e6b90ecdea6ffb6c56923f5636bd5384b381840f5c5ee6d0b8f351ab93ee4 SHA512 b3581fdc185d114178127ec95d1776c982632c918322f5177e781ed9a8d6b89944f298e4e804957fe0c3bc10eaf47f533f1706c73f75e810e7d9ecebfbfbc558 +DIST firefox-83.0-en-GB.xpi 497245 BLAKE2B 4c0a746181c5b962677bbac0c677bb32658849fb63dead902e5d5181dd9c4e4a704780e4f8070c82a56d6bba300ea0df6a29809b86ff14a6fd6e27671aea7b9b SHA512 ee98146eba0a5e799fede84f9e320fc387b066d8de99e41e033c536e78ce450bac7daf47b34f3ba35f1ebc7ebae5d8429ac28594ad1837fa22584c9a4762cd32 +DIST firefox-83.0-eo.xpi 525435 BLAKE2B 134779c63678b417c9136139e0a8b397183c854222ebb8e17ae792c7c1d07d01415847721d32696acff5bda2a6057a4ceefbe5b50ea65f897173185d56431718 SHA512 e82ca5f5ac6bcbe46ea95838f4fb5fd3a014853e736583dca874335aa074ebf5fa14466c2c80ba620b60e7c4d069f39e2707f0b680c6dad90995ed984858c4fa +DIST firefox-83.0-es-AR.xpi 535354 BLAKE2B 0713a32e0e77ca2b8bbf38809200c9e96c281b4da78376d6aa64edb45c84eeb040a1e0fa23b76699c7ef17f035eeba8cce59ef746ddec330f6a0188474c1cfe8 SHA512 4595cebc37b401d51f863b5d24530c88c5343857b9d0695988725faa9e769f95d52dad252ace72dd34aeb8e033973f15bef8db4155f18ae82f0f8dbe3537b5ba +DIST firefox-83.0-es-CL.xpi 534881 BLAKE2B dacc5c2b5f52f6601cef77cbf943557a61b009d131b193a92196742b4036d122a74100a3e410fc32fdabac6e2074a06551c24654bde0948ef85627b8f5929015 SHA512 983b978678bcbd2946e1f93d859c2906b2c29a4f20cfdf41dc50fbadaabced8969dc04b1887a3a806355281e33aada7ba97c665a58c878ba0dc398f8e77a7988 +DIST firefox-83.0-es-ES.xpi 522291 BLAKE2B a7cf915377a0cea77a71bb2c06e8ab874435194f4a31989b797b885611401a0c0d644a215fb2980e067f5df6c2c3dd5c9e0d0c34edb8b7d99084ef776446adb0 SHA512 112e9bd9bd4d373f674de5e566f280530b8a0f62e50ae21be3e4a3d29ab5e0d3a7460f345972bceb83b4f14ad2f92f5e343260a32d4a179b618473f4c48dc196 +DIST firefox-83.0-es-MX.xpi 531910 BLAKE2B aad9cc38884b8995162ba2bf34ffd77e9a7245a12877cfaf1248c2bd0d89fc38210630436e311ae02eff0b29e449986f189d1340975c3a9f53dd4e9b264ae073 SHA512 aaee4e194989a3672d50fccd596cb5e64f4a89ccdb33d71f00bccb3af1bbaac1aa5c9ae2de68c1fcfa3c6394cae126dd8c73b97fe6a92914828ece068a75c296 +DIST firefox-83.0-et.xpi 489141 BLAKE2B 55bb296e812efb7f72ccb08c20d51b9d6425ff010fb262ba8036936918e72d5b5f392fa0ce215b28220fee685505d0fd3026a019c337a756ad3b42d6cee30dae SHA512 16425c1280fd125e77622913771c0194446e3aad920bec2ddd8b873ab78d15100f189692f454b68a01e872f755bafe6ec2955658d033a9c9e9b0aad0de745fb8 +DIST firefox-83.0-eu.xpi 510043 BLAKE2B 5236090cb4f77cabb969ba43b58b248ce2ac7a1bc4e73b629f18add8216b0907e19ea66299821091b06d5f88859c608dc989d1cd2d2acf0bb3ed07e0156710e9 SHA512 1ac3b7e0d565a11610c1cfceec1e45b228d364e770ad876a62fb7f6bab51d76f705b1fdbfe6aedd33e17014dcd1f3d843c8c58b832510d3e4b0c8e67a1e5d142 +DIST firefox-83.0-fa.xpi 542173 BLAKE2B f14a8e2b8cfb4622a0ed845374b5e8f3922edf2a7382a6e52a72f29dd58f784190c5e6dafbb4f5b0c65d5b393e690c25306ca0545758cbe6d4ad61ba353a2e86 SHA512 03146ee90a6a8c480e7e43e85fb0ceb081ac193c314b8eda95eedee700fce052785c45f031b6ed70550c28f67b3872a199e1089e45b18ab3a0b6b918f618d79d +DIST firefox-83.0-ff.xpi 485385 BLAKE2B 53cc52d5808c452847f9df456fd425bfc118f67674cbbab03947992e8162c40106bd280290ec32ae4d5904fe64136019b8287c4aafadf59bc257de22354bb18d SHA512 18d1e30e555cf189bfe8481d074385e9332afaca604e1f9c8023ecf4528dbf7e19907ea1016769e28afd37df216a75f42b57a0d8cde8af4ae9b238dc9a285b0d +DIST firefox-83.0-fi.xpi 517857 BLAKE2B db023b4a05d679e797c9ec247111ccd9d77245ef15631cd948e2e92c00850c7c902d07e91830a908c61a2363f94f30bd578cf4c5fcd29b36fadc364c21db7468 SHA512 84604fadf001842c5f5d658166cda4e851fda2d73f446ae348b542f33c156792be0fbdcac53cb8b074c6b3765e9599793001919595aea5c0877f8d998072c3e5 +DIST firefox-83.0-fr.xpi 545351 BLAKE2B 6b39e84fbe186fedef40ff0d620603e0b7327944a3755fa4feee7829728320007df65400eb475805f0137cdda43a08a6928e011c4930c465a29a67a34663cdbf SHA512 9ab2c809d0b1d72ac8b0d84c01d076eeb7ffd1e96f1ba209f515bb30cf41441eef963d3538e65a71744e728c9baf07dfaa5eb9df9f0549987f3bcd16b5b92c7d +DIST firefox-83.0-fy-NL.xpi 532055 BLAKE2B 9b6c2b475a84bf52d9a517c1eb2ed89c3181ee75484a2941f3f78e0aa8d66ffe0c33b9ae498cd8fa5f5a6fcfbeac934d5506d947645b507408974b512ab92289 SHA512 8b63a1534748f62459a5f838f5fe8174a7332f74fc1467c00289d05f824d3f1cb9afc328391301f73df884aade70fe5d135b6d083b2193d50d31aca0d153b4d3 +DIST firefox-83.0-ga-IE.xpi 470361 BLAKE2B 51636160e51f5064e8a6b4d522ff3fed5f2fc99761dc2c926c2a4542b980b76b39d7c9b0fbdaecd5e4ebd5747c9998799f36ec0d1e3be41ec25705696faa9500 SHA512 c1285b89f80cfb07fbc59495d6f53c2bcf17391f18bd476e1490a1c4c5bd7fa78ec0be6c95400e00e227b8c727b1a27f0f59e8fb25511fad7190535556d1c9e8 +DIST firefox-83.0-gd.xpi 495632 BLAKE2B 9f0b368f5c7292fee9828d1c7e469e7e9d62c19b5271c6d80e0bbd28bf5739b4fbebc6b4b6ae33acfb987b140155855e719737450a72fe5fb068c0c34b479fe2 SHA512 95619a89ccd0bf4ab362f8255691734af42dc8344414b6b4de7824803b8268939fd08977e212e34ea48423e96f663859f736b35679a63d8658442159e5801df2 +DIST firefox-83.0-gl.xpi 528091 BLAKE2B 5ff79a702a64598b7c40b995fef91d317e96e2a676459a91776c6efed4ea46e17bdccab90fd7ed9766767a4470341d6b79d2eeeaf5a1b6b2116fd6cdbca59088 SHA512 64637a3c1fd7af5b1b6d0060bd11071439e8da89ab7c93ca829fc4aec45829230dbe690d3a85e4e26c9db6c5faaa12a3b167e64340313e3167ba0b5c2fa5dc1f +DIST firefox-83.0-gn.xpi 545904 BLAKE2B db1d5ab62eddaad2c71e1466f1523bc97e6bcc1eca5775dc70e018bd03f25cc868faa43c840708ee64b972e72432ba1b58a4460401047c3b83dda55d6cc1a32e SHA512 526c8856db30c4f87ff678a1b595c919bb46dc0ef911e59737a19e49536682715273d689e36d7b0f7d422bf1ae4652dfbc56ac1e248bbc2fb9263647d3c7aa74 +DIST firefox-83.0-gu-IN.xpi 544595 BLAKE2B 665f5b9f22c50f2a52129d98ba928c9fb9aa886327f6448e683da48eaf4dd838bea51b831af1189ef163472bbbb1554c7368749e8cc4043b4fc0b668dc1d1671 SHA512 9c0b062dc87ec84815bd73510a680bf395585e5bcc44c1e7854a32586ae5146a62ff1f895205525ac90e4abe46e2ccca05cd83d3beec5831ecc957ee5e3e567e +DIST firefox-83.0-he.xpi 547024 BLAKE2B 56aa7f1b8e928d6059f00a18dea8b1e7af94e1e1fc1aeade8c31f4ab647e85c99c0a56834fdb802061c4c468401b25e13fea23bf4b6f2d724474ac6b257d787b SHA512 d07f72c93ea09ca9f6f0ccfae1a56922132743580cc81dc516102449c67073b576e476f48aca4801ee556133882647271d4f757d00ab94c18ac6fb1d6220c950 +DIST firefox-83.0-hi-IN.xpi 569575 BLAKE2B b0d08510d6e2f491b9dc2019131785bec83691442acd1a6b17bd430c51eb479e20c2f4658fde543f9b19c4aa47c0f49b17747072705a222e2f8c863d2378e061 SHA512 7388ce97c6b2f5ea26979cb177ca51cb63853d7433d284f956ba381469a55de067fbf1dae7feac1c0779139fd3e933e946287f7913a1e8444e35b5477ac1744e +DIST firefox-83.0-hr.xpi 523539 BLAKE2B 631f74e9ca3c8f541e00a28116f7f78cbfe9c7fd8c7ad839cf09e872fa3aa61b16e934c6a11b3dd1e104c0568c1c13a52caa2ba0572e4f78e56a7627f98e5541 SHA512 3c9a6be19a8bb9dcd28c06be67b15f3d6a50523698f3e482aa0e6aee6a41a79802acbe7545acd0c83e014051c1903ffbd6bb2fa32025239ed24d6889d68a0d61 +DIST firefox-83.0-hsb.xpi 550202 BLAKE2B 8e6c0fe2d6a96147293c24cf3a3798aea6035e0e1ff441c0bf3e5baa38f8b10952e102938d67565a694c41cbd392e98326fbe57b0a01812353cb293d5c0c01bd SHA512 e5c13e28517c9f26f591bf35b50275b9d4108dbd294feaffd0aa0edc2f05e0fefc4b664d96518e849568d359774e75ab50c14c39955de86ebb228d324fc23ab8 +DIST firefox-83.0-hu.xpi 554264 BLAKE2B 4d4ab432c08f601038207b06e2bea3d2279a1efd6f5ba9c33a9b5e9bafc66cd49e0ce4a7b888ab7699d209d64c12aaa04393271e7f4a9faa255b2db1b9dec9c9 SHA512 2e3e465bdd766507240b1f3c1eea4a649ec811d19e3fba6fa153acfe73dd5906fa7bd853d342937a10bd2caf0ea8ef9263cd1eeefcf34fd78c065cd101338097 +DIST firefox-83.0-hy-AM.xpi 590930 BLAKE2B 61485c8ce357791fd9ddc291fbd7f0e9f943a5cf996fdc2b16bcc26884065aeea568fc9942b99e5d6a95573bca46bd707b9d4c057f7158bf185c7c772b00dfa8 SHA512 d17b6aa6458a9ef64fb23fe27d21914f67abee602ed825c161e231741c2b94fc503bdb994ed301a55063ec4776cd1e7f63d637e66bdc107c33fa84f80b70f067 +DIST firefox-83.0-ia.xpi 518459 BLAKE2B c8cd2a794fe3da161c0b765620c1ed382c241d66fccf3c24eb28a68dfa7121e189741877ccd96a41b34f85faebb8e9c470c833c79a7fd1684fd75692a4ce6eb0 SHA512 e5bfefea840d4a0e06a808c7bce2389ecc763c54d0e94733b0434eb5701f46eece6c2fe93797e7bff2e1d077552082026d48f5dd3b7f09377989932314b8cc1d +DIST firefox-83.0-id.xpi 510400 BLAKE2B 2f1db275ff9add4db5b99c7d51b3ed64fb52cc2cbb87025e2eef28a2c12e293ab12ad164144008c165b34fcbd6507808c166128c377b0e1cf9063dcad04cac8c SHA512 37f164e419f8d1b8d3c2230c50058fc9e3af9eefc79e0705b3c98014e3d3f8896f09d1ab93dd5cdbceee1dec322b0da2dc976b9645161970c64097445356ef3f +DIST firefox-83.0-is.xpi 480905 BLAKE2B 3f58f6514a2bb2bfc98bd7626e19a51e3ffee5ff96a80360936521e45bea026a058249560f434fed2edab19f706c482368a6103ecb8ee4a682999e2af2fb432f SHA512 52ef5d3b8fc240b4d377f455f5ce8087470f818195b7babf4c22af6f57600dcffe91363d554d74759b04ba8a47c1c7d7df54278390df663dc0520e7c11d4cc11 +DIST firefox-83.0-it.xpi 449611 BLAKE2B d652ebbfe8c317b5a9c5e2575871c24c751b49b9510851200a8f42c94e0ef6cff74572418afa1e69e67e07196bdffb27866eadc2f4ea286854fccf59a07b6923 SHA512 0236a1727ed8644bef59953637d791a0ef78ec156c7fa8e8f0dd8a3f4718d91d8e6cae91ccf925de6d33c5da15f28f851a07a52e4aafdca8a8b1479eaf8a06a5 +DIST firefox-83.0-ja.xpi 577356 BLAKE2B 298f454adf100a68658a68390632cdf5d8456f2fd7f1bd40c18dabb73b3d39d54bb63072da0e5776bb98e5f2657c51842b92571615685d58b2686461d114eddf SHA512 8ce3f1be92f8dc1337f49d39d645e4a438254c76316e9a5297a37a7beef8f2b87eee7924ba5278046dbe0ef2026a9fd4c99953f278c1628ef63282c1f4d40679 +DIST firefox-83.0-ka.xpi 578161 BLAKE2B 5f2a9658e5b964268912fee384bbb96681ecff8e29a9e1466893d2f5dd29b9ded50396bb55e6e45eb2985ece2ed1d317c4ee5e7addc2012a789502a3c5d31494 SHA512 0021605baeb7e9c2f089a0dee6222fd870215f2f5524d7cbc025cf17318d1c4d4b467f738c4c44ac8e651b79639c5819114894b729b46f9c500bb1382a29430a +DIST firefox-83.0-kab.xpi 539329 BLAKE2B 7a0a0e86ab0f5743ac4822666283c737c14ebdfb6e8b6f66afc02dbb0bd88b6e41a623f2365c82cfb66059933465c5a5f6f2ca2ed71b1767650d968d41a093ff SHA512 da266fde784b20f722a434958b09576a93ae05bbc7ee8f35ab0cec2ae511adb996fa98d3a0ba374f4e70dd9af79e0429c0a20405f6a8a0a31d3c2aed4ba07e44 +DIST firefox-83.0-kk.xpi 593183 BLAKE2B 3fbbf9db5eac6e9a93a76c0692102a39ac2dd802cf5ee327229bc548d5e711321c9ae69730718c5f3a20242bb770fb15c0a7d7a3aa7ebe02d9da1bd74fc01b9f SHA512 f479f34d61379b575494e2bdc02d9ea2c0c86cdbd59e4d3681a1194079a0f0fcdfbd11cd2a12a5f4faaa6d8269e957b22f18e9a4570e4e9628f7f25fff0cb71c +DIST firefox-83.0-km.xpi 529836 BLAKE2B 54ff90aff322722299b0ca1de902f11c3a38285c30621fdc10c416a243a9aa83d887506a51725f8794e2fec63c0dc1d7bf7f73f5c674470ca8b907eba46c1d6a SHA512 ba9ca5472f2547288cd4f13fc0eb38d18cfbad4346e8b8b5ce0e6c44012c5a0945030ffaf4fbcedf17fab3e6f9618eaf3e9031c6fcb259c372b96970e06788fe +DIST firefox-83.0-kn.xpi 509356 BLAKE2B 312c309670b2fe4cf51f99cc3e8e5cec6c21dd07200749586a55461a9ac0082ff79211fe1bc35f1dbb9bc2f2fb6bb002dc54433e742bbab69573b7e363ab8d7b SHA512 c5399c9f8059989ede7a78b721cfe4e0ac5b4e1b4de7c7077699f88cfd75e3052b6f6d2aa7a6b35433d27d41d5b7cbb3a56f161dd059032c181cc36ef79c7e8d +DIST firefox-83.0-ko.xpi 566764 BLAKE2B 2f61d339ef26b081148840eb770c415ea15ad2c56f6572414d87930c5ac3d1864b272a555a40be3dff9d88de3baf1ba952ec0efffbc6a2e8ceef9c4c741ecba5 SHA512 cba67955382aa1f1977b2f30dc9a6226c3f0271cdce3c12ad194de7321beb210970ad3c241615489eda5e2ad590479976f8d35f84a327c62b9803f950900cc89 +DIST firefox-83.0-lij.xpi 479061 BLAKE2B d890ce6a55db3befaf6a582dfa212de4af28468f446c027037ef4ef18e122245a06a18085119e7df204cc8067a59d5a469a744a0f7970eca299e38bbda9b98ce SHA512 1f0e24e5f48056e0589716fef0635fea1aa497299d6eca56d318cb890df7ac7101b3615546452b684dee65491467004e5be9dc06484be5d5f148aaad754faab3 +DIST firefox-83.0-lt.xpi 540056 BLAKE2B 27d6dc2a00342fe7b2dafa6871c508ded9ac5dbcc0b4e281d4faf6f34fd2c03e0b54158ef039068485cfcf5eca94c950b11e271fd106cd4d135932faadb87175 SHA512 7fad95c85354b0e32441378aacd882333a6b32124c6e01dc5bba829f97024a1e214be2c882e6e337f571fd4eb343e0f88dc0eb8176fae035f6a2d00df72840e4 +DIST firefox-83.0-lv.xpi 471279 BLAKE2B ab755fa2b6d09dd3bdbaa193d60b5a64d646a692c965ccbad9418c642986bd251cbf87faa122faebc3f444158be63d19cc909d90d9efec75ce2c7b927017348c SHA512 2dbebce0df00572cfe5438645a8779bd56d7fed727bc5e8a6aac6d11d82b487379736a899eb0a870fa3f8c28d0d732be89e2468cd81b6ab99f146d2bc9129ab9 +DIST firefox-83.0-mk.xpi 462379 BLAKE2B 4a4ac89000d7a5608eb3a339a50ab027ec05205efd46638ca1228e561388c664c65833a392aa6ab024116c80c5d429087ec7b902f785d4f235aa4c4dc07496e2 SHA512 4b71c160ef6b80d1279b245b0b5103ca90739cb65fb88e9d17ce7ee33ee43a61179df025c0fa8f9198fa94f0aed96c6792a5f12958ded9b2ba6d6ccbf18861f3 +DIST firefox-83.0-mr.xpi 544590 BLAKE2B fde6ac77332de83804f40b4e4e179cbd312bb0e203174417f9799ef99459ab14d05f39fbfe5df6ac27a54226e1f693b7b128099f33f58986a93b3804e36fe4c4 SHA512 2e30cd7ff8d855d52f8825f871fc921b703a1d18036e94b169e1527b3537623da03600eeb80a1dba7b74620c4e39a90456ab4948547b089283f1b49ee50f1971 +DIST firefox-83.0-ms.xpi 456953 BLAKE2B e143716d8060de8c8eb300d709e732bb6f4965e705479d584cf782310e5a68f2ae5a8612ecc53521aab2c7c3880612a349a76aa3d85fad49f6795a2a8371ead0 SHA512 b6c2d10ce7ba9a8fd8f84b04d7b01e5809753760dd26a1d80d37c1744093c9be6baf2c7a20ef58d43c03658aa068327ca9d03459da7b7dd81b78a3fc322156c2 +DIST firefox-83.0-my.xpi 529071 BLAKE2B a90962d2bcfa708a86b519353215981b101246ac146ea3853ac4fb44909fedb67e429d563658eb4027eb7d6f7338b05662f6e75b7f8cd71eaca466cacdae63e5 SHA512 a14a38c01b1f9c8c0d68deda82d6d17f33c3adebbff766168a0fc8fbee8834835990261d0c92b835ed680dbf70ef441448cbd98383285b08050132f9b6cfde76 +DIST firefox-83.0-nb-NO.xpi 518164 BLAKE2B 39713f4ddad65a04a6a59c5f3b55be565827e97341cc529e0fcefc428af2694b16a24f5b70c8ffc2783eb191fe931c926ed5eeaa584a2aadd6f984b383bd7a47 SHA512 f6aae6463c50b722f8d85240a080a4c57994df75aa5083b91fdcba3083fb776220801b0f9671a8fb4bb919f27501850582560f57ea685c3368968e73b3ca1e3a +DIST firefox-83.0-nl.xpi 525789 BLAKE2B 1dcdd7756474dbc944c9b6dd796500f072ad2459d90954926ec38e471b8825e134ad70626fc48315e20327efc957bfcc5cf48b6ad174f386cca42205608eb07e SHA512 c49a5b1077b7eed82208ddf01dce6407b1f8983f021f90a9f50d59785ed93bb366182758fdec9905cb56b8550c36320e5fd90a69b4cc94da4d69feade3f9989e +DIST firefox-83.0-nn-NO.xpi 519800 BLAKE2B 3332e44b5d6edce92accd0502e936fae2916d2a9ed68ece38207ffde9c5cf2a4bf26f5db82eed83d99ea1810b070c4084d388855560e625c75bea124b164eb53 SHA512 47f3c047be99d9d6c91e6c36d8c465e8a7f3370affcd45f9adece1de36afd835dc077d3eff0b6055773fbfa2b53b80d8aded21c3babc1891a661075e1b0b528e +DIST firefox-83.0-oc.xpi 541636 BLAKE2B 1d00fab1e9468679923e88bd07caaa254f63c9852e80f3b3a5ac202a27c9794f51e657c2a129c51b1ee3fe7953eef1da9bff6e464e169a0cbbcd40657d3c7657 SHA512 482ae383711c2bcdb3dba2a427e032357505bd2f233bdc209ae136bca5df5802912825fe79f2e3dc69aa55c0ee7f9faf29cc403cc9a73d99ce47b531c549d9a3 +DIST firefox-83.0-pa-IN.xpi 582579 BLAKE2B 959d162baa174b4c941e708a9bfae14ed423ae9158583bf343a72dc436bff5907caa6269ae04376c16cbccbe588949c90b52299554ebcfe8368dc513142e02e3 SHA512 17bd658b0092b599cf02f57b4f377d7fa8e74505e24577495c913324d3dda630049312426a5c0fc9a5abc7540e1957d36924fe6fbc6e2c8ae43598ef9370e06e DIST firefox-83.0-patches-01.tar.xz 17164 BLAKE2B ba8b7835b50da70b91ae87a25bd80ae4c4f5e6219380f29722984b7212a984440490944022479d2c3fed5fd2d23891e33cf1195e1dd5ee0fafa459173b5b9d86 SHA512 b6e5f18470f66fb3c8675a71951eeff2db0c1e060cf829cceefe6d7afe45412c39a03cb69022275fd73e8b62289ab2340c89fb616272ddbfcff81bc945982e46 -DIST firefox-83.0b6.source.tar.xz 347160644 BLAKE2B fc92c44f6e3f5fba4d103c9006ad9360641284dbd247576d505a072f9ef9ca1d31fd4d6931ff05c405157d69158c81f145a7c2f5a11d3f2ef612d6e801ebdc18 SHA512 f4b23b56926a3b616b3e73fe7d1b98c6eeb8ca2a6b2cc74cfb7a6eae632653205c3da6c7818593ac5ee080fd300d0cf8a010cb0f497d81575d07802976d5dcc5 +DIST firefox-83.0-pl.xpi 545160 BLAKE2B f35132153dbe3dc0e082860a31b6d9695456078b288b89b285739edf459d47fd7ad90a534fcd0db2cf83eae2e7cceafd2990fc79582f948cf411dcd6d4a5bf58 SHA512 c9c97190fb338bd8ce5ee7a391d83bfea05072a66be7425c1d875d29888f37851a2f3911361693e37cd4ab3b187e1c0559c07945d1214a59b752be5465071255 +DIST firefox-83.0-pt-BR.xpi 527127 BLAKE2B ca314d324e6daf3ae5d7efa0e69ec7fd4ebca9c8b3abe6a9ad10262403f10ff4e3525b555e7fd83f2b930e6201e67c9a27332ac9b5b8d88619ff0d870c57d3f5 SHA512 4cbd3c664ee97330da3e92e2258ec79b93005ea68e404e4cbc24555c8ee901c200fc6e791094ffcc83527648c58030c8da68b5c1607514c68d705046125da01e +DIST firefox-83.0-pt-PT.xpi 531553 BLAKE2B d99769c654d948d11a2006f413c6bd02426cd7eb2daaf1024cf38ff5ccf8491be0abb5ec1356d33c7cfaf2411d6046cfa4e39e7e8b5fd99fde977e2b576eee7a SHA512 b6e5c8e4d4bf7e8b79a92f8f0abe9a8d00522efe780f240297c386d3a2d8fa75fa3504f10e3c9eddd46d9e9ee458fd7a13df6bf3b224aed4bf2b3d27a36fd9b6 +DIST firefox-83.0-rm.xpi 526276 BLAKE2B aba9190a85c5281e57977c135056cfa5102fb6454ef53672c1dfe309da8d42d93d54af7519ca81464e08f3a9d2182787239694e1019adb676e7ce543c0084d11 SHA512 19b6439ce27d967648c8908455b7813605f8e90825a86363c0927a929b103c7e22cd3b2f274f2547acc2f440cabe7eb6ff855b9d9ecb515dd07596ebb8f7765c +DIST firefox-83.0-ro.xpi 535331 BLAKE2B edb6668ec0c6b43ffaecdb45e205a39ce70f456b9bfe07cae50925a23abe9ae84551365804925b8bb9459a878fe053b0f2750862ec57942b5a2a5fb06d385d3f SHA512 18599474d3506a2f99d7a37bac3a07ec4d22400713a39304a07f507ca432bab784d78dbab121007055ff630b2d04aba88e939f307fa90ff4c3ada24b8d516eff +DIST firefox-83.0-ru.xpi 613667 BLAKE2B aef202673962807694daf43640a26544d237a174f2b0fb7500453ce531130bf3e09b74c87c43c63b343feb9899275d57993668a28c78eed1076c0287b2c6fe84 SHA512 b8190c7d031f242874fbf87ee966b09209ec498196342aa874c1ea4e4d457ed07c979126fd1d6fa307f743a2507724c7b0a6260839d8814bac350e053ba24835 +DIST firefox-83.0-si.xpi 495477 BLAKE2B 582eb470f0852b149a3708e4c3ec9f05b67bbc2ed3529795484877be48bf1637fbf2c259f15d3a6185d1520e011b3a1f38d2d27905d62ed2d94b9915a039f100 SHA512 eed1d762fbb10bbf9edbc3615726bac9241b372439eb9ade62d90198f830413be64ebfec9fff06275d587e9e306fac639f32ab1467a32d0407e52e200aecf8f5 +DIST firefox-83.0-sk.xpi 537593 BLAKE2B cbe9b97986867d64c0412c7532dfb056eca6d27d22208e882dc7a67437e0a2c8cc87fec8f583675662ba291946cefe54662f43c6f862118aee4ae14dcc815724 SHA512 2f0d840384914fd80199521f651009c95860743459466d1eb08e59211d5f2e3ace33215729f5494a2792e10aa3adef47be6704333cf91ad40d415607990a100c +DIST firefox-83.0-sl.xpi 522704 BLAKE2B cb7760fc510e88d1663c3987a95a267d2150cab97cdbcfb886168dc264caf530f8361f9196cfcb1fc989896bcbd3cfb1c18f779acc3ab46da525c1e193bfe115 SHA512 37bafc62a833a90c94741f33fbac1851c62c729226e7f2117cb8b0fbb40bfb1412bd553294f881557697df3862fb5d75c79f633725a2d1b01a7f90335d788c4c +DIST firefox-83.0-son.xpi 427969 BLAKE2B d0524a37aedbb98e9c32f1569f7f6d34c94abd5605c6c2ba3ea7e3e9b3d8c622399d24bc9ba8b2079ad07abf95573280b51597f2d2d049abc6c20f2962f40185 SHA512 352f28e468f545a5d6a8d9ad93761710dd7a89e38101c03245e5aedb4fa9551d92e58c109b3f77fca04d0572d28846e66c4004acbd041f30d2ede44260be542a +DIST firefox-83.0-sq.xpi 544734 BLAKE2B 81d27b61bfadf76ec2439dba8339254dd939eb4676c8c0c594470573ae159a55242ab32487843e8d592f20222b4d068f42657aec3cff7a265bcaabccf19e8b91 SHA512 7fca8c3956a3c858e8539c5edd9aa115ace5cb0653148cab03c6c679539cf7632824a5080bd2842ffc3106a30fd24734c46de8a488c478c6b36e51679afd93ff +DIST firefox-83.0-sr.xpi 564652 BLAKE2B 29f792fc5f149c346ed7f6c3e553c7e9fcbc83948ea108269c7a7e2fe2ade3ba96a27d75a6aa9ca33110d240ad5acd771e008be571a0ade4b8e8e515fe32112f SHA512 c82240981a9123b1e67b04b50aa54fb3c99fc142f7005ca3c9be0298b35c4bf9af1a2950681a1945eedfdb6199fb01c3e88ef7fceebfe729988eebec53ec6df5 +DIST firefox-83.0-sv-SE.xpi 529329 BLAKE2B 34e809e1ee7e828f7681b22a9b4a9042b7f82b83ad2a65aca61c7d0f6685fce90b6f88a2aab63b51822fcc87a7d29fa19a93622a600220d39345eec97b59983c SHA512 bbf119065a253588df78c651a6083a990aab29ef81652b1c58c7d1245338a7840075f7f271fe116c578db0ea9a5a7283e566eaba3350d480de6a0ed02229b5a3 +DIST firefox-83.0-ta.xpi 524238 BLAKE2B c107cb91ea06e90e05fc6cee76f1cf05cdfe6bbc319fbd39093a1d71917c6c6b76ca93418dffc16902b2e7295f0fc76d2f841e9fe8252eb4ab7a3043b244b420 SHA512 1e983ea0be01d0c41084da482582ce743f81ae4062ec3341da818f4af24f5f14757787afe5ae902801cb68470547ba382d9abda8853527d6e3304b283cb10b05 +DIST firefox-83.0-te.xpi 560597 BLAKE2B 19f44b7b8261f66558da84e60fd326780c352b4d8bef5d5f83a13cdbb9355ba97ffdcf5bd4e01a279c3de7dc9baa1d1697d3f6435e9d4071ac4d3f43adb14b65 SHA512 bbe0359313808c6ca7c4cfb5a30629c9981e6e2d5c028733cec6ba742504c76c1151bdda1033f2f877a976a44ad19c0840a4e775085b35df0103fdaa5ad189d4 +DIST firefox-83.0-th.xpi 591411 BLAKE2B c87e2fed77c75f74b0d88693bfbd1af5bca108a91f06719801ca48bcbb74973843c9c88a925b9c0b5e8988f404cdaf4ee0468b766008b808a0ee7a393662aa9f SHA512 e586ed7393e2958cf0adf4ed893362b5cc7802c9e54dae567f61f29c195a938475cfb6e8a101af140f865291c145d80abd5cbd09799113f54dcea926b2fceced +DIST firefox-83.0-tr.xpi 539340 BLAKE2B cfa61a1266e6a38d83f3d7de0672938af64fe581f2afbecedb299a3749691c5f6c2699cd1d475c403dcf7619ce69537d68e78554e49d8a1b4e8ff118b51d5c22 SHA512 621accbc206caa201c041a8b148d2ec19292d295b7db0df7c69ce9890bdd09da192ff203c7452d549f0eb160976903584921b88e64a1b7ee2ad606b20b4e2763 +DIST firefox-83.0-uk.xpi 607698 BLAKE2B 1bc3fc9b13e766c89037169c2ae12cd7164129e4ec3aa20b7e2bbb106fae420f9204fbc7d1def1d1e2db3290611fa416e5854744bc2ff33b49823b6812a9680a SHA512 fe8e69d350901151e4c2a366b02c7ab06d0fd897aa511048d78f1f95e66dbd50861d32a1c639d25fbd89e6305123c722e630b44db97fa8d4c1f3d23f6eb3c962 +DIST firefox-83.0-ur.xpi 561012 BLAKE2B c952b0bc0390c53281852055acb104eacfc7cbea2087c762d3c9285990e2202dbed0f64e6e86618e2363672f5bc73c7b417383fa34465742bcfc495526e88dcc SHA512 c1b443e7215c7442bb29b6b7948a651c359a1cb232d1f334f0538e518538369d54e08efb86ab9845ae7a8d87eda6c5302c1a9632255427f84a1374cdfcfcd0eb +DIST firefox-83.0-uz.xpi 480814 BLAKE2B b9c253f124292851c180b237129dee403617a03f4806fbab8ff9c3e2b286f960aa7face8a90139c8201713722949ea0b5c098a03ae2b8ce375a88c93c962c86b SHA512 c956ce9248ccfe4d84394918bc4a0f0004870db4b4106646f903e5f59394442cf1839e66f4b285897fed7f41de312e7b273157f7a6f940cde0ba68aae7ca3742 +DIST firefox-83.0-vi.xpi 563425 BLAKE2B 398adc06edd315941a71bc290f110aecdc5d04a4095dbda61a638d061533f6dce94e5c48c46e25353f3b76d0510ef2369355844a1eb516bec3380b4c3f3c1a4d SHA512 1afbbde187afc184345aebf2881c5ac04183736f9e40953a85cd942df5b91b60a6f90e1f63f00d6903db79a510227f419b7c092d90c9ff3bb8eecc193322c9d7 +DIST firefox-83.0-xh.xpi 430120 BLAKE2B 5cb1701736000f4404ce780c5aa18eb37fbab3841a92e744a2a847fac271bbffa176eb8032aab05482cc2516052f48a785547a052219e82d08d588b3f45463b0 SHA512 865c2f98ca387d3dcbe0be4285e6f0de902766cfed3ec23c067045c7751117461dfff785afee9c26171591359d22cca4afefad6822a7b78d48ca7c10b421ea86 +DIST firefox-83.0-zh-CN.xpi 564100 BLAKE2B a9b89639386f0775dd1a6ab99551a2e79fbafa66801c6252084659f26dd7974d0aa86f70dcb404e5dde43deacb584c1ff19393302200fcab726bacdb86054c16 SHA512 c41654386aeecaa7691524dd563e07235b8f5962debcdbfe59a586292ebce3086a275c47873678d788462f6a5111335cb7fe0d293d11b4585ce7ffdc69a7822b +DIST firefox-83.0-zh-TW.xpi 564079 BLAKE2B b985bd680dc620313cd217beffa87935a546e528a37854fb20a7f4cdebdbf50fd4858ac91f13bf31eca947d09de1a2a0b9956ddf5acb6978e3a7a7d8628be0c0 SHA512 d5eb2a32cf4a5dc675adae6590c5201023387df9a8854ac4814b601c413c3785ae2e694dc5b4d231e2d1686b386cde202066cd2f11c1071dc29eff81c51e3abb +DIST firefox-83.0.source.tar.xz 351331940 BLAKE2B b3a805288f4d644f7375c78ebe771c26d59c57f6aad71877abbfe60563c06af5f162b8894cb624cec12a5c72542ffad97e6f8f0cfc3fba0506d4e246a41911e1 SHA512 4ac49cefed278d1f898907bbedacf81ea4bb4e5784f567d4c0971d9cbc2cf4a2e4472de81a7ded620bc3a516bc972d600b516b7674319cdfc9734c3824a9a2f6 diff --git a/www-client/firefox/firefox-83.0.ebuild b/www-client/firefox/firefox-83.0.ebuild new file mode 100644 index 0000000..61a956e --- /dev/null +++ b/www-client/firefox/firefox-83.0.ebuild @@ -0,0 +1,926 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +VIRTUALX_REQUIRED="pgo" +WANT_AUTOCONF="2.1" +MOZ_ESR="" + +PYTHON_COMPAT=( python3_{7,8,9} ) +PYTHON_REQ_USE='ncurses,sqlite,ssl,threads(+)' + +# This list can be updated with scripts/get_langs.sh from the mozilla overlay +MOZ_LANGS=( ach af an ar ast az be bg bn br bs ca cak cs cy da de dsb +el en en-CA en-GB en-US eo es-AR es-CL es-ES es-MX et eu fa ff fi fr +fy-NL ga-IE gd gl gn gu-IN he hi-IN hr hsb hu hy-AM ia id is it ja ka +kab kk km kn ko lij lt lv mk mr ms my nb-NO nl nn-NO oc pa-IN pl pt-BR +pt-PT rm ro ru si sk sl son sq sr sv-SE ta te th tr uk ur uz vi xh +zh-CN zh-TW ) + +# Convert the ebuild version to the upstream mozilla version, used by mozlinguas +MOZ_PV="${PV/_alpha/a}" # Handle alpha for SRC_URI +MOZ_PV="${MOZ_PV/_beta/b}" # Handle beta for SRC_URI +MOZ_PV="${MOZ_PV%%_rc*}" # Handle rc for SRC_URI + +if [[ ${MOZ_ESR} == 1 ]] ; then + # ESR releases have slightly different version numbers + MOZ_PV="${MOZ_PV}esr" +fi + +# Patch version +PATCH="${PN}-83.0-patches-01" + +MOZ_HTTP_URI="https://archive.mozilla.org/pub/${PN}/releases" +MOZ_SRC_URI="${MOZ_HTTP_URI}/${MOZ_PV}/source/${PN}-${MOZ_PV}.source.tar.xz" + +if [[ "${PV}" == *_rc* ]]; then + MOZ_HTTP_URI="https://archive.mozilla.org/pub/${PN}/candidates/${MOZ_PV}-candidates/build${PV##*_rc}" + MOZ_LANGPACK_PREFIX="linux-i686/xpi/" + MOZ_SRC_URI="${MOZ_HTTP_URI}/source/${PN}-${MOZ_PV}.source.tar.xz -> $P.tar.xz" +fi + +LLVM_MAX_SLOT=10 + +inherit check-reqs eapi7-ver flag-o-matic toolchain-funcs eutils \ + gnome2-utils llvm mozcoreconf-v6 pax-utils xdg-utils \ + autotools mozlinguas-v2 multiprocessing virtualx + +DESCRIPTION="Firefox Web Browser" +HOMEPAGE="https://www.mozilla.com/firefox" + +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +SLOT="0" +LICENSE="MPL-2.0 GPL-2 LGPL-2.1" +IUSE="bindist clang cpu_flags_x86_avx2 dbus debug eme-free geckodriver + +gmp-autoupdate hardened hwaccel jack lto cpu_flags_arm_neon + +openh264 pgo pulseaudio selinux +system-av1 + +system-harfbuzz +system-icu +system-jpeg +system-libevent + +system-libvpx +system-webp test wayland wifi" + +REQUIRED_USE="pgo? ( lto )" + +RESTRICT="!bindist? ( bindist ) + !test? ( test )" + +PATCH_URIS=( https://dev.gentoo.org/~anarchy/mozilla/patchsets/${PATCH}.tar.xz ) +SRC_URI="${SRC_URI} + ${MOZ_SRC_URI} + ${PATCH_URIS[@]}" + +CDEPEND=" + >=dev-libs/nss-3.57 + >=dev-libs/nspr-4.26 + dev-libs/atk + dev-libs/expat + >=x11-libs/cairo-1.10[X] + >=x11-libs/gtk+-2.18:2 + >=x11-libs/gtk+-3.4.0:3[X] + x11-libs/gdk-pixbuf + >=x11-libs/pango-1.22.0 + >=media-libs/libpng-1.6.35:0=[apng] + >=media-libs/mesa-10.2:* + media-libs/fontconfig + >=media-libs/freetype-2.4.10 + kernel_linux? ( !pulseaudio? ( media-libs/alsa-lib ) ) + virtual/freedesktop-icon-theme + >=x11-libs/pixman-0.19.2 + >=dev-libs/glib-2.26:2 + >=sys-libs/zlib-1.2.3 + >=dev-libs/libffi-3.0.10:= + media-video/ffmpeg + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXrender + x11-libs/libXt + dbus? ( + sys-apps/dbus + dev-libs/dbus-glib + ) + system-av1? ( + >=media-libs/dav1d-0.3.0:= + >=media-libs/libaom-1.0.0:= + ) + system-harfbuzz? ( + >=media-libs/harfbuzz-2.6.8:0= + >=media-gfx/graphite2-1.3.13 + ) + system-icu? ( >=dev-libs/icu-67.1:= ) + system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 ) + system-libevent? ( >=dev-libs/libevent-2.0:0=[threads] ) + system-libvpx? ( >=media-libs/libvpx-1.8.2:0=[postproc] ) + system-webp? ( >=media-libs/libwebp-1.1.0:0= ) + wifi? ( + kernel_linux? ( + sys-apps/dbus + dev-libs/dbus-glib + net-misc/networkmanager + ) + ) + jack? ( virtual/jack ) + selinux? ( sec-policy/selinux-mozilla )" + +RDEPEND="${CDEPEND} + jack? ( virtual/jack ) + openh264? ( media-libs/openh264:*[plugin] ) + pulseaudio? ( + || ( + media-sound/pulseaudio + >=media-sound/apulse-0.1.12-r4 + ) + ) + selinux? ( sec-policy/selinux-mozilla )" + +DEPEND="${CDEPEND} + app-arch/zip + app-arch/unzip + >=dev-util/cbindgen-0.14.3 + >=net-libs/nodejs-10.19.0 + >=sys-devel/binutils-2.30 + sys-apps/findutils + virtual/pkgconfig + >=virtual/rust-1.43.0 + || ( + ( + sys-devel/clang:10 + !clang? ( sys-devel/llvm:10 ) + clang? ( + =sys-devel/lld-10* + sys-devel/llvm:10[gold] + pgo? ( =sys-libs/compiler-rt-sanitizers-10*[profile] ) + ) + ) + ( + sys-devel/clang:9 + !clang? ( sys-devel/llvm:9 ) + clang? ( + =sys-devel/lld-9* + sys-devel/llvm:9[gold] + pgo? ( =sys-libs/compiler-rt-sanitizers-9*[profile] ) + ) + ) + ( + sys-devel/clang:8 + !clang? ( sys-devel/llvm:8 ) + clang? ( + =sys-devel/lld-8* + sys-devel/llvm:8[gold] + pgo? ( =sys-libs/compiler-rt-sanitizers-8*[profile] ) + ) + ) + ( + sys-devel/clang:7 + !clang? ( sys-devel/llvm:7 ) + clang? ( + =sys-devel/lld-7* + sys-devel/llvm:7[gold] + pgo? ( =sys-libs/compiler-rt-sanitizers-7*[profile] ) + ) + ) + ) + pulseaudio? ( + || ( + media-sound/pulseaudio + >=media-sound/apulse-0.1.12-r4[sdk] + ) + ) + wayland? ( >=x11-libs/gtk+-3.11:3[wayland] ) + amd64? ( >=dev-lang/yasm-1.1 virtual/opengl ) + x86? ( >=dev-lang/yasm-1.1 virtual/opengl ) + !system-av1? ( + amd64? ( >=dev-lang/nasm-2.13 ) + x86? ( >=dev-lang/nasm-2.13 ) + )" + +S="${WORKDIR}/firefox-${PV%_*}" + +BUILD_OBJ_DIR="${S}/ff" + +# allow GMP_PLUGIN_LIST to be set in an eclass or +# overridden in the enviromnent (advanced hackers only) +if [[ -z $GMP_PLUGIN_LIST ]] ; then + GMP_PLUGIN_LIST=( gmp-gmpopenh264 gmp-widevinecdm ) +fi + +llvm_check_deps() { + if ! has_version --host-root "sys-devel/clang:${LLVM_SLOT}" ; then + ewarn "sys-devel/clang:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 + return 1 + fi + + if use clang ; then + if ! has_version --host-root "=sys-devel/lld-${LLVM_SLOT}*" ; then + ewarn "=sys-devel/lld-${LLVM_SLOT}* is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 + return 1 + fi + + if use pgo ; then + if ! has_version --host-root "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*" ; then + ewarn "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}* is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 + return 1 + fi + fi + fi + + einfo "Will use LLVM slot ${LLVM_SLOT}!" >&2 +} + +pkg_pretend() { + if [[ ${MERGE_TYPE} != binary ]] ; then + if use pgo ; then + if ! has usersandbox $FEATURES ; then + die "You must enable usersandbox as X server can not run as root!" + fi + fi + + # Ensure we have enough disk space to compile + if use pgo || use lto || use debug || use test ; then + CHECKREQS_DISK_BUILD="11G" + else + CHECKREQS_DISK_BUILD="5G" + fi + + check-reqs_pkg_pretend + fi +} + +pkg_setup() { + moz_pkgsetup + + # Use system python instead of depending on mozilla's virtualenv + export MACH_USE_SYSTEM_PYTHON=1 + + if [[ ${MERGE_TYPE} != binary ]] ; then + # Ensure we have enough disk space to compile + if use pgo || use lto || use debug || use test ; then + CHECKREQS_DISK_BUILD="11G" + else + CHECKREQS_DISK_BUILD="5G" + fi + + check-reqs_pkg_setup + + # Avoid PGO profiling problems due to enviroment leakage + # These should *always* be cleaned up anyway + unset DBUS_SESSION_BUS_ADDRESS \ + DISPLAY \ + ORBIT_SOCKETDIR \ + SESSION_MANAGER \ + XDG_CACHE_HOME \ + XDG_SESSION_COOKIE \ + XAUTHORITY + + addpredict /proc/self/oom_score_adj + + llvm_pkg_setup + fi + + if ! use bindist ; then + einfo + elog "You are enabling official branding. You may not redistribute this build" + elog "to any users on your network or the internet. Doing so puts yourself into" + elog "a legal problem with Mozilla Foundation." + elog "You can disable it by emerging ${PN} _with_ the bindist USE-flag." + fi +} + +src_unpack() { + default + + # Unpack language packs + mozlinguas_src_unpack +} + +src_prepare() { + use pgo && rm "${WORKDIR}"/firefox/0032-LTO-Only-enable-LTO-for-Rust-when-complete-build-use.patch + eapply "${WORKDIR}/firefox" + + # Make LTO respect MAKEOPTS + sed -i \ + -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ + "${S}"/build/moz.configure/lto-pgo.configure \ + || die "sed failed to set num_cores" + + # Make ICU respect MAKEOPTS + sed -i \ + -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ + "${S}"/intl/icu_sources_data.py \ + || die "sed failed to set num_cores" + + # sed-in toolchain prefix + sed -i \ + -e "s/objdump/${CHOST}-objdump/" \ + "${S}"/python/mozbuild/mozbuild/configure/check_debug_ranges.py \ + || die "sed failed to set toolchain prefix" + + # Allow user to apply any additional patches without modifing ebuild + eapply_user + + einfo "Removing pre-built binaries ..." + find "${S}"/third_party -type f \( -name '*.so' -o -name '*.o' \) -print -delete || die + + # Enable gnomebreakpad + if use debug ; then + sed -i -e "s:GNOME_DISABLE_CRASH_DIALOG=1:GNOME_DISABLE_CRASH_DIALOG=0:g" \ + "${S}"/build/unix/run-mozilla.sh || die "sed failed!" + fi + + # Drop -Wl,--as-needed related manipulation for ia64 as it causes ld sefgaults, bug #582432 + if use ia64 ; then + sed -i \ + -e '/^OS_LIBS += no_as_needed/d' \ + -e '/^OS_LIBS += as_needed/d' \ + "${S}"/widget/gtk/mozgtk/gtk2/moz.build \ + "${S}"/widget/gtk/mozgtk/gtk3/moz.build \ + || die "sed failed to drop --as-needed for ia64" + fi + + # Fix sandbox violations during make clean, bug 372817 + sed -e "s:\(/no-such-file\):${T}\1:g" \ + -i "${S}"/config/rules.mk \ + -i "${S}"/nsprpub/configure{.in,} \ + || die + + # Don't exit with error when some libs are missing which we have in + # system. + sed '/^MOZ_PKG_FATAL_WARNINGS/s@= 1@= 0@' \ + -i "${S}"/browser/installer/Makefile.in || die + + # Don't error out when there's no files to be removed: + sed 's@\(xargs rm\)$@\1 -f@' \ + -i "${S}"/toolkit/mozapps/installer/packager.mk || die + + # Keep codebase the same even if not using official branding + sed '/^MOZ_DEV_EDITION=1/d' \ + -i "${S}"/browser/branding/aurora/configure.sh || die + + # rustfmt, a tool to format Rust code, is optional and not required to build Firefox. + # However, when available, an unsupported version can cause problems, bug #669548 + sed -i -e "s@check_prog('RUSTFMT', add_rustup_path('rustfmt')@check_prog('RUSTFMT', add_rustup_path('rustfmt_do_not_use')@" \ + "${S}"/build/moz.configure/rust.configure || die + + # Autotools configure is now called old-configure.in + # This works because there is still a configure.in that happens to be for the + # shell wrapper configure script + eautoreconf old-configure.in + + # Must run autoconf in js/src + cd "${S}"/js/src || die + eautoconf old-configure.in + + # Clear checksums that present a problem + sed -i 's/\("files":{\)[^}]*/\1/' "${S}"/third_party/rust/target-lexicon-0.9.0/.cargo-checksum.json || die +} + +src_configure() { + MEXTENSIONS="default" + # Google API keys (see http://www.chromium.org/developers/how-tos/api-keys) + # Note: These are for Gentoo Linux use ONLY. For your own distribution, please + # get your own set of keys. + _google_api_key=AIzaSyDEAOvatFo0eTgsV_ZlEzx0ObmepsMzfAc + + # Add information about TERM to output (build.log) to aid debugging + # blessings problems + if [[ -n "${TERM}" ]] ; then + einfo "TERM is set to: \"${TERM}\"" + else + einfo "TERM is unset." + fi + + if use clang && ! tc-is-clang ; then + # Force clang + einfo "Enforcing the use of clang due to USE=clang ..." + CC=${CHOST}-clang + CXX=${CHOST}-clang++ + strip-unsupported-flags + elif ! use clang && ! tc-is-gcc ; then + # Force gcc + einfo "Enforcing the use of gcc due to USE=-clang ..." + CC=${CHOST}-gcc + CXX=${CHOST}-g++ + strip-unsupported-flags + fi + + #################################### + # + # mozconfig, CFLAGS and CXXFLAGS setup + # + #################################### + + mozconfig_init + # common config components + mozconfig_annotate 'system_libs' \ + --with-system-zlib + + # Must pass release in order to properly select linker + mozconfig_annotate 'Enable by Gentoo' --enable-release + + # libclang.so is not properly detected work around issue + mozconfig_annotate '' --with-libclang-path="$(llvm-config --libdir)" + + if use pgo ; then + if ! has userpriv $FEATURES ; then + eerror "Building firefox with USE=pgo and FEATURES=-userpriv is not supported!" + fi + fi + + # Don't let user's LTO flags clash with upstream's flags + filter-flags -flto* + + if use lto ; then + local show_old_compiler_warning= + + if use clang ; then + # At this stage CC is adjusted and the following check will + # will work + if [[ $(clang-major-version) -lt 7 ]] ; then + show_old_compiler_warning=1 + fi + + # Upstream only supports lld when using clang + mozconfig_annotate "forcing ld=lld due to USE=clang and USE=lto" --enable-linker=lld + else + if [[ $(gcc-major-version) -lt 8 ]] ; then + show_old_compiler_warning=1 + fi + + if ! use cpu_flags_x86_avx2 ; then + local _gcc_version_with_ipa_cdtor_fix="8.3" + local _current_gcc_version="$(gcc-major-version).$(gcc-minor-version)" + + if ver_test "${_current_gcc_version}" -lt "${_gcc_version_with_ipa_cdtor_fix}" ; then + # due to a GCC bug, GCC will produce AVX2 instructions + # even if the CPU doesn't support AVX2, https://gcc.gnu.org/ml/gcc-patches/2018-12/msg01142.html + einfo "Disable IPA cdtor due to bug in GCC and missing AVX2 support -- triggered by USE=lto" + append-ldflags -fdisable-ipa-cdtor + else + einfo "No GCC workaround required, GCC version is already patched!" + fi + else + einfo "No GCC workaround required, system supports AVX2" + fi + + # Linking only works when using ld.gold when LTO is enabled + mozconfig_annotate "forcing ld=gold due to USE=lto" --enable-linker=gold + fi + + if [[ -n "${show_old_compiler_warning}" ]] ; then + # Checking compiler's major version uses CC variable. Because we allow + # user to control used compiler via USE=clang flag, we cannot use + # initial value. So this is the earliest stage where we can do this check + # because pkg_pretend is not called in the main phase function sequence + # environment saving is not guaranteed so we don't know if we will have + # correct compiler until now. + ewarn "" + ewarn "USE=lto requires up-to-date compiler (>=gcc-8 or >=clang-7)." + ewarn "You are on your own -- expect build failures. Don't file bugs using that unsupported configuration!" + ewarn "" + sleep 5 + fi + + mozconfig_annotate '+lto' --enable-lto=thin + + if use pgo ; then + mozconfig_annotate '+pgo' MOZ_PGO=1 + fi + else + # Avoid auto-magic on linker + if use clang ; then + # This is upstream's default + mozconfig_annotate "forcing ld=lld due to USE=clang" --enable-linker=lld + elif tc-ld-is-gold ; then + mozconfig_annotate "linker is set to gold" --enable-linker=gold + else + mozconfig_annotate "linker is set to bfd" --enable-linker=bfd + fi + fi + + # It doesn't compile on alpha without this LDFLAGS + use alpha && append-ldflags "-Wl,--no-relax" + + # Add full relro support for hardened + use hardened && append-ldflags "-Wl,-z,now" + + # Modifications to better support ARM, bug 553364 + if use cpu_flags_arm_neon ; then + mozconfig_annotate '' --with-fpu=neon + + if ! tc-is-clang ; then + # thumb options aren't supported when using clang, bug 666966 + mozconfig_annotate '' --with-thumb=yes + mozconfig_annotate '' --with-thumb-interwork=no + fi + fi + + if [[ ${CHOST} == armv*h* ]] ; then + mozconfig_annotate '' --with-float-abi=hard + if ! use system-libvpx ; then + sed -i -e "s|softfp|hard|" \ + "${S}"/media/libvpx/moz.build + fi + fi + + mozconfig_use_enable !bindist official-branding + + mozconfig_use_enable debug + mozconfig_use_enable debug tests + if ! use debug ; then + mozconfig_annotate 'disabled by Gentoo' --disable-debug-symbols + else + mozconfig_annotate 'enabled by Gentoo' --enable-debug-symbols + fi + # These are enabled by default in all mozilla applications + mozconfig_annotate '' --with-system-nspr + mozconfig_annotate '' --with-system-nss + mozconfig_annotate '' --x-includes="${SYSROOT}${EPREFIX}"/usr/include \ + --x-libraries="${SYSROOT}${EPREFIX}"/usr/$(get_libdir) + mozconfig_annotate '' --prefix="${EPREFIX}"/usr + mozconfig_annotate '' --libdir="${EPREFIX}"/usr/$(get_libdir) + mozconfig_annotate '' --disable-crashreporter + mozconfig_annotate 'Gentoo default' --with-system-png + mozconfig_annotate '' --enable-system-ffi + mozconfig_annotate '' --with-intl-api + mozconfig_annotate '' --enable-system-pixman + # Instead of the standard --build= and --host=, mozilla uses --host instead + # of --build, and --target intstead of --host. + # Note, mozilla also has --build but it does not do what you think it does. + # Set both --target and --host as mozilla uses python to guess values otherwise + mozconfig_annotate '' --target="${CHOST}" + mozconfig_annotate '' --host="${CBUILD:-${CHOST}}" + mozconfig_annotate '' --with-toolchain-prefix="${CHOST}-" + if use system-libevent ; then + mozconfig_annotate '' --with-system-libevent="${SYSROOT}${EPREFIX}"/usr + fi + + if ! use x86 && [[ ${CHOST} != armv*h* ]] ; then + mozconfig_annotate '' --enable-rust-simd + fi + + # use the gtk3 toolkit (the only one supported at this point) + # TODO: Will this result in automagic dependency on x11-libs/gtk+[wayland]? + if use wayland ; then + mozconfig_annotate '' --enable-default-toolkit=cairo-gtk3-wayland + else + mozconfig_annotate '' --enable-default-toolkit=cairo-gtk3 + fi + + mozconfig_use_with system-av1 + mozconfig_use_with system-harfbuzz + mozconfig_use_with system-harfbuzz system-graphite2 + mozconfig_use_with system-icu + mozconfig_use_with system-jpeg + mozconfig_use_with system-libvpx + mozconfig_use_with system-webp + mozconfig_use_enable pulseaudio + # force the deprecated alsa sound code if pulseaudio is disabled + if use kernel_linux && ! use pulseaudio ; then + mozconfig_annotate '-pulseaudio' --enable-alsa + fi + + # Disable built-in ccache support to avoid sandbox violation, #665420 + # Use FEATURES=ccache instead! + mozconfig_annotate '' --without-ccache + sed -i -e 's/ccache_stats = None/return None/' \ + python/mozbuild/mozbuild/controller/building.py || \ + die "Failed to disable ccache stats call" + + mozconfig_use_enable dbus + + mozconfig_use_enable wifi necko-wifi + + mozconfig_use_enable geckodriver + + # enable JACK, bug 600002 + mozconfig_use_enable jack + + # Enable/Disable eme support + use eme-free && mozconfig_annotate '+eme-free' --disable-eme + + # Setup api key for location services and safebrowsing, https://bugzilla.mozilla.org/show_bug.cgi?id=1531176#c34 + echo -n "${_google_api_key}" > "${S}"/google-api-key + mozconfig_annotate '' --with-google-location-service-api-keyfile="${S}/google-api-key" + mozconfig_annotate '' --with-google-safebrowsing-api-keyfile="${S}/google-api-key" + + mozconfig_annotate '' --enable-extensions="${MEXTENSIONS}" + + # allow elfhack to work in combination with unstripped binaries + # when they would normally be larger than 2GiB. + append-ldflags "-Wl,--compress-debug-sections=zlib" + + if use clang ; then + # https://bugzilla.mozilla.org/show_bug.cgi?id=1482204 + # https://bugzilla.mozilla.org/show_bug.cgi?id=1483822 + # toolkit/moz.configure Elfhack section: target.cpu in ('arm', 'x86', 'x86_64') + local disable_elf_hack= + if use amd64 ; then + disable_elf_hack=yes + elif use x86 ; then + disable_elf_hack=yes + elif use arm ; then + disable_elf_hack=yes + fi + + if [[ -n ${disable_elf_hack} ]] ; then + mozconfig_annotate 'elf-hack is broken when using Clang' --disable-elf-hack + fi + fi + + echo "mk_add_options MOZ_OBJDIR=${BUILD_OBJ_DIR}" >> "${S}"/.mozconfig + echo "mk_add_options XARGS=/usr/bin/xargs" >> "${S}"/.mozconfig + + # Finalize and report settings + mozconfig_final + + mkdir -p "${S}"/third_party/rust/libloading/.deps + + # workaround for funky/broken upstream configure... + SHELL="${SHELL:-${EPREFIX}/bin/bash}" MOZ_NOSPAM=1 \ + ./mach configure || die +} + +src_compile() { + local _virtx= + if use pgo ; then + _virtx=virtx + + # Reset and cleanup environment variables used by GNOME/XDG + gnome2_environment_reset + + addpredict /root + fi + + GDK_BACKEND=x11 \ + MOZ_MAKE_FLAGS="${MAKEOPTS} -O" \ + SHELL="${SHELL:-${EPREFIX}/bin/bash}" \ + MOZ_NOSPAM=1 \ + ${_virtx} \ + ./mach build --verbose \ + || die +} + +src_install() { + cd "${BUILD_OBJ_DIR}" || die + + # Pax mark xpcshell for hardened support, only used for startupcache creation. + pax-mark m "${BUILD_OBJ_DIR}"/dist/bin/xpcshell + + # Add our default prefs for firefox + cp "${FILESDIR}"/gentoo-default-prefs.js-3 \ + "${BUILD_OBJ_DIR}/dist/bin/browser/defaults/preferences/all-gentoo.js" \ + || die + + # set dictionary path, to use system hunspell + echo "pref(\"spellchecker.dictionary_path\", \"${EPREFIX}/usr/share/myspell\");" \ + >>"${BUILD_OBJ_DIR}/dist/bin/browser/defaults/preferences/all-gentoo.js" || die + + # force the graphite pref if system-harfbuzz is enabled, since the pref cant disable it + if use system-harfbuzz ; then + echo "sticky_pref(\"gfx.font_rendering.graphite.enabled\",true);" \ + >>"${BUILD_OBJ_DIR}/dist/bin/browser/defaults/preferences/all-gentoo.js" || die + fi + + # force cairo as the canvas renderer on platforms without skia support + if [[ $(tc-endian) == "big" ]] ; then + echo "sticky_pref(\"gfx.canvas.azure.backends\",\"cairo\");" \ + >>"${BUILD_OBJ_DIR}/dist/bin/browser/defaults/preferences/all-gentoo.js" || die + echo "sticky_pref(\"gfx.content.azure.backends\",\"cairo\");" \ + >>"${BUILD_OBJ_DIR}/dist/bin/browser/defaults/preferences/all-gentoo.js" || die + fi + + # Augment this with hwaccel prefs + if use hwaccel ; then + cat "${FILESDIR}"/gentoo-hwaccel-prefs.js-1 >> \ + "${BUILD_OBJ_DIR}/dist/bin/browser/defaults/preferences/all-gentoo.js" \ + || die + fi + + echo "pref(\"extensions.autoDisableScopes\", 3);" >> \ + "${BUILD_OBJ_DIR}/dist/bin/browser/defaults/preferences/all-gentoo.js" \ + || die + + if ! use gmp-autoupdate ; then + local plugin + for plugin in "${GMP_PLUGIN_LIST[@]}" ; do + echo "pref(\"media.${plugin}.autoupdate\", false);" >> \ + "${BUILD_OBJ_DIR}/dist/bin/browser/defaults/preferences/all-gentoo.js" \ + || die + done + fi + + cd "${S}" + MOZ_MAKE_FLAGS="${MAKEOPTS}" SHELL="${SHELL:-${EPREFIX}/bin/bash}" MOZ_NOSPAM=1 \ + DESTDIR="${D}" ./mach install || die + + if use geckodriver ; then + cp "${BUILD_OBJ_DIR}"/dist/bin/geckodriver "${ED%/}"${MOZILLA_FIVE_HOME} || die + pax-mark m "${ED%/}"${MOZILLA_FIVE_HOME}/geckodriver + + dosym ${MOZILLA_FIVE_HOME}/geckodriver /usr/bin/geckodriver + fi + + # Install language packs + MOZEXTENSION_TARGET="distribution/extensions" MOZ_INSTALL_L10N_XPIFILE="1" mozlinguas_src_install + + local size sizes icon_path icon name + if use bindist ; then + sizes="16 32 48" + icon_path="${S}/browser/branding/aurora" + # Firefox's new rapid release cycle means no more codenames + # Let's just stick with this one... + icon="aurora" + name="Aurora" + + # Override preferences to set the MOZ_DEV_EDITION defaults, since we + # don't define MOZ_DEV_EDITION to avoid profile debaucles. + # (source: browser/app/profile/firefox.js) + cat >>"${BUILD_OBJ_DIR}/dist/bin/browser/defaults/preferences/all-gentoo.js" <=media-sound/apulse-0.1.12-r4" ; then + einfo "APULSE found - Generating library symlinks for sound support" + local lib + pushd "${ED}"${MOZILLA_FIVE_HOME} &>/dev/null || die + for lib in ../apulse/libpulse{.so{,.0},-simple.so{,.0}} ; do + # a quickpkg rolled by hand will grab symlinks as part of the package, + # so we need to avoid creating them if they already exist. + if [[ ! -L ${lib##*/} ]] ; then + ln -s "${lib}" ${lib##*/} || die + fi + done + popd &>/dev/null || die + fi +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_icon_cache_update + + if ! use gmp-autoupdate ; then + elog "USE='-gmp-autoupdate' has disabled the following plugins from updating or" + elog "installing into new profiles:" + local plugin + for plugin in "${GMP_PLUGIN_LIST[@]}" ; do + elog "\t ${plugin}" + done + elog + fi + + if use pulseaudio && has_version ">=media-sound/apulse-0.1.12-r4" ; then + elog "Apulse was detected at merge time on this system and so it will always be" + elog "used for sound. If you wish to use pulseaudio instead please unmerge" + elog "media-sound/apulse." + elog + fi + + local show_doh_information show_normandy_information + + if [[ -z "${REPLACING_VERSIONS}" ]] ; then + # New install; Tell user that DoH is disabled by default + show_doh_information=yes + show_normandy_information=yes + else + local replacing_version + for replacing_version in ${REPLACING_VERSIONS} ; do + if ver_test "${replacing_version}" -lt 70 ; then + # Tell user only once about our DoH default + show_doh_information=yes + fi + + if ver_test "${replacing_version}" -lt 74.0-r2 ; then + # Tell user only once about our Normandy default + show_normandy_information=yes + fi + done + fi + + if [[ -n "${show_doh_information}" ]] ; then + elog + elog "Note regarding Trusted Recursive Resolver aka DNS-over-HTTPS (DoH):" + elog "Due to privacy concerns (encrypting DNS might be a good thing, sending all" + elog "DNS traffic to Cloudflare by default is not a good idea and applications" + elog "should respect OS configured settings), \"network.trr.mode\" was set to 5" + elog "(\"Off by choice\") by default." + elog "You can enable DNS-over-HTTPS in ${PN^}'s preferences." + fi + + # bug 713782 + if [[ -n "${show_normandy_information}" ]] ; then + elog + elog "Upstream operates a service named Normandy which allows Mozilla to" + elog "push changes for default settings or even install new add-ons remotely." + elog "While this can be useful to address problems like 'Armagadd-on 2.0' or" + elog "revert previous decisions to disable TLS 1.0/1.1, privacy and security" + elog "concerns prevail, which is why we have switched off the use of this" + elog "service by default." + elog + elog "To re-enable this service set" + elog + elog " app.normandy.enabled=true" + elog + elog "in about:config." + fi +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update +} diff --git a/www-client/firefox/firefox-83.0_beta6.ebuild b/www-client/firefox/firefox-83.0_beta6.ebuild deleted file mode 100644 index 61a956e..0000000 --- a/www-client/firefox/firefox-83.0_beta6.ebuild +++ /dev/null @@ -1,926 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" -VIRTUALX_REQUIRED="pgo" -WANT_AUTOCONF="2.1" -MOZ_ESR="" - -PYTHON_COMPAT=( python3_{7,8,9} ) -PYTHON_REQ_USE='ncurses,sqlite,ssl,threads(+)' - -# This list can be updated with scripts/get_langs.sh from the mozilla overlay -MOZ_LANGS=( ach af an ar ast az be bg bn br bs ca cak cs cy da de dsb -el en en-CA en-GB en-US eo es-AR es-CL es-ES es-MX et eu fa ff fi fr -fy-NL ga-IE gd gl gn gu-IN he hi-IN hr hsb hu hy-AM ia id is it ja ka -kab kk km kn ko lij lt lv mk mr ms my nb-NO nl nn-NO oc pa-IN pl pt-BR -pt-PT rm ro ru si sk sl son sq sr sv-SE ta te th tr uk ur uz vi xh -zh-CN zh-TW ) - -# Convert the ebuild version to the upstream mozilla version, used by mozlinguas -MOZ_PV="${PV/_alpha/a}" # Handle alpha for SRC_URI -MOZ_PV="${MOZ_PV/_beta/b}" # Handle beta for SRC_URI -MOZ_PV="${MOZ_PV%%_rc*}" # Handle rc for SRC_URI - -if [[ ${MOZ_ESR} == 1 ]] ; then - # ESR releases have slightly different version numbers - MOZ_PV="${MOZ_PV}esr" -fi - -# Patch version -PATCH="${PN}-83.0-patches-01" - -MOZ_HTTP_URI="https://archive.mozilla.org/pub/${PN}/releases" -MOZ_SRC_URI="${MOZ_HTTP_URI}/${MOZ_PV}/source/${PN}-${MOZ_PV}.source.tar.xz" - -if [[ "${PV}" == *_rc* ]]; then - MOZ_HTTP_URI="https://archive.mozilla.org/pub/${PN}/candidates/${MOZ_PV}-candidates/build${PV##*_rc}" - MOZ_LANGPACK_PREFIX="linux-i686/xpi/" - MOZ_SRC_URI="${MOZ_HTTP_URI}/source/${PN}-${MOZ_PV}.source.tar.xz -> $P.tar.xz" -fi - -LLVM_MAX_SLOT=10 - -inherit check-reqs eapi7-ver flag-o-matic toolchain-funcs eutils \ - gnome2-utils llvm mozcoreconf-v6 pax-utils xdg-utils \ - autotools mozlinguas-v2 multiprocessing virtualx - -DESCRIPTION="Firefox Web Browser" -HOMEPAGE="https://www.mozilla.com/firefox" - -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" - -SLOT="0" -LICENSE="MPL-2.0 GPL-2 LGPL-2.1" -IUSE="bindist clang cpu_flags_x86_avx2 dbus debug eme-free geckodriver - +gmp-autoupdate hardened hwaccel jack lto cpu_flags_arm_neon - +openh264 pgo pulseaudio selinux +system-av1 - +system-harfbuzz +system-icu +system-jpeg +system-libevent - +system-libvpx +system-webp test wayland wifi" - -REQUIRED_USE="pgo? ( lto )" - -RESTRICT="!bindist? ( bindist ) - !test? ( test )" - -PATCH_URIS=( https://dev.gentoo.org/~anarchy/mozilla/patchsets/${PATCH}.tar.xz ) -SRC_URI="${SRC_URI} - ${MOZ_SRC_URI} - ${PATCH_URIS[@]}" - -CDEPEND=" - >=dev-libs/nss-3.57 - >=dev-libs/nspr-4.26 - dev-libs/atk - dev-libs/expat - >=x11-libs/cairo-1.10[X] - >=x11-libs/gtk+-2.18:2 - >=x11-libs/gtk+-3.4.0:3[X] - x11-libs/gdk-pixbuf - >=x11-libs/pango-1.22.0 - >=media-libs/libpng-1.6.35:0=[apng] - >=media-libs/mesa-10.2:* - media-libs/fontconfig - >=media-libs/freetype-2.4.10 - kernel_linux? ( !pulseaudio? ( media-libs/alsa-lib ) ) - virtual/freedesktop-icon-theme - >=x11-libs/pixman-0.19.2 - >=dev-libs/glib-2.26:2 - >=sys-libs/zlib-1.2.3 - >=dev-libs/libffi-3.0.10:= - media-video/ffmpeg - x11-libs/libX11 - x11-libs/libXcomposite - x11-libs/libXdamage - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libXrender - x11-libs/libXt - dbus? ( - sys-apps/dbus - dev-libs/dbus-glib - ) - system-av1? ( - >=media-libs/dav1d-0.3.0:= - >=media-libs/libaom-1.0.0:= - ) - system-harfbuzz? ( - >=media-libs/harfbuzz-2.6.8:0= - >=media-gfx/graphite2-1.3.13 - ) - system-icu? ( >=dev-libs/icu-67.1:= ) - system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 ) - system-libevent? ( >=dev-libs/libevent-2.0:0=[threads] ) - system-libvpx? ( >=media-libs/libvpx-1.8.2:0=[postproc] ) - system-webp? ( >=media-libs/libwebp-1.1.0:0= ) - wifi? ( - kernel_linux? ( - sys-apps/dbus - dev-libs/dbus-glib - net-misc/networkmanager - ) - ) - jack? ( virtual/jack ) - selinux? ( sec-policy/selinux-mozilla )" - -RDEPEND="${CDEPEND} - jack? ( virtual/jack ) - openh264? ( media-libs/openh264:*[plugin] ) - pulseaudio? ( - || ( - media-sound/pulseaudio - >=media-sound/apulse-0.1.12-r4 - ) - ) - selinux? ( sec-policy/selinux-mozilla )" - -DEPEND="${CDEPEND} - app-arch/zip - app-arch/unzip - >=dev-util/cbindgen-0.14.3 - >=net-libs/nodejs-10.19.0 - >=sys-devel/binutils-2.30 - sys-apps/findutils - virtual/pkgconfig - >=virtual/rust-1.43.0 - || ( - ( - sys-devel/clang:10 - !clang? ( sys-devel/llvm:10 ) - clang? ( - =sys-devel/lld-10* - sys-devel/llvm:10[gold] - pgo? ( =sys-libs/compiler-rt-sanitizers-10*[profile] ) - ) - ) - ( - sys-devel/clang:9 - !clang? ( sys-devel/llvm:9 ) - clang? ( - =sys-devel/lld-9* - sys-devel/llvm:9[gold] - pgo? ( =sys-libs/compiler-rt-sanitizers-9*[profile] ) - ) - ) - ( - sys-devel/clang:8 - !clang? ( sys-devel/llvm:8 ) - clang? ( - =sys-devel/lld-8* - sys-devel/llvm:8[gold] - pgo? ( =sys-libs/compiler-rt-sanitizers-8*[profile] ) - ) - ) - ( - sys-devel/clang:7 - !clang? ( sys-devel/llvm:7 ) - clang? ( - =sys-devel/lld-7* - sys-devel/llvm:7[gold] - pgo? ( =sys-libs/compiler-rt-sanitizers-7*[profile] ) - ) - ) - ) - pulseaudio? ( - || ( - media-sound/pulseaudio - >=media-sound/apulse-0.1.12-r4[sdk] - ) - ) - wayland? ( >=x11-libs/gtk+-3.11:3[wayland] ) - amd64? ( >=dev-lang/yasm-1.1 virtual/opengl ) - x86? ( >=dev-lang/yasm-1.1 virtual/opengl ) - !system-av1? ( - amd64? ( >=dev-lang/nasm-2.13 ) - x86? ( >=dev-lang/nasm-2.13 ) - )" - -S="${WORKDIR}/firefox-${PV%_*}" - -BUILD_OBJ_DIR="${S}/ff" - -# allow GMP_PLUGIN_LIST to be set in an eclass or -# overridden in the enviromnent (advanced hackers only) -if [[ -z $GMP_PLUGIN_LIST ]] ; then - GMP_PLUGIN_LIST=( gmp-gmpopenh264 gmp-widevinecdm ) -fi - -llvm_check_deps() { - if ! has_version --host-root "sys-devel/clang:${LLVM_SLOT}" ; then - ewarn "sys-devel/clang:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 - return 1 - fi - - if use clang ; then - if ! has_version --host-root "=sys-devel/lld-${LLVM_SLOT}*" ; then - ewarn "=sys-devel/lld-${LLVM_SLOT}* is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 - return 1 - fi - - if use pgo ; then - if ! has_version --host-root "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*" ; then - ewarn "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}* is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 - return 1 - fi - fi - fi - - einfo "Will use LLVM slot ${LLVM_SLOT}!" >&2 -} - -pkg_pretend() { - if [[ ${MERGE_TYPE} != binary ]] ; then - if use pgo ; then - if ! has usersandbox $FEATURES ; then - die "You must enable usersandbox as X server can not run as root!" - fi - fi - - # Ensure we have enough disk space to compile - if use pgo || use lto || use debug || use test ; then - CHECKREQS_DISK_BUILD="11G" - else - CHECKREQS_DISK_BUILD="5G" - fi - - check-reqs_pkg_pretend - fi -} - -pkg_setup() { - moz_pkgsetup - - # Use system python instead of depending on mozilla's virtualenv - export MACH_USE_SYSTEM_PYTHON=1 - - if [[ ${MERGE_TYPE} != binary ]] ; then - # Ensure we have enough disk space to compile - if use pgo || use lto || use debug || use test ; then - CHECKREQS_DISK_BUILD="11G" - else - CHECKREQS_DISK_BUILD="5G" - fi - - check-reqs_pkg_setup - - # Avoid PGO profiling problems due to enviroment leakage - # These should *always* be cleaned up anyway - unset DBUS_SESSION_BUS_ADDRESS \ - DISPLAY \ - ORBIT_SOCKETDIR \ - SESSION_MANAGER \ - XDG_CACHE_HOME \ - XDG_SESSION_COOKIE \ - XAUTHORITY - - addpredict /proc/self/oom_score_adj - - llvm_pkg_setup - fi - - if ! use bindist ; then - einfo - elog "You are enabling official branding. You may not redistribute this build" - elog "to any users on your network or the internet. Doing so puts yourself into" - elog "a legal problem with Mozilla Foundation." - elog "You can disable it by emerging ${PN} _with_ the bindist USE-flag." - fi -} - -src_unpack() { - default - - # Unpack language packs - mozlinguas_src_unpack -} - -src_prepare() { - use pgo && rm "${WORKDIR}"/firefox/0032-LTO-Only-enable-LTO-for-Rust-when-complete-build-use.patch - eapply "${WORKDIR}/firefox" - - # Make LTO respect MAKEOPTS - sed -i \ - -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ - "${S}"/build/moz.configure/lto-pgo.configure \ - || die "sed failed to set num_cores" - - # Make ICU respect MAKEOPTS - sed -i \ - -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ - "${S}"/intl/icu_sources_data.py \ - || die "sed failed to set num_cores" - - # sed-in toolchain prefix - sed -i \ - -e "s/objdump/${CHOST}-objdump/" \ - "${S}"/python/mozbuild/mozbuild/configure/check_debug_ranges.py \ - || die "sed failed to set toolchain prefix" - - # Allow user to apply any additional patches without modifing ebuild - eapply_user - - einfo "Removing pre-built binaries ..." - find "${S}"/third_party -type f \( -name '*.so' -o -name '*.o' \) -print -delete || die - - # Enable gnomebreakpad - if use debug ; then - sed -i -e "s:GNOME_DISABLE_CRASH_DIALOG=1:GNOME_DISABLE_CRASH_DIALOG=0:g" \ - "${S}"/build/unix/run-mozilla.sh || die "sed failed!" - fi - - # Drop -Wl,--as-needed related manipulation for ia64 as it causes ld sefgaults, bug #582432 - if use ia64 ; then - sed -i \ - -e '/^OS_LIBS += no_as_needed/d' \ - -e '/^OS_LIBS += as_needed/d' \ - "${S}"/widget/gtk/mozgtk/gtk2/moz.build \ - "${S}"/widget/gtk/mozgtk/gtk3/moz.build \ - || die "sed failed to drop --as-needed for ia64" - fi - - # Fix sandbox violations during make clean, bug 372817 - sed -e "s:\(/no-such-file\):${T}\1:g" \ - -i "${S}"/config/rules.mk \ - -i "${S}"/nsprpub/configure{.in,} \ - || die - - # Don't exit with error when some libs are missing which we have in - # system. - sed '/^MOZ_PKG_FATAL_WARNINGS/s@= 1@= 0@' \ - -i "${S}"/browser/installer/Makefile.in || die - - # Don't error out when there's no files to be removed: - sed 's@\(xargs rm\)$@\1 -f@' \ - -i "${S}"/toolkit/mozapps/installer/packager.mk || die - - # Keep codebase the same even if not using official branding - sed '/^MOZ_DEV_EDITION=1/d' \ - -i "${S}"/browser/branding/aurora/configure.sh || die - - # rustfmt, a tool to format Rust code, is optional and not required to build Firefox. - # However, when available, an unsupported version can cause problems, bug #669548 - sed -i -e "s@check_prog('RUSTFMT', add_rustup_path('rustfmt')@check_prog('RUSTFMT', add_rustup_path('rustfmt_do_not_use')@" \ - "${S}"/build/moz.configure/rust.configure || die - - # Autotools configure is now called old-configure.in - # This works because there is still a configure.in that happens to be for the - # shell wrapper configure script - eautoreconf old-configure.in - - # Must run autoconf in js/src - cd "${S}"/js/src || die - eautoconf old-configure.in - - # Clear checksums that present a problem - sed -i 's/\("files":{\)[^}]*/\1/' "${S}"/third_party/rust/target-lexicon-0.9.0/.cargo-checksum.json || die -} - -src_configure() { - MEXTENSIONS="default" - # Google API keys (see http://www.chromium.org/developers/how-tos/api-keys) - # Note: These are for Gentoo Linux use ONLY. For your own distribution, please - # get your own set of keys. - _google_api_key=AIzaSyDEAOvatFo0eTgsV_ZlEzx0ObmepsMzfAc - - # Add information about TERM to output (build.log) to aid debugging - # blessings problems - if [[ -n "${TERM}" ]] ; then - einfo "TERM is set to: \"${TERM}\"" - else - einfo "TERM is unset." - fi - - if use clang && ! tc-is-clang ; then - # Force clang - einfo "Enforcing the use of clang due to USE=clang ..." - CC=${CHOST}-clang - CXX=${CHOST}-clang++ - strip-unsupported-flags - elif ! use clang && ! tc-is-gcc ; then - # Force gcc - einfo "Enforcing the use of gcc due to USE=-clang ..." - CC=${CHOST}-gcc - CXX=${CHOST}-g++ - strip-unsupported-flags - fi - - #################################### - # - # mozconfig, CFLAGS and CXXFLAGS setup - # - #################################### - - mozconfig_init - # common config components - mozconfig_annotate 'system_libs' \ - --with-system-zlib - - # Must pass release in order to properly select linker - mozconfig_annotate 'Enable by Gentoo' --enable-release - - # libclang.so is not properly detected work around issue - mozconfig_annotate '' --with-libclang-path="$(llvm-config --libdir)" - - if use pgo ; then - if ! has userpriv $FEATURES ; then - eerror "Building firefox with USE=pgo and FEATURES=-userpriv is not supported!" - fi - fi - - # Don't let user's LTO flags clash with upstream's flags - filter-flags -flto* - - if use lto ; then - local show_old_compiler_warning= - - if use clang ; then - # At this stage CC is adjusted and the following check will - # will work - if [[ $(clang-major-version) -lt 7 ]] ; then - show_old_compiler_warning=1 - fi - - # Upstream only supports lld when using clang - mozconfig_annotate "forcing ld=lld due to USE=clang and USE=lto" --enable-linker=lld - else - if [[ $(gcc-major-version) -lt 8 ]] ; then - show_old_compiler_warning=1 - fi - - if ! use cpu_flags_x86_avx2 ; then - local _gcc_version_with_ipa_cdtor_fix="8.3" - local _current_gcc_version="$(gcc-major-version).$(gcc-minor-version)" - - if ver_test "${_current_gcc_version}" -lt "${_gcc_version_with_ipa_cdtor_fix}" ; then - # due to a GCC bug, GCC will produce AVX2 instructions - # even if the CPU doesn't support AVX2, https://gcc.gnu.org/ml/gcc-patches/2018-12/msg01142.html - einfo "Disable IPA cdtor due to bug in GCC and missing AVX2 support -- triggered by USE=lto" - append-ldflags -fdisable-ipa-cdtor - else - einfo "No GCC workaround required, GCC version is already patched!" - fi - else - einfo "No GCC workaround required, system supports AVX2" - fi - - # Linking only works when using ld.gold when LTO is enabled - mozconfig_annotate "forcing ld=gold due to USE=lto" --enable-linker=gold - fi - - if [[ -n "${show_old_compiler_warning}" ]] ; then - # Checking compiler's major version uses CC variable. Because we allow - # user to control used compiler via USE=clang flag, we cannot use - # initial value. So this is the earliest stage where we can do this check - # because pkg_pretend is not called in the main phase function sequence - # environment saving is not guaranteed so we don't know if we will have - # correct compiler until now. - ewarn "" - ewarn "USE=lto requires up-to-date compiler (>=gcc-8 or >=clang-7)." - ewarn "You are on your own -- expect build failures. Don't file bugs using that unsupported configuration!" - ewarn "" - sleep 5 - fi - - mozconfig_annotate '+lto' --enable-lto=thin - - if use pgo ; then - mozconfig_annotate '+pgo' MOZ_PGO=1 - fi - else - # Avoid auto-magic on linker - if use clang ; then - # This is upstream's default - mozconfig_annotate "forcing ld=lld due to USE=clang" --enable-linker=lld - elif tc-ld-is-gold ; then - mozconfig_annotate "linker is set to gold" --enable-linker=gold - else - mozconfig_annotate "linker is set to bfd" --enable-linker=bfd - fi - fi - - # It doesn't compile on alpha without this LDFLAGS - use alpha && append-ldflags "-Wl,--no-relax" - - # Add full relro support for hardened - use hardened && append-ldflags "-Wl,-z,now" - - # Modifications to better support ARM, bug 553364 - if use cpu_flags_arm_neon ; then - mozconfig_annotate '' --with-fpu=neon - - if ! tc-is-clang ; then - # thumb options aren't supported when using clang, bug 666966 - mozconfig_annotate '' --with-thumb=yes - mozconfig_annotate '' --with-thumb-interwork=no - fi - fi - - if [[ ${CHOST} == armv*h* ]] ; then - mozconfig_annotate '' --with-float-abi=hard - if ! use system-libvpx ; then - sed -i -e "s|softfp|hard|" \ - "${S}"/media/libvpx/moz.build - fi - fi - - mozconfig_use_enable !bindist official-branding - - mozconfig_use_enable debug - mozconfig_use_enable debug tests - if ! use debug ; then - mozconfig_annotate 'disabled by Gentoo' --disable-debug-symbols - else - mozconfig_annotate 'enabled by Gentoo' --enable-debug-symbols - fi - # These are enabled by default in all mozilla applications - mozconfig_annotate '' --with-system-nspr - mozconfig_annotate '' --with-system-nss - mozconfig_annotate '' --x-includes="${SYSROOT}${EPREFIX}"/usr/include \ - --x-libraries="${SYSROOT}${EPREFIX}"/usr/$(get_libdir) - mozconfig_annotate '' --prefix="${EPREFIX}"/usr - mozconfig_annotate '' --libdir="${EPREFIX}"/usr/$(get_libdir) - mozconfig_annotate '' --disable-crashreporter - mozconfig_annotate 'Gentoo default' --with-system-png - mozconfig_annotate '' --enable-system-ffi - mozconfig_annotate '' --with-intl-api - mozconfig_annotate '' --enable-system-pixman - # Instead of the standard --build= and --host=, mozilla uses --host instead - # of --build, and --target intstead of --host. - # Note, mozilla also has --build but it does not do what you think it does. - # Set both --target and --host as mozilla uses python to guess values otherwise - mozconfig_annotate '' --target="${CHOST}" - mozconfig_annotate '' --host="${CBUILD:-${CHOST}}" - mozconfig_annotate '' --with-toolchain-prefix="${CHOST}-" - if use system-libevent ; then - mozconfig_annotate '' --with-system-libevent="${SYSROOT}${EPREFIX}"/usr - fi - - if ! use x86 && [[ ${CHOST} != armv*h* ]] ; then - mozconfig_annotate '' --enable-rust-simd - fi - - # use the gtk3 toolkit (the only one supported at this point) - # TODO: Will this result in automagic dependency on x11-libs/gtk+[wayland]? - if use wayland ; then - mozconfig_annotate '' --enable-default-toolkit=cairo-gtk3-wayland - else - mozconfig_annotate '' --enable-default-toolkit=cairo-gtk3 - fi - - mozconfig_use_with system-av1 - mozconfig_use_with system-harfbuzz - mozconfig_use_with system-harfbuzz system-graphite2 - mozconfig_use_with system-icu - mozconfig_use_with system-jpeg - mozconfig_use_with system-libvpx - mozconfig_use_with system-webp - mozconfig_use_enable pulseaudio - # force the deprecated alsa sound code if pulseaudio is disabled - if use kernel_linux && ! use pulseaudio ; then - mozconfig_annotate '-pulseaudio' --enable-alsa - fi - - # Disable built-in ccache support to avoid sandbox violation, #665420 - # Use FEATURES=ccache instead! - mozconfig_annotate '' --without-ccache - sed -i -e 's/ccache_stats = None/return None/' \ - python/mozbuild/mozbuild/controller/building.py || \ - die "Failed to disable ccache stats call" - - mozconfig_use_enable dbus - - mozconfig_use_enable wifi necko-wifi - - mozconfig_use_enable geckodriver - - # enable JACK, bug 600002 - mozconfig_use_enable jack - - # Enable/Disable eme support - use eme-free && mozconfig_annotate '+eme-free' --disable-eme - - # Setup api key for location services and safebrowsing, https://bugzilla.mozilla.org/show_bug.cgi?id=1531176#c34 - echo -n "${_google_api_key}" > "${S}"/google-api-key - mozconfig_annotate '' --with-google-location-service-api-keyfile="${S}/google-api-key" - mozconfig_annotate '' --with-google-safebrowsing-api-keyfile="${S}/google-api-key" - - mozconfig_annotate '' --enable-extensions="${MEXTENSIONS}" - - # allow elfhack to work in combination with unstripped binaries - # when they would normally be larger than 2GiB. - append-ldflags "-Wl,--compress-debug-sections=zlib" - - if use clang ; then - # https://bugzilla.mozilla.org/show_bug.cgi?id=1482204 - # https://bugzilla.mozilla.org/show_bug.cgi?id=1483822 - # toolkit/moz.configure Elfhack section: target.cpu in ('arm', 'x86', 'x86_64') - local disable_elf_hack= - if use amd64 ; then - disable_elf_hack=yes - elif use x86 ; then - disable_elf_hack=yes - elif use arm ; then - disable_elf_hack=yes - fi - - if [[ -n ${disable_elf_hack} ]] ; then - mozconfig_annotate 'elf-hack is broken when using Clang' --disable-elf-hack - fi - fi - - echo "mk_add_options MOZ_OBJDIR=${BUILD_OBJ_DIR}" >> "${S}"/.mozconfig - echo "mk_add_options XARGS=/usr/bin/xargs" >> "${S}"/.mozconfig - - # Finalize and report settings - mozconfig_final - - mkdir -p "${S}"/third_party/rust/libloading/.deps - - # workaround for funky/broken upstream configure... - SHELL="${SHELL:-${EPREFIX}/bin/bash}" MOZ_NOSPAM=1 \ - ./mach configure || die -} - -src_compile() { - local _virtx= - if use pgo ; then - _virtx=virtx - - # Reset and cleanup environment variables used by GNOME/XDG - gnome2_environment_reset - - addpredict /root - fi - - GDK_BACKEND=x11 \ - MOZ_MAKE_FLAGS="${MAKEOPTS} -O" \ - SHELL="${SHELL:-${EPREFIX}/bin/bash}" \ - MOZ_NOSPAM=1 \ - ${_virtx} \ - ./mach build --verbose \ - || die -} - -src_install() { - cd "${BUILD_OBJ_DIR}" || die - - # Pax mark xpcshell for hardened support, only used for startupcache creation. - pax-mark m "${BUILD_OBJ_DIR}"/dist/bin/xpcshell - - # Add our default prefs for firefox - cp "${FILESDIR}"/gentoo-default-prefs.js-3 \ - "${BUILD_OBJ_DIR}/dist/bin/browser/defaults/preferences/all-gentoo.js" \ - || die - - # set dictionary path, to use system hunspell - echo "pref(\"spellchecker.dictionary_path\", \"${EPREFIX}/usr/share/myspell\");" \ - >>"${BUILD_OBJ_DIR}/dist/bin/browser/defaults/preferences/all-gentoo.js" || die - - # force the graphite pref if system-harfbuzz is enabled, since the pref cant disable it - if use system-harfbuzz ; then - echo "sticky_pref(\"gfx.font_rendering.graphite.enabled\",true);" \ - >>"${BUILD_OBJ_DIR}/dist/bin/browser/defaults/preferences/all-gentoo.js" || die - fi - - # force cairo as the canvas renderer on platforms without skia support - if [[ $(tc-endian) == "big" ]] ; then - echo "sticky_pref(\"gfx.canvas.azure.backends\",\"cairo\");" \ - >>"${BUILD_OBJ_DIR}/dist/bin/browser/defaults/preferences/all-gentoo.js" || die - echo "sticky_pref(\"gfx.content.azure.backends\",\"cairo\");" \ - >>"${BUILD_OBJ_DIR}/dist/bin/browser/defaults/preferences/all-gentoo.js" || die - fi - - # Augment this with hwaccel prefs - if use hwaccel ; then - cat "${FILESDIR}"/gentoo-hwaccel-prefs.js-1 >> \ - "${BUILD_OBJ_DIR}/dist/bin/browser/defaults/preferences/all-gentoo.js" \ - || die - fi - - echo "pref(\"extensions.autoDisableScopes\", 3);" >> \ - "${BUILD_OBJ_DIR}/dist/bin/browser/defaults/preferences/all-gentoo.js" \ - || die - - if ! use gmp-autoupdate ; then - local plugin - for plugin in "${GMP_PLUGIN_LIST[@]}" ; do - echo "pref(\"media.${plugin}.autoupdate\", false);" >> \ - "${BUILD_OBJ_DIR}/dist/bin/browser/defaults/preferences/all-gentoo.js" \ - || die - done - fi - - cd "${S}" - MOZ_MAKE_FLAGS="${MAKEOPTS}" SHELL="${SHELL:-${EPREFIX}/bin/bash}" MOZ_NOSPAM=1 \ - DESTDIR="${D}" ./mach install || die - - if use geckodriver ; then - cp "${BUILD_OBJ_DIR}"/dist/bin/geckodriver "${ED%/}"${MOZILLA_FIVE_HOME} || die - pax-mark m "${ED%/}"${MOZILLA_FIVE_HOME}/geckodriver - - dosym ${MOZILLA_FIVE_HOME}/geckodriver /usr/bin/geckodriver - fi - - # Install language packs - MOZEXTENSION_TARGET="distribution/extensions" MOZ_INSTALL_L10N_XPIFILE="1" mozlinguas_src_install - - local size sizes icon_path icon name - if use bindist ; then - sizes="16 32 48" - icon_path="${S}/browser/branding/aurora" - # Firefox's new rapid release cycle means no more codenames - # Let's just stick with this one... - icon="aurora" - name="Aurora" - - # Override preferences to set the MOZ_DEV_EDITION defaults, since we - # don't define MOZ_DEV_EDITION to avoid profile debaucles. - # (source: browser/app/profile/firefox.js) - cat >>"${BUILD_OBJ_DIR}/dist/bin/browser/defaults/preferences/all-gentoo.js" <=media-sound/apulse-0.1.12-r4" ; then - einfo "APULSE found - Generating library symlinks for sound support" - local lib - pushd "${ED}"${MOZILLA_FIVE_HOME} &>/dev/null || die - for lib in ../apulse/libpulse{.so{,.0},-simple.so{,.0}} ; do - # a quickpkg rolled by hand will grab symlinks as part of the package, - # so we need to avoid creating them if they already exist. - if [[ ! -L ${lib##*/} ]] ; then - ln -s "${lib}" ${lib##*/} || die - fi - done - popd &>/dev/null || die - fi -} - -pkg_postinst() { - xdg_desktop_database_update - xdg_icon_cache_update - - if ! use gmp-autoupdate ; then - elog "USE='-gmp-autoupdate' has disabled the following plugins from updating or" - elog "installing into new profiles:" - local plugin - for plugin in "${GMP_PLUGIN_LIST[@]}" ; do - elog "\t ${plugin}" - done - elog - fi - - if use pulseaudio && has_version ">=media-sound/apulse-0.1.12-r4" ; then - elog "Apulse was detected at merge time on this system and so it will always be" - elog "used for sound. If you wish to use pulseaudio instead please unmerge" - elog "media-sound/apulse." - elog - fi - - local show_doh_information show_normandy_information - - if [[ -z "${REPLACING_VERSIONS}" ]] ; then - # New install; Tell user that DoH is disabled by default - show_doh_information=yes - show_normandy_information=yes - else - local replacing_version - for replacing_version in ${REPLACING_VERSIONS} ; do - if ver_test "${replacing_version}" -lt 70 ; then - # Tell user only once about our DoH default - show_doh_information=yes - fi - - if ver_test "${replacing_version}" -lt 74.0-r2 ; then - # Tell user only once about our Normandy default - show_normandy_information=yes - fi - done - fi - - if [[ -n "${show_doh_information}" ]] ; then - elog - elog "Note regarding Trusted Recursive Resolver aka DNS-over-HTTPS (DoH):" - elog "Due to privacy concerns (encrypting DNS might be a good thing, sending all" - elog "DNS traffic to Cloudflare by default is not a good idea and applications" - elog "should respect OS configured settings), \"network.trr.mode\" was set to 5" - elog "(\"Off by choice\") by default." - elog "You can enable DNS-over-HTTPS in ${PN^}'s preferences." - fi - - # bug 713782 - if [[ -n "${show_normandy_information}" ]] ; then - elog - elog "Upstream operates a service named Normandy which allows Mozilla to" - elog "push changes for default settings or even install new add-ons remotely." - elog "While this can be useful to address problems like 'Armagadd-on 2.0' or" - elog "revert previous decisions to disable TLS 1.0/1.1, privacy and security" - elog "concerns prevail, which is why we have switched off the use of this" - elog "service by default." - elog - elog "To re-enable this service set" - elog - elog " app.normandy.enabled=true" - elog - elog "in about:config." - fi -} - -pkg_postrm() { - xdg_desktop_database_update - xdg_icon_cache_update -} -- cgit v1.2.3-65-gdbad