Compare commits

..

28 commits

Author SHA1 Message Date
ohfp
50465aa304 v110.0-3 2023-03-18 12:27:41 +01:00
ohfp
8f8120a4cf add some missing patches 2023-02-19 11:53:33 +01:00
ohfp
365d39cc01 v109.0-1 2023-01-17 17:04:00 +01:00
ohfp
78be0f398f use source-repo-patch for autoconf issue 2022-12-30 16:13:32 +01:00
ohfp
178c4062b8 potential flatpak issue fix: patch autoconf handling to non-flatpakified default 2022-12-30 13:42:34 +01:00
ohfp
61617ebcaf update patches for 108.0 2022-12-15 14:07:15 +01:00
ohfp
e5e62517e9 v107.0.1-1 CI, with cleaned up path stuff this time though 2022-12-03 22:26:23 +01:00
ohfp
155367a779 v107.0.1-1 CI 2022-12-03 22:21:55 +01:00
ohfp
8b0b13b8be v107.0; add jxl patch and enable it 2022-11-16 12:41:31 +01:00
ohfp
69e0b71cdf update patches and add aarch64 fix for 106.0.1 2022-10-24 13:03:11 +02:00
ohfp
b9c9521cda v103.0-3 2022-07-29 14:11:06 +02:00
ohfp
d48ad7c2b4 v102.0-2 2022-07-02 12:13:10 +02:00
ohfp
21f8b6a752 add new patch and add back kde patch 2022-06-10 14:08:45 +02:00
ohfp
5b0b89c8a5 actually comment out the broken patch 2022-06-03 10:34:25 +02:00
ohfp
8e7098bc0d v101.0 2022-06-02 16:16:44 +02:00
ohfp
354766fc0d Empty MOZ_REQUIRE_SIGNING for unsigned extensions
Allows using unsigned extensions (when `xpinstall.signatures.required`
is set to `false`). Should fix librewolf-community/browser/flatpak#21.
2022-05-21 11:42:46 +02:00
ohfp
d78c8c0c19 prep v100.0.1-1 2022-05-15 17:08:52 +02:00
ohfp
bf4e1d35f9 v100.0-2 2022-05-05 10:24:01 +02:00
ohfp
eac4c04053 99.0.1-4 with settings ublock fix 2022-04-29 12:33:37 +02:00
ohfp
01cc0ab5ad v99.0.1-1 2022-04-14 11:59:44 +02:00
ohfp
d4f54ef3bc v99.0-1 2022-04-09 14:27:59 +02:00
ohfp
16a1ab1eea fix aarch64 builds; 98.0.1-ish 2022-03-22 11:02:20 +01:00
ohfp
7330076db4 upate armhf patch 2022-03-10 11:42:10 +01:00
ohfp
5ed83bba12 v98.0-1 2022-03-10 11:20:14 +01:00
ohfp
fbd3e848a4 fix source repo dir path / var 2022-02-19 16:22:07 +01:00
ohfp
bb33c0f1a3 migrate from common to source repo 2022-02-19 16:12:11 +01:00
ohfp
bf34ed54fe settings ver; ready for 97.0.1-1 2022-02-19 15:34:25 +01:00
ohfp
acbe3b45ea hopefully fix some python utf8/ascii yaml parsing issue 2022-02-10 14:51:52 +01:00
8 changed files with 149 additions and 95 deletions

View file

@ -5,15 +5,28 @@ Author: Olivier Tilloy <olivier.tilloy@canonical.com>
--- a/build/moz.configure/toolchain.configure --- a/build/moz.configure/toolchain.configure
+++ b/build/moz.configure/toolchain.configure +++ b/build/moz.configure/toolchain.configure
@@ -2287,10 +2287,12 @@ @@ -1699,6 +1699,7 @@
set_config("LINKER_KIND", select_linker.KIND) android_platform,
c_compiler,
developer_options,
+ host,
)
else:
deps = depends_if(
@@ -1709,6 +1710,7 @@
dependable(None),
host_c_compiler,
developer_options,
+ host,
)
@deps
-@depends_if(select_linker, target, target_sysroot, target_multiarch_dir, c_compiler) @@ -1721,8 +1723,11 @@
+@depends_if(select_linker, target, target_sysroot, target_multiarch_dir, c_compiler, host) android_platform,
@imports("os") c_compiler,
-def linker_ldflags(linker, target, sysroot, multiarch_dir, c_compiler): developer_options,
+def linker_ldflags(linker, target, sysroot, multiarch_dir, c_compiler, host): + host,
):
flags = list((linker and linker.LINKER_FLAG) or []) flags = list((linker and linker.LINKER_FLAG) or [])
+ if host.cpu == "arm": + if host.cpu == "arm":
+ flags.append("-Wl,--no-keep-memory") + flags.append("-Wl,--no-keep-memory")

View file

@ -0,0 +1,17 @@
Description: Remove an extra constant definition that is now being generated by newer versions of cbindgen (0.24),
and causing build failures because it is defined in several places.
Author: Olivier Tilloy <olivier.tilloy@canonical.com>
Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1773259
Forwarded: not-needed
--- a/gfx/webrender_bindings/webrender_ffi.h
+++ b/gfx/webrender_bindings/webrender_ffi.h
@@ -73,8 +73,6 @@ struct WrPipelineInfo;
struct WrPipelineIdAndEpoch;
using WrPipelineIdEpochs = nsTArray<WrPipelineIdAndEpoch>;
-const uint64_t ROOT_CLIP_CHAIN = ~0;
-
} // namespace wr
} // namespace mozilla

View file

@ -0,0 +1,19 @@
Description: Fix FTBFS on bionic. Compiler errors:
In file included from Unified_cpp_widget_gtk1.cpp:2:
/<<BUILDDIR>>/firefox-92.0~b2+build1/widget/gtk/WaylandBuffer.cpp:261:39: error: unknown type name 'GLContext'; did you mean 'EGLContext'?
const LayoutDeviceIntSize& aSize, GLContext* aGL) {
^~~~~~~~~
Author: Rico Tzschichholz <ricotz@ubuntu.com>
--- a/widget/gtk/WaylandBuffer.cpp
+++ b/widget/gtk/WaylandBuffer.cpp
@@ -258,7 +258,7 @@
/* static */
RefPtr<WaylandBufferDMABUF> WaylandBufferDMABUF::Create(
- const LayoutDeviceIntSize& aSize, GLContext* aGL) {
+ const LayoutDeviceIntSize& aSize, gl::GLContext* aGL) {
RefPtr<WaylandBufferDMABUF> buffer = new WaylandBufferDMABUF(aSize);
const auto flags =

View file

@ -1,35 +0,0 @@
# Description: Don't pass -mfloat-abi=softfp on armhf
# Author: Chris Coulson <chris.coulson@canonical.com>
# Forwarded: no
--- a/build/gyp.mozbuild
+++ b/build/gyp.mozbuild
@@ -107,9 +107,15 @@ if CONFIG['ARM_ARCH']:
gyp_vars['arm_neon'] = 1
gyp_vars['build_with_neon'] = 1
else:
- # CPU detection for ARM works on Android only. armv7 always uses CPU
- # detection, so we have to set armv7=0 for non-Android target
- gyp_vars['armv7'] = 0
+ gyp_vars['armv7'] = 1
+ # We enable NEON for Ubuntu armhf. Note that these don't really
+ # have any effect here as NEON is hardcoded on in
+ # media/webrtc/trunk/webrtc/build/common.gypi. Disabling these
+ # without fixing that file will result in a link failure, as
+ # targets hidden behind the build_with_neon flag don't get
+ # built but WEBRTC_HAS_NEON is still defined
+ gyp_vars['arm_neon'] = 1
+ gyp_vars['build_with_neon'] = 1
# For libyuv
gyp_vars['arm_version'] = int(CONFIG['ARM_ARCH'])
--- a/third_party/libwebrtc/build/config/compiler/BUILD.gn
+++ b/third_party/libwebrtc/build/config/compiler/BUILD.gn
@@ -590,7 +590,6 @@ config("compiler_cpu_abi") {
if (!is_nacl) {
cflags += [
"-march=$arm_arch",
- "-mfloat-abi=$arm_float_abi",
]
}
if (arm_tune != "") {

View file

@ -8,7 +8,7 @@ _DEPENDENCIES="wget git xvfb \
xz-utils \ xz-utils \
gettext-base \ gettext-base \
curl python3 libjack-dev \ curl python3 libjack-dev \
python3-psutil python-psutil python3-dev python-dev \ python3-dev python-dev \
gnupg \ gnupg \
autotools-dev \ autotools-dev \
autoconf2.13 \ autoconf2.13 \
@ -39,7 +39,8 @@ _DEPENDENCIES="wget git xvfb \
python \ python \
libffi-dev \ libffi-dev \
nodejs-mozilla \ nodejs-mozilla \
nasm-mozilla" nasm-mozilla \
locales"
# cargo \ # cargo \
# rustc \ # rustc \
@ -67,6 +68,9 @@ else
apt-get -y install clang-13 libclang-13-dev apt-get -y install clang-13 libclang-13-dev
fi fi
# avoid python parsing files as ascii instead of utf8 and complaining
locale-gen en_US.UTF-8
# we need a more recent rust # we need a more recent rust
# …to test if a fix in 1.57 magically fixes aarch64 hanging # …to test if a fix in 1.57 magically fixes aarch64 hanging
curl https://sh.rustup.rs -o rustup.sh curl https://sh.rustup.rs -o rustup.sh

View file

@ -6,22 +6,22 @@ set -e
# Setup Script Variables # Setup Script Variables
srcdir=$1; srcdir=$1;
CI_PROJECT_DIR=${CI_PROJECT_DIR:-$(realpath $(dirname $0)/../)} CI_PROJECT_DIR=${CI_PROJECT_DIR:-$(realpath $(dirname $0)/../)}
_COMMON_REPO='https://gitlab.com/librewolf-community/browser/common.git'; _SOURCE_REPO='https://gitlab.com/librewolf-community/browser/source.git';
_PKGVER_TAG="v${pkgver}-${pkgrel}" _PKGVER_TAG="v${pkgver}-${pkgrel}"
_COMMON_TAG=${COMMON_TAG:-${_PKGVER_TAG}} _SOURCE_TAG=${SOURCE_TAG:-${_PKGVER_TAG}}
_COMMON_DIR="${CI_PROJECT_DIR}"/common _SOURCE_REPO_DIR="${CI_PROJECT_DIR}"/source
_PATCHES_DIR="${_COMMON_DIR}"/patches _PATCHES_DIR="${_SOURCE_REPO_DIR}"/patches
_MOZBUILD=$srcdir/../mozbuild _MOZBUILD=$srcdir/../mozbuild
mkdir -p ${_MOZBUILD} mkdir -p ${_MOZBUILD}
# Copy Source Code Changes to Source Code # Copy Source Code Changes to Source Code
printf "\nCopying branding and source code changes to firefox source code\n"; printf "\nCopying branding and source code changes to firefox source code\n";
git clone $_COMMON_REPO ${_COMMON_DIR} git clone $_SOURCE_REPO ${_SOURCE_REPO_DIR}
cd ${_COMMON_DIR} cd ${_SOURCE_REPO_DIR}
git checkout ${_COMMON_TAG} git checkout ${_SOURCE_TAG}
cd .. cd ..
cp -r ${_COMMON_DIR}/source_files/browser $srcdir/; cp -r ${_SOURCE_REPO_DIR}/themes/browser $srcdir/;
cd $srcdir cd $srcdir
@ -47,11 +47,23 @@ ac_add_options --enable-dbus
# Branding # Branding
ac_add_options --enable-update-channel=release ac_add_options --enable-update-channel=release
ac_add_options --with-app-name=librewolf ac_add_options --with-app-name=librewolf
ac_add_options --with-app-basename=LibreWolf # ac_add_options --with-app-basename=LibreWolf
# switch to env vars like in librewolf source repo
# this is in browser/branding/librewolf/configure.sh as well
# so it _should_ already be applied, buuuuut just in case?
export MOZ_APP_NAME=librewolf
export MOZ_APP_BASENAME=LibreWolf
export MOZ_APP_PROFILE=librewolf
export MOZ_APP_VENDOR=LibreWolf
export MOZ_APP_DISPLAYNAME=LibreWolf
ac_add_options --with-branding=browser/branding/librewolf ac_add_options --with-branding=browser/branding/librewolf
ac_add_options --with-distribution-id=io.gitlab.librewolf-community # ac_add_options --with-distribution-id=io.gitlab.librewolf-community
ac_add_options --with-unsigned-addon-scopes=app,system ac_add_options --with-unsigned-addon-scopes=app,system
ac_add_options --allow-addon-sideload ac_add_options --allow-addon-sideload
export MOZ_REQUIRE_SIGNING=
# System libraries # System libraries
# ac_add_options --with-system-nspr # ac_add_options --with-system-nspr
@ -65,7 +77,11 @@ ac_add_options --disable-updater
ac_add_options --disable-tests ac_add_options --disable-tests
# obsoleted? # obsoleted?
# mk_add_options MOZ_CRASHREPORTER=0 # TODO: use source/assets/moczonfig in the future
mk_add_options MOZ_CRASHREPORTER=0
mk_add_options MOZ_DATA_REPORTING=0
mk_add_options MOZ_SERVICES_HEALTHREPORT=0
mk_add_options MOZ_TELEMETRY_REPORTING=0
# options for ci / weaker build systems # options for ci / weaker build systems
# mk_add_options MOZ_MAKE_FLAGS="-j4" # mk_add_options MOZ_MAKE_FLAGS="-j4"
@ -73,6 +89,9 @@ ac_add_options --disable-tests
# required for 95.0 for now, it seems # required for 95.0 for now, it seems
ac_add_options --without-wasm-sandboxed-libraries ac_add_options --without-wasm-sandboxed-libraries
# experimental JXL support
ac_add_options --enable-jxl
END END
# allow setting limited resource usage via ENV / CI: # allow setting limited resource usage via ENV / CI:
@ -99,9 +118,6 @@ END
export RUSTFLAGS="-Cdebuginfo=0" export RUSTFLAGS="-Cdebuginfo=0"
export LDFLAGS+=" -Wl,--no-keep-memory -Wl" export LDFLAGS+=" -Wl,--no-keep-memory -Wl"
# patch -Np1 -i ${_PATCHES_DIR}/arm.patch # not required anymore?
wget https://raw.githubusercontent.com/archlinuxarm/PKGBUILDs/master/extra/firefox/build-arm-libopus.patch -O ${_PATCHES_DIR}/build-arm-libopus.patch
patch -Np1 -i ${_PATCHES_DIR}/build-arm-libopus.patch
else else
cat >>${CI_PROJECT_DIR}/mozconfig <<END cat >>${CI_PROJECT_DIR}/mozconfig <<END
@ -123,30 +139,25 @@ END
fi fi
# hopefully the magic sauce that makes things build on 16.04 and later on work "everywhere": # hopefully the magic sauce that makes things build on 18.04 and later on work "everywhere":
patch -Np1 -i "${CI_PROJECT_DIR}/deb_patches/armhf-reduce-linker-memory-use.patch" patch -Np1 -i "${CI_PROJECT_DIR}/deb_patches/armhf-reduce-linker-memory-use.patch"
patch -Np1 -i "${CI_PROJECT_DIR}/deb_patches/webrtc-fix-compiler-flags-for-armhf.patch"
patch -Np1 -i "${CI_PROJECT_DIR}/deb_patches/reduce-rust-debuginfo.patch" patch -Np1 -i "${CI_PROJECT_DIR}/deb_patches/reduce-rust-debuginfo.patch"
patch -Np1 -i "${CI_PROJECT_DIR}/deb_patches/use-system-icupkg.patch" patch -Np1 -i "${CI_PROJECT_DIR}/deb_patches/use-system-icupkg.patch"
# might make the build just a tiny bit cleaner, not really required though
patch -Np1 -i "${CI_PROJECT_DIR}/deb_patches/fix-wayland-build.patch"
# allow enabling JPEG XL in non-nightly browser
patch -Np1 -i ${_PATCHES_DIR}/allow-JXL-in-non-nightly-browser.patch
# Remove some pre-installed addons that might be questionable # Remove some pre-installed addons that might be questionable
patch -Np1 -i ${_PATCHES_DIR}/remove_addons.patch patch -Np1 -i ${_PATCHES_DIR}/remove_addons.patch
# Disable (some) megabar functionality
# Adapted from https://github.com/WesleyBranton/userChrome.css-Customizations
patch -Np1 -i ${_PATCHES_DIR}/removed-patches/megabar.patch
# remove mozilla vpn ads # KDE menu and unity menubar. patch order matters.
patch -Np1 -i ${_PATCHES_DIR}/mozilla-vpn-ad.patch patch -Np1 -i ${_PATCHES_DIR}/unity_kde/mozilla-kde.patch
patch -Np1 -i ${_PATCHES_DIR}/unity_kde/firefox-kde.patch
# Debian patch to enable global menubar patch -Np1 -i ${_PATCHES_DIR}/unity_kde/unity-menubar.patch
# if [[ ! -z "${GLOBAL_MENUBAR}" ]];then
# patch -Np1 -i ${_PATCHES_DIR}/unity-menubar.patch
# fi
# experimentally re-included
patch -Np1 -i ${_PATCHES_DIR}/unity-menubar.patch
patch -Np1 -i ${_PATCHES_DIR}/mozilla-kde_after_unity.patch
# Disabling Pocket # Disabling Pocket
printf "\nDisabling Pocket\n"; printf "\nDisabling Pocket\n";
@ -157,23 +168,21 @@ patch -Np1 -i "${_PATCHES_DIR}/context-menu.patch"
patch -Np1 -i "${_PATCHES_DIR}/urlbarprovider-interventions.patch" patch -Np1 -i "${_PATCHES_DIR}/urlbarprovider-interventions.patch"
# Remove Internal Plugin Certificates patch -Np1 -i "${_PATCHES_DIR}/unified-extensions-dont-show-recommendations.patch"
patch -Np1 -i "${_PATCHES_DIR}/sed-patches/remove-internal-plugin-certs.patch"
# allow SearchEngines option in non-ESR builds # allow SearchEngines option in non-ESR builds
patch -Np1 -i "${_PATCHES_DIR}/sed-patches/allow-searchengines-non-esr.patch" patch -Np1 -i "${_PATCHES_DIR}/sed-patches/allow-searchengines-non-esr.patch"
# fix broken(?)/unintended handling of autoconf file loading in flatpak/snap environments
patch -Np1 -i "${_PATCHES_DIR}/flatpak_autoconf.patch"
# remove search extensions (experimental) # remove search extensions (experimental)
# patch -Np1 -i "${_PATCHES_DIR}/search-config.patch" # patch -Np1 -i "${_PATCHES_DIR}/search-config.patch"
cp "${_COMMON_DIR}/source_files/search-config.json" services/settings/dumps/main/search-config.json cp "${_SOURCE_REPO_DIR}/assets/search-config.json" services/settings/dumps/main/search-config.json
# stop some undesired requests (https://gitlab.com/librewolf-community/browser/common/-/issues/10) # stop some undesired requests (https://gitlab.com/librewolf-community/browser/common/-/issues/10)
patch -Np1 -i "${_PATCHES_DIR}/sed-patches/stop-undesired-requests.patch" patch -Np1 -i "${_PATCHES_DIR}/sed-patches/stop-undesired-requests.patch"
# allow overriding the color scheme light/dark preference with RFP
# deprecated / will be dropped soon
# patch -Np1 -i ${_PATCHES_DIR}/allow_dark_preference_with_rfp.patch
# change some hardcoded directory strings that could lead to unnecessarily # change some hardcoded directory strings that could lead to unnecessarily
# created directories # created directories
patch -Np1 -i ${_PATCHES_DIR}/mozilla_dirs.patch patch -Np1 -i ${_PATCHES_DIR}/mozilla_dirs.patch
@ -188,6 +197,9 @@ patch -Np1 -i ${_PATCHES_DIR}/allow-ubo-private-mode.patch
# add custom uBO assets (on first launch only) # add custom uBO assets (on first launch only)
patch -Np1 -i ${_PATCHES_DIR}/custom-ubo-assets-bootstrap-location.patch patch -Np1 -i ${_PATCHES_DIR}/custom-ubo-assets-bootstrap-location.patch
#
patch -Np1 -i ${_PATCHES_DIR}/faster-package-multi-locale.patch
# ui patches # ui patches
# remove references to firefox from the settings UI, change text in some of the links, # remove references to firefox from the settings UI, change text in some of the links,
@ -195,7 +207,16 @@ patch -Np1 -i ${_PATCHES_DIR}/custom-ubo-assets-bootstrap-location.patch
patch -Np1 -i ${_PATCHES_DIR}/ui-patches/pref-naming.patch patch -Np1 -i ${_PATCHES_DIR}/ui-patches/pref-naming.patch
# #
patch -Np1 -i ${_PATCHES_DIR}/ui-patches/hide-safe-browsing.patch patch -Np1 -i ${_PATCHES_DIR}/ui-patches/handlers.patch
#
patch -Np1 -i ${_PATCHES_DIR}/ui-patches/hide-default-browser.patch
# Add LibreWolf logo to Debugging Page
patch -Np1 -i ${_PATCHES_DIR}/ui-patches/lw-logo-devtools.patch
#
patch -Np1 -i ${_PATCHES_DIR}/ui-patches/privacy-preferences.patch
# remove firefox references in the urlbar, when suggesting opened tabs. # remove firefox references in the urlbar, when suggesting opened tabs.
patch -Np1 -i ${_PATCHES_DIR}/ui-patches/remove-branding-urlbar.patch patch -Np1 -i ${_PATCHES_DIR}/ui-patches/remove-branding-urlbar.patch
@ -209,13 +230,22 @@ patch -Np1 -i ${_PATCHES_DIR}/ui-patches/remove-organization-policy-banner.patch
# hide "snippets" section from the home page settings, as it was already locked. # hide "snippets" section from the home page settings, as it was already locked.
patch -Np1 -i ${_PATCHES_DIR}/ui-patches/remove-snippets-from-home.patch patch -Np1 -i ${_PATCHES_DIR}/ui-patches/remove-snippets-from-home.patch
# add warning that sanitizing exceptions are bypassed by the options in History > Clear History when LibreWolf closes > Settings # add patch to hide website appearance settings
patch -Np1 -i ${_PATCHES_DIR}/ui-patches/sanitizing-description.patch patch -Np1 -i ${_PATCHES_DIR}/ui-patches/website-appearance-ui-rfp.patch
# pref pane # pref pane
patch -Np1 -i ${_PATCHES_DIR}/librewolf-pref-pane.patch patch -Np1 -i ${_PATCHES_DIR}/librewolf-pref-pane.patch
# firefox view
patch -Np1 -i ${_PATCHES_DIR}/ui-patches/firefox-view.patch
# new prefs (view, ubo)
patch -Np1 -i ${_PATCHES_DIR}/librewolf-prefs.patch
# fix telemetry removal, see https://gitlab.com/librewolf-community/browser/linux/-/merge_requests/17, for example # fix telemetry removal, see https://gitlab.com/librewolf-community/browser/linux/-/merge_requests/17, for example
patch -Np1 -i ${_PATCHES_DIR}/disable-data-reporting-at-compile-time.patch patch -Np1 -i ${_PATCHES_DIR}/disable-data-reporting-at-compile-time.patch
rm -rf common # allows hiding the password manager (from the lw pref pane) / via a pref
patch -Np1 -i ${_PATCHES_DIR}/hide-passwordmgr.patch
rm -rf source

View file

@ -16,6 +16,12 @@ export DEB_BUILD_HARDENING_FORMAT=1
export DEB_BUILD_HARDENING_PIE=1 export DEB_BUILD_HARDENING_PIE=1
# export PATH=/usr/lib/nasm-mozilla/bin:$PATH # export PATH=/usr/lib/nasm-mozilla/bin:$PATH
# avoid python parsing files as ascii instead of utf8 and complaining
export LANG='en_US.UTF-8'
export LANGUAGE='en_US:en'
export LC_ALL='en_US.UTF-8'
# add cargo binary to path # add cargo binary to path
source /root/.cargo/env source /root/.cargo/env
@ -36,7 +42,7 @@ fi
export MOZ_NOSPAM=1 export MOZ_NOSPAM=1
export MOZBUILD_STATE_PATH="${_MOZBUILD}" export MOZBUILD_STATE_PATH="${_MOZBUILD}"
export MACH_USE_SYSTEM_PYTHON=1 export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=system
if [[ $CARCH == 'aarch64' ]]; then if [[ $CARCH == 'aarch64' ]]; then
export MOZ_DEBUG_FLAGS=" " export MOZ_DEBUG_FLAGS=" "
@ -64,7 +70,7 @@ cd $srcdir;
rm -f mozconfig rm -f mozconfig
# install cbindgen # install cbindgen
cargo install --version 0.20.0 cbindgen cargo install --version 0.24.3 cbindgen
if [[ $CARCH == 'aarch64' ]]; then if [[ $CARCH == 'aarch64' ]]; then

View file

@ -11,7 +11,7 @@ LAUNCHER_SCRIPT=$3;
CI_PROJECT_DIR=${CI_PROJECT_DIR:-$(realpath $(dirname $0)/../)} CI_PROJECT_DIR=${CI_PROJECT_DIR:-$(realpath $(dirname $0)/../)}
_SCRIPT_FOLDER=$(realpath $(dirname $0)); _SCRIPT_FOLDER=$(realpath $(dirname $0));
_EXTRACTED_TARBALL_FOLDER=$_SCRIPT_FOLDER/librewolf; _EXTRACTED_TARBALL_FOLDER=$_SCRIPT_FOLDER/librewolf;
_SETTINGS_TAG=${SETTINGS_TAG:-'5.4'} _SETTINGS_TAG=${SETTINGS_TAG:-'7.4'}
_SETTINGS_REPO='https://gitlab.com/librewolf-community/settings.git'; _SETTINGS_REPO='https://gitlab.com/librewolf-community/settings.git';
# Extracts the binary tarball # Extracts the binary tarball