refactor(profiles): use @{bin} and @{lib} in profiles (1)
This commit is contained in:
parent
59469b57b4
commit
bb71f49598
125 changed files with 955 additions and 959 deletions
|
|
@ -8,11 +8,11 @@ abi <abi/3.0>,
|
|||
include <tunables/global>
|
||||
|
||||
@{firefox_name} = firefox{,.sh,-esr,-bin}
|
||||
@{firefox_lib_dirs} = /{usr/,}lib{,32,64}/@{firefox_name} /opt/@{firefox_name}
|
||||
@{firefox_lib_dirs} = @{lib}/@{firefox_name} /opt/@{firefox_name}
|
||||
@{firefox_config_dirs} = @{HOME}/.mozilla/
|
||||
@{firefox_cache_dirs} = @{user_cache_dirs}/mozilla/
|
||||
|
||||
@{exec_path} = /{usr/,}bin/@{firefox_name} @{firefox_lib_dirs}/@{firefox_name}
|
||||
@{exec_path} = @{bin}/@{firefox_name} @{firefox_lib_dirs}/@{firefox_name}
|
||||
profile firefox @{exec_path} flags=(attach_disconnected) {
|
||||
include <abstractions/base>
|
||||
include <abstractions/audio>
|
||||
|
|
@ -128,8 +128,8 @@ profile firefox @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
@{exec_path} mrix,
|
||||
|
||||
/{usr/,}bin/{,ba,da}sh rix,
|
||||
/{usr/,}bin/basename rix,
|
||||
@{bin}/{,ba,da}sh rix,
|
||||
@{bin}/basename rix,
|
||||
|
||||
@{firefox_lib_dirs}/{,**} r,
|
||||
@{firefox_lib_dirs}/*.so mr,
|
||||
|
|
@ -139,28 +139,28 @@ profile firefox @{exec_path} flags=(attach_disconnected) {
|
|||
@{firefox_lib_dirs}/pingsender rPx,
|
||||
@{firefox_lib_dirs}/plugin-container rPx,
|
||||
@{firefox_lib_dirs}/vaapitest rPUx,
|
||||
/{usr/,}lib/mozilla/kmozillahelper rPUx,
|
||||
@{lib}/mozilla/kmozillahelper rPUx,
|
||||
|
||||
/{usr/,}lib/@{multiarch}/qt5/plugins/kf5/org.kde.kwindowsystem.platforms/KF5WindowSystemX11Plugin.so mr,
|
||||
/{usr/,}lib/mozilla/plugins/ r,
|
||||
/{usr/,}lib/mozilla/plugins/libvlcplugin.so mr,
|
||||
@{lib}/@{multiarch}/qt5/plugins/kf5/org.kde.kwindowsystem.platforms/KF5WindowSystemX11Plugin.so mr,
|
||||
@{lib}/mozilla/plugins/ r,
|
||||
@{lib}/mozilla/plugins/libvlcplugin.so mr,
|
||||
|
||||
# Desktop integration
|
||||
@{libexec}/gvfsd-metadata rPx,
|
||||
/{usr/,}bin/exo-open rPx -> child-open,
|
||||
/{usr/,}bin/gnome-software rPx,
|
||||
/{usr/,}bin/kreadconfig5 rix,
|
||||
/{usr/,}bin/lsb_release rPx -> lsb_release,
|
||||
/{usr/,}bin/update-mime-database rPx,
|
||||
/{usr/,}bin/xdg-open rPx -> child-open,
|
||||
/{usr/,}lib/@{multiarch}/glib-[0-9]*/gio-launch-desktop rPx -> child-open,
|
||||
/{usr/,}lib/gio-launch-desktop rPx -> child-open,
|
||||
@{bin}/exo-open rPx -> child-open,
|
||||
@{bin}/gnome-software rPx,
|
||||
@{bin}/kreadconfig5 rix,
|
||||
@{bin}/lsb_release rPx -> lsb_release,
|
||||
@{bin}/update-mime-database rPx,
|
||||
@{bin}/xdg-open rPx -> child-open,
|
||||
@{lib}/@{multiarch}/glib-[0-9]*/gio-launch-desktop rPx -> child-open,
|
||||
@{lib}/gio-launch-desktop rPx -> child-open,
|
||||
@{lib}/gvfsd-metadata rPx,
|
||||
|
||||
# Common extensions
|
||||
/opt/net.downloadhelper.coapp/bin/net.downloadhelper.coapp* rPx,
|
||||
/{usr/,}bin/browserpass rPx,
|
||||
@{bin}/browserpass rPx,
|
||||
# As a temporary solution - see issue #128
|
||||
/{usr/,}bin/keepassxc-proxy rix,
|
||||
@{bin}/keepassxc-proxy rix,
|
||||
|
||||
/usr/share/doc/{,**} r,
|
||||
/usr/share/egl/{,**} r,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue