diff options
Diffstat (limited to 'www-client/seamonkey')
-rw-r--r-- | www-client/seamonkey/Manifest | 27 | ||||
-rw-r--r-- | www-client/seamonkey/metadata.xml | 3 | ||||
-rw-r--r-- | www-client/seamonkey/seamonkey-2.35.ebuild | 356 |
3 files changed, 386 insertions, 0 deletions
diff --git a/www-client/seamonkey/Manifest b/www-client/seamonkey/Manifest index 2de691806652..4e5a200aa2e3 100644 --- a/www-client/seamonkey/Manifest +++ b/www-client/seamonkey/Manifest @@ -1,5 +1,6 @@ DIST enigmail-1.8.2.tar.gz 1604159 SHA256 1d2700799bc52aaa8e8c9f7a0f5111281ff9fbdffc093cdff070657d574eb2a6 SHA512 51eece988f466aeb4a343719a86dc7d95ec41dfc3ec7e3d8d2f360528675c605f8f2154f10aeea6ef82ed87c784f1d13bfc978e052a9ede0072b5137f6294b11 WHIRLPOOL e12a703899e0e4c98adc58b5f4bf1f74e24a2cf09c1a706a6edca6aca06140041b293f23e6e5b05c507177b4148533ebc3431fb75592aae07d791a899ba2c45c DIST firefox-36.0-patches-01.tar.xz 4420 SHA256 9ebde39a67c05b3bd1053f16cc6ef9a9795940871da39456685cff0093c72812 SHA512 e5edc318acd367ae71bbeac554a01276be09301c052ed8054ce420f8026e11501cb853a81f05ce48df3642d5cec4e56c70502cf07c45fc514662f24177714ba1 WHIRLPOOL 7f2cda02552f9cbb4aeedcc8928ee2c624133d220fda86d3e526c97ada7d1def6ca3393c6368a70c5892b188bb3b47589c3365a66adf697464277438644d0cc9 +DIST firefox-38.0-patches-0.3.tar.xz 4796 SHA256 bfbef81748f76f5f80c3ce6e6b810b65f6266f71da02722b1e8c9fad865b02bd SHA512 a974e33759246153db7d83488f1326275efd12c44a6c8c539cbc35709b4dbd27e848bda32f302ac2baa5d8729ba20579ebc7f643419757f542972ca1a264d520 WHIRLPOOL 3549239db380c02a1575ff407ea684a14827f2250d991b5eb6c8a341ceebaca57cd2cc422e160f00dfab933385d677574cd84947da07bd282c68bb84c40fa42b DIST seamonkey-2.33-patches-01.tar.xz 944 SHA256 1612d94dddbd37fa4ce8307c1ba565c8439d082609b63c12b4971e361895566c SHA512 0132e7d06a1ea5d6c059f23e5b8a20016a1e911e8aa40ae15eaefcd141030b4d245297f1e13e508827d91bab5988db4775c8425e737654afba2ede9c2dee8392 WHIRLPOOL 4520c4eaa7e6a25f5c32e9cd1d46472e181fbd769a1c5a59c913834cec5556100eac01423b4abf4a47543d0fbae4bf83b0f4a4d6cec7a058587e2705043bf507 DIST seamonkey-2.33.1-be.xpi 842837 SHA256 bd6ccc1b70c8fe41d43b5f0f05137454f425e572a631ac9641bd7549375ede34 SHA512 a1a264e1cb794a25d22926ed4995028cf94f21fc1083d28491cf4616d9905cbf22dd006fa9298453c3349c6d9b8d3661a376513f95e3b18697d43845e7214afa WHIRLPOOL 295bf608cfa2142c9fb1ab85f1c122df2b4d27b3a6cd39c2e50f23159037165f126afe9938ce07a986c4bc2915ec3e944f3b52f5d13f3b7545d462c5966580a5 DIST seamonkey-2.33.1-ca.xpi 834200 SHA256 f46880e8582a63d6af332c76d988fabb5077fba92affc1881ab8e3d24bf6b331 SHA512 c050cb3f86c78212dfbd40343e817685965d72a90b519879e5b4291f62a4371175352b08fb2fd3aa7834fd27e263404b2bf7473a9588fcbc61f09b9f658e4777 WHIRLPOOL 7202ea355b122da09df204198373b997a683761e8ddc04568ee2cab213907b9ca3ea38cb1490268b13344462a76d26a7f007a67501d51bfc3e6696c2dbe4c4ba @@ -27,3 +28,29 @@ DIST seamonkey-2.33.1-uk.xpi 874106 SHA256 5f40259490b909023b318fa633fb8f549071c DIST seamonkey-2.33.1-zh-CN.xpi 834422 SHA256 1e07dbcfc5739a5e76b13b07327ce81a753e7bfe503a3abd9d5f656d12f918aa SHA512 16a1d1ad2993e0f89027a2fad52f09abe083d283d57a7e9d5f2eddaa3f4ac9f331f179da2b3a4e5d3d437b375cee579cb2c5bafe7a2d49c8e7e898dbb43963a5 WHIRLPOOL 36eb19c03ff8a21b86e23c372c382f6ad63165c658b9fb3152175fa1941562ba8ed41f05c51cd6e36e7fd35f1bf6d691a3ba7f0a4f08c56eead0a783e6ff6cf0 DIST seamonkey-2.33.1-zh-TW.xpi 860687 SHA256 b0c382d9fc410b7a2c4219511c461ca0cd9df14f5a8ac799cfa46d236af5d636 SHA512 51a4955f8cd7af954bd123388aa130c0ee705bf75311dac520b7b87b1b409b1e2e1093b1e5a75e63ba0a3168eb8ad6f204c935cf421eb89b3ce7529fd659b89f WHIRLPOOL df6ddde364b4276c9f6c78a462a79af9b70cd1c755a517b914b33b05260defb62beb54f74a813226c025d83bf0a87bcdbda209b98b9f8b8a7be4c713f85e7c28 DIST seamonkey-2.33.1.source.tar.bz2 203015246 SHA256 b29779cfd4b334ed21a8265ec13327aa7f35ef2895c38a971e41f3e63c85af08 SHA512 2fcd2833c140504a176da145b3fd519a22135c273ce8ea87d39e45a6255533e59dccb24367e3fc9b0575cfc7a7fe2b777296a067edafc83a3397d6916d9e3803 WHIRLPOOL c20f1dc667375608a94899546339c22134d09f74f3eae55b048ac21a6c024acbf7998d437d137963cf231b9ee07e6e69bc7b34ca7267a4ab3d3f6c51d09c4840 +DIST seamonkey-2.35-be.xpi 844271 SHA256 c1043f743a353dfb46db8f524249c808183e89f4f0f7a6181f9d5304d545f694 SHA512 2683a9e5858680a37b152c77fc15964d9b342e2d2a0fc409968b6cf35758f2bf30b3339dcd5c860ef95c56ed85c224383f95efc3d14999cd0a3e4a396c7c4644 WHIRLPOOL f3f69369b0e225cdbb8fc1ac35e4e2295ed1778df7cabd3c9f4f566b758ee6f7dc2f922e422b5b5175bc2ff2ecc15769e535810a90435d15f57f7b22217eb1bf +DIST seamonkey-2.35-ca.xpi 835414 SHA256 6b6bc56a6f780f18a8736a554fcec9b042ff8c3a4ecbef9d192d3ad6a67ed150 SHA512 7dd90e4d3124749971c66c5aa49c4a7ba2fa3813df49526d8f42083b0b6b712362005d3e7332a4d74b053360d56beb22f922e6917471f42e81386b7cc5d9b6d0 WHIRLPOOL 8aa4bc9e1d662c3488fe27b490b4bc42536931a82340b5b133b9886efd10836b64da3c7f253cfd83e561f0d9b2ed03cae922a836c9bb0f927a4c28dabd1de64f +DIST seamonkey-2.35-cs.xpi 830496 SHA256 f1ac05c2f4e123a12697f094c8c336c887f573640e766b63744dc98cea7c224a SHA512 e7b32870956654f59905e31bfed47e54c1c81eef42b33150b9d697319c9aea54955b425a1d0f8899241a3b1747b7561414b17e8ae3bc1825d9a9eb88454ccdd4 WHIRLPOOL ba14199497b61ede105e5f7eebd28da0c6804ac1e67c770aebbfc694e0f046a064b43c9a2ce234f1b26bee6fb35daa820f111c417be14169ae61a63eaf769222 +DIST seamonkey-2.35-de.xpi 838035 SHA256 5a9f9a542f8e815c4263f04e107e489dc6d8bae6b6464cd5f7af2966e9513acf SHA512 ffcd97d184df2d7b0b25bf8bf04055585826675100048d9ccdc453c67030cd20ed5a9adefed79388fc4e507e359233e27d31e6a6bd000b8e62496538da479e60 WHIRLPOOL 8b271aabdae9d8be8f3ab103d489fe5902c0f38caff003c5fc6d9e3840c106e3176ae47f2b207212d2ccd7b68dc52c64f63ac1f3e8f37d4bb3b0b2434591aeed +DIST seamonkey-2.35-en-GB.xpi 804302 SHA256 e3db5141e431ea31f7d1f1d5a01aa9e0499d49bda0828b4ebfc77802ee365771 SHA512 eb67fa8ff2a1fa2f3649214e29daf56c866ee1ad26809229044ca3a1a9ea5493dbd7c00d3de09ea3c3e46e468ea3e5ffa8878b4d59e8b3aa3be0a67458694b94 WHIRLPOOL e52c054da0f9cacc5565bfeeb84a3cb6a16f09410b56f601920cc3f7e9e8d85c36d8fe94597a383f4cca13a2a71d4347a25b828ece1b19f14b99b649a5d7ec2b +DIST seamonkey-2.35-es-AR.xpi 852042 SHA256 74c6c241aa7a1395435539b8969e0e9c4f3fcf957f7c6e8e73f5f61fae211575 SHA512 f055a4b759e8a5ab7f46fc5f263b7a351aba8f7249a36e6a3b0922aceb5ce1c40913c2a8dbd10cfb2b19231a8b9f85d6c4fdaa9d7d5a61827e9d8f2a9405b9a2 WHIRLPOOL 5599ffaed17c1630887cd1f5ff3ee4d8e46b886e6a360acdf546f9382810eae41017522175eb67a27708898d55eb048e9c9506fca2ff23dedc160e85b7b3186b +DIST seamonkey-2.35-es-ES.xpi 830454 SHA256 c242cfb3406ad6048d7f855e22afdb58bd4d6f8d918eb2e96ddfcf64a0b445ad SHA512 bf03b245974264e8c9fa64c679b68b4f2a67b3bab76c07b7cb1478bf8fa071110fe129bd6f42bb878105c1c017672f5c6c2076f0a39bdf5500f5ba3adfe62fa2 WHIRLPOOL fe32e889f67a0e531a28451928cbea897d5b272a62943c9d6b8d39d239857553aaae31d428399d9e309dd8643fe243944cc0cc11c554bbc8a9346d2e5b417910 +DIST seamonkey-2.35-fi.xpi 802373 SHA256 92b7764676bc98f88ec4d9014f4f60577e78ae804ad610a5d6fe1493b554e555 SHA512 4938a8285170f5ebfaa46859aaa8a43e9efc49180a8ae3b79b189d94b660868212a34a83090043ee59b89ef89e10b608390db3692739fc64c95c0af518035b10 WHIRLPOOL 739252f6ac6964e2a7cea6753e7917be2d3f242e8cbe75f4499e12d5f6b72f6b4f01f361004baa2da5b9ccab5a3c79198f6798d238197279dd0fcc6aefb6b250 +DIST seamonkey-2.35-fr.xpi 810945 SHA256 5402fdfbc0d2f169de29a8ad475725ff8765f45c863d290f5ddea03e2f3f85e0 SHA512 48b9cc32e7bf9f8fb39268587d11b265e8471fa3032a11412ec3d0221a5c157027fdd874749a67aa4ac5d2ec56326f3b248f3f715d7772de3f12fae0e1640e38 WHIRLPOOL eb5524efaf01b55ddd587e7a1b7d5d327c596286fd385cc69c969d498deaa13ac39ae3bff0fca78e7aedade1d82dba4f307f8e06f17815aec5c515f6a62df0a7 +DIST seamonkey-2.35-gl.xpi 812465 SHA256 d9f56b51d65db6315937c47613f8f10d8f292195a317c9670c0bdb1c5259f955 SHA512 b0200e6b1a76e6e8189af56e90ddb2f5c4836b716bc004fde07ebc798ba636ac5b9f0578794016a365ddf7d6d4e5bdcd3b27d48edd2f51fc0cf951eae345f048 WHIRLPOOL 5efb32744cda7274aab771f974abd8ffbdc4bf80cfff4dcb346270be40e99c604abf23c59f8209874affe2d0139977b318da225a4d91d12819f20d03166a6cb6 +DIST seamonkey-2.35-hu.xpi 843768 SHA256 fdf492223b9430c6b0b7479193baeb9be473e996057bb52b30fa03024c116ab9 SHA512 f2cd850a83e58fe7c51f79dbd554e9630ce8bc9fdc103851bd3e3ef4a0aeae90495d68da28f0a159ef34d890aad6c0b8ceab8d7c792168832e0ae8f330f4ac81 WHIRLPOOL e096d2c2d44fa6c714aa52a2816c27eb07095bdd0558f160b317264a04f32d6d99fe16c0de8fe0ff9cd4a711d3115b3c3eceb3196cc1dda2590b3f389c51ac5a +DIST seamonkey-2.35-it.xpi 742125 SHA256 0e6f3c94ba8ab8a6a87655ef4b465fed1dc82c7e6309a8c3e48545e22de3b6cb SHA512 782bf7bdccc821cc6f32118d5047327d86bd596b93d458c883cec2e07eddb3cad12477f296e78a90131ef0d62bcbedb10f3e954ef51fde423c64c32d5ffbbbec WHIRLPOOL 86d125cb3a1ee7380f0ee7bfa1df4387acda024685351448cabb026b302fbe79b2f188cb26f640448651d8a83ada86527dd46178d0d926a12a70103d1b0defef +DIST seamonkey-2.35-ja.xpi 885520 SHA256 7bc044f438b5fa27af711590999dce35ca747a6aadd093bbd5ed41664519929c SHA512 a011f085284f340030b70c72e32e282565e417e38ac7c9137d5feefc4ba99dc04c4d65e3c9f992950160d4dd12744dda5608eb015f628943e40d335ca339dfb9 WHIRLPOOL 8aac6371bf745069fae02351442478b16c4770a957a8580aca739cd8235e9bae381b60714736604ccf3c866f72b5c4840e0583fc0220cfdff0f390271637bc14 +DIST seamonkey-2.35-lt.xpi 844697 SHA256 6fcc9f475ba069f58fc8685ee4b45c9937c3cff93227bde15fca92ccd3729300 SHA512 4eeada1d8e0cd79a0baf8411013304f383225a63ca6b968ae7406b707ad24f2d5817699957538e3318439987013ff6e77575f63cd2a800db10cba1b25855f427 WHIRLPOOL 1d2cc26867724e47c7d302b9e718596262cdfab1f042d777ad513f0471863eeff8bc64fd6f647dff3d75616b5042d446b8a595b2aac987a241553a1541403890 +DIST seamonkey-2.35-nb-NO.xpi 825491 SHA256 fad48d775baa3f5ee4e145b23ee09e65bb27137da6e127c4f8681bfc93ec539a SHA512 717706fadadecb57a63e4c0b1619d5d54c976803ece47f8449cb728a877bacaba6c91a7db67a9704c0a2c27dc2879c4d77e109502148beea9685c83cec78ca88 WHIRLPOOL 386d5affeb50caa5f7978360c4d25a975a8d876ce8631c7fc8452fee8bf8fe31cad3327098ee21d582f4181ee3b75d6cc98ba9eb0fa567879c3ae22f3131990a +DIST seamonkey-2.35-nl.xpi 796553 SHA256 7e2948990879f389150adca707af4806b65a5b19c889ae89e87b74084c8a8cf4 SHA512 dc4289cb6f51bd195775f07f5c262b2b6ee3618ca08dcf73ca02a50a0e3af006307cfe17526422b3437074501c1b8913aa57cf48e76e046158d39a887584b3ef WHIRLPOOL 945159ee69875e93f7f57901f6ffcbd4c033ca5bac6f5fcee895ff01a799d78358d4d30a8d2768cc08fdbffc6bed0b6e0026572c8801212c95865ff1ecd026e9 +DIST seamonkey-2.35-pl.xpi 867329 SHA256 5febf28a4936a42d0b6d4e827571f4bd03674c8fafbd7475bd862211d797a513 SHA512 4d745b1f972459fea713b42f4781ea6e558c1f3bd9c77028e5dbf221243922d589eaf398c11e7ff01be5f0bff43a039ae01bff77bb2d1c9ca35c086e01510ad9 WHIRLPOOL ef0d31aaf00f4204a1a5dd7ccee2f144c835430340e2574ee1b72f72cba87f2642c1d1ef6a36cc3bde3c12ffe9d5a46a43df53f95f75150421ff904291c16478 +DIST seamonkey-2.35-pt-PT.xpi 859044 SHA256 90e1818b02c602346b21667e6d52c394762e97925eaf316b040a23e220b8c9ad SHA512 094fc8d11e05c1b95a3f11a0b868a0b9f1e7ce497658a206adba09feec183b8316fae4db6af4291284a44c116be625f84b4e4786b459ab040a2bf6a354bf0751 WHIRLPOOL 781903753a0e5aec8f149d61c28ece87b8ab7a6c9755567895e1fc0243f281e27579575ba5b78b186282c4a3bc69071b8bf749af60f7a29d766b743b54aef266 +DIST seamonkey-2.35-ru.xpi 899811 SHA256 e7036d99ac03e8a717c6dd520d4fa20710eb34723c52b41bab31e7a889fbd126 SHA512 c1beb81fdd1143ceecd1054fbcf79dfe2bbca3a78678c0ad213b61c3973a70c46ee70216fe041a18d57cd6b677d4fac804322e4c09c65b58a9bfa2556d63cf95 WHIRLPOOL 708fac77e6f0d3fc05b986b7bfe6573517672ee6a1bf181c6342774a39d86f5bbc6055457d2f4c043bab80914ac1932106f6c96fc1c6746ee712d8b931f6feb4 +DIST seamonkey-2.35-sk.xpi 857092 SHA256 0fc80d929764e091ab12849878a15fdf6b350191382ecfda6c97e5d3b6029b2c SHA512 2b842c704cfaa9ad88ef59539166cd6bb59ff264e75c803d1bfbbeb67b73e97e76fca1874cb4398b2a3e9890c0a6f4d012b911849886eae8cd42f736b8959497 WHIRLPOOL e202722d4b96728d2f30e096a5cab84504e7953ac10efbc21dd7962605baafca485c9220b305cb8d4ef086b4aaa4850178f962ef2a497f87a0a803fd7df03f5c +DIST seamonkey-2.35-sv-SE.xpi 825057 SHA256 72a3152ddce1748ee0afbb37c72aeed6da725d91e775ce6e51bbb2459aff14a7 SHA512 63b464e4949d7db4026c46d28ef25c42036b60dc899a399308628bd76e054aace62439133fc51ba9433f480565a795f9db54d575befb906a8bd686becb2f0666 WHIRLPOOL ec4e8d9187fbfee6ff4ed10feb9bf6379a06a87790dce995d6ea8867908d69c355b9ce4f97f08b4447d659fa6139d5476081b68df0ed4be278179b9a298601a1 +DIST seamonkey-2.35-tr.xpi 808778 SHA256 598b5399fb18ef6fcee8e48682f5a70ae9de95b6735601086e1c661bdc72e993 SHA512 8919b576d0e70ddae76248a9519b2bea8c5bf46adfe4f70b7446e7ae0b136a4b09dc1dff05af7c60cd1961024e6f2e97f805f4b24b37f55a24fc7a2a230aab88 WHIRLPOOL 85b8bc2b93d44eadc86f5a140601a04068582855fff02020d1054b27d7c7a9f8d28a086cee5d931711afa558ced5bc3c203081bc4b4c29d693ed5d51e24605d0 +DIST seamonkey-2.35-uk.xpi 874302 SHA256 fce8928dd186da0685c4e9516f35e9edb40a57a632131db3cbaaed6394a628ce SHA512 2a03b5915d61000aebecdb1f90fc09b45bbc03ff2eb171778dc30084c3ee8ac7bbf1abef72074e6c294b0a778b8ab2d17f6a8c189f3295a9e73a73b9fac4d4d1 WHIRLPOOL 5040b9e47d7ea8c1d57a898b1a8d9234c5b36278b69d1d6566c7f03b9cee1e671eee543656b0a5e9aba8133815ac0c77b642898c29ddd27090ca6c6b56c53839 +DIST seamonkey-2.35-zh-CN.xpi 836554 SHA256 40f469d1b0df9a3c7dd2c6d765f9ccdcae3dca211b81ed2985d97c20cdc61a3b SHA512 97714a166a3af31aabf3ccf39c77e4cf8aa09a8c9803acdfe75660cddf2d8d4504bad9ed71293174c7ef484e6a13c9e94f86897f73eff306aa1a61d532fdf979 WHIRLPOOL 7d269108e45baeb3192890ef4c9dc0dbfbe228a85cf962c87c2c191c039718180e7461274ca4da9d13f3a0e9019e4adbdb5dd7164d705324331210836f76d3bd +DIST seamonkey-2.35-zh-TW.xpi 860776 SHA256 5e6e23d891f08b9b55ccd55ae4d2ce8c5ea9e32232bcadb31749e199dc55b59d SHA512 4f9d791ea3f00b1f7827ba87c33d9ce09f3351fea970ae29393c38f9185ebb928275973aa55bc945154d4850c804367798c40f9d413862e26bd250259ba7e8f9 WHIRLPOOL 8d6dd5feeaa1eacbe51014e90b49651c262ccd44c5aec7b0907ae044630f3c3137f9c9304d3b88b94c158b8f9fb2ad22d40a4f15befaec6fcaf896195c04b90b +DIST seamonkey-2.35.source.tar.bz2 204983795 SHA256 2096a1f3d57cfe83e6c1f24a6262fafbab336e979bae732212f005e6e2ce2072 SHA512 84b70cc1ba85c263ff88c4edbe3def76628c46c1e1e65a8c42055bbb7f5d6e6d85de67b5e006781533caa0fe12a112d1344b4799bb292ae01d65717137e1fc83 WHIRLPOOL 96b988a20bf27834c6e2ae496edbf91516690df9b299120cb9ab2b08d2022c19c76df506b17865b95c6db595653b1b389fa0a61d91a6905ce6d1e14c0c339638 diff --git a/www-client/seamonkey/metadata.xml b/www-client/seamonkey/metadata.xml index d3602180c7a1..92bd7e5e1a51 100644 --- a/www-client/seamonkey/metadata.xml +++ b/www-client/seamonkey/metadata.xml @@ -12,8 +12,11 @@ optimizations (-Os, -O0, -O1, -O2, -O3)</flag> <flag name="gmp-autoupdate">Allow Gecko Media Plugins (binary blobs) to be automatically downloaded and kept up-to-date in user profiles</flag> + <flag name="gstreamer-0">Use gstreamer:0.10 instead of gstreamer:1 for media support</flag> <flag name="ipc">Use inter-process communication between tabs and plugins. Allows for greater stability in case of plugin crashes</flag> + <flag name="jemalloc3">Enable or disable jemalloc3 + (forced-on when supported prior to 38.0)</flag> <flag name='roaming'>Build roaming extension support (default on)</flag> <flag name="system-cairo">Use the system-wide <pkg>x11-libs/cairo</pkg> Use system cairo instead of bundled.</flag> diff --git a/www-client/seamonkey/seamonkey-2.35.ebuild b/www-client/seamonkey/seamonkey-2.35.ebuild new file mode 100644 index 000000000000..185037f35635 --- /dev/null +++ b/www-client/seamonkey/seamonkey-2.35.ebuild @@ -0,0 +1,356 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +WANT_AUTOCONF="2.1" + +# This list can be updated with scripts/get_langs.sh from the mozilla overlay +MOZ_LANGS=(be ca cs de en en-GB en-US es-AR es-ES fi fr gl hu it ja lt nb-NO nl + pl pt-PT ru sk sv-SE tr uk zh-CN zh-TW) + +MOZ_PV="${PV/_pre*}" +MOZ_PV="${MOZ_PV/_alpha/a}" +MOZ_PV="${MOZ_PV/_beta/b}" +MOZ_PV="${MOZ_PV/_rc/rc}" +MOZ_P="${P}" +MY_MOZ_P="${PN}-${MOZ_PV}" + +if [[ ${PV} == *_pre* ]] ; then + MOZ_HTTP_URI="https://archive.mozilla.org/pub/${PN}/candidates/${MOZ_PV}-candidates/build${PV##*_pre}" + MOZ_LANGPACK_PREFIX="linux-i686/xpi/" + # And the langpack stuff stays at eclass defaults +else + MOZ_HTTP_URI="https://archive.mozilla.org/pub/${PN}/releases/${MOZ_PV}" + MOZ_LANGPACK_PREFIX="langpack/${MY_MOZ_P}." + MOZ_LANGPACK_SUFFIX=".langpack.xpi" +fi + +MOZCONFIG_OPTIONAL_WIFI=1 +MOZCONFIG_OPTIONAL_JIT="enabled" +inherit check-reqs flag-o-matic toolchain-funcs eutils mozconfig-v6.39 multilib pax-utils fdo-mime autotools mozextension nsplugins mozlinguas + +PATCHFF="firefox-38.0-patches-0.3" +PATCH="${PN}-2.33-patches-01" +EMVER="1.8.2" + +DESCRIPTION="Seamonkey Web Browser" +HOMEPAGE="http://www.seamonkey-project.org" + +if [[ ${PV} == *_pre* ]] ; then + # pre-releases. No need for arch teams to change KEYWORDS here. + + KEYWORDS="" +else + # This is where arch teams should change the KEYWORDS. + + KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~x86" +fi + +SLOT="0" +LICENSE="MPL-2.0 GPL-2 LGPL-2.1" +IUSE="+chatzilla +crypt +gmp-autoupdate +ipc minimal pulseaudio +roaming selinux test" + +SRC_URI="${SRC_URI} + ${MOZ_HTTP_URI}/source/${MY_MOZ_P}.source.tar.bz2 -> ${P}.source.tar.bz2 + https://dev.gentoo.org/~polynomial-c/mozilla/patchsets/${PATCHFF}.tar.xz + https://dev.gentoo.org/~polynomial-c/mozilla/patchsets/${PATCH}.tar.xz + crypt? ( https://www.enigmail.net/download/source/enigmail-${EMVER}.tar.gz )" + +ASM_DEPEND=">=dev-lang/yasm-1.1" + +RDEPEND=">=dev-libs/nss-3.19.2 + >=dev-libs/nspr-4.10.8 + crypt? ( || ( + ( >=app-crypt/gnupg-2.0 + || ( + app-crypt/pinentry[gtk] + app-crypt/pinentry[qt4] + ) + ) + =app-crypt/gnupg-1.4* ) )" + +DEPEND="${RDEPEND} + !elibc_glibc? ( !elibc_uclibc? ( dev-libs/libexecinfo ) ) + crypt? ( dev-lang/perl ) + amd64? ( ${ASM_DEPEND} + virtual/opengl ) + x86? ( ${ASM_DEPEND} + virtual/opengl )" + +if [[ ${PV} == *beta* ]] ; then + S="${WORKDIR}/comm-beta" +else + S="${WORKDIR}/comm-release" +fi + +BUILD_OBJ_DIR="${S}/seamonk" + +pkg_setup() { + if [[ ${PV} == *_pre* ]] ; then + ewarn "You're using an unofficial release of ${PN}. Don't file any bug in" + ewarn "Gentoo's Bugtracker against this package in case it breaks for you." + ewarn "Those belong to upstream: https://bugzilla.mozilla.org" + fi + + moz_pkgsetup +} + +pkg_pretend() { + # Ensure we have enough disk space to compile + if use debug || use test ; then + CHECKREQS_DISK_BUILD="8G" + else + CHECKREQS_DISK_BUILD="4G" + fi + check-reqs_pkg_setup +} + +src_unpack() { + unpack ${A} + + # Unpack language packs + mozlinguas_src_unpack +} + +src_prepare() { + # Apply our patches + EPATCH_SUFFIX="patch" \ + EPATCH_FORCE="yes" \ + epatch "${WORKDIR}/seamonkey" + + # browser patches go here + pushd "${S}"/mozilla &>/dev/null || die + EPATCH_EXCLUDE="2000-firefox_gentoo_install_dirs.patch" \ + EPATCH_SUFFIX="patch" \ + EPATCH_FORCE="yes" \ + epatch "${WORKDIR}/firefox" + popd &>/dev/null || die + + # Shell scripts sometimes contain DOS line endings; bug 391889 + grep -rlZ --include="*.sh" $'\r$' . | + while read -r -d $'\0' file ; do + einfo edos2unix "${file}" + edos2unix "${file}" + done + + # Allow user to apply any additional patches without modifing ebuild + epatch_user + + local ms="${S}/mozilla" + + # Enable gnomebreakpad + if use debug ; then + sed -i -e "s:GNOME_DISABLE_CRASH_DIALOG=1:GNOME_DISABLE_CRASH_DIALOG=0:g" \ + "${ms}"/build/unix/run-mozilla.sh || die "sed failed!" + fi + + # Ensure that are plugins dir is enabled as default + sed -i -e "s:/usr/lib/mozilla/plugins:/usr/lib/nsbrowser/plugins:" \ + "${ms}"/xpcom/io/nsAppFileLocationProvider.cpp || die "sed failed to replace plugin path for 32bit!" + sed -i -e "s:/usr/lib64/mozilla/plugins:/usr/lib64/nsbrowser/plugins:" \ + "${ms}"/xpcom/io/nsAppFileLocationProvider.cpp || die "sed failed to replace plugin path for 64bit!" + + # Don't exit with error when some libs are missing which we have in + # system. + sed '/^MOZ_PKG_FATAL_WARNINGS/s@= 1@= 0@' \ + -i "${S}"/suite/installer/Makefile.in || die + # Don't error out when there's no files to be removed: + sed 's@\(xargs rm\)$@\1 -f@' \ + -i "${ms}"/toolkit/mozapps/installer/packager.mk || die + + eautoreconf + cd "${S}"/mozilla || die + eautoconf + cd "${S}"/mozilla/js/src || die + eautoconf + cd "${S}"/mozilla/memory/jemalloc/src || die + WANT_AUTOCONF= eautoconf +} + +src_configure() { + MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" + MEXTENSIONS="default" + # 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. + _google_api_key=AIzaSyDEAOvatFo0eTgsV_ZlEzx0ObmepsMzfAc + + #################################### + # + # mozconfig, CFLAGS and CXXFLAGS setup + # + #################################### + + mozconfig_init + mozconfig_config + + # It doesn't compile on alpha without this LDFLAGS + use alpha && append-ldflags "-Wl,--no-relax" + + if ! use chatzilla ; then + MEXTENSIONS+=",-irc" + fi + if ! use roaming ; then + MEXTENSIONS+=",-sroaming" + fi + + # Setup api key for location services + echo -n "${_google_api_key}" > "${S}"/google-api-key + mozconfig_annotate '' --with-google-api-keyfile="${S}/google-api-key" + + mozconfig_annotate '' --enable-extensions="${MEXTENSIONS}" + mozconfig_annotate '' --enable-jsd + mozconfig_annotate '' --enable-canvas + + # Other sm-specific settings + mozconfig_annotate '' --with-default-mozilla-five-home=${MOZILLA_FIVE_HOME} + + mozconfig_annotate '' --enable-safe-browsing + + # Use an objdir to keep things organized. + echo "mk_add_options MOZ_OBJDIR=${BUILD_OBJ_DIR}" \ + >> "${S}"/.mozconfig + + # Finalize and report settings + mozconfig_final + + if use crypt ; then + pushd "${WORKDIR}"/enigmail &>/dev/null || die + econf + popd &>/dev/null || die + fi + + # Work around breakage in makeopts with --no-print-directory + MAKEOPTS="${MAKEOPTS/--no-print-directory/}" + + if [[ $(gcc-major-version) -lt 4 ]] ; then + append-cxxflags -fno-stack-protector + elif [[ $(gcc-major-version) -gt 4 || $(gcc-minor-version) -gt 3 ]] ; then + if use amd64 || use x86 ; then + append-flags -mno-avx + fi + fi + + emake V=1 -f client.mk configure +} + +src_compile() { + CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \ + MOZ_MAKE_FLAGS="${MAKEOPTS}" SHELL="${SHELL}" \ + emake V=1 -f client.mk + + # Only build enigmail extension if conditions are met. + if use crypt ; then + einfo "Building enigmail" + pushd "${WORKDIR}"/enigmail &>/dev/null || die + emake -j1 + emake xpi + popd &>/dev/null || die + fi +} + +src_install() { + MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" + DICTPATH="\"${EPREFIX}/usr/share/myspell\"" + + local emid + cd "${BUILD_OBJ_DIR}" || die + + # Pax mark xpcshell for hardened support, only used for startupcache creation. + pax-mark m "${BUILD_OBJ_DIR}/dist/bin/xpcshell" + + # Copy our preference before omnijar is created. + sed "s|SEAMONKEY_PVR|${PVR}|" "${FILESDIR}"/all-gentoo-1.js > \ + "${BUILD_OBJ_DIR}/dist/bin/defaults/pref/all-gentoo.js" \ + || die + + # Set default path to search for dictionaries. + echo "pref(\"spellchecker.dictionary_path\", ${DICTPATH});" \ + >> "${BUILD_OBJ_DIR}/dist/bin/defaults/pref/all-gentoo.js" \ + || die + + echo 'pref("extensions.autoDisableScopes", 3);' >> \ + "${BUILD_OBJ_DIR}/dist/bin/defaults/pref/all-gentoo.js" \ + || die + + local plugin + if ! use gmp-autoupdate ; then + for plugin in gmp-gmpopenh264 ; do + echo "pref(\"media.${plugin}.autoupdate\", false);" >> \ + "${S}/${BUILD_OBJ_DIR}/dist/bin/browser/defaults/preferences/all-gentoo.js" \ + || dir + done + fi + + MOZ_MAKE_FLAGS="${MAKEOPTS}" \ + emake DESTDIR="${D}" install + cp "${FILESDIR}"/${PN}.desktop "${T}" || die + + if use crypt ; then + local em_dir="${WORKDIR}/enigmail/build" + pushd "${T}" &>/dev/null || die + unzip "${em_dir}"/enigmail*.xpi install.rdf || die + emid=$(sed -n '/<em:id>/!d; s/.*\({.*}\).*/\1/; p; q' install.rdf) + #' + dodir ${MOZILLA_FIVE_HOME}/extensions/${emid} + cd "${D}"${MOZILLA_FIVE_HOME}/extensions/${emid} || die + unzip "${em_dir}"/enigmail*.xpi || die + + popd &>/dev/null || die + fi + + sed 's|^\(MimeType=.*\)$|\1text/x-vcard;text/directory;application/mbox;message/rfc822;x-scheme-handler/mailto;|' \ + -i "${T}"/${PN}.desktop || die + sed 's|^\(Categories=.*\)$|\1Email;|' -i "${T}"/${PN}.desktop \ + || die + + # Install language packs + mozlinguas_src_install + + # Add StartupNotify=true bug 290401 + if use startup-notification ; then + echo "StartupNotify=true" >> "${T}"/${PN}.desktop || die + fi + + # Install icon and .desktop for menu entry + newicon "${S}"/suite/branding/nightly/content/icon64.png ${PN}.png + domenu "${T}"/${PN}.desktop + + # Required in order to use plugins and even run seamonkey on hardened. + pax-mark m "${ED}"${MOZILLA_FIVE_HOME}/{seamonkey,seamonkey-bin,plugin-container} + + if use minimal ; then + rm -rf "${ED}"/usr/include "${ED}${MOZILLA_FIVE_HOME}"/{idl,include,lib,sdk} + fi + + # Handle plugins dir through nsplugins.eclass + share_plugins_dir + + #doman "${BUILD_OBJ_DIR}/suite/app/${PN}.1" + + # revdep-rebuild entry + insinto /etc/revdep-rebuild + echo "SEARCH_DIRS_MASK=${MOZILLA_FIVE_HOME}*" >> ${T}/11${PN} + doins "${T}"/11${PN} +} + +pkg_preinst() { + MOZILLA_FIVE_HOME="${ROOT}/usr/$(get_libdir)/${PN}" + + if [ -d ${MOZILLA_FIVE_HOME}/plugins ] ; then + rm ${MOZILLA_FIVE_HOME}/plugins -rf + fi +} + +pkg_postinst() { + MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" + + # Update mimedb for the new .desktop file + fdo-mime_desktop_database_update + + if use chatzilla ; then + elog "chatzilla is now an extension which can be en-/disabled and configured via" + elog "the Add-on manager." + fi +} |