Updates: minimalist approach, executable permissions

This commit is contained in:
2025-08-26 19:54:36 +02:00
parent 929ceb523c
commit 9d8c1a8895
4 changed files with 38 additions and 33 deletions

0
snap/hooks/disconnect-plug-host-hunspell Normal file → Executable file
View File

4
snap/hooks/install Normal file → Executable file
View File

@@ -1 +1,3 @@
post-refresh #!/bin/sh
dir=$(dirname -- $(readlink -f $0))
${dir}/post-refresh

0
snap/hooks/post-refresh Normal file → Executable file
View File

View File

@@ -28,6 +28,7 @@ apps:
SPA_PLUGIN_DIR: "$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/spa-0.2" SPA_PLUGIN_DIR: "$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/spa-0.2"
SPEECHD_ADDRESS: "unix_socket:/run/user/$SNAP_UID/speech-dispatcher/speechd.sock" SPEECHD_ADDRESS: "unix_socket:/run/user/$SNAP_UID/speech-dispatcher/speechd.sock"
LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/usr/lib:$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR:$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/libproxy LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/usr/lib:$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR:$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/libproxy
MOZ_APP_REMOTINGNAME: zen-browser_zen-browser
slots: slots:
- mpris - mpris
- dbus-daemon - dbus-daemon
@@ -52,7 +53,7 @@ apps:
- opengl - opengl
- pcscd - pcscd
- removable-media - removable-media
- screen-inhibits-control # - screen-inhibits-control
- system-packages-doc - system-packages-doc
- u2f-devices - u2f-devices
- unity7 - unity7
@@ -127,45 +128,45 @@ parts:
prime: prime:
- usr/lib/zen - usr/lib/zen
- usr/lib/*/libproxy - usr/lib/*/libproxy
- usr/lib/*/opensc-pkcs11.so
- usr/lib/*/pkcs11/opensc-pkcs11.so
- usr/lib/*/libasn1.so.*
- usr/lib/*/libcurl.so.*
- usr/lib/*/libgssapi.so.*
- usr/lib/*/libhcrypto.so.*
- usr/lib/*/libheimbase.so.*
- usr/lib/*/libheimntlm.so.*
- usr/lib/*/libhogweed.so.*
- usr/lib/*/libhx509.so.*
- usr/lib/*/libkrb5.so.*
- usr/lib/*/liblber-2.4.so.*
- usr/lib/*/libldap_r-2.4.so.*
- usr/lib/*/libnettle.so.*
- usr/lib/*/libnghttp2.so.*
- usr/lib/*/libpci.so.* - usr/lib/*/libpci.so.*
- usr/lib/*/libpipewire*.so* # - usr/lib/*/opensc-pkcs11.so
- usr/lib/*/libroken.so.* # - usr/lib/*/pkcs11/opensc-pkcs11.so
- usr/lib/*/librtmp.so.* # - usr/lib/*/libasn1.so.*
- usr/lib/*/libsasl2.so.* # - usr/lib/*/libcurl.so.*
- usr/lib/*/libspeechd.so.* # - usr/lib/*/libgssapi.so.*
- usr/lib/*/libssh.so.* # - usr/lib/*/libhcrypto.so.*
- usr/lib/*/libssl.so.* # - usr/lib/*/libheimbase.so.*
- usr/lib/*/libvulkan* # - usr/lib/*/libheimntlm.so.*
- usr/lib/*/libVkLayer* # - usr/lib/*/libhogweed.so.*
- usr/lib/*/libwind.so.* # - usr/lib/*/libhx509.so.*
- usr/lib/*/libXt.so.* # - usr/lib/*/libkrb5.so.*
- usr/lib/*/pipewire-* # - usr/lib/*/liblber-2.4.so.*
- usr/lib/*/spa-* # - usr/lib/*/libldap_r-2.4.so.*
# - usr/lib/*/libnettle.so.*
# - usr/lib/*/libnghttp2.so.*
# - usr/lib/*/libpipewire*.so*
# - usr/lib/*/libroken.so.*
# - usr/lib/*/librtmp.so.*
# - usr/lib/*/libsasl2.so.*
# - usr/lib/*/libspeechd.so.*
# - usr/lib/*/libssh.so.*
# - usr/lib/*/libssl.so.*
# - usr/lib/*/libvulkan*
# - usr/lib/*/libVkLayer*
# - usr/lib/*/libwind.so.*
# - usr/lib/*/libXt.so.*
# - usr/lib/*/pipewire-*
# - usr/lib/*/spa-*
# alsa does not seem to be found # alsa does not seem to be found
# - usr/share/alsa # - usr/share/alsa
- usr/share/pipewire # - usr/share/pipewire
- usr/share/vulkan # - usr/share/vulkan
stage-packages: stage-packages:
- libproxy1v5 - libproxy1v5
- glib-networking - glib-networking
- libpci3
- libasound2 - libasound2
- libcurl4 - libcurl4
- libpci3
- libpipewire-0.3-0 - libpipewire-0.3-0
- libpipewire-0.3-modules - libpipewire-0.3-modules
- libspa-0.2-modules - libspa-0.2-modules
@@ -219,3 +220,5 @@ slots:
hooks: hooks:
post-refresh: post-refresh:
plugs: [host-usr-share-hunspell] plugs: [host-usr-share-hunspell]
install:
plugs: [host-usr-share-hunspell]