From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1KjWfb-0001eV-QQ for garchives@archives.gentoo.org; Sat, 27 Sep 2008 10:05:00 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 06D4CE059C; Sat, 27 Sep 2008 10:05:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id B1A37E059C for ; Sat, 27 Sep 2008 10:04:59 +0000 (UTC) Received: from stork.gentoo.org (stork.gentoo.org [64.127.104.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 6881E64517 for ; Sat, 27 Sep 2008 10:04:58 +0000 (UTC) Received: from armin76 by stork.gentoo.org with local (Exim 4.69) (envelope-from ) id 1KjWfZ-0001v2-6q for gentoo-commits@lists.gentoo.org; Sat, 27 Sep 2008 10:04:57 +0000 From: "Raul Porcel (armin76)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, armin76@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in www-client/mozilla-firefox-bin: ChangeLog mozilla-firefox-bin-3.0.3.ebuild mozilla-firefox-bin-3.0.2.ebuild X-VCS-Repository: gentoo-x86 X-VCS-Files: ChangeLog mozilla-firefox-bin-3.0.3.ebuild mozilla-firefox-bin-3.0.2.ebuild X-VCS-Directories: www-client/mozilla-firefox-bin X-VCS-Committer: armin76 X-VCS-Committer-Name: Raul Porcel Content-Type: text/plain; charset=utf8 Message-Id: Sender: Raul Porcel Date: Sat, 27 Sep 2008 10:04:57 +0000 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 141c5bfd-3e6a-41d0-8d68-8b50e650f385 X-Archives-Hash: 794fddb8d63c2fd477d5dc3cc3440b86 armin76 08/09/27 10:04:57 Modified: ChangeLog Added: mozilla-firefox-bin-3.0.3.ebuild Removed: mozilla-firefox-bin-3.0.2.ebuild Log: Version bump (Portage version: 2.1.4.4) Revision Changes Path 1.162 www-client/mozilla-firefox-bin/ChangeLog file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/mozilla= -firefox-bin/ChangeLog?rev=3D1.162&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/mozilla= -firefox-bin/ChangeLog?rev=3D1.162&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/mozilla= -firefox-bin/ChangeLog?r1=3D1.161&r2=3D1.162 Index: ChangeLog =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox-bin/ChangeLo= g,v retrieving revision 1.161 retrieving revision 1.162 diff -u -r1.161 -r1.162 --- ChangeLog 24 Sep 2008 12:19:38 -0000 1.161 +++ ChangeLog 27 Sep 2008 10:04:56 -0000 1.162 @@ -1,6 +1,12 @@ # ChangeLog for www-client/mozilla-firefox-bin # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox-bin/Change= Log,v 1.161 2008/09/24 12:19:38 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox-bin/Change= Log,v 1.162 2008/09/27 10:04:56 armin76 Exp $ + +*mozilla-firefox-bin-3.0.3 (27 Sep 2008) + + 27 Sep 2008; Ra=C3=BAl Porcel + -mozilla-firefox-bin-3.0.2.ebuild, +mozilla-firefox-bin-3.0.3.ebuild: + Version bump =20 *mozilla-firefox-bin-3.0.2 (24 Sep 2008) *mozilla-firefox-bin-2.0.0.17 (24 Sep 2008) 1.1 www-client/mozilla-firefox-bin/mozilla-firefox-bin-3= .0.3.ebuild file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/mozilla= -firefox-bin/mozilla-firefox-bin-3.0.3.ebuild?rev=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/mozilla= -firefox-bin/mozilla-firefox-bin-3.0.3.ebuild?rev=3D1.1&content-type=3Dte= xt/plain Index: mozilla-firefox-bin-3.0.3.ebuild =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # Copyright 1999-2008 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-3.0.3.ebuild,v 1.1 2008/09/27 10:04:56 armin76 Exp $ inherit eutils mozilla-launcher multilib mozextension LANGS=3D"af ar be bn-IN ca cs da de el en-GB en-US es-AR es-ES eu fi fr f= y-NL ga-IE gl gu-IN he hi-IN hu id is it ja ka kn ko ku lt mk mn mr nb-NO= nl nn-NO pa-IN pl pt-BR pt-PT ro ru si sk sl sq sr sv-SE th tr uk zh-CN = zh-TW" NOSHORTLANGS=3D"en-GB es-AR pt-BR zh-CN" DESCRIPTION=3D"Firefox Web Browser" SRC_URI=3D"http://releases.mozilla.org/pub/mozilla.org/firefox/releases/$= {PV}/linux-i686/en-US/firefox-${PV}.tar.bz2" HOMEPAGE=3D"http://www.mozilla.com/firefox" RESTRICT=3D"strip" KEYWORDS=3D"-* ~amd64 ~x86" SLOT=3D"0" LICENSE=3D"|| ( MPL-1.1 GPL-2 LGPL-2.1 )" IUSE=3D"restrict-javascript" for X in ${LANGS} ; do if [ "${X}" !=3D "en" ] && [ "${X}" !=3D "en-US" ]; then SRC_URI=3D"${SRC_URI} linguas_${X/-/_}? ( http://dev.gentoo.org/~armin76/dist/${P/-bin}-xpi/= ${P/-bin/}-${X}.xpi )" fi IUSE=3D"${IUSE} linguas_${X/-/_}" # english is handled internally if [ "${#X}" =3D=3D 5 ] && ! has ${X} ${NOSHORTLANGS}; then if [ "${X}" !=3D "en-US" ]; then SRC_URI=3D"${SRC_URI} linguas_${X%%-*}? ( http://dev.gentoo.org/~armin76/dist/${P/-bin}-xpi= /${P/-bin/}-${X}.xpi )" fi IUSE=3D"${IUSE} linguas_${X%%-*}" fi done DEPEND=3D"app-arch/unzip" RDEPEND=3D"x11-libs/libXrender x11-libs/libXt x11-libs/libXmu x86? ( >=3Dx11-libs/gtk+-2.2 ) amd64? ( >=3Dapp-emulation/emul-linux-x86-baselibs-1.0 >=3Dapp-emulation/emul-linux-x86-gtklibs-1.0 app-emulation/emul-linux-x86-compat )" PDEPEND=3D"restrict-javascript? ( x11-plugins/noscript )" S=3D"${WORKDIR}/firefox" pkg_setup() { # This is a binary x86 package =3D> ABI=3Dx86 # Please keep this in future versions # Danny van Dyk 2005/03/26 has_multilib_profile && ABI=3D"x86" } linguas() { local LANG SLANG for LANG in ${LINGUAS}; do if has ${LANG} en en_US; then has en ${linguas} || linguas=3D"${linguas:+"${linguas} "}en" continue elif has ${LANG} ${LANGS//-/_}; then has ${LANG//_/-} ${linguas} || linguas=3D"${linguas:+"${linguas} "}${L= ANG//_/-}" continue elif [[ " ${LANGS} " =3D=3D *" ${LANG}-"* ]]; then for X in ${LANGS}; do if [[ "${X}" =3D=3D "${LANG}-"* ]] && \ [[ " ${NOSHORTLANGS} " !=3D *" ${X} "* ]]; then has ${X} ${linguas} || linguas=3D"${linguas:+"${linguas} "}${X}" continue 2 fi done fi ewarn "Sorry, but mozilla-firefox does not support the ${LANG} LINGUA" done } src_unpack() { unpack firefox-${PV}.tar.bz2 linguas for X in ${linguas}; do [[ ${X} !=3D "en" ]] && xpi_unpack "${P/-bin/}-${X}.xpi" done if [[ ${linguas} !=3D "" && ${linguas} !=3D "en" ]]; then einfo "Selected language packs (first will be default): ${linguas}" fi } src_install() { declare MOZILLA_FIVE_HOME=3D/opt/firefox # Install icon and .desktop for menu entry newicon "${S}"/chrome/icons/default/default48.png ${PN}-icon.png domenu "${FILESDIR}"/icon/${PN}.desktop # Install firefox in /opt dodir ${MOZILLA_FIVE_HOME%/*} mv "${S}" "${D}"${MOZILLA_FIVE_HOME} linguas for X in ${linguas}; do [[ ${X} !=3D "en" ]] && xpi_install "${WORKDIR}"/"${P/-bin/}-${X}" done local LANG=3D${linguas%% *} if [[ -n ${LANG} && ${LANG} !=3D "en" ]]; then elog "Setting default locale to ${LANG}" dosed -e "s:general.useragent.locale\", \"en-US\":general.useragent.loc= ale\", \"${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-bin dodir /usr/bin/ cat <"${D}"/usr/bin/firefox-bin #!/bin/sh unset LD_PRELOAD exec /opt/firefox/firefox "\$@" EOF fperms 0755 /usr/bin/firefox-bin # revdep-rebuild entry insinto /etc/revdep-rebuild doins "${FILESDIR}"/10firefox-bin # install ldpath env.d doenvd "${FILESDIR}"/71firefox-bin rm -rf "${D}"${MOZILLA_FIVE_HOME}/plugins dosym /usr/"$(get_libdir)"/nsbrowser/plugins ${MOZILLA_FIVE_HOME}/plugin= s } pkg_preinst() { declare MOZILLA_FIVE_HOME=3D/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 x86; then if ! has_version 'gnome-base/gconf' || ! has_version 'gnome-base/orbit'= \ || ! has_version 'net-misc/curl'; then einfo einfo "For using the crashreporter, you need gnome-base/gconf," einfo "gnome-base/orbit and net-misc/curl emerged." einfo fi if has_version 'net-misc/curl' && built_with_use --missing \ true 'net-misc/curl' nss; then einfo einfo "Crashreporter won't be able to send reports" einfo "if you have curl emerged with the nss USE-flag" einfo fi else einfo einfo "NB: You just installed a 32-bit firefox" einfo einfo "Crashreporter won't work on amd64" einfo fi update_mozilla_launcher_symlinks } pkg_postrm() { update_mozilla_launcher_symlinks }