[neon/snap-packaging/plasma-desktop-session-snap] snap: Simplify the file a bit, also add the new snapd plug we need

Kevin Ottens null at kde.org
Thu May 2 14:17:13 BST 2024


Git commit b6e8f683b4a5469e2429f61809e7c410d786eb2e by Kevin Ottens.
Committed on 02/05/2024 at 13:16.
Pushed by ervin into branch 'master'.

Simplify the file a bit, also add the new snapd plug we need

The desktop-session-control plug is not yet available from snapd. This
is currently in review, this is needed for a normal session boot.

M  +2    -16   snap/snapcraft.yaml

https://invent.kde.org/neon/snap-packaging/plasma-desktop-session-snap/-/commit/b6e8f683b4a5469e2429f61809e7c410d786eb2e

diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index f574761..2376bdf 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -46,14 +46,7 @@ apps:
       - timeserver-control
       - timezone-control
       - shell-session-locale-files
-      - plasma-system-files
-      - network-manager
-      - shutdown
-      - udisks2
-      - upower-observe
-      - login-session-control
-      - login-session-observe
-      - system-observe
+      - desktop-session-control
 
         #  xdg-desktop-portal-kde:
         #    command: run.sh /usr/lib/x86_64-linux-gnu/libexec/xdg-desktop-portal-kde
@@ -210,7 +203,6 @@ plugs:
     write:
       - $HOME/.pam_environment
       - $HOME/.xinputrc
-      - $HOME/.gtkrc-2.0
   shell-config-files:
     interface: system-files
     read:
@@ -223,18 +215,12 @@ plugs:
       - /etc/shells
       - /etc/xdg/autostart
       - /etc/xdg/menus
+      - /etc/xdg/plasma-workspace
       - /run/udev/tags/seat
       - /etc/default/im-config
       - /etc/X11/xinit/xinputrc
       - /etc/default/locale
-  plasma-system-files:
-    interface: system-files
-    read:
-      - /etc/xdg
-      - /etc/xdg/plasma-workspace
-      - /proc/sys/kernel/core_pattern
   upower-observe: null
-  udisks2: null
 
 slots:
   audio-playback: null


More information about the Neon-commits mailing list