summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mail-client')
-rw-r--r--mail-client/thunderbird/Manifest66
-rw-r--r--mail-client/thunderbird/thunderbird-78.12.0.ebuild1108
2 files changed, 0 insertions, 1174 deletions
diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest
index d7997d841d7..410ff64bcb9 100644
--- a/mail-client/thunderbird/Manifest
+++ b/mail-client/thunderbird/Manifest
@@ -1,70 +1,4 @@
-DIST firefox-78esr-patches-15.tar.xz 65604 BLAKE2B 86e421e555ffd5f7f201d0f1a1c446c649739c67cdf8dca536efa115e09d9c357ce1551b7270c77e8bfe7dd53e0f3e6386496283879cf5e0c59b3c864951ebb3 SHA512 b229e895f083a0404cda1da0d8ae937429d5975ac52ab20e8b15611d9c737381a1076ebfa8c8a127dacac0e12a2a905ffd579facde2d80c6facc911e5739e34b
DIST firefox-78esr-patches-16.tar.xz 55964 BLAKE2B 79d3a465c69656bb55ee7c1e9060606464b6404435b92f534db275521ac2343e045feae1fff6166fde9e2599a82cd982b0b2395271b1033f0f784e745e2c6965 SHA512 3aa971c726646cbf37a14a0dba6c4ac966b88db655cd8b730c5572543bfbf682991ee7c139889541e4f6936c13f27233dc1837fbdb9ee340b33ebb2cec59b01f
-DIST thunderbird-78.12.0-af.xpi 548341 BLAKE2B 5dedd311ca5b467353cf5da0dd7b671eaafef8f7828abe1aa917003b38174fb6bfd6fa5efd6509ed14604477bb2e80a6691aa83ba2aed060295e51330f5d50df SHA512 ad216562bb63440c0728177f73d853994d2b395a13fcf9f7f20ddc81226b9747c407368e843d42aa60c09d1d8489aded879c4080022463346fe5b489ea1a8d3b
-DIST thunderbird-78.12.0-ar.xpi 648606 BLAKE2B dc040d99fbc37da4533c6a9a62204233544f2310b685d353ee10277410c83b37acde3aab8193475a470fe955eafb776c05ef833d7c83a111180b11f400113f6d SHA512 cee52db711b68ac973bf07678c35d6d3a130704e3206f811a1331d165c5c421f61030b589b95f412955525ae3cd9a0381a241692870db4ef6d557df9c289cad0
-DIST thunderbird-78.12.0-ast.xpi 561255 BLAKE2B 28be146998718180da9ef397f7a7ddeb7799d1906b142ab1868e2e6048d1d38a4b5a583d2f51b86d7f688e06e6c3c45593882b580ad75a4bc0637f2fe88dacd6 SHA512 794103871e796a14fa7f6d1eda7058f1d3939692ee2604c79b4af744735fafb934289e0d95abf6e62eb82e8e8836b8ed7a74253b99b2d0bc68f0a4224a31e1ef
-DIST thunderbird-78.12.0-be.xpi 666666 BLAKE2B f779ce4759ebd531f47df82e600955445d2d3bf7d17fac11d9b63ecfe257c250154d3afebf9083023f87961cf0e3748ad8457085228b83c20b546daa2b2c332a SHA512 22cc5dadcd8b874a80be261c2989aff5d414e911bac8535bec860aae622c8ebe9d21b8c376edd4d09c983893eebafa9936e581cb173f1b931d7e9948c50e4542
-DIST thunderbird-78.12.0-bg.xpi 672416 BLAKE2B ce6bb67eb105547ac37e60ab5697042a333f2f14bd752e428fc8465258500bf7464a47dceda543962b44b82b18f6f35c9f88be56acc6355da5b583f3be8d9a8a SHA512 b44a72b40ba074c9374a7c30367a980c40c01132ab435e22254668425fbb1377ac26cfdccf3432a4ee0c01c91ba5017acb85a23ff52e81aea9577fd4e99bea7d
-DIST thunderbird-78.12.0-br.xpi 604530 BLAKE2B 0216a812b9ab106a6e21b0c1b761a3e8bf592bfb8b8c5ce039d7bfadde5f235a6601a95b8e6c8e6872f374ce8133e10dcc2c1b8b1f81e2d17fe0a84d89a6f920 SHA512 9afff6959b1ab88dd09540ec9bdefbe4a34628160411086aed16f262a2e77a8788e8b23f7894f0f8996ed0438e7c70b09ff84542d297c4eb0d48a06f57626390
-DIST thunderbird-78.12.0-ca.xpi 620447 BLAKE2B 12eb06d36e05a6546e69c0a301dca782c75aa58f5d2c144b63df042f66425b0156bc506ef4015cab87bc972f0abd21cc5f61d5a1dfb6a323d25115bbb5e6ed4b SHA512 4649036ceb3993a18ee76cbdc8077026d1090632559d6028a7d3118e1f57c82741569ded816fd8cf4a9013cc9f6416f6a63fa11c89da973ebcb338e3adf40dcf
-DIST thunderbird-78.12.0-cak.xpi 635649 BLAKE2B 8c9b53c7f3770fcac2f3d96cb444e8ba1a12217c319347a92c3a748b728c817d48b165f792f0b0067856f89cd205701e44a60a02fb3324c868374f6144e944fa SHA512 bd779de2c98c8807a7dd67ad131e8c25f96aa45fe41fdb306c15dae90122ecbf37cd08a11edeffb44a6acc5c5d997f4b5b862f18fba82afa9ada711823281013
-DIST thunderbird-78.12.0-cs.xpi 635334 BLAKE2B 597e7968a0f9489a5debe06257ea3828dd056ed31b1c399b522f68c02a0228af625e2328bdb0897bec30a91385b4e0add06bd5d6ce08628a92205b749025beee SHA512 24ef2507c9088234a6fe977a676d89a96f569a0b458e01548fa408226d41b4c56acbd164c6d665817fc99ec485c0ee076ca884eb899a3e845036bf0e8ff6f974
-DIST thunderbird-78.12.0-cy.xpi 646245 BLAKE2B 76332d4b0d7a9f80aa38fb8d1de1255f0a7f487a99cf994f3fd359b857db8550424fd14049d3b8093073ad19e37767e8b5c73638b6b110d38a3aa3b930892c9b SHA512 a93a04a79ad9569f87972654edcb81afa577f1d36de7205bafcddbdce13bb4b1938021a971e898125a61c3681a833e4f19071d30f48511f9774c7e8751b4f244
-DIST thunderbird-78.12.0-da.xpi 620991 BLAKE2B d8243cc572eb7c8892f86416c01feef519d69ec99e2b77b978c4059387721dfead1a64e1acf1e4ad968b6d7ceda359707eaef68467c22957dd54b768994cefe3 SHA512 b403ee1d569fa3a421dda3fcff783ab68e60353c2f7c6e14706cea06b2eb48c6883877bef459f7526bd0ce23b12cdb3ecae244cea08d8fa7f9e58cc9eb68a027
-DIST thunderbird-78.12.0-de.xpi 665195 BLAKE2B a6b01256b21a90b8bde863bbaeea9f37ad15101bc62993e8370e5ec6ca0a3364009c1d5ab50714c6bbd20d7c5649b8061eb4d56fd916acfd6497af868f702de0 SHA512 ed7e313a627a3f7053ecdf2c7fb85ae4fd905341d425823d1ec81414bb86d1a5267e3f3b4ea553026b834bb8c360b83e5ded3fa812c84aed277c73b88b9b61b1
-DIST thunderbird-78.12.0-dsb.xpi 666771 BLAKE2B ba3ca8c76320ee207164ea1329295f558ad8704815e0e35b0941c98424771ce9a25f30086a982a65ecf48c546d20bb8a03c7f1d5a7cf9757ae1441ca38312f8f SHA512 e201ef978f79856da43ded4aa74e3fd26ecd18583b4ae07067c37b944f8eeae73a6ed202335fbe5c36d7dc3a29597d1d16ffcd8a5233cf41ba753b2b8cc6d56e
-DIST thunderbird-78.12.0-el.xpi 774462 BLAKE2B cd2558c208c766eb4b79360db74be6f809876797c59cd8440ff2ff9d5dee7a3b5bb80fd677897a6ef20d5df0362433bfbe0c20351b165697783e47b0f31f1d4f SHA512 8b3e4870af11641b00f31f0dc884b687f5da4e1bc927af1381e0a1e40d49a1c0bca7e08183c1e05c4ea2f03d988d35d626988639e93f53313e86935ebb701f59
-DIST thunderbird-78.12.0-en-CA.xpi 611766 BLAKE2B 8d55f1d412d2c4115fd8eebb262d56ea3e27558a4d842333e7953db0b522e430687e26eff9682d7ccf189063683d7fc3ff88fabbeb172a00881a7d66106cd92a SHA512 303c836c45bd78253454de8be5b3ee5b071bc590c07aeba75b922ca6340b102ef0416e13f80b00bb57c14a52797da35943fad8c8a1cc7b00b0348bdc789fb213
-DIST thunderbird-78.12.0-en-GB.xpi 611188 BLAKE2B 917f71d88149d9d3105cf420259676ea429abdbb77272101586e653f323503a5ded821e90ce4526716e3495a765ce94f6c668f1f220729e5e48ed92e1191fa01 SHA512 a160cd78c4d81efb70f1e6922b47f89c109c3e2e4d5378ce86bd84f489aa4ed259ff40ef0eb230783c22b9e29eb0ccad4bd5938cc9fe9e7b2d0e0af792b8bfe7
-DIST thunderbird-78.12.0-es-AR.xpi 657791 BLAKE2B 0975d14f7c58253305dc8a4196ba23f937869f0a3e623b3419088ac30b9533c96bf689bce1a2a2ced3b5b602cd731f05f409f9e9ec701333778725c4e8d83e21 SHA512 c6bfc35ec87f31efdf137ff914fb17f95a977cd4dff7b0255106765d2a0904c03eaef890cd1b76bc0d7a3179e62ae272ecbca13082b59bb0d53e5e4ba391be28
-DIST thunderbird-78.12.0-es-ES.xpi 569800 BLAKE2B 2b0753f93e3d78a6ad464721fa491def1d6c9e17f076d61bc138f2241ed224ee9d5fe8463329f8c6749b3ae87f7d0642d49365a8cc22404352651e4d18967c19 SHA512 1773ae3944517670de63a27f25db89d6305ea11d05ecbc09e3530566308157b9d598d341cf058180facee6e353b48b434ecc33e188e1298bd15dfa599b87e2a1
-DIST thunderbird-78.12.0-et.xpi 597732 BLAKE2B ecec79401ce9154785b10fc645537d70422f9ecda03f97aed3d620c1edb3493a8d3cd9b85c794221c074cf8be3bba8e5015c3ed869a62cb5f0d662540b9ca0c7 SHA512 3dd3aa437a74adfa85573dc55fd74de11905608bb7f685b46f9f0463313849a087924c3f465d98c48f11ede6e077778b2a1bc26f560bd88642b779ae1730c5ed
-DIST thunderbird-78.12.0-eu.xpi 632956 BLAKE2B e8859b5a902f85f55ac4ac20948e9c99648f8f674243f52ce5e9e6c262d29ae8b209b2e43de8cf09423ea19c6caa8c31ce0280a6f1f3ec52841020dc40b654e3 SHA512 17cec1af1ef047133c47fa939c0c54d977eed0f0031b760552a0d2a48744350c7e5800daa6735d3393679a99de1bb660a195fe2501befc1cabca3b857a5da9c1
-DIST thunderbird-78.12.0-fa.xpi 639749 BLAKE2B ec0703f0a439e673c071aedf0fa3701a42a18e92e4b240a961d6737f10fbfeeca4195739d897fb409ffe41c66679dacbd55ebe867289f22d187ddf703f348e51 SHA512 2a75a8a5b77c766455d7f1f7d9e2ebed77cb0f13bc4b84947fcaefa9d281235bcde5856b5e03a7b2c6ddbfe2a91ca120d103a321de74b2f9f9d27d4a6adbba9a
-DIST thunderbird-78.12.0-fi.xpi 642447 BLAKE2B a700a866f92990ba10d1f41622a615923bc946fe50d763a974e01ce18ecf9b9a7a035fc522eb18fa197ef488dd6d3dbee21fd918e310fbf3c30fc1bd8ad5edf7 SHA512 c93a2a6481a2a22bb642c37424eeddd5ba947c3071437b0f11ed8a3727442bf041b98e162f4317c342d82e809f9969756bb20d0308080903f77b9438d2175afc
-DIST thunderbird-78.12.0-fr.xpi 669495 BLAKE2B 31b6e831426bebcda4546af9497841a7785ad6d79a2e976486097e427de6a5f1f5972fc0c56f394ed848cbd79c1b851428b063742e53e85770e7c75a7f82b586 SHA512 4f83dbbcece082179fb8ddaefaeababf166c84b409766496fbe5aaedce89c0769aa7563c3c3d2f3e252f5611434265ea3a5bd892234507b341fd98050a75e45b
-DIST thunderbird-78.12.0-fy-NL.xpi 653076 BLAKE2B 371bfd285be80b7b161a1f275337242fe030842c65e2f5eddba2b7f43627d9f2e3135afcd7e622544755cc73702be3096d6dd94d26579b9efbb669fb1f5c9858 SHA512 1515ab20583c13c71abed588f6c9a6d643ac93b35b25b2f4efa18c29a9788cc19cc72c4172cd14b3181f81b436a6207fe98bd1ddb9726675ad6c3c35e65cdf8b
-DIST thunderbird-78.12.0-ga-IE.xpi 600707 BLAKE2B 1664114aeb2d970c5ab4c1ff5846cfde4e98d11c8e04c91669da50b0c91e9bc2894033c3eb37cc855055cf9771ad1c6b7c42ecb0e5237b884e5b08110468c633 SHA512 d848d9f089b2722295a72089770946e03a9ef2ba65a34f91c727ee628292e319447a0fba530ba074bc6bc5fa64ffb87eb29a973fe29adea37185939674f02ffe
-DIST thunderbird-78.12.0-gd.xpi 609378 BLAKE2B 688743f2f44f1a36aaff00099be3dda2879ec4f86f3a0b05ff69d8594b47cf8fa43503bd5035561cf5160737a4c0ae3cd3687a40a8025bc0cd2ce4cd0a05cd2c SHA512 6fdcdcffe3f8eccc77fefc2cba08a360710783528631a9740363b5100ea65358bf5909ce36fad84353361eb4931de098f944037e7462a70562bc839a44e0e9a0
-DIST thunderbird-78.12.0-gl.xpi 615717 BLAKE2B f10eabecea1977bc945208a1217915d0f8ab7924027b021bcfac903a9ccf4a9ba1e2bb725373992c7a554261696f0f166dcdbad543ea60d2bd8f34f2e34c2b0d SHA512 f22dc05c9753ecea9d7b30d6a0e8669769b7872bb7597bec02e96bbe799dbecfe564d18c819cfb8dd5f6fe8dc7a0aa9c40a5a20758ae1a19fcd54a52b23f8514
-DIST thunderbird-78.12.0-he.xpi 640492 BLAKE2B 28cce0142a41ae3360c5b33dd94b2f9ebd26751eaefc8eba5b00358118868b7a34f57aeb66757c39e3fc3c9b60c01e1f733a63ffe57510fdbda5f211ce61aa5e SHA512 f6afe9b99efba3b63a5005ea51e19c096f2f93b0052f5aefc51e1ee4b3b6c0ee6688edf3ab6775f37291fc4817d67fe739ada806e52d2a0972277c1ff73a9113
-DIST thunderbird-78.12.0-hr.xpi 629036 BLAKE2B 450f7c08f3f66285eda5db5c2cebf83d3696be337708bfb70988d4ba32860aecb197260b64644c29e0e1c3bd1ba750c64fa21e703906f3be7b13341668aa5a91 SHA512 0bc63b28632a95a02e8243746c422cc9c2a0321beb1a82fd1a739b8239b50b2f3fb53df9c413d462159b1f1fd6e168896c1d1c0f84917984c59eea4ece88aa2c
-DIST thunderbird-78.12.0-hsb.xpi 668603 BLAKE2B 966cdee5412bf6878b00dd7d60b1edcde38c833d23d8536da1ba52d96180b27d27348af29058fe31e47ebf745469efa6e220e4fe6bf0660c1042fb1a5b3355c4 SHA512 f513da01bea460b559802df74990b0e341022d21bce4faf53b6ce3df592b583ab287ffcf20165565f5b6ec3cf3e4ffb2a7c06229d619500cf0f7375f7d4b4ab0
-DIST thunderbird-78.12.0-hu.xpi 679845 BLAKE2B b7587a510259a800340a51144835c7fa0b5854288a01a05b7a16218f810e978c6ca29fe2d4793b92d6e908d335cf345f5f4f3a269140bea31f35f8ed6cac7010 SHA512 5df87277f434a0550b4fe5266970a214546e9700330cab9f4513160652eba7c6b1e9f21d4e3250259603b3aeee8fc9ab7566a91712168ea26d2e92f900b8d378
-DIST thunderbird-78.12.0-hy-AM.xpi 713331 BLAKE2B 962c0f9e291d62f4e9e03cf60f94b8859c1dbb9d6473ef5459e12dd476052776fdc77ca4130d8949f5f9ebfa23df12a21e623001de53d844a2e05224d0ec5a59 SHA512 1df267399a55de17cc460f4d68951e55f44e0a927d447beee42c1fa3ff3360662a36a31a83cfcac5bfba91c9684ab5d8e7e1bc6719e52e04633776756d600044
-DIST thunderbird-78.12.0-id.xpi 620668 BLAKE2B 7574be8c5c6bedfa399be8e7e08371148bb47e9def406f327e8642bb21dea2638aba780787ad8ae9995fd567a2677c152d76c78ffe4402b8aaa536414a85bab3 SHA512 962d7d587a0e0391b3c6547272f96bbe7af10a52d54698859344929bebe214c589894f9c1687368ce1f06e86e9589a91933f4f65aae236c54491ba5ec30e2c57
-DIST thunderbird-78.12.0-is.xpi 581642 BLAKE2B 01228339e4e597242f0f29b62dfafc3fcdae6e433619ea4e95c53bddf08633e54d4378c184b57dcf3ea879c2b850f11a0fd6977fc9f38eebe0f65e33080eb31b SHA512 b0e276be33de95eaf813c3c0eb6df7e176f562724ef62de2de3f7f7685ed0f3bd50aba163f17ef8cb907943a76aac55ea7980caed5ab6e9f7d900789e0711bb1
-DIST thunderbird-78.12.0-it.xpi 572961 BLAKE2B 0264c88e73c6a91e6d9b1b207ef09100c6bcd696e30afca33fb05fa3d953cac0f3c88af27e1c623ac662cf3a19b5f46373c38d677f239d9df90f02bfe0973845 SHA512 46e06597f04b9d9ca0788c84fd3cb7a1f30b401c4874204c6f94a546c3f7f7a98989910394a8c4683c1786f6c72a85682d97d22c9d3c07e0d703047f1091418b
-DIST thunderbird-78.12.0-ja.xpi 722455 BLAKE2B d607d69414162cebcedbcdd53d7ec3e0faeb337ee4bd6be48da2c7bd92b8512f3f129c40613b6fc2ea455613844214a13f6e299bbc5513a42b39b06c9d8b01ab SHA512 27289117e1fd59b61af5554246a6d29b0aac877052c76d824fff9bdeea47d7431fb5616b448a35ad27743638ee9afcb33577a5f1f950b8bf3b52b2092547d477
-DIST thunderbird-78.12.0-ka.xpi 717014 BLAKE2B 34726a602db60680fa01e9a0d400fbec0615ea87633b2490f39b998e8ed590a95817e8a17843a9434900ce80321629e77f2bf6d4c77f00e7b2247e5b34852b9c SHA512 b0eb79289e99412b27cd545f51487d9dd4a2529ebbce8f14bc5a1ad6c6881ab0936a255e284f5f4e2376f123432abc9df57408685b291a1b34176f5c8fa5dd7c
-DIST thunderbird-78.12.0-kab.xpi 651924 BLAKE2B f71a055abeb7cdbc6a58affa49982e281c27a24096fe5c9de1591eab38f468e073bae146634c56576c83938e09c5db3286125debe993a549041698f4beb707e6 SHA512 18d5626f23f58fc742e723ae2d279a831ffc01055df70f431307054814ac67969950a07301051df7fe02a4de87c6ebbbdd7f7b8e7ffd0705afb68de2e1d7236b
-DIST thunderbird-78.12.0-kk.xpi 720474 BLAKE2B 461d00af75417c6ac8c4c31932914a8a9acf3601aaeb786546454168a6bc2b2af57d771406dd1a9dbee5ed8b82bb6a25c38d55e7bdd3748380099ee43dcb39f4 SHA512 17fe790b34ae46832556df44acfd2cc690bdd387db9f3730b58057c2dfb4772734ec1cd65d892399e94a405f8c3badb057cf1507c08a317efe78e6bdc61244f1
-DIST thunderbird-78.12.0-ko.xpi 688205 BLAKE2B 447f5471660ccfec871eeea1fc16d38c5f227afbb88e32b674e0f2579daddb8d61ee5c35466dc05ff6b29090e8f4ce71c117adc2fac634601c41efb8fb608529 SHA512 f4b6e9e931f623d284a3282280dde329976e38fcbb718c53d6899c6b35e0746ce76cca004dc00446c4ec57782b03363225063eaf43787d8e3312a8173ef38492
-DIST thunderbird-78.12.0-lt.xpi 660288 BLAKE2B adc21d6eb5c5d2f07db06f463d7ea4d6cbe97cd9f345b9ef1b7bfa6ecb084e7182760c208f4186ec1d65773f1cd271f988da6c312a67fa729b48f50630670ce8 SHA512 0fb44f2ac7944ae633552215bb87cfe55cd9df6e08d1c512fc93df58295f5282d74f414bed612fc9dd3850b1930e478925ead44fa5af79aaad39fc645841194f
-DIST thunderbird-78.12.0-ms.xpi 572179 BLAKE2B 3529a35319af9705cb1a4d8944699eb6c572365c7da62793f676af84ef317da10165f45848e6faf91eae0cf5a90d447569b0ed2f44daed17d3636eb1f0965b81 SHA512 d78ad3ac193e319846cd9924a0abfcc5e7aae1c71f19fc554a027f14650cf86ad0169f9fe8b3876d2e812a7c169b50e6bd9d85f91202480a9d22c871ff945160
-DIST thunderbird-78.12.0-nb-NO.xpi 637230 BLAKE2B 4ba60de98b67130e293addd759d2d1684d781c39e427839ac193ff501ba749bfe6e4a7a9fac7e511e820233e0f5075ba656f70ecf1d7b49c3d1d930556e63d43 SHA512 ddb65f9094e9faa5e6924603860d490402226b70e8ec5e06bcb9db8bc93cd87a93023f8a73a0bee3744d09ca90d8459f07b968e39c5b9d8827e5b75e4f656b17
-DIST thunderbird-78.12.0-nl.xpi 644355 BLAKE2B 21c5c216720119f538bdfc1ec5b6b4712536595334c346ce46185f25781da57a1d4ac834fd1dd7f16684c8fce13ac93d49fcf5202ec5b925cb59cbbe79829b5d SHA512 bce50d2c80764775925a1723f5ce254aa432427dca54a87471bb51f95791df9a3d6e2acd0c3c1aa904cd6e1ce4f6d2179b61c1d8a9923f8e8e6fdae2c59b7f14
-DIST thunderbird-78.12.0-nn-NO.xpi 640693 BLAKE2B 1df5b57bb02ebdf671e9068209af00b26cdbfdeba121b329de1bc2ae8cca46a5b8fe180c936710f8637bdd3d96518c3fba5fc54318db691a569ea7ed6536ad92 SHA512 ffd7bbec154fe670d3f09b55bb4a2cf212d8ed01adb257e0f1359ad982ca037c0f98c688bef5e89a030feff9e1ca23983dc461b100e70daf168d39f8c835b7be
-DIST thunderbird-78.12.0-pa-IN.xpi 633222 BLAKE2B cf92020dafd2c22b63648d2a87e7b002cefc416b0c13e26886b10fdf6ef7de66e2ddcacc74f29629c1db0cccd4d65ddae9b9d114af7356fdc9ec0576bd34e9c9 SHA512 07a772c7290aa6c59aabfeb192e069d606adee16fddbaa9fe21e630ffcbba415acc0e2e291793852dc62cb577eb92ece4b4555351e6ca2ffb579d11d7ec34634
-DIST thunderbird-78.12.0-pl.xpi 637122 BLAKE2B 1781d8bebe2bd5c19bf3cb1ecf1efb9d17c9693960e97f6cb75b1c2d2ddf59162e289c75dd36ab059d4adf3aff04a5ace7e99fc10b0760da0612e7202898d3fd SHA512 c35359eefd5d72aad1a11be62dc854e6dcf5f0cee950752d5cad8a7eaf659418df0f48176af7853aa58feedbb2a59a6bd7e2ea78943489469bd648b29b665cc9
-DIST thunderbird-78.12.0-pt-BR.xpi 649416 BLAKE2B 69593472c33cf72d64067c30c04707d481bc09190a7868909da3682b21b6cd61c3f06a1ede06d01c2950e657e26b6d5b9e30c71b43dd74569f51271f7874c60d SHA512 a667144a011ef736b1d7ad5cc9264797cfa0b852cbf2838d2fa356e2e2fbfefb63c2c5a2025fa9cd3609db020ed8fc0892166ab402fe679c4bd02c0cf8fe0492
-DIST thunderbird-78.12.0-pt-PT.xpi 655499 BLAKE2B bfc46e485c058697adc9d877942e24eab9e8109db2e7b6197d7f3d2f1e9729872c51adf2163e3f85f893945410a92a62ed2bf2e252193cac70c89dc3a4cf344d SHA512 2305911c72ddd47cd66194ccf276c50f9e2906e42f753e4bd078848f491486bd897ada044020e178858077fbd7aef1c6cc07ca293ae0f1c6ae02ec9bea5f3271
-DIST thunderbird-78.12.0-rm.xpi 646533 BLAKE2B a6a229bb925f0ff12931a93cd1443b545d826d0b7328550d4da766abbf66ec4739984d3240056d8d0e84ef5233b125f66dc8d834e26aab065ab676254396f63b SHA512 8635a81e566b1c8f50a9597b71bcc7c4eaf12cc881b0154e68ff9c9f251ffa81f97a868fbd67862b6fb13c334450af8d6f3e5f32f70258aaae52a9532fa97a87
-DIST thunderbird-78.12.0-ro.xpi 662642 BLAKE2B 3843667db0240f7c8259deeda63c2541480afbef9161e5501c76b0393132e8968f500c67f8bb1adc28bea6da38a0cdb2398bca7dbd227052a6530c499815b236 SHA512 1d05e3cd478d12425b48a0fcb1e7028c86c7d54e39b8b243099a1f63345aa6a06937927f3efce45888f33022474c83a059c27365b53fed87ee4940fe2469fafd
-DIST thunderbird-78.12.0-ru.xpi 756191 BLAKE2B 1f4966a293ce01f6a1c839bc4d0d207d9ff5407526bff70e71d038daa8bc4bee816b9b85dea8e43c84997e8c91706928ae0fcbc2ecab1cbad6d565dcada35b39 SHA512 a6f1158341083b85eccc420efe10c4786d971e37c5feacec642eb6c3dfc4eccc2c072df0fd1b531684e04f07283168aca957390b6c869211a52156add7729db2
-DIST thunderbird-78.12.0-si.xpi 651100 BLAKE2B 3231b596ade2866710f39440e6a0a8c0e72294f99580ae8bdc45bcb4d78208edd36fd0878ed3b3b3479994c2040900ae660ccc801fbca562bf2c0302474b87f1 SHA512 9f1705aa2a0d806030c6a8cc94b5009e17c3c228e153e6287b1166ea5dfc02a2d92f197c90ff2ed6ffccf9d8b0311704da2e785be250a68f39576c60fe7eab00
-DIST thunderbird-78.12.0-sk.xpi 643223 BLAKE2B 2766bd8fae857dbafad30546b5f1e2606e1701b6bcb0244b564cd312b20277329830ed1596108e1ecda3c2b9e277d9f98a4e4119ce79825cecf18ad1015a654f SHA512 b8486373ab861fbbb0286568ea493a5ac7f7faadc985c7f895117c81344e6395b9a66fc896d1265fb8bf56b37563a647cbfbf7bca8977c9f9763caad8cf6b0c7
-DIST thunderbird-78.12.0-sl.xpi 632386 BLAKE2B 4fdf1191069589949559587f675ac2cd615bfe8ef3a30961d19c0e14223fa836eef861f4b59cf956c393c5b82b95cbd91511d21200934a2f8f26a18a7fa8e7d4 SHA512 b7edf395463c4cffdc9d0fb4a045de220fb785c17aee6722b980b3d9202b3ebf2616b6a1d954e8e0ea0d0bb0708e739d157986dabced74898cc6ead9c182db3c
-DIST thunderbird-78.12.0-sq.xpi 657815 BLAKE2B b20b4f52dbba8813f76041ff0716774cdc42c17e1f619a628dda2e29c0277a1a6d4a3e85d8d9991e07f0785eca58d17112c803da2d034a8d6d9d4f5b93474cc0 SHA512 22141d41c02fbffeaa77964abbcd7fa9367567f4efcc5027b5e96a04d02a0feb9085637ad3d60d0f5e49cf7ed27a0e69736374066f986e2a5389253e9d7230d6
-DIST thunderbird-78.12.0-sr.xpi 683113 BLAKE2B cb6e05a2c0bfe6de50d170a762752960f0a446c792cc62ac0f205c5338d52c46b3746247312f3d112d1542420357c3af98a4e52e0d984d4ef9383d462cf1d7cd SHA512 d263f5798939c2aa61fecbc2a174233812df81b454aae4bf08315c69afcdedc8cb878707fdb92e9e7e2f7503d41235a5b49725e8fbfe68ea9a8ef26b09bcefb5
-DIST thunderbird-78.12.0-sv-SE.xpi 648863 BLAKE2B 7efa45363c02d4205282c768368387d701d06db7a0646b03b4beeb8a269b375e20392affc99da8db3f88bb9043e37a5decea27ea2352e1e245c6d2394f04fd97 SHA512 d014d8750173f10d7f248fba3e71cff26fbd13f5c91d7b822bb1a433cb09c32806c1a1da00e779c0e34dd936f17b0f607901ff3239f258e467f6f32219d797ad
-DIST thunderbird-78.12.0-th.xpi 712037 BLAKE2B 6cbf077923f75a0367ecbff3575ba0dd3cf29ada444ab82d6505191343d18d0100dfb42f6156e757f2b22a47a1e304f25a0efbaf61a50e2311c832106f9448e8 SHA512 52298cbf4475352985014106ee67f2837d86e3ab6c5a69cc11a0179e161d4e3582040579cfb109707e7e112928e39b9762e22aa869a98edb3b59bb2eeeac68e4
-DIST thunderbird-78.12.0-tr.xpi 649073 BLAKE2B e9d78abb609d80b87361517267392ec37b1db6e90aa379fc54329363d984151c6e5c72fe635c5705cd61367ae5421e4e218145de0f48f2f0f52b7d019e6e2b08 SHA512 3fd6899edc2ad6a4be8285de0621a7a1cbbd83ee02cc40228ede1f033c9323fb0eb0e5a72520ad7d20d48202358b0b7eb0ea204f344b0544a3693190985b3031
-DIST thunderbird-78.12.0-uz.xpi 586596 BLAKE2B 0039bc81a6cdf8c88127e3a8caf3548e5c90eb33030b93c678f0c46672020b4471dc35c275f89794e138e5ed5836cb89f05e068bd218db804e3b37f445a2516b SHA512 ed28c8864a4b6f36ed704427743147ca77f4289e9f995c78011a6d80f790a2d0e09fe8b344deb1c658c322c1bea7362219e46524115f8ef11c392e1f70809f59
-DIST thunderbird-78.12.0-vi.xpi 674606 BLAKE2B b325878404c5de61418ada8c67495bbed3cd557c8ef908a39566da4464f22cb850e140728b82c9220c38294593d317165eef7e31baddaf9ccf39fb1be36461c5 SHA512 6720100635a1b91277077f527c087a7edbde5183d7a0cfee3e6ab532a6dfb830b8b5769176319acfed69a3e5b415eaacf38eaae9404bc1a35f1a1d8bb3958be8
-DIST thunderbird-78.12.0-zh-CN.xpi 687173 BLAKE2B 214cf530f6a3fb1023d3dc7bdcb7e9012351f5bc46d175af09aecb3ee6c05baef347432ed9556caf6b54ee04e61a63932a2ca3f131fef0198cddf97b566ae38d SHA512 ac826167da668b544a8606db35d5d243250137ad9badc57ce75ab8e3a5712378742c1b9aa44795e9abb9a61fa5f8176d14a8737129a6642dedcf556f1745406d
-DIST thunderbird-78.12.0-zh-TW.xpi 687621 BLAKE2B 8234a8ed471e8d5b9825afe0f11a03b74ebe17183513f56dc0e1c15d6fd6cf01da1607d844410b8c12b111ffa1a5e76572e30a6f6ea9165c88a873f7c6d1a668 SHA512 4b9cff48fd28cf1e081689e81b5dba4b03bf6f2e89557c1d386ec27172806d34c4d4630cd5322eb27e053124f4b141612f9ffb5863174ac64dddd63fb5bfa03d
-DIST thunderbird-78.12.0.source.tar.xz 355933664 BLAKE2B 466899baf4db28f7d41363ed3b3bdc93b25ec8a87cfb2a8e489ac5572f769a4b19cf3886f3a76a3c9cbce112e47a0fab711ad59505bbc01cd38daad896ae1c58 SHA512 8a9275f6a454b16215e9440d8b68926e56221dbb416f77ea0cd0a42853bdd26f35514e792564879c387271bd43d8ee966577f133f8ae7781f43e8bec9ab78696
DIST thunderbird-78.13.0-af.xpi 548343 BLAKE2B 06beb7e934e29e09145fce1b30c249d79f6e9f40c8fc309b5033aeae664dcb9dde107f42ae5ac0d2d3e46487be30a22b3541ca87e03f37699bd8d352254e565e SHA512 30f699ccd68cd577b691439a3769ecb6eadda84352cac52d27364527a61d77f9584ce225ab871bf0ca76ece6e65fe939021b09c4adaee8e09f8635d326cb4d96
DIST thunderbird-78.13.0-ar.xpi 648617 BLAKE2B 78542fdc6c1c5f803fff4881cb87911560b8be5e350cb5232b573860af76f689a8e60aea674054bf614ac95d8ca75b8b994b25b7b11689d8f82449f0b124569d SHA512 678c1162243aec8e33a0fe09325f2856dcf2ba447e91a5283aa766c65285e95e7dc66e609a6b5bba9129cac393f09fa7083fb7c39b2d7604216155d9f03c2e56
DIST thunderbird-78.13.0-ast.xpi 561258 BLAKE2B 88ce63137775dc96a410e86323305ee0719d1dde716dc6a74e1314b9502d3d25a0ce92b9bb8194a37ecb06445b063024e3f540e547dd56b660fb732f91505b96 SHA512 84f42514f68228cff173a0fed9b7a54859a716b8bc53ea657241fa9e28f16161230c14c4b32e0c5208386ff47716244837130f2785f7eba3e1845a87b5904dc1
diff --git a/mail-client/thunderbird/thunderbird-78.12.0.ebuild b/mail-client/thunderbird/thunderbird-78.12.0.ebuild
deleted file mode 100644
index 9823bae0f4a..00000000000
--- a/mail-client/thunderbird/thunderbird-78.12.0.ebuild
+++ /dev/null
@@ -1,1108 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-FIREFOX_PATCHSET="firefox-78esr-patches-15.tar.xz"
-
-LLVM_MAX_SLOT=12
-
-PYTHON_COMPAT=( python3_{7..9} )
-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 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/~{axs,polynomial-c,whissi}/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.mozilla.org/thunderbird"
-
-KEYWORDS="amd64 ~arm64 ~ppc64 x86"
-
-SLOT="0/$(ver_cut 1)"
-LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
-IUSE="+clang cpu_flags_arm_neon dbus debug eme-free
- hardened hwaccel jack lto +openh264 pgo pulseaudio selinux
- +system-av1 +system-harfbuzz +system-icu +system-jpeg +system-libevent
- +system-libvpx +system-webp wayland wifi"
-
-REQUIRED_USE="wifi? ( dbus )"
-
-BDEPEND="${PYTHON_DEPS}
- app-arch/unzip
- app-arch/zip
- >=dev-util/cbindgen-0.14.3
- >=net-libs/nodejs-10.21.0
- virtual/pkgconfig
- >=virtual/rust-1.41.0
- || (
- (
- sys-devel/clang:12
- sys-devel/llvm:12
- clang? (
- =sys-devel/lld-12*
- pgo? ( =sys-libs/compiler-rt-sanitizers-12*[profile] )
- )
- )
- (
- sys-devel/clang:11
- sys-devel/llvm:11
- clang? (
- =sys-devel/lld-11*
- pgo? ( =sys-libs/compiler-rt-sanitizers-11*[profile] )
- )
- )
- (
- sys-devel/clang:10
- sys-devel/llvm:10
- clang? (
- =sys-devel/lld-10*
- pgo? ( =sys-libs/compiler-rt-sanitizers-10*[profile] )
- )
- )
- )
- lto? (
- !clang? ( sys-devel/binutils[gold] )
- )
- amd64? ( >=dev-lang/yasm-1.1 )
- x86? ( >=dev-lang/yasm-1.1 )
- !system-av1? (
- amd64? ( >=dev-lang/nasm-2.13 )
- x86? ( >=dev-lang/nasm-2.13 )
- )"
-
-CDEPEND="
- >=dev-libs/nss-3.53.1
- >=dev-libs/nspr-4.25
- dev-libs/atk
- dev-libs/expat
- >=x11-libs/cairo-1.10[X]
- >=x11-libs/gtk+-2.18:2
- >=x11-libs/gtk+-3.4.0:3[X]
- x11-libs/gdk-pixbuf
- >=x11-libs/pango-1.22.0
- >=media-libs/libpng-1.6.35:0=[apng]
- >=media-libs/mesa-10.2:*
- media-libs/fontconfig
- >=media-libs/freetype-2.4.10
- kernel_linux? ( !pulseaudio? ( media-libs/alsa-lib ) )
- virtual/freedesktop-icon-theme
- >=x11-libs/pixman-0.19.2
- >=dev-libs/glib-2.26:2
- >=sys-libs/zlib-1.2.3
- >=dev-libs/libffi-3.0.10:=
- media-video/ffmpeg
- x11-libs/libX11
- x11-libs/libXcomposite
- x11-libs/libXdamage
- x11-libs/libXext
- x11-libs/libXfixes
- x11-libs/libXrender
- x11-libs/libXt
- dbus? (
- sys-apps/dbus
- dev-libs/dbus-glib
- )
- system-av1? (
- >=media-libs/dav1d-0.3.0:=
- >=media-libs/libaom-1.0.0:=
- )
- system-harfbuzz? (
- >=media-libs/harfbuzz-2.6.8:0=
- >=media-gfx/graphite2-1.3.13
- )
- system-icu? ( >=dev-libs/icu-67.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-webp? ( >=media-libs/libwebp-1.1.0:0= )
- wifi? (
- kernel_linux? (
- sys-apps/dbus
- dev-libs/dbus-glib
- net-misc/networkmanager
- )
- )
- jack? ( virtual/jack )
- selinux? ( sec-policy/selinux-mozilla )"
-
-RDEPEND="${CDEPEND}
- jack? ( virtual/jack )
- openh264? ( media-libs/openh264:*[plugin] )
- pulseaudio? (
- || (
- media-sound/pulseaudio
- >=media-sound/apulse-0.1.12-r4
- )
- )
- selinux? ( sec-policy/selinux-mozilla )
- !<x11-plugins/enigmail-2.2"
-
-DEPEND="${CDEPEND}
- pulseaudio? (
- || (
- media-sound/pulseaudio
- >=media-sound/apulse-0.1.12-r4[sdk]
- )
- )
- wayland? ( >=x11-libs/gtk+-3.11:3[wayland] )
- amd64? ( virtual/opengl )
- x86? ( virtual/opengl )"
-
-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 use pgo ; then
- if ! has_version -b "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*" ; then
- einfo "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}* 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 et eu fa fi fr fy-NL ga-IE gd gl he hr hsb hu hy-AM
- id is it ja ka kab kk ko lt ms nb-NO nl nn-NO pa-IN pl pt-BR
- pt-PT rm ro ru si sk sl sq sr sv-SE th tr 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="6400M"
- 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!"
-
- # temp fix for https://bugs.gentoo.org/768543
- # we can assume that rust 1.{49,50}.0 always uses llvm 11
- local version_rust=$(rustc -Vv 2>/dev/null | grep -F -- 'release:' | awk '{ print $2 }')
- [[ -n ${version_rust} ]] && version_rust=$(ver_cut 1-2 "${version_rust}")
- [[ -z ${version_rust} ]] && die "Failed to read version from rustc!"
-
- if ver_test "${version_rust}" -ge "1.49" && ver_test "${version_rust}" -le "1.50" ; then
- local version_llvm_rust="11"
- else
- 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!"
- fi
-
- 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"
- 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 ! 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() {
- use lto && rm -v "${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch
- eapply "${WORKDIR}/firefox-patches"
-
- # Allow user to apply any additional patches without modifing ebuild
- eapply_user
-
- # 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 checksums where we have applied patches
- moz_clear_vendor_checksums target-lexicon-0.9.0
-
- # 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_src_prepare
-}
-
-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 && ! tc-is-clang ; then
- # Force clang
- einfo "Enforcing the use of clang due to USE=clang ..."
- have_switched_compiler=yes
- 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)"
- tc-export CC CXX LD AR 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 MOZCONFIG
- export MOZCONFIG="${S}/.mozconfig"
-
- # Initialize MOZCONFIG
- mozconfig_add_options_ac '' --enable-application=comm/mail
- mozconfig_add_options_ac '' --enable-calendar
-
- # Set Gentoo defaults
- export MOZILLA_OFFICIAL=1
-
- mozconfig_add_options_ac 'Gentoo default' \
- --allow-addon-sideload \
- --disable-cargo-incremental \
- --disable-crashreporter \
- --disable-install-strip \
- --disable-strip \
- --disable-updater \
- --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 \
- --with-intl-api \
- --with-libclang-path="$(llvm-config --libdir)" \
- --with-system-nspr \
- --with-system-nss \
- --with-system-png \
- --with-system-zlib \
- --with-toolchain-prefix="${CHOST}-" \
- --with-unsigned-addon-scopes=app,system \
- --x-includes="${SYSROOT}${EPREFIX}/usr/include" \
- --x-libraries="${SYSROOT}${EPREFIX}/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
-
- 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 system-libevent "${SYSROOT}${EPREFIX}/usr"
- mozconfig_use_with system-libvpx
- mozconfig_use_with system-webp
-
- mozconfig_use_enable dbus
-
- 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
-
- mozconfig_use_enable jack
-
- mozconfig_use_enable pulseaudio
- # force the deprecated alsa sound code if pulseaudio is disabled
- if use kernel_linux && ! use pulseaudio ; then
- mozconfig_add_options_ac '-pulseaudio' --enable-alsa
- fi
-
- mozconfig_use_enable wifi necko-wifi
-
- if use wayland ; then
- mozconfig_add_options_ac '+wayland' --enable-default-toolkit=cairo-gtk3-wayland
- else
- mozconfig_add_options_ac '' --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
- # Linking only works when using ld.gold when LTO is enabled
- mozconfig_add_options_ac "forcing ld=gold due to USE=lto" --enable-linker=gold
-
- # ThinLTO is currently broken, see bmo#1644409
- mozconfig_add_options_ac '+lto' --enable-lto=full
- 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
- elif tc-ld-is-gold ; then
- mozconfig_add_options_ac "linker is set to gold" --enable-linker=gold
- 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 tc-ld-is-gold || 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 MACH_USE_SYSTEM_PYTHON=1
-
- # Disable notification when build system has finished
- export MOZ_NOSPAM=1
-
- # Build system requires xargs but is unable to find it
- mozconfig_add_options_mk '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"
- 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 menus
- local wrapper_wayland="${PN}-wayland.sh"
- local wrapper_x11="${PN}-x11.sh"
- local desktop_file="${FILESDIR}/icon/${PN}-r2.desktop"
- local display_protocols="auto X11"
- local icon="${PN}"
- local name="Mozilla ${MOZ_PN^}"
- local use_wayland="false"
-
- if use wayland ; then
- display_protocols+=" Wayland"
- use_wayland="true"
- fi
-
- local app_name desktop_filename display_protocol exec_command
- for display_protocol in ${display_protocols} ; do
- app_name="${name} on ${display_protocol}"
- desktop_filename="${PN}-${display_protocol,,}.desktop"
-
- case ${display_protocol} in
- Wayland)
- exec_command="${PN}-wayland --name ${PN}-wayland"
- newbin "${FILESDIR}/${wrapper_wayland}" ${PN}-wayland
- ;;
- X11)
- if ! use wayland ; then
- # Exit loop here because there's no choice so
- # we don't need wrapper/.desktop file for X11.
- continue
- fi
-
- exec_command="${PN}-x11 --name ${PN}-x11"
- newbin "${FILESDIR}/${wrapper_x11}" ${PN}-x11
- ;;
- *)
- app_name="${name}"
- desktop_filename="${PN}.desktop"
- exec_command="${PN}"
- ;;
- esac
-
- 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
- done
-
- # Install generic wrapper script
- [[ -f "${ED}/usr/bin/${PN}" ]] && rm "${ED}/usr/bin/${PN}"
- newbin "${FILESDIR}/${PN}.sh" ${PN}
-
- # Update wrapper
- local wrapper
- for wrapper in \
- "${ED}/usr/bin/${PN}" \
- "${ED}/usr/bin/${PN}-x11" \
- "${ED}/usr/bin/${PN}-wayland" \
- ; do
- [[ ! -f "${wrapper}" ]] && continue
-
- 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}:" \
- "${wrapper}" \
- || die
- done
-}
-
-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
-
- if [[ -z "${REPLACING_VERSIONS}" ]] ; then
- # New install; Tell user that DoH is disabled by default
- show_doh_information=yes
- 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
-}