From af6c1a2647bb9fa97dd680335faf306b6c4c7e3d Mon Sep 17 00:00:00 2001 From: Bert van der Weerd Date: Thu, 27 Jan 2022 20:51:39 +0100 Subject: [PATCH] v96.0.3-1 --- README.md | 16 ++++++++-------- release | 2 +- version | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 2d14bd8..cda6171 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ ## Building LibreWolf from source: -First, let's **[download the latest tarball](https://gitlab.com/librewolf-community/browser/source/-/jobs/artifacts/main/raw/librewolf-96.0.2-2.source.tar.gz?job=Build)**. This tarball is the latest produced by the [CI](https://gitlab.com/librewolf-community/browser/source/-/jobs). +First, let's **[download the latest tarball](https://gitlab.com/librewolf-community/browser/source/-/jobs/artifacts/main/raw/librewolf-96.0.3-1.source.tar.gz?job=Build)**. This tarball is the latest produced by the [CI](https://gitlab.com/librewolf-community/browser/source/-/jobs). To download the latest from a script, use wget/curl like this: ``` -wget -O librewolf-96.0.2-2.source.tar.gz https://gitlab.com/librewolf-community/browser/source/-/jobs/artifacts/main/raw/librewolf-96.0.2-2.source.tar.gz?job=Build -curl -L -o librewolf-96.0.2-2.source.tar.gz https://gitlab.com/librewolf-community/browser/source/-/jobs/artifacts/main/raw/librewolf-96.0.2-2.source.tar.gz?job=Build +wget -O librewolf-96.0.3-1.source.tar.gz https://gitlab.com/librewolf-community/browser/source/-/jobs/artifacts/main/raw/librewolf-96.0.3-1.source.tar.gz?job=Build +curl -L -o librewolf-96.0.3-1.source.tar.gz https://gitlab.com/librewolf-community/browser/source/-/jobs/artifacts/main/raw/librewolf-96.0.3-1.source.tar.gz?job=Build ``` Next, we create ourselves a build folder and extract the tarball. @@ -13,14 +13,14 @@ Next, we create ourselves a build folder and extract the tarball. ``` mkdir build cd build -tar xf ../librewolf-96.0.2-2.source.tar.gz +tar xf ../librewolf-96.0.3-1.source.tar.gz ``` ### build environment Next step, if you have not done so already, you must _create the build environment_: ``` -./librewolf-96.0.2/lw/mozfetch.sh +./librewolf-96.0.3/lw/mozfetch.sh ``` This would create a _mozilla-unified_ folder in our 'build' folder, or basically anywhere that is your current working directory. It takes about an hour for me to complete, but it needs to be done only once. This step might fail and cause problems. Hack a bit, and if that fails you can ask on our [Gitter](https://gitter.im/librewolf-community/librewolf)/[Matrix](https://matrix.to/#/#librewolf:matrix.org) channels. There is no need to actually build _mozilla-unified_ (Mozilla Nightly) itself, nor is the folder needed to build LibreWolf. So you can remove it: `rm -rf mozilla-unfied` if you don't plan on using/exploring it. @@ -33,12 +33,12 @@ A few resources: * [Compiling C to WebAssembly using clang/LLVM and WASI](https://00f.net/2019/04/07/compiling-to-webassembly-with-llvm-and-clang/). * [Firefox 95 on POWER](https://www.talospace.com/2021/12/firefox-95-on-power.html). -To setup the wasi sdk _headers_, you can use _librewolf-96.0.2/lw/setup-wasi-linux.sh_. Please note that this script is a bit experimental and not all kinks have been worked out, but it should work. +To setup the wasi sdk _headers_, you can use _librewolf-96.0.3/lw/setup-wasi-linux.sh_. Please note that this script is a bit experimental and not all kinks have been worked out, but it should work. This might not be enough on all systems. Some systems have the wasi-libc library already installed, and some don't. It depends on the installed version of Clang/LLVM it seems, which should be v8 or above. On debian-based systems: `sudo apt install wasi-libc`, on Arch: `https://archlinux.org/packages/community/any/wasi-libc/` (`pacman -Syu wasi-libc`). Instructions for macos/windows and perhaps other Linux distro's will be added here soon. Or, the other option is to not use these sandbox libraries: In this case we can't use our standard _mozconfig_ symlink from _mozconfig.new_ into _mozconfig.new.without-wasi_. In that case you have to type something along the lines of: ``` -cd librewolf-96.0.2 +cd librewolf-96.0.3 cp lw/mozconfig.new.without-wasi mozconfig cd .. ``` @@ -46,7 +46,7 @@ cd .. Now we're ready to actually build LibreWolf: ``` -cd librewolf-96.0.2 +cd librewolf-96.0.3 ./mach build ``` Also takes me an hour. Then, we can run it: diff --git a/release b/release index 0cfbf08..d00491f 100644 --- a/release +++ b/release @@ -1 +1 @@ -2 +1 diff --git a/version b/version index 00a2ccf..9d8e80a 100644 --- a/version +++ b/version @@ -1 +1 @@ -96.0.2 \ No newline at end of file +96.0.3 \ No newline at end of file