]> git.pld-linux.org Git - packages/nodejs.git/blame - nodejs-shared.patch
use system http parser library
[packages/nodejs.git] / nodejs-shared.patch
CommitLineData
9dc0bdad
A
1diff -ur node-v0.10.3-o/Makefile node-v0.10.3/Makefile
2--- node-v0.10.3-o/Makefile 2013-04-03 11:30:57.000000000 -0600
3+++ node-v0.10.3/Makefile 2013-04-03 19:30:22.000000000 -0600
4@@ -54,11 +54,13 @@
1ed21df5
A
5 config.gypi: configure
6 $(PYTHON) ./configure
be06d6d0
AS
7
8-install: all
9- $(PYTHON) tools/install.py $@ $(DESTDIR)
10+install: all justinstall
11+
12+justinstall:
13+ $(PYTHON) tools/install.py install $(DESTDIR) $(LIBDIR)
14
15 uninstall:
16- $(PYTHON) tools/install.py $@ $(DESTDIR)
17+ $(PYTHON) tools/install.py $@ $(DESTDIR) $(LIBDIR)
18
19 clean:
20 -rm -rf out/Makefile node node_g out/$(BUILDTYPE)/node blog.html email.md
9dc0bdad
A
21Only in node-v0.10.3: Makefile.orig
22diff -ur node-v0.10.3-o/node.gyp node-v0.10.3/node.gyp
23--- node-v0.10.3-o/node.gyp 2013-04-03 11:30:57.000000000 -0600
24+++ node-v0.10.3/node.gyp 2013-04-03 19:30:22.000000000 -0600
1ed21df5 25@@ -67,17 +67,35 @@
be06d6d0
AS
26 'type': 'executable',
27
28 'dependencies': [
1ed21df5
A
29- 'node_js2c#host',
30+ 'libnode'
31 ],
32
33- 'include_dirs': [
34- 'src',
35- 'tools/msvs/genfiles',
36- 'deps/uv/src/ares',
37- '<(SHARED_INTERMEDIATE_DIR)' # for node_natives.h
38+ 'conditions': [
39+ [ 'node_shared_libuv=="false"', {
40+ 'dependencies': [ 'deps/uv/uv.gyp:libuv' ],
41+ }],
42 ],
43
44 'sources': [
be06d6d0
AS
45+ 'src/node_main.cc',
46+ # node.gyp is added to the project by default.
47+ 'common.gypi',
48+ ],
49+
50+ 'defines': [
51+ 'NODE_WANT_INTERNALS=1',
52+ 'ARCH="<(target_arch)"',
53+ 'PLATFORM="<(OS)"',
54+ ],
55+ },
56+ {
57+ 'target_name': 'libnode',
58+ 'type': 'shared_library',
9dc0bdad
A
59+ 'product_extension': 'so.10.3.0',
60+ 'soname_version': '10.3.0',
1ed21df5 61+ 'cflags': ['-fPIC'],
be06d6d0 62+
1ed21df5
A
63+ 'sources': [
64 'src/fs_event_wrap.cc',
65 'src/cares_wrap.cc',
66 'src/handle_wrap.cc',
67@@ -88,7 +106,6 @@
be06d6d0
AS
68 'src/node_file.cc',
69 'src/node_http_parser.cc',
70 'src/node_javascript.cc',
71- 'src/node_main.cc',
72 'src/node_os.cc',
73 'src/node_script.cc',
74 'src/node_stat_watcher.cc',
1ed21df5
A
75@@ -137,6 +154,17 @@
76 'common.gypi',
77 ],
78
79+ 'include_dirs': [
80+ 'src',
81+ 'tools/msvs/genfiles',
82+ 'deps/uv/src/ares',
83+ '<(SHARED_INTERMEDIATE_DIR)' # for node_natives.h
84+ ],
85+
86+ 'dependencies': [
87+ 'node_js2c#host',
88+ ],
89+
90 'defines': [
91 'NODE_WANT_INTERNALS=1',
92 'ARCH="<(target_arch)"',
9dc0bdad
A
93diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/checkerbase.py node-v0.10.3/tools/closure_linter/closure_linter/checkerbase.py
94--- node-v0.10.3-o/tools/closure_linter/closure_linter/checkerbase.py 2013-04-03 11:30:57.000000000 -0600
95+++ node-v0.10.3/tools/closure_linter/closure_linter/checkerbase.py 2013-04-03 19:30:22.000000000 -0600
1ed21df5
A
96@@ -1,4 +1,4 @@
97-#!/usr/bin/env python
98+#!/usr/bin/python
99 #
100 # Copyright 2008 The Closure Linter Authors. All Rights Reserved.
101 #
9dc0bdad
A
102diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/checker.py node-v0.10.3/tools/closure_linter/closure_linter/checker.py
103--- node-v0.10.3-o/tools/closure_linter/closure_linter/checker.py 2013-04-03 11:30:57.000000000 -0600
104+++ node-v0.10.3/tools/closure_linter/closure_linter/checker.py 2013-04-03 19:30:22.000000000 -0600
1ed21df5
A
105@@ -1,4 +1,4 @@
106-#!/usr/bin/env python
107+#!/usr/bin/python
108 #
109 # Copyright 2007 The Closure Linter Authors. All Rights Reserved.
110 #
9dc0bdad
A
111diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/common/erroraccumulator.py node-v0.10.3/tools/closure_linter/closure_linter/common/erroraccumulator.py
112--- node-v0.10.3-o/tools/closure_linter/closure_linter/common/erroraccumulator.py 2013-04-03 11:30:57.000000000 -0600
113+++ node-v0.10.3/tools/closure_linter/closure_linter/common/erroraccumulator.py 2013-04-03 19:30:22.000000000 -0600
1ed21df5
A
114@@ -1,4 +1,4 @@
115-#!/usr/bin/env python
116+#!/usr/bin/python
117 #
118 # Copyright 2008 The Closure Linter Authors. All Rights Reserved.
119 #
9dc0bdad
A
120diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/common/errorhandler.py node-v0.10.3/tools/closure_linter/closure_linter/common/errorhandler.py
121--- node-v0.10.3-o/tools/closure_linter/closure_linter/common/errorhandler.py 2013-04-03 11:30:57.000000000 -0600
122+++ node-v0.10.3/tools/closure_linter/closure_linter/common/errorhandler.py 2013-04-03 19:30:22.000000000 -0600
1ed21df5
A
123@@ -1,4 +1,4 @@
124-#!/usr/bin/env python
125+#!/usr/bin/python
126 #
127 # Copyright 2008 The Closure Linter Authors. All Rights Reserved.
128 #
9dc0bdad
A
129diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/common/errorprinter.py node-v0.10.3/tools/closure_linter/closure_linter/common/errorprinter.py
130--- node-v0.10.3-o/tools/closure_linter/closure_linter/common/errorprinter.py 2013-04-03 11:30:57.000000000 -0600
131+++ node-v0.10.3/tools/closure_linter/closure_linter/common/errorprinter.py 2013-04-03 19:30:22.000000000 -0600
1ed21df5
A
132@@ -1,4 +1,4 @@
133-#!/usr/bin/env python
134+#!/usr/bin/python
135 #
136 # Copyright 2008 The Closure Linter Authors. All Rights Reserved.
137 #
9dc0bdad
A
138diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/common/error.py node-v0.10.3/tools/closure_linter/closure_linter/common/error.py
139--- node-v0.10.3-o/tools/closure_linter/closure_linter/common/error.py 2013-04-03 11:30:57.000000000 -0600
140+++ node-v0.10.3/tools/closure_linter/closure_linter/common/error.py 2013-04-03 19:30:22.000000000 -0600
1ed21df5
A
141@@ -1,4 +1,4 @@
142-#!/usr/bin/env python
143+#!/usr/bin/python
144 #
145 # Copyright 2007 The Closure Linter Authors. All Rights Reserved.
146 #
9dc0bdad
A
147diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/common/filetestcase.py node-v0.10.3/tools/closure_linter/closure_linter/common/filetestcase.py
148--- node-v0.10.3-o/tools/closure_linter/closure_linter/common/filetestcase.py 2013-04-03 11:30:57.000000000 -0600
149+++ node-v0.10.3/tools/closure_linter/closure_linter/common/filetestcase.py 2013-04-03 19:30:22.000000000 -0600
1ed21df5
A
150@@ -1,4 +1,4 @@
151-#!/usr/bin/env python
152+#!/usr/bin/python
153 #
154 # Copyright 2007 The Closure Linter Authors. All Rights Reserved.
155 #
9dc0bdad
A
156diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/common/htmlutil.py node-v0.10.3/tools/closure_linter/closure_linter/common/htmlutil.py
157--- node-v0.10.3-o/tools/closure_linter/closure_linter/common/htmlutil.py 2013-04-03 11:30:57.000000000 -0600
158+++ node-v0.10.3/tools/closure_linter/closure_linter/common/htmlutil.py 2013-04-03 19:30:22.000000000 -0600
1ed21df5
A
159@@ -1,4 +1,4 @@
160-#!/usr/bin/env python
161+#!/usr/bin/python
162 #
163 # Copyright 2007 The Closure Linter Authors. All Rights Reserved.
164 #
9dc0bdad
A
165diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/common/__init__.py node-v0.10.3/tools/closure_linter/closure_linter/common/__init__.py
166--- node-v0.10.3-o/tools/closure_linter/closure_linter/common/__init__.py 2013-04-03 11:30:57.000000000 -0600
167+++ node-v0.10.3/tools/closure_linter/closure_linter/common/__init__.py 2013-04-03 19:30:22.000000000 -0600
1ed21df5
A
168@@ -1 +1 @@
169-#!/usr/bin/env python
170+#!/usr/bin/python
9dc0bdad
A
171diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/common/lintrunner.py node-v0.10.3/tools/closure_linter/closure_linter/common/lintrunner.py
172--- node-v0.10.3-o/tools/closure_linter/closure_linter/common/lintrunner.py 2013-04-03 11:30:57.000000000 -0600
173+++ node-v0.10.3/tools/closure_linter/closure_linter/common/lintrunner.py 2013-04-03 19:30:22.000000000 -0600
1ed21df5
A
174@@ -1,4 +1,4 @@
175-#!/usr/bin/env python
176+#!/usr/bin/python
177 #
178 # Copyright 2008 The Closure Linter Authors. All Rights Reserved.
179 #
9dc0bdad
A
180diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/common/matcher.py node-v0.10.3/tools/closure_linter/closure_linter/common/matcher.py
181--- node-v0.10.3-o/tools/closure_linter/closure_linter/common/matcher.py 2013-04-03 11:30:57.000000000 -0600
182+++ node-v0.10.3/tools/closure_linter/closure_linter/common/matcher.py 2013-04-03 19:30:22.000000000 -0600
1ed21df5
A
183@@ -1,4 +1,4 @@
184-#!/usr/bin/env python
185+#!/usr/bin/python
186 #
187 # Copyright 2007 The Closure Linter Authors. All Rights Reserved.
188 #
9dc0bdad
A
189diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/common/position.py node-v0.10.3/tools/closure_linter/closure_linter/common/position.py
190--- node-v0.10.3-o/tools/closure_linter/closure_linter/common/position.py 2013-04-03 11:30:57.000000000 -0600
191+++ node-v0.10.3/tools/closure_linter/closure_linter/common/position.py 2013-04-03 19:30:22.000000000 -0600
1ed21df5
A
192@@ -1,4 +1,4 @@
193-#!/usr/bin/env python
194+#!/usr/bin/python
195 #
196 # Copyright 2008 The Closure Linter Authors. All Rights Reserved.
197 #
9dc0bdad
A
198diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/common/simplefileflags.py node-v0.10.3/tools/closure_linter/closure_linter/common/simplefileflags.py
199--- node-v0.10.3-o/tools/closure_linter/closure_linter/common/simplefileflags.py 2013-04-03 11:30:57.000000000 -0600
200+++ node-v0.10.3/tools/closure_linter/closure_linter/common/simplefileflags.py 2013-04-03 19:30:22.000000000 -0600
1ed21df5
A
201@@ -1,4 +1,4 @@
202-#!/usr/bin/env python
203+#!/usr/bin/python
204 #
205 # Copyright 2008 The Closure Linter Authors. All Rights Reserved.
206 #
9dc0bdad
A
207diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/common/tokenizer.py node-v0.10.3/tools/closure_linter/closure_linter/common/tokenizer.py
208--- node-v0.10.3-o/tools/closure_linter/closure_linter/common/tokenizer.py 2013-04-03 11:30:57.000000000 -0600
209+++ node-v0.10.3/tools/closure_linter/closure_linter/common/tokenizer.py 2013-04-03 19:30:22.000000000 -0600
1ed21df5
A
210@@ -1,4 +1,4 @@
211-#!/usr/bin/env python
212+#!/usr/bin/python
213 #
214 # Copyright 2007 The Closure Linter Authors. All Rights Reserved.
215 #
9dc0bdad
A
216diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/common/tokens.py node-v0.10.3/tools/closure_linter/closure_linter/common/tokens.py
217--- node-v0.10.3-o/tools/closure_linter/closure_linter/common/tokens.py 2013-04-03 11:30:57.000000000 -0600
218+++ node-v0.10.3/tools/closure_linter/closure_linter/common/tokens.py 2013-04-03 19:30:22.000000000 -0600
1ed21df5
A
219@@ -1,4 +1,4 @@
220-#!/usr/bin/env python
221+#!/usr/bin/python
222 #
223 # Copyright 2008 The Closure Linter Authors. All Rights Reserved.
224 #
9dc0bdad
A
225diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/ecmalintrules.py node-v0.10.3/tools/closure_linter/closure_linter/ecmalintrules.py
226--- node-v0.10.3-o/tools/closure_linter/closure_linter/ecmalintrules.py 2013-04-03 11:30:57.000000000 -0600
227+++ node-v0.10.3/tools/closure_linter/closure_linter/ecmalintrules.py 2013-04-03 19:30:22.000000000 -0600
1ed21df5
A
228@@ -1,4 +1,4 @@
229-#!/usr/bin/env python
230+#!/usr/bin/python
231 #
232 # Copyright 2008 The Closure Linter Authors. All Rights Reserved.
233 #
9dc0bdad
A
234diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/ecmametadatapass.py node-v0.10.3/tools/closure_linter/closure_linter/ecmametadatapass.py
235--- node-v0.10.3-o/tools/closure_linter/closure_linter/ecmametadatapass.py 2013-04-03 11:30:57.000000000 -0600
236+++ node-v0.10.3/tools/closure_linter/closure_linter/ecmametadatapass.py 2013-04-03 19:30:22.000000000 -0600
1ed21df5
A
237@@ -1,4 +1,4 @@
238-#!/usr/bin/env python
239+#!/usr/bin/python
240 #
241 # Copyright 2010 The Closure Linter Authors. All Rights Reserved.
242 #
9dc0bdad
A
243diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/error_fixer.py node-v0.10.3/tools/closure_linter/closure_linter/error_fixer.py
244--- node-v0.10.3-o/tools/closure_linter/closure_linter/error_fixer.py 2013-04-03 11:30:57.000000000 -0600
245+++ node-v0.10.3/tools/closure_linter/closure_linter/error_fixer.py 2013-04-03 19:30:22.000000000 -0600
1ed21df5
A
246@@ -1,4 +1,4 @@
247-#!/usr/bin/env python
248+#!/usr/bin/python
249 #
250 # Copyright 2007 The Closure Linter Authors. All Rights Reserved.
251 #
9dc0bdad
A
252diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/errorrules.py node-v0.10.3/tools/closure_linter/closure_linter/errorrules.py
253--- node-v0.10.3-o/tools/closure_linter/closure_linter/errorrules.py 2013-04-03 11:30:57.000000000 -0600
254+++ node-v0.10.3/tools/closure_linter/closure_linter/errorrules.py 2013-04-03 19:30:22.000000000 -0600
1ed21df5
A
255@@ -1,4 +1,4 @@
256-#!/usr/bin/env python
257+#!/usr/bin/python
258 #
259 # Copyright 2010 The Closure Linter Authors. All Rights Reserved.
260 #
9dc0bdad
A
261diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/errors.py node-v0.10.3/tools/closure_linter/closure_linter/errors.py
262--- node-v0.10.3-o/tools/closure_linter/closure_linter/errors.py 2013-04-03 11:30:57.000000000 -0600
263+++ node-v0.10.3/tools/closure_linter/closure_linter/errors.py 2013-04-03 19:30:22.000000000 -0600
1ed21df5
A
264@@ -1,4 +1,4 @@
265-#!/usr/bin/env python
266+#!/usr/bin/python
267 #
268 # Copyright 2007 The Closure Linter Authors. All Rights Reserved.
269 #
9dc0bdad
A
270diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/fixjsstyle.py node-v0.10.3/tools/closure_linter/closure_linter/fixjsstyle.py
271--- node-v0.10.3-o/tools/closure_linter/closure_linter/fixjsstyle.py 2013-04-03 11:30:57.000000000 -0600
272+++ node-v0.10.3/tools/closure_linter/closure_linter/fixjsstyle.py 2013-04-03 19:30:22.000000000 -0600
1ed21df5
A
273@@ -1,4 +1,4 @@
274-#!/usr/bin/env python
275+#!/usr/bin/python
276 #
277 # Copyright 2007 The Closure Linter Authors. All Rights Reserved.
278 #
9dc0bdad
A
279diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/fixjsstyle_test.py node-v0.10.3/tools/closure_linter/closure_linter/fixjsstyle_test.py
280--- node-v0.10.3-o/tools/closure_linter/closure_linter/fixjsstyle_test.py 2013-04-03 11:30:57.000000000 -0600
281+++ node-v0.10.3/tools/closure_linter/closure_linter/fixjsstyle_test.py 2013-04-03 19:30:22.000000000 -0600
1ed21df5
A
282@@ -1,4 +1,4 @@
283-#!/usr/bin/env python
284+#!/usr/bin/python
285 #
286 # Copyright 2008 The Closure Linter Authors. All Rights Reserved.
287 #
9dc0bdad
A
288diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/full_test.py node-v0.10.3/tools/closure_linter/closure_linter/full_test.py
289--- node-v0.10.3-o/tools/closure_linter/closure_linter/full_test.py 2013-04-03 11:30:57.000000000 -0600
290+++ node-v0.10.3/tools/closure_linter/closure_linter/full_test.py 2013-04-03 19:30:22.000000000 -0600
1ed21df5
A
291@@ -1,4 +1,4 @@
292-#!/usr/bin/env python
293+#!/usr/bin/python
294 #
295 # Copyright 2007 The Closure Linter Authors. All Rights Reserved.
296 #
9dc0bdad
A
297diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/gjslint.py node-v0.10.3/tools/closure_linter/closure_linter/gjslint.py
298--- node-v0.10.3-o/tools/closure_linter/closure_linter/gjslint.py 2013-04-03 11:30:57.000000000 -0600
299+++ node-v0.10.3/tools/closure_linter/closure_linter/gjslint.py 2013-04-03 19:30:22.000000000 -0600
1ed21df5
A
300@@ -1,4 +1,4 @@
301-#!/usr/bin/env python
302+#!/usr/bin/python
303 #
304 # Copyright 2007 The Closure Linter Authors. All Rights Reserved.
305 #
9dc0bdad
A
306diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/indentation.py node-v0.10.3/tools/closure_linter/closure_linter/indentation.py
307--- node-v0.10.3-o/tools/closure_linter/closure_linter/indentation.py 2013-04-03 11:30:57.000000000 -0600
308+++ node-v0.10.3/tools/closure_linter/closure_linter/indentation.py 2013-04-03 19:30:22.000000000 -0600
1ed21df5
A
309@@ -1,4 +1,4 @@
310-#!/usr/bin/env python
311+#!/usr/bin/python
312 #
313 # Copyright 2010 The Closure Linter Authors. All Rights Reserved.
314 #
9dc0bdad
A
315diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/__init__.py node-v0.10.3/tools/closure_linter/closure_linter/__init__.py
316--- node-v0.10.3-o/tools/closure_linter/closure_linter/__init__.py 2013-04-03 11:30:57.000000000 -0600
317+++ node-v0.10.3/tools/closure_linter/closure_linter/__init__.py 2013-04-03 19:30:22.000000000 -0600
1ed21df5
A
318@@ -1 +1 @@
319-#!/usr/bin/env python
320+#!/usr/bin/python
9dc0bdad
A
321diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/javascriptlintrules.py node-v0.10.3/tools/closure_linter/closure_linter/javascriptlintrules.py
322--- node-v0.10.3-o/tools/closure_linter/closure_linter/javascriptlintrules.py 2013-04-03 11:30:57.000000000 -0600
323+++ node-v0.10.3/tools/closure_linter/closure_linter/javascriptlintrules.py 2013-04-03 19:30:22.000000000 -0600
1ed21df5
A
324@@ -1,4 +1,4 @@
325-#!/usr/bin/env python
326+#!/usr/bin/python
327 #
328 # Copyright 2008 The Closure Linter Authors. All Rights Reserved.
329 #
9dc0bdad
A
330diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/javascriptstatetracker.py node-v0.10.3/tools/closure_linter/closure_linter/javascriptstatetracker.py
331--- node-v0.10.3-o/tools/closure_linter/closure_linter/javascriptstatetracker.py 2013-04-03 11:30:57.000000000 -0600
332+++ node-v0.10.3/tools/closure_linter/closure_linter/javascriptstatetracker.py 2013-04-03 19:30:22.000000000 -0600
1ed21df5
A
333@@ -1,4 +1,4 @@
334-#!/usr/bin/env python
335+#!/usr/bin/python
336 #
337 # Copyright 2008 The Closure Linter Authors. All Rights Reserved.
338 #
9dc0bdad
A
339diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/javascriptstatetracker_test.py node-v0.10.3/tools/closure_linter/closure_linter/javascriptstatetracker_test.py
340--- node-v0.10.3-o/tools/closure_linter/closure_linter/javascriptstatetracker_test.py 2013-04-03 11:30:57.000000000 -0600
341+++ node-v0.10.3/tools/closure_linter/closure_linter/javascriptstatetracker_test.py 2013-04-03 19:30:22.000000000 -0600
1ed21df5
A
342@@ -1,4 +1,4 @@
343-#!/usr/bin/env python
344+#!/usr/bin/python
345 #
346 # Copyright 2010 The Closure Linter Authors. All Rights Reserved.
347 #
9dc0bdad
A
348diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/javascripttokenizer.py node-v0.10.3/tools/closure_linter/closure_linter/javascripttokenizer.py
349--- node-v0.10.3-o/tools/closure_linter/closure_linter/javascripttokenizer.py 2013-04-03 11:30:57.000000000 -0600
350+++ node-v0.10.3/tools/closure_linter/closure_linter/javascripttokenizer.py 2013-04-03 19:30:22.000000000 -0600
1ed21df5
A
351@@ -1,4 +1,4 @@
352-#!/usr/bin/env python
353+#!/usr/bin/python
354 #
355 # Copyright 2007 The Closure Linter Authors. All Rights Reserved.
356 #
9dc0bdad
A
357diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/javascripttokens.py node-v0.10.3/tools/closure_linter/closure_linter/javascripttokens.py
358--- node-v0.10.3-o/tools/closure_linter/closure_linter/javascripttokens.py 2013-04-03 11:30:57.000000000 -0600
359+++ node-v0.10.3/tools/closure_linter/closure_linter/javascripttokens.py 2013-04-03 19:30:22.000000000 -0600
1ed21df5
A
360@@ -1,4 +1,4 @@
361-#!/usr/bin/env python
362+#!/usr/bin/python
363 #
364 # Copyright 2008 The Closure Linter Authors. All Rights Reserved.
365 #
9dc0bdad
A
366diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/statetracker.py node-v0.10.3/tools/closure_linter/closure_linter/statetracker.py
367--- node-v0.10.3-o/tools/closure_linter/closure_linter/statetracker.py 2013-04-03 11:30:57.000000000 -0600
368+++ node-v0.10.3/tools/closure_linter/closure_linter/statetracker.py 2013-04-03 19:30:22.000000000 -0600
1ed21df5
A
369@@ -1,4 +1,4 @@
370-#!/usr/bin/env python
371+#!/usr/bin/python
372 #
373 # Copyright 2007 The Closure Linter Authors. All Rights Reserved.
374 #
9dc0bdad
A
375diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/tokenutil.py node-v0.10.3/tools/closure_linter/closure_linter/tokenutil.py
376--- node-v0.10.3-o/tools/closure_linter/closure_linter/tokenutil.py 2013-04-03 11:30:57.000000000 -0600
377+++ node-v0.10.3/tools/closure_linter/closure_linter/tokenutil.py 2013-04-03 19:30:22.000000000 -0600
1ed21df5
A
378@@ -1,4 +1,4 @@
379-#!/usr/bin/env python
380+#!/usr/bin/python
381 #
382 # Copyright 2007 The Closure Linter Authors. All Rights Reserved.
383 #
9dc0bdad
A
384diff -ur node-v0.10.3-o/tools/closure_linter/gflags.py node-v0.10.3/tools/closure_linter/gflags.py
385--- node-v0.10.3-o/tools/closure_linter/gflags.py 2013-04-03 11:30:57.000000000 -0600
386+++ node-v0.10.3/tools/closure_linter/gflags.py 2013-04-03 19:30:22.000000000 -0600
1ed21df5
A
387@@ -1,4 +1,4 @@
388-#!/usr/bin/env python
389+#!/usr/bin/python
390
391 # Copyright (c) 2007, Google Inc.
392 # All rights reserved.
9dc0bdad
A
393diff -ur node-v0.10.3-o/tools/closure_linter/setup.py node-v0.10.3/tools/closure_linter/setup.py
394--- node-v0.10.3-o/tools/closure_linter/setup.py 2013-04-03 11:30:57.000000000 -0600
395+++ node-v0.10.3/tools/closure_linter/setup.py 2013-04-03 19:30:22.000000000 -0600
1ed21df5
A
396@@ -1,4 +1,4 @@
397-#!/usr/bin/env python
398+#!/usr/bin/python
399 #
400 # Copyright 2010 The Closure Linter Authors. All Rights Reserved.
401 #
9dc0bdad
A
402diff -ur node-v0.10.3-o/tools/genv8constants.py node-v0.10.3/tools/genv8constants.py
403--- node-v0.10.3-o/tools/genv8constants.py 2013-04-03 11:30:57.000000000 -0600
404+++ node-v0.10.3/tools/genv8constants.py 2013-04-03 19:30:22.000000000 -0600
1ed21df5
A
405@@ -1,4 +1,4 @@
406-#!/usr/bin/env python
407+#!/usr/bin/python
408
409 #
410 # genv8constants.py output_file libv8_base.a
9dc0bdad
A
411diff -ur node-v0.10.3-o/tools/gyp/gyp node-v0.10.3/tools/gyp/gyp
412--- node-v0.10.3-o/tools/gyp/gyp 2013-04-03 11:30:57.000000000 -0600
413+++ node-v0.10.3/tools/gyp/gyp 2013-04-03 19:30:39.000000000 -0600
1ed21df5
A
414@@ -1,4 +1,4 @@
415-#!/usr/bin/env python
416+#!/usr/bin/python
417
418 # Copyright (c) 2009 Google Inc. All rights reserved.
419 # Use of this source code is governed by a BSD-style license that can be
9dc0bdad
A
420diff -ur node-v0.10.3-o/tools/gyp/gyptest.py node-v0.10.3/tools/gyp/gyptest.py
421--- node-v0.10.3-o/tools/gyp/gyptest.py 2013-04-03 11:30:57.000000000 -0600
422+++ node-v0.10.3/tools/gyp/gyptest.py 2013-04-03 19:30:39.000000000 -0600
1ed21df5
A
423@@ -1,4 +1,4 @@
424-#!/usr/bin/env python
425+#!/usr/bin/python
426
427 # Copyright (c) 2012 Google Inc. All rights reserved.
428 # Use of this source code is governed by a BSD-style license that can be
9dc0bdad
A
429diff -ur node-v0.10.3-o/tools/gyp/pylib/gyp/common_test.py node-v0.10.3/tools/gyp/pylib/gyp/common_test.py
430--- node-v0.10.3-o/tools/gyp/pylib/gyp/common_test.py 2013-04-03 11:30:57.000000000 -0600
431+++ node-v0.10.3/tools/gyp/pylib/gyp/common_test.py 2013-04-03 19:30:39.000000000 -0600
1ed21df5
A
432@@ -1,4 +1,4 @@
433-#!/usr/bin/env python
434+#!/usr/bin/python
435
436 # Copyright (c) 2012 Google Inc. All rights reserved.
437 # Use of this source code is governed by a BSD-style license that can be
9dc0bdad
A
438diff -ur node-v0.10.3-o/tools/gyp/pylib/gyp/easy_xml_test.py node-v0.10.3/tools/gyp/pylib/gyp/easy_xml_test.py
439--- node-v0.10.3-o/tools/gyp/pylib/gyp/easy_xml_test.py 2013-04-03 11:30:57.000000000 -0600
440+++ node-v0.10.3/tools/gyp/pylib/gyp/easy_xml_test.py 2013-04-03 19:30:39.000000000 -0600
1ed21df5
A
441@@ -1,4 +1,4 @@
442-#!/usr/bin/env python
443+#!/usr/bin/python
444
445 # Copyright (c) 2011 Google Inc. All rights reserved.
446 # Use of this source code is governed by a BSD-style license that can be
9dc0bdad
A
447diff -ur node-v0.10.3-o/tools/gyp/pylib/gyp/generator/msvs_test.py node-v0.10.3/tools/gyp/pylib/gyp/generator/msvs_test.py
448--- node-v0.10.3-o/tools/gyp/pylib/gyp/generator/msvs_test.py 2013-04-03 11:30:57.000000000 -0600
449+++ node-v0.10.3/tools/gyp/pylib/gyp/generator/msvs_test.py 2013-04-03 19:30:39.000000000 -0600
1ed21df5
A
450@@ -1,4 +1,4 @@
451-#!/usr/bin/env python
452+#!/usr/bin/python
453 # Copyright (c) 2012 Google Inc. All rights reserved.
454 # Use of this source code is governed by a BSD-style license that can be
455 # found in the LICENSE file.
9dc0bdad
A
456diff -ur node-v0.10.3-o/tools/gyp/pylib/gyp/generator/ninja_test.py node-v0.10.3/tools/gyp/pylib/gyp/generator/ninja_test.py
457--- node-v0.10.3-o/tools/gyp/pylib/gyp/generator/ninja_test.py 2013-04-03 11:30:57.000000000 -0600
458+++ node-v0.10.3/tools/gyp/pylib/gyp/generator/ninja_test.py 2013-04-03 19:30:39.000000000 -0600
1ed21df5
A
459@@ -1,4 +1,4 @@
460-#!/usr/bin/env python
461+#!/usr/bin/python
462
463 # Copyright (c) 2012 Google Inc. All rights reserved.
464 # Use of this source code is governed by a BSD-style license that can be
9dc0bdad
A
465diff -ur node-v0.10.3-o/tools/gyp/pylib/gyp/__init__.py node-v0.10.3/tools/gyp/pylib/gyp/__init__.py
466--- node-v0.10.3-o/tools/gyp/pylib/gyp/__init__.py 2013-04-03 11:30:57.000000000 -0600
467+++ node-v0.10.3/tools/gyp/pylib/gyp/__init__.py 2013-04-03 19:30:39.000000000 -0600
1ed21df5
A
468@@ -1,4 +1,4 @@
469-#!/usr/bin/env python
470+#!/usr/bin/python
471
472 # Copyright (c) 2012 Google Inc. All rights reserved.
473 # Use of this source code is governed by a BSD-style license that can be
9dc0bdad
A
474diff -ur node-v0.10.3-o/tools/gyp/pylib/gyp/mac_tool.py node-v0.10.3/tools/gyp/pylib/gyp/mac_tool.py
475--- node-v0.10.3-o/tools/gyp/pylib/gyp/mac_tool.py 2013-04-03 11:30:57.000000000 -0600
476+++ node-v0.10.3/tools/gyp/pylib/gyp/mac_tool.py 2013-04-03 19:30:39.000000000 -0600
1ed21df5
A
477@@ -1,4 +1,4 @@
478-#!/usr/bin/env python
479+#!/usr/bin/python
480 # Copyright (c) 2012 Google Inc. All rights reserved.
481 # Use of this source code is governed by a BSD-style license that can be
482 # found in the LICENSE file.
9dc0bdad
A
483diff -ur node-v0.10.3-o/tools/gyp/pylib/gyp/MSVSSettings_test.py node-v0.10.3/tools/gyp/pylib/gyp/MSVSSettings_test.py
484--- node-v0.10.3-o/tools/gyp/pylib/gyp/MSVSSettings_test.py 2013-04-03 11:30:57.000000000 -0600
485+++ node-v0.10.3/tools/gyp/pylib/gyp/MSVSSettings_test.py 2013-04-03 19:30:39.000000000 -0600
1ed21df5
A
486@@ -1,4 +1,4 @@
487-#!/usr/bin/env python
488+#!/usr/bin/python
489
490 # Copyright (c) 2012 Google Inc. All rights reserved.
491 # Use of this source code is governed by a BSD-style license that can be
9dc0bdad
A
492diff -ur node-v0.10.3-o/tools/gyp/pylib/gyp/sun_tool.py node-v0.10.3/tools/gyp/pylib/gyp/sun_tool.py
493--- node-v0.10.3-o/tools/gyp/pylib/gyp/sun_tool.py 2013-04-03 11:30:57.000000000 -0600
494+++ node-v0.10.3/tools/gyp/pylib/gyp/sun_tool.py 2013-04-03 19:30:39.000000000 -0600
1ed21df5
A
495@@ -1,4 +1,4 @@
496-#!/usr/bin/env python
497+#!/usr/bin/python
498 # Copyright (c) 2011 Google Inc. All rights reserved.
499 # Use of this source code is governed by a BSD-style license that can be
500 # found in the LICENSE file.
9dc0bdad
A
501diff -ur node-v0.10.3-o/tools/gyp/pylib/gyp/win_tool.py node-v0.10.3/tools/gyp/pylib/gyp/win_tool.py
502--- node-v0.10.3-o/tools/gyp/pylib/gyp/win_tool.py 2013-04-03 11:30:57.000000000 -0600
503+++ node-v0.10.3/tools/gyp/pylib/gyp/win_tool.py 2013-04-03 19:30:39.000000000 -0600
1ed21df5
A
504@@ -1,4 +1,4 @@
505-#!/usr/bin/env python
506+#!/usr/bin/python
507
508 # Copyright (c) 2012 Google Inc. All rights reserved.
509 # Use of this source code is governed by a BSD-style license that can be
9dc0bdad
A
510diff -ur node-v0.10.3-o/tools/gyp/setup.py node-v0.10.3/tools/gyp/setup.py
511--- node-v0.10.3-o/tools/gyp/setup.py 2013-04-03 11:30:57.000000000 -0600
512+++ node-v0.10.3/tools/gyp/setup.py 2013-04-03 19:30:39.000000000 -0600
1ed21df5
A
513@@ -1,4 +1,4 @@
514-#!/usr/bin/env python
515+#!/usr/bin/python
516
517 # Copyright (c) 2009 Google Inc. All rights reserved.
518 # Use of this source code is governed by a BSD-style license that can be
9dc0bdad
A
519diff -ur node-v0.10.3-o/tools/gyp/tools/graphviz.py node-v0.10.3/tools/gyp/tools/graphviz.py
520--- node-v0.10.3-o/tools/gyp/tools/graphviz.py 2013-04-03 11:30:57.000000000 -0600
521+++ node-v0.10.3/tools/gyp/tools/graphviz.py 2013-04-03 19:30:39.000000000 -0600
1ed21df5
A
522@@ -1,4 +1,4 @@
523-#!/usr/bin/env python
524+#!/usr/bin/python
525
526 # Copyright (c) 2011 Google Inc. All rights reserved.
527 # Use of this source code is governed by a BSD-style license that can be
9dc0bdad
A
528diff -ur node-v0.10.3-o/tools/gyp/tools/pretty_gyp.py node-v0.10.3/tools/gyp/tools/pretty_gyp.py
529--- node-v0.10.3-o/tools/gyp/tools/pretty_gyp.py 2013-04-03 11:30:57.000000000 -0600
530+++ node-v0.10.3/tools/gyp/tools/pretty_gyp.py 2013-04-03 19:30:39.000000000 -0600
1ed21df5
A
531@@ -1,4 +1,4 @@
532-#!/usr/bin/env python
533+#!/usr/bin/python
534
535 # Copyright (c) 2012 Google Inc. All rights reserved.
536 # Use of this source code is governed by a BSD-style license that can be
9dc0bdad
A
537diff -ur node-v0.10.3-o/tools/gyp/tools/pretty_sln.py node-v0.10.3/tools/gyp/tools/pretty_sln.py
538--- node-v0.10.3-o/tools/gyp/tools/pretty_sln.py 2013-04-03 11:30:57.000000000 -0600
539+++ node-v0.10.3/tools/gyp/tools/pretty_sln.py 2013-04-03 19:30:39.000000000 -0600
1ed21df5
A
540@@ -1,4 +1,4 @@
541-#!/usr/bin/env python
542+#!/usr/bin/python
543
544 # Copyright (c) 2012 Google Inc. All rights reserved.
545 # Use of this source code is governed by a BSD-style license that can be
9dc0bdad
A
546diff -ur node-v0.10.3-o/tools/gyp/tools/pretty_vcproj.py node-v0.10.3/tools/gyp/tools/pretty_vcproj.py
547--- node-v0.10.3-o/tools/gyp/tools/pretty_vcproj.py 2013-04-03 11:30:57.000000000 -0600
548+++ node-v0.10.3/tools/gyp/tools/pretty_vcproj.py 2013-04-03 19:30:39.000000000 -0600
1ed21df5
A
549@@ -1,4 +1,4 @@
550-#!/usr/bin/env python
551+#!/usr/bin/python
552
553 # Copyright (c) 2012 Google Inc. All rights reserved.
554 # Use of this source code is governed by a BSD-style license that can be
9dc0bdad
A
555diff -ur node-v0.10.3-o/tools/gyp_node node-v0.10.3/tools/gyp_node
556--- node-v0.10.3-o/tools/gyp_node 2013-04-03 11:30:57.000000000 -0600
557+++ node-v0.10.3/tools/gyp_node 2013-04-03 19:30:39.000000000 -0600
1ed21df5
A
558@@ -1,4 +1,4 @@
559-#!/usr/bin/env python
560+#!/usr/bin/python
561 import glob
562 import os
563 import shlex
9dc0bdad
A
564diff -ur node-v0.10.3-o/tools/install.py node-v0.10.3/tools/install.py
565--- node-v0.10.3-o/tools/install.py 2013-04-03 11:30:57.000000000 -0600
566+++ node-v0.10.3/tools/install.py 2013-04-03 19:31:32.000000000 -0600
1ed21df5
A
567@@ -1,4 +1,4 @@
568-#!/usr/bin/env python
569+#!/usr/bin/python
570
571 import errno
572
9dc0bdad 573@@ -119,7 +119,9 @@
be06d6d0
AS
574 assert(0) # unhandled action type
575
576 def files(action):
577+ global lib_dir
be06d6d0 578 action(['out/Release/node'], 'bin/node')
9dc0bdad 579+ action(['out/Release/lib.target/libnode.so.10.3.0'], lib_dir + '/libnode.so.10.3.0')
be06d6d0
AS
580
581 # install unconditionally, checking if the platform supports dtrace doesn't
582 # work when cross-compiling and besides, there's at least one linux flavor
9dc0bdad 583@@ -134,7 +136,7 @@
be06d6d0
AS
584 if 'true' == variables.get('node_install_npm'): npm_files(action)
585
586 def run(args):
587- global dst_dir, node_prefix, target_defaults, variables
588+ global dst_dir, node_prefix, target_defaults, variables, lib_dir
589
590 # chdir to the project's top-level directory
591 os.chdir(abspath(os.path.dirname(__file__), '..'))
9dc0bdad 592@@ -147,6 +149,9 @@
be06d6d0
AS
593 dst_dir = node_prefix = variables.get('node_prefix') or '/usr/local'
594 if len(args) > 2: dst_dir = abspath(args[2] + '/' + dst_dir)
be06d6d0 595
1ed21df5
A
596+ lib_dir = 'lib'
597+ if len(args) > 3: lib_dir = args[3]
598+
be06d6d0
AS
599 cmd = args[1] if len(args) > 1 else 'install'
600 if cmd == 'install': return files(install)
1ed21df5 601 if cmd == 'uninstall': return files(uninstall)
9dc0bdad
A
602Only in node-v0.10.3/tools: install.py~
603Only in node-v0.10.3/tools: install.py.orig
604Only in node-v0.10.3/tools: install.py.rej~
605diff -ur node-v0.10.3-o/tools/js2c.py node-v0.10.3/tools/js2c.py
606--- node-v0.10.3-o/tools/js2c.py 2013-04-03 11:30:57.000000000 -0600
607+++ node-v0.10.3/tools/js2c.py 2013-04-03 19:30:39.000000000 -0600
1ed21df5
A
608@@ -1,4 +1,4 @@
609-#!/usr/bin/env python
610+#!/usr/bin/python
611 #
612 # Copyright 2006-2008 the V8 project authors. All rights reserved.
613 # Redistribution and use in source and binary forms, with or without
9dc0bdad
A
614diff -ur node-v0.10.3-o/tools/test.py node-v0.10.3/tools/test.py
615--- node-v0.10.3-o/tools/test.py 2013-04-03 11:30:57.000000000 -0600
616+++ node-v0.10.3/tools/test.py 2013-04-03 19:30:39.000000000 -0600
1ed21df5
A
617@@ -1,4 +1,4 @@
618-#!/usr/bin/env python
619+#!/usr/bin/python
620 #
621 # Copyright 2008 the V8 project authors. All rights reserved.
622 # Redistribution and use in source and binary forms, with or without
This page took 0.109403 seconds and 4 git commands to generate.