summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2024-04-19 13:51:22 +0300
committerJoonas Niilola <juippis@gentoo.org>2024-04-19 13:51:41 +0300
commitb60615d25a23809aca8453646215231c9fe3af2f (patch)
tree8e9aa46aea82e35904c2e0be1a07349b99fc6aaa /mail-client/thunderbird
parentmail-client/thunderbird: stabilize 115.10.1 for amd64 (diff)
downloadgentoo-b60615d25a23809aca8453646215231c9fe3af2f.tar.gz
gentoo-b60615d25a23809aca8453646215231c9fe3af2f.tar.bz2
gentoo-b60615d25a23809aca8453646215231c9fe3af2f.zip
mail-client/thunderbird: drop 115.10.0
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'mail-client/thunderbird')
-rw-r--r--mail-client/thunderbird/Manifest65
-rw-r--r--mail-client/thunderbird/thunderbird-115.10.0.ebuild1341
2 files changed, 0 insertions, 1406 deletions
diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest
index 45bdaf8ec82a..1e17ea84a1ec 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.10.0-af.xpi 549702 BLAKE2B 90e5d60a6e55de4079b41f9136e7c3ab73336b2ae18a31e06476037e3c940051d0a4f803d22a875252baf7f74ae166344f633b65f607d1fc666171e6a003a8a6 SHA512 b3d32a631f43788cff5b69e4202e303762b7c2ffe6a02920fb224eeef15146de5b962f0de5964f99b6e4af2c0480e897566417b54b5a4dae04b2aaee761dc55a
-DIST thunderbird-115.10.0-ar.xpi 666362 BLAKE2B 30ff6035013ba7aabc6ab92bb4c5ff0999b861c842762380bb640619b2d316408d929e008cacbadc764d6767664b1ffa7c02db43158dd87e7bd65b454b341345 SHA512 a88388f3f4c46b526d26cac16417f6ca2defcdcb3ac3ccf573fee2568f43c8f7265e7c15ade56b37615e8fa1e1f3dd5db040881e7f1816999190eaac5f1bbc9c
-DIST thunderbird-115.10.0-ast.xpi 568313 BLAKE2B e207c613fdab8ae4b585351acf2cd614da54c04c538fad5ea00542ba63550a621821d813b02433f163b632e324f69bf9711dfc1db3b6da378a090ba999363932 SHA512 9e76a5af0708e4f0f040bfcd6165c03200a3297ef6962fc6aa594c80e7a75b73fc33c1f9ae1885954cbbbd7ab79a19bdb36e8af3b921bf51114ab0e7b497747a
-DIST thunderbird-115.10.0-be.xpi 724046 BLAKE2B 79ba5e63b9fcade19a824e01a959a9d7effb8a028132bf27264401828948aae0ca3d1231a285c1a504d07420667d34337425f247b9578c6ea6d513143bf9e1fd SHA512 7033684ddc017bb9b931847a5eb7c58cd91ac9e9ab67662d63fae23666712aa4bc8ae8a49f3b213c03dada0c903923a9e7e93bf989d270e4b6cf97eab2f72d66
-DIST thunderbird-115.10.0-bg.xpi 780171 BLAKE2B 959bfe95e8feff5fe6d8c30c13c4284d583ca936de9ef591b4819792f3304f5521355dee767419e3ecba1ae008ee507385c73efd824da5591de016dd9b99ec2e SHA512 2da368135f3d0b94616d8f789369f349aead528b712594a42db66839aace8d03bc05107b689168ab83cb55d08d7f03b71c346bd95cb9c1ef87a2569416203b92
-DIST thunderbird-115.10.0-br.xpi 642273 BLAKE2B 924dce07099575e15bc68fde5c3edd13d099486100f195e6c737cd40ab747bca3237de1c609bac04f788ed1e3067d11e5988103271a558ee0f20b86eef890e1c SHA512 51c18e080ac55b116adc9c8d0c9cc5546fe3c9fdebfbd4752722243cbdf37b33ec30636290d697854a661b9d5c7a554d204ab1d8bd68d0773f56922d4c62a1cc
-DIST thunderbird-115.10.0-ca.xpi 685713 BLAKE2B 333fc128b5ff5bb7f421a1a292beeb8da9e4055cb162024ff7f19813228f4e44832f510f3fd66eaee7f86d62b0d2b2ebcefe4125543056fc1a9321bee8faa5bd SHA512 07a8fd01074fdb96154681efa2dd01596adccb0f19c2e44412658a9b553e214199f89be6998896fa942c85b53cc93fbf792b74db4994fddb20b94bf81da37e37
-DIST thunderbird-115.10.0-cak.xpi 667768 BLAKE2B 49327e05bcb3aaf0a93692eacca71b2dfa46a55896c8d63f46c6bfd873690ca6f1a17fb5465845568bfd8dba2964bb9baf3648b0b67468f2ac36d93f984dd37a SHA512 96ca73272aecbb339bfdd943912263cbc36474d1f9c3e9a847b7d31661d7755e6281c3129a22a0893dc8b4d134c5fa0a63c7a9e1cba02e18985de96b6145192b
-DIST thunderbird-115.10.0-cs.xpi 760405 BLAKE2B 40012ea70d9f7b151628a5935f717346717670b0bb8b80455df7c8d48c4a5dc61c087adf255225520fc5174d6a23e8154024cd22ef6ff5ba1501e087f86be68c SHA512 9b8048927180e62fb3b6e96b89ba17749554c882a7f82c012c269b12f24f8988814d9e38d0cf2f91a015d75ac12e65c1817a4a87f8da6fc6c155cc8c3b788ed0
-DIST thunderbird-115.10.0-cy.xpi 726867 BLAKE2B 883ec25226bc1145e3cee7e3a6c9c45c36e20363d98068a809e77e772e7dbb015b87468dbc02ed4058e3a380a43d744d012b8a4d5cccf8a20e8158d6be73b1bc SHA512 27f823b7714a7fff56403ef5a4d53403a4b9c7bc3d1032df4451d94a6128d0b60228b5cf1f40f2b5a08bd5490e1491e816c6fd928f3e4a67b04ac3b2baf59663
-DIST thunderbird-115.10.0-da.xpi 712438 BLAKE2B 0670ac8d2ee100d97eae5975cc2105504ba3d98d956a0aa70da0e4dbeffd465d5897f9894e1e1cb7a473b032a26f7240c31cf3ee71bbe783152e5f477ef7fef6 SHA512 cb1091e7e29e0b6a99d217f7f4fb32d47e1afb73c42a421c103464a25900f7d6f03c7114f5aa4001844611f8a02395f2c3f59c44d5fa352f9b748943a9e556d3
-DIST thunderbird-115.10.0-de.xpi 742717 BLAKE2B 1fa44e0a6f4e7c604cef4d423aa319224dce9ba52d64c11d87e081f1e1b03da1545c8a97ea27a83277b8c42726d7b3525a4e138f4007ed452bb7ef88e732c2fb SHA512 4ca47066fa77b74e3c1405803a19cc92a9ad5982439969d94e3da53f80bf67ee526b88930aa1a0d97aeb0a28a21e1ef3dd4b3ac4153fa3b73a200ad45043a995
-DIST thunderbird-115.10.0-dsb.xpi 760923 BLAKE2B 58f0f9f9ab9e73ec82c4ed4c3f9537e7f1758258de1361dc33d2f4a679d6b42a6042b2542987ce140909f6ef7af00c15daf1082e450c1dd5dfd9517b0c2d03e0 SHA512 31698ac1fb8c9f9748dd91e4ddbba170101223693f0bd2d74e120f8cc93ff6e96a8e0c5dcd0a841d79b6e893c9d26ac1048bbc8692d588a7f183088cf299863e
-DIST thunderbird-115.10.0-el.xpi 864315 BLAKE2B 53cc3c59ab7d9f10edf83fb713b58535f1e5090771a3c4f7d8705799bd99d4fa671c4ba0c71592f200a349f6ef59aae3150e3e3f5b1cf3767ff37ad8994d4302 SHA512 5ef73e8af45122478b6b15e7f858658bcd9d3e60884bbdf7698c4736fc44f2bb2eff1421ed44c456f2c3cf27610a8c22f49185593b1368ffe81ee795f7ed0414
-DIST thunderbird-115.10.0-en-CA.xpi 673871 BLAKE2B ebc51d893aefb2af0107d4acf9c8973ed0c3547136a0611b072511fe3c300a5e07167feeb1b404fa7e2772b5e124e650cc151a410497db4e52b0a20af1c15d1e SHA512 333ddbf5ad5ee6edb852f7794b2d81c481f959f1f275ada11dcadc34a5aa05ff2884301ccfe25c93b2067d05eba7de83a33ea743d585738f6333e211537606f1
-DIST thunderbird-115.10.0-en-GB.xpi 682957 BLAKE2B 2ca75b5e6b18b926bc8443c36046b2406d563d77a3563680f4fe8ba0f648b6ac44f2f0ecf5e063b65422ddfe0862781a814199a3f42523d8f53453887174d6c6 SHA512 1da92114e37dd59c1c20f43e16252e4070639ff41a9b8a246f25643f13760f17d7cf98a55dcc540d69f520e6b9062baa95b43bd6f2a232312ad441c069d919d0
-DIST thunderbird-115.10.0-es-AR.xpi 736788 BLAKE2B 34f71f4f2fdb2565a25ac0378e82d38028d5d4d29023c21b672e08971413299817e980346743c37959ffdd0062a5b32a14d029bc633041fb2fc06212cec13ed5 SHA512 cf52eb4302a007cde9cea0eb0ff0b30091fc611a3b96a916ad8cc6f2a8a309f70bcd89cf9dfcc475c616419e3f81969b48f74e9c0cd83ac35961fa72cf0e0315
-DIST thunderbird-115.10.0-es-ES.xpi 698386 BLAKE2B 447eef105299afb236b76f8f9213af4ebe4ed1aa9c9cac7862c491c7214441c0a04b3d36c1d202e730e959839e3f3a22df2e197b929ca9d547b485ccee035052 SHA512 10b50502b301ee1c166cb9b23119cd3e307079ef1774dfa3ecafa50aaed6fa70cd5a34cc01eb12bba3b3cc06c42a43db2689d31c5eb3898293cdb867c092b1b2
-DIST thunderbird-115.10.0-es-MX.xpi 719673 BLAKE2B 9e8daf5b8dcc21db2793c8455e6cefaa605f32511c7b0d0d53c9677c05be725e8aaba215d0cbee2d52d8604dc4eebf9adae5eb98275a36b38b091c86f15ef5f8 SHA512 a61e978be6a32016cf0907f50ae0aa0561aa026d53a27a02d359f2aa0043e6f8b6cf9aa5b3dfa069d2cec9c001e715ff3dfeb02b315bead1858d6da7e39cbe4f
-DIST thunderbird-115.10.0-et.xpi 679915 BLAKE2B eaa2d8e790165b8ef457aaa3b0e04d29b8c2d929111517c451732242c53b0d3c1e7fc2a23609d6fbe41ad04245ef754367fefe3c5d911babca0ec461156ffe5b SHA512 956457315b6feda6a49cae8da2e19b0e391439f6f5749cc6739558a299e18957f3ae7e90ae07eb4fafa060748666842ebb6752c34876d34ebc86639e2314e6b2
-DIST thunderbird-115.10.0-eu.xpi 708669 BLAKE2B ade8df663a0bec5b5c5eac3f7201928a9e5a240d5cb497e6dd01bd86f4fbe066767cd02ce7557170bba79c5e4630e21cb5b416275be128d0ba3dd3acce113f8d SHA512 8d71b9a5a4b1894c6753afd71106317783a1070dce31b96ba3c5da117b01f98c9c5083bb14ae58ce21b9fc4b9023e6dc3446cde0b184380e3d9b0cfb153c20fa
-DIST thunderbird-115.10.0-fi.xpi 713736 BLAKE2B 9db49a30987cf4e22a7741125186ed6d072e59e8e9f12991ee835a0f2678db6e99ceefaeca4fa10abbdf0283460b4870639b7c86ce3ddc65c2191abde9f14ed1 SHA512 0c6d97e177decd5b95cf10e4bb696bd3410ecb83669fc1941366d4f4b7fdf20a09a30bf908865664154c603bd37cc3b4398b0c5e575b042b4b6ce1c813b6ec6a
-DIST thunderbird-115.10.0-fr.xpi 747641 BLAKE2B dc07db0949681c4bf645fd4f843256eb021c3c60f407db7ca3d6cb43a1f491ac9cb63d2e46c14ebea30da7cf6aa2d203f3be0188e7a76d4c23cdbbd75c394428 SHA512 e0ebdba77475988e00ba8a9269777dd0e503c1c978a02595d2e6f326b4a672681f90762a6c201bb388797cb2dfe596779b40fe0db1cf84c75da9fa0f6a79e83a
-DIST thunderbird-115.10.0-fy-NL.xpi 730433 BLAKE2B dda26eaa088d3ceac3122a0451113221d169498bc2fb8179be581cf36f7382eaa45acbf81ed6dcb247ade18f135d31b80e8c9772b01e0db3c984358d51627db1 SHA512 2748440864a3ac6d017ae3f6f983031f87bd44463a029800bd6d90d80bb7e0abee83fde5d833cc2d1609851d3f408ee95a8f42fb2ff7f486e7239a85f2d31d64
-DIST thunderbird-115.10.0-ga-IE.xpi 609798 BLAKE2B 09a0e1fb908a1bedcf2d90fbe07f1e1eac0dbd514d3031b9dbf25ee7faa5cdf72948431f4878c1d1eb621ce34d8fc07cbca7477913cfa6b119e725a68e7564a1 SHA512 487238f420602787c0989472c615af954ba3f9512601a76e03f414fc071bff5178b934d0005a1543122aa0e5a6bea9110098aa08b52551360346962f8eb2c370
-DIST thunderbird-115.10.0-gd.xpi 712353 BLAKE2B b97c3b35f9a8ef59cc33e953ea837bceff833656d95502a64b1b909228a9672b92b6079a350a995bd4b5b6535c2fa01cbef939e9e865d4c2a42c1ec9acd53f88 SHA512 9e922bad705d8456688c16d38e689d970db781f76cef56bac206cbddc00e3a4d08d73e597713e21807981c55a3a7dcd6abc6694e4933e59fc6e8a05ca10d0ac3
-DIST thunderbird-115.10.0-gl.xpi 719943 BLAKE2B 95fcbe0934c7d3dd8ecc297adcf19cde92c4015ca1cfa0fcb706a9e2b980e077ac751933d51958680d2734e66a936c9c5707e11ca49e0c8512b8fffc6bb89bb7 SHA512 235bae4c01e9ab9ef7218848cb9cfec75bab1d4d450ffb730aa8db6767ce4df4be9c27858efe3b90c33154cff71e5c7e64b8abcd4515d507055aa5056884f282
-DIST thunderbird-115.10.0-he.xpi 686151 BLAKE2B c9d353317ab35b17fad1d0acdc8b094f5dd30474b43a437c7c80c88f920a651eaf8bb874d30eb14a46424eb9fa5a9c2f2b014b27cd2cb62241965a3e50ae3ffb SHA512 4d93ea45811431721c468b312f85b2b8534c751bb1fc297ae5bfbb6de2bd329740e542f9da38e69be7b14e2de659cec6140234beae7ca752a9028c98e35aef37
-DIST thunderbird-115.10.0-hr.xpi 687322 BLAKE2B a82a332038d8e47aa5c7d5271f9e7091e26f64f2054aebfd656298c6fe16a281ca6386314bbe62baadbdc8f88bf746e690a5e7d86fe197e3f793c9a2dcdac83f SHA512 d84cf338b0290e6934d5d7437fe827bc41e5a1e43ecdf2f23a8d07405ff6a29aded6dfa6b6b10438028632a09c11a9f0e3eecdf716436e6573b368a35445575a
-DIST thunderbird-115.10.0-hsb.xpi 758012 BLAKE2B 8494658410a3a19c593182b6ad198bcddbba1664bc32b703c704e64c847a2e769314f4d264e41c8192b2aba79e485ce91fcccdcbfce63c30c51fd077b01e0fa5 SHA512 853d22a9354129df196e8ddb1bf082c584d046aef0451a2838b6f75484d238288f67232d4487bb3b6860f506418cacfe714b6899efd3f9ea76f8d8b7837b1818
-DIST thunderbird-115.10.0-hu.xpi 759402 BLAKE2B 7f188fb6a2efed99bc5efc4e7e07d3656521c09701e964d5db1bdc41676dafd2f8d1317a4f244056593898b4151471b3f6464f1afe364359e6e48b621a66b8c3 SHA512 ddd72550eec6c8f8154cab953dfdd4709f1004fc5eb7a1b11db107a36c24f664e7faafd7afdb6cc48a35e858db6ea8fd7c945b2b3d8eab6facddcb5baf85245c
-DIST thunderbird-115.10.0-id.xpi 651341 BLAKE2B 6d49914a4f21df4f99b4b36b312062cd7234f6359d4ef29e1729bee4a6abc300b123b28ce308ad358eff0bc47625c76dceea855974ef4a47291214d96b6adac4 SHA512 0afc455e7865c45633d90c3512106f965649ff796646683e3d24d925962d8cd11259dc537fd1bab878696ba97582f4768991a07a1122739f162263ed40221aba
-DIST thunderbird-115.10.0-is.xpi 720710 BLAKE2B a251b8ab5e725c78f802487a93f2ce0176dbb47b263850564ff99aa7cf0fb71152245d9937901b4006f1b7d188861940668355e4644e40f1bf794eed89d50fc1 SHA512 51b76e947f40d78e61ded13ae617b493d4b07df5d206b6c829dd4edd0f1a1b30cb79e908c11191e268901a0b4845e5e5c6de4b601752c1035208d15da5e5dec4
-DIST thunderbird-115.10.0-it.xpi 668945 BLAKE2B 31d3d9e641bc6fc283bad12e327651f03fd68a731434532ead1211739f44c6e7f080abc43039a1a49d5e601cc1be485cfe67e5b1b848e207dea38184151dfa31 SHA512 a8588a71a2e80a365aae01cdffa3abd016942b06ed75a000fd42306c1cde6b1920f0a692302043d9f485c4c8f13c280643ed4087adc6a380aa183cceafedaf10
-DIST thunderbird-115.10.0-ja.xpi 795682 BLAKE2B b13641a13c4b083d3dce6d47b49bfcb61c593888749c49cc7e39487a41785b014a130d5d51861e60fec44a3ae9957d099ef2c1186ebdeccdd4f7d867e4c441ef SHA512 50bec19e317eecf7df2a47037bcdfb9f6c3f84290d8bb28814b868ddf4602d0039796255f90f6afe1ff9cd5c4fcf4df191b79a684ff3e7bd609e2ae481a4a92c
-DIST thunderbird-115.10.0-ka.xpi 783166 BLAKE2B cc62281fb54091dde850a20bf1e847350d4a3e46732c8bfb14edf30bf7ebaf76e6ed9f48dbe5c4b171b45572e263890c89df4fa146139a266bfe07c4f3cf9503 SHA512 5bea1b442207bf4c73c2c31cb2ec1efe8adca99f65fc29101def62cb1f277e790dcad0273740bd1107eaec7b6f979c8214f3abe49b32e4a4657ec2039561fb2e
-DIST thunderbird-115.10.0-kab.xpi 711299 BLAKE2B 65436fce7e2aca3a2acb7eaf70994b442f4475243ee3c1455c3b0c9d1b152f8c9c56e7f4d64695a6d03258ec6da67d429d0ca9e94368a68eb4a38641c307fd7d SHA512 d603208058b630ede4f1bee32bee59e2918cf0b3213d5dce5e127aa650f4d290a3ab0fc1c3898cf97815b261989fbe814a0aff8c3d6a2f89bb2e36dd7055cd03
-DIST thunderbird-115.10.0-kk.xpi 833792 BLAKE2B e661a1bbbab3b3a74e2170e8fc5ac1918314ade32d781e8656e58e897a62e2e6aeb877cf86a2f343dc113529b9dfa7b9f1dc22fb33370efff710c43c3d4f0ac4 SHA512 1a0722fdc8e1bd68cb6c1c6a97ec9a9a8e0cf57623bdf0e0d7612b61476abbe9c08b232e0f95c0d2f865eb4ee5cf9882b4ca7ccfcc71e7a6da6bd8b600b606f1
-DIST thunderbird-115.10.0-ko.xpi 737552 BLAKE2B 7564cdfa1fed76179dffdd52e514403f4299c736a9cc758165c6244932cdae0a9b406cbba8e6f5c6436daa24cc1fb6869907db780e76242f2386627600f30583 SHA512 3c564b43a967314c49deb6d48169eb926b98e9b1d7b0c020bfb45b1d44844af493753e96eef62a9d42fe409c0e3fee5db2d00273255e1361735394910b591801
-DIST thunderbird-115.10.0-lt.xpi 688630 BLAKE2B a1dad6a6661ff17550a70be5092975d9621e55df3f5e19ce0fc1e55e93d4e9762be402a0d6a3d6b623256557c585beef121a2db7b43555ba2275ea28d86a4b68 SHA512 966d135233ffc519d3dea9328b61f798836916fe539911d12d0f48120ac43f51da8709623ab717bf4080c05db9aec5fceca9ad0e0c794519a4990fc60ec975a2
-DIST thunderbird-115.10.0-lv.xpi 613042 BLAKE2B 353f58f221275ad04a81a5c53e726bf432508e33f47fe6758153ad59bd324a5d01b2885ab618846ea372f0fee7fed094bf1e4fe75955d1bf4aef1c59e17f835f SHA512 417a9608c9c3b1ebfd966a29eeadb5a0da73575ddb5d13ecdbfe537f0ad53c8a73d475d2e9aedc28f0acd546daea92a559b8946c51bd655449346b3ebbbe5bef
-DIST thunderbird-115.10.0-ms.xpi 573631 BLAKE2B 74657fd80af5440f31d85d47e0a57b4bd02a54ba095f878a3dc2d9e6fb9de4c9e4a90ac457c72ab334070a3679666b48d1f3ab86a505b10bbefa9b08f6819ad1 SHA512 d398318cd157ddecfd68d50f3b6ac24d61c89e2b17019727a27f0f3001d1fe1019a2a76273a8da05dfae965a9ce931d97a3d28607ed927da0b03302df421e085
-DIST thunderbird-115.10.0-nb-NO.xpi 686240 BLAKE2B 185311c96c9ceb74e39c2a83c97c97f4df21f83c688b1cae73123b0f243da49da2f24f7baa91b8c868b2eb4b8996ca931dfcb9be5ba2186c50319a628efeda68 SHA512 91f5ba61496ec8ea29a7ff2c24b26c61009bc551efab42c7ab20adede788b0f0628c38b32b1f8fe55284dbaff1c944179a0a71859316c17f3e4dcaaa6c4846b0
-DIST thunderbird-115.10.0-nl.xpi 721723 BLAKE2B 7a3d11f3072d6722efa5561b8697166b95bf141518e84bbb08530fc87230c16b77b9acf2f4271799d42cd9e2c4df1ba7d08b1c6c74ef2068cf4f2f37f27e30ae SHA512 fc2f6fbc31bd8857c0005705b3c6d535da6a0e5ea8fdec9d389398d5f86632777e3133fb6c95126d413dddc71554f7943b530f835dae5feba054307ac63e11fe
-DIST thunderbird-115.10.0-nn-NO.xpi 691748 BLAKE2B 785e89d3b386e2466cb8205faba353d48aa5b153ebd85f1de9d4044d867d0045bec09106decc5b461c726359135916b8a4e9a3e9bf1c642d9fbc27beff1699e5 SHA512 d973dbb742b72f5f5f8c308b6e0f5a60c683a18753735f2321cfc1b3dfd96c87efa2a652f6dd8b8db6fdb9cc4e9b411a4135d9b358370df1312ae393cd077668
-DIST thunderbird-115.10.0-pa-IN.xpi 678306 BLAKE2B d271ece94e7310b387f5deff4ebe7a900920099f1f1af98522143244d4dbcebce861113d73c3f80ab2de19a24456d5948f7d20aa20f1d6a0b5c430a236e63fdc SHA512 a8a7839cec0274a1b96cdba5dd1d909ca1983be291bad638749028f0b920d77c5bfd75d53a5aec48f8e5be351cba1e7935cc76489197df3705296539ff4aa325
-DIST thunderbird-115.10.0-pl.xpi 740535 BLAKE2B ba4ccf3bbfe7666a9b7fbce051a1521691484e20f202df904d83f953b3456365d60c83e2d976f5cef430d56da513dc9b26762d600d44cdeda03981d1660d4e07 SHA512 a4453f43848e523280c4b73bfa4cb8533a76ea5a80bac053ac4c2bd3f9a7aaae3028aaf2dfe8cb502c6b3ec0fc29c01a70083e4585528afefc83a7f227854026
-DIST thunderbird-115.10.0-pt-BR.xpi 729748 BLAKE2B 3f137c2a755a2e5406ffa97107668bf7d5362bc84b782ac5c27d5eaeb59819bca843caea38d262cbbb8cc77f998f234e9dc3c94b0a78e58b4f061e8f073c859c SHA512 de3c8067459b39812b0770a4817266db4ab913e6bab68ec4a26b2fe570981df227346938affa41160f7ffdbb8f2e91f8c0fcf0ffa5011cb55fab670febbdc1ec
-DIST thunderbird-115.10.0-pt-PT.xpi 714398 BLAKE2B 2991d9b5e54a9c1199cba6f8484832f0616e0a7c9dcdc6e40a4171d024304e8ccb238c8fd490b12c5926f30299780153a84fb5f15ab9b795904e5c9f5825ab8d SHA512 a0fb399e6c78b8ea312fe5a74b44dba37dd9476c2469f8f4b2c2630b1ab61e5f3e6c7baca123db8328f73befcc1e8360be40f9f2e85b70f09df4c66d1e308c9b
-DIST thunderbird-115.10.0-rm.xpi 725082 BLAKE2B 532e906a1567fcdb4beb4b0de43c7370f15a35f42a0a72070ee98bf319c5558632341592dd6c57c058cc551c700539d2a8c44ce8295bd5f1b654cb7796d69fc1 SHA512 dad1ff486dd16597de3cffa165669a16871ec99b456987d55a4d5e7ff049b2a0420e46e1c88a6ac72b9967bb5f9d4b8edb60902240a13f35ed86d1aedc538731
-DIST thunderbird-115.10.0-ro.xpi 659863 BLAKE2B c760f56b43458abed13f53f70d180831299cc0717248c98cdfdd44e79f314b4f8655add0d9331f708579292c9fada6e70640335a85803c2d7982e98c1ec81d61 SHA512 a07dc2d40477c4f761c3d3b0714b65b8004b34a288bdb87f88e869616b6def5d7e16b498f7a5645efd5abc8be20aa2eccb88a4dec4d219dd91571c0cbe4f8bca
-DIST thunderbird-115.10.0-ru.xpi 847866 BLAKE2B f93ff29042cbb77b6683b3be27d4ea244c87efdaf3505e1e873caa73a5a4b7a42df57ef6f7e3afb863eb0688b8416591bd8a5668ee289a1f2ac9dbce280fe14c SHA512 1b92d75781c605dfb6412c8867446f5c68d2f523cbcfddbd50f443730dac7cebbcc214cc08d9adfd6ce3cdd338f2eac473b3187ab6bbaf388c9de4ee3bb5c176
-DIST thunderbird-115.10.0-sk.xpi 759889 BLAKE2B 0a018869e6b1a812ade417f565493d2d4e9bce4f16f97ad8425f6bd3d5d1f106d11c8621476a6a2bb663262c77aa17a89656396e424f5a895bec92cb958496be SHA512 7fce68b00875123fb36a32ec4d944c63674b554229d94d6c6fac1af34a227004ac2ffe6de7305afc3d216c16cfd208a899c21b1b4ef50cef8d72d036b08ff741
-DIST thunderbird-115.10.0-sl.xpi 722595 BLAKE2B c826c7c0c2727e033e8a41385e9a1654446d130c2a4d0e34e8f90fd2ae34864b26353b843b80b446dc373e64c635146f07d5fe4928c5eb482275a9ed658cd9a2 SHA512 114eef8c874301c01e41ce9a421cad2e47eeadc0ca1317e3ead0638802b695aa34426b8a9c2ec25d8481ee1a34d795d7058195044daaf7ee464b27b6cf6229d3
-DIST thunderbird-115.10.0-sq.xpi 743541 BLAKE2B ac4d4eb10a4dd98cdb176a50583d526dd602990f0485dc62a632910bfd4dae2a886f1c05590acbaa19aef1321a145d8981cb3cccb34e3626187267224ef01a95 SHA512 abe10c64c455ed5d7bc23b522ff2a900f016f8ef298bf039317baa69d36b16c16c3dda8d15176eb3b547727a9ebcf8a74cab9fc7b58a97f5964655d65213940d
-DIST thunderbird-115.10.0-sr.xpi 755433 BLAKE2B ddf1406de418d69ebf8ba8d5dd4482b63c81238a64c3549ed6010b9b12fe2efdd47b379c378b91b47b33af45a900991a958c0eb3d4679da34e0caf7300f39152 SHA512 5d852a8225dbb2ffecdb9421097b4079df451522ca298931c140c729fc5750854d8d59a84946274c41cc2d5d01fad970aaee02fade39895d9a07866607324317
-DIST thunderbird-115.10.0-sv-SE.xpi 725854 BLAKE2B 4f229657083df2f5d89790c21ef8667ab1ac005ce08a737d1ef2df25e3d73145da13f5ee55cbeb74c8ffca6aa9d1976f1a4bcb9222e9f3202ba5e91c881752e0 SHA512 0e4c43cf0e9cd6a4002c089e46566877ed752a29733773fc3a42ea67fc9301d1d0d4f5ea3f5b20ccd82a69eff5640448584e720ba24c49aa6de5eed88c92bc06
-DIST thunderbird-115.10.0-th.xpi 793889 BLAKE2B 2456d26b6c989db426e7a9d2b5d8b2caddcaca2514d768e4add505519676c0d7c925bc597fe2e6d794142161cb518ec29d04eec704403b21701f9c2087f4e325 SHA512 f061b6143063e6454982a92f6702c78a94c4a65a9c39ccb98a11f7c032e84dd5d9aaba29aa0c786343e268e0d819b095ae588af1fda4340cb09d0dc2d22932b5
-DIST thunderbird-115.10.0-tr.xpi 735253 BLAKE2B 5d5a418559215fdab440acc031e3754e2dfd442215e0efc56e43337a2f96a83ada4d1bfd53c03539a0e61c594d141294a68bec581c946e93157e722616df8f97 SHA512 4690d988b0f1b0f6dbea4c24cc127a8200bad792706474498d0915433280866355f035af67734073f9931edf8de368d4716a97c1c367bf7c8e2fc6d566305721
-DIST thunderbird-115.10.0-uk.xpi 839177 BLAKE2B 24b7c476310411e008a44ad86bf2022cae29637221436785b638f4bc71a63ae57bd8553dbd14159427b72a1ea0d62bc64806528b742e115aadd5aef743355b8a SHA512 2263c8673734cf432e608c02a3272b8e620cef02dfa758277ba9cc435f3bad5bff9a6e343aa441eeac62e61a8c6e02fc4a2f8d692f0b886eb27aaaa2581da523
-DIST thunderbird-115.10.0-uz.xpi 587157 BLAKE2B 03b439d9325dc93679cd0aff19bd063ea2d4958503c13553193487b4125eb00e6a125860b800f8474eeae3f9c1677a018625c59ecd562b67053ce53f73d8e1a9 SHA512 bb892968d299aaba6c4f3128fb64bc09ec5b4868fd152cd32ae27961d54a6a94c79f79471370fbede0566a1ab617a99570dcaad3487ebb1c03b4f13a40cf680a
-DIST thunderbird-115.10.0-vi.xpi 765459 BLAKE2B d29626701e1077b11bdde1dc09f9fedf593733e952dedf13ae0cb79f539e3a4929dc6822630a69a818b405a69e8cd88d464c016e950c138176872ce6ac44adac SHA512 64f6401bf26e690cdc297b4a3ef3c4db65353e531dcb199a8266036dcc54e0944ae6ab83c8597c01b0ca9d3d840a25fa8feb5574e091896d1e0166a1d97d8798
-DIST thunderbird-115.10.0-zh-CN.xpi 762149 BLAKE2B ab904359a06db5fcc63d986dad6270fb43dc6a530662121b7b4313a08bc9e9c2600188eb2c553976c2f7b90d7043181cebca65fb3b059a6d2d4888dd2855fb52 SHA512 1873535c281684c09c6b11a591d593a66d04861bc358c27fc6fd9fc9f47e2f789ca07ac0464fd0f1831e5ed747184e58b59fd37a4882af9f4ed01b719ff8997f
-DIST thunderbird-115.10.0-zh-TW.xpi 767911 BLAKE2B 4dc6b232d34af6c54f6b94d933570a3ababf12ac5afa37ec5601eb422ba45ce192e9092df7244bf6921ab5a58c957b12081f9701195b66baa069432de5eeaf12 SHA512 a60026790ebaca7525f378e6fe0225c352e88b796582b60722858458f95c86621059255d2d572f07d15e1d23ef057ea0a9ed54ea20dae601dd69bed23b0cf04d
-DIST thunderbird-115.10.0.source.tar.xz 529687584 BLAKE2B 87c570fc8bab59485a0d8bb7951c365be7cefe98d07a5bad6cd9d31771134176be0f31e8d2d39fa8dae2dbe54048cf894a110b1738320f910b7d50f4826f1d50 SHA512 35188cab32502ff2451834358f486a095ccef0a7330ee35d116c335555ebaf267e01f7084a6480b7af85436741c8591f08d6ed9a01c1be52d3f147f913c1b5a4
DIST thunderbird-115.10.1-af.xpi 549703 BLAKE2B 5eedafcf19b9e46b76c2d5f8bcf155c386ff4f96bb662d6e3899d41a3c8d2dcad3f73fae899cde9e55a3907ea9520e0d9646b73580675f02faae2d15bc01106d SHA512 8c75c5851384552608ebd65986e04c1450ec74ea4b0c65032ab67ed6dfb718e9603249026b35c59d01a1531176f76a61be027de700dcd3739db60262ae6c8fb5
DIST thunderbird-115.10.1-ar.xpi 666363 BLAKE2B c070e16763eee9c1e5d796dcbdddcb7088ae9d876cefe7d41fc73cb7d4ea3f6ff29c58bbd919083a96b90e61fdb0352b0f09f457040601f561d68d05ec8294fe SHA512 af8e216243d873de1320ce626c5af4c7cb43e32c35eedc9cd726349e6af25a695cd81e20595e5d3e8d28b64ff69467cc4a96b599364317f65d71259951afef9f
DIST thunderbird-115.10.1-ast.xpi 568313 BLAKE2B bddaead74c292977b8e471684d6d6a366c183b713c4013423afeb325b04f2f44e472b7874ad035c67c320cff973b74963cb0429f7b33a2f6d9f184f8a570dddb SHA512 d00471a2c9e33673c696164e62afff6af6b1acfdbaac8edfad544e836ca5f5f460e9b0a461a88eed97da61f74867d865319a72b92373efcc93164eecad5a843a
diff --git a/mail-client/thunderbird/thunderbird-115.10.0.ebuild b/mail-client/thunderbird/thunderbird-115.10.0.ebuild
deleted file mode 100644
index ecb7939f2ef7..000000000000
--- a/mail-client/thunderbird/thunderbird-115.10.0.ebuild
+++ /dev/null
@@ -1,1341 +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..11} )
-PYTHON_REQ_USE="ncurses,sqlite,ssl"
-
-WANT_AUTOCONF="2.1"
-
-VIRTUALX_REQUIRED="manual"
-
-MOZ_ESR=
-
-MOZ_PV=${PV}
-MOZ_PV_SUFFIX=
-if [[ ${PV} =~ (_(alpha|beta|rc).*)$ ]] ; then
- MOZ_PV_SUFFIX=${BASH_REMATCH[1]}
-
- # Convert the ebuild version to the upstream Mozilla version
- MOZ_PV="${MOZ_PV/_alpha/a}" # Handle alpha for SRC_URI
- MOZ_PV="${MOZ_PV/_beta/b}" # Handle beta for SRC_URI
- MOZ_PV="${MOZ_PV%%_rc*}" # Handle rc for SRC_URI
-fi
-
-if [[ -n ${MOZ_ESR} ]] ; then
- # ESR releases have slightly different version numbers
- MOZ_PV="${MOZ_PV}esr"
-fi
-
-MOZ_PN="${PN%-bin}"
-MOZ_P="${MOZ_PN}-${MOZ_PV}"
-MOZ_PV_DISTFILES="${MOZ_PV}${MOZ_PV_SUFFIX}"
-MOZ_P_DISTFILES="${MOZ_PN}-${MOZ_PV_DISTFILES}"
-
-inherit autotools check-reqs desktop flag-o-matic gnome2-utils linux-info \
- llvm multiprocessing optfeature pax-utils python-any-r1 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 )
- !elibc_glibc? (
- || (
- dev-lang/rust
- <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-libs/wlroots-0.15.1-r1[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.
- mozconfig_add_options_ac 'elf-hack disabled' --disable-elf-hack
-
- 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
-}