0
Fork 0
mirror of https://codeberg.org/librewolf/source.git synced 2024-12-22 05:33:03 -05:00
LibreWolf - Source Archive
Find a file
2022-02-05 16:05:44 +01:00
assets Merge branch 'main' into add-mozilla-kde.patch 2022-02-05 16:05:44 +01:00
patches Merge branch 'main' into add-mozilla-kde.patch 2022-02-05 16:05:44 +01:00
scripts Custom uBO assets.json patch 2022-01-26 10:30:39 +00:00
submodules Revert "update .gitlab-ci.yml" 2022-02-03 16:59:05 +01:00
themes/browser add MOZ_APP_DISPLAYNAME 2022-02-03 16:28:16 +01:00
.gitignore inbetween commits 2022-01-08 22:55:25 +01:00
.gitlab-ci.yml Revert "update .gitlab-ci.yml" 2022-02-03 16:59:05 +01:00
.gitmodules removed pref-pane submodule 2022-02-03 10:17:35 +01:00
LICENSE Add LICENSE 2021-11-19 17:42:30 +00:00
Makefile readme.md 2022-02-03 11:20:10 +01:00
README.md Updated readme 2022-02-04 09:27:00 +01:00
README.md.in Updated readme 2022-02-04 09:27:00 +01:00
release v93.0.3-3 2022-02-03 17:41:18 +01:00
version v96.0.3-1 2022-01-27 20:51:39 +01:00

LibreWolf build instructions

First, let's download the latest tarball. This tarball is the latest produced by the CI.

tar xf <tarball>
cd <folder>
make bootstrap build package run

How to make a patch:

The easiest way to make patches is to go to the LibreWolf source folder:

cd librewolf-$(cat version)
git init
git add <path_to_file_you_changed>
git commit -am initial-commit
git diff > ../mypatch.patch

We have Gitter / Matrix rooms, and on the website we have links to the various issue trackers.

Building LibreWolf with git:

  1. Clone the git repository via https:
git clone --recursive https://gitlab.com/librewolf-community/browser/source.git

or Git:

git clone --recursive git@gitlab.com:librewolf-community/browser/source.git

cd into it, build the LibreWolf tarball, bootstrap the build environment, and finally, perform the build:

cd source
make all
make bootstrap
make build

After that, you can either build a tarball from it, or run it:

make package
make run

How to create a patch for problems in Mozilla's Bugzilla.

Well, first of all:

Now that you have a patch in LibreWolf, that's not enough to upload to Mozilla. See, Mozilla only accepts patches against Nightly. So here is how to do that:

hg clone https://hg.mozilla.org/mozilla-unified
cd mozilla-unified
hg update
MOZBUILD_STATE_PATH=$HOME/.mozbuild ./mach --no-interactive bootstrap --application-choice=browser
./mach build
./mach run

Now you can apply your patch to Nightly:

patch -p1 -i ../mypatch.patch

Now you let Mercurial create the patch:

hg diff > ../my-nightly-patch.patch

And it can be uploaded to Bugzilla.

(copy of Mozilla readme) Now the fun starts

Time to start hacking! You should join us on Matrix, say hello in the Introduction channel, and find a bug to start working on. See the Firefox Contributors Quick Reference to learn how to test your changes, send patches to Mozilla, update your source code locally, and more.

Hey, I'm using a Mac or Windows :(

We understand, life isn't always fair 😺. The same steps as above do apply, you'll just have to walk through the beginning part of the guides for MacOS, Windows.