v95.0
This commit is contained in:
parent
bc6497b150
commit
71b0ef45a0
1 changed files with 4 additions and 33 deletions
37
build.py
37
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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue