summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2022-03-12 08:11:38 +0200
committerJoonas Niilola <juippis@gentoo.org>2022-03-12 08:11:52 +0200
commit8e1e11b22ac410783567d3f0213e66704d5a20bf (patch)
tree9b7d2232cc24d84a6d015a29a13f655ec7e342f4 /mail-client
parentsys-process/bottom: stabilize 0.6.8 for amd64 (diff)
downloadgentoo-8e1e11b22ac410783567d3f0213e66704d5a20bf.tar.gz
gentoo-8e1e11b22ac410783567d3f0213e66704d5a20bf.tar.bz2
gentoo-8e1e11b22ac410783567d3f0213e66704d5a20bf.zip
mail-client/thunderbird: drop 91.6.2
Bug: https://bugs.gentoo.org/834805 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'mail-client')
-rw-r--r--mail-client/thunderbird/Manifest64
-rw-r--r--mail-client/thunderbird/thunderbird-91.6.2.ebuild1136
2 files changed, 0 insertions, 1200 deletions
diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest
index 29fe692a500a..2373812551cb 100644
--- a/mail-client/thunderbird/Manifest
+++ b/mail-client/thunderbird/Manifest
@@ -1,68 +1,4 @@
DIST firefox-91esr-patches-05j.tar.xz 17116 BLAKE2B 5db6d2d3d5432369d2cfcda1a2b542d70ac18c1af7013d91984054c9658d7e3f989527c3a248de53f2e8dc51a852a46477f9ad75e98db28f50f8609fcafe547c SHA512 42080a8e28014d5f8de7ff45e0128ab71747faad7a92f0f7094686125835c168751794bd0229f77290f075502c271af0171ffae2863325d10cc6e8a853a90d3e
-DIST thunderbird-91.6.2-af.xpi 561894 BLAKE2B 170acfb4fce50eeb71bae30cc21d49dc7d61289254c6ebfc72ed81d1f5da925c6d11a97634dbee8f0ad56048aff48449b16ce8d495e37225eed84c9dd27c2f4c SHA512 f585504b9038536e6dd6241d0d08086f485cd1276d4dc1c921ea29b51bc5d2a435b2d12706c15f9d1257c98a139e84d6e9f6798b44db4a5b122c8ab4b43e3ec6
-DIST thunderbird-91.6.2-ar.xpi 665245 BLAKE2B 779ff9f0bf6c5339310b736a35686e4c8bc482ff28b84505d83db4a6df6cf1596228dc11e2a60363906666ffb2f7f74eef1ec858e1d10758f6368cc87d5fb652 SHA512 25520faf118ff01fb8b70bd67290c511995f7f1f4f5cbc6779a694bafd3604e78f8d5619985d1c80e0d1b5823252ae3b0af31295b05c6fa90b3475af605d5d03
-DIST thunderbird-91.6.2-ast.xpi 580512 BLAKE2B 36fe8e8a1f50eab9fbf9aa5cbd582818b9f9c5a213343d1e64b3d8cb3b544e60bee480ede11336d78c7396b36078ce7e831b4ae1df5a66f1773ca68d05b81412 SHA512 f7f5ede8bb16aad264dd4de78cfb98fff930a8c7d0f1d5243b8297c62d569f676afc3e3154c1fa4adb71b38454bca9c735558da927efeea812d84277c7cc6c8d
-DIST thunderbird-91.6.2-be.xpi 694745 BLAKE2B bd4d4f6b3d5c9a52458362e2d64c944f14d6cfe2a82fcdd2fee76118d7f0cb5737a3633e30436f9630a634170e75b334562c203719956922c7af91f9f8e4cf2d SHA512 d6fd9fe1a01b52a6e253e01544668371bc6b5d34308374546caf4fc9b31b3385527df1a97e85f5e7574dbb556bd55f73ca221e913edabd25a9927f808118e682
-DIST thunderbird-91.6.2-bg.xpi 690968 BLAKE2B abae5481b0aa992072b995f58bdb57263102fea417796617de0202f5ea71e7e51fea9848cecd69a457417c2bca3e89cf74f28a975efd7ec7b779085c19e7d706 SHA512 0b45dd6fb7017d81dc233fcb607db66c4cb3ccccedc6a8352e37e045862aa8d7e6354f301bb864cde31f054e3322bda84dfe2e938ac296898f3c4688611a9cb8
-DIST thunderbird-91.6.2-br.xpi 620588 BLAKE2B 1cb9fc22b754632284a2982eaeb816f822c574091b3aadd6e5a64690efd0085fa245dca47e85c2901bd75599050d82f2aa99e1579e90eace5e48ac18264a7b74 SHA512 1638e2512af653840574893e85a96a835acca18ad124b9b2c7a53d5e35b52ade59bd79c362f02c96d70144573a27adf264a1a9c9d570966d5dd44e4ec4459c6b
-DIST thunderbird-91.6.2-ca.xpi 645023 BLAKE2B b1f6de8b4b5fcba15db2869d01308fb56555ae36913b7f298f0933155ad93ec2a488174674c66da76adc597b279504c2b3c1e04f13e2b1a091f058dcde24b042 SHA512 8c8bc3362086c5fd3b5a38067626ac3c69d03a5627ef784ea8932c5e42c191b36842b036f9154e5ff5d41885270fa996066caa2285ccf86b5f458915ef46e2ce
-DIST thunderbird-91.6.2-cak.xpi 652066 BLAKE2B fbab3b1671754a4da7569cb932b9de787c88bff6c18e229aa5f2f55fc2df0435220e806f251d483a39af4fae62686b5412672154cc47c11898a27016d625ff43 SHA512 d63558fa88e603ff0eb71c39e94dc25026aca8df18a08849cd1d03ed86716745de4903658f49c255dc4fa1cefdc6d230d9ab7ee2459deb8c42f98947a848e037
-DIST thunderbird-91.6.2-cs.xpi 706863 BLAKE2B 1dbb10c095ff17b7319ac6083a07c5d09fe594375379acbbe0ca5e3390b2041916330d884669d9418e49829ddc5f2edd96b9d9b66f9b7fca4e2677a38f45aae1 SHA512 93380b605dfb7db1044cce028428a95dcd842546c61a7bc13d25eab32301b6a2eb25fc4fec174bfdd3242adb371063202b43838f6ab876b84b5b746ae49dfe35
-DIST thunderbird-91.6.2-cy.xpi 683931 BLAKE2B 7260be5add0a5596f1c189dbb0288c22ea7a84c53431d40a59ce9b11f166a56856013e940b28ccc22517972d747dab32b2a9cf720a8d155a4181be3c0c939c48 SHA512 69b6d8aff97d9a5b7a6bcbf848eabcda5c04e59155b4ada65e847c5592d60767f2c7d3bd3cdca89dfc2c659672aba35c811b7dfadf95ea84f0d39be722105f98
-DIST thunderbird-91.6.2-da.xpi 663958 BLAKE2B 3fb81990a3b13d5136e6fad6f61f7585af87550739072cc1482d23646336a01549a825d06e8037756cf9ef7b2e60a0e6223debba7151c20baf080f25ce09ef32 SHA512 11614a5e83431be0dc3b5e46b62b3f2bdd2b4aecb2c48a985786c753f7fa5f04470f57b4ed523b043f280f6881ae7d5c489c02d236537542fda477cb8fa0ffcb
-DIST thunderbird-91.6.2-de.xpi 694810 BLAKE2B fd521ba5e89e454ae2c5804d28f242113bdb7a978fbc6ada0381c9828e7469fcd2f3dd1a62361372d1d0fcb27fa3de15d37fa15bbe328ce9786667888f271915 SHA512 c8f813698de20efe9980e038d1bdca9e78bf4a2840d5d74785427e74acf84b189b92d9f83324dea8854de7cb442eb7e0fb2d906465ad78b8a385c8405b7ebf80
-DIST thunderbird-91.6.2-dsb.xpi 719349 BLAKE2B 5e211f3239b37e32689a497a79a8dfa0ee139c67124a6e75526fc02fa1c8ff25f3fcda01e1c6be85d5ba43daef795c474ddd598d6741485cf35f75a4c543519a SHA512 d1bc3a1db5849657891731d0979632229c960d4cd5033b719cd38e095b6bc47fa9eb1624cd253b55dede8a24e0cfb76ca091f6490e82dfed44376c8e24f8c042
-DIST thunderbird-91.6.2-el.xpi 814594 BLAKE2B 226a2a0e34c649d17446b1c4e28497cccb4b28fcecc93b7a2d449f64cd1964750ec74d1ce09bcf0d95ee36955bf7aa71212c5199722dfc6b21798d1d1ad28c9f SHA512 22be0b165d5ebbf4803bbf153409e4a7bddcd06be0f13906da15665b8c1b3bdb65d2d6e0d3721b703c7222dcdd1f0fad892a830693742ba151f2d05688048b89
-DIST thunderbird-91.6.2-en-CA.xpi 640883 BLAKE2B 274da4f176e8d1ca3f8478474fac66f48114f0b96500c2fd20f6cb64c5401e5c061a9bc767e0a0e4da0836b13fba20fcd0c648d035572dbbddce64081f0c3f6f SHA512 0ddda78983e6071f1c03bf1ebab3790486e203c8b289bd50736bdb765e23dd2a1c3eac15fc517e90663754bdb30e78b430278f2a06e427f492b321676cfeb97b
-DIST thunderbird-91.6.2-en-GB.xpi 646449 BLAKE2B 68910682c2c9589fa1ba6b4a2622e0b9ac7a54c8e306d463a258eed211077eece82ae5cb80182388547691cddc5e0d98431a023af4a16b8cc37a8f0675b1e407 SHA512 1df1bb97196c76ef75984587eea289989b3de0c508658c91a4b65be1ae4f8eeccd4a92d4818d9f8da603408c23b04c90e25498cd7a328bc7d8a653085c49905e
-DIST thunderbird-91.6.2-es-AR.xpi 696016 BLAKE2B b274ed38548c5fdd6b2e1c72dfad5bab89f980c28eb6bf160086c3452ff070556e23609576882530ec03f3bca8afe614fc7f41564697f6eec552288a56fdb2d1 SHA512 81759d7a8d8a34aa19fe33ad5febb5e4d3a44d1000e2150ab32a9e461b29501e692cd579f5211c623b3e0415603f1e4304bcba105a1ac19cbae009e0e7b01904
-DIST thunderbird-91.6.2-es-ES.xpi 592152 BLAKE2B 905683a8f429ece01acd02a028eb8b8761b44ec568c04043d84fde60f28c21180b93e8de5cb92e073c815b32e6a278bae4685e1562055eec37e655b09955c158 SHA512 29937eff8f984d3613fdc743b56157a2a8c86bec66061598ec6af2072c7bb710a882dccc4a11c6e6ee2605023803f72fcaf64fda654b188faff3e10268b9de21
-DIST thunderbird-91.6.2-et.xpi 649367 BLAKE2B 977634f86a8bab60aeaf44febb9ef7f2727b7fd10c2c476ae8236deeaf540981f685f838e22c8e3c90efa47b3298fbe5c71eba8e2ee586bb525eb91f1bb4ff1e SHA512 bf0919a4105c6458611fab5df79f0535aff9665c1b71f4875160ea663e5b43380f74b11d88997f917df8a74c21ee11579a68b845a887e6e493abc0a9b5f9f695
-DIST thunderbird-91.6.2-eu.xpi 673429 BLAKE2B 864cfca260a711fe148c6787ba075552afdaef7cc586700a3a5009a699c4930ec8c5b40ce550d11c9002e5fdb9936290131720ddb914283a84c2a3d9804e36d2 SHA512 e2bf7f895103e329edf9cae00d20d23435f986ea2d1133b04871bbdb8b2105709525bef103240c1a9f8ccd3ae0a85a3784ab1d654be10f83b4d7895476923bbd
-DIST thunderbird-91.6.2-fi.xpi 674034 BLAKE2B 37fb440a84ebf3956930af8f23018d5c2fac6195f0d96b42a86db7571cea261d2199ed9a243b46ad47fcec3ef4e366c7e4cb806ebd50ee4bcca56b362bd4b576 SHA512 bf726ae69e2233da85edf069a38a781f919a3489e7fc33f7d419a163505e8c82e6a2ef3dc29515f404361403aa57ac9b15ddefcf6a4902f547c30d01413ae43e
-DIST thunderbird-91.6.2-fr.xpi 708189 BLAKE2B c043e177df6fd8afb218673fbf98b418e3777bc146689bfdb09201504b1f3a8a50c04a05ac2af8282bc442920b8f3e8cd0498e87c6b1ef5243b155feba8d3e4c SHA512 08d30665fac20280b0b1a92c71d3fe50779a359357d49396adc0579f371fc0d2fb4207ffec8e4c78b9e9e3979c7f31bdc0fa5e0edb1f4ead778bca28d36ddd28
-DIST thunderbird-91.6.2-fy-NL.xpi 689194 BLAKE2B 1657ed5bee18cb8a7fdd178d5c6f52852868877682524d3fad221cf582ff3a4d84a0028b47db1474d9c8c896d0c9aea8f5c30b9d66c3479fd0e7b5d138f2d274 SHA512 f27929d13ddd1fcefd80321b97571685a646bf031e8c5c4222709f86f416f7e15b8f28f1a769036565aa35f731b697e09eec53e713834b7b136aaeb6010bda4f
-DIST thunderbird-91.6.2-ga-IE.xpi 613122 BLAKE2B 5eb2ff72fdaec41eac3383eb438b7c47c9c412e4c3feda37d2e8e86e8cafe0f527ee9f646061c612ba81ab3c1966e0cb3cbfe7ad5e554c3045df57a06b32af27 SHA512 a7d657c0557c010162d7c16b74d747512144cae516ee77f3a62f878499e481f46c17f8eddd149fe7b7d6bc46169e637b913d340bc8511c9cb6a03110126c6105
-DIST thunderbird-91.6.2-gd.xpi 640648 BLAKE2B 91aa7ebb218c070ca1cce793e15bd3c82704f0de25e2f47f41b343dcf2e879b3c9120b1f1b283fbdb209c77656ee7788c138d904c2d3f6f3c9a1ca9f5c8ee4f5 SHA512 9806e26f280543f813c25b6fde4a6e9dce144475d84cc52fafd03a016e17fc8320120ed2c506470d8ce13681f028f0f01319506d45db2bc1b2b08cb744304696
-DIST thunderbird-91.6.2-gl.xpi 677617 BLAKE2B f97e6a9b661fc0c41f3f49be1601f3f236682816eab6ba97608b2bafd3ea6fa5863cd7735c17bb75cdc8ec016a51b881b1055bc47aab13672cf122cdd2d6afaa SHA512 74ce4a89fed365a83fc2cff18c1560b794dde7f7070d34d824104392954083913daaad89aee6d400ae949a9f1234be2a5abaea1c1587fe4d5e68a9763f112e27
-DIST thunderbird-91.6.2-he.xpi 671910 BLAKE2B 78e9876f62c95dd439de685464e6e65ef4c1a882862e6705bda35d7535a0a5b6cfcc8b2552449f17436bbf89c8e4aab9be6f58d7398e03d120f59770bf1119f1 SHA512 68e4f6022cb83905432b838be7ddf73d5b42f1ef9319ef4278f9f1448b7d32f557522a5ce8528c27cb915474776aeb6d40874a3f96f22dfe289a326d06d4f826
-DIST thunderbird-91.6.2-hr.xpi 646311 BLAKE2B 9cc71ee79e9b0a17f08b329d15f08d83bdab04c2cfa0f12bee136c396fd4cb4bfae47409f9c53fc0de4e4a907efc8901a18bc8983581a0df0e6f622426354bb8 SHA512 bc2685a4258ff30acbcd0a656c935518c6c8929af4ba49e0fa95735327e904e5a103ac3c5c5bcfcf8ed535af5cc5c5005713af770ed22bd7936c50961e608e60
-DIST thunderbird-91.6.2-hsb.xpi 716152 BLAKE2B 6f76ec977578858fc531a68d4223d5350e39c0c8b18cafb2d67c46c1a5010c7507391ab0e9de28fbb66c0639d90ad940db04a8803ba09077b5061f309ac2a075 SHA512 6b1e1680d29a5c99af01c54aacbf696f10d1ec952ca23d9861a1ff9bc0d1d77eaf81810916c724a916ad91df1f3f672bcbfacce5ced4fd9ad6cc2493e00bfbf2
-DIST thunderbird-91.6.2-hu.xpi 718773 BLAKE2B dc0b95c5ab7e4072d947eca3d03075611456395becccd46b51b821a27e63468be753da2a32e9e28c1a74d8c3e69056cd7940c3276c2583423ecda3c0bb15debf SHA512 e2eacf9efe6bf08ded867f3cbc3c082a5bd00a8d1754c82280e2ec2ce9f88b6ad19e3cdbbc32279a978b07c6d977bc1a3930ef5b01adfcf62c80cd31ffb27313
-DIST thunderbird-91.6.2-id.xpi 644513 BLAKE2B 784108bfdc1d90ab7430487e89d732a3874aa342595786a0cd55268d5b6b604e6e773110f483378b3ad1e7cab284f32acc555b55bee4dad48daae940fc3a92e5 SHA512 7d112bcb49337bca957e0d43b086b2068fe491d6379570181d511d6b1332cdfccd37a36e41f4c16415da5e4c02b2c24a831d41502ab3461dadd73a0002390cd3
-DIST thunderbird-91.6.2-is.xpi 678581 BLAKE2B d18bb8021303b83ebf450ba22cef80900ee79e201d1a1c62346d920fb03cd46cc53da92a69ab9fb71c94a0c27da3451cb65df3ebe63199cd2d3187a7564faa23 SHA512 88c45cdf31bee0b118314c9b5ae0760c4750a29a311be1a78b94241abde878101aac5374005c5b2f164a5e0eef61f04b025835e72d21fd001b3c0ad9cc727f6a
-DIST thunderbird-91.6.2-it.xpi 609978 BLAKE2B a782edceb3e5cefad0c348c30ec38a0db79452a05a74763b30f5269483dbd23cf6b0949d7d2c472deb45ab639401c5b126c2ee328b5e69a2c8471b4f5db03902 SHA512 8cc54851726e5957bc3ed6cf3873ae2bb4f26362ad561270abb408379db9b8b499fbe1f2f67fbd2f12f9125f71d963522282f3759527ef055503aa594a117abd
-DIST thunderbird-91.6.2-ja.xpi 754200 BLAKE2B a06a8e82a3526a15d4094f81b0358b89fdabacfb2b9f6b2696fdce37a67e1e650e9e658b4ddace83ae21824a138577847b514ae097b63a43d1bf14dc45dd0b97 SHA512 be8fedf3ce3fd7833b9f5f1a454a7b55df3f83eccc60656c5fc5cd987f5d0c9caaa05895cb8e516fd44b4afff435de1c9385843b3a0bff80217057859d4f3901
-DIST thunderbird-91.6.2-ka.xpi 755749 BLAKE2B e753ea0aca4a8afac19df963938184ec7c3182ab9814bd466467b8bf17166903de7b2ba8f67de4825be990ef8bcdcfdd97aceea88575e8f94a9474cf4c98b12a SHA512 0c73d567e0b71ed8d6e466133b75206420f9972fc82115b3142de288216bcd3bd881a5a909a1386708cef2408e309081e9c408ca57e29c2a777eedb23b6a8de7
-DIST thunderbird-91.6.2-kab.xpi 677013 BLAKE2B 696e194398229511acae2cbc3c59e659fd235d1cd58cb0462a5ea1bdcd2acd44540e6ff04418f12fab45073de31fef8df74b67d4ba9a561e87537edf28f81ea4 SHA512 1856fc7b33ca11230cf3abe7e6c5445e1cb260b35803625230fc749c09ffd371869ea30ba9309d7eb623cdd25c3e7cacded4a279d774b9927cb2d8ed924aacf0
-DIST thunderbird-91.6.2-kk.xpi 745030 BLAKE2B cc94a51654ad126f093970a86b0847382964859ba2d85c689b52cf83a53c42bf281239af6682bc53b1fd547135cd69a1b196d28dbf0e110f5badb8eb7107967e SHA512 bde2227e507848598a3594541fec495b573559c353e27c86bfa34a761d20880067896f6d04a5412d52e6f82c31dc1f8030c1dc4818977d354a3977489f2d9c39
-DIST thunderbird-91.6.2-ko.xpi 703524 BLAKE2B 415b3ddf61bb503ecae0b43d8baf950c9af944186d1ab20e217bf46b6094a7ee0f4d2e529745b27e56afa9eb9c33cf7242cead957f108b846b0fcae7007701be SHA512 be41e68ddd1367af919e181336d1c9d3e41680171852cbf47627c65b48a5a38b5218f7a7491c22927cddf3c1e3e37c8616b6b452e925ca8a3dff9f91fa47e8cd
-DIST thunderbird-91.6.2-lt.xpi 695678 BLAKE2B b2640880c3fcd8d328305bb8fd5825d163b56c36c9e221dd02f58c768ec77a56d53fca7d39e7eb597a1363926a3aaa907d77887cb80f417b103eee341a20f538 SHA512 635436b932c2149a49964d8f89c455e060fd8f4a26232364df1291769be852015895b91a1be2d1a09ca18ab21b5f28bfa2c97506169c0bb988989a20080340a2
-DIST thunderbird-91.6.2-lv.xpi 618454 BLAKE2B a091c3980ef2bbbe5c9504c9dd4bed1c0bce7fda9a3ecb2317b444fc0ae559edbf0b4f9677d197ab949f0289ef6457ddd3e66dc0b470a94fcbc7ed92a192d1b9 SHA512 8fa58d0e67ddb43dffdc0bf3005e21a312b4061072b24facbcc643444185679d406132c9eee435ec7d9cea17092257210156ef794c716c2be3e915c16ee3b4db
-DIST thunderbird-91.6.2-ms.xpi 578080 BLAKE2B bb4952094a1c170e7589646a1da03899817a6d6dcb7847c0b156d0290280c06edb6d296d06f50a17433b3e86cd128bcca302fe337e0e3943cf1d39258e186ba0 SHA512 55b83755c9e1269b43b80e8c15a78c28f128d0b016f80227da6863765962076a1d2ddf02cf6bf550d9808ed3b94f9cfcc4fb3c4c1f89a8439ec177e1dc8ce4ce
-DIST thunderbird-91.6.2-nb-NO.xpi 652518 BLAKE2B 82be63c584bd9cd99ca9a28b59d5a4c0bb7f823a163d11a7f40be2c35e871e9e2eddee84e01d5007847bcf45989a93b7c0dbb47220912a382446d9f2ef167529 SHA512 6f3c78974f74e55a9cc423d64b718d3c62fb1b6e299bbc4fcfc312e07cc510894d4c7c401d6665826b747173e1402b6e83c85229090971def3e3c4fbff738b81
-DIST thunderbird-91.6.2-nl.xpi 682120 BLAKE2B 3c66a466cbef1eee8a8fb2e787245e58cf4ceaf6d36a5032c76bdbf9770f1a72415df44e814bd4e7a22e65a766caeba5f8d0c3873c733e0328c280ea5cca5869 SHA512 2e87b8a8168e214f8f771fff77d8653fbfdd274336be2f8b9fd631b942a1dcbf26b536a5df50547fc5bfb4041d3c613a96403313537a25d4df1bc17377525c42
-DIST thunderbird-91.6.2-nn-NO.xpi 656078 BLAKE2B 5713d8c0b0e354cb71efc2b3aa269d9209a96e63235053b57f565ff0d661f82d60624d174dd4980a7fabcac81f7aee617e56620133cacaf2428b5b4ff4e2d777 SHA512 8c13ffd442a5c70d3451fd8ca296876a7d12c1832b325dc1f7fcda6f7e8bd28cf3a51c45429af85fc23ef9dc606950baf282d84c89a2d49866554bbd6270fb13
-DIST thunderbird-91.6.2-pa-IN.xpi 652275 BLAKE2B 2a1250d70278989f91c5a9090a4902332b47d82ab83754309e025289a895def9bb555e55392c660f7153d37ea942b1a77663426ea60999b259fd37b73d781a0d SHA512 9d87103911a45e8b90064b30a95003d93eaf77fb8a98fabc4ca4d57e360349a88b3b103d9d7c6fa5e704fdaca80e63417de3af91165cc1a435c6a76da969718b
-DIST thunderbird-91.6.2-pl.xpi 692826 BLAKE2B aa88d484468dd74b4dd39ea4fc2b30d7632f1b27f8d6be02032e8a98ec500f42377819396de5f4427bdc6106d6d99e0cb3e1044fcd047cb8036a3b1e5b2bd61b SHA512 0513ea86a0ce7ade454438cf2477eea21b026b2f506a215a1a7158c1cc4752f0dd361d3cb879d97aa42b5c491aa34dbe991e6e4b8294ef2ecb262a68edddf7db
-DIST thunderbird-91.6.2-pt-BR.xpi 689676 BLAKE2B b8898361903c0b30981b68130f2c2af36da37e46f9a34fc19ce246ca867bb3bb12ae8e63d79de43b94789a4d3396f444c2af0dab36ae9a62fa6dc328c1407712 SHA512 d2e18470c5db1f8a48e8db48939a09fac24abbadc185d6a200213a98b16893094a1eb0d05cbf76d88a42bad0bf81f8afdc041b70cc5e1cddf254900554c6cf89
-DIST thunderbird-91.6.2-pt-PT.xpi 673205 BLAKE2B 79d5d1b872a05bfad4e335503013070d7f88fe51c7af8603d0c7c9ad939d36d39d62208ec14b5552f38543fd9921ac2e239f7a45e22fc88b44923579c27d53e4 SHA512 7e2a8e3b03e9da710fb479ff4d1c6577ead16d048005b492db2d49d6db01ae631b1de779f4d0fa341d4a7ce5500abc9e27c8d66bb0ba4cd1ef1d5f384025b72e
-DIST thunderbird-91.6.2-rm.xpi 684947 BLAKE2B 8d8d4bedb986ba4402d8345dc3a639491976ce8e6098a0e9054d98612148a55f92da9ab119719bd2dca633c666d65551800adb92d6cc5eb2cecdc76964c14e6e SHA512 45f4613ce850150c5748a83572d3a0f243d8ede3741cdca19689fc2764afb13c2501226a6314b61cbf6b27737829e93ad18661fd6dec49c06c0f1037e4c13854
-DIST thunderbird-91.6.2-ro.xpi 661277 BLAKE2B e5638ecfd569d1a892bd45e76905ea063f2bb58d0f1bb7f682ef8391f9aa54d28d5db4571ad8ff1d78e5305c9140c57d1453d8bb9f7c24af70eb43d621401722 SHA512 90a7c2a195a8270546e1aab7af35e7c95f3e174323a1521bef2937b801f507617d69072540a96f068cd23a3c31bdb6ebf3b6d1c3ec50f61ec36a1df91b243ced
-DIST thunderbird-91.6.2-ru.xpi 791769 BLAKE2B c22892c7f5d8ee52d0d0d869a0ec4a1296761fc0bebafe2935af8eb6d763e250cad27102aa168747ddb2eadf27f7fe4e3129aaf262cc72b5fe1413d5e3791b24 SHA512 c84c9c63e5bbe309e59ee1578116323254dcedac68ff5af77412b2377af01f14f6a4c304a906bfad338102fb2bb6645f510da520ed30268fab8284975bd45367
-DIST thunderbird-91.6.2-sk.xpi 718686 BLAKE2B 95ae81e73feba1e821aa36bf1dffe82a9c4152e043803f507e9521b6c5256a0e920197deea1663afdddf6ac6a47feb2627503871a97351fd1737f959478e537d SHA512 5adb8be0fbe86395391427caa7894cfd5d9ee86238817cbdb014323a9eeeec45df5793148ec6d8a313663b093956762f4fbf51249d27a368db5f3dc913e60e9a
-DIST thunderbird-91.6.2-sl.xpi 677318 BLAKE2B 600997b955736a133d75a776fa603183a7c5c7016aa17f06fefd70d54f77e60863553cfbb501787a00ee7c5f30df90c9013d8015b49f6e986b9d79a54ca205a4 SHA512 04885b33f59b36cb05ac0848cd7d2a5f903f2d43e927a7d4c40989cfc5627b4c8dd0fab607795216aa25516de041dee0a1c3ea81192a5f779f3ab286df02eb0e
-DIST thunderbird-91.6.2-sq.xpi 700483 BLAKE2B 05de30bc67dd1e15efef0496af9d67b639fbe521c95495633fc86fa5f2cb60b8a6b88a0d2c1f03b8225134a2d8a7673d42469d7a561b9d2dc378f43fb1a39ace SHA512 fbe4b152657d6fa0a658dd679eddb765ec5405d62ed39de40f1d8a2ed29028f6c5eea22a4da1808b3e7120c2a63c4846ef33776023e4d95dee55655c16cb266a
-DIST thunderbird-91.6.2-sr.xpi 708979 BLAKE2B d440e0ce617a6a1d1af511ab15028032999048bb122d1b1ee300d4499b4fc397b5b4d5bfecd373b7c0532176848fbe852afc7e5cc309dbc043703463bd122e0e SHA512 f55370dd717e3ce737368fb0b561c7590e191a6a3524bd06ab9bae27f0bcc5a4a9522d65917b2535bdd1e94870597c66e2041744c1c41a4c7e5a6eb3af70e292
-DIST thunderbird-91.6.2-sv-SE.xpi 686484 BLAKE2B 69e5a70b985156cea52ec4239eae93a1bacc68dfee299dc8e395ddc62f24f866bc7e14fb89dac3189d4f81ddb7f4e8ba38b76d110ed69f45eef9f872e0be3df2 SHA512 0badc015b27cd0e98dfc275c1c3f1fe452ceb5795cbc88eb8466a9d5a42178349e6b9714c941f1c8cdc66bf57c7b781e8d4ffb8abca397129f17d05d32a4077e
-DIST thunderbird-91.6.2-th.xpi 746639 BLAKE2B 5bfb2278c0fa9c8008f8d62ada26d8f225cbaf68dd9aba89d835ea1832f479c67c2a777caec2367161f6f706bf454d396ec03010df272da04ca45ca9997d2484 SHA512 0ec84498533f2be48c687ea1fe0af5db8bcae672b0973ea6bc36e0cd27f63c17b06ebfc4a36477a7e19f52e69fe30b22e4ee64dab1432e3cc07e6d62ad40dc59
-DIST thunderbird-91.6.2-tr.xpi 695168 BLAKE2B 0f2cec3fc596fb6092c12c73a2158fc085bd5be324167ead9f51dc6e106193c0bccb2086477be60e5d525b252e37bf811d1352df8d0885c4f520cf50ce0d5cd9 SHA512 aef3fd304759a1f1a7b55e9e492cf2c9a9f7d4e48358805673c42017ec5eccaa94e7db98f91ff5754f70d5d61dead7596d513a0ed99a6879a3677611b4a45194
-DIST thunderbird-91.6.2-uk.xpi 793449 BLAKE2B 0532efbac27272c673e68ac8b9d4381b39b172a8ebeecacd125230a0c13f4039b48bc4076092da4276a4924b3ccb351b5400bb60b25a5e62951d2ca0f177e252 SHA512 5ad36811fff951b9b29ad4f7fb8c135e34d6b1527f9e1a9e838dbfc8c263e970e955e6cce09e048f86a199ccf78f8dd5959788444dee777f88937d42709d472e
-DIST thunderbird-91.6.2-uz.xpi 591030 BLAKE2B 5d1c73b2bb55aa009d2b8daa9f50d9140d1b42e4caccdbcefb528cd2f072f13816b0bcac856d9f2e4f7ee4d70a201b12e36904042374d97c9cfce17923ad21e3 SHA512 3f0a4a6091ba1fffbcc448e9140ad1cb69d12d334725cc1a2c5790bedd06e36120d76696e63df4a65c31836adcf010691108840177b3e05788793307ea256e28
-DIST thunderbird-91.6.2-vi.xpi 720552 BLAKE2B 7ac83b9b5059e52dd24afbed68f716fcdcabc7365818648afcec2d06e272ba267013f0c7ca42bfd3da3509c183939f0962c74d5ec43906917ad7e8a0a964c7c0 SHA512 10d8b0015c52a7d9fbee0eac21b121c5c269ee503d234fce651bca8a503f1d6fdc819657356bd55b58e750c783157a4a69bc4267bbdfd1cd41732987c0288334
-DIST thunderbird-91.6.2-zh-CN.xpi 726136 BLAKE2B 9cb29b9c5ff36def831c5f904393d309637636a8682b24ac20cb5d800922e47ed6b11eb0921cb4f81ebf39a73dcf16f6811bb98459be79e29e617d299f67cfb5 SHA512 260acfdb8e303b7f089a592930427af3608fae724b1c09c19b0d3e26f374e68cdfd5950f0281456415af6026f4d4d91bd8ee3766707994adfdb741efc3aae9cc
-DIST thunderbird-91.6.2-zh-TW.xpi 727310 BLAKE2B 98fbf5b84a24f9d317d10453c2cfe78ec38a713a8b0ec70eda5be9bf31ff02097e4a85bcb26c09e61589470de96074a212ebde45cda66a8ec1f36b95d198abb4 SHA512 9e28e5e74ae91a45a5395a96f5b3a00e32990a7cbf147accc472849bf0398da9b929a8e7a84c0a9293efc2996df70148dc0b8cc45b21cff780b8bf1029da943a
-DIST thunderbird-91.6.2.source.tar.xz 404668968 BLAKE2B b7332a6572135e0f9fbfdd90ae566f3fa096348a4a3596c321e3061f4ff6bbd2469e7f145a9ea656de721d91a3f267e9a21e2955cdf1c8d343548ec76071ba2a SHA512 eb1cb06390694872e37830991e16d1e0bd3259cd1fedfed86fd24901f190bc9c274fc1a85cfbba01a0c9cac0d422b62a9b1062d8ba1770fd25bf99528f6df9e0
DIST thunderbird-91.7.0-af.xpi 561895 BLAKE2B ed4d0c6e98ce53ce4113052bc9ef496d997697d3d5873f8073324754f5b6b278734f12e78ee71448f472d0271f7eae3f055d15364e508af7844f524217c06dc4 SHA512 1f0bdfd7b8bb0e665ef12834b3c656b4cd6140893ef75ec83e20f82a90686a46cc4f573276402fd5fc4e6ded65aebca6af29d3e9adc0d2750574fc64dc1feb30
DIST thunderbird-91.7.0-ar.xpi 665242 BLAKE2B dcd6571a1783edafc110bfd34b22ef8a9cd1216cbbc3b2b511af76afc66a7f0a013b96a64d286c495c7a49296adc7f0f20e9fd60aefa583d4bbaa5eb20c64ccb SHA512 a61d722e08007099b375ccd2552374ae8b3335919fc6efb7ae2a36898e824a09b00cf85510f8eb0fe43cd28847de238db849e98c240e610bd72f58d57d861094
DIST thunderbird-91.7.0-ast.xpi 580510 BLAKE2B ba9ec3c24b2eb0f247521512d6334a7c9ea84711d22d6f716aa062dcb84eb2c83785a79aa1bda59ddffc563fe154935ab1b4d7aa436e7af683f7009da6fa96c9 SHA512 34065a120d6bf123dbd892d51ea336e94ffeb8a15d39f9c7d14eb57b04b434da8b488ad6c4cffbd28fc47f3f6ef544a5c4cb6eb34d012776d0991430c559e143
diff --git a/mail-client/thunderbird/thunderbird-91.6.2.ebuild b/mail-client/thunderbird/thunderbird-91.6.2.ebuild
deleted file mode 100644
index 0e38c353049a..000000000000
--- a/mail-client/thunderbird/thunderbird-91.6.2.ebuild
+++ /dev/null
@@ -1,1136 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-FIREFOX_PATCHSET="firefox-91esr-patches-05j.tar.xz"
-
-LLVM_MAX_SLOT=13
-
-PYTHON_COMPAT=( python3_{8..10} )
-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,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.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 lto +openh264 pgo pulseaudio sndio selinux"
-IUSE+=" +system-av1 +system-harfbuzz +system-icu +system-jpeg +system-libevent +system-libvpx system-png +system-webp"
-IUSE+=" wayland wifi"
-
-REQUIRED_USE="debug? ( !system-av1 )
- pgo? ( lto )
- wifi? ( dbus )"
-
-BDEPEND="${PYTHON_DEPS}
- app-arch/unzip
- app-arch/zip
- >=dev-util/cbindgen-0.19.0
- >=net-libs/nodejs-10.23.1
- virtual/pkgconfig
- >=virtual/rust-1.51.0
- || (
- (
- sys-devel/clang:13
- sys-devel/llvm:13
- clang? (
- =sys-devel/lld-13*
- pgo? ( =sys-libs/compiler-rt-sanitizers-13*[profile] )
- )
- )
- (
- 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] )
- )
- )
- )
- amd64? ( >=dev-lang/nasm-2.13 )
- x86? ( >=dev-lang/nasm-2.13 )"
-
-COMMON_DEPEND="
- >=dev-libs/nss-3.68
- >=dev-libs/nspr-4.32
- dev-libs/atk
- dev-libs/expat
- >=x11-libs/cairo-1.10[X]
- >=x11-libs/gtk+-3.4.0:3[X]
- x11-libs/gdk-pixbuf
- >=x11-libs/pango-1.22.0
- >=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/libxcb
- 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.8.1:=
- >=media-libs/libaom-1.0.0:=
- )
- system-harfbuzz? (
- >=media-libs/harfbuzz-2.8.1:0=
- >=media-gfx/graphite2-1.3.13
- )
- system-icu? ( >=dev-libs/icu-69.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= )
- wifi? (
- kernel_linux? (
- sys-apps/dbus
- dev-libs/dbus-glib
- net-misc/networkmanager
- )
- )
- jack? ( virtual/jack )
- selinux? ( sec-policy/selinux-mozilla )
- sndio? ( media-sound/sndio )"
-
-RDEPEND="${COMMON_DEPEND}
- 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="${COMMON_DEPEND}
- x11-libs/libICE
- x11-libs/libSM
- 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
- 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="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
-
- if ! use clang && [[ $(gcc-major-version) -eq 11 ]] \
- && ! has_version -b ">sys-devel/gcc-11.1.0:11" ; then
- # bug 792705
- eerror "Using GCC 11 to compile firefox is currently known to be broken (see bug #792705)."
- die "Set USE=clang or select <gcc-11 to build ${CATEGORY}/${P}."
- 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() {
- 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 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 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 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-install-strip \
- --disable-strip \
- --disable-updater \
- --enable-js-shell \
- --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-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-png
- 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 sndio
-
- 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
- # ld.gold is known to fail:
- # /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld.gold: internal error in set_xindex, at /var/tmp/portage/sys-devel/binutils-2.37_p1-r1/work/binutils-2.37/gold/object.h:1050
-
- # 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 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
-
- # 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"
- 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
-
- optfeature_header "Optional runtime features:"
- optfeature "encrypted chat support" net-libs/libotr
-}