summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Hajdan <phajdan.jr@gentoo.org>2011-05-25 06:04:30 +0000
committerPaweł Hajdan <phajdan.jr@gentoo.org>2011-05-25 06:04:30 +0000
commit24a6b2436e63c68a8c83e0a558c7ee02502f6ede (patch)
treeca2d273852ac41db1c5f040f9fde5dc5e2aecfe0 /www-client/chromium
parentVersion bump and remove old (diff)
downloadhistorical-24a6b2436e63c68a8c83e0a558c7ee02502f6ede.tar.gz
historical-24a6b2436e63c68a8c83e0a558c7ee02502f6ede.tar.bz2
historical-24a6b2436e63c68a8c83e0a558c7ee02502f6ede.zip
Version bump for stable channel release.
Package-Manager: portage-2.1.9.42/cvs/Linux i686
Diffstat (limited to 'www-client/chromium')
-rw-r--r--www-client/chromium/ChangeLog8
-rw-r--r--www-client/chromium/Manifest10
-rw-r--r--www-client/chromium/chromium-11.0.696.71.ebuild336
3 files changed, 349 insertions, 5 deletions
diff --git a/www-client/chromium/ChangeLog b/www-client/chromium/ChangeLog
index 2e0c8cc2dce4..ea7586371662 100644
--- a/www-client/chromium/ChangeLog
+++ b/www-client/chromium/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for www-client/chromium
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/ChangeLog,v 1.367 2011/05/25 04:46:50 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/ChangeLog,v 1.368 2011/05/25 06:04:30 phajdan.jr Exp $
+
+*chromium-11.0.696.71 (25 May 2011)
+
+ 25 May 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org>
+ +chromium-11.0.696.71.ebuild:
+ Version bump for stable channel release.
25 May 2011; Markus Meier <maekke@gentoo.org> chromium-12.0.742.53.ebuild,
chromium-12.0.742.60.ebuild, chromium-13.0.767.1.ebuild,
diff --git a/www-client/chromium/Manifest b/www-client/chromium/Manifest
index d1a710154287..9df0483dfa21 100644
--- a/www-client/chromium/Manifest
+++ b/www-client/chromium/Manifest
@@ -11,22 +11,24 @@ AUX chromium-system-zlib-r0.patch 1318 RMD160 2debfc4f179a57119d5022305134307f4c
AUX chromium.xml 390 RMD160 6b2f901da76555a7112f71a6f9dae6e2e3307324 SHA1 81148a0b094bc697ff2c9d33efe976b1bffb72a3 SHA256 a81c6257346eaa4f6389fc9ea8834fd2dd3b006cf4e9e999028aca812d76fe9a
AUX dot-gclient 253 RMD160 a768770d8e6f5b73395451277beea1cc9240fc3a SHA1 3eaf2074da58cfe4f2af3d08f59b27a16fe13dad SHA256 8c5750251ff681044cc584ef3768fe39c56c7877ade5fb9107298734126e62cf
DIST chromium-11.0.696.68.tar.bz2 145325318 RMD160 93d1de5976c8ee4f05c8e8129ccbc20639df30fe SHA1 188124c0faae0073a2af70a0060abf2f4eaaa1f6 SHA256 e6e143415e3a1dc12722f41c747152435009a5a85e603caf61119edcf736e542
+DIST chromium-11.0.696.71.tar.bz2 145183334 RMD160 5cd5753ae72ea984004869686e921274cbcdfe9f SHA1 464a97e2c56a2e9a7b922512b64a99085fcfa876 SHA256 25bb23912506e43e32bc817e99f8276c36fa2c6e367ee5fc552a34081bdb0985
DIST chromium-12.0.742.53.tar.bz2 150946597 RMD160 9fedf96d58e6a3f027d1f5fdb2485fa9b55f75bb SHA1 a464d41e9c2bfae7d633d3a34c011731550af8cc SHA256 623dc514a08ac2bdbbb2271a94a612316ddef13f72dfef49b70ca3aad6d33644
DIST chromium-12.0.742.60.tar.bz2 150737814 RMD160 5b38871d64a8bd5045b5b65bdc99328c6350320f SHA1 4388807f97a91acaa80c0edee8108380bcfc4e51 SHA256 37f9f0a31b7f3e652186a05cdaad05d532f791c2048fbb3a0c23f34a4169905b
DIST chromium-13.0.767.1.tar.bz2 151086612 RMD160 bcbe8d4cf59a99457733fd582c69c5275115cb28 SHA1 2cfbb716d97a92371ddb1448833decc42128e3a5 SHA256 0185ff5fcc160abef1d8fd963f5e4b42d5ff3777f89b1064bf9430b4cd4d57c8
DIST chromium-13.0.772.0.tar.bz2 151228656 RMD160 e262ccac7adf9ecc43c5fef4c08a70c828c8ac43 SHA1 fb608e09454a06ded186e77a1a1cd50123535304 SHA256 b0e200badba8ffdf066c35a567f15baa1592946de1a62c1dcb708cdbdf30f2bf
EBUILD chromium-11.0.696.68.ebuild 10572 RMD160 35baff1d94d3df36cf5b5bec13338dd871b9ca80 SHA1 ffcffa5cb54d5d843dc78ec8ceed568f2b3f7364 SHA256 ec10d6904e7ffd103f9b34fcec045bc57a28efa8bef57098b6e18571621bade9
+EBUILD chromium-11.0.696.71.ebuild 10576 RMD160 fcbb3853e483405969f504908ff2bc20083cb802 SHA1 c4972f8b289d7ab3ab94266a865b624a844a9e0b SHA256 48bbebd8f29e2a8253c438f81bdfdc0cc7d7f5d00dfc6f8a4bdfb9d10b57488c
EBUILD chromium-12.0.742.53.ebuild 11561 RMD160 a5e25051c1e25c1d053a345676c024a0c5725f34 SHA1 38ada0a2dd56ac4b3c7c4700d7d47f637d57d922 SHA256 a63492a01d2df1332abe38a0292e4906ae0005b68e5e13b9fb6780c04c618254
EBUILD chromium-12.0.742.60.ebuild 11561 RMD160 d034650f7a32b433c99d0d066abe55ba0b08c23b SHA1 c1cb4926f37910f6f40c39bee5db4a40642704d3 SHA256 da4fec3b131eacc0b2639a4757085778c0ac797e713f4caf7fc8d1776d8c74fb
EBUILD chromium-13.0.767.1.ebuild 11460 RMD160 c928125a1e5da05e8a054211365d3761aaad3386 SHA1 b84445f269c491ca001c6712edfb481f075e6663 SHA256 6a5bcd2dd51ab600086649e581c0d3098de3aa11cfca6783260dd6a257f462c8
EBUILD chromium-13.0.772.0.ebuild 11446 RMD160 3d4fca25d93b42ca0bbcb95dbeb138be8cddc444 SHA1 2dcdd1b4b9efe0de9ba8181b512212ad8e2d7e36 SHA256 4a3f95d3d5c72fa8c46ad8f969563d6a595d14faca795cf59c44308d03973769
EBUILD chromium-9999-r1.ebuild 13490 RMD160 0324a1751e970e43ec15bb4cbc2b308b1c67b4f8 SHA1 51e898bbf4e57d2f9b50535156b0814b8a3663e6 SHA256 72c87c0e4014d5568a9c834f7c1eff3e61098d2f357bdd39bd3feb7bf2dd793d
-MISC ChangeLog 81705 RMD160 7ffb777fc4d1017dac87ebdcf4f09dd84f36c5c3 SHA1 88d72683a7544f6a3ab5dffb3670afa6ab2d27f2 SHA256 e463abc351971d9faa6d6ba57b8b3e781117911843551b6d89b7e0bd4ce233cc
+MISC ChangeLog 81877 RMD160 2a7d919392c12390de8d3e312752de88b5361b10 SHA1 7b1ff7543aaa769f34f1cd6ef08b73af5dcc0117 SHA256 56c8fb15b28870c072c450ce7dc863d3a5fb94fbd16bb484d827044c61d17e22
MISC metadata.xml 267 RMD160 3a166415fec415d539c1b7c32ed40b188488b9fb SHA1 5c3d71a9cea27175cbe8c98369b42b79c8643c6c SHA256 4e6afae33f60d6752cacf2785f7f9a396b8711cce605b73d0d752a4af7d01fc8
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk3cicgACgkQkKaRLQcq0GLoZgCgrpWsb4dGLmsASj0YtpDwOB2k
-SM0AnA5WoTptu+Q3AYh+xXQl2pT5gOlw
-=BjIC
+iEYEARECAAYFAk3cm/MACgkQuUQtlDBCeQKs+ACbBbjnKl1KjcHr9AnlYe3BzRyW
+BPQAnjMaN8Jj0FvR9EAofQ3KTX+pmLg0
+=Sg0K
-----END PGP SIGNATURE-----
diff --git a/www-client/chromium/chromium-11.0.696.71.ebuild b/www-client/chromium/chromium-11.0.696.71.ebuild
new file mode 100644
index 000000000000..4f72c045ff59
--- /dev/null
+++ b/www-client/chromium/chromium-11.0.696.71.ebuild
@@ -0,0 +1,336 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-11.0.696.71.ebuild,v 1.1 2011/05/25 06:04:30 phajdan.jr Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2:2.6"
+
+inherit eutils fdo-mime flag-o-matic gnome2-utils linux-info multilib \
+ pax-utils portability python toolchain-funcs versionator virtualx
+
+DESCRIPTION="Open-source version of Google Chrome web browser"
+HOMEPAGE="http://chromium.org/"
+SRC_URI="http://build.chromium.org/official/${P}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="cups gnome gnome-keyring"
+
+RDEPEND="app-arch/bzip2
+ dev-libs/dbus-glib
+ >=dev-libs/icu-4.4.1
+ >=dev-libs/libevent-1.4.13
+ dev-libs/libxml2[icu]
+ dev-libs/libxslt
+ >=dev-libs/nss-3.12.3
+ gnome? ( >=gnome-base/gconf-2.24.0 )
+ gnome-keyring? ( >=gnome-base/gnome-keyring-2.28.2 )
+ >=media-libs/alsa-lib-1.0.19
+ media-libs/flac
+ virtual/jpeg
+ media-libs/libpng
+ >=media-libs/libvpx-0.9.5
+ media-libs/speex
+ >=media-video/ffmpeg-0.6_p25767[threads]
+ cups? ( >=net-print/cups-1.3.11 )
+ sys-libs/pam
+ sys-libs/zlib
+ x11-libs/gtk+:2
+ x11-libs/libXScrnSaver
+ x11-libs/libXtst"
+DEPEND="${RDEPEND}
+ dev-lang/perl
+ >=dev-util/gperf-3.0.3
+ >=dev-util/pkgconfig-0.23
+ sys-devel/flex
+ >=sys-devel/make-3.81-r2"
+RDEPEND+="
+ x11-misc/xdg-utils
+ virtual/ttf-fonts"
+
+gyp_use() {
+ if [[ $# -lt 2 ]]; then
+ echo "!!! usage: gyp_use <USEFLAG> <GYPFLAG>" >&2
+ return 1
+ fi
+ if use "$1"; then echo "-D$2=1"; else echo "-D$2=0"; fi
+}
+
+egyp() {
+ set -- build/gyp_chromium --depth=. "${@}"
+ echo "${@}" >&2
+ "${@}"
+}
+
+pkg_setup() {
+ CHROMIUM_HOME="/usr/$(get_libdir)/chromium-browser"
+
+ # Make sure the build system will use the right tools, bug #340795.
+ tc-export AR CC CXX RANLIB
+
+ # Make sure the build system will use the right python, bug #344367.
+ python_set_active_version 2
+ python_pkg_setup
+
+ # Prevent user problems like bug #299777.
+ if ! grep -q /dev/shm <<< $(get_mounts); then
+ ewarn "You don't have tmpfs mounted at /dev/shm."
+ ewarn "${PN} may fail to start in that configuration."
+ ewarn "Please uncomment the /dev/shm entry in /etc/fstab,"
+ ewarn "and run 'mount /dev/shm'."
+ fi
+ if [ `stat -c %a /dev/shm` -ne 1777 ]; then
+ ewarn "/dev/shm does not have correct permissions."
+ ewarn "${PN} may fail to start in that configuration."
+ ewarn "Please run 'chmod 1777 /dev/shm'."
+ fi
+
+ # Prevent user problems like bug #348235.
+ eshopts_push -s extglob
+ if is-flagq '-g?(gdb)?([1-9])'; then
+ ewarn "You have enabled debug info (probably have -g or -ggdb in your \$C{,XX}FLAGS)."
+ ewarn "You may experience really long compilation times and/or increased memory usage."
+ ewarn "If compilation fails, please try removing -g{,gdb} before reporting a bug."
+ fi
+ eshopts_pop
+
+ # Warn if the kernel doesn't support features useful for sandboxing,
+ # bug #363907.
+ CONFIG_CHECK="~PID_NS ~NET_NS"
+ PID_NS_WARNING="PID (process id) namespaces are needed for sandboxing."
+ NET_NS_WARNING="Network namespaces are needed for sandboxing."
+ check_extra_config
+}
+
+src_prepare() {
+ # Make sure we don't use bundled libvpx headers.
+ epatch "${FILESDIR}/${PN}-system-vpx-r3.patch"
+
+ # Backport FFmpeg compatibility patch, bug #355405.
+ epatch "${FILESDIR}/${PN}-ffmpeg-build-r0.patch"
+
+ # Remove most bundled libraries. Some are still needed.
+ find third_party -type f \! -iname '*.gyp*' \
+ \! -path 'third_party/WebKit/*' \
+ \! -path 'third_party/angle/*' \
+ \! -path 'third_party/cacheinvalidation/*' \
+ \! -path 'third_party/cld/*' \
+ \! -path 'third_party/expat/*' \
+ \! -path 'third_party/ffmpeg/*' \
+ \! -path 'third_party/flac/flac.h' \
+ \! -path 'third_party/gpsd/*' \
+ \! -path 'third_party/harfbuzz/*' \
+ \! -path 'third_party/hunspell/*' \
+ \! -path 'third_party/iccjpeg/*' \
+ \! -path 'third_party/launchpad_translations/*' \
+ \! -path 'third_party/libjingle/*' \
+ \! -path 'third_party/libsrtp/*' \
+ \! -path 'third_party/libvpx/libvpx.h' \
+ \! -path 'third_party/libwebp/*' \
+ \! -path 'third_party/mesa/*' \
+ \! -path 'third_party/modp_b64/*' \
+ \! -path 'third_party/npapi/*' \
+ \! -path 'third_party/openmax/*' \
+ \! -path 'third_party/ots/*' \
+ \! -path 'third_party/protobuf/*' \
+ \! -path 'third_party/skia/*' \
+ \! -path 'third_party/speex/speex.h' \
+ \! -path 'third_party/sqlite/*' \
+ \! -path 'third_party/tcmalloc/*' \
+ \! -path 'third_party/undoview/*' \
+ \! -path 'third_party/zlib/contrib/minizip/*' \
+ -delete || die
+
+ # Make sure the build system will use the right python, bug #344367.
+ # Only convert directories that need it, to save time.
+ python_convert_shebangs -q -r 2 build tools
+}
+
+src_configure() {
+ local myconf=""
+
+ # Never tell the build system to "enable" SSE2, it has a few unexpected
+ # additions, bug #336871.
+ myconf+=" -Ddisable_sse2=1"
+
+ # Use system-provided libraries.
+ # TODO: use_system_hunspell (upstream changes needed).
+ # TODO: use_system_ssl (http://crbug.com/58087).
+ # TODO: use_system_sqlite (http://crbug.com/22208).
+ myconf+="
+ -Duse_system_bzip2=1
+ -Duse_system_flac=1
+ -Duse_system_ffmpeg=1
+ -Duse_system_icu=1
+ -Duse_system_libevent=1
+ -Duse_system_libjpeg=1
+ -Duse_system_libpng=1
+ -Duse_system_libxml=1
+ -Duse_system_speex=1
+ -Duse_system_vpx=1
+ -Duse_system_xdg_utils=1
+ -Duse_system_zlib=1"
+
+ # Optional dependencies.
+ myconf+="
+ $(gyp_use cups use_cups)
+ $(gyp_use gnome use_gconf)
+ $(gyp_use gnome-keyring use_gnome_keyring)
+ $(gyp_use gnome-keyring linux_link_gnome_keyring)"
+
+ # Enable sandbox.
+ myconf+="
+ -Dlinux_sandbox_path=${CHROMIUM_HOME}/chrome_sandbox
+ -Dlinux_sandbox_chrome_path=${CHROMIUM_HOME}/chrome"
+
+ if host-is-pax; then
+ # Prevent the build from failing (bug #301880). The performance
+ # difference is very small.
+ myconf+=" -Dv8_use_snapshot=0"
+ fi
+
+ # Our system ffmpeg should support more codecs than the bundled one
+ # for Chromium.
+ myconf+=" -Dproprietary_codecs=1"
+
+ # Use target arch detection logic from bug #296917.
+ local myarch="$ABI"
+ [[ $myarch = "" ]] && myarch="$ARCH"
+
+ if [[ $myarch = amd64 ]] ; then
+ myconf+=" -Dtarget_arch=x64"
+ elif [[ $myarch = x86 ]] ; then
+ myconf+=" -Dtarget_arch=ia32"
+ elif [[ $myarch = arm ]] ; then
+ # TODO: check this again after
+ # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39509 is fixed.
+ append-flags -fno-tree-sink
+
+ myconf+=" -Dtarget_arch=arm -Ddisable_nacl=1 -Dlinux_use_tcmalloc=0"
+ else
+ die "Failed to determine target arch, got '$myarch'."
+ fi
+
+ # Make sure that -Werror doesn't get added to CFLAGS by the build system.
+ # Depending on GCC version the warnings are different and we don't want
+ # the build to fail because of that.
+ myconf+=" -Dwerror="
+
+ # Avoid a build error with -Os, bug #352457.
+ replace-flags "-Os" "-O2"
+
+ egyp ${myconf} || die
+}
+
+src_compile() {
+ emake chrome chrome_sandbox BUILDTYPE=Release V=1 || die
+ pax-mark m out/Release/chrome
+ if use test; then
+ emake base_unittests BUILDTYPE=Release V=1 || die
+ pax-mark m out/Release/base_unittests
+ fi
+}
+
+src_test() {
+ # For more info see bug #350349.
+ local mylocale='en_US.utf8'
+ if ! locale -a | grep -q "$mylocale"; then
+ eerror "${PN} requires ${mylocale} locale for tests"
+ eerror "Please read the following guides for more information:"
+ eerror " http://www.gentoo.org/doc/en/guide-localization.xml"
+ eerror " http://www.gentoo.org/doc/en/utf-8.xml"
+ die "locale ${mylocale} is not supported"
+ fi
+
+ # For more info see bug #350347.
+ LC_ALL="${mylocale}" VIRTUALX_COMMAND=out/Release/base_unittests virtualmake \
+ '--gtest_filter=-ICUStringConversionsTest.*'
+}
+
+src_install() {
+ exeinto "${CHROMIUM_HOME}"
+ doexe out/Release/chrome
+ doexe out/Release/chrome_sandbox || die
+ fperms 4755 "${CHROMIUM_HOME}/chrome_sandbox"
+ newexe "${FILESDIR}"/chromium-launcher-r1.sh chromium-launcher.sh || die
+
+ # It is important that we name the target "chromium-browser",
+ # xdg-utils expect it; bug #355517.
+ dosym "${CHROMIUM_HOME}/chromium-launcher.sh" /usr/bin/chromium-browser || die
+ # keep the old symlink around for consistency
+ dosym "${CHROMIUM_HOME}/chromium-launcher.sh" /usr/bin/chromium || die
+
+ insinto "${CHROMIUM_HOME}"
+ doins out/Release/chrome.pak || die
+ doins out/Release/resources.pak || die
+
+ doins -r out/Release/locales || die
+ doins -r out/Release/resources || die
+
+ newman out/Release/chrome.1 chromium.1 || die
+ newman out/Release/chrome.1 chromium-browser.1 || die
+
+ # Chromium looks for these in its folder
+ # See media_posix.cc and base_paths_linux.cc
+ dosym /usr/$(get_libdir)/libavcodec.so.52 "${CHROMIUM_HOME}" || die
+ dosym /usr/$(get_libdir)/libavformat.so.52 "${CHROMIUM_HOME}" || die
+ dosym /usr/$(get_libdir)/libavutil.so.50 "${CHROMIUM_HOME}" || die
+
+ # Install icons and desktop entry.
+ for SIZE in 16 22 24 32 48 64 128 256 ; do
+ insinto /usr/share/icons/hicolor/${SIZE}x${SIZE}/apps
+ newins chrome/app/theme/chromium/product_logo_${SIZE}.png \
+ chromium-browser.png || die
+ done
+ local mime_types="text/html;text/xml;application/xhtml+xml;"
+ mime_types+="x-scheme-handler/http;x-scheme-handler/https;" # bug #360797
+ make_desktop_entry chromium-browser "Chromium" chromium-browser \
+ "Network;WebBrowser" "MimeType=${mime_types}"
+ sed -e "/^Exec/s/$/ %U/" -i "${D}"/usr/share/applications/*.desktop || die
+
+ # Install GNOME default application entry (bug #303100).
+ if use gnome; then
+ dodir /usr/share/gnome-control-center/default-apps || die
+ insinto /usr/share/gnome-control-center/default-apps
+ doins "${FILESDIR}"/chromium-browser.xml || die
+ fi
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+
+ # For more info see bug #292201, bug #352263, bug #361859.
+ elog
+ elog "Depending on your desktop environment, you may need"
+ elog "to install additional packages to get icons on the Downloads page."
+ elog
+ elog "For KDE, the required package is kde-base/oxygen-icons."
+ elog
+ elog "For other desktop environments, try one of the following:"
+ elog " - x11-themes/gnome-icon-theme"
+ elog " - x11-themes/tango-icon-theme"
+
+ # For more info see bug #359153.
+ elog
+ elog "Some web pages may require additional fonts to display properly."
+ elog "Try installing some of the following packages if some characters"
+ elog "are not displayed properly:"
+ elog " - media-fonts/arphicfonts"
+ elog " - media-fonts/bitstream-cyberbit"
+ elog " - media-fonts/droid"
+ elog " - media-fonts/ipamonafont"
+ elog " - media-fonts/ja-ipafonts"
+ elog " - media-fonts/takao-fonts"
+ elog " - media-fonts/wqy-microhei"
+ elog " - media-fonts/wqy-zenhei"
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}