diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-07-17 12:28:32 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-07-17 12:28:32 +0100 |
commit | 16857b69f990738d17bc5842e3e49a6e82d1428d (patch) | |
tree | 09af7d330926974197aa59536133e026de791874 /mail-client | |
parent | b6fa31c964a602f8461a77d5b83355e8750c12eb (diff) |
gentoo auto-resync : 17:07:2024 - 12:28:31
Diffstat (limited to 'mail-client')
-rw-r--r-- | mail-client/Manifest.gz | bin | 3385 -> 3382 bytes | |||
-rw-r--r-- | mail-client/thunderbird-bin/Manifest | 67 | ||||
-rw-r--r-- | mail-client/thunderbird-bin/thunderbird-bin-115.13.0.ebuild | 327 | ||||
-rw-r--r-- | mail-client/thunderbird/Manifest | 68 | ||||
-rw-r--r-- | mail-client/thunderbird/thunderbird-115.12.1.ebuild | 7 | ||||
-rw-r--r-- | mail-client/thunderbird/thunderbird-115.13.0.ebuild | 1363 |
6 files changed, 1826 insertions, 6 deletions
diff --git a/mail-client/Manifest.gz b/mail-client/Manifest.gz Binary files differindex ab73e4b8493a..fcafb1ee0ae0 100644 --- a/mail-client/Manifest.gz +++ b/mail-client/Manifest.gz diff --git a/mail-client/thunderbird-bin/Manifest b/mail-client/thunderbird-bin/Manifest index 93ab595fabf9..d95ff2bcac71 100644 --- a/mail-client/thunderbird-bin/Manifest +++ b/mail-client/thunderbird-bin/Manifest @@ -66,7 +66,74 @@ DIST thunderbird-115.12.2-uz.xpi 588507 BLAKE2B 1d5864a0319cc3d61c9c3dc40e41f57b DIST thunderbird-115.12.2-vi.xpi 772901 BLAKE2B 8b0edce2bee981b28b57fa675eb096ee7e5abeb9bb80048cdb7cc1ed902f1e2f74a4e3af173cbab63f0b8e2e2ea1882289fed2871ec35b3879c644d5fb1b367c SHA512 9727f8dfe69a4eea306b928ac45edd778521550a53ae2844645390cff58eaeb79582321c5fca0dc0943276a85f0a4f74d1cde9edca4eda68cd223d844f0e0183 DIST thunderbird-115.12.2-zh-CN.xpi 771966 BLAKE2B addabe3b5fc546bf7eb7ab176686bde5af5f800e5841d0a3481fca2e160a53942e6384579bc0524cf4f24079056b067d6c1f0b937b1699118daaadf5d30ca150 SHA512 2134ef278fab4904b121496022d3f930aee083b41f2d57ae0bdcaad640bc8573bbc6204e2c010e061eb054b82d3991711a53dfa1a694282d520586eb5af50c86 DIST thunderbird-115.12.2-zh-TW.xpi 776442 BLAKE2B 92eabe92027acdaa8a87accfcbf755d50579f948e3ac565296670eb7ff6860a60e96fca6063f390415dd33691fbf4ff8084e69b1dbba5a437fdd4e53cf35b7a8 SHA512 9b8a947ddd6038c1d13d2d909de8e0c5b0a4c9f8fe48fe2f20f04c714811cc124e90b0cd77e9d9deb5e67f864063fca2c671a463b012385c03c9708ac4a79b0c +DIST thunderbird-115.13.0-af.xpi 550968 BLAKE2B 447b0c44a688a4c4336d7641393876bdc91a73e4ca67d9cac35c25b9c832edc5e81025dee2daee1a77762401b2b432e6944674ccc3df44226b449858f815bf3e SHA512 ba365e1c3f8ce852774f6a81b563bf3727dad8c96de39e5f834510f6795baaa07da3f062f77855e2f07beb719e5bb2c59e39f5f0dcf76d9772b5694e0db71f5f +DIST thunderbird-115.13.0-ar.xpi 673662 BLAKE2B 5b6339cbe9267e99495faff82555410c677da70754d6b16790042f2846ff03cf202e213b9e18ef9e0014218003a636cd65ab230715d719b9959551f6e1f7fe52 SHA512 7e38e46bdaa5c3074e24ddb67de08529ed91100b54046052e6d73e087981463bb399e3207e6618c426651d635f95b6b5b2664cc2581c4fa360989bc87fac5d13 +DIST thunderbird-115.13.0-ast.xpi 569918 BLAKE2B e6c31f6487815a49eb5c97aa25eac5c193d046de260011dad0fb13aaf93c0a7566c17a28ae624b99e9d742b433db469702ad7c2eee88d1e5a3766f36b1efbbb2 SHA512 7bff6a66f08c66edaaa287edaf7aa5ff34cd77dd3b9a980e7954cd23793104f3b54fc664f24c10212ed27bac9507b1ad7931efc2569d9384b9202baffa8338e1 +DIST thunderbird-115.13.0-be.xpi 735788 BLAKE2B 233ff64d12e0b594e87bd399e493a7e3a3369da8854edd12b6664745553b0e6187da55f6e2dd11ba94f097058dde55ac3058260df15dfda64c8e60ed566c08b9 SHA512 93f4fb856fe4f547d5adf5aa6a8f47db24caab31f423173967f514af6cd57691aa6dd618a26696d2d1ee7eb715f4c136d44d001190e887ad44411f149a8a9201 +DIST thunderbird-115.13.0-bg.xpi 783904 BLAKE2B 6f66c87d1041f8175f2c8c61f5511d008e9238991580ecded4824e5e998d35251cececf65c6cc07d9f24ba327e9fbeda41ee4a65dad6cb4d11e3e0a713061a4b SHA512 0aa906fa17bb5b361635567e8a96dad1bb19c573aa2641f29023554b8d755cfd0bfabc2d66051e8aa3bd8658709e611a100bc929d1cb2571d9af0ce1869736a5 +DIST thunderbird-115.13.0-br.xpi 648135 BLAKE2B 21952d6d5a13e6dc56cc98edb813983fcafc8d73466b3111c59e62c8d9ae852d7283036108d5300eebe11d35a9ba16a7f33f90c73672621d3d8eb366576cd16c SHA512 43bd21bd85e59c44a1bea1aaef43da6f7bd83a625adf2be75673a27affe652e37c073a733d79f41cff851445a33ad73a7851d6515fb926d7faeede0d5496f43b +DIST thunderbird-115.13.0-ca.xpi 687683 BLAKE2B 552066e6d3a2c56173dda3f57f10800554e5b5c92675291006ff3090f7c8c430fc93a24fcbc691c5a5e87789501316853406da5b705b8fd07a777f9b0625c354 SHA512 fc53c4fd649a7c0ee368b4b19895ff48990b3c679fbffc7679ed2072b5438607460db98552f2c7b27d8e309aadd7a4fac93ee6bb489b7aedf1bcebe67a568be5 +DIST thunderbird-115.13.0-cak.xpi 669805 BLAKE2B dcfd17100628f5a9d11b942579080eeee9eb6384ed65d6273507ef920770edffe4b7f40da46dff9ea256c26d98fca8bbe26d1f37c71634b3803ff221499cd743 SHA512 6eb5d61d8bd4ecb95e3cc8a355097c339db3fc5134fe2d141693c36122d469e2d97ed5e75ebd5a9afa393a30c6d7ffc6cef8040419a349311ffe883f0a71fce6 +DIST thunderbird-115.13.0-cs.xpi 771350 BLAKE2B 8f34b379aff6659cbe1d78c16ceb269f3feea8e41d253f69cea39999b93201c59003c5ac634ff694d1c0b9f3481c69f30fb9bc8753c92f2975d4ca472466223f SHA512 d30bea38e4dac554ba99a47bed062ad5a37f8746bd3ca7479ee8d89342d13763dce6d8f452648725bce84152a5612b583a7a25e470b32755fb1cd5b8a9632df5 +DIST thunderbird-115.13.0-cy.xpi 735267 BLAKE2B edb97fa5f5247ceb7943a7e1d5e98505c7d7baf6b19467a9e243dc0ebad510db376c2d367f2db76cca8bd502948c23b86d43adfea6d55a3e6601171a35b8c42a SHA512 79099175cfa4996d9c9183ed9d94f42d5520311341a2901e05449e1325f7f6913580afe43989a3e41f05139d07d02c83df27c987fda16b8f88598fcc7bdfbb58 +DIST thunderbird-115.13.0-da.xpi 722960 BLAKE2B fda82146de712b486396ffb3011caf96750e91641e2d411199e7fcd9e6d27ba3fd4f2929ea5699b2276454e44489add97932f9a5004c6cff801c742c74488907 SHA512 4f11712771f02a393206090b80bf35803b24cbf8f3cecd4ca0084323dab108a5166c1b10f8e1aeaa44d8ea129d87ab772863b7ca8de6cb3e5834614d4f88600c +DIST thunderbird-115.13.0-de.xpi 752099 BLAKE2B 1d31857839862fd6cb6004c9511474e496c8c8417363fe223df1b73b8e62c3e5efb52df33a62d1f0c6f324e6ce8f5257b9e996908189712add4a79a458ae8735 SHA512 21e9c3fdcc26c5501835a2509f36d5b6172380ee185672834a752f9b6b03fcbf568c68f60adfcfec4ea2eb204a5332c6cf0118abb1c72d581004d21d75c21cb1 +DIST thunderbird-115.13.0-dsb.xpi 771541 BLAKE2B 92b0955d84c33b71503f6d13141fde7f22d19d72753f1f336e33de0ae4e2f28654d3d13beac7a1747cb5484d481526a4d66a28efc39e5b547033fc4d5f34f648 SHA512 1a7268fc508fb8b95ebe401ee3e38f46654b4f1fcacd657d3ec53b87571563e4d1823897cb0883c4fd997a33f0657726067f1876e60d23fac61465deffaa84c7 +DIST thunderbird-115.13.0-el.xpi 874880 BLAKE2B 9b3a9f21195a68898a1f075a778e41d68ceba9ed06c6e0e4b89b50d4f9f698176e7a6997db6dd7a4da65d822f08f95addb6b5c7f5f7ad816e5ebe97f5ad59566 SHA512 4c4cd64f94f1a1b0b77f70a8aa8b5e922952aebec0133023f009029c0a73d926da86b230a8a812aebf6d3bf87d3abf23ec612c9c8213b7f668e289836da33d77 +DIST thunderbird-115.13.0-en-CA.xpi 689557 BLAKE2B dda747a487e68c5af0740caffac5a36a65c8a56b743ec11add7d1d6690cd219a39ec6757d4d77338dc78cf1f93179e903e9a879917605a747b68ff2f46aa5fe4 SHA512 9761522ed175fd320de0398a5af69f2fd693619aa64fe9842da0da5654ec0783cd5b8d221e4989339c56742c2b8d7abfd54cbee1411649513618cd72f4fa5d10 +DIST thunderbird-115.13.0-en-GB.xpi 691416 BLAKE2B 4744e9c18dbd138f520bef4b06aca042e1883419784a128360254ba8754bb2a4928623069a3ef75c2e3777eb82dc3fd154fdc4e6906395a76e426417f04c4c9a SHA512 31c62ec8c6498806615dc4cfd9509289dd64a92ae4876d2342ea58533bbd7def126110e7036cb0b4e59b350f4fab9e0a80a7e42800ad202f409c1fb042f89c00 +DIST thunderbird-115.13.0-es-AR.xpi 746055 BLAKE2B 429d3cb3a8a70be66a859eb3638ab89b3b22a143bc7da9ef7148f046bc1571ab9448ecec780c6f2a4c7876d84756853ff684a9ab737293f2f9a6691e177b47ad SHA512 fc3cd1eb86ee63bba4594efefae32b4a5e07fe5faccfa048ecc9b62635e1b9d0a8f094db352fe9b90ae16147eb653566a884cd92899886ab02b04dd5fc2f1c7b +DIST thunderbird-115.13.0-es-ES.xpi 708652 BLAKE2B 1a9842f78ca005f0c4e799043b433143f1eb38d9cbd491b94d39926b3498b13954ec04ba5ae7a3a9ba2440503a95b3f404c1ca4f20a4caf75941751a62546d66 SHA512 ad396d6008a25dc888e0d9d9da1f8e6afa9159103445a731a133780e749a69ed8487f08e536cb37c312fc31afa0e81dbaf1cf612ef1c7adc0fd6e33799f07b24 +DIST thunderbird-115.13.0-es-MX.xpi 721548 BLAKE2B 0b2760ed1798589d7639d49f596f23ed10d3f2c3e60fe345eec7c677335c15cadb34216062d6059b78f5e4050e5cc0ecf86a9bfee44415858bb7b8f3c2d0d83c SHA512 894621eac49772e70d9540f05e6324de6fb542228523f47f7cc40e47898d454a0202448fb4fbe36d4169888427ddf3363266ebcb09e37abd1ad602c9a0f6b086 +DIST thunderbird-115.13.0-et.xpi 681727 BLAKE2B 07eb74bddf50f5a1ce890ff67aad6a3b36ffa313f50da6f4eece69627de5a3c0cb016eb2bd29c64e2f94daa302b98f70a14f15906d2293679d659f64c1aabca5 SHA512 6de472c10009a578a12641d4c5a953d094f3082d46fcc41ae7f45cd6ddfd9ec6188f6e82baceb2c979feb77bf416ebe3dac78edcc2edea47056f1479fba2276c +DIST thunderbird-115.13.0-eu.xpi 713895 BLAKE2B bceb13ace9783ad20b67cca8c8202b6dacd4051fbaedbd61fae6bc0bf6a1d502241cb6d427b78695c89d9d18c4731271aa37d73d4a9e7f548231583be4092cac SHA512 f9e4be26be0eb4e98e7e44d338a74c55a2c0e22ceccfb033767a223c00418991cb017eaf79663504bc6e6df258166ceb14f5199c63f07aa90f4250e9faafa9f0 +DIST thunderbird-115.13.0-fi.xpi 720464 BLAKE2B 68c24554d73b9b872998a7b4327e6298228e5287a28e1e2c5224830fe86b27f25a95528b5bfe914e7d339aedec595a2a93965a51d63282f18a286061473c7de9 SHA512 58e7a1a07886c90b32566b518d580cb93c07652cc35e410e6bfa15c9d11f98d2054901e2e16d8516998030101f6ca1647e02c4efca39f6617e9a5bf9b72e8067 +DIST thunderbird-115.13.0-fr.xpi 758743 BLAKE2B d89a2b69f8201faf4378879b6371ba72c9069f8ef30a26bf2af964a0099b0f7ae0377aa9043bb5b295a9262cfbe63598d4de31dc0dda7c9de3d0699c37d7e820 SHA512 35d753b858bae5de2540d52bfc129e9f964e2a1ea148e8f518dabdf296a43f918aa5aece0305150e1ac0d6aa41953c0cd40c465828b98c6f404b64a7a6a62c30 +DIST thunderbird-115.13.0-fy-NL.xpi 740533 BLAKE2B 742a7114e9e2d108f8f2ba14191c90c8f6c320c05a972b05d5d1980726570c9df7991ba331a206158a37aac89fdc07fbdcb3969f25a710f88686a882a1cde239 SHA512 fb2b95f1d22c8955a2aaf23a3f03a0f78fb2e379e8139f3101ed701a172b7305b575b7159677b6ad549a4f02af8be40de6684cd32e170a51855f0f4d9d4a050e +DIST thunderbird-115.13.0-ga-IE.xpi 611156 BLAKE2B a4e2e0afcd5bed5c88d7dbdcf599b4d31c3af096ade5f72174943e4b09063968d2bcbea0a60b7d0eb4e164a131da994b2bb79a0dc1b4a7bee1d837f802fde700 SHA512 643c2635cde6cdb2cefe97adffe5697ac8929ea42112e95c9bfde42f79d0804b61699a7a972ba7c961cfc6d12dcdc7d0ee593019a7e79c6b285875ebe568c2b4 +DIST thunderbird-115.13.0-gd.xpi 714241 BLAKE2B 9f8a80712eb0a11acf0c8b25cd9aa83920c56eb3de7823e57e12888bf61a3073811bdf7384ac59b83d445f82f36929fa4daf580b453aaa07f06272815bb1bdc9 SHA512 630a3acb7933750add69548bac2c9f53ba38fe1a7fe342b27a72891a6095dcb4fb5ac72b0492f48df7d11d4127214b4908b59b5f22dccc907c1e51f41dc95bec +DIST thunderbird-115.13.0-gl.xpi 726188 BLAKE2B 1d2ef5f55309263b349db09bc55ddb04d3a4f596eab48a107674b39bcb0b6d54bad48e77fc0f12d3d39c39f9e7e513224996c6f23bb26da2d017dd3f90f6e276 SHA512 cd41ce5b9b0dd56f620ff948c93ce16b03434151d9b63199d551b1718b37b7426501bfc66326125606a93e52fa9abe132a88f054b704c19ec35d47dc06c48646 +DIST thunderbird-115.13.0-he.xpi 692569 BLAKE2B 08eb6af4ce42f3026de1223be655635572f8dc3a34c7b45fcc5637fcaa416bff666069533718bb11b82adc319e31698d7af601055eac4b49674c02d8f92762d1 SHA512 f79ddc4400188dfe9ebe418c5acefc6bccfc5f0453235066e375e4da39b88fe85c579ab01311fc1ff569bdbf53165f313cc3312e2e2023e52f97bcb2248c0869 +DIST thunderbird-115.13.0-hr.xpi 689193 BLAKE2B d692761bf807741a86737967ae8fd417c66b51e31977b79e9f606ac43269e7be4e73fff3bb6e89e90120a8f671501e525d62584dc5b24a2cde47de6877ef16a9 SHA512 f6f1424062d8c79a5449ef95bd4811985a2bbcf271e24a5b635fe73d86bb7f18e6be144209073b2aeb0464b437487b679d9a0a61702ea952af20ad6305f12ac9 +DIST thunderbird-115.13.0-hsb.xpi 767598 BLAKE2B 7936a9e4d7e2473fcc25324e0a08ce7d716f3503f04f8e8321041fa4f18ee2086c98688a8861d36614c5aa3de43b1a2149166de21cd7e966b00c6a1a00beadab SHA512 566dd80c07cf966eafc6b133e0aedacd949a553e544728da544c52b0e8e60f9c8413a022699b842905bc7e8ef72c58515e40146ac054e1994eef871d4bd0e6bc +DIST thunderbird-115.13.0-hu.xpi 770643 BLAKE2B 8290d946ef8739f5241cab3a21e7228c7368e3fee6cdb8b0e0887340b5b455534d9d66aff2441ff7466230a0fa7de48fda806f7decda8e8f9cfcd2e5055686fc SHA512 32348bc93d301467f61209e098d131d062a6c9844e85655dff13863e291f04fbc653a28ddbceb83645b47479c4e7f8331275e490eb69f5eb71002f5ee2cc5d8b +DIST thunderbird-115.13.0-id.xpi 653742 BLAKE2B 1e8ef032d15a07e0dc41003820fe752beb4dbf1bc614b72c3c84de899fd2fe9e322df234999f4ed02d61397e6fba48fb4a2f9f1482c1a3fd933531623c154e3c SHA512 c9c6cec9437c3748ad3691dd75a9b8c1059671821ff03570be5d68c792eed2cd0a0da7ba3f40e7416cffa10dcc1819b59ecd5f969f7d2b6fa54e71fc4b4fbf75 +DIST thunderbird-115.13.0-is.xpi 727731 BLAKE2B 3f603e31f524caffd75277f45ee3ca8d1d98cfb69f2c25419d182cfe9965672ff3d8fce2fd4e13bfd21cac448e406df5884c18424b4e847fe53405f198584c54 SHA512 9cc38e93d45dbfc770aa81cb14965df2734ad2494e1cef13643d7fcaa595e749946ee2744566cdf1c3b3ba01adea400e89eb5ef752670535a6981a773b9e1010 +DIST thunderbird-115.13.0-it.xpi 677174 BLAKE2B 4ee5ed677a99e02ea65f832fbebca6d6903581198c60e161e298ca553414373cbd7556355415c7ecab84d73ad6e18b323eb62de2b9b4c040049ee8bb5fd11e7a SHA512 6e5db1cc3658422eac9735830fbacda8daa918e0ca9254b619e3ed344d536e021b6c7ef0ea9a458bcd55cf743f535900b8d7cf6a79c2eb38d26a45c69caeb717 +DIST thunderbird-115.13.0-ja.xpi 806227 BLAKE2B 9799bd09593fd5c91f81f577e44d998c1ea2daf69d9f51f324728818f1c6dfeaa678de3bc83842361dd5886c94496a8a14ad4f45c2917e59a5c9d57988fac7fd SHA512 0be4f51a484c9de7a58ead313cf3ee2bd8423225eccb53c4ab2478802ca736c32d46925e90dd6b0d36201b983bf215652941d77e97b667db0aa0d8b320abdebb +DIST thunderbird-115.13.0-ka.xpi 786085 BLAKE2B 213c2d0cd5ccf9f6308de48a6796151191f9e4ce7ccd5f0c88307270be69966c94c06b966dac838cb4b93086bfa82704b050e270dcbaa481c034d9fc885a0236 SHA512 73a254c7a2642ac724ee15767ed874753d6b45bfd6fb04bd43ce8e6442a00c00cf1da5996e32ee06433f1c40ba43e5909632259b10b41c9dc61ef6fbb3fd5a67 +DIST thunderbird-115.13.0-kab.xpi 715826 BLAKE2B 8a9586fe37da7aaba0419f508140e5d885eed9b2e484b2595e682637b2ef00a1ec8a178e02eb954e2deaeb75578d889f2563018bbad24745a74d93f460526c4b SHA512 f498afdacc5daa1558b9b04c2428cc4769938f705182a851cfe5c0e2bd314cdbaa46647926f66816bebeb431f3fa7b7486d502ef83452aa9f830a99c5bb8af5f +DIST thunderbird-115.13.0-kk.xpi 843702 BLAKE2B 025dc39113352ff5e8128083b7e6bbd4f8c6c4fb2532de9a7c29d025d702778ab988d7e55ee1894cf4fa45700f03916a6d847c999811c48dac916234906c2407 SHA512 85ae57d34572e41f6a1216f87c4cdca864e02b7dfd29e6d309191c9aa72b198e50b539e8ae3cfc4f1a19c1cdf5e23ce53afd5112a58bccbc08d73bc128118792 +DIST thunderbird-115.13.0-ko.xpi 747361 BLAKE2B a908ccf472ad83ee25fa020b2ede044fc0e94e0a4f5a44061d0aebc60da666f1aed2f3578988d49d255f4a58e8dead28249474a84758f2c3fe593cfa6d1741f7 SHA512 cbd79dfe70ff47c365f9d2a4a9da74f030c834d58454f150d5aab2de1edbae67a398b5da4352068050b2d0466ac9f731b237f29cf2d6d28e96a5d01895e77df3 +DIST thunderbird-115.13.0-lt.xpi 690565 BLAKE2B 08cd82b8400b2b2d834eb92d853950e78e09557a7afe32c724857a1d95bea43c3e074bb6dea22dfc8578c9875ca034b008c48f676e0788bb933b010eacc7aab1 SHA512 d65715343b73fed094c01ea358ebb8b867d072df2430b0ff7f69e7f27ed5d977da8e079e9fe23f86b2ca192018b33d28d3f9a3e56ed5fc521ebfa7368c0cc402 +DIST thunderbird-115.13.0-lv.xpi 627142 BLAKE2B 900205a9a85519e805d1c2f3300994b2f679c166f4af640f590f3684133fdf6273d7373cc60f1046df07528f8bd6ed99ffc5f790f705467e52f8e4584bb68414 SHA512 100c7924458a14570d60bb4ae317bc5671682d851d3f89bce439ebd0e73aa74f46904cf2317e7b710d1a4bf3010e43bcc9d4340fae9f6539968def01b3d8f6c1 +DIST thunderbird-115.13.0-ms.xpi 575461 BLAKE2B 9f177df7cf012b299043742e911ae7b05154d5d386cbf9e7485282c6af064aa566c3ab986c4f05eb5fce76afa95b2d9697bb2cc3351fe274dfde8e04bfa04a92 SHA512 5ab029c9036c4af6f4dbbbed0012a63ff248a5e5bc3ccd3bbecabf6d41f801bd10f952af9a88ed96078766de12d4967ba2c17fc5bd4981c0d4212cad86935c16 +DIST thunderbird-115.13.0-nb-NO.xpi 696573 BLAKE2B 6a0fe10040b84eb3df250bd672580e9617b591c8d87294a9d7881154a7cdcd19a4a26548c360abe544b3f92123f0733d89d8e6c4b96bf55638d7477d85071daa SHA512 3b6dcecb14d51e7f6dcf11da8c5c7e9c224f081587f3241ef57487c0abb599cf4ccf3cb8c72e297ab75a6cf1bd17d4ea0714bdf1c09b35c8f1cec63f57c3264c +DIST thunderbird-115.13.0-nl.xpi 731871 BLAKE2B 5e3f84052eb23498972b76e62566344eede7650bec78011ded1c7518a8c49a34ae408f1a40e0e555fa49d59692da98c2d9568901889085fbd6b96f521a8fb8fd SHA512 dad0c6ca6a0b70f54a021cb99edc8bc12aa814faf192e9a74a269ee1c86452584dec7909ced17e6625542403d90c9f7407b25f0ead891228d2efd036b159d1cd +DIST thunderbird-115.13.0-nn-NO.xpi 704545 BLAKE2B 8bfa62ed722ced2457efa8c5c17520d00cfd72663d7edcad8654a85bd8404288aa4962fd42dac26e3f1306c9c1e8e1b3aef6bcc136fbabfcad3e598b2ae68b20 SHA512 8731f011081ebc8b885e4c88e4b507086b3f6c6c06dc674ca3a0bf369d8bbcc9053d2d6af711770eecb0d581d36571945523f8f2d04a6f20bf0eb5b5be76f0d8 +DIST thunderbird-115.13.0-pa-IN.xpi 685093 BLAKE2B 9b0b898e216f34bf2db810129330e0ea933b25f96b4bfea74daef701b1f019859e1e1b4e45a2377a3a63f88e70ef62fe6bc29d6d773437afee43c939ee0c292e SHA512 ae6f044d8bd46fde4fb782c755f5c0bedb06e132a5dbd69f8c26bbb503fa4173634e208a1f2cf6df1bc0b7c6528e3bfc758956e8354e86705d90adf71d2a353b +DIST thunderbird-115.13.0-pl.xpi 750938 BLAKE2B 7a9b877cd0808eeccb31ee155ce52681eab7079787991d090abb363e3be74684da9278c07160140e63cf3f4dfbe89fe5a913fe437eae872a2caab126bd59a186 SHA512 efebb3ad526d218816725c3c40d33b8ef325cf3f36e6e779720c35f3c785454f31cac8a664cfa7525653fd9926cdd5c9bba0f4b3612aa50c76d53e3b5b324789 +DIST thunderbird-115.13.0-pt-BR.xpi 739483 BLAKE2B 1ba7d0d6e4cbf647fb6b518610ee1c503b4f835945ff059ee5516514623e06497538aecda0c61b62798af388b5059beefdd5025c740a45a732fa6c2bbe4dac6c SHA512 0f31c176366345f062b9835d7ce1c476ea4eeb62c43efdd0e627885011a7c85f61b5d1705fe5bd06d6111b396858e1521b4a03949a4e87ef43c8cd14de938383 +DIST thunderbird-115.13.0-pt-PT.xpi 730158 BLAKE2B ebaad36b5cc45bcf79e8d122f0cee57237f9ba0f0290ea201621c7a8eac497da398aa2255ec1a0c9249ef4d865458afcb09733226c962c94bc4208211d11b43b SHA512 da06743d9778fa38b7f53f6fbe9839352182f2621aac028e9e5d2074133f4fda3f271eedef58c2a47b6ed716763632e2bb1729a9e82e30581e39b1e947991733 +DIST thunderbird-115.13.0-rm.xpi 735075 BLAKE2B a82d3b53746d291984725d9857911737ea3a1c04cd8b3f78a8244181adff862e50be77dba1e73a5d8c3b96e6cded61511e55a1a4d7c8bfe43757f755ea434863 SHA512 bee0911aafc97cff73e75b14b5470835ebffb9560a39bee92ed0052b00fa30aa0e0eb9d4a27125188a85c5b5cb45d2a3b11e506e3d8d583292de144cf248025c +DIST thunderbird-115.13.0-ro.xpi 661824 BLAKE2B bb6985f76fbed382f981d9ac423b0c5f2c4a4a751429825376b32cd84e4f7386e64b679e8945ca06df6cb405c9d6952cad3e8660623cdbed4d59aeb778e55fa2 SHA512 ef7ff42c732c8629ed4c17a1e75ff93417897d81fa0b90e4247f0ff208a2eb9f6025732ca6d4f50f32629d3b6d71d64c07e7c46e4fb7ecc563ca80e24ceaa6be +DIST thunderbird-115.13.0-ru.xpi 858382 BLAKE2B 2aa3211cbbade9594392f76b46a8a10548f594c362967a1b5e99340525bb54532a6c7271980d303bf13bc0b4f19cddb6703f19ce31e8fa966d2fb9d4c2e8485f SHA512 83b64dd0bc9875a05643fb3a8f9c2c24d61e1cded026aba8adfaa30222263ae29fee3b944491b009735012693ce5628637b983ba87d1bf20c3ea8dcb25bf8c20 +DIST thunderbird-115.13.0-sk.xpi 769722 BLAKE2B 85e0bba7c56bc223b4cd7206b33bdbeb320ca4c7ffbdacd1c42035455884d2f19e91c3efc3cb460c793a6fad8fe36b3b8dc55dc9e1e4fe6d7e76ff454d9b1387 SHA512 180dc51f5c0b39af3690f51bcb8d9bdf48796b3674a8f93173ddcd7611ee493ca3b3dc325172df9aa4decb9a299050b211c9e6ec440f0d028c2e3c022c0afeee +DIST thunderbird-115.13.0-sl.xpi 731306 BLAKE2B bf1208dc577123a75926e3db397523268cde9cadf3a346e1a28e52faabe90cbc1ca5b0e67c6286bc4646c45e0b172db283625754dfeb62b21fe6b09bb587fcd9 SHA512 d0ac65771d68cc4800d22df1d16f9a66cd766d06831c1baba087b2e8f6d5ad64d63355e7340e6e18641a832d382ca127287e01b2555896e044cf2e940d45fb59 +DIST thunderbird-115.13.0-sq.xpi 753949 BLAKE2B 8d90fb94529bde9a54aa1cd56a9a837eb8bd3de48c1dc61b2eb065bfd5ed72787c4f316cee74cc5e3bb654d00fceaef25298f5ca524fc88ca27d15d4c5335796 SHA512 fc7c9383dcfbe8e711c5db9be8c53ea4a2f0556bd7f2f6f536b3fe3270fa7d9adc011a7d155f893612669484fc04365eb80f5cd989a200f2a2d8a1d55630ffda +DIST thunderbird-115.13.0-sr.xpi 757443 BLAKE2B 368d11be79da3fc2fe92c9deec524cc97b3981dcd588d44e0b159eb80d90b1c53085b3de9e2d9e080405401d04b0e9798431643aa38c75ebd5b2d271a857c088 SHA512 c01157929f4839cadd1bc4c93b8f555a2acf051242266c68e223407a88fdf305bcaa508c6c91a92f6549fcaa8ae6ef4cd1588e70e41b99e9bc276f4a65ac6608 +DIST thunderbird-115.13.0-sv-SE.xpi 735009 BLAKE2B c9bed20022b16eda4890cf3e1428ec128ea3670d0fd6027709ff408f977827f5a84fa145c4af93ebe5e1a6aa4a16f28ec44a456fef00371ca745356ba54ac314 SHA512 31b66a1d0d4c8267a0cf49bec21e98d1dccf856d561235cde04b255b6ab89cbdac4af5ab5b4ef20bea00cd5a1e6b2cf65bc07edb58af598cfaaee86af5e5fe5d +DIST thunderbird-115.13.0-th.xpi 805978 BLAKE2B 18cf30cfb24f9e22c88559796658bd7e6851c07e1b17d778aaa82da67555382ad542508370da4f2325e4642a3e15beb7c45ec7f706dd8e00bb4c5d89bee65757 SHA512 c334625677b4a76043f7014751a244b96816b3cdbe12a55edb376225dc24e217982ece81ab9bf4466d17b573832b6c5eb8139226141241862aa0334510637be3 +DIST thunderbird-115.13.0-tr.xpi 744573 BLAKE2B 9755b37114bdf0250b589823e6d15a125b30f10b47be9823590dfb98c92f30fa45eaeedcd7aae9119efc99a61df1cf2a45d730260593476d2e56ba38b1123027 SHA512 f2c0711a8796a5d2b0ded240cb6665e4611b083938fba91aea87a89cefb309c752c55b5f4527d73145ad3bd0a12b878b196d13c7557fd97592c4a510fccb9550 +DIST thunderbird-115.13.0-uk.xpi 847086 BLAKE2B f916abab336011b92bb4e679df1fc9afd9a873065afc18d97e11a3f7dffdadc640439c05188576d962be4dae9dcc6f6d6828c796decd80660b85bcd0a3a0a3f5 SHA512 6370ae047c453744de0ee618322558a65175627eab08ea8e1d21feca27fed7cf13475725a5eb73bd2e1d41af576bc2107946647aa26e4d810e94ca7f8543340c +DIST thunderbird-115.13.0-uz.xpi 588502 BLAKE2B 21784887f9e7652e45fd315988260425c8233807e6300cfff86d511db4945797b87a9c08c6efb4a626eee3de0458ce27c3b9fa430648b7f2da97b443e073dbd6 SHA512 52688eab84e321334c9a99d9dcccf7e03a4b26c95fbce707ef9bb8d6c5e56e6e1e85e2a34b9fcd84d1f730263d77c62d540624a8094e73db214806b80c133a43 +DIST thunderbird-115.13.0-vi.xpi 773834 BLAKE2B 48965707b9c438c7224d41463670b537b7a20b4161245cb4200bb1b5fc117fbd343f239529456fcb1f4aa63d18cb3eb79774a7322c7fe700b73cf60c14e88db9 SHA512 6247f19b16008249931ec75f171739567e2c2ceee956236075f08edaed1dc08ff2b73d12031c3acb7e3f1db08d40e73224faabf8ee1e2705b6b5b103e2e8e665 +DIST thunderbird-115.13.0-zh-CN.xpi 772579 BLAKE2B a74d96bd5e8be22f7820860b790c723ae70ca4df3268dc857998db7dea61de540e5393e45808a937a8823583b9b72578798732b50f7fc4e60588ab7be9bae9bf SHA512 65d3ce84cefda33f31a0b0455dd59b9c7b2466b50f94741ae8c97ecc165897ff310303ce17b8f243c488862481b01723e97897c2dbfa46526be304d7dbdb8b68 +DIST thunderbird-115.13.0-zh-TW.xpi 777571 BLAKE2B 6c87f941a7764dfb8c6edab6785a700c13aeb9ac879a275262ed6c5c2fd606e727ed8b64455079ad8462d5147b104483ae2b09f720967ff808e37a2c4de52985 SHA512 5ddf1e877688e3d3dce43b21112ebfde881794d04f4421ba65dfdaea90a54d34d71db822fd34b78b7594019154db8f187c5eee5ff67a220e87bd1e1f57bba4d7 DIST thunderbird-bin_i686-115.12.2.tar.bz2 83038989 BLAKE2B 3a236dabd528d8595014f89a83dc7deba67af00b7e104dc86f9acaf328eba909a798206f9f8a5f441bacd89f031c4071f02aa46174bb750994fbec7081194240 SHA512 bed5c8251f18a5930ac6c79d2d8be2e5170659a55889c4a2202d9c894253811f4ac676e33ceb5142bce6ec65ab7a61496909fd892bd61c56b1d081bff9257e4e +DIST thunderbird-bin_i686-115.13.0.tar.bz2 83149428 BLAKE2B 328f5aad64b58267873280d04b8275f399b19a829c4fdb6d7daa2b78dc3f6c09c61dfc3b8b3ccc7ce2d77a839cae23adc46492ff53f1bad313ece8e8d66db43e SHA512 f1e9865d08620bd1dfdbddf5fd1660152a93f6c6cdd64eb5127b32dd77731b955191eaeed26523b38911ae6c244e6950ba855504542053de5a7a7d9c17dcdef3 DIST thunderbird-bin_x86_64-115.12.2.tar.bz2 80751602 BLAKE2B 510e620c2dcbc2c957e5d9962460538455fbc7f46b7e7d66a707c86bb36a8a63fb2971a7cde9fc8644a0800f7ab0ea5280b041702716146f9c5a004d220ac1e5 SHA512 5a90d172d9f49fe1220aa0f36a44e6b7f60dac89801d037874fcc88d88f998a75081c32b5486064e5828d6735cc7ddc6a9cb1d837d3f2531d3cda761fb67eac0 +DIST thunderbird-bin_x86_64-115.13.0.tar.bz2 80720623 BLAKE2B ad0af0535261bd9a657e0166a81ccce692598fa8962e428600f7fd5941e397acc161ecd432f128270cc9ce5677b0d188540b36a3700c44b9c210805b067dc6c9 SHA512 b52eb96dcc2e5dc8d9d125af102ee405138172cef61de780d35d83e77d28632808ef8e51ed232c5025aa39e64bb59d1a5e6bc9bb58ce78733443e6fa5eacc70d EBUILD thunderbird-bin-115.12.2.ebuild 9025 BLAKE2B b920c9d10cd4ab8c4e9167f777fef46e6cd254c8a7c41955bf68bfa609b3f81170147b2e46910a29db50b9cc655200421524f2918b63ab7c43f370362432830a SHA512 93b42f57a301b7bc9433a7c93d042e7f8728f6bdf004cd5e3d9ba64f18059adce79cf534ee3686246534ab3509ff5cd4a2f5fc20cd9945071431f0ac675a520f +EBUILD thunderbird-bin-115.13.0.ebuild 9025 BLAKE2B b920c9d10cd4ab8c4e9167f777fef46e6cd254c8a7c41955bf68bfa609b3f81170147b2e46910a29db50b9cc655200421524f2918b63ab7c43f370362432830a SHA512 93b42f57a301b7bc9433a7c93d042e7f8728f6bdf004cd5e3d9ba64f18059adce79cf534ee3686246534ab3509ff5cd4a2f5fc20cd9945071431f0ac675a520f MISC metadata.xml 255 BLAKE2B f54493c82293ca95a1ffd16d6199055650b0aaa18234716339235bab3f14a87327cb04fac6b543f973b3fef8047412e54edf72bf0b8a9424f4aa1d2eb0feec30 SHA512 28c0ab3671ed2c65cd9694181f7f9c4a8bea53dee0a0a06f0d9086166317a87611017b105d5150167597c45a7dd8921182fd6bf9d1b3fc7408c0e94f36189e33 diff --git a/mail-client/thunderbird-bin/thunderbird-bin-115.13.0.ebuild b/mail-client/thunderbird-bin/thunderbird-bin-115.13.0.ebuild new file mode 100644 index 000000000000..0ddec45f3444 --- /dev/null +++ b/mail-client/thunderbird-bin/thunderbird-bin-115.13.0.ebuild @@ -0,0 +1,327 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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 desktop optfeature pax-utils xdg + +MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/releases/${MOZ_PV}" + +SRC_URI="amd64? ( ${MOZ_SRC_BASE_URI}/linux-x86_64/en-US/${MOZ_P}.tar.bz2 -> ${PN}_x86_64-${PV}.tar.bz2 ) + x86? ( ${MOZ_SRC_BASE_URI}/linux-i686/en-US/${MOZ_P}.tar.bz2 -> ${PN}_i686-${PV}.tar.bz2 )" + +DESCRIPTION="Thunderbird Mail Client" +HOMEPAGE="https://www.thunderbird.net/" + +KEYWORDS="-* amd64 x86" +SLOT="0/$(ver_cut 1)" +LICENSE="MPL-2.0 GPL-2 LGPL-2.1" +IUSE="+alsa +ffmpeg +pulseaudio selinux wayland" + +RESTRICT="strip" + +BDEPEND="app-arch/unzip + alsa? ( + !pulseaudio? ( + dev-util/patchelf + ) + )" +DEPEND="alsa? ( + !pulseaudio? ( + media-sound/apulse + ) + )" +RDEPEND="${DEPEND} + >=app-accessibility/at-spi2-core-2.46.0:2 + dev-libs/dbus-glib + >=dev-libs/glib-2.26:2 + media-libs/alsa-lib + media-libs/fontconfig + >=media-libs/freetype-2.4.10 + sys-apps/dbus + virtual/freedesktop-icon-theme + >=x11-libs/cairo-1.10[X] + x11-libs/gdk-pixbuf:2 + >=x11-libs/gtk+-3.11:3[wayland?] + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXcursor + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXtst + x11-libs/libxcb + >=x11-libs/pango-1.22.0 + ffmpeg? ( media-video/ffmpeg ) + pulseaudio? ( media-libs/libpulse ) + selinux? ( sec-policy/selinux-thunderbird ) +" + +QA_PREBUILT="opt/${MOZ_PN}/*" + +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_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 +} + +src_unpack() { + local _lp_dir="${WORKDIR}/language_packs" + local _src_file + + mkdir "${S}" || die + + 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 + MY_SRC_FILE=${_src_file} + fi + done +} + +src_install() { + # Set MOZILLA_FIVE_HOME + local MOZILLA_FIVE_HOME="/opt/${MOZ_PN}" + + dodir /opt + pushd "${ED}"/opt &>/dev/null || die + unpack "${MY_SRC_FILE}" + popd &>/dev/null || die + + pax-mark m \ + "${ED}${MOZILLA_FIVE_HOME}"/${MOZ_PN} \ + "${ED}${MOZILLA_FIVE_HOME}"/${MOZ_PN}-bin \ + "${ED}${MOZILLA_FIVE_HOME}"/plugin-container + + # Patch alsa support + local apulselib= + if use alsa && ! use pulseaudio ; then + apulselib="${EPREFIX}/usr/$(get_libdir)/apulse" + patchelf --set-rpath "${apulselib}" "${ED}${MOZILLA_FIVE_HOME}/libxul.so" || die + fi + + # Install policy (currently only used to disable application updates) + insinto "${MOZILLA_FIVE_HOME}/distribution" + 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" + + # 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="${ED}/${MOZILLA_FIVE_HOME}/chrome/icons/default" + + 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^} (bin)" + 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@:${EPREFIX}${MOZILLA_FIVE_HOME}:" \ + -e "s:@APULSELIB_DIR@:${apulselib}:" \ + -e "s:@DEFAULT_WAYLAND@:${use_wayland}:" \ + "${ED}/usr/bin/${PN}" \ + || die +} + +pkg_postinst() { + xdg_pkg_postinst + + use ffmpeg || ewarn "USE=-ffmpeg : HTML5 video will not render without media-video/ffmpeg installed" + + local HAS_AUDIO=0 + if use alsa || use pulseaudio; then + HAS_AUDIO=1 + fi + + if [[ ${HAS_AUDIO} -eq 0 ]] ; then + ewarn "USE=-pulseaudio & USE=-alsa : For audio please either set USE=pulseaudio or USE=alsa!" + 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 + + 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 +} diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest index 863d5a13ca28..8c21cb5118e6 100644 --- a/mail-client/thunderbird/Manifest +++ b/mail-client/thunderbird/Manifest @@ -70,5 +70,71 @@ DIST thunderbird-115.12.1-vi.xpi 772899 BLAKE2B 177d6bd9d8458b55ea93fc2e72dee81e DIST thunderbird-115.12.1-zh-CN.xpi 771966 BLAKE2B d53a9f428691bfaf2e7c35977b8f87867f79e6fbeedbc4610e75ee3a1d2dbeb11184d13ebc2d39163ad02336ed509b9cfa09b7d3f920251ec00dacaabcc3469e SHA512 67f2c96a0347790acd48df1afc3adeacfb7bd5624069af70ef72ee4d31a5fc1d0120b6d0cbf1bfddea6e4dc9c5b663d940c996ba49f3a9341527b8485cae8910 DIST thunderbird-115.12.1-zh-TW.xpi 776444 BLAKE2B 51dd24e9b4549887def3fddbf32a55cf2bcb3374bc9df83533d9585cb90f7c72b2f5b0673a9460aedfc89ef75e13155dce7248c6bd3c8353394ac14349e0d956 SHA512 a0adf8fc4329a39a6d1c05c4dcf9e0eccff4be29d2f3ef1814a78bb8c7579ed42cfd1f121355d3e5b99ff4123685a7a65d7281a2e65b502986bbc1efc611baef DIST thunderbird-115.12.1.source.tar.xz 535032092 BLAKE2B b88927e5591651b40366da264e9b9ef8f54e404cf669d03a67ac0b0cf929fa3c1f3ca760d13f532f765bb208ec33fdcbee9edbb7811c50fca57d419ca5c4a311 SHA512 1640d860f9cd5107d8c26f0ca8cc6254cb7e4445fb968d2bfab7011fd4b1919e867fc0c639c097469dcffe3846ef2fab09c74d211fc56aec21981669f4e3c0cf -EBUILD thunderbird-115.12.1.ebuild 39787 BLAKE2B b7549a883a8e278a8d318fb0d7ba8bc2ded1a92a11fe26ef29fe260db23afcd1d080eab59d4ca96a215ed38e5d58618551d123cb10c70ef04c2246dfd194e275 SHA512 e0e95eb936857c741040cd654ae9d59ccf44496b2a8efe1f078dd663cc26e94975a9dbe45ca97acd9a45bced56fbcb79eb69a3e80441a9645ac602c72f73772e +DIST thunderbird-115.13.0-af.xpi 550968 BLAKE2B 447b0c44a688a4c4336d7641393876bdc91a73e4ca67d9cac35c25b9c832edc5e81025dee2daee1a77762401b2b432e6944674ccc3df44226b449858f815bf3e SHA512 ba365e1c3f8ce852774f6a81b563bf3727dad8c96de39e5f834510f6795baaa07da3f062f77855e2f07beb719e5bb2c59e39f5f0dcf76d9772b5694e0db71f5f +DIST thunderbird-115.13.0-ar.xpi 673662 BLAKE2B 5b6339cbe9267e99495faff82555410c677da70754d6b16790042f2846ff03cf202e213b9e18ef9e0014218003a636cd65ab230715d719b9959551f6e1f7fe52 SHA512 7e38e46bdaa5c3074e24ddb67de08529ed91100b54046052e6d73e087981463bb399e3207e6618c426651d635f95b6b5b2664cc2581c4fa360989bc87fac5d13 +DIST thunderbird-115.13.0-ast.xpi 569918 BLAKE2B e6c31f6487815a49eb5c97aa25eac5c193d046de260011dad0fb13aaf93c0a7566c17a28ae624b99e9d742b433db469702ad7c2eee88d1e5a3766f36b1efbbb2 SHA512 7bff6a66f08c66edaaa287edaf7aa5ff34cd77dd3b9a980e7954cd23793104f3b54fc664f24c10212ed27bac9507b1ad7931efc2569d9384b9202baffa8338e1 +DIST thunderbird-115.13.0-be.xpi 735788 BLAKE2B 233ff64d12e0b594e87bd399e493a7e3a3369da8854edd12b6664745553b0e6187da55f6e2dd11ba94f097058dde55ac3058260df15dfda64c8e60ed566c08b9 SHA512 93f4fb856fe4f547d5adf5aa6a8f47db24caab31f423173967f514af6cd57691aa6dd618a26696d2d1ee7eb715f4c136d44d001190e887ad44411f149a8a9201 +DIST thunderbird-115.13.0-bg.xpi 783904 BLAKE2B 6f66c87d1041f8175f2c8c61f5511d008e9238991580ecded4824e5e998d35251cececf65c6cc07d9f24ba327e9fbeda41ee4a65dad6cb4d11e3e0a713061a4b SHA512 0aa906fa17bb5b361635567e8a96dad1bb19c573aa2641f29023554b8d755cfd0bfabc2d66051e8aa3bd8658709e611a100bc929d1cb2571d9af0ce1869736a5 +DIST thunderbird-115.13.0-br.xpi 648135 BLAKE2B 21952d6d5a13e6dc56cc98edb813983fcafc8d73466b3111c59e62c8d9ae852d7283036108d5300eebe11d35a9ba16a7f33f90c73672621d3d8eb366576cd16c SHA512 43bd21bd85e59c44a1bea1aaef43da6f7bd83a625adf2be75673a27affe652e37c073a733d79f41cff851445a33ad73a7851d6515fb926d7faeede0d5496f43b +DIST thunderbird-115.13.0-ca.xpi 687683 BLAKE2B 552066e6d3a2c56173dda3f57f10800554e5b5c92675291006ff3090f7c8c430fc93a24fcbc691c5a5e87789501316853406da5b705b8fd07a777f9b0625c354 SHA512 fc53c4fd649a7c0ee368b4b19895ff48990b3c679fbffc7679ed2072b5438607460db98552f2c7b27d8e309aadd7a4fac93ee6bb489b7aedf1bcebe67a568be5 +DIST thunderbird-115.13.0-cak.xpi 669805 BLAKE2B dcfd17100628f5a9d11b942579080eeee9eb6384ed65d6273507ef920770edffe4b7f40da46dff9ea256c26d98fca8bbe26d1f37c71634b3803ff221499cd743 SHA512 6eb5d61d8bd4ecb95e3cc8a355097c339db3fc5134fe2d141693c36122d469e2d97ed5e75ebd5a9afa393a30c6d7ffc6cef8040419a349311ffe883f0a71fce6 +DIST thunderbird-115.13.0-cs.xpi 771350 BLAKE2B 8f34b379aff6659cbe1d78c16ceb269f3feea8e41d253f69cea39999b93201c59003c5ac634ff694d1c0b9f3481c69f30fb9bc8753c92f2975d4ca472466223f SHA512 d30bea38e4dac554ba99a47bed062ad5a37f8746bd3ca7479ee8d89342d13763dce6d8f452648725bce84152a5612b583a7a25e470b32755fb1cd5b8a9632df5 +DIST thunderbird-115.13.0-cy.xpi 735267 BLAKE2B edb97fa5f5247ceb7943a7e1d5e98505c7d7baf6b19467a9e243dc0ebad510db376c2d367f2db76cca8bd502948c23b86d43adfea6d55a3e6601171a35b8c42a SHA512 79099175cfa4996d9c9183ed9d94f42d5520311341a2901e05449e1325f7f6913580afe43989a3e41f05139d07d02c83df27c987fda16b8f88598fcc7bdfbb58 +DIST thunderbird-115.13.0-da.xpi 722960 BLAKE2B fda82146de712b486396ffb3011caf96750e91641e2d411199e7fcd9e6d27ba3fd4f2929ea5699b2276454e44489add97932f9a5004c6cff801c742c74488907 SHA512 4f11712771f02a393206090b80bf35803b24cbf8f3cecd4ca0084323dab108a5166c1b10f8e1aeaa44d8ea129d87ab772863b7ca8de6cb3e5834614d4f88600c +DIST thunderbird-115.13.0-de.xpi 752099 BLAKE2B 1d31857839862fd6cb6004c9511474e496c8c8417363fe223df1b73b8e62c3e5efb52df33a62d1f0c6f324e6ce8f5257b9e996908189712add4a79a458ae8735 SHA512 21e9c3fdcc26c5501835a2509f36d5b6172380ee185672834a752f9b6b03fcbf568c68f60adfcfec4ea2eb204a5332c6cf0118abb1c72d581004d21d75c21cb1 +DIST thunderbird-115.13.0-dsb.xpi 771541 BLAKE2B 92b0955d84c33b71503f6d13141fde7f22d19d72753f1f336e33de0ae4e2f28654d3d13beac7a1747cb5484d481526a4d66a28efc39e5b547033fc4d5f34f648 SHA512 1a7268fc508fb8b95ebe401ee3e38f46654b4f1fcacd657d3ec53b87571563e4d1823897cb0883c4fd997a33f0657726067f1876e60d23fac61465deffaa84c7 +DIST thunderbird-115.13.0-el.xpi 874880 BLAKE2B 9b3a9f21195a68898a1f075a778e41d68ceba9ed06c6e0e4b89b50d4f9f698176e7a6997db6dd7a4da65d822f08f95addb6b5c7f5f7ad816e5ebe97f5ad59566 SHA512 4c4cd64f94f1a1b0b77f70a8aa8b5e922952aebec0133023f009029c0a73d926da86b230a8a812aebf6d3bf87d3abf23ec612c9c8213b7f668e289836da33d77 +DIST thunderbird-115.13.0-en-CA.xpi 689557 BLAKE2B dda747a487e68c5af0740caffac5a36a65c8a56b743ec11add7d1d6690cd219a39ec6757d4d77338dc78cf1f93179e903e9a879917605a747b68ff2f46aa5fe4 SHA512 9761522ed175fd320de0398a5af69f2fd693619aa64fe9842da0da5654ec0783cd5b8d221e4989339c56742c2b8d7abfd54cbee1411649513618cd72f4fa5d10 +DIST thunderbird-115.13.0-en-GB.xpi 691416 BLAKE2B 4744e9c18dbd138f520bef4b06aca042e1883419784a128360254ba8754bb2a4928623069a3ef75c2e3777eb82dc3fd154fdc4e6906395a76e426417f04c4c9a SHA512 31c62ec8c6498806615dc4cfd9509289dd64a92ae4876d2342ea58533bbd7def126110e7036cb0b4e59b350f4fab9e0a80a7e42800ad202f409c1fb042f89c00 +DIST thunderbird-115.13.0-es-AR.xpi 746055 BLAKE2B 429d3cb3a8a70be66a859eb3638ab89b3b22a143bc7da9ef7148f046bc1571ab9448ecec780c6f2a4c7876d84756853ff684a9ab737293f2f9a6691e177b47ad SHA512 fc3cd1eb86ee63bba4594efefae32b4a5e07fe5faccfa048ecc9b62635e1b9d0a8f094db352fe9b90ae16147eb653566a884cd92899886ab02b04dd5fc2f1c7b +DIST thunderbird-115.13.0-es-ES.xpi 708652 BLAKE2B 1a9842f78ca005f0c4e799043b433143f1eb38d9cbd491b94d39926b3498b13954ec04ba5ae7a3a9ba2440503a95b3f404c1ca4f20a4caf75941751a62546d66 SHA512 ad396d6008a25dc888e0d9d9da1f8e6afa9159103445a731a133780e749a69ed8487f08e536cb37c312fc31afa0e81dbaf1cf612ef1c7adc0fd6e33799f07b24 +DIST thunderbird-115.13.0-es-MX.xpi 721548 BLAKE2B 0b2760ed1798589d7639d49f596f23ed10d3f2c3e60fe345eec7c677335c15cadb34216062d6059b78f5e4050e5cc0ecf86a9bfee44415858bb7b8f3c2d0d83c SHA512 894621eac49772e70d9540f05e6324de6fb542228523f47f7cc40e47898d454a0202448fb4fbe36d4169888427ddf3363266ebcb09e37abd1ad602c9a0f6b086 +DIST thunderbird-115.13.0-et.xpi 681727 BLAKE2B 07eb74bddf50f5a1ce890ff67aad6a3b36ffa313f50da6f4eece69627de5a3c0cb016eb2bd29c64e2f94daa302b98f70a14f15906d2293679d659f64c1aabca5 SHA512 6de472c10009a578a12641d4c5a953d094f3082d46fcc41ae7f45cd6ddfd9ec6188f6e82baceb2c979feb77bf416ebe3dac78edcc2edea47056f1479fba2276c +DIST thunderbird-115.13.0-eu.xpi 713895 BLAKE2B bceb13ace9783ad20b67cca8c8202b6dacd4051fbaedbd61fae6bc0bf6a1d502241cb6d427b78695c89d9d18c4731271aa37d73d4a9e7f548231583be4092cac SHA512 f9e4be26be0eb4e98e7e44d338a74c55a2c0e22ceccfb033767a223c00418991cb017eaf79663504bc6e6df258166ceb14f5199c63f07aa90f4250e9faafa9f0 +DIST thunderbird-115.13.0-fi.xpi 720464 BLAKE2B 68c24554d73b9b872998a7b4327e6298228e5287a28e1e2c5224830fe86b27f25a95528b5bfe914e7d339aedec595a2a93965a51d63282f18a286061473c7de9 SHA512 58e7a1a07886c90b32566b518d580cb93c07652cc35e410e6bfa15c9d11f98d2054901e2e16d8516998030101f6ca1647e02c4efca39f6617e9a5bf9b72e8067 +DIST thunderbird-115.13.0-fr.xpi 758743 BLAKE2B d89a2b69f8201faf4378879b6371ba72c9069f8ef30a26bf2af964a0099b0f7ae0377aa9043bb5b295a9262cfbe63598d4de31dc0dda7c9de3d0699c37d7e820 SHA512 35d753b858bae5de2540d52bfc129e9f964e2a1ea148e8f518dabdf296a43f918aa5aece0305150e1ac0d6aa41953c0cd40c465828b98c6f404b64a7a6a62c30 +DIST thunderbird-115.13.0-fy-NL.xpi 740533 BLAKE2B 742a7114e9e2d108f8f2ba14191c90c8f6c320c05a972b05d5d1980726570c9df7991ba331a206158a37aac89fdc07fbdcb3969f25a710f88686a882a1cde239 SHA512 fb2b95f1d22c8955a2aaf23a3f03a0f78fb2e379e8139f3101ed701a172b7305b575b7159677b6ad549a4f02af8be40de6684cd32e170a51855f0f4d9d4a050e +DIST thunderbird-115.13.0-ga-IE.xpi 611156 BLAKE2B a4e2e0afcd5bed5c88d7dbdcf599b4d31c3af096ade5f72174943e4b09063968d2bcbea0a60b7d0eb4e164a131da994b2bb79a0dc1b4a7bee1d837f802fde700 SHA512 643c2635cde6cdb2cefe97adffe5697ac8929ea42112e95c9bfde42f79d0804b61699a7a972ba7c961cfc6d12dcdc7d0ee593019a7e79c6b285875ebe568c2b4 +DIST thunderbird-115.13.0-gd.xpi 714241 BLAKE2B 9f8a80712eb0a11acf0c8b25cd9aa83920c56eb3de7823e57e12888bf61a3073811bdf7384ac59b83d445f82f36929fa4daf580b453aaa07f06272815bb1bdc9 SHA512 630a3acb7933750add69548bac2c9f53ba38fe1a7fe342b27a72891a6095dcb4fb5ac72b0492f48df7d11d4127214b4908b59b5f22dccc907c1e51f41dc95bec +DIST thunderbird-115.13.0-gl.xpi 726188 BLAKE2B 1d2ef5f55309263b349db09bc55ddb04d3a4f596eab48a107674b39bcb0b6d54bad48e77fc0f12d3d39c39f9e7e513224996c6f23bb26da2d017dd3f90f6e276 SHA512 cd41ce5b9b0dd56f620ff948c93ce16b03434151d9b63199d551b1718b37b7426501bfc66326125606a93e52fa9abe132a88f054b704c19ec35d47dc06c48646 +DIST thunderbird-115.13.0-he.xpi 692569 BLAKE2B 08eb6af4ce42f3026de1223be655635572f8dc3a34c7b45fcc5637fcaa416bff666069533718bb11b82adc319e31698d7af601055eac4b49674c02d8f92762d1 SHA512 f79ddc4400188dfe9ebe418c5acefc6bccfc5f0453235066e375e4da39b88fe85c579ab01311fc1ff569bdbf53165f313cc3312e2e2023e52f97bcb2248c0869 +DIST thunderbird-115.13.0-hr.xpi 689193 BLAKE2B d692761bf807741a86737967ae8fd417c66b51e31977b79e9f606ac43269e7be4e73fff3bb6e89e90120a8f671501e525d62584dc5b24a2cde47de6877ef16a9 SHA512 f6f1424062d8c79a5449ef95bd4811985a2bbcf271e24a5b635fe73d86bb7f18e6be144209073b2aeb0464b437487b679d9a0a61702ea952af20ad6305f12ac9 +DIST thunderbird-115.13.0-hsb.xpi 767598 BLAKE2B 7936a9e4d7e2473fcc25324e0a08ce7d716f3503f04f8e8321041fa4f18ee2086c98688a8861d36614c5aa3de43b1a2149166de21cd7e966b00c6a1a00beadab SHA512 566dd80c07cf966eafc6b133e0aedacd949a553e544728da544c52b0e8e60f9c8413a022699b842905bc7e8ef72c58515e40146ac054e1994eef871d4bd0e6bc +DIST thunderbird-115.13.0-hu.xpi 770643 BLAKE2B 8290d946ef8739f5241cab3a21e7228c7368e3fee6cdb8b0e0887340b5b455534d9d66aff2441ff7466230a0fa7de48fda806f7decda8e8f9cfcd2e5055686fc SHA512 32348bc93d301467f61209e098d131d062a6c9844e85655dff13863e291f04fbc653a28ddbceb83645b47479c4e7f8331275e490eb69f5eb71002f5ee2cc5d8b +DIST thunderbird-115.13.0-id.xpi 653742 BLAKE2B 1e8ef032d15a07e0dc41003820fe752beb4dbf1bc614b72c3c84de899fd2fe9e322df234999f4ed02d61397e6fba48fb4a2f9f1482c1a3fd933531623c154e3c SHA512 c9c6cec9437c3748ad3691dd75a9b8c1059671821ff03570be5d68c792eed2cd0a0da7ba3f40e7416cffa10dcc1819b59ecd5f969f7d2b6fa54e71fc4b4fbf75 +DIST thunderbird-115.13.0-is.xpi 727731 BLAKE2B 3f603e31f524caffd75277f45ee3ca8d1d98cfb69f2c25419d182cfe9965672ff3d8fce2fd4e13bfd21cac448e406df5884c18424b4e847fe53405f198584c54 SHA512 9cc38e93d45dbfc770aa81cb14965df2734ad2494e1cef13643d7fcaa595e749946ee2744566cdf1c3b3ba01adea400e89eb5ef752670535a6981a773b9e1010 +DIST thunderbird-115.13.0-it.xpi 677174 BLAKE2B 4ee5ed677a99e02ea65f832fbebca6d6903581198c60e161e298ca553414373cbd7556355415c7ecab84d73ad6e18b323eb62de2b9b4c040049ee8bb5fd11e7a SHA512 6e5db1cc3658422eac9735830fbacda8daa918e0ca9254b619e3ed344d536e021b6c7ef0ea9a458bcd55cf743f535900b8d7cf6a79c2eb38d26a45c69caeb717 +DIST thunderbird-115.13.0-ja.xpi 806227 BLAKE2B 9799bd09593fd5c91f81f577e44d998c1ea2daf69d9f51f324728818f1c6dfeaa678de3bc83842361dd5886c94496a8a14ad4f45c2917e59a5c9d57988fac7fd SHA512 0be4f51a484c9de7a58ead313cf3ee2bd8423225eccb53c4ab2478802ca736c32d46925e90dd6b0d36201b983bf215652941d77e97b667db0aa0d8b320abdebb +DIST thunderbird-115.13.0-ka.xpi 786085 BLAKE2B 213c2d0cd5ccf9f6308de48a6796151191f9e4ce7ccd5f0c88307270be69966c94c06b966dac838cb4b93086bfa82704b050e270dcbaa481c034d9fc885a0236 SHA512 73a254c7a2642ac724ee15767ed874753d6b45bfd6fb04bd43ce8e6442a00c00cf1da5996e32ee06433f1c40ba43e5909632259b10b41c9dc61ef6fbb3fd5a67 +DIST thunderbird-115.13.0-kab.xpi 715826 BLAKE2B 8a9586fe37da7aaba0419f508140e5d885eed9b2e484b2595e682637b2ef00a1ec8a178e02eb954e2deaeb75578d889f2563018bbad24745a74d93f460526c4b SHA512 f498afdacc5daa1558b9b04c2428cc4769938f705182a851cfe5c0e2bd314cdbaa46647926f66816bebeb431f3fa7b7486d502ef83452aa9f830a99c5bb8af5f +DIST thunderbird-115.13.0-kk.xpi 843702 BLAKE2B 025dc39113352ff5e8128083b7e6bbd4f8c6c4fb2532de9a7c29d025d702778ab988d7e55ee1894cf4fa45700f03916a6d847c999811c48dac916234906c2407 SHA512 85ae57d34572e41f6a1216f87c4cdca864e02b7dfd29e6d309191c9aa72b198e50b539e8ae3cfc4f1a19c1cdf5e23ce53afd5112a58bccbc08d73bc128118792 +DIST thunderbird-115.13.0-ko.xpi 747361 BLAKE2B a908ccf472ad83ee25fa020b2ede044fc0e94e0a4f5a44061d0aebc60da666f1aed2f3578988d49d255f4a58e8dead28249474a84758f2c3fe593cfa6d1741f7 SHA512 cbd79dfe70ff47c365f9d2a4a9da74f030c834d58454f150d5aab2de1edbae67a398b5da4352068050b2d0466ac9f731b237f29cf2d6d28e96a5d01895e77df3 +DIST thunderbird-115.13.0-lt.xpi 690565 BLAKE2B 08cd82b8400b2b2d834eb92d853950e78e09557a7afe32c724857a1d95bea43c3e074bb6dea22dfc8578c9875ca034b008c48f676e0788bb933b010eacc7aab1 SHA512 d65715343b73fed094c01ea358ebb8b867d072df2430b0ff7f69e7f27ed5d977da8e079e9fe23f86b2ca192018b33d28d3f9a3e56ed5fc521ebfa7368c0cc402 +DIST thunderbird-115.13.0-lv.xpi 627142 BLAKE2B 900205a9a85519e805d1c2f3300994b2f679c166f4af640f590f3684133fdf6273d7373cc60f1046df07528f8bd6ed99ffc5f790f705467e52f8e4584bb68414 SHA512 100c7924458a14570d60bb4ae317bc5671682d851d3f89bce439ebd0e73aa74f46904cf2317e7b710d1a4bf3010e43bcc9d4340fae9f6539968def01b3d8f6c1 +DIST thunderbird-115.13.0-ms.xpi 575461 BLAKE2B 9f177df7cf012b299043742e911ae7b05154d5d386cbf9e7485282c6af064aa566c3ab986c4f05eb5fce76afa95b2d9697bb2cc3351fe274dfde8e04bfa04a92 SHA512 5ab029c9036c4af6f4dbbbed0012a63ff248a5e5bc3ccd3bbecabf6d41f801bd10f952af9a88ed96078766de12d4967ba2c17fc5bd4981c0d4212cad86935c16 +DIST thunderbird-115.13.0-nb-NO.xpi 696573 BLAKE2B 6a0fe10040b84eb3df250bd672580e9617b591c8d87294a9d7881154a7cdcd19a4a26548c360abe544b3f92123f0733d89d8e6c4b96bf55638d7477d85071daa SHA512 3b6dcecb14d51e7f6dcf11da8c5c7e9c224f081587f3241ef57487c0abb599cf4ccf3cb8c72e297ab75a6cf1bd17d4ea0714bdf1c09b35c8f1cec63f57c3264c +DIST thunderbird-115.13.0-nl.xpi 731871 BLAKE2B 5e3f84052eb23498972b76e62566344eede7650bec78011ded1c7518a8c49a34ae408f1a40e0e555fa49d59692da98c2d9568901889085fbd6b96f521a8fb8fd SHA512 dad0c6ca6a0b70f54a021cb99edc8bc12aa814faf192e9a74a269ee1c86452584dec7909ced17e6625542403d90c9f7407b25f0ead891228d2efd036b159d1cd +DIST thunderbird-115.13.0-nn-NO.xpi 704545 BLAKE2B 8bfa62ed722ced2457efa8c5c17520d00cfd72663d7edcad8654a85bd8404288aa4962fd42dac26e3f1306c9c1e8e1b3aef6bcc136fbabfcad3e598b2ae68b20 SHA512 8731f011081ebc8b885e4c88e4b507086b3f6c6c06dc674ca3a0bf369d8bbcc9053d2d6af711770eecb0d581d36571945523f8f2d04a6f20bf0eb5b5be76f0d8 +DIST thunderbird-115.13.0-pa-IN.xpi 685093 BLAKE2B 9b0b898e216f34bf2db810129330e0ea933b25f96b4bfea74daef701b1f019859e1e1b4e45a2377a3a63f88e70ef62fe6bc29d6d773437afee43c939ee0c292e SHA512 ae6f044d8bd46fde4fb782c755f5c0bedb06e132a5dbd69f8c26bbb503fa4173634e208a1f2cf6df1bc0b7c6528e3bfc758956e8354e86705d90adf71d2a353b +DIST thunderbird-115.13.0-pl.xpi 750938 BLAKE2B 7a9b877cd0808eeccb31ee155ce52681eab7079787991d090abb363e3be74684da9278c07160140e63cf3f4dfbe89fe5a913fe437eae872a2caab126bd59a186 SHA512 efebb3ad526d218816725c3c40d33b8ef325cf3f36e6e779720c35f3c785454f31cac8a664cfa7525653fd9926cdd5c9bba0f4b3612aa50c76d53e3b5b324789 +DIST thunderbird-115.13.0-pt-BR.xpi 739483 BLAKE2B 1ba7d0d6e4cbf647fb6b518610ee1c503b4f835945ff059ee5516514623e06497538aecda0c61b62798af388b5059beefdd5025c740a45a732fa6c2bbe4dac6c SHA512 0f31c176366345f062b9835d7ce1c476ea4eeb62c43efdd0e627885011a7c85f61b5d1705fe5bd06d6111b396858e1521b4a03949a4e87ef43c8cd14de938383 +DIST thunderbird-115.13.0-pt-PT.xpi 730158 BLAKE2B ebaad36b5cc45bcf79e8d122f0cee57237f9ba0f0290ea201621c7a8eac497da398aa2255ec1a0c9249ef4d865458afcb09733226c962c94bc4208211d11b43b SHA512 da06743d9778fa38b7f53f6fbe9839352182f2621aac028e9e5d2074133f4fda3f271eedef58c2a47b6ed716763632e2bb1729a9e82e30581e39b1e947991733 +DIST thunderbird-115.13.0-rm.xpi 735075 BLAKE2B a82d3b53746d291984725d9857911737ea3a1c04cd8b3f78a8244181adff862e50be77dba1e73a5d8c3b96e6cded61511e55a1a4d7c8bfe43757f755ea434863 SHA512 bee0911aafc97cff73e75b14b5470835ebffb9560a39bee92ed0052b00fa30aa0e0eb9d4a27125188a85c5b5cb45d2a3b11e506e3d8d583292de144cf248025c +DIST thunderbird-115.13.0-ro.xpi 661824 BLAKE2B bb6985f76fbed382f981d9ac423b0c5f2c4a4a751429825376b32cd84e4f7386e64b679e8945ca06df6cb405c9d6952cad3e8660623cdbed4d59aeb778e55fa2 SHA512 ef7ff42c732c8629ed4c17a1e75ff93417897d81fa0b90e4247f0ff208a2eb9f6025732ca6d4f50f32629d3b6d71d64c07e7c46e4fb7ecc563ca80e24ceaa6be +DIST thunderbird-115.13.0-ru.xpi 858382 BLAKE2B 2aa3211cbbade9594392f76b46a8a10548f594c362967a1b5e99340525bb54532a6c7271980d303bf13bc0b4f19cddb6703f19ce31e8fa966d2fb9d4c2e8485f SHA512 83b64dd0bc9875a05643fb3a8f9c2c24d61e1cded026aba8adfaa30222263ae29fee3b944491b009735012693ce5628637b983ba87d1bf20c3ea8dcb25bf8c20 +DIST thunderbird-115.13.0-sk.xpi 769722 BLAKE2B 85e0bba7c56bc223b4cd7206b33bdbeb320ca4c7ffbdacd1c42035455884d2f19e91c3efc3cb460c793a6fad8fe36b3b8dc55dc9e1e4fe6d7e76ff454d9b1387 SHA512 180dc51f5c0b39af3690f51bcb8d9bdf48796b3674a8f93173ddcd7611ee493ca3b3dc325172df9aa4decb9a299050b211c9e6ec440f0d028c2e3c022c0afeee +DIST thunderbird-115.13.0-sl.xpi 731306 BLAKE2B bf1208dc577123a75926e3db397523268cde9cadf3a346e1a28e52faabe90cbc1ca5b0e67c6286bc4646c45e0b172db283625754dfeb62b21fe6b09bb587fcd9 SHA512 d0ac65771d68cc4800d22df1d16f9a66cd766d06831c1baba087b2e8f6d5ad64d63355e7340e6e18641a832d382ca127287e01b2555896e044cf2e940d45fb59 +DIST thunderbird-115.13.0-sq.xpi 753949 BLAKE2B 8d90fb94529bde9a54aa1cd56a9a837eb8bd3de48c1dc61b2eb065bfd5ed72787c4f316cee74cc5e3bb654d00fceaef25298f5ca524fc88ca27d15d4c5335796 SHA512 fc7c9383dcfbe8e711c5db9be8c53ea4a2f0556bd7f2f6f536b3fe3270fa7d9adc011a7d155f893612669484fc04365eb80f5cd989a200f2a2d8a1d55630ffda +DIST thunderbird-115.13.0-sr.xpi 757443 BLAKE2B 368d11be79da3fc2fe92c9deec524cc97b3981dcd588d44e0b159eb80d90b1c53085b3de9e2d9e080405401d04b0e9798431643aa38c75ebd5b2d271a857c088 SHA512 c01157929f4839cadd1bc4c93b8f555a2acf051242266c68e223407a88fdf305bcaa508c6c91a92f6549fcaa8ae6ef4cd1588e70e41b99e9bc276f4a65ac6608 +DIST thunderbird-115.13.0-sv-SE.xpi 735009 BLAKE2B c9bed20022b16eda4890cf3e1428ec128ea3670d0fd6027709ff408f977827f5a84fa145c4af93ebe5e1a6aa4a16f28ec44a456fef00371ca745356ba54ac314 SHA512 31b66a1d0d4c8267a0cf49bec21e98d1dccf856d561235cde04b255b6ab89cbdac4af5ab5b4ef20bea00cd5a1e6b2cf65bc07edb58af598cfaaee86af5e5fe5d +DIST thunderbird-115.13.0-th.xpi 805978 BLAKE2B 18cf30cfb24f9e22c88559796658bd7e6851c07e1b17d778aaa82da67555382ad542508370da4f2325e4642a3e15beb7c45ec7f706dd8e00bb4c5d89bee65757 SHA512 c334625677b4a76043f7014751a244b96816b3cdbe12a55edb376225dc24e217982ece81ab9bf4466d17b573832b6c5eb8139226141241862aa0334510637be3 +DIST thunderbird-115.13.0-tr.xpi 744573 BLAKE2B 9755b37114bdf0250b589823e6d15a125b30f10b47be9823590dfb98c92f30fa45eaeedcd7aae9119efc99a61df1cf2a45d730260593476d2e56ba38b1123027 SHA512 f2c0711a8796a5d2b0ded240cb6665e4611b083938fba91aea87a89cefb309c752c55b5f4527d73145ad3bd0a12b878b196d13c7557fd97592c4a510fccb9550 +DIST thunderbird-115.13.0-uk.xpi 847086 BLAKE2B f916abab336011b92bb4e679df1fc9afd9a873065afc18d97e11a3f7dffdadc640439c05188576d962be4dae9dcc6f6d6828c796decd80660b85bcd0a3a0a3f5 SHA512 6370ae047c453744de0ee618322558a65175627eab08ea8e1d21feca27fed7cf13475725a5eb73bd2e1d41af576bc2107946647aa26e4d810e94ca7f8543340c +DIST thunderbird-115.13.0-uz.xpi 588502 BLAKE2B 21784887f9e7652e45fd315988260425c8233807e6300cfff86d511db4945797b87a9c08c6efb4a626eee3de0458ce27c3b9fa430648b7f2da97b443e073dbd6 SHA512 52688eab84e321334c9a99d9dcccf7e03a4b26c95fbce707ef9bb8d6c5e56e6e1e85e2a34b9fcd84d1f730263d77c62d540624a8094e73db214806b80c133a43 +DIST thunderbird-115.13.0-vi.xpi 773834 BLAKE2B 48965707b9c438c7224d41463670b537b7a20b4161245cb4200bb1b5fc117fbd343f239529456fcb1f4aa63d18cb3eb79774a7322c7fe700b73cf60c14e88db9 SHA512 6247f19b16008249931ec75f171739567e2c2ceee956236075f08edaed1dc08ff2b73d12031c3acb7e3f1db08d40e73224faabf8ee1e2705b6b5b103e2e8e665 +DIST thunderbird-115.13.0-zh-CN.xpi 772579 BLAKE2B a74d96bd5e8be22f7820860b790c723ae70ca4df3268dc857998db7dea61de540e5393e45808a937a8823583b9b72578798732b50f7fc4e60588ab7be9bae9bf SHA512 65d3ce84cefda33f31a0b0455dd59b9c7b2466b50f94741ae8c97ecc165897ff310303ce17b8f243c488862481b01723e97897c2dbfa46526be304d7dbdb8b68 +DIST thunderbird-115.13.0-zh-TW.xpi 777571 BLAKE2B 6c87f941a7764dfb8c6edab6785a700c13aeb9ac879a275262ed6c5c2fd606e727ed8b64455079ad8462d5147b104483ae2b09f720967ff808e37a2c4de52985 SHA512 5ddf1e877688e3d3dce43b21112ebfde881794d04f4421ba65dfdaea90a54d34d71db822fd34b78b7594019154db8f187c5eee5ff67a220e87bd1e1f57bba4d7 +DIST thunderbird-115.13.0.source.tar.xz 536438476 BLAKE2B 7c6af03008a39a4a35052097b94cef79c3c8f8128c9cbcd5ed4f85ca88c1e67ef0f8b63168766cf9839c50e8d5ae1473d4aecad9e3b24cc1f46516fc4d55766a SHA512 98ee23f684aa7a166878459a6a217bf3bcc4ddd8fa8ebbd0a1d2d66392ec1ebff67dbad55d145cdd0771539f127d91c4137211cf4efc80e450e6a34c95e8529c +EBUILD thunderbird-115.12.1.ebuild 39750 BLAKE2B 12e5fb761b631ce6c8d3b2b847b774578eefd67bcfea63a4eb3c9d5683a0d1ce62a0a58f12e025d42f9038c9fdb9660ee17efd62dc37c89bb53d961a9c9de5e1 SHA512 190e8171902c90f31995f572db7f2396d6595106bfd178190e4f46a5a50d58142e5fc465e4039ec5d727edd39c059b0fdf1232f2784576bdfb5cc7f7cd712380 +EBUILD thunderbird-115.13.0.ebuild 39752 BLAKE2B eb508e4637904eb1c8a59563f3aa8127944c1efeb61397d6457ba8c348a9ccded7d0a5fdceef7df0386461d5cd0ada37504d7be539abc95394d85a25b689e839 SHA512 0d2b36a10691d6349495f4a4e761fde386ec4e85161668ebe7d53e5c9a7f8c6e9ee23f33164153268b086609a25e153aeb8cea09e5bdb0ce382add1cbb961b27 MISC metadata.xml 2387 BLAKE2B 3602296d8cca60f79ea66089332dbce63b9da3625e476659e0a663966e65bc060e67b263c8fdcdbf8fa5545adf7b8f958cc36f9011459c715ee31bb494e7ce5e SHA512 e51ee84ed715cba36beb240db27265ac37b8df684c0e98f3b81ccf7785c1f465f1bbe3729c1c01717445e787129b449c009815f62a7455ea3fc4db8d1d9e82c3 diff --git a/mail-client/thunderbird/thunderbird-115.12.1.ebuild b/mail-client/thunderbird/thunderbird-115.12.1.ebuild index a0a938341cd3..a866aecacfb0 100644 --- a/mail-client/thunderbird/thunderbird-115.12.1.ebuild +++ b/mail-client/thunderbird/thunderbird-115.12.1.ebuild @@ -124,13 +124,10 @@ BDEPEND="${PYTHON_DEPS} >=dev-util/cbindgen-0.24.3 net-libs/nodejs virtual/pkgconfig - !clang? ( - >=virtual/rust-1.65 - <virtual/rust-1.78 - ) + !clang? ( virtual/rust ) !elibc_glibc? ( || ( - <dev-lang/rust-1.78 + dev-lang/rust <dev-lang/rust-bin-1.73 ) ) diff --git a/mail-client/thunderbird/thunderbird-115.13.0.ebuild b/mail-client/thunderbird/thunderbird-115.13.0.ebuild new file mode 100644 index 000000000000..ab8e6c458cab --- /dev/null +++ b/mail-client/thunderbird/thunderbird-115.13.0.ebuild @@ -0,0 +1,1363 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +FIREFOX_PATCHSET="firefox-115esr-patches-11.tar.xz" + +LLVM_MAX_SLOT=18 + +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:18 + sys-devel/llvm:18 + clang? ( + sys-devel/lld:18 + virtual/rust:0/llvm-18 + pgo? ( =sys-libs/compiler-rt-sanitizers-18*[profile] ) + ) + ) + ( + 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 ) + !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-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 + moz_clear_vendor_checksums bindgen + moz_clear_vendor_checksums encoding_rs + moz_clear_vendor_checksums any_all_workaround + moz_clear_vendor_checksums packed_simd + + # 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 +} |