From 167432601c04c327aa03bfd46ad4d3338f3761ba Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Mon, 28 Sep 2015 07:35:56 +0200 Subject: [PATCH] www-client/seamonkey: Bump to version 2.38 Package-Manager: portage-2.2.22 Signed-off-by: Lars Wendler --- www-client/seamonkey/Manifest | 27 ++ ...firefox-38-dont-hardcode-libc-soname.patch | 22 ++ .../firefox-38-hppa-js-syntax-error.patch | 30 ++ www-client/seamonkey/seamonkey-2.38.ebuild | 352 ++++++++++++++++++ 4 files changed, 431 insertions(+) create mode 100644 www-client/seamonkey/files/firefox-38-dont-hardcode-libc-soname.patch create mode 100644 www-client/seamonkey/files/firefox-38-hppa-js-syntax-error.patch create mode 100644 www-client/seamonkey/seamonkey-2.38.ebuild diff --git a/www-client/seamonkey/Manifest b/www-client/seamonkey/Manifest index 4e5a200aa2e3..9bee56fa3d10 100644 --- a/www-client/seamonkey/Manifest +++ b/www-client/seamonkey/Manifest @@ -1,6 +1,7 @@ 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 firefox-40.0-patches-0.01.tar.xz 5144 SHA256 072c44c79ba82d04958b3fc3d1c6e90805cf71797a03b96961fd3a16bd14c3a7 SHA512 bb9ca395ee380e6ec21fefadc5c5052ce8490039577ac0245bcee309686e802a654a999b3aeeaf8d97573f102fba3620c9995ec145ddcdded2ee9487490f87f9 WHIRLPOOL e74ed6af06e61baaf0991d23849739fb8c1cb33c800467e76d1c15ae22360c18c757ac9f19d274ca9cc54a6f9a0d17f365bd815b4a35c94766b29980638e8c91 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 @@ -54,3 +55,29 @@ DIST seamonkey-2.35-uk.xpi 874302 SHA256 fce8928dd186da0685c4e9516f35e9edb40a57a 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 +DIST seamonkey-2.38-be.xpi 843477 SHA256 468cf5442f0847bbd5f8b0863fe63a6cfcdf3e6dc973f5815bcf74db54dd9dad SHA512 13c525fc424c65ebe3deb58069b0e427fe7386a736ccd40ef3f1c90616a1656fab569202b4ab7f86ef1fce3ca0d1b2583bf1c11e5c92344ea1b8e45eec5b0892 WHIRLPOOL a663b04ba4ecc9591c1151e02bd6a6b2e1bbb8f55cacf707e40190a48ded86dacc461c3c80a6a3b268ef2e2e3cf2e78cbf45a594ef3d062c801c427401c20725 +DIST seamonkey-2.38-ca.xpi 835381 SHA256 79e2b20e71f59b23a86663f411008e38df1fb43216ed26e9172e04ea5550d772 SHA512 a636adf34cce6af488156b7400f6f32fba61bd7bf098d1acd25ab5b2ed6ffa235290dae37d090e80af1a819dbef40eafc47802f5a127253a5bed432243755a99 WHIRLPOOL 6c53e991fbb862fe7c9205a2dafdb94b1649ed86ade5dcf247c1872347f3c325345614f83fc24612f2881d02d9d3483559dae4340c787803e34904e50aaf7d5d +DIST seamonkey-2.38-cs.xpi 827932 SHA256 54727a8b78eab47adaef7a0f1424c2342bc688183820eb42975d56bf3b5cfee4 SHA512 357917f1928b44d57ff7681506b41e04458c8ed6115080e65e63ca07e7dc8b0936adda1b0d6796e983a31f1bccb156f659e2993cc0e8dbcb91b4525f3c4df4c7 WHIRLPOOL 7ed16fe693b3bd1d6ec6ead7f79c6831da4fcb704c8cb60477a376b8ac77188c6381892701736bbed4e6a8a703ddd8d877559900b98f20abb988b5e9fbed3eac +DIST seamonkey-2.38-de.xpi 836110 SHA256 f41a0bd54e6db51a37e2253d5dcc014211a24b5bae22f6f5f0fd3d355edce63d SHA512 10d2914d582dc39ed2b4a8533fc96f33618f4037badb454e7165963c90357372e31d60a65758fb8e1ff2b99fd931f3c28c5d1dbdaac9ee8feceffc47357119f6 WHIRLPOOL c084c345aea92304d5649c4d450f33768efdf7ff209742afbd056d48ba36519f384fb5283de4a4a2e11342f295de9ad570536a279c03712430ae19cd50001713 +DIST seamonkey-2.38-en-GB.xpi 803791 SHA256 c689322d29fb63c801e08463745fbbb8cdda35a5ec9d78f8499b5d8522cb58ba SHA512 0b18899181806356b3600261ac83bd59fb22e9739d2e9ce123b5b0b8698d91d75cb591bbc1757a1504c6abbd0505d200625ba05332d948cb4f7678eec62fe8b8 WHIRLPOOL 9008bf03390c94fe257b4a515794f5a3ebdf554aafdc1e95d0e7580383063c5f7cbf921557ec50345477cbd1a6a511620ce1ae87483aee5648b6e91247259063 +DIST seamonkey-2.38-es-AR.xpi 847306 SHA256 e729505487a4551acd4df8b9c3ed7844a10ba22f9942bb5c2ef879ca1543a974 SHA512 c5faf2a088ac5837fb8fe77ac18bd01d1957e1b5296920501f34041e085f06357b9ef5542e395f8c7e380669f3b3e70a314d4ae7e66266bbeb68a29741d71043 WHIRLPOOL 08ef38cecd1274b202c4ab3c7570081fa2051865cbf496238821b86d4786c83b54c7dbcaee9689c33d725def9b501dd81ef537a9385e18de654450d5b7559fb1 +DIST seamonkey-2.38-es-ES.xpi 815932 SHA256 c6d98b49b5e57ecb200a3dc0475f406cd8d7183995eab211321d39333057b96f SHA512 e0c9388a5d7a20c4c19d1e79448729e514d9e55171826833d06608943d921a8c2d3bd4c82a7e5b1380e7aeb8da5fad66106c610b26cd08975eadd1a585d92a5d WHIRLPOOL ed9e523ee63f17c2215a96119238c709678c47e7985169bc9de722c5f33948944f7673fb9585951e68e1a44f5d65f88121222b473009d206f759308799520402 +DIST seamonkey-2.38-fi.xpi 802475 SHA256 63daf63e36c45156cc9be8563b99facd6aa12b13c428d5a4047f4a9fedca7ac9 SHA512 7af309064b4e8f378b1bf03e1c7823e8f9c7084f80108a590b546f1f88748b432623968e1973cf76d181ec351eff48c1444c0983568768a6c6fd55fdf110a5bf WHIRLPOOL e4dfd33bb9e973484499c057b83f1d434d40477e64a4b070d739a383b31b1966e61eb3c7d02227c113804df20ae551865555ed0fb2299796f9b554c55f185a53 +DIST seamonkey-2.38-fr.xpi 808241 SHA256 d2e7304cbde64adcb3e581ab913f8b3d3c8ccb4a279d8f59778f0ff1856621e3 SHA512 9d8efa794771178656359d92cca8d3d1cde7bda07e0be837cf2f7720d2d5ad64b6c3d6ba3a72e85893cc933ee8b874675a0d7b1b579edfd35bab56ab7b49c0b2 WHIRLPOOL 9fc09d07a3450353eddbd41702fd75a598d107b3e961337ea933a3da9bad9b9ef85371fe458a15a8c57e7ad82eff1d3ac61b3baebfa4d8081f0fcaef4c3f63a4 +DIST seamonkey-2.38-gl.xpi 814190 SHA256 0113d770c8b2b2c3d4d33cdd0d9a804871b6686821cb2763fedf319f9b75da17 SHA512 87197eb5893f9997781fda98fdd69376265a00faec9c608ab69e2e0425fa122d361961ac5f317a41c15b8bd7e84b8bfc57fa7ad447c5c880fb4569af945d90c3 WHIRLPOOL 3166f4f573b2d64024f47f80bba11394cd3fb7736a74bd8bd360dda86a3a437e7f6a6d7f9648e4bbd398789add655565aaafd502a840c56bcb34a5342df0d183 +DIST seamonkey-2.38-hu.xpi 845751 SHA256 d1471e6f9424b9b515fbb05ea7318d9bbaf40aba63a38a4f203818f3ce9e54ca SHA512 7dcee5565cc4f3a799fda17002cc0d066fb82ba2feb2d4bd92006ef6583f89dc527e1e0c446e72d64b53d977bcb52425a320801bf1027c986d48aff95bd35975 WHIRLPOOL 85bee8da2ebd5d0c57cf1337b9a0cfd22297583aa5afeef2de7939ac77348bdc0d6d7de704438ed190e69391bd6b1b10c83fdef63bb6cea507cab4fc0828b2e5 +DIST seamonkey-2.38-it.xpi 726983 SHA256 b731a4c133c7503690ff7e3d37f7ef9570ef571d7f89e4cc44b66de2c0bd5730 SHA512 ad5a24414cbb33ee5895b7fb179a0da0417f84adf3133b9925aa778881ba58c711150ae87d709e7c47604b47698b5d48536f6b02c7b3671a12247c7cdf1d7a4a WHIRLPOOL 94af1e917b4fbe63188d2e97f4728573a441d51db9b933154807b290778d088bb9353d332b2f67abc68284dbec1306a69a28fe9af677057a0576fe863d6e4a13 +DIST seamonkey-2.38-ja.xpi 884249 SHA256 6e9c92ba79555d90b23f463050c554d9c4c4abb280a801117e480704865954a2 SHA512 6c8746523f5717b8b5a93d3e8bf32c5a3ba2b56437a45e65564f100323e2bbde1a7c71c1131f4373db0b8489fecf186f56a6ed6a260b8d6293829e92c726c998 WHIRLPOOL 09078bd4982d8f0479d72fa359b4e52f1f3c08817632043dbbb8242b435d1b60d7da9a7362131844d2d04d31bc5fc07dfa724d37cd2ebdb3dac2fec567530f7a +DIST seamonkey-2.38-lt.xpi 855160 SHA256 785c4680eb1ef4a560cdd925edf1773067f26e80218c56db90d4179ad5a123e6 SHA512 b1e004dac42951159d378688f35c3a572f4ce213759d59cdcf06689c307fc13abb418003a3d49bf027c80f4fb7df031094899ca6908947b47b1d07faab836c8c WHIRLPOOL fb9bc3eb2e7cd11e100af25c3670ed25a888ffe124bfeb54c744296b4a7df314a2b002f1e27063280ecf91ee5a8bc1e3976085c284182d1b0fd314cf9b48bd90 +DIST seamonkey-2.38-nb-NO.xpi 825522 SHA256 165ff6347d7612cec077396e9840b4f52ca19872a323b46d94471768b30daf0d SHA512 30587f568e330c7078965ac9d122a99073e2eb019c3333969074451119ad6d285fe006653985ee05f57d39da257cdb0893582bff4919802ea819003d8f3b0807 WHIRLPOOL 90763a0d9475449223ddfb57d8b5cafabfe9ec695af7b7dd6d8dc8d332b44246a21ad0bf87b9940ece5d7214a2166272c224a70daf0e8a902c21c26b810556f7 +DIST seamonkey-2.38-nl.xpi 793056 SHA256 48ec7e307fc635a170db27841d95ff9105a0e203377b11dfbaf592e01ad2b00b SHA512 4ecba7fadde2225a2635c4625427f5c24398d6d05e0dfdfc83843fadd38bd67be80c33ea26e5936c574ff4d396ed6e72017a40fe45d4603e8fded0d4c261669e WHIRLPOOL 91baa29055a9fb5a2f988fbc1091f4db61d9706c7edd1120ee5835a7c3a5106b89ebca4db1682432e8d724e820613c0f0fef1f62bcf127e38c3c1f5b79c5c2d3 +DIST seamonkey-2.38-pl.xpi 858883 SHA256 a9d6dfc47c62460974e6cbe32b2e892d1413fdeb427a2579325f7da6d06270da SHA512 6e08eaff9f0219af92ca169632ad9d8519b2df88cc739c2c2aa96e086b1eab234cf7fe28914823654a75c3e59774dbc0125a8b6a2b1f8fb5eaeea814206abb1c WHIRLPOOL 2af51307b4225bc11c96619d9b30e11f840bff30dae052f96005be5701404f119e81c6694ddd1d1ce50405bafe812a732146e856c5662813bb7c637e8ace82b3 +DIST seamonkey-2.38-pt-PT.xpi 836132 SHA256 e02cc2bbc6d7f3c8770b53aa6b817854cd832375e9fe4ec6d625061dd788c3b1 SHA512 e4b5e1e0bf8cf5d8b46354336307c3080e0ba29b37d8bf77cedcaf98eaacb2061edba243e6f96a2897d30dbc835f8c65a84a412e1b378e207f859dcf76075600 WHIRLPOOL df4f9e538ca6f705201f9dfbdc90e05451d11c5ea218f88527f900fd16b6931def8db0a4676c223416a34a0894a2d5aea3b82760bd2026debd29676c45cbd7ff +DIST seamonkey-2.38-ru.xpi 888056 SHA256 b051f7b947ad7fc807d39c1ba4d83d2e69604e2d2ab0109cf34ad8f05c776e71 SHA512 83934266d4797f75ab2d51d890fbf10f91c10d32a1d97a4745d497c52f64c55e0d056a843912a5cb99792e7257a2e053db17f528fbf0aa88e8fde86552fcc1e6 WHIRLPOOL d3a0311499ca4411d142668406c6b0d5f224cb34b6ad0e31f460069323f5cb0881de86cb39cac15dcef7bf63029fa2c7b129e1d1333715cc014e608be3916391 +DIST seamonkey-2.38-sk.xpi 854685 SHA256 6155b11a4ccb2a55e5b5ffebb4da5cc80043503892f50f62b91041f5b02580d9 SHA512 84024f46f1bb326f3d4940aaa0467bdd775810322335a118bed4acffc2463f3dfae7d004575eb30ef55492f71e0447b6f01f0c236bf892b49c50484e716f86f1 WHIRLPOOL 92a2fcd345bbe151a2dbdb45b5dea35caecadfa39c33b86edce66f6c1aac91a79f4b183f0bdae1082fdc83835b696e032b5be7b655c2d194c3baaf08a8fbdb4b +DIST seamonkey-2.38-sv-SE.xpi 827825 SHA256 894b973fdbca5d5971de92069d122d0e0c4c116907ad8704807ded037b1b9a01 SHA512 678335149feb3e1ff97d4e9b6426c0dbd691abd529d2535a794d96f448a7017d1fb0d3bc2265e8d2a286fbdfe2114a7a0e05099995c855f829f8e0e6542d17d0 WHIRLPOOL 4d291a85c0a60cb755ecb460d6f58ceb785a8a43f86b17317c89088e6a08c74771babfba33bf3ff5d47065f5a3f29059fa08f06bbf47a479aea7cadfbfdc9450 +DIST seamonkey-2.38-tr.xpi 811292 SHA256 aeae6eb15335ab5f366df2b3929fe002a130ae8b0b6dd0d2dd84cabfedf073b4 SHA512 3ea0e94502818f592d427123aaa0021787118ad57e3918affcc96b15911a4345aecf21c50c6b2d5c87b793098e4cdd6231de2581f647554e9665de16982ebbe0 WHIRLPOOL 1943c84697702ebe9b9145262b226d20648bc4f54bad46817e343a015d053fce973c212bf107003cfb2c107de5c880a8c6ec74394a07d871bc98999c5a1b6829 +DIST seamonkey-2.38-uk.xpi 873154 SHA256 129e2e999d6d102a186d232c98c59b4c7220a3de09e55be9f561ea3a48fd29a8 SHA512 b905380d34e59b6ae8e1d4b80c2a73301dfa2ce4c922b291d493eede85350c84060cba7244f84bbbb963d3d55f66ed7c38f6891b0e49db263754a5f3e1ddaa73 WHIRLPOOL a760229b72321c378f69704a4784b63e354b89668d8ded474a77e3670bd6dc5a75da19c1175858605ed11a198479dac9a5fd53212fae22660e57995094a92a57 +DIST seamonkey-2.38-zh-CN.xpi 836248 SHA256 de94197af8954dff2330469d20e08789b739bd40e919f85be767967f69842ad3 SHA512 c3bcde38fffdc67cdea77918d3567084aa2893d5a4af06909a6d95ef81cec6ed63c0309f3351065d71cfe802a23d7e7b531d2814f6763f193a2d3764ab423e40 WHIRLPOOL 42a161aafe6b8a2204fa41ae894aad1cc644420d79d20e7899ddbba8d6b39de71be9b4fa5f317aca0a7a214fbf79287d714fd3056227043e43332b72faf8758f +DIST seamonkey-2.38-zh-TW.xpi 858220 SHA256 051ff2e2eafe8a52c7f0005c43b288df8fec90a59b179902240cd8a6ef71f6a1 SHA512 caf512cae00df7cd3b06c2360bc6d50f8d220ba6bec5f6474180391e52586b9debfbe911786e39fe995d7a4446ef6c94176feeaed43f5459d9fcbfb2cdedd9b5 WHIRLPOOL d0991af14ae3b4839bb86be3239e1f048ae010fa570397218b3fd8b77a29b4eb7b404bb8966a3bbe538ce0ca1cf2ad39564d9fdd9e5e4a8ac4927167554c85a7 +DIST seamonkey-2.38.source.tar.xz 83944 SHA256 8cbf01fca1763afb7cb1bde5330b0ed8b713a4b56a3113bfe7d9a8e02b202bef SHA512 89de4dcfc04ba1fba8e58a1a0c9c1a0afdac0fa1f4eed3b122fe9f58c30ac08cf4ff81591ca06c8fdefaa49e5901de21442f5529dab33bb595a16a5895bac1d4 WHIRLPOOL 22716ac093abed2c00afd3f3a0d8f5fbcd83c2dfebc527d37f06e93feac3c4e3291e6c6c9b7f2163e729ce67db516f02bf371a35a657a73e460682179cdc1592 diff --git a/www-client/seamonkey/files/firefox-38-dont-hardcode-libc-soname.patch b/www-client/seamonkey/files/firefox-38-dont-hardcode-libc-soname.patch new file mode 100644 index 000000000000..83779bc9dfa7 --- /dev/null +++ b/www-client/seamonkey/files/firefox-38-dont-hardcode-libc-soname.patch @@ -0,0 +1,22 @@ +--- a/testing/mozbase/mozinfo/mozinfo/mozinfo.py 2015-08-06 13:41:02.000000000 -0400 ++++ b/testing/mozbase/mozinfo/mozinfo/mozinfo.py 2015-08-21 21:17:00.320766493 -0400 +@@ -96,7 +96,7 @@ + import errno + PR_SET_SECCOMP = 22 + SECCOMP_MODE_FILTER = 2 +- ctypes.CDLL("libc.so.6", use_errno=True).prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, 0) ++ ctypes.CDLL(ctypes.util.find_library('c'), use_errno=True).prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, 0) + info['has_sandbox'] = ctypes.get_errno() == errno.EFAULT + else: + info['has_sandbox'] = True +--- a/testing/mochitest/runtests.py 2015-08-06 13:41:02.000000000 -0400 ++++ b/testing/mochitest/runtests.py 2015-08-21 21:17:36.060766000 -0400 +@@ -1097,7 +1097,7 @@ + if not mozinfo.isLinux: + return False, '' + +- libc = ctypes.cdll.LoadLibrary('libc.so.6') ++ libc = ctypes.cdll.LoadLibrary(ctypes.util.find_library('c')) + O_RDWR = 2 + # These are from linux/videodev2.h + diff --git a/www-client/seamonkey/files/firefox-38-hppa-js-syntax-error.patch b/www-client/seamonkey/files/firefox-38-hppa-js-syntax-error.patch new file mode 100644 index 000000000000..719732e6ec0a --- /dev/null +++ b/www-client/seamonkey/files/firefox-38-hppa-js-syntax-error.patch @@ -0,0 +1,30 @@ +# HG changeset patch +# User Ian Stakenvicius +# Parent 2ee9895e032c492705adaf213706d4260ca172c8 +Fix JS_CHECK_STACK_SIZE define for stack-growing-up case (hppa) + +Upstream bug 1189011 +Gentoo bug 556196 + +diff --git a/js/src/jsfriendapi.h b/js/src/jsfriendapi.h +--- a/js/src/jsfriendapi.h ++++ b/js/src/jsfriendapi.h +@@ -15,17 +15,17 @@ + #include "jsbytecode.h" + #include "jspubtd.h" + + #include "js/CallArgs.h" + #include "js/CallNonGenericMethod.h" + #include "js/Class.h" + + #if JS_STACK_GROWTH_DIRECTION > 0 +-# define JS_CHECK_STACK_SIZE(limit, sp) (MOZ_LIKELY(((uintptr_t)(sp) < (limit))) ++# define JS_CHECK_STACK_SIZE(limit, sp) (MOZ_LIKELY((uintptr_t)(sp) < (limit))) + #else + # define JS_CHECK_STACK_SIZE(limit, sp) (MOZ_LIKELY((uintptr_t)(sp) > (limit))) + #endif + + class JSAtom; + struct JSErrorFormatString; + class JSLinearString; + struct JSJitInfo; diff --git a/www-client/seamonkey/seamonkey-2.38.ebuild b/www-client/seamonkey/seamonkey-2.38.ebuild new file mode 100644 index 000000000000..e5d1b0145505 --- /dev/null +++ b/www-client/seamonkey/seamonkey-2.38.ebuild @@ -0,0 +1,352 @@ +# 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.41 multilib pax-utils fdo-mime autotools mozextension nsplugins mozlinguas + +PATCHFF="firefox-40.0-patches-0.01" +PATCH="${PN}-2.33-patches-01" +EMVER="1.8.2" + +DESCRIPTION="Seamonkey Web Browser" +HOMEPAGE="http://www.seamonkey-project.org" + +[[ ${PV} != *_pre* ]] && \ +KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~x86" + +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.xz -> ${P}.source.tar.xz + 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_EXCLUDE="2001_ldap_respect_cflags.patch" \ + 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" + epatch "${FILESDIR}"/firefox-38-hppa-js-syntax-error.patch #556196 + epatch "${FILESDIR}"/firefox-38-dont-hardcode-libc-soname.patch #557956 + 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 '//!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 +} -- 2.26.2