1 |
commit: 07791dc9cfbb9d792bed87e4e7b75f2c13ea8d40 |
2 |
Author: Pawel Hajdan, Jr <phajdan.jr <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 2 20:11:46 2016 +0000 |
4 |
Commit: Paweł Hajdan <phajdan.jr <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 2 20:11:46 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07791dc9 |
7 |
|
8 |
www-client/chromium: dev channel bump (52.0.2743.19) |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
www-client/chromium/Manifest | 2 +- |
13 |
....2723.2.ebuild => chromium-52.0.2743.19.ebuild} | 49 ++++++++------- |
14 |
.../chromium/files/chromium-system-jinja-r9.patch | 71 ++++++++++++++++++++++ |
15 |
3 files changed, 100 insertions(+), 22 deletions(-) |
16 |
|
17 |
diff --git a/www-client/chromium/Manifest b/www-client/chromium/Manifest |
18 |
index cbf4841..0213d4a 100644 |
19 |
--- a/www-client/chromium/Manifest |
20 |
+++ b/www-client/chromium/Manifest |
21 |
@@ -1,4 +1,4 @@ |
22 |
DIST chromium-50.0.2661.102.tar.xz 531505652 SHA256 12135ef890c2bd13b653a06e2a44e8f251a65fe9e91404c792d27e346c5d57c6 SHA512 277311b77df7331b996a1b08c2591c7407a57ba4ee9c93d82eaea63db7ffd1551647e04c64c5e460c58862ff2363d59a674043a41d6b7f05ff4b2b85f18c7e7e WHIRLPOOL 183c6e8dd0e195bc027a685c4064a0aaceaf880fae62b89b664a4cd1e1aedf9510961ce7b6c3e515f47222545bc695a5876a6ed4c8580ce599d1139cb3fd20f7 |
23 |
DIST chromium-51.0.2704.63.tar.xz 448628724 SHA256 b243e46e0ebaf8f60d1c37a0d99f1fdd80e1597667be4776a1862bb004e4eee9 SHA512 d85b6adcf2be5082ec8dc51f62849b3a2d84104d225188b7c5441cd3f9bb1e639b8d9b8cfb069b4a42d2f44128111649982fd20ca99b4f4ed5208c2c2c1a9560 WHIRLPOOL 0b3047c1c38386dbc20ef8fd6992e3c1cfc4e92986f5cbbd3e640671763ff5023427d0d8b5a6a6f6604aaeea4e2fa57e4b3f88d8e47e20684e5c774e8407c8fb |
24 |
-DIST chromium-52.0.2723.2.tar.xz 466192080 SHA256 b463bca13a37f474e2d34e85d138d595e2e091e845f9bdc69c1090931de353a3 SHA512 fe7de4db588115e1f6155577c0dc721e8b54db5bd67a2c6dc495f75569d3a78060b9f7343c70ed5e04814b021f7031790da7a5486b25bbe41b11a256eb0cd163 WHIRLPOOL e7a911da45c7bdc8b887f27f14fda933e3c56ddea07f5af1c89f32a39c83511f06f2e7d30a7762fa90ca1fef4684e82ee06cc08fb2ef6e7a882fbba255e8d9f9 |
25 |
DIST chromium-52.0.2743.10.tar.xz 457933176 SHA256 9c27e642590a86123bc6abd4d61528927eb982c1ed22f5a7bb22bfad815d7cad SHA512 60302b834702434bff11966dcd5c7a6b7d1c1178a0ca5d65d58051ec0cafd6be301c8f2741298a48c1607466bcec6eb4f5d254480cce25ea3e5742a58d51bd93 WHIRLPOOL b9546216019aa7119f36ce42d873f6882cf3d1198e82134aa5ca4614959f365c7c1b4cf6d500c6637bf4cbe0b08923d1462c22c0a2115854da797c0af0c14ffb |
26 |
+DIST chromium-52.0.2743.19.tar.xz 457854724 SHA256 e4149f479bea32142214b07b14912a011278917077e97819fb17fa83540eac16 SHA512 d29638959b8f36e70ce60bffc65b58878e5d607959062847b625d9d6acccfba14e96fbc0cd757b28283dd90bbc1ab336f8da65d4564df26bd86e260aa92cfd7c WHIRLPOOL f48864c796f6a98731de5253daf3d281d6613ada18528358dba9c1de9e86cc14a42f6bd60a5c05c3ddfb826a6eb371c1e5353b9b8e206b24d379225bb439fdbd |
27 |
|
28 |
diff --git a/www-client/chromium/chromium-52.0.2723.2.ebuild b/www-client/chromium/chromium-52.0.2743.19.ebuild |
29 |
similarity index 96% |
30 |
rename from www-client/chromium/chromium-52.0.2723.2.ebuild |
31 |
rename to www-client/chromium/chromium-52.0.2743.19.ebuild |
32 |
index f390988..1ac904b 100644 |
33 |
--- a/www-client/chromium/chromium-52.0.2723.2.ebuild |
34 |
+++ b/www-client/chromium/chromium-52.0.2743.19.ebuild |
35 |
@@ -23,7 +23,7 @@ IUSE="cups gn gnome gnome-keyring gtk3 +hangouts hidpi hotwording kerberos neon |
36 |
RESTRICT="!system-ffmpeg? ( proprietary-codecs? ( bindist ) )" |
37 |
|
38 |
# TODO: bootstrapped gn binary hangs when using tcmalloc with portage's sandbox. |
39 |
-REQUIRED_USE="gn? ( kerberos !system-ffmpeg !tcmalloc )" |
40 |
+REQUIRED_USE="gn? ( !tcmalloc )" |
41 |
|
42 |
# Native Client binaries are compiled with different set of flags, bug #452066. |
43 |
QA_FLAGS_IGNORED=".*\.nexe" |
44 |
@@ -81,7 +81,6 @@ RDEPEND=" |
45 |
dev-libs/libxslt:= |
46 |
media-libs/flac:= |
47 |
>=media-libs/harfbuzz-0.9.41:=[icu(+)] |
48 |
- >=media-libs/libjpeg-turbo-1.2.0-r1:= |
49 |
>=media-libs/libwebp-0.4.0:= |
50 |
sys-libs/zlib:=[minizip] |
51 |
)" |
52 |
@@ -189,11 +188,13 @@ pkg_setup() { |
53 |
|
54 |
src_prepare() { |
55 |
epatch "${FILESDIR}/${PN}-system-ffmpeg-r2.patch" |
56 |
- epatch "${FILESDIR}/${PN}-system-jinja-r8.patch" |
57 |
+ epatch "${FILESDIR}/${PN}-system-jinja-r9.patch" |
58 |
epatch "${FILESDIR}/${PN}-widevine-r1.patch" |
59 |
epatch "${FILESDIR}/${PN}-last-commit-position-r0.patch" |
60 |
epatch "${FILESDIR}/${PN}-snapshot-toolchain-r1.patch" |
61 |
- epatch "${FILESDIR}/${PN}-gn-r1.patch" |
62 |
+ epatch "${FILESDIR}/${PN}-pdfium-r0.patch" |
63 |
+ epatch "${FILESDIR}/${PN}-system-zlib-r0.patch" |
64 |
+ epatch "${FILESDIR}/${PN}-linker-warnings-r0.patch" |
65 |
|
66 |
epatch_user |
67 |
|
68 |
@@ -205,23 +206,10 @@ src_prepare() { |
69 |
conditional_bundled_libraries+=" |
70 |
base/third_party/libevent |
71 |
third_party/adobe |
72 |
- third_party/ffmpeg |
73 |
- third_party/flac |
74 |
- third_party/harfbuzz-ng |
75 |
- third_party/icu |
76 |
- third_party/jinja2 |
77 |
- third_party/libjpeg_turbo |
78 |
- third_party/libpng |
79 |
- third_party/libwebp |
80 |
- third_party/libxml |
81 |
- third_party/libxslt |
82 |
- third_party/markupsafe |
83 |
- third_party/snappy |
84 |
third_party/speech-dispatcher |
85 |
third_party/usb_ids |
86 |
third_party/xdg-utils |
87 |
- third_party/yasm |
88 |
- third_party/zlib |
89 |
+ third_party/yasm/run_yasm.py |
90 |
" |
91 |
fi |
92 |
|
93 |
@@ -280,6 +268,7 @@ src_prepare() { |
94 |
'third_party/libXNVCtrl' \ |
95 |
'third_party/libaddressinput' \ |
96 |
'third_party/libjingle' \ |
97 |
+ 'third_party/libjpeg_turbo' \ |
98 |
'third_party/libphonenumber' \ |
99 |
'third_party/libpng' \ |
100 |
'third_party/libsecret' \ |
101 |
@@ -288,8 +277,8 @@ src_prepare() { |
102 |
'third_party/libusb' \ |
103 |
'third_party/libvpx' \ |
104 |
'third_party/libvpx/source/libvpx/third_party/x86inc' \ |
105 |
- 'third_party/libxml/chromium' \ |
106 |
'third_party/libwebm' \ |
107 |
+ 'third_party/libxml/chromium' \ |
108 |
'third_party/libyuv' \ |
109 |
'third_party/lss' \ |
110 |
'third_party/lzma_sdk' \ |
111 |
@@ -308,6 +297,8 @@ src_prepare() { |
112 |
'third_party/pdfium/third_party/lcms2-2.6' \ |
113 |
'third_party/pdfium/third_party/libjpeg' \ |
114 |
'third_party/pdfium/third_party/libopenjpeg20' \ |
115 |
+ 'third_party/pdfium/third_party/libpng16' \ |
116 |
+ 'third_party/pdfium/third_party/libtiff' \ |
117 |
'third_party/pdfium/third_party/zlib_v128' \ |
118 |
'third_party/polymer' \ |
119 |
'third_party/protobuf' \ |
120 |
@@ -355,6 +346,7 @@ src_configure() { |
121 |
# Use system-provided libraries. |
122 |
# TODO: use_system_hunspell (upstream changes needed). |
123 |
# TODO: use_system_icu (bug #576370). |
124 |
+ # TODO: use_system_libjpeg (bug #584518). |
125 |
# TODO: use_system_libpng (bug #578212). |
126 |
# TODO: use_system_libsrtp (bug #459932). |
127 |
# TODO: use_system_libusb (http://crbug.com/266149). |
128 |
@@ -371,7 +363,6 @@ src_configure() { |
129 |
-Duse_system_harfbuzz=1 |
130 |
-Duse_system_jsoncpp=1 |
131 |
-Duse_system_libevent=1 |
132 |
- -Duse_system_libjpeg=1 |
133 |
-Duse_system_libwebp=1 |
134 |
-Duse_system_libxml=1 |
135 |
-Duse_system_libxslt=1 |
136 |
@@ -382,6 +373,21 @@ src_configure() { |
137 |
-Duse_system_xdg_utils=1 |
138 |
-Duse_system_zlib=1" |
139 |
|
140 |
+ local gn_system_libraries=" |
141 |
+ flac |
142 |
+ harfbuzz-ng |
143 |
+ libevent |
144 |
+ libwebp |
145 |
+ libxml |
146 |
+ libxslt |
147 |
+ snappy |
148 |
+ yasm |
149 |
+ zlib" |
150 |
+ if use system-ffmpeg; then |
151 |
+ gn_system_libraries+=" ffmpeg" |
152 |
+ fi |
153 |
+ build/linux/unbundle/replace_gn_files.py --system-libraries ${gn_system_libraries} || die |
154 |
+ |
155 |
# Needed for system icu - we don't need additional data files. |
156 |
# myconf_gyp+=" -Dicu_use_data_file_flag=0" |
157 |
|
158 |
@@ -407,8 +413,9 @@ src_configure() { |
159 |
$(gyp_use tcmalloc use_allocator tcmalloc none) |
160 |
$(gyp_use widevine enable_widevine)" |
161 |
|
162 |
- myconf_gn+=" use_cups=$(usex cups true false)" |
163 |
myconf_gn+=" use_allocator=$(usex tcmalloc \"tcmalloc\" \"none\")" |
164 |
+ myconf_gn+=" use_cups=$(usex cups true false)" |
165 |
+ myconf_gn+=" use_kerberos=$(usex kerberos true false)" |
166 |
|
167 |
# Use explicit library dependencies instead of dlopen. |
168 |
# This makes breakages easier to detect by revdep-rebuild. |
169 |
|
170 |
diff --git a/www-client/chromium/files/chromium-system-jinja-r9.patch b/www-client/chromium/files/chromium-system-jinja-r9.patch |
171 |
new file mode 100644 |
172 |
index 0000000..1de9083 |
173 |
--- /dev/null |
174 |
+++ b/www-client/chromium/files/chromium-system-jinja-r9.patch |
175 |
@@ -0,0 +1,71 @@ |
176 |
+--- third_party/WebKit/Source/bindings/scripts/scripts.gyp.orig 2014-08-19 09:55:10.330972228 +0000 |
177 |
++++ third_party/WebKit/Source/bindings/scripts/scripts.gyp 2014-08-19 09:55:26.387286232 +0000 |
178 |
+@@ -54,7 +54,6 @@ |
179 |
+ 'actions': [{ |
180 |
+ 'action_name': 'cache_jinja_templates', |
181 |
+ 'inputs': [ |
182 |
+- '<@(jinja_module_files)', |
183 |
+ 'code_generator_v8.py', |
184 |
+ '<@(code_generator_template_files)', |
185 |
+ ], |
186 |
+--- third_party/WebKit/Source/build/scripts/scripts.gypi.orig 2014-08-19 10:00:00.216521733 +0000 |
187 |
++++ third_party/WebKit/Source/build/scripts/scripts.gypi 2014-08-19 10:00:11.464735099 +0000 |
188 |
+@@ -2,10 +2,6 @@ |
189 |
+ { |
190 |
+ 'variables': { |
191 |
+ 'scripts_for_in_files': [ |
192 |
+- # jinja2/__init__.py contains version string, so sufficient as |
193 |
+- # dependency for whole jinja2 package |
194 |
+- '<(DEPTH)/third_party/jinja2/__init__.py', |
195 |
+- '<(DEPTH)/third_party/markupsafe/__init__.py', # jinja2 dep |
196 |
+ 'hasher.py', |
197 |
+ 'in_file.py', |
198 |
+ 'in_generator.py', |
199 |
+--- third_party/WebKit/Source/bindings/scripts/scripts.gypi.orig 2014-08-19 10:53:02.824618979 +0000 |
200 |
++++ third_party/WebKit/Source/bindings/scripts/scripts.gypi 2014-08-19 10:53:20.784957370 +0000 |
201 |
+@@ -12,9 +12,6 @@ |
202 |
+ '<(DEPTH)/third_party/markupsafe/__init__.py', # jinja2 dep |
203 |
+ ], |
204 |
+ 'idl_lexer_parser_files': [ |
205 |
+- # PLY (Python Lex-Yacc) |
206 |
+- '<(DEPTH)/third_party/ply/lex.py', |
207 |
+- '<(DEPTH)/third_party/ply/yacc.py', |
208 |
+ # Web IDL lexer/parser (base parser) |
209 |
+ '<(DEPTH)/tools/idl_parser/idl_lexer.py', |
210 |
+ '<(DEPTH)/tools/idl_parser/idl_node.py', |
211 |
+--- third_party/WebKit/Source/platform/inspector_protocol/protocol.gyp.orig 2016-03-23 15:10:41.522637837 +0000 |
212 |
++++ third_party/WebKit/Source/platform/inspector_protocol/protocol.gyp 2016-03-23 15:10:56.938953740 +0000 |
213 |
+@@ -6,9 +6,6 @@ |
214 |
+ 'variables': { |
215 |
+ 'blink_platform_output_dir': '<(SHARED_INTERMEDIATE_DIR)/blink/platform', |
216 |
+ 'jinja_module_files': [ |
217 |
+- # jinja2/__init__.py contains version string, so sufficient for package |
218 |
+- '<(DEPTH)/third_party/jinja2/__init__.py', |
219 |
+- '<(DEPTH)/third_party/markupsafe/__init__.py', # jinja2 dep |
220 |
+ ], |
221 |
+ }, |
222 |
+ |
223 |
+--- third_party/WebKit/Source/build/scripts/scripts.gni.orig 2016-06-02 09:54:28.510152077 +0000 |
224 |
++++ third_party/WebKit/Source/build/scripts/scripts.gni 2016-06-02 09:54:50.966612510 +0000 |
225 |
+@@ -9,10 +9,6 @@ |
226 |
+ _scripts_dir = "//third_party/WebKit/Source/build/scripts" |
227 |
+ |
228 |
+ scripts_for_in_files = [ |
229 |
+- # jinja2/__init__.py contains version string, so sufficient as |
230 |
+- # dependency for whole jinja2 package |
231 |
+- "//third_party/jinja2/__init__.py", |
232 |
+- "//third_party/markupsafe/__init__.py", # jinja2 dep |
233 |
+ "$_scripts_dir/hasher.py", |
234 |
+ "$_scripts_dir/in_file.py", |
235 |
+ "$_scripts_dir/in_generator.py", |
236 |
+--- third_party/WebKit/Source/bindings/scripts/BUILD.gn.orig 2016-06-02 10:03:01.100658943 +0000 |
237 |
++++ third_party/WebKit/Source/bindings/scripts/BUILD.gn 2016-06-02 10:03:13.240907715 +0000 |
238 |
+@@ -36,7 +36,7 @@ |
239 |
+ action("cached_jinja_templates") { |
240 |
+ script = "code_generator_v8.py" |
241 |
+ |
242 |
+- inputs = jinja_module_files + [ "code_generator_v8.py" ] + |
243 |
++ inputs = [ "code_generator_v8.py" ] + |
244 |
+ code_generator_template_files |
245 |
+ |
246 |
+ # Dummy file to track dependency. |