diff options
| author | Martin Whitaker <xxxx@martin-whitaker.me.uk> | 2026-01-18 23:20:58 +0000 |
|---|---|---|
| committer | Martin Whitaker <xxxx@martin-whitaker.me.uk> | 2026-01-18 23:20:58 +0000 |
| commit | c6ec5c6902d6e83cb2f036ae806a9ce7cd401948 (patch) | |
| tree | 1b1ea8ecacd089981944dcdcb0892e6fb476700c | |
| parent | 68f669a87c107ccb7f520316f49cbd748866c608 (diff) | |
| download | drak3d-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-- | NEWS | 2 | ||||
| -rw-r--r-- | lib/Xconfig/glx.pm | 5 |
2 files changed, 6 insertions, 1 deletions
@@ -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}}, |
