Unverified Commit da303f71 authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

guacamole-server: 1.5.5 -> 1.6.0-unstable-2025-05-16 (#407726)

parents 3f857e22 9182bf4d
Loading
Loading
Loading
Loading
+17 −7
Original line number Diff line number Diff line
@@ -2,7 +2,9 @@
  stdenv,
  lib,
  fetchFromGitHub,
  fetchpatch2,
  cmake,
  writableTmpDirAsHomeHook,
  docbook-xsl-nons,
  libxslt,
  pkg-config,
@@ -62,7 +64,7 @@

stdenv.mkDerivation (finalAttrs: {
  pname = "freerdp";
  version = "3.15.0";
  version = "3.15.0-unstable-2025-05-16";

  src = fetchFromGitHub {
    owner = "FreeRDP";
@@ -71,10 +73,17 @@ stdenv.mkDerivation (finalAttrs: {
    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 =
    ''
      export HOME=$TMP

      # skip NIB file generation on darwin
      substituteInPlace "client/Mac/CMakeLists.txt" "client/Mac/cli/CMakeLists.txt" \
        --replace-fail "if(NOT IS_XCODE)" "if(FALSE)"
@@ -100,6 +109,7 @@ stdenv.mkDerivation (finalAttrs: {
    docbook-xsl-nons
    pkg-config
    wayland-scanner
    writableTmpDirAsHomeHook
  ];

  buildInputs =
@@ -198,15 +208,15 @@ stdenv.mkDerivation (finalAttrs: {
    inherit gnome-remote-desktop;
  };

  meta = with lib; {
  meta = {
    description = "Remote Desktop Protocol Client";
    longDescription = ''
      FreeRDP is a client-side implementation of the Remote Desktop Protocol (RDP)
      following the Microsoft Open Specifications.
    '';
    homepage = "https://www.freerdp.com/";
    license = licenses.asl20;
    maintainers = with maintainers; [ peterhoeg ];
    platforms = platforms.unix;
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ peterhoeg ];
    platforms = lib.platforms.unix;
  };
})
+3 −11
Original line number Diff line number Diff line
@@ -28,23 +28,15 @@

stdenv.mkDerivation (finalAttrs: {
  pname = "guacamole-server";
  version = "1.5.5";
  version = "1.6.0-unstable-2025-05-16";

  src = fetchFromGitHub {
    owner = "apache";
    repo = "guacamole-server";
    rev = finalAttrs.version;
    hash = "sha256-ZrUaoWkZ3I/LxE7csDXXeUZ92jZDhkZ1c8EQU0gI1yY=";
    rev = "acb69735359d4d4a08f65d6eb0bde2a0da08f751";
    hash = "sha256-rqGSQD9EYlK1E6y/3EzynRmBWJOZBrC324zVvt7c2vM=";
  };

  patches = [
    # GUACAMOLE-1952: Add compatibility with FFMPEG 7.0
    (fetchpatch2 {
      url = "https://github.com/apache/guacamole-server/commit/cc8addf9beb90305037a32f9f861a893be4cae08.patch?full_index=1";
      hash = "sha256-VCr2/8lQHKVdsdah9gvak4MjFHO+X4ixE5+zsvwIY1I=";
    })
  ];

  NIX_CFLAGS_COMPILE = [
    "-Wno-error=format-truncation"
    "-Wno-error=format-overflow"