bugfixes
This commit is contained in:
parent
37b90eb5a5
commit
b019f87eb1
6 changed files with 61 additions and 0 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
/librewolf-*-*.source.tar.gz
|
||||||
|
/typescript
|
||||||
12
Dockerfile
12
Dockerfile
|
|
@ -0,0 +1,12 @@
|
||||||
|
ARG distro
|
||||||
|
|
||||||
|
FROM $distro
|
||||||
|
|
||||||
|
# dependencies needed to run ./mach bootstrap
|
||||||
|
|
||||||
|
RUN ( apt -y update && apt -y upgrade && apt -y install mercurial python3 python3-dev python3-pip ; true)
|
||||||
|
RUN ( dnf -y upgrade && dnf -y install mercurial python3 python3-devel && python3 -m pip install --user mercurial ; true)
|
||||||
|
|
||||||
|
# our work happens here, on the host filesystem.
|
||||||
|
WORKDIR /work
|
||||||
|
VOLUME ["/work"]
|
||||||
44
Makefile
44
Makefile
|
|
@ -0,0 +1,44 @@
|
||||||
|
.PHONY : help all clean veryclean fetch prune
|
||||||
|
|
||||||
|
|
||||||
|
version:=$(shell cat version)
|
||||||
|
release:=$(shell cat release)
|
||||||
|
source_release:=$(shell cat source_release)
|
||||||
|
|
||||||
|
|
||||||
|
help :
|
||||||
|
@echo "Use: make [help] [all] [clean] [veryclean] [fetch] [prune]"
|
||||||
|
|
||||||
|
all :
|
||||||
|
${MAKE} make-docker-image-debian11
|
||||||
|
${MAKE} run-docker-image-debian11
|
||||||
|
clean :
|
||||||
|
sudo rm -rf work
|
||||||
|
|
||||||
|
veryclean :
|
||||||
|
|
||||||
|
prune :
|
||||||
|
docker system prune --all --force
|
||||||
|
|
||||||
|
# fetching the source
|
||||||
|
tarball=librewolf-$(version)-$(source_release).source.tar.gz
|
||||||
|
fetch : $(tarball)
|
||||||
|
$(tarball) :
|
||||||
|
wget -O $(tarball) "https://gitlab.com/librewolf-community/browser/source/-/jobs/artifacts/main/raw/$(tarball)?job=Build"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# debian11
|
||||||
|
tag=debian11
|
||||||
|
tag_distro=debian:bullseye
|
||||||
|
make-docker-image-debian11 :
|
||||||
|
script -e -c 'time docker build --no-cache --build-arg distro=$(tag_distro) -t librewolf/bsys5-image-$(tag) - < Dockerfile'
|
||||||
|
run-docker-image-debian11 :
|
||||||
|
sudo rm -rf work
|
||||||
|
mkdir work
|
||||||
|
(cd work && tar xf ../$(tarball))
|
||||||
|
script -e -c 'time docker run --rm -v $(shell pwd)/work:/work:rw librewolf/bsys5-image-$(tag) sh -c "cd /work/librewolf-$(version) && MOZBUILD_STATE_PATH=$$HOME/.mozbuild ./mach --no-interactive bootstrap --application-choice=browser && . /root/.cargo/env && cargo install cbindgen && ./mach build && ./mach package"'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
1
release
Normal file
1
release
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
1
|
||||||
1
source_release
Normal file
1
source_release
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
3
|
||||||
1
version
Normal file
1
version
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
96.0.3
|
||||||
Loading…
Add table
Reference in a new issue