floorp: 11.14.1 -> 11.15.0

Release notes: https://blog.ablaze.one/4397/2024-07-21/
Git changelog: https://github.com/Floorp-Projects/Floorp/compare/v11.14.1...v11.15.0

Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
Christoph Heiss
2024-07-10 13:16:11 +02:00
parent 8b8461b5dd
commit e12df25076
@@ -3,11 +3,12 @@
, fetchFromGitHub , fetchFromGitHub
, buildMozillaMach , buildMozillaMach
, nixosTests , nixosTests
, python311
}: }:
((buildMozillaMach rec { ((buildMozillaMach rec {
pname = "floorp"; pname = "floorp";
packageVersion = "11.14.1"; packageVersion = "11.15.0";
applicationName = "Floorp"; applicationName = "Floorp";
binaryName = "floorp"; binaryName = "floorp";
branding = "browser/branding/official"; branding = "browser/branding/official";
@@ -22,7 +23,7 @@
repo = "Floorp"; repo = "Floorp";
fetchSubmodules = true; fetchSubmodules = true;
rev = "v${packageVersion}"; rev = "v${packageVersion}";
hash = "sha256-PhI+hIypPF6W5RJIXhCAXblSJNwgYavfCgdQozDSXG0="; hash = "sha256-LRuts3O3Rj5e6rT9gKTTwAIsY0oSziuiZ3rzE7wHa7o=";
}; };
extraConfigureFlags = [ extraConfigureFlags = [
@@ -32,10 +33,12 @@
]; ];
extraPostPatch = '' extraPostPatch = ''
# Fix .desktop files for PWAs generated by Floorp; they hardcode /usr/bin # Fix .desktop files for PWAs generated by Floorp
# https://github.com/NixOS/nixpkgs/issues/314115 # The executable path returned by Services.dirsvc.get() is absolute and
# thus is the full /nix/store/[..] path. To avoid breaking PWAs with each
# update, rely on `floorp` being in $PATH, as before.
substituteInPlace floorp/browser/base/content/modules/ssb/LinuxSupport.mjs \ substituteInPlace floorp/browser/base/content/modules/ssb/LinuxSupport.mjs \
--replace-fail /usr/bin/floorp floorp --replace-fail 'Services.dirsvc.get("XREExeF",Ci.nsIFile).path' floorp
''; '';
updateScript = ./update.sh; updateScript = ./update.sh;
@@ -61,6 +64,7 @@
enableOfficialBranding = false; enableOfficialBranding = false;
googleAPISupport = true; googleAPISupport = true;
mlsAPISupport = true; mlsAPISupport = true;
python3 = python311;
}).overrideAttrs (prev: { }).overrideAttrs (prev: {
MOZ_DATA_REPORTING = ""; MOZ_DATA_REPORTING = "";
MOZ_TELEMETRY_REPORTING = ""; MOZ_TELEMETRY_REPORTING = "";