From 49193b7dd7452c02d9cc30f1e400c933451e6355 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 7 May 2021 01:47:10 +0100 Subject: www-client/firefox : import from Gentoo, compile with clang-12 --- www-client/firefox/Manifest | 98 ++ .../firefox/files/disable-auto-update.policy.json | 5 + www-client/firefox/files/distribution.ini | 42 + www-client/firefox/files/firefox-wayland.sh | 7 + www-client/firefox/files/firefox-x11.sh | 7 + www-client/firefox/files/firefox.sh | 128 +++ www-client/firefox/files/gentoo-default-prefs.js | 12 + www-client/firefox/files/gentoo-hwaccel-prefs.js | 3 + www-client/firefox/files/icon/firefox-r2.desktop | 236 ++++ www-client/firefox/files/icon/firefox-symbolic.svg | 64 ++ www-client/firefox/firefox-88.0.1-r10.ebuild | 1172 ++++++++++++++++++++ 11 files changed, 1774 insertions(+) create mode 100644 www-client/firefox/Manifest create mode 100644 www-client/firefox/files/disable-auto-update.policy.json create mode 100644 www-client/firefox/files/distribution.ini create mode 100644 www-client/firefox/files/firefox-wayland.sh create mode 100644 www-client/firefox/files/firefox-x11.sh create mode 100644 www-client/firefox/files/firefox.sh create mode 100644 www-client/firefox/files/gentoo-default-prefs.js create mode 100644 www-client/firefox/files/gentoo-hwaccel-prefs.js create mode 100644 www-client/firefox/files/icon/firefox-r2.desktop create mode 100644 www-client/firefox/files/icon/firefox-symbolic.svg create mode 100644 www-client/firefox/firefox-88.0.1-r10.ebuild (limited to 'www-client/firefox') diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest new file mode 100644 index 00000000..89382ef0 --- /dev/null +++ b/www-client/firefox/Manifest @@ -0,0 +1,98 @@ +DIST firefox-88-patches-03.tar.xz 38572 BLAKE2B e6d68129ac731898a78d015f8f44bace45a403ab5b06376b3cde9f06285858a1e901e0ef8c079c9473e0fc3c5e3fb5632873eddbb6a49bb673da445aceec51cf SHA512 5492d7fea03321887a328b024e1b7b0a2bf5d70d3c82d4215052ca0d4f0d59a916bb8be92d0056efa1f046c3e14deb986ac7a0a2873e14d4d6c3376059330c02 +DIST firefox-88.0.1-ach.xpi 466413 BLAKE2B cd7a1259e6f3ea39f0cde6d6beb8786295940920e9af5c20fb806a6d80511d714a8074004e6d26dc7ac08ce0df34a63508f91dbb91c787ddfe7335af8219f218 SHA512 2913040f9c40c5baad160fdc3493422e90d355931cdc9e06eae054c59ea347489a54bc848fd635e59806f01bca63a82e9c609259c6122bcded790ed341a10baf +DIST firefox-88.0.1-af.xpi 430683 BLAKE2B 835347e89d33da6c851c90d507ade8321b56da00a77f115804b9de9e6fdccfc867e103e1f97f42814809a41ddf8b5e76472080815a9f53f5b25f7f10631ca94c SHA512 d6a62347b7826fbe7305915c6e2b0ef1c984fc06ba614a17b341e18c0146061b647821252e2aaace33eb389a28bd59a3e98d2f7e902424aaa3c1c87075cbe479 +DIST firefox-88.0.1-an.xpi 514150 BLAKE2B 40468628020cbf40810ebd521188f8eeef849ce3204330e47bdc43019493caba23d0fa5033e89ee66d9e6e01d0680491ff9a163a391b1db8460bd5aecb655edf SHA512 8b73c11f96de06608db99e0e81adf739bb6c8bd4b468c7d65da3ec64d8e983969f4cf13c1011572a53f847ba9a0e1bed9c73b3ca914ee3b486b5da3d19078946 +DIST firefox-88.0.1-ar.xpi 577343 BLAKE2B 1c822dde42aa08e176eeb8ea1580f5712c4d469666492c519fcbc921d433e6aa7a769d5d5f859a774800c56219b72800352ccc58d75ae64a7ef1e031a3649cd1 SHA512 0627f34aca72a4f334d8c41f1ef10018e550b4325d4e1f46fdc179a9de43ad55e3b3527d2cb84ef5a1f33152b5902971bdaa34c91b912c31067597e6edc33c74 +DIST firefox-88.0.1-ast.xpi 497104 BLAKE2B f5c6160d1bb888a78b20dc6107cfc7f10d362d5005ba097320c394ae7f37b888f8f348a7b1339df3242517b4bb78a434d1b5dbfef6203ccfb3de38924f13476b SHA512 666315e508eaa197a97d3e28c0694034ed58abb11d5db5391d490e279fc317ba787769b7c4953ca3a5c35db6b46ee51d91566e3d9b1e42c33f8f6fbc9e46b989 +DIST firefox-88.0.1-az.xpi 502504 BLAKE2B 6a5f7b76c3f369b390b81f8db39d7a73dc17b63ecc3399d23a29123844992e66c8b7db7dfd7c273dc9503e63265d089425ce77f4aa713112085c639da230e2f2 SHA512 043dba85ee538c78f5e2c644747a981a7ce923431e976f1d123534c0480e730abb872a11098db196a3873ab15b4b171b418c8fd0a9527b1c7c1292563215ea42 +DIST firefox-88.0.1-be.xpi 625941 BLAKE2B a75a4c43c3bf5e571fdefaa8cf30533083eef4bde0314c0459e158cdfd6d97cc6b6afee692b2932dc26fb87df84769d251211ae4a6322208069df5a0c364510a SHA512 e9bf675f6bf65cfaa4998f3246ff492ab106868c4a60d548ca1e16a54ff34babe802dc6a612d72eb7da63d3d68317cf5fcb34dd9f7b7373d33c5bd5c9d587564 +DIST firefox-88.0.1-bg.xpi 570445 BLAKE2B 97c36df335ee909cb3cbb3e8364dbe41dff988af3a4fef4c27024421403fe62ad61b33b2ce0f8f7dc863e4d578e2a8e279c03238c1256a56de45a0406c9aae2d SHA512 983a6e31db604abb6b3390b1ae18b0f9fd32b4ac0a0058e5198349676873076e75ad90edf104d767e15fddd079a926fb62f28e0f8210c15b1c236041a36c18bf +DIST firefox-88.0.1-bn.xpi 578196 BLAKE2B a2087cbc1ec01e375d0f99f1e72cec7ff9ad4e0b90a568c901f24722e13fa4e32b801074aa2a8bb364ff429d8ae9e50396aee70ec66ea0a6c0820d7caee5d90c SHA512 25c7278f1b77208b14d559656f0b95abf93e9ec075bc92bfe76b01b230613d53d705d70371a4ee152d11c78cb85328c1fa462d9e6cdba915e9a40f80a391ebf4 +DIST firefox-88.0.1-br.xpi 520138 BLAKE2B b5cb76d7fa9746144e990a5ba6c70b1c566aced949d44b63fe2d739687b9de3e10bf0d5d06473f734734e8e043fa53fb6606a9b62b42cbcd0f13e1fa23d67b56 SHA512 bba02e765189334852a08dc465aec5f2f6aa8fae17efbb14d465ab6e5da6529cec1e734c604f3926d0e07947ab7bfcc5697463ba7f242b5a13de5ad2764c92a9 +DIST firefox-88.0.1-bs.xpi 471195 BLAKE2B 7f7aff1764339139a2a7ead1698be6edd66b66c228afa4ebfe947d0061494568806f673522bb23ff8571d47c76bfd3c26b76077b57cd79af2881d2ade8da208b SHA512 c0771347a88a4201414ad27c1ac9d9417c1c37d954cf6ad6099d28c0248213ff7900b7d35f675613a55da55d1682cb8bb776fa3de7ee35ceeafb0abea5754c94 +DIST firefox-88.0.1-ca-valencia.xpi 530879 BLAKE2B 171b10f72a6ddec0e2baf824c326773bd1eba7c72f7d75d806f145d71a3bdb8b9ad9db19387db10cb4f5c58794987d3a5b79c8b170a3549d26cda26a84da7ff6 SHA512 408dfdd0f0a9024a90e472ac2334d25b700fdbaed7f604973745c9cce782a6577e464009a14c07fac51a31ef4f1865ebb2d2461d344307fffc30d094b294e5fc +DIST firefox-88.0.1-ca.xpi 539383 BLAKE2B 4aab1949ac6620967b00c0309cf7ae6e3a2d1633377ffcbacfdca57c78c29b654c130a4faf393251a30c0a0d214d231dc070f9a2a5b716faa729780c05fd8dcd SHA512 27dc23bf25019f5ffffccb78cd2f92ddf2a41265bd02030aa3ce2d02802dba75dc8f376f253d8876e5d2ac971800ecd8e43e855ab3a981c29f947e135e0fdcc5 +DIST firefox-88.0.1-cak.xpi 565776 BLAKE2B 7e55a03ce35526be4eb5bf807c0fb3969623833d6229b4a3a6641eef48628b48dbc8bb69ccb65dececd1d19fe877a436a249e64b7296d8ebe51d34de935cf128 SHA512 4e7da4479fdfa2d424f5863e48512b8e493ac602c4fd299dce1a358d93c21b6551af17f00ac2dfa1c7c6c40683f69cefdfa4da4cc2a316669df0c8a2fd36c3fa +DIST firefox-88.0.1-cs.xpi 568035 BLAKE2B bdb35f5c06b8ffc2684bac1bc05e3d8f2575859adaa2f08604f46f0c61dd661d3f4df507e6f3fdac3543d4c720e365ee7ce6d970790b13ecacffab13945eeceb SHA512 e879e3176536d20221cdc27d308dd4406985f0de8d5dcf893eb6a1a4fed248a06fda161866e663ce84deedc59316047633711c322687048e320084cd1cad1d40 +DIST firefox-88.0.1-cy.xpi 545912 BLAKE2B 061a1fda31313a83074050a85839bdcd9606cbd4f4558d65712c7ae4ca56b0722e443063d7f974d3944a74b9d7f02537a96ac7c3577b14cbeda6e994d61f558b SHA512 fbfd5d7b2abaf600499fc344393a570646dadab3da78977b06202fc9ffcf9bf65779e48a7bbe878826fc18c9c79cd3edb325c7ffd8054c16c3fe4c536de3ea2c +DIST firefox-88.0.1-da.xpi 539207 BLAKE2B 823e3de1be5daa3cda0b061de016d23acbbed9ba9f87d87ad8f88844dd3593061cabacf09d67ed84a3a744973abb264ed3815438e66cac3ebc249738bef15f9e SHA512 58e52bbe7870aad6d9e54ddcb2a16fe13697d77b8ef3794dfd74affbb82b5265ae1553e02f700fdfdfb5138b86712c6f14f48531b6591c1015f4722bfac04141 +DIST firefox-88.0.1-de.xpi 557922 BLAKE2B 30f225ade5eca76ce6b0be2676359aeaf7874de7c19da3aef13dcdd0eeaf536966ee11fa6a029d83b3329ab1ee11d26f4edb9ca2fdaf6c0afa5290ddd1b5d148 SHA512 3d274808f554f22319264aab8154add3ba9aad3dea398508a0112703076d11b12d939647e1cb3ca4c4c59ed0e16cef8fa0e25d320d4bbbd629540fb73e83c60b +DIST firefox-88.0.1-dsb.xpi 571059 BLAKE2B ccf5df2212735fab1eb35d7476d792dac8d5eb7ee8a1245346117d2c6a05574ad53e23c8d1dbb919dcb2ae995e4c3bd0380fe6105bc01725289ff28a814936ce SHA512 79ac727874a9944f111e9e2383d6fa1c67d4fa0a3cee2575a8d2ed37c8a1a2db2c1d320ac78a59405373ca473053ad77246fd7c8e1d6f0da00263bad50a921b4 +DIST firefox-88.0.1-el.xpi 644741 BLAKE2B 3bb2e33e1b40998564d90435a526d56a93dcd64092aef90492e864659c59abfde51f0c3714b9aae9c063fbd64473712a465b3e238bb49665468c581abaad64fc SHA512 f3099120603a7c38347577b7fe2023d43d0e2c74688609c8b09198914ddcba6214b5f69336596aac3071845dd51fbe4be34b56368bd5b1e8385a1e3f861abfd3 +DIST firefox-88.0.1-en-CA.xpi 514532 BLAKE2B 3eb16287d4fd2ff504dd22599bf6af6b1d6edeb16b8e1d192e235026c3395e891763d951e4b3d3cbcc0810626ed2ce7c701ea4b6a0b4334c173380a6ac930e2a SHA512 797ecf6ba0b7096446105c777f2fbe2c08175dfe506180e38e6fe59cadbddcea65251ceacda253e1bd901af6e4d11788981dca472ed7b6b41da3bbedcc6c5ca1 +DIST firefox-88.0.1-en-GB.xpi 514842 BLAKE2B aeaac53461b1c44be6df9882e0bd9851a5ccada06fce260ef5b7769b916ce9e05a82a6b536e01e118f99fde06bf675c09c6ffaca8ca578d8e2df25c7e76b7667 SHA512 9fa19b1e63f606dc35668e28c9baa0fabfbd32a8df5bf6a670b1cbb8a4efe62c872df22728ee875da9b3710cd897fbb4ce271fd8c2b96b83b31ca88e99551aee +DIST firefox-88.0.1-eo.xpi 541258 BLAKE2B d55877bc999c60a745be04015b1adc7d2473eb6c99ac3b74fe932ab57f2ac21000fd551d804054670492cf5a78c1d354b458d937f0a0b97bacaaabd1ffc0f195 SHA512 bd7fbb2b4e8c919ba0c758cf06fafd12565560a081861cc5df2e42cd2211aa50249ef94c114bbb51ec3a1d83807b7bf0a11d23f1d2a4fbcd0874ccd888549ce2 +DIST firefox-88.0.1-es-AR.xpi 551106 BLAKE2B f273d51bbeeb7fd7bef260dccc94718eb357b3bc9354016fd57f47696c228d98fb18d7def20b5ee26f6b060bab3407d3fbd4da3723dc2f9111a543d55776acfb SHA512 9eb9788a66ef3eac4d9605d12dd81ce18231dc491f4b832b9c442c5ccd71b1e0b01af6f2828a52009a8c309e08e53aebc68c239c59b3a5d1aca10688340378e6 +DIST firefox-88.0.1-es-CL.xpi 550759 BLAKE2B b45fa663318a58c52711719a6194206891fc17de4f7ccffca2f4e6b82ae1f1ecd03d71627e3bdb319611f3a2f5b80fe17813afabc940b113330249925e314b53 SHA512 04cbfc422c48a300ccc6b69aad4707877689295086919d2f13ac71031d1f2241dcfa25415b7899dc767925a3100f264da2bf13e62b2b1227b26d9bdfa82d9417 +DIST firefox-88.0.1-es-ES.xpi 541151 BLAKE2B 88e541f5326670fe009e526430cdf576bfc38db9eaea1b6143c16b1af783a4f4aba03d5a7d10b26c15e5de89efe392db5a1122ccc9892bf930a8d70314dced21 SHA512 9ea67bad2bb4306cfd46286902988c407cafbeb4445acb2cc6ec6be9a8270d3a0fa8a5f6f8ea50028e41f8ff0d7c4022b9dc0ded14ebff0a72421793929194f3 +DIST firefox-88.0.1-es-MX.xpi 544406 BLAKE2B 93a7bdf51de0b3239c4b08a8bfb72296f157aece153c863d8edf412aefe0469047764e900d1c339a879e52bd220f9ff930a2108598d54dae0b3e9c0a1b69bfbc SHA512 da27143bc2d5e8902594f96637c37fed754ad85582190686388cc5447f1ba8a08fbd1bfa3061a931cd83ee3ba557e6e725acb3e35bc8b7dce90f70efb696863a +DIST firefox-88.0.1-et.xpi 495383 BLAKE2B 733f93b03fa90b15afc61a66708bb490d667025f788f1ea01e14a43dcfd4bded03d2fb1f9da5b40815892744260d20b9c1f6f1d9aa472b5f29fc3edf4da66e74 SHA512 11987ba74d6b961962d612eb9070204002809f105073684f9c381d4f1771c5a94b5037e9d76fae7e8370cb11a0c3ba3ed363791c9dc40e8ae6c46b8970b3724a +DIST firefox-88.0.1-eu.xpi 529571 BLAKE2B 6da4bf420eb6fa06ae688323802487015c35c743847e2ed6a081b31bb4e35869383dc5e3b1b1ebeb79c8f3750c0e4fa3148865c7a14db3f1faa2e3ae254f2a7f SHA512 16d5012118aa3fe8155cf007c8a75e2ad8999f09e670e91410a2c00f6a6a30320eb14fbff86d0a9b1a07b3683cd9982586ae4be70a5b5241ef372305df3d7a6a +DIST firefox-88.0.1-fa.xpi 558244 BLAKE2B a6c560b86989cbc165ef213c5c45b0a3cbfb97f8fa9af1f77a424ad8560fd5ed903ac42fd12fb7d11962abddfba7a5d0c0714e50f5d4aeb6c966f6a8a9333cac SHA512 c23ab47871d9576ea93e369a2cb47e926c6c9a0948d4a6c56f273618a080432dd7a53ae7e620ff069305387179073c38b53041a7105776ffb1dbbbe0310f0cda +DIST firefox-88.0.1-ff.xpi 487081 BLAKE2B c7fb2b2f3ec012f60d14d5bad97f7f71da4a58b8a81c4770b8b139b859eca26ba9fe1b3d6d0427d9f9bb1d884ce2b24c8d22171fb2fbf41b39e7880ae1e02ffb SHA512 52760ca8256256e6ceec25e3bccd56e399736be76061890487a1490a6a7bee70bf79121a70e2ef67b6535a9030c09e0ec48bef5c58f26de20f578cc8ce7e4b88 +DIST firefox-88.0.1-fi.xpi 535881 BLAKE2B 0cab1e9e852adb209ce4873a05d08a440bf8993a4938146a94677c145a67ea5bed7f870f988b7f84650193840c744f0bc9fca0a68ad587dd4dc35725a59801b9 SHA512 6e45b5e7ef0ebfe0307e87b84d68b4d034d0f764af65fc7a92e63da6a7a1e0debd1f4878fd5acf55ac434e257c0f007c1b9ef0497d30fd73a940ae8951b33098 +DIST firefox-88.0.1-fr.xpi 562823 BLAKE2B 3330957dbdff577da87bfbcc6596a7642522d91983bb43815b44f22c2725a1f7cdd2c551d39ac49d44608488486349c17da91c4d13a298839743d463742fbf9d SHA512 1eae56d103fc643db3f823c18e9a750c1e33765117a6b26432073fa36b17fdcb211ddd16211233de83d2c11fb07ff7db53881ce95d9d5b4c9f7a4428a1598400 +DIST firefox-88.0.1-fy-NL.xpi 547932 BLAKE2B 43e339863340368d73c525ed8f7029bb77c822ae97ed856283573b4abd96f0a572a37d0918637fc5c69e9a6604fd715d3f8ce33598113277b7397da39a307f8e SHA512 13a20062dfeeb2fe23832083706ce85749aa013abe1162d7266a8415bccf2924598a3a7a14a1206c26413304984bff6a6e747cc4a160b0dd74e00c860e8e49cb +DIST firefox-88.0.1-ga-IE.xpi 472045 BLAKE2B 6703f18e0e9374f3c98cd32ffd0ceedefa159acd99ef59084200755f5fe3fa5352a42e890970769b51f95cbb628d3da51e74c68ed7cadbf727ed10898e2bae63 SHA512 5baa94c929c26a110aa200004a89fa4fd07f3c90b24b5f20d53c8750f9156e29e9d052f0b32be41fcabfeb010b72cd0d218e44d80acd9ed801054c79c38ae218 +DIST firefox-88.0.1-gd.xpi 500192 BLAKE2B 313688b85e7294ef71287b7d453b2f689e4c9e749e4970c6e9a06906587d55371ba108bddbd97979093baed5abb6d75578457f44b1d6c21fdc1b81c2452ed0b1 SHA512 b3278e0e2c6a9aa81c12e3a6ce3b6ba346913175c24cf7de7078cb2c4f4243f814d93abe8969f6c28ca5fe44bb0c7073cf661e1a79f4c5a27ec42edb54ec38ee +DIST firefox-88.0.1-gl.xpi 545150 BLAKE2B 5e180a3a918783ec4d52466a6105abf1cd80c24c52e113ea4f01c61ce80b087cd4157691aa9b521254423d847c0e2908998650428a9e2031f1012ca6d712d3d7 SHA512 9209b95ab8381ea44322a4607e81398ba5215fd33a403338491ce69b697df341447566efef7d1d19d51b5913513e3d0aea5991599176c17867b40b8acd2f31d8 +DIST firefox-88.0.1-gn.xpi 562577 BLAKE2B 41fbdbfc7628c4ff5864fdd0ad325fdaa7321d1f63de9c1221c99ff6050a9e512ea7bee40b7268f52708ef3f6959c9b11113d2edcf7a2ddfcff224a3e3d09b06 SHA512 ab6559d892bed1458ebaf63ea26db35c081ffb18b17f9f6ae555f813755a88a4b1f79a8f8677007acfe7b8c618796566eb657f280a4c2d9b74fbbfd07f8c5e9c +DIST firefox-88.0.1-gu-IN.xpi 546308 BLAKE2B 0f8451364e2dfbdd79486fc53b30a9d000f3a50609bb944c9996ffb523b7c47032d4987f45bf2d71cbb036a977501977c74b5d811b71bfa82a515a4260779a62 SHA512 94ed9180d26e39bb3ca92aa7764d15ff7322ec78669ffd0ee97649da8765132ef2e3a76059c893519f221add9db62717dcc43b6f99bbf0fb1a03e5eafb740b4e +DIST firefox-88.0.1-he.xpi 561750 BLAKE2B 8f45518de20cde4c8e52428be4cdf114bce61b06a7aa79202cc6324288316bdfc6cb3d8a91740af3fbc7cdf2d66c423c2e6f203c11f077bc078874a734799b76 SHA512 0226b3540eb0617a301fd390556bc7cee147dff3effa77d82575225215b1ba08fdd9909b6b94e4d0d6b8fdfc170bcdd0fef36da6d87ac394c9fd3ac0cafc203a +DIST firefox-88.0.1-hi-IN.xpi 577986 BLAKE2B 69759cd665aff789a75b486b978091aa2315218a09c2556359143b71b084e5af0b751e9309e9781bb692aa948c73e72dea95962511c7ad6d44cdffc0f5c6964c SHA512 38d4bccee6ae88207d92b0c0b7015304af9c75b4a0294655bbda675f9df071101fe30374886ce4fa7190059eefd7f212962abf7485d345fa13a421ad05feea8c +DIST firefox-88.0.1-hr.xpi 542106 BLAKE2B 75032637fe17df4da6f7f7bd0ac400ffed625cd4830e7f06928357786533d0e3dc288a8f516c69ed9ab875c5adb014fc3cd9a8049640bb9dffe13b609ceda5d9 SHA512 e1f1b940ed7d6cd809ab769f919b964aa650664bf897ae61ddc4c193ac7497cc937020f67e12e8a0c3f88af50129e35b7cc57c4c477c3b5b9711ec6fe3f08232 +DIST firefox-88.0.1-hsb.xpi 566436 BLAKE2B d6d6ed4b0006b4bee6169e2f0d4a99d4ebe6a6a652f2e169180247591ddd0d6129dd597ea085a50b2b5746059283f930cf4b49b52e190dde16a126574caadb9f SHA512 10ccd99f019efac4629b2b74c935340dccaf297a450ce20582368a7ddaa518262eab16b17409145965b92499e6c36306e4875765a964e470b9cbafb966461162 +DIST firefox-88.0.1-hu.xpi 570096 BLAKE2B 12bbb630dfcd58204e6b34e2681087a580e9dd81e463fbe6cd89d537d53ec089063029f5fc5d6c87808b53906569d8bd99ae1641062e562a28f6a5179f161538 SHA512 5fb4895086c99a915a3073543ad26262745248c1bd8bb160f4e1d80705440d30f9d62420f376ce77725d4ac8c0c8aabfc8f30d18b4ba1004e7eab9c7eafda7c3 +DIST firefox-88.0.1-hy-AM.xpi 596018 BLAKE2B bb1f9e3f49fff0ac19261a120bbd79300a6fcd367aecd4b050324130662200ecce8aec52f521ac7796c37b8c62bfe2acc18b282018a8ba0cf91ee448ecd76994 SHA512 6aa59f9f03ebda5750b5ee1a70dc2965f22ac0900f6c2d83a02303be548142d0b84bef4ed9ce5d719a0f6ce6eaab64965b5aa3b501b40ed223875322e2a397c5 +DIST firefox-88.0.1-ia.xpi 535787 BLAKE2B d38d8d98bf9f587128c838a8cd75b9c0c75637005b1423be2d3aa886d832cf93af38369553f7ed821d4dea03b460eeb2350353ec007cbaee242a483125d36b32 SHA512 4cef3e5c15e1e9767d03148b4b2bd672b3c63c435972cfc3e1ea0607f969b58963cf43bc9a427b1564ac44e3e7340a7a0f088f48ea71f8f5dad9099a3c765f97 +DIST firefox-88.0.1-id.xpi 530582 BLAKE2B b16ff02dd3860f1e0b47caa615b6217df0bd9e6616a68513173be88158f0cdb39003fa43c8b5c419295bb83f2a15c45dfdbe3cd263e21795ae963b163a8ac1cd SHA512 2a4d10c38a78d2d11b436999378c3850faaf39d3219acf0796e6b37fbdb0bb2c3d2268d7e6a1732589526fd3f97fc5fccdaacb692843edd6e1d6027970af9274 +DIST firefox-88.0.1-is.xpi 482597 BLAKE2B 6d5cb2d8c6c021779a20a41fa165674f03520b8280f5a8ece3e6f74d55c55d65923d7b7709c90c93f6894bc16ce1d305dcc34487e4cd652c6d0fed804c287315 SHA512 273e99b94731363bc654b385b836929899162edbf2f8a3940f4691aa00c72ffaa7aeb4e74daf7b619c67b0b84919d597c55a30150b18d35439f42b526731a456 +DIST firefox-88.0.1-it.xpi 465215 BLAKE2B 0abd4bd62d7d4f3216849849b036afd641e1c8a8fea4974dd7c513a6a6ca32790deef096f26f0cf274532822dbe18e580e057b5438c1570ab8da9eba32509dde SHA512 ebee0e89093db23f06808161d0937efcc25a9677fcac183eefb151a306f7775fc6501d07ea98cd222ff9bdf2dfa8c75b29a38cec0edca85e9218e4959f288ba5 +DIST firefox-88.0.1-ja.xpi 595890 BLAKE2B 21f0ebda220242563522076fdff5dca6c1b206907542546d3f03713354cebcc372ea98e464eaaac85fdc8b8bbc973b3993a1e540a7a9ab44169f4cd8b7edc6b5 SHA512 15e7884f9fb2e5c88d8442bcabac3036a877320aea77b34be341d9069b98e11781cb253ded445465695959bdd5572531c3a76e37fffe5003b673b7a020d8765b +DIST firefox-88.0.1-ka.xpi 597385 BLAKE2B 840a0f0d850fe40285d8360eb4277726747494a0a874c24a66d904399e954b8b4c932d842d075bdeb90d2b0975d269101127af81663ec0cbfe8c780947ff1395 SHA512 51ad3325f30a0f5dc1c9bf8e5fd5071a6f7cb50cd9add43f63eac1dc2c7c4404adc4f3da3abedb18a34decf10672a23403b2a39e32b6580f62b65f443f1f5ea5 +DIST firefox-88.0.1-kab.xpi 555975 BLAKE2B 14cd30d3a17d7d760df55cefa3aaa8d73f1ecdfac935b7ceef968ed375b182cdf05ea4754fe726423dcacc6d8c66417321cbc9ca9968062d1d5a4c1462ffac31 SHA512 830dacd68c8e94eddb1fadc8e0467b410574a50de0c713a4fcab9405712d94e5d79d77025b1ec4b66feb9d2f79d9f96ac5f552767372fcaff16c70a8fff56126 +DIST firefox-88.0.1-kk.xpi 615085 BLAKE2B e92f12e7c6961e98660747163671190847cd9423380a1a113f7a6ba82453595180a813cb0fc4038134a3063a47a8bda79e7ffecb88901dfa083c4aa6c2ee28c3 SHA512 070fb7626896f109c73c5616384ad0cc60e5ee9a1debe848cec7eb1c2c00d50d1a76fcb43cde38a784bfc4075153795d9fef0a91a92e57acff487a3f58978158 +DIST firefox-88.0.1-km.xpi 540192 BLAKE2B d795897027cc40e6786abccc041275e22a3b505c4c468143e7437f64f61fd22daa7444df9400ac0a88dcda0e0ac16fd7f09813fda24bfa7e264e5a1ea9d11e8a SHA512 1fa0c40b89269e260ae0ff187aec0630252a85b81aa4a7e43d62fef260dd77aa063497cc585bfdb3c6dc01a6b9cdfb00981afeb1f923c10bd033dd457e845173 +DIST firefox-88.0.1-kn.xpi 509550 BLAKE2B 8d538ad531f75840c23d19c11606dab743c291b2120174c2ed3f9a8fd678ac5d5c92e639d9136bc277fc633da21ba38c8c03be0a9fb4a7e8176b768e8f3ca18b SHA512 d0da60358b91f1021560c72048be69166e8c8408a7f234e43c7fb7291c09607de5aed13ac930c0b597e1e436d6675f46150b623d4adae5b874af9f668e774b4b +DIST firefox-88.0.1-ko.xpi 581945 BLAKE2B efee3cfee71d5c15e31e5a4cf9ecdd05bb93e7e50678bf4bc041c2538a1741d8a96c68feaa7984396ad15f64cb141ce536ca5c5babe1983e8d1f7f738171ea8c SHA512 0703ee894c7a2f9d1bc9c21fd7f5f34e929769e3102641be74f8bcfe26745d3a3808cfa8af72716c2dd3fc4cf76e64192110e657547c52036483ebcdf7e6c1d3 +DIST firefox-88.0.1-lij.xpi 481058 BLAKE2B ad1ba21546c31f17d5fb5993ac19f53407d2575a0a5deb1ddf74df48275509202631265826958a2161c7ec35d15b08daaf1f75b248d104a81306635c775d084f SHA512 c7e6b0abc69b2fc22b933831d0b2d4fd554605d27add84c99beef9a22ba32dcce1bccea88a8c11b093eeb90c9e0acd35afe3db87992981f957603b5bd903688a +DIST firefox-88.0.1-lt.xpi 565817 BLAKE2B a4a27428cfb3d5216b828ce9a1e8beec440f87cf267c40ceed3c64a475645a1b6f1efc766c84fe93f9350e696dbbc008161857f85fdb666642012944fc711696 SHA512 a2d26e7cfcf6cafe9310e24e9672aac3b4bd9e3ea143118e593524b1a7953ad5b5dc1835d84797acdb4e4770c8b8a213681ed58a2b7b98cb154d1f1c55a04865 +DIST firefox-88.0.1-lv.xpi 474639 BLAKE2B 49a7378cdfd903c3b4df9e9815e518921f30eca2fb3ff68f6ec28aa7003b0b24014a5ea5302569aa720cd3f7f0bb48b5ac15f4d45adfcddf8611b70288bc68a8 SHA512 706da814f6c1ac5d94b5afb6084b0f02916e1cceea7a132af3ec8aba04e51b8ee8528facc73b75d124dea9f4c23062543c338b91867719b7bc83e2a5cbbad234 +DIST firefox-88.0.1-mk.xpi 460662 BLAKE2B 4295db6ce658571a2144e6c60f7b80aad70f0a232eba3eb4f3870c0a48c7129656a97aede52403cd3a5d1736472b84c556720989405e05f2b13dec3713de1c9e SHA512 2a921ad11793d792469644be97c86205efd61807221c8e71ed04381b252f817b738444cb0755fa0cf9661d6c85515f20ff279d94b06687f8a06514e770606acb +DIST firefox-88.0.1-mr.xpi 546379 BLAKE2B 98bc0fdc7613db49519e3828604aef4327b4e6942998117b62cf6b0d1440fc32336efd607396b2f3ba41a40737908b199587bcfe8078b3697d0fd48f32ca1d60 SHA512 67e042adca7ab332a14c6cdb988cceb155f42ddf31fa306b011f988250d9e6285cd5a4e79a437e9abec467699ac2e5890d339b3a57c6c524c74736e0dcd1ddbd +DIST firefox-88.0.1-ms.xpi 458299 BLAKE2B 25814e3a9994401d50b926ef8e1d383df584a81c885399ba8fd85da545c917371495c215c44e7036fd4cf7da796e0203d08746c5b9631d17e5d6016aab5ee050 SHA512 af04018e0eb6f606ab7bfcdda850eeba5a74e2eebe4bdc8dc18294b424731ea06e471c0e0967cc4a93bc0a47b59d2910cf76d6fd59b386ad46f6700fdbd4c4a4 +DIST firefox-88.0.1-my.xpi 530054 BLAKE2B dbb0912b9cba82c09fd85fe86e7a493150fa3c07422a8a4ac7bcbdd2363352942f3d94a2b71160fd5ab490d613e0cf270888c8d93164a97c26db7dd40a7bf4cc SHA512 cdfd1090cfd132126f94ba90cef038d8296bd9e7a187f92ac12bde1c6bd8dc02bd65b8c4bfde2d8b5811fed87682e41fffecf670141e4241f63c5b2b9441fdb0 +DIST firefox-88.0.1-nb-NO.xpi 533691 BLAKE2B d8551e258c132ba97fcd2ef3de2fb8edce82ac1b18dd69740454f3ea681ef67b21131e56dc921a6036c3916709044d395dcc25d06f171fddec415b59777815d2 SHA512 d3b9b0b3f33ae050dc505b2e0644db88aaf1d1d0e9049ac3919f63885c5124fd094539f1d5b50051c370e0e8f9dd4a03a7537c6cb94538a1ec586d5c9e440d2a +DIST firefox-88.0.1-ne-NP.xpi 487102 BLAKE2B 78390f3b24450d1a390679cab0f8ee2c4ad8afe17807f110eb3714f943fe908e6bf717bb8a5b50764dba7993e662a85e55d174c5a38b4ed0175a7271235870ff SHA512 cdfe300b3245100c16711ece72258ecb1eb9220bdb8d9196d30ac377164a27d9cd48b4f7c2f867a3fc0271c4a2a0186769ee3a6f095a9c5130c9a1fd06a4a128 +DIST firefox-88.0.1-nl.xpi 541718 BLAKE2B a5130917801aab8c3e1f231916d7e18f4018a326b1c277364a6a06fb58abbb1e5b83573daca5d6140e4ecba3465dc44a94c5f5d6ed56664753b7d428179fa3f5 SHA512 d8031ae18ffeb69ad7233aab77125f99d1a63edf92ea6e1a3b9a6dbdb61fd73d3330db41194d78bc632cd64036ae80fc9d0450fb83755ad3673b46b115dd1e6e +DIST firefox-88.0.1-nn-NO.xpi 536545 BLAKE2B 97dce063d57ff1399ba1aa8c26fd03f6925482f710ada195ccf3fd1af57f3aaec76360b91a76e094272b4707dacc852d3319a6bad5e0419784f4fad4fe7bb8f8 SHA512 8b3776d75e5a0eb033b8db4963d97969515a1eed3dd7094e9506d2e3e44ddbd3289db1bd0a04a52c1b54204bbe1689f7082b87dadbe9ef41a63a86037e3ed007 +DIST firefox-88.0.1-oc.xpi 557514 BLAKE2B 1b93ecb776c83904e749aa760427b5caff9ac4c43975edb2dcbf06d41895ca288bc4068b4b8e3e36205fed52b715fb58ddc31c76e6a85a9f8318dbd870580ce6 SHA512 4b6b033dfc2c2da0c8dce9fc209278097cb9963f1111f8e59294a07c811b83fae283c7e9d461ec64e5d9b91b6195f58c2b284b8dbf2a5d33cd194896b11d65e1 +DIST firefox-88.0.1-pa-IN.xpi 602784 BLAKE2B 04562a863faeb99160eea01f5b861ac26093fa5265bafa585c7298290d2e861aa2516eaeb95df4486d94f3bd146ffa45a85d0517b17d22cd8ffef9fc3f04aeb2 SHA512 d42295c3a14f653d5355b68f8c69a6a75d85adf52fea62f6143291f988800745582c5af7f8e965f630329fc43ca5791ae7216f2de55d7422452d34c92e6f2242 +DIST firefox-88.0.1-pl.xpi 561330 BLAKE2B 5f2d6ad59372a9e83ab99af3d0fff2f4c67bd9357acde38d5e14f104d7f6bcd145264e7139a557f89a30b777d274b442537f090732128c87fd0901660fccb3b6 SHA512 65b4d96b9a46cf11d535ffbc8d211e013a7539033cc09f4280982f80cc7f8387a4d3801832974ca87ba848db75a9988d9e91394ec8be04094e73388409b85ce2 +DIST firefox-88.0.1-pt-BR.xpi 546370 BLAKE2B 9ed6bf2cc58c3ed86068d4cb56af58ca845100c8a9beb8ff21068f8d196fa8cdbba86c83cd61a3e42b6ea848b53f3bcef7964451f5b6725ced6a0ed959d64f28 SHA512 a149485df273d54f04742605a2c03b5e4dea1c5aece3d268b91aabd918ac29dd3e00a0159be7922429d0971e5b634066efe4ee4eb0d9973d8d0769f50b64df21 +DIST firefox-88.0.1-pt-PT.xpi 550496 BLAKE2B b58b345806d4219885e8282e08f4e42c3eace130ba9feb557025432e59c66ee52e8b9253eafac9a5c606ffa9ebf86e365fb9d15a169dc3e735058bfa9918b45c SHA512 ccbb765b714a867c1ee1dc7965a9e37cbe9ce619c0340379d40a6519f9c5bb077b21565bbce58fea5bbf5f21e3d580c7c9f5d2ddd83717c803ec8a21dd95f6d9 +DIST firefox-88.0.1-rm.xpi 542257 BLAKE2B bf5d466d932ca919e57f37011715a09c2e107fb955ceea619c743266c8091065bc54c9abe72b4e2790baf214a626d54e53863ca5fb75db56134054ff59637851 SHA512 3e9b8021fb5d830651f8618a5cbfe019840f45ffe3d2fefcf4ee3a2ef72e749e19872ead2f4b1b4a127194e0e69bdc5e8c61a17f44e1bb62b8d3d26197aeda9a +DIST firefox-88.0.1-ro.xpi 538643 BLAKE2B a07be42e7d0664ff88f3d8e48f1120514ad3e672b4a3a1c35cf70ba151d00151a9f4b714326da182114cfe618424b699b7b27b33bef2566a561b3cabc52229eb SHA512 f79add61a2e7680f0671d1840144bae39563671e17b7e624ecb69385ab49bbd239dcadbe8ef51dbb1a9391c1c1ac06fc8cadc3e4d78bc5ed6293eb210fbce6a2 +DIST firefox-88.0.1-ru.xpi 631989 BLAKE2B 848ab40181bca6fd23d6938c244bbf0df175d0dfc0e5887928a27abe454a468a0c965811ed0147285bb6339c7bb50053d9ddea998860a54cc47a137d3e6f486e SHA512 c3bcfed60cd0b3456d91765c02026a8e9d76c157cae066bf0fac6a498c36199871929ea923727a1bd62a6caf7f84c8e346564199e5d87c261d402b4a7978fca6 +DIST firefox-88.0.1-si.xpi 496165 BLAKE2B c448e9958656e5811e6d4485f7362887d11d27be0e3aacf9e089341c6deb5d56ef79377daa7f789d6e80cf19a1f2d98b92a32bb16678e168eb113590a871fa63 SHA512 92b29a79b6793ce9845f23d34cfa80cf447053e9d68c37bcdf9f9c600e3d14f6809e873b4cf081cbc6d46177590859efea37563ba105a9d0d1efb61ae87798e2 +DIST firefox-88.0.1-sk.xpi 567064 BLAKE2B 8e683f58828493f7316f2aa15ccdd7932a1b6e400c03d61e1c113129f7ab5e7f5b98aae33b6994348d1f742d8892c4c9151156d42a1d8320226225a7d475c50e SHA512 46f41d264359821ad6bf97320443ae324978cdf28aba6fe08e26d7bfe04586cf01d3876be831c4226350583be2cc929f486ed1e2774d774cfc24e1483ffdcf08 +DIST firefox-88.0.1-sl.xpi 537675 BLAKE2B 34730f342ce63cb21dce5742ae9730af5afe1788d8253576ceeeb868fce3fbc29907d5832784e6c36ef9acf4c1e61050734792af3c2faeede211bdaad7be0ed3 SHA512 f6c73994c802caf1af4d7089e3da286124d331c72d41da9b41f8673f8e56f9def9a196d88be5e2719a7529e7b9dbcf00e47165d1fdca037db3561d58318801d2 +DIST firefox-88.0.1-son.xpi 427888 BLAKE2B 9d5adec300c586594687874b33595ad37ca004631311373c5037ea8dd12f44390ea6cc893cc1c8e29868b30253f8a212cc2a27ed26abc1d146db440817eaf372 SHA512 354ff3aae7714774bb1414d1fbf4259278e0461646ab15eaadbaad4247fab288207841fc5f047628be127a7cbdd14acba3f7035f66d9ced57f705da035b1fffd +DIST firefox-88.0.1-sq.xpi 560818 BLAKE2B 1ac72dad70f5883f3259b21379260f036a84351bcf32b0bf1486f176c0e372b2b5f444416b833cdc4446d9552ef95e15ff61bd2385dc393af68ff5d7f037468e SHA512 ccf8bb084acab6c2629df922480c64188fdabdec18dfa5daf02f25432bfadf848460d0f82b226c78b5a46c4811648102c9bd3786469d528934512d9a6ab2f59e +DIST firefox-88.0.1-sr.xpi 589839 BLAKE2B bc56848acedf6fb470489c55c7a959e3643e61ad5421551febfa3009b901dd96c01df6dd73d2b9e5ed43cc69fccfb581a45ca9f4c3651fbedb43f71199254cbb SHA512 e6d9536b2cba9d1d174051909c452a62aab6260853e9e4fe8e983b73e7caed505b3798d325af3ee3bf4d76089ca91c46db1ff8b87c1621598888e02dacb01a3e +DIST firefox-88.0.1-sv-SE.xpi 544122 BLAKE2B 791b3a5fadf0f0762647caef6b6bc6b80ea2f0b78bea178c2eb32131cb360d1826d2738b7c4baf83c2344ed0029c728b619bce39c65f4414e8b4eb331beaf31f SHA512 ea5ef868454af1d2f0166d2e02aba0ca977d91749b97b717a501efa7859ff27432e842e7457793d3dd475a3c5140884c93cd468b306608ee395f1707e748022c +DIST firefox-88.0.1-szl.xpi 520458 BLAKE2B 1dab83227180a4a59ff097d9ba65e893a2c08968dac5476f104fe6da16293aa0b305b8b240cd8a8308d8d5691fca912635af5db3fe6df51ce4fb5995a33709cd SHA512 2928bea30bf03730dcf38e1689a9b061627c9712a5aea99de7d6caa2de1033b30037fcf58a20ac7414d7447af421bf1a6c90bb7328eadf4ca34e8b2a3e18633d +DIST firefox-88.0.1-ta.xpi 525373 BLAKE2B 357d84e5e24255ab4ef661adaf9441b8b432e51d58f3582e0eb32457ef555a52181241e3242b9967f468d134a6fd9cb6429d81769a121e22a4a24ff36dd360e0 SHA512 4983dee9a1a3a98aa99b7e82a8990425fbd6b630e552afd6294ddd0724ca9620f43e4d14acdc50f51a8d5f0352ecffa09d14356dc81985ae285186789d4b864d +DIST firefox-88.0.1-te.xpi 566056 BLAKE2B 6ec856a615fb528c7a8f764921cdfa15821323d3c21ed0f2c33e37698d971aa06808bc50ba6979a19d8665a985597d5db32ef6983cce3b218e27548173f6bddd SHA512 d05f79455862419c5e133ca62453b6ab3f60e5436cd2eb25414d074c4425ee07e3cc2af574e0e077acdf31ad2ffa47582edd3b078a9b343a627b8a71d11695a2 +DIST firefox-88.0.1-th.xpi 612277 BLAKE2B c57415bf54327798128213106788a6e1cd9b7edd23ffab5efad7380fdabca620575ad538e75ab2366336c50754a3f017d3b61871d3bde6a36c1a51bbd66f2b5a SHA512 084612bc1bff47c4b7e3484bf36f4ccf67e7befc55928d6c204963dd65b33cb6cc40add2d60f8e80fde99ef8003198e9093460b95d226c07e3313983f7655c67 +DIST firefox-88.0.1-tl.xpi 525597 BLAKE2B 1e68c03a51573cb292e156cf58bb929d024df3068d5833574ede73826c7a9856a9c7fe3efccc59aecf3d974ae2e0d6a996c94ce5f7aec89d3eb7c8b7a4b17ee3 SHA512 0fa73006d053b2d4d78f0228ee84e27e49fe3a38007336e55973f47962ae9ca3eacdae340278d8d4a47e746a98e91430e2d0178eddd24c5dddc8df66eb6995e8 +DIST firefox-88.0.1-tr.xpi 555661 BLAKE2B ecc8f782d2561db17517f26d1dca427481c27718ee95be3125bbf6a2f046667fb59bc052adc1fcd405d0c831a59e6d89e0a739db8af0aa7fd0b9055794155708 SHA512 ea10db97bed996ad24ad3b87b2f214385e494903965d173d93718ffe403de915b0673ffb733880b38a6e15b2c9efd47b84508b5c96c27b109721c8691942af4c +DIST firefox-88.0.1-trs.xpi 505354 BLAKE2B 7d19a14e8d01919ffda50f91fc45e0bed81abf529236b821d0cf5de0a57d14a10f460987add0dd2efa093a1ffc0c543026ea0d2f6720b57b8bc6f5a42a45a2de SHA512 2e7b2b32a2af3cedd984573b9dc5ba60c3363017029f4cbdfbc751f1adc89fee78a439c700b75c164efd7bae334ef97ccfc93b9d2a7b7763800dc14da7eff894 +DIST firefox-88.0.1-uk.xpi 625693 BLAKE2B e25bf3f597f7b2445b580c1850f0ab057f619d78aa2e7842ea4a38542c81a5ca8e56ce6466d70a66a2c5be660512d6f6b1201e1ecb9ffd50d1beadd5becd35b0 SHA512 78edda0d27ad7d50f4327be3393e7aabc0cec5a69ff425b38d13ea9ef964ee1b84f754a3e6cf7a2052cb815fe8e32bcf01700ddb8d2267c17cbab602c441eff5 +DIST firefox-88.0.1-ur.xpi 567593 BLAKE2B 572a5cea95187808bcdf5fd1685fa8ddf99b66e54cd385d51bf8b60362ed57699ee79517a383a4d846acc048f789d1c640f8a72f9696ab88a9a41da4e572ade3 SHA512 d1d9fe86ee9be39f758527733c559d42de8af8eb6cca96231f08c5e86911c0fc8c2c66e399812b6122dc713f40af6221400466a91dfffdaa3748c3eb3c4f8ada +DIST firefox-88.0.1-uz.xpi 482014 BLAKE2B 473c54544df06ad37034ba127c950a4d7230736625754ce59150617eb393d8e57e75daf2f082f262a16d2a30721850d46e875cc00edc2e8f68f012a977122593 SHA512 63dd97e300d7eb14c6bbdbdd658b5444d01b6a5b69b332a22c1dae520f25b44b55e1077a90917efa11214f53e1d3d2309e96bcbe276ca21f2914b2ae3d3c2a21 +DIST firefox-88.0.1-vi.xpi 577872 BLAKE2B 78268c630ee528ffabaf1219a4f28e2c316bbd006f9c6b4ab26f0b8e9e276fb927a61c3d5b2562ff49066f5d3dcb31da03e93b23a810e381bbc7e5cff469b377 SHA512 7e7f7dcf1230bed079203e78a3b08a8b45910372735c4b0ecfaeae8b802df0a18bfe03f9c79e4bff321e9f693c61f26805744245ce7b59bea725461ec92ff311 +DIST firefox-88.0.1-xh.xpi 430063 BLAKE2B d06a30f4e4e56bad91f5b689ebe134920f77e148af55598be61973518347b30702d743652f1f43dfce2618a72fcfde780998d8d5a92b2163194ba11e352e91e6 SHA512 e57eea08e0b990bdb6b012a5d88fde94abcc5a1251c95c25123193bf9326f8f2c453e56d780bb3c8170c81c16f56179698e9e15c7bdde81474d75cfd99dd1492 +DIST firefox-88.0.1-zh-CN.xpi 579525 BLAKE2B c00b2a37cf63d48d6e5a3cc56989f48c8247a4df934d7c3607e989edf8af11a485cc7027abfb1e1b07679a5da5a66f189be47a5bcd77fcd486e3ba984903a531 SHA512 9ed9be70f776759f607fdf1f6f28b410763b9cdbec9520779aec8c48840e75742aa743396e5390df83975df4d99f4a62fd2d5375308648e3eaebe263f7bea991 +DIST firefox-88.0.1-zh-TW.xpi 579882 BLAKE2B 4ed4a8014104df8c6c3e8664f758ec71912269f7932aa3e628df463f3753001ca0cf52a6150f3dbefa515f54acee9d1c45e2974088d97f13715d301a5601c366 SHA512 80b202347ad89aad7e8dbccab0120ec1774a60f081503fe24902106f9ef15bb2493640fa5f68ef17b60f8857d2fbaff9df458635df9da10ae55e4a4d3e893701 +DIST firefox-88.0.1.source.tar.xz 376465316 BLAKE2B 9a5f5b77e927de9a2bd6a448d1037438e2481b252c28398ded19e01ca4f371595c089a215144b010d35a16437d4e54e2055c176bc47e63492b6bec87ca621f99 SHA512 e2d7fc950ba49f225c83ee1d799d6318fcf16c33a3b7f40b85c49d5b7865f7e632c703e5fd227a303b56e2565d0796283ebb12d7fd1a02781dcaa45e84cea934 diff --git a/www-client/firefox/files/disable-auto-update.policy.json b/www-client/firefox/files/disable-auto-update.policy.json new file mode 100644 index 00000000..f3662202 --- /dev/null +++ b/www-client/firefox/files/disable-auto-update.policy.json @@ -0,0 +1,5 @@ +{ + "policies": { + "DisableAppUpdate": true + } +} diff --git a/www-client/firefox/files/distribution.ini b/www-client/firefox/files/distribution.ini new file mode 100644 index 00000000..680512e3 --- /dev/null +++ b/www-client/firefox/files/distribution.ini @@ -0,0 +1,42 @@ +[Global] +id=gentoo +version=1.0 +about=Mozilla Firefox for Gentoo +about.de=Mozilla Firefox für Gentoo + +[Preferences] +app.distributor="gentoo" +app.distributor.channel="gentoo" +startup.homepage_welcome_url="https://www.gentoo.org/" + +[BookmarksToolbar] +item.1.type=default +item.2.title=Gentoo's Bugzilla +item.2.link=https://bugs.gentoo.org/ +item.3.title=Gentoo Forums +item.3.link=https://forums.gentoo.org/ +item.4.title=Gentoo Packages +item.4.link=https://packages.gentoo.org/ +item.5.title=Planet Gentoo +item.5.link=https://planet.gentoo.org/ +item.6.title=Gentoo Wiki +item.6.link=https://wiki.gentoo.org/ + +[BookmarksMenu] +item.1.title=Gentoo +item.1.type=folder +item.1.folderId=1 + +[BookmarksFolder-1] +item.1.title=Gentoo Linux +item.1.link=https://www.gentoo.org/ +item.2.title=Gentoo's Bugzilla +item.2.link=https://bugs.gentoo.org/ +item.3.title=Gentoo Forums +item.3.link=https://forums.gentoo.org/ +item.4.title=Gentoo Packages +item.4.link=https://packages.gentoo.org/ +item.5.title=Planet Gentoo +item.5.link=https://planet.gentoo.org/ +item.6.title=Gentoo Wiki +item.6.link=https://wiki.gentoo.org/ diff --git a/www-client/firefox/files/firefox-wayland.sh b/www-client/firefox/files/firefox-wayland.sh new file mode 100644 index 00000000..44280250 --- /dev/null +++ b/www-client/firefox/files/firefox-wayland.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +# +# Run Mozilla Firefox under Wayland +# +export MOZ_ENABLE_WAYLAND=1 +exec @PREFIX@/bin/firefox "$@" diff --git a/www-client/firefox/files/firefox-x11.sh b/www-client/firefox/files/firefox-x11.sh new file mode 100644 index 00000000..75655669 --- /dev/null +++ b/www-client/firefox/files/firefox-x11.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +# +# Run Mozilla Firefox on X11 +# +export MOZ_DISABLE_WAYLAND=1 +exec @PREFIX@/bin/firefox "$@" diff --git a/www-client/firefox/files/firefox.sh b/www-client/firefox/files/firefox.sh new file mode 100644 index 00000000..c08d5551 --- /dev/null +++ b/www-client/firefox/files/firefox.sh @@ -0,0 +1,128 @@ +#!/bin/bash + +## +## Usage: +## +## $ firefox +## +## This script is meant to run Mozilla Firefox in Gentoo. + +cmdname=$(basename "$0") + +## +## Variables +## +MOZ_ARCH=$(uname -m) +case ${MOZ_ARCH} in + x86_64|s390x|sparc64) + MOZ_LIB_DIR="@PREFIX@/lib64" + SECONDARY_LIB_DIR="@PREFIX@/lib" + ;; + *) + MOZ_LIB_DIR="@PREFIX@/lib" + SECONDARY_LIB_DIR="@PREFIX@/lib64" + ;; +esac + +MOZ_FIREFOX_FILE="firefox" + +if [[ ! -r ${MOZ_LIB_DIR}/firefox/${MOZ_FIREFOX_FILE} ]]; then + if [[ ! -r ${SECONDARY_LIB_DIR}/firefox/${MOZ_FIREFOX_FILE} ]]; then + echo "Error: ${MOZ_LIB_DIR}/firefox/${MOZ_FIREFOX_FILE} not found" >&2 + if [[ -d $SECONDARY_LIB_DIR ]]; then + echo " ${SECONDARY_LIB_DIR}/firefox/${MOZ_FIREFOX_FILE} not found" >&2 + fi + exit 1 + fi + MOZ_LIB_DIR="$SECONDARY_LIB_DIR" +fi +MOZILLA_FIVE_HOME="${MOZ_LIB_DIR}/firefox" +MOZ_EXTENSIONS_PROFILE_DIR="${HOME}/.mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}" +MOZ_PROGRAM="${MOZILLA_FIVE_HOME}/${MOZ_FIREFOX_FILE}" +DESKTOP_FILE="firefox" + +## +## Enable Wayland backend? +## +if @DEFAULT_WAYLAND@ && [[ -z ${MOZ_DISABLE_WAYLAND} ]]; then + if [[ -n "$WAYLAND_DISPLAY" ]]; then + DESKTOP_FILE="firefox-wayland" + export MOZ_ENABLE_WAYLAND=1 + fi +elif [[ -n ${MOZ_DISABLE_WAYLAND} ]]; then + DESKTOP_FILE="firefox-x11" +fi + +## +## Use D-Bus remote exclusively when there's Wayland display. +## +if [[ -n "${WAYLAND_DISPLAY}" ]]; then + export MOZ_DBUS_REMOTE=1 +fi + +## +## Make sure that we set the plugin path +## +MOZ_PLUGIN_DIR="plugins" + +if [[ -n "${MOZ_PLUGIN_PATH}" ]]; then + MOZ_PLUGIN_PATH=${MOZ_PLUGIN_PATH}:${MOZ_LIB_DIR}/mozilla/${MOZ_PLUGIN_DIR} +else + MOZ_PLUGIN_PATH=${MOZ_LIB_DIR}/mozilla/${MOZ_PLUGIN_DIR} +fi + +if [[ -d "${SECONDARY_LIB_DIR}/mozilla/${MOZ_PLUGIN_DIR}" ]]; then + MOZ_PLUGIN_PATH=${MOZ_PLUGIN_PATH}:${SECONDARY_LIB_DIR}/mozilla/${MOZ_PLUGIN_DIR} +fi + +export MOZ_PLUGIN_PATH + +## +## Set MOZ_APP_LAUNCHER for gnome-session +## +export MOZ_APP_LAUNCHER="@PREFIX@/bin/${cmdname}" + +## +## Disable the GNOME crash dialog, Moz has it's own +## +if [[ "$XDG_CURRENT_DESKTOP" == "GNOME" ]]; then + GNOME_DISABLE_CRASH_DIALOG=1 + export GNOME_DISABLE_CRASH_DIALOG +fi + +## +## Enable Xinput2 (#617344) +## + +# respect user settings +MOZ_USE_XINPUT2=${MOZ_USE_XINPUT2:-auto} + +if [[ ${MOZ_USE_XINPUT2} == auto && -n ${WAYLAND_DISPLAY} ]]; then + # enabling XINPUT2 should be safe for all wayland users + MOZ_USE_XINPUT2=1 +elif [[ ${MOZ_USE_XINPUT2} == auto && ${XDG_CURRENT_DESKTOP^^} == KDE ]]; then + # XINPUT2 is known to cause problems for KWin users + MOZ_USE_XINPUT2=0 +elif [[ ${MOZ_USE_XINPUT2} == auto && ${XDG_CURRENT_DESKTOP^^} == LXQT ]]; then + # LXQt uses KWin + MOZ_USE_XINPUT2=0 +elif [[ ${MOZ_USE_XINPUT2} == auto ]]; then + # should work on Mate, Xfce, FluxBox, OpenBox and all the others ... + MOZ_USE_XINPUT2=1 +fi + +[[ ${MOZ_USE_XINPUT2} != 0 ]] && export MOZ_USE_XINPUT2=${MOZ_USE_XINPUT2} + +# Don't throw "old profile" dialog box. +export MOZ_ALLOW_DOWNGRADE=1 + +## +## Route to the correct .desktop file to get proper +## name and actions +## +if [[ $@ != *"--name "* ]]; then + set -- --name "${DESKTOP_FILE}" "$@" +fi + +# Run the browser +exec ${MOZ_PROGRAM} "$@" diff --git a/www-client/firefox/files/gentoo-default-prefs.js b/www-client/firefox/files/gentoo-default-prefs.js new file mode 100644 index 00000000..0407f5d3 --- /dev/null +++ b/www-client/firefox/files/gentoo-default-prefs.js @@ -0,0 +1,12 @@ +pref("general.smoothScroll", true); +pref("general.autoScroll", false); +pref("browser.urlbar.hideGoButton", true); +pref("accessibility.typeaheadfind", true); +pref("browser.shell.checkDefaultBrowser", false); +pref("browser.EULA.override", true); +pref("general.useragent.locale", "chrome://global/locale/intl.properties"); +pref("intl.locale.requested", ""); +/* Disable DoH by default */ +pref("network.trr.mode", 5); +/* Disable use of Mozilla Normandy service by default */ +pref("app.normandy.enabled", false); diff --git a/www-client/firefox/files/gentoo-hwaccel-prefs.js b/www-client/firefox/files/gentoo-hwaccel-prefs.js new file mode 100644 index 00000000..a00144a7 --- /dev/null +++ b/www-client/firefox/files/gentoo-hwaccel-prefs.js @@ -0,0 +1,3 @@ +/* Force hardware accelerated rendering due to USE=hwaccel */ +pref("layers.acceleration.force-enabled", true); +pref("webgl.force-enabled", true); diff --git a/www-client/firefox/files/icon/firefox-r2.desktop b/www-client/firefox/files/icon/firefox-r2.desktop new file mode 100644 index 00000000..45d5f11f --- /dev/null +++ b/www-client/firefox/files/icon/firefox-r2.desktop @@ -0,0 +1,236 @@ +[Desktop Entry] +Version=1.0 +Name=@NAME@ +GenericName=Web Browser +Comment=Browse the Web +Exec=@EXEC@ %u +Icon=@ICON@ +Terminal=false +Type=Application +MimeType=application/pdf;application/vnd.mozilla.xul+xml;application/xhtml+xml;text/html;text/mml;text/xml;x-scheme-handler/ftp;x-scheme-handler/http;x-scheme-handler/https; +StartupNotify=true +Categories=Network;WebBrowser; +Keywords=web;browser;internet; +Actions=new-window;new-private-window;profile-manager-window; + +[Desktop Action new-window] +Name=Open a New Window +Name[ach]=Dirica manyen +Name[af]=Nuwe venster +Name[an]=Nueva finestra +Name[ar]=نافذة جديدة +Name[as]=নতুন উইন্ডো +Name[ast]=Ventana nueva +Name[az]=Yeni Pəncərə +Name[be]=Новае акно +Name[bg]=Нов прозорец +Name[bn_BD]=নতুন উইন্ডো (N) +Name[bn_IN]=নতুন উইন্ডো +Name[br]=Prenestr nevez +Name[brx]=गोदान उइन्ड'(N) +Name[bs]=Novi prozor +Name[ca]=Finestra nova +Name[cak]=K'ak'a' tzuwäch +Name[cs]=Nové okno +Name[cy]=Ffenestr Newydd +Name[da]=Nyt vindue +Name[de]=Neues Fenster +Name[dsb]=Nowe wokno +Name[el]=Νέο παράθυρο +Name[en_GB]=New Window +Name[en_US]=New Window +Name[en_ZA]=New Window +Name[eo]=Nova fenestro +Name[es_AR]=Nueva ventana +Name[es_CL]=Nueva ventana +Name[es_ES]=Nueva ventana +Name[es_MX]=Nueva ventana +Name[et]=Uus aken +Name[eu]=Leiho berria +Name[fa]=پنجره جدید‌ +Name[ff]=Henorde Hesere +Name[fi]=Uusi ikkuna +Name[fr]=Nouvelle fenêtre +Name[fy_NL]=Nij finster +Name[ga_IE]=Fuinneog Nua +Name[gd]=Uinneag ùr +Name[gl]=Nova xanela +Name[gn]=Ovetã pyahu +Name[gu_IN]=નવી વિન્ડો +Name[he]=חלון חדש +Name[hi_IN]=नया विंडो +Name[hr]=Novi prozor +Name[hsb]=Nowe wokno +Name[hu]=Új ablak +Name[hy_AM]=Նոր Պատուհան +Name[id]=Jendela Baru +Name[is]=Nýr gluggi +Name[it]=Nuova finestra +Name[ja]=新しいウィンドウ +Name[ja_JP-mac]=新規ウインドウ +Name[ka]=ახალი ფანჯარა +Name[kk]=Жаңа терезе +Name[km]=បង្អួច​​​ថ្មី +Name[kn]=ಹೊಸ ಕಿಟಕಿ +Name[ko]=새 창 +Name[kok]=नवें जनेल +Name[ks]=نئئ وِنڈو +Name[lij]=Neuvo barcon +Name[lo]=ຫນ້າຕ່າງໃຫມ່ +Name[lt]=Naujas langas +Name[ltg]=Jauns lūgs +Name[lv]=Jauns logs +Name[mai]=नव विंडो +Name[mk]=Нов прозорец +Name[ml]=പുതിയ ജാലകം +Name[mr]=नवीन पटल +Name[ms]=Tetingkap Baru +Name[my]=ဝင်းဒိုးအသစ် +Name[nb_NO]=Nytt vindu +Name[ne_NP]=नयाँ सञ्झ्याल +Name[nl]=Nieuw venster +Name[nn_NO]=Nytt vindauge +Name[or]=ନୂତନ ୱିଣ୍ଡୋ +Name[pa_IN]=ਨਵੀਂ ਵਿੰਡੋ +Name[pl]=Nowe okno +Name[pt_BR]=Nova janela +Name[pt_PT]=Nova janela +Name[rm]=Nova fanestra +Name[ro]=Fereastră nouă +Name[ru]=Новое окно +Name[sat]=नावा विंडो (N) +Name[si]=නව කවුළුවක් +Name[sk]=Nové okno +Name[sl]=Novo okno +Name[son]=Zanfun taaga +Name[sq]=Dritare e Re +Name[sr]=Нови прозор +Name[sv_SE]=Nytt fönster +Name[ta]=புதிய சாளரம் +Name[te]=కొత్త విండో +Name[th]=หน้าต่างใหม่ +Name[tr]=Yeni pencere +Name[tsz]=Eraatarakua jimpani +Name[uk]=Нове вікно +Name[ur]=نیا دریچہ +Name[uz]=Yangi oyna +Name[vi]=Cửa sổ mới +Name[wo]=Palanteer bu bees +Name[xh]=Ifestile entsha +Name[zh_CN]=新建窗口 +Name[zh_TW]=開新視窗 +Exec=@EXEC@ --new-window %u + +[Desktop Action new-private-window] +Name=Open a New Private Window +Name[ach]=Dirica manyen me mung +Name[af]=Nuwe privaatvenster +Name[an]=Nueva finestra privada +Name[ar]=نافذة خاصة جديدة +Name[as]=নতুন ব্যক্তিগত উইন্ডো +Name[ast]=Ventana privada nueva +Name[az]=Yeni Məxfi Pəncərə +Name[be]=Новае акно адасаблення +Name[bg]=Нов прозорец за поверително сърфиране +Name[bn_BD]=নতুন ব্যক্তিগত উইন্ডো +Name[bn_IN]=নতুন ব্যক্তিগত উইন্ডো +Name[br]=Prenestr merdeiñ prevez nevez +Name[brx]=गोदान प्राइभेट उइन्ड' +Name[bs]=Novi privatni prozor +Name[ca]=Finestra privada nova +Name[cak]=K'ak'a' ichinan tzuwäch +Name[cs]=Nové anonymní okno +Name[cy]=Ffenestr Breifat Newydd +Name[da]=Nyt privat vindue +Name[de]=Neues privates Fenster +Name[dsb]=Nowe priwatne wokno +Name[el]=Νέο παράθυρο ιδιωτικής περιήγησης +Name[en_GB]=New Private Window +Name[en_US]=New Private Window +Name[en_ZA]=New Private Window +Name[eo]=Nova privata fenestro +Name[es_AR]=Nueva ventana privada +Name[es_CL]=Nueva ventana privada +Name[es_ES]=Nueva ventana privada +Name[es_MX]=Nueva ventana privada +Name[et]=Uus privaatne aken +Name[eu]=Leiho pribatu berria +Name[fa]=پنجره ناشناس جدید +Name[ff]=Henorde Suturo Hesere +Name[fi]=Uusi yksityinen ikkuna +Name[fr]=Nouvelle fenêtre de navigation privée +Name[fy_NL]=Nij priveefinster +Name[ga_IE]=Fuinneog Nua Phríobháideach +Name[gd]=Uinneag phrìobhaideach ùr +Name[gl]=Nova xanela privada +Name[gn]=Ovetã ñemi pyahu +Name[gu_IN]=નવી ખાનગી વિન્ડો +Name[he]=חלון פרטי חדש +Name[hi_IN]=नयी निजी विंडो +Name[hr]=Novi privatni prozor +Name[hsb]=Nowe priwatne wokno +Name[hu]=Új privát ablak +Name[hy_AM]=Սկսել Գաղտնի դիտարկում +Name[id]=Jendela Mode Pribadi Baru +Name[is]=Nýr huliðsgluggi +Name[it]=Nuova finestra anonima +Name[ja]=新しいプライベートウィンドウ +Name[ja_JP-mac]=新規プライベートウインドウ +Name[ka]=ახალი პირადი ფანჯარა +Name[kk]=Жаңа жекелік терезе +Name[km]=បង្អួច​ឯកជន​ថ្មី +Name[kn]=ಹೊಸ ಖಾಸಗಿ ಕಿಟಕಿ +Name[ko]=새 사생활 보호 모드 +Name[kok]=नवो खाजगी विंडो +Name[ks]=نْو پرایوٹ وینڈو& +Name[lij]=Neuvo barcon privou +Name[lo]=ເປີດຫນ້າຕ່າງສວນຕົວຂື້ນມາໃຫມ່ +Name[lt]=Naujas privataus naršymo langas +Name[ltg]=Jauns privatais lūgs +Name[lv]=Jauns privātais logs +Name[mai]=नया निज विंडो (W) +Name[mk]=Нов приватен прозорец +Name[ml]=പുതിയ സ്വകാര്യ ജാലകം +Name[mr]=नवीन वैयक्तिक पटल +Name[ms]=Tetingkap Persendirian Baharu +Name[my]=New Private Window +Name[nb_NO]=Nytt privat vindu +Name[ne_NP]=नयाँ निजी सञ्झ्याल +Name[nl]=Nieuw privévenster +Name[nn_NO]=Nytt privat vindauge +Name[or]=ନୂତନ ବ୍ୟକ୍ତିଗତ ୱିଣ୍ଡୋ +Name[pa_IN]=ਨਵੀਂ ਪ੍ਰਾਈਵੇਟ ਵਿੰਡੋ +Name[pl]=Nowe okno prywatne +Name[pt_BR]=Nova janela privativa +Name[pt_PT]=Nova janela privada +Name[rm]=Nova fanestra privata +Name[ro]=Fereastră privată nouă +Name[ru]=Новое приватное окно +Name[sat]=नावा निजेराक् विंडो (W ) +Name[si]=නව පුද්ගලික කවුළුව (W) +Name[sk]=Nové okno v režime Súkromné prehliadanie +Name[sl]=Novo zasebno okno +Name[son]=Sutura zanfun taaga +Name[sq]=Dritare e Re Private +Name[sr]=Нови приватан прозор +Name[sv_SE]=Nytt privat fönster +Name[ta]=புதிய தனிப்பட்ட சாளரம் +Name[te]=కొత్త ఆంతరంగిక విండో +Name[th]=หน้าต่างส่วนตัวใหม่ +Name[tr]=Yeni gizli pencere +Name[tsz]=Juchiiti eraatarakua jimpani +Name[uk]=Приватне вікно +Name[ur]=نیا نجی دریچہ +Name[uz]=Yangi maxfiy oyna +Name[vi]=Cửa sổ riêng tư mới +Name[wo]=Panlanteeru biir bu bees +Name[xh]=Ifestile yangasese entsha +Name[zh_CN]=新建隐私浏览窗口 +Name[zh_TW]=新增隱私視窗 +Exec=@EXEC@ --private-window %u + +[Desktop Action profile-manager-window] +Name=Open the Profile Manager +Name[de]=Profilverwaltung öffnen +Name[cs]=Správa profilů +Exec=@EXEC@ --ProfileManager diff --git a/www-client/firefox/files/icon/firefox-symbolic.svg b/www-client/firefox/files/icon/firefox-symbolic.svg new file mode 100644 index 00000000..2078eea4 --- /dev/null +++ b/www-client/firefox/files/icon/firefox-symbolic.svg @@ -0,0 +1,64 @@ + + + + + + image/svg+xml + + Gnome Symbolic Icon Theme + + + + + + + + Gnome Symbolic Icon Theme + + diff --git a/www-client/firefox/firefox-88.0.1-r10.ebuild b/www-client/firefox/firefox-88.0.1-r10.ebuild new file mode 100644 index 00000000..9f488363 --- /dev/null +++ b/www-client/firefox/firefox-88.0.1-r10.ebuild @@ -0,0 +1,1172 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +FIREFOX_PATCHSET="firefox-88-patches-03.tar.xz" + +LLVM_MAX_SLOT=12 + +PYTHON_COMPAT=( python3_{7..9} ) +PYTHON_REQ_USE="ncurses,sqlite,ssl" + +WANT_AUTOCONF="2.1" + +VIRTUALX_REQUIRED="pgo" + +MOZ_ESR= + +MOZ_PV=${PV} +MOZ_PV_SUFFIX= +if [[ ${PV} =~ (_(alpha|beta|rc).*)$ ]] ; then + MOZ_PV_SUFFIX=${BASH_REMATCH[1]} + + # Convert the ebuild version to the upstream Mozilla version + MOZ_PV="${MOZ_PV/_alpha/a}" # Handle alpha for SRC_URI + MOZ_PV="${MOZ_PV/_beta/b}" # Handle beta for SRC_URI + MOZ_PV="${MOZ_PV%%_rc*}" # Handle rc for SRC_URI +fi + +if [[ -n ${MOZ_ESR} ]] ; then + # ESR releases have slightly different version numbers + MOZ_PV="${MOZ_PV}esr" +fi + +MOZ_PN="${PN%-bin}" +MOZ_P="${MOZ_PN}-${MOZ_PV}" +MOZ_PV_DISTFILES="${MOZ_PV}${MOZ_PV_SUFFIX}" +MOZ_P_DISTFILES="${MOZ_PN}-${MOZ_PV_DISTFILES}" + +inherit autotools check-reqs desktop flag-o-matic gnome2-utils llvm \ + multiprocessing pax-utils python-any-r1 toolchain-funcs \ + virtualx xdg + +MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/releases/${MOZ_PV}" + +if [[ ${PV} == *_rc* ]] ; then + MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/candidates/${MOZ_PV}-candidates/build${PV##*_rc}" +fi + +PATCH_URIS=( + https://dev.gentoo.org/~{axs,polynomial-c,whissi}/mozilla/patchsets/${FIREFOX_PATCHSET} +) + +SRC_URI="${MOZ_SRC_BASE_URI}/source/${MOZ_P}.source.tar.xz -> ${MOZ_P_DISTFILES}.source.tar.xz + ${PATCH_URIS[@]}" + +DESCRIPTION="Firefox Web Browser" +HOMEPAGE="https://www.mozilla.com/firefox" + +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +SLOT="0/$(ver_cut 1)" +LICENSE="MPL-2.0 GPL-2 LGPL-2.1" +IUSE="+clang cpu_flags_arm_neon dbus debug eme-free geckodriver +gmp-autoupdate + hardened hwaccel jack lto +openh264 pgo pulseaudio screencast sndio selinux + +system-av1 +system-harfbuzz +system-icu +system-jpeg +system-libevent + +system-libvpx +system-webp wayland wifi" + +REQUIRED_USE="debug? ( !system-av1 ) + screencast? ( wayland )" + +BDEPEND="${PYTHON_DEPS} + app-arch/unzip + app-arch/zip + >=dev-util/cbindgen-0.16.0 + >=net-libs/nodejs-10.23.1 + virtual/pkgconfig + >=virtual/rust-1.47.0 + || ( + ( + sys-devel/clang:12 + sys-devel/llvm:12 + clang? ( + =sys-devel/lld-12* + pgo? ( =sys-libs/compiler-rt-sanitizers-12*[profile] ) + ) + ) + ( + sys-devel/clang:11 + sys-devel/llvm:11 + clang? ( + =sys-devel/lld-11* + pgo? ( =sys-libs/compiler-rt-sanitizers-11*[profile] ) + ) + ) + ( + sys-devel/clang:10 + sys-devel/llvm:10 + clang? ( + =sys-devel/lld-10* + pgo? ( =sys-libs/compiler-rt-sanitizers-10*[profile] ) + ) + ) + ) + amd64? ( >=dev-lang/nasm-2.13 ) + x86? ( >=dev-lang/nasm-2.13 )" + +CDEPEND=" + >=dev-libs/nss-3.63 + >=dev-libs/nspr-4.29 + 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 + ) + screencast? ( media-video/pipewire:0/0.3 ) + system-av1? ( + >=media-libs/dav1d-0.8.1:= + >=media-libs/libaom-1.0.0:= + ) + system-harfbuzz? ( + >=media-libs/harfbuzz-2.7.4: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 ) + sndio? ( media-sound/sndio )" + +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} + pulseaudio? ( + || ( + media-sound/pulseaudio + >=media-sound/apulse-0.1.12-r4[sdk] + ) + ) + wayland? ( >=x11-libs/gtk+-3.11:3[wayland] ) + amd64? ( virtual/opengl ) + x86? ( virtual/opengl )" + +S="${WORKDIR}/${PN}-${PV%_*}" + +# Allow MOZ_GMP_PLUGIN_LIST to be set in an eclass or +# overridden in the enviromnent (advanced hackers only) +if [[ -z "${MOZ_GMP_PLUGIN_LIST+set}" ]] ; then + MOZ_GMP_PLUGIN_LIST=( gmp-gmpopenh264 gmp-widevinecdm ) +fi + +llvm_check_deps() { + if ! has_version -b "sys-devel/clang:${LLVM_SLOT}" ; then + ewarn "sys-devel/clang:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 + return 1 + fi + + if use clang ; then + if ! has_version -b "=sys-devel/lld-${LLVM_SLOT}*" ; then + ewarn "=sys-devel/lld-${LLVM_SLOT}* is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 + return 1 + fi + + if use pgo ; then + if ! has_version -b "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*" ; then + ewarn "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}* is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 + return 1 + fi + fi + fi + + einfo "Using LLVM slot ${LLVM_SLOT} to build" >&2 +} + +MOZ_LANGS=( + ach af an ar ast az be bg bn br bs ca-valencia ca cak cs cy + da de dsb el 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 ne-NP nl nn-NO oc pa-IN pl pt-BR pt-PT rm ro ru + si sk sl son sq sr sv-SE szl ta te th tl tr trs uk ur uz vi + xh zh-CN zh-TW +) + +mozilla_set_globals() { + # https://bugs.gentoo.org/587334 + local MOZ_TOO_REGIONALIZED_FOR_L10N=( + fy-NL ga-IE gu-IN hi-IN hy-AM nb-NO ne-NP nn-NO pa-IN sv-SE + ) + + local lang xflag + for lang in "${MOZ_LANGS[@]}" ; do + # en and en_US are handled internally + if [[ ${lang} == en ]] || [[ ${lang} == en-US ]] ; then + continue + fi + + # strip region subtag if $lang is in the list + if has ${lang} "${MOZ_TOO_REGIONALIZED_FOR_L10N[@]}" ; then + xflag=${lang%%-*} + else + xflag=${lang} + fi + + SRC_URI+=" l10n_${xflag/[_@]/-}? (" + SRC_URI+=" ${MOZ_SRC_BASE_URI}/linux-x86_64/xpi/${lang}.xpi -> ${MOZ_P_DISTFILES}-${lang}.xpi" + SRC_URI+=" )" + IUSE+=" l10n_${xflag/[_@]/-}" + done +} +mozilla_set_globals + +moz_clear_vendor_checksums() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -ne 1 ]] ; then + die "${FUNCNAME} requires exact one argument" + fi + + einfo "Clearing cargo checksums for ${1} ..." + + sed -i \ + -e 's/\("files":{\)[^}]*/\1/' \ + "${S}"/third_party/rust/${1}/.cargo-checksum.json \ + || die +} + +moz_install_xpi() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 2 ]] ; then + die "${FUNCNAME} requires at least two arguments" + fi + + local DESTDIR=${1} + shift + + insinto "${DESTDIR}" + + local emid xpi_file xpi_tmp_dir + for xpi_file in "${@}" ; do + emid= + xpi_tmp_dir=$(mktemp -d --tmpdir="${T}") + + # Unpack XPI + unzip -qq "${xpi_file}" -d "${xpi_tmp_dir}" || die + + # Determine extension ID + if [[ -f "${xpi_tmp_dir}/install.rdf" ]] ; then + emid=$(sed -n -e '/install-manifest/,$ { /em:id/!d; s/.*[\">]\([^\"<>]*\)[\"<].*/\1/; p; q }' "${xpi_tmp_dir}/install.rdf") + [[ -z "${emid}" ]] && die "failed to determine extension id from install.rdf" + elif [[ -f "${xpi_tmp_dir}/manifest.json" ]] ; then + emid=$(sed -n -e 's/.*"id": "\([^"]*\)".*/\1/p' "${xpi_tmp_dir}/manifest.json") + [[ -z "${emid}" ]] && die "failed to determine extension id from manifest.json" + else + die "failed to determine extension id" + fi + + einfo "Installing ${emid}.xpi into ${ED}${DESTDIR} ..." + newins "${xpi_file}" "${emid}.xpi" + done +} + +mozconfig_add_options_ac() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 2 ]] ; then + die "${FUNCNAME} requires at least two arguments" + fi + + local reason=${1} + shift + + local option + for option in ${@} ; do + echo "ac_add_options ${option} # ${reason}" >>${MOZCONFIG} + done +} + +mozconfig_add_options_mk() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 2 ]] ; then + die "${FUNCNAME} requires at least two arguments" + fi + + local reason=${1} + shift + + local option + for option in ${@} ; do + echo "mk_add_options ${option} # ${reason}" >>${MOZCONFIG} + done +} + +mozconfig_use_enable() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 1 ]] ; then + die "${FUNCNAME} requires at least one arguments" + fi + + local flag=$(use_enable "${@}") + mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" "${flag}" +} + +mozconfig_use_with() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 1 ]] ; then + die "${FUNCNAME} requires at least one arguments" + fi + + local flag=$(use_with "${@}") + mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" "${flag}" +} + +pkg_pretend() { + if [[ ${MERGE_TYPE} != binary ]] ; then + if use pgo ; then + if ! has usersandbox $FEATURES ; then + die "You must enable usersandbox as X server can not run as root!" + fi + fi + + # Ensure we have enough disk space to compile + if use pgo || use lto || use debug ; then + CHECKREQS_DISK_BUILD="13500M" + else + CHECKREQS_DISK_BUILD="6400M" + fi + + check-reqs_pkg_pretend + fi +} + +pkg_setup() { + if [[ ${MERGE_TYPE} != binary ]] ; then + if use pgo ; then + if ! has userpriv ${FEATURES} ; then + eerror "Building ${PN} with USE=pgo and FEATURES=-userpriv is not supported!" + fi + fi + + # Ensure we have enough disk space to compile + if use pgo || use lto || use debug ; then + CHECKREQS_DISK_BUILD="13500M" + else + CHECKREQS_DISK_BUILD="6400M" + fi + + check-reqs_pkg_setup + + llvm_pkg_setup + + if use clang && use lto ; then + local version_lld=$(ld.lld --version 2>/dev/null | awk '{ print $2 }') + [[ -n ${version_lld} ]] && version_lld=$(ver_cut 1 "${version_lld}") + [[ -z ${version_lld} ]] && die "Failed to read ld.lld version!" + + # temp fix for https://bugs.gentoo.org/768543 + # we can assume that rust 1.{49,50}.0 always uses llvm 11 + local version_rust=$(rustc -Vv 2>/dev/null | grep -F -- 'release:' | awk '{ print $2 }') + [[ -n ${version_rust} ]] && version_rust=$(ver_cut 1-2 "${version_rust}") + [[ -z ${version_rust} ]] && die "Failed to read version from rustc!" + + if ver_test "${version_rust}" -ge "1.49" && ver_test "${version_rust}" -le "1.50" ; then + local version_llvm_rust="11" + else + local version_llvm_rust=$(rustc -Vv 2>/dev/null | grep -F -- 'LLVM version:' | awk '{ print $3 }') + [[ -n ${version_llvm_rust} ]] && version_llvm_rust=$(ver_cut 1 "${version_llvm_rust}") + [[ -z ${version_llvm_rust} ]] && die "Failed to read used LLVM version from rustc!" + fi + + if ver_test "${version_lld}" -ne "${version_llvm_rust}" ; then + eerror "Rust is using LLVM version ${version_llvm_rust} but ld.lld version belongs to LLVM version ${version_lld}." + eerror "You will be unable to link ${CATEGORY}/${PN}. To proceed you have the following options:" + eerror " - Manually switch rust version using 'eselect rust' to match used LLVM version" + eerror " - Switch to dev-lang/rust[system-llvm] which will guarantee matching version" + eerror " - Build ${CATEGORY}/${PN} without USE=lto" + die "LLVM version used by Rust (${version_llvm_rust}) does not match with ld.lld version (${version_lld})!" + fi + fi + + python-any-r1_pkg_setup + + # Avoid PGO profiling problems due to enviroment leakage + # These should *always* be cleaned up anyway + unset \ + DBUS_SESSION_BUS_ADDRESS \ + DISPLAY \ + ORBIT_SOCKETDIR \ + SESSION_MANAGER \ + XAUTHORITY \ + XDG_CACHE_HOME \ + XDG_SESSION_COOKIE + + # Build system is using /proc/self/oom_score_adj, bug #604394 + addpredict /proc/self/oom_score_adj + + if ! mountpoint -q /dev/shm ; then + # If /dev/shm is not available, configure is known to fail with + # a traceback report referencing /usr/lib/pythonN.N/multiprocessing/synchronize.py + ewarn "/dev/shm is not mounted -- expect build failures!" + fi + + # Google API keys (see http://www.chromium.org/developers/how-tos/api-keys) + # Note: These are for Gentoo Linux use ONLY. For your own distribution, please + # get your own set of keys. + if [[ -z "${MOZ_API_KEY_GOOGLE+set}" ]] ; then + MOZ_API_KEY_GOOGLE="AIzaSyDEAOvatFogGaPi0eTgsV_ZlEzx0ObmepsMzfAc" + fi + + if [[ -z "${MOZ_API_KEY_LOCATION+set}" ]] ; then + MOZ_API_KEY_LOCATION="AIzaSyB2h2OuRgGaPicUgy5N-5hsZqiPW6sH3n_rptiQ" + fi + + # Mozilla API keys (see https://location.services.mozilla.com/api) + # Note: These are for Gentoo Linux use ONLY. For your own distribution, please + # get your own set of keys. + if [[ -z "${MOZ_API_KEY_MOZILLA+set}" ]] ; then + MOZ_API_KEY_MOZILLA="edb3d487-3a84-46m0ap1e3-9dfd-92b5efaaa005" + fi + + # Ensure we use C locale when building, bug #746215 + export LC_ALL=C + fi +} + +src_unpack() { + local _lp_dir="${WORKDIR}/language_packs" + local _src_file + + if [[ ! -d "${_lp_dir}" ]] ; then + mkdir "${_lp_dir}" || die + fi + + for _src_file in ${A} ; do + if [[ ${_src_file} == *.xpi ]]; then + cp "${DISTDIR}/${_src_file}" "${_lp_dir}" || die "Failed to copy '${_src_file}' to '${_lp_dir}'!" + else + unpack ${_src_file} + fi + done +} + +src_prepare() { + use lto && rm -v "${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch + eapply "${WORKDIR}/firefox-patches" + + # Allow user to apply any additional patches without modifing ebuild + eapply_user + + # Make LTO respect MAKEOPTS + sed -i \ + -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ + "${S}"/build/moz.configure/lto-pgo.configure \ + || die "sed failed to set num_cores" + + # Make ICU respect MAKEOPTS + sed -i \ + -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ + "${S}"/intl/icu_sources_data.py \ + || die "sed failed to set num_cores" + + # sed-in toolchain prefix + sed -i \ + -e "s/objdump/${CHOST}-objdump/" \ + "${S}"/python/mozbuild/mozbuild/configure/check_debug_ranges.py \ + || die "sed failed to set toolchain prefix" + + sed -i \ + -e 's/ccache_stats = None/return None/' \ + "${S}"/python/mozbuild/mozbuild/controller/building.py \ + || die "sed failed to disable ccache stats call" + + einfo "Removing pre-built binaries ..." + find "${S}"/third_party -type f \( -name '*.so' -o -name '*.o' \) -print -delete || die + + # Clearing checksums where we have applied patches + moz_clear_vendor_checksums target-lexicon-0.9.0 + + # Create build dir + BUILD_DIR="${WORKDIR}/${PN}_build" + mkdir -p "${BUILD_DIR}" || die + + # Write API keys to disk + echo -n "${MOZ_API_KEY_GOOGLE//gGaPi/}" > "${S}"/api-google.key || die + echo -n "${MOZ_API_KEY_LOCATION//gGaPi/}" > "${S}"/api-location.key || die + echo -n "${MOZ_API_KEY_MOZILLA//m0ap1/}" > "${S}"/api-mozilla.key || die + + xdg_src_prepare +} + +src_configure() { + # Show flags set at the beginning + einfo "Current BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}" + einfo "Current CFLAGS:\t\t${CFLAGS:-no value set}" + einfo "Current CXXFLAGS:\t\t${CXXFLAGS:-no value set}" + einfo "Current LDFLAGS:\t\t${LDFLAGS:-no value set}" + einfo "Current RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}" + + local have_switched_compiler= + if use clang && ! tc-is-clang ; then + # Force clang + einfo "Enforcing the use of clang due to USE=clang ..." + have_switched_compiler=yes + AR=llvm-ar + CC=${CHOST}-clang + CXX=${CHOST}-clang++ + NM=llvm-nm + RANLIB=llvm-ranlib + elif ! use clang && ! tc-is-gcc ; then + # Force gcc + have_switched_compiler=yes + einfo "Enforcing the use of gcc due to USE=-clang ..." + AR=gcc-ar + CC=${CHOST}-gcc + CXX=${CHOST}-g++ + NM=gcc-nm + RANLIB=gcc-ranlib + fi + + if [[ -n "${have_switched_compiler}" ]] ; then + # Because we switched active compiler we have to ensure + # that no unsupported flags are set + strip-unsupported-flags + fi + + # Ensure we use correct toolchain + export HOST_CC="$(tc-getBUILD_CC)" + export HOST_CXX="$(tc-getBUILD_CXX)" + tc-export CC CXX LD AR NM OBJDUMP RANLIB PKG_CONFIG + + # Pass the correct toolchain paths through cbindgen + if tc-is-cross-compiler ; then + export BINDGEN_CFLAGS="${SYSROOT:+--sysroot=${ESYSROOT}} --target=${CHOST} ${BINDGEN_CFLAGS-}" + fi + + # Set MOZILLA_FIVE_HOME + export MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" + + # python/mach/mach/mixin/process.py fails to detect SHELL + export SHELL="${EPREFIX}/bin/bash" + + # Set MOZCONFIG + export MOZCONFIG="${S}/.mozconfig" + + # Initialize MOZCONFIG + mozconfig_add_options_ac '' --enable-application=browser + + # Set Gentoo defaults + export MOZILLA_OFFICIAL=1 + + mozconfig_add_options_ac 'Gentoo default' \ + --allow-addon-sideload \ + --disable-cargo-incremental \ + --disable-crashreporter \ + --disable-install-strip \ + --disable-strip \ + --disable-updater \ + --enable-official-branding \ + --enable-release \ + --enable-system-ffi \ + --enable-system-pixman \ + --host="${CBUILD:-${CHOST}}" \ + --libdir="${EPREFIX}/usr/$(get_libdir)" \ + --prefix="${EPREFIX}/usr" \ + --target="${CHOST}" \ + --without-ccache \ + --with-intl-api \ + --with-libclang-path="$(llvm-config --libdir)" \ + --with-system-nspr \ + --with-system-nss \ + --with-system-png \ + --with-system-zlib \ + --with-toolchain-prefix="${CHOST}-" \ + --with-unsigned-addon-scopes=app,system \ + --x-includes="${SYSROOT}${EPREFIX}/usr/include" \ + --x-libraries="${SYSROOT}${EPREFIX}/usr/$(get_libdir)" + + # Set update channel + local update_channel=release + [[ -n ${MOZ_ESR} ]] && update_channel=esr + mozconfig_add_options_ac '' --update-channel=${update_channel} + + if ! use x86 && [[ ${CHOST} != armv*h* ]] ; then + mozconfig_add_options_ac '' --enable-rust-simd + fi + + if [[ -s "${S}/api-google.key" ]] ; then + local key_origin="Gentoo default" + if [[ $(cat "${S}/api-google.key" | md5sum | awk '{ print $1 }') != 709560c02f94b41f9ad2c49207be6c54 ]] ; then + key_origin="User value" + fi + + mozconfig_add_options_ac "${key_origin}" \ + --with-google-safebrowsing-api-keyfile="${S}/api-google.key" + else + einfo "Building without Google API key ..." + fi + + if [[ -s "${S}/api-location.key" ]] ; then + local key_origin="Gentoo default" + if [[ $(cat "${S}/api-location.key" | md5sum | awk '{ print $1 }') != ffb7895e35dedf832eb1c5d420ac7420 ]] ; then + key_origin="User value" + fi + + mozconfig_add_options_ac "${key_origin}" \ + --with-google-location-service-api-keyfile="${S}/api-location.key" + else + einfo "Building without Location API key ..." + fi + + if [[ -s "${S}/api-mozilla.key" ]] ; then + local key_origin="Gentoo default" + if [[ $(cat "${S}/api-mozilla.key" | md5sum | awk '{ print $1 }') != 3927726e9442a8e8fa0e46ccc39caa27 ]] ; then + key_origin="User value" + fi + + mozconfig_add_options_ac "${key_origin}" \ + --with-mozilla-api-keyfile="${S}/api-mozilla.key" + else + einfo "Building without Mozilla API key ..." + fi + + mozconfig_use_with system-av1 + mozconfig_use_with system-harfbuzz + mozconfig_use_with system-harfbuzz system-graphite2 + mozconfig_use_with system-icu + mozconfig_use_with system-jpeg + mozconfig_use_with system-libevent system-libevent "${SYSROOT}${EPREFIX}/usr" + mozconfig_use_with system-libvpx + mozconfig_use_with system-webp + + mozconfig_use_enable dbus + + use eme-free && mozconfig_add_options_ac '+eme-free' --disable-eme + + mozconfig_use_enable geckodriver + + if use hardened ; then + mozconfig_add_options_ac "+hardened" --enable-hardening + append-ldflags "-Wl,-z,relro -Wl,-z,now" + fi + + mozconfig_use_enable jack + + mozconfig_use_enable pulseaudio + # force the deprecated alsa sound code if pulseaudio is disabled + if use kernel_linux && ! use pulseaudio ; then + mozconfig_add_options_ac '-pulseaudio' --enable-alsa + fi + + mozconfig_use_enable sndio + + mozconfig_use_enable wifi necko-wifi + + if use wayland ; then + mozconfig_add_options_ac '+wayland' --enable-default-toolkit=cairo-gtk3-wayland + else + mozconfig_add_options_ac '' --enable-default-toolkit=cairo-gtk3 + fi + + if use lto ; then + if use clang ; then + # Upstream only supports lld when using clang + mozconfig_add_options_ac "forcing ld=lld due to USE=clang and USE=lto" --enable-linker=lld + + mozconfig_add_options_ac '+lto' --enable-lto=cross + else + # ThinLTO is currently broken, see bmo#1644409 + mozconfig_add_options_ac '+lto' --enable-lto=full + fi + + if use pgo ; then + mozconfig_add_options_ac '+pgo' MOZ_PGO=1 + + if use clang ; then + # Used in build/pgo/profileserver.py + export LLVM_PROFDATA="llvm-profdata" + fi + fi + else + # Avoid auto-magic on linker + if use clang ; then + # This is upstream's default + mozconfig_add_options_ac "forcing ld=lld due to USE=clang" --enable-linker=lld + else + mozconfig_add_options_ac "linker is set to bfd" --enable-linker=bfd + fi + fi + + # LTO flag was handled via configure + filter-flags '-flto*' + + mozconfig_use_enable debug + if use debug ; then + mozconfig_add_options_ac '+debug' --disable-optimize + else + if is-flag '-g*' ; then + if use clang ; then + mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols=$(get-flag '-g*') + else + mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols + fi + else + mozconfig_add_options_ac 'Gentoo default' --disable-debug-symbols + fi + + if is-flag '-O0' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O0 + elif is-flag '-O4' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O4 + elif is-flag '-O3' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O3 + elif is-flag '-O1' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O1 + elif is-flag '-Os' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-Os + else + mozconfig_add_options_ac "Gentoo default" --enable-optimize=-O2 + fi + fi + + # Debug flag was handled via configure + filter-flags '-g*' + + # Optimization flag was handled via configure + filter-flags '-O*' + + # Modifications to better support ARM, bug #553364 + if use cpu_flags_arm_neon ; then + mozconfig_add_options_ac '+cpu_flags_arm_neon' --with-fpu=neon + + if ! tc-is-clang ; then + # thumb options aren't supported when using clang, bug 666966 + mozconfig_add_options_ac '+cpu_flags_arm_neon' \ + --with-thumb=yes \ + --with-thumb-interwork=no + fi + fi + + if [[ ${CHOST} == armv*h* ]] ; then + mozconfig_add_options_ac 'CHOST=armv*h*' --with-float-abi=hard + + if ! use system-libvpx ; then + sed -i \ + -e "s|softfp|hard|" \ + "${S}"/media/libvpx/moz.build \ + || die + fi + fi + + if use clang ; then + # https://bugzilla.mozilla.org/show_bug.cgi?id=1482204 + # https://bugzilla.mozilla.org/show_bug.cgi?id=1483822 + # toolkit/moz.configure Elfhack section: target.cpu in ('arm', 'x86', 'x86_64') + local disable_elf_hack= + if use amd64 ; then + disable_elf_hack=yes + elif use x86 ; then + disable_elf_hack=yes + elif use arm ; then + disable_elf_hack=yes + fi + + if [[ -n ${disable_elf_hack} ]] ; then + mozconfig_add_options_ac 'elf-hack is broken when using Clang' --disable-elf-hack + fi + elif tc-is-gcc ; then + if ver_test $(gcc-fullversion) -ge 10 ; then + einfo "Forcing -fno-tree-loop-vectorize to workaround GCC bug, see bug 758446 ..." + append-cxxflags -fno-tree-loop-vectorize + fi + fi + + # Additional ARCH support + case "${ARCH}" in + arm) + # Reduce the memory requirements for linking + if use clang ; then + # Nothing to do + :; + elif tc-ld-is-gold || use lto ; then + append-ldflags -Wl,--no-keep-memory + else + append-ldflags -Wl,--no-keep-memory -Wl,--reduce-memory-overheads + fi + ;; + esac + + if ! use elibc_glibc ; then + mozconfig_add_options_ac '!elibc_glibc' --disable-jemalloc + fi + + # Allow elfhack to work in combination with unstripped binaries + # when they would normally be larger than 2GiB. + append-ldflags "-Wl,--compress-debug-sections=zlib" + + # Make revdep-rebuild.sh happy; Also required for musl + append-ldflags -Wl,-rpath="${MOZILLA_FIVE_HOME}",--enable-new-dtags + + # Pass $MAKEOPTS to build system + export MOZ_MAKE_FLAGS="${MAKEOPTS}" + + # Use system's Python environment + export MACH_USE_SYSTEM_PYTHON=1 + + # Disable notification when build system has finished + export MOZ_NOSPAM=1 + + # Portage sets XARGS environment variable to "xargs -r" by default which + # breaks build system's check_prog() function which doesn't support arguments + mozconfig_add_options_ac 'Gentoo default' "XARGS=${EPREFIX}/usr/bin/xargs" + + # Set build dir + mozconfig_add_options_mk 'Gentoo default' "MOZ_OBJDIR=${BUILD_DIR}" + + # Show flags we will use + einfo "Build BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}" + einfo "Build CFLAGS:\t\t${CFLAGS:-no value set}" + einfo "Build CXXFLAGS:\t\t${CXXFLAGS:-no value set}" + einfo "Build LDFLAGS:\t\t${LDFLAGS:-no value set}" + einfo "Build RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}" + + # Handle EXTRA_CONF and show summary + local ac opt hash reason + + # Apply EXTRA_ECONF entries to $MOZCONFIG + if [[ -n ${EXTRA_ECONF} ]] ; then + IFS=\! read -a ac <<<${EXTRA_ECONF// --/\!} + for opt in "${ac[@]}"; do + mozconfig_add_options_ac "EXTRA_ECONF" --${opt#--} + done + fi + + echo + echo "==========================================================" + echo "Building ${PF} with the following configuration" + grep ^ac_add_options "${MOZCONFIG}" | while read ac opt hash reason; do + [[ -z ${hash} || ${hash} == \# ]] \ + || die "error reading mozconfig: ${ac} ${opt} ${hash} ${reason}" + printf " %-30s %s\n" "${opt}" "${reason:-mozilla.org default}" + done + echo "==========================================================" + echo + + ./mach configure || die +} + +src_compile() { + local virtx_cmd= + + if use pgo ; then + virtx_cmd=virtx + + # Reset and cleanup environment variables used by GNOME/XDG + gnome2_environment_reset + + addpredict /root + fi + + local -x GDK_BACKEND=x11 + + ${virtx_cmd} ./mach build --verbose \ + || die +} + +src_install() { + # xpcshell is getting called during install + pax-mark m \ + "${BUILD_DIR}"/dist/bin/xpcshell \ + "${BUILD_DIR}"/dist/bin/${PN} \ + "${BUILD_DIR}"/dist/bin/plugin-container + + DESTDIR="${D}" ./mach install || die + + # Upstream cannot ship symlink but we can (bmo#658850) + rm "${ED}${MOZILLA_FIVE_HOME}/${PN}-bin" || die + dosym ${PN} ${MOZILLA_FIVE_HOME}/${PN}-bin + + # Don't install llvm-symbolizer from sys-devel/llvm package + if [[ -f "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" ]] ; then + rm -v "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" || die + fi + + # Install policy (currently only used to disable application updates) + insinto "${MOZILLA_FIVE_HOME}/distribution" + newins "${FILESDIR}"/distribution.ini distribution.ini + newins "${FILESDIR}"/disable-auto-update.policy.json policies.json + + # Install system-wide preferences + local PREFS_DIR="${MOZILLA_FIVE_HOME}/browser/defaults/preferences" + insinto "${PREFS_DIR}" + newins "${FILESDIR}"/gentoo-default-prefs.js all-gentoo.js + + local GENTOO_PREFS="${ED}${PREFS_DIR}/all-gentoo.js" + + # Set dictionary path to use system hunspell + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set spellchecker.dictionary_path pref" + pref("spellchecker.dictionary_path", "${EPREFIX}/usr/share/myspell"); + EOF + + # Force hwaccel prefs if USE=hwaccel is enabled + if use hwaccel ; then + cat "${FILESDIR}"/gentoo-hwaccel-prefs.js \ + >>"${GENTOO_PREFS}" \ + || die "failed to add prefs to force hardware-accelerated rendering to all-gentoo.js" + fi + + if ! use gmp-autoupdate ; then + local plugin + for plugin in "${MOZ_GMP_PLUGIN_LIST[@]}" ; do + einfo "Disabling auto-update for ${plugin} plugin ..." + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to disable autoupdate for ${plugin} media plugin" + pref("media.${plugin}.autoupdate", false); + EOF + done + fi + + # Force the graphite pref if USE=system-harfbuzz is enabled, since the pref cannot disable it + if use system-harfbuzz ; then + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set gfx.font_rendering.graphite.enabled pref" + sticky_pref("gfx.font_rendering.graphite.enabled", true); + EOF + fi + + # Install language packs + local langpacks=( $(find "${WORKDIR}/language_packs" -type f -name '*.xpi') ) + if [[ -n "${langpacks}" ]] ; then + moz_install_xpi "${MOZILLA_FIVE_HOME}/distribution/extensions" "${langpacks[@]}" + fi + + # Install geckodriver + if use geckodriver ; then + einfo "Installing geckodriver into ${ED}${MOZILLA_FIVE_HOME} ..." + pax-mark m "${BUILD_DIR}"/dist/bin/geckodriver + exeinto "${MOZILLA_FIVE_HOME}" + doexe "${BUILD_DIR}"/dist/bin/geckodriver + + dosym ${MOZILLA_FIVE_HOME}/geckodriver /usr/bin/geckodriver + fi + + # Install icons + local icon_srcdir="${S}/browser/branding/official" + local icon_symbolic_file="${FILESDIR}/icon/firefox-symbolic.svg" + + insinto /usr/share/icons/hicolor/symbolic/apps + newins "${icon_symbolic_file}" ${PN}-symbolic.svg + + local icon size + for icon in "${icon_srcdir}"/default*.png ; do + size=${icon%.png} + size=${size##*/default} + + if [[ ${size} -eq 48 ]] ; then + newicon "${icon}" ${PN}.png + fi + + newicon -s ${size} "${icon}" ${PN}.png + done + + # Install menus + local wrapper_wayland="${PN}-wayland.sh" + local wrapper_x11="${PN}-x11.sh" + local desktop_file="${FILESDIR}/icon/${PN}-r2.desktop" + local display_protocols="auto X11" + local icon="${PN}" + local name="Mozilla ${MOZ_PN^}" + local use_wayland="false" + + if use wayland ; then + display_protocols+=" Wayland" + use_wayland="true" + fi + + local app_name desktop_filename display_protocol exec_command + for display_protocol in ${display_protocols} ; do + app_name="${name} on ${display_protocol}" + desktop_filename="${PN}-${display_protocol,,}.desktop" + + case ${display_protocol} in + Wayland) + exec_command="${PN}-wayland --name ${PN}-wayland" + newbin "${FILESDIR}/${wrapper_wayland}" ${PN}-wayland + ;; + X11) + if ! use wayland ; then + # Exit loop here because there's no choice so + # we don't need wrapper/.desktop file for X11. + continue + fi + + exec_command="${PN}-x11 --name ${PN}-x11" + newbin "${FILESDIR}/${wrapper_x11}" ${PN}-x11 + ;; + *) + app_name="${name}" + desktop_filename="${PN}.desktop" + exec_command="${PN}" + ;; + esac + + cp "${desktop_file}" "${WORKDIR}/${PN}.desktop-template" || die + + sed -i \ + -e "s:@NAME@:${app_name}:" \ + -e "s:@EXEC@:${exec_command}:" \ + -e "s:@ICON@:${icon}:" \ + "${WORKDIR}/${PN}.desktop-template" \ + || die + + newmenu "${WORKDIR}/${PN}.desktop-template" "${desktop_filename}" + + rm "${WORKDIR}/${PN}.desktop-template" || die + done + + # Install generic wrapper script + [[ -f "${ED}/usr/bin/${PN}" ]] && rm "${ED}/usr/bin/${PN}" + newbin "${FILESDIR}/${PN}.sh" ${PN} + + # Update wrapper + local wrapper + for wrapper in \ + "${ED}/usr/bin/${PN}" \ + "${ED}/usr/bin/${PN}-x11" \ + "${ED}/usr/bin/${PN}-wayland" \ + ; do + [[ ! -f "${wrapper}" ]] && continue + + sed -i \ + -e "s:@PREFIX@:${EPREFIX}/usr:" \ + -e "s:@MOZ_FIVE_HOME@:${MOZILLA_FIVE_HOME}:" \ + -e "s:@APULSELIB_DIR@:${apulselib}:" \ + -e "s:@DEFAULT_WAYLAND@:${use_wayland}:" \ + "${wrapper}" \ + || die + done +} + +pkg_preinst() { + xdg_pkg_preinst + + # If the apulse libs are available in MOZILLA_FIVE_HOME then apulse + # does not need to be forced into the LD_LIBRARY_PATH + if use pulseaudio && has_version ">=media-sound/apulse-0.1.12-r4" ; then + einfo "APULSE found; Generating library symlinks for sound support ..." + local lib + pushd "${ED}${MOZILLA_FIVE_HOME}" &>/dev/null || die + for lib in ../apulse/libpulse{.so{,.0},-simple.so{,.0}} ; do + # A quickpkg rolled by hand will grab symlinks as part of the package, + # so we need to avoid creating them if they already exist. + if [[ ! -L ${lib##*/} ]] ; then + ln -s "${lib}" ${lib##*/} || die + fi + done + popd &>/dev/null || die + fi +} + +pkg_postinst() { + xdg_pkg_postinst + + if ! use 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 "${MOZ_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 +} -- cgit v1.2.3