Compare commits
12 commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 489576ce6b | |||
| 3e517ed1a7 | |||
| 85ef0281d7 | |||
| 8b9cde7cb6 | |||
| b559143f67 | |||
| 4f6cd571c8 | |||
| bd26ebb85e | |||
| 07f07ecf95 | |||
| 412c57f4c0 | |||
| 3b140cea64 | |||
| 8409cfacf4 | |||
| 73782302bb |
3 changed files with 11 additions and 15 deletions
5
linux/.gitignore
vendored
Normal file
5
linux/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
librewolf-*
|
||||
/version
|
||||
/source_release
|
||||
/work
|
||||
*.zip
|
||||
|
|
@ -61,6 +61,9 @@ package : dir
|
|||
( cd librewolf-$(full_version) && echo 'Packaging... (output hidden)' && \
|
||||
cat browser/locales/shipped-locales | xargs ./mach package-multi-locale --locales >/dev/null )
|
||||
|
||||
msix : dir
|
||||
( cd librewolf-$(full_version) && MAKEAPPX=~/.mozbuild/msix-packaging/makemsix ./mach repackage msix --publisher='CN=846D51B2-15A2-4033-86D1-071B877C86A7' --identity-name='31856maltejur.LibreWolf' --publisher-display-name='maltejur' )
|
||||
|
||||
dir : librewolf-$(full_version)
|
||||
librewolf-$(full_version) : librewolf-$(full_version).source.tar.gz
|
||||
rm -rf $@
|
||||
|
|
@ -77,7 +80,7 @@ $(mozbuild)/vs.tar.zst : # cache this file
|
|||
bootstrap : dir winsdk
|
||||
(cd librewolf-$(full_version) && ./mach --no-interactive bootstrap --application-choice=browser)
|
||||
# Rust supports aarch64-linux-android, arm-linux-androideabi, i686-linux-android, thumbv7neon-linux-androideabi, x86_64-linux-android, x86_64-pc-windows-msvc, x86_64-unknown-linux-gnu targets.
|
||||
~/.cargo/bin/rustup target add x86_64-pc-windows-msvc
|
||||
rustup target add x86_64-pc-windows-msvc
|
||||
( export t=$$(pwd)/librewolf-$(full_version) && \
|
||||
cd $(mozbuild) && \
|
||||
$$t/mach artifact toolchain --from-build linux64-binutils && \
|
||||
|
|
|
|||
|
|
@ -1,22 +1,10 @@
|
|||
# mozconfig - crosscompile from Linux to Windows
|
||||
|
||||
export MOZBUILD=$HOME/.mozbuild
|
||||
export WINDOWSSDKDIR="$MOZBUILD/win-cross/vs/Windows Kits/10"
|
||||
ac_add_options --target=x86_64-pc-mingw32
|
||||
mk_add_options "export LOWERCASE_DIRS=$MOZBUILD/win-cross"
|
||||
|
||||
EXTRA_PATH="$MOZBUILD/win-cross/vs/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64:"
|
||||
mk_add_options "export PATH=$EXTRA_PATH$PATH"
|
||||
|
||||
export CC="$MOZBUILD/clang/bin/clang-cl"
|
||||
export CXX="$MOZBUILD/clang/bin/clang-cl"
|
||||
export HOST_CC="$MOZBUILD/clang/bin/clang"
|
||||
export HOST_CXX="$MOZBUILD/clang/bin/clang++"
|
||||
|
||||
export WINE="$MOZBUILD/wine/bin/wine64"
|
||||
ac_add_options --enable-bootstrap
|
||||
export WINSYSROOT="$MOZBUILD/win-cross/vs"
|
||||
export MIDL="$MOZBUILD/wine/bin/widl"
|
||||
#export MIDL=midl
|
||||
#export MIDL=widl
|
||||
|
||||
###
|
||||
# TODO : fixme
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue