[neon/snap-packaging/plasma-core-desktop-snap] hooks: KDE desktop portal will be declared in the session snap
Kevin Ottens
null at kde.org
Mon Apr 29 07:20:03 BST 2024
Git commit 1bda8659b817cf768fd884de9efca08f3fc81e6d by Kevin Ottens.
Committed on 29/04/2024 at 06:19.
Pushed by ervin into branch 'master'.
KDE desktop portal will be declared in the session snap
So we don't keep the default systemd and dbus activation files, instead
we'll let snapd create the necessary files at runtime.
M +5 -0 hooks/006-zzz-add-plasma-session.chroot
https://invent.kde.org/neon/snap-packaging/plasma-core-desktop-snap/-/commit/1bda8659b817cf768fd884de9efca08f3fc81e6d
diff --git a/hooks/006-zzz-add-plasma-session.chroot b/hooks/006-zzz-add-plasma-session.chroot
index 74004cd..793bf19 100755
--- a/hooks/006-zzz-add-plasma-session.chroot
+++ b/hooks/006-zzz-add-plasma-session.chroot
@@ -44,3 +44,8 @@ apt install --no-install-recommends -y \
rm -f /usr/share/wayland-sessions/plasma.desktop
rm -f /usr/share/xsessions/plasmax11.desktop
+# Remove D-Bus service activation files provided by
+# the session snap.
+rm /usr/share/dbus-1/services/org.freedesktop.impl.portal.desktop.kde.service
+rm /usr/lib/systemd/user/plasma-xdg-desktop-portal-kde.service
+
More information about the Neon-commits
mailing list