commit: bdf29e12e234e3031123e6212e1a11d7bbed1bf4 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org> AuthorDate: Wed Oct 25 10:26:23 2023 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Wed Oct 25 10:27:30 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdf29e12
www-client/firefox: add 115.4.0 Closes: https://bugs.gentoo.org/915979 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> www-client/firefox/Manifest | 101 +++ www-client/firefox/firefox-115.4.0.ebuild | 1374 +++++++++++++++++++++++++++++ 2 files changed, 1475 insertions(+) diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest index f2e49c81a376..7402941fa131 100644 --- a/www-client/firefox/Manifest +++ b/www-client/firefox/Manifest @@ -98,7 +98,108 @@ DIST firefox-115.3.1esr-xh.xpi 402423 BLAKE2B c80542bbd4bea684f26114fbe3785863ab DIST firefox-115.3.1esr-zh-CN.xpi 595486 BLAKE2B c24578d05d5b3c3f7dc2df7184fb575c3beedd9e20e4f9fa7bedc800ac0ce953309e7edcef06c4922f3d601906f195f5778714082405fb838dc5838a8f534ced SHA512 f9e3009d2ffefbebec11ddebce7b7bd7d6f9ddb84d5be85e1c178691633f6af95a3c13085f3ca6200d9d4d6038030f6472fa86f4bde0493acac2369af808b541 DIST firefox-115.3.1esr-zh-TW.xpi 597814 BLAKE2B 5f48207fcb7d6cd81c7a223447726012cbe8a3f5d0fe195460063bdf98f3658e11b28003ce27a56363b1ff474fa840f28f4c5facd50beb7051264d9cf18681ac SHA512 29b304dd87ae32df33ad5d1485ad4734c106d2641c6ff3bc60564cd27d9806eedd2e598df22ee79ae7eaa4045c7ca3a2fcbc724a70fd74c3fd5c06f6294da715 DIST firefox-115.3.1esr.source.tar.xz 515785920 BLAKE2B ad5ec24361e94d9185eed210f681c50159f5be3e6046d79200b5e2586107f1ed98ebe7935f1e266afadd570fc1aa6a1aec81fe3b7fb86efb48afe82514f26c68 SHA512 65cb6fc46bba03eed742bd67f8e36b63b19f2ad7b85d2f503595704a4e88f554758a1e66ba548c8efe97a76322fb2514db72e6ff4bb2992d1aaa86edc3af85f1 +DIST firefox-115.4.0esr-ach.xpi 441063 BLAKE2B 34e7063552a4f39cb263b6a1a57500db9a85c86decb9df0eb190d429c8756c1a2c5d29906da8398efa77d6acc9dd91d9384032b3b335dd103e7e629edebb7378 SHA512 16ef9451c1661b3369b19e641f5b859344beecd0e33da51816f507ee70329ee67c312985f8277177ca309cf028280cdfe1dc77ffd03eda6dbdc4a37a3d0b64ac +DIST firefox-115.4.0esr-af.xpi 402470 BLAKE2B 7a525657763939a8d53cedf62b6ee2632e9090e7413fed36c270f8154acdce3e360cf0aa089ba60bc4b14bf551562f43f5cbeaa6cda1eb214e4f04022cf9e392 SHA512 5482de6e9806a2a1caad197d49ce05a0e7683efbc6fc4c95457fc962ab3617b40918b09ba6e37271f9d360f590484378629753aa5f66348180357704f393b3ee +DIST firefox-115.4.0esr-an.xpi 482937 BLAKE2B e62095f5cc1d29e2ba45eb5157e8734fa231f3ffed46bf55fc38578ac806ab20d9527852b83169451678274e2c77abf83543cc0dcdcd44cd64ce67f097b7cda8 SHA512 2e277556f5cd5784a9c197b38966e2aa1d61c944fbf4a0304788fb44546b3b83f20742124a885941c6110a2b2fd38d21e4912dfe7eb067b554ce54c293867dc6 +DIST firefox-115.4.0esr-ar.xpi 549547 BLAKE2B 1e4cb939add44283806cf00194c8b9b2fdc48548158dc8fdbfc09b2a274b2a9fbee363bb5684868dd4fd396d3702b1237cb4560e205c9c4fedf42fcbf01a66c9 SHA512 27af768fc59faa991ddca5491aefc0cdab262619f59d351c5bfa53381f85ecf39bfab54a17ebf682c1d525c53e8f1a7c229062b7ef561dc710ca208fc697ace1 +DIST firefox-115.4.0esr-ast.xpi 477366 BLAKE2B bc01effa1eb83dd4d761f533900dc23bbada9f4806020db6e9e829b4632362c1349371899417e18a0333f8c2ae43463c00b1a6eb63a314857bc3bfea38b1d37a SHA512 9fa37e38ede8566f626987cd97045c2a8fee08118da298d55e31d55986cd480fb6496676bef399e87a8a19794f48cfde08c360bb6513ac5d67ffc53ee9e6ec85 +DIST firefox-115.4.0esr-az.xpi 470739 BLAKE2B 8eaab362dc77a3ee96337fad3fbe26777ec50ab0135f15e819bce9b2922bf63976be05d3ac4db4f4b4e4c9e329ff7790ff99cbb14be0b64af271ef82867c17fc SHA512 db5599cde46b79609b19791b4d0a4ead28599902e574aa352edbaf21bb1b51486fadc6265cbe7f8a51d388fecf61f403fc4f41825d32c46eaafae15226135933 +DIST firefox-115.4.0esr-be.xpi 647102 BLAKE2B db9afed9e265be0fb35127b5e527f32cbcad9292a9e085ba8d632208aa795128932d4729ba7131736013810123f76ec20605b99e294e82e712f5530378f599d3 SHA512 95b45af7e86f0436fee5b152ef2c02593543ca302731540f368f9b44871ebbdc7bad505a4c26a7cbaae76b36977bb4b255ab39306fd2f341d18490d3a50c87d4 +DIST firefox-115.4.0esr-bg.xpi 564177 BLAKE2B 647650095bdbf4a4fb84e54c6040271985de5305fbd6dd8c3fe65e9c5fc5c90910e480ba7ad394f6ea309de769edd7b7f145c61f13f454ff3dc900354f146c0a SHA512 a058bbe9cdf0d216056bf5d73f7a75439cf00168459b86213fade6afa325318224ed4b096c348116614af8b80682115d1cd07ab5862d7cd71c179310d2d6506a +DIST firefox-115.4.0esr-bn.xpi 558431 BLAKE2B dcfc6e48b43a53e61c0553873d2c3011ca93c9923b499c7792ec3ae86fc5d3b7eda61d3b6b044036f02fb6f5931c2d586d1ce0723109e7588dcc463be0dcd05b SHA512 591c2c4aff54e932747357176b69313d7b0a373e28896922849a313ec37127af9959a4bb9b09580f84ea59e8cb447c8bbe7c8c07b4bf1eb77fe57937041a873d +DIST firefox-115.4.0esr-br.xpi 534373 BLAKE2B 588b2070cbd25cffffe2a9149f6ab5652fa12c30cec7901ecd062acaa2d54cc1265057228e8aeb3741282b39a5cabbc83b363fb13bcbb7e9ce3deb510201c21a SHA512 66215cbf68f2d7a8c445e3db70c1336c5aab0137fb2fcbd8980f0d2c4151947080c130a3abf548b4bed343d1a1df506bd79b2b37dd6f72e087531c169f07bcc3 +DIST firefox-115.4.0esr-bs.xpi 441266 BLAKE2B 075e6128edbc90d933c920b75d5ff560869f32ac55ebbf7266b4e36ea85d6b217c4a6b414ed752cb8088ec67f15edeb54a744e37a1c596cc059d6e295383011e SHA512 62469b200fc870d6dd23421416e1dc21e1ba06c48fd53984ddebdaf82591ad4f3e7501baebf78577c8aeda90287f8eafe726e3423063167d1bd4da6671b0ecf0 +DIST firefox-115.4.0esr-ca-valencia.xpi 521958 BLAKE2B 6a3f41fb31101d671ec90776d5418d3780547feac8265647bf851ac220b6d9dba51ed9c610b1aa2f8762de92a2b88aafb2390299257cdc1ad0327d5e061bf3f6 SHA512 8139baf0b63ce41598594651ba91f1134709bc51791c1b3e82ba12621ee304cd0e77957c3799920477d4e7aba6805a8c0904997ed3ede031915694fed5dcd961 +DIST firefox-115.4.0esr-ca.xpi 545479 BLAKE2B adacc7ca535e1de78d0351c44d3a493cc768e794b925292bf4551c233e1efd322dfa8598a1b95f0e80f8bd70b3f36027d17caf3ad22dbcc5bbcab007379c6866 SHA512 5b60fcf11258b7323f0d6f520c02143f53f9a6ab4f9c769882949089996c9344dc867fe4763c6ddbe31444bdb3daf23b5c3533607b09e04380879570d823e89a +DIST firefox-115.4.0esr-cak.xpi 564584 BLAKE2B e98b8bb14dafcac1ebf9a9421df9531c08e21f62286c8fe9bacde0c9ca19fbec10400ea9d12e18863282bb68b869fff96310c590e79ba8a6a51176501acde35b SHA512 6d7b762df65e8c0ec1e77581b11864ee4d2a91f1d285e39de943b385901515b580c8efde3d7f8904a44ba13c9c09c35e8b192d34e785b9cd634566b7d1741bd0 +DIST firefox-115.4.0esr-cs.xpi 592269 BLAKE2B 90a9ec8e135b0a3202557a592866566af0ab8e779fe4429488a62bc25a0aaae8054a6059eb74cf006a66ee3149acece21859bdc38efe02e3d1783e7f3e9f3ee8 SHA512 670ba9d595a62b764726357166ed9edc0599ae333dad9cb6cbee194b34cd68076198299cf12621a6269dc4717eb4cdb81258f0084340f17434634e449ce308a9 +DIST firefox-115.4.0esr-cy.xpi 564700 BLAKE2B 4440034bfea763da9e5ae78f684b857c7187d2a07cbb4183a4d8b068270693f240d0d813be8894d55a5b6b520246971669dfce791b0e82a3471af4db4b9adf93 SHA512 464fc2e25a9c62aecda84d95a72195facea8e7089221649e221bdd4d274827b05f7f82c311b6e60036c1187fa971dcd03d0c0ff201f56bdf315caf312ba0f6f5 +DIST firefox-115.4.0esr-da.xpi 554022 BLAKE2B d4d0594dd5eaab2de979bda631b85344f00c49cbe6b086d8493335d610112abcb8af6992223cf558c8bfc47e6091781ef5ebb754b904d1f2a18c234e86b5e2ee SHA512 dd62abc877576d239f1bbcaab34e3d159528296a75fe2bb740d7124b8da90613fd85084d9dcde636dc0a0f549e400cbcd8848f7575e5b18b0f7c298725388b8a +DIST firefox-115.4.0esr-de.xpi 574634 BLAKE2B 14f94ac6fbdcc09e81c1313b968cac1ff8fbdfcd42bd5178df0ff6ecf25d1809d33ca7d51b3dcd8b3ce4afa877cec3daddc2f140609e4b29ba385fa7743acf20 SHA512 40050a16ac1a9d32e260b697a6687e90c2908658392fb77475675ec4605a60ffe0cf2a6bff23e24c0f87d2cfb8b5be96b438da55cd24551c908652c74435de5d +DIST firefox-115.4.0esr-dsb.xpi 589328 BLAKE2B 87bf433b01d659ec7bec9e8c58ccce8161bc72425f26cb89cd86446748f84001963f5ec5712a5f0474d07fce9c5de82960f5d475a4341c79e0cf34883a1b63f6 SHA512 bce3e92cfa7281c998ae57fa52ffd9d52db02bc4b28dc327b1e6c26b27a5af4a2e97d6d6eab5749cdf64f60b875326f558a5445f3ca181ed1377c01a47b2ee81 +DIST firefox-115.4.0esr-el.xpi 663760 BLAKE2B 454994b1e22a10207bca08da0e1ba8fafd619fa66e7746f042ff0bdfe530ddfae424cbc559fbb62f512c5cdcd7c9e9bc2c39ea9621003c3e0a46cd29cb438fa8 SHA512 c255daf3ce1d6a6217fd5dea2df9e87d3532700ed43da33ccdd276d7041450547969b8d12686394ae1fb4eb717dd152c88a501288faa638bbde87c276cfebfc7 +DIST firefox-115.4.0esr-en-CA.xpi 519415 BLAKE2B 4c3c318548f3820e5876d7d406f111b89495ef59b5792b1dbaf02ff782184b4d951b4ed6d20f9344af7440c66dc501d716f7eed9985b8385a655eb768325e435 SHA512 a466e730fa86c3e7c5c24214b3f9ad66559974d4ad9a30a8ad2e185791ec0606b8c8bb6f1f01e2af4fb0eb920e5eb629909f43dfbf517270281e5010f47e91fc +DIST firefox-115.4.0esr-en-GB.xpi 531053 BLAKE2B 0e9ad48b60e220181e9fb6c3eb3818c27217f0ab0210fa6d74e558a92d701838c6891c553a1f09c1880c3b3e29700d40d48fac7e782150594e420195426f0431 SHA512 6beeba999898503fe98621200b3ff0babf09db22b1b0251544d32405ed9d8c8c742bd864b0fbc414d32c661bc8b7a5d6d5c548e8a5284dcc1a251b62d66d749f +DIST firefox-115.4.0esr-eo.xpi 556387 BLAKE2B ff0e25b476be8af68507ba61dd1bb9b8693448ac8b664930bf2d1ada2fd33d409041cf97211025870eaf875bcaa2ec8a4cf25eecda500de683f23162bc2eed5a SHA512 68ee2c2048ce417f1235a325b0d9b489baf64e9c0a2ede0361abe9565d32729ca2a02ced21b96833cbac3dbd92ea7cfb6c2bf15361f56d7983fff711540bdfe6 +DIST firefox-115.4.0esr-es-AR.xpi 568956 BLAKE2B 74626e4fac1a5531b8d6fe4b9b9a4061627e31590956d7f834c67918c574c19dd3343eb1bd889df003c83fc62c82f04bf72022d2addc03d049a42957e959c809 SHA512 e24817e0105f4d1f6da8fda4174e38c5707209f1b21925060391b151476deb1e50d7d0de50e1ac2fa5357ff70da73114d8b6f5b8e1ad7fe0cc8495deae6646b7 +DIST firefox-115.4.0esr-es-CL.xpi 568622 BLAKE2B d614e459431bd97f21c6540482e790d5a5a18f099699d8a5b81f56c21b24abe92c46b68eba7132292441b96ac55c626033d496c4f8a030b677b1de4bd83a1bef SHA512 8161d072f699b5436e56428fc77b921ea13f43c929ee477f89accad361166b205c22d094a41348990df77086300af0cfc2c67190532b90b1a0d381675231e9cd +DIST firefox-115.4.0esr-es-ES.xpi 562060 BLAKE2B f9b774816349fdd73bffcda8ed781b7f443e0a20a87a9dbb021ad52c24ab1c39ce25268d7092600d1b46533f159421e194ba65d74259123e0ce3309a8b9b34d8 SHA512 211efe2fea3723e63cbf05a13792d0f55ac563dda89ff5adf90e9bbd37238742b312248b9b6cb775016a707232f58731b8c38a6f4f735991e39ec76ebe70767b +DIST firefox-115.4.0esr-es-MX.xpi 565310 BLAKE2B 6e3d1677730e66b1e367cc0749e338c7d0390db026bd8f15a669f4f6926639a745af23244420a9765124c2dffef1bae447b4adc75a2e419fc584a488afa53881 SHA512 ad24c5a3eec82fb9f646969a1c55aaaabbc9a8cc8300792472c84cedeb1bb16d849cda1c0ae6e2e27cae9e06f5bdcad4bfdb7d45732142d0ba3f98509158d91b +DIST firefox-115.4.0esr-et.xpi 516126 BLAKE2B fb427ed9bc3efd87f89970882161c8f826fac33a17a13a30b101c447791f8f4b2071888c94267fd973da6db8c3ef9848847cf4520ae8d9e3c3b5c5d6538bb080 SHA512 72e0e631592dcdd73b4e0b9ffd00802580b8110f6822024e3f36baae0fd6fe7f617f30d78f864309576261f0178633fdb741863cc95ade26db97890bcb9b7270 +DIST firefox-115.4.0esr-eu.xpi 551618 BLAKE2B add0508d85bd2ae4f8136d128c7a6ffbd1ee9392b82111398e0def047120fdbe076f15875fcecf010953d39732d3aec761c77331c18941ddb56b29e423741836 SHA512 0dad65c855a24e10b170dc70802caf50568cad40e55911f74ecb7bdf29a8be1603277615629a1495965fb1c03797a06164669c3f5a7621cbc38de35ec28e6f91 +DIST firefox-115.4.0esr-fa.xpi 564540 BLAKE2B 153d78a9f0e6e2181d992be1d534a73b5282fb753e008e6a530b099c7b55f216a2f642f6b7a316e94a0d23e51a9e97aa55db96395bd7bd3c9bbe74d07326570e SHA512 8fd8cc42b6c7cc6a049cf1d6726345f8857d242cf01a7e5db3b439b382c090f30913c665a447a729ade44a76287dd60f77683d3a7347f5f6f1388f8a2eb4f9d3 +DIST firefox-115.4.0esr-ff.xpi 457105 BLAKE2B 344febe823eb6260fdda48198f8c0d0e24006c9004084c87f84effd5201b0aaa1125f242f9415121c0afdc699ab9b0c163129509d731a6b307346bed19a2df07 SHA512 45b834764f5781131daa120193ef7d1bcc80571887cdc7df93fbb940a44019e7fbd24dd695b80b9aae265c307b9b4219f31ea86b3285f71130584bedbb64d7c0 +DIST firefox-115.4.0esr-fi.xpi 551240 BLAKE2B 4d450e53d7b76c6ea8150629e765e29dcf3fcae9bd2eee3448e03c518c65883a258f9d6ec7d51260fda1bf94a9a84c79b8dc7b096d6f098b1c02e5d1cafb0ac6 SHA512 fb250dff94813328485531b95995010f2888c836f1dbda83b0dfdbeeb6218e53d46fa78807482f399ea0956638b05053a4814ab46daea9a69231c25ed6cc2a1a +DIST firefox-115.4.0esr-fr.xpi 580600 BLAKE2B 811ad8b58ed0f6951faa8ff024dd4eba342809588caab9898578d500852ec5315efc27df60e47255afa3922daf1a107d47f01139f26a86f76b4f9506815bced1 SHA512 59af70c39591489ca7ae172043913ec4485741b2f4ef86734a863203ac47514f637f5aa3671897203ef27adf8c4390355651ded67f7053f7598652c3a9c3321e +DIST firefox-115.4.0esr-fur.xpi 573081 BLAKE2B b350a449cadb969dfc73b4afc1084d7bda8833ebfda6dfd93cbeb3a01efcc0eafddeb06003c6bae8e2403d9f24fc1024e5482599189a9b54a4c8ecc97284bc07 SHA512 3072eac945caec1c8a23b552a2166ce2757f98d5b0781885d39a799d3a306e9446ffeea6a1d9134bb6322ac0055dca50ba1c4ed3c259ead33bdec8bae317e505 +DIST firefox-115.4.0esr-fy-NL.xpi 564939 BLAKE2B dfdee09df71171614c099c121e2919efe18ef821eff1e40ebb706506f89444007d83bc7469f5985854c1220e652208d1f0223efe483c517b19c6a827235de00d SHA512 aae30fc1265bf45453b182a3a71b0dad488997260941130598eee920a3eccf67fe8a8fa06ca4bf79f8217a9000913eae074c90589deeca2e67032fffba1fca66 +DIST firefox-115.4.0esr-ga-IE.xpi 454336 BLAKE2B b66761e11cae7d75f0bc2de8ef754f0ba35c52029015844bf325dd2a9c93a44b55baf60a7f5d884fc596f1edb5b1a2f5c0dc1174d1276c98fdeb6c99db1aeb69 SHA512 12399d063a1b21995d07cc9d23e41eb99f5f4efe586d8ddfc165dc7a0203bbee5f0b58029c08b7bb90c691a855d2c8bea9e65fe2e3193e409af8631dca37e894 +DIST firefox-115.4.0esr-gd.xpi 566972 BLAKE2B 48957a3d56aad60edfdbd78e3cebb65a064c664afa33746c7a81346aa445214a22e572ed2e637917bd941156aa7826b05111fca5619e6882ec6f347624ab10c9 SHA512 ef629c5bba2cb92944e0c68a44c63bb3bdbec9d6f230b1ba5c07b0cd6f9872dea2ea2d71deab4a99a0bf37d9302eee6ca5a82ce93036f8d8ae89ff083c9bea4a +DIST firefox-115.4.0esr-gl.xpi 565481 BLAKE2B 72993c803401bc8317281b23c98f8408bc27406ea061f588e360cb99c0ca7156dee89024404452b477ce8f15582a880af61fc097754a71eaf3bb95c195dc047a SHA512 0072faa6152d257860a4cf490b8f53bac0015a398f48bd1003104de95621a34840bf2f7989cfec17e4751a77b5507f6ff31404890373b581a36f57332abeefda +DIST firefox-115.4.0esr-gn.xpi 577582 BLAKE2B 0939908c8fd0a54228f0ceed42f0f1340ed86174741975f331209b0f2225c4fd1ed54dcf032346bc7079ff24d4f543042219f8e0687c3d241429ca21c44a2945 SHA512 273820ea1d7fc90eebf59ada315920f94a19e68aa5458d501089c8dd11a8bce46f829d577832a663a82512564869f8e1ad371e0c5fdac21756d8abd5d67506a7 +DIST firefox-115.4.0esr-gu-IN.xpi 506689 BLAKE2B 7dda59c465b5cfc08501c0dfd648ca2b50f1f0d9317f060d4b11eb19f3f12dbd70b7f04a9e71e75634dc5264870470fee860464c9cf288030fbd0d3be7162f5a SHA512 bc8eb6057c115d693c5907004dfccf4facece512805f8f93d5507f0099a239e7a1a7ac461c94ac6fe052f7380e6712968a89a71d2a117ff0708a85e3c4ce5d90 +DIST firefox-115.4.0esr-he.xpi 574385 BLAKE2B b742ed6b731f8b209773e6f7468ddae66ef8f5da7af046b75ab04443d99cd91ca3046b03fe6e62227321dfa0049a77ea8e878dc864c02f1c789b29519e988679 SHA512 1a2f0d46ee936df49397d54ed4e9e4b750184b731a99126b347908b39c9e2c2a4143febc0c2a403178fdc3b35ecf29687d936b57745490137aeb26f704b8fb0d +DIST firefox-115.4.0esr-hi-IN.xpi 538825 BLAKE2B 5c3243cb60e5acee28f13069657ff209696fafa766b7ab28e32904f43406aa8fd9e022c621c369dbdf1fe554508520f979d472855eff005b8393bde363cc0ab5 SHA512 1292175704c404b8ef1a6f79bc15d18253714142522a3cae16cf44e5f82efd917348f06b3925261d939d1165f2ceed84f483f59f3f847a1284cee59c5c0be542 +DIST firefox-115.4.0esr-hr.xpi 531642 BLAKE2B eb5ea33310a237f257fa262aad8f3590c6ce4d1f18f467e9e1eecf743cf516d54c92e2d0fdd7f3bd13d7c08d2f96ec5e07b396d3953861defc095690f0fd082e SHA512 1a47df8d5bdd4f602e66e0e6b20f1d169faf19a0a16f1e2e8066c88fed2c26c86db7a86efeed1fe8cdd69053f759e6aef2abd998e985457aaf7d8ec08bf15a14 +DIST firefox-115.4.0esr-hsb.xpi 585523 BLAKE2B 907050303955ab851290e0a9913555332a93f9ddbed475c927716ef57317d127eee09845b86801734a1741a756b50850e98ac40c168ec5e3d58173bb06b3375d SHA512 6fa4a8f1602bfb7c610ac44d6df410fa603839b4ce5530988f8db45c6ae08f2fe46ccc6e23bdc22f1b90b768c8007602f277f32a912c0b2877495f4fcc1f69c7 +DIST firefox-115.4.0esr-hu.xpi 588967 BLAKE2B 3aab58eb7fe01e77cb7ba6ca632f6b3ddc21425cfc7550b8045a1aa6824bdc5f2db9423c1e0ded59bb4dc5f1fe990cbf1c4eb5bf00cfc0358d397b5e86b7bcd7 SHA512 57dee81063ba9408ff7cd44c76002506ed64acc85bf18ab84dad8aaddf1acd0d9179ee9ffdba2046190a78e3acb04ced9ffb110181131d184007199c5aebea92 +DIST firefox-115.4.0esr-hy-AM.xpi 579203 BLAKE2B 5c0834c43ad43b203fd3a76778731706168966c9404a6f7a89f38791f303dec598be39b482ff5538097c0d13d51180ff808836532583736c240419d36a6f1546 SHA512 fd27f520348e3b4452b6c31a94dfe3cf97596f58eea2dd10461b033088da0104aaa537adf1db29d9e9fe976d910ba87421cc38cd9f8125ba9367b7f5d75fc0d2 +DIST firefox-115.4.0esr-ia.xpi 553072 BLAKE2B 2b00e9c2e8db941c1d95b36ce4b0be1a73e8eaad009dbadb09e962692e660b2b8e6c5e0721abb33b9ee54dd9d40383295048125214011f99d12b325d4b61d849 SHA512 9904f680777c02392fbce695173d5f2df27d263a4081fe72b790d089073a85cbfedf9c62011ea590d81a18f223ef0a1f9bbe6996bc0bd309658821a6c4ed7f5c +DIST firefox-115.4.0esr-id.xpi 537737 BLAKE2B c09a7e6260fe1bda4ce0bd7277138f509b9b9253e2f8c33ce98843d34d16cc4acab8399344b3b21dfb0bd6e6c18d008562d0b66dc7726ed648f8e9361b4d7352 SHA512 dee5fbe935ff738be68c0a2908338b94481a3b638ef0f36213b560846b2e5f26ff4cca8d52853a51dd82edb60ee8c8f25c266b5da25ba10622e5d3e6fb304c2c +DIST firefox-115.4.0esr-is.xpi 560796 BLAKE2B 1ff98c3f7ff3e3da962ad447571279facc0fac830823d384769e0f427bdbf3f8a31d071596c02c560305b836895b996b74670f364e9bb5f4f726f4ca6bbb3c57 SHA512 36c4fda8c9919d1bbaa71cbf07d0078925b80769b6984c9c65184c5c8d6501156c00732a9738b03aea5246aa2c81ee81746b9cf8fab2b64659c72e96b30c28fc +DIST firefox-115.4.0esr-it.xpi 507476 BLAKE2B 20df7fa90e6fbaaaf54406c5cab3a6212b5c0cc120ca8a5b64b70b5e43d1f97e304cb4dca211c80001364f513daeb74eed77d812d672ea634155dc0d16711296 SHA512 42a4a5cb3a96a475df82146387e7a05d81769085f53f353973f8d158df423cc0de67efb252bc8dc29f7f2cdeb1c3f333f6d386806b2f3e7fa2cfcbb44ed09530 +DIST firefox-115.4.0esr-ja.xpi 634418 BLAKE2B 5b31f3f761e4660562cfcf56a3eeaffe2ed7d9f95b4f8d7b84b215e906a1c2f965632d25a868393dfff39c8c809708a04766c31b5479fad72e71fc8915334c9f SHA512 77670a87246af26d08a5ff004feeaabd76eeaeb095cf536aa628e2827c3aa6d79f860b3b44410e8b71c91c20e9719bb7eaba093a68eadb4ae4a0eeaf4c990fa9 +DIST firefox-115.4.0esr-ka.xpi 610752 BLAKE2B 02414a869dfb3bfcfb77c4e3cbd5982b9611f8501fd66b95dac0193b5e2637a7373386b0b3e7c82b3b5b208ea974d6a351218c877a3b70251dff3f9574f6fa8a SHA512 460af5ad1709ce00c3d147c2a7d7eb334e52f3f1ef1ea7f4919aabafbc88b91550dc905d4316a3a5ab8e98d4886951ee2c1a058859401b4a2d83743e65dcb21d +DIST firefox-115.4.0esr-kab.xpi 562648 BLAKE2B f99328145e0a7d41226f0769a00baa0010d48f9905a82d17859ce9bbe8bfa30ad26fed6e29cebeb9ef09babc7209de5f93361910b405262ee19256c3287dc520 SHA512 07c563731040bf3647600423ae62dcf67b11df3cb0f498e46b68b083c44ad960d6d2aa14ec1836bc09377db3bba571ba72a115ae45ed96a78b12e17164538ff7 +DIST firefox-115.4.0esr-kk.xpi 639131 BLAKE2B 277b74c133c5a4adb7f1e83fc4220584ee605c3ae4f8a63dc0e3666f9f1c4e9d6315a0ea5721fd047b2a1fa2519873c0d9a83262bbaac2179f06390eb7b6c6fb SHA512 d4290ac7905a38930b8319cfe747e2d3db62ca32b4c9938d7bfc69d99cc33ec746e4ec20c98c378594e40acd99e3b4915752a29c97c2e88eaf4c6d452e19444f +DIST firefox-115.4.0esr-km.xpi 508119 BLAKE2B 683036ecac37f41387799bbb6cdfa03ca3503fce2ad279cc321cbcf2930a0656a7c4ab3afeaca8b29106b08b68e4c7abf042bbec80b484b859555e07afa85eaf SHA512 6c78eb06ab95fef892ae1b78f824e7cad9ef14b37469ad15b355251acdc42b500ebe8b8b2e58d4b9677d13451adbc3dbf40bf109f4f09352cbe32ae822e89730 +DIST firefox-115.4.0esr-kn.xpi 473769 BLAKE2B 9a561a3aaa89250e79f496efb6f11371a0ef47f1ecba2c1658b8d4a149be280400103455f1a073018aa390f4795205a8c36745edcb06a0c15cb1432d24825332 SHA512 cd7c9e7f48ed721cbf415f4d1b0fc1a5f10c9fb682cf284151cfa8aef81e7839e3ca8cc78bd6afb0200dc5aa442d2a60bf3b68ec5105dec49d5858192de6065f +DIST firefox-115.4.0esr-ko.xpi 600388 BLAKE2B f7b9453ef874a570662ca6595f5ace5861f2ec3450e15c042f905faf19a25d4347851b4480ab62a7b4d535277e0cac04bb1665b4a0e3bc9d2e3072af8cc82ecf SHA512 263ff291ed0d2c586df1a471475995464ed3903767011a5cf5d7a15a34701bf9107c6565feaf5668cd32a7f5224e061e5746230a82268885dbe46c1a7a1117eb +DIST firefox-115.4.0esr-lij.xpi 463744 BLAKE2B 6d0c8ed06ae8b4f1938d37619077c77500010118a1b9df5aa201e54462e6671c4752f9cc1606aea277e8593106f00d59b25a33ecbb8bd71c25ce7a14b6e283cf SHA512 1402db33624bf0c0f8dbc8541493d355edb24a9ec4de10ea68eccd991ef919fbe37e7dc476ffbe396730ab3f8f8127861f07bc4af996ddf1069da48c9df3e343 +DIST firefox-115.4.0esr-lt.xpi 548297 BLAKE2B b2ab15b52137555ecb6fde2d9b090f28d07edc760ece532560f9f0d93a524fd3574312c3403a7d84ec59574525df1fe1694289aec381fbe8d56d9c7ec1ad13f0 SHA512 abc0d478c77d788eb15d3210ecbc204ddd8da6f854d8f413f0b4d91186be93ca01645ae768b27ec499c99cede3c2905d9f4fd347bd928f4d055d7a68c8995fb8 +DIST firefox-115.4.0esr-lv.xpi 450746 BLAKE2B aafa95ae83123bf6f6cf7c3ad23aa6e1c0fc475358b1482492d51229ecd8e59b7c27a2b3a4cb9a661bd311fcc9f680f3fe3bccc9ebab43c69d594e9b4e42b907 SHA512 e18466f5ca56a26c6cf24650af99765d12e6221560c24ea270e8673fbc06d5eac16226d3e61cba03ea80629685cb33ee528dbc9da5e5e1ae35cbf1598f1e2ffd +DIST firefox-115.4.0esr-mk.xpi 470107 BLAKE2B af96cb037059b49ae8d9bc7798f80ee00cbe5ba16d542bc0673485c9aa863e3cc371e637a35221ce85f3c7b5501fa575693815abec2eeed26fdd106a6b40f180 SHA512 31ce1d492715ce7ee13f0a77f0bfe66ca97db879073c360f6218a9a75d9b0ff2203c3b6069f963cadf0d7e970e90d8e200076da4ee2c3f7c88ab177891eec812 +DIST firefox-115.4.0esr-mr.xpi 510463 BLAKE2B 73926dce44cb532f5c62ced61731c0689ee2e17ccaccd52bf75c015275cb0998aa445c82f0beec1b54eb484cb04c6a0b17eea5dee4324f4e2073d7d675eae04e SHA512 6f35c6f0223aa798ce89b6273eb1b27cf4d1707c22fb9b3fdd0016d28d3df1286763f49f7f727f8bd979c76c2e39d746e9e2fc6503465d1c54410aa47dcc7eba +DIST firefox-115.4.0esr-ms.xpi 431281 BLAKE2B 071f636c180d2488ea026b6d0d5a79300d88f4b1619523c3ddbb13a75528046ed316570806f57d32f0b8c6ba51f5ae32798170ce150a823765fb335ed15d045a SHA512 2b5099b7dd60e9fa0e60fa9c99b9940b1b1160afac5661c815cad46704a9bded80d9d57dd6354bc0fd40cde9d1b82c32d9c4145ee2767dece91d0d938fd15617 +DIST firefox-115.4.0esr-my.xpi 493665 BLAKE2B df6dc170cf2e03567ab2766c3530eb9459f2dc41590c342b77c3424510195c68a73ac7f9426bad4f100e9a3ee293582de3c6e076dc08be54090112b8050424f5 SHA512 c4807952623d2fb7eb5ec9399ef4afd38486efd8d2524bb981d1fc8ff0179b5e1ae56b27d4a733cec034ec65cdeb1be63b497fdb81ae444c5fe5de4e4d9821de +DIST firefox-115.4.0esr-nb-NO.xpi 548967 BLAKE2B e417bbb72d2e9a6f426b47375f64f459effde4af1ba51f4a55b9324a4ee660f7b3964bd3fb6c18dd1b893a73234f7d08cfc0e55454802fa05e14246bf5b1093b SHA512 e0d3ebfc2f99258c83e6d872a8092b34beb3637949c8921b346f3e248b78718c621e182f512c89aa2ea15bd65014e62306425752012674d22e2acc44e0b07494 +DIST firefox-115.4.0esr-ne-NP.xpi 468993 BLAKE2B f8490d74b961b8acb8a1b7783d6ac2071bdf3589439b8117f415b02d965eb04db76a84b2731baf24ce01b384457846e0b5c1402283e3b5200f79e44ff2a599b7 SHA512 26ca8abeaae905a0746f6723fb8021558820b74301ea0f028f8c0d4fa0ab62d54a01f5fc57d407cdf7f7dbb7371f3887e60e826b0fc09acb491146c45502b01e +DIST firefox-115.4.0esr-nl.xpi 559208 BLAKE2B 77b20ba9ea806b176266f3ff584b481275a03da49c6c68a04a2aa9856d84b82bbed26094cdb5627f05feda5f2fe127e0d64d337792fdae298c31882df4abc2eb SHA512 a3689c6f1251854b5ecf24e86c5fc4dac32ea1765355c152d7b80c5c2a1b6958ed088bd60f341b988c9e56fde0fa58b5dcbe56608585f5eed8365f875009473a +DIST firefox-115.4.0esr-nn-NO.xpi 551975 BLAKE2B 06fe7b3cd15b6f489b321eb4f261376693ecb5b4606dbd3975eeffa95c51ae2ec7abd6c99d5e8f06a756e3cf7cffdff54cc020eece96606dea063729f7b86b57 SHA512 c978855c53bad1d47961807b463bd454af60279766c3c3be93b7ebb1112e101da931b2be3b14549a1e7e64c4625cde5a85746cb16cb05fc702539ca78aee00f8 +DIST firefox-115.4.0esr-oc.xpi 572155 BLAKE2B c93ee5ca7876ae4a16358dd1ae843b7b1c22f86dec0ec99d0f0e697b6e18ef9c56d182f4d76179c1da1b5a7e6aa14844181f9878159bd9a635a607a571852ea1 SHA512 0b056968dcaec1640d09947ed9e8780847804fe4fb7a2f9e058d12096acf353dc89ae9c2567fb49cb5b687fb10ceb3e0878d35b4c818959f8a869f26b827c64d +DIST firefox-115.4.0esr-pa-IN.xpi 626120 BLAKE2B 1aa8b0af487019de323ea30b42235d0d8a27827d6a9012d7a6276d17ca0ad2155dcabcf299e0df52023ea203470d6a1a5dbe7c44083e72d10d4cf4e9c11d961b SHA512 34143e00ca29a798af3ec86ce3c384071fcf17825a705b08aa3f90e1f16e3bac9ccb422991cc04ae56d3c6c2853e1b08b51489709dbcb269d8f28316bfcdba02 +DIST firefox-115.4.0esr-pl.xpi 579834 BLAKE2B fea6c576e318a25346e361feace07e35e96df0460b34ef4a5fe61a7f424f82168aa34206c8bf3a4fef70ead058a2be99140bbe3f2a1c468dd44384d17ff3b7a9 SHA512 ce26c904221cfb3048c05e3bf094bdfe5e1ff5288c43927bb12704f9be3f038540b394db83621413331c24f7b645201356942e004539b8e5c07f2d851829fe8f +DIST firefox-115.4.0esr-pt-BR.xpi 563954 BLAKE2B 9dbb5b4c477feb40083c99afcfdcaa7ce83824d3a541e9bc94db86a9017b45851ff549681b22b44ed4c4daba5442f662b59f1a3dfb04cb711cd45cc3eb6e7692 SHA512 ca56bf1bf8e885bd7245cf8a314eb1d0e068fc4707b5b614c470c41cc32898e0002189f39f724bcf9c6054d6eb9e8471d31c2adc20c8a058fe6d6c4774d05ae5 +DIST firefox-115.4.0esr-pt-PT.xpi 569059 BLAKE2B 8574162c1332048e73151caf521883700405e65d047e0edbbbda0c4a4487fba8bd53672e5630586809d84f32435fe06119a69b21ac766a2169b3048a59c2f2b3 SHA512 6a687355f3c937e6ca204440014abad3f0b5d02c5dc991abd6bf0dfc07994f9acbaaf6b26a4c0313363bfb6079f40d6457351daa7326f76b6c06b0bc12d6f7f6 +DIST firefox-115.4.0esr-rm.xpi 558669 BLAKE2B d27adeb3a9c1b39f20c2ed2b4892f9b9518c4adf714a89302c2480e344ce48da93677de17d0355f6f9f2548a7f331ad7abe18bf3f6428def8d1493137b012823 SHA512 f9441598f013f07d64cb111aed6e26c5d12b7c187ed89aa27a3e15ac244ceecfb223765f297deefbb0ee6a87b67982e890933696df913b3e909f9042c3e90ae7 +DIST firefox-115.4.0esr-ro.xpi 524813 BLAKE2B 00ef367673c83105668f24f1a81dd86199396d05661816af624d6c455c385f545f34b442314890a01bf1eefbf4389ccf3bbe51b4d8533d8f78be043fbbd74141 SHA512 0c607d1f4a3e55066157de5c4146c7ab3c159a5de2ec769f509f73513d533c4559605d4c9b2fa1ebe70f191319239e76db672b14fafeab2e43f6f4cd17e77811 +DIST firefox-115.4.0esr-ru.xpi 651425 BLAKE2B 608dd6ea6d229469a941acfa671504aacee4f0d94004c1a81f3c3fdd097d24a93390b6777bcbb6af5c7fff36f43dfc29c804adb7d3d12319d1dca9af2d1107d1 SHA512 63aabf0cf4b4c97a04c4cb8339e962cb8ccc43767af009cbf81e870161c211c8b5da7c30753bdc347263b233d3335c23361c30772456cc2c245cf88b5562a9f6 +DIST firefox-115.4.0esr-sc.xpi 535152 BLAKE2B c31b467a40a738c8d4bb9f0ecb506f6c20024a1414003f51d05d21ff71f68685d2a8028af9d6c217107cc1d3b276f2e4ed42f3ec5a9e1107232248f5d0730ceb SHA512 fd73ac0f6f6e7db38d9403f8f752c05e61270163127643d0d3ae010e62e6e390ab6fe1bdbf2df1e38cd8aa91816207c8b2ef3597a336e26357f31b911b5c8825 +DIST firefox-115.4.0esr-sco.xpi 489687 BLAKE2B 0dbf187ad5f53c60560d7fc2232b5ecbbc64ca8e8ff6ab207ff98429b78d9f701a129c673c14290d8ec08a1c518248f3413cc2f3f0bbda4e10561a0c21a2e119 SHA512 83e457b44a384053554c086627a8a24dcef5649359cbe5b38b33dc3cdab916edf935d0be3d3743f69824de1a181c9b3ce7d89d8fe8e8944970b7752e38138dd9 +DIST firefox-115.4.0esr-si.xpi 569013 BLAKE2B 84fae3cd048286c47f997ecb99560c07fed7ee7111ad84e66de53ded6bdcf749e75d920dc3f914f8f79250625a08346c8f82b84c3dc35e3d4be19f9adbcca346 SHA512 67b4a02db1ec3cf9fe1ef23f9a91ca0fe84b467642bf7aa878373f510a496f1676615a24fcc7dff900c7487bb1d8a1174aa4f4cb6dbd740783b0961d8909a695 +DIST firefox-115.4.0esr-sk.xpi 589729 BLAKE2B 6011f83ec7962cd74165b21c19306d0f75b6af45895b0185e07602fc40c067543ab1fb1d0791648e54874c3acd95b4f8433bf49a1a6b349893ac35e845672123 SHA512 8a94c0b6a169557ba445871004388c9f7528100d30cecb1f0a3985157bd9dc8650cfc1a9de11633f83cb6e3f3cf32531d0fdd5853a34b540e0442efb3d88f010 +DIST firefox-115.4.0esr-sl.xpi 562527 BLAKE2B 631269aca5f05e48ac35208a4b1ef82fcb9428b847a95e67ea0a6a0ce5a0c71d04f0517c5843b54dc589eea32ad4c88f143c81c45f2e60367f7f3e4b8c6cb4a4 SHA512 b62cc0319952f98d9817384776bedc6c27bd0d50c50b3fa1630c968879398f0ff56d70f558f634b3c6349d1085f6c60c8bbc062458e46a883f05f865ae4586cc +DIST firefox-115.4.0esr-son.xpi 400973 BLAKE2B 5ad9ef22d684e349a497c74b706079e3100cd375fd07b2ddc7b6a0b6853bda2271160cbfb7a1dd2a5f5e58ce72b8c20d8cc19c149405ac9f5aa57f5cb95e505f SHA512 b2edfefab271aa533a0437bf6c5403e94ba808751f5a4b475d610a4ff57257da598f98caf8e84de3b8db4b99dcd6e227ff65b476e43e6620c90aa3b7ee4c8ceb +DIST firefox-115.4.0esr-sq.xpi 564468 BLAKE2B aeced99734dafe6fe1509113678aeee022bdd1f496ecd83d33ed8eebe05d0fa8e578ff433573d4ecc3cc24f9a3e7d16063769f5ee72c9cc840760d1e1e84b696 SHA512 2a4e3d2e0da71e52cffe69cb3c8faa550fc6d03c7f01e1644c7b365c9814950dae3362b2f8252bd1c9dccb038f88e9c4c4acd9eafd9eb6101e76aa735d629057 +DIST firefox-115.4.0esr-sr.xpi 614004 BLAKE2B ce5cc20962192a32dadcef61415a431560fa7ccc87a79a2b6bec081b695370957fcb8510079cfcd172706b12b3f8d01e5a488bfb2546f3acb65b0c7743db459f SHA512 257187337c3645915e25c3bbeb7594df4e968936ec4183a35c4e4bd9b7c5e7b06c16cf5e4b2a47b4fd9c1173818afe13c11e83e2dc934a93376e70d887cd0611 +DIST firefox-115.4.0esr-sv-SE.xpi 560559 BLAKE2B 1695218cd6422ac2ac4c0d161dde37d5cdbafda85f5ca197d2295f176eb690a21de56bcc7ea0af2b9992f74cfa645dfebb55ffc794b19bd7a1c6d8deffcb21ac SHA512 abfac8290d03ca3d96220ba2fa367e68ee79ade36b3925df5e4a0201584032a16c8647e21c050b0e912180154558b1e3589040da8a98ce5afe2e4c878101eb9c +DIST firefox-115.4.0esr-szl.xpi 504128 BLAKE2B 024627d867059616123f4720c282cf6f763156b7668e8349b0151e8fbf161cf44e3d8ab3e0bfe4407db2acb9891e32e9b20d466dfdbfd0f22f4b3b385e1f2ddf SHA512 f5597bfd89d4881768cc94ca7d8e4c3c2e49bbed29cfb1d92faee4986812e06032e6bd10db3e7ce7d53a9c3510047671d8520446b41e28619212d1fbc6bdebcf +DIST firefox-115.4.0esr-ta.xpi 488857 BLAKE2B 7ecb1923f601a14e185e3c25a996933602e955b005f1c09640c1df517d14f5506d8bcb115b3c60a1e7eff98dc6501f025b94dd996ed4a2a326eb13fc4a7c6bb3 SHA512 1bcb2b99b372b166c0b7764dcd939789586f5ab9d5b60eb8535e871646d273a96bca23468ca83244846ee29cd5376eeb26e0e957d83ccd560591617edab582b9 +DIST firefox-115.4.0esr-te.xpi 536165 BLAKE2B a868a143b691cd05709373dada89de8be24ceb1a25fd37e8f92e98e5e7a56d2d2695f492055a77a753770b87b3cc6d487ac44ebb2425ced7c3ffcfa2e0671a15 SHA512 b3ff698d6306d846aa0addcf0fd6c1a4f285871ff3a21b518a923bde0c8d0120f6d59f9a1bbd489d8925027c20e3e8a9888e892cb5be89e7d1a9469a1d0f65ee +DIST firefox-115.4.0esr-th.xpi 632050 BLAKE2B 7d3230e2c721ca4e4710dbace1823e4abdab6aae36653100263b975930fc8e1f128b1b5f82890fe751f2f6e0fedda179927d514e28cb17a480ba0f10bf0ded84 SHA512 6be50752938f4091bd241e1e3351fed6859ff6d2c4a9a3479787fbf1ec1f71b1f6bcd31971baf1fbc49a95b9fa48addff1e626adc64ef3c99ab1160893ea1560 +DIST firefox-115.4.0esr-tl.xpi 511432 BLAKE2B 3b3358ec16fafe6a8442e9053e145fd0bd28094b1e2336d6fc457104fe496fa1eabb62aeca510f329d82fad2194044f42cc7ec628805b3f1a794cf447ec5a2fe SHA512 11460d78fe8d2fbfa3402933560d99e8bb78fd17cd9b6b93464c65e0c6619671289ba6d2c7d23c38516bcfd31eaf6341e43efd51dfe004799a3c355727f58602 +DIST firefox-115.4.0esr-tr.xpi 573247 BLAKE2B 5623f21181c0c70cf612162631f706cf4838f8639c5d30da86c06d0de17a6a77ab5b3431ab145e6df723eba4af954732f08efe667e2c8e04e04f26fbc739977e SHA512 c450b6a10d9921e609750de82166ac5b85752c3c605e843f01eb81750873510718f9df507f075ba7051dc661adb6f7adfe6c25a6edff3e401d99c45cf58fea39 +DIST firefox-115.4.0esr-trs.xpi 479685 BLAKE2B 568a62f643d9b685eec50047081ef8bfc2355a7265e63735571e265334b23473e29578def06f9112b4e0fe6a4787222e1b68f39bac1503a02e254544ac3f49b8 SHA512 a68b166c0ddff3be70536ac88a9ce9578a8c28046e289e087e6efb8d0b544659cde8d38269db51a67124788b29ee0ed847cd7dc6d61e0b77c92322f04696064c +DIST firefox-115.4.0esr-uk.xpi 645039 BLAKE2B 575b964ac442458e6ed535514f9f32491bdeabe1f3bff113a7287360d603cfb63a641d4754581374b384b86340196f93dd4ed074cc07aeaf794d6e0962187cea SHA512 3b8c4927374088691ba85b51ea4d0a812dbe4a8b1ff05ac2590c13934ec6c874d05cafffc436a940f912a304ec7e7136ef8238d700932cca74a91554ccd405b9 +DIST firefox-115.4.0esr-ur.xpi 538794 BLAKE2B e2e9c56d28bb290447e66ed6f76980e0760be38c02487eb7982ba9e562e1beece15bea10827ab232ca5b6879268b5b82712125a1a80b3465525337e94c41baab SHA512 79d106d54130fc85533f34a0f430dc515a5bc6b0d1f8b366c39b0a1ce25176210eec7ec7d27ddd79abaf394112b21b513db31e3ae5ce1b64e6fe3b0c2a7fb691 +DIST firefox-115.4.0esr-uz.xpi 461749 BLAKE2B 70aa2d6e8d55899dc3d644aa18605fd04d139b56e440f90a3559757a9ccbc58899ed703a7aea4446ac9b84c0ef3b919b058d5f287226184f31d39e4ef8d12484 SHA512 244191b506e254b3297a28036c21d2fc60fa06a1f45821d8a0bd9095a4c5420de753018853d54f51901dbe362df143d4b7d17f738160561b977c02ebe173a035 +DIST firefox-115.4.0esr-vi.xpi 595544 BLAKE2B cc836c0a6c69bd7b568d136367cb7225041fcb41a7bdc709bedd2ef0b965f0cf8e5a7755dd90c6e7f80a436f4b142cb11034c08905151eb5fca1b744c41488e0 SHA512 0ac015da7b2935cd1bb05834d479ff8600a61a1c4251421caa6291cfda4c3e6a23c032d13eabe3d52bfda8e63202d91890b49ff9a2919445a56b8423bad583eb +DIST firefox-115.4.0esr-xh.xpi 402434 BLAKE2B 774decc8e1935e019412f36a7bd9fd39fae624cf6cc3f19f1b5c2ab058e20421736a9718a836848c7327409330a69bc5db113bf790b99352c913978091d9f3b5 SHA512 baff34d53b0ffc6f9ed5ad6b914a9c836e5b629d31cab17d69a0b4d4583fe87994eac97e655c0a3c5c13e0b3c4abce427e8da1ab8657f83c567c63f894f627a8 +DIST firefox-115.4.0esr-zh-CN.xpi 595487 BLAKE2B a348b596390af3b2ee1ca421c3f2391a41194bd5cad4c4a37d6a9e83489bcd9f0e22c528880084e5437202b65b3fd65d94ea4b41462ae4bb15e4458ca1fdfaec SHA512 2af12c595bae759bb429dd6f7b0c93f4f7a097501f24cc80dcb55862917f7bc57d4ab880ceb08bea3c700bd78495b7d8e3880688a2c92a33378f4d118f4f5aa5 +DIST firefox-115.4.0esr-zh-TW.xpi 597813 BLAKE2B 2e1e1ac89419e1a2a95ad8cfa5196e429500ec5a8850516add323b1188d1ae8e96a1273dd8ca1671708c87f9ee85a392d40d8e95f6a1e9c9fa821b255db8ee02 SHA512 9b0f478da6e0ef2e2c1397ab05820f0d4271b9d323c234b4aa74800d998f59ca56b484a227b5a7ecba768756ebca55b0d40681658d785d3d13ed285f21b05d68 +DIST firefox-115.4.0esr.source.tar.xz 504413892 BLAKE2B 81b3d9e4fa45ef012d726b502d6f86323b509fb25a6c20be42fc37936357df5b661d53a1326a7662bab704aad85db14dd804d5375cb6100a02dc226908039b90 SHA512 3ee680c5c503df7e4913794b7029ccffc10889f8f259f16030b24c1c18c1528439123532374ccb3a7e7a0d5d64068949cb85638a29694a7d99b74dd403ddefdc DIST firefox-115esr-patches-06.tar.xz 14944 BLAKE2B e60a8a32f8c5e6d897e8c3e13d291ffab651937505ce258f031e7e75560c9eb89fce4a22c61872d639e6e1d40244e94761baa1660c2d3d02584ad4cc4778946f SHA512 d9ea1a063df287fa651042c90529b1a1b5ebd5a28735c44b5527cc7dd29678c2f8a9204f007db328371ed6af9613ca7215464c00df5e685c3af4296a22139257 +DIST firefox-115esr-patches-07.tar.xz 15204 BLAKE2B d5c33ab66a3cab0f1d7b520b5cedd17a8d41260f560eb7624f19f9e7126810e5888e5e1af584661561e82c2dfb818d2c6c7906062f9ac7ad117cb09052163594 SHA512 c948c32766daed22c77d20e0ef3f499163e03adf2a6329b04a60ae9f0b377ad6c85fde3d3bee8c5b11ce7cb19b9e03836a60699af3ed074c4ee8530b63c390f2 DIST firefox-118-patches-02.tar.xz 13720 BLAKE2B 9a9a535f1f753fc34a2ebd257a90fd73c154fddfa6611eb590b68674f14a84a7c751972d6c3bd88f00bf7eae0c5fc2be5d371cc62cd52fa790f01c30ffca2adf SHA512 85c7f983341389e973407ac645db885d1601b621fe29271bd4f5766d5fbf6aaaae45bb8fc590e767a1641013624a86e144957bdbb59112f22236af1acf9a5cbd DIST firefox-118-patches-04.tar.xz 49008 BLAKE2B 2f0ed88a710ee43464c58f95998b78db25104575c0739821cf043f38719ca7d948cfdbe22a08dcc88e721a1c9124de3ac974ff8500beffe1355bc0b450943ef1 SHA512 12dfc5f0bf4d3c2e3eeb21199e1a5082a51faca43d3d3910835651f9f64b54ef5f15e749efe399ea3720b46d614964435ee30d3ee7e8d208bb4f4b4633f76db3 DIST firefox-118.0.1-ach.xpi 446026 BLAKE2B e5c801bee7f8ebd92c5de87217fb46cd7e3b7ccf08d2ff25537ba80cef8e5c940a3eec173f3ce46181fe68aef783751a68e9236b556818dcbada34b7d1bb29e1 SHA512 cd3c9010a75cacd7afb2f3d9626798d935a88c1f9460130325ca76fecc04094e335762e8f55c4fb9fd98c09f6fd947b7d8b58ccde23fe0f06d5ae59a40628f0f diff --git a/www-client/firefox/firefox-115.4.0.ebuild b/www-client/firefox/firefox-115.4.0.ebuild new file mode 100644 index 000000000000..ce8a2c9917a3 --- /dev/null +++ b/www-client/firefox/firefox-115.4.0.ebuild @@ -0,0 +1,1374 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +FIREFOX_PATCHSET="firefox-115esr-patches-07.tar.xz" + +LLVM_MAX_SLOT=17 + +PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_REQ_USE="ncurses,sqlite,ssl" + +WANT_AUTOCONF="2.1" + +VIRTUALX_REQUIRED="manual" + +MOZ_ESR=yes + +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="esr" +LICENSE="MPL-2.0 GPL-2 LGPL-2.1" + +IUSE="+clang cpu_flags_arm_neon dbus debug eme-free hardened hwaccel" +IUSE+=" jack 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+=" 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:rapid + screencast? ( media-video/pipewire:= ) + selinux? ( sec-policy/selinux-mozilla )" +BDEPEND="${PYTHON_DEPS} + || ( + ( + sys-devel/clang:17 + sys-devel/llvm:17 + clang? ( + sys-devel/lld:17 + virtual/rust:0/llvm-17 + pgo? ( =sys-libs/compiler-rt-sanitizers-17*[profile] ) + ) + ) + ( + 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.90 + >=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= ) + 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 cargo checksums from crates we have patched + # moz_clear_vendor_checksums crate + moz_clear_vendor_checksums audio_thread_priority + + # 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" + tc-export CC CXX LD AR AS 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 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 + mozconfig_add_options_ac 'Gentoo default' \ + --allow-addon-sideload \ + --disable-cargo-incremental \ + --disable-crashreporter \ + --disable-gpsd \ + --disable-install-strip \ + --disable-parental-controls \ + --disable-strip \ + --disable-tests \ + --disable-updater \ + --disable-wmf \ + --enable-legacy-profile-creation \ + --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 + 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 + + 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 + + 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 + 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 + 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 + + # 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 + + # 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 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 + 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}-esr.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 + + 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 +}