diff options
author | Agostino Sarubbo <ago@gentoo.org> | 2014-07-18 09:40:40 +0000 |
---|---|---|
committer | Agostino Sarubbo <ago@gentoo.org> | 2014-07-18 09:40:40 +0000 |
commit | 805698790b91dee02a80f5ad7de4e96e4c74a9eb (patch) | |
tree | 26b4c19124519562c7a42a290fd0d58120621865 /www-client | |
parent | Stable for x86, wrt bug #517304 (diff) | |
download | historical-805698790b91dee02a80f5ad7de4e96e4c74a9eb.tar.gz historical-805698790b91dee02a80f5ad7de4e96e4c74a9eb.tar.bz2 historical-805698790b91dee02a80f5ad7de4e96e4c74a9eb.zip |
Remove old
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64
Manifest-Sign-Key: 0x7194459F
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/chromium/ChangeLog | 6 | ||||
-rw-r--r-- | www-client/chromium/Manifest | 34 | ||||
-rw-r--r-- | www-client/chromium/chromium-35.0.1916.153.ebuild | 662 | ||||
-rw-r--r-- | www-client/chromium/chromium-36.0.1985.103.ebuild | 664 |
4 files changed, 19 insertions, 1347 deletions
diff --git a/www-client/chromium/ChangeLog b/www-client/chromium/ChangeLog index eb4fee02a25f..c8e49bb89915 100644 --- a/www-client/chromium/ChangeLog +++ b/www-client/chromium/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for www-client/chromium # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/ChangeLog,v 1.1104 2014/07/18 09:39:15 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/ChangeLog,v 1.1105 2014/07/18 09:40:40 ago Exp $ + + 18 Jul 2014; Agostino Sarubbo <ago@gentoo.org> -chromium-35.0.1916.153.ebuild, + -chromium-36.0.1985.103.ebuild: + Remove old 18 Jul 2014; Agostino Sarubbo <ago@gentoo.org> chromium-36.0.1985.125.ebuild: Stable for x86, wrt bug #517304 diff --git a/www-client/chromium/Manifest b/www-client/chromium/Manifest index 955098e40156..6bbe438af764 100644 --- a/www-client/chromium/Manifest +++ b/www-client/chromium/Manifest @@ -34,39 +34,33 @@ AUX chromium-system-ply-r1.patch 531 SHA256 b2269a9878121a1c6160b27412d13c534f2f AUX chromium-system-zlib-r0.patch 407 SHA256 cb16d2ce758e2302dae5a4410a5901a53bac3de7bbde197dfc10df979415f8f7 SHA512 f41a34ce60c343bbe7c153e5ac4a1759b677cda342838a3703bcc4fda0859124a522abbf0637122db3c44cfe0188a4431fd1584a1feea1f2e70902c35ab3a8e5 WHIRLPOOL cc4909ba5162e8e7c153655739af7be0e32fb16e794fc8387d84ee3c6a872aea5040deba5556d974167c4a7b3a1f355dbc63d4e37f358a8032541d1530ec11cb AUX chromium.default 148 SHA256 bdac1d32025d53158f96c8ad5bd71a58abdcf02f3a8759a43154e97e812fcdd1 SHA512 0d4849e03592fb58b05e62a43021eca7e61615616c8907c3b2e445402e03adaf9e8fa25b0a745d6c31eb037456215cc02b59e345a3a06d932e76cf990c92d739 WHIRLPOOL 2e51e864134426668cc73fc5081c35288677d8ce855b07dfbd3413397f9c43148a6d6096a9b7a617511388f87623a3ce7f3387103202db53876a74bccb9dbe6c AUX dot-gclient 174 SHA256 0ae6d69323d1d286de7ef1fa62c330536ada7280bda7564fefb5d071384ed324 SHA512 ea858464ee8732536633259ed3d11990822e8b8493c07b83218856a127320ba21b9cfc184f7e7a899739bc5f938fbca25224e559fb7db8558cb86fccc743a685 WHIRLPOOL 72a5a9af7955e653151090b555c6a67a261ff807871fdda16d7c3fabf4b52449ac9caae466ba51a17d2efed74a68adc32687599ea4287cc033e75f787d874b55 -DIST chromium-35.0.1916.153-testdata.tar.xz 109105000 SHA256 b3b977312a7a57f53cd8a02ab59480509ab39ea66130855da16438de888d92f4 SHA512 cb3c436449788bc9090370c4f1d1664ec3e2b50913674538f5631b8a7452acb976dc46d74680a9a0af043162b5ae591d37b5a1bc8d7b9ac156c035630cdef4da WHIRLPOOL 3d4aa4444885d3521532ce6ecddd6900b2263ac2b662380afc6349464b23cda9608abd06f17784e3a6889fd25f281a4db128f0677dab12345b576a8e4e3e1b85 -DIST chromium-35.0.1916.153.tar.xz 206225052 SHA256 280ceb4307ba334918aacd1c5672e6ce6538bf229f90415245ede5b569e5e70e SHA512 5c9b70a8a23402a3e7beec7de0ea4c37eeea2aafea581993682418002f003bc723db1943c21c903dbfb26d3aef66854470f564db83c2764fa3e9160c731ca95b WHIRLPOOL 48316b48f84bb344995b3c8317ad9155ceb5c10c46a7081b6d8e463ea2fc41475c92e9aae0366030dcbf7afb4df2f82a30e02d45c006cde0c03888b08658def9 -DIST chromium-36.0.1985.103-testdata.tar.xz 111512668 SHA256 35796a3674d961764e32a2f491f8107d519f6baf69d9a08dc9f8061a5ccf116d SHA512 ee87a46c108f2991b2d67672bf7b594869750d798d12916ddfaaac6e29b31c2c9ba8e8ba995a9110e30ae4dea83e2368273ce97b5269b686784e1456173bb22b WHIRLPOOL 2eed8f401676b05541496389cc68d5e8e9c4fb7afe18c397519ce9fab08fc5af455ea28224137e565ac003ef628d2003e298c1b94e4f28af70f7b8d81d6fe776 -DIST chromium-36.0.1985.103.tar.xz 205424328 SHA256 97ea2ec27bc1e670487acfa9333aff08cc37a41e6a32b9ef33bde08a4d5ab2da SHA512 20c29ca17ab2429743b39c7b132f168d65df98adb3a1854a838490f7c5e6c8ef353165edcd8f8664bcd37b39d52b10a9df367abfd4839ed4d425463052f91e29 WHIRLPOOL a44fa4df74905943af97ac4273cd11589f33135732193fe3797fa662dbb89c0e652dd65c048a8b67fec0d5ec9953bc6fef048f4b716c1211c620613fa45b87bc DIST chromium-36.0.1985.125-testdata.tar.xz 111516748 SHA256 566530e718daee0ce0e6d28710b54ff4dcdf42cc6bab62421203790c0d31459d SHA512 659ef9503ce3570cbee30a4b74934c94109352a5055a4c14f7151d74ccfc346b8328547aa1710849a5c4b09250130237363c6e6404b3f1b20b7b5470007ad398 WHIRLPOOL 54aca91ab8d78a9cc2bfa7b4167299fe732b8316af0198a7295debd6b4089992b1d4023d7da2f48deee9567acbeeae9f3d6530758ed9b1d476af5a1395afa70f DIST chromium-36.0.1985.125.tar.xz 205462088 SHA256 1782d0a5397e94313dee9e456de38bdfccf575c4e565f064a6ed7f9c509d5023 SHA512 a2c0f9b9fc91526ee053f0eca1aa2c6267b316717b8cb30bd5c50cad8891c28e1bf804838b2af035df46771d29d6815610066437d32afc504fbe39d2c48f303c WHIRLPOOL 3ee0ba43b0a3f93b4b7bededbe8443f1f9673a1c0712b7db09411ac96fe05327c835475ccb7298800b40c32dcac56573c0cf035f092ae52cf353b075c81fb16b DIST chromium-36.0.1985.67-testdata.tar.xz 111512620 SHA256 978504437ddb72b551442b8e85fda08040a6428dde1ba4e57a3e0f2e24dbb3e6 SHA512 41ec569b38a1836497f326f46559ce663d29ffa8fa816afb26af1abaa8551eda87bd8741fd4a4211e1d91f66a160d5169d706bb508bb752d5c8fc2f2acf92127 WHIRLPOOL 7c79b57d8fcc451c927764d405e2207c0aeb2fa3d341feede4550034e4ca82e747e6a6481f5a11de9035b88284a868b56cbeba63e82205bad17b176d633ca4a5 DIST chromium-36.0.1985.67.tar.xz 205488864 SHA256 178eea1a764fd761591a84902f4dcf03c95fc6c09ab3b8c41b297f936410f785 SHA512 2e5d717c9670bc076234911826b9c06ac6fdc20cf8f4a53821c5a368b9fdf458007193a331e49cfa6156e0e420a6ad2530cdbb95b1f93875aa3846367dd8b196 WHIRLPOOL ee1f84b47d58cc5f2eab14c3e268e4965db80b9987884b17772180d368a772b4958e6e6037002b2d4d8083634c1651a9bf4f1af4d5d0b9f064d188c0353822e8 DIST chromium-37.0.2054.3-lite.tar.xz 213917164 SHA256 1bc3c40daedcc714aa06d9b16d44d5e198fb881a82019ce6587cd9b98390909a SHA512 bfd9cdfc24852af7449719326f6e1e6757660aaeb6595027fa034de0bf6f2fede206d677abb089f9fab6ad190b7e2d9c02a8a76b56801f36d16883326f102b2d WHIRLPOOL 3596130b151790e9a185de3e1e329cabcc5dba6d7dd3f80524b9fecfa15430034dfa973e56b155aa4f48e85bcbf71d0e747661022a953d6b6837da3082f7ce30 DIST chromium-37.0.2062.0-lite.tar.xz 214080700 SHA256 5bfde430fd108a03afaf8bb2a013c998822d84fcbc8d2f5c259286a42fcbddb7 SHA512 712694291d2e80f4a8afd119b53ca990cb383e4a697396e1ab56b2d44bc271bef895ff5db7bf8ec88913ffa827bbe965c34445149f94ede0e798ba06a9e64637 WHIRLPOOL 69dc7826da84f554510b14a973feab06d7457e7ba40fee68c5ee25fa14552c1856da4bc0f4fac552a8ec537db407454b8aed5d0316ca38a782856fce158ccd15 -EBUILD chromium-35.0.1916.153.ebuild 19981 SHA256 f4d3ace05a9f6352b0f6d9b105c496db234d2dc081114130442e72a8c5ff2ffa SHA512 9197a595cc983d32e83ecd3a34ecb109113fd0f0f224c86cd15bef0acfce7231dbbfd002e2209345ee61c86719afbfd035e165bcb5b4445bda2a75cb48cfa2f7 WHIRLPOOL 69f24117d74c1f1ed0c549046da72a855d3095d481394857a80c73156d9f2d3f178ffcbbe785e701c252f66c5e2c865c9c375965e4cd1cfe82fa9054a9e3d080 -EBUILD chromium-36.0.1985.103.ebuild 20033 SHA256 e4e49406c9b969eeab28320a55fdbbd0cada86165a864cabc60ad9307ea01f75 SHA512 9be2b8810a6df819d7b219d74071763a6bcff2fcae988313cdeaa9170357c79f2d96e68b3116213e7c2eeb0eef68f15519a67abbaba08129763c5cb16bf575f8 WHIRLPOOL 0d4c6eca57f44fb178e323ea5bd44da71c5ef5dd26693c7a7b3855363325464de07bff6b19fac4273e09ffc8e80ca56ffe1c4ffa8437c5c7f806fc9e0a5e7131 EBUILD chromium-36.0.1985.125.ebuild 20024 SHA256 d059a8f1c1d4c8a8838d272a2a10bb60eea0a05056e4a073df100529d5714183 SHA512 593b0ca1ed6c1fbdc15b9b0c426f54df337e7031d75bf468b3a3997840309c53c0c59178ad02e0d69de3c9f4a2db19319fafd745141a94f3c8f99ab1feed3722 WHIRLPOOL 52166987d30626c9dbf68ed78c5ca35cbe8d423e2d2f80a5d5bada34f8f0793a6ddd0330be5d4a84235162358e33db045e3b1edfdc5b0de6373dac40bab8189f EBUILD chromium-36.0.1985.67.ebuild 20043 SHA256 f0bfbe58d0102c93efc39343e2f3169fd3fba06525e91793afc5ef3c5271d910 SHA512 3f66ba7be6b496f48678e55e006991db1adcbcbba9d45d628175e62f8b1819a34a4267de435f9a070bdc8b7f5c07a55c00a7b7c4cb845001d1c0f178146e00c5 WHIRLPOOL ea0af6a7db49a5fc618c359af83db6768ca2cf76f232f4aa2fbf8716441144037c21f87aaabbbe2709209429dba568cc9611710493290bcf99308c5b51a8b45f EBUILD chromium-37.0.2054.3.ebuild 17256 SHA256 b831a2a47d4e03b10e36caa82ae10cb2e325ce0fe911614616fc1b8deccb34aa SHA512 932685e32dcb03d053863f52d9f1b1b31bb27bf339b326c1b71293a5e3ece1995da18b7e76a616dd4b862b3557f13099036b04352a25860506e1b8e91614ebc6 WHIRLPOOL d5948cf48f98e01b37d08ae1062aec4763192d62b6cad15cd09c6de2952d8d45fffc1615acd82e8352cb466971a29278f3763876b57064d084163ff49d7d7335 EBUILD chromium-37.0.2062.0.ebuild 17258 SHA256 ae0a289b58fa860c022b651cbf2fb09f51847de4e66242953fb8c8636019f30b SHA512 4b92164a2b135328c99352ddc45631bc9fe692c419bd839fe7691f63034e9de0dcd9620652c28d155c59ef9ecea31005d922bbd23f1e29ac0c0a5fc9cac4e0a4 WHIRLPOOL 5395cac22edf1759194aeafcded8b95b000c66ed33d8af34dab49b205eb59c426e8145b3638f3ffd24dfab57265f5dcff76714361083f8e1fe7e333641b7e369 -MISC ChangeLog 110251 SHA256 93f0d2863b9ca9115f22ae9eed78ece288cfdf600e16abb6d3d88625b3df3f99 SHA512 be4052b770355c0511082db465f9c134853006aabcf471555789d2ada824ded89e71f18709a86bbde4e648dcabe2be31652b97e032c9211f20337162f9d9da6f WHIRLPOOL e5e27bd491850a3d12278f617330d9030f329fd018afd0a2158b0647c4921e85751833fdb3ca9651479eba3c8432bfcbb789fc76b5b55270cca4a3041bce2652 +MISC ChangeLog 110380 SHA256 b56189289ab603609390591acbce040804239bc46170a0b1164222848eff7cfa SHA512 0929e60c9089c7d59401a1f94eff48e994df4de435ece76a012a56e77a7a692aac115527862194c0d4a7b35c41a724226dedeb53e7b6172ad3d2fd2da6bb6e31 WHIRLPOOL 9aff33f3ea026319bf22c46217433ce86b96e788a0bdb5146dbf754234e484ed4d74deccd8f09b3f150466ffe36538cef4ca81bed853006e8ab1d37c0fdda4bc MISC ChangeLog-2011 114031 SHA256 e2c2c75785c5eaf78b6efe01e357279cbb7be0c89d00b4053f475e963916fa54 SHA512 8e14759348333bdbd7c338080472789d7bbb1ece1ca5817bac6306bdcb33dda1e23bf3055cbb3b7bcee9362b6900bba1ace7ba73f353570a74d3ed761c9198cc WHIRLPOOL 810b6423c53f892a4b0964380b8190dec2a8783d560a9cb0baec93a77d879186201055382ca05975ae242e16728529ae85445db003fdd425355292d17817157b MISC metadata.xml 518 SHA256 821944f32fcf203b2573c164aeaa52fbc69e5f651d366cdda66901633461f5ef SHA512 01d29c4ce93a8a624fc8926e7e72e8bf124b91ae6fdbf6e7179e9d6ddd6db33d73acde62541777118da1c9d197c83d6c615c247d785e76a8ab560f915abd08d5 WHIRLPOOL f9b21a0d032d1f78b6aeb78f759b9f126b1b1cc118a5edd3a08eefcb2d7b51ff406abb95323fe05b4c04468aca68dddd3d39ce7edfb9b352abc1bc3890d7e1ab -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iQIcBAEBCAAGBQJTyOtEAAoJELp701BxlEWfn3UP/1wDEpZLVVOhLTHpCpOH/aOK -RA9nXlV1CFfxPiufuqQZuDs0u7iuazoo3QFV6rCJWE2ZOmsONfEjFF5O0jWt7BG2 -Al8f25+YRcRyPbc6szcjLPjpauiY96C6wH1T44znGBn6Um7rrFepTaeTaucgEwPz -L3UviEXGXW6W7/RRtMOK1fIX/q3Qs3qDhkS8UdkvqiMTKIRppdZKzBR577yrO2mv -3D7xpmCmG5ECMlcBkGJbhCXzoB7wt/qnuj3ex4y9g4m/0cTTgPXnL4eKHRgvhJ91 -b4w8cBB9mJELZo2rmE/tWTXWxXzv91GgkEexSMK4UtrPCf+iOodnmMWNwtwL0oag -Pt9jp6lHC4vub+/xYoaTxI/Zh857VdFVjlmtQvBKn3WZ1PF3tWVKczn2yRl0TK+Y -3qLUkuF139/OTlaJLeYyn7Fk1VWGgtz+3x5UB1SjvBidbe9LqR1NhJ6SH0EQzo4R -kULqfuTFwLRrP0r1hNDJy9CXTLuKQHagnUDFdhaRd3bCTj66tG9SHM7PpH3fCxSJ -A84ccHToM64dE057iZB3uuCzVQXk/2eOgPIe5ktweU2l28CIbIU+ehEcMbROZUcV -2A4CKBk9E+AptD6S18ff6epNJWAn++HAcIGAY1epTTCM2JFoMnbaIe7WbeWv7gry -C6B3/BBc0oJM2ZlkBI9F -=pAlN +iQIcBAEBCAAGBQJTyOuZAAoJELp701BxlEWfKzoP/23X3jUJ/8qL4R+6TBKMsO/5 +TBcFbrHUAILoBIKmL9meEzH8EZcFSL/RKWZmXWEaQFUhmfxh/EHDSCrX+0rPh3Z0 +voH8JVjj+Lw9ULzIWnTIuRgEneeG7UOXgaoJk4TbN2Lhx78ZFWmO2boYROhUrSE8 +gKeGUz4fHhdWYU7OTz3g0esuOSZvA4+iI7vHuacw2UTKLyMMT6VpV32aVeNx89rC +AVyPp4Tw0FMQqA/Kd5481nZo3UVc9B9xK/KRYWs5EN1B0JkaVe0Q3DcEN3lfAr7A +KvDlJ25iuFe5dzX8ShrcfEN/rJi7WEQsfwWx4FkrAsYcmP63iOCnQN31mZbh1Ggy +0tAukyx0+UJxUCcQDjyjIbrUQ/CY8Rxyt9c7+hCHt+NJ/wvD/XNH7eOMIpn3H2Px +xsAGmE2ALPWjDgauT+TmMhEBYYqewDbaGPSvozfTChCzt2sP3Wscx3zarntLd22r +bAKY3cHL0gzhWdtdC+arwvYL+nFLi1aZEXhK/hlz1kOynzJd0Sx7lS+SQ479QTXA +ldhH6SdBT+lX/sSawdxh+kl06sZ8mHRcQuWQF2smAGtqRDq+VvysJqh057XqoTGR +wNZ+YKecGvjjyZ0TZOF2bzsEJrrJGC1Z2Hg9EYyPkDhoLAPZrNJvxWTQ/X+0twHP +4+i6EDNjzTyFqJDEKX9U +=u5lg -----END PGP SIGNATURE----- diff --git a/www-client/chromium/chromium-35.0.1916.153.ebuild b/www-client/chromium/chromium-35.0.1916.153.ebuild deleted file mode 100644 index 240821d20583..000000000000 --- a/www-client/chromium/chromium-35.0.1916.153.ebuild +++ /dev/null @@ -1,662 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-35.0.1916.153.ebuild,v 1.5 2014/07/11 18:34:02 phajdan.jr 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 readme.gentoo 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 kerberos neon pulseaudio selinux +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:= - cups? ( - dev-libs/libgcrypt:0= - >=net-print/cups-1.3.11:= - ) - >=dev-libs/elfutils-0.149 - dev-libs/expat:= - dev-libs/icu:= - >=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/re2:= - gnome? ( >=gnome-base/gconf-2.24.0:= ) - gnome-keyring? ( gnome-base/libgnome-keyring:= ) - >=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/libwebp-0.4.0:= - media-libs/speex:= - pulseaudio? ( media-sound/pulseaudio:= ) - sys-apps/dbus:= - sys-apps/pciutils:= - >=sys-libs/libcap-2.22:= - sys-libs/zlib:=[minizip] - virtual/udev - x11-libs/libdrm - 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} - !arm? ( - dev-lang/yasm - ) - dev-lang/perl - dev-perl/JSON - >=dev-util/gperf-3.0.3 - dev-util/ninja - sys-apps/hwids[usb(+)] - >=sys-devel/bison-2.4.3 - sys-devel/flex - virtual/pkgconfig - test? ( - dev-libs/openssl:0 - )" -# For nvidia-drivers blocker, see bug #413637 . -RDEPEND+=" - !=www-client/chromium-9999 - x11-misc/xdg-utils - virtual/ttf-fonts - tcmalloc? ( !<x11-drivers/nvidia-drivers-331.20 )" - -# Python dependencies. The DEPEND part needs to be kept in sync -# with python_check_deps. -DEPEND+=" $(python_gen_any_dep ' - dev-python/simplejson[${PYTHON_USEDEP}] - test? ( dev-python/pyftpdlib[${PYTHON_USEDEP}] ) -')" -python_check_deps() { - has_version "dev-python/simplejson[${PYTHON_USEDEP}]" && \ - { ! use test || has_version "dev-python/pyftpdlib[${PYTHON_USEDEP}]"; } -} - -if ! has chromium_pkg_die ${EBUILD_DEATH_HOOKS}; then - EBUILD_DEATH_HOOKS+=" chromium_pkg_die"; -fi - -DISABLE_AUTOFORMATTING="yes" -DOC_CONTENTS=" -Some web pages may require additional fonts to display properly. -Try installing some of the following packages if some characters -are not displayed properly: -- media-fonts/arphicfonts -- media-fonts/bitstream-cyberbit -- media-fonts/droid -- media-fonts/ipamonafont -- media-fonts/ja-ipafonts -- media-fonts/takao-fonts -- media-fonts/wqy-microhei -- media-fonts/wqy-zenhei - -Depending on your desktop environment, you may need -to install additional packages to get icons on the Downloads page. - -For KDE, the required package is kde-base/oxygen-icons. - -For other desktop environments, try one of the following: -- x11-themes/gnome-icon-theme -- x11-themes/tango-icon-theme -" - -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}-system-zlib-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/superfasthash' \ - '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' \ - 'third_party/brotli' \ - 'third_party/cacheinvalidation' \ - 'third_party/cld' \ - 'third_party/cros_system_api' \ - 'third_party/dom_distiller_js' \ - 'third_party/ffmpeg' \ - 'third_party/flot' \ - 'third_party/hunspell' \ - 'third_party/iccjpeg' \ - 'third_party/icu/icu.isolate' \ - 'third_party/jinja2' \ - 'third_party/jstemplate' \ - 'third_party/khronos' \ - 'third_party/leveldatabase' \ - 'third_party/libaddressinput' \ - 'third_party/libjingle' \ - 'third_party/libphonenumber' \ - 'third_party/libsrtp' \ - 'third_party/libusb' \ - 'third_party/libvpx' \ - 'third_party/libwebm' \ - 'third_party/libxml/chromium' \ - 'third_party/libXNVCtrl' \ - 'third_party/libyuv' \ - 'third_party/lss' \ - 'third_party/lzma_sdk' \ - 'third_party/markupsafe' \ - 'third_party/mesa' \ - 'third_party/modp_b64' \ - 'third_party/mt19937ar' \ - 'third_party/npapi' \ - 'third_party/nss.isolate' \ - 'third_party/opus' \ - 'third_party/ots' \ - 'third_party/polymer' \ - 'third_party/ply' \ - 'third_party/protobuf' \ - 'third_party/pywebsocket' \ - 'third_party/qcms' \ - 'third_party/readability' \ - '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" - - # 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_libvpx (http://crbug.com/347823). - # TODO: use_system_libusb (http://crbug.com/266149). - # TODO: use_system_opus (https://code.google.com/p/webrtc/issues/detail?id=3077). - # TODO: use_system_protobuf (bug #503084). - # 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_harfbuzz=1 - -Duse_system_icu=1 - -Duse_system_jsoncpp=1 - -Duse_system_libevent=1 - -Duse_system_libjpeg=1 - -Duse_system_libpng=1 - -Duse_system_libwebp=1 - -Duse_system_libxml=1 - -Duse_system_libxslt=1 - -Duse_system_minizip=1 - -Duse_system_nspr=1 - -Duse_system_openssl=1 - -Duse_system_re2=1 - -Duse_system_snappy=1 - -Duse_system_speex=1 - -Duse_system_xdg_utils=1 - -Duse_system_zlib=1" - - # Needed for system icu - we don't need additional data files. - myconf+=" -Dicu_use_data_file_flag=0" - - # 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 kerberos) - $(gyp_use pulseaudio) - $(gyp_use tcmalloc linux_use_tcmalloc)" - - # 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" - - # TODO: enable mojo after fixing compile failures. - myconf+=" -Duse_mojo=0" - - # Always support proprietary codecs. - myconf+=" -Dproprietary_codecs=1" - - # Set python version and libdir so that python_arch.sh can find libpython. - # Bug 492864. - myconf+=" - -Dpython_ver=${EPYTHON#python} - -Dsystem_libdir=$(get_libdir)" - - 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 - target_arch=x64 - ffmpeg_target_arch=x64 - elif [[ $myarch = x86 ]] ; then - target_arch=ia32 - ffmpeg_target_arch=ia32 - elif [[ $myarch = arm ]] ; then - target_arch=arm - ffmpeg_target_arch=$(usex neon arm-neon arm) - # 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+=" -Dsysroot= - $(gyp_use neon arm_neon) - -Ddisable_nacl=1" - else - die "Failed to determine target arch, got '$myarch'." - fi - - myconf+=" -Dtarget_arch=${target_arch}" - - # 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=" - - # Disable fatal linker warnings, bug 506268. - myconf+=" -Ddisable_fatal_linker_warnings=1" - - # 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} - - # Bug 491582. - export TMPDIR="${WORKDIR}/temp" - mkdir -m 755 "${TMPDIR}" || die - - # Re-configure bundled ffmpeg. See bug #491378 for example reasons. - einfo "Configuring bundled ffmpeg..." - pushd third_party/ffmpeg > /dev/null || die - chromium/scripts/build_ffmpeg.sh linux ${ffmpeg_target_arch} "${PWD}" config-only || die - chromium/scripts/copy_config.sh || die - popd > /dev/null || die - - einfo "Configuring Chromium..." - build/linux/unbundle/replace_gyp_files.py ${myconf} || die - egyp_chromium ${myconf} || die -} - -eninja() { - if [[ -z ${NINJAOPTS+set} ]]; then - local jobs=$(makeopts_jobs) - local loadavg=$(makeopts_loadavg) - - if [[ ${MAKEOPTS} == *-j* && ${jobs} != 999 ]]; then - NINJAOPTS+=" -j ${jobs}" - fi - if [[ ${MAKEOPTS} == *-l* && ${loadavg} != 999 ]]; then - NINJAOPTS+=" -l ${loadavg}" - fi - fi - set -- ninja -v ${NINJAOPTS} "$@" - echo "$@" - "$@" -} - -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 - - # Build mksnapshot and pax-mark it. - eninja -C out/Release mksnapshot.${target_arch} || die - pax-mark m out/Release/mksnapshot.${target_arch} - - # Even though ninja autodetects number of CPUs, we respect - # user's options, for debugging with -j 1 or any other reason. - eninja -C out/Release ${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}" --test-launcher-bot-mode "--gtest_filter=-$*" - einfo "$@" - "$@" - local st=$? - (( st )) && eerror "${cmd} failed" - (( exitstatus |= st )) - } - - local excluded_base_unittests=( - "OutOfMemoryDeathTest.ViaSharedLibraries" # bug #497512 - ) - runtest out/Release/base_unittests "${excluded_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 - "SpdyFramerTests/SpdyFramerTest.CreateContinuationCompressed/2" # see above - "HostResolverImplTest.BypassCache" # bug #498304 - "HostResolverImplTest.FlushCacheOnIPAddressChange" # bug #481812 - "HostResolverImplTest.ResolveFromCache" # see above - "ProxyResolverV8TracingTest.*" # see above - "SSLClientSocketTest.ConnectMismatched" # see above - "UDPSocketTest.*" # see above - "*EndToEndTest*" # see above - "Version/QuicHttpStreamTest.Priority/0" # bug #503010 - "Version/QuicHttpStreamTest.DestroyedEarly/0" # 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 - - dosym "${CHROMIUM_HOME}/chromedriver" /usr/bin/chromedriver${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 - - readme.gentoo_create_doc -} - -pkg_postinst() { - fdo-mime_desktop_database_update - gnome2_icon_cache_update - readme.gentoo_print_elog -} diff --git a/www-client/chromium/chromium-36.0.1985.103.ebuild b/www-client/chromium/chromium-36.0.1985.103.ebuild deleted file mode 100644 index a1b474d1b22b..000000000000 --- a/www-client/chromium/chromium-36.0.1985.103.ebuild +++ /dev/null @@ -1,664 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-36.0.1985.103.ebuild,v 1.2 2014/07/11 18:34:02 phajdan.jr 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 readme.gentoo 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 kerberos neon pulseaudio selinux +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:= - cups? ( - dev-libs/libgcrypt:0= - >=net-print/cups-1.3.11:= - ) - >=dev-libs/elfutils-0.149 - dev-libs/expat:= - dev-libs/icu:= - >=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/re2:= - gnome? ( >=gnome-base/gconf-2.24.0:= ) - gnome-keyring? ( gnome-base/libgnome-keyring:= ) - >=media-libs/alsa-lib-1.0.19:= - media-libs/flac:= - media-libs/harfbuzz:=[icu(+)] - media-libs/libexif:= - >=media-libs/libjpeg-turbo-1.2.0-r1:= - media-libs/libpng:0= - >=media-libs/libwebp-0.4.0:= - media-libs/speex:= - pulseaudio? ( media-sound/pulseaudio:= ) - sys-apps/dbus:= - sys-apps/pciutils:= - >=sys-libs/libcap-2.22:= - sys-libs/zlib:=[minizip] - virtual/udev - x11-libs/libdrm - 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} - !arm? ( - dev-lang/yasm - ) - dev-lang/perl - dev-perl/JSON - >=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 - )" -# For nvidia-drivers blocker, see bug #413637 . -RDEPEND+=" - !=www-client/chromium-9999 - x11-misc/xdg-utils - virtual/ttf-fonts - tcmalloc? ( !<x11-drivers/nvidia-drivers-331.20 )" - -# Python dependencies. The DEPEND part needs to be kept in sync -# with python_check_deps. -DEPEND+=" $(python_gen_any_dep ' - dev-python/simplejson[${PYTHON_USEDEP}] - test? ( dev-python/pyftpdlib[${PYTHON_USEDEP}] ) -')" -python_check_deps() { - has_version "dev-python/simplejson[${PYTHON_USEDEP}]" && \ - { ! use test || has_version "dev-python/pyftpdlib[${PYTHON_USEDEP}]"; } -} - -if ! has chromium_pkg_die ${EBUILD_DEATH_HOOKS}; then - EBUILD_DEATH_HOOKS+=" chromium_pkg_die"; -fi - -DISABLE_AUTOFORMATTING="yes" -DOC_CONTENTS=" -Some web pages may require additional fonts to display properly. -Try installing some of the following packages if some characters -are not displayed properly: -- media-fonts/arphicfonts -- media-fonts/bitstream-cyberbit -- media-fonts/droid -- media-fonts/ipamonafont -- media-fonts/ja-ipafonts -- media-fonts/takao-fonts -- media-fonts/wqy-microhei -- media-fonts/wqy-zenhei - -Depending on your desktop environment, you may need -to install additional packages to get icons on the Downloads page. - -For KDE, the required package is kde-base/oxygen-icons. - -For other desktop environments, try one of the following: -- x11-themes/gnome-icon-theme -- x11-themes/tango-icon-theme -" - -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}-ffmpeg-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/superfasthash' \ - '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' \ - 'courgette/third_party' \ - 'crypto/third_party/nss' \ - 'net/third_party/mozilla_security_manager' \ - 'net/third_party/nss' \ - 'third_party/WebKit' \ - 'third_party/angle' \ - 'third_party/brotli' \ - 'third_party/cacheinvalidation' \ - 'third_party/cld' \ - 'third_party/cros_system_api' \ - 'third_party/dom_distiller_js' \ - 'third_party/ffmpeg' \ - 'third_party/flot' \ - 'third_party/hunspell' \ - 'third_party/iccjpeg' \ - 'third_party/icu/icu.isolate' \ - 'third_party/jinja2' \ - 'third_party/jstemplate' \ - 'third_party/khronos' \ - 'third_party/leveldatabase' \ - 'third_party/libaddressinput' \ - 'third_party/libjingle' \ - 'third_party/libphonenumber' \ - 'third_party/libsrtp' \ - 'third_party/libusb' \ - 'third_party/libvpx' \ - 'third_party/libwebm' \ - 'third_party/libxml/chromium' \ - 'third_party/libXNVCtrl' \ - 'third_party/libyuv' \ - 'third_party/lss' \ - 'third_party/lzma_sdk' \ - 'third_party/markupsafe' \ - 'third_party/mesa' \ - 'third_party/modp_b64' \ - 'third_party/mt19937ar' \ - 'third_party/npapi' \ - 'third_party/opus' \ - 'third_party/ots' \ - 'third_party/polymer' \ - 'third_party/ply' \ - 'third_party/protobuf' \ - 'third_party/pywebsocket' \ - 'third_party/qcms' \ - 'third_party/readability' \ - '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" - - # 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_libvpx (http://crbug.com/347823). - # TODO: use_system_libusb (http://crbug.com/266149). - # TODO: use_system_opus (https://code.google.com/p/webrtc/issues/detail?id=3077). - # TODO: use_system_protobuf (bug #503084). - # 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_harfbuzz=1 - -Duse_system_icu=1 - -Duse_system_jsoncpp=1 - -Duse_system_libevent=1 - -Duse_system_libjpeg=1 - -Duse_system_libpng=1 - -Duse_system_libwebp=1 - -Duse_system_libxml=1 - -Duse_system_libxslt=1 - -Duse_system_minizip=1 - -Duse_system_nspr=1 - -Duse_system_openssl=1 - -Duse_system_re2=1 - -Duse_system_snappy=1 - -Duse_system_speex=1 - -Duse_system_xdg_utils=1 - -Duse_system_zlib=1" - - # Needed for system icu - we don't need additional data files. - myconf+=" -Dicu_use_data_file_flag=0" - - # 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 kerberos) - $(gyp_use pulseaudio) - $(gyp_use tcmalloc use_allocator tcmalloc none)" - - # 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_bundled_binutils=0 - -Dlinux_use_bundled_gold=0 - -Dlinux_use_gold_flags=0" - - # TODO: enable mojo after fixing compile failures. - myconf+=" -Duse_mojo=0" - - # Always support proprietary codecs. - myconf+=" -Dproprietary_codecs=1" - - # Set python version and libdir so that python_arch.sh can find libpython. - # Bug 492864. - myconf+=" - -Dpython_ver=${EPYTHON#python} - -Dsystem_libdir=$(get_libdir)" - - 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 - target_arch=x64 - ffmpeg_target_arch=x64 - elif [[ $myarch = x86 ]] ; then - target_arch=ia32 - ffmpeg_target_arch=ia32 - elif [[ $myarch = arm ]] ; then - target_arch=arm - ffmpeg_target_arch=$(usex neon arm-neon arm) - # 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+=" -Dsysroot= - $(gyp_use neon arm_neon) - -Ddisable_nacl=1" - else - die "Failed to determine target arch, got '$myarch'." - fi - - myconf+=" -Dtarget_arch=${target_arch}" - - # 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=" - - # Disable fatal linker warnings, bug 506268. - myconf+=" -Ddisable_fatal_linker_warnings=1" - - # 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} - - # Bug 491582. - export TMPDIR="${WORKDIR}/temp" - mkdir -m 755 "${TMPDIR}" || die - - # Re-configure bundled ffmpeg. See bug #491378 for example reasons. - einfo "Configuring bundled ffmpeg..." - pushd third_party/ffmpeg > /dev/null || die - chromium/scripts/build_ffmpeg.sh linux ${ffmpeg_target_arch} "${PWD}" config-only || die - chromium/scripts/copy_config.sh || die - popd > /dev/null || die - - einfo "Configuring Chromium..." - build/linux/unbundle/replace_gyp_files.py ${myconf} || die - egyp_chromium ${myconf} || die -} - -eninja() { - if [[ -z ${NINJAOPTS+set} ]]; then - local jobs=$(makeopts_jobs) - local loadavg=$(makeopts_loadavg) - - if [[ ${MAKEOPTS} == *-j* && ${jobs} != 999 ]]; then - NINJAOPTS+=" -j ${jobs}" - fi - if [[ ${MAKEOPTS} == *-l* && ${loadavg} != 999 ]]; then - NINJAOPTS+=" -l ${loadavg}" - fi - fi - set -- ninja -v ${NINJAOPTS} "$@" - echo "$@" - "$@" -} - -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 - - # Build mksnapshot and pax-mark it. - eninja -C out/Release mksnapshot.${target_arch} || die - pax-mark m out/Release/mksnapshot.${target_arch} - - # Even though ninja autodetects number of CPUs, we respect - # user's options, for debugging with -j 1 or any other reason. - eninja -C out/Release ${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}" --test-launcher-bot-mode "--gtest_filter=-$*" - einfo "$@" - "$@" - local st=$? - (( st )) && eerror "${cmd} failed" - (( exitstatus |= st )) - } - - local excluded_base_unittests=( - "OutOfMemoryDeathTest.ViaSharedLibraries" # bug #497512 - ) - runtest out/Release/base_unittests "${excluded_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 - "SpdyFramerTests/SpdyFramerTest.CreateContinuationCompressed/2" # see above - "HostResolverImplTest.BypassCache" # bug #498304 - "HostResolverImplTest.FlushCacheOnIPAddressChange" # bug #481812 - "HostResolverImplTest.ResolveFromCache" # see above - "ProxyResolverV8TracingTest.*" # see above - "SSLClientSocketTest.ConnectMismatched" # see above - "UDPSocketTest.*" # see above - "*EndToEndTest*" # see above - "Version/QuicHttpStreamTest.Priority/0" # bug #503010 - "Version/QuicHttpStreamTest.DestroyedEarly/0" # 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 - - dosym "${CHROMIUM_HOME}/chromedriver" /usr/bin/chromedriver${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 - - readme.gentoo_create_doc -} - -pkg_postinst() { - fdo-mime_desktop_database_update - gnome2_icon_cache_update - readme.gentoo_print_elog -} |