Hello community, here is the log from the commit of package v8 for openSUSE:Factory checked in at 2016-06-12 18:54:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/v8 (Old) and /work/SRC/openSUSE:Factory/.v8.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "v8" Changes: -------- --- /work/SRC/openSUSE:Factory/v8/v8.changes 2016-01-13 22:46:07.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.v8.new/v8.changes 2016-06-12 18:54:53.000000000 +0200 @@ -1,0 +2,11 @@ +Tue Jun 7 18:59:42 UTC 2016 - [email protected] + +- Update to 5.3.171 + * No changelog available + +- Buildsystem: + * Add source trace_event-00.tar.bz2 to fix the build. This is a + shared file between chromium and v8, but is part of the + chromium source. + +------------------------------------------------------------------- Old: ---- v8-4.8.294.tar.bz2 New: ---- trace_event-00.tar.bz2 v8-5.3.171.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ v8.spec ++++++ --- /var/tmp/diff_new_pack.bRuqxn/_old 2016-06-12 18:54:56.000000000 +0200 +++ /var/tmp/diff_new_pack.bRuqxn/_new 2016-06-12 18:54:56.000000000 +0200 @@ -20,7 +20,7 @@ # the _service file accordingly Name: v8 -Version: 4.8.294 +Version: 5.3.171 Release: 0 Summary: JavaScript Engine License: BSD-3-Clause @@ -37,6 +37,7 @@ Source7: test.test262.data-00.tar.bz2 Source8: tools.swarming_client-00.tar.bz2 Source9: test.benchmarks.data-00.tar.bz2 +Source10: trace_event-00.tar.bz2 Patch1: add_ppc64le_arch.patch BuildRequires: gcc-c++ BuildRequires: gyp @@ -57,20 +58,20 @@ in Google Chrome, the open source browser from Google. V8 implements ECMAScript as specified in ECMA-262, 3rd edition. -%package -n libv8-4 +%package -n libv8-5 Summary: JavaScript Engine Group: System/Libraries Obsoletes: v8 < %{version} Provides: v8 = %{version} -%description -n libv8-4 +%description -n libv8-5 V8 is Google\'s open source JavaScript engine. This package contains libraries for v8. %package devel Summary: Development headers and libraries for v8 Group: Development/Libraries/C and C++ -Requires: lib%{name}-4 = %{version} +Requires: lib%{name}-5 = %{version} %description devel V8 is Google\'s open source JavaScript engine. This package contains @@ -102,6 +103,10 @@ popd popd done +mkdir -p base/trace_event/common +pushd base/trace_event/common +tar --strip-components=1 -xvf %{SOURCE10} +popd %patch1 -p1 %build @@ -109,9 +114,13 @@ # try to fix the build problems on 32 bit ?????? install -d out/Release/lib -export GYP_DEFINES="component=shared_library soname_version=%{somajor} console=readline clang=0 host_clang=0 use_system_icu=1 linux_use_bundled_binutils=0 linux_use_bundled_gold=0 linux_use_gold_flags=0" +#Link the gypfiles directory to a directory called build as that the other sources are +#expecting the build directory which contains the gyp files +ln -s gypfiles build -./build/gyp_v8 -f make build/all.gyp --depth . +export GYP_DEFINES="component=shared_library soname_version=%{somajor} console=readline clang=0 host_clang=0 use_system_icu=1 linux_use_bundled_binutils=0 linux_use_bundled_gold=0 linux_use_gold_flags=0 v8_enable_backtrace=0" + +./gypfiles/gyp_v8 -f make gypfiles/all.gyp --depth . env=CCFLAGS:"-fPIC" MAKE_EXTRA_FLAGS="" @@ -139,7 +148,7 @@ install -p src/x64/*.h %{buildroot}%{_includedir}/v8/x64 %endif -install -p out/Release/obj.target/tools/gyp/libv8.so* %{buildroot}%{_libdir}/ +install -p out/Release/lib.target/libv8.so* %{buildroot}%{_libdir}/ mkdir -p %{buildroot}%{_bindir} install -p -m0755 out/Release/d8 %{buildroot}%{_bindir} @@ -148,16 +157,16 @@ chmod -x %{buildroot}%{_includedir}/v8*.h -%post -n libv8-4 -p /sbin/ldconfig +%post -n libv8-5 -p /sbin/ldconfig -%postun -n libv8-4 -p /sbin/ldconfig +%postun -n libv8-5 -p /sbin/ldconfig %files %defattr(-,root,root) %doc AUTHORS ChangeLog LICENSE.* OWNERS %_bindir/d8 -%files -n libv8-4 +%files -n libv8-5 %defattr(-,root,root,-) %doc AUTHORS ChangeLog LICENSE.* OWNERS %{_libdir}/*.so.* ++++++ _service ++++++ --- /var/tmp/diff_new_pack.bRuqxn/_old 2016-06-12 18:54:56.000000000 +0200 +++ /var/tmp/diff_new_pack.bRuqxn/_new 2016-06-12 18:54:56.000000000 +0200 @@ -17,6 +17,13 @@ </service> <service mode="localonly" name="tar_scm"> + <param name="url">https://chromium.googlesource.com/chromium/src/base/trace_event/common.git</param> + <param name="scm">git</param> + <param name="filename">trace_event</param> + <param name="version">00</param> + </service> + + <service mode="localonly" name="tar_scm"> <param name="url">https://chromium.googlesource.com/external/swarming.client.git</param> <param name="scm">git</param> <param name="filename">tools.swarming_client</param> @@ -76,8 +83,8 @@ <param name="url">https://github.com/v8/v8.git</param> <param name="scm">git</param> <param name="filename">v8</param> - <param name="revision">4.8.294</param> - <param name="versionformat">4.8.294</param> + <param name="revision">5.3.171</param> + <param name="versionformat">5.3.171</param> <param name="exclude">.git</param> </service> ++++++ add_ppc64le_arch.patch ++++++ --- /var/tmp/diff_new_pack.bRuqxn/_old 2016-06-12 18:54:56.000000000 +0200 +++ /var/tmp/diff_new_pack.bRuqxn/_new 2016-06-12 18:54:56.000000000 +0200 @@ -8,31 +8,17 @@ --- Makefile | 2 +- build/toolchain.gypi | 4 ++-- - src/base/build_config.h | 4 ++++ - tools/gyp/v8.gyp | 2 +- + src/gypfiles/build_config.h | 4 ++++ + src/v8.gyp | 2 +- 4 files changed, 8 insertions(+), 4 deletions(-) -Index: v8-4.8.294/Makefile -=================================================================== ---- v8-4.8.294.orig/Makefile -+++ v8-4.8.294/Makefile -@@ -244,7 +244,7 @@ endif - - # Architectures and modes to be compiled. Consider these to be internal - # variables, don't override them (use the targets instead). --ARCHES = ia32 x64 x32 arm arm64 mips mipsel mips64 mips64el x87 ppc ppc64 -+ARCHES = ia32 x64 x32 arm arm64 mips mipsel mips64 mips64el x87 ppc ppc64 ppc64le - DEFAULT_ARCHES = ia32 x64 arm - MODES = release debug optdebug - DEFAULT_MODES = release debug -Index: v8-4.8.294/build/toolchain.gypi -=================================================================== ---- v8-4.8.294.orig/build/toolchain.gypi -+++ v8-4.8.294/build/toolchain.gypi -@@ -297,12 +297,12 @@ - 'V8_TARGET_ARCH_ARM64', - ], - }], +diff -urB v8-5.2.361/gypfiles/toolchain.gypi new/gypfiles/toolchain.gypi +--- v8-5.2.361/gypfiles/toolchain.gypi 2016-06-07 21:04:11.000000000 +0200 ++++ new/gypfiles/toolchain.gypi 2016-06-08 09:51:06.257354717 +0200 +@@ -315,12 +315,12 @@ + }], + ], + }], # s390 - ['v8_target_arch=="ppc" or v8_target_arch=="ppc64"', { + ['v8_target_arch=="ppc" or v8_target_arch=="ppc64" or v8_target_arch=="ppc64le"', { 'defines': [ @@ -44,20 +30,31 @@ 'defines': [ 'V8_TARGET_ARCH_PPC64', ], -Index: v8-4.8.294/src/base/build_config.h -=================================================================== ---- v8-4.8.294.orig/src/base/build_config.h -+++ v8-4.8.294/src/base/build_config.h -@@ -179,6 +179,8 @@ +diff -urB v8-5.2.361/Makefile new/Makefile +--- v8-5.2.361/Makefile 2016-06-07 21:04:11.000000000 +0200 ++++ new/Makefile 2016-06-08 09:49:17.328728548 +0200 +@@ -250,7 +250,7 @@ + + # Architectures and modes to be compiled. Consider these to be internal + # variables, don't override them (use the targets instead). +-ARCHES = ia32 x64 x32 arm arm64 mips mipsel mips64 mips64el x87 ppc ppc64 \ ++ARCHES = ia32 x64 x32 arm arm64 mips mipsel mips64 mips64el x87 ppc ppc64 ppc64le \ + s390 s390x + DEFAULT_ARCHES = ia32 x64 arm + MODES = release debug optdebug +diff -urB v8-5.2.361/src/base/build_config.h new/src/base/build_config.h +--- v8-5.2.361/src/base/build_config.h 2016-06-07 21:04:10.000000000 +0200 ++++ new/src/base/build_config.h 2016-06-08 09:53:55.210525937 +0200 +@@ -192,6 +192,8 @@ #define V8_TARGET_LITTLE_ENDIAN 1 #elif V8_TARGET_ARCH_PPC_BE #define V8_TARGET_BIG_ENDIAN 1 +#elif defined(__PPC64__) && (__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__) +#define V8_TARGET_LITTLE_ENDIAN 1 - #else - #error Unknown target architecture endianness - #endif -@@ -188,6 +190,8 @@ + #elif V8_TARGET_ARCH_S390 + #if V8_TARGET_ARCH_S390_LE_SIM + #define V8_TARGET_LITTLE_ENDIAN 1 +@@ -214,6 +216,8 @@ #if V8_HOST_ARCH_PPC && V8_TARGET_ARCH_PPC && V8_OS_LINUX // Bump up for Power Linux due to larger (64K) page size. const int kPageSizeBits = 22; @@ -66,16 +63,15 @@ #else const int kPageSizeBits = 20; #endif -Index: v8-4.8.294/tools/gyp/v8.gyp -=================================================================== ---- v8-4.8.294.orig/tools/gyp/v8.gyp -+++ v8-4.8.294/tools/gyp/v8.gyp -@@ -1358,7 +1358,7 @@ - '../../src/compiler/x64/instruction-selector-x64.cc', +diff -urB v8-5.2.361/src/v8.gyp new/src/v8.gyp +--- v8-5.2.361/src/v8.gyp 2016-06-07 21:04:11.000000000 +0200 ++++ new/src/v8.gyp 2016-06-08 09:54:35.962796740 +0200 +@@ -1492,7 +1492,7 @@ + 'compiler/x64/instruction-selector-x64.cc', ], }], - ['v8_target_arch=="ppc" or v8_target_arch=="ppc64"', { + ['v8_target_arch=="ppc" or v8_target_arch=="ppc64" or v8_target_arch=="ppc64le"', { 'sources': [ ### gcmole(arch:ppc) ### - '../../src/compiler/ppc/code-generator-ppc.cc', - '../../src/compiler/ppc/instruction-codes-ppc.h', + 'compiler/ppc/code-generator-ppc.cc', + 'compiler/ppc/instruction-codes-ppc.h', ++++++ v8-4.8.294.tar.bz2 -> v8-5.3.171.tar.bz2 ++++++ /work/SRC/openSUSE:Factory/v8/v8-4.8.294.tar.bz2 /work/SRC/openSUSE:Factory/.v8.new/v8-5.3.171.tar.bz2 differ: char 11, line 1
