collabora-online: 24.04.6-1 -> 24.04.13-2 (#393618)

This commit is contained in:
Bruno BELANYI 2025-04-02 18:07:05 +01:00 committed by GitHub
commit b19d7721ae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 1735 additions and 1234 deletions

File diff suppressed because it is too large Load diff

View file

@ -24,13 +24,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "collabora-online";
version = "24.04.6-1";
version = "24.04.13-2";
src = fetchFromGitHub {
owner = "CollaboraOnline";
repo = "online";
tag = "cp-${finalAttrs.version}";
hash = "sha256-0IvymvXAozsjm+GXJK9AGWo79QMaIACrAfkYfX67fBc=";
hash = "sha256-d6i/aSmbim7UAKz9VX1ClbtIQravMq0r8beZC9FD6as=";
};
nativeBuildInputs = [
@ -56,6 +56,8 @@ stdenv.mkDerivation (finalAttrs: {
zstd
];
enableParallelBuilding = true;
configureFlags = [
"--disable-setcap"
"--disable-werror"
@ -66,11 +68,11 @@ stdenv.mkDerivation (finalAttrs: {
patches = [
./fix-file-server-regex.patch
# Remove after next release
# https://github.com/CollaboraOnline/online/pull/11464/
(fetchpatch {
name = "add-missing-includes-for-poco-1.14.1";
url = "https://patch-diff.githubusercontent.com/raw/CollaboraOnline/online/pull/11196.patch";
hash = "sha256-ke4dOxITFHK3xMXIdp+zzUEGYMyDxMJrbbXTN+LaoVU=";
name = "fix-testPreProcessedFileSubstitution";
url = "https://github.com/CollaboraOnline/online/commit/76a4b64297d721d66603dc63f525324475036917.patch";
hash = "sha256-PGys1dpHLFsUKKA1YyxkJpbBbc2prySdGH/CZni90kI=";
})
];
@ -94,14 +96,13 @@ stdenv.mkDerivation (finalAttrs: {
postPatch = ''
cp ${./package-lock.json} package-lock.json
'';
hash = "sha256-CUh+jwJnKtmzk8w6QwH1Nh92500dFj63ThkI4tN5FyQ=";
hash = "sha256-0RnGt9NLgyARgbh2GOcz7H3l4vtij8PD5jmcdUDB/5Y=";
};
npmRoot = "browser";
passthru = {
libreoffice = libreoffice-collabora; # Used by NixOS module.
updateScript = ./update.sh;
};
meta = {

View file

@ -1,5 +1,5 @@
#! /usr/bin/env nix-shell
#! nix-shell -i bash -p common-updater-scripts prefetch-npm-deps jq sd
#! nix-shell -i bash -p common-updater-scripts prefetch-npm-deps jq sd nodejs
#shellcheck shell=bash
set -xeu -o pipefail