diff options
author | Joonas Niilola <juippis@gentoo.org> | 2024-07-13 10:58:14 +0300 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2024-07-13 10:58:54 +0300 |
commit | 0459749cedad4e30d9cf47371f2ab4e934c8d52a (patch) | |
tree | d4e5ea821ad702f327346de7f5ffe51d73bda26a /mail-client | |
parent | www-client/firefox: drop versions (diff) | |
download | gentoo-0459749cedad4e30d9cf47371f2ab4e934c8d52a.tar.gz gentoo-0459749cedad4e30d9cf47371f2ab4e934c8d52a.tar.bz2 gentoo-0459749cedad4e30d9cf47371f2ab4e934c8d52a.zip |
mail-client/thunderbird: drop 115.11.0
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'mail-client')
-rw-r--r-- | mail-client/thunderbird/Manifest | 65 | ||||
-rw-r--r-- | mail-client/thunderbird/thunderbird-115.11.0.ebuild | 1353 |
2 files changed, 0 insertions, 1418 deletions
diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest index bfa1bcf2efa8..8758fbf43016 100644 --- a/mail-client/thunderbird/Manifest +++ b/mail-client/thunderbird/Manifest @@ -1,69 +1,4 @@ DIST firefox-115esr-patches-09.tar.xz 16660 BLAKE2B 1dcdf62f35013b82dd70bf00c0505394b9277affcd1b1cbde92421778f4fcc146f536a546c2db8d6a70f92d40e4b1c96927fedec54383e6bb80bd9806d9b4461 SHA512 e003d0a2a5304dcdd0851b57ceb11993333326c8221d5d99555cd0c64090d5eda1bdb2a2a52e605f6094a3214ffa2238e43d57ff64eb7d424ff54b8125c16f5c -DIST thunderbird-115.11.0-af.xpi 550973 BLAKE2B 18bc4e82f3ada0fe64ffff32ec31c824bba37d2e3759340c09b545314df77d665783f30951ece01790c55a6f6d59fc59fad363537ffb7fe56f6a620f91655e80 SHA512 5e7dab8b00e1d93ef599db039bb1fbfee7d44ff92cb1424068734bc175c36ec0be43eaebe7df86cf9e9fa9a76d48c3c7b192ccf1f9e87380519c53d276f2e474 -DIST thunderbird-115.11.0-ar.xpi 673670 BLAKE2B 6aa9d0cd00583d6a5d2bd9edbdbbfad263330c74677257756b77464c743b89f15ef58e03a72a317086f6b79a3d314f3addc9dbcaab80cfecf7b11aafdcf9daea SHA512 48430a143464a435c8b4e402fe93c9d3bcecd92c83af2c702e317cb7ff302d45a42ed97b98c61e130f332d15d18852a7f6f41398a8ef5139cd4fd81a73e2132c -DIST thunderbird-115.11.0-ast.xpi 569922 BLAKE2B ad18eb6e28a856e34bfc8225664951e4dc1676b12a46bc499732caa76b79b48cca356ab77dfc4a36bc2311fb1f71eff2133b7dd18ffb49d24bf31aac178c0501 SHA512 6376cdc3483b0fb29ebd59af1c777df92f516c27123d18176bf998bb3f3643da50ca6b648c612ce4b4746acd365e9a8fd389390ffef3bc92b8c67f49cc3fb867 -DIST thunderbird-115.11.0-be.xpi 734713 BLAKE2B 604b4ce2bf637a29687d8fa62ceb56644300826631a6602d35681b91d390d47f8c5cc3eca7f841effc6209c69d2e22bd4cbeb4e7f325de95b00261232018d5ad SHA512 545b9fe88f2850ec459dabc55917c27f63a82b2abd95e20f8a7b7a480ca61b502d181f7ea8e7345f53929544695ce23c7da087f97c786972a3126b877566ab71 -DIST thunderbird-115.11.0-bg.xpi 783911 BLAKE2B 333626995382e290c0a97c8bdb9336fbb970ba5c85b09ff19063756ae8d6c9bfbc8fad7a931f05d50a4903c4b7047060edc0fce115af3c31118e51419527fc89 SHA512 87980c88ef0dfe50aefee45fcd717793e946f637a5763b9384de08a0192135096dc63e442ad2732dd0e48e78caf5e0ea8c7698dcdaae368c649de0f470642234 -DIST thunderbird-115.11.0-br.xpi 648070 BLAKE2B e189f94bb0adb90656cb0156287681fe0a778729c054d9ed59b23de952e1ade30b45fa3d8511624b43bcc4b146df6519ddca5e312ff337cc52c02c73587d7a51 SHA512 757d7bc595858d1aec4e933b25521b5c83aa3da47b54e5ffb4d71b7a55c8df245a3a938719c8695eb787e956ea70f1138b1b74a619419758bd480d458f744555 -DIST thunderbird-115.11.0-ca.xpi 687693 BLAKE2B ac82d86e45aae1d31bfed31a1450a16ef4105e790c645e53f31f401206c855af0089d4a265dd2eea682c8f0af3b5cb42ba86f7ffe9a5cc53bd753daf232d8cb2 SHA512 b35ba673533b3ec55f4b10854a05674cddbfcf4575e23293ac301e71ed78f8b4a4a213ddf163c916b55bafac94bbe8b244ae411fa4b517ece3a25102b0b3d87b -DIST thunderbird-115.11.0-cak.xpi 669821 BLAKE2B a59bc6bb32cd4ee3407d11eebc739cdee7504557a624f574e8239bd815c4b003c79e50710291ab5a68c456127b54c0b452ea7013bb103e5be75c1b85629a2d8c SHA512 e684b318ffc07d4367419dc3645643619da3db6cb134d0dc422f6cee1c5d08a96e21e9d68b4f5da8d19575a4915095ae9eca02b457024669e6dc9583bde9574d -DIST thunderbird-115.11.0-cs.xpi 769914 BLAKE2B 48175b695e86ab7e764fd845ce61f67213c9e586dfec9f5c5b01d028e67765a27c85ab5a21ba138fce9d1b82408661d0b61e10bde5a7c80c96ef16048ceb9764 SHA512 424cffdcd139e93cfe582324d3a0ca7c495a8bb2778be20481d6aa05b62c011b57aea5c9e35c6bd140bc4fba9c22b6e5e32d02f32bb272344847122d9d638eee -DIST thunderbird-115.11.0-cy.xpi 734616 BLAKE2B 41baea10e3419326199e231b86ca3b8820d835bf4922d7a6fac0ee5811d39fd9c9c3c5cb4b5d374a17077efaab1510faf79647b7cc4d3dd67f54cbdc0601d9d2 SHA512 fd8167527860be1cb82427dfb8d9f28ff168ecded6a1471889088f82b20fee6a48ee24a67b45950f67efa84fa3190bee7b50b54da2e28bed85b340b738e21362 -DIST thunderbird-115.11.0-da.xpi 722532 BLAKE2B b4f0435b74ba9f25a3d3402df8de45361383c667d17bfb9bc999cd07eee7cc4b9568003767bce7860c009f75e459e9c163c4579ee5c3bb4efc7e044e6b089c2d SHA512 6624efef40d01ee7385e691eda6f6f16cfa60737977a11db85ca0163fb22c61470c215257f4c6f994d1189c45db7a3e1f80c67bc383a644e6df4eafd876a972f -DIST thunderbird-115.11.0-de.xpi 750860 BLAKE2B de5fdb87e6bbf50f8b2c3dddb6f274673654c3e35810e12817456fe172e41994f0a8a18649014590331177181c00b710c1318f9ecdf655ac49b73a4541cb2539 SHA512 8d2cfb3276d1e5067e0c154c08fbd6d97c4e17b4fb02f31682f46056bb80f2a22473943e9ac93f4f7bdaf9c192147615c57dbc7b9a87269511337f406cd44ba1 -DIST thunderbird-115.11.0-dsb.xpi 770435 BLAKE2B 5a61fe07e858b160399b8e12f655f3f251f078fc2e2fc7eb7d51066cc04aa53320105f021580236da3e1e85b0630c30cf96cd21c9d2643a99e48ff3d6a37de27 SHA512 db9ed044fd7aaf913fdd02ad17eed92e762cf9ad7d29df588f5fbdd8a00722afba26b640acb6bdabcb23009f330dc5b3d0e9064578c0828a050536f340ff023b -DIST thunderbird-115.11.0-el.xpi 873408 BLAKE2B 8fc48c1cc63608679d6151531644471baf903affd36cceb2d1aab84383e387cd75cbf8f559c5710d88c2256305b39e5425ed2d25763b2663cf8f3fa5d2c7f5b7 SHA512 a544d87225d82d3ddb5ba1c923a41914cebe84b9df7a6f169b5c1083e367ccfca82c191f7a5574fd00be4b653b922c1b5b67e151bfe48a68bb0aaf08c6959096 -DIST thunderbird-115.11.0-en-CA.xpi 688599 BLAKE2B d872ad5b377448772d8d45b3ecefa7d7497b88b406eecf2a45c3e216cbd023d9016fe6bf28d978902a59a2075351486ed0387b62dfe18536573707d9c4041a09 SHA512 86b63f5d854c3589597908bf21b7fc1918b217476b865fb4d6c48f1892b385e7a21a04ebeb46d8f336a89d90a088b815e881e695269a9a8d1c228ff14c4306d3 -DIST thunderbird-115.11.0-en-GB.xpi 690436 BLAKE2B a229f081d19170b0d72ee14506deca6c99ff17838334eaf47ea47c70f72b267668955fb8d939c8dcb4987b8eaed858e30cfff204b6b102eb507ab5783d7e8668 SHA512 83a30497121e8920d3af1b7967a87aa0b7572e3728b1f357e1400c9ad2e29d83ec0d85089bb51ffb72a1783e1c5867ddeb0f173e609ed7fddf1b938d1bbacf3d -DIST thunderbird-115.11.0-es-AR.xpi 745004 BLAKE2B 7b2c3bc7f2dc31215c16b220f7cefc4562e74dc69d8e9403592e47d82d4592800af703d9d6f9ae8cf20f1ac981c7dc9449c6ef33de686b8312c6a51e94e2ecc7 SHA512 d66790bff02dea7e0cb66a7f90db562bb4d8c9879582f595d50a49b364d2ec518446915564c5ee91b73bdd1d8af52f4f11c1cc7a5f873dcb07774eb610eb5f5d -DIST thunderbird-115.11.0-es-ES.xpi 707997 BLAKE2B 99c23eb8661330066a5a63c3c0fdac4b2c024bc7e802c0e6a7779a4bee9bd42285d7f2a2778b950c824dae12a3277f0a3d66b916e9c8cbe07cd204ba4037f1db SHA512 d7d049eac9edde56ba965ffdce90fcc1a9d077637782d1192632eb183ef62ccd4448e1006051d481f4759ec55d02a36b5d4be7e4e40a474227bca3c419f4d777 -DIST thunderbird-115.11.0-es-MX.xpi 721552 BLAKE2B 98daf7b5732276c5948a0abff99f77cccf584ed2c2c39ef51a16f5daa28493bdbd8bd573eeba86cbb9277f597e71052f1afd679ee8a9bc15b35c4c259e45d8b1 SHA512 b2bf1aeaa1f5afb46be0adb0eac013735ec43b3fda704a38fe7b2639e777d33d25bbaf46eac7376335cb7eeffbdb4518be56a0330ab1d65de68b03db66a93b4e -DIST thunderbird-115.11.0-et.xpi 681749 BLAKE2B 967c7fc53f0fe6e925e9b019de05fec07422b949e479a8768c85808ccf3dec3bf84160f7a9ecbb8ff77fdc66f46712888de191ba57f4811f0d884f3d51f098a0 SHA512 8ff3650d9431e4c8ee7a666a26cf89eee825644cf20f12616a946dedfdc6cd07e97ffb8fc26985bddf775b0ca4c4abe9778683a09baef7ec7121072806f5b0d4 -DIST thunderbird-115.11.0-eu.xpi 713612 BLAKE2B 2c91ad4c6b5e9ce788c4704be106b447ca0e7b2d71b8a868673acb7b35522b1a8046cf6957792091611fd328401b0a100a4eb261f3d9042389b4d1738a0c59db SHA512 d2cccb1ce5a734e77b70c828119886390ee9d509a1ecd932b29d098344e433c8b548f57948734067556df64fb6785db85b1af45c569958957406a71465a726ba -DIST thunderbird-115.11.0-fi.xpi 720335 BLAKE2B 8d355d93f485929d5622ab7dda2806b4acd3d723b6ebf76f8cf6aead505cb370af7453d9fd55a73c1f4bec7d68fb8efb82462051d3f29367ca7da18226b2ecdd SHA512 5696e3d3e491776bda2a3f46badc7a2971e73d84ae42b77c35a7554dd834704e520fb92ce8078705c6d765bd2396d0951ce0ca155e34e3475eb6325d638eea14 -DIST thunderbird-115.11.0-fr.xpi 757742 BLAKE2B 1d58b3bfbdebdec58c6287bf4885f9d87decf3ef4e6c46c535b46b11d5a8befc427352d1516af718613cf746a8497ba9cbb4feca111e658d73bfdb98d3134376 SHA512 7b25046fd80d329a1688a94e3bf62f458c81771941da09935134533d2ebef12930ec31bca4a5c82a8d68c8669fac8c7e4156b7325346b6c6876ceba39929fbee -DIST thunderbird-115.11.0-fy-NL.xpi 739635 BLAKE2B e544cdefc875001eae90b3ac440551715f120b454c4437510fa97d6f54d41507bca79dbdc87480850cd93e5c540e29e4625fede74f6fc7402d625351d5a920b8 SHA512 2c48247d761fdc3019f79da1348d577ffe3bdcc82193c49643a330a81b2c85be5b95a6ff62f7bd07eae355573421c7086ff8ae11acaabde67d5bd0a51f2b5941 -DIST thunderbird-115.11.0-ga-IE.xpi 611162 BLAKE2B 523620495c524bba6d2b97a85ba66f3abeb3eeea8e6aba2dfdd2e6f835f6be32100d20a98884b96a323412237ad0ef6024685f1d3fafcac31bc0d39e98901272 SHA512 8ac0f593f1a38206188a4b854486e83a478e705caac4442dbaf307fb4b828ebe0a723ef38ba9b3bec97a76b4f2e6ee833747c8f7c91236a019cee4eac8bc5909 -DIST thunderbird-115.11.0-gd.xpi 714247 BLAKE2B eeccd1abc04c7c24bfd8e966018980e8f91b08421f8cdafff536cf529654275e80b5d5411c0217ea5d8e08b7530452b31f03246f51263da1b6993e68d19667b6 SHA512 901f83ea0177ef72ce54c782d53ec1ceecaad71a61d3336a28d180d91b9e391200b0aec5baf90e2d814c35cf18d43af9a1b893f0425b21d1f3ab802c61e55a6e -DIST thunderbird-115.11.0-gl.xpi 726198 BLAKE2B 82efb45b4f2446ccaf41a13dbf83e231b0ea27d19f8bf0506ac4c6c827f73f335e0e13f658161484ff00f8f8d930d80be080a6207e3e25f1fbcf7d1fea47c1fe SHA512 b245e41f0574cd072d0881d3015380ef7390031b8cfa9506e98b15309fd8bc2f35a7e54ccd9ff0b21e1ab4fcb8649d470a163cd4f898f51e6a1b4880f9bdbd0e -DIST thunderbird-115.11.0-he.xpi 692096 BLAKE2B ebf1c4402cc89d430f28b30c6779b1e8fdaf502b89923e817e2ff08135aee96eb71f412950c35ef825d7ac02df105646c8ac76283f34d34b9828e17de3f61ab7 SHA512 8cba7e3e494276bd09147a56b8cea6f67ff4bf54d568d242f46fcc6e65d7bd9d86664f3bd80f8ea84598deabc1fd6324c2215b32b99c9ee932842b2258c936e3 -DIST thunderbird-115.11.0-hr.xpi 689195 BLAKE2B 121932a4ab059a0e5c6460f44460f01587345ffb56f8e02e3d31f331794d37a3020b5d7d313098d119104046dcdb478ab71fde331179d3af721e532ac050fdbb SHA512 cdaf5ee4825b27e9231e546713b863e4dc5d50a5e1e6774d62d716bdcd9a489ee6a1c561873316562fcc70cca8e74a2263f675aecc451951b8fe1cbfbc497f98 -DIST thunderbird-115.11.0-hsb.xpi 766502 BLAKE2B 7fbdb65bf1b2e0236ab72da3a3eef1cd3d064f6025bec9da41fdba3ff09d5048afcb2a2ffc61259216c20b51cce87d069736b44896047c47d6cef325326738e1 SHA512 0ee916bbdf3fdf6aac3c39156086a7fb3d0ea8d624ef889dc068cc99130d5bcf5d59355cc53662c05c397b7af7fa313d046d1c60a1ac523cda9e01afe772d082 -DIST thunderbird-115.11.0-hu.xpi 769135 BLAKE2B d595a6074d2b6c47ad2864a853996d655a180f789102799b83c53443005c00e43c831582b255b1fab7d17043f393d60484de6da9fbaf1cdfc5660ae46f23bdb1 SHA512 c356d69f608205c164f48aaed441bc41dac7a835a410552bb970012ad5f47557d66fdf5790467b95a7e07aba62adbbee1802e03078bd2d12810b4564752da151 -DIST thunderbird-115.11.0-id.xpi 653755 BLAKE2B b0226daa4094c9675ae49e3317b1e31fbba31697c6f381b4d57753a2c1d6b1a883b2b8646944989612545480a9dc4ea5a6bcc46dd3c9e2082d48c522498eb70b SHA512 30f56aadbb2f3573e9ec23a52d17e2e409578f5b90a8b43cab038a19e2727c9d38798da66f650b214e65d520364907ae4072fd1721a8129dba3d1d98f2f2d209 -DIST thunderbird-115.11.0-is.xpi 727097 BLAKE2B 5dcb1d49a4e08aa3866bbb6c55e0be79a74fdf03ee07a7f15133f57f44d4b40116ae63c4a74709ee3457faec52bd1617539043cc4267bc29f3cbf7467c9ad370 SHA512 e1bf0e5fd43326bb6e8c54cd44fd779dc96cf10f8d43211ca525223351dbd69e215fb355a1b52dbcbc0efb977383d0ff49a0612cec468929caaf2b23ea063422 -DIST thunderbird-115.11.0-it.xpi 676206 BLAKE2B db3cb8560f5d7a678ff0d64d93478b1085a9a3fa305594e3e3c5dbddb8a24f9f308c7f52a19e7339da1dbd5d5ff0d283248eed394c8c26193dda2106fa09d8d0 SHA512 b9c810ec5074815efb9e1988da3ea56bbd1b2d5155f5a1742580f06062447b10d39865472f9516983ca966005796ecad6e4c1a027d13f5d4e2d8278470d3ea8f -DIST thunderbird-115.11.0-ja.xpi 804931 BLAKE2B f80315ebc21d980ff6e6a3861969b4eef203a20fe6f16b6566b2c548498c274c3f7c7b4da08b522eda07b9aa69264c5a6e8f4ed9f04fc880041c3d2ccd7f830f SHA512 0874ef26cb95bf875a267ab6ad40d4893719f6796d0d939d62f50b0c1a2be7bc32d36382df6a532ff68950f38caf7927fa6cca5b456c4ba4e07a4b11787ed1cb -DIST thunderbird-115.11.0-ka.xpi 786093 BLAKE2B a2383ae2081782e133e6b7fffc20e6995bfdb714ba6636b904dd4691dbab9f280b8231c65606d97294936a2a7beeaf2da2bbedd87fca31b45433ba290e72c0e1 SHA512 97b1069e6f0e90423e74da3dbeb955baa8c884c7aeb860575fb494056318ed2f599c95a5832d1cab262fb3f1672c667db902810571b1a007ec48b273853d1caf -DIST thunderbird-115.11.0-kab.xpi 714605 BLAKE2B bd720d83b74525d348480c8d9e2d16adf98c744fc57196816e89b1f4c872b0eba109055aac1f2274635d645a3688d02c9a79133e600ac0fc5c4a2dd68ac10dcf SHA512 7d5a292ef57fff8c2328414cfd7cb94ea3df90cb69cc732250d852a6ffb97ddd17c6e3ffcbe2651b92807067c4223fde6e3dd8fb7ba31f6a1dd15be64ef72be0 -DIST thunderbird-115.11.0-kk.xpi 842880 BLAKE2B a02a6b0a9e8e932df6f4c9b27399922717684f521d3c00d063821bd7bc61df4310eb6735d18fb29132d46feeecc0f693927fcae83adca30ed1409aaf47ca35f7 SHA512 824bf5d85b1bdc4d9b4b74cac43065c8c57484184cfddd39ef057780485aa515931b91a8af9a5839a866c908bea669b4d32886bca9bb3e2a5f4de3740a2180f1 -DIST thunderbird-115.11.0-ko.xpi 746226 BLAKE2B fea11fd4687d11db22824d9d6d22705cfde8f684e53ecb954dd350d396861a48b9ed53c0a1092757abd4b748e0c357df5ec2cb40376f6fe588cda52f50862cdc SHA512 2ad86ab8d8434b71b36a440d86a157ad81d8d018141d1187001dcb96a5f4d809d1655b247b584858ed8a3f914cdf26927c34157313cbef1c9e34c354bbe94778 -DIST thunderbird-115.11.0-lt.xpi 690574 BLAKE2B bad65704f0d0e7a6090a48a4f09b10568aa46141affa9d7280c31f09d1cbf8cabae18f1ea558bd13ea38be71f9fd338c0dc8ed61e6b6b63bcfb63b30e534e97c SHA512 c14f2cd7d6a36117d440ce7033f2340bbe8a606bdff3911de970f6391ef454ff8a8375a21c34186c2babfee39343ce1f9524f5ae2c91debb3b26d023a4dc6f1e -DIST thunderbird-115.11.0-lv.xpi 627157 BLAKE2B 56525c58fc0892220cfd05eaca28de66ea34c5fb8b454ac427976e6bceaada8ba6a68f12b991ad7f4de239af9199363d28700ebc7066c72e2e777a08fd27d40d SHA512 abe690c11cda04bc65ee29ec94325fe5cb0ffb22a9d5d608523b116bcf28d7abc18a6351c83ee304d1487a3a7f5c4e0aacffd5072b4507e27745b88970405338 -DIST thunderbird-115.11.0-ms.xpi 575471 BLAKE2B 2306ed21d3953593be81ccb894da7b88744ccf484019707e254ad0f06bc205adfc9ce03783d8c6ff301c7ce107ece80da0ccc89fc824d76af2797ad2c7b50b33 SHA512 9441f44a8c29dab54c44db6ee52aa453a1bf484556fbac6771f5c6d80c0b5a095d5e333c8c0d87ba89bc8055010547c7857057d727ae56542f476ffac8220c25 -DIST thunderbird-115.11.0-nb-NO.xpi 693901 BLAKE2B 4cba81fb3500191ab04dbe964038384d10c7d936cd9b1dcc530c8e2a16cf175d691d3311507e766c852e53333d01b30d87c68361fe492211ff020c7f95b09a77 SHA512 f08290b3f9f24b12c64b02acb56cc898caac5d70a100edefd26229ddd9bd755764ee7f040ed48829b51f8c0b7c0317b0c3403c93035eab0a292d2ddd4d25c394 -DIST thunderbird-115.11.0-nl.xpi 730834 BLAKE2B 468b245b9286cd9348828d231068caf4cf9da0c5cc686c2818038cf6ce739dd7a8edf99fc3ee54226a5138518492f8c8326074a22375780011382fe7276e0c27 SHA512 b6652df5016a2e771e2a9ec730d753147cc4ad0f8727e37b8902492d5a977a654c8bccec0bc095beacbc62b46f15aa988b1b9d1c6b72cfa3307e43584fecf2c7 -DIST thunderbird-115.11.0-nn-NO.xpi 696720 BLAKE2B c22a5e987683a46a1976cdf24a468b06540e49765d71abe3718760c11cfbfe450e1d6314f62871a04492fb8a4b4a39f306f7ee37b1b1300050ee200fe7317b19 SHA512 8f724376fdabce1a87c0f9e65ec630cce5f91f74ea4a2ffce130cbbaf41d05b620bf0d11229a8e60d83d1dccfabc356843bc0e43ffcfb5c36d0a2bf8987c65a7 -DIST thunderbird-115.11.0-pa-IN.xpi 683515 BLAKE2B f331d955a53b0c6b36debeef36ee7d99423a6387cc430962e339493ddd1b374274ed27555806991de7b758ccb93e4eac816ce792b29a05a5e487bf7ed9851a4c SHA512 fded24a530baf2865f7035d3a9e2fa433a1928a8ecf6449ef50f17e87815c16091bd43368ab1d9de5eae719a802ce10a7d5f92a3aeb4d5a68c2a261c17e01882 -DIST thunderbird-115.11.0-pl.xpi 749665 BLAKE2B 5d1738316ddbe1852c07e3fad3a6f66f7861aec3a0bea2eea7709fd996777ffa4567bcf803ca2da9ce3cfd425011f1edbeb261b3e7456b0719e68a16f384ab92 SHA512 4359711e3f4d1b35b80424422b50b2f34bfe003f2c9bb8114814e28eafa67bbfa3722877a2dd9a2668e1298c7c82aa055eee40363635e3c3fc28915947ab9e17 -DIST thunderbird-115.11.0-pt-BR.xpi 738423 BLAKE2B ec743bd273f037394363139aa01f85437c3f7b785c0a3d502640f9487e5b2c71377142f89e5d09a59f6f7903a1f12ba78b6d263181a48aabfef891514c455e98 SHA512 7ab445b0c6c03aa2111c777255430b4e027ac21462ccd928034f3eaf15f46552d802cc270adf99b5c319d7c60b0ae49f1738d28fa89e64dce0b030ac0c6204fc -DIST thunderbird-115.11.0-pt-PT.xpi 728869 BLAKE2B f6e17d40966e62d17e5800aa7765381dc9852391ebaa1ebc14ed96963dfce4771638996c407adec638aed02c5d73b3e53409bc7ceea082b705c3d141d85ba432 SHA512 65543e864d6909724eadadf0707f48774b825623535c5e95a3fafcf7b19646ef5f15c801b91bdd6a293954fbc0c16614bf1fb1f545248973b39478a4f887bccc -DIST thunderbird-115.11.0-rm.xpi 732588 BLAKE2B 784389ca4ee0ba3e86353b69ed736a38bd48afa46bea575585d063ce919a8f4dcaa829d70a178f0d2c9fde7249ab8cf176d6aebfac26ebbf306d64e05edd4c32 SHA512 93a184b1114ed716534b814c3fcf4a25b772e081779e753d2b5b5b351d279c1bdfb8b3715d8285d861c1fb46d477c8d87e78c38ccd27cecdf28eeb53aee1e31b -DIST thunderbird-115.11.0-ro.xpi 661832 BLAKE2B 46eed26b655fa17ee0026e65c28cdb29111ee7bd0db8408e5be70aca0139b4ba71fa5af0d0907b451339cafa6a03a87c0ec9dc0a90273291588375146cee751d SHA512 02a1c4cc48ca85624980cc76449d75935e8e3300f6c75111d351336fb14d5ed2f7df8d76bb2f8dae2c3a9e2b25d57373b2db90214f45560f7c504fed09a29504 -DIST thunderbird-115.11.0-ru.xpi 857137 BLAKE2B cadceaa028168910880fd171e21649c25dd197bf1d0cce3f27c9ca639e76baf2fc637b00b257e649f2558153d7dcafe71255d7384ea52e680051d027e26fb2b5 SHA512 c44d82448364921b3ede1c5a66689936070893e662b93ba29d072efb1bcba291402e4defa1dfe2f80bd303124a08830fdc128468aa97018d7a16ac9dcac3d59f -DIST thunderbird-115.11.0-sk.xpi 769057 BLAKE2B e672c22b4ed0054bcd51d8bcae3899795e92a86217f754c12c30b7fee3f82a066ffd6ba2c03afc685aafc95968620d0a1cc33993fd2bc753c92f8c9a702f7b30 SHA512 2f343fa9e626756caf9d54788d9ca1c855458032fd24e9af136854de398e6b27ab72df6630b0f85a1c48d38d9d7afe3bf7fb392454a50b4460f18d5efd03f555 -DIST thunderbird-115.11.0-sl.xpi 729108 BLAKE2B f58d9509d472930df3229da5f572cfb20d543902f4a14e2da4e8cc98a5f52d73fde1a7b37062b73e34a59410bc7f685c1610e72ac09da164ff05666ae05df77b SHA512 a372a2137579b6916debd25bd6200541c9245e7305b2f9bdaad397393644c61e98706242d02f3c0dc5bf54de785c9299e157d9769a4e99221b2f673b40168141 -DIST thunderbird-115.11.0-sq.xpi 753635 BLAKE2B 862d4c4d7b90c3684a7bec81381ffd067ab762ffff4c53ddb7c45198bcee02943774ac9bf2f03e1bb0a322d43660713fc06d90f4bf56e2623500d476e81f00fb SHA512 76200e8d9b87e59b162c1195a353fd7e80cebe9d623393816f25303fa8e7fcca49ec4477ee2802e162891a70aa44c3455b47e4a73c9bba7aa72a7638dfa49931 -DIST thunderbird-115.11.0-sr.xpi 757456 BLAKE2B 1811f5a5876f5115bc00a1b6c0e4376e328d8455eb2cd39be6d0f0996b441b87b8273b2050a9983c36e5741b9ffb6b64e7e0b9a5564dae9edc471f68e598f01d SHA512 8762de7b2545f0070484f885960c11cc8c47032f4d9c1acc4e71479d8233be53fd5341a694b0867375a5d25cc57521f3fb663c243485765f06c863d2b19fdc0d -DIST thunderbird-115.11.0-sv-SE.xpi 733956 BLAKE2B 96dd08adc39f97d747f21ca79859fd4786496b153057f647162c3fe7a1f72b19e5e6d6172385aec2fab538401eab059c7f07af73080921e6d0c570ed4d4a6379 SHA512 841213c48b60f0c113af821b7d14911eba3455cb984f04f291889a9a83c231ff96ff8d0e04476e867eaafebe5fa92f5b5d8a8aa38143ae4d42d4b915e1b77400 -DIST thunderbird-115.11.0-th.xpi 804660 BLAKE2B 745e0ddb2a6f6587e5303450f9350e7c00e14a6805bf00f0cb19dec470a6c46b1e610543ef7a340ff4a4bc311a34ef3f2b23849829c5fc6631ae1eecd27fc99e SHA512 84a1a1bff35773b365f7bdef480f0dcbef0e8ddd9e72611b899beb3c361e9a1d2a36717b8994224972805f2d602dc560d82f21e12fef7e61393d3757419ed83a -DIST thunderbird-115.11.0-tr.xpi 743473 BLAKE2B c2e1ebb0bdccfbe4698f99f482906f798e7e5a588be47e0aa2a08547247599a3d2cb3f12dffb49cf9ae112afebb6c1f4d9bc81c8c2167a7f08348eb387922172 SHA512 efc3fe623e76f2ac9a178d96818115b55090aca2091afbe8e15719bb895d9f1510dd8bb38b388586a42a28c75de982522462910cd9459f8ca0dffe92db050661 -DIST thunderbird-115.11.0-uk.xpi 846640 BLAKE2B a011983fbe6c18d8c3a9b3886db79900913fb261c8b6dc7b18508497e447651b6b7ab02c2eef3c93988140f4a7b9bb5ec56d3bb84009cebe844717676d1d4dab SHA512 6336a9cc4e53bf4fb319a192fc7bf179fc19c413251036ee82dd9b14e1a847df38a0c399aff20aced259152f416f1095f68e65aa06b744e55b477acf6312622f -DIST thunderbird-115.11.0-uz.xpi 588508 BLAKE2B 9547e7941e5aa131088b44ded53f15b5b556f155063ba064d9149a064741659e919e835ba4645f1d38b30bccba2ab3b6722b74d44b2845e37c7133b67b2485b2 SHA512 aa4e41f1ac5707d6909b5688f37e5919e247f9d23075148cbdcdf4dcae9f1189717200d9aae7c520cf1398aff2164267723de2f83e52beb32d03bc6286275923 -DIST thunderbird-115.11.0-vi.xpi 772902 BLAKE2B 3664d1ac5d06382b26c3e41682d7b028d53d39283ae6ba5c2ca7773a3fdd2478c79366d7b84cee9b03bd7e8cefc76acd4ed9b5a511bf456414e926439a7db844 SHA512 06156a5de0e2294b5038151d743788a09427ab69825f009150949030561a445d571858f2555379dd93886c955a5cc1a9b8240285adf06a7801befa731e2b454b -DIST thunderbird-115.11.0-zh-CN.xpi 771965 BLAKE2B f29182a0467db6155e6ed95b60ae68f415dd8455d7a6ae86ecd2ef879688c361fb38cb71c8f17c11dd0ecd68f667b8d3e68674f9b3b3ed556ad7afb28d12b045 SHA512 075f922b324cb22ef6adefec2173093495139eff0fde93e4cf4861c7d054aa53c082938268cc4488ff5059ae13a8b9ee31adc1094c8e2ee606f703294e4402b0 -DIST thunderbird-115.11.0-zh-TW.xpi 776444 BLAKE2B 868092eb289b5e2324011bd670961656d68701719ba268cdef5f91060a20a699283b90402ff673f718036b95b09835f276aabc20e0d90131cf76d08a1c7dc5bb SHA512 3f9b7c909c232b3ed6a989546bc90cf62443e348b628b39b97d3d0a5425fb1950b8bfc805495a1cb69adec1358b21b0838f9343e452129f4ab3bb8d101724659 -DIST thunderbird-115.11.0.source.tar.xz 530402016 BLAKE2B 9a18a24a229e30bf7f11f075583e6da752448a2fd927c03177765e10c128cb6fc125ccecb534d6a82619693a01fe86f9c5aa472862bd358fe1e69844bbd32124 SHA512 002f783cff7f2b50d9a29f20061fe55a1f64487b38a18dcb49217c3d7b99c2852af842decbd0347939aaf4c4c73ae66a8b04527ccd1b6db7f87aab402cb84ca1 DIST thunderbird-115.12.1-af.xpi 550974 BLAKE2B 3f973170020cd5fa492e3b1cea3088a801e799f48dffa2081589cbcaa51eaa953dafb62ce008f894b465f6c0bee45532241b823dcc4ebe643c032fcc7ad58ae2 SHA512 6f2084f4b61d39eef49a499da144308accd2dddf1c191adda616a5289c7afc8e4cf8700b45e0b9957bdbb8b882a998234d2971d51eb970957d4a2d99ce3cc877 DIST thunderbird-115.12.1-ar.xpi 673669 BLAKE2B c4bdce98303c81590bcb30c99bbbd5026e41aa67e3c14e5a2e0e91f2452fb8774a7c7242c6c4f82c68312a67e1caa4fb2d7d892ff6fda9c35073f270ac394ce7 SHA512 549b8b491785f20e0459754087c89bdbb9fe21cd124bd025b6854040da98724884c78556382be6cd9de5652569a19c8a540c67123d3c7e9c31ae8ff445db3c94 DIST thunderbird-115.12.1-ast.xpi 569921 BLAKE2B 58b9e9e037dcd13ff2768eac57c06a0769a47eefd37d5705a4b61cc28a338422fac10eec787501d173839a68099071cea11f0c2adec2e277d756b089e7860042 SHA512 47e605d6846cbcbdd07f6388453fad1ef5fcd99013e288a6ff5a70920b2946567dd6317416f2dfcbc19b2def5980005e245b14c6f273f4ff2dda6ef31cb96253 diff --git a/mail-client/thunderbird/thunderbird-115.11.0.ebuild b/mail-client/thunderbird/thunderbird-115.11.0.ebuild deleted file mode 100644 index 582b2c7d6c1d..000000000000 --- a/mail-client/thunderbird/thunderbird-115.11.0.ebuild +++ /dev/null @@ -1,1353 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -FIREFOX_PATCHSET="firefox-115esr-patches-09.tar.xz" - -LLVM_MAX_SLOT=17 - -PYTHON_COMPAT=( python3_{10..12} ) -PYTHON_REQ_USE="ncurses,sqlite,ssl" - -WANT_AUTOCONF="2.1" - -VIRTUALX_REQUIRED="manual" - -MOZ_ESR= - -MOZ_PV=${PV} -MOZ_PV_SUFFIX= -if [[ ${PV} =~ (_(alpha|beta|rc).*)$ ]] ; then - MOZ_PV_SUFFIX=${BASH_REMATCH[1]} - - # Convert the ebuild version to the upstream Mozilla version - MOZ_PV="${MOZ_PV/_alpha/a}" # Handle alpha for SRC_URI - MOZ_PV="${MOZ_PV/_beta/b}" # Handle beta for SRC_URI - MOZ_PV="${MOZ_PV%%_rc*}" # Handle rc for SRC_URI -fi - -if [[ -n ${MOZ_ESR} ]] ; then - # ESR releases have slightly different version numbers - MOZ_PV="${MOZ_PV}esr" -fi - -MOZ_PN="${PN%-bin}" -MOZ_P="${MOZ_PN}-${MOZ_PV}" -MOZ_PV_DISTFILES="${MOZ_PV}${MOZ_PV_SUFFIX}" -MOZ_P_DISTFILES="${MOZ_PN}-${MOZ_PV_DISTFILES}" - -inherit autotools check-reqs desktop flag-o-matic gnome2-utils linux-info \ - llvm multiprocessing optfeature pax-utils python-any-r1 toolchain-funcs \ - virtualx xdg - -MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/releases/${MOZ_PV}" - -if [[ ${PV} == *_rc* ]] ; then - MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/candidates/${MOZ_PV}-candidates/build${PV##*_rc}" -fi - -PATCH_URIS=( - https://dev.gentoo.org/~juippis/mozilla/patchsets/${FIREFOX_PATCHSET} -) - -SRC_URI="${MOZ_SRC_BASE_URI}/source/${MOZ_P}.source.tar.xz -> ${MOZ_P_DISTFILES}.source.tar.xz - ${PATCH_URIS[@]}" - -DESCRIPTION="Thunderbird Mail Client" -HOMEPAGE="https://www.thunderbird.net/" - -KEYWORDS="amd64 ~arm64 ~ppc64 x86" - -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 +X" - -# Thunderbird-only USE flags. -IUSE+=" +system-librnp" - -REQUIRED_USE="|| ( X wayland ) - debug? ( !system-av1 ) - pgo? ( lto ) - wifi? ( dbus )" - -TB_ONLY_DEPEND="!<x11-plugins/enigmail-2.2 - selinux? ( sec-policy/selinux-thunderbird ) - !system-librnp? ( dev-libs/jsoncpp ) - system-librnp? ( dev-util/librnp )" -BDEPEND="${PYTHON_DEPS} - || ( - ( - sys-devel/clang:17 - sys-devel/llvm:17 - clang? ( - sys-devel/lld:17 - virtual/rust:0/llvm-17 - pgo? ( =sys-libs/compiler-rt-sanitizers-17*[profile] ) - ) - ) - ( - sys-devel/clang:16 - sys-devel/llvm:16 - clang? ( - sys-devel/lld:16 - virtual/rust:0/llvm-16 - pgo? ( =sys-libs/compiler-rt-sanitizers-16*[profile] ) - ) - ) - ( - sys-devel/clang:15 - sys-devel/llvm:15 - clang? ( - sys-devel/lld:15 - virtual/rust:0/llvm-15 - pgo? ( =sys-libs/compiler-rt-sanitizers-15*[profile] ) - ) - ) - ) - app-alternatives/awk - app-arch/unzip - app-arch/zip - >=dev-util/cbindgen-0.24.3 - net-libs/nodejs - virtual/pkgconfig - !clang? ( - >=virtual/rust-1.65 - <virtual/rust-1.78 - ) - !elibc_glibc? ( - || ( - <dev-lang/rust-1.78 - <dev-lang/rust-bin-1.73 - ) - ) - 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-wm/tinywl - <gui-libs/wlroots-0.17.3[tinywl(-)] - ) - x11-misc/xkeyboard-config - ) - )" -COMMON_DEPEND="${TB_ONLY_DEPEND} - >=app-accessibility/at-spi2-core-2.46.0:2 - dev-libs/expat - dev-libs/glib:2 - dev-libs/libffi:= - >=dev-libs/nss-3.90 - >=dev-libs/nspr-4.35 - media-libs/alsa-lib - media-libs/fontconfig - media-libs/freetype - media-libs/mesa - media-video/ffmpeg - sys-libs/zlib - virtual/freedesktop-icon-theme - x11-libs/cairo - x11-libs/gdk-pixbuf - x11-libs/pango - x11-libs/pixman - dbus? ( - dev-libs/dbus-glib - sys-apps/dbus - ) - jack? ( virtual/jack ) - pulseaudio? ( - || ( - media-libs/libpulse - >=media-sound/apulse-0.1.12-r4[sdk] - ) - ) - libproxy? ( net-libs/libproxy ) - selinux? ( sec-policy/selinux-mozilla ) - sndio? ( >=media-sound/sndio-1.8.0-r1 ) - 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-74.1:= ) - system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 ) - system-libevent? ( >=dev-libs/libevent-2.1.12:0=[threads(+)] ) - system-libvpx? ( >=media-libs/libvpx-1.8.2:0=[postproc] ) - system-png? ( >=media-libs/libpng-1.6.35:0=[apng] ) - system-webp? ( >=media-libs/libwebp-1.1.0:0= ) - wayland? ( - >=media-libs/libepoxy-1.5.10-r1 - x11-libs/gtk+:3[wayland] - x11-libs/libxkbcommon[wayland] - ) - wifi? ( - kernel_linux? ( - dev-libs/dbus-glib - net-misc/networkmanager - sys-apps/dbus - ) - ) - X? ( - virtual/opengl - x11-libs/cairo[X] - x11-libs/gtk+:3[X] - x11-libs/libX11 - x11-libs/libXcomposite - x11-libs/libXdamage - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libxkbcommon[X] - x11-libs/libXrandr - x11-libs/libXtst - x11-libs/libxcb:= - )" -RDEPEND="${COMMON_DEPEND} - jack? ( virtual/jack ) - openh264? ( media-libs/openh264:*[plugin] )" -DEPEND="${COMMON_DEPEND} - X? ( - x11-base/xorg-proto - x11-libs/libICE - x11-libs/libSM - )" - -S="${WORKDIR}/${PN}-${PV%_*}" - -llvm_check_deps() { - if ! has_version -b "sys-devel/clang:${LLVM_SLOT}" ; then - einfo "sys-devel/clang:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 - return 1 - fi - - if use clang && ! tc-ld-is-mold ; then - if ! has_version -b "sys-devel/lld:${LLVM_SLOT}" ; then - einfo "sys-devel/lld:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 - return 1 - fi - - if ! has_version -b "virtual/rust:0/llvm-${LLVM_SLOT}" ; then - einfo "virtual/rust:0/llvm-${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 - return 1 - fi - - if use pgo ; then - if ! has_version -b "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*[profile]" ; then - einfo "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*[profile] is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 - return 1 - fi - fi - fi - - einfo "Using LLVM slot ${LLVM_SLOT} to build" >&2 -} - -MOZ_LANGS=( - af ar ast be bg br ca cak cs cy da de dsb - el en-CA en-GB en-US es-AR es-ES 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}" -} - -# This is a straight copypaste from toolchain-funcs.eclass's 'tc-ld-is-lld', and is temporarily -# placed here until toolchain-funcs.eclass gets an official support for mold linker. -# Please see: -# https://github.com/gentoo/gentoo/pull/28366 || -# https://github.com/gentoo/gentoo/pull/28355 -tc-ld-is-mold() { - local out - - # Ensure ld output is in English. - local -x LC_ALL=C - - # First check the linker directly. - out=$($(tc-getLD "$@") --version 2>&1) - if [[ ${out} == *"mold"* ]] ; then - return 0 - fi - - # Then see if they're selecting mold via compiler flags. - # Note: We're assuming they're using LDFLAGS to hold the - # options and not CFLAGS/CXXFLAGS. - local base="${T}/test-tc-linker" - cat <<-EOF > "${base}.c" - int main() { return 0; } - EOF - out=$($(tc-getCC "$@") ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -Wl,--version "${base}.c" -o "${base}" 2>&1) - rm -f "${base}"* - if [[ ${out} == *"mold"* ]] ; then - return 0 - fi - - # No mold here! - return 1 -} - -virtwl() { - debug-print-function ${FUNCNAME} "$@" - - [[ $# -lt 1 ]] && die "${FUNCNAME} needs at least one argument" - [[ -n $XDG_RUNTIME_DIR ]] || die "${FUNCNAME} needs XDG_RUNTIME_DIR to be set; try xdg_environment_reset" - tinywl -h >/dev/null || die 'tinywl -h failed' - - # TODO: don't run addpredict in utility function. WLR_RENDERER=pixman doesn't work - addpredict /dev/dri - local VIRTWL VIRTWL_PID - coproc VIRTWL { WLR_BACKENDS=headless exec tinywl -s 'echo $WAYLAND_DISPLAY; read _; kill $PPID'; } - local -x WAYLAND_DISPLAY - read WAYLAND_DISPLAY <&${VIRTWL[0]} - - debug-print "${FUNCNAME}: $@" - "$@" - local r=$? - - [[ -n $VIRTWL_PID ]] || die "tinywl exited unexpectedly" - exec {VIRTWL[0]}<&- {VIRTWL[1]}>&- - return $r -} - -pkg_pretend() { - if [[ ${MERGE_TYPE} != binary ]] ; then - if use pgo ; then - if ! has usersandbox $FEATURES ; then - die "You must enable usersandbox as X server can not run as root!" - fi - fi - - # Ensure we have enough disk space to compile - if use pgo || use lto || use debug ; then - CHECKREQS_DISK_BUILD="13500M" - else - CHECKREQS_DISK_BUILD="6600M" - fi - - check-reqs_pkg_pretend - fi -} - -pkg_setup() { - if [[ ${MERGE_TYPE} != binary ]] ; then - if use pgo ; then - if ! has userpriv ${FEATURES} ; then - eerror "Building ${PN} with USE=pgo and FEATURES=-userpriv is not supported!" - fi - fi - - # Ensure we have enough disk space to compile - if use pgo || use lto || use debug ; then - CHECKREQS_DISK_BUILD="13500M" - else - CHECKREQS_DISK_BUILD="6400M" - fi - - check-reqs_pkg_setup - - llvm_pkg_setup - - if use clang && use lto && tc-ld-is-lld ; then - local version_lld=$(ld.lld --version 2>/dev/null | awk '{ print $2 }') - [[ -n ${version_lld} ]] && version_lld=$(ver_cut 1 "${version_lld}") - [[ -z ${version_lld} ]] && die "Failed to read ld.lld version!" - - local version_llvm_rust=$(rustc -Vv 2>/dev/null | grep -F -- 'LLVM version:' | awk '{ print $3 }') - [[ -n ${version_llvm_rust} ]] && version_llvm_rust=$(ver_cut 1 "${version_llvm_rust}") - [[ -z ${version_llvm_rust} ]] && die "Failed to read used LLVM version from rustc!" - - if ver_test "${version_lld}" -ne "${version_llvm_rust}" ; then - eerror "Rust is using LLVM version ${version_llvm_rust} but ld.lld version belongs to LLVM version ${version_lld}." - eerror "You will be unable to link ${CATEGORY}/${PN}. To proceed you have the following options:" - eerror " - Manually switch rust version using 'eselect rust' to match used LLVM version" - eerror " - Switch to dev-lang/rust[system-llvm] which will guarantee matching version" - eerror " - Build ${CATEGORY}/${PN} without USE=lto" - eerror " - Rebuild lld with llvm that was used to build rust (may need to rebuild the whole " - eerror " llvm/clang/lld/rust chain depending on your @world updates)" - die "LLVM version used by Rust (${version_llvm_rust}) does not match with ld.lld version (${version_lld})!" - fi - fi - - python-any-r1_pkg_setup - - # Avoid PGO profiling problems due to enviroment leakage - # These should *always* be cleaned up anyway - unset \ - DBUS_SESSION_BUS_ADDRESS \ - DISPLAY \ - ORBIT_SOCKETDIR \ - SESSION_MANAGER \ - XAUTHORITY \ - XDG_CACHE_HOME \ - XDG_SESSION_COOKIE - - # Build system is using /proc/self/oom_score_adj, bug #604394 - addpredict /proc/self/oom_score_adj - - if use pgo ; then - # Update 105.0: "/proc/self/oom_score_adj" isn't enough anymore with pgo, but not sure - # whether that's due to better OOM handling by Firefox (bmo#1771712), or portage - # (PORTAGE_SCHEDULING_POLICY) update... - addpredict /proc - - # May need a wider addpredict when using wayland+pgo. - addpredict /dev/dri - - # Allow access to GPU during PGO run - local ati_cards mesa_cards nvidia_cards render_cards - shopt -s nullglob - - ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g') - if [[ -n "${ati_cards}" ]] ; then - addpredict "${ati_cards}" - fi - - mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g') - if [[ -n "${mesa_cards}" ]] ; then - addpredict "${mesa_cards}" - fi - - nvidia_cards=$(echo -n /dev/nvidia* | sed 's/ /:/g') - if [[ -n "${nvidia_cards}" ]] ; then - addpredict "${nvidia_cards}" - fi - - render_cards=$(echo -n /dev/dri/renderD128* | sed 's/ /:/g') - if [[ -n "${render_cards}" ]] ; then - addpredict "${render_cards}" - fi - - shopt -u nullglob - fi - - if ! mountpoint -q /dev/shm ; then - # If /dev/shm is not available, configure is known to fail with - # a traceback report referencing /usr/lib/pythonN.N/multiprocessing/synchronize.py - ewarn "/dev/shm is not mounted -- expect build failures!" - fi - - # Google API keys (see http://www.chromium.org/developers/how-tos/api-keys) - # Note: These are for Gentoo Linux use ONLY. For your own distribution, please - # get your own set of keys. - if [[ -z "${MOZ_API_KEY_GOOGLE+set}" ]] ; then - MOZ_API_KEY_GOOGLE="AIzaSyDEAOvatFogGaPi0eTgsV_ZlEzx0ObmepsMzfAc" - fi - - if [[ -z "${MOZ_API_KEY_LOCATION+set}" ]] ; then - MOZ_API_KEY_LOCATION="AIzaSyB2h2OuRgGaPicUgy5N-5hsZqiPW6sH3n_rptiQ" - fi - - # Mozilla API keys (see https://location.services.mozilla.com/api) - # Note: These are for Gentoo Linux use ONLY. For your own distribution, please - # get your own set of keys. - if [[ -z "${MOZ_API_KEY_MOZILLA+set}" ]] ; then - MOZ_API_KEY_MOZILLA="edb3d487-3a84-46m0ap1e3-9dfd-92b5efaaa005" - fi - - # Ensure we use C locale when building, bug #746215 - export LC_ALL=C - fi -} - -src_unpack() { - local _lp_dir="${WORKDIR}/language_packs" - local _src_file - - if [[ ! -d "${_lp_dir}" ]] ; then - mkdir "${_lp_dir}" || die - fi - - for _src_file in ${A} ; do - if [[ ${_src_file} == *.xpi ]]; then - cp "${DISTDIR}/${_src_file}" "${_lp_dir}" || die "Failed to copy '${_src_file}' to '${_lp_dir}'!" - else - unpack ${_src_file} - fi - done -} - -src_prepare() { - if use lto; then - rm -v "${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch || die - fi - - if ! use ppc64; then - rm -v "${WORKDIR}"/firefox-patches/*ppc64*.patch || die - fi - - if use x86 && use elibc_glibc ; then - rm -v "${WORKDIR}"/firefox-patches/*-musl-non-lfs64-api-on-audio_thread_priority-crate.patch || die - fi - - # Workaround for bgo#917599 - if has_version ">=dev-libs/icu-74.1" && use system-icu ; then - eapply "${WORKDIR}"/firefox-patches/0029-bmo-1862601-system-icu-74.patch - fi - rm -v "${WORKDIR}"/firefox-patches/0029-bmo-1862601-system-icu-74.patch || die - - # Workaround for bgo#915651 on musl - if use elibc_glibc ; then - rm -v "${WORKDIR}"/firefox-patches/*bgo-748849-RUST_TARGET_override.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)" - - # Workaround for bgo#915651 - if ! use elibc_glibc ; then - if use amd64 ; then - export RUST_TARGET="x86_64-unknown-linux-musl" - elif use x86 ; then - export RUST_TARGET="i686-unknown-linux-musl" - else - die "Unknown musl chost, please post your rustc -vV along with emerge --info on Gentoo's bug #915651" - fi - fi - - # Make LTO respect MAKEOPTS - sed -i \ - -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ - "${S}"/build/moz.configure/lto-pgo.configure \ - || die "sed failed to set num_cores" - - # Make ICU respect MAKEOPTS - sed -i \ - -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ - "${S}"/intl/icu_sources_data.py \ - || die "sed failed to set num_cores" - - # sed-in toolchain prefix - sed -i \ - -e "s/objdump/${CHOST}-objdump/" \ - "${S}"/python/mozbuild/mozbuild/configure/check_debug_ranges.py \ - || die "sed failed to set toolchain prefix" - - sed -i \ - -e 's/ccache_stats = None/return None/' \ - "${S}"/python/mozbuild/mozbuild/controller/building.py \ - || die "sed failed to disable ccache stats call" - - einfo "Removing pre-built binaries ..." - - find "${S}"/third_party -type f \( -name '*.so' -o -name '*.o' \) -print -delete || die - - # Clear cargo checksums from crates we have patched - # moz_clear_vendor_checksums crate - moz_clear_vendor_checksums audio_thread_priority - - # Create build dir - BUILD_DIR="${WORKDIR}/${PN}_build" - mkdir -p "${BUILD_DIR}" || die - - # Write API keys to disk - echo -n "${MOZ_API_KEY_GOOGLE//gGaPi/}" > "${S}"/api-google.key || die - echo -n "${MOZ_API_KEY_LOCATION//gGaPi/}" > "${S}"/api-location.key || die - echo -n "${MOZ_API_KEY_MOZILLA//m0ap1/}" > "${S}"/api-mozilla.key || die - - xdg_environment_reset -} - -src_configure() { - # Show flags set at the beginning - einfo "Current BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}" - einfo "Current CFLAGS:\t\t${CFLAGS:-no value set}" - einfo "Current CXXFLAGS:\t\t${CXXFLAGS:-no value set}" - einfo "Current LDFLAGS:\t\t${LDFLAGS:-no value set}" - einfo "Current RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}" - - local have_switched_compiler= - if use clang; then - # Force clang - einfo "Enforcing the use of clang due to USE=clang ..." - - local version_clang=$(clang --version 2>/dev/null | grep -F -- 'clang version' | awk '{ print $3 }') - [[ -n ${version_clang} ]] && version_clang=$(ver_cut 1 "${version_clang}") - [[ -z ${version_clang} ]] && die "Failed to read clang version!" - - if tc-is-gcc; then - have_switched_compiler=yes - fi - AR=llvm-ar - CC=${CHOST}-clang-${version_clang} - CXX=${CHOST}-clang++-${version_clang} - NM=llvm-nm - RANLIB=llvm-ranlib - elif ! use clang && ! tc-is-gcc ; then - # Force gcc - have_switched_compiler=yes - einfo "Enforcing the use of gcc due to USE=-clang ..." - AR=gcc-ar - CC=${CHOST}-gcc - CXX=${CHOST}-g++ - NM=gcc-nm - RANLIB=gcc-ranlib - fi - - if [[ -n "${have_switched_compiler}" ]] ; then - # Because we switched active compiler we have to ensure - # that no unsupported flags are set - strip-unsupported-flags - fi - - # Ensure we use correct toolchain, - # AS is used in a non-standard way by upstream, #bmo1654031 - export HOST_CC="$(tc-getBUILD_CC)" - export HOST_CXX="$(tc-getBUILD_CXX)" - export AS="$(tc-getCC) -c" - tc-export CC CXX LD AR AS NM OBJDUMP RANLIB PKG_CONFIG - - # Pass the correct toolchain paths through cbindgen - if tc-is-cross-compiler ; then - export BINDGEN_CFLAGS="${SYSROOT:+--sysroot=${ESYSROOT}} --target=${CHOST} ${BINDGEN_CFLAGS-}" - fi - - # Set MOZILLA_FIVE_HOME - export MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" - - # python/mach/mach/mixin/process.py fails to detect SHELL - export SHELL="${EPREFIX}/bin/bash" - - # Set state path - export MOZBUILD_STATE_PATH="${BUILD_DIR}" - - # Set MOZCONFIG - export MOZCONFIG="${S}/.mozconfig" - - # Initialize MOZCONFIG - mozconfig_add_options_ac '' --enable-application=comm/mail - mozconfig_add_options_ac '' --enable-project=comm/mail - - # Set Gentoo defaults - mozconfig_add_options_ac 'Gentoo default' \ - --allow-addon-sideload \ - --disable-cargo-incremental \ - --disable-crashreporter \ - --disable-gpsd \ - --disable-install-strip \ - --disable-parental-controls \ - --disable-strip \ - --disable-tests \ - --disable-updater \ - --disable-wmf \ - --enable-js-shell \ - --enable-legacy-profile-creation \ - --enable-negotiateauth \ - --enable-new-pass-manager \ - --enable-official-branding \ - --enable-release \ - --enable-system-ffi \ - --enable-system-pixman \ - --enable-system-policies \ - --host="${CBUILD:-${CHOST}}" \ - --libdir="${EPREFIX}/usr/$(get_libdir)" \ - --prefix="${EPREFIX}/usr" \ - --target="${CHOST}" \ - --without-ccache \ - --without-wasm-sandboxed-libraries \ - --with-intl-api \ - --with-libclang-path="$(llvm-config --libdir)" \ - --with-system-nspr \ - --with-system-nss \ - --with-system-zlib \ - --with-toolchain-prefix="${CHOST}-" \ - --with-unsigned-addon-scopes=app,system \ - --x-includes="${ESYSROOT}/usr/include" \ - --x-libraries="${ESYSROOT}/usr/$(get_libdir)" - - # Set update channel - local update_channel=release - [[ -n ${MOZ_ESR} ]] && update_channel=esr - mozconfig_add_options_ac '' --update-channel=${update_channel} - - if ! use x86 && [[ ${CHOST} != armv*h* ]] ; then - mozconfig_add_options_ac '' --enable-rust-simd - fi - - # For future keywording: This is currently (97.0) only supported on: - # amd64, arm, arm64 & x86. - # Might want to flip the logic around if Firefox is to support more arches. - # bug 833001, bug 903411#c8 - if use ppc64 || use riscv; then - mozconfig_add_options_ac '' --disable-sandbox - else - mozconfig_add_options_ac '' --enable-sandbox - fi - - # Enable JIT on riscv64 explicitly - # Can be removed once upstream enable it by default in the future. - use riscv && mozconfig_add_options_ac 'Enable JIT for RISC-V 64' --enable-jit - - if [[ -s "${S}/api-google.key" ]] ; then - local key_origin="Gentoo default" - if [[ $(cat "${S}/api-google.key" | md5sum | awk '{ print $1 }') != 709560c02f94b41f9ad2c49207be6c54 ]] ; then - key_origin="User value" - fi - - mozconfig_add_options_ac "${key_origin}" \ - --with-google-safebrowsing-api-keyfile="${S}/api-google.key" - else - einfo "Building without Google API key ..." - fi - - if [[ -s "${S}/api-location.key" ]] ; then - local key_origin="Gentoo default" - if [[ $(cat "${S}/api-location.key" | md5sum | awk '{ print $1 }') != ffb7895e35dedf832eb1c5d420ac7420 ]] ; then - key_origin="User value" - fi - - mozconfig_add_options_ac "${key_origin}" \ - --with-google-location-service-api-keyfile="${S}/api-location.key" - else - einfo "Building without Location API key ..." - fi - - if [[ -s "${S}/api-mozilla.key" ]] ; then - local key_origin="Gentoo default" - if [[ $(cat "${S}/api-mozilla.key" | md5sum | awk '{ print $1 }') != 3927726e9442a8e8fa0e46ccc39caa27 ]] ; then - key_origin="User value" - fi - - mozconfig_add_options_ac "${key_origin}" \ - --with-mozilla-api-keyfile="${S}/api-mozilla.key" - else - einfo "Building without Mozilla API key ..." - fi - - mozconfig_use_with system-av1 - mozconfig_use_with system-harfbuzz - mozconfig_use_with system-harfbuzz system-graphite2 - mozconfig_use_with system-icu - mozconfig_use_with system-jpeg - mozconfig_use_with system-libevent - mozconfig_use_with system-libvpx - mozconfig_use_with system-png - mozconfig_use_with system-webp - - if use system-librnp; then - mozconfig_add_options_ac "+system-librnp" --enable-compile-environment - mozconfig_use_with system-librnp - else - # This controls the backend of the bundled librnp. Choices are "botan" and "openssl". - # RNP Upstream recommends to use botan. In Gentoo it's preferred to use system-librnp. - mozconfig_add_options_ac "+bundled librnp backend = botan" --with-librnp-backend="botan" - 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 X && use wayland ; then - mozconfig_add_options_ac '+x11+wayland' --enable-default-toolkit=cairo-gtk3-x11-wayland - elif ! use X && use wayland ; then - mozconfig_add_options_ac '+wayland' --enable-default-toolkit=cairo-gtk3-wayland-only - else - mozconfig_add_options_ac '+x11' --enable-default-toolkit=cairo-gtk3 - fi - - if use lto ; then - if use clang ; then - # Upstream only supports lld or mold when using clang. - if tc-ld-is-mold ; then - mozconfig_add_options_ac "using ld=mold due to system selection" --enable-linker=mold - else - mozconfig_add_options_ac "forcing ld=lld due to USE=clang and USE=lto" --enable-linker=lld - fi - - mozconfig_add_options_ac '+lto' --enable-lto=cross - - else - # ThinLTO is currently broken, see bmo#1644409. - # mold does not support gcc+lto combination. - mozconfig_add_options_ac '+lto' --enable-lto=full - mozconfig_add_options_ac "linker is set to bfd" --enable-linker=bfd - fi - - if use pgo ; then - mozconfig_add_options_ac '+pgo' MOZ_PGO=1 - - if use clang ; then - # Used in build/pgo/profileserver.py - export LLVM_PROFDATA="llvm-profdata" - fi - fi - else - # Avoid auto-magic on linker - if use clang ; then - # lld is upstream's default - if tc-ld-is-mold ; then - mozconfig_add_options_ac "using ld=mold due to system selection" --enable-linker=mold - else - mozconfig_add_options_ac "forcing ld=lld due to USE=clang" --enable-linker=lld - fi - - else - if tc-ld-is-mold ; then - mozconfig_add_options_ac "using ld=mold due to system selection" --enable-linker=mold - else - mozconfig_add_options_ac "linker is set to bfd due to USE=-clang" --enable-linker=bfd - fi - fi - fi - - # LTO flag was handled via configure - filter-lto - - mozconfig_use_enable debug - if use debug ; then - mozconfig_add_options_ac '+debug' --disable-optimize - mozconfig_add_options_ac '+debug' --enable-real-time-tracing - else - mozconfig_add_options_ac 'Gentoo defaults' --disable-real-time-tracing - - if is-flag '-g*' ; then - if use clang ; then - mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols=$(get-flag '-g*') - else - mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols - fi - else - mozconfig_add_options_ac 'Gentoo default' --disable-debug-symbols - fi - - if is-flag '-O0' ; then - mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O0 - elif is-flag '-O4' ; then - mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O4 - elif is-flag '-O3' ; then - mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O3 - elif is-flag '-O1' ; then - mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O1 - elif is-flag '-Os' ; then - mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-Os - else - mozconfig_add_options_ac "Gentoo default" --enable-optimize=-O2 - fi - fi - - # Debug flag was handled via configure - filter-flags '-g*' - - # Optimization flag was handled via configure - filter-flags '-O*' - - # Modifications to better support ARM, bug #553364 - if use cpu_flags_arm_neon ; then - mozconfig_add_options_ac '+cpu_flags_arm_neon' --with-fpu=neon - - if ! tc-is-clang ; then - # thumb options aren't supported when using clang, bug 666966 - mozconfig_add_options_ac '+cpu_flags_arm_neon' \ - --with-thumb=yes \ - --with-thumb-interwork=no - fi - fi - - if [[ ${CHOST} == armv*h* ]] ; then - mozconfig_add_options_ac 'CHOST=armv*h*' --with-float-abi=hard - - if ! use system-libvpx ; then - sed -i \ - -e "s|softfp|hard|" \ - "${S}"/media/libvpx/moz.build \ - || die - fi - fi - - # With profile 23.0 elf-hack=legacy is broken with gcc. - # With Firefox-115esr elf-hack=relr isn't available (only in rapid). - # Solution: Disable build system's elf-hack completely, and add "-z,pack-relative-relocs" - # manually with gcc. - # - # # elf-hack configure option isn't available on ppc64/riscv, #916259, #929244, #930046. - if use ppc64 || use riscv ; then - :; - else - mozconfig_add_options_ac 'elf-hack disabled' --disable-elf-hack - fi - - if use amd64 || use x86 ; then - ! use clang && append-ldflags "-z,pack-relative-relocs" - fi - - # Additional ARCH support - case "${ARCH}" in - arm) - # Reduce the memory requirements for linking - if use clang ; then - # Nothing to do - :; - elif use lto ; then - append-ldflags -Wl,--no-keep-memory - else - append-ldflags -Wl,--no-keep-memory -Wl,--reduce-memory-overheads - fi - ;; - esac - - if ! use elibc_glibc; then - mozconfig_add_options_ac '!elibc_glibc' --disable-jemalloc - fi - - # Allow elfhack to work in combination with unstripped binaries - # when they would normally be larger than 2GiB. - append-ldflags "-Wl,--compress-debug-sections=zlib" - - # Make revdep-rebuild.sh happy; Also required for musl - append-ldflags -Wl,-rpath="${MOZILLA_FIVE_HOME}",--enable-new-dtags - - # Pass $MAKEOPTS to build system - export MOZ_MAKE_FLAGS="${MAKEOPTS}" - - # Use system's Python environment - export PIP_NETWORK_INSTALL_RESTRICTED_VIRTUALENVS=mach - - if use system-python-libs; then - export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE="system" - else - export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE="none" - fi - - # Disable notification when build system has finished - export MOZ_NOSPAM=1 - - # Portage sets XARGS environment variable to "xargs -r" by default which - # breaks build system's check_prog() function which doesn't support arguments - mozconfig_add_options_ac 'Gentoo default' "XARGS=${EPREFIX}/usr/bin/xargs" - - # Set build dir - mozconfig_add_options_mk 'Gentoo default' "MOZ_OBJDIR=${BUILD_DIR}" - - # Show flags we will use - einfo "Build BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}" - einfo "Build CFLAGS:\t\t${CFLAGS:-no value set}" - einfo "Build CXXFLAGS:\t\t${CXXFLAGS:-no value set}" - einfo "Build LDFLAGS:\t\t${LDFLAGS:-no value set}" - einfo "Build RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}" - - # Handle EXTRA_CONF and show summary - local ac opt hash reason - - # Apply EXTRA_ECONF entries to $MOZCONFIG - if [[ -n ${EXTRA_ECONF} ]] ; then - IFS=\! read -a ac <<<${EXTRA_ECONF// --/\!} - for opt in "${ac[@]}"; do - mozconfig_add_options_ac "EXTRA_ECONF" --${opt#--} - done - fi - - echo - echo "==========================================================" - echo "Building ${PF} with the following configuration" - grep ^ac_add_options "${MOZCONFIG}" | while read ac opt hash reason; do - [[ -z ${hash} || ${hash} == \# ]] \ - || die "error reading mozconfig: ${ac} ${opt} ${hash} ${reason}" - printf " %-30s %s\n" "${opt}" "${reason:-mozilla.org default}" - done - echo "==========================================================" - echo - - ./mach configure || die -} - -src_compile() { - local virtx_cmd= - - if tc-ld-is-mold && use lto; then - # increase ulimit with mold+lto, bugs #892641, #907485 - if ! ulimit -n 16384 1>/dev/null 2>&1 ; then - ewarn "Unable to modify ulimits - building with mold+lto might fail due to low ulimit -n resources." - ewarn "Please see bugs #892641 & #907485." - else - ulimit -n 16384 - fi - fi - - if use pgo; then - # Reset and cleanup environment variables used by GNOME/XDG - gnome2_environment_reset - - addpredict /root - - if ! use X; then - virtx_cmd=virtwl - else - virtx_cmd=virtx - fi - fi - - if ! use X; then - local -x GDK_BACKEND=wayland - else - local -x GDK_BACKEND=x11 - fi - - ${virtx_cmd} ./mach build --verbose || die -} - -src_install() { - # xpcshell is getting called during install - pax-mark m \ - "${BUILD_DIR}"/dist/bin/xpcshell \ - "${BUILD_DIR}"/dist/bin/${PN} \ - "${BUILD_DIR}"/dist/bin/plugin-container - - DESTDIR="${D}" ./mach install || die - - # Upstream cannot ship symlink but we can (bmo#658850) - rm "${ED}${MOZILLA_FIVE_HOME}/${PN}-bin" || die - dosym ${PN} ${MOZILLA_FIVE_HOME}/${PN}-bin - - # Don't install llvm-symbolizer from sys-devel/llvm package - if [[ -f "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" ]] ; then - rm -v "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" || die - fi - - # Install policy (currently only used to disable application updates) - insinto "${MOZILLA_FIVE_HOME}/distribution" - newins "${FILESDIR}"/distribution.ini distribution.ini - newins "${FILESDIR}"/disable-auto-update.policy.json policies.json - - # Install system-wide preferences - local PREFS_DIR="${MOZILLA_FIVE_HOME}/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 programs for extra features:" - optfeature "desktop notifications" x11-libs/libnotify - optfeature "encrypted chat support" net-libs/libotr - optfeature "fallback mouse cursor theme e.g. on WMs" gnome-base/gsettings-desktop-schemas -} |