From 39670dbc4862e4c8705ebd7c0d4ddced2d8c9b38 Mon Sep 17 00:00:00 2001 From: Duncaen Date: Tue, 7 Jun 2022 22:14:53 +0200 Subject: [PATCH] firefox: update to 101.0. --- .../patches/fix-parsing-ccache-never.patch | 50 ------------------- srcpkgs/firefox/template | 4 +- 2 files changed, 2 insertions(+), 52 deletions(-) delete mode 100644 srcpkgs/firefox/patches/fix-parsing-ccache-never.patch diff --git a/srcpkgs/firefox/patches/fix-parsing-ccache-never.patch b/srcpkgs/firefox/patches/fix-parsing-ccache-never.patch deleted file mode 100644 index 7a55fccc5de..00000000000 --- a/srcpkgs/firefox/patches/fix-parsing-ccache-never.patch +++ /dev/null @@ -1,50 +0,0 @@ ---- a/python/mozbuild/mozbuild/controller/building.py -+++ b/python/mozbuild/mozbuild/controller/building.py -@@ -1070,6 +1070,8 @@ class CCacheStats(object): - ts = time.strptime(raw_value, "%c") - return int(time.mktime(ts)) - except ValueError: -+ if raw_value == "never": -+ return 0 - pass - - value = raw_value.split() ---- a/python/mozbuild/mozbuild/test/controller/test_ccachestats.py -+++ b/python/mozbuild/mozbuild/test/controller/test_ccachestats.py -@@ -356,6 +356,26 @@ Primary storage: - timestamp=time.strftime("%c") - ) - -+ STAT12 = """ -+Summary: -+ Cache directory: /home/suer/.ccache -+ Primary config: /home/suer/.ccache/ccache.conf -+ Secondary config: /etc/ccache.conf -+ Stats updated: never -+ Hits: 0 / 0 -+ Direct: 0 / 0 -+ Preprocessed: 0 / 0 -+ Misses: 0 -+ Direct: 0 -+ Preprocessed: 0 -+Primary storage: -+ Hits: 0 / 0 -+ Misses: 0 -+ Cache size (GB): 0.00 / 5.00 (0.00 %) -+ Files: 0 -+ Cleanups: 16 -+ """ -+ - def test_parse_garbage_stats_message(self): - self.assertRaises(ValueError, CCacheStats, self.STAT_GARBAGE) - -@@ -438,6 +458,9 @@ Primary storage: - stat11 = CCacheStats(self.STAT11, True) - self.assertTrue(stat11) - -+ stat12 = CCacheStats(self.STAT12, True) -+ self.assertTrue(stat12) -+ - - if __name__ == "__main__": - main() diff --git a/srcpkgs/firefox/template b/srcpkgs/firefox/template index 9c8a17a940b..16cab548536 100644 --- a/srcpkgs/firefox/template +++ b/srcpkgs/firefox/template @@ -3,7 +3,7 @@ # THIS PKG MUST BE SYNCHRONIZED WITH "srcpkgs/firefox-i18n". # pkgname=firefox -version=100.0.2 +version=101.0 revision=1 build_helper="rust" short_desc="Mozilla Firefox web browser" @@ -11,7 +11,7 @@ maintainer="Duncaen " license="MPL-2.0, GPL-2.0-or-later, LGPL-2.1-or-later" homepage="https://www.mozilla.org/firefox/" distfiles="${MOZILLA_SITE}/${pkgname}/releases/${version}/source/${pkgname}-${version}.source.tar.xz" -checksum=dc109861204f6938fd8f147af89a694eb516f3d4bb64ce3f0116452d654a8417 +checksum=55ab5b517d58bbcbc837640263a8371cf1fba3d9f508e54537c4d2cbbfb86095 lib32disabled=yes