From c6ec5c6902d6e83cb2f036ae806a9ce7cd401948 Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Sun, 18 Jan 2026 23:20:58 +0000 Subject: Fix for draktools-backend API change (mga#35016) any::sessions() became either any::session_names() or any::session_files() depending on what the caller wanted. In this case names is the most appropriate, although as there are no longer any DE-specific packages to install, it is somewhat moot. --- NEWS | 2 ++ lib/Xconfig/glx.pm | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 19503dd..34c1b76 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,5 @@ +- fix for draktools-backend API change (mga#35016) + 2.8 - updated translations diff --git a/lib/Xconfig/glx.pm b/lib/Xconfig/glx.pm index 8a13971..915768c 100644 --- a/lib/Xconfig/glx.pm +++ b/lib/Xconfig/glx.pm @@ -219,7 +219,10 @@ sub install { my ($do_pkgs, $glx) = @_; my $server = find { $_->{method} eq $glx->{method} } @gl_compositing_servers; my $wm = find { $_->{wm} eq $glx->{wm} } @gl_compositing_wms; - my @sessions = any::sessions(); + #- FIXME: Nowadays DEs come with multiple session names, so we would really want + #- a base DE name here. But as there are currently no DE-specific packages, that + #- can be left for another day. + my @sessions = any::session_names(); my @packages = map { my $entry = $_; @{$entry->{packages}}, -- cgit v1.2.1