Compare commits
14 Commits
4c34eab2fe
...
5e3e9b50c4
Author | SHA1 | Date | |
---|---|---|---|
|
5e3e9b50c4 | ||
|
21eadb0fb4 | ||
|
217b2159dc | ||
|
484fe87ff0 | ||
|
4fd5a8aecb | ||
|
580f5fb0f7 | ||
|
5d7898fdb1 | ||
|
051bec20c8 | ||
|
96a9dba114 | ||
|
ee01bd1c51 | ||
|
ce171e0984 | ||
|
381069b0a8 | ||
|
001ea360d6 | ||
|
05ad375d60 |
5
.gitignore
vendored
5
.gitignore
vendored
@ -8,3 +8,8 @@
|
||||
/firefox-78.8.0esr.source.tar.xz
|
||||
/firefox-78.9.0esr.source.tar.xz
|
||||
/firefox-78.10.0esr.source.tar.xz
|
||||
/firefox-78.11.0esr.source.tar.xz
|
||||
/firefox-78.12.0esr.source.tar.xz
|
||||
/firefox-78.13.0esr.source.tar.xz
|
||||
/firefox-78.14.0esr.source.tar.xz
|
||||
/firefox-78.15.0esr.source.tar.xz
|
||||
|
81
0001-Python-Build-Use-r-instead-of-rU-file-read-modes.patch
Normal file
81
0001-Python-Build-Use-r-instead-of-rU-file-read-modes.patch
Normal file
@ -0,0 +1,81 @@
|
||||
From 95f1e91ef71d912be5f6dddb6fac68671d850fd6 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Franti=C5=A1ek=20Zatloukal?= <fzatlouk@redhat.com>
|
||||
Date: Sun, 24 Jul 2022 11:11:01 +0200
|
||||
Subject: [PATCH] Python/Build: Use r instead of rU file read modes
|
||||
|
||||
Fixes Python 3.11 build
|
||||
---
|
||||
python/mozbuild/mozbuild/action/process_define_files.py | 2 +-
|
||||
python/mozbuild/mozbuild/preprocessor.py | 6 +++---
|
||||
python/mozbuild/mozbuild/util.py | 4 +++-
|
||||
3 files changed, 7 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/python/mozbuild/mozbuild/action/process_define_files.py b/python/mozbuild/mozbuild/action/process_define_files.py
|
||||
index 6fff0d1..de2bcf4 100644
|
||||
--- a/python/mozbuild/mozbuild/action/process_define_files.py
|
||||
+++ b/python/mozbuild/mozbuild/action/process_define_files.py
|
||||
@@ -36,7 +36,7 @@ def process_define_file(output, input):
|
||||
not config.substs.get('JS_STANDALONE'):
|
||||
config = PartialConfigEnvironment(mozpath.join(topobjdir, 'js', 'src'))
|
||||
|
||||
- with open(path, 'rU') as input:
|
||||
+ with open(path, 'r') as input:
|
||||
r = re.compile('^\s*#\s*(?P<cmd>[a-z]+)(?:\s+(?P<name>\S+)(?:\s+(?P<value>\S+))?)?', re.U)
|
||||
for l in input:
|
||||
m = r.match(l)
|
||||
diff --git a/python/mozbuild/mozbuild/preprocessor.py b/python/mozbuild/mozbuild/preprocessor.py
|
||||
index 0e3a750..66f5cf7 100644
|
||||
--- a/python/mozbuild/mozbuild/preprocessor.py
|
||||
+++ b/python/mozbuild/mozbuild/preprocessor.py
|
||||
@@ -517,7 +517,7 @@ class Preprocessor:
|
||||
|
||||
if args:
|
||||
for f in args:
|
||||
- with io.open(f, 'rU', encoding='utf-8') as input:
|
||||
+ with io.open(f, 'r', encoding='utf-8') as input:
|
||||
self.processFile(input=input, output=out)
|
||||
if depfile:
|
||||
mk = Makefile()
|
||||
@@ -807,7 +807,7 @@ class Preprocessor:
|
||||
args = self.applyFilters(args)
|
||||
if not os.path.isabs(args):
|
||||
args = os.path.join(self.curdir, args)
|
||||
- args = io.open(args, 'rU', encoding='utf-8')
|
||||
+ args = io.open(args, 'r', encoding='utf-8')
|
||||
except Preprocessor.Error:
|
||||
raise
|
||||
except Exception:
|
||||
@@ -862,7 +862,7 @@ def preprocess(includes=[sys.stdin], defines={},
|
||||
pp = Preprocessor(defines=defines,
|
||||
marker=marker)
|
||||
for f in includes:
|
||||
- with io.open(f, 'rU', encoding='utf-8') as input:
|
||||
+ with io.open(f, 'r', encoding='utf-8') as input:
|
||||
pp.processFile(input=input, output=output)
|
||||
return pp.includes
|
||||
|
||||
diff --git a/python/mozbuild/mozbuild/util.py b/python/mozbuild/mozbuild/util.py
|
||||
index 044cf64..eb992ce 100644
|
||||
--- a/python/mozbuild/mozbuild/util.py
|
||||
+++ b/python/mozbuild/mozbuild/util.py
|
||||
@@ -54,6 +54,8 @@ def exec_(object, globals=None, locals=None):
|
||||
|
||||
|
||||
def _open(path, mode):
|
||||
+ if mode == "rU":
|
||||
+ mode = "r"
|
||||
if 'b' in mode:
|
||||
return io.open(path, mode)
|
||||
return io.open(path, mode, encoding='utf-8', newline='\n')
|
||||
@@ -220,7 +222,7 @@ class FileAvoidWrite(BytesIO):
|
||||
still occur, as well as diff capture if requested.
|
||||
"""
|
||||
|
||||
- def __init__(self, filename, capture_diff=False, dry_run=False, readmode='rU'):
|
||||
+ def __init__(self, filename, capture_diff=False, dry_run=False, readmode='r'):
|
||||
BytesIO.__init__(self)
|
||||
self.name = filename
|
||||
assert type(capture_diff) == bool
|
||||
--
|
||||
2.37.1
|
||||
|
297
Fixup-compatibility-of-mozbuild-with-Python-3.10.patch
Normal file
297
Fixup-compatibility-of-mozbuild-with-Python-3.10.patch
Normal file
@ -0,0 +1,297 @@
|
||||
From a88d0c8e27b48344942187c2611bb121bde9332d Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Franti=C5=A1ek=20Zatloukal?= <fzatlouk@redhat.com>
|
||||
Date: Tue, 13 Jul 2021 11:46:20 +0200
|
||||
Subject: [PATCH] Fixup compatibility of mozbuild with Python 3.10
|
||||
|
||||
---
|
||||
python/mach/mach/config.py | 4 ++--
|
||||
python/mach/mach/decorators.py | 2 +-
|
||||
python/mozbuild/mozbuild/backend/configenvironment.py | 3 ++-
|
||||
python/mozbuild/mozbuild/makeutil.py | 2 +-
|
||||
python/mozbuild/mozbuild/util.py | 2 +-
|
||||
testing/marionette/client/marionette_driver/wait.py | 2 +-
|
||||
testing/mozbase/manifestparser/manifestparser/filters.py | 3 ++-
|
||||
testing/mozbase/versioninfo.py | 2 +-
|
||||
testing/web-platform/tests/tools/manifest/vcs.py | 2 +-
|
||||
.../web-platform/tests/tools/third_party/h2/h2/settings.py | 2 +-
|
||||
.../tests/tools/third_party/html5lib/html5lib/_trie/_base.py | 2 +-
|
||||
.../tools/third_party/html5lib/html5lib/treebuilders/dom.py | 2 +-
|
||||
.../tests/tools/third_party/hyper/hyper/common/headers.py | 2 +-
|
||||
.../tests/tools/third_party/hyper/hyper/h2/settings.py | 2 +-
|
||||
.../tests/tools/third_party/hyper/hyper/http11/connection.py | 4 ++--
|
||||
.../third_party/hyper/hyper/packages/hyperframe/flags.py | 2 +-
|
||||
.../tests/tools/third_party/hyperframe/hyperframe/flags.py | 2 +-
|
||||
testing/web-platform/tests/tools/wptserve/wptserve/config.py | 3 ++-
|
||||
testing/web-platform/tests/webdriver/tests/support/sync.py | 2 +-
|
||||
19 files changed, 24 insertions(+), 21 deletions(-)
|
||||
|
||||
diff --git a/python/mach/mach/config.py b/python/mach/mach/config.py
|
||||
index 7210eca82..edb4d2e93 100644
|
||||
--- a/python/mach/mach/config.py
|
||||
+++ b/python/mach/mach/config.py
|
||||
@@ -144,7 +144,7 @@ def reraise_attribute_error(func):
|
||||
return _
|
||||
|
||||
|
||||
-class ConfigSettings(collections.Mapping):
|
||||
+class ConfigSettings(collections.abc.Mapping):
|
||||
"""Interface for configuration settings.
|
||||
|
||||
This is the main interface to the configuration.
|
||||
@@ -190,7 +190,7 @@ class ConfigSettings(collections.Mapping):
|
||||
will result in exceptions being raised.
|
||||
"""
|
||||
|
||||
- class ConfigSection(collections.MutableMapping, object):
|
||||
+ class ConfigSection(collections.abc.MutableMapping, object):
|
||||
"""Represents an individual config section."""
|
||||
def __init__(self, config, name, settings):
|
||||
object.__setattr__(self, '_config', config)
|
||||
diff --git a/python/mach/mach/decorators.py b/python/mach/mach/decorators.py
|
||||
index 27f7f34a6..5f63271a3 100644
|
||||
--- a/python/mach/mach/decorators.py
|
||||
+++ b/python/mach/mach/decorators.py
|
||||
@@ -140,7 +140,7 @@ def CommandProvider(cls):
|
||||
'Conditions argument must take a list ' + \
|
||||
'of functions. Found %s instead.'
|
||||
|
||||
- if not isinstance(command.conditions, collections.Iterable):
|
||||
+ if not isinstance(command.conditions, collections.abc.Iterable):
|
||||
msg = msg % (command.name, type(command.conditions))
|
||||
raise MachError(msg)
|
||||
|
||||
diff --git a/python/mozbuild/mozbuild/backend/configenvironment.py b/python/mozbuild/mozbuild/backend/configenvironment.py
|
||||
index 20d1a9fa6..8747958bd 100644
|
||||
--- a/python/mozbuild/mozbuild/backend/configenvironment.py
|
||||
+++ b/python/mozbuild/mozbuild/backend/configenvironment.py
|
||||
@@ -9,7 +9,8 @@ import six
|
||||
import sys
|
||||
import json
|
||||
|
||||
-from collections import Iterable, OrderedDict
|
||||
+from collections import OrderedDict
|
||||
+from collections.abc import Iterable
|
||||
from types import ModuleType
|
||||
|
||||
import mozpack.path as mozpath
|
||||
diff --git a/python/mozbuild/mozbuild/makeutil.py b/python/mozbuild/mozbuild/makeutil.py
|
||||
index 4da1a3b26..4ce56848c 100644
|
||||
--- a/python/mozbuild/mozbuild/makeutil.py
|
||||
+++ b/python/mozbuild/mozbuild/makeutil.py
|
||||
@@ -7,7 +7,7 @@ from __future__ import absolute_import, print_function, unicode_literals
|
||||
import os
|
||||
import re
|
||||
import six
|
||||
-from collections import Iterable
|
||||
+from collections.abc import Iterable
|
||||
|
||||
|
||||
class Makefile(object):
|
||||
diff --git a/python/mozbuild/mozbuild/util.py b/python/mozbuild/mozbuild/util.py
|
||||
index 044cf645c..98ed3ef52 100644
|
||||
--- a/python/mozbuild/mozbuild/util.py
|
||||
+++ b/python/mozbuild/mozbuild/util.py
|
||||
@@ -782,7 +782,7 @@ class HierarchicalStringList(object):
|
||||
self._strings = StrictOrderingOnAppendList()
|
||||
self._children = {}
|
||||
|
||||
- class StringListAdaptor(collections.Sequence):
|
||||
+ class StringListAdaptor(collections.abc.Sequence):
|
||||
def __init__(self, hsl):
|
||||
self._hsl = hsl
|
||||
|
||||
diff --git a/testing/marionette/client/marionette_driver/wait.py b/testing/marionette/client/marionette_driver/wait.py
|
||||
index eeaa1e23d..c147f463f 100644
|
||||
--- a/testing/marionette/client/marionette_driver/wait.py
|
||||
+++ b/testing/marionette/client/marionette_driver/wait.py
|
||||
@@ -82,7 +82,7 @@ class Wait(object):
|
||||
|
||||
exceptions = []
|
||||
if ignored_exceptions is not None:
|
||||
- if isinstance(ignored_exceptions, collections.Iterable):
|
||||
+ if isinstance(ignored_exceptions, collections.abc.Iterable):
|
||||
exceptions.extend(iter(ignored_exceptions))
|
||||
else:
|
||||
exceptions.append(ignored_exceptions)
|
||||
diff --git a/testing/mozbase/manifestparser/manifestparser/filters.py b/testing/mozbase/manifestparser/manifestparser/filters.py
|
||||
index 287ee033b..b1d608003 100644
|
||||
--- a/testing/mozbase/manifestparser/manifestparser/filters.py
|
||||
+++ b/testing/mozbase/manifestparser/manifestparser/filters.py
|
||||
@@ -12,7 +12,8 @@ from __future__ import absolute_import
|
||||
|
||||
import itertools
|
||||
import os
|
||||
-from collections import defaultdict, MutableSequence
|
||||
+from collections import defaultdict
|
||||
+from collections.abc import MutableSequence
|
||||
|
||||
import six
|
||||
from six import string_types
|
||||
diff --git a/testing/mozbase/versioninfo.py b/testing/mozbase/versioninfo.py
|
||||
index 91d1a0473..8c1680069 100755
|
||||
--- a/testing/mozbase/versioninfo.py
|
||||
+++ b/testing/mozbase/versioninfo.py
|
||||
@@ -11,7 +11,7 @@ from commit messages.
|
||||
|
||||
from __future__ import absolute_import, print_function
|
||||
|
||||
-from collections import Iterable
|
||||
+from collections.abc import Iterable
|
||||
from distutils.version import StrictVersion
|
||||
import argparse
|
||||
import os
|
||||
diff --git a/testing/web-platform/tests/tools/manifest/vcs.py b/testing/web-platform/tests/tools/manifest/vcs.py
|
||||
index 7c0feeb81..05ee19c7c 100644
|
||||
--- a/testing/web-platform/tests/tools/manifest/vcs.py
|
||||
+++ b/testing/web-platform/tests/tools/manifest/vcs.py
|
||||
@@ -3,7 +3,7 @@ import json
|
||||
import os
|
||||
import stat
|
||||
from collections import deque
|
||||
-from collections import MutableMapping
|
||||
+from collections.abc import MutableMapping
|
||||
|
||||
from six import with_metaclass, PY2
|
||||
|
||||
diff --git a/testing/web-platform/tests/tools/third_party/h2/h2/settings.py b/testing/web-platform/tests/tools/third_party/h2/h2/settings.py
|
||||
index 3da720329..e097630e9 100644
|
||||
--- a/testing/web-platform/tests/tools/third_party/h2/h2/settings.py
|
||||
+++ b/testing/web-platform/tests/tools/third_party/h2/h2/settings.py
|
||||
@@ -88,7 +88,7 @@ class ChangedSetting:
|
||||
)
|
||||
|
||||
|
||||
-class Settings(collections.MutableMapping):
|
||||
+class Settings(collections.abc.MutableMapping):
|
||||
"""
|
||||
An object that encapsulates HTTP/2 settings state.
|
||||
|
||||
diff --git a/testing/web-platform/tests/tools/third_party/html5lib/html5lib/_trie/_base.py b/testing/web-platform/tests/tools/third_party/html5lib/html5lib/_trie/_base.py
|
||||
index a1158bbbf..a9295a2ba 100644
|
||||
--- a/testing/web-platform/tests/tools/third_party/html5lib/html5lib/_trie/_base.py
|
||||
+++ b/testing/web-platform/tests/tools/third_party/html5lib/html5lib/_trie/_base.py
|
||||
@@ -1,6 +1,6 @@
|
||||
from __future__ import absolute_import, division, unicode_literals
|
||||
|
||||
-from collections import Mapping
|
||||
+from collections.abc import Mapping
|
||||
|
||||
|
||||
class Trie(Mapping):
|
||||
diff --git a/testing/web-platform/tests/tools/third_party/html5lib/html5lib/treebuilders/dom.py b/testing/web-platform/tests/tools/third_party/html5lib/html5lib/treebuilders/dom.py
|
||||
index dcfac220b..818a33433 100644
|
||||
--- a/testing/web-platform/tests/tools/third_party/html5lib/html5lib/treebuilders/dom.py
|
||||
+++ b/testing/web-platform/tests/tools/third_party/html5lib/html5lib/treebuilders/dom.py
|
||||
@@ -1,7 +1,7 @@
|
||||
from __future__ import absolute_import, division, unicode_literals
|
||||
|
||||
|
||||
-from collections import MutableMapping
|
||||
+from collections.abc import MutableMapping
|
||||
from xml.dom import minidom, Node
|
||||
import weakref
|
||||
|
||||
diff --git a/testing/web-platform/tests/tools/third_party/hyper/hyper/common/headers.py b/testing/web-platform/tests/tools/third_party/hyper/hyper/common/headers.py
|
||||
index 655a591ac..6454f550a 100644
|
||||
--- a/testing/web-platform/tests/tools/third_party/hyper/hyper/common/headers.py
|
||||
+++ b/testing/web-platform/tests/tools/third_party/hyper/hyper/common/headers.py
|
||||
@@ -10,7 +10,7 @@ import collections
|
||||
from hyper.common.util import to_bytestring, to_bytestring_tuple
|
||||
|
||||
|
||||
-class HTTPHeaderMap(collections.MutableMapping):
|
||||
+class HTTPHeaderMap(collections.abc.MutableMapping):
|
||||
"""
|
||||
A structure that contains HTTP headers.
|
||||
|
||||
diff --git a/testing/web-platform/tests/tools/third_party/hyper/hyper/h2/settings.py b/testing/web-platform/tests/tools/third_party/hyper/hyper/h2/settings.py
|
||||
index fedc5e3c4..040afea92 100755
|
||||
--- a/testing/web-platform/tests/tools/third_party/hyper/hyper/h2/settings.py
|
||||
+++ b/testing/web-platform/tests/tools/third_party/hyper/hyper/h2/settings.py
|
||||
@@ -151,7 +151,7 @@ class ChangedSetting:
|
||||
)
|
||||
|
||||
|
||||
-class Settings(collections.MutableMapping):
|
||||
+class Settings(collections.abc.MutableMapping):
|
||||
"""
|
||||
An object that encapsulates HTTP/2 settings state.
|
||||
|
||||
diff --git a/testing/web-platform/tests/tools/third_party/hyper/hyper/http11/connection.py b/testing/web-platform/tests/tools/third_party/hyper/hyper/http11/connection.py
|
||||
index 61361c358..a214311d2 100644
|
||||
--- a/testing/web-platform/tests/tools/third_party/hyper/hyper/http11/connection.py
|
||||
+++ b/testing/web-platform/tests/tools/third_party/hyper/hyper/http11/connection.py
|
||||
@@ -10,7 +10,7 @@ import os
|
||||
import socket
|
||||
import base64
|
||||
|
||||
-from collections import Iterable, Mapping
|
||||
+from collections.abc import Iterable, Mapping
|
||||
|
||||
import collections
|
||||
from hyperframe.frame import SettingsFrame
|
||||
@@ -295,7 +295,7 @@ class HTTP11Connection(object):
|
||||
return
|
||||
|
||||
# Iterables that set a specific content length.
|
||||
- elif isinstance(body, collections.Iterable):
|
||||
+ elif isinstance(body, collections.abc.Iterable):
|
||||
for item in body:
|
||||
try:
|
||||
self._sock.send(item)
|
||||
diff --git a/testing/web-platform/tests/tools/third_party/hyper/hyper/packages/hyperframe/flags.py b/testing/web-platform/tests/tools/third_party/hyper/hyper/packages/hyperframe/flags.py
|
||||
index e8f630056..8f2ea689b 100644
|
||||
--- a/testing/web-platform/tests/tools/third_party/hyper/hyper/packages/hyperframe/flags.py
|
||||
+++ b/testing/web-platform/tests/tools/third_party/hyper/hyper/packages/hyperframe/flags.py
|
||||
@@ -11,7 +11,7 @@ import collections
|
||||
Flag = collections.namedtuple("Flag", ["name", "bit"])
|
||||
|
||||
|
||||
-class Flags(collections.MutableSet):
|
||||
+class Flags(collections.abc.MutableSet):
|
||||
"""
|
||||
A simple MutableSet implementation that will only accept known flags as elements.
|
||||
|
||||
diff --git a/testing/web-platform/tests/tools/third_party/hyperframe/hyperframe/flags.py b/testing/web-platform/tests/tools/third_party/hyperframe/hyperframe/flags.py
|
||||
index 05b35017e..14c352e10 100644
|
||||
--- a/testing/web-platform/tests/tools/third_party/hyperframe/hyperframe/flags.py
|
||||
+++ b/testing/web-platform/tests/tools/third_party/hyperframe/hyperframe/flags.py
|
||||
@@ -11,7 +11,7 @@ import collections
|
||||
Flag = collections.namedtuple("Flag", ["name", "bit"])
|
||||
|
||||
|
||||
-class Flags(collections.MutableSet):
|
||||
+class Flags(collections.abc.MutableSet):
|
||||
"""
|
||||
A simple MutableSet implementation that will only accept known flags as
|
||||
elements.
|
||||
diff --git a/testing/web-platform/tests/tools/wptserve/wptserve/config.py b/testing/web-platform/tests/tools/wptserve/wptserve/config.py
|
||||
index 7766565fe..3c1c36d6f 100644
|
||||
--- a/testing/web-platform/tests/tools/wptserve/wptserve/config.py
|
||||
+++ b/testing/web-platform/tests/tools/wptserve/wptserve/config.py
|
||||
@@ -2,7 +2,8 @@ import copy
|
||||
import logging
|
||||
import os
|
||||
|
||||
-from collections import defaultdict, Mapping
|
||||
+from collections import defaultdict
|
||||
+from collections.abc import Mapping
|
||||
from six import integer_types, iteritems, itervalues, string_types
|
||||
|
||||
from . import sslutils
|
||||
diff --git a/testing/web-platform/tests/webdriver/tests/support/sync.py b/testing/web-platform/tests/webdriver/tests/support/sync.py
|
||||
index 3fc77131c..8e8f6b819 100644
|
||||
--- a/testing/web-platform/tests/webdriver/tests/support/sync.py
|
||||
+++ b/testing/web-platform/tests/webdriver/tests/support/sync.py
|
||||
@@ -81,7 +81,7 @@ class Poll(object):
|
||||
|
||||
exceptions = []
|
||||
if ignored_exceptions is not None:
|
||||
- if isinstance(ignored_exceptions, collections.Iterable):
|
||||
+ if isinstance(ignored_exceptions, collections.abc.Iterable):
|
||||
exceptions.extend(iter(ignored_exceptions))
|
||||
else:
|
||||
exceptions.append(ignored_exceptions)
|
||||
--
|
||||
2.31.1
|
||||
|
118
known_failures.txt
Normal file
118
known_failures.txt
Normal file
@ -0,0 +1,118 @@
|
||||
non262/Intl/available-locales-resolved.js
|
||||
non262/Intl/available-locales-supported.js
|
||||
non262/Intl/DateTimeFormat/fractional-second-digits-append-item.js
|
||||
non262/Intl/DateTimeFormat/tz-environment-variable.js
|
||||
non262/Intl/DateTimeFormat/day-period-hour-cycle.js
|
||||
non262/Intl/DateTimeFormat/timeZone_version.js
|
||||
non262/Date/toString-localized.js
|
||||
non262/Date/reset-time-zone-cache-same-offset.js
|
||||
non262/Date/time-zones-imported.js
|
||||
non262/Date/time-zones-historic.js
|
||||
non262/Date/toString-localized-posix.js
|
||||
non262/Date/time-zone-path.js
|
||||
non262/Intl/DateTimeFormat/format.js
|
||||
non262/Intl/DateTimeFormat/format_timeZone.js
|
||||
non262/Intl/DisplayNames/region.js
|
||||
non262/Intl/DisplayNames/language.js
|
||||
non262/Intl/Locale/likely-subtags-generated.js
|
||||
non262/Intl/Date/toLocaleDateString_timeZone.js
|
||||
non262/Intl/Date/toLocaleString_timeZone.js
|
||||
non262/Intl/DateTimeFormat/related-year.js
|
||||
non262/Intl/DateTimeFormat/japanese-gannen-year.js
|
||||
non262/Intl/Date/toLocaleTimeString_timeZone.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/ID_Continue.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Bidi_Mirrored.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Hiragana.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Arabic.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Script_-_Ethiopic.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/General_Category_-_Letter.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/General_Category_-_Currency_Symbol.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/General_Category_-_Modifier_Symbol.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Alphabetic.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Han.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/General_Category_-_Format.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Latin.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Takri.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Lowercase.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/General_Category_-_Lowercase_Letter.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Script_-_Arabic.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Kaithi.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Assigned.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/XID_Continue.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Brahmi.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/General_Category_-_Other_Letter.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Ideographic.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Script_-_Hiragana.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/XID_Start.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/General_Category_-_Other.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Tagalog.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Script_-_Han.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Diacritic.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Emoji_Modifier_Base.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/General_Category_-_Close_Punctuation.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Soft_Dotted.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Default_Ignorable_Code_Point.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Script_-_Balinese.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Emoji_Presentation.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Ethiopic.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Mongolian.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Case_Ignorable.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Script_-_Telugu.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Extender.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Script_-_Latin.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Changes_When_Casemapped.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Script_-_Canadian_Aboriginal.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Nko.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/General_Category_-_Punctuation.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Script_-_Takri.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/General_Category_-_Number.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Script_-_Inherited.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Common.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/General_Category_-_Other_Punctuation.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Grapheme_Extend.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Cased.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Changes_When_Lowercased.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Ahom.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Adlam.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/General_Category_-_Cased_Letter.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/ID_Start.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/General_Category_-_Uppercase_Letter.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Canadian_Aboriginal.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Script_-_Brahmi.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Changes_When_NFKC_Casefolded.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Script_-_Katakana.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Script_-_Kaithi.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Katakana.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/General_Category_-_Symbol.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Script_-_Glagolitic.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Changes_When_Titlecased.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Uppercase.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Script_-_Kannada.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Changes_When_Casefolded.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Script_-_Tagalog.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Dash.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Kannada.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/General_Category_-_Mark.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Syriac.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Emoji.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Script_-_Mongolian.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/General_Category_-_Unassigned.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Script_-_Common.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/General_Category_-_Modifier_Letter.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/General_Category_-_Spacing_Mark.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Sentence_Terminal.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/General_Category_-_Dash_Punctuation.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Unified_Ideograph.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Balinese.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/General_Category_-_Decimal_Number.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Terminal_Punctuation.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/General_Category_-_Other_Symbol.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Grapheme_Base.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/General_Category_-_Nonspacing_Mark.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Glagolitic.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Telugu.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Script_-_Ahom.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Variation_Selector.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Inherited.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/Changes_When_Uppercased.js
|
||||
test262/built-ins/RegExp/property-escapes/generated/General_Category_-_Open_Punctuation.js
|
66
mozjs78.spec
66
mozjs78.spec
@ -23,14 +23,17 @@
|
||||
%endif
|
||||
|
||||
Name: mozjs%{major}
|
||||
Version: 78.10.0
|
||||
Release: 1%{?dist}
|
||||
Version: 78.15.0
|
||||
Release: 7%{?dist}
|
||||
Summary: SpiderMonkey JavaScript library
|
||||
|
||||
License: MPLv2.0 and MPLv1.1 and BSD and GPLv2+ and GPLv3+ and LGPLv2+ and AFL and ASL 2.0
|
||||
URL: https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey
|
||||
Source0: https://ftp.mozilla.org/pub/firefox/releases/%{version}esr/source/firefox-%{version}esr.source.tar.xz
|
||||
|
||||
# Known failures with system libicu
|
||||
Source1: known_failures.txt
|
||||
|
||||
# Patches from mozjs68, rebased for mozjs78:
|
||||
Patch01: fix-soname.patch
|
||||
Patch02: copy-headers.patch
|
||||
@ -42,9 +45,12 @@ Patch10: icu_sources_data-Write-command-output-to-our-stderr.patch
|
||||
Patch12: emitter.patch
|
||||
|
||||
# Build fixes
|
||||
Patch13: Fixup-compatibility-of-mozbuild-with-Python-3.10.patch
|
||||
Patch14: init_patch.patch
|
||||
# TODO: Check with mozilla for cause of these fails and re-enable spidermonkey compile time checks if needed
|
||||
Patch15: spidermonkey_checks_disable.patch
|
||||
# Python 3.11 compat
|
||||
Patch16: 0001-Python-Build-Use-r-instead-of-rU-file-read-modes.patch
|
||||
|
||||
# armv7 fixes
|
||||
Patch17: definitions_for_user_vfp.patch
|
||||
@ -71,6 +77,7 @@ BuildRequires: make
|
||||
%if !0%{?rhel}
|
||||
BuildRequires: nasm
|
||||
%endif
|
||||
BuildRequires: libicu-devel
|
||||
BuildRequires: llvm
|
||||
BuildRequires: llvm-devel
|
||||
BuildRequires: rust
|
||||
@ -115,9 +122,10 @@ pushd ../..
|
||||
%patch10 -p1
|
||||
|
||||
%patch12 -p1
|
||||
|
||||
%patch13 -p1
|
||||
%patch14 -p1
|
||||
%patch15 -p1
|
||||
%patch16 -p1
|
||||
|
||||
%ifarch armv7hl
|
||||
# Include definitions for user vfp on armv7 as it causes the compilation to fail without them
|
||||
@ -141,6 +149,9 @@ pushd ../..
|
||||
|
||||
# Copy out the LICENSE file
|
||||
cp LICENSE js/src/
|
||||
|
||||
# Copy out file containing known test failures with system libicu
|
||||
cp %{SOURCE1} js/src/
|
||||
popd
|
||||
|
||||
# Remove zlib directory (to be sure using system version)
|
||||
@ -168,7 +179,7 @@ export LINKFLAGS="%{?__global_ldflags}"
|
||||
export PYTHON="%{__python3}"
|
||||
|
||||
%configure \
|
||||
--without-system-icu \
|
||||
--with-system-icu \
|
||||
--with-system-zlib \
|
||||
--disable-tests \
|
||||
--disable-strip \
|
||||
@ -246,16 +257,16 @@ ln -s libmozjs-%{major}.so.0 %{buildroot}%{_libdir}/libmozjs-%{major}.so
|
||||
%check
|
||||
# Run SpiderMonkey tests
|
||||
%if 0%{?require_tests}
|
||||
PYTHONPATH=tests/lib %{__python3} tests/jstests.py -d -s -t 1800 --no-progress --wpt=disabled ../../js/src/dist/bin/js%{major}
|
||||
PYTHONPATH=tests/lib %{__python3} tests/jstests.py -d -s -t 2400 --exclude-file=known_failures.txt --no-progress --wpt=disabled ../../js/src/dist/bin/js%{major}
|
||||
%else
|
||||
PYTHONPATH=tests/lib %{__python3} tests/jstests.py -d -s -t 1800 --no-progress --wpt=disabled ../../js/src/dist/bin/js%{major} || :
|
||||
PYTHONPATH=tests/lib %{__python3} tests/jstests.py -d -s -t 2400 --exclude-file=known_failures.txt --no-progress --wpt=disabled ../../js/src/dist/bin/js%{major} || :
|
||||
%endif
|
||||
|
||||
# Run basic JIT tests
|
||||
%if 0%{?require_tests}
|
||||
PYTHONPATH=tests/lib %{__python3} jit-test/jit_test.py -s -t 1800 --no-progress ../../js/src/dist/bin/js%{major} basic
|
||||
PYTHONPATH=tests/lib %{__python3} jit-test/jit_test.py -s -t 2400 --no-progress ../../js/src/dist/bin/js%{major} basic
|
||||
%else
|
||||
PYTHONPATH=tests/lib %{__python3} jit-test/jit_test.py -s -t 1800 --no-progress ../../js/src/dist/bin/js%{major} basic || :
|
||||
PYTHONPATH=tests/lib %{__python3} jit-test/jit_test.py -s -t 2400 --no-progress ../../js/src/dist/bin/js%{major} basic || :
|
||||
%endif
|
||||
|
||||
%ldconfig_scriptlets
|
||||
@ -272,6 +283,45 @@ PYTHONPATH=tests/lib %{__python3} jit-test/jit_test.py -s -t 1800 --no-progress
|
||||
%{_includedir}/mozjs-%{major}/
|
||||
|
||||
%changelog
|
||||
* Mon Aug 01 2022 Frantisek Zatloukal <fzatlouk@redhat.com> - 78.15.0-7
|
||||
- Rebuilt for ICU 71.1
|
||||
|
||||
* Mon Aug 01 2022 Frantisek Zatloukal <fzatlouk@redhat.com> - 78.15.0-6
|
||||
- Switch to system-icu everywhere
|
||||
|
||||
* Sun Jul 24 2022 Frantisek Zatloukal <fzatlouk@redhat.com> - 78.15.0-5
|
||||
- Fixup Python 3.11 build
|
||||
|
||||
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 78.15.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Sun Feb 20 2022 Frantisek Zatloukal <fzatlouk@redhat.com> - 78.15.0-3
|
||||
- Switch to system-icu on armv7hl to fix FTBFS
|
||||
|
||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 78.15.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Mon Oct 04 2021 Frantisek Zatloukal <fzatlouk@redhat.com> - 78.15.0-1
|
||||
- Update to 78.15.0
|
||||
|
||||
* Mon Sep 27 2021 Frantisek Zatloukal <fzatlouk@redhat.com> - 78.14.0-1
|
||||
- Update to 78.14.0
|
||||
|
||||
* Mon Aug 09 2021 Frantisek Zatloukal <fzatlouk@redhat.com> - 78.13.0-1
|
||||
- Update to 78.13.0
|
||||
|
||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 78.12.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Tue Jul 13 2021 Frantisek Zatloukal <fzatlouk@redhat.com> - 78.12.0-2
|
||||
- Fixup compatibility of mozbuild with Python 3.10
|
||||
|
||||
* Tue Jul 13 2021 Frantisek Zatloukal <fzatlouk@redhat.com> - 78.12.0-1
|
||||
- Update to 78.12.0
|
||||
|
||||
* Wed Jun 02 2021 Frantisek Zatloukal <fzatlouk@redhat.com> - 78.11.0-1
|
||||
- Update to 78.11.0
|
||||
|
||||
* Tue Apr 20 2021 Frantisek Zatloukal <fzatlouk@redhat.com> - 78.10.0-1
|
||||
- Update to 78.10.0
|
||||
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (firefox-78.10.0esr.source.tar.xz) = 5e2cf137dc781855542c29df6152fa74ba749801640ade3cf01487ce993786b87a4f603d25c0af9323e67c7e15c75655523428c1c1426527b8623c7ded9f5946
|
||||
SHA512 (firefox-78.15.0esr.source.tar.xz) = ac3de735b246ce4f0e1619cd2664321ffa374240ce6843e785d79a350dc30c967996bbcc5e3b301cb3d822ca981cbea116758fc4122f1738d75ddfd1165b6378
|
||||
|
Loading…
Reference in New Issue
Block a user