summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Hajdan <phajdan.jr@gentoo.org>2010-09-14 14:08:22 +0000
committerPaweł Hajdan <phajdan.jr@gentoo.org>2010-09-14 14:08:22 +0000
commite588e02a33e20a94655d7b8dc9a159bedeca6c5a (patch)
tree6ff0bdbda4e049f7b75952c32b41a731b9a0b102 /www-client/chromium
parentMask www-client/chromium dev channel release. (diff)
downloadhistorical-e588e02a33e20a94655d7b8dc9a159bedeca6c5a.tar.gz
historical-e588e02a33e20a94655d7b8dc9a159bedeca6c5a.tar.bz2
historical-e588e02a33e20a94655d7b8dc9a159bedeca6c5a.zip
Version bump for dev channel release. Now we use system libxml and libxslt again. Removed old version.
Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'www-client/chromium')
-rw-r--r--www-client/chromium/ChangeLog10
-rw-r--r--www-client/chromium/Manifest8
-rw-r--r--www-client/chromium/chromium-7.0.517.5.ebuild (renamed from www-client/chromium/chromium-7.0.503.1.ebuild)97
-rw-r--r--www-client/chromium/chromium-9999.ebuild10
4 files changed, 68 insertions, 57 deletions
diff --git a/www-client/chromium/ChangeLog b/www-client/chromium/ChangeLog
index d59042ec1503..0b09807cbdd0 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.173 2010/09/11 16:10:20 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/ChangeLog,v 1.174 2010/09/14 14:08:22 phajdan.jr Exp $
+
+*chromium-7.0.517.5 (14 Sep 2010)
+
+ 14 Sep 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org>
+ -chromium-7.0.503.1.ebuild, +chromium-7.0.517.5.ebuild,
+ chromium-9999.ebuild:
+ Version bump for dev channel release. Now we use system libxml and libxslt
+ again. Removed old version.
11 Sep 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org>
chromium-7.0.503.1-r1.ebuild, chromium-9999.ebuild:
diff --git a/www-client/chromium/Manifest b/www-client/chromium/Manifest
index a562c58e5655..8e1e8a2b302a 100644
--- a/www-client/chromium/Manifest
+++ b/www-client/chromium/Manifest
@@ -14,11 +14,11 @@ AUX chromium.xml 390 RMD160 6b2f901da76555a7112f71a6f9dae6e2e3307324 SHA1 81148a
DIST chromium-5.0.375.127.tar.bz2 163270882 RMD160 c1ebb4c214299de291067e6afd430207da1ca5c7 SHA1 a680d73fa6812660403c8127461d138b4617e2ef SHA256 b74cb0671d3a930bcccb177f072b5c6e4e51be46166b52e99a692bdeaffbc494
DIST chromium-6.0.472.55.tar.bz2 123969066 RMD160 9dca59cd3021200d80bdc561e319d24d51079d90 SHA1 7db6fa20d484e21c747bd19d09905ef868a788aa SHA256 dcef8a7ccfc18d1de280e27cda57f94fb7c01f942bfa5564e7c3533945973e7e
DIST chromium-7.0.503.1.tar.bz2 127233310 RMD160 4d99a7fb8a30e4c97b972f2685f759da5d23b1af SHA1 f7613b4a078ca0ed8924173d994700b6cbdb2210 SHA256 17acda2dd849d1dee5f575847880b4d2b1ff21dfe6f0ae5c3ec00d30e23afc09
+DIST chromium-7.0.517.5.tar.bz2 231754066 RMD160 bf509acf62b8bc17ce52d28bfd8f84f9a0458d2f SHA1 66cebd7354b32e6b23d7ecf6b5bd8bc6a819b86b SHA256 c81651852b6fe6e70004e7e52ee287b2913a0a4ef8794bfbce2a67e0886df6f4
EBUILD chromium-5.0.375.127.ebuild 5388 RMD160 8fbd9d9c5fd250c34264b0d1df47dae7032f6d73 SHA1 da2b6074d41cb77cc3714f7347268d036bfc2aa3 SHA256 a0d5a008691c43c773825310bb52872cbefe57e76e5cc986055e290d1a0029cb
EBUILD chromium-6.0.472.55.ebuild 6914 RMD160 67ee5fd12eec5cd1a9758ad714a4188e060ec67b SHA1 ce009a39f7f5975d2c8bf6b2646940b21dd09d9c SHA256 a49e89b4512ee9ff94bb81f2219846cfbedbe7202aea280f96f04e205bf09647
EBUILD chromium-7.0.503.1-r1.ebuild 6652 RMD160 738f3510cda8926a65e5730e3a48d86bf91edf13 SHA1 a37e00e2068e5f9cdc58a4cafbbe82b6ff12f1b8 SHA256 466b49a9610841e9e6d56b0afd4598205a3bd8606f76a9c3e94ca3f82d2576c6
-EBUILD chromium-7.0.503.1.ebuild 6742 RMD160 1539fd985f9d27d903c414a8708fee2b09d83fcf SHA1 1bbeb817ad466c4f4a1959582733dcb7773228f9 SHA256 f774b02cdf14391e2ff4d0412ad346767ec24102f5b2ef81c01187abe633812e
-EBUILD chromium-9999.ebuild 8406 RMD160 8f0c6c586353d4938b616903f63a6aa3a25b5ba0 SHA1 1ff8997988e9a69b846700dfac5703af9da4561e SHA256 bf0667b5a664e8a16b6be55b8213c1b532afaf2150a76e65bf774da601c8b532
-MISC ChangeLog 38227 RMD160 b6600f05c39be9d3168685cfd12f4a4e86d30c5e SHA1 71cdd76556a21d1e451f404bdfb6eecf742068cf SHA256 a48f0f68e253e4ccedfe0f31d21cdf91d4d3fa26ea8d127d8f4cabb533f088f4
-MISC chromium-9999.ebuild.orig 8654 RMD160 9dbaeb2c202838242ada66e2744c41df6398e0c3 SHA1 4326429a35ea360dc2bd3aab606d7f55987ed665 SHA256 bc3e99e15285fb2c3e13d487d8e63334dddfc89f6e4d71ecc9ca28f5f614075f
+EBUILD chromium-7.0.517.5.ebuild 6634 RMD160 a1644de208689e249b6d070a36625ded6a03f72d SHA1 929d9405865c35d674b199b45905e9558c194a49 SHA256 18282f118aeaade09e24c7b6111eb642310b733a0da01166fa6a8d25e0847455
+EBUILD chromium-9999.ebuild 8391 RMD160 989c626b39c7fafebfa5e6e0abebe71f284c87e0 SHA1 13a1606fb5e10c5e5a10304ba44626b2cc1f6176 SHA256 b917787bd50e1e8419adfabf008924eb17af95909a817ad1ccb9d73dc0644753
+MISC ChangeLog 38507 RMD160 917c60ae55965d2a8d2406ddf67d9d9e4274240b SHA1 b189a1264d40e2beec392a805df6b5682d268f9c SHA256 d1ea0c62f63c34d850c04238a324b67515c37dc31204f282e979f917ebee6657
MISC metadata.xml 378 RMD160 3309b2d1fb60157d0da1e22070ba3c448bd46b74 SHA1 0a8d13bb94e9836a14255b724b738c5df1f8ed7e SHA256 7d02fdca1b3c68d1202c720f1987713c28e38b1f9f3e30cbc3138c000572f08e
diff --git a/www-client/chromium/chromium-7.0.503.1.ebuild b/www-client/chromium/chromium-7.0.517.5.ebuild
index 615c806e3a30..c2f6fe0c41ca 100644
--- a/www-client/chromium/chromium-7.0.503.1.ebuild
+++ b/www-client/chromium/chromium-7.0.517.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-7.0.503.1.ebuild,v 1.2 2010/08/28 18:10:20 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-7.0.517.5.ebuild,v 1.1 2010/09/14 14:08:22 phajdan.jr Exp $
EAPI="2"
@@ -18,6 +18,8 @@ IUSE="cups gnome gnome-keyring sse2"
RDEPEND="app-arch/bzip2
>=dev-libs/icu-4.4.1
>=dev-libs/libevent-1.4.13
+ dev-libs/libxml2
+ dev-libs/libxslt
>=dev-libs/nss-3.12.3
>=gnome-base/gconf-2.24.0
gnome-keyring? ( >=gnome-base/gnome-keyring-2.28.2 )
@@ -32,7 +34,6 @@ DEPEND="${RDEPEND}
dev-lang/perl
>=dev-util/gperf-3.0.3
>=dev-util/pkgconfig-0.23
- >=gnome-base/gnome-keyring-2.28.2
sys-devel/flex"
RDEPEND+="
|| (
@@ -45,10 +46,6 @@ RDEPEND+="
x11-misc/xdg-utils
virtual/ttf-fonts"
-get_chromium_home() {
- echo "/usr/$(get_libdir)/chromium-browser"
-}
-
remove_bundled_lib() {
einfo "Removing bundled library $1 ..."
local out
@@ -59,10 +56,17 @@ remove_bundled_lib() {
fi
}
+pkg_setup() {
+ CHROMIUM_HOME="/usr/$(get_libdir)/chromium-browser"
+}
+
src_prepare() {
# Add Gentoo plugin paths.
epatch "${FILESDIR}"/${PN}-plugins-path-r0.patch
+ # Make compile-time dependency on gnome-keyring optional, bug #332411.
+ epatch "${FILESDIR}"/${PN}-gnome-keyring-r0.patch
+
remove_bundled_lib "third_party/bzip2"
remove_bundled_lib "third_party/codesighs"
remove_bundled_lib "third_party/cros"
@@ -72,14 +76,14 @@ src_prepare() {
remove_bundled_lib "third_party/libevent"
remove_bundled_lib "third_party/libjpeg"
remove_bundled_lib "third_party/libpng"
+ remove_bundled_lib "third_party/libxml"
+ remove_bundled_lib "third_party/libxslt"
remove_bundled_lib "third_party/lzma_sdk"
remove_bundled_lib "third_party/molokocacao"
remove_bundled_lib "third_party/ocmock"
remove_bundled_lib "third_party/pyftpdlib"
remove_bundled_lib "third_party/simplejson"
remove_bundled_lib "third_party/tlslite"
- # TODO: also remove third_party/libxml and third_party/libxslt when
- # http://crbug.com/29333 is fixed.
# TODO: also remove third_party/zlib. For now the compilation fails if we
# remove it (minizip-related).
}
@@ -89,73 +93,73 @@ src_configure() {
# Make it possible to build chromium on non-sse2 systems.
if use sse2; then
- myconf="${myconf} -Ddisable_sse2=0"
+ myconf+=" -Ddisable_sse2=0"
else
- myconf="${myconf} -Ddisable_sse2=1"
+ myconf+=" -Ddisable_sse2=1"
fi
# Use system-provided libraries.
# TODO: use_system_ffmpeg (http://crbug.com/50678).
- # TODO: use_system_libxml (http://crbug.com/29333).
# TODO: use_system_sqlite (http://crbug.com/22208).
# TODO: use_system_hunspell (upstream changes needed).
# TODO: use_system_ssl when we have a recent enough system NSS.
- myconf="${myconf}
+ myconf+="
-Duse_system_bzip2=1
-Duse_system_icu=1
-Duse_system_libevent=1
-Duse_system_libjpeg=1
-Duse_system_libpng=1
+ -Duse_system_libxml=1
-Duse_system_zlib=1"
# The dependency on cups is optional, see bug #324105.
if use cups; then
- myconf="${myconf} -Duse_cups=1"
+ myconf+=" -Duse_cups=1"
else
- myconf="${myconf} -Duse_cups=0"
+ myconf+=" -Duse_cups=0"
fi
if use "gnome-keyring"; then
- myconf="${myconf} -Dlinux_link_gnome_keyring=1"
+ myconf+=" -Duse_gnome_keyring=1 -Dlinux_link_gnome_keyring=1"
else
# TODO: we should also disable code trying to dlopen
# gnome-keyring in that case.
- myconf="${myconf} -Dlinux_link_gnome_keyring=0"
+ myconf+=" -Duse_gnome_keyring=0 -Dlinux_link_gnome_keyring=0"
fi
# Enable sandbox.
- myconf="${myconf}
- -Dlinux_sandbox_path=$(get_chromium_home)/chrome_sandbox
- -Dlinux_sandbox_chrome_path=$(get_chromium_home)/chrome"
+ myconf+="
+ -Dlinux_sandbox_path=${CHROMIUM_HOME}/chrome_sandbox
+ -Dlinux_sandbox_chrome_path=${CHROMIUM_HOME}/chrome"
# Disable the V8 snapshot. It breaks the build on hardened (bug #301880),
# and the performance gain isn't worth it.
- myconf="${myconf} -Dv8_use_snapshot=0"
+ myconf+=" -Dv8_use_snapshot=0"
# Disable tcmalloc memory allocator. It causes problems,
# for example bug #320419.
- myconf="${myconf} -Dlinux_use_tcmalloc=0"
+ myconf+=" -Dlinux_use_tcmalloc=0"
# Use target arch detection logic from bug #296917.
local myarch="$ABI"
[[ $myarch = "" ]] && myarch="$ARCH"
if [[ $myarch = amd64 ]] ; then
- myconf="${myconf} -Dtarget_arch=x64"
+ myconf+=" -Dtarget_arch=x64"
elif [[ $myarch = x86 ]] ; then
- myconf="${myconf} -Dtarget_arch=ia32"
+ 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="${myconf} -Dtarget_arch=arm -Ddisable_nacl=1 -Dlinux_use_tcmalloc=0"
+ myconf+=" -Dtarget_arch=arm -Ddisable_nacl=1 -Dlinux_use_tcmalloc=0"
else
die "Failed to determine target arch, got '$myarch'."
fi
if [[ "$(gcc-major-version)$(gcc-minor-version)" == "44" ]]; then
- myconf="${myconf} -Dno_strict_aliasing=1 -Dgcc_version=44"
+ myconf+=" -Dno_strict_aliasing=1 -Dgcc_version=44"
fi
# Work around a likely GCC bug, see bug #331945.
@@ -166,9 +170,9 @@ src_configure() {
# 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="${myconf} -Dwerror="
+ myconf+=" -Dwerror="
- build/gyp_chromium -f make build/all.gyp ${myconf} --depth=. || die "gyp failed"
+ build/gyp_chromium -f make build/all.gyp ${myconf} --depth=. || die
}
src_compile() {
@@ -177,46 +181,43 @@ src_compile() {
CXX="$(tc-getCXX)" \
AR="$(tc-getAR)" \
RANLIB="$(tc-getRANLIB)" \
- || die "compilation failed"
+ || die
}
src_install() {
- dodir "$(get_chromium_home)"
-
- exeinto "$(get_chromium_home)"
+ exeinto "${CHROMIUM_HOME}"
pax-mark m out/Release/chrome
doexe out/Release/chrome
- doexe out/Release/chrome_sandbox
- fperms 4755 "$(get_chromium_home)/chrome_sandbox"
- doexe out/Release/xdg-settings
- doexe "${FILESDIR}"/chromium-launcher.sh
+ doexe out/Release/chrome_sandbox || die
+ fperms 4755 "${CHROMIUM_HOME}/chrome_sandbox"
+ doexe out/Release/xdg-settings || die
+ doexe "${FILESDIR}"/chromium-launcher.sh || die
- insinto "$(get_chromium_home)"
- doins out/Release/chrome.pak || die "installing chrome.pak failed"
- doins out/Release/resources.pak || die "installing resources.pak failed"
+ insinto "${CHROMIUM_HOME}"
+ doins out/Release/chrome.pak || die
+ doins out/Release/resources.pak || die
- doins -r out/Release/locales
- doins -r out/Release/resources
+ doins -r out/Release/locales || die
+ doins -r out/Release/resources || die
# chrome.1 is for chromium --help
- newman out/Release/chrome.1 chrome.1
- newman out/Release/chrome.1 chromium.1
+ newman out/Release/chrome.1 chrome.1 || die
+ newman out/Release/chrome.1 chromium.1 || die
doexe out/Release/ffmpegsumo_nolink || die
doexe out/Release/libffmpegsumo.so || die
# Install icon and desktop entry.
- newicon out/Release/product_logo_48.png ${PN}-browser.png
- dosym "$(get_chromium_home)/chromium-launcher.sh" /usr/bin/chromium
+ newicon out/Release/product_logo_48.png ${PN}-browser.png || die
+ dosym "${CHROMIUM_HOME}/chromium-launcher.sh" /usr/bin/chromium || die
make_desktop_entry chromium "Chromium" ${PN}-browser "Network;WebBrowser" \
"MimeType=text/html;text/xml;application/xhtml+xml;"
- sed -e "/^Exec/s/$/ %U/" -i "${D}"/usr/share/applications/*.desktop \
- || die "desktop file sed failed"
+ 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
+ dodir /usr/share/gnome-control-center/default-apps || die
insinto /usr/share/gnome-control-center/default-apps
- doins "${FILESDIR}"/chromium.xml
+ doins "${FILESDIR}"/chromium.xml || die
fi
}
diff --git a/www-client/chromium/chromium-9999.ebuild b/www-client/chromium/chromium-9999.ebuild
index c6d1a0db515c..23f95be1ab25 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.82 2010/09/11 16:10:20 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-9999.ebuild,v 1.83 2010/09/14 14:08:22 phajdan.jr Exp $
EAPI="2"
@@ -20,6 +20,8 @@ IUSE="cups gnome gnome-keyring sse2"
RDEPEND="app-arch/bzip2
>=dev-libs/icu-4.4.1
>=dev-libs/libevent-1.4.13
+ dev-libs/libxml2
+ dev-libs/libxslt
>=dev-libs/nss-3.12.3
>=gnome-base/gconf-2.24.0
gnome-keyring? ( >=gnome-base/gnome-keyring-2.28.2 )
@@ -119,14 +121,14 @@ src_prepare() {
remove_bundled_lib "third_party/libevent"
remove_bundled_lib "third_party/libjpeg"
remove_bundled_lib "third_party/libpng"
+ remove_bundled_lib "third_party/libxml"
+ remove_bundled_lib "third_party/libxslt"
remove_bundled_lib "third_party/lzma_sdk"
remove_bundled_lib "third_party/molokocacao"
remove_bundled_lib "third_party/ocmock"
remove_bundled_lib "third_party/pyftpdlib"
remove_bundled_lib "third_party/simplejson"
remove_bundled_lib "third_party/tlslite"
- # TODO: also remove third_party/libxml and third_party/libxslt when
- # http://crbug.com/29333 is fixed.
# TODO: also remove third_party/zlib. For now the compilation fails if we
# remove it (minizip-related).
}
@@ -143,7 +145,6 @@ src_configure() {
# Use system-provided libraries.
# TODO: use_system_ffmpeg (http://crbug.com/50678).
- # TODO: use_system_libxml (http://crbug.com/29333).
# TODO: use_system_sqlite (http://crbug.com/22208).
# TODO: use_system_hunspell (upstream changes needed).
# TODO: use_system_ssl when we have a recent enough system NSS.
@@ -153,6 +154,7 @@ src_configure() {
-Duse_system_libevent=1
-Duse_system_libjpeg=1
-Duse_system_libpng=1
+ -Duse_system_libxml=1
-Duse_system_zlib=1"
# The dependency on cups is optional, see bug #324105.