summaryrefslogtreecommitdiff
path: root/mail-client
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-08-22 20:43:37 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-08-22 20:43:37 +0100
commit6a9905e269a1104c93dceb41e2627a8568642946 (patch)
treecf71d5f8b2a4a1b2168090ec26e1cbf07fee6c18 /mail-client
parentc0a9f2400f704c438b0cef4f4105e7bb6c3cbbff (diff)
gentoo auto-resync : 22:08:2022 - 20:43:37
Diffstat (limited to 'mail-client')
-rw-r--r--mail-client/Manifest.gzbin3706 -> 3707 bytes
-rw-r--r--mail-client/thunderbird/Manifest69
-rw-r--r--mail-client/thunderbird/metadata.xml3
-rw-r--r--mail-client/thunderbird/thunderbird-102.0.3.ebuild1179
4 files changed, 1250 insertions, 1 deletions
diff --git a/mail-client/Manifest.gz b/mail-client/Manifest.gz
index a0e002ee0b8c..e7a3c000a33f 100644
--- a/mail-client/Manifest.gz
+++ b/mail-client/Manifest.gz
Binary files differ
diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest
index 5db6b2766794..10fbd75f7966 100644
--- a/mail-client/thunderbird/Manifest
+++ b/mail-client/thunderbird/Manifest
@@ -4,7 +4,73 @@ AUX gentoo-default-prefs.js 362 BLAKE2B d3f08c4ac1ae1941e2a805175dd0621756a7aa44
AUX gentoo-hwaccel-prefs.js 162 BLAKE2B c5f2dfb727081e2d538c262f12c0cfdda31cbda58c77f4024d820e1d1915203d1fb8ad2671f88ff0eb2b019bbf44079a8b1114e240b74f815680e5c28eccc295 SHA512 f1847f11e7059a83f09c3c7494aadcb04512cdf2ccf6616ebe3ec02fc46de66fd35cf83d81e08013c0e594b73e4dffcb67a32288b6949ce137669715583fd0a4
AUX icon/thunderbird-r2.desktop 882 BLAKE2B eb9c2e381b67319d9cd53f26e9b406f55de86b716b28a3df6470594a612e07acda4c7dcdb48b6d55930972592f7f01afbbf14f09ccc4b20265d3c18554a01a2c SHA512 689c9fa5c37a1e6ee80a3dfaebec2a185d91508537c35ce2fb35d13d89b16ae0cf3c640c3115a52c0e4b7a7624aee6a8f8c52679a0073c94dea25cc779ce624b
AUX thunderbird-r1.sh 2896 BLAKE2B 140047417b24e959fe6388c4913457f8e3e786158b7394abf7442b0d2e83de21238e58983845a23b855e1aab60c9289e1a12af430eac9a8b2d9929da97de2852 SHA512 f9b989152a8a3ac274033722c77ec19374085654ad6c85ea4db6f8af8f4b2066d6d9f82b610be2db341c8ac867547f54f806ca6571258ed98dd9e2527d21b357
+DIST firefox-102esr-patches-02j.tar.xz 19688 BLAKE2B f26b8dd2613712ab49db34247c432769386ac066238b86c0eea367cebbd167334f822866129d0874efc35da4da686e6185881649b0b3095dede28ec8c658a3b2 SHA512 456cd2b7d9f907080afb5225d353154117624fa938f24dcfae7ada03f5b39572e5d6d6e1a4bba7825465b48f6d38b04e5c0f69556c82d4ebbe1463e11dc809d7
DIST firefox-91esr-patches-10j.tar.xz 18320 BLAKE2B ec882411eed19bafab8676e3d79f4ae43947bb97c44571c1497bb93a44fcfec99de06ebacbdf8c4944dcecdf949e4f684908d7ce4226cdcec60241e62e75810e SHA512 670a14d852bb74b9074c3fef9310650f71ce1c56314109c49aea02a7a69acc836af60a8beab11da53e21b10a8e6da341fcfa18b68a1dfd33b26978dd63758e9c
+DIST thunderbird-102.0.3-af.xpi 542660 BLAKE2B 00f82a5d6bbd4d93e8d3656ac5ede546617bf9aa6edb30d834f7a1a68e96f5bbd539b7e620d5632e8f956fd4bae36803880b7dd32e2a4fd12f2a3aa3ab05b529 SHA512 6056b731492b41031b4e0c7b021f2fdaaa5062c781688dd15db7397a883c0c7e87d726693f7805cef68de710b4844f0bf910355a5a2a48860ac145b38406ed8f
+DIST thunderbird-102.0.3-ar.xpi 651048 BLAKE2B abbeda8717143b250828d6e91bdab0de7b513a0c0d35b7434d33fd12a0769c23975110c5a09410298c72333efb5c4592efc9f865b9290cf75827aab23996c611 SHA512 4b4849c58fb20d0a56e0c731f345a70aa87e58e6a03f84a9126d19d2dbd2b81b8b97c7fe35e53be4497e347f0dbd6c2c9f4c9fea5bcd101276d225b750140ae5
+DIST thunderbird-102.0.3-ast.xpi 568098 BLAKE2B 506971ee4154f48faa5e06a7e64c2d9627802c266505517c58b24ceadb1f277269202f5201523fb4d444fac99c77facc8bf5b1c9aa2d9e88cb6134d78666ffd4 SHA512 64f657f71948516a531ca7b294f1c08d9ccaf05e950a513717085f9b5c52f8fee9de5e3db9015d1f9e3a30fc2b11098729fce7508e9a158adcdffddc1c5bf16e
+DIST thunderbird-102.0.3-be.xpi 679862 BLAKE2B 1613b7621e5cbf392974c50ad6f716161d848be6208374288d5794e37b308c31c3af117d69c357d03de76d939a33819b4264af7dcd512f1a062d51136406b90a SHA512 59f277df0b70afd66d8af8e2a79b9fd11024829a777796b86fcec567ec87aa78d4b1e469fac1ee582a9b1491429d682a409d115b4e9753b33453422cb332abb4
+DIST thunderbird-102.0.3-bg.xpi 678475 BLAKE2B 146b318a86cd26cf815737ceab6b92d954892ae1cc0975dd06637abfd22bafb774dcc43691cc998e38fa79217726ef6365f84c6f44a3a3913acd299c70c58037 SHA512 9b765fda284977541d89f686465d6e1f75710836cc1d6c4cb02d30077c707a36cab16c7fbac3581823b5b50c4a8ae74d946f604a51a33ac9a41d54f43e0f578a
+DIST thunderbird-102.0.3-br.xpi 609740 BLAKE2B 90a4b32e176ac506eaecdaf52190a2b021c3295b4e1de3c9a12f6cc013a9b8a2a46ff021813624b87469a258b19290f2595b382030ba26520480c05fedb1e1ef SHA512 db3b7b9f21ff4c87bcc45d215d919a9bbb0db2e29efb343810892c2d099dea6233816046add69b08e67963d6b6a6338dff58d4cda6d6f49be2b2c7856836edd1
+DIST thunderbird-102.0.3-ca.xpi 633066 BLAKE2B 74adfcccc67c1533e89fa23e8fb1b4db4b3fc26dfec17afabb7d84e1f62f601ca667225765865ccae063a02c24f2b058f9f6856c9ce3588f869508128b65c63c SHA512 df0464a2764d6698867e92be607e49e10dcb2f4f55f34584678e94bbfaaf4344657e269e78154cf30d3870a6e024da8c903f2c134bba3e352eb4536c89360cdf
+DIST thunderbird-102.0.3-cak.xpi 639508 BLAKE2B 32579e91c767ae1dc98d04fbf8c08aa4c3fdbb186e5553674ab0b7c9159db358120f53db52c9713f6c51fa4f7cc98de87c995a5485f053c8cae94589da9b5afa SHA512 3465e9bab6410adfe8accd503ef9c6b4f5eee871208a7e60f5298a2e08baf0609afaf65dc1a6e37967fe21a94a5db626f090aaf37ecef570a2f1b58446d42b84
+DIST thunderbird-102.0.3-cs.xpi 702644 BLAKE2B 53a6066ab2f00105c7dca712ded12c1cfa73fb0ad61088413a8ff9df4cff2a9148bf587d3ba45a573c4ada544851f179c7557ac0039522a49fc8d2242f16525f SHA512 c0de90f57e14ec4e57c0f13632fa63218a194df3a20e53f6c4b026b7e452f429b95f2957f34befa45d6c24a6f4d30aa182bfc0c426298d3f3586d36ce440b0b6
+DIST thunderbird-102.0.3-cy.xpi 678071 BLAKE2B 467afe1b5f895c5d1d46dc1a3e64e391700fa68b00c4a09a582a348e7165685464a78823ff505203f3f51eccaa74aff78b7d7deca89ebfed3552e836533eac54 SHA512 703a0edff8e597eb2588a309cc27c6091ab9f8a12e915c18f46a279368a07f447ba523c1849d7aa2750c1dc9ec9fa89cd5e0f2a03022fe5ad609ed4e16244767
+DIST thunderbird-102.0.3-da.xpi 665321 BLAKE2B 8c535d5d1500e04f39a6bfdeea7af7cf8e298c16176b50b14ef892cdfdd8fcafcd5cdcb6073d9bb929e3204d945f29c490a90b22da78432ea7e7862e60f9c034 SHA512 2a95c6833a6747156dc31da4b3c8460031a2dc05c3640b341cd9c07788bbc2339b9b9ea884ce8145855efd83758a603a245d36ad394cf3218e2b6861e1b2ad17
+DIST thunderbird-102.0.3-de.xpi 698299 BLAKE2B a192bbf9b6fa7f43e81a965103a8333c3c9641f766254b0a77026f3a8feae9f7bf99a40591f08976709edd1f270b913e6d56c85b02b9a018cb04be8bd57343fc SHA512 d99aff879a312bb2d2203aaadd439f35945a4f1ef542ba5cb203ee341a5fca9a9f7029e36b86447da79919a4325504128c9f75f2c1a71234e2ca0250e807bc88
+DIST thunderbird-102.0.3-dsb.xpi 711384 BLAKE2B 6c5fa2e472339c82f4d5548faebc31d424d66e4f9918d60d7475f1629504b505999d95e53a6b6759168f045f038bc4bf9e257c819b2b9ca2a6ebf9747d4a942b SHA512 f4693904da55866c9ba5cf60af38bd3402f1304f84d7289486fad2ad699f76d787a4f9e62bb7efc801c9107d1d28c61dee84c4a03f34852fbbe5cea50d3e67c3
+DIST thunderbird-102.0.3-el.xpi 807196 BLAKE2B a3efaac953314a872c1ee0864a4e0e57474bb194034d0406da8485ba8f8868e2d1243ccb271bd314222e0b61edf63c2fc0dc090330c33395d975f2ad3bf45f82 SHA512 c16821bad60a67ce6bb68e9363338fa1039a8343e86b6de33b5580ed0aba0f4a843a3dce4a395d9397163080076c9745ffbfd10d225518ec1d72d70ee2843b4c
+DIST thunderbird-102.0.3-en-CA.xpi 633274 BLAKE2B 2f481e9a9ba9d6b19071d1738eeb0480da3e83a724834584a3bb10acad0b3afda92d0761ac4f59dcd76a3586d3e86df9b73b5c99365c3d6b4f807384e6779e2b SHA512 82de7c422d9235f341d49ca1a50d025d91a3ce583bafb23f52ed7a9e8eabf483daecf865b668d6fa7976d629b0c2e0051025c6335d03867b26ab98b9a7ee2625
+DIST thunderbird-102.0.3-en-GB.xpi 638956 BLAKE2B 5f3edb505d8983b6ec2ddc638a905005c2024d4b13d21ba756313b08f0640e4e911bc28596302764b64805e6b1155cc7e500b2b3688af260d70e4d42b4d01694 SHA512 98a6ad7ead7b1e329e7013a8885de907d56a9546b469fd8b77d928c529105831bd511477939ae0459c6b9666eb926d5275628d29005ca3042b02b1f5a2086d64
+DIST thunderbird-102.0.3-es-AR.xpi 688114 BLAKE2B f7169d823e5e976cb7201f42cd9de0950395644f4fe77362c88e13ca526d93fc4a7e3b6b61848a5a69567618c0fba0b3b7fff115954f1360d38a4c433003949b SHA512 809505af948d12b42551c95b30a47aa653e4e0205c04d02d7d6fd591de904afe2a529d7619a0bb7bc3563af224c010dcf891ff50667d916d875cdd2ec1a77f02
+DIST thunderbird-102.0.3-es-ES.xpi 645385 BLAKE2B 13cc09440a31650a34df7c0519a97ff38e93955feb3ec4e1ebd7087e3517056ccb098c2797e5b271c7152968b988c46cfc9bb88752a12611d8ac9b2bf25737c8 SHA512 12a4a0ba72a1f113e0576da1f998a7f98378b9132c9e6319a3c512d09b33ef83acfbd5d7b085a77004a509e5482f54c105a7d9b0b5852d56a41930c595e7c44d
+DIST thunderbird-102.0.3-es-MX.xpi 690800 BLAKE2B e77a036fa4c8837d62a629051349b5f9746265a55950971f304ae20920372dc9de177c5d9dc6d78efad085e3257fb2710dd8809295588ef9fbf5d5b58d1ce599 SHA512 011db25f854eaa91e9d1877549e1741b3050bdbb55bb53d9409627dafdce0d907ccc127750342350ea538b29b5f93776be842aa36f72134daf88e2fe33e5f426
+DIST thunderbird-102.0.3-et.xpi 662974 BLAKE2B c23a544efb0f63d5b446d89789d2a9c965edde5fa2417698130d298ca968f5ba44b48e0ceca7890e32e842b24c2ae4fb2e5e6abc55c25d449cc4f18cb43673c9 SHA512 4062e8589e1bf472f50d5dd8259490e59d24111570a6526d53c88395d00464e41f309c2a6b6601eea2ea8bc370279730c8cd5053831616938bf7484270764e2f
+DIST thunderbird-102.0.3-eu.xpi 672427 BLAKE2B c4c9f161fb60a4a88d41d4700ec0a6233dff344733bc912b3957f196ec3abb7dcf6edb4038e669863b79901a43cc03d857c6db0a47f765d0684c378f15247773 SHA512 078e33ba4181ef6eac2aacd35d2894956238e4d75fa64d2c8bc83055cfb8bd9a43eb50b4eda811cc3575d33fbad88a9449b5957225403cc4c40873c8a6aa6c94
+DIST thunderbird-102.0.3-fi.xpi 663824 BLAKE2B 89f52fc91ec8fa66ed948733c307acc2e164fe46bc477094a7d6cc336a74a9d74669b09586b37e9793f1c87f50f308ab546e115f6d7189827f4b217669e3705d SHA512 5a3fa03290abf7bb4ba7952d90192ee10241c48dc613d1996d1da65851a7084519ec2dcbb9f4e5979121f770b42ae336313dd8ca2a8bd5a99a645fd463d2bf35
+DIST thunderbird-102.0.3-fr.xpi 700483 BLAKE2B 9e654a00452741d853b7c03b7928ea33e1addeafe3eff17c86d1331680b75da7e5042a171b3bc0e07a904a980eaec4be0b25e389db82b2aeddc38853c7bf4a75 SHA512 5179eab415eb935ff5e5c87d4df090289a522d882eee2a294790872873d4bcd87ef3f0813c5930e0eb2c3fc8856b688a5281542443ce1563089a380aad328895
+DIST thunderbird-102.0.3-fy-NL.xpi 683293 BLAKE2B e83221af880f6f09d9c3d0ca0a5ef09dd6844511770dcd306df13d047195176a5b53bb3a928e70478b35880964a046a9e7f698467675a852348178071c5adc1d SHA512 f5dcdb728e9710c63716e7f81f7585baaa266cc5175f0839aeb81820452f9b24adb0c7683f5606788c1930a8905bf900fc9211d981501744ab0ff697fab60adb
+DIST thunderbird-102.0.3-ga-IE.xpi 603288 BLAKE2B 9048562eff647f1e61bfefd00ecd3c61f570e718acf129e3f004f679b76fb9bdb3310bbc926d07f24379f3e7f27b92b6d0ca3726b3cd9a53590f0ceacded44e1 SHA512 3b583ba310334155621c5a81693c73e46e1ad036ca8e82cdcf52b1ede7bb4f834f533564a30b4b3a4a59655e1cdd753ea160646dcde3e2394ff9f65c64491491
+DIST thunderbird-102.0.3-gd.xpi 629438 BLAKE2B 7422e17b4eff841ad1c3e3336d9033e7540f460fb2c5f0703a6d78db30b34e332a776a86acb6f3f1de898b64cf458f6441d241c60bc48ea6240d0e75a4c45580 SHA512 1ca1013695b6539679e6cb19cc835aa74412aaaa9645a9983cf396d7cee0a2cd39088d84d15addf5d32acfb1f82784e11fc79d50398c4c6e6fd3c99a960519e3
+DIST thunderbird-102.0.3-gl.xpi 661038 BLAKE2B 1e322b7ff1c641e93e1d4f4418d767a561673c513826d0da474938a14f42f322b833dc2c1686e7a271979c750940cece2d1a2b7ab9387cab6ceb0ebacb0b3e1a SHA512 7baf598c0302450829fc2c64ddd1bd11957df0dc17524c222c3122713e5554bba5e292aef955f98c126fc15d7b1f766dfd9158b6e92357f77d5ee855e6769682
+DIST thunderbird-102.0.3-he.xpi 657830 BLAKE2B d3a2924a41d7973cc894195f87f1cedf1ac75306b7aa68b38c8ecf0d34ffcbffa34794b394b47ab9e0d89f566e11f167e718a98226d6a8f43cf36551f71b24ec SHA512 d86b66b865b8b6dd39af1dc97e583137e15a3e3be7c0cee351844869d22a7352f69351bf97d40a10deeeb6b19e9558f447b624f4b84e5a92c5e765cabca073ba
+DIST thunderbird-102.0.3-hr.xpi 640890 BLAKE2B 6f44f104e44fe592f096dd50ae54a9ad19a97cbd787308fa0a34a55494e8952f1cf6af49cc14b2058973ea461119560fa777020582930a1ce6d04bd5c07e312d SHA512 8045974b5ea56e8c0b1717ebec6f6dbaa43cfe69acf0b390c1124739c600b52d1b02348cb167695df94eee72647a8dc8af0774b291c7ad90a6f2ea90757d4856
+DIST thunderbird-102.0.3-hsb.xpi 708246 BLAKE2B 66b1d963cf88d8f10137c8776e045d7d1e268de90c227c2e4883fe704ca52e0124458b77525b3f8fbca5118d0f484bcb7400a6f2f4ab7ef8d4a854405fdb6dc4 SHA512 7191013c68a4c9e0b182955464f77ce520bfeef6690033355dbfdc022988dd2c2c627befae33528b74fb808285cafde943fb8f24c8ba12b4f0a44f0682c74418
+DIST thunderbird-102.0.3-hu.xpi 710898 BLAKE2B e346f5ff5977136447773f735e5fd89c515e100366abaebad6ff40d04e7c69584afbb5ac9a3f1955539bdb15b22f07d84f7501c37c224eb5766025d509a0635a SHA512 928632c6d36cb58089ee988a8070ff543ddd83163d4f191643ddd3851faa8f8fcab9d7353bdeace83582728bac3ed0d6fb83fbaa40d8487ecf5181823795d7b8
+DIST thunderbird-102.0.3-id.xpi 635723 BLAKE2B a3c44eb6a2442fb21794d7b147b5aee67c056c0fc42758859ee403d561c0704b1d4258da8a127cbb99ee1ce62da07e4337fbd616b79934459e85522b94b4a9e2 SHA512 c7e65193173024d5bd90a52950d9848244480114795162421dca2e2deadb69f374a93ba5c832b2dac2caff2488c3c7868e2577c692cf8c9b80aae2dd06d3aa7f
+DIST thunderbird-102.0.3-is.xpi 673947 BLAKE2B c3fb89bceca28e2449a50c1c6e8304d34136f500f07a939e7caef8bfd42cc75b403bdaaa0ae35acb9a35f4f0f86b0b9c23809e8ae5f3dd56be378a4acef1d79c SHA512 64dbc261ba7124c901fc49646871c91134327091a97d9ecffc08a3afaf3b7b414ab7857c51fcf624716eba34d1e03df5eb205042e36e524955a67f26a9b86cb5
+DIST thunderbird-102.0.3-it.xpi 592808 BLAKE2B 9cf49a0ab0787f1fb1a64a1202cab59ae6b9919a5448401b1f11293e15862d201ad45434012b42de07a16e28acf0fc243fcd89ffd5f0a628a0554fe8de6b01fa SHA512 ab3244684f8bacd296c74ed5d31c0f08d9ca828f8cfcdbb20083e38161868cad43384bc656ca9ed333d65f939e3ae451f0f0ced71bbc0b402f6a072bd1f57d5f
+DIST thunderbird-102.0.3-ja.xpi 738849 BLAKE2B 45f647934d40da6b0a5651fa865ca016308d336287f04e93b86252109c56331dcdba9256aa11111fccfaaf7da1a02b82539457fcd5a7393deb2d56853915f705 SHA512 84161156dcdecb70968367909f91cc45a6a4d25bbf700e27758fa9fe59254650d752c11948efef39d61fcf5423f2fdf6e55ece42f99dbfdaab6bddd146c040a8
+DIST thunderbird-102.0.3-ka.xpi 745699 BLAKE2B e9bb15f7446c2321a309575bf9b8290ccbf69c9ce49242b15b25318bbf35e4683b5fc7e92b937c7d65d8005e15bf4d0f547bb6a2e913d12ea2bd038aefbf5b19 SHA512 1cf319a0beb0a93da2c7fefb5f7304ee6fe0ac07c150de5ffb01a12b81739cc16788bf52f3cfdaadf9b7406d74f9294257bdd3dd5d08a5fcac5e2e53a990a7fb
+DIST thunderbird-102.0.3-kab.xpi 680362 BLAKE2B 1ac5b8107b0a718752e703df351bfad8def384758671575a2caf993a5a5d4fb71ba6033d4e658bb6b39fcf8a9d3526e6aad89821c63fbacb543d30f80e539f4c SHA512 12c94b3c5fcc9271803e076822f5f4d6cce264ac3412fc63c666c9af2df95a0737a6f243c8e1abfd2c32355495013874a59010a5b2d5e64729fd1f479346a395
+DIST thunderbird-102.0.3-kk.xpi 727865 BLAKE2B 374b6faefe8687fc8f0b706b32b1436cd1392192802e1e9c081dff4148359327c6395e8cdcce37ab7acb9794b5719250771d826bcc03393d217a8e15f67263d8 SHA512 3f95527d29623993addd98547f8aad4b5d051b002a9a1e1ed371810917db4aff3a7b048e28b861d67b647eef00c792c2d00430ab3ec6a3b4ec6fd00367d6db3a
+DIST thunderbird-102.0.3-ko.xpi 688293 BLAKE2B 071d0702ac2a9a3c53e3f41c168c2684fbec950776f4d0c4b021038d4afbdca74d2700a9af129c9f4d65691cce09324410e0e262bd7843138e3731c0b575a751 SHA512 fd2faed73bb6808896e9a46b9a7a456c73f1ed91a89072f54c55a5159fb7e5893e9ac02c7d5d254ccbdcd0ef4e371a3c087d1c9cb24c4a2c14f72f0eb16bd985
+DIST thunderbird-102.0.3-lt.xpi 678796 BLAKE2B 34b3e1530086f2920bc544131e9dbaa41a8b7d2d44c68c7324d8482dfefe430ecb5b5732999a9e9918d9a37c73bf149cc47827509f0b934005c3ba2a77cacc95 SHA512 d21224207793d88406d485fdfea09b49837793504b26fbb10fa33f9607a2ede3dc642995df290324696cae514a7786d8d87ca98fcb321cb2cbae3fa8ecd15059
+DIST thunderbird-102.0.3-lv.xpi 606352 BLAKE2B 518fddfefe40ae9624bf0c48bde763d614b7306f1d83a7965c54f1348f888917c9d8cdcefd9daa4583f7e288145e6f98a12b722cd8b9da485cd14c1b533458b7 SHA512 030348eeb76f101ce1c077c247ab698f99b82a8472ff9dd2a78e439437f2cbf473553dd37d134e1ea0361a48bf489615122832cde2d2630572b0407ac61ba0c7
+DIST thunderbird-102.0.3-ms.xpi 567251 BLAKE2B 73d7170f090ec80896f5b52d7de5a386dc771c862deff7d25ecc9a9631e9c8311df01882ac7ea727367cd3cab19514491fe3c15fd9eb51c7c795addd51504703 SHA512 8b7860f09f1be77ac009213e74d057be8c6717bf3df408e422e6a7c559e195abcc1ca43ffa156f8ec6e6e632f1203470022b6a32f3016cfccd78740e565ac870
+DIST thunderbird-102.0.3-nb-NO.xpi 644363 BLAKE2B 1dcc85bb2843fa0ec1be5ab6232254b16e047b2b04e35882f5e5acd407cd9080cc4d541fbc6745e7751010888e6436c6f7488c5b7ece8831512d57295dd9893a SHA512 d7d71c47c7d89df8ac5a508ee9a15fdba12328824047e2f947db5dc09e4aa9731f1c3e8be91a19d4cdd24970e4e3ae25be4656ee23866efa0d7040d4f58341f3
+DIST thunderbird-102.0.3-nl.xpi 675081 BLAKE2B 5b7054415bac6a562782a019ff960e720a4a791111a01000bc06bb30f168d3bf768c3d2beb23beacc9f8d7168bf9d71edb2a77610a0c7f37ca7097b16e31f2a4 SHA512 3f7e57a0151f4a75c03f0454c42eb003b153f21ed7218eab719aacf68eb9c4b243bc27dfb437450ccbc34e19649e328c55148fe9ab5323043a6ff1b6b011e784
+DIST thunderbird-102.0.3-nn-NO.xpi 642169 BLAKE2B ca77e490d4949405d85fbf05005014325cf9fbc471d51a098fcd139247609fe3c1888668a74f537fa5f79c41beea82a120b187a3adb1c78318b1d14c811c5e77 SHA512 2ccf34345a12f1866e083a38479506e57b4ea3a965ef4279ddae025e155ee6604a708ff8ba681cdf213caaec84b5d684031b73331bf5e1b2eba77b5e1b4eedd7
+DIST thunderbird-102.0.3-pa-IN.xpi 639355 BLAKE2B 9df9af184da969f4bd4bc4b6faee3b738c2702230eeb50a074d6472d9bb06edf6781285dfe5d6e6961b18cc3347b0abde63980364d9c295574afdeb42694e92c SHA512 e9bb9479cc822703370f9bef5eb2317d4bb839426be34e9c2f8457df54065d43d8ef68d65eb56fd2391f1e3d9f9d23588c2cf4b15b1c0c4e302bfeb0538b12f7
+DIST thunderbird-102.0.3-pl.xpi 686868 BLAKE2B 28cb7a896d2b89abe420f0841aa2661e92b6153301104819ca430fd89f397519bed95581f2907a17ba0fb68f3045b2fd55da5908fc0f42d5789813c67cfaf5c1 SHA512 a1cc4b697333093207fd100f6b765314ec01bd2d8470cbfe43d5e016b848cd7d5d293819199f7ec9e36ae41a5317846277c7173b6243b39f808893ca61eadd09
+DIST thunderbird-102.0.3-pt-BR.xpi 682572 BLAKE2B bf1770fef0f389026e02d65834e185a5f927fff195e94f85343bb52e9fe6f7c0bdff2b4eae44ac148f220f9f61aee7914012fa7757f572da6bee04a5a556fe31 SHA512 82ab13c35cbb7b78bb22c0e83b27947e6ae2f543e4dac46f46d9f60185cf1c4dfc286507017d360a9b6ee0f4f5357ad5236695b77fd1895402034b386042a450
+DIST thunderbird-102.0.3-pt-PT.xpi 659187 BLAKE2B aacd12f56356d700e943790284e5c8f6ec84cdb26cc83506fa4e058d2c0ce3f44e8c13ce8e0f8c245b0ec2e41ff4e0c6fc977909ad2b757109fb496638b91046 SHA512 2d5e3ffdab12ad6e6439ad9962bcce56ab83cba790e97369466ac3cc0a3d7b27f86e41a9ece156901f07ad017e6d29d8f68041d39c2898332b5625abcd3b7596
+DIST thunderbird-102.0.3-rm.xpi 678013 BLAKE2B 521f2bb3b869022a279f2d53e57d93beb4aa62e1735619f889e2e3d876f7210b80b7f0fbb908ab37b29a271415717a8a34e35671b1aebbc495b03a07ba27e40d SHA512 58a20077e22823a9e6d7c65bcaaab9b756664ee36aa9a78b8242cd89e5750b96518f46b7d637bd67f140f59f916d4d9c6cf9ea812fe6c37a96c470fcb1da7af5
+DIST thunderbird-102.0.3-ro.xpi 648494 BLAKE2B 937e2e317528844fb09089fb9d8e16a40362a76e502622f771ff4b521fe10112e9e8f07bd316c2b5256865df4449f33d492e9e0b79c86e3631abc3f0d115a190 SHA512 874d12e82d42fbc7a4ed8de96a23234376e37794ee702cfb31113df27ddd6e4dabaad992eed658e8a4fcbfca5e0df3a34210aa3efa9aeb3103fbb1c7cfa539b6
+DIST thunderbird-102.0.3-ru.xpi 792157 BLAKE2B a2b97fbaf196be67c721d3dbaa0e5ffe9c3fe43586d4904f00fe2c32fd944277f264726abd27b8777c70a87f5a2c27d359e49c284da6b4a01ea0185def920d47 SHA512 a111aa8941adad9eaf05b4c58ff784bd0a2820813aa2a7115730b4258a6489844e4e44edbb76c86917d28db4f1f76fbb48187d73714f2b0f4a6cc9b8434b5d1b
+DIST thunderbird-102.0.3-sk.xpi 710249 BLAKE2B 3b954f9ab5d5d9906d25d74a45bd2ad28108ea0057258c95955b5cbc6e16ded86bb1e66e4c5ac3a36f162e8bf5c8ecc6afccdcc6a1164e87b519a4003081e1d6 SHA512 decd520c0bc004ba415bd17cb67a5c66b8905ce885e89abbf8cb6d47f69e2250d3c8aa1d018e6611fb5f35adc247e3d3a801a73d7ce59f9a9465357480156a61
+DIST thunderbird-102.0.3-sl.xpi 674270 BLAKE2B c465052c1cc2f12580c22e5c429a0f1d412fc9f9ee107bff04e09c4e568af598b8da3b9c4adc8805b002478df335724f02421c861fd4694f3d4db788ae916836 SHA512 58cc3805535afba68b9f6d34ec85f836e5778cccf065ffc9823c0c15926929b487af45e91cc3abbf17b1cae007377dd6e869344969c3d330f5ab8cf2cee861fd
+DIST thunderbird-102.0.3-sq.xpi 687693 BLAKE2B 194941505cb5345c9e53ac239e5f12889900176ac7feeefcf2ac33d2b7e388c531d3f5ff5db73c3b748b683a9852e8e4d1f692d64c69422d4105be0bb1efd2d9 SHA512 060b4486040c4f9805d17ac2211976fcae2c8016fb9bd01db51e959007662ec5c8910da543610aeb9504d45bb88dae4d5eaf6aa53cddd524d801b5613cdaf58e
+DIST thunderbird-102.0.3-sr.xpi 694807 BLAKE2B 3096c16b737833d841d2df67dd11173d0be72cfd64f528a0f5ac151e1107fbb14d118c3ec7bb9052a321064a72803df911a23a627cc74bc0926cf0e710d13fd8 SHA512 f2284c07d7dbbda114ef96e98da3559c156854fbe93f2319de56cb79b46613a6999804b503963defa953919c9c2cab9d5ea3d2e62e75e96d1e2202381bf3e719
+DIST thunderbird-102.0.3-sv-SE.xpi 678127 BLAKE2B f17d454e4ab506ee3c69e47141b9bf3c19120530b9a11e2ed87d14af68fec200bb968d55f664a20936a9aeae1706c59caad591273ac62c5eea8c27d3ea9f31ad SHA512 a2f2613d89fc642c1eb5065f466044755e1a7addb656cbde10dd7296482f306291fd6ee85d999c95fb13bcf7c6b87dfbb578cc1da7b6c7a961a5a176c947f11c
+DIST thunderbird-102.0.3-th.xpi 731603 BLAKE2B 04c0263106b48b47d1464ef9d4d297a2aa3c481c0b97678a57d34e29bdfd696b55822752c42d1bd68f21fe5c6d2267b03ef4a2da0bc38a074aa9e76c284039b7 SHA512 271fb71c08873174399244b0ed792f5e204aa50a2860008440098e8a0c4764ad800e73e8f976a96feebc6d78a50e8e84117ae866e936c11934cad0a1aeb95e4a
+DIST thunderbird-102.0.3-tr.xpi 686315 BLAKE2B c76786cee9e39440cc9e1f573bd38addb7f47e2287efc18237a75056121b3e9c414696ddc96a785d5b9e772377d831dc16edeb6260dab49ab9734a718926ddb8 SHA512 27666e8cd543e63d675e7622cc6019e72d6352566d4f4420a75f18a9eeca3ee47a51871b2f3dbd4e8e361244cec82e4d40601477e4c1e6233e754dde0d3f04ba
+DIST thunderbird-102.0.3-uk.xpi 784993 BLAKE2B 9a2678ba20dcab8f1d7a3a9c86ee34452c7f7b96f24b347422b7890d483d843a5c0533fd1d34c16e17f320ba3abebbf69cd83e84decb8d05e8355bee626a5561 SHA512 b0fb035ef22cbc5713a330c5c5b6a9207335baaebce237d669d5601aeb5cd40afeb30d41626e5ec50aab6aa2329b26c8eeab4f40993870f0c6dd21826b7ce627
+DIST thunderbird-102.0.3-uz.xpi 584544 BLAKE2B 93d518f8781ee763a5d5a54fd80ac799d9021a216cea1eafba30b7a79e86026a8e9ff2ffbe9e840e8eeb206f35a52b9879ab8d444a1987c9b011cbfc9dd300e3 SHA512 486d7fa6ec4f36c70d7f4ff423fb1d0c279b91c7be052f0bdee2f583b2a8a227a5278b33fcefb671e86aa782dcf5e6f757e164932da329f6638ec84d9b93d394
+DIST thunderbird-102.0.3-vi.xpi 716789 BLAKE2B f0a3a46ffc3b0b41c785f25d80f0124001f61412ee70007e53b341f65dc4f3ee9a6259b24b9b27a576b844fb47aafb06efa1aa63d037f2f1dc1e249ccb3a6357 SHA512 ffc5398dc50872642553e0c82727bcd7fec57989e039506babe31b535baaacefc2f43140abd30a7ecaa7ab210ca1f740c771ef41c7a1808125af93daf07eb527
+DIST thunderbird-102.0.3-zh-CN.xpi 714291 BLAKE2B bd5840000aa7a778a20c53f8d0a1d4c85ee1f1c0843a688493a6b66f3206404ceffc1ce868e3b65964223e5ed04a470dfc94319779484e4b0c1a9a1bb7a85bd1 SHA512 8a844c08943cb30dd81da95519709543370d3419e09e36ce34ea1d4c7e7ba9aef4a93a9beedf919a9490e4621254f445d3c89969a89f67d73fa956cc95aebb7e
+DIST thunderbird-102.0.3-zh-TW.xpi 719022 BLAKE2B 3436d155d4d65082698763c5b95e54fa9c5e3a0d4f31cccea33787d3cb74254802b3ada8c4257780e2e0f6d17de03a78453a0b146092a36dc226c4cfc987046a SHA512 ef1b62e699d0e1af298fdf7056db51e7c2bc306dac75d3952402bdcf9f81b632ee404d523a5a0f2f90d7ba42f51b6516934149342cb1e75bcd311d4fc54cdcf4
+DIST thunderbird-102.0.3.source.tar.xz 504782192 BLAKE2B c659458c1582277f41b7ae47f0770267320fe377ce422c10ebe88f0d95e7959e0e764b27f7ed11f3d9c8f51d91bd71ddc0f761798c3af77f784a23c24926bf44 SHA512 ac9f22935ef558890c95cf7fbbbe32a5bb1b7140acb10088ed0d037d1ca5c6e11695c131eb40844807003b77e83b1dd2d9008df420ec394fed5008d5c4c6c3cb
DIST thunderbird-91.12.0-af.xpi 561877 BLAKE2B b32da4d389738f5984c6a5ab27810d122b3413d43b120862ac6cb4c4b550a45c4870d0f038d2421cad92eafa077f0539cca89c42ca745931061f2b9fb497a292 SHA512 dc1b72fe8c088ac48611678c1332aab525624940c8d9f5fdf1ffcf512837bc003e7893882f4bce724c2c4cf54487038c600e326ed227849250ff5e8cd76879fb
DIST thunderbird-91.12.0-ar.xpi 665730 BLAKE2B 8919628c0d364635ea1c9a92acd5184f016ddf32ecf5c66cf7653ab26db05b208cd5ab9c3e6b4addfdb559754fc284c1874f7560f949d8b9fa6aa9c4758ec72b SHA512 97b228149582f5a4608cc2727c22e41253b7b3081837d9d020ac5af32144722c31f5d8d6b812641a43efb3be221a3e3ef66b034ff3e02fca902793d4156d2218
DIST thunderbird-91.12.0-ast.xpi 580510 BLAKE2B 65e4d8e38b9f4d0189dd939e1440ca758c4196907159e1e627487509e8bf6a7ff156e57120c95bad223d980d7a97bcc20abed4c890f46c430671d6e68fdfcf11 SHA512 c77245fbbe002ab17f7f33d2abaee1f6ce24617845c70fce606380f1013128992e9d818f6f924f5877c7b78dc539f1aa785396eb622caa2037230c68e4e76af9
@@ -69,5 +135,6 @@ DIST thunderbird-91.12.0-vi.xpi 725526 BLAKE2B ee8a25cb9eba7d589c6320397e9552e6a
DIST thunderbird-91.12.0-zh-CN.xpi 730901 BLAKE2B 9d183dcfbcd2bc8cfd200c5b9e580ed6c8f79f9185d6e6d2960fe384d5d1cd5a4d1313c5eb3d461c54c68df08140a4057e6423af2c2183167c5af7c96b1d2e72 SHA512 3b6b6a428a492069bac13c8cffc42eac316af2ef7c138a517269f11857393546dff3e3dd242f2ee9730db18630f623086aa58577dad43349844a6f542f260ab2
DIST thunderbird-91.12.0-zh-TW.xpi 731943 BLAKE2B 441081aafebc9bff1ad0a6c8c33cba392854f41b30be59bc614a57ec316d5c0ccae774d3b0c238df3be61c1c072507e09a4cad612259f13145153f33bfd14ffd SHA512 b93fb3cd53646394ace88650ae2384b8b4160e7b60975b068d750e0add4474e926e9f47112432d940b90e90180bfe308c999bc93d06ff56f5d1bdbe8c5320d31
DIST thunderbird-91.12.0.source.tar.xz 404609860 BLAKE2B 960958211bd4661cd36e55aff024ebe800aca867e7a9a5b54de694c4477473360d2422373accc325ca2cf7a3bdc720be427bf281beba2e9ab052fcf2a62ecf67 SHA512 1c0200a84ccc4124127d472713d72c4ff7ece8d61ad120d5c45c732a3ab4f86a2edfea23a8bf26e4739d24956654aec30e7bc59a28af17fbbf10f3d67466649a
+EBUILD thunderbird-102.0.3.ebuild 33898 BLAKE2B a2c155edf69f932119d6a0f4c5f4d10731dd43809c484a4e16b9b9d9e7bc78f6e755248a26a40cb56582149c1df21cee8c32c4772be7df534790ab311a5bd392 SHA512 c5c73c480412487f621862333f3e33a7605f13f1f106490af526b3d39de5743b36b5582d60c41fe05988dc3e2826df8505abea6027a6527f9ac17b9b506066e3
EBUILD thunderbird-91.12.0.ebuild 32760 BLAKE2B eca6bb6ad4a3c2cce82926f76410e8543f7c9edb32c4cad7b19fb6a0175384f0bab5706fa42697367011655c3ea9b537386a432059e4766d6a7c5764af6f3e32 SHA512 b941bc14b6d7a23d142eb4c21f8af8641ad2aaa800ed0b56d717ad5ca57988f30b7bee2a4ee4801b09ec25b2523b2d0ace457d358521d2efa4b8d27e237d01ad
-MISC metadata.xml 1952 BLAKE2B e6fdbdd02f7471c54e61a02580f791bce574cb8eb0fe3416f621d8e55d89c310325724975d70ef5bcd1f89225ab3c6017836103ea904540ae423b2c3df57c98b SHA512 5acdff9aa964c713b8ef9abf32e8e79b2cdc1f80cb68131e58ce8734c0d55417f1e17c8f51956595aa66562c8f16d58b2a50de2b8079f86df9106b24da78ae05
+MISC metadata.xml 2209 BLAKE2B 5bdf2fabb2b6006e2d1ed2271d6ced3ec06982a3d992effe203b850bc3feb1f7c2854a3e6e1e746f6dd780d1a3c35c860f2af09f8fd491f68e743116f2976501 SHA512 bc633d3f53994730d2ef98ee4a5a0417ecf7af4fb73250460f93b5256ca3c2ae3842a0ff516208d0e5bc34cd6054bd44a4d894d07f88344a9db341daae35556e
diff --git a/mail-client/thunderbird/metadata.xml b/mail-client/thunderbird/metadata.xml
index 9c44731a3a93..0d7187e0a3e1 100644
--- a/mail-client/thunderbird/metadata.xml
+++ b/mail-client/thunderbird/metadata.xml
@@ -9,6 +9,7 @@
<flag name="clang">Use Clang compiler instead of GCC</flag>
<flag name="eme-free">Disable EME (DRM plugin) capability at build time</flag>
<flag name="hwaccel">Force-enable hardware-accelerated rendering (Mozilla bug 594876)</flag>
+ <flag name="libproxy">Enable libproxy support</flag>
<flag name="lto">Enable Link Time Optimization (LTO). Requires Gold linker when using GCC
or LDD linker when using Clang</flag>
<flag name="openh264">Use <pkg>media-libs/openh264</pkg> for H.264 support
@@ -26,10 +27,12 @@
instead of bundled.</flag>
<flag name="system-libevent">Use the system-wide <pkg>dev-libs/libevent</pkg>
instead of bundled.</flag>
+ <flag name="system-librnp">Use system-wide <pkg>dev-util/librnp</pkg> instead of bundled one.</flag>
<flag name="system-libvpx">Use the system-wide <pkg>media-libs/libvpx</pkg>
instead of bundled.</flag>
<flag name="system-png">Use the system-wide <pkg>media-libs/libpng</pkg>
instead of bundled (requires APNG patches)</flag>
+ <flag name="system-python-libs">Use system's python site instead of bundled python libraries</flag>
<flag name="system-webp">Use the system-wide <pkg>media-libs/libwebp</pkg>
instead of bundled.</flag>
</use>
diff --git a/mail-client/thunderbird/thunderbird-102.0.3.ebuild b/mail-client/thunderbird/thunderbird-102.0.3.ebuild
new file mode 100644
index 000000000000..e68936213b57
--- /dev/null
+++ b/mail-client/thunderbird/thunderbird-102.0.3.ebuild
@@ -0,0 +1,1179 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FIREFOX_PATCHSET="firefox-102esr-patches-02j.tar.xz"
+
+LLVM_MAX_SLOT=14
+
+PYTHON_COMPAT=( python3_{8..11} )
+PYTHON_REQ_USE="ncurses,sqlite,ssl"
+
+WANT_AUTOCONF="2.1"
+
+VIRTUALX_REQUIRED="pgo"
+
+MOZ_ESR=
+
+MOZ_PV=${PV}
+MOZ_PV_SUFFIX=
+if [[ ${PV} =~ (_(alpha|beta|rc).*)$ ]] ; then
+ MOZ_PV_SUFFIX=${BASH_REMATCH[1]}
+
+ # Convert the ebuild version to the upstream Mozilla version
+ MOZ_PV="${MOZ_PV/_alpha/a}" # Handle alpha for SRC_URI
+ MOZ_PV="${MOZ_PV/_beta/b}" # Handle beta for SRC_URI
+ MOZ_PV="${MOZ_PV%%_rc*}" # Handle rc for SRC_URI
+fi
+
+if [[ -n ${MOZ_ESR} ]] ; then
+ # ESR releases have slightly different version numbers
+ MOZ_PV="${MOZ_PV}esr"
+fi
+
+MOZ_PN="${PN%-bin}"
+MOZ_P="${MOZ_PN}-${MOZ_PV}"
+MOZ_PV_DISTFILES="${MOZ_PV}${MOZ_PV_SUFFIX}"
+MOZ_P_DISTFILES="${MOZ_PN}-${MOZ_PV_DISTFILES}"
+
+inherit autotools check-reqs desktop flag-o-matic gnome2-utils \
+ llvm multiprocessing optfeature 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="Thunderbird Mail Client"
+HOMEPAGE="https://www.thunderbird.net/"
+
+KEYWORDS=""
+
+SLOT="0"
+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"
+
+# Thunderbird-only USE flags.
+IUSE+=" +system-librnp"
+
+REQUIRED_USE="debug? ( !system-av1 )
+ pgo? ( lto )
+ wifi? ( dbus )"
+
+# Thunderbird-only dependencies.
+TB_ONLY_DEPEND="!<x11-plugins/enigmail-2.2
+ !system-librnp? ( dev-libs/jsoncpp )
+ system-librnp? ( dev-util/librnp )"
+BDEPEND="${PYTHON_DEPS}
+ app-arch/unzip
+ app-arch/zip
+ >=dev-util/cbindgen-0.24.3
+ net-libs/nodejs
+ virtual/pkgconfig
+ virtual/rust
+ || (
+ (
+ sys-devel/clang:14
+ sys-devel/llvm:14
+ clang? (
+ =sys-devel/lld-14*
+ pgo? ( =sys-libs/compiler-rt-sanitizers-14*[profile] )
+ )
+ )
+ (
+ sys-devel/clang:13
+ sys-devel/llvm:13
+ clang? (
+ =sys-devel/lld-13*
+ pgo? ( =sys-libs/compiler-rt-sanitizers-13*[profile] )
+ )
+ )
+ )
+ amd64? ( >=dev-lang/nasm-2.14 )
+ x86? ( >=dev-lang/nasm-2.14 )"
+
+COMMON_DEPEND="${TB_ONLY_DEPEND}
+ dev-libs/atk
+ dev-libs/expat
+ dev-libs/glib:2
+ dev-libs/libffi:=
+ >=dev-libs/nss-3.79
+ >=dev-libs/nspr-4.34
+ media-libs/alsa-lib
+ media-libs/fontconfig
+ media-libs/freetype
+ media-libs/mesa
+ media-video/ffmpeg
+ sys-libs/zlib
+ virtual/freedesktop-icon-theme
+ virtual/opengl
+ x11-libs/cairo[X]
+ x11-libs/gdk-pixbuf
+ x11-libs/gtk+:3[X]
+ x11-libs/libX11
+ x11-libs/libXcomposite
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXrandr
+ x11-libs/libXtst
+ x11-libs/libxcb:=
+ x11-libs/libxkbcommon[X]
+ 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 )
+ 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.0: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? (
+ 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
+ )
+ )"
+
+RDEPEND="${COMMON_DEPEND}
+ jack? ( virtual/jack )
+ openh264? ( media-libs/openh264:*[plugin] )
+ pulseaudio? (
+ || (
+ media-sound/pulseaudio
+ >=media-sound/apulse-0.1.12-r4
+ )
+ )
+ selinux? ( sec-policy/selinux-mozilla )"
+
+DEPEND="${COMMON_DEPEND}
+ x11-libs/libICE
+ x11-libs/libSM
+ pulseaudio? (
+ || (
+ media-sound/pulseaudio
+ >=media-sound/apulse-0.1.12-r4[sdk]
+ )
+ )"
+
+S="${WORKDIR}/${PN}-${PV%_*}"
+
+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 use pgo ; then
+ if ! has_version -b "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*" ; then
+ einfo "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}* is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
+ return 1
+ fi
+ fi
+ fi
+
+ einfo "Using LLVM slot ${LLVM_SLOT} to build" >&2
+}
+
+MOZ_LANGS=(
+ af ar ast be bg br ca cak cs cy da de dsb
+ el en-CA en-GB en-US es-AR es-ES es-MX 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
+)
+
+mozilla_set_globals() {
+ # https://bugs.gentoo.org/587334
+ local MOZ_TOO_REGIONALIZED_FOR_L10N=(
+ fy-NL ga-IE gu-IN hi-IN hy-AM nb-NO ne-NP nn-NO pa-IN sv-SE
+ )
+
+ local lang xflag
+ for lang in "${MOZ_LANGS[@]}" ; do
+ # en and en_US are handled internally
+ if [[ ${lang} == en ]] || [[ ${lang} == en-US ]] ; then
+ continue
+ fi
+
+ # strip region subtag if $lang is in the list
+ if has ${lang} "${MOZ_TOO_REGIONALIZED_FOR_L10N[@]}" ; then
+ xflag=${lang%%-*}
+ else
+ xflag=${lang}
+ fi
+
+ SRC_URI+=" l10n_${xflag/[_@]/-}? ("
+ SRC_URI+=" ${MOZ_SRC_BASE_URI}/linux-x86_64/xpi/${lang}.xpi -> ${MOZ_P_DISTFILES}-${lang}.xpi"
+ SRC_URI+=" )"
+ IUSE+=" l10n_${xflag/[_@]/-}"
+ done
+}
+mozilla_set_globals
+
+moz_clear_vendor_checksums() {
+ debug-print-function ${FUNCNAME} "$@"
+
+ if [[ ${#} -ne 1 ]] ; then
+ die "${FUNCNAME} requires exact one argument"
+ fi
+
+ einfo "Clearing cargo checksums for ${1} ..."
+
+ sed -i \
+ -e 's/\("files":{\)[^}]*/\1/' \
+ "${S}"/third_party/rust/${1}/.cargo-checksum.json \
+ || die
+}
+
+moz_install_xpi() {
+ debug-print-function ${FUNCNAME} "$@"
+
+ if [[ ${#} -lt 2 ]] ; then
+ die "${FUNCNAME} requires at least two arguments"
+ fi
+
+ local DESTDIR=${1}
+ shift
+
+ insinto "${DESTDIR}"
+
+ local emid xpi_file xpi_tmp_dir
+ for xpi_file in "${@}" ; do
+ emid=
+ xpi_tmp_dir=$(mktemp -d --tmpdir="${T}")
+
+ # Unpack XPI
+ unzip -qq "${xpi_file}" -d "${xpi_tmp_dir}" || die
+
+ # Determine extension ID
+ if [[ -f "${xpi_tmp_dir}/install.rdf" ]] ; then
+ emid=$(sed -n -e '/install-manifest/,$ { /em:id/!d; s/.*[\">]\([^\"<>]*\)[\"<].*/\1/; p; q }' "${xpi_tmp_dir}/install.rdf")
+ [[ -z "${emid}" ]] && die "failed to determine extension id from install.rdf"
+ elif [[ -f "${xpi_tmp_dir}/manifest.json" ]] ; then
+ emid=$(sed -n -e 's/.*"id": "\([^"]*\)".*/\1/p' "${xpi_tmp_dir}/manifest.json")
+ [[ -z "${emid}" ]] && die "failed to determine extension id from manifest.json"
+ else
+ die "failed to determine extension id"
+ fi
+
+ einfo "Installing ${emid}.xpi into ${ED}${DESTDIR} ..."
+ newins "${xpi_file}" "${emid}.xpi"
+ done
+}
+
+mozconfig_add_options_ac() {
+ debug-print-function ${FUNCNAME} "$@"
+
+ if [[ ${#} -lt 2 ]] ; then
+ die "${FUNCNAME} requires at least two arguments"
+ fi
+
+ local reason=${1}
+ shift
+
+ local option
+ for option in ${@} ; do
+ echo "ac_add_options ${option} # ${reason}" >>${MOZCONFIG}
+ done
+}
+
+mozconfig_add_options_mk() {
+ debug-print-function ${FUNCNAME} "$@"
+
+ if [[ ${#} -lt 2 ]] ; then
+ die "${FUNCNAME} requires at least two arguments"
+ fi
+
+ local reason=${1}
+ shift
+
+ local option
+ for option in ${@} ; do
+ echo "mk_add_options ${option} # ${reason}" >>${MOZCONFIG}
+ done
+}
+
+mozconfig_use_enable() {
+ debug-print-function ${FUNCNAME} "$@"
+
+ if [[ ${#} -lt 1 ]] ; then
+ die "${FUNCNAME} requires at least one arguments"
+ fi
+
+ local flag=$(use_enable "${@}")
+ mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" "${flag}"
+}
+
+mozconfig_use_with() {
+ debug-print-function ${FUNCNAME} "$@"
+
+ if [[ ${#} -lt 1 ]] ; then
+ die "${FUNCNAME} requires at least one arguments"
+ fi
+
+ local flag=$(use_with "${@}")
+ mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" "${flag}"
+}
+
+pkg_pretend() {
+ if [[ ${MERGE_TYPE} != binary ]] ; then
+ if use pgo ; then
+ if ! has usersandbox $FEATURES ; then
+ die "You must enable usersandbox as X server can not run as root!"
+ fi
+ fi
+
+ # Ensure we have enough disk space to compile
+ if use pgo || use lto || use debug ; then
+ CHECKREQS_DISK_BUILD="13500M"
+ else
+ CHECKREQS_DISK_BUILD="6600M"
+ fi
+
+ check-reqs_pkg_pretend
+ fi
+
+ if has_version =mail-client/thunderbird-91*; then
+ ewarn ""
+ ewarn "You are attempting to upgrade from thunderbird-91, this upgrade path is still"
+ ewarn "not supported by upstream. If you wish to continue, please backup your"
+ ewarn "current thunderbird profile, and uninstall mail-client/thunderbird before continuing."
+ ewarn ""
+ die
+ 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
+ # 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
+}
+
+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
+
+ 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 checksums where we have applied patches
+ moz_clear_vendor_checksums audioipc
+ moz_clear_vendor_checksums audioipc-client
+ moz_clear_vendor_checksums audioipc-server
+
+ # 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 && ! tc-is-clang ; then
+ # Force clang
+ einfo "Enforcing the use of clang due to USE=clang ..."
+ have_switched_compiler=yes
+ AR=llvm-ar
+ AS=llvm-as
+ CC=${CHOST}-clang
+ CXX=${CHOST}-clang++
+ NM=llvm-nm
+ RANLIB=llvm-ranlib
+ elif ! use clang && ! tc-is-gcc ; then
+ # Force gcc
+ have_switched_compiler=yes
+ einfo "Enforcing the use of gcc due to USE=-clang ..."
+ AR=gcc-ar
+ CC=${CHOST}-gcc
+ CXX=${CHOST}-g++
+ NM=gcc-nm
+ RANLIB=gcc-ranlib
+ fi
+
+ if [[ -n "${have_switched_compiler}" ]] ; then
+ # Because we switched active compiler we have to ensure
+ # that no unsupported flags are set
+ strip-unsupported-flags
+ fi
+
+ # Ensure we use correct toolchain
+ export HOST_CC="$(tc-getBUILD_CC)"
+ export HOST_CXX="$(tc-getBUILD_CXX)"
+ tc-export CC CXX LD AR NM OBJDUMP RANLIB PKG_CONFIG
+
+ # Pass the correct toolchain paths through cbindgen
+ if tc-is-cross-compiler ; then
+ export BINDGEN_CFLAGS="${SYSROOT:+--sysroot=${ESYSROOT}} --target=${CHOST} ${BINDGEN_CFLAGS-}"
+ fi
+
+ # Set MOZILLA_FIVE_HOME
+ export MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
+
+ # python/mach/mach/mixin/process.py fails to detect SHELL
+ export SHELL="${EPREFIX}/bin/bash"
+
+ # Set state path
+ export MOZBUILD_STATE_PATH="${BUILD_DIR}"
+
+ # Set MOZCONFIG
+ export MOZCONFIG="${S}/.mozconfig"
+
+ # Initialize MOZCONFIG
+ mozconfig_add_options_ac '' --enable-application=comm/mail
+
+ # 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-updater \
+ --enable-js-shell \
+ --enable-negotiateauth \
+ --enable-new-pass-manager \
+ --enable-official-branding \
+ --enable-release \
+ --enable-system-ffi \
+ --enable-system-pixman \
+ --host="${CBUILD:-${CHOST}}" \
+ --libdir="${EPREFIX}/usr/$(get_libdir)" \
+ --prefix="${EPREFIX}/usr" \
+ --target="${CHOST}" \
+ --without-ccache \
+ --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
+
+ if use system-librnp; then
+ mozconfig_add_options_ac "+system-librnp" --enable-compile-environment
+ mozconfig_use_with system-librnp
+ fi
+
+ mozconfig_use_enable dbus
+ mozconfig_use_enable libproxy
+
+ use eme-free && mozconfig_add_options_ac '+eme-free' --disable-eme
+
+ 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 wayland ; then
+ mozconfig_add_options_ac '+x11+wayland' --enable-default-toolkit=cairo-gtk3-x11-wayland
+ 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
+ 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
+ virtx_cmd=virtx
+
+ # Reset and cleanup environment variables used by GNOME/XDG
+ gnome2_environment_reset
+
+ addpredict /root
+ fi
+
+ local -x GDK_BACKEND=x11
+
+ ${virtx_cmd} ./mach build --verbose \
+ || die
+}
+
+src_install() {
+ # xpcshell is getting called during install
+ pax-mark m \
+ "${BUILD_DIR}"/dist/bin/xpcshell \
+ "${BUILD_DIR}"/dist/bin/${PN} \
+ "${BUILD_DIR}"/dist/bin/plugin-container
+
+ DESTDIR="${D}" ./mach install || die
+
+ # Upstream cannot ship symlink but we can (bmo#658850)
+ rm "${ED}${MOZILLA_FIVE_HOME}/${PN}-bin" || die
+ dosym ${PN} ${MOZILLA_FIVE_HOME}/${PN}-bin
+
+ # Don't install llvm-symbolizer from sys-devel/llvm package
+ if [[ -f "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" ]] ; then
+ rm -v "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" || die
+ fi
+
+ # Install policy (currently only used to disable application updates)
+ insinto "${MOZILLA_FIVE_HOME}/distribution"
+ newins "${FILESDIR}"/distribution.ini distribution.ini
+ newins "${FILESDIR}"/disable-auto-update.policy.json policies.json
+
+ # Install system-wide preferences
+ local PREFS_DIR="${MOZILLA_FIVE_HOME}/defaults/pref"
+ 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 \
+ >>"${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
+
+ # 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 icons
+ local icon_srcdir="${S}/comm/mail/branding/thunderbird"
+ local icon_symbolic_file="${icon_srcdir}/TB-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}-r2.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 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_shortcut_information
+
+ if [[ -z "${REPLACING_VERSIONS}" ]] ; then
+ # New install; Tell user that DoH is disabled by default
+ show_doh_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
+
+ 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
+
+ optfeature_header "Optional runtime features:"
+ optfeature "encrypted chat support" net-libs/libotr
+}