Hello community,

here is the log from the commit of package v8 for openSUSE:Factory checked in 
at 2015-12-13 09:39:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/v8 (Old)
 and      /work/SRC/openSUSE:Factory/.v8.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "v8"

Changes:
--------
New Changes file:

--- /dev/null   2015-11-02 12:10:47.524024255 +0100
+++ /work/SRC/openSUSE:Factory/.v8.new/v8.changes       2015-12-13 
09:39:43.000000000 +0100
@@ -0,0 +1,1132 @@
+-------------------------------------------------------------------
+Thu Nov 19 09:43:40 UTC 2015 - [email protected]
+
+- add ppc64 and ppc64le in ExclusiveArch
+- new patch to build on ppc64le architecture.
+  add_ppc64le_arch.patch
+
+-------------------------------------------------------------------
+Fri Nov 13 16:53:26 UTC 2015 - [email protected]
+
+- zoom forward to 4.8.271
+  * modified the _service file format, and spec file to 
+    automatically unpack aux files in right place 
+
+-------------------------------------------------------------------
+Fri Nov 13 13:39:47 UTC 2015 - [email protected]
+
+- Updated to 4.2.77
+- For the update, follow more closely the google build process, 
+  using the DEPS file to determine the matching support files;
+  extract these from the git server with a _service file, and 
+  unpack them in the right places with the spec file 
+- updated the spec file to use GYP_DEFINES
+
+-------------------------------------------------------------------
+Sun Sep  7 13:06:17 UTC 2014 - [email protected]
+
+- Update to 3.29.43
+  - See enclosed Changelog for all changes
+
+-------------------------------------------------------------------
+Mon Apr 28 09:08:39 UTC 2014 - [email protected]
+
+- Update to 3.24.25.33
+  - Security fixes
+    * CVE-2014-1735: Multiple vulnerabilities in V8 fixed in 
+                     version 3.24.35.33
+    * CVE-2014-1730: Type confusion in V8
+
+-------------------------------------------------------------------
+Thu Mar 20 20:31:10 UTC 2014 - [email protected]
+
+- Update to 3.23.17.23
+  - Security fixes (bnc#868707)
+    * CVE-2014-1705 Memory corruption in V8
+
+-------------------------------------------------------------------
+Thu Dec 19 12:11:08 UTC 2013 - [email protected]
+
+- Program binaries must not be within shlib packages
+- Set RPM groups
+
+-------------------------------------------------------------------
+Fri Dec 13 16:36:46 UTC 2013 - [email protected]
+
+- Update spec-file to fit the changes in V8 (addition of internal
+  ICU)
+  * Building against system ICU
+  * Regenerate Makefiles before using them
+
+-------------------------------------------------------------------
+Tue Dec 10 09:48:50 UTC 2013 - [email protected]
+
+- Update to 3.22.24.8
+  - Security fixes (bcn#854473):
+    * CVE-2013-6638: Buffer overflow in v8
+    * CVE-2013-6639: Out of bounds write in v8
+    * CVE-2013-6640: Out of bounds read in v8
+
+-------------------------------------------------------------------
+Tue Sep 17 09:15:36 UTC 2013 - [email protected]
+
+- Update to 3.21.9
+   * Deprecated Persistent functions which were marked to be deprecated.
+   * Allowed uncacheable identifiers to go generic (issue 2867).
+   * Added scriptId to StackTrace frames (issue 2865).
+   * Always visit branches during HGraph building (Chromium issue 280333).
+   * Performance and stability improvements on all platforms.
+
+-------------------------------------------------------------------
+Tue Jul 16 13:20:12 UTC 2013 - [email protected]
+
+- Update to 3.20.0.1
+  * Allowed users of the V8 API to distinguish between unset and 
+    undefined HiddenValues (issue 2746).
+  * Deprecated old style callbacks in the V8 API.
+  * Turned on parallel recompilation.
+  * Performance and stability improvements on all platforms.
+
+- Add patch fix-gcc48.patch to resolve gcc48 compile issues
+  * Adding gcc flags '-Wno-unused-local-typedefs' and
+    '-Wno-aggressive-loop-optimizations'
+
+-------------------------------------------------------------------
+Thu Apr 18 12:51:50 UTC 2013 - [email protected]
+
+- Update to version 3.18.0:
+  l Enabled pretenuring of fast literals in high promotion mode.
+  + Removed preparser library; link preparser executable against
+    full V8.
+  + Fixed set-up of intrinsic's 'constructor' properties.
+   (Chromium issue 229445)
+  + ES6 symbols: extended V8 API to support symbols (issue 2158).
+  + Removed ARM support for VFP2.
+
+-------------------------------------------------------------------
+Sun Apr  7 07:46:18 UTC 2013 - [email protected]
+
+- Update to 3.17.16
+  * Stack trace API: poison stack frames below the first strict 
+    mode frame. (issue 2564)
+  * Finished implementation of ES6 symbols aka. private names 
+    (issue 2158)
+  * Disable zapping of global handles in release mode
+  * Use internal memcpy when initializing code objects.
+  * Turned Flags into a uint32_t typedef
+  * Added a version of the v8::HandleScope constructor with an 
+    v8::Isolate parameter and made 
+    AdjustAmountOfExternalAllocatedMemory an instance method of 
+    v8::Isolate.  (issue 2487)
+  * Fixed two register allocator bugs (off-by-one error/failure
+    propagation). (issue 2576)
+  * Fixed heap snapshot creation for Harmony collections. 
+    (issue 2535)
+  * Restored Function()'s expected string representation. 
+    (issue 2470)
+  * Enabled deprecatations (again). (issue 2487)
+  * Avoid bool to Oddball conversions by being lazy. (issue 2491)
+  * Added %p option to --logfile.
+  * Hardened Function()'s parsing of function literals. 
+    (issue 2470)
+  * ES6 symbols: Refine test for getOwnPropertyNames. (issue 2158)
+
+
+-------------------------------------------------------------------
+Sun Jan 13 19:20:41 UTC 2013 - [email protected]
+
+- Enable readline support (console=readline) 
+
+-------------------------------------------------------------------
+Sun Jan 13 18:24:03 UTC 2013 - [email protected]
+
+- Update to 3.16.4.0
+  * Performance and stability improvements on all platforms
+  * Improved GC performance when moving parts of a FixedArray 
+    (issue 2452).
+  * Enabled readline on d8 while building a shared lib (issue 1781).
+  * Fixed missing exception check in typed array constructor
+    (Chromium issue 168545).
+  * Check for read-only-ness when preparing for array sort 
+    (issue 2419).
+  * Fixed x64 MathMinMax for negative untagged int32 arguments.
+    (Chromium issue 164442)
+  * Fixed FloatingPointHelper::CheckSSE2OperandIsInt32.
+    (issue 2458)
+  * V8_Fatal now prints C++ stack trace in debug mode
+  * Added HTML-based tick processor
+  * Define CAN_USE_VFP2/3_INSTRUCTIONS based on arm_neon and 
+    arm_fpu GYP flags
+  * Added GCTracer metrics for a scavenger GC for DOM wrappers
+  * Activated code aging by default
+  * See full list of changes in the ChangeLog
+
+
+-------------------------------------------------------------------
+Wed Dec  5 10:09:12 UTC 2012 - [email protected]
+
+- Fix armv7 using new flag (hardfp=on)
+
+-------------------------------------------------------------------
+Fri Oct 26 09:11:55 UTC 2012 - [email protected]
+
+- Update to 3.14.5.0
+  * See changes in ChangeLog
+- Remove patch for HARDFLOAT on arm. Now upstream
+
+-------------------------------------------------------------------
+Thu Sep 27 14:28:34 UTC 2012 - [email protected]
+
+- Enable build on ARMv5
+
+-------------------------------------------------------------------
+Tue Sep 11 09:12:39 UTC 2012 - [email protected]
+
+- set USE_HARDFLOAT on arm
+
+-------------------------------------------------------------------
+Wed Aug 22 07:21:03 UTC 2012 - [email protected]
+
+- Update to 3.13.3.0
+  * Performance and stability improvements on all platforms.
+
+-------------------------------------------------------------------
+Sun Aug 19 08:26:25 UTC 2012 - [email protected]
+
+- Update to 3.13.1.0
+  * Added histograms for total allocated/live heap size, as well as
++++ 935 more lines (skipped)
++++ between /dev/null
++++ and /work/SRC/openSUSE:Factory/.v8.new/v8.changes

New:
----
  _service
  add_ppc64le_arch.patch
  buildtools-00.tar.bz2
  test.benchmarks.data-00.tar.bz2
  test.mozilla.data-00.tar.bz2
  test.simdjs.data-00.tar.bz2
  test.test262.data-00.tar.bz2
  testing.gmock-00.tar.bz2
  testing.gtest-00.tar.bz2
  third_party.icu-46.tar.bz2
  tools.swarming_client-00.tar.bz2
  v8-4.8.294.tar.bz2
  v8.changes
  v8.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ v8.spec ++++++
#
# spec file for package v8
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# check the file DEPS for matching the v8 version with its tools; update
# the _service file accordingly

Name:           v8
Version:        4.8.294
Release:        0
Summary:        JavaScript Engine
License:        BSD-3-Clause
Group:          System/Libraries
Url:            http://code.google.com/p/v8

Source0:        %{name}-%{version}.tar.bz2
Source1:        third_party.icu-46.tar.bz2
Source2:        buildtools-00.tar.bz2
Source3:        testing.gmock-00.tar.bz2
Source4:        testing.gtest-00.tar.bz2
Source5:        test.mozilla.data-00.tar.bz2
Source6:        test.simdjs.data-00.tar.bz2
Source7:        test.test262.data-00.tar.bz2
Source8:        tools.swarming_client-00.tar.bz2
Source9:        test.benchmarks.data-00.tar.bz2
Patch1:         add_ppc64le_arch.patch
BuildRequires:  gcc-c++
BuildRequires:  libicu-devel >= 4.0
BuildRequires:  lzma
BuildRequires:  python-devel
BuildRequires:  readline-devel
BuildRequires:  gyp
ExclusiveArch:  %{ix86} x86_64 %arm ppc64 ppc64le
BuildRoot:      %{_tmppath}/%{name}-%{version}-build


%global somajor `echo %{version} | cut -f1 -d'.'`
%global sominor `echo %{version} | cut -f2 -d'.'`
%global sobuild `echo %{version} | cut -f3 -d'.'`
%global sover %{somajor}.%{sominor}.%{sobuild}

%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 -n libv8-4
Summary:        JavaScript Engine
Group:          System/Libraries
Obsoletes:      v8 < %{version}
Provides:       v8 = %{version}

%description -n libv8-4
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}

%description devel
V8 is Google\'s open source JavaScript engine. This package contains
development headers and libraries for v8.

%if 0%{?suse_version} > 1140 || 0%{?fedora_version}

%package private-headers-devel
Summary:        Private Development headers for v8
Group:          Development/Libraries/C and C++
Requires:       %{name}-devel = %{version}

%description private-headers-devel
Special Private Development headers for v8.
%endif

%prep
%setup -q -T -b 0

for SRC in %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} \
            %{SOURCE6} %{SOURCE7} %{SOURCE8} %{SOURCE9}; do
    DIRNAME=$(basename $SRC | rev | cut -d'.' -f3 | rev | cut -d'-' -f 1)
    PATHNAME=$(basename $SRC | rev | cut -d'.' -f4- | tr '.' '/' | rev)

    pushd "$PATHNAME"
    mkdir $DIRNAME
    pushd $DIRNAME
    tar --strip-components=1 -xvf $SRC
    popd
    popd
done
%patch1 -p1

%build

# 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"

./build/gyp_v8 -f make build/all.gyp --depth .

env=CCFLAGS:"-fPIC"
MAKE_EXTRA_FLAGS=""
%ifarch armv7hl
MAKE_EXTRA_FLAGS+=hardfp=on
%endif

cd out
make %{?_smp_mflags} \
     snapshots=on \
     $MAKE_EXTRA_FLAGS \
     BUILDTYPE=Release V=1

%install
%if 0%{?suse_version} > 1140 || 0%{?fedora_version}
mkdir -p %{buildroot}%{_includedir}/v8/x64
%else
mkdir -p %{buildroot}%{_includedir}
%endif
mkdir -p %{buildroot}%{_libdir}
install -p include/*.h %{buildroot}%{_includedir}

%if 0%{?suse_version} > 1140 || 0%{?fedora_version}
install -p src/*.h %{buildroot}%{_includedir}/v8
install -p src/x64/*.h %{buildroot}%{_includedir}/v8/x64
%endif

install -p out/Release/obj.target/tools/gyp/libv8.so* %{buildroot}%{_libdir}/
mkdir -p %{buildroot}%{_bindir}
install -p -m0755 out/Release/d8 %{buildroot}%{_bindir}

cd %{buildroot}%{_libdir}
ln -sf libv8.so.%{somajor} libv8.so

chmod -x %{buildroot}%{_includedir}/v8*.h

%post -n libv8-4 -p /sbin/ldconfig

%postun -n libv8-4 -p /sbin/ldconfig

%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog LICENSE.* OWNERS
%_bindir/d8

%files -n libv8-4
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog LICENSE.* OWNERS
%{_libdir}/*.so.*

%files devel
%defattr(-,root,root,-)
%{_includedir}/*.h
%{_libdir}/*.so

%if 0%{?suse_version} > 1140 || 0%{?fedora_version}

%files private-headers-devel
%defattr(644,root,root,-)
%{_includedir}/v8/
%endif

%changelog
++++++ _service ++++++
<services>

  <service mode="localonly" name="tar_scm">
    <param 
name="url">https://chromium.googlesource.com/chromium/deps/icu.git</param>
    <param name="scm">git</param>
    <param name="filename">third_party.icu</param>
    <param name="revision">42c58d4e49f2250039f0e98d43e0b76e8f5ca024</param>
    <param name="version">46</param>
  </service>
  
  <service mode="localonly" name="tar_scm">
    <param 
name="url">https://chromium.googlesource.com/chromium/buildtools.git</param>
    <param name="scm">git</param>
    <param name="filename">buildtools</param>
    <param name="revision">3ba3ca22ec610fe95683f6bfdeea9d90c768abd7</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>
    <param name="revision">8fce79620b04bbe5415ace1103db27505bdc4c06</param>
    <param name="version">00</param>
  </service>
  
  <service mode="localonly" name="tar_scm">
    <param 
name="url">https://chromium.googlesource.com/external/github.com/google/googletest.git</param>
    <param name="scm">git</param>
    <param name="filename">testing.gtest</param>
    <param name="revision">6f8a66431cb592dad629028a50b3dd418a408c87</param>
    <param name="version">00</param>
  </service>
  
  <service mode="localonly" name="tar_scm">
    <param 
name="url">https://chromium.googlesource.com/external/googlemock.git</param>
    <param name="scm">git</param>
    <param name="filename">testing.gmock</param>
    <param name="revision">0421b6f358139f02e102c9c332ce19a33faf75be</param>
    <param name="version">00</param>
  </service>

  <service mode="localonly" name="tar_scm">
    <param 
name="url">https://chromium.googlesource.com/v8/deps/third_party/benchmarks.git</param>
    <param name="scm">git</param>
    <param name="filename">test.benchmarks.data</param>
    <param name="revision">05d7188267b4560491ff9155c5ee13e207ecd65f</param>
    <param name="version">00</param>
  </service>

  <service mode="localonly" name="tar_scm">
    <param 
name="url">https://chromium.googlesource.com/v8/deps/third_party/mozilla-tests.git</param>
    <param name="scm">git</param>
    <param name="filename">test.mozilla.data</param>
    <param name="revision">f6c578a10ea707b1a8ab0b88943fe5115ce2b9be</param>
    <param name="version">00</param>
  </service>
  
  <service mode="localonly" name="tar_scm">
    <param 
name="url">https://chromium.googlesource.com/external/github.com/tc39/ecmascript_simd.git</param>
    <param name="scm">git</param>
    <param name="filename">test.simdjs.data</param>
    <param name="revision">c8ef63c728283debc25891123eb00482fee4b8cd</param>
    <param name="version">00</param>
  </service>

  <service mode="localonly" name="tar_scm">
    <param 
name="url">https://chromium.googlesource.com/external/github.com/tc39/test262.git</param>
    <param name="scm">git</param>
    <param name="filename">test.test262.data</param>
    <param name="revision">ea222fb7d09e334c321b987656315ad4056ded96</param>
    <param name="version">00</param>
  </service>

  <service mode="localonly" name="tar_scm">
    <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="exclude">.git</param>
  </service>

  <service mode="localonly" name="recompress">
    <param name="file">*.tar</param>
    <param name="compression">bz2</param>
  </service>
</services>
++++++ add_ppc64le_arch.patch ++++++
From: Michel Normand <[email protected]>
Subject: add ppc64le arch
Date: Wed, 18 Nov 2015 17:43:29 +0100

add ppc64le architecture support

Signed-off-by: Michel Normand <[email protected]>
---
 Makefile                |    2 +-
 build/toolchain.gypi    |    4 ++--
 src/base/build_config.h |    4 ++++
 tools/gyp/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',
         ],
       }],
-      ['v8_target_arch=="ppc" or v8_target_arch=="ppc64"', {
+      ['v8_target_arch=="ppc" or v8_target_arch=="ppc64" or 
v8_target_arch=="ppc64le"', {
         'defines': [
           'V8_TARGET_ARCH_PPC',
         ],
         'conditions': [
-          ['v8_target_arch=="ppc64"', {
+          ['v8_target_arch=="ppc64" or v8_target_arch=="ppc64le"', {
             '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 @@
 #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 @@
 #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;
+#elif defined(__PPC64__) && (__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__)
+const int kPageSizeBits = 22;
 #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',
           ],
         }],
-        ['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',

Reply via email to