diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2006-09-30 19:29:05 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2006-09-30 19:29:05 +0000 |
commit | 4c4f58c8a25f6c5e139eec69a8a2a5e2a8b9d2d5 (patch) | |
tree | 23869a40b17bf5c04ee545c1a57d1442f0615817 /www-client | |
parent | Version bump #149438 by Brett. (diff) | |
download | gentoo-2-4c4f58c8a25f6c5e139eec69a8a2a5e2a8b9d2d5.tar.gz gentoo-2-4c4f58c8a25f6c5e139eec69a8a2a5e2a8b9d2d5.tar.bz2 gentoo-2-4c4f58c8a25f6c5e139eec69a8a2a5e2a8b9d2d5.zip |
version bump, bug 149265, update patches thanks to Walter Meinl <wuno@lsvw.de> in bug 149265
(Portage version: 2.1.2_pre2)
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/mozilla-firefox/ChangeLog | 9 | ||||
-rw-r--r-- | www-client/mozilla-firefox/files/digest-mozilla-firefox-2.0_rc1 | 123 | ||||
-rw-r--r-- | www-client/mozilla-firefox/mozilla-firefox-2.0_rc1.ebuild | 238 |
3 files changed, 369 insertions, 1 deletions
diff --git a/www-client/mozilla-firefox/ChangeLog b/www-client/mozilla-firefox/ChangeLog index 4729ad79e7bc..84e5b8490405 100644 --- a/www-client/mozilla-firefox/ChangeLog +++ b/www-client/mozilla-firefox/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for www-client/mozilla-firefox # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox/ChangeLog,v 1.188 2006/09/28 02:15:02 weeve Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox/ChangeLog,v 1.189 2006/09/30 19:29:05 genstef Exp $ + +*mozilla-firefox-2.0_rc1 (30 Sep 2006) + + 30 Sep 2006; Stefan Schweizer <genstef@gentoo.org> + +mozilla-firefox-2.0_rc1.ebuild: + version bump, bug 149265, update patches thanks to Walter Meinl + <wuno@lsvw.de> in bug 149265 28 Sep 2006; Jason Wever <weeve@gentoo.org> mozilla-firefox-2.0_beta2.ebuild: diff --git a/www-client/mozilla-firefox/files/digest-mozilla-firefox-2.0_rc1 b/www-client/mozilla-firefox/files/digest-mozilla-firefox-2.0_rc1 new file mode 100644 index 000000000000..14e2f0c606f6 --- /dev/null +++ b/www-client/mozilla-firefox/files/digest-mozilla-firefox-2.0_rc1 @@ -0,0 +1,123 @@ +MD5 2c5edae90512c0d59e378e60e3016c6d firefox-2.0rc1-source.tar.bz2 36897181 +RMD160 17cf1025e70e6354d7381699be409c8a9239d9d7 firefox-2.0rc1-source.tar.bz2 36897181 +SHA256 b37b8d4bad19d2d3dddbeb1d5a160b3fc3909d4b0a2600045b427695023dad9d firefox-2.0rc1-source.tar.bz2 36897181 +MD5 129b5c266b4fb60c2e4dbb7e352d70ba mozilla-firefox-2.0_rc1-af.xpi 148776 +RMD160 b76260aefb500bd6eefb9340a06eae30538de5ce mozilla-firefox-2.0_rc1-af.xpi 148776 +SHA256 3ad899c61f706800cc51d9ee9e634fe0f6fc1a38c1295c7ba0829b55b77cedc4 mozilla-firefox-2.0_rc1-af.xpi 148776 +MD5 b6e108628c89c6a9dcbfaf696907511b mozilla-firefox-2.0_rc1-ar.xpi 159953 +RMD160 3d236dc75f9a2433bdb9c943776d6c9e44eb87bd mozilla-firefox-2.0_rc1-ar.xpi 159953 +SHA256 f424d2b1ab9099e409d0e357badf184b18b8371e92657480920802add9396f8d mozilla-firefox-2.0_rc1-ar.xpi 159953 +MD5 8bc356856ea3c98a343a366a94d36662 mozilla-firefox-2.0_rc1-bg.xpi 169641 +RMD160 6880a45b0a8d56867ab283dc061979ceab17f213 mozilla-firefox-2.0_rc1-bg.xpi 169641 +SHA256 e871534661fa860835d4de51eb1de251f289ac470a76a566159df4935ccc6c2d mozilla-firefox-2.0_rc1-bg.xpi 169641 +MD5 bc3de07da4c042bbac211f6e2d30bda0 mozilla-firefox-2.0_rc1-ca.xpi 170852 +RMD160 14ab07f5319cea240feb58b013751fc627495aaf mozilla-firefox-2.0_rc1-ca.xpi 170852 +SHA256 a7b7a65f6a0e21b5c2e2dc5cf61531b8539bc72bae87a0024e59d519b6a11201 mozilla-firefox-2.0_rc1-ca.xpi 170852 +MD5 c2f8298ce3db3c31302c3069192e3d2b mozilla-firefox-2.0_rc1-cs.xpi 168604 +RMD160 ebb0bb03de16f6c68261d97c273a8b706864159b mozilla-firefox-2.0_rc1-cs.xpi 168604 +SHA256 64c2f1d1048d167ff27f1446e11897e59136aff6e389c07f3f6048e6cd64230c mozilla-firefox-2.0_rc1-cs.xpi 168604 +MD5 0120829789742ec8046508ae13ef035d mozilla-firefox-2.0_rc1-da.xpi 152281 +RMD160 4b3902b15c887f5a9c5dcc554fb6530d67557dc1 mozilla-firefox-2.0_rc1-da.xpi 152281 +SHA256 b8a14d8b00012031ced4f5101af1df50d6691ecb86f35948fb3656bd93d625af mozilla-firefox-2.0_rc1-da.xpi 152281 +MD5 1bec134f7c2ec897d027d73ab3ae2977 mozilla-firefox-2.0_rc1-de.xpi 152536 +RMD160 58b76a9414cb4a66fd92fdf4c4fb7148c8bad14a mozilla-firefox-2.0_rc1-de.xpi 152536 +SHA256 1e3215708f32b743c7709c0ba90e2f45a8e76dd9c5f65b05e8f5715268efc6d5 mozilla-firefox-2.0_rc1-de.xpi 152536 +MD5 de282cddab8f84aff88362c198856c9c mozilla-firefox-2.0_rc1-el.xpi 168077 +RMD160 84c283e3a4b2684691babd8379efb41ff0e40b96 mozilla-firefox-2.0_rc1-el.xpi 168077 +SHA256 7f357a9b7f5c56493f3dda2e59b6ffb388b1b7e59ffbf74f40af10c42960a1cf mozilla-firefox-2.0_rc1-el.xpi 168077 +MD5 1774dfdc7ef9a239f26136f420382272 mozilla-firefox-2.0_rc1-en-GB.xpi 156168 +RMD160 28f078fc9f7d66148d901f668653486c1fd8fad1 mozilla-firefox-2.0_rc1-en-GB.xpi 156168 +SHA256 c8005b0e10f1f076ee064559c8c3436ee24b1afb50de4eff2935fbb4007c9c26 mozilla-firefox-2.0_rc1-en-GB.xpi 156168 +MD5 c079c0ba23c748528260ba710cbc8c1d mozilla-firefox-2.0_rc1-es-AR.xpi 156144 +RMD160 920d7e7efea9c1b8b0295276a35d6866f73ab385 mozilla-firefox-2.0_rc1-es-AR.xpi 156144 +SHA256 e510ce1b11e7a10f437e4b21d3575fcea0f15d536955e7b90e2e24467cfa1595 mozilla-firefox-2.0_rc1-es-AR.xpi 156144 +MD5 18da155dbc16d7996bbd23a40e263896 mozilla-firefox-2.0_rc1-es-ES.xpi 143964 +RMD160 b5f742b44218953329b6b99f4a955b308e9d0644 mozilla-firefox-2.0_rc1-es-ES.xpi 143964 +SHA256 6ff4c6bd8bdeb38fc547ff02002990b83b6c5421c8351334528898a4ab8bedd3 mozilla-firefox-2.0_rc1-es-ES.xpi 143964 +MD5 78f4030c191ef4c2c832cd7d2f940fd2 mozilla-firefox-2.0_rc1-eu.xpi 154062 +RMD160 810aca7cf4128ae73264d68f0673e4f68b85b023 mozilla-firefox-2.0_rc1-eu.xpi 154062 +SHA256 60a7c4d77c4ffecc4370941fc38dc1c1449cfb1355bf9931188d9210985f4e17 mozilla-firefox-2.0_rc1-eu.xpi 154062 +MD5 aefe9b0e458cc77bdedd0ab3ca435487 mozilla-firefox-2.0_rc1-fi.xpi 155474 +RMD160 a2435330481da38c1e5c87450071829db66b2a96 mozilla-firefox-2.0_rc1-fi.xpi 155474 +SHA256 311b9f1c0959c30227d03bcf13f398a295a7e8d1a5bf2dc530af2782df892b0b mozilla-firefox-2.0_rc1-fi.xpi 155474 +MD5 e344259a0ba00ffef428c026b3e594bd mozilla-firefox-2.0_rc1-fr.xpi 173921 +RMD160 3dc69b860ea16a39129084c57c111acbdeab8a6d mozilla-firefox-2.0_rc1-fr.xpi 173921 +SHA256 50527bc52606709bd1d45d397ca891d3a50b1159eb7ce16f084dbbc5c8728b5a mozilla-firefox-2.0_rc1-fr.xpi 173921 +MD5 f58e57465b8a5b01dc55bd5fb7b52eef mozilla-firefox-2.0_rc1-fy-NL.xpi 165638 +RMD160 c73b30e78be9e188fff22198769727cd912143b5 mozilla-firefox-2.0_rc1-fy-NL.xpi 165638 +SHA256 7ccb3186c3c317515d83f76bee41bbc0602108505c2cde284f6ac18dc6a34c4a mozilla-firefox-2.0_rc1-fy-NL.xpi 165638 +MD5 ab8d8ca0fd1fccccefd8c96d0bfa821f mozilla-firefox-2.0_rc1-gu-IN.xpi 172776 +RMD160 abb86fa19d8945d271b58663663605bf23954a71 mozilla-firefox-2.0_rc1-gu-IN.xpi 172776 +SHA256 1527647f51a0de862154dd6f8c52ec7e134abe25de1b92c607866e6204551d56 mozilla-firefox-2.0_rc1-gu-IN.xpi 172776 +MD5 e537992fde581be134df6779d5f25011 mozilla-firefox-2.0_rc1-hu.xpi 163760 +RMD160 f0e146a17e80108a8a584ba45f7628fbfef6240a mozilla-firefox-2.0_rc1-hu.xpi 163760 +SHA256 28492f6b99af6e621d05326ad3614664f3a344874ebb684579eabcde84b262e0 mozilla-firefox-2.0_rc1-hu.xpi 163760 +MD5 8d37c820d0ee43ffae53e091e2f4b588 mozilla-firefox-2.0_rc1-it.xpi 144792 +RMD160 7353a8119ed89485ae1ccfa7e0cf1c69ef017f8b mozilla-firefox-2.0_rc1-it.xpi 144792 +SHA256 bef26d5ada465f2d7943987b8dd3b764226bdfbb2bf44568b3312bfa91740d37 mozilla-firefox-2.0_rc1-it.xpi 144792 +MD5 404a016cd589f430ef500fe4bde2cd9e mozilla-firefox-2.0_rc1-ja.xpi 162658 +RMD160 5b6d1a4890553bcde23354c2d4734faaf5687f82 mozilla-firefox-2.0_rc1-ja.xpi 162658 +SHA256 2e9d3d6aaddc3d02ee511103f1de8b2e823d6675c014e1ff92cfd5967d838057 mozilla-firefox-2.0_rc1-ja.xpi 162658 +MD5 35961a82d8e0f1dda8b895136465de57 mozilla-firefox-2.0_rc1-ko.xpi 148119 +RMD160 0b885c60c21f0e2953db9b123ac00f1e61334de1 mozilla-firefox-2.0_rc1-ko.xpi 148119 +SHA256 1e6a86d296dd3d5401c854848f968f817edb3f51538408d4e6ab72f49308124d mozilla-firefox-2.0_rc1-ko.xpi 148119 +MD5 0b7599d6d87148d3019b7a06678fe649 mozilla-firefox-2.0_rc1-lt.xpi 164679 +RMD160 f12bd2479aa2fca4946224338acd5407fa5f65d9 mozilla-firefox-2.0_rc1-lt.xpi 164679 +SHA256 999d1f4d586a8375a6d0384c0de5d85989a016a3a1bb0b989522382844e6878a mozilla-firefox-2.0_rc1-lt.xpi 164679 +MD5 021151bdba17968298f5e2f86b9a3850 mozilla-firefox-2.0_rc1-mk.xpi 157240 +RMD160 302cf5a75b42b820cf6249d25f0a125005c7fcfb mozilla-firefox-2.0_rc1-mk.xpi 157240 +SHA256 6afab4e35c968a2a1d3e2e5c53ec006abf8be7f9a475ccdd17c35919def15ccb mozilla-firefox-2.0_rc1-mk.xpi 157240 +MD5 04b19607ef3a3ea564943502e91233cd mozilla-firefox-2.0_rc1-mn.xpi 160238 +RMD160 3345457497d38b8740e6e2b6218436c7c81b03f9 mozilla-firefox-2.0_rc1-mn.xpi 160238 +SHA256 9d8097bf04e2d4355cf3866a98f0fe418e9ad7012483d926a03869958e510d31 mozilla-firefox-2.0_rc1-mn.xpi 160238 +MD5 df1b62cd6a686cbb6d2e0201e998050a mozilla-firefox-2.0_rc1-nb-NO.xpi 163819 +RMD160 f54057dd6cb9281ba268bd104e86976cf905e30e mozilla-firefox-2.0_rc1-nb-NO.xpi 163819 +SHA256 45a32066dbb72773fc1be0f1f6694ae23145815f5f2161a7c61bb9a0addbbd0b mozilla-firefox-2.0_rc1-nb-NO.xpi 163819 +MD5 d4c87ee103ee8aa40115be784178d0c8 mozilla-firefox-2.0_rc1-nl.xpi 170090 +RMD160 4a01fb5b88d56a78fe802b1d48eabe311bb55828 mozilla-firefox-2.0_rc1-nl.xpi 170090 +SHA256 c04de77a58bfd572047f122f657f6b60da52a1d9ba45517f9092eedd45120552 mozilla-firefox-2.0_rc1-nl.xpi 170090 +MD5 8bc014469d9bd440918fe20ffe14a2c7 mozilla-firefox-2.0_rc1-nn-NO.xpi 160792 +RMD160 ebdceea91cf42aee196ef865e47fea6bd74e676a mozilla-firefox-2.0_rc1-nn-NO.xpi 160792 +SHA256 2b2b4ab86e2ad10c874b1973810ad8a15dd5b78f840ab44fe5a2b10a8a58f281 mozilla-firefox-2.0_rc1-nn-NO.xpi 160792 +MD5 0868a1e6534e0e7d791fa2d44eb456fc mozilla-firefox-2.0_rc1-nso.xpi 152102 +RMD160 34f848e107dcb3b8dac52d68e25aa71f8ce56dd1 mozilla-firefox-2.0_rc1-nso.xpi 152102 +SHA256 06cf00881aa84e60f8fe553e339d2de8385b1f2ddfcc43cf03efcbe5c55343c1 mozilla-firefox-2.0_rc1-nso.xpi 152102 +MD5 a6e8500d2bbd203b85f964363192de53 mozilla-firefox-2.0_rc1-pa-IN.xpi 161660 +RMD160 0dd2949f921068d046e453ca7fe26130006a84b4 mozilla-firefox-2.0_rc1-pa-IN.xpi 161660 +SHA256 27a2def517a6bfb2fe5a863fde3dc5d33385e6d25d8f018f99ac139cdd524471 mozilla-firefox-2.0_rc1-pa-IN.xpi 161660 +MD5 9a6cb26c4f2a7a114383ba2a9be44b5f mozilla-firefox-2.0_rc1-patches-1.4.tar.bz2 24068 +RMD160 26f2e86d6749a154bd9c8c0ad525af22d65f1f89 mozilla-firefox-2.0_rc1-patches-1.4.tar.bz2 24068 +SHA256 45b13bfb1bdb02b5152475d090ae8ac0fb743be717b5850e94f700eedb9169ce mozilla-firefox-2.0_rc1-patches-1.4.tar.bz2 24068 +MD5 7812a9b78c3c0dd863c224f902ee4ff7 mozilla-firefox-2.0_rc1-pl.xpi 171069 +RMD160 2946b08aa70b14a9710890070f3ada763dbba9af mozilla-firefox-2.0_rc1-pl.xpi 171069 +SHA256 f8d5a72ed9a9919d7756ec11b2812920337bab072a934323094b072114ce6a58 mozilla-firefox-2.0_rc1-pl.xpi 171069 +MD5 99ceb6ce9ab68b7c9a4800de3205f376 mozilla-firefox-2.0_rc1-pt-PT.xpi 153804 +RMD160 98e7377886b3e69452f56ebae88ff41fcffdaa94 mozilla-firefox-2.0_rc1-pt-PT.xpi 153804 +SHA256 f098506f37ecfab18c990785f5c597c9f15be16bb39e6920664e1f5b351beb57 mozilla-firefox-2.0_rc1-pt-PT.xpi 153804 +MD5 f1f413578ebf49a417be5c93e7bd514e mozilla-firefox-2.0_rc1-ru.xpi 167789 +RMD160 570d4c0bbf4ae8c8291ed343ba61a21d20e75f44 mozilla-firefox-2.0_rc1-ru.xpi 167789 +SHA256 5b0c9c719e58d1e1521f98110d1b59cc59f1ca7d90b08b42903f9be110662b80 mozilla-firefox-2.0_rc1-ru.xpi 167789 +MD5 482fcf9c75a90d28349544c7e0248912 mozilla-firefox-2.0_rc1-sk.xpi 165129 +RMD160 671abc965f72f8a08d290ad4c557daa47acb7ec4 mozilla-firefox-2.0_rc1-sk.xpi 165129 +SHA256 0ec5bd71b9b6018ecdea3acf7f9f6502daf549ef889888fc33a365f9e9117389 mozilla-firefox-2.0_rc1-sk.xpi 165129 +MD5 3e410c1d7cf9a02a099859a00f984418 mozilla-firefox-2.0_rc1-sl.xpi 155074 +RMD160 138cf229b0776dc09588d3c68cb4c778dbeff2f7 mozilla-firefox-2.0_rc1-sl.xpi 155074 +SHA256 b509b255864793fbebc58c7aaeab0a2acb216cfc60729d90be060742a62e83e6 mozilla-firefox-2.0_rc1-sl.xpi 155074 +MD5 beea575394494845913266fe075f315c mozilla-firefox-2.0_rc1-sv-SE.xpi 165961 +RMD160 20f51a84ac2e07d484ed5f07f752b71ff658ed1d mozilla-firefox-2.0_rc1-sv-SE.xpi 165961 +SHA256 85077d125aba97f458a8a335689a60df73d44cb8f1193157b5ade44fc71361e5 mozilla-firefox-2.0_rc1-sv-SE.xpi 165961 +MD5 767c0398a2ef3fbb3d78324bafe0c36c mozilla-firefox-2.0_rc1-tr.xpi 148734 +RMD160 25294b7ae9573fad52de5f14824c42b7450aec33 mozilla-firefox-2.0_rc1-tr.xpi 148734 +SHA256 dc869ba5617a1c0672cdeb816c113d54b135fe0b91b2df05e04f68c62628e0f0 mozilla-firefox-2.0_rc1-tr.xpi 148734 +MD5 41822237c59ba36124ec138ec8ef8e42 mozilla-firefox-2.0_rc1-xh.xpi 154935 +RMD160 b9a45d0f12867109e4c591892ffc966d82a2870d mozilla-firefox-2.0_rc1-xh.xpi 154935 +SHA256 5117b80cb8233e026fbff38832b3ed8adfee82d2fc3958d5f4665841a81196bc mozilla-firefox-2.0_rc1-xh.xpi 154935 +MD5 515851edd92d6b8e7c84ec1b26bc495b mozilla-firefox-2.0_rc1-zh-CN.xpi 141135 +RMD160 b7227cfb7d451650074bccacd2399a725129a78e mozilla-firefox-2.0_rc1-zh-CN.xpi 141135 +SHA256 b64c21a85761e58628ff3f4891e19eb35b6d4f8eab58aa03b3091c4357ff2047 mozilla-firefox-2.0_rc1-zh-CN.xpi 141135 +MD5 26741ba9c48d75a95b2e0ef34e847e7a mozilla-firefox-2.0_rc1-zh-TW.xpi 142021 +RMD160 2aad3fead7ceaf4ad43ad01d700b89b7150671cd mozilla-firefox-2.0_rc1-zh-TW.xpi 142021 +SHA256 c55cf30aaa8613be8e560acd10efa68848cba4ad36d61cad858de365696c1e5c mozilla-firefox-2.0_rc1-zh-TW.xpi 142021 +MD5 8d909dfe44ff5b9aa4f1f35036d26728 mozilla-firefox-2.0_rc1-zu.xpi 153151 +RMD160 345a82120889c304b69a5c1dceaae6983e9dd169 mozilla-firefox-2.0_rc1-zu.xpi 153151 +SHA256 833783ebbd5de01290ac4695e4e6dec6e67d2b9b81cf87614108accf9afa8bac mozilla-firefox-2.0_rc1-zu.xpi 153151 diff --git a/www-client/mozilla-firefox/mozilla-firefox-2.0_rc1.ebuild b/www-client/mozilla-firefox/mozilla-firefox-2.0_rc1.ebuild new file mode 100644 index 000000000000..3a1285a9dc75 --- /dev/null +++ b/www-client/mozilla-firefox/mozilla-firefox-2.0_rc1.ebuild @@ -0,0 +1,238 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox/mozilla-firefox-2.0_rc1.ebuild,v 1.1 2006/09/30 19:29:05 genstef Exp $ + +inherit flag-o-matic toolchain-funcs eutils mozconfig-2 mozilla-launcher makeedit multilib fdo-mime mozextension autotools + +PVER="1.4" +LANGS="af ar bg ca cs da de el en-GB es-AR es-ES eu fi fr gu-IN hu it ja +ko lt mk mn nb-NO nl nso pa-IN pl ru sk sl sv-SE tr xh zh-CN zh-TW zu" +SHORTLANGS="fy-NL pt-PT nn-NO" +MY_PV=${PV/_} + +DESCRIPTION="Firefox Web Browser" +HOMEPAGE="http://www.mozilla.org/projects/firefox/" + +KEYWORDS="~alpha ~amd64 ~sparc ~x86" +SLOT="0" +LICENSE="MPL-1.1 NPL-1.1" +IUSE="java mozdevelop" + +MOZ_URI="http://releases.mozilla.org/pub/mozilla.org/firefox/releases/${MY_PV}" +SRC_URI="${MOZ_URI}/source/firefox-${MY_PV}-source.tar.bz2 + http://gentooexperimental.org/~genstef/dist/${P}-patches-${PVER}.tar.bz2" + +# These are in +# +# http://releases.mozilla.org/pub/mozilla.org/firefox/releases/${MY_PV}/linux-i686/xpi/ +# +# for i in $LANGS $SHORTLANGS; do wget $i.xpi -O ${P}-$i.xpi; done +for X in ${LANGS} ; do + SRC_URI="${SRC_URI} + linguas_${X/-/_}? ( http://gentooexperimental.org/~genstef/dist/${P}-xpi/${P}-${X}.xpi )" + IUSE="${IUSE} linguas_${X/-/_}" +done +for X in ${SHORTLANGS} ; do + SRC_URI="${SRC_URI} + linguas_${X%%-*}? ( http://gentooexperimental.org/~genstef/dist/${P}-xpi/${P}-${X}.xpi )" + IUSE="${IUSE} linguas_${X%%-*}" +done + +RDEPEND="java? ( virtual/jre ) + >=www-client/mozilla-launcher-1.39 + >=sys-devel/binutils-2.16.1 + >=dev-libs/nss-3.11.1-r1 + >=dev-libs/nspr-4.6.1 + ~sys-devel/autoconf-2.13" + +DEPEND="${RDEPEND} + java? ( >=dev-java/java-config-0.2.0 )" + +S="${WORKDIR}/mozilla" + +linguas() { + local LANG SLANG + for LANG in ${LINGUAS}; do + if hasq ${LANG} en en_US; then + hasq en ${linguas} || linguas="${linguas:+"${linguas} "}en" + continue + elif hasq ${LANG} ${LANGS//-/_}; then + hasq ${LANG//_/-} ${linguas} || linguas="${linguas:+"${linguas} "}${LANG//_/-}" + continue + else + for SLANG in ${SHORTLANGS}; do + if [[ ${LANG} == "${SLANG%%-*}" ]]; then + hasq ${SLANG} ${linguas} || linguas="${linguas:+"${linguas} "}${SLANG}" + continue 2 + fi + done + fi + ewarn "Sorry, but mozilla-firefox does not support the ${LANG} LINGUA" + done +} + +src_unpack() { + unpack ${A%bz2*}bz2 + + linguas + for X in ${linguas}; do + [[ ${X} != "en" ]] && xpi_unpack "${P}-${X}.xpi" + done + + cd "${S}" + + # Apply our patches + EPATCH_FORCE="yes" epatch "${WORKDIR}"/patch + + # Fix a compilation issue using the 32-bit userland with 64-bit kernel on + # PowerPC, because with that configuration, it detects a ppc64 system. + # -- hansmi, 2005-11-13 + if use ppc && [[ "${PROFILE_ARCH}" == ppc64 ]]; then + sed -i -e "s#OS_TEST=\`uname -m\`\$#OS_TEST=${ARCH}#" \ + "${S}"/configure + sed -i -e "s#OS_TEST :=.*uname -m.*\$#OS_TEST:=${ARCH}#" \ + "${S}"/security/coreconf/arch.mk + fi + + WANT_AUTOCONF="2.1" eautoreconf +} + +src_compile() { + declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" + + mozconfig_init + mozconfig_config + + mozconfig_annotate '' --enable-application=browser + mozconfig_annotate '' --enable-extensions=default,typeaheadfind + mozconfig_annotate '' --enable-image-encoder=all + mozconfig_annotate '' --enable-canvas + mozconfig_annotate '' --with-system-nspr + mozconfig_annotate '' --with-system-nss + mozconfig_annotate '' --enable-official-branding + + # Bug 60668: Galeon doesn't build without oji enabled, so enable it + # regardless of java setting. + mozconfig_annotate '' --enable-oji --enable-mathml + + # Other ff-specific settings + mozconfig_use_enable mozdevelop jsd + mozconfig_use_enable mozdevelop xpctools + mozconfig_use_extension mozdevelop venkman + mozconfig_annotate '' --with-default-mozilla-five-home=${MOZILLA_FIVE_HOME} + + # Add build variables + mozconfig_build_opts + + # Finalize and report settings + mozconfig_final + + # -fstack-protector breaks us + gcc-specs-ssp && append-flags -fno-stack-protector-all + filter-flags -fstack-protector -fstack-protector-all + + # Don't know a reason for that so commented out /peper + #append-flags -freorder-blocks -fno-reorder-functions + + # Configure and build + + CPPFLAGS="${CPPFLAGS} -DGENTOO_NSPLUGINS_DIR=\\\"/usr/$(get_libdir)/nsplugins\\\"" + CPPFLAGS="${CPPFLAGS} -DGENTOO_NSBROWSER_PLUGINS_DIR=\\\"/usr/$(get_libdir)/nsbrowser/plugins\\\"" + export CPPFLAGS + tc-export CC CXX LD + econf || die + + # This removes extraneous CFLAGS from the Makefiles to reduce RAM + # requirements while compiling + edit_makefiles + + emake || die +} + +pkg_preinst() { + declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" + + einfo "Removing old install to eliminate any problems during install." + rm -rf "${ROOT}"/"${MOZILLA_FIVE_HOME}" +} + +src_install() { + declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" + + # Most of the installation happens here + dodir "${MOZILLA_FIVE_HOME}" + cp -RL "${S}"/dist/bin/* "${D}"/"${MOZILLA_FIVE_HOME}"/ || die "cp failed" + + linguas + for X in ${linguas}; do + [[ ${X} != "en" ]] && xpi_install "${WORKDIR}"/"${P}-${X}" + done + + local LANG=${linguas%% *} + if [[ -n ${LANG} && ${LANG} != "en" ]]; then + einfo "Setting default locale to ${LANG}" + dosed -e "s:general.useragent.locale\", \"en-US\":general.useragent.locale\", \"${LANG}\":" \ + "${MOZILLA_FIVE_HOME}"/defaults/pref/firefox.js \ + "${MOZILLA_FIVE_HOME}"/defaults/pref/firefox-l10n.js || \ + die "sed failed to change locale" + fi + + # Create /usr/bin/firefox + install_mozilla_launcher_stub firefox "${MOZILLA_FIVE_HOME}" + + # Install icon and .desktop for menu entry + doicon "${FILESDIR}"/icon/firefox-icon.png + newmenu "${FILESDIR}"/icon/mozillafirefox-1.5.desktop \ + mozillafirefox-2.0.desktop + + # Fix icons to look the same everywhere + insinto "${MOZILLA_FIVE_HOME}"/icons + doins "${S}"/dist/branding/mozicon16.xpm + doins "${S}"/dist/branding/mozicon50.xpm + + + # Install files necessary for applications to build against firefox + einfo "Installing includes and idl files..." + dodir "${MOZILLA_FIVE_HOME}"/idl "${MOZILLA_FIVE_HOME}"/include + cp -LfR "${S}"/dist/include/* "${D}"/"${MOZILLA_FIVE_HOME}"/include/ || \ + die "cp failed" + cp -LfR "${S}"/dist/idl/* "${D}"/"${MOZILLA_FIVE_HOME}"/idl || \ + die "cp failed" + + # Dirty hack to get some applications using this header running + dosym "${MOZILLA_FIVE_HOME}"/include/necko/nsIURI.h \ + "${MOZILLA_FIVE_HOME}"/include/nsIURI.h + + # Install pkgconfig files + insinto /usr/"$(get_libdir)"/pkgconfig + doins "${S}"/build/unix/*.pc + + insinto "${MOZILLA_FIVE_HOME}"/greprefs + newins "${FILESDIR}"/gentoo-default-prefs.js all-gentoo.js + insinto "${MOZILLA_FIVE_HOME}"/defaults/pref + newins "${FILESDIR}"/gentoo-default-prefs.js all-gentoo.js +} + +pkg_postinst() { + declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" + + # This should be called in the postinst and postrm of all the + # mozilla, mozilla-bin, firefox, firefox-bin, thunderbird and + # thunderbird-bin ebuilds. + update_mozilla_launcher_symlinks + + # Update mimedb for the new .desktop file + fdo-mime_desktop_database_update + + elog "Please remember to rebuild any packages that you have built" + elog "against firefox. Some packages might be broken by the upgrade; if this" + elog "is the case, please search at http://bugs.gentoo.org and open a new bug" + elog "if one does not exist. Before filing any bugs, please move or remove ~/.mozilla" + elog "and test with a clean profile directory." +} + +pkg_postrm() { + declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" + + update_mozilla_launcher_symlinks +} |