Compare commits
8 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
50465aa304 | ||
|
|
8f8120a4cf | ||
|
|
365d39cc01 | ||
|
|
78be0f398f | ||
|
|
178c4062b8 | ||
|
|
61617ebcaf | ||
|
|
e5e62517e9 | ||
|
|
155367a779 |
4 changed files with 39 additions and 62 deletions
|
|
@ -1,30 +0,0 @@
|
||||||
From 55d449fbb8855ce34c047a4b031f0bd1d9f782e8 Mon Sep 17 00:00:00 2001
|
|
||||||
From: ohfp <1813007-ohfp@users.noreply.gitlab.com>
|
|
||||||
Date: Wed, 16 Nov 2022 09:53:57 +0100
|
|
||||||
Subject: [PATCH] allow JXL in non nightly browser
|
|
||||||
|
|
||||||
---
|
|
||||||
toolkit/moz.configure | 7 ++++---
|
|
||||||
1 file changed, 4 insertions(+), 3 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/toolkit/moz.configure b/toolkit/moz.configure
|
|
||||||
index c99b4d628c54..0b1b1614620a 100644
|
|
||||||
--- a/toolkit/moz.configure
|
|
||||||
+++ b/toolkit/moz.configure
|
|
||||||
@@ -703,9 +703,10 @@ set_define("MOZ_AV1", av1)
|
|
||||||
option("--disable-jxl", help="Disable jxl image support")
|
|
||||||
|
|
||||||
|
|
||||||
-@depends("--disable-jxl", milestone.is_nightly)
|
|
||||||
-def jxl(value, is_nightly):
|
|
||||||
- if is_nightly and value:
|
|
||||||
+@depends("--disable-jxl")
|
|
||||||
+def jxl(value):
|
|
||||||
+ enabled = bool(value)
|
|
||||||
+ if enabled:
|
|
||||||
return True
|
|
||||||
|
|
||||||
|
|
||||||
--
|
|
||||||
2.38.1
|
|
||||||
|
|
||||||
|
|
@ -5,16 +5,27 @@ 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
|
||||||
@@ -1631,12 +1631,15 @@ set_config("LINKER_KIND", select_linker.KIND)
|
@@ -1699,6 +1699,7 @@
|
||||||
target_multiarch_dir,
|
|
||||||
android_platform,
|
android_platform,
|
||||||
c_compiler,
|
c_compiler,
|
||||||
|
developer_options,
|
||||||
+ host,
|
+ host,
|
||||||
)
|
)
|
||||||
@imports("os")
|
else:
|
||||||
def linker_ldflags(
|
deps = depends_if(
|
||||||
- linker, target, sysroot, multiarch_dir, android_platform, c_compiler
|
@@ -1709,6 +1710,7 @@
|
||||||
+ linker, target, sysroot, multiarch_dir, android_platform, c_compiler, host
|
dependable(None),
|
||||||
|
host_c_compiler,
|
||||||
|
developer_options,
|
||||||
|
+ host,
|
||||||
|
)
|
||||||
|
|
||||||
|
@deps
|
||||||
|
@@ -1721,8 +1723,11 @@
|
||||||
|
android_platform,
|
||||||
|
c_compiler,
|
||||||
|
developer_options,
|
||||||
|
+ 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":
|
||||||
|
|
|
||||||
|
|
@ -147,20 +147,17 @@ 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
|
# 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"
|
patch -Np1 -i "${CI_PROJECT_DIR}/deb_patches/fix-wayland-build.patch"
|
||||||
|
|
||||||
# experimental: allow enabling JPEG XL in non-nightly browser
|
# allow enabling JPEG XL in non-nightly browser
|
||||||
patch -Np1 -i ${CI_PROJECT_DIR}/0001-allow-JXL-in-non-nightly-browser.patch
|
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
|
||||||
|
|
||||||
# Debian patch to enable global menubar
|
|
||||||
# if [[ ! -z "${GLOBAL_MENUBAR}" ]];then
|
|
||||||
# patch -Np1 -i ${_PATCHES_DIR}/unity-menubar.patch
|
|
||||||
# fi
|
|
||||||
|
|
||||||
# experimentally re-included
|
# KDE menu and unity menubar. patch order matters.
|
||||||
patch -Np1 -i ${_PATCHES_DIR}/unity-menubar.patch
|
patch -Np1 -i ${_PATCHES_DIR}/unity_kde/mozilla-kde.patch
|
||||||
patch -Np1 -i ${_PATCHES_DIR}/mozilla-kde_after_unity.patch
|
patch -Np1 -i ${_PATCHES_DIR}/unity_kde/firefox-kde.patch
|
||||||
|
patch -Np1 -i ${_PATCHES_DIR}/unity_kde/unity-menubar.patch
|
||||||
|
|
||||||
# Disabling Pocket
|
# Disabling Pocket
|
||||||
printf "\nDisabling Pocket\n";
|
printf "\nDisabling Pocket\n";
|
||||||
|
|
@ -171,12 +168,14 @@ 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 "${_SOURCE_REPO_DIR}/assets/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
|
||||||
|
|
@ -210,9 +209,6 @@ patch -Np1 -i ${_PATCHES_DIR}/ui-patches/pref-naming.patch
|
||||||
#
|
#
|
||||||
patch -Np1 -i ${_PATCHES_DIR}/ui-patches/handlers.patch
|
patch -Np1 -i ${_PATCHES_DIR}/ui-patches/handlers.patch
|
||||||
|
|
||||||
#
|
|
||||||
patch -Np1 -i ${_PATCHES_DIR}/ui-patches/remap-links.patch
|
|
||||||
|
|
||||||
#
|
#
|
||||||
patch -Np1 -i ${_PATCHES_DIR}/ui-patches/hide-default-browser.patch
|
patch -Np1 -i ${_PATCHES_DIR}/ui-patches/hide-default-browser.patch
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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:-'486637e9dfd1352e427e73eef354d22bfbd026f5'}
|
_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
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue