commit: 68926166ac761a8a8e308f75dedf329a5ca464bd
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 14 12:31:37 2022 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Dec 14 12:31:41 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68926166
www-client/firefox: add 108.0
- add --disable-tests configure flag to prevent some static linking,
- drop some ancient patches that can't simply be rebased and need a rewrite,
shouldn't have any impact but may cause some unseen issues (such as
nsplugindir),
- rebased some patches.
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
www-client/firefox/Manifest | 99 +++
www-client/firefox/firefox-108.0.ebuild | 1330 +++++++++++++++++++++++++++++++
2 files changed, 1429 insertions(+)
diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest
index 8f90a74e6f7e..0d0d8dd2fe48 100644
--- a/www-client/firefox/Manifest
+++ b/www-client/firefox/Manifest
@@ -196,3 +196,102 @@ DIST firefox-107.0.1-xh.xpi 414832 BLAKE2B
3db7a14a5cde7a36fb0ddaf3c452787f8b483
DIST firefox-107.0.1-zh-CN.xpi 585099 BLAKE2B
98bf9c88917666a9316c8c7170dfc83e7a88d2deebd853b282af0b3854405a9ac258204df9013115dde2b8a0789c431396a8d9be6dc6ee7ff7a81a7f3748916a
SHA512
393e75b0ec843b00f874ca44b0a378bf823223bc83a107bb8bfde5277c590a5c05b3633a72dd52b24e6d5755e19e844cb70ec15a12c696aaa53852ff95d6736a
DIST firefox-107.0.1-zh-TW.xpi 586226 BLAKE2B
b3f7b7831a501304dc47282f07f3edc1315a109a4de76956194644db2164544e8b2f85ec9dd98f2d9e7393d41ed603cf8b3cf3990c4fdf9e650cd453e61185f3
SHA512
18a5f6890a2f291bfab58252b5456df7e61f3f6289c84ce5112e1e1d7228fb3d2ec92d0f6a7669ee81ec8ccbca4ecc858ded8e5f2ecaf9839d38426851f8e3c3
DIST firefox-107.0.1.source.tar.xz 508678860 BLAKE2B
cab3d7e723c9927518a3acfbf8d0db7846074000933074309b9bea1dcc2e182b579a7a6b2763bafeaf813d9846c4539d6e73cf75734844f3207525aff7e5c8be
SHA512
e57e4bfcecbcc6dbe73f23577a14a2998c8c3f3d602f85ea06f99e0974e78481b9f7bdb019cb4e9733e59f56be1407edd64a2adb7b284bb4a87b46b1e2295dea
+DIST firefox-108-patches-01j.tar.xz 19984 BLAKE2B
73e462e94e9646440a0f316a3445fd5839ff40aa8525bdef9408374b0b5e2de03cf02f72e2dd9975020b1997817e3fddb07547ffbd97a1932858327eb5f8866f
SHA512
f225c27f78614e57e2626236b2d1b2a4e49efb5b25068b67705e918cac2bac0b63c96fbde71984f348ffa57e1dd2c1939f4acd319cb79f4ae87d33db2f9bab5f
+DIST firefox-108.0-ach.xpi 454490 BLAKE2B
392a924ded6bc94be764b06fb4f9fa97fed739fe2133db62a3e4cf7f469e12fca3c3dab62b77218653601628951dc9c76b737d5c4c2579c94c0b8004c072d0ca
SHA512
7a67bbc3f10a000b1a2f665f3f9ab0876c1d66e6c4de80337c6d1abb9a7bc113839e72b134f7fc433de3755c43f083370f194bb748051958a95edee3dfdd8e76
+DIST firefox-108.0-af.xpi 419608 BLAKE2B
f34c8288a87a44101ced0205649efcac9c16f882dd4030e0cb8ca3e93d6d823fca5aff2024b7159285d646be7553717d8639a38f0f9087e23ec06dcccbb44dab
SHA512
50dbdbce858aa66983a6fa6513c7f478bd8c1027948711fc8af1ebe53240083f505b67a44169eb0ffc31b8953782bb4d6735fd79994aabd83fde4eb7bc6b57f2
+DIST firefox-108.0-an.xpi 501390 BLAKE2B
6fedb599efcf355e6d978fd54a21d70e156f2de3f182a59b742756f34224386c6ebfa712e6070bfb6767eb65de7e56d772e2b8dd8863f5b44d579907a8a3a8fd
SHA512
481e514195fa90a30c62e126263a242e28c5714307b4a90139d3ea9551f9c92d15fbb1a1aee753baf8e10800dc286c78d5176e2042694347412db6db56cc57d7
+DIST firefox-108.0-ar.xpi 568726 BLAKE2B
fb65ed190d2482dd468a7bb7d54c2d561799c736eda6b288f35779acf913320970e6238d1fb5fcf3cbdc419d0513b6441dd24474d2c8c493941dc000224a5e8c
SHA512
3550fcc8b18efa6f6846531342fd17a3ab902f02a99ef07424c310b1ed12bc378b9f38b735549e5ae64f3c9fafdb9525c4c91cde878e7164a3ebe0880245016d
+DIST firefox-108.0-ast.xpi 487880 BLAKE2B
873ed7dae98cc6c4232d7e110ff00a776b7c302f102a70a619ecb79bba91acbd535dd8a9f9150bac270ef91d11982a5055f9426d6442eb9bf00e5b3c77c547f9
SHA512
b52b61b575dbf24da8b61cdcd8e3d46c686b0fe9960b73d7671241d6ece579494dc1aa41c67f85076aae8a1ae1237f252b508d7fb55f27043817ed8b206ca5ce
+DIST firefox-108.0-az.xpi 490762 BLAKE2B
4790ba52efb7f36db30dbf49e336c628a80203038a3f0373eb0b309b2125ad033a8ebd4411b770fb1cdc1f9b8f402522954cc209b6d5ef193b73a3d9484aca67
SHA512
a70ea03478cdd281956c5afd9954664867b442f9c10b9683a6287df7515e047bb3066d483ce6af5dfc1d26bec2f74ddc84186c1eeabf965336b7236ae09eaa2a
+DIST firefox-108.0-be.xpi 646989 BLAKE2B
e825b403b9e844e8b4943b1985b4b751451368ae8700e9967b8cb78b7557622422fa208db2ddd5b92e7076ee532a755c89e8ad5fff7df3e7fc0725ed63b47407
SHA512
f07b92a4dd3d4e4ef737d3283b0fe8f9afb4adc85c8ce3296a1405dfd7feaf3344ead29b9c363a3a4879694a860488074db0c22241b0fb35c277ac4b24034a28
+DIST firefox-108.0-bg.xpi 580618 BLAKE2B
ca4f071522fb18ab91ccbd434048689d6162233c5ec1c57e6b94973f6a5554d5bb69400e27414b47df21016f44763a51d5f10a739ec445e78f8de9ee68927037
SHA512
de5dc443a397bba6690c17b20eb68af1dfaacbadce5fa56c8e392f7a905d1383b6807bb25f39a9e1f8f9fa6e3e4d56b0380c7fb37ec050d7d950068b6a054c88
+DIST firefox-108.0-bn.xpi 579702 BLAKE2B
bdd57ad7574eba4f3f28094d96050aa17269100e9b53affbeb7a77a60e573f941167b001849c78709ba03e3baf1a4aec7ec8dc3823677a0f488ccd84e394d06c
SHA512
558400514f12ea4a898f45edd263ea7c2e2d07baee4a0338dec89bf14b2109da05ac51912fc727a60aa15f24a8c4adc2581ff12197baffe6d1f6311692132e8a
+DIST firefox-108.0-br.xpi 542569 BLAKE2B
76d7483a911161cbd0669d726230fb682ed0fa004e4d49d2b83d17125f3349638256600b7f8679e286b4e8ed6de9043e21f15b90f55069ed0f473f2175304c40
SHA512
608a4186ee6f77f52af4164a385e4d2302d76a7b80d00193ec7651fb838a0c47c98b33ddaddde4ab0c4130854f86d2e29b9c623acc9ae0c60e68043dc1014077
+DIST firefox-108.0-bs.xpi 461628 BLAKE2B
e7dfa47ce4b8d4f82c198f992ebbbc1d7c64a1d3a49159df1f81997d580454d44ba3047cdaa55fc0fce8fc81db5093ff599c987d6d3c581569195f263fca12bc
SHA512
5a0aa7d3f6ae4e0f47d632af56bd2369f5ecd2f1458eb9b87e20e6941282f932689379959290681b4a8973d38d91455bdc3d48dbe2c94c6757363b0bdbe12902
+DIST firefox-108.0-ca-valencia.xpi 540302 BLAKE2B
4ca74fee5cfdc616411223b0974cccccf60e61b11ac2003299a0b69f169c082c79dfa08beaa599e5ca9797ed6aaa703d37095138ca23d1150bb523f68d54e5be
SHA512
066b0caffb3c31f969a0d9a2f8880e7e619bcb4b2dc25a991e2e5180454275797a963563787687b87f0c098aa5d4c8eff6310d466394e6e5ac5bda6cfa460ed2
+DIST firefox-108.0-ca.xpi 543820 BLAKE2B
20b1f5c1fc3deb3986ca6e93137c5eaa2a8d2fe9eb93a25dd7f4a176c9744f663e1e03fe666d30654938000025a70d6818b0ffd3c74ecf402d66c5b6b32b2f10
SHA512
7da5e42181e889e1780528c9a171c8fb18558d64b64af788b0cd3c884748b1379c450bb58cbf6ad41b04336e0f176d70526fc925570f2a9e088fbae45d9e439d
+DIST firefox-108.0-cak.xpi 555248 BLAKE2B
3f87e8769919107198bc030b4301f866a9e3734bc847957fd1db56887010a1d0266f28296a9e4e0c04023be61dbdb9ba8d44ea6c2c09620b8eff01ba570c5a43
SHA512
5467afe17f096b3707378987be471eb2e0af843861d497fbb4f6d2b7571f3386a7092518771e09a0ce7f7920ff6176cfc6c013567de503eae356c8a7d1cea21a
+DIST firefox-108.0-cs.xpi 582586 BLAKE2B
54342e1def5d9a23d7a47879f881096362d8de1bf77f66d55994ad63160adb38254ea5dfc7f2cecaa686abf9d61ca3a33f998ad951cf6f36d3881f0ec190b484
SHA512
4187f758fcb0669886efc89d90f3b20631372f34816dc157271144a9209793d5d81dbc5eab5759dd90cc76f28b74c68d3809e4a5492ab0edb440f3a9ebcb6880
+DIST firefox-108.0-cy.xpi 562646 BLAKE2B
0da39322485d15951f6190a6646a02a66333ff8ac1182c1cdc1e6f5d000c8cb32b7579997983a7563980da151fe69ead47cd311730ccd5cb2388887805e64568
SHA512
67d028f2a5fc3690676ab13d260112cf7cc60f6e5fad54e74b3a49eac44905bcca7ee170ca089093de934d87cd005ab5cee63d09dfcc3438c77d40bb3ca607e0
+DIST firefox-108.0-da.xpi 552335 BLAKE2B
7de9784bada50e804a46c88b5501107b724cfe3742d2dcc89b8f7403aaeb3536e94de7be5960d8156abbae045107c4fabf9ed7b17a17dce8d3d3ec02a296004f
SHA512
91870d08ee54ea8576c8030677781df628bd080c418d40457d5c8758c8830bd6a136609bc42a42c5cdbd3323ec3c998cf4f917dece306a139ada67733ababba9
+DIST firefox-108.0-de.xpi 573552 BLAKE2B
85dd4166e1985679159b7c0f7864b9cba685314ff028dd3fc3c8d62076a8a76e86f2c0728d1df7e9ad8eac20b4a77c725b5c70a92f0de6a964798a7ab8ee73f4
SHA512
68a6d1b20415a87531c5c7f41c488b139b02232549858a099eacaf17820a34f46fc8ac5e02a834e7c65ce122dff97f157a4d3ee3bda4397ca3c3d9fa9d914730
+DIST firefox-108.0-dsb.xpi 583369 BLAKE2B
5e818912e303702b7c1e296927b3a9d7bde6ca1520bb72be7b023bec959610d3ddb236a38bbce691eb581ce2f5b9d40ebd811dc2f0638b20ef05e284f24ba0d3
SHA512
1666f13c4d88d4c305bffa0a6bd50e011f1665c6c650f0fcd0af2484c2493176aa1e492385e72ce52ae8aaa2fd1fd118d18f027c9147433c668a600f7d054149
+DIST firefox-108.0-el.xpi 662909 BLAKE2B
a0ef8b1ae9c74148761210aa62d544d9f68b9e46df0fc91fb4c45f8db1f0cc501d7e78cdf961a676194278b20538526159497f600394386c51080eb924735fae
SHA512
6ed6b3c1593d6b67cb192618eba884dd256cde7ecd3f1a3887d164c3eb5723ed97a4f858d74febe4941191396e5368897f5b80a89e5e488d650a36a63cfd6496
+DIST firefox-108.0-en-CA.xpi 525757 BLAKE2B
5c6e4088875ce2a83b8f3d2b05063c9289c8436a0bfa8de86421078d6b9b754fae37f779fe312e5144436409016a75d005e908b96b10995b974a8a001da8cb67
SHA512
29061e1db10bc877b19a4157411d19e78421c5376ffe79ad38d5d5346c7388a8e1bb8070bf5b64f2ddad3de1704798ee212aa26ef457618ae5cbfaa0af767544
+DIST firefox-108.0-en-GB.xpi 528668 BLAKE2B
d115250eda73e9552ea5f17f713b8d775788647ab2627ffeef23549e4e687fd47b5abb4c8ad79185359308acc7dc5acf83c41a1eb1c114a001ad96001d7f65be
SHA512
2957bd3771b8d87823f7b5bf3f7609c5fa928af9af8a572f0c1db3cf60220a42a8514fa7f87bcd0edf085420dd3868672cc74dacbf34eb5e2c4b4609539eee0e
+DIST firefox-108.0-eo.xpi 554179 BLAKE2B
e354275de72c6d017a17d6b1293b3ee71ef269de9c6df0babac5564f23128de5437fefbe7f968a10ab6c38502dc9a8add9547dd022fe938f7f371c9b561331a7
SHA512
564f79260b2cc3e4c2202b77545c68a9ed819b56239ba6377dd5836ab914c15d22b435f9388c18852a64d3287e29f7ba3565246a04c006a6cccdcb9e26a97380
+DIST firefox-108.0-es-AR.xpi 567746 BLAKE2B
cab811c7f45b0c57cf77d66234f061dc050f5dcb32380f313f0a89fbf9a9fe19fde1b57ac33f32f0f46770ab46e78fc3f2f955375ea7e5a666d99d6c21d0ba4b
SHA512
9fa21f227b5c1b54be6bf0b7dee6f45d0282672db7efad623c8289313ba7019cebd17800b60408201e26b72b23954450c72733c3ddf6ccd19ef70662f31707cd
+DIST firefox-108.0-es-CL.xpi 566900 BLAKE2B
9e3ae1cf341060ae7cdd4c8c32e0a678e67924d5c6ad93b4aad628823da593066388a6b00b9395f45859224b57e5e597c38a2c486e481cb73626d75cc9bac329
SHA512
65927e91921ef924e55c665441831422c64b0b64d4ab0201e78d2bbeafd26693460188714ae9760ce674b640e2c2936b12cc0f551ad6de5de6209b55310a478d
+DIST firefox-108.0-es-ES.xpi 559297 BLAKE2B
86a55662f84a37be766c9f677c50b64350d2a67b8cecce9395791bae9c26d99b00b9df367ee0f4ceda08ddeea2beb983327d38f9149d4b6efc6cb1b9564729fc
SHA512
c105061758a127f716782f40c6caeb1ad7b549a2e9ebb8ee7a5b721ec275c3e80db6fa9c886cf18c0483ab173d083755f319771ccf7aa86e0d457d7ad8279349
+DIST firefox-108.0-es-MX.xpi 569584 BLAKE2B
4c98a05b9e1facdfc0c2c54a939b62ebd04b761d30c98be6f4dbbd8409fcc9373c9bdcf8ac912bee2d4d8108543a932ac175f30d01e6df1e62980123f766daa1
SHA512
7a1f20a832a33e432bfc8c74d18a375e52e98705a98a7a8d4f2c979a03f3215dfb50772d9aa28a13d03da8956c06bbba1365c1be5b1de46b32c54cd1d807f582
+DIST firefox-108.0-et.xpi 534528 BLAKE2B
f1f519d0e59210351ad78ba1d57563c53edc3d515ecf06debc5f7c9d5f1625f6daf15761ee14ed6a79e1f54bc56c85d36bf960216e7015e21908e087b69d5ded
SHA512
8795000d725c6df3abb0f1c07b50e5631f01798bed0cda393b27361bee5e18d3d07f469b632f967bf1909961b3bb84c1024d8a86c2fba189530f4463f10f58d6
+DIST firefox-108.0-eu.xpi 556949 BLAKE2B
1ac12f8fd8e2bec3abf33dc3ed8dab417bda0f14bea4d9b05a2e0f22a4e756124e6098044e740129266dd5169e0d1dcc9d00f5a775ca3d28afb990b83465cf44
SHA512
2f06c9b01663b04a4c19ffac7e9ea12eb5a2896b1a2a99e91e74762a1fa0e7596d4f297e37dc727d1076f94ee666a894fc8288eca49f04ae809b14a1216256f2
+DIST firefox-108.0-fa.xpi 572380 BLAKE2B
2eb331468bbcda26032fffdd1f28847b1099309c9c14a7149b3dc3516ad8e1b54cd5a5b54ba905799d071db320d485213a591c3cdb41f56da5aea5d80eaca4e7
SHA512
30208384ae9825041dc9c12a8e5b592feab33bfa507415cdc3d339af31c31c9cc98f338d5a822a681d385df80fce4bcf4dbdc7f805769458a1a127e913c30391
+DIST firefox-108.0-ff.xpi 474471 BLAKE2B
30d8724b9d9c9b3d91c5976a1536edff5fb0fd103e16c5f73d633cef8bb6d61f55844c3957b52ac841d5cb08d327b9836a891f140cc5baad986bddae287885f1
SHA512
61f56b20998ca6420e9e951c0853bae128388a115e2ddc9fddd5bebc4bc97ed2e2aa9168504058a6780395747612fdaaeee908a6c8e4337249cb5e3034f9868e
+DIST firefox-108.0-fi.xpi 552982 BLAKE2B
18e5b9d407c08287c73fe1f5689f151af975dae3827c33a11f7fbde31b03fbea1fe7372768cad7b8a70633fe44a51e348007707cbfaf56f1fdfcdd6b75dc9ea0
SHA512
7d6643694c6a40367f236e8edc4f2a9d508305fc30be8868b5a0fecf170f9b7589ae41bd68483c255332d8c5f7d039309ea60feb8fb255008117c80be9e63310
+DIST firefox-108.0-fr.xpi 579472 BLAKE2B
1af8b6750de84e914f464a42ab6c6be98afea0e699e07c532936951063290ea02fdb1e9cf4a2b593f7f10064fbc49596874fbe800c1d722c855d6ec07450416a
SHA512
8d5e10e9974888eb90ce555bff14e40f675663fe0239941e9e5772027faf38120a38b2731b56f2dd3926ddf7530bb9de4063376004fe56649dc32169bb222faf
+DIST firefox-108.0-fy-NL.xpi 563342 BLAKE2B
449db3cd1045db3fb14e855404595a00ddc61322882b0069da4d3928b1ebff5d09188138c70e74fd2ebd7df3572819d7466fb0db7a1e57a1b30dc04f7290e8e2
SHA512
5c12156bf9b415460a91c5f48a2ae5fa5279b326b65384b4b4beffeec9431c14bf410ca8f60e4d2c23d39e42ee891e9b2774abe9a20a21bd2412f3d14e08e440
+DIST firefox-108.0-ga-IE.xpi 470265 BLAKE2B
c6240a8e5265be9718d4ee56901c991593ac2755dd1e982d8d8bb66dd11bc4f468c47dcfe64ad931cb5963fe0e7a9da359b40cc8ece60956914dd28bff661a1c
SHA512
a1784479d095c9e366b4973f0ea9426c800755ecb8e8fe41381a5122ae60af7429fa66a6196ad6c917b36d0cf8dc6da1e41cce59cdc2271f6b269bac3e339ffd
+DIST firefox-108.0-gd.xpi 548823 BLAKE2B
d9615203dfe6168692dd09df38519cfbf5d2f5f1b9282221a71d96a894255e60c36871deff2999a9b90f9407551827bb93acf56136a207dceed0ba1d72d14208
SHA512
d915d47d01b2a17a131eb787867d0341ee60174a8ed9b6c60c9f34f62c7f87a566db057fbc951ae003390ae123c478b826a0895104a67ea23863e2a31e9c0c4a
+DIST firefox-108.0-gl.xpi 543424 BLAKE2B
4dc37846585f16310556725513ba4a6d3a151fa202eeee3fc93cae66bb60e6686b382c5a6584af67298190d80aa55aa3bb10a89a84dc5c296ab33c4db66d3ee7
SHA512
a0ecab84ef7816bb94baa70ca5182428a1257e3cd190ff848017b913491849ba5fca23ec3ddf68e5314fb285b4e35f4b53914d4472e12710def572677c447b67
+DIST firefox-108.0-gn.xpi 578516 BLAKE2B
504968cea686b304efb71d753ccb9d3ae08cbf069068b3f95d6cbc0c7a1031483d18a494b8ed4f69bb14fc751229e6e93b13c3b4d3448ea25e80d30bcba55b31
SHA512
2f8226643a90de1ecda9787a8bfcb2812585901837c131b05eb6ae5b536a72d0bd081699ebeef0d1dff30f1bbd1fc822f6b0343f722f1f427426cb87751c6da3
+DIST firefox-108.0-gu-IN.xpi 529438 BLAKE2B
fb8596d159bb6d821a90379c03d852781dd1cb6d0f238d04a5eba9b501ba447de67068f998a56e1ad3418c11bd1b8780b453c4c1bc0d4cf923d8cbae6761882d
SHA512
a491e6d5b7ffd5420d532692cf84bf873ad2e066b65b8568f0b7ec21d96db84974d0400d5843f7678605531e4cb4f0707a73d07b77ab4a28e770aaac22145e4f
+DIST firefox-108.0-he.xpi 573905 BLAKE2B
da15999966d997408b2d9cccc2bb34bac2fd91bc8d599c309bd13866e9ee6605a4e2a2c69ba49f3234d41996569f6cae6055bece1dc4fb0e6e0a0312496b979f
SHA512
425b523deb0ce596b382eb16999945327fe575640cb666ae6637fd136fff82ac2adc4268e1f29627b2dd3a86ad9d202aa7ace937d6d43d2f48e4bd8278798bda
+DIST firefox-108.0-hi-IN.xpi 558576 BLAKE2B
15c0e28821ee0d9f14cb962802465e0b584f9539c355ac310a22a1ebb1a0d6b173969f2dd4753f108f815b2bb90575ef24e6b03df9c9d233ed8cb4ae3136aea5
SHA512
84b1727baa88591320de28b4dc788dca67d98f7e4ec49530e175e5d0170982a0a56556f08941d539c9939f0f0b6e92754b2142d5cd5eeb251f68f1c33de8c167
+DIST firefox-108.0-hr.xpi 538310 BLAKE2B
68068a88ccc482353ccf3c86ce8188075b185cf90e9076721bf5adde726665f08706347f7fcbf3d4d0121f4a7b2cbca8a98eb4c864f3545e145cf619d82c5229
SHA512
35498b528c9e02dc84ed95bd3a5e2ea1710496d681b2f69674015eaf1dff1a026033d1003c27e8a6159cb348dbf80620d18078772e7c00c7509001a826b9d4cf
+DIST firefox-108.0-hsb.xpi 581692 BLAKE2B
e1f0ca85b2d45f1c7a1e4e1a31a4d592b941581cb643bda2bb93e80bea819b58bef2130fbc16f52b11a6b0acecba13e84d7c6fb0b074c094962207d913504ed0
SHA512
ad01eb3ba7f9b51e3d56487e39bc8f92d02c6828f120243d9db95dade62bcc3e8f2de7a0cc583ba4607fe89163c8e3454ed6080371a1f58d78441a163d2425e0
+DIST firefox-108.0-hu.xpi 587849 BLAKE2B
1a9662b40161f77d0950142fd533425c8cc5d5e6793b02070de4e0886dee60a3d46f97e1e9b2ff5caa6d4966db85a8b4e2523713fc7f84c931367d81504a8225
SHA512
ae7e016cc9d692e9fb86acf6dcb37859b12a8d02fef942313b82998c7aeaf76a3978730f631fd5e976eb5d6abd87a239ab65c3870711d20ab4942e9dcb145108
+DIST firefox-108.0-hy-AM.xpi 594651 BLAKE2B
fd7efe69c01c97e7fcfe5d273d8049ea57481762cc82f396ed253b4a4103c568cfee621629faf3a598e6be35c8fcfe90317315fc9d917f5733cdf28079e31b00
SHA512
48a1abff3259febc2347732fdeb4d9ed252e11ea16540455a19f5ba7962ca85e188c7c391b33c4f8d0d69a4672531946cfa1cd83848d229ed33b77aeb918c1fd
+DIST firefox-108.0-ia.xpi 551760 BLAKE2B
be3d90ff2ebf705a5469c9443968d8ebd6c1888fa3657a7f653f193b8dbc418b610c819999d7e68d60234def2d058317e0f9b45b1d34d7d0ad68bb76672725c8
SHA512
c8f24d36bcb4dbe40ca71ef1c77e7b4cf3e57b5e78833c2ed54ba5295b0f21548133ea8d33a4059db7c7b953a24e5a97bb28748bd8b88b9e3071842a610e1e02
+DIST firefox-108.0-id.xpi 548618 BLAKE2B
8d439ea92047e4f1608e67413a988b965ab89890ad1f7ed905afcd5c9a9c74634043b2ea1f357f917ccaf99d762fb14157c9f390d05777e3f8d7451424cf3e61
SHA512
11c44a58e4d3da8e4d57d3123b724b69e566ffe4a24d285be823cea2c92c5ec816cc250c177728edbb90c02b9a823ce36dec0294e969db008b4b0fe52e650565
+DIST firefox-108.0-is.xpi 560732 BLAKE2B
e503fec2ba4cdc725de9a0c600b1127c6b03983f6e62f153adc696d8399d7c2eda43b3b697ad3717c64f58bb2af1bcdf9ddaf1b2d2f50cde2ed828f2306b93cb
SHA512
fa02afde8b9431a7b460b3a77d3c940d611a46922ae828e094ccaad0fc89c48b5ae109e155c52feb133a1b9dd83d6146720dcfe045de5b002e1d163aa8030376
+DIST firefox-108.0-it.xpi 488821 BLAKE2B
32dcc42e14ca263e9364ade7a93d2dc5f7fb4dabd8da9a0e4f5ed524025cd5c6b79b39c91473460f4c8e2050c0ea8acdf6c10f8ea7fdfcf18791fee83df60fc9
SHA512
bbcc6969ce1404b7ac54072f627f96dcafdba517b7768f7965822eb385b9a40c7798a28b758acc92fc22672883bf5d289ce16899638c42e8dfb41c3d23e70a4e
+DIST firefox-108.0-ja.xpi 612097 BLAKE2B
7e5465d205568787c6db5304721993c77abd3e15681de27818b78da98c241d82ccce0e96249416db4c6eaf4500db3869cac70771b49db62053a2f624a509e602
SHA512
37ffe099bcc265069243fbea7d337cbddccee4634bfc5bf8aff91b88fd8304c16f30d3304cd0385b346302798ee717c8fbdabf427c514b2d850dd91b90d44a70
+DIST firefox-108.0-ka.xpi 616441 BLAKE2B
b0248ae8165757f4b8e4121b01d73fdf06e2bb3eb85c92e0275bd1039514dfa5f9d26d293f24b1c4d489aca5aaae6c5c62f6ee24035c7759fc22c6ccbcdee2f5
SHA512
255c5b6237405a8a9d4bb16e2cd51c8e3b85db085f3d05e587a983a1c241c1ac9decde51bb1441f4d6c51d75922567f3687ba625015f7855856978c34dc50993
+DIST firefox-108.0-kab.xpi 569587 BLAKE2B
0b4cdefd1e83ca98ea92446acab645c792c29041eb592dcbd125370f33c9b373067dedce60eb47b9d45ee8ed63d77fcc9490c2d800d7814a41adc68e401406cd
SHA512
74a4cf4de33067c3c76ba183ff494a79cb2dd4e44de5f8e809b33cbbb21e2a914981cb99fd27502e5b3216e8709dbbc57d9f5cbd31c19d036ec380f83f32a8f6
+DIST firefox-108.0-kk.xpi 639483 BLAKE2B
2891aef45e05c95d75e3cded2f50aa30e06dfd325cf6eb69e00264643c150460d026cb75cdf028f5102965397fd343bdae99bc1f92058adcfc341cd0cfcee5c0
SHA512
e9c3da1db9ab54884f4a1c761ae4431ed83f6f15249c5fb4e69f065406a0f6dc0bfed0614a4ca941260d56f1b85f08effdab55f159f4cf78c98883c4ab47f262
+DIST firefox-108.0-km.xpi 531197 BLAKE2B
4243bf61f44f9dcb9a151698224600b72475017d518d7352f531864e1e45bc0c95f2c0fe879118251899f6d1953cca08d594d8184d2c1109bce29568fcb9d073
SHA512
5d0c67bc8495ca5283c8e2204d2cc2f9e49f8023121ca3bb321ce488ae74b698b8ecd133419d0f4b604cb62b98a039746df3713bf08ae611208c7f124e0040d4
+DIST firefox-108.0-kn.xpi 496781 BLAKE2B
9eb00c9afaf58c950359160c14dd1d863103d744d7c8b9001f5b5c73fad7e9f44e576046587156b8e2a450692d85878de21146d6c8740e42cec9270bc3ceea8e
SHA512
0590c56803c13be97ae06674781a32f7db87a7c0b9b6ee854d2ddaa0cbb11400d255f6d3b05caff2a4d812d02c6d99c1d2a0d93d2b206f51ee162c5d335b6e4e
+DIST firefox-108.0-ko.xpi 598484 BLAKE2B
680051c6b1c250c637d3cfef1e39d1077d3041fa8002e62ed12e204da98c3ee44968fd72fe3b71443ff02c2ef48bbb19fd460d8e48e0c84ec2297f0ec96ac20e
SHA512
6580137e6b7d19d7a11c1b560a5933e02aec69ceee4c3efd9828aa1857967dfd3e7ade2e5b79beb73e1bf536fc1ad9880e86d496a5ba6415bf273bc46cbbf21e
+DIST firefox-108.0-lij.xpi 471417 BLAKE2B
47d5f6d9437be743d24248b553748f6272cdf19528e6b3a622d71f0f52da7c6a6a1ce529774949a139f11c3677cf2501768caa5af1ba879bbaecfff35d4fc171
SHA512
0811bb15737b7689475c9699d5eed2a4266ec7779a5f4dd95dfa9b1c7a506ef99c0a1c0635ea5ad66573f0f712034d886630854371021df0a59d788d70139afb
+DIST firefox-108.0-lt.xpi 566404 BLAKE2B
608c3eb5ede3e45d4029872da6b33d438a34f8dd00dbec8d860b83243513927242124dd075c28f74401f2b8103d1fc9fa58f6af6e2bb0e284196ce4031c883de
SHA512
a11f3947712829d9f5ae5f3191f19012a5a509677620d04ae836b4e31f7a11e716bd537ef5f4718444bed68b57165fd52fd43a86cc331c5612ca1b89ef7901c7
+DIST firefox-108.0-lv.xpi 466194 BLAKE2B
86eaf251422527298feeaab94b969415065ab43a17355956afebcf35e74247e9cb764cba239e3d05c74ed7b9fd5b8e0b52c9f8c866e9aecc81c2d2a2767ee492
SHA512
da796d4240ce257ad91bef1e64c2e96360ca947b126d3ac217cd8ee657aea82e6ee60756e8f687df794a3b9555813e45e0ed68a80ecb0c62eba954aba8cba4c1
+DIST firefox-108.0-mk.xpi 485634 BLAKE2B
37c66613689cb40546a44a47ac22745962d1e53baf1e5374f86dd150fdaed48462def4539242a6b749f91b1bb4e8b82b1849990349621efee60aab83ec54193b
SHA512
bbe807d7edc4f9b9ffffee7f6ae88f1796ae743d0f42e43048b4b97892a6cd705bd879fe4da631f93ea80260fa2f0d53ef6bae21b2a8dfcd52dab46bf5975846
+DIST firefox-108.0-mr.xpi 531995 BLAKE2B
738f3bfe8d7cef2685fce74fb2d5389e47c367563d4e27b4cbab624227e1d904e1187246685e8c8580ab0f01676a806f52751f2110c03f1bdb595abf83df6dbc
SHA512
0d26a58ff20ea5a8548ade7d9d8b22d2b09cb4ed50fd4968d339d81a733207a88cea432fe1a648ba6d53fe87913f63d8326c72f6f41532ef3fccb2f461b915d3
+DIST firefox-108.0-ms.xpi 450657 BLAKE2B
d4fdd02bb0be86428df9da03cc951ec28be2538b2c16ac7d3501069b94c0f2e730229d07fd009a41001aeb1233570ffe8fb0ca96d4ea838736465f7d78b583d3
SHA512
2a2a5f82d4d965c3a1f01dcc68e3297a11cf619c3846b1ecfe47e2d2eadff9a1039b2d6599baf926ee8c969f0a676b9d66e5d6ffb01aa560dea5b0f9453d52f5
+DIST firefox-108.0-my.xpi 517676 BLAKE2B
50acdf122560703635b3a4941bcd3dc8938ce378812ef1c5d5efd39ad65cda4ece773f98c1cbfe7faac2d302d6c441923bd89a46c3d96773ca90e1394e112025
SHA512
91804176e9f4239d0ff161a3dc5e8475f2d7482c3699e892e42290929202ff1f3c91a92ef6f071930c86b659372d7765154f96d9eea55afb66d545c2a5cd4168
+DIST firefox-108.0-nb-NO.xpi 549684 BLAKE2B
838cfcd8a655c5a61475a27788064ab6701a2270525d4f2a9278e3eff187af0754a6d87cb0026f6298b9c359063016db347b26bad951355e28ee967816b5638c
SHA512
4ce8139b1740981bb23b474c48030b937b65185469f146f9cf124ae431c710a6153468236b679add895252b16a218e125575f950abfb52d892c386c40d0a645a
+DIST firefox-108.0-ne-NP.xpi 485231 BLAKE2B
67bb1ffc50bb8b9a1b0dc793423069040dcb3f9014112b6c4550a50ca68444060fd55ef81f9cfb7dde08836f586148f85a93a8147ac7bea704009933735bb77c
SHA512
2178bd37af507e89b10861f471abb17ec7099a5c8d9ffdc48709c319fc4f316041e32b09c67da84ac8cce4c4642f455f84e0a8cff792849329b9abb2a325c9af
+DIST firefox-108.0-nl.xpi 557494 BLAKE2B
c72b7e6aafc1d04cef49289e3fcf203db10eaa1bb7e87d3ef5fea652aa09e5ad6d39675cc145eeefd55bced1d436f69300155548ce3675c126f9feaf57d39471
SHA512
892ead871d7616f52175115e443e6e73793a3222b55ce4c7d25f0ed523e39bf433415a36c78fe0cd882407aee00d6d9ebc0cc0452aca70e3b923391ae0ed0147
+DIST firefox-108.0-nn-NO.xpi 550012 BLAKE2B
c0ebdb20b0730ee317df29ccc10c15b3be6a0f269d8a0eebcf438a2205cca11391a12e090fb378125c3d9307ffc9f5c0c4e7c68b0a6206198c9fd0aa8794d967
SHA512
f6b74a5a676a17bc7f6fbf47a3f442b539b0f3156ac7449c4716d7fd24bc8c2477d92f545c1603b6c973369af9210e05f0eaf0adc087bb7eef0cdc8e135cdd72
+DIST firefox-108.0-oc.xpi 574018 BLAKE2B
538ec14e4ba756dc69b3e30bf752644ddae6aed43ad512ba227b57bda50e2a07a22e3eb28d03dbde33045a3ce5f9434fffaaf8e31448fb86fc4420301daa4ec8
SHA512
875e03e24cadbfb70641081cc7d95c2aafa19bb2798106a6662887758d50e5f34a1b477b330c39793495f8021acf52a52437914cfa892efaadef866b9859be53
+DIST firefox-108.0-pa-IN.xpi 625821 BLAKE2B
d5d41d21baf1d58e5c64f0a8075623dc5584d6b82ff83ce5414b1859b0b58b51abde253e397e76bd34d1753fd9b8d84e1a24022a930504649bf81e17da47ea5c
SHA512
7ae6d14b7e51977b3b30880ba52565280d10dcdef3d9645fc184d3a00da47527182b0123084766c4da16a14b85dcd8a8aaf1948433ed774f07667e0d36f11832
+DIST firefox-108.0-pl.xpi 579972 BLAKE2B
ea44ed659c54ea37d0e4d13d8ea8b613b8ab93e9c92ec33c27587703ddf8a37008f186125a40c2d70df62a059b631ea32cf0cf0defcd1d1a611138274f3755b4
SHA512
2ff258453e260c7b05f67bf3ecbc4ac145b3ed3e5d4ba217748984f2099c1fa7d4be5bd6526462d2bfa9093d6ec4d005665ee21e4cf69917cd97c8bc8fc33605
+DIST firefox-108.0-pt-BR.xpi 562412 BLAKE2B
4b9c6b0fd4b527c5ccbe6cf01f0ce24dc22332f203558c59258d115384fd3096d04d0ffc344de70fbd7b6549aed76a413d5a43faa41c6d0d1982089021daff0c
SHA512
b5058a5cc1755ce837bce5f5316a5b1f23d92abeb0a137e8b1c025f1e1ebb0e2bef520877f89bc27d0f2591c2ea52fbe1db229e052c0922a734d508590d70b44
+DIST firefox-108.0-pt-PT.xpi 567179 BLAKE2B
5943a1745274dfb8e5ce83ffd636fc033fea75fed895dc19122ef70546d566d949058a8a07e9c4db3f03659fbadb9411618d3bd9d35dbb77243e42b32e259f3f
SHA512
ee27210d137dbeb1bccb22b8e20857d3bc2677d2b94df13ce95f9b017311e749b3cba9f64f498a29f06fe0c9612cab06e0fead30accf8edf127cc80c520673bf
+DIST firefox-108.0-rm.xpi 557258 BLAKE2B
737466a3f6cbf434bbcf58648544a8d0a476a8b958a6dc02ebe88aacf646fc34fdf8906fdf78ce80fe40cc606052b35dd0b917c0342e9aa9b9ab71615955ca8a
SHA512
d1310534cc7ef9566d42a43e1e0d559d15347f395855469cc243998bdc9bba7ae263c01624eb435837ecb772aadcc05d0542348cc255b90147cb6b41b1e896f2
+DIST firefox-108.0-ro.xpi 534108 BLAKE2B
c8b738e64b683b3e94a7cdbd2ce368516e8bd46c7cfdf68b59add943fe9e4f3d682c1cc38753236d90be53ea7d2474a125ea0643a09fc38311d8972766c5046e
SHA512
7384aaeaaefd02d3b8bfede5956bf36042c5c0452895c9f5e722a9ae0224bdd1caa78c0b15b83ef1c39d14343c79ad5178e2b47512552a9507225fe4e03149c0
+DIST firefox-108.0-ru.xpi 651318 BLAKE2B
47381f7d191d4f0f3326c94bf50443014deb79052b3783b6758126960a46fc172061e545d45399ab94026beed67df9a8f92bbb8b7a44280bb7888ab1adf46ab1
SHA512
2071daeb2114214f1099d3f29b5c418c24820d0fd3cfd5e00ae73d29b6cfef4c53de97fd7c5cf239db4f0f87949bfb60c66f7aa57600b7911ff71a9f8471a73b
+DIST firefox-108.0-sco.xpi 505174 BLAKE2B
aec781b812d2c0d50ea133093878a4dd2b4cfa4eda44eed9295b6d12839674ffce9a3bd2ba39829a190afa26064721e08831e20302c609986f16239eb8c8d7ed
SHA512
4d5dacab7021ad2e857f2f75a25f95d8e6322f394c1a8d98abee6695ba32faf710734082c4e6b8bbbf7550bcd80941184faefa608b74a2263b50e0d5d0bc10c5
+DIST firefox-108.0-si.xpi 572049 BLAKE2B
5a3cbbd1f77ecb1ac691485c130669428054bc87378a5831dd05b32ad2064ba04f2ea0cd1906e77917324a1e2a0a8f4a8e9ff108dc464f7edaba8a50d12ace1a
SHA512
50ff2ddd1a23585ad8f45250ae4cd32770dc9d9642c136bb475ac653c1925786a67df8999ca82399bcf6a835d3b4596803fcdd69b57caf484fb31f87a69e2785
+DIST firefox-108.0-sk.xpi 587665 BLAKE2B
146755827993e802e498104c604731bc17cf1bcc7b12c0255aeebe4f6c8579e8fe52bf39ad09adced717f600fae96503d31e2a1d1cfa3f26c5daabac9a8dca63
SHA512
e56c727578b29095ad67b40b3057f50ac1c717704a194563cace8db2b0b4a6905ffff1d5e8de9bb99e2ecfb35debc21b89eea82f0b97374b1bbd2604d267ce69
+DIST firefox-108.0-sl.xpi 559750 BLAKE2B
c3e42d1c8bd8cc7687d3f21f47e68d1b5135eef10b5f50e8ee5de7a3892bdf3c63ce354077994a3aad052a477dcbf3fdf9f72ca4dcbec34e9071cd45cdff8a71
SHA512
8a96bdd58288eda97b084f08af93d82442f9199a5e9e262deee738b3a3e6c856cc9cac0bd2143b6ded35c65e725a783caa6dd27a6a8f8c085543bdaa124a7896
+DIST firefox-108.0-son.xpi 422464 BLAKE2B
8afad92c35c7aeca455803819c68c2cb5c6426b404b8cabc653008112516f39782ffb605537b9663d7228911b9af642cabd2680f7e703e73df30820a17f83664
SHA512
35e020d2a025412ad297bb39353e475692cbf871a789b95adb8632df0c88384c10d2d815a1e80ea5247dab6f3f788d8aaa61ffaaeb0f47c3c1838b96be414d6f
+DIST firefox-108.0-sq.xpi 574787 BLAKE2B
04ee94f761e2fe4c0c7c04145054f41adffdc5fca3dc30427e561a50395ebd38caed9d1ac0c382f20eff64906dd83f8e0e7cc90b770039ffdfcd5c4cae9a49a1
SHA512
a9cc80b7e95a0be8d8a74d0e8a481996ff5a2c550ba27213b689fba86a53a504fed2ec3e230c1a5cbe58cd441361a2261d43ebce3ae59dcecf31479d28ee47e8
+DIST firefox-108.0-sr.xpi 614999 BLAKE2B
6c1cda2ac17237e167238945d1a5a71adc81dea2acd07cd8c54f2f8afac74e0454364422ecfa6aef583aa791a9535d4fa14423ef42ff2c0935dc137ebf688b4e
SHA512
d0de1758f1845fd55dc166797d47f9746a37d81d8790a2e1ee24cbc73f8db3fcb6a5ae0690cb7eb8a1cec3a61fecfd758b00ac0592a6b16af0a1e8e1627fe967
+DIST firefox-108.0-sv-SE.xpi 559333 BLAKE2B
b6b99d4eba609690152fcef38529411b1e9cf58a9d7a02698d616d8f71b1d7595f0618b54907cc1de185f056ac28369d1734a6845b82b554c1d42bec09fc9387
SHA512
a828e5b78a22788359c4afa77219de596ad505fc2ef0a33a80615c87d6a67ae6ec09f65ee73486da5749dcc22be4ad721d7e0b7d31d04f313a785e999297009a
+DIST firefox-108.0-szl.xpi 518193 BLAKE2B
0272eb92e24e61421f9949a6107d8e78b7a87b9f19b4c1626f7ab3f7ebe3c39c67e23a450ed2de31a2b0d3f70fbe75569bcf1e34a415b5c5817cf03487243961
SHA512
9de5b1e3abd9752528793524ac9ac32744fb8a47fee3e9fc0db42e9102249ee7b621824396e85f803e2ac78d91209c35a17c986afca5f864092653f9a692f421
+DIST firefox-108.0-ta.xpi 509717 BLAKE2B
8cdd03a7ea85c06075f02d18376787b7d74014cd75c6d5a70a9d9708125a55a9ec6ff4800f2322ad70909bf1a3adc7ebb005af0f65d3598b7423feb50eb5c980
SHA512
d2727befaa46da32cc7f7c1f5630c87cab89a923390eaa74141de084124fc743e194f9a8e68c21b8870e37b48f9a21bb9eea3ca48740a7240d0ab701fb689903
+DIST firefox-108.0-te.xpi 556975 BLAKE2B
95df2dff1b7b86728fb879db1606e1157fc54910290d18e2d68043170b1bd2278e9b1a6be5c9fe9619340307376da018144e7b0ea2a64b3087d4c4c0520f12bb
SHA512
8d8a87b31330b47f5fad680f938fb2e43b45e0c45388c1f8c26f7b6381a47e5893900da75b4cb9c13a74a420d6fd287586bbc159476ffd388cc0f84431ec3e38
+DIST firefox-108.0-th.xpi 627887 BLAKE2B
f2c25dc655a5469536e009396d14920e49cd4da5330a1ad27025843e0c7cfc3f50545e144f01734fc0bd1dd72e52f13c0d55a2fadde9a8ed24921ece6072d20e
SHA512
79801769cdcfbbb774f6155556e2098f78ee03c8186bfe03f009175acb8471b2d7cc578fdde8d43856a329efe00e3eb55887b336267a8b84eb6672a78c382762
+DIST firefox-108.0-tl.xpi 522745 BLAKE2B
71b794994d8bab096aeb8798855e2b410362af8f577a18eeedabbd3029d27d39651f3dbeefb7317bf3c92e56c16921b9cd2c34f0f88639610de96e9311b9c5b3
SHA512
5499a53ebff03a474bd0e79126ddca2c962a38dec3c925284370b69f2866b50f0a52e5a81592e43cd440b2f8e305d98ab699bc02944c46a5d99bce416d0be60e
+DIST firefox-108.0-tr.xpi 573046 BLAKE2B
757454b0823bfcf96295cf208a9e3fea30fe83e6b6df02ecae4b153c21ae3f4a7b10d95236b0963eca2f0a184f6cd49a37d4ebe7b61b842beadd4e498e966834
SHA512
86abfec9750461a6a4e7566bd46cec5ae6f332cc73a63928247cd2ad035e30331f9ebb62681bf5654d6e92bfeca2b4ee5a7a76f77894a841790664de57a37687
+DIST firefox-108.0-trs.xpi 487419 BLAKE2B
2f94b930b4b5ac222b886d159fe2a5cd7458827f6b201cec02fb78db877c49769520cabe3702aa8ea23603e1ee513a45d7c7b623418b33f5dcf1858663cb34ab
SHA512
6e35df18e9ed14a77ba7e9ed253764473a4e063d5c6ab90a3a36f8d80bad7d2dd305360ab98a228e667c0c8fa77b5b9c1277fde5d45aafb74516e45e4053b8df
+DIST firefox-108.0-uk.xpi 644540 BLAKE2B
aa1045ec8eabe66259cfdaf550e0451f1e315d3998fe0b2a906c5afe4c0ab7364728d831186720280a9b974a7e446168fb73460fa7a9e6cea2022dba4e8e38ee
SHA512
6d6c0be705adeed790352a3f243995336a47947ca7b48568dbf9423d9db990574a8a71a838acbcfac4b91b1ef94a55186a65c0e81712e621abb6d741d9412814
+DIST firefox-108.0-ur.xpi 559040 BLAKE2B
32b20c764a47c6a3dcb1d4ccc3716068a886851e6202038a717f28ac65ea723eda5183d6e53536393424ca23af8f5b1e3bf6f0f56e5811413614705ed960a305
SHA512
142dae638f70e7cb4095927e34effda348977fe3f19a8d412c04b480c20824f61680f3b544c3fa49f32461996bb55e7a644629bf544b73011b7cd787cf3a22cc
+DIST firefox-108.0-uz.xpi 478513 BLAKE2B
58e82b9b07a2773f365732baa0ac583ed5f9a615c47685fa96c811548b9bc0338f7edb091e37e7f97d92d6a5d81545a7024a73eb5f748ddc2c5cf82d4533b3ba
SHA512
dbc824d1f0e6a568d7446ea711db41938ea4429b4abc42b20f02d2db6b4f2bbb7316147e2da8100dd03474c40bab9373854b8e0483ad6aaedbe6170c5a42601d
+DIST firefox-108.0-vi.xpi 594795 BLAKE2B
fa0ed81572c0c68fb27d2c794e62aa3511dcbb8b2cf9f7107216d97248ab7923183aeca57f358629c40cd6da9075b33967305c9356a757f0720697f9b9b7cadb
SHA512
a9bb4d2839b589ea12876edd8e9e6df5f8b00e6e4f9fe1de47fc588033034a2ef8d117062fd6e33479018f6b1eb0b64ba98baf2471a9c4ef8301eaddc26167ee
+DIST firefox-108.0-xh.xpi 418351 BLAKE2B
d537ed8956c3e1f80039e66f2a38e4df306d27a3555dfd2b70f200e4bce8f8b3f564ba2ab4d094259232ad94d416d495db5651ff8e5184ba078b430a31ec8a98
SHA512
39fc15ab75ca50234d06e274e11ff9d0c02178fc4df9d466d70620e378fd6be5c22f91ea700850bce0fa2f7d234807983fdcdd83fffc8c9bed916914fb80ef5d
+DIST firefox-108.0-zh-CN.xpi 594372 BLAKE2B
ccd72c1b6f242ff067f86013cc7d9e88fe306491355cb0139d9a21d1541017cd4b42787211d49a04814af3b63771cf25a6c4c055d0d5acc429facccbcd54ac1a
SHA512
1d7e227b5f451ad5c09245b171af9e5d5407ab3efb94176a101264376bd37d781594688bd0c71cb3786a0de6a83ca511657ae613135c225c1911066c2097d0c6
+DIST firefox-108.0-zh-TW.xpi 595825 BLAKE2B
e4f5ead0e7e53914a4a5898b1e8aa4849cb1c421032427c5ade7d7735f879f6c55747f4afb881ec18e2132bd8897a235e5a64e405b81fd5855e8fe063586aa4f
SHA512
71234ce804de4d7e6a0d5661f65ececec6baf7e748345d47de8a19b2d390af805a70a64fb1d57ad694bd4ff7ba49941a5ffcd1980d6f9bd53965c39437e525ba
+DIST firefox-108.0.source.tar.xz 503688784 BLAKE2B
ac8e5d613899df4634d7126735b219938b48f49c9306c09eb1669fadcc362f6d492ec3cb6d8a8113eced73fc3351c54d6e5d4ce70b1c77a3a87db22adb76ce81
SHA512
fa800f62cca395a51b9a04373a27be48fc3860208e34ecf74d908127638d1eb8c41cf9898be6896777d408127d5c4b7104d9ee89c97da923b2dc6ea32186187e
diff --git a/www-client/firefox/firefox-108.0.ebuild
b/www-client/firefox/firefox-108.0.ebuild
new file mode 100644
index 000000000000..6ce4c9468c19
--- /dev/null
+++ b/www-client/firefox/firefox-108.0.ebuild
@@ -0,0 +1,1330 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FIREFOX_PATCHSET="firefox-108-patches-01j.tar.xz"
+
+LLVM_MAX_SLOT=15
+
+PYTHON_COMPAT=( python3_{8..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 pax-utils python-any-r1 toolchain-funcs \
+ virtualx xdg
+
+MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/releases/${MOZ_PV}"
+
+if [[ ${PV} == *_rc* ]] ; then
+
MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/candidates/${MOZ_PV}-candidates/build${PV##*_rc}"
+fi
+
+PATCH_URIS=(
+
https://dev.gentoo.org/~{juippis,whissi,slashbeast}/mozilla/patchsets/${FIREFOX_PATCHSET}
+)
+
+SRC_URI="${MOZ_SRC_BASE_URI}/source/${MOZ_P}.source.tar.xz ->
${MOZ_P_DISTFILES}.source.tar.xz
+ ${PATCH_URIS[@]}"
+
+DESCRIPTION="Firefox Web Browser"
+HOMEPAGE="https://www.mozilla.com/firefox"
+
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+
+SLOT="rapid"
+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 )"
+
+# Firefox-only REQUIRED_USE flags
+REQUIRED_USE+=" screencast? ( wayland )"
+
+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:15
+ sys-devel/llvm:15
+ clang? (
+ sys-devel/lld:15
+ virtual/rust:0/llvm-15
+ pgo? (
=sys-libs/compiler-rt-sanitizers-15*[profile] )
+ )
+ )
+ (
+ sys-devel/clang:14
+ sys-devel/llvm:14
+ clang? (
+ sys-devel/lld:14
+ virtual/rust:0/llvm-14
+ pgo? (
=sys-libs/compiler-rt-sanitizers-14*[profile] )
+ )
+ )
+ )
+ app-arch/unzip
+ app-arch/zip
+ >=dev-util/cbindgen-0.24.3
+ net-libs/nodejs
+ virtual/pkgconfig
+ !clang? ( virtual/rust )
+ 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
+ )
+ wayland? (
+ >=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.85
+ >=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 )
+ 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-71.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/libdrm
+ 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}
+ jack? ( virtual/jack )
+ openh264? ( media-libs/openh264:*[plugin] )
+ pulseaudio? (
+ || (
+ media-sound/pulseaudio
+ >=media-sound/apulse-0.1.12-r4
+ )
+ )"
+DEPEND="${COMMON_DEPEND}
+ pulseaudio? (
+ || (
+ media-sound/pulseaudio
+ >=media-sound/apulse-0.1.12-r4[sdk]
+ )
+ )
+ X? (
+ 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 ; 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+=( 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+=( 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}"
+}
+
+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}: $@"
+ "$@"
+
+ [[ -n $VIRTWL_PID ]] || die "tinywl exited unexpectedly"
+ exec {VIRTWL[0]}<&- {VIRTWL[1]}>&-
+}
+
+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 ; 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() {
+ use lto && rm -v
"${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch
+ ! use ppc64 && rm -v
"${WORKDIR}"/firefox-patches/*bmo-1775202-ppc64*.patch
+ 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
+
+ # Clearing crate checksums where we have applied patches
+ moz_clear_vendor_checksums bindgen
+
+ # 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 ..."
+ if tc-is-gcc; then
+ have_switched_compiler=yes
+ fi
+ AR=llvm-ar
+ CC=${CHOST}-clang
+ CXX=${CHOST}-clang++
+ NM=llvm-nm
+ RANLIB=llvm-ranlib
+ elif ! use clang && ! tc-is-gcc ; then
+ # Force gcc
+ have_switched_compiler=yes
+ einfo "Enforcing the use of gcc due to USE=-clang ..."
+ AR=gcc-ar
+ CC=${CHOST}-gcc
+ CXX=${CHOST}-g++
+ NM=gcc-nm
+ RANLIB=gcc-ranlib
+ fi
+
+ if [[ -n "${have_switched_compiler}" ]] ; then
+ # Because we switched active compiler we have to ensure
+ # that no unsupported flags are set
+ strip-unsupported-flags
+ fi
+
+ # Ensure we use correct toolchain,
+ # 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
+
+ # Set Gentoo defaults
+ export MOZILLA_OFFICIAL=1
+
+ 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 \
+ --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.
+ if use ppc64; then
+ mozconfig_add_options_ac '' --disable-sandbox
+ else
+ mozconfig_add_options_ac '' --enable-sandbox
+ fi
+
+ if [[ -s "${S}/api-google.key" ]] ; then
+ local key_origin="Gentoo default"
+ if [[ $(cat "${S}/api-google.key" | md5sum | awk '{ print $1
}') != 709560c02f94b41f9ad2c49207be6c54 ]] ; then
+ key_origin="User value"
+ fi
+
+ mozconfig_add_options_ac "${key_origin}" \
+
--with-google-safebrowsing-api-keyfile="${S}/api-google.key"
+ else
+ einfo "Building without Google API key ..."
+ fi
+
+ if [[ -s "${S}/api-location.key" ]] ; then
+ local key_origin="Gentoo default"
+ if [[ $(cat "${S}/api-location.key" | md5sum | awk '{ print $1
}') != ffb7895e35dedf832eb1c5d420ac7420 ]] ; then
+ key_origin="User value"
+ fi
+
+ mozconfig_add_options_ac "${key_origin}" \
+
--with-google-location-service-api-keyfile="${S}/api-location.key"
+ else
+ einfo "Building without Location API key ..."
+ fi
+
+ if [[ -s "${S}/api-mozilla.key" ]] ; then
+ local key_origin="Gentoo default"
+ if [[ $(cat "${S}/api-mozilla.key" | md5sum | awk '{ print $1
}') != 3927726e9442a8e8fa0e46ccc39caa27 ]] ; then
+ key_origin="User value"
+ fi
+
+ mozconfig_add_options_ac "${key_origin}" \
+ --with-mozilla-api-keyfile="${S}/api-mozilla.key"
+ else
+ einfo "Building without Mozilla API key ..."
+ fi
+
+ mozconfig_use_with system-av1
+ mozconfig_use_with system-harfbuzz
+ mozconfig_use_with system-harfbuzz system-graphite2
+ mozconfig_use_with system-icu
+ mozconfig_use_with system-jpeg
+ mozconfig_use_with system-libevent
+ 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 when using clang
+ mozconfig_add_options_ac "forcing ld=lld due to
USE=clang and USE=lto" --enable-linker=lld
+
+ mozconfig_add_options_ac '+lto' --enable-lto=cross
+
+ else
+ # ThinLTO is currently broken, see bmo#1644409
+ mozconfig_add_options_ac '+lto' --enable-lto=full
+ 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
+ # This is upstream's default
+ mozconfig_add_options_ac "forcing ld=lld due to
USE=clang" --enable-linker=lld
+ else
+ mozconfig_add_options_ac "linker is set to bfd"
--enable-linker=bfd
+ fi
+ fi
+
+ # LTO flag was handled via configure
+ filter-flags '-flto*'
+
+ mozconfig_use_enable debug
+ if use debug ; then
+ mozconfig_add_options_ac '+debug' --disable-optimize
+ else
+ if is-flag '-g*' ; then
+ if use clang ; then
+ mozconfig_add_options_ac 'from CFLAGS'
--enable-debug-symbols=$(get-flag '-g*')
+ else
+ mozconfig_add_options_ac 'from CFLAGS'
--enable-debug-symbols
+ fi
+ else
+ mozconfig_add_options_ac 'Gentoo default'
--disable-debug-symbols
+ fi
+
+ if is-flag '-O0' ; then
+ mozconfig_add_options_ac "from CFLAGS"
--enable-optimize=-O0
+ elif is-flag '-O4' ; then
+ mozconfig_add_options_ac "from CFLAGS"
--enable-optimize=-O4
+ elif is-flag '-O3' ; then
+ mozconfig_add_options_ac "from CFLAGS"
--enable-optimize=-O3
+ elif is-flag '-O1' ; then
+ mozconfig_add_options_ac "from CFLAGS"
--enable-optimize=-O1
+ elif is-flag '-Os' ; then
+ mozconfig_add_options_ac "from CFLAGS"
--enable-optimize=-Os
+ else
+ mozconfig_add_options_ac "Gentoo default"
--enable-optimize=-O2
+ fi
+ fi
+
+ # Debug flag was handled via configure
+ filter-flags '-g*'
+
+ # Optimization flag was handled via configure
+ filter-flags '-O*'
+
+ # Modifications to better support ARM, bug #553364
+ if use cpu_flags_arm_neon ; then
+ mozconfig_add_options_ac '+cpu_flags_arm_neon' --with-fpu=neon
+
+ if ! tc-is-clang ; then
+ # thumb options aren't supported when using clang, bug
666966
+ mozconfig_add_options_ac '+cpu_flags_arm_neon' \
+ --with-thumb=yes \
+ --with-thumb-interwork=no
+ fi
+ fi
+
+ if [[ ${CHOST} == armv*h* ]] ; then
+ mozconfig_add_options_ac 'CHOST=armv*h*' --with-float-abi=hard
+
+ if ! use system-libvpx ; then
+ sed -i \
+ -e "s|softfp|hard|" \
+ "${S}"/media/libvpx/moz.build \
+ || die
+ fi
+ fi
+
+ if use clang ; then
+ # https://bugzilla.mozilla.org/show_bug.cgi?id=1482204
+ # https://bugzilla.mozilla.org/show_bug.cgi?id=1483822
+ # toolkit/moz.configure Elfhack section: target.cpu in ('arm',
'x86', 'x86_64')
+ local disable_elf_hack=
+ if use amd64 ; then
+ disable_elf_hack=yes
+ elif use x86 ; then
+ disable_elf_hack=yes
+ elif use arm ; then
+ disable_elf_hack=yes
+ fi
+
+ if [[ -n ${disable_elf_hack} ]] ; then
+ mozconfig_add_options_ac 'elf-hack is broken when using
Clang' --disable-elf-hack
+ fi
+ elif tc-is-gcc ; then
+ if ver_test $(gcc-fullversion) -ge 10 ; then
+ einfo "Forcing -fno-tree-loop-vectorize to workaround
GCC bug, see bug 758446 ..."
+ append-cxxflags -fno-tree-loop-vectorize
+ fi
+ fi
+
+ # Additional ARCH support
+ case "${ARCH}" in
+ arm)
+ # Reduce the memory requirements for linking
+ if use clang ; then
+ # Nothing to do
+ :;
+ elif 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 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}.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
+}
+
+pkg_preinst() {
+ xdg_pkg_preinst
+
+ # If the apulse libs are available in MOZILLA_FIVE_HOME then apulse
+ # does not need to be forced into the LD_LIBRARY_PATH
+ if use pulseaudio && has_version ">=media-sound/apulse-0.1.12-r4" ; then
+ einfo "APULSE found; Generating library symlinks for sound
support ..."
+ local lib
+ pushd "${ED}${MOZILLA_FIVE_HOME}" &>/dev/null || die
+ for lib in ../apulse/libpulse{.so{,.0},-simple.so{,.0}} ; do
+ # A quickpkg rolled by hand will grab symlinks as part
of the package,
+ # so we need to avoid creating them if they already
exist.
+ if [[ ! -L ${lib##*/} ]] ; then
+ ln -s "${lib}" ${lib##*/} || die
+ fi
+ done
+ popd &>/dev/null || die
+ fi
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+
+ if ! use gmp-autoupdate ; then
+ elog "USE='-gmp-autoupdate' has disabled the following plugins
from updating or"
+ elog "installing into new profiles:"
+ local plugin
+ for plugin in "${MOZ_GMP_PLUGIN_LIST[@]}" ; do
+ elog "\t ${plugin}"
+ done
+ elog
+ fi
+
+ if use pulseaudio && has_version ">=media-sound/apulse-0.1.12-r4" ; then
+ elog "Apulse was detected at merge time on this system and so
it will always be"
+ elog "used for sound. If you wish to use pulseaudio instead
please unmerge"
+ elog "media-sound/apulse."
+ elog
+ fi
+
+ local show_doh_information
+ local show_normandy_information
+ local show_shortcut_information
+
+ if [[ -z "${REPLACING_VERSIONS}" ]] ; then
+ # New install; Tell user that DoH is disabled by default
+ show_doh_information=yes
+ show_normandy_information=yes
+ show_shortcut_information=no
+ else
+ local replacing_version
+ for replacing_version in ${REPLACING_VERSIONS} ; do
+ if ver_test "${replacing_version}" -lt 91.0 ; then
+ # Tell user that we no longer install a shortcut
+ # per supported display protocol
+ show_shortcut_information=yes
+ fi
+ done
+ fi
+
+ if [[ -n "${show_doh_information}" ]] ; then
+ elog
+ elog "Note regarding Trusted Recursive Resolver aka
DNS-over-HTTPS (DoH):"
+ elog "Due to privacy concerns (encrypting DNS might be a good
thing, sending all"
+ elog "DNS traffic to Cloudflare by default is not a good idea
and applications"
+ elog "should respect OS configured settings),
\"network.trr.mode\" was set to 5"
+ elog "(\"Off by choice\") by default."
+ elog "You can enable DNS-over-HTTPS in ${PN^}'s preferences."
+ fi
+
+ # bug 713782
+ if [[ -n "${show_normandy_information}" ]] ; then
+ elog
+ elog "Upstream operates a service named Normandy which allows
Mozilla to"
+ elog "push changes for default settings or even install new
add-ons remotely."
+ elog "While this can be useful to address problems like
'Armagadd-on 2.0' or"
+ elog "revert previous decisions to disable TLS 1.0/1.1, privacy
and security"
+ elog "concerns prevail, which is why we have switched off the
use of this"
+ elog "service by default."
+ elog
+ elog "To re-enable this service set"
+ elog
+ elog " app.normandy.enabled=true"
+ elog
+ elog "in about:config."
+ fi
+
+ if [[ -n "${show_shortcut_information}" ]] ; then
+ elog
+ elog "Since ${PN}-91.0 we no longer install multiple shortcuts
for"
+ elog "each supported display protocol. Instead we will only
install"
+ elog "one generic Mozilla ${PN^} shortcut."
+ elog "If you still want to be able to select between running
Mozilla ${PN^}"
+ elog "on X11 or Wayland, you have to re-create these shortcuts
on your own."
+ 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
+
+ elog
+ elog "Unfortunately Firefox-100.0 breaks compatibility with some sites
using "
+ elog "useragent checks. To temporarily fix this, enter about:config and
modify "
+ elog "network.http.useragent.forceVersion preference to \"99\"."
+ elog "Or install an addon to change your useragent."
+ elog "See:
https://support.mozilla.org/en-US/kb/difficulties-opening-or-using-website-firefox-100"
+ elog
+}