Compare commits
106 commits
master-res
...
rawhide
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0bee89231a | ||
|
|
0c04b3fd1d | ||
| d27c852231 | |||
|
2743eb7f00 |
|||
|
|
778e2e2656 | ||
|
|
6ee2d66a85 | ||
|
|
352b2d6fa7 | ||
|
|
54f35ffafe | ||
|
|
e761db14fb | ||
|
|
1d10652fdf | ||
| c6c75a4d10 | |||
|
|
635f6696af | ||
|
|
5671b844eb | ||
| 596c60665a | |||
|
|
3c880f4ed0 | ||
|
|
a9c7ab9c26 | ||
|
|
7881bbcddc | ||
|
|
6fbf9a9fbf | ||
|
|
c294b122ff | ||
|
|
93d511b5e9 | ||
|
|
b4c0cf2c42 | ||
|
|
de0cf1e11f | ||
|
|
f9123b4180 | ||
| 12974b749a | |||
|
|
e1c1ef71a0 | ||
|
|
5dd4dfc508 | ||
| 267f0d30fa | |||
| 2658cd3404 | |||
|
|
22eda50fa1 | ||
|
|
d9d42c9fee | ||
|
|
bbc0e064fe | ||
|
|
6449a12573 | ||
|
|
3c8bd8a5cb | ||
|
|
c2d01be922 | ||
|
|
b1057bfbd2 | ||
|
|
f79d2b6081 | ||
|
|
edda7cb1fb | ||
|
|
2aa9f0835f | ||
|
|
d4b53bd3f6 | ||
|
|
cea19c4e93 | ||
|
|
bce8a87f55 | ||
|
|
60eff070bd | ||
|
|
cfe7ca2a76 | ||
|
|
09b6c75672 | ||
|
|
c9f9d6a6cc | ||
|
|
0c7060e97b | ||
|
|
5d3a24c1f4 | ||
|
|
8af37ed85a | ||
|
|
d649778318 | ||
|
|
3f77d2b135 | ||
|
|
c219b322d4 | ||
|
|
16aab537a0 | ||
|
|
d9db6a5db8 | ||
|
|
ef6678d5fd | ||
|
|
23ce95dd8a | ||
|
|
8aeaf438e8 | ||
|
|
0ae0a878fc | ||
|
|
3875347460 | ||
|
|
45ab8c38e3 | ||
|
|
7ae6b86b4a | ||
|
|
6b5bab3aae | ||
|
|
b84e0abc55 | ||
|
|
d7852d38d3 | ||
|
|
a1a7cfa803 | ||
|
|
5997566d5e | ||
|
|
46891f1236 | ||
|
|
e4755738a4 | ||
|
|
b54ed0729b | ||
|
|
284f7bc089 | ||
|
|
039c9f399b | ||
|
|
113af391a6 | ||
|
|
643e7db07d | ||
|
|
e2584be144 | ||
| 268ed1e262 | |||
|
|
a53c43e8e9 | ||
|
|
c762358c35 | ||
|
|
51182e9f22 | ||
|
|
63b7c6109c | ||
|
|
9146923baa | ||
|
|
aff59a05b0 | ||
|
|
62db431402 | ||
|
|
6c39dd7a94 | ||
|
|
3d7deedb88 | ||
|
|
49c577cdca | ||
|
|
d3e10708eb | ||
|
|
e24c8b7efe | ||
|
|
0177f64edd | ||
|
|
eccaf3ba10 | ||
|
|
ee9255d441 | ||
|
|
f0909e7396 | ||
|
|
5e2ffd5246 | ||
|
|
6f495ce76d | ||
|
|
c89353be6a | ||
|
|
1836bd1db4 | ||
|
|
ea06853254 | ||
|
|
f5e200a4f8 | ||
|
|
b85299e301 | ||
|
|
a6356b5ba8 | ||
|
|
0d6c012ffd | ||
|
|
9ca068cd6a | ||
|
|
d1ff5f351f | ||
|
|
70afa7a8d4 | ||
|
|
05ed29d493 | ||
|
|
56ecc98d1d | ||
|
|
1d1d501834 | ||
|
|
02cf58cb05 |
8 changed files with 1 additions and 263 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -1,2 +0,0 @@
|
|||
/v8-3.0.0.1.tar.gz
|
||||
/v8-3.5.1.tar.bz2
|
||||
1
dead.package
Normal file
1
dead.package
Normal file
|
|
@ -0,0 +1 @@
|
|||
extremely difficult to maintain, nothing uses it
|
||||
1
sources
1
sources
|
|
@ -1 +0,0 @@
|
|||
656952184c915b0af0062f9cbf3cc963 v8-3.5.1.tar.bz2
|
||||
|
|
@ -1,55 +0,0 @@
|
|||
From 9342a28b524c1679d6d664ed09b8db326ddbeb3e Mon Sep 17 00:00:00 2001
|
||||
From: Lubomir Rintel <lkundrak@v3.sk>
|
||||
Date: Sat, 4 Dec 2010 13:58:10 +0100
|
||||
Subject: [PATCH] Let environment variables override what would scons construct
|
||||
|
||||
So that we can have control over CCFLAGS we use.
|
||||
---
|
||||
SConstruct | 19 +++++++++++++++++--
|
||||
1 files changed, 17 insertions(+), 2 deletions(-)
|
||||
|
||||
Index: v8-3.5.1/SConstruct
|
||||
===================================================================
|
||||
--- v8-3.5.1.orig/SConstruct
|
||||
+++ v8-3.5.1/SConstruct
|
||||
@@ -1190,6 +1190,13 @@ class BuildContext(object):
|
||||
self.build_snapshot = (options['snapshot'] == 'on')
|
||||
self.flags = None
|
||||
|
||||
+ def OverrideFlags(self, initial, overrides):
|
||||
+ result = initial.copy()
|
||||
+ for key in initial.keys():
|
||||
+ if overrides.has_key(key):
|
||||
+ result[key] = overrides[key];
|
||||
+ return result
|
||||
+
|
||||
def AddRelevantFlags(self, initial, flags):
|
||||
result = initial.copy()
|
||||
toolchain = self.options['toolchain']
|
||||
@@ -1306,15 +1313,23 @@ def BuildSpecific(env, mode, env_overrid
|
||||
except KeyError:
|
||||
pass
|
||||
|
||||
- library_flags = context.AddRelevantFlags(user_environ, LIBRARY_FLAGS)
|
||||
+ library_flags = context.AddRelevantFlags({}, LIBRARY_FLAGS)
|
||||
v8_flags = context.AddRelevantFlags(library_flags, V8_EXTRA_FLAGS)
|
||||
mksnapshot_flags = context.AddRelevantFlags(library_flags, MKSNAPSHOT_EXTRA_FLAGS)
|
||||
dtoa_flags = context.AddRelevantFlags(library_flags, DTOA_EXTRA_FLAGS)
|
||||
cctest_flags = context.AddRelevantFlags(v8_flags, CCTEST_EXTRA_FLAGS)
|
||||
- sample_flags = context.AddRelevantFlags(user_environ, SAMPLE_FLAGS)
|
||||
- preparser_flags = context.AddRelevantFlags(user_environ, PREPARSER_FLAGS)
|
||||
+ sample_flags = context.AddRelevantFlags({}, SAMPLE_FLAGS)
|
||||
+ preparser_flags = context.AddRelevantFlags({}, PREPARSER_FLAGS)
|
||||
d8_flags = context.AddRelevantFlags(library_flags, D8_FLAGS)
|
||||
|
||||
+ library_flags = context.OverrideFlags(library_flags, user_environ)
|
||||
+ v8_flags = context.OverrideFlags(v8_flags, user_environ)
|
||||
+ mksnapshot_flags = context.OverrideFlags(mksnapshot_flags, user_environ)
|
||||
+ dtoa_flags = context.OverrideFlags(dtoa_flags, user_environ)
|
||||
+ cctest_flags = context.OverrideFlags(cctest_flags, user_environ)
|
||||
+ sample_flags = context.OverrideFlags(sample_flags, user_environ)
|
||||
+ d8_flags = context.OverrideFlags(d8_flags, user_environ)
|
||||
+
|
||||
context.flags = {
|
||||
'v8': v8_flags,
|
||||
'mksnapshot': mksnapshot_flags,
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
From 503755a1addc229e917f837e212403e03e7bf243 Mon Sep 17 00:00:00 2001
|
||||
From: Lubomir Rintel <lkundrak@v3.sk>
|
||||
Date: Fri, 10 Dec 2010 16:13:42 +0100
|
||||
Subject: [PATCH] Drop shebang where they are useless
|
||||
|
||||
jsmin.py is not an executable script and it infuriates rpmlint.
|
||||
js2c.py is being called from a wrapper in %{_bindir}
|
||||
---
|
||||
tools/js2c.py | 2 --
|
||||
tools/jsmin.py | 2 --
|
||||
2 files changed, 0 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/tools/js2c.py b/tools/js2c.py
|
||||
index 2da132f..c0e014d 100755
|
||||
--- a/tools/js2c.py
|
||||
+++ b/tools/js2c.py
|
||||
@@ -1,5 +1,3 @@
|
||||
-#!/usr/bin/env python
|
||||
-#
|
||||
# Copyright 2006-2008 the V8 project authors. All rights reserved.
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
diff --git a/tools/jsmin.py b/tools/jsmin.py
|
||||
index 646bf14..e2bb608 100644
|
||||
--- a/tools/jsmin.py
|
||||
+++ b/tools/jsmin.py
|
||||
@@ -1,5 +1,3 @@
|
||||
-#!/usr/bin/python2.4
|
||||
-
|
||||
# Copyright 2009 the V8 project authors. All rights reserved.
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
--
|
||||
1.7.3.1
|
||||
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
Index: v8-3.5.1/SConstruct
|
||||
===================================================================
|
||||
--- v8-3.5.1.orig/SConstruct
|
||||
+++ v8-3.5.1/SConstruct
|
||||
@@ -1350,6 +1350,9 @@ def BuildSpecific(env, mode, env_overrid
|
||||
# When building shared object with SONAME version the library name.
|
||||
library_name += '-' + version
|
||||
|
||||
+ # Fedora patch: link d8 against versioned v8
|
||||
+ d8_flags['LIBS'][d8_flags['LIBS'].index('v8')] += '-' + version
|
||||
+ print "BuildSpecific: d8_flags = %s" % d8_flags
|
||||
# Generate library SONAME if required by the build.
|
||||
if context.options['soname'] == 'on':
|
||||
soname = GetSpecificSONAME()
|
||||
4
v8-js2c
4
v8-js2c
|
|
@ -1,4 +0,0 @@
|
|||
#!/usr/bin/python
|
||||
|
||||
import js2c
|
||||
js2c.main ()
|
||||
152
v8.spec
152
v8.spec
|
|
@ -1,152 +0,0 @@
|
|||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%global major_version 3
|
||||
|
||||
Name: v8
|
||||
Version: %{major_version}.5.1
|
||||
Release: 1%{?dist}
|
||||
Summary: JavaScript Engine
|
||||
Group: System Environment/Libraries
|
||||
License: BSD
|
||||
URL: http://code.google.com/p/v8
|
||||
# git clone git://github.com/%{name}/%{name}.git
|
||||
# git archive --prefix=%{name}-%{version}/ %{version} \
|
||||
# >%{name}-%{version}.tar.bz2
|
||||
# #Missing licenses:
|
||||
# rm v8-3.0.0.1/benchmarks/earley-boyer.js
|
||||
# rm v8-3.0.0.1/benchmarks/raytrace.js
|
||||
# tar czf v8-3.0.0.1.tar.gz v8-3.0.0.1
|
||||
Source0: %{name}-%{version}.tar.bz2
|
||||
Source1: v8-js2c
|
||||
Patch0: v8-2.5.9-ccflags.patch
|
||||
Patch1: v8-2.5.9-shebangs.patch
|
||||
Patch2: v8-3.5.1-versioned-v8.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
ExclusiveArch: %{ix86} x86_64 %{arm}
|
||||
BuildRequires: scons, readline-devel
|
||||
%ifarch x86_64
|
||||
Provides: libv8.so.3()(64bit)
|
||||
%else
|
||||
Provides: libv8.so.3
|
||||
%endif
|
||||
|
||||
%description
|
||||
V8 is Google's open source JavaScript engine. V8 is written in C++ and is used
|
||||
in Google Chrome, the open source browser from Google. V8 implements ECMAScript
|
||||
as specified in ECMA-262, 3rd edition.
|
||||
|
||||
|
||||
%package devel
|
||||
Group: Development/Libraries
|
||||
Summary: Development headers and libraries for v8
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
Development headers, libraries and tools for v8.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .ccflags
|
||||
%patch1 -p1 -b .shebangs
|
||||
%patch2 -p1 -b .versionedV8
|
||||
find \( -name '*.cc' -o -name '*.h' \) -print0 |xargs -0 chmod -x
|
||||
|
||||
|
||||
%build
|
||||
# Certain options enabled by -O2 causes binaries to crash immediately, for reasons yet unknown,
|
||||
CCFLAGS="%{optflags} -fno-reorder-blocks -fno-strict-aliasing" \
|
||||
scons %{_smp_mflags} env='CCFLAGS: -fPIC' \
|
||||
library d8 cctests sample \
|
||||
library=shared soname=on protectheap=on console=readline sample=shell \
|
||||
%ifarch x86_64
|
||||
arch=x64
|
||||
%endif
|
||||
|
||||
|
||||
%check
|
||||
# preparser tests fail, let's switch them off for now
|
||||
mv -v test/preparser/testcfg.py{,.INACTIVE}
|
||||
# Don't fail if tests fail, just run them and record them.
|
||||
LD_LIBRARY_PATH="$PWD" tools/test.py --no-build --progress=verbose || /bin/true
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT%{_includedir}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_libdir}
|
||||
install -pm644 include/*.h $RPM_BUILD_ROOT%{_includedir}
|
||||
install -p libv8-%{version}.so $RPM_BUILD_ROOT%{_libdir}
|
||||
ln -sf libv8-%{version}.so $RPM_BUILD_ROOT%{_libdir}/libv8.so
|
||||
ln -sf libv8-%{version}.so $RPM_BUILD_ROOT%{_libdir}/libv8.so.%{major_version}
|
||||
install -p libv8-%{version}.so $RPM_BUILD_ROOT%{_libdir}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_bindir}
|
||||
install -p d8 $RPM_BUILD_ROOT%{_bindir}
|
||||
install -p %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/js2c
|
||||
|
||||
install -d $RPM_BUILD_ROOT%{python_sitelib}
|
||||
install -pm644 tools/js2c.py $RPM_BUILD_ROOT%{python_sitelib}
|
||||
install -pm644 tools/jsmin.py $RPM_BUILD_ROOT%{python_sitelib}
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS ChangeLog LICENSE
|
||||
%{_bindir}/d8
|
||||
%{_bindir}/js2c
|
||||
%{_libdir}/libv8-%{version}.so
|
||||
%{_libdir}/libv8.so.%{major_version}
|
||||
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_includedir}/*.h
|
||||
%{_libdir}/libv8.so
|
||||
%{python_sitelib}/*.py*
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Aug 22 2011 Matěj Cepl <mcepl@redhat.com> - 3.5.1-1
|
||||
- new upstream release
|
||||
- provides also libv8.so.3 to satisfy chromium from the spot's repo
|
||||
- switch off preparser test
|
||||
|
||||
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.0.1-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
* Tue Dec 28 2010 Lubomir Rintel <lkundrak@v3.sk> - 3.0.0.1-3
|
||||
- Export some more symbols for node.js
|
||||
|
||||
* Mon Dec 13 2010 Lubomir Rintel <lkundrak@v3.sk> - 3.0.0.1-2
|
||||
- Remove files with broken licenses
|
||||
- Fix mode of files in -debuginfo (this time for real)
|
||||
|
||||
* Sat Dec 11 2010 Lubomir Rintel <lkundrak@v3.sk> - 3.0.0.1-1
|
||||
- Fix mode of a header file in -debuginfo
|
||||
- Newer version
|
||||
|
||||
* Fri Dec 10 2010 Lubomir Rintel <lkundrak@v3.sk> - 2.5.9-2
|
||||
- Review fixes (Alex Hudson, #634909):
|
||||
- No runnable scripts in python lib dir, wrap js2c
|
||||
- Tidy up spaces/tabs
|
||||
- Fix file permissions
|
||||
|
||||
* Sat Dec 04 2010 Lubomir Rintel <lkundrak@v3.sk> - 2.5.9-1
|
||||
- Newer version
|
||||
- Style adjustments
|
||||
- Use SONAME upstream uses
|
||||
- Attempt to be less hackish for CFLAGS overrides
|
||||
- Enable test suite
|
||||
|
||||
* Sat Sep 18 2010 Lubomir Rintel <lkundrak@v3.sk> - 2.4.4-1
|
||||
- Newer version
|
||||
|
||||
* Wed Sep 15 2010 Lubomir Rintel <lkundrak@v3.sk> - 2.3.8-2
|
||||
- Package based on 2.3.11-1.20100831svn5385 by Tom "spot" Callaway
|
||||
Loading…
Add table
Add a link
Reference in a new issue