summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2023-09-26 14:09:05 +0300
committerJoonas Niilola <juippis@gentoo.org>2023-09-26 14:09:32 +0300
commit306e78a0df3b265400cfeaa21d9a6360c76e2c1f (patch)
tree0f5304a62789ccb631f0d9d18b431c67fd8c4318 /www-client
parentgames-util/lutris: enable py3.12 (diff)
downloadgentoo-306e78a0df3b265400cfeaa21d9a6360c76e2c1f.tar.gz
gentoo-306e78a0df3b265400cfeaa21d9a6360c76e2c1f.tar.bz2
gentoo-306e78a0df3b265400cfeaa21d9a6360c76e2c1f.zip
www-client/firefox: add 118.0
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r--www-client/firefox/Manifest101
-rw-r--r--www-client/firefox/firefox-118.0.ebuild1430
2 files changed, 1531 insertions, 0 deletions
diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest
index 4b7d6cd6f7c5..929cb18f2381 100644
--- a/www-client/firefox/Manifest
+++ b/www-client/firefox/Manifest
@@ -299,3 +299,104 @@ DIST firefox-117.0.1-xh.xpi 401978 BLAKE2B bcb660965e3987d114909769a231d39cb8f51
DIST firefox-117.0.1-zh-CN.xpi 599263 BLAKE2B 97fa0aaf78fb5ae47f55a738da58a42ea3969beacfd955342729e719d88ba35d7cad8d03b92aa2f66fa863499661043e43cae0c0449f89517b4f39e602033a28 SHA512 675bd545974137c50415989ac8dd3ad6ee941e83d7ad603404c67819a66505ff9ccf01db544db65bf7a64cc2dfd11fc4bd389552a421cd0e3545abc55e00fb64
DIST firefox-117.0.1-zh-TW.xpi 601287 BLAKE2B e0d429281429671f6998b5a6bd119937c52ca4c9e11d64b60e6f73a0b7fa8800336a29055944c4ccb05eaeb7862fc13923a4ebdc84543fd96992f4ae2b0b5bc6 SHA512 89f6f72da94660d83ddf4ba71803bd4f520e1dea5651172c97ca007bbb681e7330648f5afebd1d5f9be37992da4d9eaade750bff63918dcdc05698193940f86d
DIST firefox-117.0.1.source.tar.xz 509601584 BLAKE2B c618942209f60550ef5bd3db4a3a150fbe8993d2a40ba9b1ece3e647e4fcdd82639569f354f87b488b47781d52d21a158a25906c88fbaf86ddb57b5973f8ace6 SHA512 1583b0ad3b3b17c59bfbfb3e416074766327d0b926ef4f6c6b1e3b2d7cf6a18dec592b7d17fab9493ba1506f3540a02277096d28616dd29b6e7b9e93905f2071
+DIST firefox-118-patches-01.tar.xz 13572 BLAKE2B 17ae04e1446e3245ff6ea08416213ed3040ca7fef98d1d4777a248783e0cbea1a69ad57d1f7bd9f556ee98d2fcb97d43473a8988d659420e338891990b340978 SHA512 7bd3aed988efd7e089fd8c775ed75d4bdb69ff989a7167e6dd2e279e52d596b4ae20a6552d43ee7c0c4c974891f8c297fda8db021027fbf0905198a9bff0b7a2
+DIST firefox-118.0-ach.xpi 446025 BLAKE2B f601ff42403ce2d4ce611f02c128a58b4f037795896e16f5b6dbb4eb524620bdcc7b06ff83d89bee8183d407da34989760f9092307fdb34f0c44ca4ff9da9cc7 SHA512 934b564d5a556dd0fa891fe3cd237e1415ec393020c7724955de25fc90766561f83a3ae975f0a361a1e986927990880beebf3f1502c79c151100f507e8634786
+DIST firefox-118.0-af.xpi 401797 BLAKE2B 11f6d9304ee1b636cd9759550a166b6466fda8973ac2e9111cc3797433b62155dca197c053291e6d72a6db2452a5aef401d8da9c80d0dcb5471c0e3d641c4ff8 SHA512 049c167147b4ed0bd6851594b283fcb40faf03e1a479bb0f794dc10027a66b296aea488241a829a7fa32125d36e770fe6ae5792bf66012bb588658ab04c7a095
+DIST firefox-118.0-an.xpi 485440 BLAKE2B 03d64b70235d70000d223ab776ffad06f825370295d33326db636b176d0b085b1130e22e31369855233dc787422879d177e05d57bd0113541a74d4faff1fe0af SHA512 2592ea83595099a8523dbe5ad955c1794e4a61032fecf783c4475d624f3815ae86c9322b4a945fefe635162698c69c80ef5dd70a5d9afae54e27bc0a5612ba23
+DIST firefox-118.0-ar.xpi 552502 BLAKE2B f30c0fc1fc6fc848eebadbe73bcbde66a11cf1520dd2d7e57733439de47d9f4e077283a435b7f99a320bc513429ff9129c4f25d1b8348af78369bfdde47770e1 SHA512 9e80110bac944522e4eba58d3956985d2211bb38dcc01dce8a19f93330772c9ebf9379266a1023caaa84e90200848c629ab78f47e2c36ca443dc8b2477c61162
+DIST firefox-118.0-ast.xpi 478764 BLAKE2B 7f8a12a2b50469471dbc758c3e419a04a657ff5f1acf6919cfa716001ca5e6500941f61acf11a1b6d8eb88347318240acea1f50f30b75f094e03a157f6a5a8d8 SHA512 d5a2a4295c4bb5476a24724186a38511b3ce4fdc306986976bccc582cd333fa9eac37faf90e56022d423c4aeabcbe00862a73e148d7eda32d9683a0a2356658b
+DIST firefox-118.0-az.xpi 471884 BLAKE2B e27a73de51fca44f195c5ba156e94d39d51be5a93d1d7ff04152f0b8576cb8df417e29cc82de9ec3a1058b0fabda8e4d644fc451522740d5b1ab7a9547364259 SHA512 4b02eccd5110e4b17e913b409a51175321af35674ca14ed7c3971715c11d256eb901a9db0e7862c49e18ce1cd81f4a1b8cacccb0845c277869d6a4aa16e3b9f8
+DIST firefox-118.0-be.xpi 658000 BLAKE2B 149b4a330ac1c039c5dec69cd696481f625ec2b53e161db5d3b8afb4f689fd68c096c41c694c4f91433230b9d5eaffb703dc48a3fc8131603691990270b2677a SHA512 dff7de3b83e1c7575f60dc542e503bcad945277fb199646ddc6d2c7d6141ae5edacd687a1436f14ff10e7a78e9d10644ca0acdc78b025d8439e6b9477c45c844
+DIST firefox-118.0-bg.xpi 567002 BLAKE2B 399d33d40432b9e66d144c3f66504d54708e72be348dafab1fbc6831ea5718438eebdbd124a98dde5b9683b418f549c0e3bdb8d4c857c160cd841290c5d8c6e1 SHA512 c911c01f3f819b025db97c238816b58f752e7be1ccfade7ed2ebf549a3a19804a97574f248deaee75ec54b7b9c51caad1cf6c73af31c83af56d3a900b1dee883
+DIST firefox-118.0-bn.xpi 561427 BLAKE2B b4a1dee0ff9de6836d8e5dc94290c73c52afa5b18d38375e5f1b648a455360564e36fa5e46756fccd7cefa4ad23b91a8ce606bb031b978ac1369b34673073cd0 SHA512 a73b8b283d5c02737f6ceccf7dfe62a23382443dc54f749468caf45afec7cdd6de340152feec1c0f6d821a3f25c200326e1f8c3476b5e36cec1f6782d87c26fa
+DIST firefox-118.0-br.xpi 546689 BLAKE2B 7d5501371ed46368fe4957d71b233e564ff9d7ef8d41f98dffc84b9904dc79c83bb6aa0aef9f0003a2a592c6f3257caa6f29021d6034a1fdbed947bf523bc121 SHA512 754a47acfb7e32585ba23d81fc495694ddfe0092a3d0c5463be2f4f60c7fcc1616a1dc17c0df3f95c7b96c831217e5e656dd863038d5550dba775ea94315eda8
+DIST firefox-118.0-bs.xpi 441970 BLAKE2B cc34baf49a7587e12eccbce150fff1bc64b6b14b337e003fd1de4b531e50e1fe087cd7fc851c1792a8d3cf4a66ddc493b01496078d2fd928c1d86a62ba3410ab SHA512 2fcb79cc704188739b4d9b817daf653fb704006a0f4a98640f383648dcdef7b2f0d74a63c245cd437107488dee3dbcf02fa7f40f063194205680018206b23331
+DIST firefox-118.0-ca-valencia.xpi 524708 BLAKE2B f80d1839bd233dcc913be4d6ad5e88a55dee49d8b7d7555de38a298cde5d4d2abebba4281712a6468946df8da171a2c3ec4b2d520037467b6ec566f3e3458860 SHA512 ff01f53335a4dabe5db90d8e6d083038968597273b97aaea44f0f4dd7025e562b364e229d330fe9fe28af52a1e6080ab1effaa06229ed400d07eff43219c8d68
+DIST firefox-118.0-ca.xpi 548396 BLAKE2B 3e5c9c00bf4541fa5e6ecd64333e967c33aa1ef9cbb04d0bcfac0f59d393ba98d05aaa0f583ee2b7119ceb35d8e5d410eb8f4ce4735ef3b6dd402fc09f4b5f0a SHA512 ae625d96dcf804d8b48e8b472014465664cc3b3213a065922f697561ea32b9bab0f4e2c2d6de1d63c358a3de3d54ed1a08d6eacfa8807256bd5debeccca8441a
+DIST firefox-118.0-cak.xpi 569601 BLAKE2B 57b6e4db886f7c0bb9479f9068367246b2cdb41604f4d90c9fd7e4e9c2e21334d9eb7a3d2fcae2b22cc18bb32368a6c6231b81012e690918a1a3075ede6c39c4 SHA512 df46da31abe4f2bf17feaef2a91b1434b69b2bcd880d347549d278166c1593af9ad8ce9395e315f4a3f1b06d84091a772ccafaf88dc821d101479b46b50b5ea4
+DIST firefox-118.0-cs.xpi 602031 BLAKE2B 4383b4ac32538fb599a5a72b0b5d19ffe253c7775a89f209ed425c5bd3db6914a8a7fb855e52f2c6a5575d848e6fbdfdac27e1128c1e1c5f160c269e71d44b9d SHA512 6e674244b95974e55fdf349ec27c4db553598ec5000d59dc939f1d08be7a5c432e2f684d97b6cf402326aab419aead23aaae605cca9e83648091a587eb6ce172
+DIST firefox-118.0-cy.xpi 573646 BLAKE2B 7743bb9b6c0e07e28ba0d397c394f825de9c920a631bdf39535691dc67697b08b9919db39a8ca8a1f314e5a27dbcb3fca5908e871ae8c822081ef1e1ff5baa84 SHA512 e95e29183eb88f6ff825fdd82325e8bc8c1cbfef9a059bd2b9d307cc32bbcb583a6376c52aa005f7a54a31883cc7e63e42e0ddf0eb2e092ffe88a05937847690
+DIST firefox-118.0-da.xpi 562662 BLAKE2B fc0311350148f2b9f8a7b94075ea07113a76658fc11b10fe489e91eef52d6ea6552e5996276a943dca609056d9988e0369ef9bb8cfd0bfa77c1e84c0b6ced621 SHA512 c0a91db6fabd04b5c10cd8a1f8dc8dd3fb0acb41aeb2fd089f8b6db055fad324a17c92fa0dbae8d6618ad05b250abf381eede015cea833e051b123bbf0bd3155
+DIST firefox-118.0-de.xpi 583331 BLAKE2B 438ae52c7a7658e4cf14d8dd42d6d30bdf75eb61bec178704c6439da504a2de3e10bde169704ed39b0d60a6064daaab008c0e01ac5bac3de593d6b8492a2ba39 SHA512 00da9bf18cdca5d0d7555729ad84847d17914fe2bee9d0cdb5481bb9d65fe1bddd6ba11edfd18ea5cf3a61cdcd73b6682a33044f8e70cddf7138db31792889df
+DIST firefox-118.0-dsb.xpi 598385 BLAKE2B 288be145984edd13c547f7ba62e3e4b7a1fc935bb2f38de66ef644fc8b50ee20836f49da876eb350cd5dfbef799ac4e97e7eb587db21f11c9c287fab6f03c6c1 SHA512 000aff916a0c7ae31fb15c12988a8cd28c69038bbfee3a66ed4ce8404a39239cd3358208574d420d7a46c3b52df2d73ae9dd785af896d5a3b2cea4d13e79093e
+DIST firefox-118.0-el.xpi 672683 BLAKE2B 7b383da031ec9d0f62bde0f5487505b6e4969e06376253114f20f0d73184991c398f01f215f617d2e4a9d6d9f86d78c5372b8de6741bbf5217b33e43d37678f3 SHA512 d17f3a551fb31a60aab2b4d81ee7dedef31bbba188406d0470a86034ca4e8c25e760beda98fe6c8a6d1d877e9e0a897ec311fea90b67e2faf560a8aa286030cd
+DIST firefox-118.0-en-CA.xpi 538014 BLAKE2B 16e552145e6a51c5ba675b09386eb60873510037853eab7c6c8d18f78fb80400347a57c68a64ca4739dfb1c4fb50bf8c3cfcd266ed9385404bf0ac7cf27c341b SHA512 8ac78b43f0db52e26d94986b8e86f3b1d4acdb406aa4b708a3cb071a6b9fb7ec5ff8a916a26014669bd4229e04a2c1d429e141789bc6c2151517dffea52858ff
+DIST firefox-118.0-en-GB.xpi 538570 BLAKE2B b1519b0abfb699d32676acc2cbd5070407e626e1581e4a4ab6038bd40593f9dba32f5a90eae8d843016e8c7ec9f25104ee4914b99328d6762f65c98a9367f614 SHA512 6f3c524b4f5e422d2d46c15f489e0451b5bd52d6b17ecd56a437ca3d65accb3df7c2386d721157de1eb3c938e0b6557c981c999c22de8baca5c05d923f036d18
+DIST firefox-118.0-eo.xpi 563415 BLAKE2B b7dd788d90eb2479fb608b6a8922d54c07fd583d4c6dc0158cac861f50fa23e47905d2781b7188d9994f102422d8ed5b1f2d759774564f97d59f30bc2d4c737d SHA512 6f879e765d0d4718ebcd70dade2485e725db5ce64eddd816379f5c4f02794b3f3897ad77f8ee1ee669ed1355276d644ab7015615f13d8105bd3c992dbe0dcf2e
+DIST firefox-118.0-es-AR.xpi 577749 BLAKE2B 00cc4ce38da4c551bd92a2acf95e3c7fe19942d547beb0c075862438a6452f5259f428f60711600dc794e3fdfa0e4988f09b534ab1f5c6c5790662e9c5cb03f0 SHA512 828725d5a004cc5154491f9b9634cc16b7b5288b1696ebff2bc018a99e96207830dcafcf582767f875ebfeaf6c81b2ff09ca132f2da7a4bbc827cf9c6e3ddfb9
+DIST firefox-118.0-es-CL.xpi 576549 BLAKE2B 5ecc7420dc88b2867c910d92bd4b84101240b9222aef8cb8702b1dce7a2f7e25770c26b9d92e88eace97e79c757a8eeed277bedb682fa9c275f1720421b55782 SHA512 edff8d4a163f5068d3d8ae1d0687aa77167ced3f3929e6cd15ccb387b52d26793ffcbc545b0e9928459a8a051742115399ddb1d249e9fa81666b649292c9c622
+DIST firefox-118.0-es-ES.xpi 571109 BLAKE2B d76c4f7da8377b81d2116911cdf73550a9e9ef5efa167a98fdb0443d19ffa919c416ea7bab124a219a0be66cdcea965a37da773526967298b57af3feed7ae89b SHA512 d6e9d0f8d537b883f7722f6fc885da3c36651511cc24bf922926377665187a08815e3beb8c566e70f600b4cf4cf07ec2f81c657803a54771172881664057b859
+DIST firefox-118.0-es-MX.xpi 568539 BLAKE2B 4d7a6a96f0fcc65b78b9b7b7bcbf58cfc53f81f730dc154d7aa29db5823c5a00ccdee0064508e3fe4d5144004cddc35b3a9fced9185d47c7fe2173f433a905f0 SHA512 1eb3377aaa7840703d058fafc4683b95042e7f6527a050a9173770d728b6fce4bcc54b7c3d28151f8867b1d9c749586cf69e4b713a929904854558d8206eafd4
+DIST firefox-118.0-et.xpi 519008 BLAKE2B c934b9bdc6415788e6fbe211001d2ba07cbf96332ea0fdcb8d20b6ec6c0dc1d4698c74ca2ba59eb9eb0de78758e4f221351a4b4ef1f60dd4ce0d3458f103831d SHA512 57000dc1ceadcf521909abc7d6b5616c328f26d607bb47f76416ca98bab716cb1e85ee159089e1e2d92345b94b2304017417d9d37cd4f06812df1c346eb6a2dc
+DIST firefox-118.0-eu.xpi 559332 BLAKE2B 30ebb56dd768f8eac0478ad07979c289e458d89878ce6fb7e1a4b2ab352b967ede93b94427a28c050a38037e8c5813e2b5cb876eb7a3029e27a3a8c5f1401b77 SHA512 bbb18f36aa179dc2263792aabedc24ab47729284d9c159597e982cc0e8140eb90c8b235f29360ec481c51da5e94d8a06d1d52d8020088cf98d21bddddf25e05a
+DIST firefox-118.0-fa.xpi 569207 BLAKE2B 9f5fc22d1b0b44cd172162f95bfb6a22b2268aea0088238485ce20bd9f2801c1d0676a4ec88b91f43d751d614f9c14429186f607910e57cd38e895360a78d14e SHA512 c3177b1be472fa7aa71c6a959012e3eabb37d97bbda2898fea474d0c00d7e7996c523c99345682b41c15aae6cc9b66d7e0567676753d2c2b9ee85dadeb0d20d2
+DIST firefox-118.0-ff.xpi 457175 BLAKE2B d3b586bc8e4b9d0aceee5f75ab8b7fd08fbb2a768f12ea7fb9eaaea80d0f2e9f3da732896af752a4fc5ee5cd189c8b86f9c936e54812b2590d0f195ba13d7a33 SHA512 701e14947d2be2903b517a33681d84d5ec0496b9977e766f9aac7e91376d59d67c9b867001b30d121aade150dfac513d4254bbab3b70f6ea6d74d35f4ffef692
+DIST firefox-118.0-fi.xpi 560265 BLAKE2B d05790ff89d64307325727ef473c9c71c83cfb44f1834200e0b9b00632a74a9b8c6b1ecd3894b2fc0d066813d2aa245ab0fd404af67eadb3bc3198cdf882955b SHA512 978bad217754d2dd0fd7850cfe10ab45eb6ccf64a9650e9a218ec1602036d98470cb39bcf510a5bd01b38cf395b1cbaec7ca2f8421441356ea4cb1d80efd9973
+DIST firefox-118.0-fr.xpi 588802 BLAKE2B aee457ec27035c1ef820d8de931a0e2b3389227badf0752e0557880d7e87d59c967e910467e844613bc26360b3523de0796c38617c6ee1d82ebeb4341e42fdb0 SHA512 6e66cf10e28323faddb8fd74adc4c3dfb669cf37c456037be408adb61496f77c3679e848e148f1f70e68541ce6797c53bb2613200c52766f339e8c71c0cb558f
+DIST firefox-118.0-fur.xpi 582434 BLAKE2B 822da4d3f22fa27384e73cf3c4e8ec68b016994222f1356da3a03930c8ab792edd710626c31d76221d36193d4eab3143fb9070272b2628cc5f60cbc8ec6d415b SHA512 2fa23f253fa642153d0c46e5fb0cadf59a1132514c872ecf4fd474880967b213bee556f1c26d34329779a6e03cc7e7a55d594d689c59f75214fa4b49e257c2b5
+DIST firefox-118.0-fy-NL.xpi 573265 BLAKE2B f30bef69ce1aeb22126766dbb19b493c9248d079943477c94bfa2f1c71083ed7561c22e77fb6a6fac82d1c6eadd611fe7e1cdf511b863b9a44b67c91105b516e SHA512 8bbe83d2b55cf4ae1f29d7d9ac10cbb924d904655fa1a961f6275193dc1830fdfe626c4e6d35e56ccea6e92efa8a3ad3ef7b08fce52988b70f07cb4873a1fcc7
+DIST firefox-118.0-ga-IE.xpi 454899 BLAKE2B fce035e8632f66dac7d139e149293f10835346c9254d2f926b7ba19d434c0d84094838dad50186075794af24c8405d7ae8ac1f9aac28359c291abdf80063e446 SHA512 f6bfca0ac240ed3a58d23846d1a36825bbd517e781334566b9f345c5555bb20ada7cb36d0828f327c98731ff71bbd35c3015c3cc6a538e86fc0516f060a94d2c
+DIST firefox-118.0-gd.xpi 570197 BLAKE2B beb93e3dfd5bf1ce5b4496f29df315b1f1e0821d226ccadaddf95a6cf0541c8a31fe5f3de8e774c60e900654fe1752aced1521359451ef4c1d4dfc049886799f SHA512 2763e4b9fd42cbc991d724c2af1f8b94c09c49279459c16541fd39a8bfb191bb13c31e3fe2fd5dc7918208f17d77066f750881805661de0dad142ff6f65618ef
+DIST firefox-118.0-gl.xpi 569420 BLAKE2B f07a6f79749a94154b17ab20f5fd42bbeb4188b62262921422c88b2bc3fec09f91dd8e6fee82bd546758ba760ae29512574d6ba5c9a77d51723ed819b5fbad4e SHA512 6c167440661ad2aaff9bfaaf2a560a421fee7f8dee033a519508a58db836169f0d290617d3cd4f2b70652bdd2d7fab92bd08f486f9e2d4670d8ec7c3f82c25c2
+DIST firefox-118.0-gn.xpi 586934 BLAKE2B a1bf44449b65e9b0b5e415ee3f9f76cf6c4db007eb089ebc3c05f4c208907cb4fc10babeecf8fa25bb637dc8719730705431705d12032bc5a0f5e0a598c5b92c SHA512 598b8adbaaf5e360728663f72b31b57cb81f276a911ae8ad2365725f182139ef8742bd2500252f50f477f34ab285f071836ed908cae96724d8da1694b8a55094
+DIST firefox-118.0-gu-IN.xpi 507513 BLAKE2B bbdb197c8f55faec83bc250106953df6d5384cddbbeba8a1f1c231e956db31d52c47237329b53e6ae43516497d55bb95cfb4ed455e50c9e87fbe1b0e35e32a2f SHA512 5f081a6350bfc199ba43b5c0227e5f91e5b87eb928d2a60910d22d65905bc3cd5caa01f07d940bed25ba39f1bae9241e78ac82b29beb1f3273ce4656c4d4f577
+DIST firefox-118.0-he.xpi 583015 BLAKE2B 65121427823e31977125d66437ca6ced959bd4fbba05ada7ac18c0db7ce56668562d185cc58d479515479d99cdaef167a70594d3f8482060f510c2d0410ef94e SHA512 ae2cc19cc3a28ade466538ed0bbb87f27e4fb7c3712c59894ada313222081d43e852eddab9830f16dc2099fa4a39de56c16611ecb069f0bf999792c66e39621c
+DIST firefox-118.0-hi-IN.xpi 545210 BLAKE2B e86c7164eeab69777b5587d343fc9f6374ec483af98f6e6c043cbafec2204a8cf71cf047fdcc7f55f65b55842e3a2cdb56445212268de76603660c75e6011965 SHA512 c346827c5eb9b81ef85f2ad6f4b41870e1d500d5ca0bce4c217398664870b3a43e5a79bed550d89d3eee5619e66c09c44e0971a5d6bc785887f398300644f242
+DIST firefox-118.0-hr.xpi 536179 BLAKE2B 6b64287c68d0d1750e1b72ef3b15c0851846818972c0e2302e7ec7fc0c97e1ec15d24971b3b91bdcffc331d3d1550902f5199e3988c37a5db2c19bfac163e39e SHA512 6fbf876fdc8f337de3714eae3b2b7329ce2a7e93bb97aa597900992ba17bbdbe84e5098f672700dbf109946f9c469023df7b66119d84a57b23b377db1ada142f
+DIST firefox-118.0-hsb.xpi 594444 BLAKE2B 9fe2d3cac76babfd1753763e53afa9b5747f7ea8d595901f8814802be46b3145ec17bf3edc39c4302463020adb1a07f384931eb13ce57f2fa85a54cb3d4436fb SHA512 a55d970d747dc166b27c85ea663899779c908f8fc73486737e0e8eae41a76daa8df7a0389ee2f9ebd09f76de346120198aa3fccb569f6bbdae2e2ead20b1eb08
+DIST firefox-118.0-hu.xpi 598444 BLAKE2B 3327654cff44538bdb6ced3294134d5ae87f5898b92196aafac549fcdb95ca11ecd5675b31cd57e3b7a0f614539f881ef3541cbe5756fa1fab59070a803db25c SHA512 e1bcf26fc70250536ff74465eef51bd4e5e2883532ad1f0aed9a4f308bd281ac80a6e3228bade9dd0d426beb2425d0a92b216ceed7ddf13d88335ead1a4c543d
+DIST firefox-118.0-hy-AM.xpi 584474 BLAKE2B dc98818297015e3536da76e5665bbfabd41ad0eca359b0c75801945f34c61365be34cd2915d4891667e94b34aec29ae3cb41114de516dc8383413f3fbe7dad03 SHA512 8b2d1060df3d7f951994c20fc16bd1b11f402cee3ec1ac5cc38bf93000f07a92b7cad260d3aef678edd339801f29a01651223e11ead1c4887689f63d8bc65649
+DIST firefox-118.0-ia.xpi 561642 BLAKE2B 6ee8a5ef57a71f47949877defd8fb4dbbab6dddd81df5ff3a0d3a7bca362c9a6f940070bfaed7a2295d1bcf01ddab18a486cd8f265a8613e0ed555c5cbc2dd92 SHA512 b1d8b815887b350e2de37b8676a67054da4433b5fba6cd93674f6f740f405247604ecc21eba906ee9d0f6fe0a0d59522c6f0527b960288dff8316e2bc066d49b
+DIST firefox-118.0-id.xpi 542968 BLAKE2B a5f042c65b00ab1d7067750bb40d644585177a0092bb4bceee316ae3ed6d05cad9ab6430ddab2ae4708172be322aba4e9936659c1d3ce8e6cde289bdd4e860b4 SHA512 d1c5b822c4d17fd9c02a4defac69d89b1e236a58fe481bee78b0673322b7d7dbfcf690a29d17152ed7c744aa29b1ac0d01790ea00d1b827e327120592310851e
+DIST firefox-118.0-is.xpi 569562 BLAKE2B 24476122c8ae497d7432615510853c2bbe659cdd5cf3f10412dbc04463bdae01a0a799d4e5a179c1e68aa603dc238a106728e12bb6f9327d10015326f27830b4 SHA512 c5a01e0291c0f72b6dd7695414daa1dc80fd86503d2b167cdfea0f583274508d751e9a5f52a9165c47760f877c233b5db33ac69629249f3ecf3d2442458ffe14
+DIST firefox-118.0-it.xpi 515955 BLAKE2B f97a6733402884b35d002cf6204a5d407956bf0dfd5c5ea4ae3380ad53dc5b3d008fd077c16b9ec9937a5a70c4d13cd6d7fc29365b355d985408a0b8ebda443c SHA512 3c4ff60db19da278d0010d1e77818462641fa0c21e16e728276adaac191f17de070353cbf8c59ba4ce019d5f30e3da10a819508d37fb0e20ee2f81493017e9b1
+DIST firefox-118.0-ja.xpi 625825 BLAKE2B ed86fc60b55a157edc1075a9bddf4f06415bf37c79e525d2d36b168de1776b21dae93594c353d3a8443974843072569c36d88057795839f362d513a3bb7976cc SHA512 ab14d606fa684007c9677a9118aaf5086eceac66385772dce025d886e954cd5b765c6aac4f57dfed6d2342a54ceec32f98fb45b2f9481ae63ee57e5a451b8835
+DIST firefox-118.0-ka.xpi 623571 BLAKE2B b21a3e242d1b1b3be4d618e6f125d37af5dc0d2ffa07f8aff90b2123a8150fe7574cf178565575edfba274d9a9fecba570fbdaa30d47d31cbba9e266a824004b SHA512 af53e56003a738f618c999b4d6555c16273429814f7294f8e3e61a864690f24576cf9cd8cac26c330207072fd5beb432409c719c90f053b4ddbb37932d9dbcea
+DIST firefox-118.0-kab.xpi 571648 BLAKE2B 7741aae7922183f077fdf4d79dddc7e6f6e8a598d22ceec2dfc59f19aa63b204d015a8bba5c96186553287e1b0797c97f142b46f3406bbbf09d03afbd16fdc32 SHA512 31f6efd2cb15a2dcfcc75be4396fee01b570b263e0fc6ce3d7952e77ee510cdd0894a6c82ebeb224f52a1f8ca4e29d9bfb857486f5006d3cc2ce6f92afb467c2
+DIST firefox-118.0-kk.xpi 649059 BLAKE2B 859ecba8f2b871626ba2b91e716bac4bc01251e3172b073fc341a5087005de3679a5464109e51c9c94af4fe9216ab05a5679c4154f20ba560ae1a22441c0962d SHA512 66daff50757aa518648f8f7aa1fe55efa8b8d43e9a9538c8fa1563dcd42ffe3e92f3c6264078e2098ac4afd92890fa8a21d117d604ea73499b46458be0b65e12
+DIST firefox-118.0-km.xpi 508309 BLAKE2B 128c88c523d5ad328d109506fd540d2aed34c49180315c259d7fdf97704be6e429b9b5c4b457d1e892da304c2ad83f8e217d3fd772b5dbe97a3cde5ae8998702 SHA512 0f917fa495ee3e0942ed8eb07b75907fef68afaf97a0f6203f3e31b221b5e8df3b1bf3dbcebf9694cd329e896bf05b23a171cf74aedb906bfb72be5b30e061ef
+DIST firefox-118.0-kn.xpi 473780 BLAKE2B 20556ee0025ef4b1376ae3858ebd4dc5d04c928caa0c4ac07f33da7ce5bba64a67631c0fc122b0b0c64993b7def20b71d9f36b3a7bd19997706baff94865accb SHA512 c17ddcb31487c6ee89ce1c71ce331af402428cc97b83ca2153a580cf8b9b305d1d804df3ad1df3ab3b9985d8bd431b70612822fc5ae37cc8b482872a238f28ec
+DIST firefox-118.0-ko.xpi 609088 BLAKE2B 9400d3f70fff6d7b6ebd846d473a5f4167ab6546e013e9cc82886db6a97d9b1f339a34e0e4e2fefb1947cac0c85bb959f2af1d9763cda21687c7901ac0e40fd6 SHA512 5a2db85bf39fceeed602abb6ecf4f5b221238cd5515233b8d44fcc68dc7aa14b509e3e683226861805d048c491dcdefdec15b37090e9b7924fcd3256d5edf0bc
+DIST firefox-118.0-lij.xpi 465495 BLAKE2B d817d4b151305b42a650929be3c96f3566c6f79aba26b165324fe8b19777679b3b3343708a8b2660bc17f04f69b9adc35751c6d78bd49ed512208e2ce1dc353e SHA512 ce54f9816f9c97a34a28ad6ea33f03b6e86988d9174ef1bfabc6a78bc772ada8cf4bf415e84c324bff2b78589c0b2ef34d7689c12e93fd7d1e2ca169df8e69ef
+DIST firefox-118.0-lt.xpi 551348 BLAKE2B 297eeb115254cc1d155b8a6bea2619f3b795553dd5ad768c5dcf2b0907b0262dd101dc6da583b3e2b6cf3d31b56f1d62561f95a2f96633af62604e9936dda821 SHA512 4f5d7c59a74fd2388028593651c86d916f4886355723db8bb6a1ee2b2417aadda7ea910870672dc45744c22cc3fa04c9d6097020b04230ea1cace1f58211d071
+DIST firefox-118.0-lv.xpi 451456 BLAKE2B 7a54edf062efe0156660041d40120dc730d8d715892fab7eb4ed21fffde3fdb6a936c26a9d54a334abbb0e84e71cecdd307de86c943151d877a0227e34bcab4d SHA512 429e6591695df2f7d448fc82f1c2b7542baa1f451ac3b238db2fbddc2136777ff677fed6c63523cee4f2f18bc137ffcc571b225b8e9637bd6e38c74f2eb1c083
+DIST firefox-118.0-mk.xpi 476566 BLAKE2B 962ef56385ec259f32ed32d61e8afb2f50be558f44ccca7c16b0bb6f13d19306742bdd7e8720c304c5d03fac323c4253d581850d5ae368c009928d85b53daa16 SHA512 af297607048d3c3dcd89b5db8f31233dd0b429d182de8c0b83729abbde9b06c84e657435d52bdb65524026c5f473f9ba378bc6cfabb4e300b49638b8d5b6b7e5
+DIST firefox-118.0-mr.xpi 512902 BLAKE2B 1070376815a72e8acbf4803a12076a6ff66d7d32f734bc866981c56929acdc5c9ae485e7c261fa9a3c58d570cf511519259e87daf275b99d0e852416c4a07c89 SHA512 52f9c32717f2e9f27799fdf149a4bc9b08acea4c9c3cf4d0b340ed882068a718b57acddeb7a6a5cfd74e96e4243de1ae727597c825c24bdbf8cc623261373dbd
+DIST firefox-118.0-ms.xpi 431284 BLAKE2B 7ed35b6d462bbc531799853ff6087aed514c55fc6260f0dc6b6b6e0e381df3d312e7e898e4a68a1a1f04171443c036e03912ff0665ae8922d25c3c1397e9b961 SHA512 c69b07fe08f502acc3bc0b34632646bfa3aae298a183ef11f0f56889f17bad5cfa43e9e7f9f362bfeee97b2fa76bc6345ece9da5c04fb734ac1d10843a698cc9
+DIST firefox-118.0-my.xpi 494968 BLAKE2B d580f46ae09ac56b6134e04476faa952bf6aa32c7699136e8a71b7c2fb9a0c95fb32886a5c5f47296cea337d20e11331d8b37f8d0f06ee879dc0d9f047b8ff88 SHA512 c4a930a9e237238d06269013fbe62aa4d12db9fc0d591bfab0cbdfa12142460dc471adb5b8b57cefa52919fd87f3b876266ab2a6f4139fa0a5934db7008adea4
+DIST firefox-118.0-nb-NO.xpi 556715 BLAKE2B 17d90149509dc9d07af69b9cc677b07e64ca49e422e2e69dedb3b3e310cf88754686b50782d1a56bd9361c86ef5dc527e35e85957f98fb1d560e92895f2d35b8 SHA512 e3ccc12ed2bcfb9955b871da3c671bd4bd92f0890a15c9ef0d4fd49f48c4135cfde4c2f57f3a52531d4597d42de62e736e78de3c8d16ce300f514db0c5e04815
+DIST firefox-118.0-ne-NP.xpi 469851 BLAKE2B af04c3195caa375f359a712397355514e292ee4e57d6c8f5f052630c66c83dd681a834a54dca7a68a71d026555e3629c2af139bba18e041e1d8b2a6d1d4d936b SHA512 7441f3c8cdea5c8ae6a73d1d9170e98cadd92c887d56b38957398d909b5a9df5163de6172ae67d12aaab0554f92151253c540014d421239a2e67d9229bb43019
+DIST firefox-118.0-nl.xpi 567477 BLAKE2B 1036e25098dd4490b649ce21a6ab01dd5605dec62a7fcc0f45d417f2046668721d0b5ecde3d0152e6ee24fdd1b4ae1d3cd150a08f661ea5bb96cbc5840b6980d SHA512 abafe8903a2841e30cdfb00a490430c7eeed97cd703376c6ba0f60b2496b3b12c2030cb5f82285ca1d670a81ac718be2d1116e7b98af8fa4ca5885bd5c43a7f6
+DIST firefox-118.0-nn-NO.xpi 561327 BLAKE2B cd2e51f20c5e2bb1f5b4c0a2b87f40217b9f8cb9e1e27b60e829ffe1f6e5fb81fa150d21f640c28300646a1c603ff278f1bef2c097267ae48bc205a860ab9ba7 SHA512 5947d9808ee635f81c544b28174a99d45598f3d5fa9ff4a8d73d9b3bd81bdd9801ec7bfcd716c0a4c3cafe8bebfe1f9d2aab7140d21ef8b2e935411345983e08
+DIST firefox-118.0-oc.xpi 577637 BLAKE2B ba6397c27ffb5313ce348b77f77261913ddb46f64c797f129b216f998c1a855a50663f7348d77aa4afa0856fc932b0cf07622a5e0c44b9abd95f43a054ca15a6 SHA512 61ea3ce818e06fc0533617f985a5fdb8f9a5ae100886ae2da87e209aa48df11461c3ace8bb75ed90605f83ada8ca352f94ea0936f666775fa930eef811cbd5a3
+DIST firefox-118.0-pa-IN.xpi 637560 BLAKE2B 90806a4385f96352980d935b24b5266e77342c4dc6bc6f83a1e76561450ee5e3e524b504e6e12b7644a3ffaaab3b77010bcb4386b951663bbe0f3d71e84cc959 SHA512 b04ccdd22a0edd8d4fd34ad1d6dfc953365a9227742219b933ffd2d94c1b2c3ec6c296770dd9dbd0f9eb0397e0cd0e12423da53a84956d77832ac77d50e6275e
+DIST firefox-118.0-pl.xpi 587893 BLAKE2B 47e769a6be192f9a689a4d931c57313f9fc9938b94901a44272ed071e58a222f0c7788115e7ae76d5a2f5a588143988cb017b03099f9d7f8e716b632ffb94d72 SHA512 0d828a2f27e01742cf9a24cdfc5b54c538796d581337f644c672d9251d827099a1b6dcc2a033032acce483b3d9982a5f4d8d227d37ab533d6fe6ea6e5203bda2
+DIST firefox-118.0-pt-BR.xpi 572251 BLAKE2B 16099ecc495bec370565ae0d51c5bdbc5323a57f0fb6ef803a85843a929620398b935bfb7ba8408d9f5c4b42508ef707a9aa09ceee081c705317dc1c75ff8789 SHA512 7a3194ddb9ff0b5a464861ed9726c6ac700ee89a51e9ca1c05ba72070138704bee33de88e4da0ed161cb95ae2ee90cbf1e1e2befa3fca79cafede92d5d0dcd4e
+DIST firefox-118.0-pt-PT.xpi 575073 BLAKE2B 621a70e1f6fcaa64525b3d760b43aa64994aee09f6f0bdbaa6b0a6abe46b8bb3ed345e9ec7fd94d12efcb449afc31924c06f4e5d47827eaafc19d34c2a27e048 SHA512 2fd440ae0c5b2600040717416dd9d0810dc0a59f82e0cba7ccf2fb22443f1814844e9def117ca8d2025b4f423849232bcc23f9c30d56f9deaab6a7bd19830a96
+DIST firefox-118.0-rm.xpi 567681 BLAKE2B f869cb9724f75bfc9a54116010e87b44f3380eb12142facf3ab39f4c8ad87c3e5a663ac69c52e8c8db4bbf3e9796c174a35ac2346c60d021021869a26b1065e6 SHA512 2843ac1b9deb9a8400e27ab19a3cf138d857888dc41908119851a2c1745fbe12dd86b91cfed25b2e07c57f2de4d9af8decd163edfd2cdebf9b283a2d11d34b05
+DIST firefox-118.0-ro.xpi 527803 BLAKE2B 6abe1fadf0b28d479f75870d86ebbe751f1ba0456313643d74d5d9ac5373fb08b722237803e53bbe33a39d961e65abd842e54baceff0c98b1786a00dc181ec08 SHA512 6fcb4d8079544714dfa948ed6c19996698884811ce070cbb396392b28f90300f2a48d073eb28afbeba8841ccf5b56972d28c29bb733ccb1a65125572921f66e4
+DIST firefox-118.0-ru.xpi 662272 BLAKE2B b19095b7d0a526925ec5f8e1d7d4730dba54663e20b39aacb5c464c02fdb7902e4f60e046860ad90350344f12bd7b0e9c17607a1ccc8c963a768a987d9842d10 SHA512 6c69d9b0520c79d458e576663107a781fb1d0afeaca5cf86a9da6c8891e0a574d3a4186f82866085b8f77ab0e2d7c74ec1a4b3b174cf5c0c46a58470c216928d
+DIST firefox-118.0-sc.xpi 543781 BLAKE2B 3e75296b7bc6cc78f28f32c951215b63d59c54bc2792cf2df194819c18f3c474af99838b83b31d8bd27cb3b791f64099eefd189c015e3a569ea105bd5b2be1ad SHA512 3a40f26e0bfe6dafba8cb3b11b634cea7416e8554ecd128119049abef93d2892c4151374c93bb92b0dd83dbb670992064171f79cf716eb54a39022aa0a2d133a
+DIST firefox-118.0-sco.xpi 491897 BLAKE2B fb3b2b07a3f869526713b82fc932a81f45b5efbaff2fec541e11699a859631464a7ba42d0dbd0d701fd45b8d8a5f8c064d18620370901e55d93ff5321d9cb229 SHA512 4cbe26aaad43b219f04e93e3721ec8ef2e86e8402fc7429fd51f50776127d7489d67b3ea81956d9f514427fdc05f44d0e4541b5b8ef67b8a8a4f016d19b4242f
+DIST firefox-118.0-si.xpi 580408 BLAKE2B 51f6253c8304321528b8f77eaae9d467ce94427fb4c581d17c8676cc227354d39cba077c932e22cea9fe204e0e1a221884582e991a56c39acde825d1eca62faa SHA512 847f58bd85b28a7f82a613d8177eebb145ee1a5266d281a10ee8c4827a9bf08b61abd70228242731f0a650e27d8dcfd4991399baaba225ab37adc53b4bd3fe92
+DIST firefox-118.0-sk.xpi 599039 BLAKE2B 8b01b1457bda999a0586aae0d8a06bdfa48f4c20ef11512123d4b76086bb7c0d7df98a12d7153f3fc5c01351a8a68b772268d7d234be3ccd8272741d5a0e0c7b SHA512 250f80eeadbb5531cecf77e34e7280b4cf6dd45e7e8f09b42f8532e6e1ce0b94d5f55f3449f75f35e9d6c03cb45ceb8cfb6a464693db4475d2ea46a2a7295cfb
+DIST firefox-118.0-sl.xpi 569545 BLAKE2B 8e33fdee452810344d56347ea19f7992c57e98bd78a9d3bbd2adfa2c1a98a0dfe4eb1f8be542226e760a741eb89d9bdedebadd1446badacbad6dac224b9ebe19 SHA512 f2131ddda7b53246624e6de3ed1ae3c73db42c814bd14881d643484b2861d3ddc6a89a5f5606d1c65126c30174d4e28a084f4d4120c02373e89c3a44e1e2dab6
+DIST firefox-118.0-son.xpi 400845 BLAKE2B 52a0a6a6b64b87b58054cfe4d23a4083552bb74a2138ce7ab578ce2c03264226135ba23e69d3dc75217ebf657bb6a3838d172c3a931b24d9e95a864d1c0970df SHA512 c70be874e3c9bfca778ebbe956bef5057fd66ee04f1ac2b5654f29ba9b172a367bf1b2e7dd706e4bf96136135ebeb472a1013a60b3782f6208e0cd718586f1f6
+DIST firefox-118.0-sq.xpi 567475 BLAKE2B 18c3690056cbb92242bd78a4c9f6fb26aab5c009d204f920b45e19fc51b2dfcbc9a691de45170a67b929306ff3733d1a102e2f8f107469b8e03fa9aa8353e9e5 SHA512 c0b0783892ce281eb0bb6608b22d4f94a4b86b52dc6c0375a59df72a9f986c9a977b85eac81a4a241637a970e185e1b80bad0b805d70ed819725f5b67b1768af
+DIST firefox-118.0-sr.xpi 617281 BLAKE2B 0ca881be68499ccc511cb19927b5664332803072c65144824ce1c006564162294b70c6df26416287802ca4d4bcfa3d64765a22cf4aa0b9602e57cf04d176f22c SHA512 821546ef4962a82e2d4a91c23ba0fbde7c739c9c30d71287049c0086ab9f8b9d0040f0706698fe53007e0207d83c3fa9163dc7c293b6c59c49286ed44cbc21ce
+DIST firefox-118.0-sv-SE.xpi 569307 BLAKE2B aab0cab473dcc873f64096cf1a40a11e3498f08ce27f2aacff1d753359187789813ea17933a6fa4979f9516027f7d5c7f5c6c32f11f49245248763fb9c10148c SHA512 635b1b36306859aab889599d4eb1dd6a5ce52aa2ffd15f9e545ed1739e01bcc168df52bc40470efaad8920c8e5e7a66bdf44f7398f6c2c8e7f8f480bbc443e79
+DIST firefox-118.0-szl.xpi 506756 BLAKE2B f724448f194b02595657d452c20996a9252b4ea6b3282d9ff3e985c4e53a57b2d9f64d4507f42a39d55464465689c975175e4b5d760142afc9e4cdd5294a8452 SHA512 cdbe2435d392d574581bcea588d4435ad72506ce461714bd0235291b136d8f227cc14b19d17e52055f7aa49932cde365ed1b2b83ae2fab2ae40aeb4d2562267e
+DIST firefox-118.0-ta.xpi 489456 BLAKE2B a278e3b39cc4a980c95a4579946da56f0b7f56817bfe4362f2b0905cce248762f6a2c0ef28897ecb1b1583f14e4c12ee7c20614e07bc60ebb3b85c164b980ed2 SHA512 74388ce18c0feabf70c5c84eba70d96ec6c9ba4b79b3d40c06bb66ca05f4d73dd4e83d451302353082b5bbfa64cbd0ca03963f6ed33073579d02f3bef339bd0b
+DIST firefox-118.0-te.xpi 537896 BLAKE2B bfd22565a3ef793cdffe17cb6e486c3acdd33450079463fd0945eb121d4c50f6b7132730b618cb7db6ce5e0799af538b2fe6dd7a3724ee5573a3200507e6cc09 SHA512 ea8040ae7368b72cf8b663081712e76944ab7cf578ad45579a5bda1f3d469efbfd837011b0cf46cab00795803b9892828d29f2d5102244117b9260b6fba3c122
+DIST firefox-118.0-th.xpi 638984 BLAKE2B f34b0ac20cef933c9b3085a0babb9095780500566ab7759fc89465a7f43a0cffa198f094ccbeb59c65c444daea0ee94c5867d5ea3a7e5e52e95552b89a87ac5a SHA512 47f79250c57a956f9f3491d1cc5cb98b01a21f35b4d0e2ed7793efdeb3f0aa78a0821386d31065b1b44f40ec054750b8ed60ac6da7aafcf5c4e935f43c02bc94
+DIST firefox-118.0-tl.xpi 514348 BLAKE2B b8178cba9adaf72e3c10d11e5d1b5a33267c377f16fb880319ad729e25792e585eaefcec5052663fecf98f4a6d7ade3b66c91088372dbf7f8a543216bac00d3c SHA512 08eb5470c054bf0604f0d44c5b5b17543b1581badbfc015506c1973f8a9a62dc4e589e0660300cfbf3e5741c71d9d5c390388e5abb88e89857efc4603694b892
+DIST firefox-118.0-tr.xpi 580795 BLAKE2B 5466d92fae70ac80c009c47f9e7d8f7fb7e90f151eb27a57ace307e1aa7784aca9f6b1d76ea1fd27a65cbee70d1dee53543b9be2f9ea76a0e4ea16de26d57f02 SHA512 373de9e7725950dbcd20396409ef8c6a5e266286db84dfe594cc7b63f5426983e983d07f6df1d39f0c236aad9f1ba07dc45f68407563d42a429d52203ad708de
+DIST firefox-118.0-trs.xpi 485847 BLAKE2B 9d812b1d7cb27723ae023b68ac5b58a078c7a7aee3ade550879bea834d0fb5ab537ff25093c0d9cd7d12e6b1c9ae086849253f42b5cce1e1f6c5271ec6224031 SHA512 40d5562202aa83c4325df84dc7d6ae4960dcb6ad070ac86abcfefd0df95efbcfd4db47769a1a85efd2b50639b54116e14c424f65039b048745ec447443f66190
+DIST firefox-118.0-uk.xpi 655402 BLAKE2B 0d0d01f39257abda6ca676a6ac502c54278e78b925b590fb11ea83baf90a9926155f901f388d03b9236cf64227ea240364aebeeba6403d96b1d5383875312291 SHA512 657c7e73b10b83aefb0352d0281db8da41936186d5cd307dc431d2220d8f01d73b2515ceb25fa3ea7c30b1b9cf5264a7b74939dc0a9bceead5d7346e2823b37a
+DIST firefox-118.0-ur.xpi 541042 BLAKE2B ba4a5b94589b3a857a53606acda24fbd730a246a1c1fe8caaeaad5104eea557f7b95ce9690f2e625b772283489371628a74bfe2c25857dcdf6897074e968a4a4 SHA512 965b5f84d320a65f48e42c8218a41970ee589fe7f457185a4c6f572d8b74c44db40c1a84caaf2749c735bad5acbe9b6b4357639b073bb608dedc1727213223bb
+DIST firefox-118.0-uz.xpi 462474 BLAKE2B 93d6f466feb43657bfdf7b4533a1c009b1b7f26d7df936247ce1b7a7ea3b99e71151c92e34f943589c81f3116e036b2cea9a2c520ed1832a762b583e41726877 SHA512 2867ae13f7943e84badcda014d60db5cff7db7b02c08d2fdf4fec4fdf251a1128d226c6ced867b900f29117dcf6c4809bc57624a62f968144308145a1ea90e31
+DIST firefox-118.0-vi.xpi 605281 BLAKE2B 51865b9d8dd8f1a5f8200f754df8ad6ee2207f858606c8d5f5e18a063dceadc0331f4b4506438a17bf7a57de5b290ef401ba128cc9cdc43629cb81ecb7d42e3b SHA512 095f8851750a7f804f81ac7cfb83e1a4a483251b2140340e58ad961e5f7fd3758e3d8dc6df4273470a1064c7c034e087c3e4f39546c9c35f248982e036ce8597
+DIST firefox-118.0-xh.xpi 401464 BLAKE2B a2423f2509edd33aefebe4e9523c0463d51745035419fb59e8595845574903e4969ec6d341eb5c4bb95194eef210682fb1faa140f301ee33750388af95367e24 SHA512 d40d0c276ef89330c41634619b9e5b0233be6090a3277de91c06f2647280637ecd405f028ae1d4349db5ed9726d4f9f1a62e81d51d807c00e186e426e1d022d3
+DIST firefox-118.0-zh-CN.xpi 604604 BLAKE2B 63bee140785e0d04c6fc4bb798c50267a5ef1987c2b7188a570d61cf3e3236cdd8badfe473822d63602df849264751dbf4de116fb7046419a5f378667b0d0bc7 SHA512 7ad987778bb5b514dda69370744a1e5b9f212238be9503444ed13ee177545742da0d6ee2db06b05ef40b991474a3995ee6aec4d4130c3ae87af91ff8d080cd07
+DIST firefox-118.0-zh-TW.xpi 606636 BLAKE2B b976d18ba6dac7f48dcf8e904e0bdfc670ace60c0f0375114a5f9b4d095e51514ee4975f48afb0f5a22065200d499150a4ccf264d61b611e1a1db2d6816e7bc3 SHA512 b028cb6cbf8b5dd7bcc3fda78356363e6abcae9cc2f5d81c0c7d7b24b52d2c9a179c069915f2c1125773fa88c8e008e758426345dbed18a2d8d0b8ba15a3e9b9
+DIST firefox-118.0.source.tar.xz 518635224 BLAKE2B b31aa245687fe3c33152675ec5c4b8368ae810fbb8830535343029ed87683e2321afa8fdd473a41442475164312847874af09ccb704d9b1404cd033d0a8af0ec SHA512 7c34c43930bda84d17a241fe7e0f8e6ca262410423ae7e7cc8444224aea2d25a52acc9079064ba57f3350e3573eb23aeaf7a2d98136d17e6fa89a61aaf57155d
diff --git a/www-client/firefox/firefox-118.0.ebuild b/www-client/firefox/firefox-118.0.ebuild
new file mode 100644
index 000000000000..16f775edad71
--- /dev/null
+++ b/www-client/firefox/firefox-118.0.ebuild
@@ -0,0 +1,1430 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FIREFOX_PATCHSET="firefox-118-patches-01.tar.xz"
+
+LLVM_MAX_SLOT=16
+
+PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_REQ_USE="ncurses,sqlite,ssl"
+
+WANT_AUTOCONF="2.1"
+
+VIRTUALX_REQUIRED="manual"
+
+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 linux-info llvm multiprocessing \
+ optfeature pax-utils python-any-r1 readme.gentoo-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/~juippis/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 ~riscv ~x86"
+
+SLOT="rapid"
+LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
+
+IUSE="+clang cpu_flags_arm_neon dbus debug eme-free hardened hwaccel"
+IUSE+=" jack +jumbo-build libproxy lto openh264 pgo pulseaudio sndio selinux"
+IUSE+=" +system-av1 +system-harfbuzz +system-icu +system-jpeg +system-libevent +system-libvpx system-png system-python-libs +system-webp"
+IUSE+=" +telemetry valgrind wayland wifi +X"
+
+# Firefox-only IUSE
+IUSE+=" geckodriver +gmp-autoupdate screencast"
+
+REQUIRED_USE="|| ( X wayland )
+ debug? ( !system-av1 )
+ pgo? ( lto )
+ wifi? ( dbus )"
+
+FF_ONLY_DEPEND="!www-client/firefox:0
+ !www-client/firefox:esr
+ screencast? ( media-video/pipewire:= )
+ selinux? ( sec-policy/selinux-mozilla )"
+BDEPEND="${PYTHON_DEPS}
+ || (
+ (
+ sys-devel/clang:16
+ sys-devel/llvm:16
+ clang? (
+ sys-devel/lld:16
+ virtual/rust:0/llvm-16
+ pgo? ( =sys-libs/compiler-rt-sanitizers-16*[profile] )
+ )
+ )
+ (
+ sys-devel/clang:15
+ sys-devel/llvm:15
+ clang? (
+ sys-devel/lld:15
+ virtual/rust:0/llvm-15
+ pgo? ( =sys-libs/compiler-rt-sanitizers-15*[profile] )
+ )
+ )
+ )
+ app-alternatives/awk
+ app-arch/unzip
+ app-arch/zip
+ >=dev-util/cbindgen-0.24.3
+ net-libs/nodejs
+ virtual/pkgconfig
+ !clang? ( >=virtual/rust-1.65 )
+ amd64? ( >=dev-lang/nasm-2.14 )
+ x86? ( >=dev-lang/nasm-2.14 )
+ pgo? (
+ X? (
+ sys-devel/gettext
+ x11-base/xorg-server[xvfb]
+ x11-apps/xhost
+ )
+ !X? (
+ >=gui-libs/wlroots-0.15.1-r1[tinywl]
+ x11-misc/xkeyboard-config
+ )
+ )"
+COMMON_DEPEND="${FF_ONLY_DEPEND}
+ >=app-accessibility/at-spi2-core-2.46.0:2
+ dev-libs/expat
+ dev-libs/glib:2
+ dev-libs/libffi:=
+ >=dev-libs/nss-3.93
+ >=dev-libs/nspr-4.35
+ media-libs/alsa-lib
+ media-libs/fontconfig
+ media-libs/freetype
+ media-libs/mesa
+ media-video/ffmpeg
+ sys-libs/zlib
+ virtual/freedesktop-icon-theme
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf
+ x11-libs/pango
+ x11-libs/pixman
+ dbus? (
+ dev-libs/dbus-glib
+ sys-apps/dbus
+ )
+ jack? ( virtual/jack )
+ pulseaudio? (
+ || (
+ media-libs/libpulse
+ >=media-sound/apulse-0.1.12-r4[sdk]
+ )
+ )
+ libproxy? ( net-libs/libproxy )
+ selinux? ( sec-policy/selinux-mozilla )
+ sndio? ( >=media-sound/sndio-1.8.0-r1 )
+ screencast? ( media-video/pipewire:= )
+ system-av1? (
+ >=media-libs/dav1d-1.0.0:=
+ >=media-libs/libaom-1.0.0:=
+ )
+ system-harfbuzz? (
+ >=media-gfx/graphite2-1.3.13
+ >=media-libs/harfbuzz-2.8.1:0=
+ )
+ system-icu? ( >=dev-libs/icu-73.1:= )
+ system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 )
+ system-libevent? ( >=dev-libs/libevent-2.1.12:0=[threads(+)] )
+ system-libvpx? ( >=media-libs/libvpx-1.8.2:0=[postproc] )
+ system-png? ( >=media-libs/libpng-1.6.35:0=[apng] )
+ system-webp? ( >=media-libs/libwebp-1.1.0:0= )
+ valgrind? ( dev-util/valgrind )
+ wayland? (
+ >=media-libs/libepoxy-1.5.10-r1
+ x11-libs/gtk+:3[wayland]
+ x11-libs/libxkbcommon[wayland]
+ )
+ wifi? (
+ kernel_linux? (
+ dev-libs/dbus-glib
+ net-misc/networkmanager
+ sys-apps/dbus
+ )
+ )
+ X? (
+ virtual/opengl
+ x11-libs/cairo[X]
+ x11-libs/gtk+:3[X]
+ x11-libs/libX11
+ x11-libs/libXcomposite
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libxkbcommon[X]
+ x11-libs/libXrandr
+ x11-libs/libXtst
+ x11-libs/libxcb:=
+ )"
+RDEPEND="${COMMON_DEPEND}
+ hwaccel? (
+ media-video/libva-utils
+ sys-apps/pciutils
+ )
+ jack? ( virtual/jack )
+ openh264? ( media-libs/openh264:*[plugin] )"
+DEPEND="${COMMON_DEPEND}
+ X? (
+ x11-base/xorg-proto
+ x11-libs/libICE
+ x11-libs/libSM
+ )"
+
+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
+ einfo "sys-devel/clang:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
+ return 1
+ fi
+
+ if use clang && ! tc-ld-is-mold ; then
+ if ! has_version -b "sys-devel/lld:${LLVM_SLOT}" ; then
+ einfo "sys-devel/lld:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
+ return 1
+ fi
+
+ if ! has_version -b "virtual/rust:0/llvm-${LLVM_SLOT}" ; then
+ einfo "virtual/rust:0/llvm-${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}*[profile]" ; then
+ einfo "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*[profile] is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
+ return 1
+ fi
+ fi
+ fi
+
+ einfo "Using LLVM slot ${LLVM_SLOT} to build" >&2
+}
+
+MOZ_LANGS=(
+ af ar ast be bg br ca cak cs cy da de dsb
+ el en-CA en-GB en-US es-AR es-ES et eu
+ fi fr fy-NL ga-IE gd gl he hr hsb hu
+ id is it ja ka kab kk ko lt lv ms nb-NO nl nn-NO
+ pa-IN pl pt-BR pt-PT rm ro ru
+ sk sl sq sr sv-SE th tr uk uz vi zh-CN zh-TW
+)
+
+# Firefox-only LANGS
+MOZ_LANGS+=( ach )
+MOZ_LANGS+=( an )
+MOZ_LANGS+=( az )
+MOZ_LANGS+=( bn )
+MOZ_LANGS+=( bs )
+MOZ_LANGS+=( ca-valencia )
+MOZ_LANGS+=( eo )
+MOZ_LANGS+=( es-CL )
+MOZ_LANGS+=( es-MX )
+MOZ_LANGS+=( fa )
+MOZ_LANGS+=( ff )
+MOZ_LANGS+=( fur )
+MOZ_LANGS+=( gn )
+MOZ_LANGS+=( gu-IN )
+MOZ_LANGS+=( hi-IN )
+MOZ_LANGS+=( hy-AM )
+MOZ_LANGS+=( ia )
+MOZ_LANGS+=( km )
+MOZ_LANGS+=( kn )
+MOZ_LANGS+=( lij )
+MOZ_LANGS+=( mk )
+MOZ_LANGS+=( mr )
+MOZ_LANGS+=( my )
+MOZ_LANGS+=( ne-NP )
+MOZ_LANGS+=( oc )
+MOZ_LANGS+=( sc )
+MOZ_LANGS+=( sco )
+MOZ_LANGS+=( si )
+MOZ_LANGS+=( son )
+MOZ_LANGS+=( szl )
+MOZ_LANGS+=( ta )
+MOZ_LANGS+=( te )
+MOZ_LANGS+=( tl )
+MOZ_LANGS+=( trs )
+MOZ_LANGS+=( ur )
+MOZ_LANGS+=( xh )
+
+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}"
+}
+
+# This is a straight copypaste from toolchain-funcs.eclass's 'tc-ld-is-lld', and is temporarily
+# placed here until toolchain-funcs.eclass gets an official support for mold linker.
+# Please see:
+# https://github.com/gentoo/gentoo/pull/28366 ||
+# https://github.com/gentoo/gentoo/pull/28355
+tc-ld-is-mold() {
+ local out
+
+ # Ensure ld output is in English.
+ local -x LC_ALL=C
+
+ # First check the linker directly.
+ out=$($(tc-getLD "$@") --version 2>&1)
+ if [[ ${out} == *"mold"* ]] ; then
+ return 0
+ fi
+
+ # Then see if they're selecting mold via compiler flags.
+ # Note: We're assuming they're using LDFLAGS to hold the
+ # options and not CFLAGS/CXXFLAGS.
+ local base="${T}/test-tc-linker"
+ cat <<-EOF > "${base}.c"
+ int main() { return 0; }
+ EOF
+ out=$($(tc-getCC "$@") ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -Wl,--version "${base}.c" -o "${base}" 2>&1)
+ rm -f "${base}"*
+ if [[ ${out} == *"mold"* ]] ; then
+ return 0
+ fi
+
+ # No mold here!
+ return 1
+}
+
+virtwl() {
+ debug-print-function ${FUNCNAME} "$@"
+
+ [[ $# -lt 1 ]] && die "${FUNCNAME} needs at least one argument"
+ [[ -n $XDG_RUNTIME_DIR ]] || die "${FUNCNAME} needs XDG_RUNTIME_DIR to be set; try xdg_environment_reset"
+ tinywl -h >/dev/null || die 'tinywl -h failed'
+
+ # TODO: don't run addpredict in utility function. WLR_RENDERER=pixman doesn't work
+ addpredict /dev/dri
+ local VIRTWL VIRTWL_PID
+ coproc VIRTWL { WLR_BACKENDS=headless exec tinywl -s 'echo $WAYLAND_DISPLAY; read _; kill $PPID'; }
+ local -x WAYLAND_DISPLAY
+ read WAYLAND_DISPLAY <&${VIRTWL[0]}
+
+ debug-print "${FUNCNAME}: $@"
+ "$@"
+ local r=$?
+
+ [[ -n $VIRTWL_PID ]] || die "tinywl exited unexpectedly"
+ exec {VIRTWL[0]}<&- {VIRTWL[1]}>&-
+ return $r
+}
+
+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="6600M"
+ 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 && tc-ld-is-lld ; 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!"
+
+ 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!"
+
+ 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"
+ eerror " - Rebuild lld with llvm that was used to build rust (may need to rebuild the whole "
+ eerror " llvm/clang/lld/rust chain depending on your @world updates)"
+ 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 use pgo ; then
+ # Update 105.0: "/proc/self/oom_score_adj" isn't enough anymore with pgo, but not sure
+ # whether that's due to better OOM handling by Firefox (bmo#1771712), or portage
+ # (PORTAGE_SCHEDULING_POLICY) update...
+ addpredict /proc
+
+ # May need a wider addpredict when using wayland+pgo.
+ addpredict /dev/dri
+
+ # Allow access to GPU during PGO run
+ local ati_cards mesa_cards nvidia_cards render_cards
+ shopt -s nullglob
+
+ ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g')
+ if [[ -n "${ati_cards}" ]] ; then
+ addpredict "${ati_cards}"
+ fi
+
+ mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g')
+ if [[ -n "${mesa_cards}" ]] ; then
+ addpredict "${mesa_cards}"
+ fi
+
+ nvidia_cards=$(echo -n /dev/nvidia* | sed 's/ /:/g')
+ if [[ -n "${nvidia_cards}" ]] ; then
+ addpredict "${nvidia_cards}"
+ fi
+
+ render_cards=$(echo -n /dev/dri/renderD128* | sed 's/ /:/g')
+ if [[ -n "${render_cards}" ]] ; then
+ addpredict "${render_cards}"
+ fi
+
+ shopt -u nullglob
+ fi
+
+ 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
+
+ CONFIG_CHECK="~SECCOMP"
+ WARNING_SECCOMP="CONFIG_SECCOMP not set! This system will be unable to play DRM-protected content."
+ linux-info_pkg_setup
+}
+
+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() {
+ if use lto; then
+ rm -v "${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch || die
+ fi
+
+ if ! use ppc64; then
+ rm -v "${WORKDIR}"/firefox-patches/*ppc64*.patch || die
+ fi
+
+ eapply "${WORKDIR}/firefox-patches"
+
+ # Allow user to apply any additional patches without modifing ebuild
+ eapply_user
+
+ # Make cargo respect MAKEOPTS
+ export CARGO_BUILD_JOBS="$(makeopts_jobs)"
+
+ # 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
+
+ # Clear checksums from cargo crates we've manually patched.
+ # moz_clear_vendor_checksums xyz
+ moz_clear_vendor_checksums proc-macro2
+
+ # Respect choice for "jumbo-build"
+ # Changing the value for FILES_PER_UNIFIED_FILE may not work, see #905431
+ if [[ -n ${FILES_PER_UNIFIED_FILE} ]] && use jumbo-build; then
+ local my_files_per_unified_file=${FILES_PER_UNIFIED_FILE:=16}
+ elog ""
+ elog "jumbo-build defaults modified to ${my_files_per_unified_file}."
+ elog "if you get a build failure, try undefining FILES_PER_UNIFIED_FILE,"
+ elog "if that fails try -jumbo-build before opening a bug report."
+ elog ""
+
+ sed -i -e "s/\"FILES_PER_UNIFIED_FILE\", 16/\"FILES_PER_UNIFIED_FILE\", "${my_files_per_unified_file}"/" python/mozbuild/mozbuild/frontend/data.py ||
+ die "Failed to adjust FILES_PER_UNIFIED_FILE in python/mozbuild/mozbuild/frontend/data.py"
+ sed -i -e "s/FILES_PER_UNIFIED_FILE = 6/FILES_PER_UNIFIED_FILE = "${my_files_per_unified_file}"/" js/src/moz.build ||
+ die "Failed to adjust FILES_PER_UNIFIED_FILE in js/src/moz.build"
+ fi
+
+ # 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_environment_reset
+}
+
+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; then
+ # Force clang
+ einfo "Enforcing the use of clang due to USE=clang ..."
+
+ local version_clang=$(clang --version 2>/dev/null | grep -F -- 'clang version' | awk '{ print $3 }')
+ [[ -n ${version_clang} ]] && version_clang=$(ver_cut 1 "${version_clang}")
+ [[ -z ${version_clang} ]] && die "Failed to read clang version!"
+
+ if tc-is-gcc; then
+ have_switched_compiler=yes
+ fi
+
+ AR=llvm-ar
+ CC=${CHOST}-clang-${version_clang}
+ CXX=${CHOST}-clang++-${version_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,
+ # AS is used in a non-standard way by upstream, #bmo1654031
+ export HOST_CC="$(tc-getBUILD_CC)"
+ export HOST_CXX="$(tc-getBUILD_CXX)"
+ export AS="$(tc-getCC) -c"
+
+ # Configuration tests expect llvm-readelf output, bug 913130
+ READELF="llvm-readelf"
+
+ tc-export CC CXX LD AR AS NM OBJDUMP RANLIB READELF 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 state path
+ export MOZBUILD_STATE_PATH="${BUILD_DIR}"
+
+ # Set MOZCONFIG
+ export MOZCONFIG="${S}/.mozconfig"
+
+ # Initialize MOZCONFIG
+ mozconfig_add_options_ac '' --enable-application=browser
+ mozconfig_add_options_ac '' --enable-project=browser
+
+ # Set Gentoo defaults
+ if use telemetry; then
+ export MOZILLA_OFFICIAL=1
+ fi
+
+ mozconfig_add_options_ac 'Gentoo default' \
+ --allow-addon-sideload \
+ --disable-cargo-incremental \
+ --disable-crashreporter \
+ --disable-disk-remnant-avoidance \
+ --disable-gpsd \
+ --disable-install-strip \
+ --disable-legacy-profile-creation \
+ --disable-parental-controls \
+ --disable-strip \
+ --disable-tests \
+ --disable-updater \
+ --disable-wasm-function-references \
+ --disable-wasm-gc \
+ --disable-wmf \
+ --enable-negotiateauth \
+ --enable-new-pass-manager \
+ --enable-official-branding \
+ --enable-release \
+ --enable-system-ffi \
+ --enable-system-pixman \
+ --enable-system-policies \
+ --host="${CBUILD:-${CHOST}}" \
+ --libdir="${EPREFIX}/usr/$(get_libdir)" \
+ --prefix="${EPREFIX}/usr" \
+ --target="${CHOST}" \
+ --without-ccache \
+ --without-wasm-sandboxed-libraries \
+ --with-intl-api \
+ --with-libclang-path="$(llvm-config --libdir)" \
+ --with-system-nspr \
+ --with-system-nss \
+ --with-system-zlib \
+ --with-toolchain-prefix="${CHOST}-" \
+ --with-unsigned-addon-scopes=app,system \
+ --x-includes="${ESYSROOT}/usr/include" \
+ --x-libraries="${ESYSROOT}/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
+
+ # For future keywording: This is currently (97.0) only supported on:
+ # amd64, arm, arm64 & x86.
+ # Might want to flip the logic around if Firefox is to support more arches.
+ # bug 833001, bug 903411#c8
+ if use ppc64 || use riscv; then
+ mozconfig_add_options_ac '' --disable-sandbox
+ elif use valgrind; then
+ mozconfig_add_options_ac 'valgrind requirement' --disable-sandbox
+ else
+ mozconfig_add_options_ac '' --enable-sandbox
+ fi
+
+ # Enable JIT on riscv64 explicitly
+ # Can be removed once upstream enable it by default in the future.
+ use riscv && mozconfig_add_options_ac 'Enable JIT for RISC-V 64' --enable-jit
+
+ 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
+ mozconfig_use_with system-libvpx
+ mozconfig_use_with system-png
+ mozconfig_use_with system-webp
+
+ mozconfig_use_enable dbus
+ mozconfig_use_enable libproxy
+ mozconfig_use_enable valgrind
+
+ 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
+
+ local myaudiobackends=""
+ use jack && myaudiobackends+="jack,"
+ use sndio && myaudiobackends+="sndio,"
+ use pulseaudio && myaudiobackends+="pulseaudio,"
+ ! use pulseaudio && myaudiobackends+="alsa,"
+
+ mozconfig_add_options_ac '--enable-audio-backends' --enable-audio-backends="${myaudiobackends::-1}"
+
+ mozconfig_use_enable wifi necko-wifi
+
+ ! use jumbo-build && mozconfig_add_options_ac '--disable-unified-build' --disable-unified-build
+
+ if use X && use wayland ; then
+ mozconfig_add_options_ac '+x11+wayland' --enable-default-toolkit=cairo-gtk3-x11-wayland
+ elif ! use X && use wayland ; then
+ mozconfig_add_options_ac '+wayland' --enable-default-toolkit=cairo-gtk3-wayland-only
+ else
+ mozconfig_add_options_ac '+x11' --enable-default-toolkit=cairo-gtk3-x11-only
+ fi
+
+ if use lto ; then
+ if use clang ; then
+ # Upstream only supports lld or mold when using clang.
+ if tc-ld-is-mold ; then
+ mozconfig_add_options_ac "using ld=mold due to system selection" --enable-linker=mold
+ else
+ mozconfig_add_options_ac "forcing ld=lld due to USE=clang and USE=lto" --enable-linker=lld
+ fi
+
+ mozconfig_add_options_ac '+lto' --enable-lto=cross
+
+ else
+ # ThinLTO is currently broken, see bmo#1644409.
+ # mold does not support gcc+lto combination.
+ mozconfig_add_options_ac '+lto' --enable-lto=full
+ mozconfig_add_options_ac "linker is set to bfd" --enable-linker=bfd
+ 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
+ # lld is upstream's default
+ if tc-ld-is-mold ; then
+ mozconfig_add_options_ac "using ld=mold due to system selection" --enable-linker=mold
+ else
+ mozconfig_add_options_ac "forcing ld=lld due to USE=clang" --enable-linker=lld
+ fi
+
+ else
+ if tc-ld-is-mold ; then
+ mozconfig_add_options_ac "using ld=mold due to system selection" --enable-linker=mold
+ else
+ mozconfig_add_options_ac "linker is set to bfd due to USE=-clang" --enable-linker=bfd
+ fi
+ fi
+ fi
+
+ # LTO flag was handled via configure
+ filter-lto
+
+ mozconfig_use_enable debug
+ if use debug ; then
+ mozconfig_add_options_ac '+debug' --disable-optimize
+ mozconfig_add_options_ac '+debug' --enable-real-time-tracing
+ else
+ mozconfig_add_options_ac 'Gentoo defaults' --disable-real-time-tracing
+
+ 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
+
+ if use elibc_musl && use arm64 ; then
+ mozconfig_add_options_ac 'elf-hack is broken when using musl/arm64' --disable-elf-hack
+ fi
+
+ # Additional ARCH support
+ case "${ARCH}" in
+ arm)
+ # Reduce the memory requirements for linking
+ if use clang ; then
+ # Nothing to do
+ :;
+ elif 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
+
+ if use valgrind; then
+ mozconfig_add_options_ac 'valgrind requirement' --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 PIP_NETWORK_INSTALL_RESTRICTED_VIRTUALENVS=mach
+
+ if use system-python-libs; then
+ export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE="system"
+ else
+ export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE="none"
+ fi
+
+ if ! use telemetry; then
+ mozconfig_add_options_mk '-telemetry setting' "MOZ_CRASHREPORTER=0"
+ mozconfig_add_options_mk '-telemetry setting' "MOZ_DATA_REPORTING=0"
+ mozconfig_add_options_mk '-telemetry setting' "MOZ_SERVICES_HEALTHREPORT=0"
+ mozconfig_add_options_mk '-telemetry setting' "MOZ_TELEMETRY_REPORTING=0"
+ fi
+
+ # 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
+
+ if use valgrind; then
+ sed -i -e 's/--enable-optimize=-O[0-9s]/--enable-optimize="-g -O2"/' .mozconfig || die
+ fi
+
+ ./mach configure || die
+}
+
+src_compile() {
+ local virtx_cmd=
+
+ if tc-ld-is-mold && use lto; then
+ # increase ulimit with mold+lto, bugs #892641, #907485
+ if ! ulimit -n 16384 1>/dev/null 2>&1 ; then
+ ewarn "Unable to modify ulimits - building with mold+lto might fail due to low ulimit -n resources."
+ ewarn "Please see bugs #892641 & #907485."
+ else
+ ulimit -n 16384
+ fi
+ fi
+
+ if use pgo; then
+ # Reset and cleanup environment variables used by GNOME/XDG
+ gnome2_environment_reset
+
+ addpredict /root
+
+ if ! use X; then
+ virtx_cmd=virtwl
+ else
+ virtx_cmd=virtx
+ fi
+ fi
+
+ if ! use X; then
+ local -x GDK_BACKEND=wayland
+ else
+ local -x GDK_BACKEND=x11
+ fi
+
+ ${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 gentoo-prefs.js
+
+ local GENTOO_PREFS="${ED}${PREFS_DIR}/gentoo-prefs.js"
+
+ # Set dictionary path to use system hunspell
+ cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set spellchecker.dictionary_path pref"
+ pref("spellchecker.dictionary_path", "${EPREFIX}/usr/share/myspell");
+ EOF
+
+ # Force hwaccel prefs if USE=hwaccel is enabled
+ if use hwaccel ; then
+ cat "${FILESDIR}"/gentoo-hwaccel-prefs.js-r2 \
+ >>"${GENTOO_PREFS}" \
+ || die "failed to add prefs to force hardware-accelerated rendering to all-gentoo.js"
+
+ if use wayland; then
+ cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set hwaccel wayland prefs"
+ pref("gfx.x11-egl.force-enabled", false);
+ EOF
+ else
+ cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set hwaccel x11 prefs"
+ pref("gfx.x11-egl.force-enabled", true);
+ EOF
+ fi
+
+ # Install the vaapitest binary on supported arches (+arm when keyworded)
+ if use amd64 || use arm64 || use x86 ; then
+ exeinto "${MOZILLA_FIVE_HOME}"
+ doexe "${BUILD_DIR}"/dist/bin/vaapitest
+ fi
+
+ # Install the v4l2test on supported arches (+ arm, + riscv64 when keyworded)
+ if use arm64 ; then
+ exeinto "${MOZILLA_FIVE_HOME}"
+ doexe "${BUILD_DIR}"/dist/bin/v4l2test
+ fi
+ 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 menu
+ local app_name="Mozilla ${MOZ_PN^}"
+ local desktop_file="${FILESDIR}/icon/${PN}-r3.desktop"
+ local desktop_filename="${PN}.desktop"
+ local exec_command="${PN}"
+ local icon="${PN}"
+ local use_wayland="false"
+
+ if use wayland ; then
+ use_wayland="true"
+ fi
+
+ 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
+
+ # Install wrapper script
+ [[ -f "${ED}/usr/bin/${PN}" ]] && rm "${ED}/usr/bin/${PN}"
+ newbin "${FILESDIR}/${PN}-r1.sh" ${PN}
+
+ # Update wrapper
+ 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}:" \
+ "${ED}/usr/bin/${PN}" \
+ || die
+
+ readme.gentoo_create_doc
+}
+
+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
+
+ # bug 835078
+ if use hwaccel && has_version "x11-drivers/xf86-video-nouveau"; then
+ ewarn "You have nouveau drivers installed in your system and 'hwaccel' "
+ ewarn "enabled for Firefox. Nouveau / your GPU might not support the "
+ ewarn "required EGL, so either disable 'hwaccel' or try the workaround "
+ ewarn "explained in https://bugs.gentoo.org/835078#c5 if Firefox crashes."
+ fi
+
+ readme.gentoo_print_elog
+
+ elog
+
+ optfeature_header "Optional programs for extra features:"
+ optfeature "desktop notifications" x11-libs/libnotify
+ optfeature "fallback mouse cursor theme e.g. on WMs" gnome-base/gsettings-desktop-schemas
+ if use hwaccel && has_version "x11-drivers/nvidia-drivers"; then
+ optfeature "hardware acceleration with NVIDIA cards" media-libs/nvidia-vaapi-driver
+ fi
+
+ if ! has_version "sys-libs/glibc"; then
+ elog
+ elog "glibc not found! You won't be able to play DRM content."
+ elog "See Gentoo bug #910309 or upstream bug #1843683."
+ elog
+ fi
+}