Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/electron/files/
Date: Mon, 30 Oct 2017 21:32:01
Message-Id: 1509398784.70c3976527e032bdd94aa920e114b1b5c217f548.monsieurp@gentoo
1 commit: 70c3976527e032bdd94aa920e114b1b5c217f548
2 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Mon Oct 30 19:03:57 2017 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 30 21:26:24 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70c39765
7
8 dev-util/electron: remove unused patches.
9
10 Closes: https://github.com/gentoo/gentoo/pull/6091
11
12 dev-util/electron/files/chromium-jinja-fix.patch | 24 ------
13 .../electron/files/chromium-system-jinja-r11.patch | 79 -------------------
14 .../electron/files/chromium-system-jinja-r9.patch | 71 -----------------
15 .../files/electron-1.3.6-vendor-node.patch | 92 ----------------------
16 4 files changed, 266 deletions(-)
17
18 diff --git a/dev-util/electron/files/chromium-jinja-fix.patch b/dev-util/electron/files/chromium-jinja-fix.patch
19 deleted file mode 100644
20 index 83ac33be31b..00000000000
21 --- a/dev-util/electron/files/chromium-jinja-fix.patch
22 +++ /dev/null
23 @@ -1,24 +0,0 @@
24 ---- a/third_party/WebKit/Source/platform/v8_inspector/v8_inspector.gyp
25 ---- b/third_party/WebKit/Source/platform/v8_inspector/v8_inspector.gyp
26 -@@ -53,21 +53,10 @@
27 - 'type': 'none',
28 - 'dependencies': ['protocol_version'],
29 - 'variables': {
30 -- 'conditions': [
31 -- ['debug_devtools=="node"', {
32 -- # Node build
33 -- 'jinja_module_files': [
34 -- '../../deps/jinja2/jinja2/__init__.py',
35 -- '../../deps/markupsafe/markupsafe/__init__.py', # jinja2 dep
36 -- ],
37 -- }, {
38 - 'jinja_module_files': [
39 - '<(DEPTH)/third_party/jinja2/__init__.py',
40 - '<(DEPTH)/third_party/markupsafe/__init__.py', # jinja2 dep
41 - ],
42 -- }
43 -- ],
44 -- ],
45 - },
46 - 'actions': [
47 - {
48
49 diff --git a/dev-util/electron/files/chromium-system-jinja-r11.patch b/dev-util/electron/files/chromium-system-jinja-r11.patch
50 deleted file mode 100644
51 index 0b3c9b72478..00000000000
52 --- a/dev-util/electron/files/chromium-system-jinja-r11.patch
53 +++ /dev/null
54 @@ -1,79 +0,0 @@
55 ---- third_party/WebKit/Source/bindings/scripts/scripts.gyp.orig 2014-08-19 09:55:10.330972228 +0000
56 -+++ third_party/WebKit/Source/bindings/scripts/scripts.gyp 2014-08-19 09:55:26.387286232 +0000
57 -@@ -54,7 +54,6 @@
58 - 'actions': [{
59 - 'action_name': 'cache_jinja_templates',
60 - 'inputs': [
61 -- '<@(jinja_module_files)',
62 - 'code_generator_v8.py',
63 - '<@(code_generator_template_files)',
64 - ],
65 ---- third_party/WebKit/Source/build/scripts/scripts.gypi.orig 2014-08-19 10:00:00.216521733 +0000
66 -+++ third_party/WebKit/Source/build/scripts/scripts.gypi 2014-08-19 10:00:11.464735099 +0000
67 -@@ -2,10 +2,6 @@
68 - {
69 - 'variables': {
70 - 'scripts_for_in_files': [
71 -- # jinja2/__init__.py contains version string, so sufficient as
72 -- # dependency for whole jinja2 package
73 -- '<(DEPTH)/third_party/jinja2/__init__.py',
74 -- '<(DEPTH)/third_party/markupsafe/__init__.py', # jinja2 dep
75 - 'hasher.py',
76 - 'in_file.py',
77 - 'in_generator.py',
78 ---- third_party/WebKit/Source/bindings/scripts/scripts.gypi.orig 2014-08-19 10:53:02.824618979 +0000
79 -+++ third_party/WebKit/Source/bindings/scripts/scripts.gypi 2014-08-19 10:53:20.784957370 +0000
80 -@@ -12,9 +12,6 @@
81 - '<(DEPTH)/third_party/markupsafe/__init__.py', # jinja2 dep
82 - ],
83 - 'idl_lexer_parser_files': [
84 -- # PLY (Python Lex-Yacc)
85 -- '<(DEPTH)/third_party/ply/lex.py',
86 -- '<(DEPTH)/third_party/ply/yacc.py',
87 - # Web IDL lexer/parser (base parser)
88 - '<(DEPTH)/tools/idl_parser/idl_lexer.py',
89 - '<(DEPTH)/tools/idl_parser/idl_node.py',
90 ---- third_party/WebKit/Source/build/scripts/scripts.gni.orig 2016-06-02 09:54:28.510152077 +0000
91 -+++ third_party/WebKit/Source/build/scripts/scripts.gni 2016-06-02 09:54:50.966612510 +0000
92 -@@ -9,10 +9,6 @@
93 - _scripts_dir = "//third_party/WebKit/Source/build/scripts"
94 -
95 - scripts_for_in_files = [
96 -- # jinja2/__init__.py contains version string, so sufficient as
97 -- # dependency for whole jinja2 package
98 -- "//third_party/jinja2/__init__.py",
99 -- "//third_party/markupsafe/__init__.py", # jinja2 dep
100 - "$_scripts_dir/hasher.py",
101 - "$_scripts_dir/in_file.py",
102 - "$_scripts_dir/in_generator.py",
103 ---- third_party/WebKit/Source/bindings/scripts/BUILD.gn.orig 2016-06-02 10:03:01.100658943 +0000
104 -+++ third_party/WebKit/Source/bindings/scripts/BUILD.gn 2016-06-02 10:03:13.240907715 +0000
105 -@@ -36,7 +36,7 @@
106 - action("cached_jinja_templates") {
107 - script = "code_generator_v8.py"
108 -
109 -- inputs = jinja_module_files + [ "code_generator_v8.py" ] +
110 -+ inputs = [ "code_generator_v8.py" ] +
111 - code_generator_template_files
112 -
113 - # Dummy file to track dependency.
114 ---- third_party/WebKit/Source/platform/v8_inspector/v8_inspector.gyp.orig 2016-06-03 12:31:49.844954196 +0000
115 -+++ third_party/WebKit/Source/platform/v8_inspector/v8_inspector.gyp 2016-06-03 12:32:01.869198425 +0000
116 -@@ -60,7 +60,6 @@
117 - {
118 - 'action_name': 'generateV8InspectorProtocolBackendSources',
119 - 'inputs': [
120 -- '<@(jinja_module_files)',
121 - # The python script in action below.
122 - '../inspector_protocol/CodeGenerator.py',
123 - # Input files for the script.
124 ---- third_party/WebKit/Source/core/inspector/inspector.gyp.orig 2016-06-03 12:38:20.712891692 +0000
125 -+++ third_party/WebKit/Source/core/inspector/inspector.gyp 2016-06-03 12:38:31.197104557 +0000
126 -@@ -52,7 +52,6 @@
127 - {
128 - 'action_name': 'generateInspectorProtocolBackendSources',
129 - 'inputs': [
130 -- '<@(jinja_module_files)',
131 - # The python script in action below.
132 - '../../platform/inspector_protocol/CodeGenerator.py',
133 - # Input files for the script.
134
135 diff --git a/dev-util/electron/files/chromium-system-jinja-r9.patch b/dev-util/electron/files/chromium-system-jinja-r9.patch
136 deleted file mode 100644
137 index 1de9083f307..00000000000
138 --- a/dev-util/electron/files/chromium-system-jinja-r9.patch
139 +++ /dev/null
140 @@ -1,71 +0,0 @@
141 ---- third_party/WebKit/Source/bindings/scripts/scripts.gyp.orig 2014-08-19 09:55:10.330972228 +0000
142 -+++ third_party/WebKit/Source/bindings/scripts/scripts.gyp 2014-08-19 09:55:26.387286232 +0000
143 -@@ -54,7 +54,6 @@
144 - 'actions': [{
145 - 'action_name': 'cache_jinja_templates',
146 - 'inputs': [
147 -- '<@(jinja_module_files)',
148 - 'code_generator_v8.py',
149 - '<@(code_generator_template_files)',
150 - ],
151 ---- third_party/WebKit/Source/build/scripts/scripts.gypi.orig 2014-08-19 10:00:00.216521733 +0000
152 -+++ third_party/WebKit/Source/build/scripts/scripts.gypi 2014-08-19 10:00:11.464735099 +0000
153 -@@ -2,10 +2,6 @@
154 - {
155 - 'variables': {
156 - 'scripts_for_in_files': [
157 -- # jinja2/__init__.py contains version string, so sufficient as
158 -- # dependency for whole jinja2 package
159 -- '<(DEPTH)/third_party/jinja2/__init__.py',
160 -- '<(DEPTH)/third_party/markupsafe/__init__.py', # jinja2 dep
161 - 'hasher.py',
162 - 'in_file.py',
163 - 'in_generator.py',
164 ---- third_party/WebKit/Source/bindings/scripts/scripts.gypi.orig 2014-08-19 10:53:02.824618979 +0000
165 -+++ third_party/WebKit/Source/bindings/scripts/scripts.gypi 2014-08-19 10:53:20.784957370 +0000
166 -@@ -12,9 +12,6 @@
167 - '<(DEPTH)/third_party/markupsafe/__init__.py', # jinja2 dep
168 - ],
169 - 'idl_lexer_parser_files': [
170 -- # PLY (Python Lex-Yacc)
171 -- '<(DEPTH)/third_party/ply/lex.py',
172 -- '<(DEPTH)/third_party/ply/yacc.py',
173 - # Web IDL lexer/parser (base parser)
174 - '<(DEPTH)/tools/idl_parser/idl_lexer.py',
175 - '<(DEPTH)/tools/idl_parser/idl_node.py',
176 ---- third_party/WebKit/Source/platform/inspector_protocol/protocol.gyp.orig 2016-03-23 15:10:41.522637837 +0000
177 -+++ third_party/WebKit/Source/platform/inspector_protocol/protocol.gyp 2016-03-23 15:10:56.938953740 +0000
178 -@@ -6,9 +6,6 @@
179 - 'variables': {
180 - 'blink_platform_output_dir': '<(SHARED_INTERMEDIATE_DIR)/blink/platform',
181 - 'jinja_module_files': [
182 -- # jinja2/__init__.py contains version string, so sufficient for package
183 -- '<(DEPTH)/third_party/jinja2/__init__.py',
184 -- '<(DEPTH)/third_party/markupsafe/__init__.py', # jinja2 dep
185 - ],
186 - },
187 -
188 ---- third_party/WebKit/Source/build/scripts/scripts.gni.orig 2016-06-02 09:54:28.510152077 +0000
189 -+++ third_party/WebKit/Source/build/scripts/scripts.gni 2016-06-02 09:54:50.966612510 +0000
190 -@@ -9,10 +9,6 @@
191 - _scripts_dir = "//third_party/WebKit/Source/build/scripts"
192 -
193 - scripts_for_in_files = [
194 -- # jinja2/__init__.py contains version string, so sufficient as
195 -- # dependency for whole jinja2 package
196 -- "//third_party/jinja2/__init__.py",
197 -- "//third_party/markupsafe/__init__.py", # jinja2 dep
198 - "$_scripts_dir/hasher.py",
199 - "$_scripts_dir/in_file.py",
200 - "$_scripts_dir/in_generator.py",
201 ---- third_party/WebKit/Source/bindings/scripts/BUILD.gn.orig 2016-06-02 10:03:01.100658943 +0000
202 -+++ third_party/WebKit/Source/bindings/scripts/BUILD.gn 2016-06-02 10:03:13.240907715 +0000
203 -@@ -36,7 +36,7 @@
204 - action("cached_jinja_templates") {
205 - script = "code_generator_v8.py"
206 -
207 -- inputs = jinja_module_files + [ "code_generator_v8.py" ] +
208 -+ inputs = [ "code_generator_v8.py" ] +
209 - code_generator_template_files
210 -
211 - # Dummy file to track dependency.
212
213 diff --git a/dev-util/electron/files/electron-1.3.6-vendor-node.patch b/dev-util/electron/files/electron-1.3.6-vendor-node.patch
214 deleted file mode 100644
215 index 6d55d87de68..00000000000
216 --- a/dev-util/electron/files/electron-1.3.6-vendor-node.patch
217 +++ /dev/null
218 @@ -1,92 +0,0 @@
219 -From 742d610e4936d7377dd66b8ec6213c6c0afa121f Mon Sep 17 00:00:00 2001
220 -From: Elvis Pranskevichus <elvis@×××××.io>
221 -Date: Wed, 10 Feb 2016 14:45:13 -0500
222 -Subject: [PATCH] Build fixes
223 -
224 ----
225 - lib/internal/bootstrap_node.js | 2 ++
226 - node.gyp | 13 ++++++++-----
227 - src/node_main.cc | 2 ++
228 - 3 files changed, 12 insertions(+), 5 deletions(-)
229 -
230 -diff --git a/lib/internal/bootstrap_node.js b/lib/internal/bootstrap_node.js
231 -index 3e698ed..c748f64 100644
232 ---- a/lib/internal/bootstrap_node.js
233 -+++ b/lib/internal/bootstrap_node.js
234 -@@ -50,7 +50,9 @@
235 - setupGlobalConsole();
236 - }
237 -
238 -+ if (!process.env.ELECTRON_NODE_DISABLE_ASAR_SUPPORT) {
239 - setupAsarSupport();
240 -+ }
241 -
242 - const _process = NativeModule.require('internal/process');
243 -
244 -diff --git a/node.gyp b/node.gyp
245 -index 1ad0137..8f24426 100644
246 ---- a/node.gyp
247 -+++ b/node.gyp
248 -@@ -1,6 +1,7 @@
249 - {
250 - 'variables': {
251 - 'v8_use_snapshot%': 'false',
252 -+ 'v8_gyp_path%': 'deps/v8/tools/gyp/v8.gyp',
253 - 'node_use_dtrace%': 'false',
254 - 'node_use_lttng%': 'false',
255 - 'node_use_etw%': 'false',
256 -@@ -126,6 +127,8 @@
257 -
258 - 'dependencies': [
259 - 'node_js2c#host',
260 -+ '<(v8_gyp_path):v8',
261 -+ '<(v8_gyp_path):v8_libplatform'
262 - ],
263 -
264 - 'include_dirs': [
265 -@@ -254,8 +257,8 @@
266 - ],
267 -
268 - 'dependencies': [
269 -- 'deps/v8/tools/gyp/v8.gyp:v8',
270 -- 'deps/v8/tools/gyp/v8.gyp:v8_libplatform'
271 -+ '<(v8_gyp_path):v8',
272 -+ '<(v8_gyp_path):v8_libplatform'
273 - ],
274 - }],
275 - [ 'node_use_v8_platform=="true"', {
276 -@@ -842,13 +845,13 @@
277 - }],
278 - [ 'node_use_v8_platform=="true"', {
279 - 'dependencies': [
280 -- 'deps/v8/tools/gyp/v8.gyp:v8_libplatform',
281 -+ '<(v8_gyp_path):v8_libplatform',
282 - ],
283 - }],
284 - [ 'node_use_bundled_v8=="true"', {
285 - 'dependencies': [
286 -- 'deps/v8/tools/gyp/v8.gyp:v8',
287 -- 'deps/v8/tools/gyp/v8.gyp:v8_libplatform'
288 -+ '<(v8_gyp_path):v8',
289 -+ '<(v8_gyp_path):v8_libplatform'
290 - ],
291 - }],
292 - ]
293 -diff --git a/src/node_main.cc b/src/node_main.cc
294 -index 02082ba..641e8db 100644
295 ---- a/src/node_main.cc
296 -+++ b/src/node_main.cc
297 -@@ -49,8 +49,10 @@ int wmain(int argc, wchar_t *wargv[]) {
298 - }
299 - #else
300 - // UNIX
301 -+#include <stdlib.h>
302 - int main(int argc, char *argv[]) {
303 - setvbuf(stderr, NULL, _IOLBF, 1024);
304 -+ putenv("ELECTRON_NODE_DISABLE_ASAR_SUPPORT=1");
305 - return node::Start(argc, argv);
306 - }
307 - #endif
308 ---
309 -2.7.3
310 -