diff options
Diffstat (limited to 'mail-client')
-rw-r--r-- | mail-client/Manifest.gz | bin | 3543 -> 3549 bytes | |||
-rw-r--r-- | mail-client/thunderbird-bin/Manifest | 67 | ||||
-rw-r--r-- | mail-client/thunderbird-bin/thunderbird-bin-102.12.0.ebuild | 327 | ||||
-rw-r--r-- | mail-client/thunderbird/Manifest | 66 | ||||
-rw-r--r-- | mail-client/thunderbird/thunderbird-102.12.0.ebuild | 1178 |
5 files changed, 1638 insertions, 0 deletions
diff --git a/mail-client/Manifest.gz b/mail-client/Manifest.gz Binary files differindex e20bd2712c8c..b7350a5c1980 100644 --- a/mail-client/Manifest.gz +++ b/mail-client/Manifest.gz diff --git a/mail-client/thunderbird-bin/Manifest b/mail-client/thunderbird-bin/Manifest index a508a01ff899..f64bfc02a8c5 100644 --- a/mail-client/thunderbird-bin/Manifest +++ b/mail-client/thunderbird-bin/Manifest @@ -66,7 +66,74 @@ DIST thunderbird-102.11.2-uz.xpi 593013 BLAKE2B 7947e7e9fc35219b0a5be2e67002d3af DIST thunderbird-102.11.2-vi.xpi 745664 BLAKE2B 0ff46ad2bdc69036d78bcf8936d563b38c66685ac59e11df83aa59da027e5b36b6506c4d926db6729a4cc40b5f0f9058bccd71f93a6884f745954b8149e4b3cc SHA512 c697e3b2f7bf3e3940b73ea979c5eb06c2ba08a3e266687d2a7ce2a3a7970b0ea435bbf37e155a2b131845106870a96ada2fffa6a26579759bc16fa2b69f7f90 DIST thunderbird-102.11.2-zh-CN.xpi 739887 BLAKE2B 4425a432fa392e92d688b69c314d848ac2938e7e5a207eaa42a0a3c329511157e5b50f9d158e0836afe93fc073a29d8c730f2b6a2af59df94f80e167de43fbf2 SHA512 528c008e1226cc3db92c1167aa4b3b67ff476a6f81ac7646e1cc90a59d85f84089b1bbad2050998e2e5d22266991bc506af5bc7847f6904037d8cea43f9c4854 DIST thunderbird-102.11.2-zh-TW.xpi 748345 BLAKE2B 94c8fc2a5e7d321fb283903867a8427d90822676ec0ecc3e987286477ffcf6765b382d11dfffcc916a5543b6ae9ff531f7a86ec8eeca4ac658cb943b668a3b1c SHA512 8f9c3ae246d130a46170f3d7df00a9d0c7c5b701d2ee75fd6762796d51cc7f6ce0501ca09f1b4a2536f9fe3c8c8a1a0034ec8365af9212eb5db74523067f9403 +DIST thunderbird-102.12.0-af.xpi 556869 BLAKE2B bf49ad640d28261190e0a36c12c3a889bed4b0f2ae721c0c3bd9cfe1aca0affc4db4313e6917f591d7b27b57c64673f61c78d38b9f5c1dc089969c8f6731bca2 SHA512 0d3ec14b80d936bf3d8c676ff3350e64148899ec0c1f675ce9afb4c1b4db190b7aff896b1b6021710ee6bef5e187c7dec2e5186ec7d7cbd4db5147bae5525274 +DIST thunderbird-102.12.0-ar.xpi 666808 BLAKE2B d85de24769323489354f1e01a3f314c89353cb65aaae1c34e1081ae677a1242a6e2e014af6492379f36405785c6844ba338c7411e38002b23ad36a9f5d47d756 SHA512 234f9f8cb953367427acf4f66d78b09b17b42a5b68e7e88d6d05a553480b97d0ba6795c6397d47c2ec56128f9617eb12fde62ae5da561a4f46265f4848a3958b +DIST thunderbird-102.12.0-ast.xpi 572287 BLAKE2B b6b978805d004ed0af315ca5a933e6718a2fb418bb57225179b2592de4e1cc02829d86d293b84c1efa4156ec91ca989295511f0cca2fb54c34ec2843e4ad0d45 SHA512 36bfd1a60fba2e68f9f70acdf16baf70bb98cf9d29b9445e1bb12049cf0a35e31690bf1a08921bbfb231f028f37229166ea003a441ccfa4d9f92037611c987a3 +DIST thunderbird-102.12.0-be.xpi 701912 BLAKE2B 9fb23f99301745b0ccd7133e3ad2a27f1411cbedf6a05a5e67e0283d659c089f7f8c13c04069a06a6ea7d9417158f799fddbb2f638814af6a491972c7dd12d0e SHA512 53289e594064486b4de310bf63f31bb49953522eebea135c86d4ea2c88516e870449cde96dfb7016460b92927c6ab60f11a8f7a23097544963eb26094b529e17 +DIST thunderbird-102.12.0-bg.xpi 693374 BLAKE2B 4e0aaa5df44d143a64bafde233ef52ceda5f9145deb72d590a43dfe419292bedd3472012dce0ebe75ff0f627484044faad00289b20c7fa767ca8a6483f3b9986 SHA512 7a4c9f79bd4e3c91c73b310f499f3fba53d394a03ffe389646bd5aad0b7721d2128927c30264a4d7fc84d633901568eed7ad265420b1e6e10f06c9cca08b7873 +DIST thunderbird-102.12.0-br.xpi 626471 BLAKE2B b271977f2d58f620be16df68615573c8453cb74e661d7ecc86cedef2bf7523cd789965f316147e6a3b7c800acb1aff997d336ec82788e15cd9379194ae7a98f2 SHA512 0bce25a993e8f5b46247197a98c279563ec0be9fae9c867f4a18a9a97bc740ff517c42ffc9f283e180a7cbd6e83f57172e3d1555204fba4c2ab16e753c9eaf3a +DIST thunderbird-102.12.0-ca.xpi 651366 BLAKE2B 291b7acc40fb147c91a9ca0354bdade746aca3bfa1a3a5ae77ec8934ec7324ce11ed557f1b9b8a9bc8d425cbb0f8b731d2e315110c5f6c19f74cd1c68fda79c6 SHA512 851d756c599bf6ed164b73bf1de839f428741bbee2dcdaa61a4a04fa5b75cdc9c407201dc0e1e1ab4f97ef0fbcc46065c90eee2d29126bd1025bc80bfe91664e +DIST thunderbird-102.12.0-cak.xpi 651778 BLAKE2B f0a9d413e3d493f85afce06a3ef53792c0a75034f3e6db09f36a6e233db3837472e12d15052d0cc23a37d8a765b9977215130cc992bfc6f809d3d7c361c5fde5 SHA512 2c4b350de4c2e9519ef3c2f08520e8b38e06bb8d5143b747a6cb4eeb6f2a6cd1b1127634f6b2ac61583eaeb3799ee0549f8509edfa118de91422293bc9e204ea +DIST thunderbird-102.12.0-cs.xpi 728624 BLAKE2B 7e8fa63f2f74f7bf779b7c0b0923466bb6948228d9e6cd4bc7cccdf2bd9f52aa0767fc3bef9d2152dad2ee40b7c9601c56177c24497366af9edd675b5f238e0e SHA512 c31e9aa24759b3e611e06615130f1ae9639af47770c7f22a198f9f188ab80aa9fcdd73c0f5c5580dbedf0f11c55a9d6979fdc658dd072642ce32729a779d97d1 +DIST thunderbird-102.12.0-cy.xpi 705575 BLAKE2B 365fdd721204d00b80d6eb81b46c086add45f88d31bbda0f69e686585b8a5835e54632215fe6cfecfa1df24802a32123b8f2a775771ff184ad41eac2ad5ef05b SHA512 ae4b457d5f8fbd3380923315a1cb0b3970e25e32affa0e7aed6053cc56f11fee0a12b202d9a3cef9e3066247a417e2d2e2db33bf9a729759725cf27a9180637e +DIST thunderbird-102.12.0-da.xpi 685254 BLAKE2B ed17511e6e3d91ca20f885d5e966157992275a6f1180249d6ef52cce93754884ea75892651b1af2b96c012621ee87807ecc09128c58ae76735db28b8354a78ee SHA512 f16f6bd0ebc7602ed6ca21217070fa9cdb2006d324c91124bcf1fa9a0afc6fa59e0f634e9d18922fabd78bd6cefe9e9f6a5bcfb7a28f396368ab698589938876 +DIST thunderbird-102.12.0-de.xpi 717943 BLAKE2B 4694fc24436a2f1a8029f2aef2b76c4e409279871eebf5474a5a11a07a5372bae67599eac589fb40c3cf13133f9a7fde706e5ca86ac2e45c944b7e2415fb9e68 SHA512 331072b54d61003f75b34a99570292f84453a0e635f864c528ce48c94fba23e0150313354d882245feb2d1228a2e9d9c195a412c08be4e788571aa0979359231 +DIST thunderbird-102.12.0-dsb.xpi 737081 BLAKE2B 605cadee6750c6f892410b162f4f256c0e912960e2a6c0b2b3cf22647a746275f71a845ebc1eac21948dfbf544f6e6f28db07a329193b4d0d16bc4687a065f4a SHA512 783e51e6befe3a35ea382db2c385351a08bea7189646178fd1ec576ef207bdda644261e0c56cf37183caaacb3316a64636559ef7b6b80d03596af7255bed29ff +DIST thunderbird-102.12.0-el.xpi 840812 BLAKE2B 04577e28a08def57ef677a2577e8c5597be1bf08a7dd0e14a90399c9d9064913b88916a15c73d5565a5a4f714314e18f52353eb613469531ca65a8f1a33b8b50 SHA512 c9cc17de9186a3f6d966902acecb4e930559ad58f035c0820638fa1881cf7766f9b658dacebd84d654dbf533303e1732686f2b6d34aaf50a35472bab18f9d713 +DIST thunderbird-102.12.0-en-CA.xpi 659093 BLAKE2B 425b558846218ec37a3f12ae9cb1455b06d95c1726f2e873947916e8a490bf7acb58b60b984c32a4cfea7b1a5099937355efc934bcd4180f9f9c16d59725d44d SHA512 39b40724d1258c25f5cc331cdd281e209cd18e92ace4e2b612e76cf0baace654cb3d27c475baccef399d27b192c0a1bed4efa864ad650f1524c41ea2ae98fac8 +DIST thunderbird-102.12.0-en-GB.xpi 665007 BLAKE2B acf4486fb6c1a44b176e9bf80c6f12f864b11ea09c7002934640205fab9b42c29a86f3d6bd62910886c3149ffd5a7d268b1a46403b1d67306785ab1ff7995bc3 SHA512 0b156b3b2edfbe851e88366fcd949492e77172918888ff92ac851f51bf6fc28cfece130bb46f5fddd3efae9d92a5970433e28dc76b3fa42076de572af0076595 +DIST thunderbird-102.12.0-es-AR.xpi 717275 BLAKE2B 5c0cc6e34b34c33a8e36c5841dfdb13bbbc226dd284f2cdf0f6eacf3f9550fb6ccac6dfada8953abf16613ffe6a903901303cffc3a2c6da015cb13e2b018671d SHA512 5d264ac7c7cfc3bac8dcf07e81862fe5443e97008196184871efe94ace36ae839dac53ad4aefbb0632f5e4ded9e55c5ef3aa0d8eb75bd28cb047fbab1f70580f +DIST thunderbird-102.12.0-es-ES.xpi 677481 BLAKE2B 0ec36c38b306ae4b38f706691dab5254892a36bcfbdf55f03390ac9be1d5eb2a48a4d8fa3474ba4cbdfada80ade1b885aa3b370a4ff8c4a6093842e8990490b4 SHA512 d078785c664ad134775804590652803be5e7ebfbe60a7d361640ce8045b73c265824b623bc0ac7394ba38bf265d1b63130f335d63649dde3817750cda36a4b6d +DIST thunderbird-102.12.0-es-MX.xpi 719708 BLAKE2B 8a5084179527949c8d43a86cabc47d7c4c2e865493f72323d11753e5a79ad871b758260dfb3369491ffde8baf6f097b2d4fe3cf8ca1feebd1ddee52c57bb480e SHA512 c5f472d29de6014606ca73c7d333c81b186c4fa00a99f1044e77b8836b126924c90b40453171d8920461fda81dd0552b5532eda24e48391920cd38a65b1bbf10 +DIST thunderbird-102.12.0-et.xpi 676673 BLAKE2B 75dd1cc286260137c9541cc86de2395fca6d4a722fb8e620a8d44cbccc66f66953bb6209e8884728609541ff769b24998189ee0c646b3b01cd657146154365c9 SHA512 f3d6702738c55c7f4daf18d1a9183d34c1dfbb9074621363369a3132c64ef1975f4651fc9659cb1450c8d4cd610810eaf6e90f30dcc1fe1afbfc74402af3b4ec +DIST thunderbird-102.12.0-eu.xpi 701827 BLAKE2B 8a88ca039e2b028e59a72298964c590e77c2b8b9d7a3106360853b7153019e1d7442654c5238cdbd47220149a98f91d5522b6a9a81c051dd7c5efbd2d356769e SHA512 ad84aa83c1b2dc87e09babeef1d01737e3e3ab7edd4f816532d860cb61294380cea35ebc80566ad3eb531af77da05e10a0a0447f99ccc0bf386ae6344407a873 +DIST thunderbird-102.12.0-fi.xpi 693484 BLAKE2B a500f26430813db9075870821c2c4d2d7b0d85e191e546c08a246ce4142d4e54b7ea320062dffd5a79ffc4e29609ecb346109c47984be0b484ee1f004086ea55 SHA512 e82318909b0650aecf14b74fd7e724a376f18d86414090d9e5227eeffd1fdcf2b0540cfb8a6ec5608ef0bebb2ecc203508cd3c80777c331757abd00fea4b643f +DIST thunderbird-102.12.0-fr.xpi 730314 BLAKE2B 7314a7f3850e04342db25c7b4790d5845d232d9b43ba1c5da11f40adc5e74ccee325f44cedd1c0bd38ba3b2cad773607e641cf3feb4528b3c0ef82de536f759f SHA512 97bbfe9e21c88b69de7ff940365504d3cf12d5d28fbb5bdd591a02a2549c821227a90d3c577c1c2af04675bf66bf2c8d8126aa7697b620edf052da974724a5b1 +DIST thunderbird-102.12.0-fy-NL.xpi 711989 BLAKE2B ca495fcf43ed529f73e738b7d48c02fa0e7157d2448133a8aa0dbf746b9832962aa46049c223381fb0909c32985c15b076d0cab2e578560d427291bd4b303a57 SHA512 57d4b3f74bb3bec813ca5227ef753c6ee3b4b06603abaec92f5955dc6e404ee65ffb95d7d746a0dc1f0f9290f2630dc6ac054ca2118e24b197d3da3043de17a0 +DIST thunderbird-102.12.0-ga-IE.xpi 614535 BLAKE2B 086753da4594d5319b35ecfe0d4475f4c7abfa533536adbb35db803731b2d5429792f63e9476e7738fdf844d97958292e588db83cb118fc755a1009b03d250da SHA512 cebd6a55ffe2d0a9a3ee031f473765170110c3e7ed8a3d1858d778fea82278f9ee926a6c0e3f95bf839020176d858d4b9068ef2e64324370d2f7f2cb8456380b +DIST thunderbird-102.12.0-gd.xpi 643573 BLAKE2B e93f26c4c7d1e96e9ec66d20137b2d5c0fae41de05f13f4cb84eec0f9c5251cdd38993f19c55b9c139bf603e8f9d93b0dd68fa0b12a387a68d05376c7151eea0 SHA512 e119d6522b862885a51619850a69b410b1f858626e85abdadd8869849e7d1618c346a412a0daf598640b19a63e43084bacc9d9f4e8334243c5c32fbbb4676be7 +DIST thunderbird-102.12.0-gl.xpi 673001 BLAKE2B f61dd06d4c7c525361472aec72f07b0720bf07a0a78aa2ab6320435efd5774bae774cfbd5a6e9fa3a8d9c62670ec31b2e651e60bf6b698e3e74eaf3b8b6f83b9 SHA512 a228c41464538e9da97f47073d8f91784ad43c97f4ed05af42a918eb0a1e2cc96b44fe78ca6ac40a530c841c6b70a331d03eaa0d9cd0ac40bf0c3e70529eb5af +DIST thunderbird-102.12.0-he.xpi 676369 BLAKE2B c9f09ea3c22bd249a945e788fab3458e3ff6ad8f87e80e102bbfe11ef3e636a78e100934bfb66b74671868ebd2cb160e825d72ff4fdef2838664e3d542e64f6f SHA512 21fe33cf3b6b9458355df136ec506a95b038f89cb6362450591f6fa32e88b161107a4798e411227602d9ac86e719ef56dbd47824065069e60fc4c9b92eae6484 +DIST thunderbird-102.12.0-hr.xpi 677718 BLAKE2B 5240fb800c81b2a2ff36d7e2175dc9e530c52e02c36e7117d5aabe0b9c7320f8e1025a657bee57efd481c6e59205fa9eb42333fbdcffecb74d3670fea70124c0 SHA512 8df2e4a2bcdfd0ff230e33bdf39a2cf512a507ed0cb96a586925a56124e07bd4b8f3819c1ef0e850845bcc15f7859014c1ff635f80e0b952c8f538f6b6c4e054 +DIST thunderbird-102.12.0-hsb.xpi 736537 BLAKE2B 563f059cebcb9303b497f68cadcf55a5adacd50c7704c3d5c71535f0b97fcc50923e4c98065d67916d89ff22a40e97ded98d74b720ef159b121ed7fea5e3556d SHA512 e778ccc08bcefa6bdad70bd88728577ca2bf9fd240b61bc2bd7d526d9fa6ab0d954fb8c421f3e948e80cf63a343062cd34f15c7f682bd75e9d36a185dd132aa9 +DIST thunderbird-102.12.0-hu.xpi 741200 BLAKE2B 4bc9208a9092819137e00a4dc0731ddc86b46f05d90f59cc3710ccfdbe942e9a276b8074d2b6300582ade8b4b839f64d28fbeaf96a2abf1ce8edcaebe3a23db4 SHA512 dc5e5e47781ac3d497337ee7ce8d0dc8861621a696b7acebbf0c2da72e5b11d96462adab8729288f3c1b60462d52e0c0092995d4f3bcebadd3cf0891d1a11553 +DIST thunderbird-102.12.0-id.xpi 653191 BLAKE2B 29e0d8e40688b3f3193066a752ec4bb8198d1dfc92b8bef2b4a30a275fe3245367444b62dc2a59e42b398a03797c9c12b53f406b1fef93f0107047939cea9efb SHA512 6a8e35e3dc35107407b76f2ebc871c1778d7862d89b0359d112bc94af9e44b001399bfb9326ddd181f8d67c9647c84ee3338851052a33dd6aa5e91e234068f40 +DIST thunderbird-102.12.0-is.xpi 706391 BLAKE2B b319853bedb5cf54c7e0e690b6ed44af196010927e23e852fb781710f7c3540a2f6814bee35edabfffd42320f9953f06035996fc6a9a839055f00afaf065f3c3 SHA512 04411e9638cd659a3229b003921538c7c30fb3aba2f81281748f5f840c179df3ceb2b6a08001ff4bb759c92d9c0f811cb539414ad99d29a479998b6a07bd127c +DIST thunderbird-102.12.0-it.xpi 639985 BLAKE2B 36068fc1f1c6de4cdc47165bfac299818733b254d06a741c7ad024a6f3b59b44dd4cff0af8fa6139bf748d611e318251b44b79819bf73dd707c8b948314ea14d SHA512 9ebe2f5216605e026a3cb4fb0a61a22e9ec4042cf3a7985c4e02336995c83b92afa6b845a4c198b1d610bf3a2f9bff9f7d68929099491a190676767ad33ef39d +DIST thunderbird-102.12.0-ja.xpi 781906 BLAKE2B 6b7c516a92e8c290933f38473465bb29a47839edb9520fc9f5fff60033e852192e6700d7dc4047738e8ea202b922455b20c777b7bbdb66931c13de6572ca59bf SHA512 02e9a60645bd07aaf6893e6486669b7e64922f8a1e0ecee692101f940d6a9dea948a361ffa2660efd34d18a4b48b45810d2d00773497869ff7ce2568247a8def +DIST thunderbird-102.12.0-ka.xpi 769801 BLAKE2B b9776d3743dfc502b0f76a105c360b941eae9d7ccf8af82f637e7a202503de84265a26049d3bed6b7e7e1dc60cf922fa9892185eaeb91066e32452c17656a7c0 SHA512 e02118ef8f18ca606c33fed58e5f8be43dd0f7064751253194c14840787c10c56f27746667495978ad2dcc077f8bd5c3c10c17bebb91437534ce1ac18ead4d70 +DIST thunderbird-102.12.0-kab.xpi 702701 BLAKE2B f6296bd4aa59cd4cc64f4a0a9b38447e16b5f3b2115bc6365bc21866baf1b118809e7720fcb4963d1a2efed11d24dc9aa5fdc03e6dd2846251c3b1963dd178b4 SHA512 4a66118c6e6264ee282b83f0e9130b51f3840752590520d7c73024719993d9748254c15f66dc5cf4c9f99c80d1baa283748860e95d2c2a7564aa1def7d57752a +DIST thunderbird-102.12.0-kk.xpi 810966 BLAKE2B 229886d734a69bb75143a05fa31e7928c438f23cde5cb15656d2d7e6a191f85775b1bc89721167adf51ea195e4d95cbd1789c8c567d5c0744d23dbb25233dfed SHA512 46e79c514903cc3281acb0979cf8a97a31156595d25e3b087602f73bccb14df3d9d9f6e31d2fccba0073b732c31af4727ec9dae17cb7d3ea52faa34e0dbff576 +DIST thunderbird-102.12.0-ko.xpi 716819 BLAKE2B 3f10fb7a76c56ed21e1419ec1330ec6d8b8990d0ee00301616446e6cebba3001c3b84e0990c119a989c9680e76ca7f78739889bb618bc07d30bf5f5845270fdb SHA512 33ab8f47c0e9880ecfab67181387e934b43e46bf92ad1544d8f3475d3ab360cab46dd091f4b2f2f944fb9b0ae4048c93227bbd7fe8793a1b60ae39c7b42c43e7 +DIST thunderbird-102.12.0-lt.xpi 690854 BLAKE2B 8a43c147e46e21f59d6cb751ddfc98cd5ce27ef82a56a48182ddf53315c60090875273c6f18cc2a01fe52f99a775852c8310451eedbb92ef1c93e9de904b5502 SHA512 4c2c0ae55698a24fe3b138cddd014b09274030aa153b9e84afcad9076eab92fae8dfe2791cb3e30c97481a55c70567c6ef4b9c6b82c840ec44d82b12f70d87e2 +DIST thunderbird-102.12.0-lv.xpi 617766 BLAKE2B 8ada00bba0d5dd6d959d589d75c96a7b9ab5b4570fb391c18fa226ecaf6ba5ba9f5f676d6df51645f527ee5b6507c1abc0bf62401abdef3d8e9fefcef02b0230 SHA512 402c23db838af9ea4ab9e20533b92027c8b7fe03b7ee434746dac6db447ddcbfc1ce76afd9563485d68e414bbbaf03629552632a7090b0b83d19b1dd10e22cec +DIST thunderbird-102.12.0-ms.xpi 577757 BLAKE2B 9c32d28e6b5d371bc52d1d8dd4c6ff5ffb93b19cbd01b3f413f8e345736b78652064042042298f7b41a7ce72452d1acbdf7811ce239c515c300323e5ef59a281 SHA512 f3caa0be15061497d574ae31a5b14a843d1c7172a3ee9b71339e956a09d7ab4760975591272570a9522bcd578bd1934ec17f0bcb8aed4edd1b043b1a0e528a7b +DIST thunderbird-102.12.0-nb-NO.xpi 662682 BLAKE2B ebadeef91a7e8af71b797d744295625816095e2e4ca845c7a508ad7ddfa7beb715990031823021a177dc28867658ee5a4026dcbf594fa690e636cd094d4e21d2 SHA512 36107365ca9924194fb0c26f3e4f035c957926977dcd498bff3b19bdc3fc903c50ee42d3c706b54a0bc0620d4ef1f5ae0ae82c1a67c8ace2a022b4587efe3a60 +DIST thunderbird-102.12.0-nl.xpi 703274 BLAKE2B 81646192f230055e4f6f27b1801c6f1d567118a5e372d6bb83c99ceeb82a2b9accead0c85f24dd2c764e185c4e02a77c47a9e6eb7be81e6c4293291817ed0078 SHA512 c24c45ac61ea454ed53be9f3d91beb6599a2693985b78da53164731a2ec0437f8da2c5518f5f9dd00cf8fb3270347dc1a4bb65866ccbe336e454735c675db1a5 +DIST thunderbird-102.12.0-nn-NO.xpi 672831 BLAKE2B 639445762e2b12eac1ede597ae240fbcde8a60d1e295b42321f166f5d12744a02546b149eba71df1ce328e939d2e1b9c235aba54a8661e4fd8677d96a8a008ac SHA512 69d7e52e17ae5c66046dfd04b8eade756062d8fb96b1cd8b549b2af3ea1727d522add6c89e17046eab6720af0e287dee54c191f92e01c48a536b223d69c6db83 +DIST thunderbird-102.12.0-pa-IN.xpi 668030 BLAKE2B 3865fc2ee9618dcd8353b405fbbb762c0dbef28d2f1d7d7bd42c3aed95dcf993632fe88b3277e9e80937d0b3eebd4b6b375ce0353e9ab245c53563535e925b56 SHA512 b1ef2038b4b0a7bd64593002704f5b5904c9fd15c3c51f6c695dd671bff3fc8d8fbce1d379dbaa0a7a90ceb42a89adb61dfc9e36bcced2130761fb32c1301187 +DIST thunderbird-102.12.0-pl.xpi 716229 BLAKE2B aa02b54b89b851e4b9c1cd72d69075c61bfc8cbfff478dc377728b502af50b82f87be949baa587c2cb34cdf56cddb32d7603274ed3e4da0c3bb13ed9b3ad4290 SHA512 2e83af2e03534b255a95f34804a5be9ef86f2fc276b7f8f32fb66cd1193df70022536404f198aefee1cc347ece87cfdd17ff9ff7b99d7b3bdefeccfa6c70bd19 +DIST thunderbird-102.12.0-pt-BR.xpi 711150 BLAKE2B 42454ca6c3ce72096f8d14e74687077e6528734d10613532d30f97b23548383be4106d8d7f1916835b9e976912f878502724c33789694ee16add2936bad2e21b SHA512 273ba7d25954433d1ad1a3f46c0fe2a8c967a6274816d66f3eebf05fe8ac8685150df2141eacdfe78db13051c92f370c4ae5b157febc20092151a0748fb38623 +DIST thunderbird-102.12.0-pt-PT.xpi 686909 BLAKE2B 11ecb9881c408ab3297fa04e29d1b58cc75bc7ca7ff4d18e2bc878dc156fe371030d0dea49496b5135a7d8304effe312aea83ddfe3b6736189ba7fc03a6f0cdc SHA512 fbacb25c83ea7c78f0c1e471579638ba67c84a3588d319047ce9e2e54729dbe83a95fca0e9f9f94b3a274bf4906aff8b0457b5a1896ac6754f40de13db0e184c +DIST thunderbird-102.12.0-rm.xpi 701681 BLAKE2B a8b9838974778d1d30489f9b43429ed2a7de4173824e4c318ff77915ac89d5db5f0dc4bdc595f52a9d54027253e49a24b5a9f3a39bbf3e1bb59e3b62cd564c49 SHA512 1ec6c62d90e1ffeb9bc3aea34ac68cdecf272e8a9a6240ed7d53e3328797c98960a9f907583d7a08e237e0042037c8717d408966a3f1197ad97dd5fe97547607 +DIST thunderbird-102.12.0-ro.xpi 661278 BLAKE2B 37c9e7e66d2e0e9ab7d92bfaf8f62afb40844aa508d85d2e8b531c869f667fa9822bc6f9eb63185958caad3d561a0f7bb8d4058b9f191ddf86523ae6042fddd5 SHA512 c67e6ffaf8b442dc5f519554010e04f52dec69de554942af1890c31045545643a9e1818e7207ac040662f2a62573ae92db13190dd0808f54a00967c9c28cc292 +DIST thunderbird-102.12.0-ru.xpi 827220 BLAKE2B 411417eb3ad089e892d9bd5b492bc5171af0c6d65e41e2aa1f9d71c6ae9a002d07bb0fda91ad15a376a8102819eee3b8e92ecef34b7e51bef26b9f15402bcc6e SHA512 ca0c2a3a4c1e25f4ceb02061376004b2e82c76e17fefe1deb8971db070ab25e3f72170e4cbfacbb9fe74b0a47e7b82aff0a9a6eae124087eac4718a04b186acf +DIST thunderbird-102.12.0-sk.xpi 740981 BLAKE2B 1594e65ca143e76b3b100c5d70fdf20c8c36340e7f18625aba4bea1d3cda58d429d7c41dc964e95aa40568430c9fd5ea6e1d6298b6a8dfc4139defc2e11e4769 SHA512 d3a967b7b6e2383aefcf63158d8aba856854b832d75a7c978c75dfad07793f1863996c7e5312272651b8f7479e07892bf0871df82ed4e2cb0becf0cf45524019 +DIST thunderbird-102.12.0-sl.xpi 704057 BLAKE2B 1158ca3c8f648c072fe551880236de212dd044e01b83438c75504fbf3aea9a9a9f2f087491c59de75ebe132f09100f4e72a40c5908f8bd2217d31418f7fa187c SHA512 feac5432e2c0082238eb510d20ce47eea812b4513383c301a656672b1401f46a2e9e9efe3f31963636b909ec673282941681cefb5d0ffe9b073473ddd54900a2 +DIST thunderbird-102.12.0-sq.xpi 726034 BLAKE2B 0d9e9fc94a830078bf9330c9d957a810b25d6e91138f770d15f9e3e7ef6ac34b563435f94c70caaef8eb5d022adcd1a1a978314cc3db84f5b411f00e2ffeb588 SHA512 f1b21c88e2270d86aca20e09062fb593767d6f38308e9dc72378ec8be5d4abfd90103bb68692ecd5c8847362c63e9706c31fc273471227a22edc2eb7850bdd48 +DIST thunderbird-102.12.0-sr.xpi 720554 BLAKE2B 5f57f24cd24ea923b611bd6dabb78c5a97e2aeea676b96b671cf16e89e129634791bdb86d7e3568f7f08b03fb106311c1eb78e98a08f3d5e5019c77b5750830f SHA512 82c95e95963f5d4cdee39b45c60d8c706a051333c8e40bab01a90cbb7af180a1f741d46fd01411ce40da8eb0d2acfb1132dd1730bd804726627b1cfefd041181 +DIST thunderbird-102.12.0-sv-SE.xpi 706951 BLAKE2B 09fdb936e6f723cd438a8d5c28207c0e7592b2867c044091fb1053d55469141470687b84307b2f3de5e442e263342ddca6b364e3f44b4e4d41c82b297533850b SHA512 72e93022ef447a63eddc6f55717dbcd661c2b9ab7ce0f0249d88abca9eb1c124f28cd1c792dc3bf2fa39c6a33d4b2edf0fb999c130c8d10c704bedc3777a48e4 +DIST thunderbird-102.12.0-th.xpi 758235 BLAKE2B fdf8c2f8bb2f6b7cb14612d8709b8713395c71162e5a9770549c5d8739ba32c58ab9f1bc8aceb2bf8e078e3974ed7336a899f46fcc1072bad20c9e6034d78b24 SHA512 abf3696fcee1e4038ded1006822f4dbf29a6d39d8ec2b785fab81da6aeb23db4156e3bbb615f3e9df6684b31b0b60893d9d8f1542ae24f1ad22c0228c8cf5a46 +DIST thunderbird-102.12.0-tr.xpi 720174 BLAKE2B d6d5b53370162e86a21d8f14ade244ef365bf3873f124b5877a3e7c33afe2aa8d8f27bd844205dcc007676d98b06006c8888d34d0a1c4cb4675fb64bb69a6b71 SHA512 668c5bfd2314eb8c363bcef0575969c8e628cae286009561e4b8922c9b486b3d01c7ef86221f6442def63e489cb116f87eda92164b2b338988fe77109d464d94 +DIST thunderbird-102.12.0-uk.xpi 818662 BLAKE2B 5fbdcdc300a54123a5411732158212c2b2bb8aa8e9a3cb8aa423220e852360265e0f10e463c5a094763c564214640213a99ff7c77edd7e4c974f63bc0b665f55 SHA512 80158d3b4762385ecb7322ce2af20535ec907943137e467858cc6e37f0cf47e9a430921d78d55fa3e3bc6fdecbd045d365047781530c67c30235acdf266fd96f +DIST thunderbird-102.12.0-uz.xpi 593012 BLAKE2B 283eaa6c6bf986e17c0e659e165ca809a17af5a6a4c7e58fcb5bdb6488cf527786bb08fc196aa28fa5ac7256fd746090c80eb3a7c030437e718ff7d4f648c0c1 SHA512 080ce00445c8d61d559a90141add9da9892cc584c50cbc2e0dad65c1fb30df4cecfd331433dea898763569f2b1e268eacf9867f333b2cf9b0dac17a7aca0bbd5 +DIST thunderbird-102.12.0-vi.xpi 745662 BLAKE2B 7c3022da529e8badd780b7563e4672f110e0e00221f7292c6f1b4cc9d470b103c2f01161d9982ae89ff227e8234e7afb6085222f02c814e32b543a7b9115da79 SHA512 b4aed65f63be3082104446703f5c65405934bc454afe9d643c8c1053d0e28befa08634545a37539d9b8a16069723dd175743d835d673d509d1dd0c3ba5687243 +DIST thunderbird-102.12.0-zh-CN.xpi 739886 BLAKE2B 3df5581c666cd0d11682fae5ce02ce447915b2c81b9a1c60ea95d7da227dd8532ff487485b06cfba4b6ae884d0f59da1a6cf3c04fa5b38f9576bc2270399d005 SHA512 e3d901fe873badd85f104316ec331010df4390960d45830c9acd859e0a4849d1b9089d7ceb2adf4d8366d1b4b95e68be3423ce358e1b1e9651eaec1538f319cf +DIST thunderbird-102.12.0-zh-TW.xpi 748346 BLAKE2B 2950a7cf86aaad8aeeab276b82529f8aa5c003cc3b0170237745c3526fadb218dd616333b3899f3eff4e69ec2f4994dfc2fe7ecc8e03902dd6dbbb0423ef098e SHA512 34f903a976e2cf9e942202d5153ae7385612df68cb429dcc9bd75f6e2fd96c173a01742a15a49f8ff7c29b618f55198cec096a1be22fd32c5d971692efd27c89 DIST thunderbird-bin_i686-102.11.2.tar.bz2 78347553 BLAKE2B ad7cf501d9f1b7f8ea5f64d1327d43805dfff75dd9c2cf1697e27deb19e5f0c4e4f592b76af0ff0022ac57d4b35d23af946c6483bb3279480c495351d3766532 SHA512 3e3020511de9cb03c274d652894daafe669b06848aa43dd5a8d9277c2a330f9074809bbb76b019141bd47e6f52a3daa95abdef56b7a8aed99a67c0684d85f31c +DIST thunderbird-bin_i686-102.12.0.tar.bz2 78319158 BLAKE2B ae4db571f9dbf1a49fd6d3c07c96ffd49a63bfb9c8d57e78035e645398bc5f71cc206fa44b5fa4795fde4e34a4e10ad426108267110ddc245c592a8bc2a24ab3 SHA512 5511c592584df5949eae53990538363976803ab4e1b09de6f62f5a33e51a82ebc797bf53c50e5df012fc5dfc0e43fc0c2161a380e3cc89f5e235b62c4976debd DIST thunderbird-bin_x86_64-102.11.2.tar.bz2 75402680 BLAKE2B 58ea44bba669cf986874fc9b1e291fc8c537d6c2d8447f2aa5817aee22a6b65c74588b919bae02eb06e97c63f6835b71c3a17c6ac4fcb40339a1bfaac8a27f74 SHA512 900badabb48f4cf480e83e1dd77c03db82c1625565ffb483e2c3ba55a775f676f25c0b9915fdfed2ffdef040dc054bbb68d44629fa199ebe28729f9be6c83a97 +DIST thunderbird-bin_x86_64-102.12.0.tar.bz2 75283834 BLAKE2B c2843a97f24148cca2ed187bcac745dfc2fd0438e38c9aec3fa078ae6bc75c896f07616d227bcb8f5efbcd9820cb35f25bb3b51c99d60e6aceaea583c8326ed9 SHA512 2643e94b75780e37d9b1641a4798f19b63ca2d46eeb8f0a25bad25d61379694b223459ad5592cba825f0a87c02f33d48b5a3da42fdc0cfefa062d8d72cb98dd8 EBUILD thunderbird-bin-102.11.2.ebuild 9015 BLAKE2B 7955496ae4cf5e46ef0e5b619e347874c9d2d8ad9f4a339913b2cd9cea5fe85f46095041ef8345d2087fb4ab7b0ff67d6261c1422f1ee03917062b330499dd56 SHA512 f10a2e1ce977a51c57b3d219afd51e81864f7f3d494d21f5986ccd01b38adf16be499a5ac7b63f044891dba001bd47900fd4506b3bdd6bf6436a86ab3a3ea212 +EBUILD thunderbird-bin-102.12.0.ebuild 9015 BLAKE2B 7955496ae4cf5e46ef0e5b619e347874c9d2d8ad9f4a339913b2cd9cea5fe85f46095041ef8345d2087fb4ab7b0ff67d6261c1422f1ee03917062b330499dd56 SHA512 f10a2e1ce977a51c57b3d219afd51e81864f7f3d494d21f5986ccd01b38adf16be499a5ac7b63f044891dba001bd47900fd4506b3bdd6bf6436a86ab3a3ea212 MISC metadata.xml 255 BLAKE2B f54493c82293ca95a1ffd16d6199055650b0aaa18234716339235bab3f14a87327cb04fac6b543f973b3fef8047412e54edf72bf0b8a9424f4aa1d2eb0feec30 SHA512 28c0ab3671ed2c65cd9694181f7f9c4a8bea53dee0a0a06f0d9086166317a87611017b105d5150167597c45a7dd8921182fd6bf9d1b3fc7408c0e94f36189e33 diff --git a/mail-client/thunderbird-bin/thunderbird-bin-102.12.0.ebuild b/mail-client/thunderbird-bin/thunderbird-bin-102.12.0.ebuild new file mode 100644 index 000000000000..111a1c0c3750 --- /dev/null +++ b/mail-client/thunderbird-bin/thunderbird-bin-102.12.0.ebuild @@ -0,0 +1,327 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MOZ_ESR= + +MOZ_PV=${PV} +MOZ_PV_SUFFIX= +if [[ ${PV} =~ (_(alpha|beta|rc).*)$ ]] ; then + MOZ_PV_SUFFIX=${BASH_REMATCH[1]} + + # Convert the ebuild version to the upstream Mozilla version + MOZ_PV="${MOZ_PV/_alpha/a}" # Handle alpha for SRC_URI + MOZ_PV="${MOZ_PV/_beta/b}" # Handle beta for SRC_URI + MOZ_PV="${MOZ_PV%%_rc*}" # Handle rc for SRC_URI +fi + +if [[ -n ${MOZ_ESR} ]] ; then + # ESR releases have slightly different version numbers + MOZ_PV="${MOZ_PV}esr" +fi + +MOZ_PN="${PN%-bin}" +MOZ_P="${MOZ_PN}-${MOZ_PV}" +MOZ_PV_DISTFILES="${MOZ_PV}${MOZ_PV_SUFFIX}" +MOZ_P_DISTFILES="${MOZ_PN}-${MOZ_PV_DISTFILES}" + +inherit desktop optfeature pax-utils xdg + +MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/releases/${MOZ_PV}" + +SRC_URI="amd64? ( ${MOZ_SRC_BASE_URI}/linux-x86_64/en-US/${MOZ_P}.tar.bz2 -> ${PN}_x86_64-${PV}.tar.bz2 ) + x86? ( ${MOZ_SRC_BASE_URI}/linux-i686/en-US/${MOZ_P}.tar.bz2 -> ${PN}_i686-${PV}.tar.bz2 )" + +DESCRIPTION="Thunderbird Mail Client" +HOMEPAGE="https://www.thunderbird.net/" + +KEYWORDS="-* amd64 x86" +SLOT="0/$(ver_cut 1)" +LICENSE="MPL-2.0 GPL-2 LGPL-2.1" +IUSE="+alsa +ffmpeg +pulseaudio selinux wayland" + +RESTRICT="strip" + +BDEPEND="app-arch/unzip + alsa? ( + !pulseaudio? ( + dev-util/patchelf + ) + )" +DEPEND="alsa? ( + !pulseaudio? ( + media-sound/apulse + ) + )" +RDEPEND="${DEPEND} + >=app-accessibility/at-spi2-core-2.46.0:2 + dev-libs/dbus-glib + >=dev-libs/glib-2.26:2 + media-libs/alsa-lib + media-libs/fontconfig + >=media-libs/freetype-2.4.10 + sys-apps/dbus + virtual/freedesktop-icon-theme + >=x11-libs/cairo-1.10[X] + x11-libs/gdk-pixbuf:2 + >=x11-libs/gtk+-3.11:3[wayland?] + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXcursor + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXtst + x11-libs/libxcb + >=x11-libs/pango-1.22.0 + ffmpeg? ( media-video/ffmpeg ) + pulseaudio? ( media-libs/libpulse ) + selinux? ( sec-policy/selinux-thunderbird ) +" + +QA_PREBUILT="opt/${MOZ_PN}/*" + +MOZ_LANGS=( + af ar ast be bg br ca cak cs cy da de dsb + el en-CA en-GB en-US es-AR es-ES es-MX et eu + fi fr fy-NL ga-IE gd gl he hr hsb hu + id is it ja ka kab kk ko lt lv ms nb-NO nl nn-NO + pa-IN pl pt-BR pt-PT rm ro ru + sk sl sq sr sv-SE th tr uk uz vi zh-CN zh-TW +) + +mozilla_set_globals() { + # https://bugs.gentoo.org/587334 + local MOZ_TOO_REGIONALIZED_FOR_L10N=( + fy-NL ga-IE gu-IN hi-IN hy-AM nb-NO ne-NP nn-NO pa-IN sv-SE + ) + + local lang xflag + for lang in "${MOZ_LANGS[@]}" ; do + # en and en_US are handled internally + if [[ ${lang} == en ]] || [[ ${lang} == en-US ]] ; then + continue + fi + + # strip region subtag if $lang is in the list + if has ${lang} "${MOZ_TOO_REGIONALIZED_FOR_L10N[@]}" ; then + xflag=${lang%%-*} + else + xflag=${lang} + fi + + SRC_URI+=" l10n_${xflag/[_@]/-}? (" + SRC_URI+=" ${MOZ_SRC_BASE_URI}/linux-x86_64/xpi/${lang}.xpi -> ${MOZ_P_DISTFILES}-${lang}.xpi" + SRC_URI+=" )" + IUSE+=" l10n_${xflag/[_@]/-}" + done +} +mozilla_set_globals + +moz_install_xpi() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 2 ]] ; then + die "${FUNCNAME} requires at least two arguments" + fi + + local DESTDIR=${1} + shift + + insinto "${DESTDIR}" + + local emid xpi_file xpi_tmp_dir + for xpi_file in "${@}" ; do + emid= + xpi_tmp_dir=$(mktemp -d --tmpdir="${T}") + + # Unpack XPI + unzip -qq "${xpi_file}" -d "${xpi_tmp_dir}" || die + + # Determine extension ID + if [[ -f "${xpi_tmp_dir}/install.rdf" ]] ; then + emid=$(sed -n -e '/install-manifest/,$ { /em:id/!d; s/.*[\">]\([^\"<>]*\)[\"<].*/\1/; p; q }' "${xpi_tmp_dir}/install.rdf") + [[ -z "${emid}" ]] && die "failed to determine extension id from install.rdf" + elif [[ -f "${xpi_tmp_dir}/manifest.json" ]] ; then + emid=$(sed -n -e 's/.*"id": "\([^"]*\)".*/\1/p' "${xpi_tmp_dir}/manifest.json") + [[ -z "${emid}" ]] && die "failed to determine extension id from manifest.json" + else + die "failed to determine extension id" + fi + + einfo "Installing ${emid}.xpi into ${ED}${DESTDIR} ..." + newins "${xpi_file}" "${emid}.xpi" + done +} + +src_unpack() { + local _lp_dir="${WORKDIR}/language_packs" + local _src_file + + mkdir "${S}" || die + + if [[ ! -d "${_lp_dir}" ]] ; then + mkdir "${_lp_dir}" || die + fi + + for _src_file in ${A} ; do + if [[ ${_src_file} == *.xpi ]]; then + cp "${DISTDIR}/${_src_file}" "${_lp_dir}" || die "Failed to copy '${_src_file}' to '${_lp_dir}'!" + else + MY_SRC_FILE=${_src_file} + fi + done +} + +src_install() { + # Set MOZILLA_FIVE_HOME + local MOZILLA_FIVE_HOME="/opt/${MOZ_PN}" + + dodir /opt + pushd "${ED}"/opt &>/dev/null || die + unpack "${MY_SRC_FILE}" + popd &>/dev/null || die + + pax-mark m \ + "${ED}${MOZILLA_FIVE_HOME}"/${MOZ_PN} \ + "${ED}${MOZILLA_FIVE_HOME}"/${MOZ_PN}-bin \ + "${ED}${MOZILLA_FIVE_HOME}"/plugin-container + + # Patch alsa support + local apulselib= + if use alsa && ! use pulseaudio ; then + apulselib="${EPREFIX}/usr/$(get_libdir)/apulse" + patchelf --set-rpath "${apulselib}" "${ED}${MOZILLA_FIVE_HOME}/libxul.so" || die + fi + + # Install policy (currently only used to disable application updates) + insinto "${MOZILLA_FIVE_HOME}/distribution" + newins "${FILESDIR}"/disable-auto-update.policy.json policies.json + + # Install system-wide preferences + local PREFS_DIR="${MOZILLA_FIVE_HOME}/defaults/pref" + insinto "${PREFS_DIR}" + newins "${FILESDIR}"/gentoo-default-prefs.js gentoo-prefs.js + + local GENTOO_PREFS="${ED}${PREFS_DIR}/gentoo-prefs.js" + + # Install language packs + local langpacks=( $(find "${WORKDIR}/language_packs" -type f -name '*.xpi') ) + if [[ -n "${langpacks}" ]] ; then + moz_install_xpi "${MOZILLA_FIVE_HOME}/distribution/extensions" "${langpacks[@]}" + fi + + # Install icons + local icon_srcdir="${ED}/${MOZILLA_FIVE_HOME}/chrome/icons/default" + + local icon size + for icon in "${icon_srcdir}"/default*.png ; do + size=${icon%.png} + size=${size##*/default} + + if [[ ${size} -eq 48 ]] ; then + newicon "${icon}" ${PN}.png + fi + + newicon -s ${size} "${icon}" ${PN}.png + done + + # Install menu + local app_name="Mozilla ${MOZ_PN^} (bin)" + local desktop_file="${FILESDIR}/icon/${PN}-r2.desktop" + local desktop_filename="${PN}.desktop" + local exec_command="${PN}" + local icon="${PN}" + local use_wayland="false" + + if use wayland ; then + use_wayland="true" + fi + + cp "${desktop_file}" "${WORKDIR}/${PN}.desktop-template" || die + + sed -i \ + -e "s:@NAME@:${app_name}:" \ + -e "s:@EXEC@:${exec_command}:" \ + -e "s:@ICON@:${icon}:" \ + "${WORKDIR}/${PN}.desktop-template" \ + || die + + newmenu "${WORKDIR}/${PN}.desktop-template" "${desktop_filename}" + + rm "${WORKDIR}/${PN}.desktop-template" || die + + # Install wrapper script + [[ -f "${ED}/usr/bin/${PN}" ]] && rm "${ED}/usr/bin/${PN}" + newbin "${FILESDIR}/${PN}-r1.sh" ${PN} + + # Update wrapper + sed -i \ + -e "s:@PREFIX@:${EPREFIX}/usr:" \ + -e "s:@MOZ_FIVE_HOME@:${MOZILLA_FIVE_HOME}:" \ + -e "s:@APULSELIB_DIR@:${apulselib}:" \ + -e "s:@DEFAULT_WAYLAND@:${use_wayland}:" \ + "${ED}/usr/bin/${PN}" \ + || die +} + +pkg_postinst() { + xdg_pkg_postinst + + use ffmpeg || ewarn "USE=-ffmpeg : HTML5 video will not render without media-video/ffmpeg installed" + + local HAS_AUDIO=0 + if use alsa || use pulseaudio; then + HAS_AUDIO=1 + fi + + if [[ ${HAS_AUDIO} -eq 0 ]] ; then + ewarn "USE=-pulseaudio & USE=-alsa : For audio please either set USE=pulseaudio or USE=alsa!" + fi + + local show_doh_information + local show_shortcut_information + + if [[ -z "${REPLACING_VERSIONS}" ]] ; then + # New install; Tell user that DoH is disabled by default + show_doh_information=yes + show_shortcut_information=no + else + local replacing_version + for replacing_version in ${REPLACING_VERSIONS} ; do + if ver_test "${replacing_version}" -lt 91.0 ; then + # Tell user that we no longer install a shortcut + # per supported display protocol + show_shortcut_information=yes + fi + done + fi + + if [[ -n "${show_doh_information}" ]] ; then + elog + elog "Note regarding Trusted Recursive Resolver aka DNS-over-HTTPS (DoH):" + elog "Due to privacy concerns (encrypting DNS might be a good thing, sending all" + elog "DNS traffic to Cloudflare by default is not a good idea and applications" + elog "should respect OS configured settings), \"network.trr.mode\" was set to 5" + elog "(\"Off by choice\") by default." + elog "You can enable DNS-over-HTTPS in ${PN^}'s preferences." + fi + + if [[ -n "${show_shortcut_information}" ]] ; then + elog + elog "Since ${PN}-91.0 we no longer install multiple shortcuts for" + elog "each supported display protocol. Instead we will only install" + elog "one generic Mozilla ${PN^} shortcut." + elog "If you still want to be able to select between running Mozilla ${PN^}" + elog "on X11 or Wayland, you have to re-create these shortcuts on your own." + fi + + optfeature_header "Optional programs for extra features:" + optfeature "desktop notifications" x11-libs/libnotify + optfeature "encrypted chat support" net-libs/libotr + optfeature "fallback mouse cursor theme e.g. on WMs" gnome-base/gsettings-desktop-schemas +} diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest index 877f9ae46702..23c118555616 100644 --- a/mail-client/thunderbird/Manifest +++ b/mail-client/thunderbird/Manifest @@ -135,6 +135,72 @@ DIST thunderbird-102.11.2-vi.xpi 745664 BLAKE2B 0ff46ad2bdc69036d78bcf8936d563b3 DIST thunderbird-102.11.2-zh-CN.xpi 739887 BLAKE2B 4425a432fa392e92d688b69c314d848ac2938e7e5a207eaa42a0a3c329511157e5b50f9d158e0836afe93fc073a29d8c730f2b6a2af59df94f80e167de43fbf2 SHA512 528c008e1226cc3db92c1167aa4b3b67ff476a6f81ac7646e1cc90a59d85f84089b1bbad2050998e2e5d22266991bc506af5bc7847f6904037d8cea43f9c4854 DIST thunderbird-102.11.2-zh-TW.xpi 748345 BLAKE2B 94c8fc2a5e7d321fb283903867a8427d90822676ec0ecc3e987286477ffcf6765b382d11dfffcc916a5543b6ae9ff531f7a86ec8eeca4ac658cb943b668a3b1c SHA512 8f9c3ae246d130a46170f3d7df00a9d0c7c5b701d2ee75fd6762796d51cc7f6ce0501ca09f1b4a2536f9fe3c8c8a1a0034ec8365af9212eb5db74523067f9403 DIST thunderbird-102.11.2.source.tar.xz 503416640 BLAKE2B 2be8dfb6aea780c605d29ba56783c631cda5fe875e6fd4bbee20547c70d795180a7fadb4904763a2e5220dab8d8ac78f7ced3f9f0e976883fe9f2fbb1093a874 SHA512 631e2fd8f9ce3b480ad6ea820c684a039b3de17f475acbba35ea4d3229223b81081a7f09b4a7c4ae64cf3f58a50dba58a72fe591f6e42ef6bac7c402db3d8558 +DIST thunderbird-102.12.0-af.xpi 556869 BLAKE2B bf49ad640d28261190e0a36c12c3a889bed4b0f2ae721c0c3bd9cfe1aca0affc4db4313e6917f591d7b27b57c64673f61c78d38b9f5c1dc089969c8f6731bca2 SHA512 0d3ec14b80d936bf3d8c676ff3350e64148899ec0c1f675ce9afb4c1b4db190b7aff896b1b6021710ee6bef5e187c7dec2e5186ec7d7cbd4db5147bae5525274 +DIST thunderbird-102.12.0-ar.xpi 666808 BLAKE2B d85de24769323489354f1e01a3f314c89353cb65aaae1c34e1081ae677a1242a6e2e014af6492379f36405785c6844ba338c7411e38002b23ad36a9f5d47d756 SHA512 234f9f8cb953367427acf4f66d78b09b17b42a5b68e7e88d6d05a553480b97d0ba6795c6397d47c2ec56128f9617eb12fde62ae5da561a4f46265f4848a3958b +DIST thunderbird-102.12.0-ast.xpi 572287 BLAKE2B b6b978805d004ed0af315ca5a933e6718a2fb418bb57225179b2592de4e1cc02829d86d293b84c1efa4156ec91ca989295511f0cca2fb54c34ec2843e4ad0d45 SHA512 36bfd1a60fba2e68f9f70acdf16baf70bb98cf9d29b9445e1bb12049cf0a35e31690bf1a08921bbfb231f028f37229166ea003a441ccfa4d9f92037611c987a3 +DIST thunderbird-102.12.0-be.xpi 701912 BLAKE2B 9fb23f99301745b0ccd7133e3ad2a27f1411cbedf6a05a5e67e0283d659c089f7f8c13c04069a06a6ea7d9417158f799fddbb2f638814af6a491972c7dd12d0e SHA512 53289e594064486b4de310bf63f31bb49953522eebea135c86d4ea2c88516e870449cde96dfb7016460b92927c6ab60f11a8f7a23097544963eb26094b529e17 +DIST thunderbird-102.12.0-bg.xpi 693374 BLAKE2B 4e0aaa5df44d143a64bafde233ef52ceda5f9145deb72d590a43dfe419292bedd3472012dce0ebe75ff0f627484044faad00289b20c7fa767ca8a6483f3b9986 SHA512 7a4c9f79bd4e3c91c73b310f499f3fba53d394a03ffe389646bd5aad0b7721d2128927c30264a4d7fc84d633901568eed7ad265420b1e6e10f06c9cca08b7873 +DIST thunderbird-102.12.0-br.xpi 626471 BLAKE2B b271977f2d58f620be16df68615573c8453cb74e661d7ecc86cedef2bf7523cd789965f316147e6a3b7c800acb1aff997d336ec82788e15cd9379194ae7a98f2 SHA512 0bce25a993e8f5b46247197a98c279563ec0be9fae9c867f4a18a9a97bc740ff517c42ffc9f283e180a7cbd6e83f57172e3d1555204fba4c2ab16e753c9eaf3a +DIST thunderbird-102.12.0-ca.xpi 651366 BLAKE2B 291b7acc40fb147c91a9ca0354bdade746aca3bfa1a3a5ae77ec8934ec7324ce11ed557f1b9b8a9bc8d425cbb0f8b731d2e315110c5f6c19f74cd1c68fda79c6 SHA512 851d756c599bf6ed164b73bf1de839f428741bbee2dcdaa61a4a04fa5b75cdc9c407201dc0e1e1ab4f97ef0fbcc46065c90eee2d29126bd1025bc80bfe91664e +DIST thunderbird-102.12.0-cak.xpi 651778 BLAKE2B f0a9d413e3d493f85afce06a3ef53792c0a75034f3e6db09f36a6e233db3837472e12d15052d0cc23a37d8a765b9977215130cc992bfc6f809d3d7c361c5fde5 SHA512 2c4b350de4c2e9519ef3c2f08520e8b38e06bb8d5143b747a6cb4eeb6f2a6cd1b1127634f6b2ac61583eaeb3799ee0549f8509edfa118de91422293bc9e204ea +DIST thunderbird-102.12.0-cs.xpi 728624 BLAKE2B 7e8fa63f2f74f7bf779b7c0b0923466bb6948228d9e6cd4bc7cccdf2bd9f52aa0767fc3bef9d2152dad2ee40b7c9601c56177c24497366af9edd675b5f238e0e SHA512 c31e9aa24759b3e611e06615130f1ae9639af47770c7f22a198f9f188ab80aa9fcdd73c0f5c5580dbedf0f11c55a9d6979fdc658dd072642ce32729a779d97d1 +DIST thunderbird-102.12.0-cy.xpi 705575 BLAKE2B 365fdd721204d00b80d6eb81b46c086add45f88d31bbda0f69e686585b8a5835e54632215fe6cfecfa1df24802a32123b8f2a775771ff184ad41eac2ad5ef05b SHA512 ae4b457d5f8fbd3380923315a1cb0b3970e25e32affa0e7aed6053cc56f11fee0a12b202d9a3cef9e3066247a417e2d2e2db33bf9a729759725cf27a9180637e +DIST thunderbird-102.12.0-da.xpi 685254 BLAKE2B ed17511e6e3d91ca20f885d5e966157992275a6f1180249d6ef52cce93754884ea75892651b1af2b96c012621ee87807ecc09128c58ae76735db28b8354a78ee SHA512 f16f6bd0ebc7602ed6ca21217070fa9cdb2006d324c91124bcf1fa9a0afc6fa59e0f634e9d18922fabd78bd6cefe9e9f6a5bcfb7a28f396368ab698589938876 +DIST thunderbird-102.12.0-de.xpi 717943 BLAKE2B 4694fc24436a2f1a8029f2aef2b76c4e409279871eebf5474a5a11a07a5372bae67599eac589fb40c3cf13133f9a7fde706e5ca86ac2e45c944b7e2415fb9e68 SHA512 331072b54d61003f75b34a99570292f84453a0e635f864c528ce48c94fba23e0150313354d882245feb2d1228a2e9d9c195a412c08be4e788571aa0979359231 +DIST thunderbird-102.12.0-dsb.xpi 737081 BLAKE2B 605cadee6750c6f892410b162f4f256c0e912960e2a6c0b2b3cf22647a746275f71a845ebc1eac21948dfbf544f6e6f28db07a329193b4d0d16bc4687a065f4a SHA512 783e51e6befe3a35ea382db2c385351a08bea7189646178fd1ec576ef207bdda644261e0c56cf37183caaacb3316a64636559ef7b6b80d03596af7255bed29ff +DIST thunderbird-102.12.0-el.xpi 840812 BLAKE2B 04577e28a08def57ef677a2577e8c5597be1bf08a7dd0e14a90399c9d9064913b88916a15c73d5565a5a4f714314e18f52353eb613469531ca65a8f1a33b8b50 SHA512 c9cc17de9186a3f6d966902acecb4e930559ad58f035c0820638fa1881cf7766f9b658dacebd84d654dbf533303e1732686f2b6d34aaf50a35472bab18f9d713 +DIST thunderbird-102.12.0-en-CA.xpi 659093 BLAKE2B 425b558846218ec37a3f12ae9cb1455b06d95c1726f2e873947916e8a490bf7acb58b60b984c32a4cfea7b1a5099937355efc934bcd4180f9f9c16d59725d44d SHA512 39b40724d1258c25f5cc331cdd281e209cd18e92ace4e2b612e76cf0baace654cb3d27c475baccef399d27b192c0a1bed4efa864ad650f1524c41ea2ae98fac8 +DIST thunderbird-102.12.0-en-GB.xpi 665007 BLAKE2B acf4486fb6c1a44b176e9bf80c6f12f864b11ea09c7002934640205fab9b42c29a86f3d6bd62910886c3149ffd5a7d268b1a46403b1d67306785ab1ff7995bc3 SHA512 0b156b3b2edfbe851e88366fcd949492e77172918888ff92ac851f51bf6fc28cfece130bb46f5fddd3efae9d92a5970433e28dc76b3fa42076de572af0076595 +DIST thunderbird-102.12.0-es-AR.xpi 717275 BLAKE2B 5c0cc6e34b34c33a8e36c5841dfdb13bbbc226dd284f2cdf0f6eacf3f9550fb6ccac6dfada8953abf16613ffe6a903901303cffc3a2c6da015cb13e2b018671d SHA512 5d264ac7c7cfc3bac8dcf07e81862fe5443e97008196184871efe94ace36ae839dac53ad4aefbb0632f5e4ded9e55c5ef3aa0d8eb75bd28cb047fbab1f70580f +DIST thunderbird-102.12.0-es-ES.xpi 677481 BLAKE2B 0ec36c38b306ae4b38f706691dab5254892a36bcfbdf55f03390ac9be1d5eb2a48a4d8fa3474ba4cbdfada80ade1b885aa3b370a4ff8c4a6093842e8990490b4 SHA512 d078785c664ad134775804590652803be5e7ebfbe60a7d361640ce8045b73c265824b623bc0ac7394ba38bf265d1b63130f335d63649dde3817750cda36a4b6d +DIST thunderbird-102.12.0-es-MX.xpi 719708 BLAKE2B 8a5084179527949c8d43a86cabc47d7c4c2e865493f72323d11753e5a79ad871b758260dfb3369491ffde8baf6f097b2d4fe3cf8ca1feebd1ddee52c57bb480e SHA512 c5f472d29de6014606ca73c7d333c81b186c4fa00a99f1044e77b8836b126924c90b40453171d8920461fda81dd0552b5532eda24e48391920cd38a65b1bbf10 +DIST thunderbird-102.12.0-et.xpi 676673 BLAKE2B 75dd1cc286260137c9541cc86de2395fca6d4a722fb8e620a8d44cbccc66f66953bb6209e8884728609541ff769b24998189ee0c646b3b01cd657146154365c9 SHA512 f3d6702738c55c7f4daf18d1a9183d34c1dfbb9074621363369a3132c64ef1975f4651fc9659cb1450c8d4cd610810eaf6e90f30dcc1fe1afbfc74402af3b4ec +DIST thunderbird-102.12.0-eu.xpi 701827 BLAKE2B 8a88ca039e2b028e59a72298964c590e77c2b8b9d7a3106360853b7153019e1d7442654c5238cdbd47220149a98f91d5522b6a9a81c051dd7c5efbd2d356769e SHA512 ad84aa83c1b2dc87e09babeef1d01737e3e3ab7edd4f816532d860cb61294380cea35ebc80566ad3eb531af77da05e10a0a0447f99ccc0bf386ae6344407a873 +DIST thunderbird-102.12.0-fi.xpi 693484 BLAKE2B a500f26430813db9075870821c2c4d2d7b0d85e191e546c08a246ce4142d4e54b7ea320062dffd5a79ffc4e29609ecb346109c47984be0b484ee1f004086ea55 SHA512 e82318909b0650aecf14b74fd7e724a376f18d86414090d9e5227eeffd1fdcf2b0540cfb8a6ec5608ef0bebb2ecc203508cd3c80777c331757abd00fea4b643f +DIST thunderbird-102.12.0-fr.xpi 730314 BLAKE2B 7314a7f3850e04342db25c7b4790d5845d232d9b43ba1c5da11f40adc5e74ccee325f44cedd1c0bd38ba3b2cad773607e641cf3feb4528b3c0ef82de536f759f SHA512 97bbfe9e21c88b69de7ff940365504d3cf12d5d28fbb5bdd591a02a2549c821227a90d3c577c1c2af04675bf66bf2c8d8126aa7697b620edf052da974724a5b1 +DIST thunderbird-102.12.0-fy-NL.xpi 711989 BLAKE2B ca495fcf43ed529f73e738b7d48c02fa0e7157d2448133a8aa0dbf746b9832962aa46049c223381fb0909c32985c15b076d0cab2e578560d427291bd4b303a57 SHA512 57d4b3f74bb3bec813ca5227ef753c6ee3b4b06603abaec92f5955dc6e404ee65ffb95d7d746a0dc1f0f9290f2630dc6ac054ca2118e24b197d3da3043de17a0 +DIST thunderbird-102.12.0-ga-IE.xpi 614535 BLAKE2B 086753da4594d5319b35ecfe0d4475f4c7abfa533536adbb35db803731b2d5429792f63e9476e7738fdf844d97958292e588db83cb118fc755a1009b03d250da SHA512 cebd6a55ffe2d0a9a3ee031f473765170110c3e7ed8a3d1858d778fea82278f9ee926a6c0e3f95bf839020176d858d4b9068ef2e64324370d2f7f2cb8456380b +DIST thunderbird-102.12.0-gd.xpi 643573 BLAKE2B e93f26c4c7d1e96e9ec66d20137b2d5c0fae41de05f13f4cb84eec0f9c5251cdd38993f19c55b9c139bf603e8f9d93b0dd68fa0b12a387a68d05376c7151eea0 SHA512 e119d6522b862885a51619850a69b410b1f858626e85abdadd8869849e7d1618c346a412a0daf598640b19a63e43084bacc9d9f4e8334243c5c32fbbb4676be7 +DIST thunderbird-102.12.0-gl.xpi 673001 BLAKE2B f61dd06d4c7c525361472aec72f07b0720bf07a0a78aa2ab6320435efd5774bae774cfbd5a6e9fa3a8d9c62670ec31b2e651e60bf6b698e3e74eaf3b8b6f83b9 SHA512 a228c41464538e9da97f47073d8f91784ad43c97f4ed05af42a918eb0a1e2cc96b44fe78ca6ac40a530c841c6b70a331d03eaa0d9cd0ac40bf0c3e70529eb5af +DIST thunderbird-102.12.0-he.xpi 676369 BLAKE2B c9f09ea3c22bd249a945e788fab3458e3ff6ad8f87e80e102bbfe11ef3e636a78e100934bfb66b74671868ebd2cb160e825d72ff4fdef2838664e3d542e64f6f SHA512 21fe33cf3b6b9458355df136ec506a95b038f89cb6362450591f6fa32e88b161107a4798e411227602d9ac86e719ef56dbd47824065069e60fc4c9b92eae6484 +DIST thunderbird-102.12.0-hr.xpi 677718 BLAKE2B 5240fb800c81b2a2ff36d7e2175dc9e530c52e02c36e7117d5aabe0b9c7320f8e1025a657bee57efd481c6e59205fa9eb42333fbdcffecb74d3670fea70124c0 SHA512 8df2e4a2bcdfd0ff230e33bdf39a2cf512a507ed0cb96a586925a56124e07bd4b8f3819c1ef0e850845bcc15f7859014c1ff635f80e0b952c8f538f6b6c4e054 +DIST thunderbird-102.12.0-hsb.xpi 736537 BLAKE2B 563f059cebcb9303b497f68cadcf55a5adacd50c7704c3d5c71535f0b97fcc50923e4c98065d67916d89ff22a40e97ded98d74b720ef159b121ed7fea5e3556d SHA512 e778ccc08bcefa6bdad70bd88728577ca2bf9fd240b61bc2bd7d526d9fa6ab0d954fb8c421f3e948e80cf63a343062cd34f15c7f682bd75e9d36a185dd132aa9 +DIST thunderbird-102.12.0-hu.xpi 741200 BLAKE2B 4bc9208a9092819137e00a4dc0731ddc86b46f05d90f59cc3710ccfdbe942e9a276b8074d2b6300582ade8b4b839f64d28fbeaf96a2abf1ce8edcaebe3a23db4 SHA512 dc5e5e47781ac3d497337ee7ce8d0dc8861621a696b7acebbf0c2da72e5b11d96462adab8729288f3c1b60462d52e0c0092995d4f3bcebadd3cf0891d1a11553 +DIST thunderbird-102.12.0-id.xpi 653191 BLAKE2B 29e0d8e40688b3f3193066a752ec4bb8198d1dfc92b8bef2b4a30a275fe3245367444b62dc2a59e42b398a03797c9c12b53f406b1fef93f0107047939cea9efb SHA512 6a8e35e3dc35107407b76f2ebc871c1778d7862d89b0359d112bc94af9e44b001399bfb9326ddd181f8d67c9647c84ee3338851052a33dd6aa5e91e234068f40 +DIST thunderbird-102.12.0-is.xpi 706391 BLAKE2B b319853bedb5cf54c7e0e690b6ed44af196010927e23e852fb781710f7c3540a2f6814bee35edabfffd42320f9953f06035996fc6a9a839055f00afaf065f3c3 SHA512 04411e9638cd659a3229b003921538c7c30fb3aba2f81281748f5f840c179df3ceb2b6a08001ff4bb759c92d9c0f811cb539414ad99d29a479998b6a07bd127c +DIST thunderbird-102.12.0-it.xpi 639985 BLAKE2B 36068fc1f1c6de4cdc47165bfac299818733b254d06a741c7ad024a6f3b59b44dd4cff0af8fa6139bf748d611e318251b44b79819bf73dd707c8b948314ea14d SHA512 9ebe2f5216605e026a3cb4fb0a61a22e9ec4042cf3a7985c4e02336995c83b92afa6b845a4c198b1d610bf3a2f9bff9f7d68929099491a190676767ad33ef39d +DIST thunderbird-102.12.0-ja.xpi 781906 BLAKE2B 6b7c516a92e8c290933f38473465bb29a47839edb9520fc9f5fff60033e852192e6700d7dc4047738e8ea202b922455b20c777b7bbdb66931c13de6572ca59bf SHA512 02e9a60645bd07aaf6893e6486669b7e64922f8a1e0ecee692101f940d6a9dea948a361ffa2660efd34d18a4b48b45810d2d00773497869ff7ce2568247a8def +DIST thunderbird-102.12.0-ka.xpi 769801 BLAKE2B b9776d3743dfc502b0f76a105c360b941eae9d7ccf8af82f637e7a202503de84265a26049d3bed6b7e7e1dc60cf922fa9892185eaeb91066e32452c17656a7c0 SHA512 e02118ef8f18ca606c33fed58e5f8be43dd0f7064751253194c14840787c10c56f27746667495978ad2dcc077f8bd5c3c10c17bebb91437534ce1ac18ead4d70 +DIST thunderbird-102.12.0-kab.xpi 702701 BLAKE2B f6296bd4aa59cd4cc64f4a0a9b38447e16b5f3b2115bc6365bc21866baf1b118809e7720fcb4963d1a2efed11d24dc9aa5fdc03e6dd2846251c3b1963dd178b4 SHA512 4a66118c6e6264ee282b83f0e9130b51f3840752590520d7c73024719993d9748254c15f66dc5cf4c9f99c80d1baa283748860e95d2c2a7564aa1def7d57752a +DIST thunderbird-102.12.0-kk.xpi 810966 BLAKE2B 229886d734a69bb75143a05fa31e7928c438f23cde5cb15656d2d7e6a191f85775b1bc89721167adf51ea195e4d95cbd1789c8c567d5c0744d23dbb25233dfed SHA512 46e79c514903cc3281acb0979cf8a97a31156595d25e3b087602f73bccb14df3d9d9f6e31d2fccba0073b732c31af4727ec9dae17cb7d3ea52faa34e0dbff576 +DIST thunderbird-102.12.0-ko.xpi 716819 BLAKE2B 3f10fb7a76c56ed21e1419ec1330ec6d8b8990d0ee00301616446e6cebba3001c3b84e0990c119a989c9680e76ca7f78739889bb618bc07d30bf5f5845270fdb SHA512 33ab8f47c0e9880ecfab67181387e934b43e46bf92ad1544d8f3475d3ab360cab46dd091f4b2f2f944fb9b0ae4048c93227bbd7fe8793a1b60ae39c7b42c43e7 +DIST thunderbird-102.12.0-lt.xpi 690854 BLAKE2B 8a43c147e46e21f59d6cb751ddfc98cd5ce27ef82a56a48182ddf53315c60090875273c6f18cc2a01fe52f99a775852c8310451eedbb92ef1c93e9de904b5502 SHA512 4c2c0ae55698a24fe3b138cddd014b09274030aa153b9e84afcad9076eab92fae8dfe2791cb3e30c97481a55c70567c6ef4b9c6b82c840ec44d82b12f70d87e2 +DIST thunderbird-102.12.0-lv.xpi 617766 BLAKE2B 8ada00bba0d5dd6d959d589d75c96a7b9ab5b4570fb391c18fa226ecaf6ba5ba9f5f676d6df51645f527ee5b6507c1abc0bf62401abdef3d8e9fefcef02b0230 SHA512 402c23db838af9ea4ab9e20533b92027c8b7fe03b7ee434746dac6db447ddcbfc1ce76afd9563485d68e414bbbaf03629552632a7090b0b83d19b1dd10e22cec +DIST thunderbird-102.12.0-ms.xpi 577757 BLAKE2B 9c32d28e6b5d371bc52d1d8dd4c6ff5ffb93b19cbd01b3f413f8e345736b78652064042042298f7b41a7ce72452d1acbdf7811ce239c515c300323e5ef59a281 SHA512 f3caa0be15061497d574ae31a5b14a843d1c7172a3ee9b71339e956a09d7ab4760975591272570a9522bcd578bd1934ec17f0bcb8aed4edd1b043b1a0e528a7b +DIST thunderbird-102.12.0-nb-NO.xpi 662682 BLAKE2B ebadeef91a7e8af71b797d744295625816095e2e4ca845c7a508ad7ddfa7beb715990031823021a177dc28867658ee5a4026dcbf594fa690e636cd094d4e21d2 SHA512 36107365ca9924194fb0c26f3e4f035c957926977dcd498bff3b19bdc3fc903c50ee42d3c706b54a0bc0620d4ef1f5ae0ae82c1a67c8ace2a022b4587efe3a60 +DIST thunderbird-102.12.0-nl.xpi 703274 BLAKE2B 81646192f230055e4f6f27b1801c6f1d567118a5e372d6bb83c99ceeb82a2b9accead0c85f24dd2c764e185c4e02a77c47a9e6eb7be81e6c4293291817ed0078 SHA512 c24c45ac61ea454ed53be9f3d91beb6599a2693985b78da53164731a2ec0437f8da2c5518f5f9dd00cf8fb3270347dc1a4bb65866ccbe336e454735c675db1a5 +DIST thunderbird-102.12.0-nn-NO.xpi 672831 BLAKE2B 639445762e2b12eac1ede597ae240fbcde8a60d1e295b42321f166f5d12744a02546b149eba71df1ce328e939d2e1b9c235aba54a8661e4fd8677d96a8a008ac SHA512 69d7e52e17ae5c66046dfd04b8eade756062d8fb96b1cd8b549b2af3ea1727d522add6c89e17046eab6720af0e287dee54c191f92e01c48a536b223d69c6db83 +DIST thunderbird-102.12.0-pa-IN.xpi 668030 BLAKE2B 3865fc2ee9618dcd8353b405fbbb762c0dbef28d2f1d7d7bd42c3aed95dcf993632fe88b3277e9e80937d0b3eebd4b6b375ce0353e9ab245c53563535e925b56 SHA512 b1ef2038b4b0a7bd64593002704f5b5904c9fd15c3c51f6c695dd671bff3fc8d8fbce1d379dbaa0a7a90ceb42a89adb61dfc9e36bcced2130761fb32c1301187 +DIST thunderbird-102.12.0-pl.xpi 716229 BLAKE2B aa02b54b89b851e4b9c1cd72d69075c61bfc8cbfff478dc377728b502af50b82f87be949baa587c2cb34cdf56cddb32d7603274ed3e4da0c3bb13ed9b3ad4290 SHA512 2e83af2e03534b255a95f34804a5be9ef86f2fc276b7f8f32fb66cd1193df70022536404f198aefee1cc347ece87cfdd17ff9ff7b99d7b3bdefeccfa6c70bd19 +DIST thunderbird-102.12.0-pt-BR.xpi 711150 BLAKE2B 42454ca6c3ce72096f8d14e74687077e6528734d10613532d30f97b23548383be4106d8d7f1916835b9e976912f878502724c33789694ee16add2936bad2e21b SHA512 273ba7d25954433d1ad1a3f46c0fe2a8c967a6274816d66f3eebf05fe8ac8685150df2141eacdfe78db13051c92f370c4ae5b157febc20092151a0748fb38623 +DIST thunderbird-102.12.0-pt-PT.xpi 686909 BLAKE2B 11ecb9881c408ab3297fa04e29d1b58cc75bc7ca7ff4d18e2bc878dc156fe371030d0dea49496b5135a7d8304effe312aea83ddfe3b6736189ba7fc03a6f0cdc SHA512 fbacb25c83ea7c78f0c1e471579638ba67c84a3588d319047ce9e2e54729dbe83a95fca0e9f9f94b3a274bf4906aff8b0457b5a1896ac6754f40de13db0e184c +DIST thunderbird-102.12.0-rm.xpi 701681 BLAKE2B a8b9838974778d1d30489f9b43429ed2a7de4173824e4c318ff77915ac89d5db5f0dc4bdc595f52a9d54027253e49a24b5a9f3a39bbf3e1bb59e3b62cd564c49 SHA512 1ec6c62d90e1ffeb9bc3aea34ac68cdecf272e8a9a6240ed7d53e3328797c98960a9f907583d7a08e237e0042037c8717d408966a3f1197ad97dd5fe97547607 +DIST thunderbird-102.12.0-ro.xpi 661278 BLAKE2B 37c9e7e66d2e0e9ab7d92bfaf8f62afb40844aa508d85d2e8b531c869f667fa9822bc6f9eb63185958caad3d561a0f7bb8d4058b9f191ddf86523ae6042fddd5 SHA512 c67e6ffaf8b442dc5f519554010e04f52dec69de554942af1890c31045545643a9e1818e7207ac040662f2a62573ae92db13190dd0808f54a00967c9c28cc292 +DIST thunderbird-102.12.0-ru.xpi 827220 BLAKE2B 411417eb3ad089e892d9bd5b492bc5171af0c6d65e41e2aa1f9d71c6ae9a002d07bb0fda91ad15a376a8102819eee3b8e92ecef34b7e51bef26b9f15402bcc6e SHA512 ca0c2a3a4c1e25f4ceb02061376004b2e82c76e17fefe1deb8971db070ab25e3f72170e4cbfacbb9fe74b0a47e7b82aff0a9a6eae124087eac4718a04b186acf +DIST thunderbird-102.12.0-sk.xpi 740981 BLAKE2B 1594e65ca143e76b3b100c5d70fdf20c8c36340e7f18625aba4bea1d3cda58d429d7c41dc964e95aa40568430c9fd5ea6e1d6298b6a8dfc4139defc2e11e4769 SHA512 d3a967b7b6e2383aefcf63158d8aba856854b832d75a7c978c75dfad07793f1863996c7e5312272651b8f7479e07892bf0871df82ed4e2cb0becf0cf45524019 +DIST thunderbird-102.12.0-sl.xpi 704057 BLAKE2B 1158ca3c8f648c072fe551880236de212dd044e01b83438c75504fbf3aea9a9a9f2f087491c59de75ebe132f09100f4e72a40c5908f8bd2217d31418f7fa187c SHA512 feac5432e2c0082238eb510d20ce47eea812b4513383c301a656672b1401f46a2e9e9efe3f31963636b909ec673282941681cefb5d0ffe9b073473ddd54900a2 +DIST thunderbird-102.12.0-sq.xpi 726034 BLAKE2B 0d9e9fc94a830078bf9330c9d957a810b25d6e91138f770d15f9e3e7ef6ac34b563435f94c70caaef8eb5d022adcd1a1a978314cc3db84f5b411f00e2ffeb588 SHA512 f1b21c88e2270d86aca20e09062fb593767d6f38308e9dc72378ec8be5d4abfd90103bb68692ecd5c8847362c63e9706c31fc273471227a22edc2eb7850bdd48 +DIST thunderbird-102.12.0-sr.xpi 720554 BLAKE2B 5f57f24cd24ea923b611bd6dabb78c5a97e2aeea676b96b671cf16e89e129634791bdb86d7e3568f7f08b03fb106311c1eb78e98a08f3d5e5019c77b5750830f SHA512 82c95e95963f5d4cdee39b45c60d8c706a051333c8e40bab01a90cbb7af180a1f741d46fd01411ce40da8eb0d2acfb1132dd1730bd804726627b1cfefd041181 +DIST thunderbird-102.12.0-sv-SE.xpi 706951 BLAKE2B 09fdb936e6f723cd438a8d5c28207c0e7592b2867c044091fb1053d55469141470687b84307b2f3de5e442e263342ddca6b364e3f44b4e4d41c82b297533850b SHA512 72e93022ef447a63eddc6f55717dbcd661c2b9ab7ce0f0249d88abca9eb1c124f28cd1c792dc3bf2fa39c6a33d4b2edf0fb999c130c8d10c704bedc3777a48e4 +DIST thunderbird-102.12.0-th.xpi 758235 BLAKE2B fdf8c2f8bb2f6b7cb14612d8709b8713395c71162e5a9770549c5d8739ba32c58ab9f1bc8aceb2bf8e078e3974ed7336a899f46fcc1072bad20c9e6034d78b24 SHA512 abf3696fcee1e4038ded1006822f4dbf29a6d39d8ec2b785fab81da6aeb23db4156e3bbb615f3e9df6684b31b0b60893d9d8f1542ae24f1ad22c0228c8cf5a46 +DIST thunderbird-102.12.0-tr.xpi 720174 BLAKE2B d6d5b53370162e86a21d8f14ade244ef365bf3873f124b5877a3e7c33afe2aa8d8f27bd844205dcc007676d98b06006c8888d34d0a1c4cb4675fb64bb69a6b71 SHA512 668c5bfd2314eb8c363bcef0575969c8e628cae286009561e4b8922c9b486b3d01c7ef86221f6442def63e489cb116f87eda92164b2b338988fe77109d464d94 +DIST thunderbird-102.12.0-uk.xpi 818662 BLAKE2B 5fbdcdc300a54123a5411732158212c2b2bb8aa8e9a3cb8aa423220e852360265e0f10e463c5a094763c564214640213a99ff7c77edd7e4c974f63bc0b665f55 SHA512 80158d3b4762385ecb7322ce2af20535ec907943137e467858cc6e37f0cf47e9a430921d78d55fa3e3bc6fdecbd045d365047781530c67c30235acdf266fd96f +DIST thunderbird-102.12.0-uz.xpi 593012 BLAKE2B 283eaa6c6bf986e17c0e659e165ca809a17af5a6a4c7e58fcb5bdb6488cf527786bb08fc196aa28fa5ac7256fd746090c80eb3a7c030437e718ff7d4f648c0c1 SHA512 080ce00445c8d61d559a90141add9da9892cc584c50cbc2e0dad65c1fb30df4cecfd331433dea898763569f2b1e268eacf9867f333b2cf9b0dac17a7aca0bbd5 +DIST thunderbird-102.12.0-vi.xpi 745662 BLAKE2B 7c3022da529e8badd780b7563e4672f110e0e00221f7292c6f1b4cc9d470b103c2f01161d9982ae89ff227e8234e7afb6085222f02c814e32b543a7b9115da79 SHA512 b4aed65f63be3082104446703f5c65405934bc454afe9d643c8c1053d0e28befa08634545a37539d9b8a16069723dd175743d835d673d509d1dd0c3ba5687243 +DIST thunderbird-102.12.0-zh-CN.xpi 739886 BLAKE2B 3df5581c666cd0d11682fae5ce02ce447915b2c81b9a1c60ea95d7da227dd8532ff487485b06cfba4b6ae884d0f59da1a6cf3c04fa5b38f9576bc2270399d005 SHA512 e3d901fe873badd85f104316ec331010df4390960d45830c9acd859e0a4849d1b9089d7ceb2adf4d8366d1b4b95e68be3423ce358e1b1e9651eaec1538f319cf +DIST thunderbird-102.12.0-zh-TW.xpi 748346 BLAKE2B 2950a7cf86aaad8aeeab276b82529f8aa5c003cc3b0170237745c3526fadb218dd616333b3899f3eff4e69ec2f4994dfc2fe7ecc8e03902dd6dbbb0423ef098e SHA512 34f903a976e2cf9e942202d5153ae7385612df68cb429dcc9bd75f6e2fd96c173a01742a15a49f8ff7c29b618f55198cec096a1be22fd32c5d971692efd27c89 +DIST thunderbird-102.12.0.source.tar.xz 502135796 BLAKE2B 478909a5cd5c0dddbbb4e33a650d8ae4f73322f6141068d6d2aea1fa92e5805bfd518ae563e43382d0832b5467dff63316543a8e55dbd1f28b8be28921244990 SHA512 303787a8f22a204e48784d54320d5f4adaeeeedbe4c2294cd26ad75792272ffc9453be7f0ab1434214b61a2cc46982c23c4fd447c4d80d588df4a7800225ddee EBUILD thunderbird-102.11.0.ebuild 34156 BLAKE2B 09bb055fd23962c3ec1a294e8ebecda114ac3f1ee4f47ed65d51c726b75cf5e6a9984bb528bcf475772632723733dac490f39ae3012a135f6690330769074b16 SHA512 ed2cbd65570634b3f3c570b89a89a51b9eaef705561bf64e086f9709f7966e4dd6f856d86a9c94cc275b68c3e2130e258e82a4615647214f2023f9ca3a034a50 EBUILD thunderbird-102.11.2.ebuild 34158 BLAKE2B ea0ad6864068a6d6564202e598e1ab2416d66dab896a73e03c75c5a6e68e363aabd295348e7f4364a75f3c186359f4763edbbf4415e862944415b35c72ca91b6 SHA512 32941bd878a6c016195b44c0ba34152301e2ca8e5e00caa5053f35f9b81c9d244322f01efcaed1d6815667db5098e60909fdba45261858b4f5de2425f100a998 +EBUILD thunderbird-102.12.0.ebuild 34158 BLAKE2B ea0ad6864068a6d6564202e598e1ab2416d66dab896a73e03c75c5a6e68e363aabd295348e7f4364a75f3c186359f4763edbbf4415e862944415b35c72ca91b6 SHA512 32941bd878a6c016195b44c0ba34152301e2ca8e5e00caa5053f35f9b81c9d244322f01efcaed1d6815667db5098e60909fdba45261858b4f5de2425f100a998 MISC metadata.xml 2139 BLAKE2B c348f9dc2bf813c386bc2e62782bf762ef4fdaf3f913cec41bbd115a7bac54b01852dec04e6f7574b24ea5cd6d9500f289109127cdac5887128b07116d6a6cf8 SHA512 09b0670e852cc954b5df5e846935d274ae180e4627d112104d5fedf2a777fda7d52d73cdfde9e50475d9a560ed44946d4c0682d52d793bbfb5f2e1b1e0aac608 diff --git a/mail-client/thunderbird/thunderbird-102.12.0.ebuild b/mail-client/thunderbird/thunderbird-102.12.0.ebuild new file mode 100644 index 000000000000..2291ad1b535d --- /dev/null +++ b/mail-client/thunderbird/thunderbird-102.12.0.ebuild @@ -0,0 +1,1178 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +FIREFOX_PATCHSET="firefox-102esr-patches-10tb.tar.xz" + +LLVM_MAX_SLOT=15 + +PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_REQ_USE="ncurses,sqlite,ssl" + +WANT_AUTOCONF="2.1" + +VIRTUALX_REQUIRED="pgo" + +MOZ_ESR= + +MOZ_PV=${PV} +MOZ_PV_SUFFIX= +if [[ ${PV} =~ (_(alpha|beta|rc).*)$ ]] ; then + MOZ_PV_SUFFIX=${BASH_REMATCH[1]} + + # Convert the ebuild version to the upstream Mozilla version + MOZ_PV="${MOZ_PV/_alpha/a}" # Handle alpha for SRC_URI + MOZ_PV="${MOZ_PV/_beta/b}" # Handle beta for SRC_URI + MOZ_PV="${MOZ_PV%%_rc*}" # Handle rc for SRC_URI +fi + +if [[ -n ${MOZ_ESR} ]] ; then + # ESR releases have slightly different version numbers + MOZ_PV="${MOZ_PV}esr" +fi + +MOZ_PN="${PN%-bin}" +MOZ_P="${MOZ_PN}-${MOZ_PV}" +MOZ_PV_DISTFILES="${MOZ_PV}${MOZ_PV_SUFFIX}" +MOZ_P_DISTFILES="${MOZ_PN}-${MOZ_PV_DISTFILES}" + +inherit autotools check-reqs desktop flag-o-matic gnome2-utils \ + llvm multiprocessing optfeature pax-utils python-any-r1 toolchain-funcs \ + virtualx xdg + +MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/releases/${MOZ_PV}" + +if [[ ${PV} == *_rc* ]] ; then + MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/candidates/${MOZ_PV}-candidates/build${PV##*_rc}" +fi + +PATCH_URIS=( + https://dev.gentoo.org/~{juippis,whissi,slashbeast}/mozilla/patchsets/${FIREFOX_PATCHSET} +) + +SRC_URI="${MOZ_SRC_BASE_URI}/source/${MOZ_P}.source.tar.xz -> ${MOZ_P_DISTFILES}.source.tar.xz + ${PATCH_URIS[@]}" + +DESCRIPTION="Thunderbird Mail Client" +HOMEPAGE="https://www.thunderbird.net/" + +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +SLOT="0" +LICENSE="MPL-2.0 GPL-2 LGPL-2.1" + +IUSE="+clang cpu_flags_arm_neon dbus debug eme-free hardened hwaccel" +IUSE+=" jack libproxy lto +openh264 pgo pulseaudio sndio selinux" +IUSE+=" +system-av1 +system-harfbuzz +system-icu +system-jpeg +system-libevent +system-libvpx system-png system-python-libs +system-webp" +IUSE+=" wayland wifi" + +# Thunderbird-only USE flags. +IUSE+=" +system-librnp" + +REQUIRED_USE="debug? ( !system-av1 ) + pgo? ( lto ) + wayland? ( dbus ) + wifi? ( dbus )" + +# Thunderbird-only dependencies. +TB_ONLY_DEPEND="!<x11-plugins/enigmail-2.2 + selinux? ( sec-policy/selinux-thunderbird ) + !system-librnp? ( dev-libs/jsoncpp ) + system-librnp? ( dev-util/librnp )" +BDEPEND="${PYTHON_DEPS} + || ( + ( + sys-devel/clang:15 + sys-devel/llvm:15 + clang? ( + sys-devel/lld:15 + virtual/rust:0/llvm-15 + pgo? ( =sys-libs/compiler-rt-sanitizers-15*[profile] ) + ) + ) + ( + sys-devel/clang:14 + sys-devel/llvm:14 + clang? ( + sys-devel/lld:14 + virtual/rust:0/llvm-14 + pgo? ( =sys-libs/compiler-rt-sanitizers-14*[profile] ) + ) + ) + ) + !clang? ( virtual/rust ) + app-arch/unzip + app-arch/zip + >=dev-util/cbindgen-0.24.3 + net-libs/nodejs + virtual/pkgconfig + amd64? ( >=dev-lang/nasm-2.14 ) + x86? ( >=dev-lang/nasm-2.14 )" + +COMMON_DEPEND="${TB_ONLY_DEPEND} + >=app-accessibility/at-spi2-core-2.46.0:2 + dev-libs/expat + dev-libs/glib:2 + dev-libs/libffi:= + >=dev-libs/nss-3.79.2 + >=dev-libs/nspr-4.34 + media-libs/alsa-lib + media-libs/fontconfig + media-libs/freetype + media-libs/mesa + media-video/ffmpeg + sys-libs/zlib + virtual/freedesktop-icon-theme + virtual/opengl + x11-libs/cairo[X] + x11-libs/gdk-pixbuf + 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/libXtst + x11-libs/libxcb:= + x11-libs/libxkbcommon[X] + x11-libs/pango + x11-libs/pixman + dbus? ( + dev-libs/dbus-glib + sys-apps/dbus + ) + jack? ( virtual/jack ) + libproxy? ( net-libs/libproxy ) + pulseaudio? ( + || ( + media-libs/libpulse + >=media-sound/apulse-0.1.12-r4[sdk] + ) + ) + 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-71.1:= ) + system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 ) + system-libevent? ( >=dev-libs/libevent-2.0:0=[threads(+)] ) + system-libvpx? ( >=media-libs/libvpx-1.8.2:0=[postproc] ) + system-png? ( >=media-libs/libpng-1.6.35:0=[apng] ) + system-webp? ( >=media-libs/libwebp-1.1.0:0= ) + wayland? ( + x11-libs/gtk+:3[wayland] + x11-libs/libdrm + x11-libs/libxkbcommon[wayland] + ) + wifi? ( + kernel_linux? ( + dev-libs/dbus-glib + net-misc/networkmanager + sys-apps/dbus + ) + )" + +RDEPEND="${COMMON_DEPEND} + jack? ( virtual/jack ) + openh264? ( media-libs/openh264:*[plugin] )" + +DEPEND="${COMMON_DEPEND} + x11-base/xorg-proto + x11-libs/libICE + x11-libs/libSM" + +S="${WORKDIR}/${PN}-${PV%_*}" + +llvm_check_deps() { + if ! has_version -b "sys-devel/clang:${LLVM_SLOT}" ; then + einfo "sys-devel/clang:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 + return 1 + fi + + if use clang ; then + if ! has_version -b "sys-devel/lld:${LLVM_SLOT}" ; then + einfo "sys-devel/lld:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 + return 1 + fi + + if ! has_version -b "virtual/rust:0/llvm-${LLVM_SLOT}" ; then + einfo "virtual/rust:0/llvm-${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 + return 1 + fi + + if use pgo ; then + if ! has_version -b "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*[profile]" ; then + einfo "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*[profile] is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 + return 1 + fi + fi + fi + + einfo "Using LLVM slot ${LLVM_SLOT} to build" >&2 +} + +MOZ_LANGS=( + af ar ast be bg br ca cak cs cy da de dsb + el en-CA en-GB en-US es-AR es-ES es-MX et eu + fi fr fy-NL ga-IE gd gl he hr hsb hu + id is it ja ka kab kk ko lt lv ms nb-NO nl nn-NO + pa-IN pl pt-BR pt-PT rm ro ru + sk sl sq sr sv-SE th tr uk uz vi zh-CN zh-TW +) + +mozilla_set_globals() { + # https://bugs.gentoo.org/587334 + local MOZ_TOO_REGIONALIZED_FOR_L10N=( + fy-NL ga-IE gu-IN hi-IN hy-AM nb-NO ne-NP nn-NO pa-IN sv-SE + ) + + local lang xflag + for lang in "${MOZ_LANGS[@]}" ; do + # en and en_US are handled internally + if [[ ${lang} == en ]] || [[ ${lang} == en-US ]] ; then + continue + fi + + # strip region subtag if $lang is in the list + if has ${lang} "${MOZ_TOO_REGIONALIZED_FOR_L10N[@]}" ; then + xflag=${lang%%-*} + else + xflag=${lang} + fi + + SRC_URI+=" l10n_${xflag/[_@]/-}? (" + SRC_URI+=" ${MOZ_SRC_BASE_URI}/linux-x86_64/xpi/${lang}.xpi -> ${MOZ_P_DISTFILES}-${lang}.xpi" + SRC_URI+=" )" + IUSE+=" l10n_${xflag/[_@]/-}" + done +} +mozilla_set_globals + +moz_clear_vendor_checksums() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -ne 1 ]] ; then + die "${FUNCNAME} requires exact one argument" + fi + + einfo "Clearing cargo checksums for ${1} ..." + + sed -i \ + -e 's/\("files":{\)[^}]*/\1/' \ + "${S}"/third_party/rust/${1}/.cargo-checksum.json \ + || die +} + +moz_install_xpi() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 2 ]] ; then + die "${FUNCNAME} requires at least two arguments" + fi + + local DESTDIR=${1} + shift + + insinto "${DESTDIR}" + + local emid xpi_file xpi_tmp_dir + for xpi_file in "${@}" ; do + emid= + xpi_tmp_dir=$(mktemp -d --tmpdir="${T}") + + # Unpack XPI + unzip -qq "${xpi_file}" -d "${xpi_tmp_dir}" || die + + # Determine extension ID + if [[ -f "${xpi_tmp_dir}/install.rdf" ]] ; then + emid=$(sed -n -e '/install-manifest/,$ { /em:id/!d; s/.*[\">]\([^\"<>]*\)[\"<].*/\1/; p; q }' "${xpi_tmp_dir}/install.rdf") + [[ -z "${emid}" ]] && die "failed to determine extension id from install.rdf" + elif [[ -f "${xpi_tmp_dir}/manifest.json" ]] ; then + emid=$(sed -n -e 's/.*"id": "\([^"]*\)".*/\1/p' "${xpi_tmp_dir}/manifest.json") + [[ -z "${emid}" ]] && die "failed to determine extension id from manifest.json" + else + die "failed to determine extension id" + fi + + einfo "Installing ${emid}.xpi into ${ED}${DESTDIR} ..." + newins "${xpi_file}" "${emid}.xpi" + done +} + +mozconfig_add_options_ac() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 2 ]] ; then + die "${FUNCNAME} requires at least two arguments" + fi + + local reason=${1} + shift + + local option + for option in ${@} ; do + echo "ac_add_options ${option} # ${reason}" >>${MOZCONFIG} + done +} + +mozconfig_add_options_mk() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 2 ]] ; then + die "${FUNCNAME} requires at least two arguments" + fi + + local reason=${1} + shift + + local option + for option in ${@} ; do + echo "mk_add_options ${option} # ${reason}" >>${MOZCONFIG} + done +} + +mozconfig_use_enable() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 1 ]] ; then + die "${FUNCNAME} requires at least one arguments" + fi + + local flag=$(use_enable "${@}") + mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" "${flag}" +} + +mozconfig_use_with() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${#} -lt 1 ]] ; then + die "${FUNCNAME} requires at least one arguments" + fi + + local flag=$(use_with "${@}") + mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" "${flag}" +} + +pkg_pretend() { + if [[ ${MERGE_TYPE} != binary ]] ; then + if use pgo ; then + if ! has usersandbox $FEATURES ; then + die "You must enable usersandbox as X server can not run as root!" + fi + fi + + # Ensure we have enough disk space to compile + if use pgo || use lto || use debug ; then + CHECKREQS_DISK_BUILD="13500M" + else + CHECKREQS_DISK_BUILD="6600M" + fi + + check-reqs_pkg_pretend + fi +} + +pkg_setup() { + if [[ ${MERGE_TYPE} != binary ]] ; then + if use pgo ; then + if ! has userpriv ${FEATURES} ; then + eerror "Building ${PN} with USE=pgo and FEATURES=-userpriv is not supported!" + fi + fi + + # Ensure we have enough disk space to compile + if use pgo || use lto || use debug ; then + CHECKREQS_DISK_BUILD="13500M" + else + CHECKREQS_DISK_BUILD="6400M" + fi + + check-reqs_pkg_setup + + llvm_pkg_setup + + if use clang && use lto ; then + local version_lld=$(ld.lld --version 2>/dev/null | awk '{ print $2 }') + [[ -n ${version_lld} ]] && version_lld=$(ver_cut 1 "${version_lld}") + [[ -z ${version_lld} ]] && die "Failed to read ld.lld version!" + + local version_llvm_rust=$(rustc -Vv 2>/dev/null | grep -F -- 'LLVM version:' | awk '{ print $3 }') + [[ -n ${version_llvm_rust} ]] && version_llvm_rust=$(ver_cut 1 "${version_llvm_rust}") + [[ -z ${version_llvm_rust} ]] && die "Failed to read used LLVM version from rustc!" + + if ver_test "${version_lld}" -ne "${version_llvm_rust}" ; then + eerror "Rust is using LLVM version ${version_llvm_rust} but ld.lld version belongs to LLVM version ${version_lld}." + eerror "You will be unable to link ${CATEGORY}/${PN}. To proceed you have the following options:" + eerror " - Manually switch rust version using 'eselect rust' to match used LLVM version" + eerror " - Switch to dev-lang/rust[system-llvm] which will guarantee matching version" + eerror " - Build ${CATEGORY}/${PN} without USE=lto" + eerror " - Rebuild lld with llvm that was used to build rust (may need to rebuild the whole " + eerror " llvm/clang/lld/rust chain depending on your @world updates)" + die "LLVM version used by Rust (${version_llvm_rust}) does not match with ld.lld version (${version_lld})!" + fi + fi + + python-any-r1_pkg_setup + + # Avoid PGO profiling problems due to enviroment leakage + # These should *always* be cleaned up anyway + unset \ + DBUS_SESSION_BUS_ADDRESS \ + DISPLAY \ + ORBIT_SOCKETDIR \ + SESSION_MANAGER \ + XAUTHORITY \ + XDG_CACHE_HOME \ + XDG_SESSION_COOKIE + + # Build system is using /proc/self/oom_score_adj, bug #604394 + addpredict /proc/self/oom_score_adj + + if use pgo ; then + # Allow access to GPU during PGO run + local ati_cards mesa_cards nvidia_cards render_cards + shopt -s nullglob + + ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g') + if [[ -n "${ati_cards}" ]] ; then + addpredict "${ati_cards}" + fi + + mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g') + if [[ -n "${mesa_cards}" ]] ; then + addpredict "${mesa_cards}" + fi + + nvidia_cards=$(echo -n /dev/nvidia* | sed 's/ /:/g') + if [[ -n "${nvidia_cards}" ]] ; then + addpredict "${nvidia_cards}" + fi + + render_cards=$(echo -n /dev/dri/renderD128* | sed 's/ /:/g') + if [[ -n "${render_cards}" ]] ; then + addpredict "${render_cards}" + fi + + shopt -u nullglob + fi + + if ! mountpoint -q /dev/shm ; then + # If /dev/shm is not available, configure is known to fail with + # a traceback report referencing /usr/lib/pythonN.N/multiprocessing/synchronize.py + ewarn "/dev/shm is not mounted -- expect build failures!" + fi + + # Google API keys (see http://www.chromium.org/developers/how-tos/api-keys) + # Note: These are for Gentoo Linux use ONLY. For your own distribution, please + # get your own set of keys. + if [[ -z "${MOZ_API_KEY_GOOGLE+set}" ]] ; then + MOZ_API_KEY_GOOGLE="AIzaSyDEAOvatFogGaPi0eTgsV_ZlEzx0ObmepsMzfAc" + fi + + if [[ -z "${MOZ_API_KEY_LOCATION+set}" ]] ; then + MOZ_API_KEY_LOCATION="AIzaSyB2h2OuRgGaPicUgy5N-5hsZqiPW6sH3n_rptiQ" + fi + + # Mozilla API keys (see https://location.services.mozilla.com/api) + # Note: These are for Gentoo Linux use ONLY. For your own distribution, please + # get your own set of keys. + if [[ -z "${MOZ_API_KEY_MOZILLA+set}" ]] ; then + MOZ_API_KEY_MOZILLA="edb3d487-3a84-46m0ap1e3-9dfd-92b5efaaa005" + fi + + # Ensure we use C locale when building, bug #746215 + export LC_ALL=C + fi +} + +src_unpack() { + local _lp_dir="${WORKDIR}/language_packs" + local _src_file + + if [[ ! -d "${_lp_dir}" ]] ; then + mkdir "${_lp_dir}" || die + fi + + for _src_file in ${A} ; do + if [[ ${_src_file} == *.xpi ]]; then + cp "${DISTDIR}/${_src_file}" "${_lp_dir}" || die "Failed to copy '${_src_file}' to '${_lp_dir}'!" + else + unpack ${_src_file} + fi + done +} + +src_prepare() { + if use lto; then + rm -v "${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch || die + fi + + eapply "${WORKDIR}/firefox-patches" + + # Allow user to apply any additional patches without modifing ebuild + eapply_user + + # Make cargo respect MAKEOPTS + export CARGO_BUILD_JOBS="$(makeopts_jobs)" + + # Make LTO respect MAKEOPTS + sed -i \ + -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ + "${S}"/build/moz.configure/lto-pgo.configure \ + || die "sed failed to set num_cores" + + # Make ICU respect MAKEOPTS + sed -i \ + -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \ + "${S}"/intl/icu_sources_data.py \ + || die "sed failed to set num_cores" + + # sed-in toolchain prefix + sed -i \ + -e "s/objdump/${CHOST}-objdump/" \ + "${S}"/python/mozbuild/mozbuild/configure/check_debug_ranges.py \ + || die "sed failed to set toolchain prefix" + + sed -i \ + -e 's/ccache_stats = None/return None/' \ + "${S}"/python/mozbuild/mozbuild/controller/building.py \ + || die "sed failed to disable ccache stats call" + + einfo "Removing pre-built binaries ..." + find "${S}"/third_party -type f \( -name '*.so' -o -name '*.o' \) -print -delete || die + + # Clearing crate checksums where we have applied patches + moz_clear_vendor_checksums bindgen + + # 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 ..." + if tc-is-gcc; then + have_switched_compiler=yes + fi + AR=llvm-ar + CC=${CHOST}-clang + CXX=${CHOST}-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 + export HOST_CC="$(tc-getBUILD_CC)" + export HOST_CXX="$(tc-getBUILD_CXX)" + export AS="$(tc-getCC) -c" + tc-export CC CXX LD AR AS NM OBJDUMP RANLIB PKG_CONFIG + + # Pass the correct toolchain paths through cbindgen + if tc-is-cross-compiler ; then + export BINDGEN_CFLAGS="${SYSROOT:+--sysroot=${ESYSROOT}} --target=${CHOST} ${BINDGEN_CFLAGS-}" + fi + + # Set MOZILLA_FIVE_HOME + export MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" + + # python/mach/mach/mixin/process.py fails to detect SHELL + export SHELL="${EPREFIX}/bin/bash" + + # Set state path + export MOZBUILD_STATE_PATH="${BUILD_DIR}" + + # Set MOZCONFIG + export MOZCONFIG="${S}/.mozconfig" + + # Initialize MOZCONFIG + mozconfig_add_options_ac '' --enable-application=comm/mail + + # Set Gentoo defaults + export MOZILLA_OFFICIAL=1 + + mozconfig_add_options_ac 'Gentoo default' \ + --allow-addon-sideload \ + --disable-cargo-incremental \ + --disable-crashreporter \ + --disable-gpsd \ + --disable-install-strip \ + --disable-parental-controls \ + --disable-strip \ + --disable-updater \ + --enable-js-shell \ + --enable-negotiateauth \ + --enable-new-pass-manager \ + --enable-official-branding \ + --enable-release \ + --enable-system-ffi \ + --enable-system-pixman \ + --host="${CBUILD:-${CHOST}}" \ + --libdir="${EPREFIX}/usr/$(get_libdir)" \ + --prefix="${EPREFIX}/usr" \ + --target="${CHOST}" \ + --without-ccache \ + --without-wasm-sandboxed-libraries \ + --with-intl-api \ + --with-libclang-path="$(llvm-config --libdir)" \ + --with-system-nspr \ + --with-system-nss \ + --with-system-zlib \ + --with-toolchain-prefix="${CHOST}-" \ + --with-unsigned-addon-scopes=app,system \ + --x-includes="${ESYSROOT}/usr/include" \ + --x-libraries="${ESYSROOT}/usr/$(get_libdir)" + + # Set update channel + local update_channel=release + [[ -n ${MOZ_ESR} ]] && update_channel=esr + mozconfig_add_options_ac '' --update-channel=${update_channel} + + if ! use x86 && [[ ${CHOST} != armv*h* ]] ; then + mozconfig_add_options_ac '' --enable-rust-simd + fi + + # For future keywording: This is currently (97.0) only supported on: + # amd64, arm, arm64 & x86. + # Might want to flip the logic around if Firefox is to support more arches. + if use ppc64; then + mozconfig_add_options_ac '' --disable-sandbox + else + mozconfig_add_options_ac '' --enable-sandbox + 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-png + mozconfig_use_with system-webp + + if use system-librnp; then + mozconfig_add_options_ac "+system-librnp" --enable-compile-environment + mozconfig_use_with system-librnp + else + # This controls the backend of the bundled librnp. Choices are "botan" and "openssl". + # RNP Upstream recommends to use botan. In Gentoo it's preferred to use system-librnp. + mozconfig_add_options_ac "+bundled librnp backend = botan" --with-librnp-backend="botan" + fi + + mozconfig_use_enable dbus + mozconfig_use_enable libproxy + + use eme-free && mozconfig_add_options_ac '+eme-free' --disable-eme + + if use hardened ; then + mozconfig_add_options_ac "+hardened" --enable-hardening + append-ldflags "-Wl,-z,relro -Wl,-z,now" + fi + + local myaudiobackends="" + use jack && myaudiobackends+="jack," + use sndio && myaudiobackends+="sndio," + use pulseaudio && myaudiobackends+="pulseaudio," + ! use pulseaudio && myaudiobackends+="alsa," + + mozconfig_add_options_ac '--enable-audio-backends' --enable-audio-backends="${myaudiobackends::-1}" + + mozconfig_use_enable wifi necko-wifi + + if use wayland ; then + mozconfig_add_options_ac '+x11+wayland' --enable-default-toolkit=cairo-gtk3-x11-wayland + else + mozconfig_add_options_ac '+x11' --enable-default-toolkit=cairo-gtk3 + fi + + if use lto ; then + if use clang ; then + # Upstream only supports lld when using clang + mozconfig_add_options_ac "forcing ld=lld due to USE=clang and USE=lto" --enable-linker=lld + + mozconfig_add_options_ac '+lto' --enable-lto=cross + + else + # ThinLTO is currently broken, see bmo#1644409 + mozconfig_add_options_ac '+lto' --enable-lto=full + mozconfig_add_options_ac "linker is set to bfd" --enable-linker=bfd + fi + + if use pgo ; then + mozconfig_add_options_ac '+pgo' MOZ_PGO=1 + + if use clang ; then + # Used in build/pgo/profileserver.py + export LLVM_PROFDATA="llvm-profdata" + fi + fi + else + # Avoid auto-magic on linker + if use clang ; then + # This is upstream's default + mozconfig_add_options_ac "forcing ld=lld due to USE=clang" --enable-linker=lld + else + mozconfig_add_options_ac "linker is set to bfd" --enable-linker=bfd + fi + fi + + # LTO flag was handled via configure + filter-flags '-flto*' + + mozconfig_use_enable debug + if use debug ; then + mozconfig_add_options_ac '+debug' --disable-optimize + else + if is-flag '-g*' ; then + if use clang ; then + mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols=$(get-flag '-g*') + else + mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols + fi + else + mozconfig_add_options_ac 'Gentoo default' --disable-debug-symbols + fi + + if is-flag '-O0' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O0 + elif is-flag '-O4' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O4 + elif is-flag '-O3' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O3 + elif is-flag '-O1' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O1 + elif is-flag '-Os' ; then + mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-Os + else + mozconfig_add_options_ac "Gentoo default" --enable-optimize=-O2 + fi + fi + + # Debug flag was handled via configure + filter-flags '-g*' + + # Optimization flag was handled via configure + filter-flags '-O*' + + # Modifications to better support ARM, bug #553364 + if use cpu_flags_arm_neon ; then + mozconfig_add_options_ac '+cpu_flags_arm_neon' --with-fpu=neon + + if ! tc-is-clang ; then + # thumb options aren't supported when using clang, bug 666966 + mozconfig_add_options_ac '+cpu_flags_arm_neon' \ + --with-thumb=yes \ + --with-thumb-interwork=no + fi + fi + + if [[ ${CHOST} == armv*h* ]] ; then + mozconfig_add_options_ac 'CHOST=armv*h*' --with-float-abi=hard + + if ! use system-libvpx ; then + sed -i \ + -e "s|softfp|hard|" \ + "${S}"/media/libvpx/moz.build \ + || die + fi + fi + + if use clang ; then + # https://bugzilla.mozilla.org/show_bug.cgi?id=1482204 + # https://bugzilla.mozilla.org/show_bug.cgi?id=1483822 + # toolkit/moz.configure Elfhack section: target.cpu in ('arm', 'x86', 'x86_64') + local disable_elf_hack= + if use amd64 ; then + disable_elf_hack=yes + elif use x86 ; then + disable_elf_hack=yes + elif use arm ; then + disable_elf_hack=yes + fi + + if [[ -n ${disable_elf_hack} ]] ; then + mozconfig_add_options_ac 'elf-hack is broken when using Clang' --disable-elf-hack + fi + elif tc-is-gcc ; then + if ver_test $(gcc-fullversion) -ge 10 ; then + einfo "Forcing -fno-tree-loop-vectorize to workaround GCC bug, see bug 758446 ..." + append-cxxflags -fno-tree-loop-vectorize + fi + fi + + # Additional ARCH support + case "${ARCH}" in + arm) + # Reduce the memory requirements for linking + if use clang ; then + # Nothing to do + :; + elif use lto ; then + append-ldflags -Wl,--no-keep-memory + else + append-ldflags -Wl,--no-keep-memory -Wl,--reduce-memory-overheads + fi + ;; + esac + + if ! use elibc_glibc ; then + mozconfig_add_options_ac '!elibc_glibc' --disable-jemalloc + fi + + # Allow elfhack to work in combination with unstripped binaries + # when they would normally be larger than 2GiB. + append-ldflags "-Wl,--compress-debug-sections=zlib" + + # Make revdep-rebuild.sh happy; Also required for musl + append-ldflags -Wl,-rpath="${MOZILLA_FIVE_HOME}",--enable-new-dtags + + # Pass $MAKEOPTS to build system + export MOZ_MAKE_FLAGS="${MAKEOPTS}" + + # Use system's Python environment + export PIP_NETWORK_INSTALL_RESTRICTED_VIRTUALENVS=mach + + if use system-python-libs; then + export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE="system" + else + export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE="none" + fi + + # Disable notification when build system has finished + export MOZ_NOSPAM=1 + + # Portage sets XARGS environment variable to "xargs -r" by default which + # breaks build system's check_prog() function which doesn't support arguments + mozconfig_add_options_ac 'Gentoo default' "XARGS=${EPREFIX}/usr/bin/xargs" + + # Set build dir + mozconfig_add_options_mk 'Gentoo default' "MOZ_OBJDIR=${BUILD_DIR}" + + # Show flags we will use + einfo "Build BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}" + einfo "Build CFLAGS:\t\t${CFLAGS:-no value set}" + einfo "Build CXXFLAGS:\t\t${CXXFLAGS:-no value set}" + einfo "Build LDFLAGS:\t\t${LDFLAGS:-no value set}" + einfo "Build RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}" + + # Handle EXTRA_CONF and show summary + local ac opt hash reason + + # Apply EXTRA_ECONF entries to $MOZCONFIG + if [[ -n ${EXTRA_ECONF} ]] ; then + IFS=\! read -a ac <<<${EXTRA_ECONF// --/\!} + for opt in "${ac[@]}"; do + mozconfig_add_options_ac "EXTRA_ECONF" --${opt#--} + done + fi + + echo + echo "==========================================================" + echo "Building ${PF} with the following configuration" + grep ^ac_add_options "${MOZCONFIG}" | while read ac opt hash reason; do + [[ -z ${hash} || ${hash} == \# ]] \ + || die "error reading mozconfig: ${ac} ${opt} ${hash} ${reason}" + printf " %-30s %s\n" "${opt}" "${reason:-mozilla.org default}" + done + echo "==========================================================" + echo + + ./mach configure || die +} + +src_compile() { + local virtx_cmd= + + if use pgo ; then + virtx_cmd=virtx + + # Reset and cleanup environment variables used by GNOME/XDG + gnome2_environment_reset + + addpredict /root + fi + + local -x GDK_BACKEND=x11 + + ${virtx_cmd} ./mach build --verbose \ + || die +} + +src_install() { + # xpcshell is getting called during install + pax-mark m \ + "${BUILD_DIR}"/dist/bin/xpcshell \ + "${BUILD_DIR}"/dist/bin/${PN} \ + "${BUILD_DIR}"/dist/bin/plugin-container + + DESTDIR="${D}" ./mach install || die + + # Upstream cannot ship symlink but we can (bmo#658850) + rm "${ED}${MOZILLA_FIVE_HOME}/${PN}-bin" || die + dosym ${PN} ${MOZILLA_FIVE_HOME}/${PN}-bin + + # Don't install llvm-symbolizer from sys-devel/llvm package + if [[ -f "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" ]] ; then + rm -v "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" || die + fi + + # Install policy (currently only used to disable application updates) + insinto "${MOZILLA_FIVE_HOME}/distribution" + newins "${FILESDIR}"/distribution.ini distribution.ini + newins "${FILESDIR}"/disable-auto-update.policy.json policies.json + + # Install system-wide preferences + local PREFS_DIR="${MOZILLA_FIVE_HOME}/defaults/pref" + insinto "${PREFS_DIR}" + newins "${FILESDIR}"/gentoo-default-prefs.js gentoo-prefs.js + + local GENTOO_PREFS="${ED}${PREFS_DIR}/gentoo-prefs.js" + + # Set dictionary path to use system hunspell + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set spellchecker.dictionary_path pref" + pref("spellchecker.dictionary_path", "${EPREFIX}/usr/share/myspell"); + EOF + + # Force hwaccel prefs if USE=hwaccel is enabled + if use hwaccel ; then + cat "${FILESDIR}"/gentoo-hwaccel-prefs.js \ + >>"${GENTOO_PREFS}" \ + || die "failed to add prefs to force hardware-accelerated rendering to all-gentoo.js" + + if use wayland; then + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set hwaccel wayland prefs" + pref("gfx.x11-egl.force-enabled", false); + EOF + else + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set hwaccel x11 prefs" + pref("gfx.x11-egl.force-enabled", true); + EOF + fi + fi + + # Force the graphite pref if USE=system-harfbuzz is enabled, since the pref cannot disable it + if use system-harfbuzz ; then + cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set gfx.font_rendering.graphite.enabled pref" + sticky_pref("gfx.font_rendering.graphite.enabled", true); + EOF + fi + + # Install language packs + local langpacks=( $(find "${WORKDIR}/language_packs" -type f -name '*.xpi') ) + if [[ -n "${langpacks}" ]] ; then + moz_install_xpi "${MOZILLA_FIVE_HOME}/distribution/extensions" "${langpacks[@]}" + fi + + # Install icons + local icon_srcdir="${S}/comm/mail/branding/thunderbird" + local icon_symbolic_file="${icon_srcdir}/TB-symbolic.svg" + + insinto /usr/share/icons/hicolor/symbolic/apps + newins "${icon_symbolic_file}" ${PN}-symbolic.svg + + local icon size + for icon in "${icon_srcdir}"/default*.png ; do + size=${icon%.png} + size=${size##*/default} + + if [[ ${size} -eq 48 ]] ; then + newicon "${icon}" ${PN}.png + fi + + newicon -s ${size} "${icon}" ${PN}.png + done + + # Install menu + local app_name="Mozilla ${MOZ_PN^}" + local desktop_file="${FILESDIR}/icon/${PN}-r2.desktop" + local desktop_filename="${PN}.desktop" + local exec_command="${PN}" + local icon="${PN}" + local use_wayland="false" + + if use wayland ; then + use_wayland="true" + fi + + cp "${desktop_file}" "${WORKDIR}/${PN}.desktop-template" || die + + sed -i \ + -e "s:@NAME@:${app_name}:" \ + -e "s:@EXEC@:${exec_command}:" \ + -e "s:@ICON@:${icon}:" \ + "${WORKDIR}/${PN}.desktop-template" \ + || die + + newmenu "${WORKDIR}/${PN}.desktop-template" "${desktop_filename}" + + rm "${WORKDIR}/${PN}.desktop-template" || die + + # Install wrapper script + [[ -f "${ED}/usr/bin/${PN}" ]] && rm "${ED}/usr/bin/${PN}" + newbin "${FILESDIR}/${PN}-r1.sh" ${PN} + + # Update wrapper + sed -i \ + -e "s:@PREFIX@:${EPREFIX}/usr:" \ + -e "s:@MOZ_FIVE_HOME@:${MOZILLA_FIVE_HOME}:" \ + -e "s:@APULSELIB_DIR@:${apulselib}:" \ + -e "s:@DEFAULT_WAYLAND@:${use_wayland}:" \ + "${ED}/usr/bin/${PN}" \ + || die +} + +pkg_preinst() { + xdg_pkg_preinst + + # If the apulse libs are available in MOZILLA_FIVE_HOME then apulse + # does not need to be forced into the LD_LIBRARY_PATH + if use pulseaudio && has_version ">=media-sound/apulse-0.1.12-r4" ; then + einfo "APULSE found; Generating library symlinks for sound support ..." + local lib + pushd "${ED}${MOZILLA_FIVE_HOME}" &>/dev/null || die + for lib in ../apulse/libpulse{.so{,.0},-simple.so{,.0}} ; do + # A quickpkg rolled by hand will grab symlinks as part of the package, + # so we need to avoid creating them if they already exist. + if [[ ! -L ${lib##*/} ]] ; then + ln -s "${lib}" ${lib##*/} || die + fi + done + popd &>/dev/null || die + fi +} + +pkg_postinst() { + xdg_pkg_postinst + + if use pulseaudio && has_version ">=media-sound/apulse-0.1.12-r4" ; then + elog "Apulse was detected at merge time on this system and so it will always be" + elog "used for sound. If you wish to use pulseaudio instead please unmerge" + elog "media-sound/apulse." + elog + fi + + local show_doh_information + local show_shortcut_information + + if [[ -z "${REPLACING_VERSIONS}" ]] ; then + # New install; Tell user that DoH is disabled by default + show_doh_information=yes + show_shortcut_information=no + else + local replacing_version + for replacing_version in ${REPLACING_VERSIONS} ; do + if ver_test "${replacing_version}" -lt 91.0 ; then + # Tell user that we no longer install a shortcut + # per supported display protocol + show_shortcut_information=yes + fi + done + fi + + if [[ -n "${show_doh_information}" ]] ; then + elog + elog "Note regarding Trusted Recursive Resolver aka DNS-over-HTTPS (DoH):" + elog "Due to privacy concerns (encrypting DNS might be a good thing, sending all" + elog "DNS traffic to Cloudflare by default is not a good idea and applications" + elog "should respect OS configured settings), \"network.trr.mode\" was set to 5" + elog "(\"Off by choice\") by default." + elog "You can enable DNS-over-HTTPS in ${PN^}'s preferences." + fi + + if [[ -n "${show_shortcut_information}" ]] ; then + elog + elog "Since ${PN}-91.0 we no longer install multiple shortcuts for" + elog "each supported display protocol. Instead we will only install" + elog "one generic Mozilla ${PN^} shortcut." + elog "If you still want to be able to select between running Mozilla ${PN^}" + elog "on X11 or Wayland, you have to re-create these shortcuts on your own." + fi + + # bug 835078 + if use hwaccel && has_version "x11-drivers/xf86-video-nouveau"; then + ewarn "You have nouveau drivers installed in your system and 'hwaccel' " + ewarn "enabled for Firefox. Nouveau / your GPU might not support the " + ewarn "required EGL, so either disable 'hwaccel' or try the workaround " + ewarn "explained in https://bugs.gentoo.org/835078#c5 if Firefox crashes." + fi + + optfeature_header "Optional programs for extra features:" + optfeature "desktop notifications" x11-libs/libnotify + optfeature "encrypted chat support" net-libs/libotr + optfeature "fallback mouse cursor theme e.g. on WMs" gnome-base/gsettings-desktop-schemas +} |