summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Hajdan <phajdan.jr@gentoo.org>2010-02-16 12:21:56 +0000
committerPaweł Hajdan <phajdan.jr@gentoo.org>2010-02-16 12:21:56 +0000
commit62984fe4cc3c890207b527b6e97ad1753eb26426 (patch)
tree24173cafae9cf6b7d5da99601ecc7c2a01b4ef1d /www-client
parentUnmask Qt 4.6.2 after testing. (diff)
downloadhistorical-62984fe4cc3c890207b527b6e97ad1753eb26426.tar.gz
historical-62984fe4cc3c890207b527b6e97ad1753eb26426.tar.bz2
historical-62984fe4cc3c890207b527b6e97ad1753eb26426.zip
Add elog message encouraging users to read Gentoo meaningful backtrace
guide. Also remove old ebuilds. Package-Manager: portage-2.1.7.16/cvs/Linux i686
Diffstat (limited to 'www-client')
-rw-r--r--www-client/chromium/ChangeLog10
-rw-r--r--www-client/chromium/Manifest16
-rw-r--r--www-client/chromium/chromium-4.0.249.43.ebuild160
-rw-r--r--www-client/chromium/chromium-4.0.266.0-r1.ebuild177
-rw-r--r--www-client/chromium/chromium-4.0.302.2.ebuild170
-rw-r--r--www-client/chromium/chromium-5.0.307.5.ebuild6
-rw-r--r--www-client/chromium/chromium-5.0.307.7.ebuild6
-rw-r--r--www-client/chromium/chromium-5.0.322.2.ebuild6
-rw-r--r--www-client/chromium/chromium-9999.ebuild6
9 files changed, 34 insertions, 523 deletions
diff --git a/www-client/chromium/ChangeLog b/www-client/chromium/ChangeLog
index 033f3b42d391..1203f2339a1a 100644
--- a/www-client/chromium/ChangeLog
+++ b/www-client/chromium/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for www-client/chromium
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/ChangeLog,v 1.55 2010/02/15 11:04:26 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/ChangeLog,v 1.56 2010/02/16 12:21:55 phajdan.jr Exp $
+
+ 16 Feb 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org>
+ -chromium-4.0.249.43.ebuild, -chromium-4.0.266.0-r1.ebuild,
+ -chromium-4.0.302.2.ebuild, chromium-5.0.307.5.ebuild,
+ chromium-5.0.307.7.ebuild, chromium-5.0.322.2.ebuild,
+ chromium-9999.ebuild:
+ Add elog message encouraging users to read Gentoo meaningful backtrace
+ guide. Also remove old ebuilds.
*chromium-5.0.322.2 (15 Feb 2010)
diff --git a/www-client/chromium/Manifest b/www-client/chromium/Manifest
index 3f24dd94a42b..2bc1b38e0a77 100644
--- a/www-client/chromium/Manifest
+++ b/www-client/chromium/Manifest
@@ -3,18 +3,12 @@ AUX chromium-drop_sse2.patch 1560 RMD160 285a13c5a0d73b8cdadf8012adfb182a85392af
AUX chromium-launcher.sh 602 RMD160 e01a871fbe36224aa24b6c448cdad8eb3c3b3f22 SHA1 b35dae7032a2967a1be5814cb442a245a9a166e7 SHA256 a9aa84e924e592b85e58a3ce5b245f34637180000f52ef3b615dd4e9a56a602b
AUX chromium-use_system_libevent-1.4.13.patch 6919 RMD160 1417a38ad95afb61bf90ffab289caebb9de5dd81 SHA1 0337132b42377ccac9ce5b3f9270f26cab2666a7 SHA256 39878315ead10c3b08c5285c7a87a227280b6847d4342ec94c09ec8b8223effa
AUX chromium.xml 390 RMD160 6b2f901da76555a7112f71a6f9dae6e2e3307324 SHA1 81148a0b094bc697ff2c9d33efe976b1bffb72a3 SHA256 a81c6257346eaa4f6389fc9ea8834fd2dd3b006cf4e9e999028aca812d76fe9a
-DIST chromium-4.0.249.43.tar.bz2 140438366 RMD160 3a95c9ed343008245000fb5e691091ac033c2e55 SHA1 d98cb7787433446946601ed4ff4577d0b1e5f46b SHA256 ea6da2353a2c2a8eae3b13b9b86e44308ea6ae1f62b9594c346846f69fec25d1
-DIST chromium-4.0.266.0.tar.bz2 133383431 RMD160 ac2d6c2bdb12cae603c644c63f1b63ed82251994 SHA1 65a8e7496f26b6c1bf663199d77fe238418f8250 SHA256 df0bce0541041c6d22ff177b4ea9cfbeee0c18d0805f1d371e6442688f42577f
-DIST chromium-4.0.302.2.tar.bz2 153073484 RMD160 d275f05b7d628bb0948eb287a19eecde012b0127 SHA1 c9940df87f2f2941f28606fc57f764e165d36504 SHA256 5528e637e8521d01093d69f0e7e880dd898941616caa6d7a361d467031d0b62d
DIST chromium-5.0.307.5.tar.bz2 145158968 RMD160 c77fa169b0273c8bde1241db5dcb4e6d94becfd6 SHA1 e42adc860bac1d620b99756c8abb76857e5b2219 SHA256 e45e6c9d07dd8f1455fcf3e3f15a16db1bde712ee91d4ea3deb398625ebac36c
DIST chromium-5.0.307.7.tar.bz2 145158495 RMD160 b68ca5dbee16de30b4bd15b695eda60410258c12 SHA1 8bb917e5935080a45d9b6e22e2a5866a40777df7 SHA256 b7219454ff85459fd1d58555e06907726e02c5a956c95974c7af66bddf20b6c6
DIST chromium-5.0.322.2.tar.bz2 148065702 RMD160 b3b872533420657ef383a0d5e0f7cc4b09b891d3 SHA1 f8743f6c2bc1af5afd7a22f1ec66937bc4424f06 SHA256 5fc6aa8d74d38884c395a6cda54aa53328182485d2be38af8d8cd2faed7d5214
-EBUILD chromium-4.0.249.43.ebuild 4938 RMD160 12dc42a4796d04a4f2c9c98d52d3f4c82aaeff21 SHA1 e842abf254751ac47aa04da1909ad9d2fe791a01 SHA256 cc0a9534db659b221fcef0a548bc7c354c86fa696c103c99b13330f59c9255da
-EBUILD chromium-4.0.266.0-r1.ebuild 5642 RMD160 8794ac861beb6cd89844109628a63cd9ddf5c461 SHA1 f6f97acc4e708fd646cebcf31c42aeccb11adcf7 SHA256 be8fb21c30887e85eb60c5f2e0d1851644aa51f3a66ea966e986e37d7b625058
-EBUILD chromium-4.0.302.2.ebuild 5346 RMD160 d82058f9f43f9901bb2f61d9ad7904715c19170e SHA1 9ee2fe08ade38ad5bbc951271cbf784cb5267cc6 SHA256 424ecf7d98afb1ec7903e6d548941a85f19bea3eadfb156eadf0cdbe0ed1a841
-EBUILD chromium-5.0.307.5.ebuild 5608 RMD160 eabba61afe436f7f8c46af9a99668875d19806cb SHA1 035e099990a5ef44d6f4ce145f768d960c4adc6e SHA256 80a2bf898962a6f8679791fed4a282f443da3dd8f7c5d322cb14579e6cb263ef
-EBUILD chromium-5.0.307.7.ebuild 5606 RMD160 e4d862f5dcf5fa88f243336c5d1fc0a5ac4b9cee SHA1 a2a0fae20cfff86edc81a67781bffcbea94934d3 SHA256 dec8665dca640deaa289cbee7b4144ca925433dae4e44cd3cd73e039ff873b66
-EBUILD chromium-5.0.322.2.ebuild 5606 RMD160 ef218cf65bae2c3486ce4c8e54dd545680058369 SHA1 285c8e458077fd331ab733d80484d28fdc0e3169 SHA256 a6099ea9680fe79147849a18f868ace15dc88864c9dff46a0a5906412bc43b0b
-EBUILD chromium-9999.ebuild 7321 RMD160 d16f1ed7bcf60ddf812ea9101c6e9e2f647b0fbc SHA1 4459658865cffa338a0162fbd8e0b1697966b81b SHA256 c76e23b86ce6b782b776a45487fae1bb4e4865b66f3829d1a54cb17f352d641c
-MISC ChangeLog 12577 RMD160 ac417402614550133b64dc1df80f63c66b2c4c1a SHA1 f63d21fcd2814cc4021a94a54db1ee8cbed4496f SHA256 7f2970528e1df1626865fa795c2f0b5f63b2907229857ea0c150e44fea1bc425
+EBUILD chromium-5.0.307.5.ebuild 5786 RMD160 61a2bed81f5cc122a1e10899ab4c77d1564c8da1 SHA1 7c7a7e2d997904b37929359d121407e35b1bf7b3 SHA256 15450c87c1d59535cf6a911c4277b26f9c20c691fe2f3b69c05804a4cf48d3d1
+EBUILD chromium-5.0.307.7.ebuild 5786 RMD160 eb13f7869f316d923031521d813cd90889b29a0a SHA1 eff5b132de524a900615c002f4eef4666513ac39 SHA256 99f62591873eaccbd6988f0bae9e4dc84c2f86e2c2cb19a1b730ae2d2e2ed302
+EBUILD chromium-5.0.322.2.ebuild 5786 RMD160 346cb78e41e94f074e6723871c6275e82051cae0 SHA1 6baf02469f424e30a8aca09a67a4290070b010de SHA256 e8b012748e5de878b7dda23039f822b61d16090c68fc3313695c42d18c4418ae
+EBUILD chromium-9999.ebuild 7499 RMD160 6e98b0ad82861ce9188032d5df5b9c66a07190af SHA1 8e812e4cd8207e67321ab3d27033c0c6e6bb6336 SHA256 cc8ae6b02c59b98dc3c7ebe550fbc3863590ba2ce286e4629a92bd74e29b13ed
+MISC ChangeLog 12941 RMD160 40a4b6d6964c2e855076522d4f2d07ebd31b05b3 SHA1 c51c639894ef68737ba1b76edddbc5aac61a2b8e SHA256 ee2c8df693a24fa7ad86b7bdba080e4da4529676a0260ac877af5733fd624626
MISC metadata.xml 674 RMD160 5904280e3a216e0d322f1649e14f52f68cd00a39 SHA1 c2310be724a3345e36f644b53b8cfa02d3abdbed SHA256 e05422220666ef456f98ada2f42078b37400b538a452c1e3cee2945d7769dc5c
diff --git a/www-client/chromium/chromium-4.0.249.43.ebuild b/www-client/chromium/chromium-4.0.249.43.ebuild
deleted file mode 100644
index 45f791fd927d..000000000000
--- a/www-client/chromium/chromium-4.0.249.43.ebuild
+++ /dev/null
@@ -1,160 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-4.0.249.43.ebuild,v 1.9 2010/02/11 12:13:29 phajdan.jr Exp $
-
-EAPI="2"
-inherit eutils multilib portability toolchain-funcs
-
-DESCRIPTION="Open-source version of Google Chrome web browser"
-HOMEPAGE="http://chromium.org/"
-#SRC_URI="http://build.chromium.org/buildbot/archives/${P}.tar.bz2"
-SRC_URI="mirror://gentoo/${P}.tar.bz2"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+ffmpeg"
-
-RDEPEND="app-arch/bzip2
- dev-libs/libxml2
- dev-libs/libxslt
- >=dev-libs/nss-3.12.3
- >=gnome-base/gconf-2.24.0
- >=media-libs/alsa-lib-1.0.19
- media-libs/jpeg:0
- media-libs/libpng
- ffmpeg? ( >=media-video/ffmpeg-0.5_p19787 )
- sys-libs/zlib
- >=x11-libs/gtk+-2.14.7
- x11-misc/xdg-utils
- || (
- x11-themes/gnome-icon-theme
- x11-themes/tango-icon-theme
- x11-themes/xfce4-icon-theme
- )"
-# dev-db/sqlite:3
-DEPEND="${RDEPEND}
- >=dev-util/gperf-3.0.3
- >=dev-util/pkgconfig-0.23
- sys-devel/flex"
-
-pkg_setup() {
- # Prevent user problems like bug 299777.
- if ! grep -q /dev/shm <<< $(get_mounts); then
- eerror "You don't have tmpfs mounted at /dev/shm."
- eerror "${PN} isn't going to work in that configuration."
- eerror "Please uncomment the /dev/shm entry in /etc/fstab,"
- eerror "run 'mount /dev/shm' and try again."
- die "/dev/shm is not mounted"
- fi
- if [ `stat -c %a /dev/shm` -ne 1777 ]; then
- eerror "/dev/shm does not have correct permissions."
- eerror "${PN} isn't going to work in that configuration."
- eerror "Please run chmod 1777 /dev/shm and try again."
- die "/dev/shm has incorrect permissions"
- fi
-}
-
-src_prepare() {
- # Gentoo uses .kde4, not .kde
- sed -e 's/\.kde/.kde4/' -i net/proxy/proxy_config_service_linux.cc \
- || die "kde proxy sed failed"
- # Changing this in ~/include.gypi does not work
- sed -i "s/'-Werror'/''/" build/common.gypi || die "Werror sed failed"
- # Prevent automatic -march=pentium4 -msse2 enabling on x86, http://crbug.com/9007
- epatch "${FILESDIR}"/${PN}-drop_sse2.patch
-
- # Disable prefixing to allow linking against system zlib
- sed -e '/^#include "mozzconf.h"$/d' \
- -i third_party/{,WebKit/WebCore/platform/image-decoders}/zlib/zconf.h \
- || die "zlib sed failed"
-}
-
-src_configure() {
- export CHROMIUM_HOME=/usr/$(get_libdir)/chromium-browser
-
- # CFLAGS/LDFLAGS
- mkdir -p "${S}"/.gyp
- cat << EOF > "${S}"/.gyp/include.gypi
-{
- 'target_defaults': {
- 'cflags': [ '${CFLAGS// /','}' ],
- 'ldflags': [ '${LDFLAGS// /','}' ],
- },
-}
-EOF
- export HOME="${S}"
-
- # Configuration options (system libraries)
- local myconf="-Duse_system_zlib=1 -Duse_system_bzip2=1 -Duse_system_libevent=1 -Duse_system_libjpeg=1 -Duse_system_libpng=1 -Duse_system_libxml=1 -Duse_system_libxslt=1 -Duse_system_ffmpeg=1"
- # -Duse_system_sqlite=1 : http://crbug.com/22208
- # Others still bundled: icu (not possible?), hunspell (changes required for sandbox support)
-
- # Sandbox paths
- myconf="${myconf} -Dlinux_sandbox_path=${CHROMIUM_HOME}/chrome_sandbox -Dlinux_sandbox_chrome_path=${CHROMIUM_HOME}/chrome"
-
- if use amd64 ; then
- myconf="${myconf} -Dtarget_arch=x64"
- fi
-
- if use x86 ; then
- myconf="${myconf} -Dtarget_arch=ia32"
- fi
-
- if [[ "$(gcc-major-version)$(gcc-minor-version)" == "44" ]]; then
- myconf="${myconf} -Dno_strict_aliasing=1 -Dgcc_version=44"
- fi
-
- build/gyp_chromium -f make build/all.gyp ${myconf} --depth=. || die "gyp failed"
-}
-
-src_compile() {
- emake -r V=1 chrome chrome_sandbox BUILDTYPE=Release \
- rootdir="${S}" \
- CC=$(tc-getCC) \
- CXX=$(tc-getCXX) \
- AR=$(tc-getAR) \
- RANLIB=$(tc-getRANLIB) \
- || die "compilation failed"
-}
-
-src_install() {
- # Chromium does not have "install" target in the build system.
- export CHROMIUM_HOME=/usr/$(get_libdir)/chromium-browser
-
- dodir ${CHROMIUM_HOME}
-
- exeinto ${CHROMIUM_HOME}
- doexe out/Release/chrome
- doexe out/Release/chrome_sandbox
- fperms 4755 ${CHROMIUM_HOME}/chrome_sandbox
- doexe out/Release/xdg-settings
- doexe "${FILESDIR}"/chromium-launcher.sh
-
- insinto ${CHROMIUM_HOME}
- doins out/Release/chrome.pak
-
- doins -r out/Release/locales
- doins -r out/Release/resources
-
- # chrome.1 is for chromium --help
- newman out/Release/chrome.1 chrome.1
- newman out/Release/chrome.1 chromium.1
-
- if use ffmpeg; then
- # 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}
- dosym /usr/$(get_libdir)/libavformat.so.52 ${CHROMIUM_HOME}
- dosym /usr/$(get_libdir)/libavutil.so.50 ${CHROMIUM_HOME}
- fi
-
- # Plugins symlink
- dosym /usr/$(get_libdir)/nsbrowser/plugins ${CHROMIUM_HOME}/plugins
-
- newicon out/Release/product_logo_48.png ${PN}-browser.png
- dosym ${CHROMIUM_HOME}/chromium-launcher.sh /usr/bin/chromium
- make_desktop_entry chromium "Chromium" ${PN}-browser "Network;WebBrowser"
- sed -e "/^Exec/s/$/ %U/" -i "${D}"/usr/share/applications/*.desktop \
- || die "desktop file sed failed"
-}
diff --git a/www-client/chromium/chromium-4.0.266.0-r1.ebuild b/www-client/chromium/chromium-4.0.266.0-r1.ebuild
deleted file mode 100644
index e7e29a5a7e14..000000000000
--- a/www-client/chromium/chromium-4.0.266.0-r1.ebuild
+++ /dev/null
@@ -1,177 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-4.0.266.0-r1.ebuild,v 1.7 2010/02/11 12:13:29 phajdan.jr Exp $
-
-EAPI="2"
-inherit eutils multilib portability toolchain-funcs
-
-DESCRIPTION="Open-source version of Google Chrome web browser"
-HOMEPAGE="http://chromium.org/"
-#SRC_URI="http://build.chromium.org/buildbot/archives/${P}.tar.bz2"
-SRC_URI="mirror://gentoo/${P}.tar.bz2"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="+ffmpeg"
-
-RDEPEND="app-arch/bzip2
- >=dev-libs/libevent-1.4.13
- dev-libs/libxml2
- dev-libs/libxslt
- >=dev-libs/nss-3.12.3
- >=gnome-base/gconf-2.24.0
- >=media-libs/alsa-lib-1.0.19
- media-libs/jpeg:0
- media-libs/libpng
- ffmpeg? ( >=media-video/ffmpeg-0.5_p19787 )
- sys-libs/zlib
- >=x11-libs/gtk+-2.14.7
- x11-misc/xdg-utils
- || (
- x11-themes/gnome-icon-theme
- x11-themes/tango-icon-theme
- x11-themes/xfce4-icon-theme
- )"
-# dev-db/sqlite:3
-DEPEND="${RDEPEND}
- >=dev-util/gperf-3.0.3
- >=dev-util/pkgconfig-0.23
- sys-devel/flex"
-
-pkg_setup() {
- # Prevent user problems like bug 299777.
- if ! grep -q /dev/shm <<< $(get_mounts); then
- eerror "You don't have tmpfs mounted at /dev/shm."
- eerror "${PN} isn't going to work in that configuration."
- eerror "Please uncomment the /dev/shm entry in /etc/fstab,"
- eerror "run 'mount /dev/shm' and try again."
- die "/dev/shm is not mounted"
- fi
- if [ `stat -c %a /dev/shm` -ne 1777 ]; then
- eerror "/dev/shm does not have correct permissions."
- eerror "${PN} isn't going to work in that configuration."
- eerror "Please run chmod 1777 /dev/shm and try again."
- die "/dev/shm has incorrect permissions"
- fi
-}
-
-src_prepare() {
- # Gentoo uses .kde4, not .kde
- # TODO: this does not work with kdeprefix, fixing http:/crbug.com/29927
- # would be better
- sed -e 's/\.kde/.kde4/' -i net/proxy/proxy_config_service_linux.cc \
- || die "kde proxy sed failed"
- # Changing this in ~/include.gypi does not work
- sed -i "s/'-Werror'/''/" build/common.gypi || die "Werror sed failed"
- # Prevent automatic -march=pentium4 -msse2 enabling on x86, http://crbug.com/9007
- epatch "${FILESDIR}"/${PN}-drop_sse2.patch
- # Add configuration flag to use system libevent
- epatch "${FILESDIR}"/${PN}-use_system_libevent-1.4.13.patch
- # Allow use of MP3/MPEG-4 audio/video tags with our system ffmpeg
- epatch "${FILESDIR}"/${PN}-20100122-ubuntu-html5-video-mimetypes.patch
-
- # Disable prefixing to allow linking against system zlib
- sed -e '/^#include "mozzconf.h"$/d' \
- -i third_party/{,WebKit/WebCore/platform/image-decoders}/zlib/zconf.h \
- || die "zlib sed failed"
-}
-
-src_configure() {
- export CHROMIUM_HOME=/usr/$(get_libdir)/chromium-browser
-
- # CFLAGS/LDFLAGS
- mkdir -p "${S}"/.gyp
- cat << EOF > "${S}"/.gyp/include.gypi
-{
- 'target_defaults': {
- 'cflags': [ '${CFLAGS// /','}' ],
- 'ldflags': [ '${LDFLAGS// /','}' ],
- },
-}
-EOF
- export HOME="${S}"
-
- # Configuration options (system libraries)
- local myconf="-Duse_system_zlib=1 -Duse_system_bzip2=1 -Duse_system_libevent=1 -Duse_system_libjpeg=1 -Duse_system_libpng=1 -Duse_system_libxml=1 -Duse_system_libxslt=1 -Duse_system_ffmpeg=1"
- # -Duse_system_sqlite=1 : http://crbug.com/22208
- # Others still bundled: icu (not possible?), hunspell (changes required for sandbox support)
-
- # Sandbox paths
- myconf="${myconf} -Dlinux_sandbox_path=${CHROMIUM_HOME}/chrome_sandbox -Dlinux_sandbox_chrome_path=${CHROMIUM_HOME}/chrome"
-
- if use amd64 ; then
- myconf="${myconf} -Dtarget_arch=x64"
- fi
-
- if use x86 ; then
- myconf="${myconf} -Dtarget_arch=ia32"
- fi
-
- if use arm; then
- myconf="${myconf} -Dtarget_arch=arm -Ddisable_nacl=1 -Dv8_use_snapshot=false -Dlinux_use_tcmalloc=0"
- fi
-
- if [[ "$(gcc-major-version)$(gcc-minor-version)" == "44" ]]; then
- myconf="${myconf} -Dno_strict_aliasing=1 -Dgcc_version=44"
- fi
-
- build/gyp_chromium -f make build/all.gyp ${myconf} --depth=. || die "gyp failed"
-}
-
-src_compile() {
- emake -r V=1 chrome chrome_sandbox BUILDTYPE=Release \
- rootdir="${S}" \
- CC=$(tc-getCC) \
- CXX=$(tc-getCXX) \
- AR=$(tc-getAR) \
- RANLIB=$(tc-getRANLIB) \
- || die "compilation failed"
-}
-
-src_install() {
- # Chromium does not have "install" target in the build system.
- export CHROMIUM_HOME=/usr/$(get_libdir)/chromium-browser
-
- dodir ${CHROMIUM_HOME}
-
- exeinto ${CHROMIUM_HOME}
- doexe out/Release/chrome
- doexe out/Release/chrome_sandbox
- fperms 4755 ${CHROMIUM_HOME}/chrome_sandbox
- doexe out/Release/xdg-settings
- doexe "${FILESDIR}"/chromium-launcher.sh
-
- insinto ${CHROMIUM_HOME}
- doins out/Release/chrome.pak
-
- doins -r out/Release/locales
- doins -r out/Release/resources
-
- # chrome.1 is for chromium --help
- newman out/Release/chrome.1 chrome.1
- newman out/Release/chrome.1 chromium.1
-
- if use ffmpeg; then
- # 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}
- dosym /usr/$(get_libdir)/libavformat.so.52 ${CHROMIUM_HOME}
- dosym /usr/$(get_libdir)/libavutil.so.50 ${CHROMIUM_HOME}
- fi
-
- # Plugins symlink
- dosym /usr/$(get_libdir)/nsbrowser/plugins ${CHROMIUM_HOME}/plugins
-
- # Icon and desktop entry
- newicon out/Release/product_logo_48.png ${PN}-browser.png
- dosym ${CHROMIUM_HOME}/chromium-launcher.sh /usr/bin/chromium
- make_desktop_entry chromium "Chromium" ${PN}-browser "Network;WebBrowser"
- sed -e "/^Exec/s/$/ %U/" -i "${D}"/usr/share/applications/*.desktop \
- || die "desktop file sed failed"
- # Gnome default application entry
- dodir /usr/share/gnome-control-center/default-apps
- insinto /usr/share/gnome-control-center/default-apps
- doins "${FILESDIR}"/chromium.xml
-
-}
diff --git a/www-client/chromium/chromium-4.0.302.2.ebuild b/www-client/chromium/chromium-4.0.302.2.ebuild
deleted file mode 100644
index 238242a76a2c..000000000000
--- a/www-client/chromium/chromium-4.0.302.2.ebuild
+++ /dev/null
@@ -1,170 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-4.0.302.2.ebuild,v 1.8 2010/02/11 12:13:29 phajdan.jr Exp $
-
-EAPI="2"
-inherit eutils flag-o-matic multilib portability toolchain-funcs
-
-DESCRIPTION="Open-source version of Google Chrome web browser"
-HOMEPAGE="http://chromium.org/"
-#SRC_URI="http://build.chromium.org/buildbot/archives/${P}.tar.bz2"
-SRC_URI="mirror://gentoo/${P}.tar.bz2"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="+ffmpeg"
-
-RDEPEND="app-arch/bzip2
- >=dev-libs/libevent-1.4.13
- dev-libs/libxml2
- dev-libs/libxslt
- >=dev-libs/nss-3.12.3
- >=gnome-base/gconf-2.24.0
- >=media-libs/alsa-lib-1.0.19
- media-libs/jpeg:0
- media-libs/libpng
- ffmpeg? ( >=media-video/ffmpeg-0.5_p19787 )
- sys-libs/zlib
- >=x11-libs/gtk+-2.14.7
- x11-misc/xdg-utils
- || (
- x11-themes/gnome-icon-theme
- x11-themes/tango-icon-theme
- x11-themes/xfce4-icon-theme
- )"
-# dev-db/sqlite:3
-DEPEND="${RDEPEND}
- >=dev-util/gperf-3.0.3
- >=dev-util/pkgconfig-0.23
- sys-devel/flex"
-
-pkg_setup() {
- # Prevent user problems like bug 299777.
- if ! grep -q /dev/shm <<< $(get_mounts); then
- eerror "You don't have tmpfs mounted at /dev/shm."
- eerror "${PN} isn't going to work in that configuration."
- eerror "Please uncomment the /dev/shm entry in /etc/fstab,"
- eerror "run 'mount /dev/shm' and try again."
- die "/dev/shm is not mounted"
- fi
- if [ `stat -c %a /dev/shm` -ne 1777 ]; then
- eerror "/dev/shm does not have correct permissions."
- eerror "${PN} isn't going to work in that configuration."
- eerror "Please run chmod 1777 /dev/shm and try again."
- die "/dev/shm has incorrect permissions"
- fi
-}
-
-src_prepare() {
- # Gentoo uses .kde4, not .kde
- # TODO: this does not work with kdeprefix, fixing http:/crbug.com/29927
- # would be better
- sed -e 's/\.kde/.kde4/' -i net/proxy/proxy_config_service_linux.cc \
- || die "kde proxy sed failed"
- # Changing this in ~/include.gypi does not work
- sed -i "s/'-Werror'/''/" build/common.gypi || die "Werror sed failed"
- # Prevent automatic -march=pentium4 -msse2 enabling on x86, http://crbug.com/9007
- epatch "${FILESDIR}"/${PN}-drop_sse2.patch
- # Allow use of MP3/MPEG-4 audio/video tags with our system ffmpeg
- epatch "${FILESDIR}"/${PN}-20100122-ubuntu-html5-video-mimetypes.patch
-
- # Disable prefixing to allow linking against system zlib
- sed -e '/^#include "mozzconf.h"$/d' \
- -i third_party/{,WebKit/WebCore/platform/image-decoders}/zlib/zconf.h \
- || die "zlib sed failed"
-}
-
-src_configure() {
- export CHROMIUM_HOME=/usr/$(get_libdir)/chromium-browser
-
- # CFLAGS/LDFLAGS
- mkdir -p "${S}"/.gyp
- cat << EOF > "${S}"/.gyp/include.gypi
-{
- 'target_defaults': {
- 'cflags': [ '${CFLAGS// /','}' ],
- 'ldflags': [ '${LDFLAGS// /','}' ],
- },
-}
-EOF
- export HOME="${S}"
-
- # Configuration options (system libraries)
- local myconf="-Duse_system_zlib=1 -Duse_system_bzip2=1 -Duse_system_libevent=1 -Duse_system_libjpeg=1 -Duse_system_libpng=1 -Duse_system_libxml=1 -Duse_system_libxslt=1 -Duse_system_ffmpeg=1"
- # -Duse_system_sqlite=1 : http://crbug.com/22208
- # Others still bundled: icu (not possible?), hunspell (changes required for sandbox support)
-
- # Sandbox paths
- myconf="${myconf} -Dlinux_sandbox_path=${CHROMIUM_HOME}/chrome_sandbox -Dlinux_sandbox_chrome_path=${CHROMIUM_HOME}/chrome"
-
- if use amd64 ; then
- myconf="${myconf} -Dtarget_arch=x64"
- fi
-
- if use x86 ; then
- myconf="${myconf} -Dtarget_arch=ia32"
- fi
-
- if use arm; then
- myconf="${myconf} -Dtarget_arch=arm -Ddisable_nacl=1 -Dlinux_use_tcmalloc=0"
- append-flags -fno-tree-sink
- fi
-
- if [[ "$(gcc-major-version)$(gcc-minor-version)" == "44" ]]; then
- myconf="${myconf} -Dno_strict_aliasing=1 -Dgcc_version=44"
- fi
-
- build/gyp_chromium -f make build/all.gyp ${myconf} --depth=. || die "gyp failed"
-}
-
-src_compile() {
- emake -r V=1 chrome chrome_sandbox BUILDTYPE=Release \
- rootdir="${S}" \
- CC=$(tc-getCC) \
- CXX=$(tc-getCXX) \
- AR=$(tc-getAR) \
- RANLIB=$(tc-getRANLIB) \
- || die "compilation failed"
-}
-
-src_install() {
- # Chromium does not have "install" target in the build system.
- export CHROMIUM_HOME=/usr/$(get_libdir)/chromium-browser
-
- dodir ${CHROMIUM_HOME}
-
- exeinto ${CHROMIUM_HOME}
- doexe out/Release/chrome
- doexe out/Release/chrome_sandbox
- fperms 4755 ${CHROMIUM_HOME}/chrome_sandbox
- doexe out/Release/xdg-settings
- doexe "${FILESDIR}"/chromium-launcher.sh
-
- insinto ${CHROMIUM_HOME}
- doins out/Release/chrome.pak
-
- doins -r out/Release/locales
- doins -r out/Release/resources
-
- # chrome.1 is for chromium --help
- newman out/Release/chrome.1 chrome.1
- newman out/Release/chrome.1 chromium.1
-
- if use ffmpeg; then
- # 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}
- dosym /usr/$(get_libdir)/libavformat.so.52 ${CHROMIUM_HOME}
- dosym /usr/$(get_libdir)/libavutil.so.50 ${CHROMIUM_HOME}
- fi
-
- # Plugins symlink
- dosym /usr/$(get_libdir)/nsbrowser/plugins ${CHROMIUM_HOME}/plugins
-
- newicon out/Release/product_logo_48.png ${PN}-browser.png
- dosym ${CHROMIUM_HOME}/chromium-launcher.sh /usr/bin/chromium
- make_desktop_entry chromium "Chromium" ${PN}-browser "Network;WebBrowser"
- sed -e "/^Exec/s/$/ %U/" -i "${D}"/usr/share/applications/*.desktop \
- || die "desktop file sed failed"
-}
diff --git a/www-client/chromium/chromium-5.0.307.5.ebuild b/www-client/chromium/chromium-5.0.307.5.ebuild
index 2dd6c09d0c07..24d73f73cd4d 100644
--- a/www-client/chromium/chromium-5.0.307.5.ebuild
+++ b/www-client/chromium/chromium-5.0.307.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-5.0.307.5.ebuild,v 1.4 2010/02/11 12:13:29 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-5.0.307.5.ebuild,v 1.5 2010/02/16 12:21:55 phajdan.jr Exp $
EAPI="2"
inherit eutils flag-o-matic multilib portability toolchain-funcs
@@ -55,6 +55,10 @@ pkg_setup() {
eerror "Please run chmod 1777 /dev/shm and try again."
die "/dev/shm has incorrect permissions"
fi
+
+ elog "${PN} might crash occasionally. To get more useful backtraces"
+ elog "and submit better bug reports, please read"
+ elog "http://www.gentoo.org/proj/en/qa/backtraces.xml"
}
src_prepare() {
diff --git a/www-client/chromium/chromium-5.0.307.7.ebuild b/www-client/chromium/chromium-5.0.307.7.ebuild
index f849ff05f948..64920a0089b9 100644
--- a/www-client/chromium/chromium-5.0.307.7.ebuild
+++ b/www-client/chromium/chromium-5.0.307.7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-5.0.307.7.ebuild,v 1.1 2010/02/11 19:56:24 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-5.0.307.7.ebuild,v 1.2 2010/02/16 12:21:55 phajdan.jr Exp $
EAPI="2"
inherit eutils flag-o-matic multilib portability toolchain-funcs
@@ -55,6 +55,10 @@ pkg_setup() {
eerror "Please run chmod 1777 /dev/shm and try again."
die "/dev/shm has incorrect permissions"
fi
+
+ elog "${PN} might crash occasionally. To get more useful backtraces"
+ elog "and submit better bug reports, please read"
+ elog "http://www.gentoo.org/proj/en/qa/backtraces.xml"
}
src_prepare() {
diff --git a/www-client/chromium/chromium-5.0.322.2.ebuild b/www-client/chromium/chromium-5.0.322.2.ebuild
index 8c494def835a..588e72eb3be1 100644
--- a/www-client/chromium/chromium-5.0.322.2.ebuild
+++ b/www-client/chromium/chromium-5.0.322.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-5.0.322.2.ebuild,v 1.1 2010/02/15 11:04:26 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-5.0.322.2.ebuild,v 1.2 2010/02/16 12:21:55 phajdan.jr Exp $
EAPI="2"
inherit eutils flag-o-matic multilib portability toolchain-funcs
@@ -55,6 +55,10 @@ pkg_setup() {
eerror "Please run chmod 1777 /dev/shm and try again."
die "/dev/shm has incorrect permissions"
fi
+
+ elog "${PN} might crash occasionally. To get more useful backtraces"
+ elog "and submit better bug reports, please read"
+ elog "http://www.gentoo.org/proj/en/qa/backtraces.xml"
}
src_prepare() {
diff --git a/www-client/chromium/chromium-9999.ebuild b/www-client/chromium/chromium-9999.ebuild
index d12aae9b10bd..fa10b453050f 100644
--- a/www-client/chromium/chromium-9999.ebuild
+++ b/www-client/chromium/chromium-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-9999.ebuild,v 1.27 2010/02/11 12:13:29 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-9999.ebuild,v 1.28 2010/02/16 12:21:55 phajdan.jr Exp $
EAPI="2"
inherit eutils flag-o-matic multilib portability subversion toolchain-funcs
@@ -56,6 +56,10 @@ pkg_setup() {
eerror "Please run chmod 1777 /dev/shm and try again."
die "/dev/shm has incorrect permissions"
fi
+
+ elog "${PN} might crash occasionally. To get more useful backtraces"
+ elog "and submit better bug reports, please read"
+ elog "http://www.gentoo.org/proj/en/qa/backtraces.xml"
}
src_unpack() {