summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-client')
-rw-r--r--www-client/chromium/ChangeLog5
-rw-r--r--www-client/chromium/Manifest31
-rw-r--r--www-client/chromium/chromium-31.0.1650.48.ebuild571
3 files changed, 18 insertions, 589 deletions
diff --git a/www-client/chromium/ChangeLog b/www-client/chromium/ChangeLog
index 5919f9d3d2ab..53c1c5e17a55 100644
--- a/www-client/chromium/ChangeLog
+++ b/www-client/chromium/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for www-client/chromium
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/ChangeLog,v 1.986 2013/11/16 08:37:21 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/ChangeLog,v 1.987 2013/11/16 08:38:21 ago Exp $
+
+ 16 Nov 2013; Agostino Sarubbo <ago@gentoo.org> -chromium-31.0.1650.48.ebuild:
+ Remove old
16 Nov 2013; Agostino Sarubbo <ago@gentoo.org> chromium-31.0.1650.57.ebuild:
Stable for x86, wrt bug #491326
diff --git a/www-client/chromium/Manifest b/www-client/chromium/Manifest
index de681d45f58d..ef10b072c181 100644
--- a/www-client/chromium/Manifest
+++ b/www-client/chromium/Manifest
@@ -16,8 +16,6 @@ AUX chromium-system-ply-r0.patch 560 SHA256 a1d9a17d91edeea93a8745a677b8e79e36ea
AUX chromium-system-ply-r1.patch 531 SHA256 b2269a9878121a1c6160b27412d13c534f2f6d15bc1bc23fab4fda2eff6edd32 SHA512 1fb1516959b3800e1f22416849aabca078a0350cda32cf7648f15edb8d1396599cb466801211b28ad6701f693ba881b9032a576da0e9de806499c55f3d901182 WHIRLPOOL ac1003b6ba64d2eb007e22ea18b3841b14d76bb2219be91ce43702ad42fb4a99776807bd1b89c2de34715c331af21e9b1d59c8a57d0c2b1258b2001099f0566c
AUX chromium.default 148 SHA256 bdac1d32025d53158f96c8ad5bd71a58abdcf02f3a8759a43154e97e812fcdd1 SHA512 0d4849e03592fb58b05e62a43021eca7e61615616c8907c3b2e445402e03adaf9e8fa25b0a745d6c31eb037456215cc02b59e345a3a06d932e76cf990c92d739 WHIRLPOOL 2e51e864134426668cc73fc5081c35288677d8ce855b07dfbd3413397f9c43148a6d6096a9b7a617511388f87623a3ce7f3387103202db53876a74bccb9dbe6c
AUX dot-gclient 174 SHA256 0ae6d69323d1d286de7ef1fa62c330536ada7280bda7564fefb5d071384ed324 SHA512 ea858464ee8732536633259ed3d11990822e8b8493c07b83218856a127320ba21b9cfc184f7e7a899739bc5f938fbca25224e559fb7db8558cb86fccc743a685 WHIRLPOOL 72a5a9af7955e653151090b555c6a67a261ff807871fdda16d7c3fabf4b52449ac9caae466ba51a17d2efed74a68adc32687599ea4287cc033e75f787d874b55
-DIST chromium-31.0.1650.48-testdata.tar.xz 111207036 SHA256 bc6e8ed9581d0edd5120c642e3cb32dc4103a9bffee180941da81ac48130f67f SHA512 6ebaacd295e27b626cdaeeb492cf65c39578e25e8c203106325c1faaf95d663ce50040802670f2820318b943c9f902bacb03d35d6aecd14cf32823a6fb91e4a4 WHIRLPOOL 9c4da1702dfa33f09c378eec1b3a19ccbeea53fc1a87b8109a932d60921c89d28a9ef86412cee75daa9a64e0dfa8975e9051799f801c1ee1c7e62902f7eb700e
-DIST chromium-31.0.1650.48.tar.xz 174509488 SHA256 3e478b5b85a023b3bba55b23d71cd6f585a08f865f7a98297a9a0757e9695c5d SHA512 7da87466ed4e86566d6c2c2cc51e3dd96c8a9cd6849f603a8b308cefef2e9e44e66a17ede53ab88890454cfae2073f87d806a13962e941b099edad334634f5c6 WHIRLPOOL 69d39719e372c164fb76a172501253781781252e48c1c5631e9c22b7a2e5a8ee6890b8f1cf30d7634086f3c9f61547e46a8f3cc7fdba554ae99c010d2ca05870
DIST chromium-31.0.1650.57-testdata.tar.xz 111204896 SHA256 d929bc500d121784e99e2a902378aad620e533f6c36ad6307b6213fb4ce82a36 SHA512 954448e8e6837672ff730721a2c05966e50d61e651415569f977c04b8904c6c74fb0243148a20bb5669f985d1cb8f6dd7cacd65587702142b7fa3ce74fff56bf WHIRLPOOL eceb74da3e98d6c34ff4f126a35d64e85c5ee9e851352d68da02a0f68cf8c02d2490107f4033aee3e5b44ead35173209c0f0fdd1226cc0b8bb5e656aa043cfe5
DIST chromium-31.0.1650.57.tar.xz 174517316 SHA256 89fe1ea38754c3d39bbd068313336a4467e7111854d8e14cc51bc2435c7667f7 SHA512 0f6fa6c72122bfd9dce0344c434151ae0ee24428bea56da209a761f59edf1fc33760211857ee138030a8693d4849872a8f826a1b8e13970fa482797896cd1d54 WHIRLPOOL 623ab00eb8010b9edfc866f4510b8990f57c32e1f64f8e6a7558c99717812980c2ceba2c532b81aab9bd5fc4bb94c326d192c694b0befe694ae60679f5134c3a
DIST chromium-32.0.1700.14-testdata.tar.xz 112140768 SHA256 e36056a1d2bda2447aacf18c4abc7001b871ad20b3f46b75ed9494a51b5f042b SHA512 e205469cac2211677bedaaaf4b69c856001425372034fc7f8cd40bb04a6c94a2bc5790ef7dabfaf9e21796bce0085b15e56643052d8401064be4827d4b7f28a3 WHIRLPOOL 66c2bab7e924e9c4787cbc2387c18d3de3ca5cc4a693f76b5c68f0edaa45cc70803e1301597e68024dd6f72afe3d9284a92dc523c50748b333360f4c8ef38061
@@ -26,28 +24,27 @@ DIST chromium-32.0.1700.6-testdata.tar.xz 112081404 SHA256 edce045b0d46a1ec480d5
DIST chromium-32.0.1700.6.tar.xz 176963440 SHA256 cbd1bfc5bc1bc3f3f8d57828097bd7f4d2fdacb0658a140871af63bb705c0a2c SHA512 e6e0e1d60b44796d281bfd3210f4e363d5c80fb884cde7bd96375c2013a03dc3a5ce6087a41571320fe1c2c149232ca39980cf08e9f526698570a0cbaa6b66ea WHIRLPOOL 5045211ff518f13cdb2ff42b9f2e07ddcbb9885e9986e4e8b276ce75a7da414ffa94b502f764106ef0dd56f34a13b46bd84a32e8790dc9692712ef3f3dbec798
DIST chromium-33.0.1707.0-lite.tar.xz 154007504 SHA256 3dafd652ddc1c49f5d0594fe72502e8d5772b6065e53b100f2b2d126313f17f0 SHA512 b0b4e793e0752946543a09313d43f008ea43527f96d7527f8beaf2073227fcee2758ecc32d476017cf752aaabe8e653d7ebdb55a3ecd4458793e2d6c312ee3f4 WHIRLPOOL f1c647a07039e0a5bdf2b886348298ebbadaf7900c8bde2543677af0ffc617f3ff99cd10a98aa2fddba990bcfbaab372b70c16ef06f83bea3a153f1079291518
DIST chromium-33.0.1707.0-testdata.tar.xz 112156276 SHA256 f36782ffd0c56dcc00f316b8267471e40afa72a37be1fa306a7ee20f5b9b4485 SHA512 dffe4cd94a32de09774abfdb3d46da401446416f0846a3498043951ffb7cc7f7279b11be67d2f300c109f3f7337a5c61f2558b4639e9a19b78a54bd375629e83 WHIRLPOOL d6d404a91c7a5118a8f61fe29c9677655cb411b27df38a8b7d450160161adfc39fffb1ff0755b8d3347147d3e30016f9bad8a2857b908d4d176bb1e3e1bdedb1
-EBUILD chromium-31.0.1650.48.ebuild 17190 SHA256 c55f914c79ca64879e11ed9aa7375f9b8363aea1727d7774d3cd04d923be434d SHA512 c3526996c3a60a219faffc98cafbc3176a008c870f8d9a75f65ac674b46641dd25c31d47798dc6ac38db1d371e8b1e1cfac2ec0c44895f1907d86ed65729ed57 WHIRLPOOL 2b7f8a29ff5f07505fc787b8a5c8a27082d0c63b89b3f09e8a8ec2b8dce2fe9a8c43e8f54aa723cfafc337103446f6263e4baf7962ea2dcdc98f1da1ba70286d
EBUILD chromium-31.0.1650.57.ebuild 17190 SHA256 b7c0d8f2a1777c61e17b19478687eeada111019542ebfa49fac6b586745304cd SHA512 93d559a47f41a5477e6f7997c085d7b7f37ccdb09472dc6c594e1b30d3eb7ffc66cb5c24f23449661cb8c955a77a0907f3b929a5e81c14f5457ca13373a2486c WHIRLPOOL 8fac2cbede89d2499a2826a7515b2844cc0726b878fc28fc503af60136cb111ddbc6682fc9bf54a2adfc1c6a38fee31434264326f537ecc044942cea94e73741
EBUILD chromium-32.0.1700.14.ebuild 18224 SHA256 597cb13c069e4f7b53ec29953852a1ad3baf0cd2bd7566ad1c4346e662fe80dc SHA512 7535da597686662bf18cd7e8e4502e705f106ffb0465b5ca755436dbd62b1cf9aa4778780e3917cc9c788c491e8aff5225e0f52e258a0d9ae1203182091ab964 WHIRLPOOL e52a3ad33ddb435ae199ceb9c8fc74798f553a3335b8a9b98b6965c52be2fb626bc6fa75e1cfa78f208237fb9ba91d366d1f4708fe821e4175b493817856d168
EBUILD chromium-32.0.1700.6.ebuild 17891 SHA256 85d0063e184f892121e29c9b146b4f68b388e465c662297a8415e30e0cc8ab35 SHA512 05f41f85fe667d8419d4b87488947d918beb5c86254f676c95c935d7966e54c31135ad4266f1cd3b11c3d64805f0e75b9dc1d1615998097b5d4f306897cfcddd WHIRLPOOL dc6d482246775534b6f4018b9ba511e97c1c789256d8bd3f26711f0049b0fd44996736c356f657817ccc677c6a21703ae8f3aad41f0e130a0329c8b244a2a209
EBUILD chromium-33.0.1707.0.ebuild 18256 SHA256 229079d38983d6caa53f641cc8afaf73d48466b692efc904b0c1519c9c57cbf3 SHA512 d6bb57c2ae35fc72692d14d47f3c3b6eb5abd4dfd9c2902e57bd3344e107a6bbd9a071b899143fee4a1285c5f08e617a9fcc0ade8dbcb4a5959db841b7085364 WHIRLPOOL 012994cddcf2c079fc5c66f9fdee9d8959d50b6dc95e788a4c8b3573b9cef03f61ded566e78a887daaafdebdba0397ce421b1678fc38bffbaaa8aaedb3265d39
-MISC ChangeLog 89752 SHA256 9addbf8f7d6443a0d69a7b33bb6d793ad7aa360b0ed01a9d821e59138bef1a97 SHA512 4d1143fed69d4053b82ee566c26bf36f78c3e10767f13cc26611703a504348917ff767cdc407e3fdabc1f53801f86252263faf1bdf07b5b743b52d6651facf0a WHIRLPOOL 02dad93bf4d99e7d5811956fc8a22dc29cacf3f1a96fde87494317b8a909c808f253fcf3f67557556e321dba62177a847310bed985e933c3f86fe551af9cb080
+MISC ChangeLog 89846 SHA256 0b3859a81f24ddd0f86451940c3ff24aadc9e70fc9c0f285d2c24683ad8abafb SHA512 5ff2dd5bdfc60456f720228a691b8997df57e871db5cc89a3eccc407d383de02532bc299d90c67a802327be7c26599c63b830fed4291ba2da5005741fa2989da WHIRLPOOL 9f4f0d1980a8ff8b16c4011a13983f715ad15671a91a8ba29f2362ea42998e992106785e21985bac293fe51a5ea8850ebbb8d418c755ffaf03f3932a9eba38d0
MISC ChangeLog-2011 114031 SHA256 e2c2c75785c5eaf78b6efe01e357279cbb7be0c89d00b4053f475e963916fa54 SHA512 8e14759348333bdbd7c338080472789d7bbb1ece1ca5817bac6306bdcb33dda1e23bf3055cbb3b7bcee9362b6900bba1ace7ba73f353570a74d3ed761c9198cc WHIRLPOOL 810b6423c53f892a4b0964380b8190dec2a8783d560a9cb0baec93a77d879186201055382ca05975ae242e16728529ae85445db003fdd425355292d17817157b
MISC metadata.xml 622 SHA256 0cc15c6cfce29d9372d650e883075630c844e262bb354a64c96d7e51580d25c9 SHA512 957d3b569ce2259d250681d91edf31d7dcea412d84c79017413866691d3b6fe27076f7d0d7c14f41421254438064d15c90d84940a3c6aa9c307c4db4277eadd1 WHIRLPOOL d621daeca803c0aa06b7abff6207a16cb9122c7ae6f7b02b57be88dd551ef4410fd20d592ea8ee7062bbef54ce09079dacd51e514febdebb16da24d8fb55f823
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iQIcBAEBCgAGBQJShzzGAAoJELp701BxlEWfDiIP/AmaQMPJ5x5bB1u8XgGkW8Cw
-9yQmxSX9bv3uMKYTLi08VOIAhIcocgVste8szNLfMdSpC7O0hlA0lU2JvFno+qRy
-wiWk188Y1TI0+qpcFo9lBW0QZuceXD+sdL8AsflJTDlEgkXJqcnQsSavXj1O6yxs
-d6EArvr/aPXjc09qgKHrMeq/zuMRN77wYOYuwntu0xmDLq/L3+3Xxc9FNn2XuZNn
-H3iucccB724GRFbIZXd6tgQ4lXxG/qt/+j0fZknG/IRRbDYdyc018RdDnUCewi31
-UeGzWN2rdoSdYbcEWNK8VFlWuw9g8+NvnIKEBsm0rjY82j8t6GGflQxsHOG2q+AJ
-adpX2TyEZc62IR/CsdcMVxvwhruwrnslUYGGdaZmazoAOGJQvNESEXYvP1ZWYDaf
-0tDJ8IX4RODHNeI2LibkrfvGcxTmg0xLLFfJnmS6IBkbF2H5SdvRQbxo2lKNgPKx
-60LLZZVlMEOw2RMWor0Sd0Nhqu+m7f7BPcPWr50qob9s6b8pB1q6y1NSwRiQcd4G
-Z4fiVnomDk/Oh3d9T7Mw43ktQPzQehbGyJD3iPqgjwyjUsWDNHwJxHKK5jAbUlJ7
-TActSnWb994nroMXurApwUnNgC+lJXzmr2ythlsHoqDUuLwAKKEir20YQ/gFPq7Y
-NqI2pn2xDjV4zk6fGdW4
-=P/19
+iQIcBAEBCgAGBQJShz0BAAoJELp701BxlEWfV/YP/1r7tTKrH7gAvHMb+0jZKoru
+KWtBXh0JSmMvO0EQ3wDGkYnXVlZCxgYJlFaiA5CAPzyrGbcrK4YG6iHveqNhAzEK
+RT57h+ScA8RCQ4oRhEkfsJD1JlQciGBAuYzdnFQwiEdtTCRRaLVZtuH3p8BW+gYk
+N9xzAUj8RWj62lwzmkLhMwsfzKberRCwHTZRh6lVrmPUr8BO3L3YkPmrRDg/W3O5
+hXIqx7anhVJxvsxA9i8mORmn/TVq0NNgscq6nSraEU6NG2swqBaS1aNnXcgyaFG+
+Vb4wEvTtYLvJ39KJx4CC8YFzQEa16i+J4nIN3tVI2cUkXZkMrP6dX/+3ygZZkjQ+
+aj2OdW8Mc6/7Eof/ByU+9nbaDCVUwkQHz58ViluIaPvpnhZuq5j68odBKCPGrqmF
+R+TJGzPyDrH/96lsmsJM1dqJryqUF16xCvpMPJXxiNpZQ9x/Jg4jimGiCgSLChVz
+tWemMnlba0Dy0MgwkhN+fhijATxB4zMei5QxgkzUbW32mHmBeJ7KrqhNyNzKzVNW
+bDM/2DoXx6oQ5DxnAx2Ry7dWfMb0hx/M/x9BM54+dOYA03pFjsYWFtC6BC7EW1RA
+a9qbkXG3nNhANRvl0sY7Ga9qUkIUGq11SklvKc4p5MsqnAUwUdKMIMr9WQTpLb9S
+aD6aUQzL0hBPUuUAcCol
+=PRfO
-----END PGP SIGNATURE-----
diff --git a/www-client/chromium/chromium-31.0.1650.48.ebuild b/www-client/chromium/chromium-31.0.1650.48.ebuild
deleted file mode 100644
index e4eb19a86c46..000000000000
--- a/www-client/chromium/chromium-31.0.1650.48.ebuild
+++ /dev/null
@@ -1,571 +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/chromium/chromium-31.0.1650.48.ebuild,v 1.4 2013/11/13 07:47:56 ago Exp $
-
-EAPI="5"
-PYTHON_COMPAT=( python{2_6,2_7} )
-
-CHROMIUM_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 ms nb nl pl pt_BR pt_PT ro ru sk sl sr
- sv sw ta te th tr uk vi zh_CN zh_TW"
-
-inherit chromium eutils flag-o-matic multilib multiprocessing \
- pax-utils portability python-any-r1 toolchain-funcs versionator virtualx
-
-DESCRIPTION="Open-source version of Google Chrome web browser"
-HOMEPAGE="http://chromium.org/"
-SRC_URI="https://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.xz
- test? ( https://commondatastorage.googleapis.com/chromium-browser-official/${P}-testdata.tar.xz )"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ~arm x86"
-IUSE="bindist cups gnome gnome-keyring gps kerberos neon pulseaudio selinux system-sqlite tcmalloc"
-
-# Native Client binaries are compiled with different set of flags, bug #452066.
-QA_FLAGS_IGNORED=".*\.nexe"
-
-# Native Client binaries may be stripped by the build system, which uses the
-# right tools for it, bug #469144 .
-QA_PRESTRIPPED=".*\.nexe"
-
-RDEPEND=">=app-accessibility/speech-dispatcher-0.8:=
- app-arch/bzip2:=
- app-arch/snappy:=
- system-sqlite? ( dev-db/sqlite:3 )
- cups? (
- dev-libs/libgcrypt:=
- >=net-print/cups-1.3.11:=
- )
- >=dev-libs/elfutils-0.149
- dev-libs/expat:=
- >=dev-libs/icu-49.1.1-r1:=
- >=dev-libs/jsoncpp-0.5.0-r1:=
- >=dev-libs/libevent-1.4.13:=
- dev-libs/libxml2:=[icu]
- dev-libs/libxslt:=
- dev-libs/nspr:=
- >=dev-libs/nss-3.14.3:=
- dev-libs/protobuf:=
- dev-libs/re2:=
- gnome? ( >=gnome-base/gconf-2.24.0:= )
- gnome-keyring? ( >=gnome-base/gnome-keyring-2.28.2:= )
- gps? ( >=sci-geosciences/gpsd-3.7:=[shm] )
- >=media-libs/alsa-lib-1.0.19:=
- media-libs/flac:=
- media-libs/harfbuzz:=[icu(+)]
- >=media-libs/libjpeg-turbo-1.2.0-r1:=
- media-libs/libpng:0=
- media-libs/opus:=
- media-libs/speex:=
- pulseaudio? ( media-sound/pulseaudio:= )
- sys-apps/dbus:=
- sys-apps/pciutils:=
- sys-libs/zlib:=[minizip]
- virtual/udev
- x11-libs/gtk+:2=
- >=x11-libs/libXi-1.6.0:=
- x11-libs/libXinerama:=
- x11-libs/libXScrnSaver:=
- x11-libs/libXtst:=
- kerberos? ( virtual/krb5 )
- selinux? ( sec-policy/selinux-chromium )"
-DEPEND="${RDEPEND}
- ${PYTHON_DEPS}
- !arm? (
- dev-lang/yasm
- )
- dev-lang/perl
- dev-perl/JSON
- >=dev-python/jinja-2.7
- dev-python/ply
- dev-python/simplejson
- >=dev-util/gperf-3.0.3
- dev-util/ninja
- sys-apps/hwids
- >=sys-devel/bison-2.4.3
- sys-devel/flex
- virtual/pkgconfig
- test? (
- dev-libs/openssl:0
- dev-python/pyftpdlib
- )"
-RDEPEND+="
- !=www-client/chromium-9999
- x11-misc/xdg-utils
- virtual/ttf-fonts"
-
-if ! has chromium_pkg_die ${EBUILD_DEATH_HOOKS}; then
- EBUILD_DEATH_HOOKS+=" chromium_pkg_die";
-fi
-
-pkg_setup() {
- if [[ "${SLOT}" == "0" ]]; then
- CHROMIUM_SUFFIX=""
- else
- CHROMIUM_SUFFIX="-${SLOT}"
- fi
- CHROMIUM_HOME="/usr/$(get_libdir)/chromium-browser${CHROMIUM_SUFFIX}"
-
- # Make sure the build system will use the right python, bug #344367.
- python-any-r1_pkg_setup
-
- chromium_suid_sandbox_check_kernel_config
-
- if use bindist; then
- elog "bindist enabled: H.264 video support will be disabled."
- else
- elog "bindist disabled: Resulting binaries may not be legal to re-distribute."
- fi
-}
-
-src_prepare() {
- # if ! use arm; then
- # mkdir -p out/Release/gen/sdk/toolchain || die
- # # Do not preserve SELinux context, bug #460892 .
- # cp -a --no-preserve=context /usr/$(get_libdir)/nacl-toolchain-newlib \
- # out/Release/gen/sdk/toolchain/linux_x86_newlib || die
- # touch out/Release/gen/sdk/toolchain/linux_x86_newlib/stamp.untar || die
- # fi
-
- epatch "${FILESDIR}/${PN}-chromedriver-r0.patch"
- epatch "${FILESDIR}/${PN}-gpsd-r0.patch"
- epatch "${FILESDIR}/${PN}-system-icu-r0.patch"
- epatch "${FILESDIR}/${PN}-system-jinja-r0.patch"
-
- epatch_user
-
- # Remove most bundled libraries. Some are still needed.
- build/linux/unbundle/remove_bundled_libraries.py \
- 'base/third_party/dmg_fp' \
- 'base/third_party/dynamic_annotations' \
- 'base/third_party/icu' \
- 'base/third_party/nspr' \
- 'base/third_party/symbolize' \
- 'base/third_party/valgrind' \
- 'base/third_party/xdg_mime' \
- 'base/third_party/xdg_user_dirs' \
- 'breakpad/src/third_party/curl' \
- 'chrome/third_party/mozilla_security_manager' \
- 'crypto/third_party/nss' \
- 'net/third_party/mozilla_security_manager' \
- 'net/third_party/nss' \
- 'third_party/WebKit' \
- 'third_party/angle_dx11' \
- 'third_party/cacheinvalidation' \
- 'third_party/cld' \
- 'third_party/cros_system_api' \
- 'third_party/ffmpeg' \
- 'third_party/flot' \
- 'third_party/hunspell' \
- 'third_party/iccjpeg' \
- 'third_party/jstemplate' \
- 'third_party/khronos' \
- 'third_party/leveldatabase' \
- 'third_party/libjingle' \
- 'third_party/libphonenumber' \
- 'third_party/libsrtp' \
- 'third_party/libusb' \
- 'third_party/libvpx' \
- 'third_party/libwebp' \
- 'third_party/libxml/chromium' \
- 'third_party/libXNVCtrl' \
- 'third_party/libyuv' \
- 'third_party/lss' \
- 'third_party/lzma_sdk' \
- 'third_party/mesa' \
- 'third_party/modp_b64' \
- 'third_party/mt19937ar' \
- 'third_party/npapi' \
- 'third_party/ots' \
- 'third_party/pywebsocket' \
- 'third_party/qcms' \
- 'third_party/sfntly' \
- 'third_party/skia' \
- 'third_party/smhasher' \
- 'third_party/sqlite' \
- 'third_party/tcmalloc' \
- 'third_party/tlslite' \
- 'third_party/trace-viewer' \
- 'third_party/undoview' \
- 'third_party/usrsctp' \
- 'third_party/webdriver' \
- 'third_party/webrtc' \
- 'third_party/widevine' \
- 'third_party/x86inc' \
- 'third_party/zlib/google' \
- 'url/third_party/mozilla' \
- 'v8/src/third_party/valgrind' \
- --do-remove || die
-}
-
-src_configure() {
- local myconf=""
-
- # Never tell the build system to "enable" SSE2, it has a few unexpected
- # additions, bug #336871.
- myconf+=" -Ddisable_sse2=1"
-
- # Optional tcmalloc. Note it causes problems with e.g. NVIDIA
- # drivers, bug #413637.
- myconf+=" $(gyp_use tcmalloc linux_use_tcmalloc)"
-
- # Disable nacl, we can't build without pnacl (http://crbug.com/269560).
- myconf+=" -Ddisable_nacl=1"
-
- # Disable glibc Native Client toolchain, we don't need it (bug #417019).
- # myconf+=" -Ddisable_glibc=1"
-
- # TODO: also build with pnacl
- # myconf+=" -Ddisable_pnacl=1"
-
- # It would be awkward for us to tar the toolchain and get it untarred again
- # during the build.
- # myconf+=" -Ddisable_newlib_untar=1"
-
- # Make it possible to remove third_party/adobe.
- echo > "${T}/flapper_version.h" || die
- myconf+=" -Dflapper_version_h_file=${T}/flapper_version.h"
-
- # Use system-provided libraries.
- # TODO: use_system_hunspell (upstream changes needed).
- # TODO: use_system_libsrtp (bug #459932).
- # TODO: use_system_libusb (http://crbug.com/266149).
- # TODO: use_system_libvpx (bug #487926).
- # TODO: use_system_ssl (http://crbug.com/58087).
- # TODO: use_system_sqlite (http://crbug.com/22208).
- # TODO: use_system_libwebp (http://crbug.com/288019).
- myconf+="
- -Duse_system_bzip2=1
- -Duse_system_flac=1
- -Duse_system_harfbuzz=1
- -Duse_system_icu=1
- -Duse_system_jsoncpp=1
- -Duse_system_libevent=1
- -Duse_system_libjpeg=1
- -Duse_system_libpng=1
- -Duse_system_libxml=1
- -Duse_system_libxslt=1
- -Duse_system_minizip=1
- -Duse_system_nspr=1
- -Duse_system_openssl=1
- -Duse_system_opus=1
- -Duse_system_protobuf=1
- -Duse_system_re2=1
- -Duse_system_snappy=1
- -Duse_system_speex=1
- -Duse_system_xdg_utils=1
- -Duse_system_zlib=1"
-
- # TODO: patch gyp so that this arm conditional is not needed.
- if ! use arm; then
- myconf+="
- -Duse_system_yasm=1"
- fi
-
- # Optional dependencies.
- # TODO: linux_link_kerberos, bug #381289.
- myconf+="
- $(gyp_use cups)
- $(gyp_use gnome use_gconf)
- $(gyp_use gnome-keyring use_gnome_keyring)
- $(gyp_use gnome-keyring linux_link_gnome_keyring)
- $(gyp_use gps linux_use_libgps)
- $(gyp_use gps linux_link_libgps)
- $(gyp_use kerberos)
- $(gyp_use pulseaudio)"
-
- if use system-sqlite; then
- elog "Enabling system sqlite. WebSQL - http://www.w3.org/TR/webdatabase/"
- elog "will not work. Please report sites broken by this"
- elog "to https://bugs.gentoo.org"
- myconf+="
- -Duse_system_sqlite=1
- -Denable_sql_database=0"
- fi
-
- # Use explicit library dependencies instead of dlopen.
- # This makes breakages easier to detect by revdep-rebuild.
- myconf+="
- -Dlinux_link_gsettings=1
- -Dlinux_link_libpci=1
- -Dlinux_link_libspeechd=1
- -Dlibspeechd_h_prefix=speech-dispatcher/"
-
- # TODO: use the file at run time instead of effectively compiling it in.
- myconf+="
- -Dusb_ids_path=/usr/share/misc/usb.ids"
-
- # Save space by removing DLOG and DCHECK messages (about 6% reduction).
- myconf+="
- -Dlogging_like_official_build=1"
-
- # Never use bundled gold binary. Disable gold linker flags for now.
- myconf+="
- -Dlinux_use_gold_binary=0
- -Dlinux_use_gold_flags=0"
-
- # Always support proprietary codecs.
- myconf+=" -Dproprietary_codecs=1"
-
- if ! use bindist; then
- # Enable H.264 support in bundled ffmpeg.
- myconf+=" -Dffmpeg_branding=Chrome"
- fi
-
- # Set up Google API keys, see http://www.chromium.org/developers/how-tos/api-keys .
- # Note: these are for Gentoo use ONLY. For your own distribution,
- # please get your own set of keys. Feel free to contact chromium@gentoo.org
- # for more info.
- myconf+=" -Dgoogle_api_key=AIzaSyDEAOvatFo0eTgsV_ZlEzx0ObmepsMzfAc
- -Dgoogle_default_client_id=329227923882.apps.googleusercontent.com
- -Dgoogle_default_client_secret=vgKG0NNv7GoDpbtoFNLxCUXu"
-
- local myarch="$(tc-arch)"
- if [[ $myarch = amd64 ]] ; then
- myconf+=" -Dtarget_arch=x64"
- elif [[ $myarch = x86 ]] ; then
- myconf+=" -Dtarget_arch=ia32"
- elif [[ $myarch = arm ]] ; then
- # TODO: re-enable NaCl (NativeClient).
- local CTARGET=${CTARGET:-${CHOST}}
- if [[ $(tc-is-softfloat) == "no" ]]; then
-
- myconf+=" -Darm_float_abi=hard"
- fi
- filter-flags "-mfpu=*"
- use neon || myconf+=" -Darm_fpu=${ARM_FPU:-vfpv3-d16}"
-
- if [[ ${CTARGET} == armv[78]* ]]; then
- myconf+=" -Darmv7=1"
- else
- myconf+=" -Darmv7=0"
- fi
- myconf+=" -Dtarget_arch=arm
- -Dsysroot=
- $(gyp_use neon arm_neon)
- -Ddisable_nacl=1"
- else
- die "Failed to determine target arch, got '$myarch'."
- fi
-
- if host-is-pax; then
- # Prevent the build from failing (bug #301880, bug #487144). The performance
- # difference is very small.
- myconf+=" -Dv8_use_snapshot=0"
- 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 CFLAGS problems, bug #352457, bug #390147.
- if ! use custom-cflags; then
- replace-flags "-Os" "-O2"
- strip-flags
-
- # Prevent linker from running out of address space, bug #471810 .
- if use x86; then
- filter-flags "-g*"
- fi
- fi
-
- # Make sure the build system will use the right tools, bug #340795.
- tc-export AR CC CXX RANLIB
-
- # Tools for building programs to be executed on the build system, bug #410883.
- export AR_host=$(tc-getBUILD_AR)
- export CC_host=$(tc-getBUILD_CC)
- export CXX_host=$(tc-getBUILD_CXX)
- export LD_host=${CXX_host}
-
- build/linux/unbundle/replace_gyp_files.py ${myconf} || die
- egyp_chromium ${myconf} || die
-}
-
-src_compile() {
- # TODO: add media_unittests after fixing compile (bug #462546).
- local test_targets=""
- for x in base cacheinvalidation content crypto \
- gpu net printing sql; do
- test_targets+=" ${x}_unittests"
- done
-
- local ninja_targets="chrome chrome_sandbox chromedriver"
- if use test; then
- ninja_targets+=" $test_targets"
- fi
-
- # Even though ninja autodetects number of CPUs, we respect
- # user's options, for debugging with -j 1 or any other reason.
- ninja -C out/Release -v -j $(makeopts_jobs) ${ninja_targets} || die
-
- pax-mark m out/Release/chrome
- if use test; then
- for x in $test_targets; do
- pax-mark m out/Release/${x}
- done
- fi
-}
-
-src_test() {
- # For more info see bug #350349.
- local LC_ALL="en_US.utf8"
-
- if ! locale -a | grep -q "${LC_ALL}"; then
- eerror "${PN} requires ${LC_ALL} 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 ${LC_ALL} is not supported"
- fi
-
- # If we have the right locale, export it to the environment
- export LC_ALL
-
- # For more info see bug #370957.
- if [[ $UID -eq 0 ]]; then
- die "Tests must be run as non-root. Please use FEATURES=userpriv."
- fi
-
- # virtualmake dies on failure, so we run our tests in a function
- VIRTUALX_COMMAND="chromium_test" virtualmake
-}
-
-chromium_test() {
- # Keep track of the cumulative exit status for all tests
- local exitstatus=0
-
- runtest() {
- local cmd=$1
- shift
- local IFS=:
- set -- "${cmd}" "--gtest_filter=-$*"
- einfo "$@"
- "$@"
- local st=$?
- (( st )) && eerror "${cmd} failed"
- (( exitstatus |= st ))
- }
-
- runtest out/Release/base_unittests
- runtest out/Release/cacheinvalidation_unittests
-
- local excluded_content_unittests=(
- "RendererDateTimePickerTest.*" # bug #465452
- )
- runtest out/Release/content_unittests "${excluded_content_unittests[@]}"
-
- runtest out/Release/crypto_unittests
- runtest out/Release/gpu_unittests
-
- # TODO: add media_unittests after fixing compile (bug #462546).
- # runtest out/Release/media_unittests
-
- local excluded_net_unittests=(
- "NetUtilTest.IDNToUnicode*" # bug 361885
- "NetUtilTest.FormatUrl*" # see above
- "SpdyFramerTests/SpdyFramerTest.CreatePushPromiseCompressed/2" # bug #478168
- "HostResolverImplTest.FlushCacheOnIPAddressChange" # bug #481812
- "HostResolverImplTest.ResolveFromCache" # see above
- "ProxyResolverV8TracingTest.*" # see above
- "SSLClientSocketTest.ConnectMismatched" # see above
- "UDPSocketTest.*" # see above
- "*EndToEndTest*" # see above
- )
- runtest out/Release/net_unittests "${excluded_net_unittests[@]}"
-
- runtest out/Release/printing_unittests
- runtest out/Release/sql_unittests
-
- return ${exitstatus}
-}
-
-src_install() {
- exeinto "${CHROMIUM_HOME}"
- doexe out/Release/chrome || die
-
- newexe out/Release/chrome_sandbox chrome-sandbox || die
- fperms 4755 "${CHROMIUM_HOME}/chrome-sandbox"
-
- doexe out/Release/chromedriver || die
-
- # if ! use arm; then
- # doexe out/Release/nacl_helper{,_bootstrap} || die
- # insinto "${CHROMIUM_HOME}"
- # doins out/Release/nacl_irt_*.nexe || die
- # doins out/Release/libppGoogleNaClPluginChrome.so || die
- # fi
-
- local sedargs=( -e "s:/usr/lib/:/usr/$(get_libdir)/:g" )
- if [[ -n ${CHROMIUM_SUFFIX} ]]; then
- sedargs+=(
- -e "s:chromium-browser:chromium-browser${CHROMIUM_SUFFIX}:g"
- -e "s:chromium.desktop:chromium${CHROMIUM_SUFFIX}.desktop:g"
- -e "s:plugins:plugins --user-data-dir=\${HOME}/.config/chromium${CHROMIUM_SUFFIX}:"
- )
- fi
- sed "${sedargs[@]}" "${FILESDIR}/chromium-launcher-r3.sh" > chromium-launcher.sh || die
- doexe chromium-launcher.sh
-
- # 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${CHROMIUM_SUFFIX} || die
- # keep the old symlink around for consistency
- dosym "${CHROMIUM_HOME}/chromium-launcher.sh" /usr/bin/chromium${CHROMIUM_SUFFIX} || die
-
- # Allow users to override command-line options, bug #357629.
- dodir /etc/chromium || die
- insinto /etc/chromium
- newins "${FILESDIR}/chromium.default" "default" || die
-
- pushd out/Release/locales > /dev/null || die
- chromium_remove_language_paks
- popd
-
- insinto "${CHROMIUM_HOME}"
- doins out/Release/*.pak || die
-
- doins -r out/Release/locales || die
- doins -r out/Release/resources || die
-
- newman out/Release/chrome.1 chromium${CHROMIUM_SUFFIX}.1 || die
- newman out/Release/chrome.1 chromium-browser${CHROMIUM_SUFFIX}.1 || die
-
- doexe out/Release/libffmpegsumo.so || die
-
- # Install icons and desktop entry.
- local branding size
- for size in 16 22 24 32 48 64 128 256 ; do
- case ${size} in
- 16|32) branding="chrome/app/theme/default_100_percent/chromium" ;;
- *) branding="chrome/app/theme/chromium" ;;
- esac
- newicon -s ${size} "${branding}/product_logo_${size}.png" \
- chromium-browser${CHROMIUM_SUFFIX}.png
- done
-
- local mime_types="text/html;text/xml;application/xhtml+xml;"
- mime_types+="x-scheme-handler/http;x-scheme-handler/https;" # bug #360797
- mime_types+="x-scheme-handler/ftp;" # bug #412185
- mime_types+="x-scheme-handler/mailto;x-scheme-handler/webcal;" # bug #416393
- make_desktop_entry \
- chromium-browser${CHROMIUM_SUFFIX} \
- "Chromium${CHROMIUM_SUFFIX}" \
- chromium-browser${CHROMIUM_SUFFIX} \
- "Network;WebBrowser" \
- "MimeType=${mime_types}\nStartupWMClass=chromium-browser"
- sed -e "/^Exec/s/$/ %U/" -i "${ED}"/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
- newins "${FILESDIR}"/chromium-browser.xml chromium-browser${CHROMIUM_SUFFIX}.xml || die
- if [[ "${CHROMIUM_SUFFIX}" != "" ]]; then
- sed "s:chromium-browser:chromium-browser${CHROMIUM_SUFFIX}:g" -i \
- "${ED}"/usr/share/gnome-control-center/default-apps/chromium-browser${CHROMIUM_SUFFIX}.xml
- fi
- fi
-}