From bc6497b1503da3e98dfff59fed3ba37dfb0c011d Mon Sep 17 00:00:00 2001 From: Bert van der Weerd Date: Wed, 8 Dec 2021 20:32:24 +0100 Subject: [PATCH] bugfixes --- build.py | 41 +- patches/librewolf-pref-pane.patch.old | 1160 +++++++++++++++++++++++++ settings | 2 +- setup.nsi | 2 +- 4 files changed, 1188 insertions(+), 17 deletions(-) create mode 100644 patches/librewolf-pref-pane.patch.old diff --git a/build.py b/build.py index 7c2bf2f..f0026f9 100755 --- a/build.py +++ b/build.py @@ -1,8 +1,8 @@ #!/usr/bin/env python3 -pkgver = '94.0.2' -lwver = "{}.3".format(pkgver) -nightly_ver = '96.0a1' +pkgver = '95.0' +lwver = "{}".format(pkgver) +nightly_ver = '97.0a1' # # build.py - try move functionality away from that too big/horrible build script. @@ -212,12 +212,13 @@ def execute_extract(): def execute_build(): enter_srcdir() - exec("bash ./mach build") + #exec("bash -c \"MACH_USE_SYSTEM_PYTHON=1 ./mach build\"") + exec("bash -c \"./mach build\"") leave_srcdir() def execute_package(): enter_srcdir() - exec("bash ./mach package") + exec("bash -c \"./mach package\"") leave_srcdir() @@ -716,14 +717,21 @@ 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 -# theming bugs: ac_add_options --with-app-basename=LibreWolf -ac_add_options --with-branding=browser/branding/librewolf -ac_add_options --with-distribution-id=io.gitlab.librewolf-community -ac_add_options --with-unsigned-addon-scopes=app,system -ac_add_options --allow-addon-sideload +#ac_add_options --enable-update-channel=release +## theming bugs: ac_add_options --with-app-name=librewolf +## theming bugs: ac_add_options --with-app-basename=LibreWolf +#ac_add_options --with-branding=browser/branding/librewolf +#ac_add_options --with-distribution-id=io.gitlab.librewolf-community +#ac_add_options --with-unsigned-addon-scopes=app,system +#ac_add_options --allow-addon-sideload + + + + + # see issue # https://gitlab.com/librewolf-community/browser/arch/-/issues/49 export MOZ_REQUIRE_SIGNING= @@ -741,11 +749,14 @@ mk_add_options MOZ_TELEMETRY_REPORTING=0 # testing.. # MOZ_APP_NAME=librewolf # This gives the same theming issue as --with-app-name=librewolf + + +# TODO: find out how to support sandboxed libraries +#ac_add_options --without-wasm-sandboxed-libraries + + """ - - - main() script_exit(0) diff --git a/patches/librewolf-pref-pane.patch.old b/patches/librewolf-pref-pane.patch.old new file mode 100644 index 0000000..370742c --- /dev/null +++ b/patches/librewolf-pref-pane.patch.old @@ -0,0 +1,1160 @@ +diff --git a/browser/components/preferences/jar.mn b/browser/components/preferences/jar.mn +index 4f3babe..97c7ec2 100644 +--- a/browser/components/preferences/jar.mn ++++ b/browser/components/preferences/jar.mn +@@ -11,6 +11,7 @@ browser.jar: + content/browser/preferences/home.js + content/browser/preferences/search.js + content/browser/preferences/privacy.js ++ content/browser/preferences/librewolf.js + content/browser/preferences/containers.js + content/browser/preferences/sync.js + content/browser/preferences/experimental.js +diff --git a/browser/components/preferences/librewolf.inc.xhtml b/browser/components/preferences/librewolf.inc.xhtml +new file mode 100644 +index 0000000..74395a0 +--- /dev/null ++++ b/browser/components/preferences/librewolf.inc.xhtml +@@ -0,0 +1,381 @@ ++# This Source Code Form is subject to the terms of the Mozilla Public ++# License, v. 2.0. If a copy of the MPL was not distributed with this ++# file, You can obtain one at http://mozilla.org/MPL/2.0/. ++ ++