0
Fork 0
mirror of https://codeberg.org/librewolf/source.git synced 2024-12-22 13:43:04 -05:00
LibreWolf - Source Archive
Find a file
Bert van der Weerd 9609b0d2c0
v92.0.2-3
2021-11-21 00:11:04 +01:00
assets Fix stdout flushing issue 2021-11-20 11:17:38 +01:00
patches removed some trash 2021-11-20 07:31:58 +01:00
themes/browser/branding/librewolf removed some trash 2021-11-20 07:31:58 +01:00
.gitlab-ci.yml Changed to tar.gz tarballs, tar.xz files take too long to compress. 2021-11-20 11:07:22 +01:00
LICENSE Add LICENSE 2021-11-19 17:42:30 +00:00
Makefile Changed to tar.gz tarballs, tar.xz files take too long to compress. 2021-11-20 11:07:22 +01:00
README.md v92.0.2-3 2021-11-21 00:11:04 +01:00
version v92.0.2-3 2021-11-21 00:11:04 +01:00

Building LibreWolf from source:

First, let's head over to the releases page; note and download the latest version. Once downloaded, extract it.

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

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.

Now we're ready to actually build LibreWolf:

cd librewolf-$(version)
./mach build

Also takes me an hour. Then, we can run it:

./mach run

Or make a package:

./mach package

Building LibreWolf source tarball:

You don't need the build environment for this. If you don't have write access, just:

git clone https://gitlab.com/stanzabird/source.git
cd source
make all

If you do have write access, we're first gonna check for a newer version of Firefox:

git clone git@gitlab.com:<your_username>/source.git
cd source
make check

If there is a new version, it's a good time to git commit and trigger a CI build job.

git commit -am v$(cat version) && git push

To build the source archive:

make all