From 059729fc57a2170efc27d5a5210ef5cbaa457e1b Mon Sep 17 00:00:00 2001 From: Bert van der Weerd Date: Sun, 21 Nov 2021 08:52:50 +0100 Subject: [PATCH] Added comment about bootstrap.py --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 26fc055..2429133 100644 --- a/README.md +++ b/README.md @@ -1,19 +1,19 @@ ## Building LibreWolf from source: -First, let's [download the latest tarball](https://gitlab.com/stanzabird/source/-/jobs/artifacts/main/raw/librewolf-94.0.2.source.tar.gz?job=build-job). Once downloaded, extract it. +First, let's [download the latest tarball](https://gitlab.com/stanzabird/source/-/jobs/artifacts/main/raw/librewolf-94.0.2.source.tar.gz?job=build-job). + +Next, we set a _version_ variable and creat ourselves a build folder. ``` export version=$(cat version) mkdir build cd build - -wget -q https://fresh.librewolf.io/librewolf-$(version)/librewolf-$(version).source.tar.gz -tar xf librewolf-$(version).source.tar.gz +tar xf ../librewolf-$(version).source.tar.gz ``` Next step, if you have not done so already, you must create the build environment: ``` cp librewolf-$(version)/lw-assets/bootstrap.py . python3 bootstrap.py --no-interactive --application-choice=browser ``` -It takes about an hour for me to complete, but it needs to be done only once. This step might fail and cause problems. +It takes about an hour for me to complete, but it needs to be done only once. This step might fail and cause problems. Why Mozilla decided to make the build source tree dependent is a bit.. lazy perhaps? I would have liked to be able to set up the build environment in one step, in a second step checkout the entire mozilla source, or in our case, use our own source. It's a waste of time and diskspace. Now we're ready to actually build LibreWolf: ```