Merge branch 'master' into windows

This commit is contained in:
Malte Jürgens 2023-02-16 19:40:32 +01:00
commit 6ab3f6099d
Signed by: maltejur
GPG key ID: D29FBD5F93C0CFC3
8 changed files with 13 additions and 9 deletions

View file

@ -3,11 +3,12 @@ stages:
- build - build
- release - release
Build Docker Images: # Notes; we want short labes so we can see what is what, and
# allow image builds on all branches because don't wan to
# deal with them on the master branch
Images:
stage: images stage: images
when: manual when: manual
only:
- master
image: registry.gitlab.com/librewolf-community/browser/bsys5/dind image: registry.gitlab.com/librewolf-community/browser/bsys5/dind
tags: [autoscale] tags: [autoscale]
parallel: parallel:
@ -23,7 +24,6 @@ Build Docker Images:
- macos-x86_64 - macos-x86_64
- macos-aarch64 - macos-aarch64
- dind - dind
- windows
script: script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD registry.gitlab.com - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD registry.gitlab.com
- make docker-$DISTRO - make docker-$DISTRO

3
.gitmodules vendored Normal file
View file

@ -0,0 +1,3 @@
[submodule "submodules/windows"]
path = submodules/windows
url = https://gitlab.com/librewolf-community/browser/windows.git

View file

@ -35,3 +35,4 @@ repository. Then you can just build the target you want with:
This will pull a prebuilt build environment from This will pull a prebuilt build environment from
[this repository](https://gitlab.com/librewolf-community/browser/bsys5/container_registry). [this repository](https://gitlab.com/librewolf-community/browser/bsys5/container_registry).
If you also want to build that yourself, run `make docker-<TARGET>` first. If you also want to build that yourself, run `make docker-<TARGET>` first.

View file

@ -20,7 +20,7 @@ RUN ( zypper -n in mercurial python3 python3-pip python3-devel wget rpm-build ;
# run the bootstrap # run the bootstrap
RUN cd /tmp &&\ RUN cd /tmp &&\
wget -q -O librewolf-$version-$source_release.source.tar.gz https://gitlab.com/librewolf-community/browser/source/-/jobs/artifacts/main/raw/librewolf-$version-$source_release.source.tar.gz?job=Build &&\ wget -q -O librewolf-$version-$source_release.source.tar.gz https://gitlab.com/api/v4/projects/32320088/packages/generic/librewolf-source/$version-$source_release/librewolf-$version-$source_release.source.tar.gz &&\
tar xf librewolf-$version-$source_release.source.tar.gz &&\ tar xf librewolf-$version-$source_release.source.tar.gz &&\
cd librewolf-$version-$source_release &&\ cd librewolf-$version-$source_release &&\
MOZBUILD_STATE_PATH=$HOME/.mozbuild ./mach --no-interactive bootstrap --application-choice=browser &&\ MOZBUILD_STATE_PATH=$HOME/.mozbuild ./mach --no-interactive bootstrap --application-choice=browser &&\

View file

@ -24,7 +24,7 @@ RUN mkdir -p /osx-cross/MacOSX-SDKs &&\
rm -f MacOSX11.3.sdk.tar.xz rm -f MacOSX11.3.sdk.tar.xz
# run the bootstrap # run the bootstrap
RUN wget -q -O librewolf-$version-$source_release.source.tar.gz https://gitlab.com/librewolf-community/browser/source/-/jobs/artifacts/main/raw/librewolf-$version-$source_release.source.tar.gz?job=Build RUN wget -q -O librewolf-$version-$source_release.source.tar.gz https://gitlab.com/api/v4/projects/32320088/packages/generic/librewolf-source/$version-$source_release/librewolf-$version-$source_release.source.tar.gz
RUN tar xf librewolf-$version-$source_release.source.tar.gz RUN tar xf librewolf-$version-$source_release.source.tar.gz
WORKDIR librewolf-$version-$source_release WORKDIR librewolf-$version-$source_release
RUN echo ac_add_options --target=$arch-apple-darwin > mozconfig RUN echo ac_add_options --target=$arch-apple-darwin > mozconfig
@ -44,7 +44,7 @@ RUN cp -r cctools /root/.mozbuild
RUN cp -r sysroot-wasm32-wasi /root/.mozbuild RUN cp -r sysroot-wasm32-wasi /root/.mozbuild
## RUN cp -r clang /root/.mozbuild ## RUN cp -r clang /root/.mozbuild
RUN cp -r dmg /root/.mozbuild RUN cp -r dmg /root/.mozbuild
RUN cp -r hfsplus-tools /root/.mozbuild # RUN cp -r hfsplus-tools /root/.mozbuild
RUN pip install testresources pycairo RUN pip install testresources pycairo
WORKDIR .. WORKDIR ..
RUN rm -rf librewolf-$version-$source_release librewolf-$version-$source_release.source.tar.gz RUN rm -rf librewolf-$version-$source_release librewolf-$version-$source_release.source.tar.gz

View file

@ -22,7 +22,7 @@ export HOST_CC="$CROSS/clang/bin/clang"
export HOST_CXX="$CROSS/clang/bin/clang++" export HOST_CXX="$CROSS/clang/bin/clang++"
# These are needed for packaging. # These are needed for packaging.
export MKFSHFS="$CROSS/hfsplus-tools/newfs_hfs" # export MKFSHFS="$CROSS/hfsplus-tools/newfs_hfs"
export DMG_TOOL="$CROSS/dmg/dmg" export DMG_TOOL="$CROSS/dmg/dmg"
export HFS_TOOL="$CROSS/dmg/hfsplus" export HFS_TOOL="$CROSS/dmg/hfsplus"

1
submodules/windows Submodule

@ -0,0 +1 @@
Subproject commit 33821c61665f96aaec2847c740c7e322b629d7da

@ -1 +0,0 @@
Subproject commit 51110653120b2c84ee9412d21f8e8c3744f70b12