updated HOW_TO_BUILD.md

This commit is contained in:
Bert van der Weerd 2021-02-08 10:59:26 +01:00 committed by Shreyas Minocha
parent 70742ca542
commit b8ef2ef81c
No known key found for this signature in database
GPG key ID: 3740FE9FC5772203

View file

@ -1,11 +1,13 @@
Building the package means first getting FF itself to build:
------------------------------------------------------------
Building the package: These instructions are for an _interactive_ build.
---------------------
For now, if you want to attempt to build, this build does require you to: * Follow the guidelines in the [Building Firefox On Windows](https://firefox-source-docs.mozilla.org/setup/windows_build.html) documentation from mozilla.org. And I actually recommend to follow this documentation until you have a working |mach run|. I also recommend using Git, not Mercurial, as we're going to need it later in our build.sh.
* Once you have built the entire mozilla-unified with all the mach bootstrap stuff (which will install the needed binaries in $HOME/.mozbuild), don't forget to copy the entire
* First build the mozilla-unified as explained in the mozilla docs, using all the ./mach bootstrap stuff C:\Program Files\Git folder to /c/mozilla-source to get a sed.exe that understands the -z option,
* You can delete this mozilla-unified thing to save some space (try ./mach run on it just for fun) and to get sha256sum.exe.
* You can now delete the mozilla-unified folder, or keep it, if you want to play with FF itself.
* Then clone the windows repo: * Then clone the windows repo:
``` ```
git clone --recursive https://gitlab.com/librewolf-community/browser/windows.git git clone --recursive https://gitlab.com/librewolf-community/browser/windows.git
@ -14,13 +16,7 @@ git clone --recursive https://gitlab.com/librewolf-community/browser/windows.git
``` ```
bash build.sh bash build.sh
``` ```
* You can perform each of the build steps individually and the overall script structure follows PKGBULD as used on Archlinux * This should produce a zip and installer exe in your top folder.
* This will produce a **librewolf-85.0.en-US.win64.zip** in this windows folder.
Once you have built the entire mozilla-unified with all the mach bootstrap stuff (which will
install the needed binaries in $HOME/.mozbuild), don't forget to copy the entire
C:\Program Files\Git folder to /c/mozilla-source to get a sed.exe that understands the -z option,
and to get sha256sum.exe.
build.sh build.sh
-------- --------