freerdp: 3.15.0 -> 3.15.0-unstable-2025-05-16

Includes a patch from https://github.com/FreeRDP/FreeRDP/pull/11439
Fixing the GCC warnings and make guacamole-server compiling 
successfully.
This commit is contained in:
Pol Dellaiera 2025-05-16 23:05:18 +02:00
parent 9d581efa3f
commit 9182bf4d85

View file

@ -2,7 +2,9 @@
stdenv, stdenv,
lib, lib,
fetchFromGitHub, fetchFromGitHub,
fetchpatch2,
cmake, cmake,
writableTmpDirAsHomeHook,
docbook-xsl-nons, docbook-xsl-nons,
libxslt, libxslt,
pkg-config, pkg-config,
@ -62,7 +64,7 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "freerdp"; pname = "freerdp";
version = "3.15.0"; version = "3.15.0-unstable-2025-05-16";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "FreeRDP"; owner = "FreeRDP";
@ -71,10 +73,17 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-xz1vP58hElXe/jLVrJOSpXcbqShBV7LHRpzqPLa2fDU="; hash = "sha256-xz1vP58hElXe/jLVrJOSpXcbqShBV7LHRpzqPLa2fDU=";
}; };
patches = [
# Patch from https://github.com/FreeRDP/FreeRDP/pull/11439
# To be removed at the next release
(fetchpatch2 {
url = "https://github.com/FreeRDP/FreeRDP/commit/67fabc34dce7aa3543e152f78cb4ea88ac9d1244.patch";
hash = "sha256-kYCEjH1kXZJbg2sN6YNhh+y19HTTCaC7neof8DTKZ/8=";
})
];
postPatch = postPatch =
'' ''
export HOME=$TMP
# skip NIB file generation on darwin # skip NIB file generation on darwin
substituteInPlace "client/Mac/CMakeLists.txt" "client/Mac/cli/CMakeLists.txt" \ substituteInPlace "client/Mac/CMakeLists.txt" "client/Mac/cli/CMakeLists.txt" \
--replace-fail "if(NOT IS_XCODE)" "if(FALSE)" --replace-fail "if(NOT IS_XCODE)" "if(FALSE)"
@ -100,6 +109,7 @@ stdenv.mkDerivation (finalAttrs: {
docbook-xsl-nons docbook-xsl-nons
pkg-config pkg-config
wayland-scanner wayland-scanner
writableTmpDirAsHomeHook
]; ];
buildInputs = buildInputs =
@ -198,15 +208,15 @@ stdenv.mkDerivation (finalAttrs: {
inherit gnome-remote-desktop; inherit gnome-remote-desktop;
}; };
meta = with lib; { meta = {
description = "Remote Desktop Protocol Client"; description = "Remote Desktop Protocol Client";
longDescription = '' longDescription = ''
FreeRDP is a client-side implementation of the Remote Desktop Protocol (RDP) FreeRDP is a client-side implementation of the Remote Desktop Protocol (RDP)
following the Microsoft Open Specifications. following the Microsoft Open Specifications.
''; '';
homepage = "https://www.freerdp.com/"; homepage = "https://www.freerdp.com/";
license = licenses.asl20; license = lib.licenses.asl20;
maintainers = with maintainers; [ peterhoeg ]; maintainers = with lib.maintainers; [ peterhoeg ];
platforms = platforms.unix; platforms = lib.platforms.unix;
}; };
}) })