Major cleanup

This commit is contained in:
layman
2016-07-08 15:04:50 +02:00
parent 528b4c8758
commit 7ca66cca1a
127 changed files with 19 additions and 103663 deletions
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
-34
View File
@@ -1,34 +0,0 @@
AUX chromium-arm-r0.patch 495 SHA256 3c6138787d83390100fa6b7571759e975c9011e3ae345c6bbbb1e00a9e611e60 SHA512 5438e04d870752e945d3fe6f0f623f82724c59b8226be314243119c04605e0d5835e0b2c3657f550ef19f0645bcf889643315a8016bcad5c466ebb78a89a5331 WHIRLPOOL 5706bd14249b30cff386e25967a46011f5fa9ed3b27a96bbeece73d2b726642d6fc3fc8848a67f0f20b31bccff77b4e8145c7c6c03c807259d3daf2038dc3643
AUX chromium-blink-crash-r0.patch 533 SHA256 79a174c3ff58dd4e4b340a498f0f59b915a3fe6605b82002d6dbaf7145bd3ef8 SHA512 51db3e10d36dd40f7cb446784769802f5aac6c5ba1cbc17d50a2b13d958d4c6ce81afeb094211988fafc7df1946e18e65c7fab9430dad718b14f078cdc2119c4 WHIRLPOOL 9b5eff70013f5c54197d569bee23a228037dd8c66476665ea39b80fdd5da778fac90bd9c181fe4a260cbab0993a9f67e3dce40f5ab80c713d5a892dbcd049d65
AUX chromium-browser.xml 407 SHA256 bc039012f8677468e9ce5df825f9d8096be6deb5813031c86a087c88105096ff SHA512 b767fb4fd1925029d95560fc14cb7ab12ae43b2fe923e92d75e733b9723cbe1dcdf6df041a2b62554e98b79b47ef3f6028c773e72e6fd53166a021d49657aeca WHIRLPOOL be37cd2e7d02c510e84c484f32ab6ab2e1f38a2a03c0cdbc9b6b485d64feaf79944d8ce097f0838ae9bc71c42401b633350b847ad316b8e23cf5614e3913e7ec
AUX chromium-build_ffmpeg-r0.patch 3142 SHA256 625f9a9695ba4960010bc96998798a1c7732fb6a1f4e375151ee2fb745489031 SHA512 da346f9f5e40385fc4a9b1ad8182b9676c1443ecfcc6efd76547389e2a6dca6814eaee75096e64e431d35069defade81a418559515a78d11476ef5d1a49add47 WHIRLPOOL 9d5350285c643e5ebd8fc5f9833fb8249efb327514177a8bd757fd724f9af9c46a6799469fce6c37ab5b34780fbdca9f60b8ca3bf0b2a8bd035d609d2c14944d
AUX chromium-chromedriver-r0.patch 583 SHA256 83335c81bfe71023c5d577dff2b9314f6ba33dadb30cb949e7a687a74c4e5add SHA512 9496a1c9a979b7f19823a6dfac5deec36c67895de212311a752ebf549c3390a28285c11a9b0b1c9e65feee841d09c600984ae1b49f502545ed833834d855a36b WHIRLPOOL 1c4e41b1ed4685f7f6f4d465365a4cd5e7e9bd8558664808e437b4500aaea2cbdb79e7367f2efadaeb5f87415fb840a16fbbf004976e25227ed5fd0e6ef9e232
AUX chromium-cups-r0.patch 838 SHA256 f8a9e97c91b99474c968001a7fd58ee1996afd5f842e1b15a2d692cb854408ac SHA512 591e06e9e869f95ce26d2d84e1c84c753daab5d902bb78088853cc3f10c9d0a4320f24d98d172504154b29ce432eb44f985074ed1471200903c5c8ab48b0dc20 WHIRLPOOL e882dc853e000d9596c278310b4cb4abe8e401f49ad06aea2926a9611b7996907f8241722327ebd556e727344f0fdca60eef84d6f9baa4c34bee5d22db8f7b80
AUX chromium-d8-r0.patch 334 SHA256 6c7be33f0e5d0b18edc06be416bd41b0a2567ee5463d97a20ecdd0421a1793ba SHA512 c83a3d6fd99f3396db2a05ddc0177e6a2027c6439a6c9dc4c9b57c1ca64887075f8e899ee899812b0c5f234ec3a513254ef1ee2cbeb32a38de589194a5fc8c10 WHIRLPOOL 60a47a08308d8a21615cfcc43501a5a4e891f10b0d1a31cd89f75be3a8f5d84b3c50adbc353aec8a51b35c590b03047bcc88327d2bf31a3299345afef9f26f84
AUX chromium-depot-tools-r0.patch 488 SHA256 14d86770eaaead42e244007ebe5a94d188f8668c2598fa6042ada87a90cae671 SHA512 0ed853976c2e6f2cfe3bc4a7e2cb89bc5e32e9ed1bcc6b5fa8abac1d6a9384526a5204a3dc8cbcfc23b86bcd984e73ac772ca1741eea0884237fd6846c516623 WHIRLPOOL ebe1d5c170fb5ced7b8f4a8fe3e59eca145af54ef847b19eb38b5ced14798067033b43e9988b64a940bf43d3322d7b5979d4019fd378293b17db8bba9e23b84a
AUX chromium-gn-r0.patch 356 SHA256 a1145e83d775101b28dcdceb3ca076fc7e9a4b9f69a1a2236d0c97ad39afb3d3 SHA512 e91a59ed1865efb394614c13b7ecde10c72002b1daba5c40062b970529071419d461d07aab17cd60a5e06e382436384787b940edda5694c4b87b30423129eb63 WHIRLPOOL dec9ecd10253ccc6162557349c013db7a17f9c53f735f1ad8f5b3cbc1cd8e20e553a882ea111c6808be7864f258447b3f0fd2fc1cb46c89b9c593e4460527ef1
AUX chromium-gn-r1.patch 380 SHA256 b1ca3f17959be4fb6c031563b1ee587b7e990166c41b9d5b9dce2f91bf01fe1c SHA512 9112a0b2688e0e1fdb27315873f1b829bfc0221320aed43ac92988b65c9ceb50f64af8e77c90c58efd670d3932c0b0e4555f06c25e35ed5a35de9f2316c0df00 WHIRLPOOL c967b0c8e9e2e5484a25903692dec33f3f2abb26ae4d814ccb3fe0aac205710f217627057c58ba21e92f466eb2e5917c8617e826390523ced633751a0655a4fc
AUX chromium-gn-r2.patch 386 SHA256 f307300f5a124d9b262f850b2c44fb250c150c07a0d1a44ef01a25145bb1c05a SHA512 f59fcadd4310a90f9c92b58024a81ad3d195cb593a9d535bc5fbdf5eb9e78860fb35c8b5550ea0020510d8b15992899821494b6c943a27a7e2b6769b9517111f WHIRLPOOL b3712f7d2f6c32ad9056bd1fc96c91c0c993eb1363d1842f7a8e9e65833a2ea8df4f830f42f2d51c4e3caada6a7f3f4680328f22a97f8080e5b7f638526f4beb
AUX chromium-gnome-keyring-r0.patch 881 SHA256 60bc75e6308d7348d1749e491a04918cc551e1bfdd2e204805bf956a91b33514 SHA512 ded33638266733a4a9dfe99ebae2ba4e4469fd8e275cd22e468aa75bade517641baf76e52cf6bfeb88bb40220a60ddeef519db32745486484d87d85ed0648fb4 WHIRLPOOL e028d271af1a9aca776711c70e2d716ca481430bd3aab18c3c05b7edf9d776204eda7f1bf71a0a3cfca22f5714604fa1608ee4119d3fe41bb48b70724877e333
AUX chromium-gpsd-r0.patch 592 SHA256 9af056bd99e5176af6f5d8acb7d54241731b64fb3fa517fe1a698b35e21692d1 SHA512 72a668dbd5b343a34a1938c2a6f1147d14a149b9a4a981487e9ca8fa6d912791a6c11e29178c3abe1e691c0e1bf6e435a390eb89aa63bda72d592ab3b0a55b1c WHIRLPOOL 7f04535d674498e2f2d572b6feb5ee4a183ffcf9671f308947e5c4a7370399bc8388d53705f7ca23dd6038bb12c81af0fe0b8b1f3cb7d90465b255e4d3c8b7d9
AUX chromium-launcher-r2.sh 940 SHA256 842e121bbfa33513ca964744f0ba8401401946e672cd6a0a95bc80a28212e87e SHA512 64ec5e0a4f524bd6164fe33a022419d6cf54822754b172e85ea003c47f9bfe6ed996353af707a4e16369a68d2f2e7d51f186397a48da42f13eb3dccb7e4ae4f8 WHIRLPOOL 4a2284957bb462ded600f14b1aaa7e29389181cda149b9090cb7b6fe8303dc5692519da6281769925b2122578ba2ea0ef8a1563077a62d7cdf7ca243c165805a
AUX chromium-launcher-r3.sh 1199 SHA256 9bceb14a6c171754b77bcc7e6095285fcb58a9ca10e2e4a9c9e13dc561fc0c01 SHA512 f1909314ae74985c85740d26c9bfab694f3202de8ccc392a1c4ec5c8760db21b6cc46146c78a9abebd09e6d24f37e19466f0c4d2d61815400b48d859f8ce154d WHIRLPOOL faa7eb72a4a5902299925ab4c13308299fccfbdf34a417ce89fa800cfcd6ebf0a3a456db1e8625e205be445d4ad2718db6cf6d581b266bb9227fb03506a67220
AUX chromium-system-icu-r0.patch 828 SHA256 9bf164094ff33565f79807ab17cbd1d3f75655383fdaa01bb1a702263174cf09 SHA512 a68b302f414ad533fe8356d5de0d1fee140402677a3f3ef35a9e5d58a23594a5de2f837ee8ea723d5459fd5eee863f848222d5d4eba84886bb330e198d77ab2b WHIRLPOOL 32b8a15b1eff3e67b27c414a08d2a9df28f0d1c711af7c24abf195dedf3451bd45b596f7001f80b317bd5f08bafd4c48a17ba47c66b2fbcfabc692382745019b
AUX chromium-system-jinja-r0.patch 644 SHA256 024b597104d6aa480f964b5c003f0d0287f97c777dd67f45d9131bb481870cf5 SHA512 7fe9374c185df16b0cbc877dbd9e2e763e515af6e1774ee3e4b577f33d6df1b90d9a5f23cf4751bb33eefd86a150963fa1b4d5c3f8bfcc277dc682ba93b209ab WHIRLPOOL badc3db0ed47360531bfebbb04b5dd0440c219ba6926ecd22220df9352fd47d096659b0b10a37a51e94f24d2a37dd355980db48e3d79aadd2e322a1338788218
AUX chromium-system-jinja-r1.patch 679 SHA256 81f7d24bf420d53003369c5b3ca034b183c25cfda2d5a7887cbbd348750eb79f SHA512 84eff44f0680139236ef7e7f7e7f43849932acf8f43e69bca39287a0b2829cda4d0f17f7be061ec9496913890b1601305a504caf15f50e339f4cf05ec272c1e8 WHIRLPOOL 9801d8ecf2f8372a6130e3fa3aff7f9798c9ec92ee73d93b877d831a39403e8c4019cfdb92d1052fa80db210831dfe1e297689ee3fc5adcadf3edc97c8f11f76
AUX chromium-system-jinja-r2.patch 1343 SHA256 adc093302cdcf1823c82cb1f5e8f6b9df437275ac3ddc1bd554f8dc8bcb601f7 SHA512 32597b55adc1a2be667e45ae7ec54178582f3593093454e270e4904d2b0414ecb585d3f94117c6b857cb97edfaf4be32a222e8cbfd45ae3faf6fd6dbb1912fae WHIRLPOOL 1fbeb7e88fc4a5752395926bd890b80942b0fef10fd440241ca5989606117bc26b77455d834cc264c25cb14d8f9daa8724faf22d8f169091ee718b03f64573e2
AUX chromium-system-jinja-r3.patch 1343 SHA256 1d5b5995b2c8df99fe32b9728c4ce0b1b2fff7e178eed00920c91d28af3b689d SHA512 5abc90d878c151d901e29fd28dfee801ed68c49af28a21e93eeb51663143d87fedcbaf6d3b86734c62202fbe4fc1516828240a5f1e7c8502401323d8f5d6669f WHIRLPOOL 58aa8812296d8b3db01acd9c8bd6cc56c6bf2799cf2fe0e5f086bea2b3a5aef505ceb67086c6a7f23ae772dbf8b6e6f767141566ec5cddfc33fd585eba4a4370
AUX chromium-system-jinja-r4.patch 1301 SHA256 f75d2cd436e11b66aad3e5feea759520d4ea4a5dac08d71286acb6ace67518d5 SHA512 c65bc582042cbd88d16bfff02e795113f431712c93071efbc9693264bc52676aba245ad3e3578584838ed35e15c8ee6d0040850ce3d5375371d176dd1d51ef7f WHIRLPOOL 1f66594b8a85c7090b37ca2a6bef70c3def5b8189ab2a0b835ce4c2c70cdccb7da0cdf88a9339b9377c30dd202540429c6b8c5544b1f5aabb75411cfe4b4c5fe
AUX chromium-system-jinja-r5.patch 1407 SHA256 aa4621e78dc4f6bcb84bcb64313cdc478659769d959e4797ab9c85058615a413 SHA512 dc11aa91396f6f765d8ef20940a5c999f5bfe118a9a6c7d7dde409358c2445c08997d7b662fb85f429c1754c67e722de1b29df9839a5f305d55d610128a41b10 WHIRLPOOL 07202817a22ceaaee46ae0e78de1a759f0440edb8c846b0eda80b54faf15fae4a6439f80fa9ac304fdc31bef67a0489877c6019a8b43b6ff429be01888f33c5e
AUX chromium-system-libjpeg-r0.patch 519 SHA256 c27541fac46eee3293df3ea86f4e9b4f2c0fc17eb576ca0f63496ce093f605ba SHA512 754c5e9a4c3a1dec80308b4f459725941d4b52fec19a1f522519fdc52e311ea1b9ded1fb6f0a9bdc89daf9efdf7067cd28da1330681a584d52f6346c33cac46d WHIRLPOOL 1abba75b40c884e08fa07b97de972ecbea76bffc0d29b5fe6ffca215388a801d81da5f0920e1f60a62f6873e66893a5c0a34a308a635dd7e00e507701eb961bf
AUX chromium-system-ply-r0.patch 560 SHA256 a1d9a17d91edeea93a8745a677b8e79e36ea10569ab32e09b86e666262fb5ca6 SHA512 b54517042abe3f8de8a5b4d3fdf4c5da9ef94538d150b5c92349db43f221720be09a9e70818746d797cfcfb203c1129eea8e0eef026ce9c5fab8b74f9aa70b31 WHIRLPOOL 9feb572f887b6e819e2b97e97a0e6f864c3eea05b2cd185b972098dab997b59ea35ce1e6cf15e72cfb2874cb003f486ab369cb1cc3be665419f0a4cd2d88a5d0
AUX chromium-system-ply-r1.patch 531 SHA256 b2269a9878121a1c6160b27412d13c534f2f6d15bc1bc23fab4fda2eff6edd32 SHA512 1fb1516959b3800e1f22416849aabca078a0350cda32cf7648f15edb8d1396599cb466801211b28ad6701f693ba881b9032a576da0e9de806499c55f3d901182 WHIRLPOOL ac1003b6ba64d2eb007e22ea18b3841b14d76bb2219be91ce43702ad42fb4a99776807bd1b89c2de34715c331af21e9b1d59c8a57d0c2b1258b2001099f0566c
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-34.0.1847.132-testdata.tar.xz 108476892 SHA256 0c3c9894cd1a16bfcfc122d40d38bf1c6986087e17d22d86de9d3624c404eb32 SHA512 db8ca16ded7cde02cb257fc30bc0badd0aed30439f656c868bcdbef15cdc651d1ac623418ee0544ed73b8f55784011e0b159edd16e84fa904323cbde9dfed4da WHIRLPOOL 5eee1d121f02f49ddde826114c3edc5aeebd00cfaad35d58cb05507d32a3524b32d06722d47a7d40343b1aee1e7a6599c9b737029dbc4c39e563d9176f5bed45
DIST chromium-34.0.1847.132.tar.xz 190164176 SHA256 e8930a43d2cff3cd98d4772f6b7a527b363fa9567afbe86a4c0574dc25886038 SHA512 49d51545548f51dfd917d3980c11b99d45ec68622f282a13346b5658674316ed6da96ca6903ed9e7b9fa7f1c90eac7a3d4766bf36cb8da52e03605771cb9c368 WHIRLPOOL da0c0da7b4e171fac31d3a9854e54b4fb845091696b9303b24d2fc614d1e8c61d39aba17cc32f9ba3364d8e41aabf4985ad73c17764fc3a155b78a4a526fff69
EBUILD chromium-34.0.1847.132.ebuild 19628 SHA256 428cc165fd6a08d7bc2da4cf7529b39cebf9136b7d11d6d5869961b142bd28f2 SHA512 0ef96b5828e39777c080b652d272bc9118c1ae9b82e0c48ce72ae02a37a8c0605264fc17f6515ec9633554c4645b51f6ffef6cc47c126c95c5392e76c2c2a072 WHIRLPOOL 9faa7bef201f51f16f9b95b55534bbbefcf16e004292bd9b9dc7578f7a8248c9268c2bcfb322722107657028c87f38ed256db4d0d8b159ce7951e917333f2fc5
MISC ChangeLog 103875 SHA256 523f62e7e6a8202f6b8d9b3766cd39cc309a5b9fc3d7db5391e74c25950def11 SHA512 f82a723828c882c89909a9ec1ae90370a626c33ff3cf8bc25e764b17b833f5fc3f978f70299fbe7edb8a10573a96879be6b1ee128f2716d816704f53f55dcfc5 WHIRLPOOL b20646ebe815a3ce3940118d610fed9febafae4a344b4efbbad521f88e8119fb297681f4d36ffaa57ae9520a4caad863404daf9c1e3ffb5a6a13e5fb41580014
MISC ChangeLog-2011 114031 SHA256 e2c2c75785c5eaf78b6efe01e357279cbb7be0c89d00b4053f475e963916fa54 SHA512 8e14759348333bdbd7c338080472789d7bbb1ece1ca5817bac6306bdcb33dda1e23bf3055cbb3b7bcee9362b6900bba1ace7ba73f353570a74d3ed761c9198cc WHIRLPOOL 810b6423c53f892a4b0964380b8190dec2a8783d560a9cb0baec93a77d879186201055382ca05975ae242e16728529ae85445db003fdd425355292d17817157b
MISC metadata.xml 599 SHA256 445f23a3d80f257019d11074a593608bc3f3abd22b6985b89f533d94f7799008 SHA512 606d4ead8b6e9c4852110a5b5efe5a5d6219d2e9d546ad114f01d496f4966df0238b8c1fdec93916715887a08e7737c138b6c0a22267256616edded58914c951 WHIRLPOOL d6273eb9bdc89b4a08a572a27708128985094bd684323c2c17587e80364bc446762b325d31977bed1bdbaec31e5dc6d22c29b5bc49c9943e99e837bf529bbea5
@@ -1,652 +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-34.0.1847.132.ebuild,v 1.3 2014/04/27 09:09:50 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 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="aura 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/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/gnome-keyring-2.28.2:= )
>=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/libvpx-1.3.0:=
>=media-libs/libwebp-0.4.0:=
media-libs/opus:=
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/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/jinja-2.7[${PYTHON_USEDEP}]
dev-python/ply[${PYTHON_USEDEP}]
dev-python/simplejson[${PYTHON_USEDEP}]
test? ( dev-python/pyftpdlib[${PYTHON_USEDEP}] )
')"
python_check_deps() {
has_version ">=dev-python/jinja-2.7[${PYTHON_USEDEP}]" && \
has_version "dev-python/ply[${PYTHON_USEDEP}]" && \
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-jinja-r4.patch"
epatch "${FILESDIR}/${PN}-gn-r1.patch"
epatch "${FILESDIR}/${PN}-depot-tools-r0.patch"
epatch "${FILESDIR}/${PN}-cups-r0.patch"
epatch "${FILESDIR}/${PN}-arm-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' \
'third_party/brotli' \
'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/icu' \
'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/libwebm' \
'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/nss.isolate' \
'third_party/ots' \
'third_party/polymer' \
'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_icu (resolve startup crash).
# TODO: use_system_libsrtp (bug #459932).
# TODO: use_system_libusb (http://crbug.com/266149).
# 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_jsoncpp=1
-Duse_system_libevent=1
-Duse_system_libjpeg=1
-Duse_system_libpng=1
-Duse_system_libvpx=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_opus=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 aura)
$(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"
# 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="
# 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
"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
)
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/icudtl.dat || die
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
}
@@ -1,11 +0,0 @@
--- third_party/icu/icu.gyp.orig 2014-03-16 17:49:02.561203814 -0500
+++ third_party/icu/icu.gyp 2014-03-16 17:49:23.191037086 -0500
@@ -30,7 +30,7 @@
}],
['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \
or OS=="netbsd" or OS=="mac" or OS=="android") and \
- (target_arch=="arm" or target_arch=="ia32" or \
+ (target_arch=="ia32" or \
target_arch=="mipsel")', {
'target_conditions': [
['_toolset=="host"', {
@@ -1,14 +0,0 @@
Backport https://codereview.chromium.org/64243002/ to fix a renderer crash.
--- third_party/WebKit/Source/platform/fonts/AlternateFontFamily.h.orig 2013-11-07 18:46:58.174333486 +0000
+++ third_party/WebKit/Source/platform/fonts/AlternateFontFamily.h 2013-11-07 18:47:13.974434037 +0000
@@ -117,9 +117,8 @@
case FontDescription::MonospaceFamily:
return monospaceStr;
case FontDescription::SansSerifFamily:
- return sansStr;
default:
- return AtomicString();
+ return sansStr;
}
}
@@ -1,13 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE default-apps SYSTEM "gnome-da-list.dtd">
<default-apps>
<web-browsers>
<web-browser>
<name>Chromium</name>
<executable>chromium-browser</executable>
<command>chromium-browser %s</command>
<icon-name>chromium-browser</icon-name>
<run-in-terminal>false</run-in-terminal>
</web-browser>
</web-browsers>
</default-apps>
@@ -1,87 +0,0 @@
Fix HOST_OS detection in build_ffpeg.sh
https://bugs.gentoo.org/show_bug.cgi?id=491466
Enable gold linker
https://bugs.gentoo.org/show_bug.cgi?id=491850
--- a/third_party/ffmpeg/chromium/scripts/build_ffmpeg.sh
+++ b/third_party/ffmpeg/chromium/scripts/build_ffmpeg.sh
@@ -75,7 +75,7 @@
LIBAVUTIL_VERSION_MAJOR=52
case $(uname -sm) in
- Linux\ i386)
+ Linux\ i?86)
HOST_OS=linux
HOST_ARCH=ia32
JOBS=$(grep processor /proc/cpuinfo | wc -l)
@@ -85,6 +85,11 @@
HOST_ARCH=x64
JOBS=$(grep processor /proc/cpuinfo | wc -l)
;;
+ Linux\ arm*)
+ HOST_OS=linux
+ HOST_ARCH=arm
+ JOBS=$(grep processor /proc/cpuinfo | wc -l)
+ ;;
Darwin\ i386)
HOST_OS=mac
HOST_ARCH=ia32
@@ -117,14 +122,6 @@
echo "LD = $(ld --version | head -n1)"
echo
-# As of this writing gold 2.20.1-system.20100303 is unable to link FFmpeg.
-if ld --version | grep -q gold; then
- echo "gold is unable to link FFmpeg"
- echo
- echo "Switch /usr/bin/ld to the regular binutils ld and try again"
- exit 1
-fi
-
# We want to use a sufficiently recent version of yasm on Windows.
if [[ "$TARGET_OS" == "win" || "$TARGET_OS" == "win-vs2013" ]]; then
if !(which yasm 2>&1 > /dev/null); then
@@ -292,14 +289,16 @@
add_flag_common --extra-cflags=-m32
add_flag_common --extra-ldflags=-m32
elif [ "$TARGET_ARCH" = "arm" ]; then
- # This if-statement essentially is for chroot tegra2.
- add_flag_common --enable-cross-compile
+ if [ "$HOST_ARCH" != "arm" ]; then
+ # This if-statement essentially is for chroot tegra2.
+ add_flag_common --enable-cross-compile
- # Location is for CrOS chroot. If you want to use this, enter chroot
- # and copy ffmpeg to a location that is reachable.
- add_flag_common --cross-prefix=/usr/bin/armv7a-cros-linux-gnueabi-
- add_flag_common --target-os=linux
- add_flag_common --arch=arm
+ # Location is for CrOS chroot. If you want to use this, enter chroot
+ # and copy ffmpeg to a location that is reachable.
+ add_flag_common --cross-prefix=/usr/bin/armv7a-cros-linux-gnueabi-
+ add_flag_common --target-os=linux
+ add_flag_common --arch=arm
+ fi
# TODO(ihf): ARM compile flags are tricky. The final options
# overriding everything live in chroot /build/*/etc/make.conf
@@ -322,11 +321,13 @@
# NOTE: softfp/hardfp selected at gyp time.
add_flag_common --extra-cflags=-mfloat-abi=hard
elif [ "$TARGET_ARCH" = "arm-neon" ]; then
- # This if-statement is for chroot arm-generic.
- add_flag_common --enable-cross-compile
- add_flag_common --cross-prefix=/usr/bin/armv7a-cros-linux-gnueabi-
- add_flag_common --target-os=linux
- add_flag_common --arch=arm
+ if [ "$HOST_ARCH" != "arm" ]; then
+ # This if-statement is for chroot arm-generic.
+ add_flag_common --enable-cross-compile
+ add_flag_common --cross-prefix=/usr/bin/armv7a-cros-linux-gnueabi-
+ add_flag_common --target-os=linux
+ add_flag_common --arch=arm
+ fi
add_flag_common --enable-armv6
add_flag_common --enable-armv6t2
add_flag_common --enable-vfp
@@ -1,13 +0,0 @@
--- chrome/test/chromedriver/embed_version_in_cpp.py.orig 2013-09-27 18:44:27.221221038 +0000
+++ chrome/test/chromedriver/embed_version_in_cpp.py 2013-09-27 18:44:59.861416643 +0000
@@ -25,9 +25,8 @@
options, args = parser.parse_args()
version = open(options.version_file, 'r').read().strip()
- revision = lastchange.FetchVersionInfo(None).revision.strip()
global_string_map = {
- 'kChromeDriverVersion': version + '.' + revision
+ 'kChromeDriverVersion': version
}
cpp_source.WriteSource('version',
'chrome/test/chromedriver',
@@ -1,18 +0,0 @@
--- chrome/browser/ui/libgtk2ui/libgtk2ui.gyp.orig 2014-02-28 02:42:18.993134286 +0000
+++ chrome/browser/ui/libgtk2ui/libgtk2ui.gyp 2014-02-28 02:43:37.633657361 +0000
@@ -17,6 +17,7 @@
'../../../../build/linux/system.gyp:gconf',
'../../../../build/linux/system.gyp:gtk',
'../../../../build/linux/system.gyp:gtkprint',
+ '../../../../printing/printing.gyp:cups',
'../../../../skia/skia.gyp:skia',
'../../../../ui/base/strings/ui_strings.gyp:ui_strings',
'../../../../ui/resources/ui_resources.gyp:ui_resources',
@@ -29,7 +30,6 @@
],
'defines': [
'LIBGTK2UI_IMPLEMENTATION',
- 'USE_CUPS',
],
# Several of our source files are named _gtk2.cc. This isn't to
# differentiate them from their source files (ninja and make are sane
@@ -1,10 +0,0 @@
--- build/all.gyp.orig 2014-02-12 19:11:50.200718819 +0000
+++ build/all.gyp 2014-02-12 19:12:11.160850317 +0000
@@ -676,7 +676,6 @@
}],
['chromeos==0', {
'dependencies': [
- '../v8/src/d8.gyp:d8',
],
}],
['internal_filter_fuzzer==1', {
@@ -1,11 +0,0 @@
--- build/gyp_chromium.orig 2014-01-29 01:22:52.527247671 +0000
+++ build/gyp_chromium 2014-01-29 01:23:49.857623290 +0000
@@ -38,8 +38,6 @@
sys.path.insert(1, os.path.join(chrome_src, 'third_party', 'WebKit',
'Source', 'build', 'scripts'))
-import find_depot_tools
-
# On Windows, Psyco shortens warm runs of build/gyp_chromium by about
# 20 seconds on a z600 machine with 12 GB of RAM, from 90 down to 70
# seconds. Conversely, memory usage of build/gyp_chromium with Psyco
@@ -1,12 +0,0 @@
--- build/gyp_chromium.orig 2013-12-11 03:07:03.941915587 +0000
+++ build/gyp_chromium 2013-12-11 03:07:29.812073301 +0000
@@ -221,9 +221,6 @@
supplemental_includes = GetSupplementalFiles()
- if not RunGN(supplemental_includes):
- sys.exit(1)
-
args.extend(
['-I' + i for i in additional_include_files(supplemental_includes, args)])
@@ -1,11 +0,0 @@
--- build/gyp_chromium.orig 2014-01-16 22:55:50.292718339 +0000
+++ build/gyp_chromium 2014-01-16 23:15:17.890248708 +0000
@@ -370,8 +370,6 @@
args.append('--check')
supplemental_includes = GetSupplementalFiles()
- if not RunGN(supplemental_includes):
- sys.exit(1)
args.extend(
['-I' + i for i in additional_include_files(supplemental_includes, args)])
@@ -1,11 +0,0 @@
--- build/gyp_chromium.orig 2014-02-28 01:05:10.794646362 +0000
+++ build/gyp_chromium 2014-02-28 01:05:52.764917862 +0000
@@ -537,8 +537,6 @@
'GYP_CROSSCOMPILE' not in os.environ)):
os.environ['GYP_CROSSCOMPILE'] = '1'
- if not RunGN(gn_vars_dict):
- sys.exit(1)
args.extend(
['-I' + i for i in additional_include_files(supplemental_includes, args)])
@@ -1,27 +0,0 @@
--- chrome/chrome_browser.gypi.orig 2013-11-13 18:24:41.237282707 +0000
+++ chrome/chrome_browser.gypi 2013-11-13 18:26:03.357780490 +0000
@@ -3064,7 +3064,11 @@
'browser/password_manager/native_backend_gnome_x.cc',
'browser/password_manager/native_backend_gnome_x.h',
],
- }],
+ }, {
+ 'dependencies': [
+ '../build/linux/system.gyp:gnome_keyring',
+ ],
+ }],
['use_aura==1', {
'sources/': [
['exclude', '^browser/automation/testing_automation_provider_win.cc'],
@@ -3153,11 +3157,6 @@
],
},
}],
- ['use_gnome_keyring==1', {
- 'dependencies': [
- '../build/linux/system.gyp:gnome_keyring',
- ],
- }],
],
}],
['input_speech==0', {
@@ -1,12 +0,0 @@
--- build/linux/system.gyp.orig 2013-01-28 16:03:43.709477316 +0000
+++ build/linux/system.gyp 2013-01-28 16:06:14.210254835 +0000
@@ -175,9 +175,6 @@
'gps_open',
'gps_close',
'gps_read',
- # We don't use gps_shm_read() directly, just to make
- # sure that libgps has the shared memory support.
- 'gps_shm_read',
],
'message': 'Generating libgps library loader.',
'process_outputs_as_sources': 1,
@@ -1,32 +0,0 @@
#!/bin/bash
# Allow the user to override command-line flags, bug #357629.
# This is based on Debian's chromium-browser package, and is intended
# to be consistent with Debian.
if [ -f /etc/chromium/default ] ; then
. /etc/chromium/default
fi
# Prefer user defined CHROMIUM_USER_FLAGS (from env) over system
# default CHROMIUM_FLAGS (from /etc/chromium/default).
CHROMIUM_FLAGS=${CHROMIUM_USER_FLAGS:-"$CHROMIUM_FLAGS"}
# Let the wrapped binary know that it has been run through the wrapper
export CHROME_WRAPPER="`readlink -f "$0"`"
PROGDIR="`dirname "$CHROME_WRAPPER"`"
case ":$PATH:" in
*:$PROGDIR:*)
# $PATH already contains $PROGDIR
;;
*)
# Append $PROGDIR to $PATH
export PATH="$PATH:$PROGDIR"
;;
esac
# Set the .desktop file name
export CHROME_DESKTOP="chromium-browser-chromium.desktop"
exec -a "chromium-browser" "$PROGDIR/chrome" --extra-plugin-dir=/usr/lib/nsbrowser/plugins ${CHROMIUM_FLAGS} "$@"
@@ -1,39 +0,0 @@
#!/bin/bash
# Allow the user to override command-line flags, bug #357629.
# This is based on Debian's chromium-browser package, and is intended
# to be consistent with Debian.
for f in /etc/chromium/*; do
[[ -f ${f} ]] && source "${f}"
done
# Prefer user defined CHROMIUM_USER_FLAGS (from env) over system
# default CHROMIUM_FLAGS (from /etc/chromium/default).
CHROMIUM_FLAGS=${CHROMIUM_USER_FLAGS:-"$CHROMIUM_FLAGS"}
# Let the wrapped binary know that it has been run through the wrapper
export CHROME_WRAPPER=$(readlink -f "$0")
PROGDIR=${CHROME_WRAPPER%/*}
case ":$PATH:" in
*:$PROGDIR:*)
# $PATH already contains $PROGDIR
;;
*)
# Append $PROGDIR to $PATH
export PATH="$PATH:$PROGDIR"
;;
esac
if [[ ${EUID} == 0 && -O ${XDG_CONFIG_HOME:-${HOME}} ]]; then
# Running as root with HOME owned by root.
# Pass --user-data-dir to work around upstream failsafe.
CHROMIUM_FLAGS="--user-data-dir=${XDG_CONFIG_HOME:-${HOME}/.config}/chromium
${CHROMIUM_FLAGS}"
fi
# Set the .desktop file name
export CHROME_DESKTOP="chromium-browser-chromium.desktop"
exec -a "chromium-browser" "$PROGDIR/chrome" --extra-plugin-dir=/usr/lib/nsbrowser/plugins ${CHROMIUM_FLAGS} "$@"
@@ -1,26 +0,0 @@
--- build/linux/unbundle/icu.gyp.orig 2013-09-27 18:18:50.531839532 +0000
+++ build/linux/unbundle/icu.gyp 2013-09-27 18:19:08.301950500 +0000
@@ -7,6 +7,7 @@
{
'target_name': 'system_icu',
'type': 'none',
+ 'toolsets': ['host', 'target'],
'direct_dependent_settings': {
'defines': [
'U_USING_ICU_NAMESPACE=0',
@@ -30,6 +31,7 @@
{
'target_name': 'icui18n',
'type': 'none',
+ 'toolsets': ['host', 'target'],
'dependencies': ['system_icu'],
'export_dependent_settings': ['system_icu'],
'variables': {
@@ -116,6 +118,7 @@
{
'target_name': 'icuuc',
'type': 'none',
+ 'toolsets': ['host', 'target'],
'dependencies': ['system_icu'],
'export_dependent_settings': ['system_icu'],
'variables': {
@@ -1,13 +0,0 @@
--- third_party/WebKit/Source/core/core.gypi.orig 2013-09-27 18:25:24.634284363 +0000
+++ third_party/WebKit/Source/core/core.gypi 2013-09-27 18:25:48.614432099 +0000
@@ -3863,10 +3863,6 @@
'tests/TreeTestHelpers.h',
],
'scripts_for_in_files': [
- # jinja2/__init__.py contains version string, so sufficient as
- # dependency for whole jinja2 package
- '<(DEPTH)/third_party/jinja2/__init__.py',
- '<(DEPTH)/third_party/markupsafe/__init__.py', # jinja2 dep
'scripts/in_file.py',
'scripts/in_generator.py',
'scripts/license.py',
@@ -1,13 +0,0 @@
--- third_party/WebKit/Source/core/core.gypi.orig 2013-10-16 18:07:10.783245029 +0000
+++ third_party/WebKit/Source/core/core.gypi 2013-10-16 18:07:31.253373879 +0000
@@ -3613,10 +3613,6 @@
'rendering/RenderOverflowTest.cpp',
],
'scripts_for_in_files': [
- # jinja2/__init__.py contains version string, so sufficient as
- # dependency for whole jinja2 package
- '<(DEPTH)/third_party/jinja2/__init__.py',
- '<(DEPTH)/third_party/markupsafe/__init__.py', # jinja2 dep
'../build/scripts/hasher.py',
'../build/scripts/in_file.py',
'../build/scripts/in_generator.py',
@@ -1,27 +0,0 @@
--- third_party/WebKit/Source/bindings/derived_sources.gyp.orig 2013-11-06 18:36:38.369949986 +0000
+++ third_party/WebKit/Source/bindings/derived_sources.gyp 2013-11-06 18:37:06.980134563 +0000
@@ -53,11 +53,6 @@
],
'compiler_module_files': [
'scripts/idl_compiler.py',
- '<(DEPTH)/third_party/ply/lex.py',
- '<(DEPTH)/third_party/ply/yacc.py',
- # jinja2/__init__.py contains version string, so sufficient for package
- '<(DEPTH)/third_party/jinja2/__init__.py',
- '<(DEPTH)/third_party/markupsafe/__init__.py', # jinja2 dep
'<(DEPTH)/tools/idl_parser/idl_lexer.py',
'<(DEPTH)/tools/idl_parser/idl_node.py',
'<(DEPTH)/tools/idl_parser/idl_parser.py',
--- third_party/WebKit/Source/build/scripts/scripts.gypi.orig 2013-11-06 18:42:10.042086211 +0000
+++ third_party/WebKit/Source/build/scripts/scripts.gypi 2013-11-06 18:42:19.412146455 +0000
@@ -1,10 +1,6 @@
{
'variables': {
'scripts_for_in_files': [
- # jinja2/__init__.py contains version string, so sufficient as
- # dependency for whole jinja2 package
- '<(DEPTH)/third_party/jinja2/__init__.py',
- '<(DEPTH)/third_party/markupsafe/__init__.py', # jinja2 dep
'hasher.py',
'in_file.py',
'in_generator.py',
@@ -1,27 +0,0 @@
--- third_party/WebKit/Source/bindings/generated_bindings.gyp.orig 2014-01-29 01:37:10.832866464 +0000
+++ third_party/WebKit/Source/bindings/generated_bindings.gyp 2014-01-29 01:37:29.082985891 +0000
@@ -74,11 +74,6 @@
'compiler_module_files': [
'scripts/idl_compiler.py',
- '<(DEPTH)/third_party/ply/lex.py',
- '<(DEPTH)/third_party/ply/yacc.py',
- # jinja2/__init__.py contains version string, so sufficient for package
- '<(DEPTH)/third_party/jinja2/__init__.py',
- '<(DEPTH)/third_party/markupsafe/__init__.py', # jinja2 dep
'<(DEPTH)/tools/idl_parser/idl_lexer.py',
'<(DEPTH)/tools/idl_parser/idl_node.py',
'<(DEPTH)/tools/idl_parser/idl_parser.py',
--- third_party/WebKit/Source/build/scripts/scripts.gypi.orig 2014-01-29 01:37:58.853180703 +0000
+++ third_party/WebKit/Source/build/scripts/scripts.gypi 2014-01-29 01:38:06.423230239 +0000
@@ -1,10 +1,6 @@
{
'variables': {
'scripts_for_in_files': [
- # jinja2/__init__.py contains version string, so sufficient as
- # dependency for whole jinja2 package
- '<(DEPTH)/third_party/jinja2/__init__.py',
- '<(DEPTH)/third_party/markupsafe/__init__.py', # jinja2 dep
'hasher.py',
'in_file.py',
'in_generator.py',
@@ -1,25 +0,0 @@
--- third_party/WebKit/Source/bindings/generated_bindings.gyp.orig 2014-02-20 03:49:21.821527295 +0000
+++ third_party/WebKit/Source/bindings/generated_bindings.gyp 2014-02-20 03:49:34.401607238 +0000
@@ -110,9 +110,6 @@
'scripts/unstable/idl_compiler.py',
'<(DEPTH)/third_party/ply/lex.py',
'<(DEPTH)/third_party/ply/yacc.py',
- # jinja2/__init__.py contains version string, so sufficient for package
- '<(DEPTH)/third_party/jinja2/__init__.py',
- '<(DEPTH)/third_party/markupsafe/__init__.py', # jinja2 dep
'<(DEPTH)/tools/idl_parser/idl_lexer.py',
'<(DEPTH)/tools/idl_parser/idl_node.py',
'<(DEPTH)/tools/idl_parser/idl_parser.py',
--- third_party/WebKit/Source/build/scripts/scripts.gypi.orig 2014-02-20 03:49:59.351765796 +0000
+++ third_party/WebKit/Source/build/scripts/scripts.gypi 2014-02-20 03:50:08.111821470 +0000
@@ -1,10 +1,6 @@
{
'variables': {
'scripts_for_in_files': [
- # jinja2/__init__.py contains version string, so sufficient as
- # dependency for whole jinja2 package
- '<(DEPTH)/third_party/jinja2/__init__.py',
- '<(DEPTH)/third_party/markupsafe/__init__.py', # jinja2 dep
'hasher.py',
'in_file.py',
'in_generator.py',
@@ -1,31 +0,0 @@
--- third_party/WebKit/Source/bindings/generated_bindings.gyp.orig 2014-03-04 23:10:29.140572304 +0000
+++ third_party/WebKit/Source/bindings/generated_bindings.gyp 2014-03-04 23:12:53.991556052 +0000
@@ -109,15 +109,9 @@
# Python source
'jinja_module_files': [
- # jinja2/__init__.py contains version string, so sufficient for package
- '<(DEPTH)/third_party/jinja2/__init__.py',
- '<(DEPTH)/third_party/markupsafe/__init__.py', # jinja2 dep
],
'idl_compiler_files': [
'scripts/idl_compiler.py',
- # PLY (Python Lex-Yacc)
- '<(DEPTH)/third_party/ply/lex.py',
- '<(DEPTH)/third_party/ply/yacc.py',
# Web IDL lexer/parser (base parser)
'<(DEPTH)/tools/idl_parser/idl_lexer.py',
'<(DEPTH)/tools/idl_parser/idl_node.py',
--- third_party/WebKit/Source/build/scripts/scripts.gypi.orig 2014-03-04 23:11:54.731153647 +0000
+++ third_party/WebKit/Source/build/scripts/scripts.gypi 2014-03-04 23:12:05.861229233 +0000
@@ -1,10 +1,6 @@
{
'variables': {
'scripts_for_in_files': [
- # jinja2/__init__.py contains version string, so sufficient as
- # dependency for whole jinja2 package
- '<(DEPTH)/third_party/jinja2/__init__.py',
- '<(DEPTH)/third_party/markupsafe/__init__.py', # jinja2 dep
'hasher.py',
'in_file.py',
'in_generator.py',
@@ -1,12 +0,0 @@
--- third_party/libyuv/libyuv.gyp.orig 2014-01-16 23:27:36.335011975 +0000
+++ third_party/libyuv/libyuv.gyp 2014-01-16 23:28:05.845202472 +0000
@@ -24,8 +24,7 @@
'HAVE_JPEG'
],
'conditions': [
- # Android uses libjpeg for system jpeg support.
- [ 'OS == "android" and use_system_libjpeg == 1', {
+ [ 'use_system_libjpeg == 1', {
'dependencies': [
'<(DEPTH)/third_party/libjpeg/libjpeg.gyp:libjpeg',
],
@@ -1,11 +0,0 @@
--- third_party/WebKit/Source/bindings/derived_sources.gyp.orig 2013-07-30 22:29:53.610647573 +0000
+++ third_party/WebKit/Source/bindings/derived_sources.gyp 2013-07-30 22:30:05.150721649 +0000
@@ -262,8 +262,6 @@
'msvs_external_rule': 1,
'inputs': [
'scripts/idl_compiler.py',
- '<(DEPTH)/third_party/ply/lex.py',
- '<(DEPTH)/third_party/ply/yacc.py',
'<(DEPTH)/tools/idl_parser/idl_lexer.py',
'<(DEPTH)/tools/idl_parser/idl_node.py',
'<(DEPTH)/tools/idl_parser/idl_parser.py',
@@ -1,11 +0,0 @@
--- third_party/WebKit/Source/bindings/derived_sources.gyp.orig 2013-09-09 17:53:37.709978765 +0000
+++ third_party/WebKit/Source/bindings/derived_sources.gyp 2013-09-09 17:53:50.540054303 +0000
@@ -57,8 +57,6 @@
],
'compiler_module_files': [
'scripts/idl_compiler.py',
- '<(DEPTH)/third_party/ply/lex.py',
- '<(DEPTH)/third_party/ply/yacc.py',
'<(DEPTH)/tools/idl_parser/idl_lexer.py',
'<(DEPTH)/tools/idl_parser/idl_node.py',
'<(DEPTH)/tools/idl_parser/idl_parser.py',
@@ -1,10 +0,0 @@
--- media/cast/logging/logging.gyp.orig 2014-03-18 22:32:33.802818765 +0000
+++ media/cast/logging/logging.gyp 2014-03-18 22:33:14.683093733 +0000
@@ -40,6 +40,7 @@
'cast_common_logging',
'cast_logging_proto_lib',
'<(DEPTH)/base/base.gyp:base',
+ '<(DEPTH)/third_party/zlib/zlib.gyp:zlib',
],
'export_dependent_settings': [
'cast_logging_proto_lib',
@@ -1,5 +0,0 @@
# Default settings for chromium. This file is sourced by /bin/bash from
# the chromium launcher.
# Options to pass to chromium.
#CHROMIUM_FLAGS=""
-6
View File
@@ -1,6 +0,0 @@
solutions = [
{ "name" : "src",
"url" : "https://src.chromium.org/svn/trunk/src",
"safesync_url": "https://chromium-status.appspot.com/lkgr",
},
]
-14
View File
@@ -1,14 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>chromium</herd>
<longdescription>Chromium is the open-source web browser project behind Google Chrome</longdescription>
<use>
<flag name="aura">
Enable Aura, new UI architecture that is GPU accelerated,
see http://www.chromium.org/developers/design-documents/aura .
</flag>
<flag name="bindist">Disable patent-encumbered HTML5 video codecs</flag>
<flag name="tcmalloc">Use bundled tcmalloc instead of system malloc.</flag>
</use>
</pkgmetadata>