[packages/v8/dev-x32] up to 3.28.71.9 3.28.2 adds x32 support
glen
glen at pld-linux.org
Sun Mar 22 14:17:48 CET 2015
commit e6309b3f82892b7874e5050ab4dc0a3072cffa3e
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Mar 22 13:16:27 2015 +0000
up to 3.28.71.9
3.28.2 adds x32 support
v8-cstdio.patch | 12 ------------
v8-dynlink.patch | 10 ----------
v8.spec | 20 ++++++++------------
3 files changed, 8 insertions(+), 34 deletions(-)
---
diff --git a/v8.spec b/v8.spec
index 8ea3177..cf88e94 100644
--- a/v8.spec
+++ b/v8.spec
@@ -9,17 +9,14 @@
Summary: JavaScript Engine by Google
Summary(pl.UTF-8): Silnik JavaScript firmy Google
Name: v8
-Version: 3.15.11.18
-Release: 1
+Version: 3.28.71.9
+Release: 0.1
License: BSD
Group: Development/Languages
-# Source0Download: http://gsdview.appspot.com/chromium-browser-official/?marker=v8-3.15.11.17.tar.bz2
-#Source0: http://commondatastorage.googleapis.com/chromium-browser-official/%{name}-%{version}.tar.bz2
-Source0: %{name}-%{version}.tar.bz2
-# Source0-md5: a08c74de1f8d71d309077cb7a640583f
-Patch0: %{name}-cstdio.patch
+# Source0Download: http://gsdview.appspot.com/chromium-browser-official/?marker=v8-3.28
+Source0: http://gsdview.appspot.com/chromium-browser-official/v8-%{version}-lite.tar.bz2
+# Source0-md5: 369ff2d7557b142bde54cbb738dcf91b
Patch1: %{name}-strndup.patch
-Patch3: %{name}-dynlink.patch
URL: http://code.google.com/p/v8/
BuildRequires: gyp
BuildRequires: libstdc++-devel >= 5:4.0
@@ -27,7 +24,7 @@ BuildRequires: python >= 1:2.5
BuildRequires: readline-devel
BuildRequires: sed >= 4.0
Requires: %{name}-libs = %{version}-%{release}
-ExclusiveArch: %{ix86} %{x8664} arm mips
+ExclusiveArch: %{ix86} %{x8664} arm mips x32
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define sover %(echo %{version} | cut -d. -f1-2)
@@ -83,12 +80,10 @@ Pliki nagłówkowe silnika JavaScriptu V8.
%prep
%setup -q
-%patch0 -p1
%patch1 -p1
-%patch3 -p1
install -d build/gyp
-ln -s %{_bindir}/gyp build/gyp/gyp
+ln -sf %{_bindir}/gyp build/gyp/gyp
%build
# -Wno-unused-local-typedefs is gcc 4.8 workaround: http://code.google.com/p/v8/issues/detail?id=2149
@@ -96,6 +91,7 @@ ln -s %{_bindir}/gyp build/gyp/gyp
component=shared_library \
soname_version=%{sover} \
console=readline \
+ i18nsupport=off \
CC="%{__cc}" \
CXX="%{__cxx}" \
LINK="%{__cxx} -fuse-ld=gold" \
diff --git a/v8-cstdio.patch b/v8-cstdio.patch
deleted file mode 100644
index 69762c0..0000000
--- a/v8-cstdio.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ur v8-/src/d8-readline.cc v8/src/d8-readline.cc
---- v8-/src/d8-readline.cc 2010-03-09 20:28:47.000000000 -0700
-+++ v8/src/d8-readline.cc 2010-03-09 20:52:00.000000000 -0700
-@@ -26,7 +26,7 @@
- // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-
--#include <cstdio> // NOLINT
-+#include <stdio.h> // NOLINT
- #include <readline/readline.h> // NOLINT
- #include <readline/history.h> // NOLINT
-
diff --git a/v8-dynlink.patch b/v8-dynlink.patch
deleted file mode 100644
index 1510e32..0000000
--- a/v8-dynlink.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- v8-3.6.6.7/SConstruct~ 2011-11-14 08:20:47.000000000 +0200
-+++ v8-3.6.6.7/SConstruct 2011-11-14 08:24:01.929450494 +0200
-@@ -1411,6 +1411,7 @@
- # Build the object files by invoking SCons recursively.
- d8_env = Environment(tools=tools)
- d8_env.Replace(**context.flags['d8'])
-+ d8_env.Prepend(LIBS=['v8'], LIBPATH='.')
- (object_files, shell_files, mksnapshot, preparser_files) = env.SConscript(
- join('src', 'SConscript'),
- build_dir=join('obj', target_id),
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/v8.git/commitdiff/e6309b3f82892b7874e5050ab4dc0a3072cffa3e
More information about the pld-cvs-commit
mailing list