summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2011-09-05 06:23:18 +0000
committerLars Wendler <polynomial-c@gentoo.org>2011-09-05 06:23:18 +0000
commit0dea43e96ab0efcdb58af584ba6c3aa2054c8972 (patch)
treece0765831b1cd98a6fff986b73364a0020ebc97d /www-client/seamonkey
parentVersion bump and remove old. (diff)
downloadhistorical-0dea43e96ab0efcdb58af584ba6c3aa2054c8972.tar.gz
historical-0dea43e96ab0efcdb58af584ba6c3aa2054c8972.tar.bz2
historical-0dea43e96ab0efcdb58af584ba6c3aa2054c8972.zip
Security bump
Package-Manager: portage-2.2.0_alpha51/cvs/Linux x86_64
Diffstat (limited to 'www-client/seamonkey')
-rw-r--r--www-client/seamonkey/ChangeLog9
-rw-r--r--www-client/seamonkey/Manifest49
-rw-r--r--www-client/seamonkey/files/seamonkey-2.3.1-scrollbar-mouse-interaction-improvement.patch105
-rw-r--r--www-client/seamonkey/seamonkey-2.3.3.ebuild346
4 files changed, 503 insertions, 6 deletions
diff --git a/www-client/seamonkey/ChangeLog b/www-client/seamonkey/ChangeLog
index 7c37512d894b..347bf637bbe2 100644
--- a/www-client/seamonkey/ChangeLog
+++ b/www-client/seamonkey/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for www-client/seamonkey
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/seamonkey/ChangeLog,v 1.333 2011/09/04 00:44:34 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/seamonkey/ChangeLog,v 1.334 2011/09/05 06:23:18 polynomial-c Exp $
+
+*seamonkey-2.3.3 (05 Sep 2011)
+
+ 05 Sep 2011; Lars Wendler <polynomial-c@gentoo.org>
+ +files/seamonkey-2.3.1-scrollbar-mouse-interaction-improvement.patch,
+ +seamonkey-2.3.3.ebuild:
+ Security bump.
04 Sep 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org> seamonkey-2.3.1.ebuild:
x86 stable wrt security bug #379549
diff --git a/www-client/seamonkey/Manifest b/www-client/seamonkey/Manifest
index 3dd83aed4f4f..0f6fded3866a 100644
--- a/www-client/seamonkey/Manifest
+++ b/www-client/seamonkey/Manifest
@@ -8,7 +8,9 @@ AUX icon/seamonkey.png 4172 RMD160 d296c4d4e0920e4476f4c6c607946434202ad521 SHA1
AUX seamonkey-2.0.14-curl7217-includes-fix.patch 746 RMD160 fcf9b5cbf409d6f04eb276c956824bc770abfb79 SHA1 87f829c5176b9da2a3ae564cca465072dd8aaa13 SHA256 0b48bc32b97242edc11379a3ea1c7df0e576464b72ec493d547a81dfb1ba9612
AUX seamonkey-2.1b3-restore-tabbar-scrolling-from-2.1b2.diff 744 RMD160 7c9bab23159e956813fa2e2a59dac5dbc16dbe60 SHA1 d29a9ded0cad3df137539642e6a6031c361c47ac SHA256 a8b217e3bf7902caab447f849712459f92e19c8889bc66c977019c603ddb99d4
AUX seamonkey-2.2-curl7217-includes-fix.patch 1066 RMD160 e5581348a5dfdd1e1c07487442ff7cc06566973d SHA1 dad9bdc18fc2ba93f1925818b74bcf7e3df0d4cb SHA256 2a46c70973f93f4c2c3a2292804ed11b8daa404ee515a1e1f7a863899a37bd11
+AUX seamonkey-2.3.1-scrollbar-mouse-interaction-improvement.patch 3768 RMD160 48d6849a54d73054dde7f76e2e0aff4ebcd24926 SHA1 744f5d981e2219843ddba47341053ed74463ef11 SHA256 eed1c52b02b89d97328aa25b9c825d5b76d833bad87ce98f6fed5c32da91b5ac
DIST enigmail-1.0.1.tar.gz 1201945 RMD160 2abd8e70fcfcd2e75e71a97a5a3c7d1e0c292666 SHA1 334e70723fffc0631dadb6fd4449afffdeafc3f2 SHA256 7bc8541eef483d67246f3d83682ba13263f001fa94b5982c0cfbe54e5bdfd32a
+DIST enigmail-1.3.1.tar.gz 1361839 RMD160 3fe178a244e6ba7aecb7806bbfdc035a6fac3610 SHA1 8c82f381c732f671e1f4aa652723dc2cd0faf9f8 SHA256 b236dc8995c48ba7c4dc58e57badf7bf72a1cd05e9165717cf532c7ea3a6ad97
DIST enigmail-1.3.tar.gz 1379908 RMD160 bb925bea4eb6b782ac7ce3c36e14fa7da6b0859d SHA1 cee3ce90d1ec38021212c23a8af7feb7c7a9093f SHA256 4345722ef178d177ccdd1cbaf32497357d63e9cf0d4d11e5a579edd2f208307e
DIST seamonkey-2.0.11-patches-01.tar.bz2 17740 RMD160 00747880b61bab159a48cca01766dd788fdbfcee SHA1 5f3be090d2d65d361b2b337fbd2c30b589cdfa3d SHA256 1d032cdb98a65910b4ec5c64e4649b7a25fc2a8f604b0ae2f7a24199d408e76e
DIST seamonkey-2.0.14-be.xpi 482603 RMD160 c70bea0d4d877112d9624c20c82445599188b736 SHA1 a3413bdbaaea8032717bbb0e10fee24f1b89e9f9 SHA256 c803810ff7942252519cb89b25665416a11251281f435909626e5fb5a514f6a5
@@ -87,15 +89,52 @@ DIST seamonkey-2.3.2-sv-SE.xpi 870151 RMD160 819d3a48f5f5451b343b045f03e400d5eb0
DIST seamonkey-2.3.2-tr.xpi 805727 RMD160 222fcca3545d4cb9b821de09d65ed507b3f0f695 SHA1 d724ee5fa5b746a0505f523e9241b759d82bff26 SHA256 e581624b4aa379b2039df962493175e12b2bc787904f7a565b92431fa2dcc5ca
DIST seamonkey-2.3.2-zh-CN.xpi 835492 RMD160 6c9ed533f1f5ca902669a1953ed6327447697685 SHA1 895f888ba5494f30a09b2415108f8f9b130990f2 SHA256 89ce1df52ccd1affe3811980afa4a14eb765a6bbdbfcf6206d177a8ff690bc4f
DIST seamonkey-2.3.2.source.tar.bz2 87006544 RMD160 0af1fd205552cf886f16e6685a14fa0a3b397ac2 SHA1 e6fd38163098ed321ad0225c6f7d5c88f0cf3206 SHA256 3cf269a77ff1527e61909e35349f1edcee7046d707d7246424e6ecdd27905453
+DIST seamonkey-2.3.3-be.xpi 793420 RMD160 ae989925b0ba2a161cac94b8e4fa6c10c985d119 SHA1 57eadf41518cce8bc192659ed33e69b7ae0faa73 SHA256 60d0aac7f44e5b3c8fe19513cfdba979265a4be7177884834467879e71d7abfe
+DIST seamonkey-2.3.3-ca.xpi 812150 RMD160 017c6e1f22b107bb47b269221cc4e43e24055460 SHA1 bd2f857da3c8173080629cee3439f7edc1018cad SHA256 a94ac720b73e21e74baef3acf7c7a4814054187d63db1fc6bdf3452a00849d77
+DIST seamonkey-2.3.3-cs.xpi 815820 RMD160 c693ba3b09bb859ba117f1d003a3fc551c94977b SHA1 eb371af8cf175e7243b4c1fe3f16176f6c030ef5 SHA256 bddaeb96b3af4219baebb65c6f8b89329b23feeb776333a8fde508ec29ce0b7b
+DIST seamonkey-2.3.3-de.xpi 858159 RMD160 1dac352f5c572283cc45a214cd02f0f33ed34c3c SHA1 a869aa058dc0e07bd4420b5fda890b8bdc111e9e SHA256 c529bd952136885d8edb0b088a10cf1789f42fbbd2a7c0e1278aea4f75957311
+DIST seamonkey-2.3.3-en-GB.xpi 788276 RMD160 4ea15339ef5dd14d6bcd4cb4e953bdc84584ecaa SHA1 df3ad5f936b5a9ad5c10fcb1a94323c33a531030 SHA256 da5acdc0c579ee498306697b0f7fd4ce460d337f18f8f7ae993e428e062e1cff
+DIST seamonkey-2.3.3-en-US.xpi 787694 RMD160 58b09bb87b5776586eb69137b96283b2e3bd754a SHA1 93ac0d72c420751b581695fb22da7c381bc66c78 SHA256 5b85349b5a033b2b522079922bf736e9fdebf0c3be497340ae70ce5dd4efbebb
+DIST seamonkey-2.3.3-es-AR.xpi 813752 RMD160 29308341c651b47b5039296a3e4f67cebd08dbea SHA1 ce38bc73778d28d8b46af81ca7ee18c6b5b908e6 SHA256 56f75cadacd36375a266bb3e342b4db88fbb99637868bacd4387169e2b85cee1
+DIST seamonkey-2.3.3-es-ES.xpi 786104 RMD160 3bdaae785c0878ce395ac29206e193396705411f SHA1 298225320323d265703280b60f4928e3c2bf0cdb SHA256 f130017e6929f3454029bdebfa4aa29c8d18b8170ab6206ca5eb9412c03868b0
+DIST seamonkey-2.3.3-fi.xpi 807888 RMD160 d02454e8954ea68782108fa668d8e9403480d443 SHA1 57034a9bb3f04b0bba496953155f9e98e8d825e0 SHA256 f3c86bb832a4225eef19c8f2cfe3bf40126404933d1d8602ed27fd9e637c4bac
+DIST seamonkey-2.3.3-fr.xpi 896691 RMD160 5b7532419d9af55ff070f68c722cb0d357135be9 SHA1 c71286bc48d12e71ae5d523b635ae865489afc33 SHA256 e84f34bf1a0d8bcc874ac719c1359405e6a2417b3fe9ee966160c60944f810eb
+DIST seamonkey-2.3.3-gl.xpi 808026 RMD160 020cba2f080076c64e6fee6bf3bae32d8c87c20b SHA1 8940a044606fc763f87c36df412a44a7132a22a7 SHA256 4ae04b7d3e09c1e71a0e1479303ba6b3c3797568c3ce19547e4d4bbd05a74cc7
+DIST seamonkey-2.3.3-hu.xpi 829754 RMD160 90ae90ab939dc9d4cf727d3176a3c2eafb1d7eab SHA1 748f06dc978174362f815a9b3bfed0e017bd56bb SHA256 19b030147f00dc07662988bf9df657377682f80152f2041139eac4626b5aaa63
+DIST seamonkey-2.3.3-it.xpi 737252 RMD160 40600a56c221fda70f784f496eeef226cc417147 SHA1 a3013690720b87fc44fd8e6dbc56500138d11ab1 SHA256 0e33966f2018c3828f71a392417b9dfa4906f53f9421a13c216210b0080d0ad3
+DIST seamonkey-2.3.3-ja.xpi 862245 RMD160 2f65cc01ffc93614e9de38069cb3331d6d0f8e16 SHA1 f70a0f693b1b0ff18c3c97790306284e581ea054 SHA256 ad0262bd7b233ad624fc5b725a07b323aeca073574e479bb5aa1f175d6985741
+DIST seamonkey-2.3.3-lt.xpi 960315 RMD160 3ef075240b0f990b6bd3aca299d1010572386354 SHA1 36c81e393f15608c5f5e0505642d2696f9ae225d SHA256 796ce7fc340d1431b0887455e1addca039af4f2bfa57a5824149d56fb7059bc9
+DIST seamonkey-2.3.3-nb-NO.xpi 806302 RMD160 e4b9f036bdaff1df0766dde9f019209c1bb49d80 SHA1 59a6654a80700ed1bec9f1d0f620a3feb7d1babf SHA256 88742d198ecc9dd0372b3b7ac443f89c13875887368f29d95431ca34c2c50c98
+DIST seamonkey-2.3.3-nl.xpi 804974 RMD160 a5ac8ea97bbecb0cb94f65dc930cb1c2cc3245ef SHA1 353eb84e7f8704ba9e15a34c1d909ea68dafd561 SHA256 744313462172544c94b1992339313f55b2dc5c7bb5d4bb4a9077697fd238db66
+DIST seamonkey-2.3.3-patches-01.tar.xz 6732 RMD160 7aadcca284781348296296127e0161d6450af335 SHA1 38a0c1f03b45e23fccb31046499929b5d8230438 SHA256 5fa5a5e8d29c130cc4a594c864851eb95b9264af116f0ce3f292efce20d2f472
+DIST seamonkey-2.3.3-pl.xpi 826227 RMD160 f6bd2e754f3436acfd065deef9c4c9db58d79a6a SHA1 d6a8e570f2c763b2b6eb7ff06816fc9979f348db SHA256 8df898fbab42fa3397d997fc5f78ba080fe7bc4daee47f52dbac558051873d63
+DIST seamonkey-2.3.3-pt-PT.xpi 843402 RMD160 a66b3d5040416744002539f0bf66ed6ce91c4df5 SHA1 6ac41439b5830482f0f55a3296c67d9993efb2f2 SHA256 90c273c3ee81b577c0cd612f177a898de62c1b36931ee2107fb36aef19667d18
+DIST seamonkey-2.3.3-ru.xpi 889854 RMD160 0e32011fb9d3a841f594694e6510dbba97c78ff6 SHA1 63d5e68a250b72140e5cdfe073f366f47ade910c SHA256 310e029fb10b7d8b70158ec1fb3f899879ede09e98e919d1bb4dc6b540bb69ef
+DIST seamonkey-2.3.3-sk.xpi 840867 RMD160 e676fa224d9970bb1fe8af446adbabc0157b092f SHA1 40caa8ca8deb7f5d6c45bc3ea9765601b09f5b77 SHA256 df3b43a0ccfa987244daf8fd0ab232fffe88f92c7744f13bd4100260633341fe
+DIST seamonkey-2.3.3-sv-SE.xpi 870151 RMD160 7ce27fede81eccbd9796df8753caa0ef8fdb7f31 SHA1 18313d1b5fa9b4c248db464b457cbda1f7cc2ecc SHA256 cb097264f9f5fc9b13ffb8bd6c5b7a3a07fccbdf32237bdee90cbfcebd60539e
+DIST seamonkey-2.3.3-tr.xpi 805727 RMD160 d2656168b3d1fc4bc2ae8f1f73d47df45557d43f SHA1 e078739b4c0c0ed0ac6341f0066630f5e6e3682c SHA256 bfb2a03f8d73334bc61f1c0f250c8d69d6658ef05153468d0dd57942d82145ba
+DIST seamonkey-2.3.3-zh-CN.xpi 835491 RMD160 cc708502b13c903faad6d9e7d3e3ff47553bfb29 SHA1 9336490a665fecf2a5065428f3aa9c07590f2b6d SHA256 f54fa94531aa51ab878122feb64fae70c40d5f6d09d4c31a7262e72027ecc973
+DIST seamonkey-2.3.3.source.tar.bz2 86971081 RMD160 8aa14e9298f0910eee8ff3f3df2977925e0429c4 SHA1 e93f8fb05814bbc133c763f37b020f876792c2e0 SHA256 27970c9657b6e9f216ce0bbf9526f6f75e4fa1e3b4cb2bb24f716309b0b7419e
EBUILD seamonkey-2.0.14-r1.ebuild 10068 RMD160 f7d5bccfa3ffcb086286b63f14e5b6efdee3bb0b SHA1 d0697dc74fca26e9df5522d5d39b248b68085d07 SHA256 2f159db8ee3d4f266818f59dda7e4843e5434e636ecda0193b1ff289142acf9b
EBUILD seamonkey-2.3.1.ebuild 9529 RMD160 3f3451af66f8064ecaf65c72879ab6f6f12eee79 SHA1 b33a274dc395d93105ccfc4ec6372dee25bdb1f1 SHA256 1b022ffebf726cdf2e87f186bfb9a95694628d694e1ef00de025c81818d4d7a2
EBUILD seamonkey-2.3.2.ebuild 9540 RMD160 86383763e3fef0f9bc815bacd2dd03b7125cc186 SHA1 eff5711debebe537c46e5e04cc0b4318b02e4757 SHA256 9e3e2e13cf5a7432ce06519d554b9fad03885cd96fae4c586296d3ed0cfd7c54
-MISC ChangeLog 44827 RMD160 385e7be6ec7a41b59be89db37dccff21cdbb5cf4 SHA1 d57744ba66a60d4ea9f0844f15e98f64b86eefa5 SHA256 ba699d553fc2e86ff9ceba03283603e53804ad83900aa571e3c03d9476838da8
+EBUILD seamonkey-2.3.3.ebuild 9806 RMD160 03dcf430cebd2b6f8328e4f1ab13ccef950cef63 SHA1 03e64cc32348cb37092ae8bf42700743513e44df SHA256 7495982077e517ff71d4029ad68ab78b3906371ca75ae8c38d4a83d98b43a0c8
+MISC ChangeLog 45032 RMD160 63536365d1c908504aaaca30781d278726bc31a0 SHA1 9e35347ca204f46841dabdf5cc34921a60e5533d SHA256 7995dead9d92a533fcfb12d6cb27482aff347e1d8ab25f65c8bab2e1cb3271e6
MISC metadata.xml 1203 RMD160 07b5c5905b728e0b7521bb4439202ae1cec77c3a SHA1 f42d497b2df9c49c60cb90c12133cb606bef00ee SHA256 fb43305a3b286be0abe32304ef90b2a2611bd3f2fdc55419904b1e7b2af04178
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
+Version: GnuPG v2.0.18 (GNU/Linux)
-iEYEAREKAAYFAk5iyfsACgkQuUQtlDBCeQLANgCfQbdapSBxAIj2EJDRD90pDcr0
-C3QAn01AwS0j6sdPVIheKqEDhMvG6wlN
-=83Ze
+iQIcBAEBCgAGBQJOZGrcAAoJEPiazRVxLXTFvpoQAJLHKid9GG+//Ylcws9WuHnA
+gXlBEd/aqyhQO9OVH9PZotuHVUyzubwMJEp5pJyt0W3T++0DTt8GIaiX36Moyk4R
+pzud8oNvZiHJ+Bxmx/6lMTahFIs+6B4HGwawM2A8r1jR5m8Or5gkWMSjVMIyjIV+
+B07w3JlsmiWWYyDUqQkqMJD407rxlbyakvLqCLyB45iRcbcuyaVRDeZftMdr/Wff
+DrOrz4hkjbGfgHPE7jYt+81mJepk5eDd06BZMaYANdF3Vc4bA4sRnRxnLxANVPuy
+RLmoA0YRUsnYVnPX4JFxw0zA41JiJw4/VjysuBUYc07+gqSvYccAQPaDGotqWLwS
+v5fkY0w1tT9j/CiCNaf/KN40bmfslaTfjoFDpznPaO36iPxesv2obpqJp3XmbheD
+iCdxp5hQkxPIVe51oVZk0DSP4PqcUmPTVt6PaoKBpS5DEetHu2K+UmNuCfTQbp5s
+7P2w5VmDA/m4MpkTfDR8fm0ySb3sUL+YtkVRCMyjM6hmAwQNXCyR9FKUz/l9+maV
+sx69pUb21NCd4u98VaCQL6z69ajYZtWXSPVQQaU25VOU2uyfR2eNL+sZRryGo3wG
+eNfbSXzOziFne941RoxEOcvA/4FA+wxEba91eYNs1feelqPULEZ/mPwW0BdHZUB9
+FO7Bg8kUzdREJxmzLiol
+=R+dp
-----END PGP SIGNATURE-----
diff --git a/www-client/seamonkey/files/seamonkey-2.3.1-scrollbar-mouse-interaction-improvement.patch b/www-client/seamonkey/files/seamonkey-2.3.1-scrollbar-mouse-interaction-improvement.patch
new file mode 100644
index 000000000000..64da373e31f8
--- /dev/null
+++ b/www-client/seamonkey/files/seamonkey-2.3.1-scrollbar-mouse-interaction-improvement.patch
@@ -0,0 +1,105 @@
+# HG changeset patch
+# User Philip Chee <philip.chee@gmail.com>
+# Date 1314371784 -28800
+# Node ID bce6138fb07449887e0e791965f90af87c28ca98
+# Parent a11ec626d4ab7088f8d9753e8fec90197e6b899b
+Bug 673878 Use SHIFT+DOMMouseScroll to advance the selected tab.
+This will allow plain DOMMouseScroll to scroll the tabbar without changing the selected tab.
+
+diff --git a/suite/browser/browser-prefs.js b/suite/browser/browser-prefs.js
+--- a/suite/browser/browser-prefs.js
++++ b/suite/browser/browser-prefs.js
+@@ -279,16 +279,21 @@ pref("browser.tabs.tabClipWidth", 140);
+
+ // Where to show tab close buttons:
+ // 0 on active tab only
+ // 1 on all tabs until tabClipWidth is reached, then active tab only
+ // 2 no close buttons at all
+ // 3 at the end of the tabstrip
+ pref("browser.tabs.closeButtons", 3);
+
++// Mouse wheel action when over the tab bar:
++// false The mouse wheel scrolls the whole tab bar like Firefox (default).
++// true The mouse wheel advances the selected tab.
++pref("browser.tabs.mouseScrollAdvance", false);
++
+ // lets new tab/window load something different than first window
+ // -1 - use navigator startup preference
+ // 0 - loads blank page
+ // 1 - loads home page
+ // 2 - loads last page visited
+ pref("browser.tabs.loadOnNewTab", 0);
+ pref("browser.windows.loadOnNewWindow", 1);
+
+diff --git a/suite/browser/tabbrowser.xml b/suite/browser/tabbrowser.xml
+--- a/suite/browser/tabbrowser.xml
++++ b/suite/browser/tabbrowser.xml
+@@ -2999,16 +2999,17 @@
+ <constructor>
+ <![CDATA[
+ var tab = this.firstChild;
+ // set the tabstrip's minWidth too, otherwise it immediately overflows
+ this.mTabstrip.style.minWidth =
+ tab.style.minWidth = this.mPrefs.getIntPref("browser.tabs.tabMinWidth") + "px";
+ tab.style.maxWidth = this.mPrefs.getIntPref("browser.tabs.tabMaxWidth") + "px";
+ window.addEventListener("resize", this, false);
++ this.mScrollSelectedTab = this.mPrefs.getBoolPref("browser.tabs.mouseScrollAdvance");
+ ]]>
+ </constructor>
+
+ <destructor>
+ <![CDATA[
+ window.removeEventListener("resize", this, false);
+ ]]>
+ </destructor>
+@@ -3116,32 +3117,48 @@
+ * if a tab was inserted to the overflow area or removed from it
+ * without any scrolling and when the tabbar has already
+ * overflowed.
+ */
+ this.mTabstrip._updateScrollButtonsDisabledState();
+ ]]>
+ </body>
+ </method>
++
++ <field name="mScrollSelectedTab">
++ false
++ </field>
++
++ <method name="_handleMouseScroll">
++ <parameter name="aEvent"/>
++ <body>
++ <![CDATA[
++ // Javascript does not have a logical XOR operator.
++ if (aEvent.shiftKey != this.mScrollSelectedTab) {
++ this.advanceSelectedTab(aEvent.detail < 0 ? -1 : 1);
++ aEvent.stopPropagation();
++ }
++ ]]>
++ </body>
++ </method>
+ </implementation>
+
+ <handlers>
+ <handler event="TabSelect" action="this._handleTabSelect();"/>
+
+ <handler event="transitionend">
+ <![CDATA[
+ if (event.propertyName == "max-width")
+ this._handleNewTab(event.target);
+ ]]>
+ </handler>
+
+ <handler event="DOMMouseScroll" phase="capturing">
+ <![CDATA[
+- this.advanceSelectedTab(event.detail < 0 ? -1 : 1);
+- event.stopPropagation();
++ this._handleMouseScroll(event);
+ ]]>
+ </handler>
+ </handlers>
+ </binding>
+
+ <binding id="tabbrowser-alltabs-popup"
+ extends="chrome://global/content/bindings/popup.xml#popup">
+ <implementation implements="nsIDOMEventListener">
diff --git a/www-client/seamonkey/seamonkey-2.3.3.ebuild b/www-client/seamonkey/seamonkey-2.3.3.ebuild
new file mode 100644
index 000000000000..f5d7a97255b9
--- /dev/null
+++ b/www-client/seamonkey/seamonkey-2.3.3.ebuild
@@ -0,0 +1,346 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-client/seamonkey/seamonkey-2.3.3.ebuild,v 1.1 2011/09/05 06:23:18 polynomial-c Exp $
+
+EAPI="3"
+WANT_AUTOCONF="2.1"
+
+inherit flag-o-matic toolchain-funcs eutils mozconfig-3 makeedit multilib fdo-mime autotools mozextension python
+
+PATCH="${PN}-2.3.3-patches-01"
+EMVER="1.3.1"
+
+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 zh-CN"
+NOSHORTLANGS="en-GB en-US es-AR"
+
+MY_PV="${PV/_pre*}"
+MY_PV="${MY_PV/_alpha/a}"
+MY_PV="${MY_PV/_beta/b}"
+MY_PV="${MY_PV/_rc/rc}"
+MY_P="${PN}-${MY_PV}"
+
+# release versions usually have language packs. So be careful with changing this.
+HAS_LANGS="true"
+LANGPACK_PREFIX="${MY_P}."
+LANGPACK_SUFFIX=".langpack"
+if [[ ${PV} == *_pre* ]] ; then
+ # pre-releases. No need for arch teams to change KEYWORDS here.
+
+ REL_URI="ftp://ftp.mozilla.org/pub/mozilla.org/${PN}/nightly/${MY_PV}-candidates/build${PV##*_pre}"
+ #LANG_URI="${REL_URI}/langpack"
+ LANG_URI="${REL_URI}/linux-i686/xpi"
+ LANGPACK_PREFIX=""
+ LANGPACK_SUFFIX=""
+ #KEYWORDS=""
+ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86"
+ #HAS_LANGS="false"
+else
+ # This is where arch teams should change the KEYWORDS.
+
+ #REL_URI="http://releases.mozilla.org/pub/mozilla.org/${PN}/releases/${MY_PV}"
+ REL_URI="ftp://ftp.mozilla.org/pub/${PN}/releases/${MY_PV}"
+ LANG_URI="${REL_URI}/langpack"
+ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86"
+ [[ ${PV} == *alpha* ]] && HAS_LANGS="false"
+fi
+
+DESCRIPTION="Seamonkey Web Browser"
+HOMEPAGE="http://www.seamonkey-project.org"
+
+SLOT="0"
+LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )"
+IUSE="+alsa +chatzilla +crypt +ipc +methodjit +roaming system-sqlite +webm"
+
+SRC_URI="${REL_URI}/source/${MY_P}.source.tar.bz2 -> ${P}.source.tar.bz2
+ http://dev.gentoo.org/~polynomial-c/mozilla/patchsets/${PATCH}.tar.xz
+ crypt? ( http://www.mozilla-enigmail.org/download/source/enigmail-${EMVER}.tar.gz )"
+
+if ${HAS_LANGS} ; then
+ for X in ${LANGS} ; do
+ if [ "${X}" != "en" ] ; then
+ SRC_URI="${SRC_URI}
+ linguas_${X/-/_}? ( ${LANG_URI}/${LANGPACK_PREFIX}${X}${LANGPACK_SUFFIX}.xpi -> ${P}-${X}.xpi )"
+ fi
+ IUSE="${IUSE} linguas_${X/-/_}"
+ # english is handled internally
+ if [ "${#X}" == 5 ] && ! has ${X} ${NOSHORTLANGS}; then
+ #if [ "${X}" != "en-US" ]; then
+ SRC_URI="${SRC_URI}
+ linguas_${X%%-*}? ( ${LANG_URI}/${LANGPACK_PREFIX}${X}${LANGPACK_SUFFIX}.xpi -> ${P}-${X}.xpi )"
+ #fi
+ IUSE="${IUSE} linguas_${X%%-*}"
+ fi
+ done
+fi
+
+ASM_DEPEND=">=dev-lang/yasm-1.1"
+
+# Mesa 7.10 needed for WebGL + bugfixes
+RDEPEND=">=sys-devel/binutils-2.16.1
+ >=dev-libs/nss-3.12.10
+ >=dev-libs/nspr-4.8.8
+ >=dev-libs/glib-2.26
+ >=media-libs/mesa-7.10
+ >=media-libs/libpng-1.4.1[apng]
+ >=x11-libs/cairo-1.10
+ dev-libs/libffi
+ system-sqlite? ( >=dev-db/sqlite-3.7.4[fts3,secure-delete,unlock-notify,debug=] )
+ crypt? ( >=app-crypt/gnupg-1.4 )
+ webm? ( media-libs/libvpx
+ media-libs/alsa-lib )"
+
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ webm? ( amd64? ( ${ASM_DEPEND} )
+ x86? ( ${ASM_DEPEND} ) )"
+
+if [[ ${PV} == *beta* ]] ; then
+ S="${WORKDIR}/comm-beta"
+else
+ S="${WORKDIR}/comm-release"
+fi
+
+linguas() {
+ local LANG SLANG
+ for LANG in ${LINGUAS}; do
+ if has ${LANG} en en_US; then
+ has en ${linguas} || linguas="${linguas:+"${linguas} "}en"
+ continue
+ elif has ${LANG} ${LANGS//-/_}; then
+ has ${LANG//_/-} ${linguas} || linguas="${linguas:+"${linguas} "}${LANG//_/-}"
+ continue
+ elif [[ " ${LANGS} " == *" ${LANG}-"* ]]; then
+ for X in ${LANGS}; do
+ if [[ "${X}" == "${LANG}-"* ]] && \
+ [[ " ${NOSHORTLANGS} " != *" ${X} "* ]]; then
+ has ${X} ${linguas} || linguas="${linguas:+"${linguas} "}${X}"
+ continue 2
+ fi
+ done
+ fi
+ ewarn "Sorry, but ${PN} does not support the ${LANG} LINGUA"
+ done
+}
+
+src_unpack() {
+ unpack ${A}
+
+ if ${HAS_LANGS} ; then
+ linguas
+ for X in ${linguas}; do
+ # FIXME: Add support for unpacking xpis to portage
+ [[ ${X} != "en" ]] && xpi_unpack "${P}-${X}.xpi"
+ done
+ if [[ ${linguas} != "" && ${linguas} != "en" ]]; then
+ einfo "Selected language packs (first will be default): ${linguas}"
+ fi
+ fi
+}
+
+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
+
+ if ! use methodjit ; then
+ einfo
+ ewarn "You are disabling the method-based JIT in JägerMonkey."
+ ewarn "This will greatly slowdown JavaScript in ${PN}!"
+ fi
+}
+
+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_SUFFIX="patch" \
+ EPATCH_FORCE="yes" \
+ epatch "${WORKDIR}/_mozilla"
+ popd &>/dev/null || die
+
+ # mailnews patches go here
+ #pushd "${S}"/mailnews &>/dev/null || die
+ #EPATCH_SUFFIX="patch" \
+ #EPATCH_FORCE="yes" \
+ #epatch "${WORKDIR}/_mailnews"
+ #popd &>/dev/null || die
+
+ epatch "${FILESDIR}"/${PN}-2.2-curl7217-includes-fix.patch \
+ "${FILESDIR}"/${PN}-2.3.1-scrollbar-mouse-interaction-improvement.patch
+
+ # Allow user to apply any additional patches without modifing ebuild
+ epatch_user
+
+ if use crypt ; then
+ mv "${WORKDIR}"/enigmail "${S}"/mailnews/extensions/enigmail
+ cd "${S}"/mailnews/extensions/enigmail || die
+ ./makemake -r 2&>/dev/null
+ sed -e 's:@srcdir@:${S}/mailnews/extensions/enigmail:' \
+ -i Makefile.in || die
+ cd "${S}"
+ fi
+
+ #Ensure we disable javaxpcom by default to prevent configure breakage
+ sed -i -e s:MOZ_JAVAXPCOM\=1::g "${S}"/mozilla/xulrunner/confvars.sh \
+ || die "sed javaxpcom"
+
+ # Disable gnomevfs extension
+ sed -i -e "s:gnomevfs::" "${S}/"suite/confvars.sh \
+ || die "Failed to remove gnomevfs extension"
+
+ eautoreconf
+ cd "${S}"/mozilla || die
+ eautoreconf
+ cd "${S}"/mozilla/js/src || die
+ eautoreconf
+}
+
+src_configure() {
+ declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
+ MEXTENSIONS=""
+
+ ####################################
+ #
+ # 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="${MEXTENSIONS},-irc"
+ fi
+ if ! use roaming ; then
+ MEXTENSIONS="${MEXTENSIONS},-sroaming"
+ fi
+
+ mozconfig_annotate '' --enable-extensions="${MEXTENSIONS}"
+ mozconfig_annotate '' --disable-gconf
+ mozconfig_annotate '' --enable-jsd
+ mozconfig_annotate '' --enable-canvas
+ mozconfig_annotate '' --with-default-mozilla-five-home=${MOZILLA_FIVE_HOME}
+
+ mozconfig_use_enable system-sqlite
+ mozconfig_use_enable methodjit
+
+ if use crypt ; then
+ mozconfig_annotate "mail crypt" --enable-chrome-format=jar
+ fi
+
+ mozconfig_annotate '' --with-system-png
+
+ # Finalize and report settings
+ mozconfig_final
+
+ 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
+
+ ####################################
+ #
+ # Configure and build
+ #
+ ####################################
+
+ # Work around breakage in makeopts with --no-print-directory
+ MAKEOPTS="${MAKEOPTS/--no-print-directory/}"
+
+ CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" PYTHON="$(PYTHON)" econf
+}
+
+src_compile() {
+ emake || die
+
+ # Only build enigmail extension if conditions are met.
+ if use crypt ; then
+ emake -C "${S}"/mailnews/extensions/enigmail || die "make enigmail failed"
+ emake -j1 -C "${S}"/mailnews/extensions/enigmail xpi || die "make enigmail xpi failed"
+ fi
+}
+
+src_install() {
+ declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
+ declare emid
+
+ emake DESTDIR="${D}" install || die "emake install failed"
+ cp -f "${FILESDIR}"/icon/${PN}.desktop "${T}" || die
+
+ if use crypt ; then
+ cd "${T}" || die
+ unzip "${S}"/mozilla/dist/bin/enigmail*.xpi install.rdf || die
+ emid=$(sed -n '/<em:id>/!d; s/.*\({.*}\).*/\1/; p; q' install.rdf)
+
+ dodir ${MOZILLA_FIVE_HOME}/extensions/${emid} || die
+ cd "${D}"${MOZILLA_FIVE_HOME}/extensions/${emid} || die
+ unzip "${S}"/mozilla/dist/bin/enigmail*.xpi || 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
+
+ if ${HAS_LANGS} ; then
+ linguas
+ for X in ${linguas}; do
+ [[ ${X} != "en" ]] && xpi_install "${WORKDIR}"/"${P}-${X}"
+ done
+ fi
+
+ # Add StartupNotify=true bug 290401
+ if use startup-notification ; then
+ echo "StartupNotify=true" >> "${T}"/${PN}.desktop
+ fi
+
+ # Install icon and .desktop for menu entry
+ newicon "${S}"/suite/branding/nightly/content/icon64.png ${PN}.png \
+ || die
+ domenu "${T}"/${PN}.desktop || die
+
+ # Add our default prefs
+ sed "s|SEAMONKEY_PVR|${PVR}|" "${FILESDIR}"/all-gentoo.js \
+ > "${D}"${MOZILLA_FIVE_HOME}/defaults/pref/all-gentoo.js \
+ || die
+
+ # Plugins dir
+ rm -rf "${D}"${MOZILLA_FIVE_HOME}/plugins || die "failed to remove existing plugins dir"
+ dosym ../nsbrowser/plugins "${MOZILLA_FIVE_HOME}"/plugins || die
+
+ doman "${S}"/suite/app/${PN}.1 || die
+}
+
+pkg_preinst() {
+ declare MOZILLA_FIVE_HOME="${ROOT}/usr/$(get_libdir)/${PN}"
+
+ if [ -d ${MOZILLA_FIVE_HOME}/plugins ] ; then
+ rm ${MOZILLA_FIVE_HOME}/plugins -rf
+ fi
+}
+
+pkg_postinst() {
+ declare 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
+}