[packages/nodejs/dev-4.2] drop system v8 support; upstream has dropped any support

glen glen at pld-linux.org
Fri Jan 1 18:30:16 CET 2016


commit 9868c8d7b05d986dd24c6da0fda87f3f673210ed
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri Jan 1 19:24:29 2016 +0200

    drop system v8 support; upstream has dropped any support
    
    Node.js is closely tied to the version of v8 that is used with it. It makes
    sense to use the bundled version because upstream consistently breaks ABI
    even in point releases. Node.js upstream has now removed the ability to build
    against a shared system version entirely.
    See https://github.com/nodejs/node/commit/d726a177ed59c37cf5306983ed00ecd858cfbbef

 nodejs.spec | 5 -----
 1 file changed, 5 deletions(-)
---
diff --git a/nodejs.spec b/nodejs.spec
index e2cf2c6..42b9b53 100644
--- a/nodejs.spec
+++ b/nodejs.spec
@@ -4,7 +4,6 @@
 #   /usr/share/systemtap/tapset/node.stp
 
 # Conditional build:
-%bcond_with	system_v8	# system v8
 %bcond_without	system_uv	# system uv
 %bcond_with	shared	# build libnode.so shared library
 
@@ -45,7 +44,6 @@ BuildRequires:	python-jsmin
 BuildRequires:	rpm >= 4.4.9-56
 BuildRequires:	rpmbuild(macros) >= 1.219
 BuildRequires:	sed >= 4.0
-%{?with_system_v8:BuildRequires:	v8-devel >= 3.15.11.18-2}
 BuildRequires:	zlib-devel
 Requires:	ca-certificates
 Obsoletes:	nodejs-waf
@@ -71,7 +69,6 @@ Requires:	http-parser-devel
 Requires:	libstdc++-devel
 %{?with_system_uv:Requires:	libuv-devel}
 Requires:	openssl-devel
-%{?with_system_v8:Requires:	v8-devel}
 Requires:	zlib-devel
 
 %description devel
@@ -112,7 +109,6 @@ rm -r deps/npm
 rm -r deps/http_parser
 rm -r deps/openssl
 %{?with_system_uv:rm -r deps/uv}
-%{?with_system_v8:rm -r deps/v8}
 rm -r deps/zlib
 
 %build
@@ -121,7 +117,6 @@ CC="%{__cc}" \
 CXX="%{__cxx}" \
 GYP_DEFINES="soname_version=%{sover}" \
 ./configure \
-	%{?with_system_v8:--shared-v8} \
 	--shared-zlib \
 	--shared-openssl \
 	%{?0:--shared-cares} \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/nodejs.git/commitdiff/9868c8d7b05d986dd24c6da0fda87f3f673210ed



More information about the pld-cvs-commit mailing list