Hello community,

here is the log from the commit of package mozjs52 for openSUSE:Factory checked 
in at 2017-12-06 08:52:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mozjs52 (Old)
 and      /work/SRC/openSUSE:Factory/.mozjs52.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mozjs52"

Wed Dec  6 08:52:14 2017 rev:4 rq:547649 version:52.3.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/mozjs52/mozjs52.changes  2017-11-21 
15:23:34.024358005 +0100
+++ /work/SRC/openSUSE:Factory/.mozjs52.new/mozjs52.changes     2017-12-06 
08:52:37.718076676 +0100
@@ -1,0 +2,8 @@
+Fri Dec  1 22:21:04 UTC 2017 - cgrobert...@suse.com
+
+- Added support for ICU and data file.
+- Added mozilla-s390-bigendian.patch to enable bigendian support
+  for s390 machines.
+- Added xulrunner-24.0-s390-inlines.patch for s390 builds.
+
+-------------------------------------------------------------------

New:
----
  _constraints
  icudt58b.dat.xz
  mozilla-s390-bigendian.patch
  xulrunner-24.0-s390-inlines.patch

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

Other differences:
------------------
++++++ mozjs52.spec ++++++
--- /var/tmp/diff_new_pack.75zXxW/_old  2017-12-06 08:52:42.921886171 +0100
+++ /var/tmp/diff_new_pack.75zXxW/_new  2017-12-06 08:52:42.925886025 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package mozjs52
 #
-# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -27,9 +27,15 @@
 Source0:        firefox-%{version}-source.tar.xz
 #Source0:        
https://download.gnome.org/teams/releng/tarballs-needing-help/mozjs/mozjs-52.2.1gnome1.tar.gz
 Source1:        LICENSE.txt
+# This should be removed when bmo#1322212 and bmo#1264836 are resolved:
+# Missing ICU big-endian data file in firefox source:
+Source2:        icudt58b.dat.xz
+
 Patch0:         fix-64bit-archs.patch
 Patch1:         bmo1176787.patch
 Patch2:         bmo1379539.patch
+Patch3:         mozilla-s390-bigendian.patch
+Patch4:         xulrunner-24.0-s390-inlines.patch
 BuildRequires:  autoconf213
 BuildRequires:  gcc-c++
 BuildRequires:  libicu-devel
@@ -74,6 +80,10 @@
 popd
 %patch1 -p1
 %patch2 -p1
+%ifarch s390x
+%patch3 -p1
+%patch4 -p1
+%endif
 
 cd js/src
 # Fix release number
@@ -87,6 +97,12 @@
 sed -i 
'/^void$/{$!{N;s/^\(void\)\n\(js\:\:DisableExtraThreads()\)$/JS_PUBLIC_API\(\1\)\n\2/;ty;P;D;:y}}'
  vm/Runtime.cpp
 sed -i 's|\(void\) \(DisableExtraThreads()\)|JS_PUBLIC_API\(\1\) \2|g'  
vm/Runtime.h
 
+# This should be removed when bmo#1322212 and bmo#1264836 are resolved:
+xz -dk %{SOURCE2}
+DATFILE=%{SOURCE2}
+DATFILE="${DATFILE%.xz}"
+mv -v ${DATFILE} ../../config/external/icu/data/
+
 %build
 cd js/src
 # no need to add build time to binaries
@@ -120,7 +136,7 @@
  --with-intl-api \
  --with-pthreads \
 %if 0%{?suse_version} > 1320
- --with-system-icu \
+ --without-system-icu \
 %endif
  --with-system-zlib \
 %ifarch %{arm} aarch64 ppc ppc64 ppc64le
@@ -155,9 +171,17 @@
 %check
 cd js/src
 # Run SpiderMonkey tests
-# tests/jstests.py -d -s -t 1800 --no-progress ../../js/src/js/src/shell/js
-# Run basic JIT tests
+tests/jstests.py -d -s -t 1800 --no-progress ../../js/src/js/src/shell/js \
+%ifnarch s390 s390x %{power64}
+;
+%else
+|| :
+%endif
+
+# Run basic JIT tests. JIT is disabled on s390 and ppc (see bmo#1415360 
comment 6)
+%ifnarch s390 s390x %{power64}
 jit-test/jit_test.py -s -t 1800 --no-progress ../../js/src/js/src/shell/js 
basic
+%endif
 
 %post -n libmozjs-%{major} -p /sbin/ldconfig
 %postun -n libmozjs-%{major} -p /sbin/ldconfig

++++++ _constraints ++++++
<?xml version="1.0" encoding="UTF-8"?>
<constraints>
  <hardware>
    <disk>
      <size unit="G">8</size>
    </disk>
    <memory>
      <size unit="G">4</size>
    </memory>
  </hardware>
</constraints>
++++++ mozilla-s390-bigendian.patch ++++++
# HG changeset patch
# Parent 20a1a6ad46d5a4ec83d9800614fc288bf79e14a8

diff --git a/build/autoconf/icu.m4 b/build/autoconf/icu.m4
--- a/build/autoconf/icu.m4
+++ b/build/autoconf/icu.m4
@@ -73,17 +73,17 @@ if test -n "$USE_ICU"; then
     if test x"$version" = x; then
        AC_MSG_ERROR([cannot determine icu version number from uvernum.h header 
file $lineno])
     fi
     MOZ_ICU_VERSION="$version"
 
     # TODO: the l is actually endian-dependent
     # We could make this set as 'l' or 'b' for little or big, respectively,
     # but we'd need to check in a big-endian version of the file.
-    ICU_DATA_FILE="icudt${version}l.dat"
+    ICU_DATA_FILE="icudt${version}b.dat"
 
     dnl We won't build ICU data as a separate file when building
     dnl JS standalone so that embedders don't have to deal with it.
     dnl We also don't do it on Windows because sometimes the file goes
     dnl missing -- possibly due to overzealous antivirus software? --
     dnl which prevents the browser from starting up :(
     if test -z "$JS_STANDALONE" -a -z "$MOZ_SYSTEM_ICU" -a "$OS_TARGET" != 
WINNT -a "$MOZ_WIDGET_TOOLKIT" != "android"; then
         MOZ_ICU_DATA_ARCHIVE=1
++++++ xulrunner-24.0-s390-inlines.patch ++++++
# HG changeset patch
# Parent 0e1bcdeb29f31b5108e857072e172a9ba47589d7

diff --git a/js/src/vm/SPSProfiler.cpp b/js/src/vm/SPSProfiler.cpp
--- a/js/src/vm/SPSProfiler.cpp
+++ b/js/src/vm/SPSProfiler.cpp
@@ -1,14 +1,16 @@
 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  * vim: set ts=8 sts=4 et sw=4 tw=99:
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+#include "jscntxtinlines.h"
+
 #include "vm/SPSProfiler.h"
 
 #include "mozilla/DebugOnly.h"
 
 #include "jsnum.h"
 #include "jsprf.h"
 #include "jsscript.h"
 

Reply via email to