Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/nodejs/files/
Date: Thu, 04 Jan 2018 12:31:04
Message-Id: 1515069056.54e6d659d80029fb46b334a49f6989008e56fc90.jer@gentoo
1 commit: 54e6d659d80029fb46b334a49f6989008e56fc90
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 4 12:28:12 2018 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 4 12:30:56 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54e6d659
7
8 net-libs/nodejs: Obsolete.
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 .../nodejs/files/nodejs-8.9.0-shared-nghttp2.patch | 100 ---------------------
13 .../nodejs/files/nodejs-9.2.0-shared-nghttp2.patch | 100 ---------------------
14 2 files changed, 200 deletions(-)
15
16 diff --git a/net-libs/nodejs/files/nodejs-8.9.0-shared-nghttp2.patch b/net-libs/nodejs/files/nodejs-8.9.0-shared-nghttp2.patch
17 deleted file mode 100644
18 index c5e0d837f30..00000000000
19 --- a/net-libs/nodejs/files/nodejs-8.9.0-shared-nghttp2.patch
20 +++ /dev/null
21 @@ -1,100 +0,0 @@
22 -diff --git a/configure b/configure
23 -index 5703a70cb2d..3b6fc7347db 100755
24 ---- a/configure
25 -+++ b/configure
26 -@@ -220,6 +220,27 @@ shared_optgroup.add_option('--shared-libuv-libpath',
27 - dest='shared_libuv_libpath',
28 - help='a directory to search for the shared libuv DLL')
29 -
30 -+shared_optgroup.add_option('--shared-nghttp2',
31 -+ action='store_true',
32 -+ dest='shared_nghttp2',
33 -+ help='link to a shared nghttp2 DLL instead of static linking')
34 -+
35 -+shared_optgroup.add_option('--shared-nghttp2-includes',
36 -+ action='store',
37 -+ dest='shared_nghttp2_includes',
38 -+ help='directory containing nghttp2 header files')
39 -+
40 -+shared_optgroup.add_option('--shared-nghttp2-libname',
41 -+ action='store',
42 -+ dest='shared_nghttp2_libname',
43 -+ default='nghttp2',
44 -+ help='alternative lib name to link to [default: %default]')
45 -+
46 -+shared_optgroup.add_option('--shared-nghttp2-libpath',
47 -+ action='store',
48 -+ dest='shared_nghttp2_libpath',
49 -+ help='a directory to search for the shared nghttp2 DLLs')
50 -+
51 - shared_optgroup.add_option('--shared-openssl',
52 - action='store_true',
53 - dest='shared_openssl',
54 -@@ -1415,6 +1436,7 @@ configure_library('zlib', output)
55 - configure_library('http_parser', output)
56 - configure_library('libuv', output)
57 - configure_library('libcares', output)
58 -+configure_library('nghttp2', output)
59 - # stay backwards compatible with shared cares builds
60 - output['variables']['node_shared_cares'] = \
61 - output['variables'].pop('node_shared_libcares')
62 -diff --git a/node.gyp b/node.gyp
63 -index 86a4331a4ed..38241302e26 100644
64 ---- a/node.gyp
65 -+++ b/node.gyp
66 -@@ -16,6 +16,7 @@
67 - 'node_shared_http_parser%': 'false',
68 - 'node_shared_cares%': 'false',
69 - 'node_shared_libuv%': 'false',
70 -+ 'node_shared_nghttp2%': 'false',
71 - 'node_use_openssl%': 'true',
72 - 'node_shared_openssl%': 'false',
73 - 'node_v8_options%': '',
74 -@@ -177,7 +178,6 @@
75 -
76 - 'dependencies': [
77 - 'node_js2c#host',
78 -- 'deps/nghttp2/nghttp2.gyp:nghttp2'
79 - ],
80 -
81 - 'includes': [
82 -@@ -187,8 +187,7 @@
83 - 'include_dirs': [
84 - 'src',
85 - 'tools/msvs/genfiles',
86 -- '<(SHARED_INTERMEDIATE_DIR)', # for node_natives.h
87 -- 'deps/nghttp2/lib/includes'
88 -+ '<(SHARED_INTERMEDIATE_DIR)' # for node_natives.h
89 - ],
90 -
91 - 'sources': [
92 -@@ -930,6 +929,14 @@
93 - 'deps/uv/uv.gyp:libuv'
94 - ]
95 - }],
96 -+ [ 'node_shared_nghttp2=="false"', {
97 -+ 'dependencies': [
98 -+ 'deps/nghttp2/nghttp2.gyp:nghttp2'
99 -+ ],
100 -+ 'include_dirs': [
101 -+ 'deps/nghttp2/lib/includes'
102 -+ ]
103 -+ }],
104 - [ 'node_use_v8_platform=="true"', {
105 - 'dependencies': [
106 - 'deps/v8/src/v8.gyp:v8_libplatform',
107 -diff --git a/node.gypi b/node.gypi
108 -index ec78df2a339..3990c59ef98 100644
109 ---- a/node.gypi
110 -+++ b/node.gypi
111 -@@ -259,6 +259,10 @@
112 - [ 'node_shared_libuv=="false"', {
113 - 'dependencies': [ 'deps/uv/uv.gyp:libuv' ],
114 - }],
115 -+
116 -+ [ 'node_shared_nghttp2=="false"', {
117 -+ 'dependencies': [ 'deps/nghttp2/nghttp2.gyp:nghttp2' ],
118 -+ }],
119 -
120 - [ 'OS=="win"', {
121 - 'sources': [
122
123 diff --git a/net-libs/nodejs/files/nodejs-9.2.0-shared-nghttp2.patch b/net-libs/nodejs/files/nodejs-9.2.0-shared-nghttp2.patch
124 deleted file mode 100644
125 index e8483ab279f..00000000000
126 --- a/net-libs/nodejs/files/nodejs-9.2.0-shared-nghttp2.patch
127 +++ /dev/null
128 @@ -1,100 +0,0 @@
129 -diff --git a/configure b/configure
130 -index 5703a70cb2d..3b6fc7347db 100755
131 ---- a/configure
132 -+++ b/configure
133 -@@ -220,6 +220,27 @@ shared_optgroup.add_option('--shared-libuv-libpath',
134 - dest='shared_libuv_libpath',
135 - help='a directory to search for the shared libuv DLL')
136 -
137 -+shared_optgroup.add_option('--shared-nghttp2',
138 -+ action='store_true',
139 -+ dest='shared_nghttp2',
140 -+ help='link to a shared nghttp2 DLL instead of static linking')
141 -+
142 -+shared_optgroup.add_option('--shared-nghttp2-includes',
143 -+ action='store',
144 -+ dest='shared_nghttp2_includes',
145 -+ help='directory containing nghttp2 header files')
146 -+
147 -+shared_optgroup.add_option('--shared-nghttp2-libname',
148 -+ action='store',
149 -+ dest='shared_nghttp2_libname',
150 -+ default='nghttp2',
151 -+ help='alternative lib name to link to [default: %default]')
152 -+
153 -+shared_optgroup.add_option('--shared-nghttp2-libpath',
154 -+ action='store',
155 -+ dest='shared_nghttp2_libpath',
156 -+ help='a directory to search for the shared nghttp2 DLLs')
157 -+
158 - shared_optgroup.add_option('--shared-openssl',
159 - action='store_true',
160 - dest='shared_openssl',
161 -@@ -1415,6 +1436,7 @@ configure_library('zlib', output)
162 - configure_library('http_parser', output)
163 - configure_library('libuv', output)
164 - configure_library('libcares', output)
165 -+configure_library('nghttp2', output)
166 - # stay backwards compatible with shared cares builds
167 - output['variables']['node_shared_cares'] = \
168 - output['variables'].pop('node_shared_libcares')
169 -diff --git a/node.gyp b/node.gyp
170 -index 43a6576206d..c8ba6759246 100644
171 ---- a/node.gyp
172 -+++ b/node.gyp
173 -@@ -16,6 +16,7 @@
174 - 'node_shared_http_parser%': 'false',
175 - 'node_shared_cares%': 'false',
176 - 'node_shared_libuv%': 'false',
177 -+ 'node_shared_nghttp2%': 'false',
178 - 'node_use_openssl%': 'true',
179 - 'node_shared_openssl%': 'false',
180 - 'node_v8_options%': '',
181 -@@ -176,7 +177,6 @@
182 -
183 - 'dependencies': [
184 - 'node_js2c#host',
185 -- 'deps/nghttp2/nghttp2.gyp:nghttp2'
186 - ],
187 -
188 - 'includes': [
189 -@@ -186,8 +186,7 @@
190 - 'include_dirs': [
191 - 'src',
192 - 'tools/msvs/genfiles',
193 -- '<(SHARED_INTERMEDIATE_DIR)', # for node_natives.h
194 -- 'deps/nghttp2/lib/includes'
195 -+ '<(SHARED_INTERMEDIATE_DIR)' # for node_natives.h
196 - ],
197 -
198 - 'sources': [
199 -@@ -929,6 +928,14 @@
200 - 'deps/uv/uv.gyp:libuv'
201 - ]
202 - }],
203 -+ [ 'node_shared_nghttp2=="false"', {
204 -+ 'dependencies': [
205 -+ 'deps/nghttp2/nghttp2.gyp:nghttp2'
206 -+ ],
207 -+ 'include_dirs': [
208 -+ 'deps/nghttp2/lib/includes'
209 -+ ]
210 -+ }],
211 - [ 'node_use_v8_platform=="true"', {
212 - 'dependencies': [
213 - 'deps/v8/src/v8.gyp:v8_libplatform',
214 -diff --git a/node.gypi b/node.gypi
215 -index ec78df2a339..3990c59ef98 100644
216 ---- a/node.gypi
217 -+++ b/node.gypi
218 -@@ -133,6 +133,10 @@
219 - 'dependencies': [ 'deps/uv/uv.gyp:libuv' ],
220 - }],
221 -
222 -+ [ 'node_shared_nghttp2=="false"', {
223 -+ 'dependencies': [ 'deps/nghttp2/nghttp2.gyp:nghttp2' ],
224 -+ }],
225 -+
226 - [ 'OS=="mac"', {
227 - # linking Corefoundation is needed since certain OSX debugging tools
228 - # like Instruments require it for some features