pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/firefox



Module Name:    pkgsrc
Committed By:   nia
Date:           Mon May 16 05:39:52 UTC 2022

Modified Files:
        pkgsrc/www/firefox: distinfo
        pkgsrc/www/firefox/patches: patch-browser_app_profile_firefox.js

Log Message:
firefox: Enable WebRender by default, bypassing Firefox's internal
soup of checks to see whether the GPU is "good enough" (that has a failure
rate of 100% on NetBSD).  Greatly improves general web page performance,
even with the unaccelerated llvmpipe OpenGL implementation.  Tested
with various Xorg drivers.


To generate a diff of this commit:
cvs rdiff -u -r1.465 -r1.466 pkgsrc/www/firefox/distinfo
cvs rdiff -u -r1.15 -r1.16 \
    pkgsrc/www/firefox/patches/patch-browser_app_profile_firefox.js

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/firefox/distinfo
diff -u pkgsrc/www/firefox/distinfo:1.465 pkgsrc/www/firefox/distinfo:1.466
--- pkgsrc/www/firefox/distinfo:1.465   Sat May 14 10:30:26 2022
+++ pkgsrc/www/firefox/distinfo Mon May 16 05:39:52 2022
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.465 2022/05/14 10:30:26 tnn Exp $
+$NetBSD: distinfo,v 1.466 2022/05/16 05:39:52 nia Exp $
 
 BLAKE2s (firefox-100.0.source.tar.xz) = 4812f3e0fb74292ce21fa024ae27e8f3aa534b58cd0bbac8e01f67d7ccc42196
 SHA512 (firefox-100.0.source.tar.xz) = 29c56391c980209ff94c02a9aba18fe27bea188bdcbcf7fe0c0f27f61e823f4507a3ec343b27cb5285cf3901843e9cc4aca8e568beb623c4b69b7282e662b2aa
@@ -6,7 +6,7 @@ Size (firefox-100.0.source.tar.xz) = 487
 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) = 89cea0a66457c96ad0b94aaa524aa5942ad781d0
+SHA1 (patch-browser_app_profile_firefox.js) = 7f6b4361fe62ccc2d1c092a5ace97ea2085727bf
 SHA1 (patch-build_moz.configure_rust.configure) = 25ddfacd29cebbc6db005dbe61a2a7446d480678
 SHA1 (patch-config_gcc-stl-wrapper.template.h) = 9d1f15ff487efa9202114d19ed5668b4e7aa032a
 SHA1 (patch-config_makefiles_rust.mk) = fa9f0f59a179cae2562a76110fada49039490fb8

Index: pkgsrc/www/firefox/patches/patch-browser_app_profile_firefox.js
diff -u pkgsrc/www/firefox/patches/patch-browser_app_profile_firefox.js:1.15 pkgsrc/www/firefox/patches/patch-browser_app_profile_firefox.js:1.16
--- pkgsrc/www/firefox/patches/patch-browser_app_profile_firefox.js:1.15        Sun May  3 18:45:30 2020
+++ pkgsrc/www/firefox/patches/patch-browser_app_profile_firefox.js     Mon May 16 05:39:52 2022
@@ -1,8 +1,11 @@
-$NetBSD: patch-browser_app_profile_firefox.js,v 1.15 2020/05/03 18:45:30 maya Exp $
+$NetBSD: patch-browser_app_profile_firefox.js,v 1.16 2022/05/16 05:39:52 nia Exp $
 
---- browser/app/profile/firefox.js.orig        2019-07-06 01:48:29.000000000 +0000
+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
-@@ -1851,6 +1851,12 @@ pref("fission.frontend.simulate-messages
+@@ -2205,6 +2205,20 @@ pref("fission.frontend.simulate-messages
  pref("toolkit.coverage.enabled", false);
  pref("toolkit.coverage.endpoint.base", "https://coverage.mozilla.org";);
  
@@ -12,6 +15,14 @@ $NetBSD: patch-browser_app_profile_firef
 +// Enable system addons, for example langpacks from www/firefox-l10n
 +pref("extensions.autoDisableScopes", 11);
 +
++// Firefox includes a complex mechanism for "blacklisting" GPUs that
++// appears to fail on a NetBSD system where the only available OpenGL
++// implementations are all from Mesa.  WebRender was supposed to be
++// enabled by default from Firefox 91 onwards and appears to greatly
++// improve performance even with acceleration disabled at the kernel
++// level.
++pref("gfx.webrender.all", true);
++
  // Discovery prefs
  pref("browser.discovery.enabled", true);
  pref("browser.discovery.containers.enabled", true);



Home | Main Index | Thread Index | Old Index