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