From 71b0ef45a0dbeb537bfa498a35017a3338228df5 Mon Sep 17 00:00:00 2001 From: Bert van der Weerd Date: Fri, 10 Dec 2021 13:53:22 +0100 Subject: [PATCH] v95.0 --- build.py | 37 ++++--------------------------------- 1 file changed, 4 insertions(+), 33 deletions(-) diff --git a/build.py b/build.py index f0026f9..9863901 100755 --- a/build.py +++ b/build.py @@ -249,6 +249,7 @@ def create_mozconfig(contents): def execute_lw_do_patches(): if options.no_librewolf: return + if not options.src in ['release','nightly','gecko-dev']: return @@ -271,42 +272,16 @@ def execute_lw_do_patches(): exec("cp -v ../files/configure.sh browser/branding/librewolf") patches = [] - + if options.src == 'release': # production patches patches = [ "../common/patches/about-dialog.patch", - "../common/patches/allow-ubo-private-mode.patch", - "../common/patches/allow_dark_preference_with_rfp.patch", - "../common/patches/context-menu.patch", - "../common/patches/megabar.patch", - "../common/patches/mozilla-vpn-ad.patch", - "../common/patches/mozilla_dirs.patch", - "../common/patches/remove_addons.patch", - "../common/patches/search-config.patch", - "../common/patches/sed-patches/allow-searchengines-non-esr.patch", - "../common/patches/sed-patches/disable-pocket.patch", - "../common/patches/sed-patches/remove-internal-plugin-certs.patch", - "../common/patches/sed-patches/stop-undesired-requests.patch", - "../common/patches/ui-patches/add-language-warning.patch", - "../common/patches/ui-patches/pref-naming.patch", - "../common/patches/ui-patches/remove-branding-urlbar.patch", - "../common/patches/ui-patches/remove-cfrprefs.patch", - "../common/patches/ui-patches/remove-organization-policy-banner.patch", - "../common/patches/ui-patches/remove-snippets-from-home.patch", - "../common/patches/ui-patches/sanitizing-description.patch", - "../common/patches/urlbarprovider-interventions.patch", - ] - - elif options.src == 'nightly' or options.src == 'gecko-dev': - # patches for future releases are caught with nightly - patches = [ - - "../common/patches/about-dialog.patch", + # BUG: this patch seems to fail and break librewolf.exe at startup "../common/patches/allow-ubo-private-mode.patch", - "../common/patches/allow_dark_preference_with_rfp.patch", + "../common/patches/context-menu.patch", "../common/patches/megabar.patch", "../common/patches/mozilla-vpn-ad.patch", @@ -328,7 +303,6 @@ def execute_lw_do_patches(): ] - for p in patches: patch(p) @@ -716,9 +690,6 @@ ac_add_options --enable-rust-simd ac_add_options --enable-optimize #ac_add_options --disable-optimize - - - # Branding #ac_add_options --enable-update-channel=release ## theming bugs: ac_add_options --with-app-name=librewolf