public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/freerdp] f44: Enable the XDG AAD authentication helper
@ 2026-11-06 9:53 Ondrej Holy
0 siblings, 0 replies; only message in thread
From: Ondrej Holy @ 2026-11-06 9:53 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/freerdp
Branch : f44
Commit : 4e8c0fd27b0974606bdd62c498cb5232d09bf0a3
Author : Ondrej Holy <oholy@redhat.com>
Date : 2026-11-06T10:50:25+01:00
Stats : +14/-6 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/freerdp/c/4e8c0fd27b0974606bdd62c498cb5232d09bf0a3?branch=f44
Log:
Enable the XDG AAD authentication helper
Currently, AAD login requires manually copying the browser redirect URL.
Let's enable `WITH_XDG_AAD_AUTH_HELPER`, package its scripts and runtime
dependencies, and normalize their Python shebangs to automate this flow.
Also remove `WITH_WEBVIEW`, its spec toggle and the WebKitGTK dependency:
upstream replaced the in-process webview with separate authentication
helpers, so the old CMake option is no longer used.
Resolves: rhbz#2520877
Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
---
diff --git a/freerdp.spec b/freerdp.spec
index 5cb489b..39dc457 100644
--- a/freerdp.spec
+++ b/freerdp.spec
@@ -21,13 +21,10 @@
%global _with_uriparser 1
%endif
-# Disable support for AAD WebView popup since it uses webkit2gtk-4.0
-#global _with_webview 1
-
Name: freerdp
Epoch: 2
Version: 3.33.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Free implementation of the Remote Desktop Protocol (RDP)
# The effective license is Apache-2.0 but:
@@ -73,6 +70,7 @@ BuildRequires: libXv-devel
%{?_with_openh264:BuildRequires: pkgconfig(openh264)}
%{?_with_x264:BuildRequires: x264-devel}
BuildRequires: pam-devel
+BuildRequires: python3-devel
BuildRequires: zlib-devel
%{!?rhel:BuildRequires: multilib-rpm-config}
@@ -103,7 +101,6 @@ BuildRequires: pkgconfig(opus)
BuildRequires: pkgconfig(sso-mib)
BuildRequires: pkgconfig(wayland-client)
BuildRequires: pkgconfig(wayland-scanner)
-%{?_with_webview:BuildRequires: pkgconfig(webkit2gtk-4.0)}
BuildRequires: pkgconfig(xkbcommon)
%{?_with_ffmpeg:
@@ -115,6 +112,9 @@ BuildRequires: pkgconfig(libswscale)
Provides: xfreerdp = %{?epoch}:%{version}-%{release}
Requires: %{name}-libs%{?_isa} = %{?epoch}:%{version}-%{release}
Requires: libwinpr%{?_isa} = %{?epoch}:%{version}-%{release}
+Requires: python3
+Requires: xdg-utils
+Requires: desktop-file-utils
%description
The xfreerdp & wlfreerdp Remote Desktop Protocol (RDP) clients from the FreeRDP
@@ -178,6 +178,8 @@ developing applications that use %{name}-libwinpr.
%prep
%autosetup -p1 -n FreeRDP-%{version}
+%py3_shebang_fix client/common/xdg-aad-helper/xdg-aad-helper.py client/common/xdg-aad-helper/freerdp_aad_handler.py
+
# Rpmlint fixes
find . -name "*.h" -exec chmod 664 {} \;
find . -name "*.c" -exec chmod 664 {} \;
@@ -235,9 +237,9 @@ find . -name "*.c" -exec chmod 664 {} \;
-DWITH_VERBOSE_WINPR_ASSERT=OFF \
-DWITH_VIDEO_FFMPEG=%{?_with_ffmpeg:ON}%{?!_with_ffmpeg:OFF} \
-DWITH_WAYLAND=ON \
- -DWITH_WEBVIEW=%{?_with_webview:ON}%{?!_with_webview:OFF} \
-DWITH_X11=ON \
-DWITH_XCURSOR=ON \
+ -DWITH_XDG_AAD_AUTH_HELPER=ON \
-DWITH_XEXT=ON \
-DWITH_XKBFILE=ON \
-DWITH_XI=ON \
@@ -294,6 +296,8 @@ find %{buildroot} -name "*.a" -delete
%{_bindir}/winpr-makecert
%{_bindir}/wlfreerdp
%{_bindir}/xfreerdp
+%{_libexecdir}/freerdp-aad-handler
+%{_libexecdir}/freerdp-xdg-aad-helper
%{?_with_sdl_client:
%{_mandir}/man1/sdl-freerdp.1*
}
@@ -378,6 +382,10 @@ find %{buildroot} -name "*.a" -delete
%{_libdir}/pkgconfig/winpr-tools3.pc
%changelog
+* Thu Nov 05 2026 Ondrej Holy <oholy@redhat.com> - 2:3.33.0-2
+- Enable the XDG AAD authentication helper
+ Resolves: rhbz#2520877
+
* Mon Nov 02 2026 Ondrej Holy <oholy@redhat.com> - 2:3.33.0-1
- Update to 3.33.0
Resolves: rhbz#2565203
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-06 9:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-06 9:53 [rpms/freerdp] f44: Enable the XDG AAD authentication helper Ondrej Holy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox