diff options
author | 2006-07-29 10:30:36 +0000 | |
---|---|---|
committer | 2006-07-29 10:30:36 +0000 | |
commit | fb08fdebfa2d9aa55c015533fda70063f496f114 (patch) | |
tree | 7e2ca51853bf1b9222ceed6a0d74ee73be604683 /www-client/mozilla-firefox-bin | |
parent | Add missing patch and add a new one from upstream, thanks to 'galtgendo' in b... (diff) | |
download | gentoo-2-fb08fdebfa2d9aa55c015533fda70063f496f114.tar.gz gentoo-2-fb08fdebfa2d9aa55c015533fda70063f496f114.tar.bz2 gentoo-2-fb08fdebfa2d9aa55c015533fda70063f496f114.zip |
Version bump, bug 141842.
(Portage version: 2.1.1_pre3-r5)
Diffstat (limited to 'www-client/mozilla-firefox-bin')
3 files changed, 244 insertions, 1 deletions
diff --git a/www-client/mozilla-firefox-bin/ChangeLog b/www-client/mozilla-firefox-bin/ChangeLog index 32daa673dd26..b9372038a326 100644 --- a/www-client/mozilla-firefox-bin/ChangeLog +++ b/www-client/mozilla-firefox-bin/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for www-client/mozilla-firefox-bin # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox-bin/ChangeLog,v 1.44 2006/07/07 21:24:18 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox-bin/ChangeLog,v 1.45 2006/07/29 10:30:36 kloeri Exp $ + +*mozilla-firefox-bin-1.5.0.5 (29 Jul 2006) + + 29 Jul 2006; Bryan Østergaard <kloeri@gentoo.org> + +mozilla-firefox-bin-1.5.0.5.ebuild: + Version bump, bug 141842. 07 Jul 2006; Stefan Schweizer <genstef@gentoo.org> mozilla-firefox-bin-1.5.0.4.ebuild: diff --git a/www-client/mozilla-firefox-bin/files/digest-mozilla-firefox-bin-1.5.0.5 b/www-client/mozilla-firefox-bin/files/digest-mozilla-firefox-bin-1.5.0.5 new file mode 100644 index 000000000000..35c7f1ee9509 --- /dev/null +++ b/www-client/mozilla-firefox-bin/files/digest-mozilla-firefox-bin-1.5.0.5 @@ -0,0 +1,93 @@ +MD5 8a8c7fbde2260f343f1ea3f1450ad778 firefox-1.5.0.5.tar.gz 8468627 +RMD160 1df5169e576c1709dc6e8a242545125e2ba3f57d firefox-1.5.0.5.tar.gz 8468627 +SHA256 6f7a6e33527709a66546f996b6931cabb56ec3b8a1111271db7c9b2f1d77af90 firefox-1.5.0.5.tar.gz 8468627 +MD5 c5bf2cdb8a35bc5a25df722cb413d301 firefox-ar-1.5.0.5.xpi 677 +RMD160 fd24795d5084900f0bd97bbfa67a44d072679e44 firefox-ar-1.5.0.5.xpi 677 +SHA256 b5450a2b18b468b8db9ce0957a89069b15da6fce472871bd4bdb0e5e2c53560d firefox-ar-1.5.0.5.xpi 677 +MD5 3ceff2ff99f8ad9b983fd0f32bddb2fd firefox-ca-1.5.0.5.xpi 756 +RMD160 fae8f3a40d8527de53d68a17a04338b2f10c9a3f firefox-ca-1.5.0.5.xpi 756 +SHA256 b4844844dbf01622367874f462ff3d04f45afb33bdd49d4231d2c5f0adc3bd56 firefox-ca-1.5.0.5.xpi 756 +MD5 29dcafa9985de3b09f6693fe27d2c854 firefox-cs-1.5.0.5.xpi 677 +RMD160 86841221ee627f0e7cdd92f9a8afe28727b48ffc firefox-cs-1.5.0.5.xpi 677 +SHA256 3429e01f9e993ec1ec83ff684c690f66ce214f4541f69cf7133b193d720693e2 firefox-cs-1.5.0.5.xpi 677 +MD5 5b23a80773e5f68e296d609d4882bdc9 firefox-da-1.5.0.5.xpi 677 +RMD160 7387651bdedd07456ed4c4b7815d9e6495bee55f firefox-da-1.5.0.5.xpi 677 +SHA256 3e620bf292dac425578b0ff0bec73135a95ee04499a3541e0c7d987b1c026ba0 firefox-da-1.5.0.5.xpi 677 +MD5 02afbcf98125d7cbdc77f7460ca12304 firefox-de-1.5.0.5.xpi 677 +RMD160 3687b518f696cb6f664b459ce66476eb88302b0d firefox-de-1.5.0.5.xpi 677 +SHA256 5cfd54489df796e1fa4694c9629ff68e4a5bfda20c50ff391ddac2481b720ee2 firefox-de-1.5.0.5.xpi 677 +MD5 346d73770a64d4fe12f24fd3674581fa firefox-el-1.5.0.5.xpi 677 +RMD160 4edd8a2b95edce2f58ed491098c1dcf78bcbbc51 firefox-el-1.5.0.5.xpi 677 +SHA256 c9f6fcfd8e1b2b991321c0eafe38320f75862096cb7950c97c927899fc1667c7 firefox-el-1.5.0.5.xpi 677 +MD5 925f51caf2afd2a08908e37ffad1f519 firefox-en-GB-1.5.0.5.xpi 686 +RMD160 9602ae2cf62af5efd954d39be2da09455f1961e0 firefox-en-GB-1.5.0.5.xpi 686 +SHA256 8fec82152a69ce44795d6a249708ebee18db97b332d18c3254d0a1257f414813 firefox-en-GB-1.5.0.5.xpi 686 +MD5 24b204bfdfaf06b70da3794dcc524781 firefox-es-AR-1.5.0.5.xpi 686 +RMD160 16651b7cc4e343f85daf6c091c49ae0d9b90dd7e firefox-es-AR-1.5.0.5.xpi 686 +SHA256 03b696091e661aabce8a720c6c1ab776381038453edbb32da16e798ec55cedd0 firefox-es-AR-1.5.0.5.xpi 686 +MD5 f0bd24a4480882643f7e547a7cb9f9af firefox-es-ES-1.5.0.5.xpi 686 +RMD160 8d768c5579493c818f6b652e06f41b5a4ed7ed48 firefox-es-ES-1.5.0.5.xpi 686 +SHA256 0893acf2029aff8ee50141c9593a2704425223e202e9e7fcd9d909f056884d15 firefox-es-ES-1.5.0.5.xpi 686 +MD5 3ff11af596d8e4a4872d486dde4549f3 firefox-fi-1.5.0.5.xpi 677 +RMD160 19412c1bb011283172ae214bad3d903d738ecd41 firefox-fi-1.5.0.5.xpi 677 +SHA256 bbfae625bc00e78ad23ebb2df7f972d97eb1a9fb74abd7238810d28a1527583a firefox-fi-1.5.0.5.xpi 677 +MD5 d7689a160f576ab80cb50dc579f7c8e4 firefox-fr-1.5.0.5.xpi 756 +RMD160 a083dc09254098e82ab0ee3a8687c82faa35de3d firefox-fr-1.5.0.5.xpi 756 +SHA256 d1692b51d2bc60daa2958db50e4b5edfa0983a2e223e5ac026cda32ad8087b8a firefox-fr-1.5.0.5.xpi 756 +MD5 54fc5efa088cc179e0d244086c300c6e firefox-ga-IE-1.5.0.5.xpi 686 +RMD160 7443b7a749dd85878a65744ce5ee8735616de0f3 firefox-ga-IE-1.5.0.5.xpi 686 +SHA256 067dc9b2542890e90cd31b3f53bd10fdd9649119eed27a4d05d63a6ba1793a05 firefox-ga-IE-1.5.0.5.xpi 686 +MD5 f59561b6b1182d787efffdfdb747e4e6 firefox-he-1.5.0.5.xpi 677 +RMD160 c84dc8ff3cd870ae2016a4b08287ee3a8813b0f1 firefox-he-1.5.0.5.xpi 677 +SHA256 dc53eb521c3da95ed314b41af6533897f6fc9812bac8370d5ec77421cfb6c8ef firefox-he-1.5.0.5.xpi 677 +MD5 b4616d5a0f7bd8b1485d63e9a0f3c75c firefox-hu-1.5.0.5.xpi 744 +RMD160 bc697a71403f2645b7a1ba74e83657971d638e11 firefox-hu-1.5.0.5.xpi 744 +SHA256 4017cc8a08488387e66cdd1b9bfa4c8cb6a2a05494f9083f121ea36a585b0625 firefox-hu-1.5.0.5.xpi 744 +MD5 1e9b9753991d67e89f15358b04dd4fa4 firefox-it-1.5.0.5.xpi 756 +RMD160 691cb6ee30cd05f0d88442af29b5f60b79778afe firefox-it-1.5.0.5.xpi 756 +SHA256 1562ecfd22edc1017e9f7eb4f202ba6fcfc354d768a198af3431a3ddeccd5020 firefox-it-1.5.0.5.xpi 756 +MD5 d17029cfc012860b15dba7450ab30a96 firefox-ja-1.5.0.5.xpi 756 +RMD160 e58e841dc8d81c8bf213371ef0134a5daafcd750 firefox-ja-1.5.0.5.xpi 756 +SHA256 f231c81fb25a0163b6f4741a61f1e86372dd4c590e313a3b26df64e8eecea67d firefox-ja-1.5.0.5.xpi 756 +MD5 e0c0ef87f0236b4c2d33062813ba2dd0 firefox-ko-1.5.0.5.xpi 677 +RMD160 70e728912ba1bf8adae90302cda4155685e78061 firefox-ko-1.5.0.5.xpi 677 +SHA256 5ce3967624c04b89faf212f5efa65398f24a93e1cb5c518d773712c72da7d254 firefox-ko-1.5.0.5.xpi 677 +MD5 f6992b64882925ecf6fc8768b9c19b74 firefox-mk-1.5.0.5.xpi 756 +RMD160 73e4e2245be7286291c86c53c72c7f65a0e2b665 firefox-mk-1.5.0.5.xpi 756 +SHA256 08739ee387b5569b2b41ed5e64efdc2f67ee94960a89884c855e21a4d1eebf68 firefox-mk-1.5.0.5.xpi 756 +MD5 b09623ec6f35f28eb487ae3ea1602fe4 firefox-nb-NO-1.5.0.5.xpi 686 +RMD160 8826c694effe3c2b1ef2df1a1f47d88262c053c9 firefox-nb-NO-1.5.0.5.xpi 686 +SHA256 73c2b17709f58804e4990af6d2a8f8e6702c137392a088ea7401cc23ab3895e5 firefox-nb-NO-1.5.0.5.xpi 686 +MD5 2197b2bb40a10af9632d17538a80c0a3 firefox-nl-1.5.0.5.xpi 677 +RMD160 8cbea6c0a961c0758439b0102fc8b78d588e4ef4 firefox-nl-1.5.0.5.xpi 677 +SHA256 3b907f75cd3a1921be56c55b947daad786b2e39f8a45a2accd5345a87e479059 firefox-nl-1.5.0.5.xpi 677 +MD5 887886cccbfa7977a339db4e3f9d1492 firefox-pl-1.5.0.5.xpi 835 +RMD160 f9a5e50d9b879477221b01d2eeebf0825fd07159 firefox-pl-1.5.0.5.xpi 835 +SHA256 22c46a228ca8ea0a751ebcf2173eb27cc3864b5ce3dc22df9cd2654774832c70 firefox-pl-1.5.0.5.xpi 835 +MD5 36bdbcb2280b5fb0f198c34f54085a3f firefox-pt-BR-1.5.0.5.xpi 686 +RMD160 bfb23dff563b727b2daa51528ee94d2af045ed87 firefox-pt-BR-1.5.0.5.xpi 686 +SHA256 97a479c503a0352293c81d0b46b38526235003b0f6d2ffc9012c1aefb0fad42f firefox-pt-BR-1.5.0.5.xpi 686 +MD5 a95e2af3e170dae8b3008ae47eeffbf1 firefox-ro-1.5.0.5.xpi 677 +RMD160 6cfccc39c87b6efc7246ece8093a9fd6b32d4759 firefox-ro-1.5.0.5.xpi 677 +SHA256 2f2022b746c67bbb6996b597930c162f703d80aa3d9c76857edda0fc100cd607 firefox-ro-1.5.0.5.xpi 677 +MD5 a4c73989f4d0855fd863a0ef9b8949b0 firefox-ru-1.5.0.5.xpi 756 +RMD160 e38d5eac7b2dbb0afe7029201c8df659b72eb16b firefox-ru-1.5.0.5.xpi 756 +SHA256 4fc76966b2989073760d6899e384e71c970453d3365156aca63d520f1cf32d82 firefox-ru-1.5.0.5.xpi 756 +MD5 089adb44e09d3bc8bbc91b6660f280fe firefox-sk-1.5.0.5.xpi 744 +RMD160 5e556505a63074fb78f75a54fe3442f367072c33 firefox-sk-1.5.0.5.xpi 744 +SHA256 8a7de1b608c764b70b5fe6e192bbe5b5e7fe05034cb5f826a623f1af3d7d22de firefox-sk-1.5.0.5.xpi 744 +MD5 9d64887a2bb3f9637f7ef5ae187f0998 firefox-sl-1.5.0.5.xpi 677 +RMD160 a4ed03ae7c388a202513b882512cb103836110de firefox-sl-1.5.0.5.xpi 677 +SHA256 1d97f0f51a2533e60314ca42e0fadb254dd1a94670e074206a88175ac3082ec0 firefox-sl-1.5.0.5.xpi 677 +MD5 9faf5fd36efd869b398fee355efcd20f firefox-sv-SE-1.5.0.5.xpi 753 +RMD160 ba66eea352ecd6a857cbf7512fc20ab79be88f63 firefox-sv-SE-1.5.0.5.xpi 753 +SHA256 b9aa2a4b68c74b44a53c3d3b268a69f836ec24a915b0c1f7178e60807c1e7742 firefox-sv-SE-1.5.0.5.xpi 753 +MD5 a46810aa8dfe55413cd783c94a6f7d1d firefox-tr-1.5.0.5.xpi 677 +RMD160 31de21a73067a5925494fd797d712eb37eea60a1 firefox-tr-1.5.0.5.xpi 677 +SHA256 18c71d2bdaa0aa142dc94b2d40c92890436dbf42105b9a27f622f280139ddf62 firefox-tr-1.5.0.5.xpi 677 +MD5 83e2fab6291140a36202d03c3cd60725 firefox-zh-CN-1.5.0.5.xpi 686 +RMD160 0d29e5df55ff0c60979684ddbf9ec4cf8d0150ef firefox-zh-CN-1.5.0.5.xpi 686 +SHA256 278f1aef04025b681d0e3adde347c3baadb5df955e60fc182613a517c021b7e7 firefox-zh-CN-1.5.0.5.xpi 686 +MD5 c5b6f6eec39c638afd2d74fc88916c8c firefox-zh-TW-1.5.0.5.xpi 686 +RMD160 d76fbcd54412dedeb767ffc548d17a0b8959eda6 firefox-zh-TW-1.5.0.5.xpi 686 +SHA256 f0438ae7194041ea24f93c091917cae052c579a6e92c5edd593eefe8fdd9c165 firefox-zh-TW-1.5.0.5.xpi 686 diff --git a/www-client/mozilla-firefox-bin/mozilla-firefox-bin-1.5.0.5.ebuild b/www-client/mozilla-firefox-bin/mozilla-firefox-bin-1.5.0.5.ebuild new file mode 100644 index 000000000000..b57dac1d03d9 --- /dev/null +++ b/www-client/mozilla-firefox-bin/mozilla-firefox-bin-1.5.0.5.ebuild @@ -0,0 +1,144 @@ +# 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-bin/mozilla-firefox-bin-1.5.0.5.ebuild,v 1.1 2006/07/29 10:30:36 kloeri Exp $ + +inherit eutils mozilla-launcher multilib mozextension + +LANGS="ar ca cs da de el en-GB es-AR es-ES fi fr ga-IE he hu it ja ko mk nb-NO nl pl pt-BR ro ru sk sl sv-SE tr zh-CN zh-TW" +SHORTLANGS="es-ES ga-IE nb-NO sv-SE" + +DESCRIPTION="Firefox Web Browser" +SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${PV}/linux-i686/en-US/firefox-${PV}.tar.gz" +HOMEPAGE="http://www.mozilla.org/projects/firefox" +RESTRICT="nostrip" + +KEYWORDS="-* ~amd64 ~x86" +SLOT="0" +LICENSE="MPL-1.1 NPL-1.1" +IUSE="" + +for X in ${LANGS} ; do + SRC_URI="${SRC_URI} linguas_${X/-/_}? ( mirror://gentoo/firefox-${X}-${PV}.xpi )" + IUSE="${IUSE} linguas_${X/-/_}" +done + +for X in ${SHORTLANGS} ; do + SRC_URI="${SRC_URI} linguas_${X%%-*}? ( mirror://gentoo/firefox-${X}-${PV}.xpi )" + IUSE="${IUSE} linguas_${X%%-*}" +done + +DEPEND="app-arch/unzip" +RDEPEND="|| ( ( x11-libs/libXrender + x11-libs/libXt + x11-libs/libXmu + ) + virtual/x11 + ) + x86? ( + >=sys-libs/lib-compat-1.0-r2 + >=x11-libs/gtk+-2.2 + ) + amd64? ( + >=app-emulation/emul-linux-x86-baselibs-1.0 + >=app-emulation/emul-linux-x86-gtklibs-1.0 + ) + >=www-client/mozilla-launcher-1.41 + =virtual/libstdc++-3.3 + virtual/libc" + +S=${WORKDIR}/firefox + +pkg_setup() { + # This is a binary x86 package => ABI=x86 + # Please keep this in future versions + # Danny van Dyk <kugelfang@gentoo.org> 2005/03/26 + has_multilib_profile && ABI="x86" +} + +linguas() { + linguas= + local LANG + for LANG in ${LINGUAS}; do + if hasq ${LANG} ${LANGS//-/_} en; then + hasq ${LANG//_/-} ${linguas} || \ + linguas="${linguas:+"${linguas} "}${LANG//_/-}" + continue + else + local SLANG + 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 firefox-${PV}.tar.gz + + linguas + for X in ${linguas}; do + [[ ${X} != en ]] && xpi_unpack firefox-${X}-${PV}.xpi + done +} + +src_install() { + declare MOZILLA_FIVE_HOME=/opt/firefox + + # Install firefox in /opt + dodir ${MOZILLA_FIVE_HOME%/*} + touch ${S}/extensions/talkback@mozilla.org/chrome.manifest + mv ${S} ${D}${MOZILLA_FIVE_HOME} + + linguas + for X in ${linguas}; do + [[ ${X} != en ]] && xpi_install ${WORKDIR}/firefox-${X}-${PV} + done + + local LANG=${linguas%% *} + if [[ ${LANG} != "" && ${LANG} != "en" ]]; then + ebegin "Setting default locale to ${LANG}" + sed -i "s:pref(\"general.useragent.locale\", \"en-US\"):pref(\"general.useragent.locale\", \"${LANG}\"):" \ + ${D}${MOZILLA_FIVE_HOME}/defaults/pref/firefox.js \ + ${D}${MOZILLA_FIVE_HOME}/defaults/pref/firefox-l10n.js + eend $? || die "sed failed to change locale" + fi + + # Create /usr/bin/firefox-bin + install_mozilla_launcher_stub firefox-bin ${MOZILLA_FIVE_HOME} + + # Install icon and .desktop for menu entry + insinto /usr/share/pixmaps + doins ${FILESDIR}/icon/mozillafirefox-bin-icon.png + insinto /usr/share/applications + doins ${FILESDIR}/icon/mozillafirefox-bin.desktop + + # revdep-rebuild entry + insinto /etc/revdep-rebuild + doins ${FILESDIR}/10firefox-bin +} + +pkg_preinst() { + declare MOZILLA_FIVE_HOME=/opt/firefox + + # Remove entire installed instance to prevent all kinds of + # problems... see bug 44772 for example + rm -rf ${ROOT}${MOZILLA_FIVE_HOME} +} + +pkg_postinst() { + if use amd64; then + echo + einfo "NB: You just installed a 32-bit firefox" + fi + + update_mozilla_launcher_symlinks +} + +pkg_postrm() { + update_mozilla_launcher_symlinks +} |