pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/firefox firefox: Copy serviceWorker workaround fro...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/afd60b2dc6db
branches:  trunk
changeset: 390580:afd60b2dc6db
user:      nia <nia%pkgsrc.org@localhost>
date:      Fri Dec 23 12:35:05 2022 +0000

description:
firefox: Copy serviceWorker workaround from firefox102 package

diffstat:

 www/firefox/distinfo                                                   |   8 ++--
 www/firefox/patches/patch-browser_app_profile_firefox.js               |  19 ++++++++-
 www/firefox/patches/patch-gfx_skia_skia_src_core_SkVM.cpp              |   4 +-
 www/firefox/patches/patch-third__party_wasm2c_wasm2c_wasm-rt-os-unix.c |   4 +-
 4 files changed, 24 insertions(+), 11 deletions(-)

diffs (97 lines):

diff -r 8a40ed37dc0e -r afd60b2dc6db www/firefox/distinfo
--- a/www/firefox/distinfo      Fri Dec 23 12:34:05 2022 +0000
+++ b/www/firefox/distinfo      Fri Dec 23 12:35:05 2022 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.485 2022/12/11 13:49:09 ryoon Exp $
+$NetBSD: distinfo,v 1.486 2022/12/23 12:35:05 nia Exp $
 
 BLAKE2s (firefox-107.0.1.source.tar.xz) = b2c7102eacf1f3aa7b3919f2af5511e3a5da245a81a8d26437dc39951d4336d3
 SHA512 (firefox-107.0.1.source.tar.xz) = e57e4bfcecbcc6dbe73f23577a14a2998c8c3f3d602f85ea06f99e0974e78481b9f7bdb019cb4e9733e59f56be1407edd64a2adb7b284bb4a87b46b1e2295dea
@@ -6,7 +6,7 @@
 BLAKE2s (nodejs-output-95.0.tgz) = c44b37d3605524a49157002f01c29f568f04194b0e635bc312de7ffdeb9a74c9
 SHA512 (nodejs-output-95.0.tgz) = 2faf326f4e100b66f8597c365cc2eb5d0eee26aae92a7e2446891f2178041aa71ba16eae37000acacd43a657025ec11c18db73b112f5c49cc21cdb882da6d798
 Size (nodejs-output-95.0.tgz) = 200627 bytes
-SHA1 (patch-browser_app_profile_firefox.js) = 7f6b4361fe62ccc2d1c092a5ace97ea2085727bf
+SHA1 (patch-browser_app_profile_firefox.js) = ee173b41332c1292d863aa6c8e9ee9553cb18c89
 SHA1 (patch-build_moz.configure_rust.configure) = 25ddfacd29cebbc6db005dbe61a2a7446d480678
 SHA1 (patch-config_gcc-stl-wrapper.template.h) = 9d1f15ff487efa9202114d19ed5668b4e7aa032a
 SHA1 (patch-config_makefiles_rust.mk) = 188178b184d79737247ed3770cc8f4370cd7f6c0
@@ -14,7 +14,7 @@
 SHA1 (patch-gfx_angle_checkout_src_common_third__party_smhasher_src_PMurHash.cpp) = e458c9c8dc66edc69c1874734af28a77fc5e3993
 SHA1 (patch-gfx_angle_checkout_src_compiler_translator_InfoSink.h) = b2adce9e65662283a11b6dcff40e95523e940045
 SHA1 (patch-gfx_skia_skia_src_core_SkCpu.cpp) = 36218819254f3681b9c717d652ea78c9f20d49ad
-SHA1 (patch-gfx_skia_skia_src_core_SkVM.cpp) = 13c058199ca1d91a8b7964f6626952ce8bd933a4
+SHA1 (patch-gfx_skia_skia_src_core_SkVM.cpp) = 93e26b6981197870d8197e0ca3a0f384d6e13f55
 SHA1 (patch-gfx_wr_swgl_build.rs) = df6ebfaabb4d27994e59a9d0eaf12c7cf08415fb
 SHA1 (patch-ipc_chromium_src_base_message__pump__libevent.cc) = 298642a3527804115b398fb7904a3596962932e3
 SHA1 (patch-ipc_chromium_src_base_platform__thread__posix.cc) = 35d20981d33ccdb1d8ffb8039e48798777f11658
@@ -37,7 +37,7 @@
 SHA1 (patch-third__party_libwebrtc_modules_video__capture_linux_device__info__v4l2.cc) = a38d6a7acbc8ba8060f2cf3c8325f7d96902b3f0
 SHA1 (patch-third__party_libwebrtc_modules_video__capture_linux_video__capture__v4l2.cc) = 28b9bb8b078b479d9cc0f8ccdc4d04e5a281c1b9
 SHA1 (patch-third__party_libwebrtc_system__wrappers_source_cpu__features__linux.cc) = b90e22b50879f7adcc1da3a993f52c0701b720f8
-SHA1 (patch-third__party_wasm2c_wasm2c_wasm-rt-os-unix.c) = 9b8ce4b823fd06951aac59bdb4a5642f256b8e3f
+SHA1 (patch-third__party_wasm2c_wasm2c_wasm-rt-os-unix.c) = e63607bcad6c25b11f58b0523ed5dfacddf9c36e
 SHA1 (patch-toolkit_components_terminator_nsTerminator.cpp) = bd7b2a0f2407c3ab95515b2f143c41c3ca6fb0c4
 SHA1 (patch-toolkit_modules_subprocess_subprocess__shared__unix.js) = 2303b753066298305ccae80d72765dbc4da5e0dc
 SHA1 (patch-toolkit_moz.configure) = 8de54693dc47b0993f220cc5a04af98925de1fb5
diff -r 8a40ed37dc0e -r afd60b2dc6db www/firefox/patches/patch-browser_app_profile_firefox.js
--- a/www/firefox/patches/patch-browser_app_profile_firefox.js  Fri Dec 23 12:34:05 2022 +0000
+++ b/www/firefox/patches/patch-browser_app_profile_firefox.js  Fri Dec 23 12:35:05 2022 +0000
@@ -1,11 +1,24 @@
-$NetBSD: patch-browser_app_profile_firefox.js,v 1.16 2022/05/16 05:39:52 nia Exp $
+$NetBSD: patch-browser_app_profile_firefox.js,v 1.17 2022/12/23 12:35:05 nia Exp $
 
 This patch modifies default Firefox settings - see the comments above
 each one.
 
---- browser/app/profile/firefox.js.orig        2022-04-28 23:01:46.000000000 +0000
+--- browser/app/profile/firefox.js.orig        2022-11-28 16:47:25.000000000 +0000
 +++ browser/app/profile/firefox.js
-@@ -2205,6 +2205,20 @@ pref("fission.frontend.simulate-messages
+@@ -2087,7 +2087,11 @@ pref("reader.pocket.ctaVersion", "");
+ 
+ pref("view_source.tab", true);
+ 
+-pref("dom.serviceWorkers.enabled", true);
++// On NetBSD, many web applications (e.g. Telegram, Mastodon, Twitter)
++// will freeze until the service worker is restarted in about:serviceworkers.
++// This is a workaround that makes most of these sites function.
++// The root cause of this should be investigated.
++pref("dom.serviceWorkers.enabled", false);
+ 
+ // Enable Push API.
+ pref("dom.push.enabled", true);
+@@ -2250,6 +2254,20 @@ pref("app.normandy.onsync_skew_sec", 600
  pref("toolkit.coverage.enabled", false);
  pref("toolkit.coverage.endpoint.base", "https://coverage.mozilla.org";);
  
diff -r 8a40ed37dc0e -r afd60b2dc6db www/firefox/patches/patch-gfx_skia_skia_src_core_SkVM.cpp
--- a/www/firefox/patches/patch-gfx_skia_skia_src_core_SkVM.cpp Fri Dec 23 12:34:05 2022 +0000
+++ b/www/firefox/patches/patch-gfx_skia_skia_src_core_SkVM.cpp Fri Dec 23 12:35:05 2022 +0000
@@ -1,9 +1,9 @@
-$NetBSD: patch-gfx_skia_skia_src_core_SkVM.cpp,v 1.2 2022/07/20 21:41:39 nia Exp $
+$NetBSD: patch-gfx_skia_skia_src_core_SkVM.cpp,v 1.3 2022/12/23 12:35:05 nia Exp $
 
 Work with PaX MPROTECT on NetBSD by stating that we will later make this memory
 block executable.
 
---- gfx/skia/skia/src/core/SkVM.cpp.orig       2022-07-05 12:21:05.000000000 +0000
+--- gfx/skia/skia/src/core/SkVM.cpp.orig       2022-11-28 16:47:38.000000000 +0000
 +++ gfx/skia/skia/src/core/SkVM.cpp
 @@ -2076,7 +2076,11 @@ namespace skvm {
          // Allocate space that we can remap as executable.
diff -r 8a40ed37dc0e -r afd60b2dc6db www/firefox/patches/patch-third__party_wasm2c_wasm2c_wasm-rt-os-unix.c
--- a/www/firefox/patches/patch-third__party_wasm2c_wasm2c_wasm-rt-os-unix.c    Fri Dec 23 12:34:05 2022 +0000
+++ b/www/firefox/patches/patch-third__party_wasm2c_wasm2c_wasm-rt-os-unix.c    Fri Dec 23 12:35:05 2022 +0000
@@ -1,9 +1,9 @@
-$NetBSD: patch-third__party_wasm2c_wasm2c_wasm-rt-os-unix.c,v 1.2 2022/07/20 22:09:32 wiz Exp $
+$NetBSD: patch-third__party_wasm2c_wasm2c_wasm-rt-os-unix.c,v 1.3 2022/12/23 12:35:05 nia Exp $
 
 Work with PaX MPROTECT on NetBSD by stating that we will later make this memory
 block executable.
 
---- third_party/wasm2c/wasm2c/wasm-rt-os-unix.c.orig   2022-07-05 12:21:22.000000000 +0000
+--- third_party/wasm2c/wasm2c/wasm-rt-os-unix.c.orig   2022-11-28 16:49:17.000000000 +0000
 +++ third_party/wasm2c/wasm2c/wasm-rt-os-unix.c
 @@ -48,6 +48,12 @@ void* os_mmap(void* hint, size_t size, i
      /* At most 16 G is allowed */



Home | Main Index | Thread Index | Old Index