nodejs: Update from 6.2.2 to 6.3.0
authorFredrik Fornwall <fredrik@fornwall.net>
Fri, 15 Jul 2016 15:58:32 +0000 (11:58 -0400)
committerFredrik Fornwall <fredrik@fornwall.net>
Fri, 15 Jul 2016 15:58:32 +0000 (11:58 -0400)
packages/nodejs/build.sh
packages/nodejs/node.gyp.patch

index fcbfd60..244580a 100644 (file)
@@ -1,6 +1,6 @@
 TERMUX_PKG_HOMEPAGE=http://nodejs.org/
 TERMUX_PKG_DESCRIPTION="Platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications"
-TERMUX_PKG_VERSION=6.2.2
+TERMUX_PKG_VERSION=6.3.0
 TERMUX_PKG_SRCURL=https://nodejs.org/dist/v${TERMUX_PKG_VERSION}/node-v${TERMUX_PKG_VERSION}.tar.gz
 TERMUX_PKG_DEPENDS="openssl, libuv, libgnustl, c-ares"
 TERMUX_PKG_RM_AFTER_INSTALL="lib/node_modules/npm/html lib/node_modules/npm/make.bat share/systemtap lib/dtrace"
index ec0917e..f3e7516 100644 (file)
@@ -1,7 +1,7 @@
-diff -u -r ../node-v6.2.1/node.gyp ./node.gyp
---- ../node-v6.2.1/node.gyp    2016-06-02 17:53:57.000000000 -0400
-+++ ./node.gyp 2016-06-03 08:41:23.800132335 -0400
-@@ -685,32 +685,6 @@
+diff -u -r ../node-v6.3.0/node.gyp ./node.gyp
+--- ../node-v6.3.0/node.gyp    2016-07-06 13:14:10.000000000 -0400
++++ ./node.gyp 2016-07-15 09:30:10.150224361 -0400
+@@ -805,54 +805,7 @@
            ],
          } ],
        ]
@@ -9,11 +9,7 @@ diff -u -r ../node-v6.2.1/node.gyp ./node.gyp
 -    {
 -      'target_name': 'cctest',
 -      'type': 'executable',
--      'dependencies': [
--        'deps/gtest/gtest.gyp:gtest',
--        'deps/v8/tools/gyp/v8.gyp:v8',
--        'deps/v8/tools/gyp/v8.gyp:v8_libplatform'
--      ],
+-      'dependencies': [ 'deps/gtest/gtest.gyp:gtest' ],
 -      'include_dirs': [
 -        'src',
 -        'deps/v8/include'
@@ -31,6 +27,32 @@ diff -u -r ../node-v6.2.1/node.gyp ./node.gyp
 -      'sources': [
 -        'test/cctest/util.cc',
 -      ],
+-
+-      'conditions': [
+-        ['v8_inspector=="true"', {
+-          'dependencies': [
+-            'deps/openssl/openssl.gyp:openssl',
+-            'deps/http_parser/http_parser.gyp:http_parser',
+-            'deps/uv/uv.gyp:libuv'
+-          ],
+-          'sources': [
+-            'src/inspector_socket.cc',
+-            'test/cctest/test_inspector_socket.cc'
+-          ]
+-        }],
+-        [ 'node_use_v8_platform=="true"', {
+-          'dependencies': [
+-            'deps/v8/tools/gyp/v8.gyp:v8_libplatform',
+-          ],
+-        }],
+-        [ 'node_use_bundled_v8=="true"', {
+-          'dependencies': [
+-            'deps/v8/tools/gyp/v8.gyp:v8',
+-            'deps/v8/tools/gyp/v8.gyp:v8_libplatform'
+-          ],
+-        }],
+-      ]
      }
    ], # end targets
  
+   'conditions': [