1 |
commit: ce201e2e6931f3499c5b05911681fbf994530832 |
2 |
Author: Stephan Hartmann <stha09 <AT> googlemail <DOT> com> |
3 |
AuthorDate: Thu Aug 15 06:53:32 2019 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 15 14:50:08 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce201e2e |
7 |
|
8 |
www-client/chromium: dev channel bump to 78.0.3880.4 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/684550 |
11 |
Closes: https://github.com/gentoo/gentoo/pull/12712 |
12 |
Package-Manager: Portage-2.3.69, Repoman-2.3.16 |
13 |
Signed-off-by: Stephan Hartmann <stha09 <AT> googlemail.com> |
14 |
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> |
15 |
|
16 |
www-client/chromium/Manifest | 2 +- |
17 |
...0.3876.0.ebuild => chromium-78.0.3880.4.ebuild} | 13 ++++++++++- |
18 |
.../files/chromium-78-const-std-string.patch | 26 ++++++++++++++++++++++ |
19 |
.../chromium/files/chromium-78-include.patch | 13 +++++++++++ |
20 |
4 files changed, 52 insertions(+), 2 deletions(-) |
21 |
|
22 |
diff --git a/www-client/chromium/Manifest b/www-client/chromium/Manifest |
23 |
index 1dbf913705b..0d8d5bc4929 100644 |
24 |
--- a/www-client/chromium/Manifest |
25 |
+++ b/www-client/chromium/Manifest |
26 |
@@ -1,3 +1,3 @@ |
27 |
DIST chromium-76.0.3809.100.tar.xz 728852892 BLAKE2B 1bd80f7fd50f82843f9367bd8d5648bcbe4b763594679cc7f57084390da840cc89d7771ffd844e3d0a3c3248d8f98a1babecabaf4c3104fa7a89efed88eae608 SHA512 63cfb45dc6bb0b1662ba4ffebc6313c24d65dae10a61752575e34a24d8d3d6f80e0422a984b560b259c299d6e493dfa177907201a1c1f785a7e294c9a03bd8a1 |
28 |
DIST chromium-77.0.3865.19.tar.xz 733147416 BLAKE2B 6dc8827876c25ad43a97d1297a2a93681a5895c32f31605896eb7ca2cad22e1b192958330167a74243a61a4ce88dd21dfb21e820d717a8c44baaf084fe73f0a2 SHA512 7f4413c4a63351fc44efaae1a5803be3019dcf59541ef306bcc13b22436dc1dc7b968d4f2eb6906bc1ec5db8dd669fa5fd45da2d4240ee6029e337e63d3f25ed |
29 |
-DIST chromium-78.0.3876.0.tar.xz 734181968 BLAKE2B 8f9d368718dec697f8e1d5fb850739395247c65fd1cfe9a420c46ea2254a97c54893a0fec9a3366b3b0a62720ea20d5f090f7edde3503cca1d2fd725aae6bbd1 SHA512 9b0b71a4084db3e5ceedea5eaa1173e168e73ace3215ca2cc37309b6cd7150ed6dc63d2ec43387d305a4340036988493f1644db354c620bc80a02b97ec3e0315 |
30 |
+DIST chromium-78.0.3880.4.tar.xz 734959036 BLAKE2B e93497cdc00c123f31b98be87c2b4c7e4e7ac18fdddf15e9c4ba6c08c89386c38f9451e432a8365cc6e1a47af244ba8d10da94acca3f108c0993f993b47a18b6 SHA512 4adf66caca7565c17571b2c9056acac3b1edbcf29ad9f8937cde241406242f4e30ac361047dddf2a60f4319245698d6872a24eae0374a142d13e3fea0c5b12ea |
31 |
|
32 |
diff --git a/www-client/chromium/chromium-78.0.3876.0.ebuild b/www-client/chromium/chromium-78.0.3880.4.ebuild |
33 |
similarity index 98% |
34 |
rename from www-client/chromium/chromium-78.0.3876.0.ebuild |
35 |
rename to www-client/chromium/chromium-78.0.3880.4.ebuild |
36 |
index afcf4ae1816..72de8e0f371 100644 |
37 |
--- a/www-client/chromium/chromium-78.0.3876.0.ebuild |
38 |
+++ b/www-client/chromium/chromium-78.0.3880.4.ebuild |
39 |
@@ -148,8 +148,9 @@ PATCHES=( |
40 |
"${FILESDIR}/chromium-77-fix-gn-gen.patch" |
41 |
"${FILESDIR}/chromium-77-system-icu.patch" |
42 |
"${FILESDIR}/chromium-77-clang.patch" |
43 |
- "${FILESDIR}/chromium-77-std-string.patch" |
44 |
"${FILESDIR}/chromium-77-blink-include.patch" |
45 |
+ "${FILESDIR}/chromium-78-const-std-string.patch" |
46 |
+ "${FILESDIR}/chromium-78-include.patch" |
47 |
) |
48 |
|
49 |
pre_build_checks() { |
50 |
@@ -322,6 +323,7 @@ src_prepare() { |
51 |
third_party/pffft |
52 |
third_party/ply |
53 |
third_party/polymer |
54 |
+ third_party/private-join-and-compute |
55 |
third_party/protobuf |
56 |
third_party/protobuf/third_party/six |
57 |
third_party/pyjson5 |
58 |
@@ -622,6 +624,12 @@ src_compile() { |
59 |
use suid && eninja -C out/Release chrome_sandbox |
60 |
|
61 |
pax-mark m out/Release/chrome |
62 |
+ |
63 |
+ # Build manpage; bug #684550 |
64 |
+ sed -e 's|@@PACKAGE@@|chromium-browser|g; |
65 |
+ s|@@MENUNAME@@|Chromium|g;' \ |
66 |
+ chrome/app/resources/manpage.1.in > \ |
67 |
+ out/Release/chromium-browser.1 || die |
68 |
} |
69 |
|
70 |
src_install() { |
71 |
@@ -700,6 +708,9 @@ src_install() { |
72 |
insinto /usr/share/gnome-control-center/default-apps |
73 |
newins "${FILESDIR}"/chromium-browser.xml chromium-browser.xml |
74 |
|
75 |
+ # Install manpage; bug #684550 |
76 |
+ doman out/Release/chromium-browser.1 |
77 |
+ |
78 |
readme.gentoo_create_doc |
79 |
} |
80 |
|
81 |
|
82 |
diff --git a/www-client/chromium/files/chromium-78-const-std-string.patch b/www-client/chromium/files/chromium-78-const-std-string.patch |
83 |
new file mode 100644 |
84 |
index 00000000000..e16377aff41 |
85 |
--- /dev/null |
86 |
+++ b/www-client/chromium/files/chromium-78-const-std-string.patch |
87 |
@@ -0,0 +1,26 @@ |
88 |
+diff --git a/chrome/test/chromedriver/webauthn_commands.cc b/chrome/test/chromedriver/webauthn_commands.cc |
89 |
+index b0d4d62..6369d74 100644 |
90 |
+--- a/chrome/test/chromedriver/webauthn_commands.cc |
91 |
++++ b/chrome/test/chromedriver/webauthn_commands.cc |
92 |
+@@ -36,8 +36,8 @@ base::DictionaryValue MapParams( |
93 |
+ // Converts the string |keys| in |params| from base64url to base64. Returns a |
94 |
+ // status error if conversion of one of the keys failed. |
95 |
+ Status ConvertBase64UrlToBase64(base::Value* params, |
96 |
+- const std::vector<const std::string> keys) { |
97 |
+- for (const std::string key : keys) { |
98 |
++ const std::vector<std::string> keys) { |
99 |
++ for (std::string key : keys) { |
100 |
+ base::Value* maybe_value = params->FindKey(key); |
101 |
+ if (!maybe_value) |
102 |
+ continue; |
103 |
+@@ -60,8 +60,8 @@ Status ConvertBase64UrlToBase64(base::Value* params, |
104 |
+ |
105 |
+ // Converts the string |keys| in |params| from base64 to base64url. |
106 |
+ void ConvertBase64ToBase64Url(base::Value* params, |
107 |
+- const std::vector<const std::string> keys) { |
108 |
+- for (const std::string key : keys) { |
109 |
++ const std::vector<std::string> keys) { |
110 |
++ for (std::string key : keys) { |
111 |
+ std::string* maybe_value = params->FindStringKey(key); |
112 |
+ if (!maybe_value) |
113 |
+ continue; |
114 |
|
115 |
diff --git a/www-client/chromium/files/chromium-78-include.patch b/www-client/chromium/files/chromium-78-include.patch |
116 |
new file mode 100644 |
117 |
index 00000000000..a0b77c4fb9d |
118 |
--- /dev/null |
119 |
+++ b/www-client/chromium/files/chromium-78-include.patch |
120 |
@@ -0,0 +1,13 @@ |
121 |
+diff --git a/components/password_manager/core/browser/leak_detection/encryption_utils.cc b/components/password_manager/core/browser/leak_detection/encryption_utils.cc |
122 |
+index 31a7116..53eb464 100644 |
123 |
+--- a/components/password_manager/core/browser/leak_detection/encryption_utils.cc |
124 |
++++ b/components/password_manager/core/browser/leak_detection/encryption_utils.cc |
125 |
+@@ -13,6 +13,8 @@ |
126 |
+ #include "crypto/sha2.h" |
127 |
+ #include "third_party/boringssl/src/include/openssl/evp.h" |
128 |
+ |
129 |
++#include <climits> |
130 |
++ |
131 |
+ namespace password_manager { |
132 |
+ |
133 |
+ namespace { |