Sat Aug 5 13:37:25 CEST 2023
This commit is contained in:
parent
42db51e2f9
commit
f15d6bd2dd
1 changed files with 5 additions and 32 deletions
|
|
@ -1,36 +1,9 @@
|
||||||
## build-time dependencies:
|
## History
|
||||||
|
|
||||||
To build the source tarball, we need some packages.
|
Since the original `Gitlab.com` repository was lost, we have to start again.
|
||||||
|
|
||||||
* As root, do:
|
## Links
|
||||||
|
|
||||||
```
|
* https://www.freshports.org/www/librewolf/
|
||||||
pkg install bash gmake wget gnupg python3
|
* https://cgit.freebsd.org/ports/tree/www/librewolf
|
||||||
```
|
|
||||||
|
|
||||||
The `Makefile` is GNU specific, so we use `gmake` throughout:
|
|
||||||
|
|
||||||
```
|
|
||||||
gmake fetch && gmake all
|
|
||||||
```
|
|
||||||
|
|
||||||
That should yield the latest source tarball, named like so:
|
|
||||||
|
|
||||||
* `librewolf-$(version)-$(release).source.tar.gz`, and it does have a sha256 checksum file as well.
|
|
||||||
|
|
||||||
The next step in the quest is to actually build librewolf using this tarball.
|
|
||||||
|
|
||||||
* As root: `pkg install py39-pip`. We need to symlink to pip3 for this:
|
|
||||||
|
|
||||||
```
|
|
||||||
cd /usr/local/bin
|
|
||||||
ln -s pip pip3
|
|
||||||
```
|
|
||||||
|
|
||||||
* Install Rust using `pkg install rust`
|
|
||||||
* Install cbindgen with cargo: `cargo install cbindgen`
|
|
||||||
* Update your PATH to also search in: `$HOME/.cargo/bin`
|
|
||||||
* Extract the tarball somewhere and change to it.
|
|
||||||
* Run: `./mach --no-interactive bootstrap --application-choice=browser`
|
|
||||||
* Run: `./mach build`
|
|
||||||
* install libclang, `pkg install llvm`
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue