www-client/chromium: dev channel bump to 78.0.3880.4
authorStephan Hartmann <stha09@googlemail.com>
Thu, 15 Aug 2019 06:53:32 +0000 (08:53 +0200)
committerMike Gilbert <floppym@gentoo.org>
Thu, 15 Aug 2019 14:50:08 +0000 (10:50 -0400)
Closes: https://bugs.gentoo.org/684550
Closes: https://github.com/gentoo/gentoo/pull/12712
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Stephan Hartmann <stha09@googlemail.com>
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
www-client/chromium/Manifest
www-client/chromium/chromium-78.0.3880.4.ebuild [moved from www-client/chromium/chromium-78.0.3876.0.ebuild with 98% similarity]
www-client/chromium/files/chromium-78-const-std-string.patch [new file with mode: 0644]
www-client/chromium/files/chromium-78-include.patch [new file with mode: 0644]

index 1dbf913705b4209f34e070030239a0a56e1952ea..0d8d5bc4929b60314423a2f84d6d8640270c0448 100644 (file)
@@ -1,3 +1,3 @@
 DIST chromium-76.0.3809.100.tar.xz 728852892 BLAKE2B 1bd80f7fd50f82843f9367bd8d5648bcbe4b763594679cc7f57084390da840cc89d7771ffd844e3d0a3c3248d8f98a1babecabaf4c3104fa7a89efed88eae608 SHA512 63cfb45dc6bb0b1662ba4ffebc6313c24d65dae10a61752575e34a24d8d3d6f80e0422a984b560b259c299d6e493dfa177907201a1c1f785a7e294c9a03bd8a1
 DIST chromium-77.0.3865.19.tar.xz 733147416 BLAKE2B 6dc8827876c25ad43a97d1297a2a93681a5895c32f31605896eb7ca2cad22e1b192958330167a74243a61a4ce88dd21dfb21e820d717a8c44baaf084fe73f0a2 SHA512 7f4413c4a63351fc44efaae1a5803be3019dcf59541ef306bcc13b22436dc1dc7b968d4f2eb6906bc1ec5db8dd669fa5fd45da2d4240ee6029e337e63d3f25ed
-DIST chromium-78.0.3876.0.tar.xz 734181968 BLAKE2B 8f9d368718dec697f8e1d5fb850739395247c65fd1cfe9a420c46ea2254a97c54893a0fec9a3366b3b0a62720ea20d5f090f7edde3503cca1d2fd725aae6bbd1 SHA512 9b0b71a4084db3e5ceedea5eaa1173e168e73ace3215ca2cc37309b6cd7150ed6dc63d2ec43387d305a4340036988493f1644db354c620bc80a02b97ec3e0315
+DIST chromium-78.0.3880.4.tar.xz 734959036 BLAKE2B e93497cdc00c123f31b98be87c2b4c7e4e7ac18fdddf15e9c4ba6c08c89386c38f9451e432a8365cc6e1a47af244ba8d10da94acca3f108c0993f993b47a18b6 SHA512 4adf66caca7565c17571b2c9056acac3b1edbcf29ad9f8937cde241406242f4e30ac361047dddf2a60f4319245698d6872a24eae0374a142d13e3fea0c5b12ea
similarity index 98%
rename from www-client/chromium/chromium-78.0.3876.0.ebuild
rename to www-client/chromium/chromium-78.0.3880.4.ebuild
index afcf4ae181691eb75a2b1b6e0de471b23523e9be..72de8e0f371be0f02ed4f20ae16ab05e2b97a4bc 100644 (file)
@@ -148,8 +148,9 @@ PATCHES=(
        "${FILESDIR}/chromium-77-fix-gn-gen.patch"
        "${FILESDIR}/chromium-77-system-icu.patch"
        "${FILESDIR}/chromium-77-clang.patch"
-       "${FILESDIR}/chromium-77-std-string.patch"
        "${FILESDIR}/chromium-77-blink-include.patch"
+       "${FILESDIR}/chromium-78-const-std-string.patch"
+       "${FILESDIR}/chromium-78-include.patch"
 )
 
 pre_build_checks() {
@@ -322,6 +323,7 @@ src_prepare() {
                third_party/pffft
                third_party/ply
                third_party/polymer
+               third_party/private-join-and-compute
                third_party/protobuf
                third_party/protobuf/third_party/six
                third_party/pyjson5
@@ -622,6 +624,12 @@ src_compile() {
        use suid && eninja -C out/Release chrome_sandbox
 
        pax-mark m out/Release/chrome
+
+       # Build manpage; bug #684550
+       sed -e 's|@@PACKAGE@@|chromium-browser|g;
+               s|@@MENUNAME@@|Chromium|g;' \
+               chrome/app/resources/manpage.1.in > \
+               out/Release/chromium-browser.1 || die
 }
 
 src_install() {
@@ -700,6 +708,9 @@ src_install() {
        insinto /usr/share/gnome-control-center/default-apps
        newins "${FILESDIR}"/chromium-browser.xml chromium-browser.xml
 
+       # Install manpage; bug #684550
+       doman out/Release/chromium-browser.1
+
        readme.gentoo_create_doc
 }
 
diff --git a/www-client/chromium/files/chromium-78-const-std-string.patch b/www-client/chromium/files/chromium-78-const-std-string.patch
new file mode 100644 (file)
index 0000000..e16377a
--- /dev/null
@@ -0,0 +1,26 @@
+diff --git a/chrome/test/chromedriver/webauthn_commands.cc b/chrome/test/chromedriver/webauthn_commands.cc
+index b0d4d62..6369d74 100644
+--- a/chrome/test/chromedriver/webauthn_commands.cc
++++ b/chrome/test/chromedriver/webauthn_commands.cc
+@@ -36,8 +36,8 @@ base::DictionaryValue MapParams(
+ // Converts the string |keys| in |params| from base64url to base64. Returns a
+ // status error if conversion of one of the keys failed.
+ Status ConvertBase64UrlToBase64(base::Value* params,
+-                                const std::vector<const std::string> keys) {
+-  for (const std::string key : keys) {
++                                const std::vector<std::string> keys) {
++  for (std::string key : keys) {
+     base::Value* maybe_value = params->FindKey(key);
+     if (!maybe_value)
+       continue;
+@@ -60,8 +60,8 @@ Status ConvertBase64UrlToBase64(base::Value* params,
+ // Converts the string |keys| in |params| from base64 to base64url.
+ void ConvertBase64ToBase64Url(base::Value* params,
+-                              const std::vector<const std::string> keys) {
+-  for (const std::string key : keys) {
++                              const std::vector<std::string> keys) {
++  for (std::string key : keys) {
+     std::string* maybe_value = params->FindStringKey(key);
+     if (!maybe_value)
+       continue;
diff --git a/www-client/chromium/files/chromium-78-include.patch b/www-client/chromium/files/chromium-78-include.patch
new file mode 100644 (file)
index 0000000..a0b77c4
--- /dev/null
@@ -0,0 +1,13 @@
+diff --git a/components/password_manager/core/browser/leak_detection/encryption_utils.cc b/components/password_manager/core/browser/leak_detection/encryption_utils.cc
+index 31a7116..53eb464 100644
+--- a/components/password_manager/core/browser/leak_detection/encryption_utils.cc
++++ b/components/password_manager/core/browser/leak_detection/encryption_utils.cc
+@@ -13,6 +13,8 @@
+ #include "crypto/sha2.h"
+ #include "third_party/boringssl/src/include/openssl/evp.h"
++#include <climits>
++
+ namespace password_manager {
+ namespace {