firefox 100.0-1 (znver1;x86_64;aarch64) 2022-15030
9999
Status | published | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Submitter | benbullard79 [@T] cox.net | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Platform | 4.3 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Repository | main | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
URL | https://abf.openmandriva.org/build_lists/210128 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Packages |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Build Date | 2022-05-31 16:04:36 +0000 UTC | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Last Updated | 2022-05-31 21:21:34.520262404 +0000 UTC |
$ git diff --patch-with-stat --summary 5102e80b2b2279ca79333e15bc798c9c88591ab9..55031101cb03bac4196f50d3fba8f72b1646c0fa .abf.yml | 140 ++++++++++++++++++++-------------------- firefox-100.0-python-3.11.patch | 110 +++++++++++++++++++++++++++++++ firefox.spec | 40 ++++++------ 3 files changed, 200 insertions(+), 90 deletions(-) create mode 100644 firefox-100.0-python-3.11.patch diff --git a/.abf.yml b/.abf.yml index ac754a6..e3f732c 100644 --- a/.abf.yml +++ b/.abf.yml @@ -1,72 +1,72 @@ sources: - af.xpi: 7e65f535efbb94566e0cb46eaa7cbb2d7ad49423 - ar.xpi: c191c81bca40d1ceaf32f561c7c67565521f4bec - ast.xpi: b9c8d7754af63edd0c8929f9831544be94f5b21c + af.xpi: 3f2786a95a9f69b42f83c85485bc4a9ec4016591 + ar.xpi: d9c32aa96a884674af80baebecace8d74d21d7d0 + ast.xpi: 9a1c4ae79254cb985ecadc397dae729cdfb4c275 be.xpi: d2ca74c120a8e42c40c5e5f1d193ee73b1dee572 - bg.xpi: 447e322aff1c56d37c06b76433ffcc4497693f0c - bn.xpi: 0d49e9dda82e977ab45b3136f222436f8afa1792 - br.xpi: c1dac8cca85c0f424ff17feb52e375bac107cb31 - bs.xpi: 95c0ef1d9dbeb0cf7444e51e8909aaa196124de4 - ca.xpi: 0cf03f777a1855922ee1665b2156c8726ecc2b93 - cs.xpi: df91ff89ce46745fd2df0913b9dc3173a46fba78 - cy.xpi: c2099c94d2fd6833d2243392cc585039313c3e91 - da.xpi: 6664b76b0b9d2cfe8c3e6e4ae82e08631be57a20 - de.xpi: 94297751618abf16a3c6da3ca2e7170bf51ff487 - el.xpi: 1f22a9eeb89acc415dab595888a465b831b2c88c - en-GB.xpi: ddae83ab6374a2f166ba5261180721f9706a1744 - eo.xpi: 6b10e0f919a3103dd18aaef3fa376f205bb96c09 - es-AR.xpi: 3bd1e06f8ac43a03da4e4ba99879055f2635cefb - es-CL.xpi: 585aa5b8750351536240d16147b271b2590fb611 - es-ES.xpi: 21e62a2b3a6d734dcb0d1e43ac6134b448c3d6d6 - es-MX.xpi: 0de48d61e474072b99dd26e3fdab422bfed702c2 - et.xpi: 3dd40db92fd0775a1b081154ca4a5adc954435c0 - eu.xpi: ea3265f89ff926b5404c537efc725b287667dfee - fa.xpi: ceb72fa1704af6f7e5e1224f6fb2dffe7523db66 - fi.xpi: 10081148782863077544222e0295631183e376b6 - firefox-97.0.source.tar.xz: 1b8e6a4d0559ecea27516901f48cf36ba7d5faa1 - fr.xpi: 0f14c5ac87110bb1ed12ecc03df0ebc227c1bdf2 - fy-NL.xpi: 69bdec0542aaa2c3dbe4e3ceeffaa9b7c727fbb6 - ga-IE.xpi: d2fcb89d21895738be2638760d26e7c6f2aca3d1 - gd.xpi: 8a96d062e0e027bd167ad729efb6f47cb788a1fc - gl.xpi: 2c135181adffc623ac9940f626889c1588bd3d6f - gu-IN.xpi: 99d2288acb91d4805c936ebdf54d9864a01e98ea - he.xpi: 2db5c39ce4210709069b6928cd91bb3c3335c856 - hi-IN.xpi: e53ca956d79486dfad4d664a0b74be5c03102389 - hr.xpi: 1673b5a4dc880d5acb6b91cfa322132b085250a5 - hu.xpi: 7ca03a8e7cb9e84e792be2fa6804cacb04ba9aed - hy-AM.xpi: dc678db4ef0b1d1806b81b9db1f20f5563b13b2c - id.xpi: 60c5977670092f4e1695aa141017c17e74337f86 - is.xpi: f3f922a9b1ff2ae2f7df1b94a9f6bb906db44567 - it.xpi: 36db7da034bcf1c3ac32c9f55efd122b156f2e5c - ja.xpi: e85d506006074ee4d4d4c4a0cc02769750952885 - kk.xpi: 82c79c6e3cdf0cd9be05a21dcc95b9214509a1b4 - km.xpi: f3d8b78f27a8ad087300f03ac65734de323acaf5 - kn.xpi: 1ea12dcbfe55eb8a154935db89d9cac7a0998d79 - ko.xpi: 9e9c50270c4accd62b51760904312cfd5fa8ae60 - lt.xpi: 0ffe25e56e09c676d6b7d9edb078e0a2a4aeb142 - lv.xpi: 51e8b49c566856da709ec6ecdc711c8a42447058 - mk.xpi: 54b01780dbbc4b336793315a41238e8e49dc925f - mr.xpi: dc4ce17d17482c6118f8ac170188023e8686ca22 - nb-NO.xpi: 65f137d6cb0aa6defdce4e4ecce2712edc055b40 - nl.xpi: 1b8fab0a4ce53dd11224cc19f83c3836246bfa1d - nn-NO.xpi: bec8bda2ac5e7e45e64bfe98e3c776ebee48b8e6 - pa-IN.xpi: 6bf0ee94dea91081051b2b94bbb8138b464a3270 - pl.xpi: 794fcfd2f6786392085155cf45ffa8c2d22b71c8 - pt-BR.xpi: 7438e8d170eab889ed7cf4c7614108a294673881 - pt-PT.xpi: 876de7b9ba6482952a6d6e25fb243ceba9c08370 - ro.xpi: 7188486e904ec3949c10f102b8e81698ff7fcdc5 - ru.xpi: 2082fc272e600c8b6165bccccda9e353a38febb9 - si.xpi: 1f73ee55164e2156c8c6cdbb1e048b0a6b90fa85 - sk.xpi: 57ffb7f861db532c6fa19d102ac858f83e80b44a - sl.xpi: 6a7f6cbdd01c3c77cecae011dc142c965be281d0 - sq.xpi: 25e2fb3434b72ebbe47bfd4b04aa768aafeabdfa - sr.xpi: ff4819318c95ef4fdace7cbeb0545b7193bef911 - sv-SE.xpi: d43faf7a5f1ae46a98e4b8430462e59ec9ff0bce - ta.xpi: 4c875966d4e90889519e8af2adf8d2d3729e10ff - te.xpi: 85419127eca139bb280274777042cb5852e948a6 - th.xpi: 286b46d06d5c70d3f352262cda0c4c127e0b17ba - tr.xpi: d84c5f9557143319dbf4ef7cc59297695b1f157a - uk.xpi: 911024b4108b959969a04a7174e14e70acaf6b9f - vi.xpi: 7f2af7438eb99b82120379fdda60f6614c3de762 - zh-CN.xpi: 6c36f3f1cffec6230c52f6a05dc13a0bd539092b - zh-TW.xpi: 1d524806ad2db2939f8d3a7f1fbada542f873e73 + bg.xpi: e0bec96cc7f4768cb808b85056b877f5d63f3b27 + bn.xpi: f2e41dc9baeda4fc7cdcb71a4735e8a7b5cf5834 + br.xpi: 7ada0324aa236f5c17ac1924ae7b10c8bf89b35d + bs.xpi: e4c4443334e9ae14460f1fe4314f0f66b3805d62 + ca.xpi: c96d3086cce13eddf0a8fc885c39922fa4718bd6 + cs.xpi: 3ac58986726110405af4a07cbd87ee91b6669afe + cy.xpi: 85d7ccfe0c9b2bbeb092978f2131ad30f59ccab9 + da.xpi: 86a7f017c1121190509eaba4963c4716e2423c9d + de.xpi: 82c381c062e8f4941e33d27cb899ff9de9a2b66d + el.xpi: f3a8d490cc04925ad2223f354eb157400b616dcf + en-GB.xpi: bcdf820f0d76f1d4b860a4c0ef0953ae39c88d45 + eo.xpi: 2097d6cfca71717d11cd4baf752cf47de4e7fdca + es-AR.xpi: 8ef36a8589997534c403bc883c07f154e84fdd1f + es-CL.xpi: 0cde1131d37d807852d1cb4d3c8ad2247d6c6021 + es-ES.xpi: afa2a027716675f9f194865a124f6e09466c078a + es-MX.xpi: 81e5320e22a7f128c09b5c186b86aa0e4aa11798 + et.xpi: a0b0f98ce01d97a7421acacbbc17d24f2e6d5161 + eu.xpi: 0d391ac3d72798ddad95b1f60af01263b53cf6ae + fa.xpi: c3dc56fc517eb13417f7e28039f5dd0f0cd4d675 + fi.xpi: 13328a3bf00cb1b9d28a2e47fdad199463d8e02f + firefox-100.0.source.tar.xz: 5ccd3ee59d78650d010b8762af5c66ac2484176f + fr.xpi: 40c643db43477822b6d1aea2244e149527eb4125 + fy-NL.xpi: f5943f257639b4bf5bba488438cbc11dff5d5a98 + ga-IE.xpi: d9a29dfc521a3a8270d45ca92e0e8fc06540ccac + gd.xpi: d3cc353cd8e3dc1ec9c4fee4f8370c9b7d06b5db + gl.xpi: 60cfa78282b6759ca647ff32190b32ea405297ff + gu-IN.xpi: e93e129959ddd618790923d7b6bb793ae2891baa + he.xpi: f32a2fc8a202d3c155985d16f607a95cc15e571f + hi-IN.xpi: eb4372c59ba5f9c94ddd379c89b3b1ce6de434e5 + hr.xpi: 0939830b8ffd73184aba1265ef11cdd6690d567f + hu.xpi: ac4de528660ae4ace81a9c019c1aa01dcdf09b4c + hy-AM.xpi: cdaf105c393c5d7491e8d99fb209af896e21c755 + id.xpi: 59ccba08a71e4d3bab0fbced7fcd0d993143aa7a + is.xpi: 216db249f530842d72cf51719592fb7e489b6646 + it.xpi: 77b74e0ea6aba3e1fc98c56b7fbd6630a9c3187a + ja.xpi: d965fb326a3ad8369e89923e6cbcf73faa55ae8d + kk.xpi: 20198fe34cc669da81d34b1dcee33bca146752f0 + km.xpi: 012e71190bcaa2b49cf78e92808b7d1819cb03a4 + kn.xpi: 603f432ce1091a01ff4308ef46a610333da13578 + ko.xpi: d5efb4058a266897b5f79255152b63ea080ecc04 + lt.xpi: 194f38ef34197ae2389323b6adad3cde16c5556b + lv.xpi: c38da031a3b2be5ef13cd9d2cb19c6ec656ac10c + mk.xpi: 16beb9933dc9f99df1f105ed3303f411081ef66e + mr.xpi: eaede6f25f595d31d2c501d60f9c3e6873513ea8 + nb-NO.xpi: efde077d170911cc8fcc0436013bb97bc1c25f0f + nl.xpi: 8f2518893c095bfe57505e209ed83b6d530e54ab + nn-NO.xpi: 22cf2bc1af230cd178d60a996888e2ff63f9f0f8 + pa-IN.xpi: f1c2cb0563a80be2e52edf579b5c014d2e9d454b + pl.xpi: 66bdb6d0828da18440b018e63de9ee2e112061ff + pt-BR.xpi: e700823657fe51d946f4be4e6f5154576a3e5fd7 + pt-PT.xpi: 8cb0d4183116ab2916520082f3c4a7cf4844eeda + ro.xpi: 761e832d99eede112dc8a980e83c36d67df4d4a7 + ru.xpi: 9dda097aad92761bf8c32cfa7324a57234632488 + si.xpi: 7cba371060f5064e6d438d22861f793f687557d3 + sk.xpi: 48b8756edd9dbf76ab048ac96bad54c51182d704 + sl.xpi: 2d1edc64f66f2e76937c31903edb550d64370ee4 + sq.xpi: e93eed6f4692dec43ee14d6bcadc8df130be7708 + sr.xpi: 9776d26ca45f7be0581382d2f90378ce015cb4a7 + sv-SE.xpi: 1f37db522947ae0ff523235def831b6d00cecf37 + ta.xpi: 53ef65c761050e0ae585d068a2d10dec5d2b7e52 + te.xpi: 7b30d7892fb55afccf528fa4071ea3075472f377 + th.xpi: 1248ba713a59a861b984508db8070d9099a3d660 + tr.xpi: 441ab5a7754aa6cfcc1df5c6f7cfe8e3349ade0f + uk.xpi: dfc21f0322efcd0935c7b50cdd1012d7db24eed8 + vi.xpi: bfdd545d130a45509bf10e0122366a01fef4f9a8 + zh-CN.xpi: 1118e07794357180ad69551ec389d45a1e7c7683 + zh-TW.xpi: 626c18e14e0c14803059fb50dc412a433e6bf137 diff --git a/firefox-100.0-python-3.11.patch b/firefox-100.0-python-3.11.patch new file mode 100644 index 0000000..808da39 --- /dev/null +++ b/firefox-100.0-python-3.11.patch @@ -0,0 +1,110 @@ +diff -up firefox-98.0/dom/base/usecounters.py.omv~ firefox-98.0/dom/base/usecounters.py +--- firefox-98.0/dom/base/usecounters.py.omv~ 2022-03-15 15:52:22.532354802 +0100 ++++ firefox-98.0/dom/base/usecounters.py 2022-03-15 15:52:25.708262252 +0100 +@@ -8,7 +8,7 @@ import re + + def read_conf(conf_filename): + # Can't read/write from a single StringIO, so make a new one for reading. +- stream = open(conf_filename, "rU") ++ stream = open(conf_filename, "r") + + def parse_counters(stream): + for line_num, line in enumerate(stream): +diff -up firefox-98.0/python/mozbuild/mozbuild/action/process_define_files.py.omv~ firefox-98.0/python/mozbuild/mozbuild/action/process_define_files.py +--- firefox-98.0/python/mozbuild/mozbuild/action/process_define_files.py.omv~ 2022-03-15 15:53:15.344815781 +0100 ++++ firefox-98.0/python/mozbuild/mozbuild/action/process_define_files.py 2022-03-15 15:53:17.590750332 +0100 +@@ -36,7 +36,7 @@ def process_define_file(output, input): + ) and 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 + ) +diff -up firefox-98.0/python/mozbuild/mozbuild/backend/base.py.omv~ firefox-98.0/python/mozbuild/mozbuild/backend/base.py +--- firefox-98.0/python/mozbuild/mozbuild/backend/base.py.omv~ 2022-03-15 15:52:34.839996140 +0100 ++++ firefox-98.0/python/mozbuild/mozbuild/backend/base.py 2022-03-15 15:52:37.956905309 +0100 +@@ -272,7 +272,7 @@ class BuildBackend(LoggingMixin): + return status + + @contextmanager +- def _write_file(self, path=None, fh=None, readmode="rU"): ++ def _write_file(self, path=None, fh=None, readmode="r"): + """Context manager to write a file. + + This is a glorified wrapper around FileAvoidWrite with integration to +diff -up firefox-98.0/python/mozbuild/mozbuild/preprocessor.py.omv~ firefox-98.0/python/mozbuild/mozbuild/preprocessor.py +--- firefox-98.0/python/mozbuild/mozbuild/preprocessor.py.omv~ 2022-03-15 15:52:44.583712196 +0100 ++++ firefox-98.0/python/mozbuild/mozbuild/preprocessor.py 2022-03-15 15:52:57.578333516 +0100 +@@ -531,7 +531,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() +@@ -860,7 +860,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: +@@ -914,7 +914,7 @@ class Preprocessor: + def preprocess(includes=[sys.stdin], defines={}, output=sys.stdout, marker="#"): + 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 -up firefox-98.0/python/mozbuild/mozbuild/util.py.omv~ firefox-98.0/python/mozbuild/mozbuild/util.py +--- firefox-98.0/python/mozbuild/mozbuild/util.py.omv~ 2022-03-15 15:53:04.890120442 +0100 ++++ firefox-98.0/python/mozbuild/mozbuild/util.py 2022-03-15 15:53:07.575042200 +0100 +@@ -236,7 +236,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 +diff -up firefox-98.0/python/mozbuild/mozpack/files.py.omv~ firefox-98.0/python/mozbuild/mozpack/files.py +--- firefox-98.0/python/mozbuild/mozpack/files.py.omv~ 2022-03-15 15:53:23.219586300 +0100 ++++ firefox-98.0/python/mozbuild/mozpack/files.py 2022-03-15 15:53:26.949477607 +0100 +@@ -570,7 +570,7 @@ class PreprocessedFile(BaseFile): + pp = Preprocessor(defines=self.defines, marker=self.marker) + pp.setSilenceDirectiveWarnings(self.silence_missing_directive_warnings) + +- with _open(self.path, "rU") as input: ++ with _open(self.path, "r") as input: + with _open(os.devnull, "w") as output: + pp.processFile(input=input, output=output) + +@@ -627,7 +627,7 @@ class PreprocessedFile(BaseFile): + pp = Preprocessor(defines=self.defines, marker=self.marker) + pp.setSilenceDirectiveWarnings(self.silence_missing_directive_warnings) + +- with _open(self.path, "rU") as input: ++ with _open(self.path, "r") as input: + pp.processFile(input=input, output=dest, depfile=deps_out) + + dest.close() +--- firefox-100.0/xpcom/idl-parser/xpidl/xpidl.py.orig 2022-05-04 09:57:16.420455099 +0100 ++++ firefox-100.0/xpcom/idl-parser/xpidl/xpidl.py 2022-05-04 09:57:40.993653305 +0100 +@@ -1572,7 +1572,7 @@ + t_ignore = " \t" + + def t_multilinecomment(self, t): +- r"/\*(?s).*?\*/" ++ r"(?s)/\*.*?\*/" + t.lexer.lineno += t.value.count("\n") + if t.value.startswith("/**"): + self._doccomments.append(t.value) diff --git a/firefox.spec b/firefox.spec index f97ba6b..32d6cfe 100644 --- a/firefox.spec +++ b/firefox.spec @@ -225,7 +225,7 @@ Name: firefox Epoch: 0 # IMPORTANT: When updating, you MUST also update the l10n files by running # download.sh after editing the version number -Version: 97.0 +Version: 100.0 Release: %{?beta:0.%{beta}.}1 License: MPLv1+ Group: Networking/WWW @@ -259,17 +259,18 @@ Patch14: build-aarch64-skia.patch Patch15: build-arm-libopus.patch Patch44: https://src.fedoraproject.org/rpms/firefox/raw/master/f/build-disable-elfhack.patch +Patch50: firefox-100.0-python-3.11.patch BuildRequires: doxygen BuildRequires: makedepend -BuildRequires: pkgconfig(python3) -BuildRequires: python3 +BuildRequires: pkgconfig(python) BuildRequires: python-distribute BuildRequires: python3dist(aiohttp) BuildRequires: python3dist(attrs) BuildRequires: python3dist(argparse) BuildRequires: python3dist(traceback2) BuildRequires: python3dist(certifi) +BuildRequires: python3dist(cffi) BuildRequires: python3dist(chardet) BuildRequires: python3dist(colorama) BuildRequires: python3dist(distro) @@ -313,7 +314,7 @@ BuildRequires: pkgconfig(libproxy-1.0) BuildRequires: pkgconfig(libpulse) BuildRequires: pkgconfig(libstartup-notification-1.0) BuildRequires: pkgconfig(nspr) >= 4.32.0 -BuildRequires: pkgconfig(nss) >= 3.72 +BuildRequires: pkgconfig(nss) >= 3.75 BuildRequires: pkgconfig(ogg) BuildRequires: pkgconfig(opus) BuildRequires: pkgconfig(libpulse) @@ -356,7 +357,7 @@ Provides: webclient Obsoletes: firefox-ext-weave-sync Obsoletes: firefox-beta < 11 # (tpg) needed for bookmarks -Requires(post): desktop-common-data +Requires(post): distro-release-desktop # (tpg) fix bug https://issues.openmandriva.org/show_bug.cgi?id=1525 Requires: gtk3-modules @@ -376,12 +377,12 @@ Firefox also includes features like 'tabbed browsing' (opening several web sites as sections within the same window) and methods for controlling pop-up windows, cookies and downloaded files. -%package devel +%package devel Summary: Development files for %{name} Group: Development/Other Obsoletes: firefox-beta-devel < 11 -%description devel +%description devel Files and macros mainly for building Firefox extensions. # Expand all languages packages. @@ -398,7 +399,7 @@ Files and macros mainly for building Firefox extensions. # We trust our toolchain. More than we trust hardcodes copied from # whatever someone found on a prehistoric brokenbuntu box. for i in security/sandbox/chromium/sandbox/linux/system_headers/*_linux_syscalls.h; do - echo '#include <asm/unistd.h>' >$i + echo '#include <asm/unistd.h>' >$i done echo -n "%google_api_key" > google-api-key @@ -406,6 +407,7 @@ echo -n "%google_default_client_id %google_default_client_secret" > google-oauth echo -n "%mozilla_api_key" > mozilla-api-key export MOZCONFIG=$(pwd)/mozconfig + cat << EOF > $MOZCONFIG ac_add_options --target="%{_target_platform}" ac_add_options --host="%{_host}" @@ -439,7 +441,6 @@ ac_add_options --enable-necko-wifi ac_add_options --enable-av1 %endif ac_add_options --without-system-libevent -ac_add_options --without-system-icu ac_add_options --with-system-libvpx ac_add_options --enable-system-pixman ac_add_options --disable-updater @@ -456,18 +457,18 @@ ac_add_options --disable-crashreporter ac_add_options --enable-pulseaudio ac_add_options --enable-webrtc ac_add_options --enable-system-ffi +ac_add_options --with-unsigned-addon-scopes=app,system ac_add_options --allow-addon-sideload ac_add_options --without-wasm-sandboxed-libraries -%ifarch %arm +%ifarch aarch64 +ac_add_options --enable-rust-simd +%endif +%ifarch %{arm} ac_add_options --enable-skia ac_add_options --disable-webrtc -%endif -%ifnarch %mips -ac_add_options --with-valgrind -%endif -%ifnarch aarch64 ac_add_options --disable-elf-hack %endif +ac_add_options --with-valgrind export LLVM_PROFDATA="llvm-profdata" export AR="llvm-ar" export NM="llvm-nm" @@ -490,8 +491,6 @@ EOF # still requires gcc export CXX=g++ export CC=gcc -# avoid oom with rust -export RUSTFLAGS="-Cdebuginfo=0" %else %global optflags %{optflags} -Qunused-arguments -g0 -fno-lto %endif @@ -504,11 +503,13 @@ export RUSTFLAGS="-Cdebuginfo=0" export MOZCONFIG=$(pwd)/mozconfig cat $MOZCONFIG +export MOZ_NOSPAM=1 export MOZ_SERVICES_SYNC="1" export MACH_NO_WRITE_TIMES=1 # (tpg) do not create new user profiles on each upgrade, use exsting one export MOZ_LEGACY_PROFILES="1" -export LDFLAGS="%{build_ldflags}" +export LDFLAGS+="%{build_ldflags} -Wl,--no-keep-memory" +export RUSTFLAGS="-Cdebuginfo=0" # FIXME We should enable system python, but need to sort out dependencies # Current status: builds locally on developer boxes, but fails inside abf @@ -585,7 +586,7 @@ cat << EOF > %{buildroot}%{mozillalibdir}/browser/defaults/profile/chrome/userCh EOF # Default firefox config -%{__cp} %{SOURCE12} %{buildroot}%{mozillalibdir}/browser/defaults/preferences +install -Dvm644 %{SOURCE12} %{buildroot}%{mozillalibdir}/browser/defaults/preferences/vendor.js # use the system myspell dictionaries rm -fr %{buildroot}%{mozillalibdir}/dictionaries @@ -606,7 +607,6 @@ cp -f %{SOURCE10} %{buildroot}%{mozillalibdir}/distribution/searchplugins/common sed -i 's/@DISTRO_VALUE@/ffx/' %{buildroot}%{mozillalibdir}/distribution/searchplugins/common/askcom.xml sed -i 's/@DISTRO_VALUE@//' %{buildroot}%{mozillalibdir}/distribution/searchplugins/common/exalead.xml - ## (crazy) why the appid? not used since 57.0 or so ## also what is the magic of that _extdir ? does not make any sense.. mkdir -p %{buildroot}%{_sys_macros_dir}
Not Available
benbullard79 [@T] cox.net | No Comment. | 689d 12hrs |
benbullard79 [@T] cox.net | No Comment. | 689d 12hrs |