From 39065d63e734d47df6ab9f4d2e440b762ba31852 Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Fri, 9 Aug 2013 03:45:50 +0000 Subject: Beta channel bump. Tweak src_test to output each failed test command. Package-Manager: portage-2.2.0_alpha195/cvs/Linux x86_64 Manifest-Sign-Key: 0x0BBEEA1FEA4843A4 --- www-client/chromium/ChangeLog | 9 +- www-client/chromium/Manifest | 18 +- www-client/chromium/chromium-29.0.1547.22.ebuild | 554 ---------------------- www-client/chromium/chromium-29.0.1547.41.ebuild | 572 +++++++++++++++++++++++ www-client/chromium/chromium-30.0.1581.2.ebuild | 6 +- www-client/chromium/chromium-9999-r1.ebuild | 6 +- 6 files changed, 597 insertions(+), 568 deletions(-) delete mode 100644 www-client/chromium/chromium-29.0.1547.22.ebuild create mode 100644 www-client/chromium/chromium-29.0.1547.41.ebuild (limited to 'www-client') diff --git a/www-client/chromium/ChangeLog b/www-client/chromium/ChangeLog index b70cdd14bf42..3f13e47c3bb9 100644 --- a/www-client/chromium/ChangeLog +++ b/www-client/chromium/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for www-client/chromium # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/ChangeLog,v 1.926 2013/07/31 22:31:02 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/ChangeLog,v 1.927 2013/08/09 03:45:47 floppym Exp $ + +*chromium-29.0.1547.41 (09 Aug 2013) + + 09 Aug 2013; Mike Gilbert +chromium-29.0.1547.41.ebuild, + -chromium-29.0.1547.22.ebuild, chromium-30.0.1581.2.ebuild, + chromium-9999-r1.ebuild: + Beta channel bump. Tweak src_test to output each failed test command. 31 Jul 2013; Mike Gilbert chromium-9999-r1.ebuild: Apply src_test change to live ebuild. diff --git a/www-client/chromium/Manifest b/www-client/chromium/Manifest index cdd12b44d371..bf35c0417022 100644 --- a/www-client/chromium/Manifest +++ b/www-client/chromium/Manifest @@ -28,10 +28,10 @@ DIST chromium-28.0.1500.89-lite.tar.xz 148380244 SHA256 de0ba8e3ee33d1053217852b DIST chromium-28.0.1500.89-testdata.tar.xz 141151156 SHA256 f9f73f70f84ac9da7a26cb5beb11b67ba3633b3cb5a2e8edb8a681e822633271 SHA512 a17e77f2878999eac2dc0eabe57def815b17721a13e888abbcfaacd1f083a382d7194027e049340c46063705cded82e5d257f5ac4e11816c98da470955358c75 WHIRLPOOL 051d6da17490b73ce6c752b99e9e7e9103890b222d96ac3cc549f0026cbe484be6226087afff0f2a4aedbf6aca1182e2ad0626954c79590c6b8de5cb36aad631 DIST chromium-28.0.1500.95-lite.tar.xz 113765940 SHA256 68127ad5bcefd7870cf8a3a078638b7bea5e69d4f3501b6c5b1af6d81c3501ab SHA512 94497691c2f8d3defa030956a0bb72213f3c5d9307295ad33d3952ccfbe83011a4be2bbf4d58846f7b52641b0f104f86d9c2e709118af9020c42a2f4deb19d60 WHIRLPOOL 36f10c03f049c0dd46560dbdd19977a1b159ad733db50f200bc2856ee37c4aaa2b3f2c9cd1659092942939b82dac07f8b18028802397994e723dc4d9d976f49d DIST chromium-28.0.1500.95-testdata.tar.xz 140983384 SHA256 93dc15df08bb7f62717a2e4855e087f9e5f5f6e7810c1e63763c968f110cd35a SHA512 be7889dc60a34e9a81d49215439445eeda8c355ed71da0e5296ab582e85e5bd72d53433b56fa114a2ff25759f1b02b59efe4a13cb13d0d35715cc69438aa54f9 WHIRLPOOL 0a32be3a2e2d3414824b84b7500ca2297e3bb57b9916773e1dafbc8dbc6b59f0fc7efdc3e65ea8f590c8ed88d53053c877d4448cd80699ef3f988e2f6a5e13f4 -DIST chromium-29.0.1547.22-lite.tar.xz 158881768 SHA256 6c2eb16cea6072c128cf703be02698a2de15ed6efb9d5082521d714821d8b408 SHA512 68027f0edfe8fdfd0a6e42600923857c0245c2d82b8aee55f4a71a8a17a538a1b2a10b5fc3a2d42f9ff024ca936bffa352d6b37c1a51e8e66097283bb1114075 WHIRLPOOL 4b28099cf9c13a8c529cb8e99f336b59ceea9c3ab4266a40b2d06bb8087f1962a976275ab1b71d2e6b315fd30f5f5a168518bc7f8bd452854116b8392ecd4b51 -DIST chromium-29.0.1547.22-testdata.tar.xz 109014636 SHA256 7cb7594b711567a08a12ff757cd8b82141ac4d47ce761140ac7618a24fc722dd SHA512 5e8024cfb329e0278d9d5af389196a96196f59c3d0e6a344c517998f0b0850d4833f9f278836dd2f64957acece1ca73ca73f304a2cbdb3174b670a082e61712c WHIRLPOOL 7efe92f1c0d3df79104160228418057f94f3aca70a720fbcd8c25089ddb1d75a0e5e8b481c5c7a3c6ba7eae33fc5f75c5f8c9e30013b61d77397395c8b2d83ab DIST chromium-29.0.1547.32-lite.tar.xz 124405536 SHA256 7efa72b9f75aed65a7400740e0838c87cedd9df8a192b3e7f095d944174ae240 SHA512 ee47182451882d0cab3e73f67e8d4329d48e47036efa80a5eedec85a88b5f97964c76cfe466fe2a9f45e6d77fdbf8f4f79499bfec27e1855f3599dfd70cdbf98 WHIRLPOOL c091a65bc56b35d057db04129ed0c1debe7f65515aa59b42069294959ceb701b284b6df14c19f244750cff9b01c071ad1a47c44a5130f8e5aed93e30bda3e94e DIST chromium-29.0.1547.32-testdata.tar.xz 108869168 SHA256 39f10c55f52f7aecf631d15094dc58ad484061049a6c94a572607b4d136953d7 SHA512 dc5d8cbdba42946298a95e6b54c8e53ffec9e8d8fc2b262382ad6a3f042bfd15b00cbfa102cfddc58742b1550906f138ead7d8f9eead0910d2f919d753498343 WHIRLPOOL 7198cab6f9e0eabdf09a5d41188325af4295c489f2dd3383a0f4558d223b2d73b0c526914830485f5fd6ff0774c1d977cf1bc1e4a46054539f7715053ae76b20 +DIST chromium-29.0.1547.41-lite.tar.xz 124466740 SHA256 6af345b129b9b96c8035c464b539e872b9f5e6aea1426578f036f30590f97851 SHA512 01b8cfc7459df370bd73621d6dc9e0014193b17c2c3c4c4d0ba21214d95ed4ec6fdf11ff7c28e4177153d2bbd48122bce57c85f19139fa8a452b98bedf9f7c2d WHIRLPOOL 554f2bfdf481899c6c38ffb95a08df9d7d8b93b5e7a7d4a51da77f1e52869c6a14f8c4f08aadd1bf2f5851e5951fed942ff73551dcd25b4a6d6fe715d1b865fe +DIST chromium-29.0.1547.41-testdata.tar.xz 108867764 SHA256 9238dcf62ebcfd81f179915909be947d9ebda1ab623eabdb0d2f29258a1e7ac5 SHA512 ce9feeb7197a9e2369ab93595f9181f522da9b4d9929187b552f4fcdee743e726c8ab0b4dbb8ec804eb4d5ddc546fcd5693a064c354270e77d4cc0b8f6820d51 WHIRLPOOL d653a0c4ee579e6eeef0e990ad05510748a9332ce846c2b52b60010f5d749262c35b99791ee21ca362a89dbfcf3e73696f80a7597ae80435a967624b9b3b1b3f DIST chromium-30.0.1568.0-lite.tar.xz 127945480 SHA256 3fed27373ebb0bd4a1c9c925ee8d39142811f024d09f7699b8a44625665c5f6e SHA512 61a66cd86d31462aa1504885e77fc9a256b4f141772dfd2ba202b721c88c46995aac576ceac37feb0904646b6b6134ff4442f402c8bbbd318117c3837cc6ed38 WHIRLPOOL 1bbf150e1d638dae2f21b9fb546dcfd71bf9ee2221540082cd200b48ecd7c3e3bb86ae9d366d206a9378aad685eac67e5c3a79ed671709af6ef8ca6280a7b95e DIST chromium-30.0.1568.0-testdata.tar.xz 108803268 SHA256 fee205dead6cc71b83581564dc838ee047f7f7267388838be1e2a04db271f5ea SHA512 b0cc74348b95ad1df23f445f9902696d76a175562f9d9a88f7acb86e96f2c618e1fa5350708c41891b6741544075a34e1087ca038bf5f4f47890d17d6d600cfc WHIRLPOOL 6d1b7ed2497aa0a3ac016a61af1950046db990e3ce2342c6e4e38b2bb52326e74cac6816e782f51109a8dcce4cdc501f147cbd2b3f5aeff7d7c2df4abf22d336 DIST chromium-30.0.1581.2-lite.tar.xz 157077664 SHA256 9c039056ec5aa3cc9cffc18cdeffd920cbd111301dbc952eb3776160c58bd3a0 SHA512 8ac82c4ef077f00b226c407a6d210450c5046e970ebe9a2a472f69febcb906c61879cee1de30b7184a94251be7f53cc92d319e28e5d6db0f84ec8a1db67afae2 WHIRLPOOL 3f89831aff090868803d969c61e5cf3b72fe8a937d3c565c667d3c7ed475c34798b21d8ff28a835a4b904eb47a4d6938f13c4a67fb0fc90dc2ffcb493bc8c8ba @@ -39,18 +39,18 @@ DIST chromium-30.0.1581.2-testdata.tar.xz 108822452 SHA256 7b15fcc5a161d30f98807 EBUILD chromium-28.0.1500.71.ebuild 17352 SHA256 ea638b9794c19fed82a38f24670eb614ffa503f8d8d25a94c8079154f61727ac SHA512 b86d2d2b2a1eb672f1788b74a440860b7f94c3a666dddb194520b447c6b519b3c5047b4cbd79c4d2d1aa99a69a7abfdcbe007ea012926ae6c0ed925bd4093a95 WHIRLPOOL 0d3c4c47d5267b595a3b6b65665807ffc1149a269e78a5f1eba1ea608e2bd3c34b35eb21c7e27b4b6a9ab98ff6320a67e29ee73b159ffa45aad3c314f8542815 EBUILD chromium-28.0.1500.89.ebuild 17325 SHA256 13482aa71b430884c95661392b9c44dc58c1f74b515254bd3978b1cdca26cd9c SHA512 f1be511a188af090cd7ad27f6a0886d4cc813ee152a5f68a060a368a72c520d86b0fa202f376affb881b097604bb16ebb110f91b940032f121628822b55e6dc1 WHIRLPOOL 33929169eeadf2a3289c1ea65f5844a52f2be131ae7687a2579b0fa2c4646c88745fb5f9b8ac9f4e03556651b419c91bd9a08539b646897d835a8444e509bb88 EBUILD chromium-28.0.1500.95.ebuild 17316 SHA256 9405281b3361aa6913b00b99348de7aba47c142ed76841cd96e3fe8bb56374f9 SHA512 2d3a5065b4257ab1e2649c85ddab05a978c04d256ee1f7c8dba6d1af7f17869be7846e77a8ee44c0ca0d87bb022e6e9f98d67289f161b2e0a35c4399833da8c8 WHIRLPOOL 32fec416cf0b5d92d5b3f407357fb22b93bd86d6bf1bc2f57f114e8793f6c9243c1ebe1ba9cfbea7178b18136de2947423637db9dc60e53ccaf22e26a213e0f7 -EBUILD chromium-29.0.1547.22.ebuild 17255 SHA256 27993c7d204118dfeb249efee5417a38354c20b696998025bb0902f5b478a074 SHA512 8db46406025750b4aedd1d6c2c96f8d257da38728051dff244183b1923eefa64f98d016473a660a2c407bc7229d871ab50a95aae41e2f0bb2dada8a4ebf3b856 WHIRLPOOL 5c9a4cfdc8183bb17de997aa2785e26f62a632636e84f389d85d8b42f3d89dd2cad6c187a9e9b9a78728d3889a24d0eae0bd975182a09e724fbdb1547dd7ca48 EBUILD chromium-29.0.1547.32.ebuild 17503 SHA256 c62b14e3aafb5c22b9766c2d50d08c17f41c16b9e75e7e148e014d9cecb8e0f6 SHA512 d6b3756bb993c218b00c3c5cf8207fb091c2230f29fd373ab419ea7a1ea611b85a446f5a45d890525c090943eb250c132299bb41bece3d53ba85ed008db35391 WHIRLPOOL 8a44d3c088b57ce07673b7e7f565a6e32b96443fc3d24e10afdd16199112ff266634955fe7be8bfb7ca1735a1ed30fff5ad27e65b3fc902ea4a5cec29e87aeb4 +EBUILD chromium-29.0.1547.41.ebuild 17554 SHA256 fd1a556ea3c9a4c9e7f503ca7b94cf9d6749e20f483d47873360601142913def SHA512 440d3a0a7002cab3098531290e26785ca3cfd5e60f5f899724653791b0e1c782cc1b7c10e0b9a9f4ed56e9d7c5856dc94cd7e046d698270d7160fc6a200d0afe WHIRLPOOL 12fc803765d8c3299959b4ff4280a031b70a0f58f5336bc006d70bb26a981e7362bf3f4153bbb23ab4bc230d50a5304ce41708f27aaeade088618328cbff23cf EBUILD chromium-30.0.1568.0.ebuild 17509 SHA256 96c67411775894e51ba9d2353d3af13b21e7d8bffdc8b2c720978136d4159469 SHA512 d147d61aa2fa4cd0399b41e6a3961a698bae6e48fdc72c4e2742cb220ee9426499ab968ebf956d76fd70b92605dc7ca12a2db25991b2218089ea4f0f8d402f8c WHIRLPOOL 30b5bebc29c46ad970e02ef3cb8fc1811f52ccbc5b13f2ac8807f256422e679608207641df8de6e7ab7661adcc339a40095d9012a8125310522ae9e6bda30e78 -EBUILD chromium-30.0.1581.2.ebuild 17762 SHA256 b74e964ddd39429a22c4142c56ee3486131d715f6b452720f7077c388cce1e7d SHA512 87403f02e162248d6074907cc3a7f8c117800f90986a02fff7f72e2f5b36c1245844e2863021ec4bf411397e4161fe84b80431bd21810776e922d853d15aa643 WHIRLPOOL 526dbbb74b344cf892ffe3308856b0f2e78be2a55adf4ec878939c2e4209020a4f772b94a65f9b32427fc95372fda00c434444810a105c37fa9f759a8812579c -EBUILD chromium-9999-r1.ebuild 19748 SHA256 ce1420ca400a1d499af7f7b5c99d5739429059ae7d74568c4ace55e3847be595 SHA512 fc2c941d8a45f766b1ba6a52b7aeb21459c039f8ce97017ec9efecd205a7a5892d3daa3654d04af84626bce3328bddd04b1e81161538e3468c551379eaaedf88 WHIRLPOOL a47d42e4ee9ea3448bb763d8636931d627fe955287293b21fb67e8a6050c649f8704f85241d3c8847489e77088b38c6e7f74e13a0430f6a501cd2d9dda38ab9e -MISC ChangeLog 77550 SHA256 2baab78318abb47f5995abbac435735c535a8ebff004ec40bb5b866d99b07076 SHA512 725ada5e583efe66d95b1153782d2072da610cc3f112ccb91d38787483f94b775441bd6867d990c2d10317debfabd332d10e3ca41e4ac8de479f0469649db06f WHIRLPOOL 7c834a74ca6c44f40bb5073d2e9c980770542a0e684083712dc79b64be4c60857d38008023b6ac4995ebce24a4d8c950080105fa2991b863b8683aa3ac7b4474 +EBUILD chromium-30.0.1581.2.ebuild 17813 SHA256 73fa61f7a8892e4635c09c3f532c26c5061eac2871c02a5872d7333a246b3931 SHA512 bbddb0175991c4879cae91a027e123f0bd78d0bb1657f925b927ccd7e55ec3470b9c490e77a5847aa1d2b89e4459bb0c86c23ef5bd18d89c72b349e5b811b584 WHIRLPOOL 138e654ca8ce85b19d84211fa9bb3ca8dd278b17c2ae146df5123b5f7829728b596d94c030f806c921d39508d97ddd4ed82abfb1669a36ebbcb8938dda1e7874 +EBUILD chromium-9999-r1.ebuild 19799 SHA256 86820754bd43023d4e5c5358c41b97d31671e825a9c348745215cc5772385ab4 SHA512 32c0dbb6561de7735fa78ebd44367250e7f271b0bf48278c7af9df202fb51933b6a54ff416b43eb706c0a99b63183cac7e7239286f697f3ed51ca69fdae8c233 WHIRLPOOL 70e25757f458d0406bccb4ff3df9a0dc06888de6fd46da4484402af3a0646e91b67e1f108a6bc85337f04808e622c1ad4cda8e6a4b6a1a08cc849a62470c0099 +MISC ChangeLog 77830 SHA256 c1729d305ed576d4544a77c2a31281fa71bc63594c6ff42dc45866b142707233 SHA512 6dbfa92259f5cdd145ba7fe5df5485b1251ecfa5a9b51bd54f0417ffa35c034b6eaab6fe0b02ee52540debdf0a03289c9ce7d2966233f818cdfa378f7e82638a WHIRLPOOL 376483e8b629747191356d0c44970a16618ee01ee19d00dca0f367b4ea76d1cfb99573b98c2678f16651275efd282c02359caf36cc0092ed379070bf0e750162 MISC ChangeLog-2011 114031 SHA256 e2c2c75785c5eaf78b6efe01e357279cbb7be0c89d00b4053f475e963916fa54 SHA512 8e14759348333bdbd7c338080472789d7bbb1ece1ca5817bac6306bdcb33dda1e23bf3055cbb3b7bcee9362b6900bba1ace7ba73f353570a74d3ed761c9198cc WHIRLPOOL 810b6423c53f892a4b0964380b8190dec2a8783d560a9cb0baec93a77d879186201055382ca05975ae242e16728529ae85445db003fdd425355292d17817157b MISC metadata.xml 703 SHA256 ab48e17b94dc6a8e77b4ef786b60e1518ec079a6b79a733586ac4f39c316ea7e SHA512 4e96d1190cc6d3f1bba5dfcae6bd5699cf9710b8c4c75a1ce66974824cb4f86fe0917f81838c9fb254f0be064e07ce9060d4677938a3a819cff7d1b24e33df1f WHIRLPOOL 4705ddaaecaf5dfd1c611ceabb905991495105078afcacf71b6f389cd3a0649ce46f954ce600ab9e6f66f05d55b4727f856e6c469b0995c2457c8c3715eba8b8 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) -iF4EAREIAAYFAlH5kCgACgkQC77qH+pIQ6QNaAD+IlupZR3Vcnvp2sr/IDihCXvW -Y0vNTc85EZWlno/ps+YA/iiYbMWP67TpZaekoI0XE/2YtWQyeE+9DikZyRKf5CYY -=g+cS +iF4EAREIAAYFAlIEZe0ACgkQC77qH+pIQ6TO9AD9HkrSNEhBP/I6eHBNlfWxjI81 +1KtjD3einVuSA2lofNMBALz88/0+EUbmdkphyLYUsauePuFMU6Wm1wSIzrXatyJ5 +=cZh+ -----END PGP SIGNATURE----- diff --git a/www-client/chromium/chromium-29.0.1547.22.ebuild b/www-client/chromium/chromium-29.0.1547.22.ebuild deleted file mode 100644 index 5a22ca5b9809..000000000000 --- a/www-client/chromium/chromium-29.0.1547.22.ebuild +++ /dev/null @@ -1,554 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-29.0.1547.22.ebuild,v 1.2 2013/07/18 16:11:30 floppym Exp $ - -EAPI="5" -PYTHON_COMPAT=( python{2_6,2_7} ) - -CHROMIUM_LANGS="am ar bg bn ca cs da de el en_GB es es_LA et fa fi fil fr gu he - hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt_BR pt_PT ro ru sk sl sr - sv sw ta te th tr uk vi zh_CN zh_TW" - -inherit chromium eutils flag-o-matic multilib multiprocessing \ - pax-utils portability python-any-r1 toolchain-funcs versionator virtualx - -DESCRIPTION="Open-source version of Google Chrome web browser" -HOMEPAGE="http://chromium.org/" -SRC_URI="https://commondatastorage.googleapis.com/chromium-browser-official/${P}-lite.tar.xz - test? ( https://commondatastorage.googleapis.com/chromium-browser-official/${P}-testdata.tar.xz )" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="bindist cups gnome gnome-keyring gps kerberos pulseaudio selinux +system-ffmpeg system-sqlite tcmalloc" - -# Native Client binaries are compiled with different set of flags, bug #452066. -QA_FLAGS_IGNORED=".*\.nexe" - -# Native Client binaries may be stripped by the build system, which uses the -# right tools for it, bug #469144 . -QA_PRESTRIPPED=".*\.nexe" - -RDEPEND=">=app-accessibility/speech-dispatcher-0.8:= - app-arch/bzip2:= - app-arch/snappy:= - system-sqlite? ( dev-db/sqlite:3 ) - cups? ( - dev-libs/libgcrypt:= - >=net-print/cups-1.3.11:= - ) - >=dev-lang/v8-3.19.17:= - =dev-lang/v8-3.19* - >=dev-libs/elfutils-0.149 - dev-libs/expat:= - >=dev-libs/icu-49.1.1-r1:= - >=dev-libs/jsoncpp-0.5.0-r1:= - >=dev-libs/libevent-1.4.13:= - dev-libs/libxml2:=[icu] - dev-libs/libxslt:= - dev-libs/nspr:= - >=dev-libs/nss-3.12.3:= - dev-libs/protobuf:= - dev-libs/re2:= - gnome? ( >=gnome-base/gconf-2.24.0:= ) - gnome-keyring? ( >=gnome-base/gnome-keyring-2.28.2:= ) - gps? ( >=sci-geosciences/gpsd-3.7:=[shm] ) - >=media-libs/alsa-lib-1.0.19:= - media-libs/flac:= - media-libs/harfbuzz:=[icu(+)] - >=media-libs/libjpeg-turbo-1.2.0-r1:= - media-libs/libpng:0= - media-libs/libvpx:= - >=media-libs/libwebp-0.2.0_rc1:= - !arm? ( !x86? ( >=media-libs/mesa-9.1:=[gles2] ) ) - media-libs/opus:= - media-libs/speex:= - pulseaudio? ( media-sound/pulseaudio:= ) - system-ffmpeg? ( || ( - >=media-video/ffmpeg-1.0:=[opus] - >=media-video/libav-9.5:=[opus] - ) ) - sys-apps/dbus:= - sys-apps/pciutils:= - sys-libs/zlib:=[minizip] - virtual/udev - virtual/libusb:1= - x11-libs/gtk+:2= - x11-libs/libXinerama:= - x11-libs/libXScrnSaver:= - x11-libs/libXtst:= - kerberos? ( virtual/krb5 ) - selinux? ( sec-policy/selinux-chromium )" -DEPEND="${RDEPEND} - ${PYTHON_DEPS} - !arm? ( - >=dev-lang/nacl-toolchain-newlib-0_p9093 - dev-lang/yasm - ) - dev-lang/perl - dev-perl/JSON - dev-python/jinja - dev-python/ply - dev-python/simplejson - >=dev-util/gperf-3.0.3 - dev-util/ninja - sys-apps/hwids - >=sys-devel/bison-2.4.3 - sys-devel/flex - virtual/pkgconfig - test? ( dev-python/pyftpdlib )" -RDEPEND+=" - !=www-client/chromium-9999 - x11-misc/xdg-utils - virtual/ttf-fonts" - -if ! has chromium_pkg_die ${EBUILD_DEATH_HOOKS}; then - EBUILD_DEATH_HOOKS+=" chromium_pkg_die"; -fi - -pkg_setup() { - if [[ "${SLOT}" == "0" ]]; then - CHROMIUM_SUFFIX="" - else - CHROMIUM_SUFFIX="-${SLOT}" - fi - CHROMIUM_HOME="/usr/$(get_libdir)/chromium-browser${CHROMIUM_SUFFIX}" - - # Make sure the build system will use the right python, bug #344367. - python-any-r1_pkg_setup - - chromium_suid_sandbox_check_kernel_config - - if use bindist && ! use system-ffmpeg; then - elog "bindist enabled: H.264 video support will be disabled." - fi - if ! use bindist; then - 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}-gpsd-r0.patch" - epatch "${FILESDIR}/${PN}-system-ffmpeg-r7.patch" - - epatch_user - - # Remove most bundled libraries. Some are still needed. - find third_party -type f \! -iname '*.gyp*' \ - \! -path 'third_party/WebKit/*' \ - \! -path 'third_party/angle_dx11/*' \ - \! -path 'third_party/cacheinvalidation/*' \ - \! -path 'third_party/cld/*' \ - \! -path 'third_party/cros_system_api/*' \ - \! -path 'third_party/ffmpeg/*' \ - \! -path 'third_party/flot/*' \ - \! -path 'third_party/hunspell/*' \ - \! -path 'third_party/hyphen/*' \ - \! -path 'third_party/iccjpeg/*' \ - \! -path 'third_party/jstemplate/*' \ - \! -path 'third_party/khronos/*' \ - \! -path 'third_party/leveldatabase/*' \ - \! -path 'third_party/libjingle/*' \ - \! -path 'third_party/libphonenumber/*' \ - \! -path 'third_party/libsrtp/*' \ - \! -path 'third_party/libxml/chromium/*' \ - \! -path 'third_party/libXNVCtrl/*' \ - \! -path 'third_party/libyuv/*' \ - \! -path 'third_party/lss/*' \ - \! -path 'third_party/lzma_sdk/*' \ - \! -path 'third_party/mesa/*' \ - \! -path 'third_party/modp_b64/*' \ - \! -path 'third_party/mongoose/*' \ - \! -path 'third_party/mt19937ar/*' \ - \! -path 'third_party/npapi/*' \ - \! -path 'third_party/openmax/*' \ - \! -path 'third_party/ots/*' \ - \! -path 'third_party/pywebsocket/*' \ - \! -path 'third_party/qcms/*' \ - \! -path 'third_party/sfntly/*' \ - \! -path 'third_party/skia/*' \ - \! -path 'third_party/smhasher/*' \ - \! -path 'third_party/sqlite/*' \ - \! -path 'third_party/tcmalloc/*' \ - \! -path 'third_party/tlslite/*' \ - \! -path 'third_party/trace-viewer/*' \ - \! -path 'third_party/undoview/*' \ - \! -path 'third_party/usrsctp/*' \ - \! -path 'third_party/v8-i18n/*' \ - \! -path 'third_party/webdriver/*' \ - \! -path 'third_party/webrtc/*' \ - \! -path 'third_party/widevine/*' \ - \! -path 'third_party/x86inc/*' \ - \! -path 'third_party/zlib/google/*' \ - -delete || die - - # Remove bundled v8. - find v8 -type f \! -iname '*.gyp*' -delete || die -} - -src_configure() { - local myconf="" - - # Never tell the build system to "enable" SSE2, it has a few unexpected - # additions, bug #336871. - myconf+=" -Ddisable_sse2=1" - - # Optional tcmalloc. Note it causes problems with e.g. NVIDIA - # drivers, bug #413637. - myconf+=" $(gyp_use tcmalloc linux_use_tcmalloc)" - - # Disable 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_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_libusb=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_opus=1 - -Duse_system_protobuf=1 - -Duse_system_re2=1 - -Duse_system_snappy=1 - -Duse_system_speex=1 - -Duse_system_v8=1 - -Duse_system_xdg_utils=1 - -Duse_system_zlib=1 - $(gyp_use system-ffmpeg use_system_ffmpeg)" - - # TODO: Use system mesa on x86, bug #457130 . - if ! use x86 && ! use arm; then - myconf+=" - -Duse_system_mesa=1" - fi - - # TODO: patch gyp so that this arm conditional is not needed. - if ! use arm; then - myconf+=" - -Duse_system_yasm=1" - fi - - # TODO: re-enable on vp9 libvpx release (http://crbug.com/174287). - myconf+=" - -Dmedia_use_libvpx=0" - - # Optional dependencies. - # TODO: linux_link_kerberos, bug #381289. - myconf+=" - $(gyp_use cups) - $(gyp_use gnome use_gconf) - $(gyp_use gnome-keyring use_gnome_keyring) - $(gyp_use gnome-keyring linux_link_gnome_keyring) - $(gyp_use gps linux_use_libgps) - $(gyp_use gps linux_link_libgps) - $(gyp_use kerberos) - $(gyp_use pulseaudio)" - - if use system-sqlite; then - elog "Enabling system sqlite. WebSQL - http://www.w3.org/TR/webdatabase/" - elog "will not work. Please report sites broken by this" - elog "to https://bugs.gentoo.org" - myconf+=" - -Duse_system_sqlite=1 - -Denable_sql_database=0" - fi - - # Use explicit library dependencies instead of dlopen. - # This makes breakages easier to detect by revdep-rebuild. - myconf+=" - -Dlinux_link_gsettings=1 - -Dlinux_link_libpci=1 - -Dlinux_link_libspeechd=1 - -Dlibspeechd_h_prefix=speech-dispatcher/" - - # TODO: use the file at run time instead of effectively compiling it in. - myconf+=" - -Dusb_ids_path=/usr/share/misc/usb.ids" - - # Enable SUID sandbox. - myconf+=" - -Dlinux_sandbox_path=${CHROMIUM_HOME}/chrome_sandbox - -Dlinux_sandbox_chrome_path=${CHROMIUM_HOME}/chrome" - - # Never use bundled gold binary. Disable gold linker flags for now. - myconf+=" - -Dlinux_use_gold_binary=0 - -Dlinux_use_gold_flags=0" - - # Always support proprietary codecs. - myconf+=" -Dproprietary_codecs=1" - - if ! use bindist && ! use system-ffmpeg; then - # Enable H.264 support in bundled ffmpeg. - myconf+=" -Dffmpeg_branding=Chrome" - fi - - # Set up Google API keys, see http://www.chromium.org/developers/how-tos/api-keys . - # Note: these are for Gentoo use ONLY. For your own distribution, - # please get your own set of keys. Feel free to contact chromium@gentoo.org - # for more info. - myconf+=" -Dgoogle_api_key=AIzaSyDEAOvatFo0eTgsV_ZlEzx0ObmepsMzfAc - -Dgoogle_default_client_id=329227923882.apps.googleusercontent.com - -Dgoogle_default_client_secret=vgKG0NNv7GoDpbtoFNLxCUXu" - - local myarch="$(tc-arch)" - if [[ $myarch = amd64 ]] ; then - myconf+=" -Dtarget_arch=x64" - elif [[ $myarch = x86 ]] ; then - myconf+=" -Dtarget_arch=ia32" - elif [[ $myarch = arm ]] ; then - # TODO: re-enable NaCl (NativeClient). - myconf+=" -Dtarget_arch=arm - -Dsysroot= - -Darmv7=0 - -Darm_neon=0 - -Ddisable_nacl=1" - else - die "Failed to determine target arch, got '$myarch'." - fi - - # Make sure that -Werror doesn't get added to CFLAGS by the build system. - # Depending on GCC version the warnings are different and we don't want - # the build to fail because of that. - myconf+=" -Dwerror=" - - # Avoid CFLAGS problems, bug #352457, bug #390147. - if ! use custom-cflags; then - replace-flags "-Os" "-O2" - strip-flags - - # Prevent linker from running out of address space, bug #471810 . - if use x86; then - filter-flags "-g*" - fi - fi - - # Make sure the build system will use the right tools, bug #340795. - tc-export AR CC CXX RANLIB - - # Tools for building programs to be executed on the build system, bug #410883. - export AR_host=$(tc-getBUILD_AR) - export CC_host=$(tc-getBUILD_CC) - export CXX_host=$(tc-getBUILD_CXX) - export LD_host=${CXX_host} - - build/linux/unbundle/replace_gyp_files.py ${myconf} || die - egyp_chromium ${myconf} || die -} - -src_compile() { - # TODO: add media_unittests after fixing compile (bug #462546). - local test_targets="" - for x in base cacheinvalidation content crypto \ - googleurl gpu net printing sql; do - test_targets+=" ${x}_unittests" - done - - local ninja_targets="chrome chrome_sandbox chromedriver" - if use test; then - ninja_targets+=" $test_targets" - fi - - # Even though ninja autodetects number of CPUs, we respect - # user's options, for debugging with -j 1 or any other reason. - ninja -C out/Release -v -j $(makeopts_jobs) ${ninja_targets} || die - - pax-mark m out/Release/chrome - if use test; then - for x in $test_targets; do - pax-mark m out/Release/${x} - done - fi -} - -src_test() { - # For more info see bug #350349. - local mylocale='en_US.utf8' - if ! locale -a | grep -q "$mylocale"; then - eerror "${PN} requires ${mylocale} 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 ${mylocale} is not supported" - fi - - # For more info see bug #370957. - if [[ $UID -eq 0 ]]; then - die "Tests must be run as non-root. Please use FEATURES=userpriv." - fi - - runtest() { - local cmd=$1 - shift - local filter="--gtest_filter=$(IFS=:; echo "-${*}")" - einfo "${cmd}" "${filter}" - LC_ALL="${mylocale}" VIRTUALX_COMMAND="${cmd}" virtualmake "${filter}" - } - - local excluded_base_unittests=( - "ICUStringConversionsTest.*" # bug #350347 - "MessagePumpLibeventTest.*" # bug #398591 - "TimeTest.JsTime" # bug #459614 - "SecurityTest.NewOverflow" # bug #465724 - ) - 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/googleurl_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 - "DnsConfigServiceTest.GetSystemConfig" # bug #394883 - "CertDatabaseNSSTest.ImportServerCert_SelfSigned" # bug #399269 - "CertDatabaseNSSTest.TrustIntermediateCa*" # http://crbug.com/224612 - "URLFetcher*" # bug #425764 - "HTTPSOCSPTest.*" # bug #426630 - "HTTPSEVCRLSetTest.*" # see above - "HTTPSCRLSetTest.*" # see above - "*SpdyFramerTest.BasicCompression*" # bug #465444 - ) - runtest out/Release/net_unittests "${excluded_net_unittests[@]}" - - runtest out/Release/printing_unittests - - local excluded_sql_unittests=( - "SQLiteFeaturesTest.FTS2" # bug #461286 - ) - runtest out/Release/sql_unittests "${excluded_sql_unittests[@]}" -} - -src_install() { - exeinto "${CHROMIUM_HOME}" - doexe out/Release/chrome || die - - doexe out/Release/chrome_sandbox || die - fperms 4755 "${CHROMIUM_HOME}/chrome_sandbox" - - doexe out/Release/chromedriver || die - - if ! use arm; then - doexe out/Release/nacl_helper{,_bootstrap} || die - insinto "${CHROMIUM_HOME}" - doins out/Release/nacl_irt_*.nexe || die - doins out/Release/libppGoogleNaClPluginChrome.so || die - fi - - local sedargs=( -e "s:/usr/lib/:/usr/$(get_libdir)/:g" ) - if [[ -n ${CHROMIUM_SUFFIX} ]]; then - sedargs+=( - -e "s:chromium-browser:chromium-browser${CHROMIUM_SUFFIX}:g" - -e "s:chromium.desktop:chromium${CHROMIUM_SUFFIX}.desktop:g" - -e "s:plugins:plugins --user-data-dir=\${HOME}/.config/chromium${CHROMIUM_SUFFIX}:" - ) - fi - sed "${sedargs[@]}" "${FILESDIR}/chromium-launcher-r3.sh" > chromium-launcher.sh || die - doexe chromium-launcher.sh - - # It is important that we name the target "chromium-browser", - # xdg-utils expect it; bug #355517. - dosym "${CHROMIUM_HOME}/chromium-launcher.sh" /usr/bin/chromium-browser${CHROMIUM_SUFFIX} || die - # keep the old symlink around for consistency - dosym "${CHROMIUM_HOME}/chromium-launcher.sh" /usr/bin/chromium${CHROMIUM_SUFFIX} || die - - # Allow users to override command-line options, bug #357629. - dodir /etc/chromium || die - insinto /etc/chromium - newins "${FILESDIR}/chromium.default" "default" || die - - pushd out/Release/locales > /dev/null || die - chromium_remove_language_paks - popd - - insinto "${CHROMIUM_HOME}" - doins out/Release/*.pak || die - - doins -r out/Release/locales || die - doins -r out/Release/resources || die - - newman out/Release/chrome.1 chromium${CHROMIUM_SUFFIX}.1 || die - newman out/Release/chrome.1 chromium-browser${CHROMIUM_SUFFIX}.1 || die - - if ! use system-ffmpeg; then - doexe out/Release/libffmpegsumo.so || die - fi - - # 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 -} diff --git a/www-client/chromium/chromium-29.0.1547.41.ebuild b/www-client/chromium/chromium-29.0.1547.41.ebuild new file mode 100644 index 000000000000..d6e37fde8302 --- /dev/null +++ b/www-client/chromium/chromium-29.0.1547.41.ebuild @@ -0,0 +1,572 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-29.0.1547.41.ebuild,v 1.1 2013/08/09 03:45:46 floppym Exp $ + +EAPI="5" +PYTHON_COMPAT=( python{2_6,2_7} ) + +CHROMIUM_LANGS="am ar bg bn ca cs da de el en_GB es es_LA et fa fi fil fr gu he + hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt_BR pt_PT ro ru sk sl sr + sv sw ta te th tr uk vi zh_CN zh_TW" + +inherit chromium eutils flag-o-matic multilib multiprocessing \ + pax-utils portability python-any-r1 toolchain-funcs versionator virtualx + +DESCRIPTION="Open-source version of Google Chrome web browser" +HOMEPAGE="http://chromium.org/" +SRC_URI="https://commondatastorage.googleapis.com/chromium-browser-official/${P}-lite.tar.xz + test? ( https://commondatastorage.googleapis.com/chromium-browser-official/${P}-testdata.tar.xz )" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="bindist cups gnome gnome-keyring gps kerberos pulseaudio selinux +system-ffmpeg system-sqlite tcmalloc" + +# Native Client binaries are compiled with different set of flags, bug #452066. +QA_FLAGS_IGNORED=".*\.nexe" + +# Native Client binaries may be stripped by the build system, which uses the +# right tools for it, bug #469144 . +QA_PRESTRIPPED=".*\.nexe" + +RDEPEND=">=app-accessibility/speech-dispatcher-0.8:= + app-arch/bzip2:= + app-arch/snappy:= + system-sqlite? ( dev-db/sqlite:3 ) + cups? ( + dev-libs/libgcrypt:= + >=net-print/cups-1.3.11:= + ) + >=dev-lang/v8-3.19.17:= + =dev-lang/v8-3.19* + >=dev-libs/elfutils-0.149 + dev-libs/expat:= + >=dev-libs/icu-49.1.1-r1:= + >=dev-libs/jsoncpp-0.5.0-r1:= + >=dev-libs/libevent-1.4.13:= + dev-libs/libxml2:=[icu] + dev-libs/libxslt:= + dev-libs/nspr:= + >=dev-libs/nss-3.12.3:= + dev-libs/protobuf:= + dev-libs/re2:= + gnome? ( >=gnome-base/gconf-2.24.0:= ) + gnome-keyring? ( >=gnome-base/gnome-keyring-2.28.2:= ) + gps? ( >=sci-geosciences/gpsd-3.7:=[shm] ) + >=media-libs/alsa-lib-1.0.19:= + media-libs/flac:= + media-libs/harfbuzz:=[icu(+)] + >=media-libs/libjpeg-turbo-1.2.0-r1:= + media-libs/libpng:0= + media-libs/libvpx:= + >=media-libs/libwebp-0.2.0_rc1:= + !arm? ( !x86? ( >=media-libs/mesa-9.1:=[gles2] ) ) + media-libs/opus:= + media-libs/speex:= + pulseaudio? ( media-sound/pulseaudio:= ) + system-ffmpeg? ( || ( + >=media-video/ffmpeg-1.0:=[opus] + >=media-video/libav-9.5:=[opus] + ) ) + sys-apps/dbus:= + sys-apps/pciutils:= + sys-libs/zlib:=[minizip] + virtual/udev + virtual/libusb:1= + x11-libs/gtk+:2= + x11-libs/libXinerama:= + x11-libs/libXScrnSaver:= + x11-libs/libXtst:= + kerberos? ( virtual/krb5 ) + selinux? ( sec-policy/selinux-chromium )" +DEPEND="${RDEPEND} + ${PYTHON_DEPS} + !arm? ( + >=dev-lang/nacl-toolchain-newlib-0_p9093 + dev-lang/yasm + ) + dev-lang/perl + dev-perl/JSON + dev-python/jinja + dev-python/ply + dev-python/simplejson + >=dev-util/gperf-3.0.3 + dev-util/ninja + sys-apps/hwids + >=sys-devel/bison-2.4.3 + sys-devel/flex + virtual/pkgconfig + test? ( dev-python/pyftpdlib )" +RDEPEND+=" + !=www-client/chromium-9999 + x11-misc/xdg-utils + virtual/ttf-fonts" + +if ! has chromium_pkg_die ${EBUILD_DEATH_HOOKS}; then + EBUILD_DEATH_HOOKS+=" chromium_pkg_die"; +fi + +pkg_setup() { + if [[ "${SLOT}" == "0" ]]; then + CHROMIUM_SUFFIX="" + else + CHROMIUM_SUFFIX="-${SLOT}" + fi + CHROMIUM_HOME="/usr/$(get_libdir)/chromium-browser${CHROMIUM_SUFFIX}" + + # Make sure the build system will use the right python, bug #344367. + python-any-r1_pkg_setup + + chromium_suid_sandbox_check_kernel_config + + if use bindist && ! use system-ffmpeg; then + elog "bindist enabled: H.264 video support will be disabled." + fi + if ! use bindist; then + 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}-gpsd-r0.patch" + epatch "${FILESDIR}/${PN}-system-ffmpeg-r7.patch" + + epatch_user + + # Remove most bundled libraries. Some are still needed. + find third_party -type f \! -iname '*.gyp*' \ + \! -path 'third_party/WebKit/*' \ + \! -path 'third_party/angle_dx11/*' \ + \! -path 'third_party/cacheinvalidation/*' \ + \! -path 'third_party/cld/*' \ + \! -path 'third_party/cros_system_api/*' \ + \! -path 'third_party/ffmpeg/*' \ + \! -path 'third_party/flot/*' \ + \! -path 'third_party/hunspell/*' \ + \! -path 'third_party/hyphen/*' \ + \! -path 'third_party/iccjpeg/*' \ + \! -path 'third_party/jstemplate/*' \ + \! -path 'third_party/khronos/*' \ + \! -path 'third_party/leveldatabase/*' \ + \! -path 'third_party/libjingle/*' \ + \! -path 'third_party/libphonenumber/*' \ + \! -path 'third_party/libsrtp/*' \ + \! -path 'third_party/libxml/chromium/*' \ + \! -path 'third_party/libXNVCtrl/*' \ + \! -path 'third_party/libyuv/*' \ + \! -path 'third_party/lss/*' \ + \! -path 'third_party/lzma_sdk/*' \ + \! -path 'third_party/mesa/*' \ + \! -path 'third_party/modp_b64/*' \ + \! -path 'third_party/mongoose/*' \ + \! -path 'third_party/mt19937ar/*' \ + \! -path 'third_party/npapi/*' \ + \! -path 'third_party/openmax/*' \ + \! -path 'third_party/ots/*' \ + \! -path 'third_party/pywebsocket/*' \ + \! -path 'third_party/qcms/*' \ + \! -path 'third_party/sfntly/*' \ + \! -path 'third_party/skia/*' \ + \! -path 'third_party/smhasher/*' \ + \! -path 'third_party/sqlite/*' \ + \! -path 'third_party/tcmalloc/*' \ + \! -path 'third_party/tlslite/*' \ + \! -path 'third_party/trace-viewer/*' \ + \! -path 'third_party/undoview/*' \ + \! -path 'third_party/usrsctp/*' \ + \! -path 'third_party/v8-i18n/*' \ + \! -path 'third_party/webdriver/*' \ + \! -path 'third_party/webrtc/*' \ + \! -path 'third_party/widevine/*' \ + \! -path 'third_party/x86inc/*' \ + \! -path 'third_party/zlib/google/*' \ + -delete || die + + # Remove bundled v8. + find v8 -type f \! -iname '*.gyp*' -delete || die +} + +src_configure() { + local myconf="" + + # Never tell the build system to "enable" SSE2, it has a few unexpected + # additions, bug #336871. + myconf+=" -Ddisable_sse2=1" + + # Optional tcmalloc. Note it causes problems with e.g. NVIDIA + # drivers, bug #413637. + myconf+=" $(gyp_use tcmalloc linux_use_tcmalloc)" + + # Disable 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_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_libusb=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_opus=1 + -Duse_system_protobuf=1 + -Duse_system_re2=1 + -Duse_system_snappy=1 + -Duse_system_speex=1 + -Duse_system_v8=1 + -Duse_system_xdg_utils=1 + -Duse_system_zlib=1 + $(gyp_use system-ffmpeg use_system_ffmpeg)" + + # TODO: Use system mesa on x86, bug #457130 . + if ! use x86 && ! use arm; then + myconf+=" + -Duse_system_mesa=1" + fi + + # TODO: patch gyp so that this arm conditional is not needed. + if ! use arm; then + myconf+=" + -Duse_system_yasm=1" + fi + + # TODO: re-enable on vp9 libvpx release (http://crbug.com/174287). + myconf+=" + -Dmedia_use_libvpx=0" + + # Optional dependencies. + # TODO: linux_link_kerberos, bug #381289. + myconf+=" + $(gyp_use cups) + $(gyp_use gnome use_gconf) + $(gyp_use gnome-keyring use_gnome_keyring) + $(gyp_use gnome-keyring linux_link_gnome_keyring) + $(gyp_use gps linux_use_libgps) + $(gyp_use gps linux_link_libgps) + $(gyp_use kerberos) + $(gyp_use pulseaudio)" + + if use system-sqlite; then + elog "Enabling system sqlite. WebSQL - http://www.w3.org/TR/webdatabase/" + elog "will not work. Please report sites broken by this" + elog "to https://bugs.gentoo.org" + myconf+=" + -Duse_system_sqlite=1 + -Denable_sql_database=0" + fi + + # Use explicit library dependencies instead of dlopen. + # This makes breakages easier to detect by revdep-rebuild. + myconf+=" + -Dlinux_link_gsettings=1 + -Dlinux_link_libpci=1 + -Dlinux_link_libspeechd=1 + -Dlibspeechd_h_prefix=speech-dispatcher/" + + # TODO: use the file at run time instead of effectively compiling it in. + myconf+=" + -Dusb_ids_path=/usr/share/misc/usb.ids" + + # Enable SUID sandbox. + myconf+=" + -Dlinux_sandbox_path=${CHROMIUM_HOME}/chrome_sandbox + -Dlinux_sandbox_chrome_path=${CHROMIUM_HOME}/chrome" + + # Never use bundled gold binary. Disable gold linker flags for now. + myconf+=" + -Dlinux_use_gold_binary=0 + -Dlinux_use_gold_flags=0" + + # Always support proprietary codecs. + myconf+=" -Dproprietary_codecs=1" + + if ! use bindist && ! use system-ffmpeg; then + # Enable H.264 support in bundled ffmpeg. + myconf+=" -Dffmpeg_branding=Chrome" + fi + + # Set up Google API keys, see http://www.chromium.org/developers/how-tos/api-keys . + # Note: these are for Gentoo use ONLY. For your own distribution, + # please get your own set of keys. Feel free to contact chromium@gentoo.org + # for more info. + myconf+=" -Dgoogle_api_key=AIzaSyDEAOvatFo0eTgsV_ZlEzx0ObmepsMzfAc + -Dgoogle_default_client_id=329227923882.apps.googleusercontent.com + -Dgoogle_default_client_secret=vgKG0NNv7GoDpbtoFNLxCUXu" + + local myarch="$(tc-arch)" + if [[ $myarch = amd64 ]] ; then + myconf+=" -Dtarget_arch=x64" + elif [[ $myarch = x86 ]] ; then + myconf+=" -Dtarget_arch=ia32" + elif [[ $myarch = arm ]] ; then + # TODO: re-enable NaCl (NativeClient). + myconf+=" -Dtarget_arch=arm + -Dsysroot= + -Darmv7=0 + -Darm_neon=0 + -Ddisable_nacl=1" + else + die "Failed to determine target arch, got '$myarch'." + fi + + # Make sure that -Werror doesn't get added to CFLAGS by the build system. + # Depending on GCC version the warnings are different and we don't want + # the build to fail because of that. + myconf+=" -Dwerror=" + + # Avoid CFLAGS problems, bug #352457, bug #390147. + if ! use custom-cflags; then + replace-flags "-Os" "-O2" + strip-flags + + # Prevent linker from running out of address space, bug #471810 . + if use x86; then + filter-flags "-g*" + fi + fi + + # Make sure the build system will use the right tools, bug #340795. + tc-export AR CC CXX RANLIB + + # Tools for building programs to be executed on the build system, bug #410883. + export AR_host=$(tc-getBUILD_AR) + export CC_host=$(tc-getBUILD_CC) + export CXX_host=$(tc-getBUILD_CXX) + export LD_host=${CXX_host} + + build/linux/unbundle/replace_gyp_files.py ${myconf} || die + egyp_chromium ${myconf} || die +} + +src_compile() { + # TODO: add media_unittests after fixing compile (bug #462546). + local test_targets="" + for x in base cacheinvalidation content crypto \ + googleurl gpu net printing sql; do + test_targets+=" ${x}_unittests" + done + + local ninja_targets="chrome chrome_sandbox chromedriver" + if use test; then + ninja_targets+=" $test_targets" + fi + + # Even though ninja autodetects number of CPUs, we respect + # user's options, for debugging with -j 1 or any other reason. + ninja -C out/Release -v -j $(makeopts_jobs) ${ninja_targets} || die + + pax-mark m out/Release/chrome + if use test; then + for x in $test_targets; do + pax-mark m out/Release/${x} + done + fi +} + +src_test() { + # For more info see bug #350349. + local LC_ALL="en_US.utf8" + + if ! locale -a | grep -q "${LC_ALL}"; then + eerror "${PN} requires ${LC_ALL} locale for tests" + eerror "Please read the following guides for more information:" + eerror " http://www.gentoo.org/doc/en/guide-localization.xml" + eerror " http://www.gentoo.org/doc/en/utf-8.xml" + die "locale ${LC_ALL} is not supported" + fi + + # If we have the right locale, export it to the environment + export LC_ALL + + # For more info see bug #370957. + if [[ $UID -eq 0 ]]; then + die "Tests must be run as non-root. Please use FEATURES=userpriv." + fi + + # virtualmake dies on failure, so we run our tests in a function + VIRTUALX_COMMAND="chromium_test" virtualmake +} + +chromium_test() { + # Keep track of the cumulative exit status for all tests + local exitstatus=0 + + runtest() { + local cmd=$1 + shift + local IFS=: + set -- "${cmd}" "--gtest_filter=-$*" + einfo "$@" + "$@" + local st=$? + (( st )) && eerror "${cmd} failed" + (( exitstatus |= st )) + } + + local excluded_base_unittests=( + "ICUStringConversionsTest.*" # bug #350347 + "MessagePumpLibeventTest.*" # bug #398591 + "TimeTest.JsTime" # bug #459614 + "SecurityTest.NewOverflow" # bug #465724 + ) + 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/googleurl_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 + "DnsConfigServiceTest.GetSystemConfig" # bug #394883 + "CertDatabaseNSSTest.ImportServerCert_SelfSigned" # bug #399269 + "CertDatabaseNSSTest.TrustIntermediateCa*" # http://crbug.com/224612 + "URLFetcher*" # bug #425764 + "HTTPSOCSPTest.*" # bug #426630 + "HTTPSEVCRLSetTest.*" # see above + "HTTPSCRLSetTest.*" # see above + "*SpdyFramerTest.BasicCompression*" # bug #465444 + ) + runtest out/Release/net_unittests "${excluded_net_unittests[@]}" + + runtest out/Release/printing_unittests + + local excluded_sql_unittests=( + "SQLiteFeaturesTest.FTS2" # bug #461286 + ) + runtest out/Release/sql_unittests "${excluded_sql_unittests[@]}" + + return ${exitstatus} +} + +src_install() { + exeinto "${CHROMIUM_HOME}" + doexe out/Release/chrome || die + + doexe out/Release/chrome_sandbox || die + fperms 4755 "${CHROMIUM_HOME}/chrome_sandbox" + + doexe out/Release/chromedriver || die + + if ! use arm; then + doexe out/Release/nacl_helper{,_bootstrap} || die + insinto "${CHROMIUM_HOME}" + doins out/Release/nacl_irt_*.nexe || die + doins out/Release/libppGoogleNaClPluginChrome.so || die + fi + + local sedargs=( -e "s:/usr/lib/:/usr/$(get_libdir)/:g" ) + if [[ -n ${CHROMIUM_SUFFIX} ]]; then + sedargs+=( + -e "s:chromium-browser:chromium-browser${CHROMIUM_SUFFIX}:g" + -e "s:chromium.desktop:chromium${CHROMIUM_SUFFIX}.desktop:g" + -e "s:plugins:plugins --user-data-dir=\${HOME}/.config/chromium${CHROMIUM_SUFFIX}:" + ) + fi + sed "${sedargs[@]}" "${FILESDIR}/chromium-launcher-r3.sh" > chromium-launcher.sh || die + doexe chromium-launcher.sh + + # It is important that we name the target "chromium-browser", + # xdg-utils expect it; bug #355517. + dosym "${CHROMIUM_HOME}/chromium-launcher.sh" /usr/bin/chromium-browser${CHROMIUM_SUFFIX} || die + # keep the old symlink around for consistency + dosym "${CHROMIUM_HOME}/chromium-launcher.sh" /usr/bin/chromium${CHROMIUM_SUFFIX} || die + + # Allow users to override command-line options, bug #357629. + dodir /etc/chromium || die + insinto /etc/chromium + newins "${FILESDIR}/chromium.default" "default" || die + + pushd out/Release/locales > /dev/null || die + chromium_remove_language_paks + popd + + insinto "${CHROMIUM_HOME}" + doins out/Release/*.pak || die + + doins -r out/Release/locales || die + doins -r out/Release/resources || die + + newman out/Release/chrome.1 chromium${CHROMIUM_SUFFIX}.1 || die + newman out/Release/chrome.1 chromium-browser${CHROMIUM_SUFFIX}.1 || die + + if ! use system-ffmpeg; then + doexe out/Release/libffmpegsumo.so || die + fi + + # 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 +} diff --git a/www-client/chromium/chromium-30.0.1581.2.ebuild b/www-client/chromium/chromium-30.0.1581.2.ebuild index 0035aa636990..a3ebb249d55e 100644 --- a/www-client/chromium/chromium-30.0.1581.2.ebuild +++ b/www-client/chromium/chromium-30.0.1581.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-30.0.1581.2.ebuild,v 1.2 2013/07/31 22:29:32 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-30.0.1581.2.ebuild,v 1.3 2013/08/09 03:45:47 floppym Exp $ EAPI="5" PYTHON_COMPAT=( python{2_6,2_7} ) @@ -436,7 +436,9 @@ chromium_test() { set -- "${cmd}" "--gtest_filter=-$*" einfo "$@" "$@" - (( exitstatus |= $? )) + local st=$? + (( st )) && eerror "${cmd} failed" + (( exitstatus |= st )) } local excluded_base_unittests=( diff --git a/www-client/chromium/chromium-9999-r1.ebuild b/www-client/chromium/chromium-9999-r1.ebuild index ea72eb7032b7..707f37a96c47 100644 --- a/www-client/chromium/chromium-9999-r1.ebuild +++ b/www-client/chromium/chromium-9999-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-9999-r1.ebuild,v 1.206 2013/07/31 22:31:02 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-9999-r1.ebuild,v 1.207 2013/08/09 03:45:46 floppym Exp $ EAPI="5" PYTHON_COMPAT=( python{2_6,2_7} ) @@ -507,7 +507,9 @@ chromium_test() { set -- "${cmd}" "--gtest_filter=-$*" einfo "$@" "$@" - (( exitstatus |= $? )) + local st=$? + (( st )) && eerror "${cmd} failed" + (( exitstatus |= st )) } local excluded_base_unittests=( -- cgit v1.2.3-65-gdbad