summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Whitaker <xxxx@martin-whitaker.me.uk>2026-01-18 23:20:58 +0000
committerMartin Whitaker <xxxx@martin-whitaker.me.uk>2026-01-18 23:20:58 +0000
commitc6ec5c6902d6e83cb2f036ae806a9ce7cd401948 (patch)
tree1b1ea8ecacd089981944dcdcb0892e6fb476700c
parent68f669a87c107ccb7f520316f49cbd748866c608 (diff)
downloaddrak3d-c6ec5c6902d6e83cb2f036ae806a9ce7cd401948.tar
drak3d-c6ec5c6902d6e83cb2f036ae806a9ce7cd401948.tar.gz
drak3d-c6ec5c6902d6e83cb2f036ae806a9ce7cd401948.tar.bz2
drak3d-c6ec5c6902d6e83cb2f036ae806a9ce7cd401948.tar.xz
drak3d-c6ec5c6902d6e83cb2f036ae806a9ce7cd401948.zip
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.
-rw-r--r--NEWS2
-rw-r--r--lib/Xconfig/glx.pm5
2 files changed, 6 insertions, 1 deletions
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}},