From 567eba7430140f074c74fce2ce31b4ca14bb3e84 Mon Sep 17 00:00:00 2001 From: wbrana Date: Tue, 25 Jun 2013 12:00:48 +0200 Subject: [www-client/firefox-bin] version bump to 22.0 --- www-client/firefox-bin/Manifest | 4 +- .../firefox-bin/firefox-bin-21.0-r131.ebuild | 166 --------------------- .../firefox-bin/firefox-bin-22.0-r131.ebuild | 166 +++++++++++++++++++++ 3 files changed, 168 insertions(+), 168 deletions(-) delete mode 100644 www-client/firefox-bin/firefox-bin-21.0-r131.ebuild create mode 100644 www-client/firefox-bin/firefox-bin-22.0-r131.ebuild diff --git a/www-client/firefox-bin/Manifest b/www-client/firefox-bin/Manifest index c2507f7..1101a3e 100644 --- a/www-client/firefox-bin/Manifest +++ b/www-client/firefox-bin/Manifest @@ -3,5 +3,5 @@ AUX all-gentoo.js 282 SHA256 96e0361989f2fb457ac757c9c28345ca257ee5628a0ba7ee47c AUX firefox-bin-prefs.js 305 SHA256 786fbfc99425ed9ba32d3e99af6b482226539a86e762197cc10e2b491c7b9d72 SHA512 ef65b9a24f22cf04def4962721056869392dddabdac80e6f9cd92c57d58174667475ae55d83fa43603e93dcb1745568d82bcad8c810fb597dd51f2b5099bd69e WHIRLPOOL e19e8e1d4820b8356103ecd358f2e455ca00f6ed59eba6996a032cf97bcd5d3d1af9624e69eb68dbe3e2d4208e1d14e0355407194d9230098b1a118c213ef97d AUX firefox-bin.desktop 330 SHA256 5aa85d89a45e4d6706bc046173ff3be10d7af729b04b88f2378cdbda602b648a SHA512 b1838ba89c756e8af226503989d2689a78874af5575bb25a3184c4d09d3393bf3718e22cf4c03ff0ccb17bc04d4c00e84f5fb5500a4a88f4b921613b11d45491 WHIRLPOOL 5b8ed84befaeb6422e1f6154caf5b928e7fa699d6aea6a32160b60d6d030251fd36f46500b824f8746b39e5cec6b6be42bdfeb01f1a370bae7b85c0f28bc957c AUX local-settings.js 129 SHA256 1ee0688c9b936b7cc92dc445577bccdad3d30a8453c6c7bd391391b00a8b09a7 SHA512 2ae80875251d0ea322acb64370a0077b10f2e2c8bd258cd4792c6cf7152c0a6f8786353167d71fc99607b5f15142af28eb565483a3115b25c2f040c06319ba6c WHIRLPOOL c71ca7760db187726cebc006af3c538b6a41b5802959426d954e8c6d7b151b9d26c95e0bcb30b0c478c704591e6090c9055ef7f9e1a93f1d5e8ce05aec886f8b -DIST firefox-bin_x86_64-21.0.tar.bz2 27063471 SHA256 769b371b7fedd4e066306de35f263c66a96349908443781689a462685ca81c01 SHA512 003d9395d6db440fd6e94532047bad33203dd9ad563b7cf0889dc30f50aac1d41de5f3d84ad87ddc8c770813e1f3e096dda7c32ce57d7b0e420cd98ac24040f3 WHIRLPOOL dd1ea2abb8e4915c8860f0ade7eb98eb5b5984ba5afe4026b8aadb13468b2561525d026a14848bbbbc65e9471afe404a0c12b894c6422740fa2c96838ca8d027 -EBUILD firefox-bin-21.0-r131.ebuild 4689 SHA256 9bfbbd78c9f756c1edc503ccbd042e90a25dc2c4329d44589e024860e83a4b20 SHA512 aea6de84467f299d871eb28f2f84d74d6f9953218675fe8c3a02031771af25fcc25b7f4ce011703a6e1b623c38d6aa46865344a59be6b69d379b69cb282445db WHIRLPOOL 6995a0a1eeacefbd8a7f2e24ec637c9da4096df44254355c8245a0d95d2e421ec07e136b356d47a8e368fe1dcd4082450697642e60b03ce5eb93958456433152 +DIST firefox-bin_x86_64-22.0.tar.bz2 27841714 SHA256 88ca0c7ffcfea9c08f45f6102a19f04ec5bb7b926165c2f11e374676f21293e2 SHA512 f186a4e07ec8366a9cb487c6eb22cb83b6f5ecc4e788dc4df549ff60fe61d17374485a80e493d52125524ef2664657aadb485b72ad79692b8471c8d727d700be WHIRLPOOL e4de7668037f76288b66656d161d69274e99c89f32fa330a52589d36f968e299ece103c86e31ba481111971c4ecabffd5dd19b09ab498ecc19190e9ea08f9205 +EBUILD firefox-bin-22.0-r131.ebuild 4684 SHA256 f079651a5b2d492716626a7959a325dc07ca116893ea72d321152e84176724eb SHA512 282162824188f8ec7f644fa33c2e9d0233e3e74fb00fe1a68f0627acc82fa13055740daa48c6ba1f28006379f8b8c4d5f02c544c0c7ae4487f3155a48439fcaa WHIRLPOOL b4d165e93e89b16521f8be7a1ca49304af6b5359c0c48d093cad163fc80e7b98378cfe016927846f931548260289243b0df0510b7609f54f7173fb700703a362 diff --git a/www-client/firefox-bin/firefox-bin-21.0-r131.ebuild b/www-client/firefox-bin/firefox-bin-21.0-r131.ebuild deleted file mode 100644 index ef6b011..0000000 --- a/www-client/firefox-bin/firefox-bin-21.0-r131.ebuild +++ /dev/null @@ -1,166 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/firefox-bin/firefox-bin-20.0.1.ebuild,v 1.1 2013/04/12 22:42:02 zerochaos Exp $ - -EAPI="5" - -# Can be updated using scripts/get_langs.sh from mozilla overlay -MOZ_LANGS=(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 -# We don't use the http mirror because it deletes old tarballs. -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" -MOZ_FTP_URI="ftp://ftp.mozilla.org/pub/mozilla.org/${MOZ_PN}/releases" -SRC_URI="${SRC_URI} - amd64? ( ${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" - -KEYWORDS="-* ~amd64 ~x86" -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 - - !net-libs/libproxy[spidermonkey] -" - -QA_PREBUILT=" - opt/${MOZ_PN}/*.so - opt/${MOZ_PN}/${MOZ_PN} - opt/${MOZ_PN}/${PN} - opt/${MOZ_PN}/crashreporter - opt/${MOZ_PN}/webapprt-stub - opt/${MOZ_PN}/plugin-container - opt/${MOZ_PN}/mozilla-xremote-client - opt/${MOZ_PN}/updater -" - -S="${WORKDIR}/${MOZ_PN}" - -src_unpack() { - unpack ${A} - - # Unpack language packs - mozlinguas_src_unpack -} - -src_install() { - declare MOZILLA_FIVE_HOME=/opt/${MOZ_PN} - - local size sizes icon_path icon name - sizes="16 32 48" - icon_path="${S}/browser/chrome/icons/default" - icon="${PN}" - name="Mozilla Firefox" - - # Install icons and .desktop for menu entry - for size in ${sizes}; do - insinto "/usr/share/icons/hicolor/${size}x${size}/apps" - newins "${icon_path}/default${size}.png" "${icon}.png" || die - done - # The 128x128 icon has a different name - insinto "/usr/share/icons/hicolor/128x128/apps" - newins "${icon_path}/../../../icons/mozicon128.png" "${icon}.png" || die - # Install a 48x48 icon into /usr/share/pixmaps for legacy DEs - newicon "${S}"/browser/chrome/icons/default/default48.png ${PN}-icon.png - domenu "${FILESDIR}"/${PN}.desktop - sed -i -e "s:@NAME@:${name}:" -e "s:@ICON@:${icon}:" \ - "${ED}/usr/share/applications/${PN}.desktop" || die - - # 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}"/local-settings.js - insinto ${MOZILLA_FIVE_HOME}/ - doins "${FILESDIR}"/all-gentoo.js - - # 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-22.0-r131.ebuild b/www-client/firefox-bin/firefox-bin-22.0-r131.ebuild new file mode 100644 index 0000000..7cf0841 --- /dev/null +++ b/www-client/firefox-bin/firefox-bin-22.0-r131.ebuild @@ -0,0 +1,166 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-client/firefox-bin/firefox-bin-20.0.1.ebuild,v 1.1 2013/04/12 22:42:02 zerochaos Exp $ + +EAPI="5" + +# Can be updated using scripts/get_langs.sh from mozilla overlay +MOZ_LANGS=(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 +# We don't use the http mirror because it deletes old tarballs. +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" +MOZ_FTP_URI="ftp://ftp.mozilla.org/pub/mozilla.org/${MOZ_PN}/releases" +SRC_URI="${SRC_URI} + amd64? ( ${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" + +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 + + !net-libs/libproxy[spidermonkey] +" + +QA_PREBUILT=" + opt/${MOZ_PN}/*.so + opt/${MOZ_PN}/${MOZ_PN} + opt/${MOZ_PN}/${PN} + opt/${MOZ_PN}/crashreporter + opt/${MOZ_PN}/webapprt-stub + opt/${MOZ_PN}/plugin-container + opt/${MOZ_PN}/mozilla-xremote-client + opt/${MOZ_PN}/updater +" + +S="${WORKDIR}/${MOZ_PN}" + +src_unpack() { + unpack ${A} + + # Unpack language packs + mozlinguas_src_unpack +} + +src_install() { + declare MOZILLA_FIVE_HOME=/opt/${MOZ_PN} + + local size sizes icon_path icon name + sizes="16 32 48" + icon_path="${S}/browser/chrome/icons/default" + icon="${PN}" + name="Mozilla Firefox" + + # Install icons and .desktop for menu entry + for size in ${sizes}; do + insinto "/usr/share/icons/hicolor/${size}x${size}/apps" + newins "${icon_path}/default${size}.png" "${icon}.png" || die + done + # The 128x128 icon has a different name + insinto "/usr/share/icons/hicolor/128x128/apps" + newins "${icon_path}/../../../icons/mozicon128.png" "${icon}.png" || die + # Install a 48x48 icon into /usr/share/pixmaps for legacy DEs + newicon "${S}"/browser/chrome/icons/default/default48.png ${PN}-icon.png + domenu "${FILESDIR}"/${PN}.desktop + sed -i -e "s:@NAME@:${name}:" -e "s:@ICON@:${icon}:" \ + "${ED}/usr/share/applications/${PN}.desktop" || die + + # 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}"/local-settings.js + insinto ${MOZILLA_FIVE_HOME}/ + doins "${FILESDIR}"/all-gentoo.js + + # 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