Builder/README.md

147 lines
3.5 KiB
Markdown
Raw Normal View History

2024-09-08 23:25:07 +00:00
<p align="center">
<img src="https://weforgecode.xyz/Spitfire/Branding/raw/branch/main/icon5.svg" alt="Logo" width="64" height="64">
</p>
2024-03-25 18:37:34 +00:00
2024-09-08 23:25:07 +00:00
<p align="center" style="font-size: 32px;">
<strong>Spitfire Builder</strong>
</p>
<p align="center">
This is a "simple" script for building the Spitfire Browser based on Mozilla Firefox source code.
</p>
2024-03-25 21:09:22 +00:00
## Dependencies
- Git
2024-09-08 23:25:07 +00:00
- Golang (tested with v1.21)
2024-09-10 20:43:35 +00:00
- Python 3.11 and pip3
2024-09-13 10:47:30 +00:00
- Mercurial (hg)
*Python 3.11, pip3, and Mercurial (hg) are dependencies needed to build Firefox, and they might change in the future or based on your operating system. For Windows, you need to install MozillaBuild. Please ensure you have all the dependencies to build Firefox by following the instructions on Mozilla Firefox's website!*
2024-09-08 23:25:07 +00:00
# Example usage:
## Build:
```sh
go run . -a
```
## Upload:
2024-03-25 21:09:22 +00:00
2024-09-08 23:25:07 +00:00
```sh
go run . --upload -c --upload-path=./mozilla-central/obj-x86_64-pc-linux-gnu/dist/bin
```
2024-03-25 21:09:22 +00:00
2024-09-08 23:25:07 +00:00
## Build and upload:
2024-03-25 21:09:22 +00:00
2024-09-08 23:25:07 +00:00
```sh
go run . --upload -c --upload-path=./mozilla-central/obj-x86_64-pc-linux-gnu/dist/bin -a
```
2024-03-25 21:09:22 +00:00
2024-09-08 23:25:07 +00:00
## Display all flags:
2024-03-25 21:09:22 +00:00
2024-09-08 23:25:07 +00:00
```sh
go run . -h
2024-08-03 18:11:24 +00:00
```
2024-09-08 23:25:07 +00:00
### Config file for uploading example:
*sourceforge_config.json*
2024-08-03 18:11:24 +00:00
2024-09-08 23:25:07 +00:00
```json
{
"SFKeyPath": "~/.ssh/id_rsa.pub",
"SFUser": "internet-addict",
"SFHost": "web.sourceforge.net",
"SFProject": "spitfire-browser"
}
```
## APPINDEX example:
2024-08-03 18:11:24 +00:00
2024-09-08 23:25:07 +00:00
```
C:905cd0cc2dea9e400e1ecd099462b6b19188a9f1
P:Spitfire
R:nightly
V:2024.09.08
A:amd64
S:788506622
I:3324483350
T:Spitfire build
U:https://spitfirebrowser.com/
L:AGPL-3.0
o:browser
m:Internet Addict
t:1725830641
c:905cd0cc2dea9e400e1ecd099462b6b19188a9f1
D:
p:linux
q:
Z:905cd0cc2dea9e400e1ecd099462b6b19188a9f1
2024-08-03 18:11:24 +00:00
```
2024-09-08 23:25:07 +00:00
## Repositary structure
2024-08-03 18:11:24 +00:00
```
spitfire-browser/
├── browser/
2024-09-08 23:25:07 +00:00
│ ├── amd64/
2024-08-03 18:11:24 +00:00
│ │ ├── stable/
2024-09-08 23:25:07 +00:00
│ │ │ ├── latest/deb.tar.gz
│ │ │ ├── x.x.x/deb.tar.gz
2024-08-03 18:11:24 +00:00
│ │ ├── nightly/
2024-09-08 23:25:07 +00:00
│ │ ├── latest/deb.tar.gz
│ │ ├── yyyy-mm-dd/deb.tar.gz
2024-08-03 18:11:24 +00:00
│ ├── arm/
│ │ ├── stable/
│ │ │ ├── latest/
│ │ │ ├── x.x.x/
│ │ ├── nightly/
│ │ ├── latest/
│ │ ├── yyyy-mm-dd/
├── cli-package-manager/
│ ├── stable/
│ │ ├── latest/
│ │ ├── x.x.x/
│ ├── nightly/
│ ├── latest/
│ ├── yyyy-mm-dd/
├── gui-installer/
│ ├── stable/
│ │ ├── latest/
│ │ ├── x.x.x/
│ ├── nightly/
│ ├── latest/
│ ├── yyyy-mm-dd/
├── gui-package-manager/
│ ├── stable/
│ │ ├── latest/
│ │ ├── x.x.x/
│ ├── nightly/
│ ├── latest/
│ ├── yyyy-mm-dd/
├── addons/
│ ├── themes/
│ │ ├── stable/
│ │ │ ├── latest/
│ │ │ ├── x.x.x/
│ │ ├── nightly/
│ │ ├── latest/
│ │ ├── yyyy-mm-dd/
│ ├── custom-configs/
│ │ ├── stable/
│ │ │ ├── latest/
│ │ │ ├── x.x.x/
│ │ ├── nightly/
│ │ ├── latest/
│ │ ├── yyyy-mm-dd/
│ ├── search-engines/
│ ├── stable/
│ │ ├── latest/
│ │ ├── x.x.x/
│ ├── nightly/
│ ├── latest/
│ ├── yyyy-mm-dd/
2024-09-08 23:25:07 +00:00
├── APPINDEX
2024-08-03 18:11:24 +00:00
```