0
Fork 0
mirror of https://codeberg.org/librewolf/source.git synced 2025-01-18 10:22:30 -05:00
LibreWolf/README.md.in

43 lines
1.2 KiB
Markdown
Raw Normal View History

2022-02-03 10:31:58 +01:00
## The LibreWolf build instructions
2022-02-03 10:17:35 +01:00
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 buld environment, and finally, perform the build:
```
cd source
make all
make bootstrap
make build
```
2022-02-03 10:26:16 +01:00
After that, you can either build a tarball from it, or run it:
```
make package
make run
```
2022-02-03 10:47:05 +01:00
#### How to make a patch
2022-02-03 10:26:16 +01:00
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.
2022-02-03 10:17:35 +01:00
2022-02-03 10:47:05 +01:00
#### Building LibreWolf with a tarball instead of git:
2022-02-03 10:36:29 +01:00
First, let's **[download the latest tarball](https://gitlab.com/librewolf-community/browser/source/-/jobs/artifacts/main/raw/librewolf-__VERSION__-__RELEASE__.source.tar.gz?job=Build)**. This tarball is the latest produced by the [CI](https://gitlab.com/librewolf-community/browser/source/-/jobs).
```
tar xf <tarball>
cd <folder>
2022-02-03 10:38:58 +01:00
make bootstrap build package run
2022-02-03 10:36:29 +01:00
```