1 |
commit: 9ab6192a4e2f99ea47a246e84fbff9e54ae82eb8 |
2 |
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 24 06:51:58 2022 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 24 07:02:52 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ab6192a |
7 |
|
8 |
mail-client/thunderbird: add 91.13.0 |
9 |
|
10 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
11 |
|
12 |
mail-client/thunderbird/Manifest | 64 ++ |
13 |
mail-client/thunderbird/thunderbird-91.13.0.ebuild | 1131 ++++++++++++++++++++ |
14 |
2 files changed, 1195 insertions(+) |
15 |
|
16 |
diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest |
17 |
index 876127085e4b..407eaeadcb7a 100644 |
18 |
--- a/mail-client/thunderbird/Manifest |
19 |
+++ b/mail-client/thunderbird/Manifest |
20 |
@@ -194,3 +194,67 @@ DIST thunderbird-91.12.0-vi.xpi 725526 BLAKE2B ee8a25cb9eba7d589c6320397e9552e6a |
21 |
DIST thunderbird-91.12.0-zh-CN.xpi 730901 BLAKE2B 9d183dcfbcd2bc8cfd200c5b9e580ed6c8f79f9185d6e6d2960fe384d5d1cd5a4d1313c5eb3d461c54c68df08140a4057e6423af2c2183167c5af7c96b1d2e72 SHA512 3b6b6a428a492069bac13c8cffc42eac316af2ef7c138a517269f11857393546dff3e3dd242f2ee9730db18630f623086aa58577dad43349844a6f542f260ab2 |
22 |
DIST thunderbird-91.12.0-zh-TW.xpi 731943 BLAKE2B 441081aafebc9bff1ad0a6c8c33cba392854f41b30be59bc614a57ec316d5c0ccae774d3b0c238df3be61c1c072507e09a4cad612259f13145153f33bfd14ffd SHA512 b93fb3cd53646394ace88650ae2384b8b4160e7b60975b068d750e0add4474e926e9f47112432d940b90e90180bfe308c999bc93d06ff56f5d1bdbe8c5320d31 |
23 |
DIST thunderbird-91.12.0.source.tar.xz 404609860 BLAKE2B 960958211bd4661cd36e55aff024ebe800aca867e7a9a5b54de694c4477473360d2422373accc325ca2cf7a3bdc720be427bf281beba2e9ab052fcf2a62ecf67 SHA512 1c0200a84ccc4124127d472713d72c4ff7ece8d61ad120d5c45c732a3ab4f86a2edfea23a8bf26e4739d24956654aec30e7bc59a28af17fbbf10f3d67466649a |
24 |
+DIST thunderbird-91.13.0-af.xpi 561879 BLAKE2B 69a959c61b28e7ee9733db245ffc91ebefa3396c1561b933b1dbfe1135ff88b3c5199be2d29e43e404e63f0016fa05838c7612823727fd061ad8f0407a762d2e SHA512 bd52e0f660db3046c8641038451e439c79f3961df342b69365faa9b8f2fb5d8e165a8b9249989524cd4e0bdc5867c872ff6ddbe5aad1c88bc0a869d4cf16e9c9 |
25 |
+DIST thunderbird-91.13.0-ar.xpi 665731 BLAKE2B 3302223e35bef747a8c04a2cb25c1bdc6482674fff85bd4c6b278ff9be0a1f72615d075e13c185dce6296331bdde42bd487d9fda1f47f8fcad8806dfb9882009 SHA512 b510f1277a4a558f9e2552bccfa6f988c62b47366665c934bb173cb58480104b026f487e1b1d778cd25990a14b2a4b39b6f78852c3d0b220bf31e8f021ece2a0 |
26 |
+DIST thunderbird-91.13.0-ast.xpi 580513 BLAKE2B 811bde79b93aad145f92dd7df9a998622b5d097c13edd6195c67f83bfdd8526dacdd29f35c2a33652997659b68ea2d745714b8b521236e6f6ec91ab324ddf994 SHA512 2f229377f089e383badebc251f40d6fd7171f3c6e4dfaa3eb2cc205cea0de6495f42efd940c6db8976c8c60997229c61b876f428b8a71ca2fc43590ba43c4cf2 |
27 |
+DIST thunderbird-91.13.0-be.xpi 695199 BLAKE2B 4ac56200747c4c2e2ee6dd0628a1694ad0ca68848dd43666cee4e7a7f2191b9eb51db54cb164184bed36d9cca8b803522601785b103fbf02cc35ac435735e164 SHA512 6c2d7fb8b33721c89c9c1a76e54e0d5379f4ef20741476602c566d81614046b61cb0403de324ff598ef43aecf24055b114d5fb851522670d9235389eda476e1e |
28 |
+DIST thunderbird-91.13.0-bg.xpi 690997 BLAKE2B 89d0fa36ce2a399dbe6d0506d3fb82096a3ae6c41462d41c1eec68a5970ff0e2bd16d5409da7fd7e81a9daef74e1b0368957c97bfa2df8d757c9590b12539ba5 SHA512 cf4e4d3a8529112fc160c15af09c5a83497cc8dd79486a099f4d299952a5ee0212f3faf5a968f983f9501fdf25e7bb94a0aeb79880c1cf1c0b56cd98376fe102 |
29 |
+DIST thunderbird-91.13.0-br.xpi 620589 BLAKE2B 520af826cba4ba2dfbf0b65fb806cf65499ce698d763cfa30d6d45733579fb58b54948323195e36aada44a6585e1b03829e9b06fca36a1de7c1e9e86c39030ac SHA512 d2e53985f93df3ac5e31813fb8ca397379672d721e98e8e45fbe70b915959effa942cfa1a45e03fe099bb3ad5f4007e39e93421ae51cd0be7655b3b3744286e4 |
30 |
+DIST thunderbird-91.13.0-ca.xpi 645976 BLAKE2B 798ca07a1796a1142de30f63c2f721a01b7c5152b9d1e0013548b5fe537634301fc3a4472822e3b016aef0537991763295f9cab3c6258b2c8cbd8850b2eeb1bd SHA512 9b71b7c360be2929979b68bbf1884a8d288dbaacf4a4cffaaa634908053f0ec25994754509cb5cef2cb5b94bdc3f9a5f012b946072f687b8024698e48621ee71 |
31 |
+DIST thunderbird-91.13.0-cak.xpi 652066 BLAKE2B af68e109320542932619d261acb4148f59a209496e26132e857d76fed50c052779bf7c994291f778953b6cbd148f96f4181e09e62bcf59d404d1bb3e10f17b80 SHA512 0f9d1aec6b540fec3e598d184daa4709a354594a0d0505e9f6feba6dc71b22b7e8669708056bac99704441540f7b1b6369f8b003056c2976feb24e416a987eb4 |
32 |
+DIST thunderbird-91.13.0-cs.xpi 711938 BLAKE2B 9cc20b0605ec7a252707cdf66569181e57f1a9466cb7d0127c1a9de2eac1a44566daa09d409f978d14ef9a90efbbde8833f8d92d18c3a26a38e7501a8bedeb61 SHA512 91f208a2e25916533d4428d572fb530ef01104bac2f431405a407819a480384b62629756e65b7cd7cf67eaf282352d1554255ea73040f1a1b236645fbe5aea3a |
33 |
+DIST thunderbird-91.13.0-cy.xpi 688890 BLAKE2B 80f553c23af308c91dae7d95801069c92abafc98bb7777a39a102a916ec41d0bd156ba00c9b16e0aa69a9c4fd0958aedd6187bc43df43c810e766db3311542fd SHA512 c68079e9635f1313571fdf15e320ae6ce1e7482dee0cdf63aa8cc7641555ed7021146a03359fee61c7cee153c9818074b7eae6951d43f5b1c169029a9a44a111 |
34 |
+DIST thunderbird-91.13.0-da.xpi 674446 BLAKE2B 529f9e750c0f51878cd4ae206f3a9d110e988ee741628a3eec5a1b42b2c1a402a3bb0f8dda66b0390828d918aa181d00bf0bdc6eda2947a58fde00c51753584b SHA512 25e9fbc88f434c77424fa4688672935f61d6ce1a71876dcd44394c5a20b41664305c810e65ae7bc293d234f358bdbd5b6c1d7dc3424e84812b35f8a76c893907 |
35 |
+DIST thunderbird-91.13.0-de.xpi 697528 BLAKE2B 867b016ad043a5beb8fea124aff852127b8bb5d9c94398074fdc61267737551271d11275e56659a4b109af41db7d7661d9eec463841539fbc1710f73e684c316 SHA512 1295c19b645def5ef7c184e8232d858dcc08a27471f84b40934340e1f9370ae9d92599ac55d5dbfced556918bb8ea19909d42c1a1e2b700bff8d5b616920ac68 |
36 |
+DIST thunderbird-91.13.0-dsb.xpi 724000 BLAKE2B dc591868091508abbf7f4f0b34dc9a84e135e33fd46bceb364b6a4f1b5feea05884737398ae38d1c43afdb524a9b95580f2342808bf3328e54ab45bb569e3b6b SHA512 7b8c80fc42062962fc5c19b122d6bc7e68f8e8693adadccd6adf2b1998870446557c7ab4b7757f80567fc71583863e354830e56e7c35197754cf0f3fe2eadf47 |
37 |
+DIST thunderbird-91.13.0-el.xpi 821181 BLAKE2B 0277eb3f95b6d4e58127fc690b109e4837bb997ea550710e5646004f2c6df513ef5e8706ef8cf36c47e22c6f5bf080cb7809c06d16a19772aced618afe89cc3f SHA512 692888ddda44d4a0f7075f54bec3d8fa9c7c05a6acde39613a1782f00e10642072970be9773ad5b7eeb593ce5c9ab9087fcd24bfbc4bb56ee5e71292e2c875fe |
38 |
+DIST thunderbird-91.13.0-en-CA.xpi 647813 BLAKE2B 6d210d1d8e648ef4f9ebf3d29d9fc42a98b36a02a7980621b41ae8f5c2660fd394b283345d02d00cb8c32a3bce6801498795d4b6a7e8c43151b146b38a3cdab4 SHA512 0ea872bc2b0b853631fcd9dc7e4cd53cc720151f482307d4e5847b9f9ad29ef2540a5d307731be939e55e051e3538184d5aa8d2d9191648369c7fa578f3bcabd |
39 |
+DIST thunderbird-91.13.0-en-GB.xpi 650554 BLAKE2B 98745d0bc1ac535325619c0c81bba7dc84c6c1bd3c6d638b4ed9f6824f02357183eb6456cea871ca6ce5bebb987d7e5d58f60acaf0f34027bcb256a0c3a3c211 SHA512 77691f0ca885aa580be6c117d0ec23311357d91b42a05dfb71cfdbcef68a289404b02add3f814996d7d6f09cc681bbe0db753738bb6dc0ba04fc676f07f755af |
40 |
+DIST thunderbird-91.13.0-es-AR.xpi 700497 BLAKE2B 6d9331ef1325fe6b625e20f7f1ac0c2ecc520003b12c68d4ec1d32cbf7d1e1a6e3a680e5033415ed05922052c78a63e1845760832a4299d8693ee696e80c51a2 SHA512 b07627e5b03b8512c994ae3f99a6b1be4c743a1cca3ba3faaab891e86094a188e115b2e14dc88f4b1c420fe4dbf84fd1150a6b6502f7e9d759dbf203f430b92f |
41 |
+DIST thunderbird-91.13.0-es-ES.xpi 630921 BLAKE2B 22b421d8a1ea3005801dbae7f2e3000ab1e992d7b406c9fddd90c2b5a39e5ad16a68ab04da11f1cdbfa48713f5033955d22bb1f4a08382ceda6ab91e015e89e0 SHA512 9d3430b53945ffde1a786ee798ee100e8d71f8bae42b3723d4c22861f0310e0cf5d0c87325bacae41129dcdc6d60f161c75b5c2dad68206a0ae8c2e6b0dda262 |
42 |
+DIST thunderbird-91.13.0-et.xpi 672171 BLAKE2B 41ffd6d20f7dc85c8e76e1e80bd44279a3a210d1fe5a6e95e2dad1583c05763774527da29a46c4d7e3de7a354f5892be086ebc138029423918c4f8e5cfa0285e SHA512 a098794cd26439d655b2c6084097b88924444c24a873a82c165045133f12750df67391c5ce79131e01cc43becdf35e83ea8c2a844a05fed4445f95347b2e8b89 |
43 |
+DIST thunderbird-91.13.0-eu.xpi 678264 BLAKE2B 27a7ab54df10f5ff2a8e9adc6128c5d3de85e18a8b26f27e13438c716c7bdc931d80d07e1f667746872f6c8fe300f9325895a0fb9cb8105f67fd42a5e65e76f5 SHA512 9e8210d987df4db73d7eb88c93aaa00be46f4b72dab58181fb5edc6714375917e6c3438de4269d952fb7396a1a45d8784f20c0711184a564144110c300227a82 |
44 |
+DIST thunderbird-91.13.0-fi.xpi 676630 BLAKE2B 5c51c494833b7aac2ccd4c33bb77be032b1c091e069f64485247b9d8fcb98208090e76aa35f32d9c85322030b860f8c79c4ba1313808e3d887d38a257552a65c SHA512 fa32e0b63e4ee20907e722ce9f6002af5e381c0f130f2040db97a9204ec0a2c898318f56785e8655e8f82cb9b79dbd6869da7655c8b15a14ff85e706e374db0c |
45 |
+DIST thunderbird-91.13.0-fr.xpi 711454 BLAKE2B d88800733bc7eb7248ce69e7b0dc2b1ef8c5462f606034abd205599927b5ac1813303933f65cf8f7afc3ae875daedc32e8d84ba0cfaa948b08712f6d586c9e22 SHA512 b575325098d7da50c34a4f5f191da0b2f5a48bc3be44bad84602ccc7c0eb530f63b4c3c7e7bbbb3b0c19fc5d86cc0188e6549f8aa042fb3fd424024e8b2b2497 |
46 |
+DIST thunderbird-91.13.0-fy-NL.xpi 691881 BLAKE2B 17efe223696b611f94ddea15ff640636b3370358f6b4099ade35ff8304359315519cf7d8d51e1f55f85afa557a186a9c591faa4b8a302c0614edae5ffe88a21f SHA512 3ea474c74be8cae3e90ce3255204bcae411f5865b407e8128ed46c68a4cdf8aaab60106ca5fb89f2bfd48fe336b111a62191e8293005318cff006a00b3d7cb0a |
47 |
+DIST thunderbird-91.13.0-ga-IE.xpi 613125 BLAKE2B 0575b2fe7088924ee759971a2c20131457f5f4137b1bd31a9bffb85df94530a450f5d3afa8b90bbaba108fe9311765b977b5b3365d6d364cfb8c701de9644d2f SHA512 0e80cc7dda2b71bf3ce3c73d2aa24a13eea802917b933951dae830d4c6efa83bddd149563fcb307a68ca1f1e1d6e747ed00297f0f6ca010cda5497d993b0a7fc |
48 |
+DIST thunderbird-91.13.0-gd.xpi 640649 BLAKE2B 020bb5ea0e5dc922e5dc1f717634f17175615e2917eed4397af994097814d8260d04daeb57a040bf62ad2a2cf84f5754e1e0bfcb0354b0cf889796e90cf39245 SHA512 a68f13d0d52bba8232ce00dcf3469d87a05beb1429e5fc9798a9f77a5a33fb3f23343eaac1f010a6391450d0aad51425b1f97b9c3016f32a4156b0eb679e0cb7 |
49 |
+DIST thunderbird-91.13.0-gl.xpi 677790 BLAKE2B c422e66dd826ef3e2bd635aed11ea42376f30bb9cce3f65643c2511ae1941508fa0fe965385045201a0e54b0eaa566894679bdc2d3111c2989001522a8530b11 SHA512 367299d0f96638c127ef9dceee7da21dcbfee5ca02f890a6961d4669c303fdc7457afd55df07abe045d166daadf9eb3817544538f35280749ecf7e4044b26c6d |
50 |
+DIST thunderbird-91.13.0-he.xpi 673191 BLAKE2B 6479698532472f8471f12167ff2906aea57af02255f1424bc09a330d91c86516a74d47872833c8e96d648a9774df3c6d016c95645f5282370c11ab50e2e404db SHA512 2f25de0c341967584767aef18e56b02612622bfbc75b3145bc431379522f19394c6136f138a295718ddb6373caa0d903195461010a9552ef873805ddc132c5c3 |
51 |
+DIST thunderbird-91.13.0-hr.xpi 653582 BLAKE2B b89ca56b07cb78ad6824b38abe7b843554c199a3ee54b458c980061ffef95688b49f1bac8985957a6f1151bc439417806d757066d5a8a4e0d7c6d3f2e774ecbe SHA512 393ea7d28cf9cdd85a4c15effb0e6695997bc6bb163b1138ce840646664411c628c4d3471f19bce0911fc82942ee0216a27666b05da311a8a90eb811e2eea35b |
52 |
+DIST thunderbird-91.13.0-hsb.xpi 720812 BLAKE2B 0d55cec10799c7c8fa8066a76e4ed8761f9036c259696bb12910a5851749e061f8e0663726aad98e25dd7023a937127b9ea85d77910e4ceb691153109fce3036 SHA512 25a531e866558322d2168b195a5bd4b0c36eb7e68c22e4710165742282fb15c26606aa24c1ce1837b2363b59f94db7fc8815596ab4fb87ece8fe0f808819049c |
53 |
+DIST thunderbird-91.13.0-hu.xpi 723401 BLAKE2B 3422204653919589d2bde4522594a4616e7b74fb737d8acd1f8f2eeb623fc789af1094f348ab2429c345a8a6e716c88d7efbedd40cec422aeffc500826b5d44f SHA512 c9429228f8c0aa4b29a79c03307e2257ad08c9f033de5fdc440ef1812988e545da5585983a15a81f7ec8ceae232d20d3e9e1f87387b593626cc469365e1048b2 |
54 |
+DIST thunderbird-91.13.0-id.xpi 648251 BLAKE2B 1f3388cff2b4ac5ff85ffc777b5a8b010ebe3a2e47ce603aa7f23e928d189317e058908746de40beed69d95f2ca434cc97a045c0b717fc21216b9ae403338952 SHA512 420dabd95b922d6f0a1bfbdd10149202da6f5d0d8c8344d0560453b281992a98c5f1f1e84e4ed1fbbb0ccc5f69192999f06ebe4a1d24d7bfed787f8981616012 |
55 |
+DIST thunderbird-91.13.0-is.xpi 682263 BLAKE2B 84ef4d31d121536f695f018c7a6c4724a024cbcdae7192c48b8c8a602cdbf2a52618ec0a58492ecc5c6087002aea5090fdc511538d5940897fb8067ba0995369 SHA512 704f233d6adf17cae7e9563c6cd8cb8f306d9d11a4183746a1b02e2a1a6786ab9b94b6465f31d834cb6337921a38c2f18dbcf2d970afaaca2ab0dfd83fe37ab5 |
56 |
+DIST thunderbird-91.13.0-it.xpi 613334 BLAKE2B f18017f2500499e0a1345ffc23569747c2f85da8156ba5bc3380c834628b4d8f90dd74d82bf848efef3dc9ea805b2f96e590527c8ddd3889ed7384df8db59761 SHA512 556de2103c48a514ba107c1e87b92e9fbb3f7f420bb193f85d53f56a884ecf93eb2d105307a3ce9e06d2288020e61b39cf807c2191e298bb7e556bb0b2ac1f2f |
57 |
+DIST thunderbird-91.13.0-ja.xpi 756467 BLAKE2B 2686f6b2dd09c1b2773976ba891dc921f209d2cb7229b7a8c4e73ac5a3fee1103b0079216f93aed15894f69adcb983d7635b0f4fb691e6a8ab7221b67d83ad43 SHA512 09b2a7b84430b6c4255e124fc9b5cdbe31178f43714bda946aa5c70641b35f8494be55edc731e0652141dba72559fcb1121b0b86bd13f9b670b786d2ba092365 |
58 |
+DIST thunderbird-91.13.0-ka.xpi 762630 BLAKE2B d609ff210cd0dc8c1645fcef9fd7d8686676e97953137ed56c49cfe9e6b994d7047cbd377167c1a87bf0a22234d1684d8df0882c7d7184bc9546b49daf183736 SHA512 7420258416b918ab87a0ee7adf190b5c01facdd778b79d177f2f1baf400d66f1341f3cb10ed889481ae81d738670e8a147e2c9e52b0756011a078235756788bc |
59 |
+DIST thunderbird-91.13.0-kab.xpi 677086 BLAKE2B d073d4f564b6a0aa25eb17e16f9cddff7bf683cb38e60bc2982e9057599f8fcb5737c927b8d463017e91406fe6efa7975e3f03da8ef9606fea19786f59d32e40 SHA512 c0e50ea223a5b968bc3024bc0cf60353648d10168b21eef116e7930fcdfb2f1f42ae5022f31c6da6ef028ea33b700ec8cf4c788cb76f987b626d856b57d4921c |
60 |
+DIST thunderbird-91.13.0-kk.xpi 745524 BLAKE2B 5c0bf29a676bd132e6eeccfa732d6a6cc99c1c694c7ae2f7c49c5ccf05a6b980efcc4940407756a3ee1c7f0db64fd7bba3f733cd18131662813ab0300fccf1f3 SHA512 ff6ec725138bb1a6c21699dae187083f7fb48fd803d314f73737873b8d5680002491b46ff61087b4d6cdde193262d713f55977557609c094dfb8fbba925dbe7e |
61 |
+DIST thunderbird-91.13.0-ko.xpi 704770 BLAKE2B a36062091399fa5ea79eaba01738d20e141cf66942483212e04ab33e3f028cb3a7bbbfe4cb0e57fae1e9c33349fc92c05459df1571f1d07a8faef254163834ce SHA512 baae2b4c43700a12653f2debd96abbbdebd8d68fa2b02a6e908682859749c1431ea0b87fd259c1222f941b4854cdd964a899e6fd5cb715abc2c335e726b2440b |
62 |
+DIST thunderbird-91.13.0-lt.xpi 696045 BLAKE2B 93ff4d9133159096c9fcc71953d4fce3fcc61aa8ccd9c7a612b11d8bd7bcce259bc7ca266df09dea3f463970123519384e5a63cc4e024f560a7c9b04f19a8798 SHA512 aedea76b9fefd4221069ff09446f90703173ce1edeb9a5976b89b15365b93705667ee5decd4a5ba3a8ef042c7ceb020baa9e1b73398ed2389df917f0284e2180 |
63 |
+DIST thunderbird-91.13.0-lv.xpi 618526 BLAKE2B 8af5ac89e7889e5b301289519528482b8d756687649773be214364c43bedabb23dee94041bc79177f1ae8f6f454bfc94db8d343afc7db6b4a70ea5d1ddd57ba7 SHA512 fc7475795f83be274c37f26044f9e87844b30a947c659434f18098676a4d88013bd1f8f4ee96da998adf8fc6753c3f6caa76ae0828a7b38dbd884c5add91c653 |
64 |
+DIST thunderbird-91.13.0-ms.xpi 578081 BLAKE2B f2a55fa20817d822dcb9897bcbe9a7af58a4de85d015aad283fb2099e094f38060bcde47d108818a79efe35a339456278ef3ed9080151ab525c0fb26508fefb3 SHA512 0a64fcec42ceb2567d1048e305064a46b3c600485c10e3f4be6e3cd8d14011b0924e50cfb1bf5c6232ea6ec0947e1767ab7f3e4e0c8b6ce50fdbce9400a725c7 |
65 |
+DIST thunderbird-91.13.0-nb-NO.xpi 653326 BLAKE2B cf5363e5162253bdde188c4f9b984f6809fcf99b123609530cb596a1f8856ee2a8ff8fd430c2087d908680acca41ec5ce75088115b1d0de7bb55902ca1bdb61b SHA512 9a3f7b4e5d86237705b54d9983ac8fa30115c568819e1ff96e5c0b61985193c23c066502bd34defec5c45b8f7c0e232c761b0d810ed1a0f132982fb634d87be3 |
66 |
+DIST thunderbird-91.13.0-nl.xpi 685342 BLAKE2B e44df002cede8572a8d21f7a5022926730a5032255aa9fda2551f3d3aa4ce87842d6adb636369792505f089ef2b5670f5ddf7e5e9e1ef578a14212e5789cce05 SHA512 17e339384685191e3a48bc6a85e2b7a26d2577a5601d5625a197c0e116c62e3776eb3128e5e72e48276b29660bf3893a4f77f074422ac76465326684245964db |
67 |
+DIST thunderbird-91.13.0-nn-NO.xpi 658574 BLAKE2B 96ee7d4942617cc4b5c712999a011e97b16a42b08d26d6cf313c62e28200dbc231b0c2ee65d0b249778d90a919cb62b4abfcfcc79e7510b70ac77b6a6be1fa21 SHA512 1d8a9e39be7d1d0d48caa453d38cb1f640f94d6ce36856a8dfe46b6fa4b7e59d67ce654b58f2022424413fe4343f71aa4c8e9622602267cebcaa16a7d931f7e0 |
68 |
+DIST thunderbird-91.13.0-pa-IN.xpi 652335 BLAKE2B 1b3fb4ac5dff57e2f4184181379a46bbafc1f54d7759fab301ed222a5eae2c1e410bae0d962d9f25b25524bdd307e394d9d28f49c819cb80015cba179149a9a1 SHA512 269fe6cd0e1a080a329a50491f160d5ee888d7aba7c867bdaebf9472f527d27e01ec32358e22e5937c152786537ea1642d3ba940b10e876bef9d21a148f7ac4b |
69 |
+DIST thunderbird-91.13.0-pl.xpi 694113 BLAKE2B f3b64f91a361aa4ad7fa2a6708cd0418553cf3ac4e342cbdffe0e06c25ee9809cfa46adcaad6c3e51346e95a0b24f7cc2c3f135649dbc27e4b40cadc1b2d0bd9 SHA512 2d0059cf6bdab1e85c8ee1c412731ecb375ad9e774ebe1c3c1b32e254c14a6697d434361e8fa409015fc15f87672ba065d39cf67a1e700dfc3aae3d3ee125ac7 |
70 |
+DIST thunderbird-91.13.0-pt-BR.xpi 694134 BLAKE2B 61048665a558916b19140faf7995b884976bf257c8cd712ab0dc16751655c8f6da3f3438231b1b8f2c81e06a538536e79fe612ee7ded5f61be2573f0ef158293 SHA512 67c3ef55f24737d34108f5e40b9ca35ee12438aadcb94b98ce5b8e75e661f9448aadd16de043d5882293dd81e5943ca4ae93512eea5d07b7fb7d1df70b7be8f7 |
71 |
+DIST thunderbird-91.13.0-pt-PT.xpi 674674 BLAKE2B a555668369b07743c538d6496209380bb83bf2d12c14124c74c7c9a268e6c6f98f0f64526c1f68478a2fc366b499f135ab5258581ec2f856234342cef91a3867 SHA512 104462626111910cb6788eff8d6b4c62a16aee22aaddcb7551cc3e614ab06ab8fd62802ea4036c5e9dbd0e7cf84fcce1af4aaf4ecbdd36f94853345300c2eba7 |
72 |
+DIST thunderbird-91.13.0-rm.xpi 687616 BLAKE2B e4bd95d31cddfcd73b8e13108c2b0d988e18877c5eb6bd08cad3fa8b7aa654cfcf86e65cfdb67d65bb5162c0fae8bf7bdf4b7d0d4a6b0a9d1a846a90509a2f54 SHA512 1ca3f04d45767cc888d13f6eaec8cb6c0681ead9bcb5e3dc97b6015dabb74800a6c570124d35310f32e7d0e7bd4fdb44f5511ac2f90a5d6ffb06d7386057f1f2 |
73 |
+DIST thunderbird-91.13.0-ro.xpi 661347 BLAKE2B c597c2f2e31bc5d1c4ed454de0bb276d558e778fd78b0d8c62f6ffc761a5edf89b7aa67e674422f4ed4765376c44e3240105ec87b13d53397cba237788efcb40 SHA512 a75c88380614d0764d2aad881021123c36b898f72f4349af66b10f65d843b4482d88a472a42c6777411c4bd57fd08f7e13c82b1343542b6751fadce3c0b0fb5b |
74 |
+DIST thunderbird-91.13.0-ru.xpi 793375 BLAKE2B d9956ee61aa6878ec6ef8c8bcd942a7819ecd4bc06efb074ce89f3a63100b0d36e2b212f588120da7b1df1ed53c97027b229ff792a9007c94f9a04588e45456c SHA512 8201c5a2760a73dff471cde6aad71bc9fec006605d8d74d164cd853c3e501a79ba77a5f6a628d541cfffe4646de2cfb3426547f8828fbca4b0cd996c904ccf39 |
75 |
+DIST thunderbird-91.13.0-sk.xpi 721094 BLAKE2B 611cfa9744584d41d93ae4815933f9a6df87b8cf7a4dd44a3fa831acd5fe57c87a04eb820b7ce7af916ad929255e66aaae058989b3cfb114688c15b249f0ef1b SHA512 8877ae8c5c5f13f76b3665a94c51c95083fcbc420c40b2454a46d0d1128da81c97d556c94948788bbd70ce70d8659cd6e6ecb6759e4590686e3d9810132aeb04 |
76 |
+DIST thunderbird-91.13.0-sl.xpi 682544 BLAKE2B 1a98e1b685b010467665058d1cce18af62d809941b769658b39e3bb07b9ce55330a8b7b43edf9393582948954d4b4ef0074e6303d7913e414aad46625c21c435 SHA512 d7c3700c822c559adfa6ef51d5cc0f6c8accbc0fab0aca41bf8598f253ef02cb9c60eb3d0582dcec6b32318a382cd145f88abac54569e354f76d612171c78d9f |
77 |
+DIST thunderbird-91.13.0-sq.xpi 703627 BLAKE2B 3b67a2bdb96f8b477e1ad23bf78a5ba5c1e5f5ca381452b702ebdb165e367afff9ac2ac7679204666e9f749a983f4f5d4291d86c705d2e04fb028d04b34afbb1 SHA512 a2872d2dfe0b6055476088049aa65cc186b60b4fc929edabac7dbb0760be62aa929cdafed937668a53a5aa158292d96a46564ae57da14a87146f92e82daaa51e |
78 |
+DIST thunderbird-91.13.0-sr.xpi 710565 BLAKE2B 1eaec27c18cfc840acf732b43462c9eac1cd8f0f35a0e63be04cde2f88c25634f19bee2229f81ad00722aca3efaad9d26138c462143f6fb930a0247af6ae39bf SHA512 3170787ccff2f2bb248c0fe88e0201eb339570647130822efe4f15f535b2100930e8f57015a87483536950748465dde68c3e7b1d7f2c759218bab515bb4bbd40 |
79 |
+DIST thunderbird-91.13.0-sv-SE.xpi 690969 BLAKE2B 7507546142244834c44cb937859a730b1eaeb0fee514fd167d49835cbb00c1612a51effe7e683ef6b49f09bca6be1e309a78fc35d47ec615c43e6b5fccd025b1 SHA512 85e751ba16587396b20893fab210cc2a78c92965aac256ec18ca91a0fceeca67cceece3d44c9de7fb82df4af17af7382e0f28b3d78c47202def87af6794ab0bd |
80 |
+DIST thunderbird-91.13.0-th.xpi 748757 BLAKE2B 7def4e2db5e7345d5fa5ee2350303a0e0b55291d165390aef01aa6267141777d1ef4ebcd33b12af3af05d357bf03a3e1f8befa1572c65305bfc868a4c5f2f040 SHA512 011af3ef95acdfa9baccab0a359f1c799adcd52936948b15b15cecd072a1b5c33ca34781efe9ffb9472f128ad21ca24af9051c71019b5105c56f78efbd3eaca9 |
81 |
+DIST thunderbird-91.13.0-tr.xpi 699653 BLAKE2B 2970ee8c455a1648a3c84aee7f2e376ee736427438db3c1cbeb5e0f9841371c955e17db74a601f96506d0705aa4f4efe6b668753f565388adccb3b98a984535d SHA512 035c0a111dc7910a18fabd380116fd7dad586a14897ec4651bb3ee9567a3c9f965fe4999341e33923009aaf2131cdd7f785c0b2e66bf7d2a9cf5493934d2152f |
82 |
+DIST thunderbird-91.13.0-uk.xpi 798483 BLAKE2B d939b6dfb855a2652873d8b4bfa3aa0a75b3bf8212760c748981acb525ed85d7f5bf717b837eeec9c5f57422154b5de8e21dc1adca95a69f3be85aafce08438f SHA512 a61760ca82b1a93907442019d2c10821647bbcb9ea31c69e9a0fba2f6d98de7b889773df0093dea24936f1fa093fc526f69cc1f6aac36c490f1e99e2a90b2699 |
83 |
+DIST thunderbird-91.13.0-uz.xpi 595925 BLAKE2B 7a79968cd5a05932344dea011298d2f18390217edcd1b99bea721af8d9d5e090c14ef17465a5fb1d95ae49a0ca233c842f45d302b5f92f218972bc7ebad6297a SHA512 75fe909d7e54f984ff02d4d4f60cf67f31d810555f43976a750f6a79278c1fdc018f80d50f91756777255ebf7c39307294caecbfa57225d85150ff3ff23eae60 |
84 |
+DIST thunderbird-91.13.0-vi.xpi 725528 BLAKE2B 1b85c9add75e6101b2d41c68673ed123a72f3a3b20da02330f49467ebf61ac747437aaa48ea268183656f5f3f30e6a386cce59c2cf0ec26d38eeebc6f91ed945 SHA512 b3a350dc402a75598da356eb54ee87f5153169f3ebe8ef8a493baabe4a9713f1aa4150daf2ff08a910254d98a5699944a52cb5674050a950a971f3d649fb8b9c |
85 |
+DIST thunderbird-91.13.0-zh-CN.xpi 730903 BLAKE2B 51259b77a32d37f665d3692ca4f21088cd51020c5dd319bdee59ce8467621640e830f51d44caedda0bbf1328522ca586f831046c3d15c759e53e2fa59367f990 SHA512 b89c58ea8279c5bb4ddf612c5d54a2d76a5a4d1e90bd7138040b2e86414d95f02eb494b72d4fd8f83525d68f80cb5f1c0c25d7022feb9a6e27ea115c93f65689 |
86 |
+DIST thunderbird-91.13.0-zh-TW.xpi 731945 BLAKE2B 76d5b5b9fe50f5c6e4c4fb8198491da688aab2d0781019d6d91a0fefda056075c3bd4e94b7617a1068aa7d6934d8eeb2730b7dad5f8e6e55067f651f950a2f87 SHA512 95b6cbb404ccc87ab02cc44ca612c1201bb28d19ebc1957b1a25b35ccd8983dd104985483a6ac1caec2a8cb949244593e15b63e3a20af6def0e25d23684aff89 |
87 |
+DIST thunderbird-91.13.0.source.tar.xz 403859320 BLAKE2B fc0b1d3866ae7f65e1ecb59341895e0f9ad2c811c748a9fc3cde623ccbf7d5e2d29391d39eca20f4ece251cdc1fc7be0f9213e6fb525f7b19165a0bc95dcf15e SHA512 e73d3db4333ad659ec1ab249bd261e8c28301c125d0c39b473c83f8fccace6d4916a2bfef14fc20c065055ff6bbd3ca618b5aab178241b53509543640dcd541a |
88 |
|
89 |
diff --git a/mail-client/thunderbird/thunderbird-91.13.0.ebuild b/mail-client/thunderbird/thunderbird-91.13.0.ebuild |
90 |
new file mode 100644 |
91 |
index 000000000000..6a8a806a97f7 |
92 |
--- /dev/null |
93 |
+++ b/mail-client/thunderbird/thunderbird-91.13.0.ebuild |
94 |
@@ -0,0 +1,1131 @@ |
95 |
+# Copyright 1999-2022 Gentoo Authors |
96 |
+# Distributed under the terms of the GNU General Public License v2 |
97 |
+ |
98 |
+EAPI="8" |
99 |
+ |
100 |
+FIREFOX_PATCHSET="firefox-91esr-patches-10j.tar.xz" |
101 |
+ |
102 |
+LLVM_MAX_SLOT=14 |
103 |
+ |
104 |
+PYTHON_COMPAT=( python3_{8..10} ) |
105 |
+PYTHON_REQ_USE="ncurses,sqlite,ssl" |
106 |
+ |
107 |
+WANT_AUTOCONF="2.1" |
108 |
+ |
109 |
+VIRTUALX_REQUIRED="pgo" |
110 |
+ |
111 |
+MOZ_ESR= |
112 |
+ |
113 |
+MOZ_PV=${PV} |
114 |
+MOZ_PV_SUFFIX= |
115 |
+if [[ ${PV} =~ (_(alpha|beta|rc).*)$ ]] ; then |
116 |
+ MOZ_PV_SUFFIX=${BASH_REMATCH[1]} |
117 |
+ |
118 |
+ # Convert the ebuild version to the upstream Mozilla version |
119 |
+ MOZ_PV="${MOZ_PV/_alpha/a}" # Handle alpha for SRC_URI |
120 |
+ MOZ_PV="${MOZ_PV/_beta/b}" # Handle beta for SRC_URI |
121 |
+ MOZ_PV="${MOZ_PV%%_rc*}" # Handle rc for SRC_URI |
122 |
+fi |
123 |
+ |
124 |
+if [[ -n ${MOZ_ESR} ]] ; then |
125 |
+ # ESR releases have slightly different version numbers |
126 |
+ MOZ_PV="${MOZ_PV}esr" |
127 |
+fi |
128 |
+ |
129 |
+MOZ_PN="${PN%-bin}" |
130 |
+MOZ_P="${MOZ_PN}-${MOZ_PV}" |
131 |
+MOZ_PV_DISTFILES="${MOZ_PV}${MOZ_PV_SUFFIX}" |
132 |
+MOZ_P_DISTFILES="${MOZ_PN}-${MOZ_PV_DISTFILES}" |
133 |
+ |
134 |
+inherit autotools check-reqs desktop flag-o-matic gnome2-utils \ |
135 |
+ llvm multiprocessing optfeature pax-utils python-any-r1 toolchain-funcs \ |
136 |
+ virtualx xdg |
137 |
+ |
138 |
+MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/releases/${MOZ_PV}" |
139 |
+ |
140 |
+if [[ ${PV} == *_rc* ]] ; then |
141 |
+ MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/candidates/${MOZ_PV}-candidates/build${PV##*_rc}" |
142 |
+fi |
143 |
+ |
144 |
+PATCH_URIS=( |
145 |
+ https://dev.gentoo.org/~{juippis,polynomial-c,whissi}/mozilla/patchsets/${FIREFOX_PATCHSET} |
146 |
+) |
147 |
+ |
148 |
+SRC_URI="${MOZ_SRC_BASE_URI}/source/${MOZ_P}.source.tar.xz -> ${MOZ_P_DISTFILES}.source.tar.xz |
149 |
+ ${PATCH_URIS[@]}" |
150 |
+ |
151 |
+DESCRIPTION="Thunderbird Mail Client" |
152 |
+HOMEPAGE="https://www.thunderbird.net/" |
153 |
+ |
154 |
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" |
155 |
+ |
156 |
+SLOT="0" |
157 |
+LICENSE="MPL-2.0 GPL-2 LGPL-2.1" |
158 |
+ |
159 |
+IUSE="+clang cpu_flags_arm_neon dbus debug eme-free hardened hwaccel" |
160 |
+IUSE+=" jack lto +openh264 pgo pulseaudio sndio selinux" |
161 |
+IUSE+=" +system-av1 +system-harfbuzz +system-icu +system-jpeg +system-libevent +system-libvpx system-png +system-webp" |
162 |
+IUSE+=" wayland wifi" |
163 |
+ |
164 |
+REQUIRED_USE="debug? ( !system-av1 ) |
165 |
+ pgo? ( lto ) |
166 |
+ wifi? ( dbus )" |
167 |
+ |
168 |
+BDEPEND="${PYTHON_DEPS} |
169 |
+ app-arch/unzip |
170 |
+ app-arch/zip |
171 |
+ >=dev-util/cbindgen-0.24.0 |
172 |
+ >=net-libs/nodejs-10.23.1 |
173 |
+ virtual/pkgconfig |
174 |
+ >=virtual/rust-1.51.0 |
175 |
+ || ( |
176 |
+ ( |
177 |
+ sys-devel/clang:14 |
178 |
+ sys-devel/llvm:14 |
179 |
+ clang? ( |
180 |
+ =sys-devel/lld-14* |
181 |
+ pgo? ( =sys-libs/compiler-rt-sanitizers-14*[profile] ) |
182 |
+ ) |
183 |
+ ) |
184 |
+ ( |
185 |
+ sys-devel/clang:13 |
186 |
+ sys-devel/llvm:13 |
187 |
+ clang? ( |
188 |
+ =sys-devel/lld-13* |
189 |
+ pgo? ( =sys-libs/compiler-rt-sanitizers-13*[profile] ) |
190 |
+ ) |
191 |
+ ) |
192 |
+ ) |
193 |
+ amd64? ( >=dev-lang/nasm-2.13 ) |
194 |
+ x86? ( >=dev-lang/nasm-2.13 )" |
195 |
+ |
196 |
+COMMON_DEPEND=" |
197 |
+ >=dev-libs/nss-3.68 |
198 |
+ >=dev-libs/nspr-4.32 |
199 |
+ dev-libs/atk |
200 |
+ dev-libs/expat |
201 |
+ >=x11-libs/cairo-1.10[X] |
202 |
+ >=x11-libs/gtk+-3.4.0:3[X] |
203 |
+ x11-libs/gdk-pixbuf |
204 |
+ >=x11-libs/pango-1.22.0 |
205 |
+ >=media-libs/mesa-10.2:* |
206 |
+ media-libs/fontconfig |
207 |
+ >=media-libs/freetype-2.4.10 |
208 |
+ kernel_linux? ( !pulseaudio? ( media-libs/alsa-lib ) ) |
209 |
+ virtual/freedesktop-icon-theme |
210 |
+ >=x11-libs/pixman-0.19.2 |
211 |
+ >=dev-libs/glib-2.26:2 |
212 |
+ >=sys-libs/zlib-1.2.3 |
213 |
+ >=dev-libs/libffi-3.0.10:= |
214 |
+ media-video/ffmpeg |
215 |
+ x11-libs/libX11 |
216 |
+ x11-libs/libxcb:= |
217 |
+ x11-libs/libXcomposite |
218 |
+ x11-libs/libXdamage |
219 |
+ x11-libs/libXext |
220 |
+ x11-libs/libXfixes |
221 |
+ x11-libs/libXrender |
222 |
+ x11-libs/libXt |
223 |
+ dbus? ( |
224 |
+ sys-apps/dbus |
225 |
+ dev-libs/dbus-glib |
226 |
+ ) |
227 |
+ system-av1? ( |
228 |
+ >=media-libs/dav1d-0.8.1:= |
229 |
+ >=media-libs/libaom-1.0.0:= |
230 |
+ ) |
231 |
+ system-harfbuzz? ( |
232 |
+ >=media-libs/harfbuzz-2.8.1:0= |
233 |
+ >=media-gfx/graphite2-1.3.13 |
234 |
+ ) |
235 |
+ system-icu? ( >=dev-libs/icu-69.1:= ) |
236 |
+ system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 ) |
237 |
+ system-libevent? ( >=dev-libs/libevent-2.0:0=[threads] ) |
238 |
+ system-libvpx? ( >=media-libs/libvpx-1.8.2:0=[postproc] ) |
239 |
+ system-png? ( >=media-libs/libpng-1.6.35:0=[apng] ) |
240 |
+ system-webp? ( >=media-libs/libwebp-1.1.0:0= ) |
241 |
+ wifi? ( |
242 |
+ kernel_linux? ( |
243 |
+ sys-apps/dbus |
244 |
+ dev-libs/dbus-glib |
245 |
+ net-misc/networkmanager |
246 |
+ ) |
247 |
+ ) |
248 |
+ jack? ( virtual/jack ) |
249 |
+ selinux? ( sec-policy/selinux-mozilla ) |
250 |
+ sndio? ( media-sound/sndio )" |
251 |
+ |
252 |
+RDEPEND="${COMMON_DEPEND} |
253 |
+ jack? ( virtual/jack ) |
254 |
+ openh264? ( media-libs/openh264:*[plugin] ) |
255 |
+ pulseaudio? ( |
256 |
+ || ( |
257 |
+ media-sound/pulseaudio |
258 |
+ >=media-sound/apulse-0.1.12-r4 |
259 |
+ ) |
260 |
+ ) |
261 |
+ selinux? ( sec-policy/selinux-mozilla ) |
262 |
+ !<x11-plugins/enigmail-2.2" |
263 |
+ |
264 |
+DEPEND="${COMMON_DEPEND} |
265 |
+ x11-libs/libICE |
266 |
+ x11-libs/libSM |
267 |
+ pulseaudio? ( |
268 |
+ || ( |
269 |
+ media-sound/pulseaudio |
270 |
+ >=media-sound/apulse-0.1.12-r4[sdk] |
271 |
+ ) |
272 |
+ ) |
273 |
+ wayland? ( >=x11-libs/gtk+-3.11:3[wayland] ) |
274 |
+ amd64? ( virtual/opengl ) |
275 |
+ x86? ( virtual/opengl )" |
276 |
+ |
277 |
+S="${WORKDIR}/${PN}-${PV%_*}" |
278 |
+ |
279 |
+llvm_check_deps() { |
280 |
+ if ! has_version -b "sys-devel/clang:${LLVM_SLOT}" ; then |
281 |
+ einfo "sys-devel/clang:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 |
282 |
+ return 1 |
283 |
+ fi |
284 |
+ |
285 |
+ if use clang ; then |
286 |
+ if ! has_version -b "=sys-devel/lld-${LLVM_SLOT}*" ; then |
287 |
+ einfo "=sys-devel/lld-${LLVM_SLOT}* is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 |
288 |
+ return 1 |
289 |
+ fi |
290 |
+ |
291 |
+ if use pgo ; then |
292 |
+ if ! has_version -b "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*" ; then |
293 |
+ einfo "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}* is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 |
294 |
+ return 1 |
295 |
+ fi |
296 |
+ fi |
297 |
+ fi |
298 |
+ |
299 |
+ einfo "Using LLVM slot ${LLVM_SLOT} to build" >&2 |
300 |
+} |
301 |
+ |
302 |
+MOZ_LANGS=( |
303 |
+ af ar ast be bg br ca cak cs cy da de dsb |
304 |
+ el en-CA en-GB en-US es-AR es-ES et eu |
305 |
+ fi fr fy-NL ga-IE gd gl he hr hsb hu |
306 |
+ id is it ja ka kab kk ko lt lv ms nb-NO nl nn-NO |
307 |
+ pa-IN pl pt-BR pt-PT rm ro ru |
308 |
+ sk sl sq sr sv-SE th tr uk uz vi zh-CN zh-TW |
309 |
+) |
310 |
+ |
311 |
+mozilla_set_globals() { |
312 |
+ # https://bugs.gentoo.org/587334 |
313 |
+ local MOZ_TOO_REGIONALIZED_FOR_L10N=( |
314 |
+ fy-NL ga-IE gu-IN hi-IN hy-AM nb-NO ne-NP nn-NO pa-IN sv-SE |
315 |
+ ) |
316 |
+ |
317 |
+ local lang xflag |
318 |
+ for lang in "${MOZ_LANGS[@]}" ; do |
319 |
+ # en and en_US are handled internally |
320 |
+ if [[ ${lang} == en ]] || [[ ${lang} == en-US ]] ; then |
321 |
+ continue |
322 |
+ fi |
323 |
+ |
324 |
+ # strip region subtag if $lang is in the list |
325 |
+ if has ${lang} "${MOZ_TOO_REGIONALIZED_FOR_L10N[@]}" ; then |
326 |
+ xflag=${lang%%-*} |
327 |
+ else |
328 |
+ xflag=${lang} |
329 |
+ fi |
330 |
+ |
331 |
+ SRC_URI+=" l10n_${xflag/[_@]/-}? (" |
332 |
+ SRC_URI+=" ${MOZ_SRC_BASE_URI}/linux-x86_64/xpi/${lang}.xpi -> ${MOZ_P_DISTFILES}-${lang}.xpi" |
333 |
+ SRC_URI+=" )" |
334 |
+ IUSE+=" l10n_${xflag/[_@]/-}" |
335 |
+ done |
336 |
+} |
337 |
+mozilla_set_globals |
338 |
+ |
339 |
+moz_clear_vendor_checksums() { |
340 |
+ debug-print-function ${FUNCNAME} "$@" |
341 |
+ |
342 |
+ if [[ ${#} -ne 1 ]] ; then |
343 |
+ die "${FUNCNAME} requires exact one argument" |
344 |
+ fi |
345 |
+ |
346 |
+ einfo "Clearing cargo checksums for ${1} ..." |
347 |
+ |
348 |
+ sed -i \ |
349 |
+ -e 's/\("files":{\)[^}]*/\1/' \ |
350 |
+ "${S}"/third_party/rust/${1}/.cargo-checksum.json \ |
351 |
+ || die |
352 |
+} |
353 |
+ |
354 |
+moz_install_xpi() { |
355 |
+ debug-print-function ${FUNCNAME} "$@" |
356 |
+ |
357 |
+ if [[ ${#} -lt 2 ]] ; then |
358 |
+ die "${FUNCNAME} requires at least two arguments" |
359 |
+ fi |
360 |
+ |
361 |
+ local DESTDIR=${1} |
362 |
+ shift |
363 |
+ |
364 |
+ insinto "${DESTDIR}" |
365 |
+ |
366 |
+ local emid xpi_file xpi_tmp_dir |
367 |
+ for xpi_file in "${@}" ; do |
368 |
+ emid= |
369 |
+ xpi_tmp_dir=$(mktemp -d --tmpdir="${T}") |
370 |
+ |
371 |
+ # Unpack XPI |
372 |
+ unzip -qq "${xpi_file}" -d "${xpi_tmp_dir}" || die |
373 |
+ |
374 |
+ # Determine extension ID |
375 |
+ if [[ -f "${xpi_tmp_dir}/install.rdf" ]] ; then |
376 |
+ emid=$(sed -n -e '/install-manifest/,$ { /em:id/!d; s/.*[\">]\([^\"<>]*\)[\"<].*/\1/; p; q }' "${xpi_tmp_dir}/install.rdf") |
377 |
+ [[ -z "${emid}" ]] && die "failed to determine extension id from install.rdf" |
378 |
+ elif [[ -f "${xpi_tmp_dir}/manifest.json" ]] ; then |
379 |
+ emid=$(sed -n -e 's/.*"id": "\([^"]*\)".*/\1/p' "${xpi_tmp_dir}/manifest.json") |
380 |
+ [[ -z "${emid}" ]] && die "failed to determine extension id from manifest.json" |
381 |
+ else |
382 |
+ die "failed to determine extension id" |
383 |
+ fi |
384 |
+ |
385 |
+ einfo "Installing ${emid}.xpi into ${ED}${DESTDIR} ..." |
386 |
+ newins "${xpi_file}" "${emid}.xpi" |
387 |
+ done |
388 |
+} |
389 |
+ |
390 |
+mozconfig_add_options_ac() { |
391 |
+ debug-print-function ${FUNCNAME} "$@" |
392 |
+ |
393 |
+ if [[ ${#} -lt 2 ]] ; then |
394 |
+ die "${FUNCNAME} requires at least two arguments" |
395 |
+ fi |
396 |
+ |
397 |
+ local reason=${1} |
398 |
+ shift |
399 |
+ |
400 |
+ local option |
401 |
+ for option in ${@} ; do |
402 |
+ echo "ac_add_options ${option} # ${reason}" >>${MOZCONFIG} |
403 |
+ done |
404 |
+} |
405 |
+ |
406 |
+mozconfig_add_options_mk() { |
407 |
+ debug-print-function ${FUNCNAME} "$@" |
408 |
+ |
409 |
+ if [[ ${#} -lt 2 ]] ; then |
410 |
+ die "${FUNCNAME} requires at least two arguments" |
411 |
+ fi |
412 |
+ |
413 |
+ local reason=${1} |
414 |
+ shift |
415 |
+ |
416 |
+ local option |
417 |
+ for option in ${@} ; do |
418 |
+ echo "mk_add_options ${option} # ${reason}" >>${MOZCONFIG} |
419 |
+ done |
420 |
+} |
421 |
+ |
422 |
+mozconfig_use_enable() { |
423 |
+ debug-print-function ${FUNCNAME} "$@" |
424 |
+ |
425 |
+ if [[ ${#} -lt 1 ]] ; then |
426 |
+ die "${FUNCNAME} requires at least one arguments" |
427 |
+ fi |
428 |
+ |
429 |
+ local flag=$(use_enable "${@}") |
430 |
+ mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" "${flag}" |
431 |
+} |
432 |
+ |
433 |
+mozconfig_use_with() { |
434 |
+ debug-print-function ${FUNCNAME} "$@" |
435 |
+ |
436 |
+ if [[ ${#} -lt 1 ]] ; then |
437 |
+ die "${FUNCNAME} requires at least one arguments" |
438 |
+ fi |
439 |
+ |
440 |
+ local flag=$(use_with "${@}") |
441 |
+ mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" "${flag}" |
442 |
+} |
443 |
+ |
444 |
+pkg_pretend() { |
445 |
+ if [[ ${MERGE_TYPE} != binary ]] ; then |
446 |
+ if use pgo ; then |
447 |
+ if ! has usersandbox $FEATURES ; then |
448 |
+ die "You must enable usersandbox as X server can not run as root!" |
449 |
+ fi |
450 |
+ fi |
451 |
+ |
452 |
+ # Ensure we have enough disk space to compile |
453 |
+ if use pgo || use lto || use debug ; then |
454 |
+ CHECKREQS_DISK_BUILD="13500M" |
455 |
+ else |
456 |
+ CHECKREQS_DISK_BUILD="6400M" |
457 |
+ fi |
458 |
+ |
459 |
+ check-reqs_pkg_pretend |
460 |
+ fi |
461 |
+} |
462 |
+ |
463 |
+pkg_setup() { |
464 |
+ if [[ ${MERGE_TYPE} != binary ]] ; then |
465 |
+ if use pgo ; then |
466 |
+ if ! has userpriv ${FEATURES} ; then |
467 |
+ eerror "Building ${PN} with USE=pgo and FEATURES=-userpriv is not supported!" |
468 |
+ fi |
469 |
+ fi |
470 |
+ |
471 |
+ # Ensure we have enough disk space to compile |
472 |
+ if use pgo || use lto || use debug ; then |
473 |
+ CHECKREQS_DISK_BUILD="13500M" |
474 |
+ else |
475 |
+ CHECKREQS_DISK_BUILD="6400M" |
476 |
+ fi |
477 |
+ |
478 |
+ check-reqs_pkg_setup |
479 |
+ |
480 |
+ llvm_pkg_setup |
481 |
+ |
482 |
+ if use clang && use lto ; then |
483 |
+ local version_lld=$(ld.lld --version 2>/dev/null | awk '{ print $2 }') |
484 |
+ [[ -n ${version_lld} ]] && version_lld=$(ver_cut 1 "${version_lld}") |
485 |
+ [[ -z ${version_lld} ]] && die "Failed to read ld.lld version!" |
486 |
+ |
487 |
+ local version_llvm_rust=$(rustc -Vv 2>/dev/null | grep -F -- 'LLVM version:' | awk '{ print $3 }') |
488 |
+ [[ -n ${version_llvm_rust} ]] && version_llvm_rust=$(ver_cut 1 "${version_llvm_rust}") |
489 |
+ [[ -z ${version_llvm_rust} ]] && die "Failed to read used LLVM version from rustc!" |
490 |
+ |
491 |
+ if ver_test "${version_lld}" -ne "${version_llvm_rust}" ; then |
492 |
+ eerror "Rust is using LLVM version ${version_llvm_rust} but ld.lld version belongs to LLVM version ${version_lld}." |
493 |
+ eerror "You will be unable to link ${CATEGORY}/${PN}. To proceed you have the following options:" |
494 |
+ eerror " - Manually switch rust version using 'eselect rust' to match used LLVM version" |
495 |
+ eerror " - Switch to dev-lang/rust[system-llvm] which will guarantee matching version" |
496 |
+ eerror " - Build ${CATEGORY}/${PN} without USE=lto" |
497 |
+ eerror " - Rebuild lld with llvm that was used to build rust (may need to rebuild the whole " |
498 |
+ eerror " llvm/clang/lld/rust chain depending on your @world updates)" |
499 |
+ die "LLVM version used by Rust (${version_llvm_rust}) does not match with ld.lld version (${version_lld})!" |
500 |
+ fi |
501 |
+ fi |
502 |
+ |
503 |
+ if ! use clang && [[ $(gcc-major-version) -eq 11 ]] \ |
504 |
+ && ! has_version -b ">sys-devel/gcc-11.1.0:11" ; then |
505 |
+ # bug 792705 |
506 |
+ eerror "Using GCC 11 to compile firefox is currently known to be broken (see bug #792705)." |
507 |
+ die "Set USE=clang or select <gcc-11 to build ${CATEGORY}/${P}." |
508 |
+ fi |
509 |
+ |
510 |
+ python-any-r1_pkg_setup |
511 |
+ |
512 |
+ # Avoid PGO profiling problems due to enviroment leakage |
513 |
+ # These should *always* be cleaned up anyway |
514 |
+ unset \ |
515 |
+ DBUS_SESSION_BUS_ADDRESS \ |
516 |
+ DISPLAY \ |
517 |
+ ORBIT_SOCKETDIR \ |
518 |
+ SESSION_MANAGER \ |
519 |
+ XAUTHORITY \ |
520 |
+ XDG_CACHE_HOME \ |
521 |
+ XDG_SESSION_COOKIE |
522 |
+ |
523 |
+ # Build system is using /proc/self/oom_score_adj, bug #604394 |
524 |
+ addpredict /proc/self/oom_score_adj |
525 |
+ |
526 |
+ if use pgo ; then |
527 |
+ # Allow access to GPU during PGO run |
528 |
+ local ati_cards mesa_cards nvidia_cards render_cards |
529 |
+ shopt -s nullglob |
530 |
+ |
531 |
+ ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g') |
532 |
+ if [[ -n "${ati_cards}" ]] ; then |
533 |
+ addpredict "${ati_cards}" |
534 |
+ fi |
535 |
+ |
536 |
+ mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g') |
537 |
+ if [[ -n "${mesa_cards}" ]] ; then |
538 |
+ addpredict "${mesa_cards}" |
539 |
+ fi |
540 |
+ |
541 |
+ nvidia_cards=$(echo -n /dev/nvidia* | sed 's/ /:/g') |
542 |
+ if [[ -n "${nvidia_cards}" ]] ; then |
543 |
+ addpredict "${nvidia_cards}" |
544 |
+ fi |
545 |
+ |
546 |
+ render_cards=$(echo -n /dev/dri/renderD128* | sed 's/ /:/g') |
547 |
+ if [[ -n "${render_cards}" ]] ; then |
548 |
+ addpredict "${render_cards}" |
549 |
+ fi |
550 |
+ |
551 |
+ shopt -u nullglob |
552 |
+ fi |
553 |
+ |
554 |
+ if ! mountpoint -q /dev/shm ; then |
555 |
+ # If /dev/shm is not available, configure is known to fail with |
556 |
+ # a traceback report referencing /usr/lib/pythonN.N/multiprocessing/synchronize.py |
557 |
+ ewarn "/dev/shm is not mounted -- expect build failures!" |
558 |
+ fi |
559 |
+ |
560 |
+ # Google API keys (see http://www.chromium.org/developers/how-tos/api-keys) |
561 |
+ # Note: These are for Gentoo Linux use ONLY. For your own distribution, please |
562 |
+ # get your own set of keys. |
563 |
+ if [[ -z "${MOZ_API_KEY_GOOGLE+set}" ]] ; then |
564 |
+ MOZ_API_KEY_GOOGLE="AIzaSyDEAOvatFogGaPi0eTgsV_ZlEzx0ObmepsMzfAc" |
565 |
+ fi |
566 |
+ |
567 |
+ if [[ -z "${MOZ_API_KEY_LOCATION+set}" ]] ; then |
568 |
+ MOZ_API_KEY_LOCATION="AIzaSyB2h2OuRgGaPicUgy5N-5hsZqiPW6sH3n_rptiQ" |
569 |
+ fi |
570 |
+ |
571 |
+ # Mozilla API keys (see https://location.services.mozilla.com/api) |
572 |
+ # Note: These are for Gentoo Linux use ONLY. For your own distribution, please |
573 |
+ # get your own set of keys. |
574 |
+ if [[ -z "${MOZ_API_KEY_MOZILLA+set}" ]] ; then |
575 |
+ MOZ_API_KEY_MOZILLA="edb3d487-3a84-46m0ap1e3-9dfd-92b5efaaa005" |
576 |
+ fi |
577 |
+ |
578 |
+ # Ensure we use C locale when building, bug #746215 |
579 |
+ export LC_ALL=C |
580 |
+ fi |
581 |
+} |
582 |
+ |
583 |
+src_unpack() { |
584 |
+ local _lp_dir="${WORKDIR}/language_packs" |
585 |
+ local _src_file |
586 |
+ |
587 |
+ if [[ ! -d "${_lp_dir}" ]] ; then |
588 |
+ mkdir "${_lp_dir}" || die |
589 |
+ fi |
590 |
+ |
591 |
+ for _src_file in ${A} ; do |
592 |
+ if [[ ${_src_file} == *.xpi ]]; then |
593 |
+ cp "${DISTDIR}/${_src_file}" "${_lp_dir}" || die "Failed to copy '${_src_file}' to '${_lp_dir}'!" |
594 |
+ else |
595 |
+ unpack ${_src_file} |
596 |
+ fi |
597 |
+ done |
598 |
+} |
599 |
+ |
600 |
+src_prepare() { |
601 |
+ if use lto; then |
602 |
+ rm -v "${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch || die |
603 |
+ fi |
604 |
+ |
605 |
+ if use system-av1 && has_version "<media-libs/dav1d-1.0.0"; then |
606 |
+ rm -v "${WORKDIR}"/firefox-patches/0033-bgo-835788-dav1d-1.0.0-support.patch || die |
607 |
+ elog "<media-libs/dav1d-1.0.0 detected, removing 1.0.0 compat patch." |
608 |
+ elif ! use system-av1; then |
609 |
+ rm -v "${WORKDIR}"/firefox-patches/0033-bgo-835788-dav1d-1.0.0-support.patch || die |
610 |
+ elog "-system-av1 USE flag detected, removing 1.0.0 compat patch." |
611 |
+ fi |
612 |
+ |
613 |
+ eapply "${WORKDIR}/firefox-patches" |
614 |
+ |
615 |
+ # Allow user to apply any additional patches without modifing ebuild |
616 |
+ eapply_user |
617 |
+ |
618 |
+ # Make cargo respect MAKEOPTS |
619 |
+ export CARGO_BUILD_JOBS="$(makeopts_jobs)" |
620 |
+ |
621 |
+ # Make LTO respect MAKEOPTS |
622 |
+ sed -i \ |
623 |
+ -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ |
624 |
+ "${S}"/build/moz.configure/lto-pgo.configure \ |
625 |
+ || die "sed failed to set num_cores" |
626 |
+ |
627 |
+ # Make ICU respect MAKEOPTS |
628 |
+ sed -i \ |
629 |
+ -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ |
630 |
+ "${S}"/intl/icu_sources_data.py \ |
631 |
+ || die "sed failed to set num_cores" |
632 |
+ |
633 |
+ # sed-in toolchain prefix |
634 |
+ sed -i \ |
635 |
+ -e "s/objdump/${CHOST}-objdump/" \ |
636 |
+ "${S}"/python/mozbuild/mozbuild/configure/check_debug_ranges.py \ |
637 |
+ || die "sed failed to set toolchain prefix" |
638 |
+ |
639 |
+ sed -i \ |
640 |
+ -e 's/ccache_stats = None/return None/' \ |
641 |
+ "${S}"/python/mozbuild/mozbuild/controller/building.py \ |
642 |
+ || die "sed failed to disable ccache stats call" |
643 |
+ |
644 |
+ einfo "Removing pre-built binaries ..." |
645 |
+ find "${S}"/third_party -type f \( -name '*.so' -o -name '*.o' \) -print -delete || die |
646 |
+ |
647 |
+ # Clearing checksums where we have applied patches |
648 |
+ moz_clear_vendor_checksums target-lexicon-0.9.0 |
649 |
+ |
650 |
+ # Create build dir |
651 |
+ BUILD_DIR="${WORKDIR}/${PN}_build" |
652 |
+ mkdir -p "${BUILD_DIR}" || die |
653 |
+ |
654 |
+ # Write API keys to disk |
655 |
+ echo -n "${MOZ_API_KEY_GOOGLE//gGaPi/}" > "${S}"/api-google.key || die |
656 |
+ echo -n "${MOZ_API_KEY_LOCATION//gGaPi/}" > "${S}"/api-location.key || die |
657 |
+ echo -n "${MOZ_API_KEY_MOZILLA//m0ap1/}" > "${S}"/api-mozilla.key || die |
658 |
+ |
659 |
+ xdg_environment_reset |
660 |
+} |
661 |
+ |
662 |
+src_configure() { |
663 |
+ # Show flags set at the beginning |
664 |
+ einfo "Current BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}" |
665 |
+ einfo "Current CFLAGS:\t\t${CFLAGS:-no value set}" |
666 |
+ einfo "Current CXXFLAGS:\t\t${CXXFLAGS:-no value set}" |
667 |
+ einfo "Current LDFLAGS:\t\t${LDFLAGS:-no value set}" |
668 |
+ einfo "Current RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}" |
669 |
+ |
670 |
+ local have_switched_compiler= |
671 |
+ if use clang && ! tc-is-clang ; then |
672 |
+ # Force clang |
673 |
+ einfo "Enforcing the use of clang due to USE=clang ..." |
674 |
+ have_switched_compiler=yes |
675 |
+ AR=llvm-ar |
676 |
+ CC=${CHOST}-clang |
677 |
+ CXX=${CHOST}-clang++ |
678 |
+ NM=llvm-nm |
679 |
+ RANLIB=llvm-ranlib |
680 |
+ elif ! use clang && ! tc-is-gcc ; then |
681 |
+ # Force gcc |
682 |
+ have_switched_compiler=yes |
683 |
+ einfo "Enforcing the use of gcc due to USE=-clang ..." |
684 |
+ AR=gcc-ar |
685 |
+ CC=${CHOST}-gcc |
686 |
+ CXX=${CHOST}-g++ |
687 |
+ NM=gcc-nm |
688 |
+ RANLIB=gcc-ranlib |
689 |
+ fi |
690 |
+ |
691 |
+ if [[ -n "${have_switched_compiler}" ]] ; then |
692 |
+ # Because we switched active compiler we have to ensure |
693 |
+ # that no unsupported flags are set |
694 |
+ strip-unsupported-flags |
695 |
+ fi |
696 |
+ |
697 |
+ # Ensure we use correct toolchain |
698 |
+ export HOST_CC="$(tc-getBUILD_CC)" |
699 |
+ export HOST_CXX="$(tc-getBUILD_CXX)" |
700 |
+ tc-export CC CXX LD AR NM OBJDUMP RANLIB PKG_CONFIG |
701 |
+ |
702 |
+ # Pass the correct toolchain paths through cbindgen |
703 |
+ if tc-is-cross-compiler ; then |
704 |
+ export BINDGEN_CFLAGS="${SYSROOT:+--sysroot=${ESYSROOT}} --target=${CHOST} ${BINDGEN_CFLAGS-}" |
705 |
+ fi |
706 |
+ |
707 |
+ # Set MOZILLA_FIVE_HOME |
708 |
+ export MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" |
709 |
+ |
710 |
+ # python/mach/mach/mixin/process.py fails to detect SHELL |
711 |
+ export SHELL="${EPREFIX}/bin/bash" |
712 |
+ |
713 |
+ # Set state path |
714 |
+ export MOZBUILD_STATE_PATH="${BUILD_DIR}" |
715 |
+ |
716 |
+ # Set MOZCONFIG |
717 |
+ export MOZCONFIG="${S}/.mozconfig" |
718 |
+ |
719 |
+ # Initialize MOZCONFIG |
720 |
+ mozconfig_add_options_ac '' --enable-application=comm/mail |
721 |
+ |
722 |
+ # Set Gentoo defaults |
723 |
+ export MOZILLA_OFFICIAL=1 |
724 |
+ |
725 |
+ mozconfig_add_options_ac 'Gentoo default' \ |
726 |
+ --allow-addon-sideload \ |
727 |
+ --disable-cargo-incremental \ |
728 |
+ --disable-crashreporter \ |
729 |
+ --disable-install-strip \ |
730 |
+ --disable-strip \ |
731 |
+ --disable-updater \ |
732 |
+ --enable-js-shell \ |
733 |
+ --enable-official-branding \ |
734 |
+ --enable-release \ |
735 |
+ --enable-system-ffi \ |
736 |
+ --enable-system-pixman \ |
737 |
+ --host="${CBUILD:-${CHOST}}" \ |
738 |
+ --libdir="${EPREFIX}/usr/$(get_libdir)" \ |
739 |
+ --prefix="${EPREFIX}/usr" \ |
740 |
+ --target="${CHOST}" \ |
741 |
+ --without-ccache \ |
742 |
+ --with-intl-api \ |
743 |
+ --with-libclang-path="$(llvm-config --libdir)" \ |
744 |
+ --with-system-nspr \ |
745 |
+ --with-system-nss \ |
746 |
+ --with-system-zlib \ |
747 |
+ --with-toolchain-prefix="${CHOST}-" \ |
748 |
+ --with-unsigned-addon-scopes=app,system \ |
749 |
+ --x-includes="${ESYSROOT}/usr/include" \ |
750 |
+ --x-libraries="${ESYSROOT}/usr/$(get_libdir)" |
751 |
+ |
752 |
+ # Set update channel |
753 |
+ local update_channel=release |
754 |
+ [[ -n ${MOZ_ESR} ]] && update_channel=esr |
755 |
+ mozconfig_add_options_ac '' --update-channel=${update_channel} |
756 |
+ |
757 |
+ if ! use x86 && [[ ${CHOST} != armv*h* ]] ; then |
758 |
+ mozconfig_add_options_ac '' --enable-rust-simd |
759 |
+ fi |
760 |
+ |
761 |
+ if [[ -s "${S}/api-google.key" ]] ; then |
762 |
+ local key_origin="Gentoo default" |
763 |
+ if [[ $(cat "${S}/api-google.key" | md5sum | awk '{ print $1 }') != 709560c02f94b41f9ad2c49207be6c54 ]] ; then |
764 |
+ key_origin="User value" |
765 |
+ fi |
766 |
+ |
767 |
+ mozconfig_add_options_ac "${key_origin}" \ |
768 |
+ --with-google-safebrowsing-api-keyfile="${S}/api-google.key" |
769 |
+ else |
770 |
+ einfo "Building without Google API key ..." |
771 |
+ fi |
772 |
+ |
773 |
+ if [[ -s "${S}/api-location.key" ]] ; then |
774 |
+ local key_origin="Gentoo default" |
775 |
+ if [[ $(cat "${S}/api-location.key" | md5sum | awk '{ print $1 }') != ffb7895e35dedf832eb1c5d420ac7420 ]] ; then |
776 |
+ key_origin="User value" |
777 |
+ fi |
778 |
+ |
779 |
+ mozconfig_add_options_ac "${key_origin}" \ |
780 |
+ --with-google-location-service-api-keyfile="${S}/api-location.key" |
781 |
+ else |
782 |
+ einfo "Building without Location API key ..." |
783 |
+ fi |
784 |
+ |
785 |
+ if [[ -s "${S}/api-mozilla.key" ]] ; then |
786 |
+ local key_origin="Gentoo default" |
787 |
+ if [[ $(cat "${S}/api-mozilla.key" | md5sum | awk '{ print $1 }') != 3927726e9442a8e8fa0e46ccc39caa27 ]] ; then |
788 |
+ key_origin="User value" |
789 |
+ fi |
790 |
+ |
791 |
+ mozconfig_add_options_ac "${key_origin}" \ |
792 |
+ --with-mozilla-api-keyfile="${S}/api-mozilla.key" |
793 |
+ else |
794 |
+ einfo "Building without Mozilla API key ..." |
795 |
+ fi |
796 |
+ |
797 |
+ mozconfig_use_with system-av1 |
798 |
+ mozconfig_use_with system-harfbuzz |
799 |
+ mozconfig_use_with system-harfbuzz system-graphite2 |
800 |
+ mozconfig_use_with system-icu |
801 |
+ mozconfig_use_with system-jpeg |
802 |
+ mozconfig_use_with system-libevent system-libevent "${ESYSROOT}/usr" |
803 |
+ mozconfig_use_with system-libvpx |
804 |
+ mozconfig_use_with system-png |
805 |
+ mozconfig_use_with system-webp |
806 |
+ |
807 |
+ mozconfig_use_enable dbus |
808 |
+ |
809 |
+ use eme-free && mozconfig_add_options_ac '+eme-free' --disable-eme |
810 |
+ |
811 |
+ if use hardened ; then |
812 |
+ mozconfig_add_options_ac "+hardened" --enable-hardening |
813 |
+ append-ldflags "-Wl,-z,relro -Wl,-z,now" |
814 |
+ fi |
815 |
+ |
816 |
+ mozconfig_use_enable jack |
817 |
+ |
818 |
+ mozconfig_use_enable pulseaudio |
819 |
+ # force the deprecated alsa sound code if pulseaudio is disabled |
820 |
+ if use kernel_linux && ! use pulseaudio ; then |
821 |
+ mozconfig_add_options_ac '-pulseaudio' --enable-alsa |
822 |
+ fi |
823 |
+ |
824 |
+ mozconfig_use_enable sndio |
825 |
+ |
826 |
+ mozconfig_use_enable wifi necko-wifi |
827 |
+ |
828 |
+ if use wayland ; then |
829 |
+ mozconfig_add_options_ac '+wayland' --enable-default-toolkit=cairo-gtk3-wayland |
830 |
+ else |
831 |
+ mozconfig_add_options_ac '' --enable-default-toolkit=cairo-gtk3 |
832 |
+ fi |
833 |
+ |
834 |
+ if use lto ; then |
835 |
+ if use clang ; then |
836 |
+ # Upstream only supports lld when using clang |
837 |
+ mozconfig_add_options_ac "forcing ld=lld due to USE=clang and USE=lto" --enable-linker=lld |
838 |
+ |
839 |
+ mozconfig_add_options_ac '+lto' --enable-lto=cross |
840 |
+ else |
841 |
+ # ld.gold is known to fail: |
842 |
+ # /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld.gold: internal error in set_xindex, at /var/tmp/portage/sys-devel/binutils-2.37_p1-r1/work/binutils-2.37/gold/object.h:1050 |
843 |
+ |
844 |
+ # ThinLTO is currently broken, see bmo#1644409 |
845 |
+ mozconfig_add_options_ac '+lto' --enable-lto=full |
846 |
+ mozconfig_add_options_ac "linker is set to bfd" --enable-linker=bfd |
847 |
+ fi |
848 |
+ |
849 |
+ if use pgo ; then |
850 |
+ mozconfig_add_options_ac '+pgo' MOZ_PGO=1 |
851 |
+ |
852 |
+ if use clang ; then |
853 |
+ # Used in build/pgo/profileserver.py |
854 |
+ export LLVM_PROFDATA="llvm-profdata" |
855 |
+ fi |
856 |
+ fi |
857 |
+ else |
858 |
+ # Avoid auto-magic on linker |
859 |
+ if use clang ; then |
860 |
+ # This is upstream's default |
861 |
+ mozconfig_add_options_ac "forcing ld=lld due to USE=clang" --enable-linker=lld |
862 |
+ else |
863 |
+ mozconfig_add_options_ac "linker is set to bfd" --enable-linker=bfd |
864 |
+ fi |
865 |
+ fi |
866 |
+ |
867 |
+ # LTO flag was handled via configure |
868 |
+ filter-flags '-flto*' |
869 |
+ |
870 |
+ mozconfig_use_enable debug |
871 |
+ if use debug ; then |
872 |
+ mozconfig_add_options_ac '+debug' --disable-optimize |
873 |
+ else |
874 |
+ if is-flag '-g*' ; then |
875 |
+ if use clang ; then |
876 |
+ mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols=$(get-flag '-g*') |
877 |
+ else |
878 |
+ mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols |
879 |
+ fi |
880 |
+ else |
881 |
+ mozconfig_add_options_ac 'Gentoo default' --disable-debug-symbols |
882 |
+ fi |
883 |
+ |
884 |
+ if is-flag '-O0' ; then |
885 |
+ mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O0 |
886 |
+ elif is-flag '-O4' ; then |
887 |
+ mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O4 |
888 |
+ elif is-flag '-O3' ; then |
889 |
+ mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O3 |
890 |
+ elif is-flag '-O1' ; then |
891 |
+ mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O1 |
892 |
+ elif is-flag '-Os' ; then |
893 |
+ mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-Os |
894 |
+ else |
895 |
+ mozconfig_add_options_ac "Gentoo default" --enable-optimize=-O2 |
896 |
+ fi |
897 |
+ fi |
898 |
+ |
899 |
+ # Debug flag was handled via configure |
900 |
+ filter-flags '-g*' |
901 |
+ |
902 |
+ # Optimization flag was handled via configure |
903 |
+ filter-flags '-O*' |
904 |
+ |
905 |
+ # Modifications to better support ARM, bug #553364 |
906 |
+ if use cpu_flags_arm_neon ; then |
907 |
+ mozconfig_add_options_ac '+cpu_flags_arm_neon' --with-fpu=neon |
908 |
+ |
909 |
+ if ! tc-is-clang ; then |
910 |
+ # thumb options aren't supported when using clang, bug 666966 |
911 |
+ mozconfig_add_options_ac '+cpu_flags_arm_neon' \ |
912 |
+ --with-thumb=yes \ |
913 |
+ --with-thumb-interwork=no |
914 |
+ fi |
915 |
+ fi |
916 |
+ |
917 |
+ if [[ ${CHOST} == armv*h* ]] ; then |
918 |
+ mozconfig_add_options_ac 'CHOST=armv*h*' --with-float-abi=hard |
919 |
+ |
920 |
+ if ! use system-libvpx ; then |
921 |
+ sed -i \ |
922 |
+ -e "s|softfp|hard|" \ |
923 |
+ "${S}"/media/libvpx/moz.build \ |
924 |
+ || die |
925 |
+ fi |
926 |
+ fi |
927 |
+ |
928 |
+ if use clang ; then |
929 |
+ # https://bugzilla.mozilla.org/show_bug.cgi?id=1482204 |
930 |
+ # https://bugzilla.mozilla.org/show_bug.cgi?id=1483822 |
931 |
+ # toolkit/moz.configure Elfhack section: target.cpu in ('arm', 'x86', 'x86_64') |
932 |
+ local disable_elf_hack= |
933 |
+ if use amd64 ; then |
934 |
+ disable_elf_hack=yes |
935 |
+ elif use x86 ; then |
936 |
+ disable_elf_hack=yes |
937 |
+ elif use arm ; then |
938 |
+ disable_elf_hack=yes |
939 |
+ fi |
940 |
+ |
941 |
+ if [[ -n ${disable_elf_hack} ]] ; then |
942 |
+ mozconfig_add_options_ac 'elf-hack is broken when using Clang' --disable-elf-hack |
943 |
+ fi |
944 |
+ elif tc-is-gcc ; then |
945 |
+ if ver_test $(gcc-fullversion) -ge 10 ; then |
946 |
+ einfo "Forcing -fno-tree-loop-vectorize to workaround GCC bug, see bug 758446 ..." |
947 |
+ append-cxxflags -fno-tree-loop-vectorize |
948 |
+ fi |
949 |
+ fi |
950 |
+ |
951 |
+ # Additional ARCH support |
952 |
+ case "${ARCH}" in |
953 |
+ arm) |
954 |
+ # Reduce the memory requirements for linking |
955 |
+ if use clang ; then |
956 |
+ # Nothing to do |
957 |
+ :; |
958 |
+ elif tc-ld-is-gold || use lto ; then |
959 |
+ append-ldflags -Wl,--no-keep-memory |
960 |
+ else |
961 |
+ append-ldflags -Wl,--no-keep-memory -Wl,--reduce-memory-overheads |
962 |
+ fi |
963 |
+ ;; |
964 |
+ esac |
965 |
+ |
966 |
+ if ! use elibc_glibc ; then |
967 |
+ mozconfig_add_options_ac '!elibc_glibc' --disable-jemalloc |
968 |
+ fi |
969 |
+ |
970 |
+ # Allow elfhack to work in combination with unstripped binaries |
971 |
+ # when they would normally be larger than 2GiB. |
972 |
+ append-ldflags "-Wl,--compress-debug-sections=zlib" |
973 |
+ |
974 |
+ # Make revdep-rebuild.sh happy; Also required for musl |
975 |
+ append-ldflags -Wl,-rpath="${MOZILLA_FIVE_HOME}",--enable-new-dtags |
976 |
+ |
977 |
+ # Pass $MAKEOPTS to build system |
978 |
+ export MOZ_MAKE_FLAGS="${MAKEOPTS}" |
979 |
+ |
980 |
+ # Use system's Python environment |
981 |
+ export MACH_USE_SYSTEM_PYTHON=1 |
982 |
+ |
983 |
+ # Disable notification when build system has finished |
984 |
+ export MOZ_NOSPAM=1 |
985 |
+ |
986 |
+ # Portage sets XARGS environment variable to "xargs -r" by default which |
987 |
+ # breaks build system's check_prog() function which doesn't support arguments |
988 |
+ mozconfig_add_options_ac 'Gentoo default' "XARGS=${EPREFIX}/usr/bin/xargs" |
989 |
+ |
990 |
+ # Set build dir |
991 |
+ mozconfig_add_options_mk 'Gentoo default' "MOZ_OBJDIR=${BUILD_DIR}" |
992 |
+ |
993 |
+ # Show flags we will use |
994 |
+ einfo "Build BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}" |
995 |
+ einfo "Build CFLAGS:\t\t${CFLAGS:-no value set}" |
996 |
+ einfo "Build CXXFLAGS:\t\t${CXXFLAGS:-no value set}" |
997 |
+ einfo "Build LDFLAGS:\t\t${LDFLAGS:-no value set}" |
998 |
+ einfo "Build RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}" |
999 |
+ |
1000 |
+ # Handle EXTRA_CONF and show summary |
1001 |
+ local ac opt hash reason |
1002 |
+ |
1003 |
+ # Apply EXTRA_ECONF entries to $MOZCONFIG |
1004 |
+ if [[ -n ${EXTRA_ECONF} ]] ; then |
1005 |
+ IFS=\! read -a ac <<<${EXTRA_ECONF// --/\!} |
1006 |
+ for opt in "${ac[@]}"; do |
1007 |
+ mozconfig_add_options_ac "EXTRA_ECONF" --${opt#--} |
1008 |
+ done |
1009 |
+ fi |
1010 |
+ |
1011 |
+ echo |
1012 |
+ echo "==========================================================" |
1013 |
+ echo "Building ${PF} with the following configuration" |
1014 |
+ grep ^ac_add_options "${MOZCONFIG}" | while read ac opt hash reason; do |
1015 |
+ [[ -z ${hash} || ${hash} == \# ]] \ |
1016 |
+ || die "error reading mozconfig: ${ac} ${opt} ${hash} ${reason}" |
1017 |
+ printf " %-30s %s\n" "${opt}" "${reason:-mozilla.org default}" |
1018 |
+ done |
1019 |
+ echo "==========================================================" |
1020 |
+ echo |
1021 |
+ |
1022 |
+ ./mach configure || die |
1023 |
+} |
1024 |
+ |
1025 |
+src_compile() { |
1026 |
+ local virtx_cmd= |
1027 |
+ |
1028 |
+ if use pgo ; then |
1029 |
+ virtx_cmd=virtx |
1030 |
+ |
1031 |
+ # Reset and cleanup environment variables used by GNOME/XDG |
1032 |
+ gnome2_environment_reset |
1033 |
+ |
1034 |
+ addpredict /root |
1035 |
+ fi |
1036 |
+ |
1037 |
+ local -x GDK_BACKEND=x11 |
1038 |
+ |
1039 |
+ ${virtx_cmd} ./mach build --verbose \ |
1040 |
+ || die |
1041 |
+} |
1042 |
+ |
1043 |
+src_install() { |
1044 |
+ # xpcshell is getting called during install |
1045 |
+ pax-mark m \ |
1046 |
+ "${BUILD_DIR}"/dist/bin/xpcshell \ |
1047 |
+ "${BUILD_DIR}"/dist/bin/${PN} \ |
1048 |
+ "${BUILD_DIR}"/dist/bin/plugin-container |
1049 |
+ |
1050 |
+ DESTDIR="${D}" ./mach install || die |
1051 |
+ |
1052 |
+ # Upstream cannot ship symlink but we can (bmo#658850) |
1053 |
+ rm "${ED}${MOZILLA_FIVE_HOME}/${PN}-bin" || die |
1054 |
+ dosym ${PN} ${MOZILLA_FIVE_HOME}/${PN}-bin |
1055 |
+ |
1056 |
+ # Don't install llvm-symbolizer from sys-devel/llvm package |
1057 |
+ if [[ -f "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" ]] ; then |
1058 |
+ rm -v "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" || die |
1059 |
+ fi |
1060 |
+ |
1061 |
+ # Install policy (currently only used to disable application updates) |
1062 |
+ insinto "${MOZILLA_FIVE_HOME}/distribution" |
1063 |
+ newins "${FILESDIR}"/distribution.ini distribution.ini |
1064 |
+ newins "${FILESDIR}"/disable-auto-update.policy.json policies.json |
1065 |
+ |
1066 |
+ # Install system-wide preferences |
1067 |
+ local PREFS_DIR="${MOZILLA_FIVE_HOME}/defaults/pref" |
1068 |
+ insinto "${PREFS_DIR}" |
1069 |
+ newins "${FILESDIR}"/gentoo-default-prefs.js gentoo-prefs.js |
1070 |
+ |
1071 |
+ local GENTOO_PREFS="${ED}${PREFS_DIR}/gentoo-prefs.js" |
1072 |
+ |
1073 |
+ # Set dictionary path to use system hunspell |
1074 |
+ cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set spellchecker.dictionary_path pref" |
1075 |
+ pref("spellchecker.dictionary_path", "${EPREFIX}/usr/share/myspell"); |
1076 |
+ EOF |
1077 |
+ |
1078 |
+ # Force hwaccel prefs if USE=hwaccel is enabled |
1079 |
+ if use hwaccel ; then |
1080 |
+ cat "${FILESDIR}"/gentoo-hwaccel-prefs.js \ |
1081 |
+ >>"${GENTOO_PREFS}" \ |
1082 |
+ || die "failed to add prefs to force hardware-accelerated rendering to all-gentoo.js" |
1083 |
+ fi |
1084 |
+ |
1085 |
+ # Force the graphite pref if USE=system-harfbuzz is enabled, since the pref cannot disable it |
1086 |
+ if use system-harfbuzz ; then |
1087 |
+ cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set gfx.font_rendering.graphite.enabled pref" |
1088 |
+ sticky_pref("gfx.font_rendering.graphite.enabled", true); |
1089 |
+ EOF |
1090 |
+ fi |
1091 |
+ |
1092 |
+ # Install language packs |
1093 |
+ local langpacks=( $(find "${WORKDIR}/language_packs" -type f -name '*.xpi') ) |
1094 |
+ if [[ -n "${langpacks}" ]] ; then |
1095 |
+ moz_install_xpi "${MOZILLA_FIVE_HOME}/distribution/extensions" "${langpacks[@]}" |
1096 |
+ fi |
1097 |
+ |
1098 |
+ # Install icons |
1099 |
+ local icon_srcdir="${S}/comm/mail/branding/thunderbird" |
1100 |
+ local icon_symbolic_file="${icon_srcdir}/TB-symbolic.svg" |
1101 |
+ |
1102 |
+ insinto /usr/share/icons/hicolor/symbolic/apps |
1103 |
+ newins "${icon_symbolic_file}" ${PN}-symbolic.svg |
1104 |
+ |
1105 |
+ local icon size |
1106 |
+ for icon in "${icon_srcdir}"/default*.png ; do |
1107 |
+ size=${icon%.png} |
1108 |
+ size=${size##*/default} |
1109 |
+ |
1110 |
+ if [[ ${size} -eq 48 ]] ; then |
1111 |
+ newicon "${icon}" ${PN}.png |
1112 |
+ fi |
1113 |
+ |
1114 |
+ newicon -s ${size} "${icon}" ${PN}.png |
1115 |
+ done |
1116 |
+ |
1117 |
+ # Install menu |
1118 |
+ local app_name="Mozilla ${MOZ_PN^}" |
1119 |
+ local desktop_file="${FILESDIR}/icon/${PN}-r2.desktop" |
1120 |
+ local desktop_filename="${PN}.desktop" |
1121 |
+ local exec_command="${PN}" |
1122 |
+ local icon="${PN}" |
1123 |
+ local use_wayland="false" |
1124 |
+ |
1125 |
+ if use wayland ; then |
1126 |
+ use_wayland="true" |
1127 |
+ fi |
1128 |
+ |
1129 |
+ cp "${desktop_file}" "${WORKDIR}/${PN}.desktop-template" || die |
1130 |
+ |
1131 |
+ sed -i \ |
1132 |
+ -e "s:@NAME@:${app_name}:" \ |
1133 |
+ -e "s:@EXEC@:${exec_command}:" \ |
1134 |
+ -e "s:@ICON@:${icon}:" \ |
1135 |
+ "${WORKDIR}/${PN}.desktop-template" \ |
1136 |
+ || die |
1137 |
+ |
1138 |
+ newmenu "${WORKDIR}/${PN}.desktop-template" "${desktop_filename}" |
1139 |
+ |
1140 |
+ rm "${WORKDIR}/${PN}.desktop-template" || die |
1141 |
+ |
1142 |
+ # Install wrapper script |
1143 |
+ [[ -f "${ED}/usr/bin/${PN}" ]] && rm "${ED}/usr/bin/${PN}" |
1144 |
+ newbin "${FILESDIR}/${PN}-r1.sh" ${PN} |
1145 |
+ |
1146 |
+ # Update wrapper |
1147 |
+ sed -i \ |
1148 |
+ -e "s:@PREFIX@:${EPREFIX}/usr:" \ |
1149 |
+ -e "s:@MOZ_FIVE_HOME@:${MOZILLA_FIVE_HOME}:" \ |
1150 |
+ -e "s:@APULSELIB_DIR@:${apulselib}:" \ |
1151 |
+ -e "s:@DEFAULT_WAYLAND@:${use_wayland}:" \ |
1152 |
+ "${ED}/usr/bin/${PN}" \ |
1153 |
+ || die |
1154 |
+} |
1155 |
+ |
1156 |
+pkg_preinst() { |
1157 |
+ xdg_pkg_preinst |
1158 |
+ |
1159 |
+ # If the apulse libs are available in MOZILLA_FIVE_HOME then apulse |
1160 |
+ # does not need to be forced into the LD_LIBRARY_PATH |
1161 |
+ if use pulseaudio && has_version ">=media-sound/apulse-0.1.12-r4" ; then |
1162 |
+ einfo "APULSE found; Generating library symlinks for sound support ..." |
1163 |
+ local lib |
1164 |
+ pushd "${ED}${MOZILLA_FIVE_HOME}" &>/dev/null || die |
1165 |
+ for lib in ../apulse/libpulse{.so{,.0},-simple.so{,.0}} ; do |
1166 |
+ # A quickpkg rolled by hand will grab symlinks as part of the package, |
1167 |
+ # so we need to avoid creating them if they already exist. |
1168 |
+ if [[ ! -L ${lib##*/} ]] ; then |
1169 |
+ ln -s "${lib}" ${lib##*/} || die |
1170 |
+ fi |
1171 |
+ done |
1172 |
+ popd &>/dev/null || die |
1173 |
+ fi |
1174 |
+} |
1175 |
+ |
1176 |
+pkg_postinst() { |
1177 |
+ xdg_pkg_postinst |
1178 |
+ |
1179 |
+ if use pulseaudio && has_version ">=media-sound/apulse-0.1.12-r4" ; then |
1180 |
+ elog "Apulse was detected at merge time on this system and so it will always be" |
1181 |
+ elog "used for sound. If you wish to use pulseaudio instead please unmerge" |
1182 |
+ elog "media-sound/apulse." |
1183 |
+ elog |
1184 |
+ fi |
1185 |
+ |
1186 |
+ local show_doh_information |
1187 |
+ local show_shortcut_information |
1188 |
+ |
1189 |
+ if [[ -z "${REPLACING_VERSIONS}" ]] ; then |
1190 |
+ # New install; Tell user that DoH is disabled by default |
1191 |
+ show_doh_information=yes |
1192 |
+ show_shortcut_information=no |
1193 |
+ else |
1194 |
+ local replacing_version |
1195 |
+ for replacing_version in ${REPLACING_VERSIONS} ; do |
1196 |
+ if ver_test "${replacing_version}" -lt 91.0 ; then |
1197 |
+ # Tell user that we no longer install a shortcut |
1198 |
+ # per supported display protocol |
1199 |
+ show_shortcut_information=yes |
1200 |
+ fi |
1201 |
+ done |
1202 |
+ fi |
1203 |
+ |
1204 |
+ if [[ -n "${show_doh_information}" ]] ; then |
1205 |
+ elog |
1206 |
+ elog "Note regarding Trusted Recursive Resolver aka DNS-over-HTTPS (DoH):" |
1207 |
+ elog "Due to privacy concerns (encrypting DNS might be a good thing, sending all" |
1208 |
+ elog "DNS traffic to Cloudflare by default is not a good idea and applications" |
1209 |
+ elog "should respect OS configured settings), \"network.trr.mode\" was set to 5" |
1210 |
+ elog "(\"Off by choice\") by default." |
1211 |
+ elog "You can enable DNS-over-HTTPS in ${PN^}'s preferences." |
1212 |
+ fi |
1213 |
+ |
1214 |
+ if [[ -n "${show_shortcut_information}" ]] ; then |
1215 |
+ elog |
1216 |
+ elog "Since ${PN}-91.0 we no longer install multiple shortcuts for" |
1217 |
+ elog "each supported display protocol. Instead we will only install" |
1218 |
+ elog "one generic Mozilla ${PN^} shortcut." |
1219 |
+ elog "If you still want to be able to select between running Mozilla ${PN^}" |
1220 |
+ elog "on X11 or Wayland, you have to re-create these shortcuts on your own." |
1221 |
+ fi |
1222 |
+ |
1223 |
+ optfeature_header "Optional runtime features:" |
1224 |
+ optfeature "encrypted chat support" net-libs/libotr |
1225 |
+} |