From d7f2ad013ff8203ab175d0958e00b8f578b31bb1 Mon Sep 17 00:00:00 2001 From: wbrana Date: Fri, 12 Apr 2013 12:25:53 +0200 Subject: [www-client/firefox-bin] version bump to 20.0.1 --- www-client/firefox-bin/Manifest | 4 +- .../firefox-bin/firefox-bin-20.0-r131.ebuild | 133 --------------------- .../firefox-bin/firefox-bin-20.0.1-r131.ebuild | 133 +++++++++++++++++++++ 3 files changed, 135 insertions(+), 135 deletions(-) delete mode 100644 www-client/firefox-bin/firefox-bin-20.0-r131.ebuild create mode 100644 www-client/firefox-bin/firefox-bin-20.0.1-r131.ebuild diff --git a/www-client/firefox-bin/Manifest b/www-client/firefox-bin/Manifest index 82dfa84..7259614 100644 --- a/www-client/firefox-bin/Manifest +++ b/www-client/firefox-bin/Manifest @@ -1,5 +1,5 @@ AUX 10firefox-bin 32 SHA256 3163273068698dfc7da0a2edf8e558bb31d30eece410960672674a0eb019dc08 SHA512 24f2c370316540b70b2053e2ac0c8ca67714c928d570c9df9dbeb3b179f29b78e7f6dbdad6e452ef312b796f68f4d7105c92f027e75a56f07084ea9ccb58ab69 WHIRLPOOL ad74d82fb1c9c17cc7b7a5a59dd2a27e0fba26c551cc3127066ddda0b9298a37a14bbaf0a3c4c4fce45aed82e7334a0458851c032fcafdc3fb51eca27d550acc AUX firefox-bin-prefs.js 305 SHA256 786fbfc99425ed9ba32d3e99af6b482226539a86e762197cc10e2b491c7b9d72 SHA512 ef65b9a24f22cf04def4962721056869392dddabdac80e6f9cd92c57d58174667475ae55d83fa43603e93dcb1745568d82bcad8c810fb597dd51f2b5099bd69e WHIRLPOOL e19e8e1d4820b8356103ecd358f2e455ca00f6ed59eba6996a032cf97bcd5d3d1af9624e69eb68dbe3e2d4208e1d14e0355407194d9230098b1a118c213ef97d AUX firefox-bin.desktop 330 SHA256 5aa85d89a45e4d6706bc046173ff3be10d7af729b04b88f2378cdbda602b648a SHA512 b1838ba89c756e8af226503989d2689a78874af5575bb25a3184c4d09d3393bf3718e22cf4c03ff0ccb17bc04d4c00e84f5fb5500a4a88f4b921613b11d45491 WHIRLPOOL 5b8ed84befaeb6422e1f6154caf5b928e7fa699d6aea6a32160b60d6d030251fd36f46500b824f8746b39e5cec6b6be42bdfeb01f1a370bae7b85c0f28bc957c -DIST firefox-bin_x86_64-20.0.tar.bz2 25904145 SHA256 41380d8c8225bde7e895b245bdf48224f579da3a999f67fb23d97f22b603cc71 SHA512 8a8885a2e1de98b663fdc45eb4aba15ca1911d06de8bfb74bb72c85b21a864c22cdba3d05ad60db9231b6d11a27eee3834a5bbc5d01c8f2a91f4076db2cd4452 WHIRLPOOL 19af6643a6bd5826217158a26f449712bc2a3a54281c22e4bb3a97bcb31423eee35bac16b4a4f25d1f02610aa12c12c3573685d89a2e8d8cb5fdd374999968b2 -EBUILD firefox-bin-20.0-r131.ebuild 3572 SHA256 ad29665b9dfbd3ae666702202bd656e9a57e16813622474a4db0abeffbef8016 SHA512 3f1879a697895f5299a7b26a73f9f8e12b85c8f8d71003731a3856120e77898b28eec38becb46e5362698a38e919948bc0b4061f5a9ce8bd5788fb9a46f7b1fc WHIRLPOOL 48a4714c5aa4d83127cc7aebbbb36693085170830bc68ce95eedf8d04ed6824be52015d3d38e7a726034984b2364386d215dd775f7d3959ced1587dc6fee849e +DIST firefox-bin_x86_64-20.0.1.tar.bz2 25876545 SHA256 14777b93f43a42145ee25f3fafed8dbf455d1c711d9b0d8f91760d9576f0c6ef SHA512 09360fde7c4ce00006518fb2e67cd99f4ecd97a81027ecc9ed3544508402f4bf17bce77b36b064ed383603dd39b8c702733b263e5c3ad008a17eaf72bcbacd95 WHIRLPOOL 90590089b4b4a415937607964d53d3521f779e40de1a24e32701bd8a97cc181a7f641bea2c33649ed3679189310e3fc40dbe693fa92c9ea4c00c3ab487014e9d +EBUILD firefox-bin-20.0.1-r131.ebuild 3572 SHA256 ad29665b9dfbd3ae666702202bd656e9a57e16813622474a4db0abeffbef8016 SHA512 3f1879a697895f5299a7b26a73f9f8e12b85c8f8d71003731a3856120e77898b28eec38becb46e5362698a38e919948bc0b4061f5a9ce8bd5788fb9a46f7b1fc WHIRLPOOL 48a4714c5aa4d83127cc7aebbbb36693085170830bc68ce95eedf8d04ed6824be52015d3d38e7a726034984b2364386d215dd775f7d3959ced1587dc6fee849e diff --git a/www-client/firefox-bin/firefox-bin-20.0-r131.ebuild b/www-client/firefox-bin/firefox-bin-20.0-r131.ebuild deleted file mode 100644 index 7e067e9..0000000 --- a/www-client/firefox-bin/firefox-bin-20.0-r131.ebuild +++ /dev/null @@ -1,133 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/firefox-bin/firefox-bin-14.0.1.ebuild,v 1.2 2012/07/19 19:07:18 jdhore Exp $ - -EAPI="4" - -# Can be updated using scripts/get_langs.sh from mozilla overlay -MOZ_LANGS=(en en-US) - -# Convert the ebuild version to the upstream mozilla version, used by mozlinguas -MOZ_PV="${PV/_beta/b}" # Handle beta for SRC_URI -MOZ_PV="${MOZ_PV/_rc/rc}" # Handle rc for SRC_URI -MOZ_PN="${PN/-bin}" -MOZ_P="${MOZ_PN}-${MOZ_PV}" - -# Upstream ftp release URI that's used by mozlinguas.eclass -MOZ_FTP_URI="ftp://ftp.mozilla.org/pub/mozilla.org/${MOZ_PN}/releases/" - -inherit eutils multilib pax-utils fdo-mime gnome2-utils mozlinguas nsplugins - -DESCRIPTION="Firefox Web Browser" -SRC_URI="${SRC_URI} - ${MOZ_FTP_URI}/${MOZ_PV}/linux-x86_64/en-US/${MOZ_P}.tar.bz2 -> ${PN}_x86_64-${PV}.tar.bz2 - " -HOMEPAGE="http://www.mozilla.com/firefox" -RESTRICT="strip mirror binchecks" - -KEYWORDS="~amd64" -SLOT="0" -LICENSE="MPL-2.0 GPL-2 LGPL-2.1" -IUSE="startup-notification" - -DEPEND="app-arch/unzip" -RDEPEND="dev-libs/dbus-glib - virtual/freedesktop-icon-theme - x11-libs/libXrender - x11-libs/libXt - x11-libs/libXmu - - >=x11-libs/gtk+-2.2:2 - >=media-libs/alsa-lib-1.0.16 -" - -S="${WORKDIR}/${MOZ_PN}" - -src_unpack() { - unpack ${A} - - # Unpack language packs - mozlinguas_src_unpack -} - -src_install() { - declare MOZILLA_FIVE_HOME=/opt/${MOZ_PN} - - # Install icon and .desktop for menu entry - newicon "${S}"/chrome/icons/default/default48.png ${PN}-icon.png - domenu "${FILESDIR}"/${PN}.desktop - - # Add StartupNotify=true bug 237317 - if use startup-notification; then - echo "StartupNotify=true" >> "${D}"/usr/share/applications/${PN}.desktop - fi - - # Install firefox in /opt - dodir ${MOZILLA_FIVE_HOME%/*} - mv "${S}" "${D}"${MOZILLA_FIVE_HOME} || die - - # Fix prefs that make no sense for a system-wide install - insinto ${MOZILLA_FIVE_HOME}/defaults/pref/ - doins "${FILESDIR}"/${PN}-prefs.js || die - - # Install language packs - mozlinguas_src_install - - local LANG=${linguas%% *} - if [[ -n ${LANG} && ${LANG} != "en" ]]; then - elog "Setting default locale to ${LANG}" - echo "pref(\"general.useragent.locale\", \"${LANG}\");" \ - >> "${D}${MOZILLA_FIVE_HOME}"/defaults/pref/${PN}-prefs.js || \ - die "sed failed to change locale" - fi - - # Create /usr/bin/firefox-bin - dodir /usr/bin/ - cat <<-EOF >"${D}"/usr/bin/${PN} - #!/bin/sh - unset LD_PRELOAD - LD_LIBRARY_PATH="/opt/firefox/" - GTK_PATH=/usr/lib/gtk-2.0/ - exec /opt/${MOZ_PN}/${MOZ_PN} "\$@" - EOF - fperms 0755 /usr/bin/${PN} - - # revdep-rebuild entry - insinto /etc/revdep-rebuild - doins "${FILESDIR}"/10${PN} || die - - # Plugins dir - share_plugins_dir - - # Required in order to use plugins and even run firefox on hardened. - pax-mark mr "${ED}"/${MOZILLA_FIVE_HOME}/{firefox,firefox-bin,plugin-container} -} - -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postinst() { - 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 - # Drop requirement of curl not built with nss as it's not necessary anymore - #if has_version '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 - - # Update mimedb for the new .desktop file - fdo-mime_desktop_database_update - gnome2_icon_cache_update -} - -pkg_postrm() { - gnome2_icon_cache_update -} diff --git a/www-client/firefox-bin/firefox-bin-20.0.1-r131.ebuild b/www-client/firefox-bin/firefox-bin-20.0.1-r131.ebuild new file mode 100644 index 0000000..7e067e9 --- /dev/null +++ b/www-client/firefox-bin/firefox-bin-20.0.1-r131.ebuild @@ -0,0 +1,133 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-client/firefox-bin/firefox-bin-14.0.1.ebuild,v 1.2 2012/07/19 19:07:18 jdhore Exp $ + +EAPI="4" + +# Can be updated using scripts/get_langs.sh from mozilla overlay +MOZ_LANGS=(en en-US) + +# Convert the ebuild version to the upstream mozilla version, used by mozlinguas +MOZ_PV="${PV/_beta/b}" # Handle beta for SRC_URI +MOZ_PV="${MOZ_PV/_rc/rc}" # Handle rc for SRC_URI +MOZ_PN="${PN/-bin}" +MOZ_P="${MOZ_PN}-${MOZ_PV}" + +# Upstream ftp release URI that's used by mozlinguas.eclass +MOZ_FTP_URI="ftp://ftp.mozilla.org/pub/mozilla.org/${MOZ_PN}/releases/" + +inherit eutils multilib pax-utils fdo-mime gnome2-utils mozlinguas nsplugins + +DESCRIPTION="Firefox Web Browser" +SRC_URI="${SRC_URI} + ${MOZ_FTP_URI}/${MOZ_PV}/linux-x86_64/en-US/${MOZ_P}.tar.bz2 -> ${PN}_x86_64-${PV}.tar.bz2 + " +HOMEPAGE="http://www.mozilla.com/firefox" +RESTRICT="strip mirror binchecks" + +KEYWORDS="~amd64" +SLOT="0" +LICENSE="MPL-2.0 GPL-2 LGPL-2.1" +IUSE="startup-notification" + +DEPEND="app-arch/unzip" +RDEPEND="dev-libs/dbus-glib + virtual/freedesktop-icon-theme + x11-libs/libXrender + x11-libs/libXt + x11-libs/libXmu + + >=x11-libs/gtk+-2.2:2 + >=media-libs/alsa-lib-1.0.16 +" + +S="${WORKDIR}/${MOZ_PN}" + +src_unpack() { + unpack ${A} + + # Unpack language packs + mozlinguas_src_unpack +} + +src_install() { + declare MOZILLA_FIVE_HOME=/opt/${MOZ_PN} + + # Install icon and .desktop for menu entry + newicon "${S}"/chrome/icons/default/default48.png ${PN}-icon.png + domenu "${FILESDIR}"/${PN}.desktop + + # Add StartupNotify=true bug 237317 + if use startup-notification; then + echo "StartupNotify=true" >> "${D}"/usr/share/applications/${PN}.desktop + fi + + # Install firefox in /opt + dodir ${MOZILLA_FIVE_HOME%/*} + mv "${S}" "${D}"${MOZILLA_FIVE_HOME} || die + + # Fix prefs that make no sense for a system-wide install + insinto ${MOZILLA_FIVE_HOME}/defaults/pref/ + doins "${FILESDIR}"/${PN}-prefs.js || die + + # Install language packs + mozlinguas_src_install + + local LANG=${linguas%% *} + if [[ -n ${LANG} && ${LANG} != "en" ]]; then + elog "Setting default locale to ${LANG}" + echo "pref(\"general.useragent.locale\", \"${LANG}\");" \ + >> "${D}${MOZILLA_FIVE_HOME}"/defaults/pref/${PN}-prefs.js || \ + die "sed failed to change locale" + fi + + # Create /usr/bin/firefox-bin + dodir /usr/bin/ + cat <<-EOF >"${D}"/usr/bin/${PN} + #!/bin/sh + unset LD_PRELOAD + LD_LIBRARY_PATH="/opt/firefox/" + GTK_PATH=/usr/lib/gtk-2.0/ + exec /opt/${MOZ_PN}/${MOZ_PN} "\$@" + EOF + fperms 0755 /usr/bin/${PN} + + # revdep-rebuild entry + insinto /etc/revdep-rebuild + doins "${FILESDIR}"/10${PN} || die + + # Plugins dir + share_plugins_dir + + # Required in order to use plugins and even run firefox on hardened. + pax-mark mr "${ED}"/${MOZILLA_FIVE_HOME}/{firefox,firefox-bin,plugin-container} +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + 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 + # Drop requirement of curl not built with nss as it's not necessary anymore + #if has_version '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 + + # Update mimedb for the new .desktop file + fdo-mime_desktop_database_update + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} -- cgit v1.2.3-65-gdbad