diff options
author | Mike Gilbert <floppym@gentoo.org> | 2011-08-28 02:24:09 +0000 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2011-08-28 02:24:09 +0000 |
commit | 88a6fb43d1d3ce1101e6eb025fe319be9cdb18b7 (patch) | |
tree | 6ec071e509b2ad56de1a2a2d0d41ebd0d0ab472e /www-client | |
parent | Mask www-client/google-chrome-15 (dev channel) (diff) | |
download | historical-88a6fb43d1d3ce1101e6eb025fe319be9cdb18b7.tar.gz historical-88a6fb43d1d3ce1101e6eb025fe319be9cdb18b7.tar.bz2 historical-88a6fb43d1d3ce1101e6eb025fe319be9cdb18b7.zip |
New package for bug 272805. Many thanks to everyone who contributed.
Package-Manager: portage-2.2.0_alpha51/cvs/Linux x86_64
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/google-chrome/ChangeLog | 14 | ||||
-rw-r--r-- | www-client/google-chrome/Manifest | 21 | ||||
-rw-r--r-- | www-client/google-chrome/google-chrome-13.0.782.215_p97094.ebuild | 157 | ||||
-rw-r--r-- | www-client/google-chrome/google-chrome-14.0.835.109_beta97804.ebuild | 158 | ||||
-rw-r--r-- | www-client/google-chrome/google-chrome-15.0.861.0_alpha97996.ebuild | 158 | ||||
-rw-r--r-- | www-client/google-chrome/metadata.xml | 16 |
6 files changed, 524 insertions, 0 deletions
diff --git a/www-client/google-chrome/ChangeLog b/www-client/google-chrome/ChangeLog new file mode 100644 index 000000000000..267139a2bb71 --- /dev/null +++ b/www-client/google-chrome/ChangeLog @@ -0,0 +1,14 @@ +# ChangeLog for www-client/google-chrome +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-client/google-chrome/ChangeLog,v 1.1 2011/08/28 02:24:07 floppym Exp $ + +*google-chrome-15.0.861.0_alpha97996 (28 Aug 2011) +*google-chrome-14.0.835.109_beta97804 (28 Aug 2011) +*google-chrome-13.0.782.215_p97094 (28 Aug 2011) + + 28 Aug 2011; Mike Gilbert <floppym@gentoo.org> + +google-chrome-13.0.782.215_p97094.ebuild, + +google-chrome-14.0.835.109_beta97804.ebuild, + +google-chrome-15.0.861.0_alpha97996.ebuild, +metadata.xml: + New package for bug 272805. Many thanks to everyone who contributed. + diff --git a/www-client/google-chrome/Manifest b/www-client/google-chrome/Manifest new file mode 100644 index 000000000000..164e1081a12d --- /dev/null +++ b/www-client/google-chrome/Manifest @@ -0,0 +1,21 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +DIST google-chrome-beta_14.0.835.109-r97804_amd64.deb 24338916 RMD160 fdd184bf084810f5063deef513e5c78364a5b92d SHA1 6216697334658ab25d5090e6e53855378233ee08 SHA256 5b1c9deca3b70107145939ebdd5b01381fa18026eb3008c4b8d3ea15a5cf2436 +DIST google-chrome-beta_14.0.835.109-r97804_i386.deb 27426378 RMD160 44b23b99b2d66d9ab4ea889b59ca05a57a2551c3 SHA1 25a72c497bb77b2198abaccd10df5bc705a4e7a5 SHA256 27e1ae1ec3ae424b1ae1e53a2b8bd61703df8096ceb53f50eb1acbd48f2ac564 +DIST google-chrome-stable_13.0.782.215-r97094_amd64.deb 26012680 RMD160 2dfdfa16769754e4ff384384ad6899bd13378da2 SHA1 2c35c0c9f137acee8dc19e8afd5fea374b00ca57 SHA256 4a0de7408012fff940cf6562e778d376dab447930f73204a00c91155b038450f +DIST google-chrome-stable_13.0.782.215-r97094_i386.deb 25651340 RMD160 87518bcb8646ccb41330691e5206dac9acd49c7e SHA1 a6c79a507d33c65891f7ff6a99c3d87a623d6960 SHA256 bc8f807ac124d92605080d007bc836d7dbdcb93733cce6826d9d3c27724502d5 +DIST google-chrome-unstable_15.0.861.0-r97996_amd64.deb 24408366 RMD160 b0e4d8be3a679b074a133aa4431fa611ef2867ec SHA1 763572d16d55041fb4cc1f32d99d2b21f9ff967b SHA256 cba5895082f196670cde10cd072bfe8e85ab32156d2c3c71d69271004eb29a79 +DIST google-chrome-unstable_15.0.861.0-r97996_i386.deb 27475876 RMD160 ba9f887d6ef0110e0ebaf091f0629060101efff7 SHA1 56da4e4b58ecd65a6f33974b18f8ae812f24b00a SHA256 304d900887a3cdec8dd47dae5c9b0ce0e445ca010728d1ebb49d46143653d937 +EBUILD google-chrome-13.0.782.215_p97094.ebuild 3686 RMD160 78bd4d12b4873362ad6cd1fa3a019fa01139a16f SHA1 8c2f9acf54101eed952af848f71dcaf8280dcfc5 SHA256 6edd714f66bfe4c67d94dd2381c6ed818ac97146f3415c3827653cafb37e5f3b +EBUILD google-chrome-14.0.835.109_beta97804.ebuild 3741 RMD160 d6788c1b8b80c3f14b3d4f3f3c238de2b729970a SHA1 132d2b22b62269d59ff72f209ae4d58803dd84c5 SHA256 ba089ea56b28b84adf7aa87927bec55a7881024eb0e26f0f64655799f5ae89af +EBUILD google-chrome-15.0.861.0_alpha97996.ebuild 3745 RMD160 605889b76bd425e3851cf8d43560c1421f562101 SHA1 bcd347e07d62a77705c9b25a2067b83485cf6b79 SHA256 dfb2e9785a08c4c9dd483e67c9c59f4f7a2158d6b782b9f02b2b30c256af4014 +MISC ChangeLog 651 RMD160 ab95d965846ac112486309947951b2f4e74a5daa SHA1 cbbbd59233eb1598d0baea99f89f96e64767df7e SHA256 918447439aff95275577b4760da7f5cd1a2c0d94f9c8952c64aa215b5d78b9ac +MISC metadata.xml 509 RMD160 803dfaa243fa8fbe3ce9edadda3e6b0b4df31447 SHA1 a3ac1f3788d5b06ce1e539a3ddbcd257e522bad0 SHA256 86d9c8a7ac147a824676b82519447c0e4d3786abfd1491e929a4a2c7f03d6854 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.17 (GNU/Linux) + +iF4EAREIAAYFAk5ZptQACgkQC77qH+pIQ6SXEgEAmJiWqDO4BCFVxPfHgAiiw/o2 +/sK6YUwvNfispb/ukOYBAIOPoFfOKB3OKQnEXQ/6nZk6Tco0i4bcGR6mI18SOj7O +=hJ/1 +-----END PGP SIGNATURE----- diff --git a/www-client/google-chrome/google-chrome-13.0.782.215_p97094.ebuild b/www-client/google-chrome/google-chrome-13.0.782.215_p97094.ebuild new file mode 100644 index 000000000000..07e596b22329 --- /dev/null +++ b/www-client/google-chrome/google-chrome-13.0.782.215_p97094.ebuild @@ -0,0 +1,157 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-client/google-chrome/google-chrome-13.0.782.215_p97094.ebuild,v 1.1 2011/08/28 02:24:07 floppym Exp $ + +EAPI="4" + +inherit eutils fdo-mime gnome2-utils multilib pax-utils + +MY_PN="${PN}-stable" +MY_P="${MY_PN}_${PV/_p/-r}" + +DESCRIPTION="The web browser from Google" +HOMEPAGE="http://www.google.com/chrome" +SRC_BASE="http://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_" +SRC_URI="amd64? ( ${SRC_BASE}amd64.deb ) x86? ( ${SRC_BASE}i386.deb )" + +LICENSE="google-chrome" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="+plugins" +RESTRICT="mirror" + +# en_US is ommitted on purpose from the list below. It must always be available. +LANGS="am ar bg bn ca cs da de el en_GB es es_LA et fa fi fil fr gu he hi hr +hu id it ja kn ko lt lv ml mr nb nl pl pt_BR pt_PT ro ru sk sl sr sv sw ta te th +tr uk vi zh_CN zh_TW" +for lang in ${LANGS}; do + IUSE+=" linguas_${lang}" +done + +DEPEND="!app-arch/deb2targz" +RDEPEND="app-arch/bzip2 + app-misc/ca-certificates + media-libs/alsa-lib + dev-libs/atk + dev-libs/dbus-glib + dev-libs/expat + dev-libs/glib:2 + dev-libs/libxslt + dev-libs/nspr + dev-libs/nss + gnome-base/gconf:2 + media-libs/fontconfig + media-libs/freetype + net-print/cups + media-libs/libpng:1.2 + sys-apps/dbus + >=sys-devel/gcc-4.4.0[-nocxx] + sys-libs/zlib + x11-libs/cairo + x11-libs/gdk-pixbuf + x11-libs/gtk+:2 + x11-libs/libXScrnSaver + x11-libs/libX11 + x11-libs/libXrender + x11-libs/libXext + x11-libs/pango + x11-misc/xdg-utils" + +QA_PREBUILT="*" +S="${WORKDIR}" + +# Chromium uses different names for some langs, +# return Chromium name corresponding to a Gentoo lang. +chromium_lang() { + if [[ "$1" == "es_LA" ]]; then + echo "es_419" + else + echo "$1" + fi +} + +src_unpack() { + default + unpack ./data.tar.lzma || die +} + +src_prepare() { + CHROME_HOME="opt/google/chrome/" + + pax-mark m ${CHROME_HOME}chrome || die + rm -rf usr/share/menu || die + + # Support LINGUAS, bug #332751. + cd "${CHROME_HOME}locales" || die + local pak + for pak in *.pak; do + local pakbasename="$(basename ${pak})" + local pakname="${pakbasename%.pak}" + local langname="${pakname//-/_}" + + # Do not issue warning for en_US locale. This is the fallback + # locale so it should always be installed. + if [[ "${langname}" == "en_US" ]]; then + continue + fi + + local found=false + local lang + for lang in ${LANGS}; do + local crlang="$(chromium_lang ${lang})" + if [[ "${langname}" == "${crlang}" ]]; then + found=true + break + fi + done + if ! $found; then + ewarn "LINGUAS warning: no ${langname} in LANGS" + fi + done + local lang + for lang in ${LANGS}; do + local crlang="$(chromium_lang ${lang})" + local pakfile="${crlang//_/-}.pak" + if [ ! -f "${pakfile}" ]; then + ewarn "LINGUAS warning: no .pak file for ${lang} (${pakfile} not found)" + fi + if ! use linguas_${lang}; then + rm "${pakfile}" || die + fi + done + +} + +src_install() { + mv opt usr "${D}" || die + + chmod u+s "${D}${CHROME_HOME}chrome-sandbox" || die + + if use plugins ; then + local args='"$@"' + local plugins="/usr/$(get_libdir)/nsbrowser/plugins" + sed -e "s:${args}:--extra-plugin-dir=\"${plugins}\" \\0:" \ + -i "${D}${CHROME_HOME}google-chrome" || die + fi + + domenu "${D}${CHROME_HOME}google-chrome.desktop" || die + local size + for size in 16 22 24 32 48 128 256 ; do + insinto /usr/share/icons/hicolor/${size}x${size}/apps + newins "${D}${CHROME_HOME}product_logo_${size}.png" google-chrome.png + done +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + fdo-mime_desktop_database_update + gnome2_icon_cache_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update + gnome2_icon_cache_update +} diff --git a/www-client/google-chrome/google-chrome-14.0.835.109_beta97804.ebuild b/www-client/google-chrome/google-chrome-14.0.835.109_beta97804.ebuild new file mode 100644 index 000000000000..1909ac3722dc --- /dev/null +++ b/www-client/google-chrome/google-chrome-14.0.835.109_beta97804.ebuild @@ -0,0 +1,158 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-client/google-chrome/google-chrome-14.0.835.109_beta97804.ebuild,v 1.1 2011/08/28 02:24:09 floppym Exp $ + +EAPI="4" + +inherit eutils fdo-mime gnome2-utils multilib pax-utils + +MY_PN="${PN}-beta" +MY_P="${MY_PN}_${PV/_beta/-r}" + +DESCRIPTION="The web browser from Google" +HOMEPAGE="http://www.google.com/chrome" +SRC_BASE="http://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_" +SRC_URI="amd64? ( ${SRC_BASE}amd64.deb ) x86? ( ${SRC_BASE}i386.deb )" + +LICENSE="google-chrome" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="+plugins" +RESTRICT="mirror" + +# en_US is ommitted on purpose from the list below. It must always be available. +LANGS="am ar bg bn ca cs da de el en_GB es es_LA et fa fi fil fr gu he hi hr +hu id it ja kn ko lt lv ml mr nb nl pl pt_BR pt_PT ro ru sk sl sr sv sw ta te th +tr uk vi zh_CN zh_TW" +for lang in ${LANGS}; do + IUSE+=" linguas_${lang}" +done + +DEPEND="!app-arch/deb2targz" +RDEPEND="app-arch/bzip2 + app-misc/ca-certificates + media-libs/alsa-lib + dev-libs/atk + dev-libs/dbus-glib + dev-libs/expat + dev-libs/glib:2 + dev-libs/libxslt + dev-libs/nspr + dev-libs/nss + gnome-base/gconf:2 + media-libs/fontconfig + media-libs/freetype + net-print/cups + media-libs/libpng:1.2 + sys-apps/dbus + >=sys-devel/gcc-4.4.0[-nocxx] + sys-libs/zlib + x11-libs/cairo + x11-libs/gdk-pixbuf + x11-libs/gtk+:2 + x11-libs/libXScrnSaver + x11-libs/libX11 + x11-libs/libXrender + x11-libs/libXext + x11-libs/pango + x11-misc/xdg-utils" + +QA_PREBUILT="*" +S="${WORKDIR}" + +# Chromium uses different names for some langs, +# return Chromium name corresponding to a Gentoo lang. +chromium_lang() { + if [[ "$1" == "es_LA" ]]; then + echo "es_419" + else + echo "$1" + fi +} + +src_unpack() { + default + unpack ./data.tar.lzma || die +} + +src_prepare() { + CHROME_HOME="opt/google/chrome/" + + pax-mark m ${CHROME_HOME}chrome || die + rm -rf usr/share/menu || die + mv usr/share/doc/${PN} usr/share/doc/${PF} || die + + # Support LINGUAS, bug #332751. + cd "${CHROME_HOME}locales" || die + local pak + for pak in *.pak; do + local pakbasename="$(basename ${pak})" + local pakname="${pakbasename%.pak}" + local langname="${pakname//-/_}" + + # Do not issue warning for en_US locale. This is the fallback + # locale so it should always be installed. + if [[ "${langname}" == "en_US" ]]; then + continue + fi + + local found=false + local lang + for lang in ${LANGS}; do + local crlang="$(chromium_lang ${lang})" + if [[ "${langname}" == "${crlang}" ]]; then + found=true + break + fi + done + if ! $found; then + ewarn "LINGUAS warning: no ${langname} in LANGS" + fi + done + local lang + for lang in ${LANGS}; do + local crlang="$(chromium_lang ${lang})" + local pakfile="${crlang//_/-}.pak" + if [ ! -f "${pakfile}" ]; then + ewarn "LINGUAS warning: no .pak file for ${lang} (${pakfile} not found)" + fi + if ! use linguas_${lang}; then + rm "${pakfile}" || die + fi + done + +} + +src_install() { + mv opt usr "${D}" || die + + chmod u+s "${D}${CHROME_HOME}chrome-sandbox" || die + + if use plugins ; then + local args='"$@"' + local plugins="/usr/$(get_libdir)/nsbrowser/plugins" + sed -e "s:${args}:--extra-plugin-dir=\"${plugins}\" \\0:" \ + -i "${D}${CHROME_HOME}google-chrome" || die + fi + + domenu "${D}${CHROME_HOME}google-chrome.desktop" || die + local size + for size in 16 22 24 32 48 128 256 ; do + insinto /usr/share/icons/hicolor/${size}x${size}/apps + newins "${D}${CHROME_HOME}product_logo_${size}.png" google-chrome.png + done +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + fdo-mime_desktop_database_update + gnome2_icon_cache_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update + gnome2_icon_cache_update +} diff --git a/www-client/google-chrome/google-chrome-15.0.861.0_alpha97996.ebuild b/www-client/google-chrome/google-chrome-15.0.861.0_alpha97996.ebuild new file mode 100644 index 000000000000..afa0e87973df --- /dev/null +++ b/www-client/google-chrome/google-chrome-15.0.861.0_alpha97996.ebuild @@ -0,0 +1,158 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-client/google-chrome/google-chrome-15.0.861.0_alpha97996.ebuild,v 1.1 2011/08/28 02:24:07 floppym Exp $ + +EAPI="4" + +inherit eutils fdo-mime gnome2-utils multilib pax-utils + +MY_PN="${PN}-unstable" +MY_P="${MY_PN}_${PV/_alpha/-r}" + +DESCRIPTION="The web browser from Google" +HOMEPAGE="http://www.google.com/chrome" +SRC_BASE="http://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_" +SRC_URI="amd64? ( ${SRC_BASE}amd64.deb ) x86? ( ${SRC_BASE}i386.deb )" + +LICENSE="google-chrome" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="+plugins" +RESTRICT="mirror" + +# en_US is ommitted on purpose from the list below. It must always be available. +LANGS="am ar bg bn ca cs da de el en_GB es es_LA et fa fi fil fr gu he hi hr +hu id it ja kn ko lt lv ml mr nb nl pl pt_BR pt_PT ro ru sk sl sr sv sw ta te th +tr uk vi zh_CN zh_TW" +for lang in ${LANGS}; do + IUSE+=" linguas_${lang}" +done + +DEPEND="!app-arch/deb2targz" +RDEPEND="app-arch/bzip2 + app-misc/ca-certificates + media-libs/alsa-lib + dev-libs/atk + dev-libs/dbus-glib + dev-libs/expat + dev-libs/glib:2 + dev-libs/libxslt + dev-libs/nspr + dev-libs/nss + gnome-base/gconf:2 + media-libs/fontconfig + media-libs/freetype + net-print/cups + media-libs/libpng:1.2 + sys-apps/dbus + >=sys-devel/gcc-4.4.0[-nocxx] + sys-libs/zlib + x11-libs/cairo + x11-libs/gdk-pixbuf + x11-libs/gtk+:2 + x11-libs/libXScrnSaver + x11-libs/libX11 + x11-libs/libXrender + x11-libs/libXext + x11-libs/pango + x11-misc/xdg-utils" + +QA_PREBUILT="*" +S="${WORKDIR}" + +# Chromium uses different names for some langs, +# return Chromium name corresponding to a Gentoo lang. +chromium_lang() { + if [[ "$1" == "es_LA" ]]; then + echo "es_419" + else + echo "$1" + fi +} + +src_unpack() { + default + unpack ./data.tar.lzma || die +} + +src_prepare() { + CHROME_HOME="opt/google/chrome/" + + pax-mark m ${CHROME_HOME}chrome || die + rm -rf usr/share/menu || die + mv usr/share/doc/${PN} usr/share/doc/${PF} || die + + # Support LINGUAS, bug #332751. + cd "${CHROME_HOME}locales" || die + local pak + for pak in *.pak; do + local pakbasename="$(basename ${pak})" + local pakname="${pakbasename%.pak}" + local langname="${pakname//-/_}" + + # Do not issue warning for en_US locale. This is the fallback + # locale so it should always be installed. + if [[ "${langname}" == "en_US" ]]; then + continue + fi + + local found=false + local lang + for lang in ${LANGS}; do + local crlang="$(chromium_lang ${lang})" + if [[ "${langname}" == "${crlang}" ]]; then + found=true + break + fi + done + if ! $found; then + ewarn "LINGUAS warning: no ${langname} in LANGS" + fi + done + local lang + for lang in ${LANGS}; do + local crlang="$(chromium_lang ${lang})" + local pakfile="${crlang//_/-}.pak" + if [ ! -f "${pakfile}" ]; then + ewarn "LINGUAS warning: no .pak file for ${lang} (${pakfile} not found)" + fi + if ! use linguas_${lang}; then + rm "${pakfile}" || die + fi + done + +} + +src_install() { + mv opt usr "${D}" || die + + chmod u+s "${D}${CHROME_HOME}chrome-sandbox" || die + + if use plugins ; then + local args='"$@"' + local plugins="/usr/$(get_libdir)/nsbrowser/plugins" + sed -e "s:${args}:--extra-plugin-dir=\"${plugins}\" \\0:" \ + -i "${D}${CHROME_HOME}google-chrome" || die + fi + + domenu "${D}${CHROME_HOME}google-chrome.desktop" || die + local size + for size in 16 22 24 32 48 128 256 ; do + insinto /usr/share/icons/hicolor/${size}x${size}/apps + newins "${D}${CHROME_HOME}product_logo_${size}.png" google-chrome.png + done +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + fdo-mime_desktop_database_update + gnome2_icon_cache_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update + gnome2_icon_cache_update +} diff --git a/www-client/google-chrome/metadata.xml b/www-client/google-chrome/metadata.xml new file mode 100644 index 000000000000..ffb2e5c10b03 --- /dev/null +++ b/www-client/google-chrome/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>no-herd</herd> + <maintainer> + <email>floppym@gentoo.org</email> + <name>Mike Gilbert</name> + </maintainer> + <longdescription> + Google Chrome is a browser that combines a minimal design with + sophisticated technology to make the web faster, safer, and easier. + </longdescription> + <use> + <flag name="plugins">Add system plugins path to launcher</flag> + </use> +</pkgmetadata> |