pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/nodejs



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue May 30 14:26:38 UTC 2017

Modified Files:
        pkgsrc/lang/nodejs: Makefile distinfo
Added Files:
        pkgsrc/lang/nodejs/patches:
            patch-deps_npm_node__modules_node-gyp_gyp_pylib_gyp_xcode__emulation.py
            patch-tools_gyp_pylib_gyp_xcode__emulation.py

Log Message:
On macOS, do not generate debugging symbols; they use lots of disk space, and most of them get stripped off during installation.


To generate a diff of this commit:
cvs rdiff -u -r1.97 -r1.98 pkgsrc/lang/nodejs/Makefile
cvs rdiff -u -r1.94 -r1.95 pkgsrc/lang/nodejs/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/lang/nodejs/patches/patch-deps_npm_node__modules_node-gyp_gyp_pylib_gyp_xcode__emulation.py \
    pkgsrc/lang/nodejs/patches/patch-tools_gyp_pylib_gyp_xcode__emulation.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/nodejs/Makefile
diff -u pkgsrc/lang/nodejs/Makefile:1.97 pkgsrc/lang/nodejs/Makefile:1.98
--- pkgsrc/lang/nodejs/Makefile:1.97    Fri May 12 20:55:40 2017
+++ pkgsrc/lang/nodejs/Makefile Tue May 30 14:26:38 2017
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.97 2017/05/12 20:55:40 fhajny Exp $
+# $NetBSD: Makefile,v 1.98 2017/05/30 14:26:38 adam Exp $
 
 DISTNAME=      node-v7.10.0
 
-CONFIGURE_ARGS+=        --with-intl=system-icu
+CONFIGURE_ARGS+=       --with-intl=system-icu
 
 .include "../../lang/nodejs/Makefile.common"
 .include "../../textproc/icu/buildlink3.mk"

Index: pkgsrc/lang/nodejs/distinfo
diff -u pkgsrc/lang/nodejs/distinfo:1.94 pkgsrc/lang/nodejs/distinfo:1.95
--- pkgsrc/lang/nodejs/distinfo:1.94    Thu May  4 16:39:36 2017
+++ pkgsrc/lang/nodejs/distinfo Tue May 30 14:26:38 2017
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.94 2017/05/04 16:39:36 fhajny Exp $
+$NetBSD: distinfo,v 1.95 2017/05/30 14:26:38 adam Exp $
 
 SHA1 (node-v7.10.0.tar.gz) = 2a32c82256effb991c59a1b37b5c1d0beffe9c2d
 RMD160 (node-v7.10.0.tar.gz) = c0d8edb2977e59b6090953c72ee9be1ae699f01a
@@ -7,6 +7,7 @@ Size (node-v7.10.0.tar.gz) = 28110265 by
 SHA1 (patch-common.gypi) = 5b3a50617358637a6f910de28bb5a14f037317a6
 SHA1 (patch-deps_cares_cares.gyp) = 2235eb44bc984fa2e745fdf1786f1ae6de6ef80f
 SHA1 (patch-deps_npm_node__modules_node-gyp_gyp_pylib_gyp_generator_make.py) = 78d6ddd37ae30e869e0da666a78baad86a638c50
+SHA1 (patch-deps_npm_node__modules_node-gyp_gyp_pylib_gyp_xcode__emulation.py) = 6f21f937d2baf5799192e96865771cef6b4822a5
 SHA1 (patch-deps_uv_common.gypi) = ba9caa1f6d9d6df1913d0d72a8d18ea6db0a32ff
 SHA1 (patch-deps_uv_src_unix_netbsd.c) = 0915dcd6ff65ec9bc098c05c32e3fedee9c8168b
 SHA1 (patch-deps_v8_src_arm_cpu-arm.cc) = d0d11ac474ab109a6f40b26fa457b12d742eb48d
@@ -24,4 +25,5 @@ SHA1 (patch-src_cares__wrap.cc) = d9510a
 SHA1 (patch-src_node.cc) = 7004baf140e252861494b4fb003beeaa8581be78
 SHA1 (patch-tools_gyp_pylib_gyp_common.py) = 585dd239415da146fa50ed86e42dd99080e86002
 SHA1 (patch-tools_gyp_pylib_gyp_generator_make.py) = be3cc1aaa85c3d59b6f2758df813cb5ad8d8f74e
+SHA1 (patch-tools_gyp_pylib_gyp_xcode__emulation.py) = 15937c419f3226ab280c7bcd5d726773cb5add57
 SHA1 (patch-tools_install.py) = aae60d31e8c2e74f18c61c328913412545943d79

Added files:

Index: pkgsrc/lang/nodejs/patches/patch-deps_npm_node__modules_node-gyp_gyp_pylib_gyp_xcode__emulation.py
diff -u /dev/null pkgsrc/lang/nodejs/patches/patch-deps_npm_node__modules_node-gyp_gyp_pylib_gyp_xcode__emulation.py:1.1
--- /dev/null   Tue May 30 14:26:38 2017
+++ pkgsrc/lang/nodejs/patches/patch-deps_npm_node__modules_node-gyp_gyp_pylib_gyp_xcode__emulation.py  Tue May 30 14:26:38 2017
@@ -0,0 +1,15 @@
+$NetBSD: patch-deps_npm_node__modules_node-gyp_gyp_pylib_gyp_xcode__emulation.py,v 1.1 2017/05/30 14:26:38 adam Exp $
+
+Do not generate debugging symbols (uses lots of disk space).
+
+--- deps/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py.orig       2017-05-30 13:51:50.000000000 +0000
++++ deps/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py
+@@ -500,7 +500,7 @@ class XcodeSettings(object):
+ 
+     self._Appendf(cflags, 'GCC_OPTIMIZATION_LEVEL', '-O%s', default='s')
+ 
+-    if self._Test('GCC_GENERATE_DEBUGGING_SYMBOLS', 'YES', default='YES'):
++    if self._Test('GCC_GENERATE_DEBUGGING_SYMBOLS', 'YES', default='NO'):
+       dbg_format = self._Settings().get('DEBUG_INFORMATION_FORMAT', 'dwarf')
+       if dbg_format == 'dwarf':
+         cflags.append('-gdwarf-2')
Index: pkgsrc/lang/nodejs/patches/patch-tools_gyp_pylib_gyp_xcode__emulation.py
diff -u /dev/null pkgsrc/lang/nodejs/patches/patch-tools_gyp_pylib_gyp_xcode__emulation.py:1.1
--- /dev/null   Tue May 30 14:26:38 2017
+++ pkgsrc/lang/nodejs/patches/patch-tools_gyp_pylib_gyp_xcode__emulation.py    Tue May 30 14:26:38 2017
@@ -0,0 +1,15 @@
+$NetBSD: patch-tools_gyp_pylib_gyp_xcode__emulation.py,v 1.1 2017/05/30 14:26:38 adam Exp $
+
+Do not generate debugging symbols (uses lots of disk space).
+
+--- tools/gyp/pylib/gyp/xcode_emulation.py.orig        2017-05-30 14:15:04.000000000 +0000
++++ tools/gyp/pylib/gyp/xcode_emulation.py
+@@ -577,7 +577,7 @@ class XcodeSettings(object):
+ 
+     self._Appendf(cflags, 'GCC_OPTIMIZATION_LEVEL', '-O%s', default='s')
+ 
+-    if self._Test('GCC_GENERATE_DEBUGGING_SYMBOLS', 'YES', default='YES'):
++    if self._Test('GCC_GENERATE_DEBUGGING_SYMBOLS', 'YES', default='NO'):
+       dbg_format = self._Settings().get('DEBUG_INFORMATION_FORMAT', 'dwarf')
+       if dbg_format == 'dwarf':
+         cflags.append('-gdwarf-2')



Home | Main Index | Thread Index | Old Index