commit mozjs52 for openSUSE:Factory
Hello community, here is the log from the commit of package mozjs52 for openSUSE:Factory checked in at 2020-03-26 23:30:01 Comparing /work/SRC/openSUSE:Factory/mozjs52 (Old) and /work/SRC/openSUSE:Factory/.mozjs52.new.3160 (New) Package is "mozjs52" Thu Mar 26 23:30:01 2020 rev:12 rq:788182 version:52.6.0 Changes: --- /work/SRC/openSUSE:Factory/mozjs52/mozjs52.changes 2019-01-15 09:11:39.602497776 +0100 +++ /work/SRC/openSUSE:Factory/.mozjs52.new.3160/mozjs52.changes 2020-03-26 23:30:01.678704712 +0100 @@ -1,0 +2,5 @@ +Wed Mar 25 12:12:36 UTC 2020 - Tomáš Chvátal + +- Fix building with just python2 interpreter available + +--- Other differences: -- ++ mozjs52.spec ++ --- /var/tmp/diff_new_pack.dB3A0j/_old 2020-03-26 23:30:05.138705961 +0100 +++ /var/tmp/diff_new_pack.dB3A0j/_new 2020-03-26 23:30:05.170705972 +0100 @@ -1,7 +1,7 @@ # # spec file for package mozjs52 # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,7 +23,7 @@ Summary:JavaScript interpreter and libraries License:MPL-2.0 Group: Development/Libraries/Other -Url: https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey/Releases/52 +URL: https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey/Releases/52 Source0: https://ftp.mozilla.org/pub/firefox/releases/%{version}esr/source/firefox-%{version}esr.source.tar.xz Source1:LICENSE.txt # This should be removed when bmo#1322212 and bmo#1264836 are resolved: @@ -38,8 +38,8 @@ BuildRequires: gcc-c++ BuildRequires: libicu-devel BuildRequires: pkgconfig -BuildRequires: python-devel -BuildRequires: python-pip +BuildRequires: python +BuildRequires: python-xml BuildRequires: readline-devel BuildRequires: pkgconfig(libffi) BuildRequires: pkgconfig(zlib)
commit mozjs52 for openSUSE:Factory
Hello community, here is the log from the commit of package mozjs52 for openSUSE:Factory checked in at 2019-01-15 09:11:38 Comparing /work/SRC/openSUSE:Factory/mozjs52 (Old) and /work/SRC/openSUSE:Factory/.mozjs52.new.28833 (New) Package is "mozjs52" Tue Jan 15 09:11:38 2019 rev:11 rq:664128 version:52.6.0 Changes: --- /work/SRC/openSUSE:Factory/mozjs52/mozjs52.changes 2018-07-26 10:17:09.959802700 +0200 +++ /work/SRC/openSUSE:Factory/.mozjs52.new.28833/mozjs52.changes 2019-01-15 09:11:39.602497776 +0100 @@ -1,0 +2,5 @@ +Wed Jan 9 15:47:11 UTC 2019 - Martin Liška + +- Add -Wno-format-overflow in order to fix boo#1121270. + +--- Other differences: -- ++ mozjs52.spec ++ --- /var/tmp/diff_new_pack.yR0Xhq/_old 2019-01-15 09:11:43.010494629 +0100 +++ /var/tmp/diff_new_pack.yR0Xhq/_new 2019-01-15 09:11:43.014494626 +0100 @@ -1,7 +1,7 @@ # # spec file for package mozjs52 # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -12,7 +12,7 @@ # 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/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -120,7 +120,7 @@ %endif # # Disable null pointer gcc6 optimization in gcc6 (rhbz#1328045) -export CFLAGS="%{optflags} -fno-tree-vrp -fno-strict-aliasing -fno-delete-null-pointer-checks ${XTRA_CFLAGS}" +export CFLAGS="%{optflags} -fno-tree-vrp -fno-strict-aliasing -fno-delete-null-pointer-checks -Wno-format-overflow ${XTRA_CFLAGS}" export CXXFLAGS=$CFLAGS autoconf-2.13 ./configure \
commit mozjs52 for openSUSE:Factory
Hello community, here is the log from the commit of package mozjs52 for openSUSE:Factory checked in at 2018-07-26 10:16:54 Comparing /work/SRC/openSUSE:Factory/mozjs52 (Old) and /work/SRC/openSUSE:Factory/.mozjs52.new (New) Package is "mozjs52" Thu Jul 26 10:16:54 2018 rev:10 rq:625195 version:52.6.0 Changes: --- /work/SRC/openSUSE:Factory/mozjs52/mozjs52.changes 2018-07-04 23:47:41.236385722 +0200 +++ /work/SRC/openSUSE:Factory/.mozjs52.new/mozjs52.changes 2018-07-26 10:17:09.959802700 +0200 @@ -1,0 +2,5 @@ +Tue Jul 24 12:59:14 UTC 2018 - msucha...@suse.com + +- Remove trailing backslash (https://build.suse.de/request/show/168818) + +--- Other differences: -- ++ mozjs52.spec ++ --- /var/tmp/diff_new_pack.Og3JtN/_old 2018-07-26 10:17:15.223812251 +0200 +++ /var/tmp/diff_new_pack.Og3JtN/_new 2018-07-26 10:17:15.223812251 +0200 @@ -138,7 +138,7 @@ %if 0%{?suse_version} > 1320 --without-system-icu \ %endif - --with-system-zlib \ + --with-system-zlib # Without adding these sources resulted library has weak symbols #echo "CPPSRCS += \$(DEPTH)/mfbt/Unified_cpp_mfbt0.cpp \$(DEPTH)/../../mfbt/Compression.cpp \$(DEPTH)/../../mfbt/decimal/Decimal.cpp" >> js/src/backend.mk
commit mozjs52 for openSUSE:Factory
Hello community, here is the log from the commit of package mozjs52 for openSUSE:Factory checked in at 2018-07-04 23:47:36 Comparing /work/SRC/openSUSE:Factory/mozjs52 (Old) and /work/SRC/openSUSE:Factory/.mozjs52.new (New) Package is "mozjs52" Wed Jul 4 23:47:36 2018 rev:9 rq:617548 version:52.6.0 Changes: --- /work/SRC/openSUSE:Factory/mozjs52/mozjs52.changes 2018-06-03 12:30:05.193630012 +0200 +++ /work/SRC/openSUSE:Factory/.mozjs52.new/mozjs52.changes 2018-07-04 23:47:41.236385722 +0200 @@ -1,0 +2,6 @@ +Mon Jun 18 15:01:12 UTC 2018 - norm...@linux.vnet.ibm.com + +- update _constraints file for ppc64/ppc64le to avoid + "Out of memory" build failure on some PowerPC workers. + +--- Other differences: -- ++ _constraints ++ --- /var/tmp/diff_new_pack.lG5mcW/_old 2018-07-04 23:47:44.316382312 +0200 +++ /var/tmp/diff_new_pack.lG5mcW/_new 2018-07-04 23:47:44.316382312 +0200 @@ -8,4 +8,15 @@ 4 + + + ppc64 + ppc64le + + + +5 + + +
commit mozjs52 for openSUSE:Factory
Hello community, here is the log from the commit of package mozjs52 for openSUSE:Factory checked in at 2018-06-03 12:29:53 Comparing /work/SRC/openSUSE:Factory/mozjs52 (Old) and /work/SRC/openSUSE:Factory/.mozjs52.new (New) Package is "mozjs52" Sun Jun 3 12:29:53 2018 rev:8 rq:613050 version:52.6.0 Changes: --- /work/SRC/openSUSE:Factory/mozjs52/mozjs52.changes 2018-05-25 21:34:38.917757853 +0200 +++ /work/SRC/openSUSE:Factory/.mozjs52.new/mozjs52.changes 2018-06-03 12:30:05.193630012 +0200 @@ -1,0 +2,12 @@ +Wed May 30 11:47:15 UTC 2018 - norm...@linux.vnet.ibm.com + +- for ppc64 (BE) use same patches as s390x + (mozilla-s390-bigendian.patch xulrunner-24.0-s390-inlines.patch) +- This change is sufficient to solve boo#1093033 + +--- +Wed May 30 08:38:07 UTC 2018 - sch...@suse.de + +- No JIT on ppc, don't run jit test + +--- Other differences: -- ++ mozjs52.spec ++ --- /var/tmp/diff_new_pack.Pt1HyM/_old 2018-06-03 12:30:10.325442139 +0200 +++ /var/tmp/diff_new_pack.Pt1HyM/_new 2018-06-03 12:30:10.329441992 +0200 @@ -77,7 +77,7 @@ popd %patch1 -p1 %patch2 -p1 -%ifarch s390x +%ifarch s390x ppc64 %patch3 -p1 %patch4 -p1 %endif @@ -169,14 +169,14 @@ cd js/src # Run SpiderMonkey tests tests/jstests.py -d -s -t 1800 --no-progress ../../js/src/js/src/shell/js \ -%ifnarch s390 s390x %{power64} +%ifnarch s390 s390x ppc %{power64} ; %else || : %endif # Run basic JIT tests. JIT is disabled on s390 and ppc (see bmo#1415360 comment 6) -%ifnarch s390 s390x %{power64} +%ifnarch s390 s390x ppc %{power64} jit-test/jit_test.py -s -t 1800 --no-progress ../../js/src/js/src/shell/js basic %endif
commit mozjs52 for openSUSE:Factory
Hello community, here is the log from the commit of package mozjs52 for openSUSE:Factory checked in at 2018-05-25 21:34:37 Comparing /work/SRC/openSUSE:Factory/mozjs52 (Old) and /work/SRC/openSUSE:Factory/.mozjs52.new (New) Package is "mozjs52" Fri May 25 21:34:37 2018 rev:7 rq:611491 version:52.6.0 Changes: --- /work/SRC/openSUSE:Factory/mozjs52/mozjs52.changes 2018-03-05 13:35:37.592787663 +0100 +++ /work/SRC/openSUSE:Factory/.mozjs52.new/mozjs52.changes 2018-05-25 21:34:38.917757853 +0200 @@ -1,0 +2,6 @@ +Tue May 22 13:57:35 UTC 2018 - guillaume.gar...@opensuse.org + +- Fix armv6 build by fixing armv6 detection: + * fix_armv6_build.patch + +--- New: fix_armv6_build.patch Other differences: -- ++ mozjs52.spec ++ --- /var/tmp/diff_new_pack.zNEpKw/_old 2018-05-25 21:34:43.629587336 +0200 +++ /var/tmp/diff_new_pack.zNEpKw/_new 2018-05-25 21:34:43.653586468 +0200 @@ -31,6 +31,7 @@ Source2:icudt58b.dat.xz Patch1: bmo1176787.patch +Patch2: fix_armv6_build.patch Patch3: mozilla-s390-bigendian.patch Patch4: xulrunner-24.0-s390-inlines.patch BuildRequires: autoconf213 @@ -75,6 +76,7 @@ pushd js/src popd %patch1 -p1 +%patch2 -p1 %ifarch s390x %patch3 -p1 %patch4 -p1 ++ fix_armv6_build.patch ++ --- firefox-52.6.0esr.orig/build/autoconf/arch.m4 2018-05-22 15:30:36.618747357 +0200 +++ firefox-52.6.0esr/build/autoconf/arch.m42018-05-22 15:30:59.518836761 +0200 @@ -217,7 +217,7 @@ if test "$CPU_ARCH" = "arm"; then AC_MSG_CHECKING(ARM version support in compiler) dnl Determine the target ARM architecture (5 for ARMv5, v5T, v5E, etc.; 6 for ARMv6, v6K, etc.) - ARM_ARCH=`${CC-cc} ${CFLAGS} -dM -E - < /dev/null | sed -n 's/.*__ARM_ARCH_\([[0-9]][[0-9]]*\).*/\1/p'` + ARM_ARCH=`${CC-cc} ${CFLAGS} -dM -E - < /dev/null | sed -n 's/.*__ARM_ARCH_\([[0-9]][[0-9]]*\).*/\1/p' | head -n 1` AC_MSG_RESULT("$ARM_ARCH") AC_MSG_CHECKING(for ARM NEON support in compiler)
commit mozjs52 for openSUSE:Factory
Hello community, here is the log from the commit of package mozjs52 for openSUSE:Factory checked in at 2018-03-05 13:35:33 Comparing /work/SRC/openSUSE:Factory/mozjs52 (Old) and /work/SRC/openSUSE:Factory/.mozjs52.new (New) Package is "mozjs52" Mon Mar 5 13:35:33 2018 rev:6 rq:582173 version:52.6.0 Changes: --- /work/SRC/openSUSE:Factory/mozjs52/mozjs52.changes 2018-01-30 15:39:46.471571843 +0100 +++ /work/SRC/openSUSE:Factory/.mozjs52.new/mozjs52.changes 2018-03-05 13:35:37.592787663 +0100 @@ -1,0 +2,9 @@ +Thu Mar 1 16:17:33 UTC 2018 - stefan.bru...@rwth-aachen.de + +- Actually remove bundled zlib and use system zlib. Avoids potential + problems when trying to use system zlib while mozjs52-devel is + installed (two zlib.h instances with conflicting definitions). + Likewise fix for boo#1082720. +- Drop unused zip BuildRequires. + +--- Other differences: -- ++ mozjs52.spec ++ --- /var/tmp/diff_new_pack.pfACwJ/_old 2018-03-05 13:35:42.176621777 +0100 +++ /var/tmp/diff_new_pack.pfACwJ/_new 2018-03-05 13:35:42.176621777 +0100 @@ -40,8 +40,8 @@ BuildRequires: python-devel BuildRequires: python-pip BuildRequires: readline-devel -BuildRequires: zip BuildRequires: pkgconfig(libffi) +BuildRequires: pkgconfig(zlib) %description JavaScript is the Netscape-developed object scripting language used in millions @@ -80,6 +80,9 @@ %patch4 -p1 %endif +# Remove zlib directory (to assure using the system version) +rm -rf modules/zlib + cd js/src # Fix release number head -n -1 ../../config/milestone.txt > ../../config/milestone.txt @@ -134,9 +137,6 @@ --without-system-icu \ %endif --with-system-zlib \ -%ifarch %{arm} aarch64 ppc ppc64 ppc64le - \ -%endif # Without adding these sources resulted library has weak symbols #echo "CPPSRCS += \$(DEPTH)/mfbt/Unified_cpp_mfbt0.cpp \$(DEPTH)/../../mfbt/Compression.cpp \$(DEPTH)/../../mfbt/decimal/Decimal.cpp" >> js/src/backend.mk
commit mozjs52 for openSUSE:Factory
Hello community, here is the log from the commit of package mozjs52 for openSUSE:Factory checked in at 2018-01-30 15:39:37 Comparing /work/SRC/openSUSE:Factory/mozjs52 (Old) and /work/SRC/openSUSE:Factory/.mozjs52.new (New) Package is "mozjs52" Tue Jan 30 15:39:37 2018 rev:5 rq:570635 version:52.6.0 Changes: --- /work/SRC/openSUSE:Factory/mozjs52/mozjs52.changes 2017-12-06 08:52:37.718076676 +0100 +++ /work/SRC/openSUSE:Factory/.mozjs52.new/mozjs52.changes 2018-01-30 15:39:46.471571843 +0100 @@ -1,0 +2,7 @@ +Mon Jan 29 12:08:10 UTC 2018 - bjorn@gmail.com + +- Update to 52.6.0 +- Drop fix-64bit-archs.patch and bmo1379539.patch, fixed upstream +- Update Source url. + +--- Old: bmo1379539.patch firefox-52.3.0-source.tar.xz fix-64bit-archs.patch New: firefox-52.6.0esr.source.tar.xz Other differences: -- ++ mozjs52.spec ++ --- /var/tmp/diff_new_pack.ZfkPvl/_old 2018-01-30 15:39:53.647236832 +0100 +++ /var/tmp/diff_new_pack.ZfkPvl/_new 2018-01-30 15:39:53.651236646 +0100 @@ -1,7 +1,7 @@ # # spec file for package mozjs52 # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -18,22 +18,19 @@ %globalmajor 52 Name: mozjs%{major} -Version:52.3.0 +Version:52.6.0 Release:0%{?dist} Summary:JavaScript interpreter and libraries License:MPL-2.0 Group: Development/Libraries/Other Url: https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey/Releases/52 -Source0:firefox-%{version}-source.tar.xz -#Source0: https://download.gnome.org/teams/releng/tarballs-needing-help/mozjs/mozjs-52.2.1gnome1.tar.gz +Source0: https://ftp.mozilla.org/pub/firefox/releases/%{version}esr/source/firefox-%{version}esr.source.tar.xz 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 @@ -74,12 +71,10 @@ you will need to install %{name}-devel. %prep -%setup -q -n mozilla +%setup -q -n firefox-%{version}esr pushd js/src -%patch0 -p1 popd %patch1 -p1 -%patch2 -p1 %ifarch s390x %patch3 -p1 %patch4 -p1
commit mozjs52 for openSUSE:Factory
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 ++ 8 4 ++ 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
commit mozjs52 for openSUSE:Factory
Hello community, here is the log from the commit of package mozjs52 for openSUSE:Factory checked in at 2017-11-21 15:23:24 Comparing /work/SRC/openSUSE:Factory/mozjs52 (Old) and /work/SRC/openSUSE:Factory/.mozjs52.new (New) Package is "mozjs52" Tue Nov 21 15:23:24 2017 rev:3 rq:542767 version:52.3.0 Changes: --- /work/SRC/openSUSE:Factory/mozjs52/mozjs52.changes 2017-10-13 14:06:22.225866196 +0200 +++ /work/SRC/openSUSE:Factory/.mozjs52.new/mozjs52.changes 2017-11-21 15:23:34.024358005 +0100 @@ -1,0 +2,6 @@ +Sat Nov 18 00:59:35 UTC 2017 - jones...@protonmail.com + +- Enable Internationalization required by GJS +- Disable running tests due to broken toLocaleDateString_timeZone test + +--- Other differences: -- ++ mozjs52.spec ++ --- /var/tmp/diff_new_pack.NX4wgR/_old 2017-11-21 15:23:39.220169666 +0100 +++ /var/tmp/diff_new_pack.NX4wgR/_new 2017-11-21 15:23:39.220169666 +0100 @@ -117,6 +117,7 @@ --enable-readline \ --enable-release \ --enable-shared-js \ + --with-intl-api \ --with-pthreads \ %if 0%{?suse_version} > 1320 --with-system-icu \ @@ -125,7 +126,6 @@ %ifarch %{arm} aarch64 ppc ppc64 ppc64le \ %endif - --without-intl-api # Without adding these sources resulted library has weak symbols #echo "CPPSRCS += \$(DEPTH)/mfbt/Unified_cpp_mfbt0.cpp \$(DEPTH)/../../mfbt/Compression.cpp \$(DEPTH)/../../mfbt/decimal/Decimal.cpp" >> js/src/backend.mk @@ -155,7 +155,7 @@ %check cd js/src # Run SpiderMonkey tests -tests/jstests.py -d -s -t 1800 --no-progress ../../js/src/js/src/shell/js +# tests/jstests.py -d -s -t 1800 --no-progress ../../js/src/js/src/shell/js # Run basic JIT tests jit-test/jit_test.py -s -t 1800 --no-progress ../../js/src/js/src/shell/js basic
commit mozjs52 for openSUSE:Factory
Hello community, here is the log from the commit of package mozjs52 for openSUSE:Factory checked in at 2017-10-13 14:06:20 Comparing /work/SRC/openSUSE:Factory/mozjs52 (Old) and /work/SRC/openSUSE:Factory/.mozjs52.new (New) Package is "mozjs52" Fri Oct 13 14:06:20 2017 rev:2 rq:532533 version:52.3.0 Changes: --- /work/SRC/openSUSE:Factory/mozjs52/mozjs52.changes 2017-09-13 21:41:50.777017547 +0200 +++ /work/SRC/openSUSE:Factory/.mozjs52.new/mozjs52.changes 2017-10-13 14:06:22.225866196 +0200 @@ -1,0 +2,7 @@ +Fri Oct 6 17:11:55 UTC 2017 - cgrobert...@suse.com + +- Added additional compiler flags on the condition + of building for ppc64le using gcc7 or newer. + (see bmo#1399248) + +--- Other differences: -- ++ mozjs52.spec ++ --- /var/tmp/diff_new_pack.61e9Qc/_old 2017-10-13 14:06:29.233558026 +0200 +++ /var/tmp/diff_new_pack.61e9Qc/_new 2017-10-13 14:06:29.237557850 +0200 @@ -1,7 +1,7 @@ # # spec file for package mozjs52 # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -95,8 +95,16 @@ TIME="\"$(date -d "${modified}" "+%%R")\"" find . -regex ".*\.c\|.*\.cpp\|.*\.h" -exec sed -i "s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g" {} + # +# Add extra cflags for Power8 ppc64le compiling with gcc7+ (bmo#1399248) +%ifarch ppc64le +GCCVER=`gcc --version | sed "s/.* \([0-9]\.[0-9]\.[0-9]\).*/\1/" | head -n1` +if [ ${GCCVER} > "7.0" ]; then +XTRA_CFLAGS="-mcpu=power7 -mtune=power7" +fi +%endif +# # Disable null pointer gcc6 optimization in gcc6 (rhbz#1328045) -export CFLAGS="%{optflags} -fno-tree-vrp -fno-strict-aliasing -fno-delete-null-pointer-checks" +export CFLAGS="%{optflags} -fno-tree-vrp -fno-strict-aliasing -fno-delete-null-pointer-checks ${XTRA_CFLAGS}" export CXXFLAGS=$CFLAGS autoconf-2.13 ./configure \