diff --git a/dev-go/delve/delve-1.27.1.ebuild b/dev-go/delve/delve-1.27.1.ebuild index a4415976ba2cd..0e8d130da4a54 100644 --- a/dev-go/delve/delve-1.27.1.ebuild +++ b/dev-go/delve/delve-1.27.1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/go-delve/delve/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT BSD BSD-2 Apache-2.0" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="amd64" IUSE="test" RESTRICT="!test? ( test )" diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest index 2ad93be31c114..0dd5217995130 100644 --- a/mail-client/thunderbird/Manifest +++ b/mail-client/thunderbird/Manifest @@ -68,6 +68,71 @@ DIST thunderbird-140.13.0esr-vi.xpi 518886 BLAKE2B c47b0b55d6fd96a38452db19945d8 DIST thunderbird-140.13.0esr-zh-CN.xpi 507848 BLAKE2B 376becbad42ea049acf71b221e64ebea82cb8480ba224fdc44096ed7d7392ab4d9d72e9481f951fab9e7a8a4944a893451262d33b29fc56e21b11ca83629de18 SHA512 514e2f5ec8a64992ac80293292814ab7e6b80c56574c4f597f6d6d3bf3c537ca1e63884d1e757bdb55f5d082b94d9ac1180f90dbffc19e83717e1d6e500736fe DIST thunderbird-140.13.0esr-zh-TW.xpi 511431 BLAKE2B 02e4e7892d7978b2db6118ace87b5b2497a539892a630ab2a5a45189ce296ca4b510fdba7c171b9809e353e318560a77271e97b2e2c2c9ec0d03730d0ae321a1 SHA512 c0d5a174fc51f09afe570d3a9f48b770ec57d6922723ae8d514ad1a0597f47012699b391a9c728fa7f2a946da45a3ca20a858adcc15aaadd7399c322b2bad783 DIST thunderbird-140.13.0esr.source.tar.xz 757938728 BLAKE2B 090e9245b311c758dc32133d56242b3eec99d60fc71f880e08b60175f2a434c9b593455e434c46edec419637e97b4d6897c391a7015eb347c1606ff5f75ac80d SHA512 778d2fc2837ba367e90c4336f3873da5a0823c182e2f50aa9373cd1ee9ee2b5310372ad9d33e1e11978791b67de4a6952d3036ff7d57b257a06f49c8cd4a830e +DIST thunderbird-140.14.0esr-af.xpi 316220 BLAKE2B b64afcf34232da0b41a0c905be347fefa473dd5ba2a88f701b15b676ed57eb573fc4c419d1b16ddf712cb18886feacca676ea1f2e480052ea25c21f84628abfc SHA512 e6d05234b5a32a277b518c089346dea1e0dc2aa78b1e953cb6c592dc8bf8a4d8629fe58fc5efc5146626a6bfd725788d93e5933642ddd1e0c2bdbc82ccbbd06e +DIST thunderbird-140.14.0esr-ar.xpi 436197 BLAKE2B b0191b74d193504f52635477525ab55d6a3282efb0edf8cdf00fd71e2aeb3b708f45e1d8752083dbe6bda2f441b247021925956c64f370c4cede6844d2ff2597 SHA512 ece6091275c4664b44881c4c05e9960e59005dd1c92d7a69f6c45f3a1975bc8053e0bc80666aba1fae84bfca9a4730eafeed22455b12eeb413bc6c770c55de6f +DIST thunderbird-140.14.0esr-ast.xpi 340599 BLAKE2B d42d6d5afae83d086a96c641ff3ae0c2a3769ae2b506cb40151ac1b196b483f66cc6f521e127c577a221c7744ba4b8b1c0bb7ab1fd862edf92d53c13f06d8862 SHA512 a6cd91ad7cdeb11686ec5039e17dba8b13ad94d99b5be63b183f826011cc13c07466ffd3e381735207b0cd0830c07107764e63fe564f1fe4f431c2c90e478372 +DIST thunderbird-140.14.0esr-be.xpi 522095 BLAKE2B 2f685b9aa6e4d15191d3005a4426bcda0849de779152dcee3b685687599d40b8243cb097bc2131004fedc46faf6292df6d8d9496096ede9225166f10495bdd26 SHA512 bac318619543fa6a9fba524471118b22002048784a2cb68fb5ad726b99e08d5d2c9bd6995c7fbfcf3554cd24084e33aa9388a8719e0987999a81660e8fc848f2 +DIST thunderbird-140.14.0esr-bg.xpi 539808 BLAKE2B 6a56744bc4e76cbd55fde9b2ef818d4b4f068ce306b475e27219c68a3fd469b420ca523caf4b687885dca337477aea81a15b752a44c3c9530594452f5f68cd8d SHA512 fa6cd661918270d8288b4881a66a355db0c34a1350b2e7c8738b344c3063912d3ea37bb98b6a3344f3fa9ec632a607e6c3bde7c94b70e834106be2b7f2d96f58 +DIST thunderbird-140.14.0esr-br.xpi 402749 BLAKE2B c09ade74c7971c75676f7e2a4e696bf22faa153a9396f31144599f6c46ff16e12a3643fe6d175ffabcaccc08bb06b89b377f379ec784921fc366130b77c4e9ff SHA512 6c10336bc57163b4ceef1a869bef002a10d984c823cf24cf94d8fce0e67caf58a67b90ebc8ec67f07b5ccd80a673952eb07115f1325a88f309a7971220a39082 +DIST thunderbird-140.14.0esr-ca.xpi 440671 BLAKE2B 5e9ad97590e07e47c342d17a502fd9ebeae491feb3966e80553e13776c4970af667c07b3ae8bfd3bbc419371c4933912b0282bb0044332bb483ba08e2e66b3ec SHA512 e8b846b4047f31d111fd8f768ecb31cd3696fb7fd2d62639cb90c827ff893fabb9fe457415ecdd4704522907c8308186251b47bd15ef569b0f784d54cebf0f1a +DIST thunderbird-140.14.0esr-cak.xpi 418022 BLAKE2B f524bfeebbc9de2a70b1fbb584a27ab50cbf2f078083f95bc618b14711b483097beb665e77799371c4737ef90474a7f0c83c71b629a21dddf5522f375e5b6204 SHA512 e9c2b13d398be42525b2d695c63a382dad659550450fd48fd18b6a08a84c5205f87b05f169d46340de8ee4c6ddb9a078b3243b85826055edade12141df01bb94 +DIST thunderbird-140.14.0esr-cs.xpi 519562 BLAKE2B 7bf1f7e764eda7485287a97be84da61acee059a39b7c4f2011dd0690da6deae7fa220560e5c4114281115a827cc5e3e9e2391467334cabdabf3e311cb4b2c668 SHA512 cbee2d7b40483443c9b024803b7d97b1a2bfb172382857326340e0a989d18562c6bb7e2e6ee3e5d11078e3899e7103c7a3fc3e998e314e5cd6466a1456ce695a +DIST thunderbird-140.14.0esr-cy.xpi 487652 BLAKE2B f4bfbaa46a11de85ae51f41d858b313d5b770cae61bb134637680f8db09256cb599770497955cf8e1682a407f54db16c5b2c6c31475512cc292511d1d895f3cf SHA512 10aa2564fd0dbcc2cc7b2d6b1c0aefc8ae15416e8a120ae0448aead7305380f55aee58b1a2e6be00cb88498b4f0a6b16f0b24f06e1da3a49c051a0e37ca78668 +DIST thunderbird-140.14.0esr-da.xpi 476624 BLAKE2B 46d84d782348f154f951cdac58a348b693675ee10b28879b1ca361e84f718a30af3d33115f4ecd1e9d7f246e39b141534bff993f514a6eda5e543e0b2c9ba621 SHA512 b0f390214687c01192c141c5b2750ba465ca9875d7081b335c488c9cb95bd192d5270ff76b3e4ba6a07f3810e7d9cca9702524574a0f0aa59972de4610d5b605 +DIST thunderbird-140.14.0esr-de.xpi 504708 BLAKE2B f68bf223d22adabbbafc69d0139ab2f7ba3bf5cb64eff4324294c4f27f123779467062bbd3f219a06c48035c717112826ea65ccf2cab5ebde5a3b60cad683ce3 SHA512 29878a633e790ffb5d304ec43d4be5022062096e5dfa973574087d83d6fc25c736c1ee4cb59d3bfc094fa806a3ef94a73c73d46510bfb1143a0cf16b8d420546 +DIST thunderbird-140.14.0esr-dsb.xpi 517788 BLAKE2B 33b133def70b4b5a394a83f66ba7ca2c8d4460f010eee5a06f2c789d839793ba696b7eb954df8a006d681fbf661bda75c0f595e194992b47df53bfd8d88fd344 SHA512 f3c5bedea2d288c66c8bb736f68ef3e24e02bf6fd45f15bbc9ee922d985b5c8514920e895cb885ed2afccc78841f964667fc0c505f2a6210ecca384d5eacc63f +DIST thunderbird-140.14.0esr-el.xpi 609041 BLAKE2B d1c114ac02032cf6cde7763a03609fec0064258a032c4af4559f35ec24fee552f12f7959a2c3c32485c935b25a474cd5b91d9a72d14cfae4092df3537f24c475 SHA512 b8f4bf1a0f24c22d4f703e2c439bd5c98a1095f5ffe9a85a870bfb36794b8767a7b768726078f49661e01c5b571560a5bdc189e0ac6ed4651587be1b6630cea9 +DIST thunderbird-140.14.0esr-en-CA.xpi 452241 BLAKE2B a0c25bd4872ca513a763c55414b4451860985583e7f8b03e899bec7e33531b7ac3e143290f341b96666d576b8feef67f144d4fdc003ff418b8e7e4b446fd17dc SHA512 bea44a76d3974c041349f7856e3d7a6219abd8b3276aa8d08ddebcf604e5def25d21e467786b28af63fb207212ff9b6a341371ce368ad54182dda13be1ad7132 +DIST thunderbird-140.14.0esr-en-GB.xpi 452070 BLAKE2B b10fb3bf19099fe74e3f76913193805a22ea1e44e2641a1bec5883cc9abb01475aa926d1218b55c0ee7ed87e1cfb7b1321b94f6d9ca38c2fcc35801e2c8dc1db SHA512 4565de4f51dfe4e894738b39a9188a0c4524bc0004e4dced1314755436520ef01c80907a2a5b364d55034c8e85d4041f354c9eadf56c8ae23cc37a99bb2ee960 +DIST thunderbird-140.14.0esr-es-AR.xpi 495267 BLAKE2B c0a4617941d977463671bbd9c3c51163c2d44945fc2c5feab9bbc8fb187435514e875f92ad423e1d5a830d801d56fbd0bca594981c0c29e14e8af6e2ff15061c SHA512 f8e4b1b209bdb35a888617b2a63b5de3809df58a5d33d90baa8a8a5224be5a25b6e3b2f07f566854d55ccde76d63dfa4acdda4a5c7bdf060d65fd9acb58b242c +DIST thunderbird-140.14.0esr-es-ES.xpi 497285 BLAKE2B b149d018b8c6857b4cce3d36afe69869bf8c9414618d775b25e7e361777e29c1e6d02de57354ca3f5a79e745750ca64548501dd785d7e35dd5d5584f2cbdcc39 SHA512 efb25845839f1a4596e3df1122a653b99ec9cbaf3b9900d8aaa03eae941d5c6b0bb8d47ea2f99b35d2eb3707b3701063ef0205755c1bf5b8e599e92a1f7870c4 +DIST thunderbird-140.14.0esr-es-MX.xpi 490828 BLAKE2B adb62bf5fbb5f3325b4255386befe049257c156303efb05f072ffb9ad3606fae9aa68d5fc3da0e8e2d553a5cdb105316dfbaeb55a36371413dbd0680d5d3d44a SHA512 27b8f5b912a0870546de9c4ae66ae06886dcc9d3acc30c4707dd659b95abc7e5c18e753311a6e0b28824946e3a92fbcf0c0208f51f51a43717545a6ed05b6ea1 +DIST thunderbird-140.14.0esr-et.xpi 443619 BLAKE2B 94ea85467a055e882233ac3f780c015ca7419553ff4c59e6482030e31a09be21c61c40b0c2da962c2380e7977b9ad2bc5eefb9ec553372c84d70d9dc231ccf0d SHA512 4760c9eea9bd861c4726d414c7e931160a9f48480723e599e6f614a07bd1ab504e86f89100e33df9f32777476778b91effbcbaeea05a718bd84ac6552f3d92c2 +DIST thunderbird-140.14.0esr-eu.xpi 473924 BLAKE2B 7a6f530faa5c2512715b6e703786e8528523defc7a43e0cedad94801e7f704c3b1193769731bd2ae54ff548f8881efa72be552d34d8d82a8d71c52547925239c SHA512 8653a9286f58e0c722173afacbcef8b7c16a9bbb6fba75037b86a0abe93b35cdc4af00d4b7fa95d97e80ace36f72e768a1b599c7a00ab5a3363a7ab918cc75b6 +DIST thunderbird-140.14.0esr-fi.xpi 475620 BLAKE2B 5fec037762e4d31e8984b440723ec90a6c8344cab0d48a04998334cce616d2a2cb6ebc107efecae0750ef913d5473063344969e164edcfbdc10d7ee5c5a64e5b SHA512 22069d58e8163722d5470c25442e3190fe24d5a8b6cd90dd061f5130dbc36bc811bb42cb52907f302c20144e446196acf4f03604530523e7e100a67cddc5f635 +DIST thunderbird-140.14.0esr-fr.xpi 508317 BLAKE2B 8d965bcb8f5af5576d00340f91d858e5a36a8564afac5831b16d304a534b155e1fbbb53b32158e9cb7cfd8154c5ee3f963c0c67ce4222e2c11bebf1899efc053 SHA512 1adffcc080f3e72bd24c1991084179eb73f1c1aa0b5c2f136229be676e784f2122e0b91ddf90df7f7a53ba14b505ddc48b3e9031bd0c72d43c5ae043e8f5c5d3 +DIST thunderbird-140.14.0esr-fy-NL.xpi 490683 BLAKE2B f1db8a805b72a6869015046443a1751bd60e0132e4644cdf59fb68a721891c7a575a0a2cfe2df862cd1fa337a625d9a52e2d7c34f4989789ad172b6cd5ecfc4b SHA512 c9c6169795e9e13b7b17853f4fafd941882b40d9548d4184ea98ed07ab58415a0484c295322e3aacd3f46d5a6b241db137ad5c9274b1db16f851e58ab49be17f +DIST thunderbird-140.14.0esr-ga-IE.xpi 376748 BLAKE2B 5a69ab526dc140576c3c718900462c68428e83b4ff7ac69e5eb6a50c9549a8aaa08d65eba7fd3d074ae0fcc462c3677ac3b482b7dd7f5287b1d240aa2db79b96 SHA512 32e3455349c84a265fb2639a9998c6b6f5579a47bde2ba9cd23a10b13815d634341b50ce1eca7e0ee8b20890f83e5f201ee0ac437cac7a58758865f9cddd1e1e +DIST thunderbird-140.14.0esr-gd.xpi 461976 BLAKE2B 5e50d9d6ac60a53aae10a1c19f9fd98d6b275bdb05cf959e2a80d57978735e1b2fed8557b45d1518683963bd3a7b2785a34426c4a6f7a7ae5e158a6747837a93 SHA512 e78a946cda8252a5344ace3cf14e4b3ebe6b7b29c2fc746db9c7062becb33eba675482781373fb05bbea87f97db918a0a498ef50c23b6f4bc09f107bce80c356 +DIST thunderbird-140.14.0esr-gl.xpi 489345 BLAKE2B eb7cfbd0788487f530d49de119cb9f6918d383e7e6f94c32cd27ee1fce1d98939673cdf7eac72625a37b74cb47c22edbf092bd5b84aa30bd93235f517b6069a1 SHA512 eda1eadf1fe4d7983812a1b768d64641db12e9ab4cb4b16a4134f155434fff7c8a5a7563b639df2076601ab1a58fc75f4ea34ebf3042bb9536a41d38c5eadf79 +DIST thunderbird-140.14.0esr-he.xpi 444207 BLAKE2B b9cd38aabb10c31d80d58eb67f782dba0f6db2f81995686801e0f32df627845fb23c6d90a135fd8f8993426d5502b98ff86183c25236c4d5915abf6baa794f0d SHA512 02f5d1fac01192f6226036b95be03aeba04b38345043db4d9c91ffdf54c064905446d47687fb4c661bf470bc2bbd5942cf8b7c83ab2135a85f7ce8e242b0ccfc +DIST thunderbird-140.14.0esr-hr.xpi 471058 BLAKE2B d2e0c6b773e60eec32c72757e503915344d33f9e14522b04fe32703f8b1aa93be725fcfab4a2e06748c7ecb47f8c15fcdb6ffac4dc0622d145f3ad8ee1c424f3 SHA512 693b5a0d3d7235e4f06d512631658f30f49b03e458d76cc103bb875233cfa2971bf01d65af13557cddcf0c6bf1edb701eea782f4b583594eeaeff418d7cadc41 +DIST thunderbird-140.14.0esr-hsb.xpi 514952 BLAKE2B 1ac36b0f8c813d0933dc2a032680222ae2e93578f0b756355ac90803bf2862750d1cbe6650939606e480094e62d8584590ce2b8315112991f031d9dc40b4a5cf SHA512 7ffdf43a41b70efa95d3abe6ca5d659e3385c160d4c310448809ce26aa121d4fa50fd63dc179999a196df8a5164e1e85dde32e1984bec1e587f5962e59d6ebf4 +DIST thunderbird-140.14.0esr-hu.xpi 517546 BLAKE2B 656496453affc3d2979c19ec6830ced7de7e701e6b7f3ae2cd5dcfc7bba94beae5adacf0f95d0bc5fc6dfa99ced57de64497457a670b67c82da79bfdb07dbd2d SHA512 0b63f1c07ea36fa030e872202022573620747502b44641f4830580fd291638873e8977c174e8ff4443ed71eda616f09fefdd09d36892c9ee3920dade2a19a5b0 +DIST thunderbird-140.14.0esr-id.xpi 467004 BLAKE2B 9bfec73f8f82c17420104bbbb55a1f3a1d899ae8a667b2083cbbaa47e795977ef1d31c4e9636c22e3247b7b6ec4e94cce07a932cc08dafe3b527c1cf6f40c5cf SHA512 43aa20d6bc0e6381153a249897c5b946ef0ec0d616db26abbdd3ee5ecb45aa114f1090beacc1e543ab5a0cad6e73d7f1430400c02ac8dd6e096ca45dac1b00e3 +DIST thunderbird-140.14.0esr-is.xpi 482740 BLAKE2B e8837a63b4438e4ae675a8fb574ac48525db7f49917293b6dea2bb4e9ab3507cde037c48bac96b478dec318de61d4be06d79f742ce02decc5edbab95dfbfe799 SHA512 e571c9dd27ef17bd23cefa881f9b03ee6a0bc1915b21bc912410d31f7c270c33f39d8869b3fd959c7eab421ec8cb7cae986dc326a3f09544872bd154f4fe4040 +DIST thunderbird-140.14.0esr-it.xpi 488529 BLAKE2B 5c823b67a484e450b77f936a9b21c09ce308e5d367e08b24fc9859440afc2faa02fd720fc5f678a34a1ae450f3d128a41bbcb2992339848479e725461de4a498 SHA512 286e77b743c82c5fa6cf8016443bb69b0fade9057840b076214592a8e97d23e198feebea9ccc2d627b141b069bfaad05116df91b9d958a8ccf758883fd86add4 +DIST thunderbird-140.14.0esr-ja.xpi 539185 BLAKE2B 52cb7ad775427a8e1513f6d3073aeed28a5fbc387e6509601de90c6ae9a01e968c8019de5d5819838c9535f63eb6081027c9bf019ed4396c22ffaafd8b246652 SHA512 2abc844f2c536d80e37c840976bb8a380d69c5bea2f12f7fe9ff9765a9de7220cb20f3271960fccfd4c67355ad85973d1321b5f024b8ab91864d7f4def2dfc9c +DIST thunderbird-140.14.0esr-ka.xpi 554794 BLAKE2B 71da988a06307d8c73774fe44cbb6f3e1f38162434066fad259fd635f59b8a47202c85ba476a4ef4f08aabc4339059efef5b8aa2556c816d4c0d0348c2e2bf20 SHA512 210e97482f1c6eff6ac7746119e7f127977db1e287cd7ab12756378909dbc0efa21df49531f3d2d1927753d308f7fbeba9186fdf60bc2eee95ade76532cce01b +DIST thunderbird-140.14.0esr-kab.xpi 470498 BLAKE2B dbb8bb6f9ff5a143041de452651a92a7b5da0649fe481e90b5567486389276c934116bf3c81f5722ecaf806e0c6121dd78a565d7b34b9aa635e4a437f6542c5b SHA512 51d9c82be645007c57d91230104d509eee770636a860dd6179cc34a181f57551b29d535f545dd8501646c312f342761bf98cb54f96e770e61f36e05f9fef9756 +DIST thunderbird-140.14.0esr-kk.xpi 573885 BLAKE2B 0affea3989eb10680d2e051d43fb4bb2039f6514b64bc6815c56d2c75c98b396a41cf8021f77f9330d860b96bbda971cc65c9538b3e0bcffd53aee47a161b788 SHA512 1ba16874974895894729a0c6b74096eb20c213f5c380581f937ff504b08be2bf3cc2847ec1e12bdcbff6f35eba214db55ca5fd09d4b92a6851acdfb3ea70c25d +DIST thunderbird-140.14.0esr-ko.xpi 515592 BLAKE2B deb4aa167302fe51486680b48fc6b46b0deb62c71bb2082221fe34e8df693946cbbe31fb50fa4bd84cdce073655c164f3392206907b6f031b1ffaeae3fd77483 SHA512 6bf237640fe8b0e4fa20ed4dde10ccc0d1f4a3913512ec161b53d0d386a71f4ec91c1321eec0e5be4b7c90765bccdfb6e300ce8b8336416bf54d02412f305ebf +DIST thunderbird-140.14.0esr-lt.xpi 453437 BLAKE2B 565f127f38198625c0224edbf64fb614346c6b3897c9149cf5dd9aeb4863982dba3413dbb8f1c7e224c48c03eb137d74800b2cf859cf053c6a9a96ad23298523 SHA512 da38d200b11bdcbcbacb8ad86c16348aeafc1252d22bf627e77e8e5fcadd2a534a61c6b092f35d2237b8667fec6576b950756e06889f0c7bf9fe5d2357047b3f +DIST thunderbird-140.14.0esr-lv.xpi 392816 BLAKE2B 1b9f2133693ca5713d564e94e5ece84534df6177a4407a20e3c19af0c6fa6f908f59b939a1ebf0910519a21dfa02c4de93b6cd3b5591c51d12a4b0ddbd4d2e41 SHA512 a62637e30a1f30b5eb8edf649e848a24e52fc00b3064cfae1fb13c94620aba00719fbc7b143e1fc8400794c2ca11bc715f031bb38e0f98b40459d98548ea6c79 +DIST thunderbird-140.14.0esr-ms.xpi 352181 BLAKE2B 97547659d087052fa3de1fa095589df3ef477a48186b90e7e41d67cf8f763dcdb6e280bf5dec3e81c37643d93b14852e2b2140b81b4642863bb13a36ca21297d SHA512 52bbb230bf9910efb97bc2facd9644ad815422000bc46063e5ec323f7e13469972ee97ac235a39a479c880cb3178b5d19179d04e55c8a3ef1c395f6906a1488e +DIST thunderbird-140.14.0esr-nb-NO.xpi 476124 BLAKE2B e46e9bf23afd644bd17b9ab32a724703ff8eacba5dc0e77f237bdb956a69f606a8711a8e3438ccbb97862e21936555ec259289390e187278ea6f8a38ecc9e96c SHA512 6446d7ac08e7d3c37c0a51e8d0de67c784f3e5c2ece7e52235e495e31ee4bcef9b6d4a9cdd648af11fa384684951eaafc32874e0cc3e7a87417735f4d25b4ff2 +DIST thunderbird-140.14.0esr-nl.xpi 482119 BLAKE2B de254973a83f718d28d6a515bb97f911731060dc1879e18f0de50872a40d108bd8f484a1a45413cc54daac5fb63addd1010bb5dfc97f379b27cbf0def163882c SHA512 d4ef35002dab2091c9969a9913e5292811535343cf687db091465ac65048d57ce39d84b3ac1d4a11326f8dea57a2483e4345ebbadaeb11b54a2518250742d2a8 +DIST thunderbird-140.14.0esr-nn-NO.xpi 479762 BLAKE2B 18df0025256e2a6bb7d0b2b80d2c44d9b6a47654176fcefcfa4ba9455af28987357b3af59a4e7c6a0dcc1e5b41c684cfd6f8dd38938a152f86825dbd2713382b SHA512 744eef943d0f5f182b848c4f334b62886a2776799209994ced20e53226f8eaacadf2d324bacaff45dfddda65cd9d51d1745d9b0b99bce02433591024c97582f4 +DIST thunderbird-140.14.0esr-pa-IN.xpi 435734 BLAKE2B 3cdb6f3d35226eac2cc881ea6dfb90c06f143c91a1642fbade3f6e54ce35cf64e7c89bdbed548756adb4647b1de51314ca450ee6aba26d9602da01346d7ba83f SHA512 3cf2fa70543ef73991abc6011f0471cdb19c6c9d9f2ac0bf705a88982ff14bb9cb9b625db2abcad835b3616f605750b959fb8da657aa86d15a51138161d494c5 +DIST thunderbird-140.14.0esr-pl.xpi 515611 BLAKE2B 2ba522aa9ea65f37dbb4a1dd12cb6214867291ffe31d4cd3563ac005febebd0f98d70f8045726bab339f359ea49ebf36cabff46403d9cbbe09e38ef090fc2f7a SHA512 64147cf2bfeb12bdbcb3fa57a637d7af3602283a32065ac122641c7e89c6de2d8ec41bc1f68ef34ef1104dce87cff67c51e143b359beec6ab3dbfd2d88197627 +DIST thunderbird-140.14.0esr-pt-BR.xpi 490167 BLAKE2B 0ba40aec1a6e8b34fc2adae27e6040b6bda4b70e44394cf4f910669392b6604e503a677fbbfdd37eb918ed6e5e9d3ad7b9b713ac46a19172a7fa559c26e8b71c SHA512 1f7065077e48604dd4f01e041b5b87f861920b6e05b908bd62d23ed8cc61ad545f00c00dba532f0d6cd4571dfd258abc4a5c4fd85592e7e7babc25965f2ce48f +DIST thunderbird-140.14.0esr-pt-PT.xpi 494211 BLAKE2B 68506ecd647c3cbec2aeddcbdc32e99544bf92c836849654a433ea484f0f8a2be96628765ebe57b2c83698634f869f164fc7c6663110eb8c5f43b20e112f5962 SHA512 89901259607d2a89ba6c1e03beb26794d3942fca68474e4b3613c6e749af1158ec8ecee67e6401c5e29426f31a8d6cd49b48becf195d06bd2f917bb3aae2d8e4 +DIST thunderbird-140.14.0esr-rm.xpi 487885 BLAKE2B 05aee984145fdbc16aa7f93ee08543fc0ee989079048b97100b3af0ae127ef6b22f944bb7a7c4effa753701a5a9bc26dd1e0f9eb94a16032788ff9d5dc5e5a50 SHA512 477c526e60631f669b6573b66b9cc804ef68adeba3b69448b39cb4c9974d08195041e2dbfe41fddaf6e29d36e62342bc43bbf88cdee2134c159b7ea7fc970fa3 +DIST thunderbird-140.14.0esr-ro.xpi 501096 BLAKE2B 0de951025eac6e22fea8be26212b77742a8dac38d1d683f7a8a8bf516dac808a8233d5d70f3d26e4b0e79751e57e8634a240a1ed3d9dc2c3c50bb90efd8c7b8f SHA512 ad33842df51a03e71efe0f07cc6c46a4063acf8d54ad882903097f36ca54624c66c8bcb9c203f1b7916d5bcc973bcc7c912b6f0910528a908c23006bc69367a2 +DIST thunderbird-140.14.0esr-ru.xpi 593344 BLAKE2B e22b171077266ae06f5dc59cc9fadaa3652baa3c5bdc112c51fb8ddb262b261f99c41b5aad93cb1a461231ac6aa0fc4a93b71535808cb7e8c0d99063fd898ee2 SHA512 d92a139c55bcf3f8fe65ab847d01a4fd3ab3fc75dcd3fa93fb539d205f3be6ff0daf31e0bee6b0938a72d93ad0a0bb5682f44a86a8cb3eddac709f45a443fa01 +DIST thunderbird-140.14.0esr-sk.xpi 519392 BLAKE2B bc7c6b2ec7ee293c91e4148ddb3a0e434b757238f4978aec9d33924460f469e4369f36190f6ff29c434460a333a2249264c05f3aef6bc05ca72b3fdc87c2d066 SHA512 17f7aae4c665f1193d822a55c162f5c96ae441b56a05ae873073e6aa3167f52d318bd7cfe0842328d90754b0476120093696171c4d8b5580613896605018f897 +DIST thunderbird-140.14.0esr-sl.xpi 485965 BLAKE2B afc25ccae100f062bff42a5e81ff1fbc15b59262bf86f3a6a93a40a97a523521800a9b08673762c23a6570ad9eea612debff4ef84f1b05e096875e3775384dfc SHA512 ee1246fb3019ae9d4502574287c9e18e5555ba1043d66232f375f30fb165a6f3a2a33af77700d42f033da2b7d210c4cf1187176a44c8bdc039a2e8d885dc6514 +DIST thunderbird-140.14.0esr-sq.xpi 506282 BLAKE2B 36b13e41bdf5c0d5a605d8b642d17a95cab9bbb8ee81b94013c2193c65a1f304082fdacce33c38eff15ab8820ae7f5a37f9509d0d6272f246eb8675b07587408 SHA512 e05c5a080b21b6d58f75bd72220cf683f12bc029904ea963045a5b3c16c6973127983502be20f8e1e3e1aa51345e21c525706460bdd2e88997d19cf762206265 +DIST thunderbird-140.14.0esr-sr.xpi 533249 BLAKE2B 15c4a767748f640e0327468b98d61b8636cee1dfd74ecd514c8eb62779d4e01ceb7034f8229503dc2177252599f4b827b6ba288dcd11e1b3a57e4759c8a75ac4 SHA512 240df4137c1ecbe64e61b7e364644618c32035d49cf450d769b4b781c9cab27343a49bbb5c6e03e1b6455df02f261c064fc38e4f3d53c12041bab9ec60e64e9c +DIST thunderbird-140.14.0esr-sv-SE.xpi 484418 BLAKE2B 780be0540c33932ee6d3707502b0d52567251f697ce0a6c4b739df2c72f453cbeca0bd89aa26f2bdc236bc4dab55685ee653a8d5a29aead112acf4e09523b2aa SHA512 9635317dbdbf9a8c0088179341570af01a0b171318601f78f78bc93de5bbc91df3b634e7b99982e940270c1e212b7a36e4e89cdc16912717da8af137cc66e4c6 +DIST thunderbird-140.14.0esr-th.xpi 569105 BLAKE2B 684eff7b15d6a689f82b52f1718962cc6724ef77952257ddc0eda165743a1050812d25c3fd605fc828e4dba87eb635a6b20e44c56c032e9d73145c869b0f3e73 SHA512 b2aa4dd6ae84665418a858dec934c401ee8e9fbba61d421f5fdde98da21a9e42707a39cb434839f8a9e82602559b64ef641f02b26464422dd13b6f079ced1a4d +DIST thunderbird-140.14.0esr-tr.xpi 496304 BLAKE2B 361a08b66788a37d78350435b943edce02a0c05a1393407efb60f73e72c0fdb1cc34003922ec207fc94de4a08058fab0bc6af132f22644e49aafdab916624cb0 SHA512 35112224e5048e0feecd1e8338e4ea766437ac38cedd5e2080d0bcee8d1287728c4bfb34825b7a515a0aa93c12dbbcb877168ec1bcbb9cbf1604df2c5f489c86 +DIST thunderbird-140.14.0esr-uk.xpi 582153 BLAKE2B e01b28c2bffa9f284d5e4516a8da6b7e2d397a36f937a6097b8cf706c7599e761ec6bd9dd697b7381b1ded7ec7256cdceefa0f859ada62c2c45b65e46f11fd84 SHA512 87d678f1544bb445692d4eb187371d18c1b8b0bf68578604e00cd0dc868ef114c2490d14de355861a90062822ae3fed110b74d8d1a2ada6eaa006ba392873c47 +DIST thunderbird-140.14.0esr-uz.xpi 355269 BLAKE2B ff1d30157bb7e95ddc15b7def236795d4bbb896669474a13c26920c823e1bddbdd0ee5e3852218323d69b9d4d4d0f25c29603ac488c7eb68c1db46bceeeace29 SHA512 59cb037d9291443da721b74df949975404e449f3ff60bcdf88cfaa882cd3f6c5cbf74604dfdfef0805d0a859ede2fcbbd0e6489bba69a4c33ea06384b6ec7ac5 +DIST thunderbird-140.14.0esr-vi.xpi 518886 BLAKE2B 52f7dd60a423352f598016af6acbeeab2b7cbb14d0058c2e56d4bf9ac8cd53fda64fb898d9c8781b9d5e770dc0bde25531bca3cc0de0fbc9954a5ded918a2af1 SHA512 2c3e0d9a6fca28814b3298c3cd8b5ac95962b90506f7d28c07eed50d55f338e84a76b7b5f3ff30cfedfc326a9247e7b8b044c747c3a0d619aa44071f6f9c7409 +DIST thunderbird-140.14.0esr-zh-CN.xpi 507848 BLAKE2B 17eee8de180478c38c1bfd3a33adb2216afde7be256409cbd265aa61d8de368ff61461c8a1d45529b11db023ac698eb5d06167af59aea03e24b2ec8679da2c0c SHA512 d57e6d2a1ac3a9506abf2b75d3e496bee511c04c9de147b991b8b5310df307d872c303b3d6c680a3db42100b3e4e29d8f7fb234aa95b60ce00d23938800842e5 +DIST thunderbird-140.14.0esr-zh-TW.xpi 511432 BLAKE2B dea117552199738f3982ebb636531828518162e8f352f89b711b9352fd64ed69fd72d20878bcea120ac3493f8eb90ae5715981fb36d815e75c2131631618aa04 SHA512 673dbae24ff5ada4e94ba8f8008d020ab904c318f2a06155d80e0fe9e9c9fc77c0963fe5a21d23fb44df5bbb9c37108e8953fc1f4f5550fecf32f3edf31fdfac +DIST thunderbird-140.14.0esr.source.tar.xz 748548316 BLAKE2B a56c91c7b3a6b04d232fd56ae69a60aec74067e77e83aad34410d781ed150324c30e9a9baa3198b5e33bc2e2065b66bf291951b1349b5884940f7a0cb58cd8cb SHA512 4c95b1ca3fc7f6429b2360a7e732635bdfb60927622a7da4d8af9ca2abd550611b91763c587cddad5d51c0dd4e905ba8e106da3cd21591a1bec3dba1b9a2502d DIST thunderbird-153.0.1.source.tar.xz 940115036 BLAKE2B d7852c2d1535cceec5e17524baf63e6a854e181e8e95031f6216b704c0a2140863a326b400deeb0608b247c5fafd4599a623b61593e86c748e515f56a2b2d80e SHA512 d69e6c8fd32742cf21752f27bac918eb2234989ae19ca36b5cfd131213c356924d3d48ef9d54c3a256cf5139eb7c38be5f1d1bd9cd2ee7ffccf12b953f3f5d2a DIST thunderbird-153.0.2.source.tar.xz 938263468 BLAKE2B cfbdbdb3a4954559f03c2083d83a1d7c38e18f621e70f236f4085d949530d5642def70cc47e414fbd39fac8ec71ab9b5836789fbabc6da019a36a9d11d646bc4 SHA512 870d7073919a6dd6357ed0f2caea11ce4374123f4bb99e599ae33956dfe81d1f7cb4b1ef77f85315d843816f9b714d33e71ae355e095a6c7d577b5dea2946844 DIST thunderbird-153.0.3.source.tar.xz 939109308 BLAKE2B 5d4559e6b029bc2c92e026b825e95a9c1041f2820ff007149eb095f69df4a77f53d7f2cd246cb40d95ad49a411b8f78c62fa2c768c3cbc0f8067d5ccb323ea9a SHA512 6a9271af8473fa6679d4943a35fab0a335e8eb736aebfab4d79e250578faf6090cda19e80708487bec7c2221242b059072dda9ca817478a6d76556594972202b diff --git a/mail-client/thunderbird/thunderbird-140.14.0.ebuild b/mail-client/thunderbird/thunderbird-140.14.0.ebuild new file mode 100644 index 0000000000000..dcfeaa6de6d3b --- /dev/null +++ b/mail-client/thunderbird/thunderbird-140.14.0.ebuild @@ -0,0 +1,1168 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +FIREFOX_PATCHSET="firefox-140esr-patches-13t.tar.xz" +FIREFOX_LOONG_PATCHSET="firefox-139-loong-patches-02.tar.xz" + +LLVM_COMPAT=( 19 20 21 ) + +PYTHON_COMPAT=( python3_{12..14} ) +PYTHON_REQ_USE="ncurses,sqlite,ssl" + +RUST_MIN_VER="1.82.0" +RUST_MAX_VER="1.94.1" + +RUST_NEEDS_LLVM=1 + +WANT_AUTOCONF="2.1" + +VIRTUALX_REQUIRED="manual" + +# Thunderbird will have separate release and esr channels, matching Firefox's rapid and esr. +MOZ_ESR=yes + +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 check-reqs desktop eapi9-ver flag-o-matic gnome2-utils linux-info llvm-r1 \ + multiprocessing optfeature pax-utils python-any-r1 rust toolchain-funcs virtualx xdg + +DESCRIPTION="Thunderbird Mail Client" +HOMEPAGE="https://www.thunderbird.net/" + +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[@]} + loong? ( + https://dev.gentoo.org/~xen0n/distfiles/www-client/${MOZ_PN}/${FIREFOX_LOONG_PATCHSET} + )" +S="${WORKDIR}/${PN}-${PV%_*}" + +if [[ -n ${MOZ_ESR} ]] ; then + SLOT="0/esr" +else + SLOT="0/stable" +fi + +LICENSE="MPL-2.0 GPL-2 LGPL-2.1" +KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~x86" + +IUSE="+clang debug eme-free hardened hwaccel jack libproxy pgo pulseaudio selinux sndio" +IUSE+=" +system-av1 +system-harfbuzz +system-icu +system-jpeg +system-libevent +system-libvpx" +IUSE+=" system-pipewire system-png +system-webp wayland wifi +X" + +# Thunderbird-only USE flags. +IUSE+=" +system-librnp" + +REQUIRED_USE="|| ( X wayland ) + debug? ( !system-av1 )" + +TB_ONLY_DEPEND="selinux? ( sec-policy/selinux-thunderbird ) + !system-librnp? ( dev-libs/jsoncpp ) + system-librnp? ( >=dev-util/librnp-0.17.1 )" +BDEPEND="${PYTHON_DEPS} + $(llvm_gen_dep ' + llvm-core/clang:${LLVM_SLOT} + llvm-core/llvm:${LLVM_SLOT} + clang? ( + llvm-core/lld:${LLVM_SLOT} + pgo? ( llvm-runtimes/compiler-rt-sanitizers:${LLVM_SLOT}[profile] ) + ) + ') + app-alternatives/awk + app-arch/unzip + app-arch/zip + >=dev-util/cbindgen-0.29.4 + net-libs/nodejs + virtual/pkgconfig + 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 + ) + !X? ( + gui-wm/tinywl + x11-misc/xkeyboard-config + ) + )" +COMMON_DEPEND="${TB_ONLY_DEPEND} + >=app-accessibility/at-spi2-core-2.46.0:2 + dev-libs/glib:2 + dev-libs/libffi:= + >=dev-libs/nss-3.112.5 + >=dev-libs/nspr-4.36 + media-libs/alsa-lib + media-libs/fontconfig + media-libs/freetype + media-libs/mesa + media-video/ffmpeg + sys-apps/dbus + virtual/zlib:= + virtual/freedesktop-icon-theme + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/libdrm + x11-libs/pango + x11-libs/pixman + 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-76.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-pipewire? ( >=media-video/pipewire-1.4.7-r2:= ) + system-png? ( >=media-libs/libpng-1.6.58:0=[apng] ) + system-webp? ( >=media-libs/libwebp-1.1.0:0= ) + wayland? ( + >=media-libs/libepoxy-1.5.10-r1 + x11-libs/gtk+:3[wayland] + ) + wifi? ( + kernel_linux? ( + || ( + net-misc/networkmanager + net-misc/connman[networkmanager] + ) + ) + ) + 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/libXrandr + x11-libs/libxcb:= + )" +RDEPEND="${COMMON_DEPEND} + jack? ( virtual/jack )" +DEPEND="${COMMON_DEPEND} + X? ( + x11-base/xorg-proto + x11-libs/libICE + x11-libs/libSM + )" + +llvm_check_deps() { + if ! has_version -b "llvm-core/clang:${LLVM_SLOT}" ; then + einfo "llvm-core/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 "llvm-core/lld:${LLVM_SLOT}" ; then + einfo "llvm-core/lld:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 + return 1 + fi + fi + + if use pgo ; then + if ! has_version -b "=llvm-runtimes/compiler-rt-sanitizers-${LLVM_SLOT}*[profile]" ; then + einfo "=llvm-runtimes/compiler-rt-sanitizers-${LLVM_SLOT}*[profile] is missing!" >&2 + einfo "Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 + return 1 + 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}" +} + +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' + + 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 + # Ensure we have enough disk space to compile + if use pgo || use debug ; then + CHECKREQS_DISK_BUILD="14300M" + elif tc-is-lto ; then + CHECKREQS_DISK_BUILD="10600M" + else + CHECKREQS_DISK_BUILD="7400M" + fi + + check-reqs_pkg_pretend + fi +} + +pkg_setup() { + + # Get LTO from environment; export after this phase for use in src_configure (etc) + use_lto=no + + if [[ ${MERGE_TYPE} != binary ]] ; then + + if tc-is-lto; then + use_lto=yes + # LTO is handled via configure + filter-lto + fi + + if use pgo ; then + if ! has userpriv ${FEATURES} ; then + eerror "Building ${PN} with USE=pgo and FEATURES=-userpriv is not supported!" + fi + fi + + if [[ ${use_lto} = yes ]] ; then + # -Werror=lto-type-mismatch -Werror=odr are going to fail with GCC, + # bmo#1516758, bgo#942288 + filter-flags -Werror=lto-type-mismatch -Werror=odr + fi + + if use pgo || use debug ; then + CHECKREQS_DISK_BUILD="14300M" + elif [[ ${use_lto} == "yes" ]] ; then + CHECKREQS_DISK_BUILD="10600M" + else + CHECKREQS_DISK_BUILD="7400M" + fi + + check-reqs_pkg_setup + llvm-r1_pkg_setup + rust_pkg_setup + 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 + + # Clear tons of conditions, since PGO is hardware-dependant. + addpredict /dev + 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 + + export use_lto +} + +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} == "yes" ]]; then + rm -v "${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch || die + fi + + # 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" + use loong && eapply "${WORKDIR}/firefox-loong-patches" + + # ICU's subslot change should trigger rebuild on Firefox if it is updated 77->78. + if use system-icu && has_version ">=dev-libs/icu-78.1" ; then + eapply "${FILESDIR}/firefox-146.0.1-icu78.patch" # bgo#967261 + fi + + # 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" + elif use arm64 ; then + export RUST_TARGET="aarch64-unknown-linux-musl" + elif use loong; then + # Only the LP64D ABI of LoongArch64 is actively supported among + # the wider Linux ecosystem, so the assumption is safe. + export RUST_TARGET="loongarch64-unknown-linux-musl" + elif use ppc64 ; then + export RUST_TARGET="powerpc64le-unknown-linux-musl" + elif use riscv ; then + # We can pretty safely rule out any 32-bit riscvs, but 64-bit riscvs also have tons of + # different ABIs available. riscv64gc-unknown-linux-musl seems to be the best working + # guess right now though. + elog "riscv detected, forcing a riscv64 target for now." + export RUST_TARGET="riscv64gc-unknown-linux-musl" + else + die "Unknown musl chost, please post a new bug with your rustc -vV along with emerge --info" + fi + fi + + # Make LTO respect MAKEOPTS + sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ + "${S}"/build/moz.configure/lto-pgo.configure || die "Failed sedding multiprocessing.cpu_count" + + sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ + "${S}"/third_party/chromium/build/toolchain/get_cpu_count.py || die "Failed sedding multiprocessing.cpu_count" + + sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ + "${S}"/third_party/python/gyp/pylib/gyp/input.py || die "Failed sedding multiprocessing.cpu_count" + + # 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 checksums from cargo crates we've manually patched. + # moz_clear_vendor_checksums xyz + # glslopt: bgo#969412, bgo#969871 + moz_clear_vendor_checksums glslopt + # TB-specific + sed -i \ + -e 's/\("files":{\)[^}]*/\1/' \ + "${S}"/comm/third_party/rust/glslopt/.cargo-checksum.json || die + + # 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" + + # Configuration tests expect llvm-readelf output, bug 913130 + READELF="llvm-readelf" + + tc-export CC CXX LD AR AS NM OBJDUMP RANLIB READELF 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-disk-remnant-avoidance \ + --disable-geckodriver \ + --disable-install-strip \ + --disable-legacy-profile-creation \ + --disable-parental-controls \ + --disable-strip \ + --disable-tests \ + --disable-updater \ + --disable-valgrind \ + --disable-wmf \ + --enable-dbus \ + --enable-js-shell \ + --enable-negotiateauth \ + --enable-new-pass-manager \ + --enable-official-branding \ + --enable-packed-relative-relocs \ + --enable-release \ + --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-ffi \ + --with-system-gbm \ + --with-system-libdrm \ + --with-system-nspr \ + --with-system-nss \ + --with-system-pixman \ + --with-system-zlib \ + --with-toolchain-prefix="${CHOST}-" \ + --with-unsigned-addon-scopes=app,system + + # Set update channel + local update_channel=release + [[ -n ${MOZ_ESR} ]] && update_channel=esr + mozconfig_add_options_ac '' --enable-update-channel=${update_channel} + + # Whitelist to allow unkeyworded arches to build with "--disable-rust-simd" by default. + if use amd64 || use arm64 || use loong ; 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 loong || use ppc64 || use riscv ; then + mozconfig_add_options_ac '' --disable-sandbox + else + mozconfig_add_options_ac '' --enable-sandbox + fi + + # riscv-related options, bgo#947337, bgo#947338 + if use riscv ; then + mozconfig_add_options_ac 'Disable JIT for RISC-V 64' --disable-jit + mozconfig_add_options_ac 'Disable webrtc for RISC-V' --disable-webrtc + fi + + if [[ -s "${S}/api-google.key" ]] ; then + local key_origin="Gentoo default" + if [[ $(cat "${S}/api-google.key" | md5sum | awk '{ print $1 }') != 709560c02f94b41f9ad2c49207be6c54 ]] ; then + key_origin="User value" + fi + + mozconfig_add_options_ac "${key_origin}" \ + --with-google-safebrowsing-api-keyfile="${S}/api-google.key" + else + einfo "Building without Google API key ..." + fi + + if [[ -s "${S}/api-location.key" ]] ; then + local key_origin="Gentoo default" + if [[ $(cat "${S}/api-location.key" | md5sum | awk '{ print $1 }') != ffb7895e35dedf832eb1c5d420ac7420 ]] ; then + key_origin="User value" + fi + + mozconfig_add_options_ac "${key_origin}" \ + --with-google-location-service-api-keyfile="${S}/api-location.key" + else + einfo "Building without Location API key ..." + fi + + if [[ -s "${S}/api-mozilla.key" ]] ; then + local key_origin="Gentoo default" + if [[ $(cat "${S}/api-mozilla.key" | md5sum | awk '{ print $1 }') != 3927726e9442a8e8fa0e46ccc39caa27 ]] ; then + key_origin="User value" + fi + + mozconfig_add_options_ac "${key_origin}" \ + --with-mozilla-api-keyfile="${S}/api-mozilla.key" + else + einfo "Building without Mozilla API key ..." + fi + + mozconfig_use_with system-av1 + mozconfig_use_with system-harfbuzz + mozconfig_use_with system-harfbuzz system-graphite2 + mozconfig_use_with system-icu + mozconfig_use_with system-jpeg + mozconfig_use_with system-libevent + mozconfig_use_with system-libvpx + mozconfig_use_with system-pipewire + 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 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" + + # Increase the FORTIFY_SOURCE value, #910071. + sed -i -e '/-D_FORTIFY_SOURCE=/s:2:3:' "${S}"/build/moz.configure/toolchain.configure || die + 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-x11-only + fi + + if [[ ${use_lto} == "yes" ]] ; then + if use clang ; then + # Upstream only supports lld or mold when using clang. + if tc-ld-is-mold ; then + # mold expects the -flto line from *FLAGS configuration, bgo#923119 + append-ldflags "-flto=thin" + 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 + + 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 + + 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 + + mozconfig_use_enable debug + if use debug ; then + mozconfig_add_options_ac '+debug' --disable-optimize + mozconfig_add_options_ac '+debug' --enable-jemalloc + 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*' + + # elf-hack + # Filter "-z,pack-relative-relocs" and let the build system handle it instead. + if use amd64 || use x86 ; then + filter-flags "-z,pack-relative-relocs" + + if tc-ld-is-mold ; then + # relr-elf-hack is currently broken with mold, bgo#916259 + mozconfig_add_options_ac 'disable elf-hack with mold linker' --disable-elf-hack + else + mozconfig_add_options_ac 'relr elf-hack' --enable-elf-hack=relr + fi + elif use loong || use ppc64 || use riscv ; then + # '--disable-elf-hack' is not recognized on loong/ppc64/riscv, + # see bgo #917049, #930046 + :; + else + mozconfig_add_options_ac 'disable elf-hack on non-supported arches' --disable-elf-hack + fi + + if ! use elibc_glibc; then + mozconfig_add_options_ac '!elibc_glibc' --disable-jemalloc + fi + + # System-av1 fix + use system-av1 && append-ldflags "-Wl,--undefined-version" + + # 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 + + export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE="none" + + # Disable notification when build system has finished + export MOZ_NOSPAM=1 + + # Portage sets XARGS environment variable to "xargs -r" by default which + # breaks build system's check_prog() function which doesn't support arguments + mozconfig_add_options_ac 'Gentoo default' "XARGS=${EPREFIX}/usr/bin/xargs" + + # Set build dir + mozconfig_add_options_mk 'Gentoo default' "MOZ_OBJDIR=${BUILD_DIR}" + + # Show flags we will use + einfo "Build BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}" + einfo "Build CFLAGS:\t\t${CFLAGS:-no value set}" + einfo "Build CXXFLAGS:\t\t${CXXFLAGS:-no value set}" + einfo "Build LDFLAGS:\t\t${LDFLAGS:-no value set}" + einfo "Build RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}" + + # Handle EXTRA_CONF and show summary + local ac opt hash reason + + # Apply EXTRA_ECONF entries to $MOZCONFIG + if [[ -n ${EXTRA_ECONF} ]] ; then + IFS=\! read -a ac <<<${EXTRA_ECONF// --/\!} + for opt in "${ac[@]}"; do + mozconfig_add_options_ac "EXTRA_ECONF" --${opt#--} + done + fi + + echo + echo "==========================================================" + echo "Building ${PF} with the following configuration" + grep ^ac_add_options "${MOZCONFIG}" | while read ac opt hash reason; do + [[ -z ${hash} || ${hash} == \# ]] \ + || die "error reading mozconfig: ${ac} ${opt} ${hash} ${reason}" + printf " %-30s %s\n" "${opt}" "${reason:-mozilla.org default}" + done + echo "==========================================================" + echo + + ./mach configure || die +} + +src_compile() { + local virtx_cmd= + + if [[ ${use_lto} == "yes" ]] && tc-ld-is-mold ; 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 llvm-core/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-r1.js gentoo-prefs.js + + local GENTOO_PREFS="${ED}${PREFS_DIR}/gentoo-prefs.js" + + # 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 + + # 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 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 exec_command="${PN}" + local icon="${PN}" + local use_wayland="false" + + if [[ -n ${MOZ_ESR} ]] ; then + local desktop_filename="${PN}-esr.desktop" + else + local desktop_filename="${PN}.desktop" + fi + + 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:@DEFAULT_WAYLAND@:${use_wayland}:" \ + "${ED}/usr/bin/${PN}" || die +} + +pkg_postinst() { + xdg_pkg_postinst + + if ver_replacing -lt 136.0 ; then + elog "In this version of Thunderbird, upstream introduced an in-app notification" + elog "system. Setting pref 'mail.inappnotifications.enabled' to false and nullifying" + elog "'mail.inappnotifications.url' may help you avoid these messages, if you don't" + elog "wish to receive them." + 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/net-libs/libssh/libssh-0.11.5.ebuild b/net-libs/libssh/libssh-0.11.5.ebuild index c767ee730a2ec..3121cb2044b02 100644 --- a/net-libs/libssh/libssh-0.11.5.ebuild +++ b/net-libs/libssh/libssh-0.11.5.ebuild @@ -18,7 +18,7 @@ else https://www.libssh.org/files/$(ver_cut 1-2)/${P}.tar.xz verify-sig? ( https://www.libssh.org/files/$(ver_cut 1-2)/${P}.tar.xz.asc ) " - KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc ~x86" + KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" BDEPEND="verify-sig? ( sec-keys/openpgp-keys-libssh )" fi @@ -117,6 +117,9 @@ multilib_src_configure() { -DWITH_SERVER=$(usex server) -DWITH_SFTP=$(usex sftp) -DBUILD_STATIC_LIB=$(usex static-libs) + # libtomcrypt tries to open /dev/urandom -> sandbox issue, but we don't + # do client/server testing yet anyway (bug #964307) + -DDROPBEAR_EXECUTABLE= # TODO: try enabling {CLIENT,SERVER}_TESTING -DUNIT_TESTING=$(usex test) -DWITH_ZLIB=$(usex zlib) diff --git a/net-libs/libssh/libssh-0.12.2.ebuild b/net-libs/libssh/libssh-0.12.2.ebuild index f1924d840795b..8e07e4abb03fb 100644 --- a/net-libs/libssh/libssh-0.12.2.ebuild +++ b/net-libs/libssh/libssh-0.12.2.ebuild @@ -125,6 +125,9 @@ multilib_src_configure() { -DWITH_SFTP=$(usex sftp) -DBUILD_STATIC_LIB=$(usex static-libs) + # libtomcrypt tries to open /dev/urandom -> sandbox issue, but we don't + # do client/server testing yet anyway (bug #964307) + -DDROPBEAR_EXECUTABLE= # TODO: Still needs some work, some tests hang and some fail # Would need net-misc/openssh and net-misc/putty too #-DCLIENT_TESTING=$(multilib_native_usex test) diff --git a/net-libs/libssh/libssh-9999.ebuild b/net-libs/libssh/libssh-9999.ebuild index f1924d840795b..8e07e4abb03fb 100644 --- a/net-libs/libssh/libssh-9999.ebuild +++ b/net-libs/libssh/libssh-9999.ebuild @@ -125,6 +125,9 @@ multilib_src_configure() { -DWITH_SFTP=$(usex sftp) -DBUILD_STATIC_LIB=$(usex static-libs) + # libtomcrypt tries to open /dev/urandom -> sandbox issue, but we don't + # do client/server testing yet anyway (bug #964307) + -DDROPBEAR_EXECUTABLE= # TODO: Still needs some work, some tests hang and some fail # Would need net-misc/openssh and net-misc/putty too #-DCLIENT_TESTING=$(multilib_native_usex test) diff --git a/sci-mathematics/maxima/Manifest b/sci-mathematics/maxima/Manifest index 91f310e3deac3..279e65368f8bc 100644 --- a/sci-mathematics/maxima/Manifest +++ b/sci-mathematics/maxima/Manifest @@ -1,3 +1,3 @@ DIST maxima-5.47.0.tar.gz 47939891 BLAKE2B 46f97c81ff8fd227d04759103ac683c034820e29b7ecd78ad76e3a43a8911d29d1a20007fe4ccb37da88eaa3888d71c8b98a55bc4e692cf72b154391e91a4533 SHA512 953b98336eb086069edaa917981372450ce165dedd7a7b39b181d3f2d8b089551eea943e0084148eaa3ded395dcba9135509d3d11d9132ab7a3ad8bb800d3a11 -DIST maxima-5.48.1.tar.gz 46150379 BLAKE2B 9fe39e7a8769fe2eba14615ff5805c3d180118e9be97c4910e7c569916e44932aa05c785841ab97564d0a0a080b287fb092ef3ecfbba169a3c3f374496facada SHA512 d7fbcee59d7204e8a6bc0deeaa94f9cfd7cf22ae9e63c07769ddaade253c3403b8158d80258edf44a4b25993ebcbcae48b6d8e34def028e1df40fdb1b9ee3f8d DIST maxima-5.49.0.tar.gz 46501040 BLAKE2B 96ec366ed8141a735237820d93a17097acefc781fb01601837470f0b0c9d950da1c1deccf1e3cc0dffa2ede4be5ae37cd3efeb76cac5e564b8ab11c526d84bd0 SHA512 8cefd3f786f43b30e0c6bbf62adbb66ecb0454b238a90b40377e8451618b1668f01c6d3204537d52ab9de1684d6db1e88958c88561e60aca7bbb0c0c470b5436 +DIST maxima-5.50.0.tar.gz 46496212 BLAKE2B 34ead8056b5d2c4f5ae1d0c90945ec39cdac3666ac1363e769d06b303b3ca7acc31cca88d0a32e2f268114fdce5461efeb14d470cc94c05b89563f71c13fd840 SHA512 c790c6a0b955827a72448ae272f04248357c62ad2fa5d1ea5e7407cd70c95453273638ce8ccc5f58fb58c163cfda37a3641045f581ea5a6dbd234865b5f655e6 diff --git a/sci-mathematics/maxima/maxima-5.48.1-r1.ebuild b/sci-mathematics/maxima/maxima-5.50.0.ebuild similarity index 99% rename from sci-mathematics/maxima/maxima-5.48.1-r1.ebuild rename to sci-mathematics/maxima/maxima-5.50.0.ebuild index bb562ca28cd89..7c3f5f0c771cd 100644 --- a/sci-mathematics/maxima/maxima-5.48.1-r1.ebuild +++ b/sci-mathematics/maxima/maxima-5.50.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{10..13} ) +PYTHON_COMPAT=( python3_{11..14} ) inherit autotools elisp-common flag-o-matic python-single-r1 xdg-utils diff --git a/sys-apps/moor/Manifest b/sys-apps/moor/Manifest index f616f5eb88a25..f28c68eef82e5 100644 --- a/sys-apps/moor/Manifest +++ b/sys-apps/moor/Manifest @@ -1,8 +1,2 @@ -DIST moor-2.12.0-deps.tar.xz 1592052 BLAKE2B e729b939b3fb3cd9634ba405f2ffdf6c18c81295695ab88a0fffd95de0282f20474a468acfa99117ffca842da45fe2b51585418d8604edcbd1f34f40262efc95 SHA512 3e066025c49a273bff97e389997a437afce671c63e3825bc9166f1661d0b47a777fccb711e2e358b632e2a9484464f7fb9fe6ccf31cb54c518abea2c285e1eb4 -DIST moor-2.12.0.tar.gz 5316994 BLAKE2B 4194f5747ce55cd89e2592a0d6f07d96f187c9e3d9c0002f1417dcbbbbb2d9b6c6120a83ba216c856ab830910d0bd0024bb449d0abddec11e5466fac49dd77bf SHA512 0f6c9c24f4de6638338f59604c215addbfdd54ab90b73a8bd5a8c8fb037250c42869de6e04e80ec2c797fbcf808eef00367deb687f3dadc6dbefc231d8bfe392 -DIST moor-2.12.3-deps.tar.xz 1592052 BLAKE2B e729b939b3fb3cd9634ba405f2ffdf6c18c81295695ab88a0fffd95de0282f20474a468acfa99117ffca842da45fe2b51585418d8604edcbd1f34f40262efc95 SHA512 3e066025c49a273bff97e389997a437afce671c63e3825bc9166f1661d0b47a777fccb711e2e358b632e2a9484464f7fb9fe6ccf31cb54c518abea2c285e1eb4 -DIST moor-2.12.3.tar.gz 5320628 BLAKE2B f56274da1507c55a31310db684ed8dc544e0bfe5506eaf3a44db7f58246065d1586b326b78fb5e6a5ea9f7a9fe1b660b140dd34e219bff2242e3c00c46d818fc SHA512 d1d21b01bde48cec50c8cc4f09f029b49e30e0a492697419b7a875927a3a41f0104b9f5ecba9783fc8fcb207747ee11085c07b2c3934de2d798508f15c9defe5 DIST moor-2.15.1-deps.tar.xz 2971176 BLAKE2B db132ffe927578c9546041cd3d801e3c2a0ee593278b859e640b11ad6cfc7e7a06594fd0c97c076ba00e42bd40d2237addd324715b5683977d4323f7a5f97acd SHA512 26cf6b58009a170c6b9641af8210cf3cc58a2d7f5df280be2c1ada9883713418d7621f138391feedeed1b9a6abc348f9f73bb18e0f583cf2ac69aeb8ac642a8d DIST moor-2.15.1.tar.gz 5332272 BLAKE2B ed65d0684f771e6f5c29850afcb294d056606aece58f398d18b497651738253a48649b5d5af08d516498bab76d270a549e07b57f653dd2d8563b5d7f997eb2a2 SHA512 41d2b3158d82756f4f895c957eaf1fb9df19188ab0787beccb3127f7527dde6e9f768f96ed69e3aa81785d2dd223f48eba66e14597c23d431e3528c12b7eb81f -DIST moor-2.9.6-deps.tar.xz 1588880 BLAKE2B 1db3ce39036f396dc83a6cc8658f80f5033e5bee4299c2094e50eb5146695fc58a298258d2d01796559cd54a776b03aff5e41217f12cf913765f4a0d6a41db00 SHA512 4d151a5e480fc76f6c3f6dad5d657f23ca368484e163300b4fddb39ebd9ed8ec40227cf6328722dbef714ce6aef3452e67b589610b3ed13b82937be20ae32186 -DIST moor-2.9.6.tar.gz 5306891 BLAKE2B c2c25b9087c3ead44f0f728cae77bbe7436e6cc31c3a10824bd0f9fd1fbf83374b5696a1ddfbc037fda9fa531c69d8464ef04baa75f4660de53fa4c2d756350c SHA512 568fc160ae04f6492a5b7567afb02dbe99c5c0cb15027dac5ea2db2a4e35310fc4bb40a9cb8379eabf942e7ec6551bfc1cdddb679046f9cad7c67fc654acb6dd diff --git a/sys-apps/moor/moor-2.12.0.ebuild b/sys-apps/moor/moor-2.12.0.ebuild deleted file mode 100644 index 7f9062ea2aa44..0000000000000 --- a/sys-apps/moor/moor-2.12.0.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 2023-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit go-env go-module eapi9-ver - -DESCRIPTION="Pager designed to do the right thing without any configuration" -HOMEPAGE="https://github.com/walles/moor" -SRC_URI="https://github.com/walles/moor/archive/refs/tags/v${PV}.tar.gz -> moor-${PV}.tar.gz" -SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/moor/moor-${PV}-deps.tar.xz" - -LICENSE="BSD-2 BSD MIT" -# Dependent licenses -LICENSE+=" Apache-2.0 BSD BSD-2 ISC MIT" -# Dependent licenses -LICENSE+=" Apache-2.0 BSD BSD-2 ISC MIT" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64" -IUSE="test l10n_ru" -RESTRICT="!test? ( test )" - -BDEPEND=" - test? ( - app-arch/bzip2 - app-arch/xz-utils - ) -" - -src_unpack() { - default - - if [[ -d "${WORKDIR}"/vendor ]] ; then - mv "${WORKDIR}"/vendor "${S}"/vendor || die - fi - go-env_set_compile_environment -} - -src_compile() { - # https://github.com/walles/moor/blob/master/build.sh#L28 - ego build -ldflags="-w -X main.versionString=${PV}" -o moor ./cmd/moor -} - -src_test() { - # From test.sh (we don't run that because it has some linting etc) - ego test -timeout 20s ./... -} - -src_install() { - dobin moor - doman moor.1 - einstalldocs -} - -pkg_postinst() { - if use l10n_ru ; then - ewarn "This package does not work out of the box with all Russian locales." - ewarn "If using ru_RU.UTF-8, it will not startup. Please see bug #964663." - fi - - if ver_replacing -lt 2 ; then - ewarn "moar has been renamed to moor, please update any scripts." - fi -} diff --git a/sys-apps/moor/moor-2.12.3.ebuild b/sys-apps/moor/moor-2.12.3.ebuild deleted file mode 100644 index 6e0d51aebe9d8..0000000000000 --- a/sys-apps/moor/moor-2.12.3.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 2023-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit go-env go-module eapi9-ver - -DESCRIPTION="Pager designed to do the right thing without any configuration" -HOMEPAGE="https://github.com/walles/moor" -SRC_URI="https://github.com/walles/moor/archive/refs/tags/v${PV}.tar.gz -> moor-${PV}.tar.gz" -SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/moor/moor-${PV}-deps.tar.xz" - -LICENSE="BSD-2 BSD MIT" -# Dependent licenses -LICENSE+=" Apache-2.0 BSD BSD-2 ISC MIT" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64" -IUSE="test l10n_ru" -RESTRICT="!test? ( test )" - -BDEPEND=" - >=dev-lang/go-1.25.0 - test? ( - app-arch/bzip2 - app-arch/xz-utils - ) -" - -src_unpack() { - default - - if [[ -d "${WORKDIR}"/vendor ]] ; then - mv "${WORKDIR}"/vendor "${S}"/vendor || die - fi - go-env_set_compile_environment -} - -src_compile() { - # https://github.com/walles/moor/blob/master/build.sh#L28 - ego build -ldflags="-w -X main.versionString=${PV}" -o moor ./cmd/moor -} - -src_test() { - # From test.sh (we don't run that because it has some linting etc) - ego test -timeout 20s ./... -} - -src_install() { - dobin moor - doman moor.1 - einstalldocs -} - -pkg_postinst() { - if use l10n_ru ; then - ewarn "This package does not work out of the box with all Russian locales." - ewarn "If using ru_RU.UTF-8, it will not startup. Please see bug #964663." - fi - - if ver_replacing -lt 2 ; then - ewarn "moar has been renamed to moor, please update any scripts." - fi -} diff --git a/sys-apps/moor/moor-2.9.6.ebuild b/sys-apps/moor/moor-2.9.6.ebuild deleted file mode 100644 index b95252b812d24..0000000000000 --- a/sys-apps/moor/moor-2.9.6.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 2023-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit go-env go-module eapi9-ver - -DESCRIPTION="Pager designed to do the right thing without any configuration" -HOMEPAGE="https://github.com/walles/moor" -SRC_URI="https://github.com/walles/moor/archive/refs/tags/v${PV}.tar.gz -> moor-${PV}.tar.gz" -SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/moor/moor-${PV}-deps.tar.xz" - -LICENSE="BSD-2 BSD MIT" -# Dependent licenses -LICENSE+=" Apache-2.0 BSD BSD-2 ISC MIT" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64" -IUSE="test l10n_ru" -RESTRICT="!test? ( test )" - -BDEPEND=" - test? ( - app-arch/bzip2 - app-arch/xz-utils - ) -" - -src_unpack() { - default - - if [[ -d "${WORKDIR}"/vendor ]] ; then - mv "${WORKDIR}"/vendor "${S}"/vendor || die - fi - go-env_set_compile_environment -} - -src_compile() { - # https://github.com/walles/moor/blob/master/build.sh#L28 - ego build -ldflags="-w -X main.versionString=${PV}" -o moor ./cmd/moor -} - -src_test() { - # From test.sh (we don't run that because it has some linting etc) - ego test -timeout 20s ./... -} - -src_install() { - dobin moor - doman moor.1 - einstalldocs -} - -pkg_postinst() { - if use l10n_ru ; then - ewarn "This package does not work out of the box with all Russian locales." - ewarn "If using ru_RU.UTF-8, it will not startup. Please see bug #964663." - fi - - if ver_replacing -lt 2 ; then - ewarn "moar has been renamed to moor, please update any scripts." - fi -}