public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Ondrej Holy <oholy@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/guacamole-server] epel10: Switch to freerdp3
Date: Wed, 14 Oct 2026 10:22:22 GMT	[thread overview]
Message-ID: <179197334228.1.3706755167174129444.rpms-guacamole-server-84ecbd5952e0@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/guacamole-server
            Branch : epel10
            Commit : 84ecbd5952e0a1916209b377b5bff9ba045dc8c9
            Author : Ondrej Holy <oholy@redhat.com>
            Date   : 2026-09-07T09:35:46+02:00
            Stats  : +55/-6 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/guacamole-server/c/84ecbd5952e0a1916209b377b5bff9ba045dc8c9?branch=epel10

            Log:
            Switch to freerdp3

Currently, guacamole-server links against freerdp2. freerdp2 is being
removed from Fedora in favour of the freerdp package (3.x). Let's switch
`pkgconfig(freerdp2)` to `pkgconfig(freerdp3)` and backport a patch
to fix configure checks failing with freerdp 3.31 (GUACAMOLE-2326).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---
diff --git a/GUACAMOLE-2326-Fix-freerdp-feature-detection-with-la.patch b/GUACAMOLE-2326-Fix-freerdp-feature-detection-with-la.patch
new file mode 100644
index 0000000..1692c62
--- /dev/null
+++ b/GUACAMOLE-2326-Fix-freerdp-feature-detection-with-la.patch
@@ -0,0 +1,43 @@
+From 37bbe782b648d33033e1f49691708bbc7267d8a8 Mon Sep 17 00:00:00 2001
+From: Ondrej Holy <oholy@redhat.com>
+Date: Fri, 4 Sep 2026 12:53:00 +0200
+Subject: [PATCH] GUACAMOLE-2326: Fix freerdp feature detection with latest
+ version
+
+Currently, `#include <freerdp/freerdp.h>` triggers `-Wdeprecated-declarations`
+with FreeRDP 3.31 because newly deprecated typedefs in `winpr/sspi.h` are also
+used within that header. Combined with `-Werror`, configure checks for
+`FREERDP_HAS_CONTEXT` and `freerdp_settings_set_pointer` incorrectly return
+"no". Let's add `-Wno-deprecated-declarations` to suppress header deprecation
+warnings during feature detection.
+
+Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
+---
+ configure.ac | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 9ba60102..23f316eb 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -777,7 +777,7 @@ then
+     freerdp_version="(2.x)"
+     have_freerdp=yes
+     PKG_CHECK_MODULES([RDP], [freerdp2 freerdp-client2 winpr2],
+-                      [CPPFLAGS="${RDP_CFLAGS} -Werror $CPPFLAGS"]
++                      [CPPFLAGS="${RDP_CFLAGS} -Werror -Wno-deprecated-declarations $CPPFLAGS"]
+                       [AS_IF([test "x${FREERDP_PLUGIN_DIR}" = "x"],
+                              [FREERDP_PLUGIN_DIR="`$PKG_CONFIG --variable=libdir freerdp2`/freerdp2"])],
+                       [freerdp_version=
+@@ -789,7 +789,7 @@ then
+     freerdp_version="(3.x)"
+     have_freerdp=yes
+     PKG_CHECK_MODULES([RDP], [freerdp3 freerdp-client3 winpr3],
+-                      [CPPFLAGS="${RDP_CFLAGS} -Werror $CPPFLAGS"]
++                      [CPPFLAGS="${RDP_CFLAGS} -Werror -Wno-deprecated-declarations $CPPFLAGS"]
+                       [AS_IF([test "x${FREERDP_PLUGIN_DIR}" = "x"],
+                              [FREERDP_PLUGIN_DIR="`$PKG_CONFIG --variable=libdir freerdp3`/freerdp3"])],
+                       [AC_MSG_WARN([
+-- 
+2.53.0
+

diff --git a/guacamole-server.spec b/guacamole-server.spec
index b5ecc13..5ba64fe 100644
--- a/guacamole-server.spec
+++ b/guacamole-server.spec
@@ -7,7 +7,7 @@
 
 Name:           guacamole-server
 Version:        1.6.0
-Release:        9%{?dist}
+Release:        10%{?dist}
 Summary:        Server-side native components that form the Guacamole proxy
 License:        Apache-2.0
 URL:            https://guacamole.apache.org/
@@ -19,6 +19,9 @@ Source2:        %{name}.sysusersd
 # https://issues.apache.org/jira/browse/GUACAMOLE-2087
 Patch0:         https://github.com/apache/guacamole-server/pull/591.patch#/guacamole-server-1.6.0-correct-struct-sockaddr_in.patch
 
+# https://github.com/apache/guacamole-server/pull/711
+Patch1:         GUACAMOLE-2326-Fix-freerdp-feature-detection-with-la.patch
+
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  doxygen
@@ -30,8 +33,8 @@ BuildRequires:  libwebsockets-devel
 BuildRequires:  make
 BuildRequires:  systemd-rpm-macros
 BuildRequires:  pkgconfig(cairo)
-BuildRequires:  pkgconfig(freerdp2)
-BuildRequires:  pkgconfig(freerdp-client2)
+BuildRequires:  pkgconfig(freerdp3)
+BuildRequires:  pkgconfig(freerdp-client3)
 BuildRequires:  pkgconfig(gnutls)
 BuildRequires:  pkgconfig(libpng)
 BuildRequires:  pkgconfig(libpulse)
@@ -43,7 +46,7 @@ BuildRequires:  pkgconfig(libwebp)
 BuildRequires:  pkgconfig(ossp-uuid)
 BuildRequires:  pkgconfig(pango)
 BuildRequires:  pkgconfig(vorbis)
-BuildRequires:  pkgconfig(winpr2)
+BuildRequires:  pkgconfig(winpr3)
 
 %{?_with_ffmpeg:
 BuildRequires:  pkgconfig(libavcodec)
@@ -216,8 +219,8 @@ install -p -m 644 -D %{SOURCE2} %{buildroot}%{_sysusersdir}/guacd.conf
 %files -n libguac-client-rdp
 %{_libdir}/libguac-client-rdp.so
 %{_libdir}/libguac-client-rdp.so.0*
-%{_libdir}/freerdp2/libguac-common-svc-client.so
-%{_libdir}/freerdp2/libguacai-client.so
+%{_libdir}/freerdp3/libguac-common-svc-client.so
+%{_libdir}/freerdp3/libguacai-client.so
 
 %files -n libguac-client-ssh
 %{_libdir}/libguac-client-ssh.so
@@ -246,6 +249,9 @@ install -p -m 644 -D %{SOURCE2} %{buildroot}%{_sysusersdir}/guacd.conf
 %attr(750,%{username},%{username}) %{_sharedstatedir}/guacd/
 
 %changelog
+* Fri Sep 04 2026 Ondrej Holy <oholy@redhat.com> - 1.6.0-10
+- Switch to freerdp3
+
 * Thu Sep 03 2026 Dominik Mierzejewski <dominik@greysector.net> - 1.6.0-9
 - Rebuilt for FFmpeg 9
 

                 reply	other threads:[~2026-10-14 10:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179197334228.1.3706755167174129444.rpms-guacamole-server-84ecbd5952e0@fedoraproject.org \
    --to=oholy@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox