add preview tools

This commit is contained in:
valoq 2025-09-10 12:10:58 +02:00
parent d9ecbdbe4b
commit 6f5ce42a7f
No known key found for this signature in database
GPG key ID: 19F09A0FB865CBD8
4 changed files with 84 additions and 0 deletions

View file

@ -0,0 +1,19 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2025 valoq <valoq@mailbox.org>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/4.0>,
include <tunables/global>
@{exec_path} = @{bin}/chafa
profile chafa /{,usr/}bin/chafa {
include <abstractions/base>
include <abstractions/user-read-strict>
@{exec_path} mr,
include if exists <local/chafa>
}
# vim:syntax=apparmor

View file

@ -0,0 +1,25 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2025 valoq <valoq@mailbox.org>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/4.0>,
include <tunables/global>
@{exec_path} = @{bin}/magick
profile magick /{,usr/}bin/magick {
include <abstractions/base>
include <abstractions/fonts>
include <abstractions/user-read-strict>
include <abstractions/user-write-strict>
@{exec_path} mr,
/etc/ImageMagick-@{int}/** r,
/usr/share/ImageMagick-@{int}/** r,
include if exists <local/magick>
}
# vim:syntax=apparmor

View file

@ -0,0 +1,21 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2025 valoq <valoq@mailbox.org>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/4.0>,
include <tunables/global>
@{exec_path} = @{bin}/resvg
profile resvg /{,usr/}bin/resvg {
include <abstractions/base>
include <abstractions/fonts>
include <abstractions/user-read-strict>
include <abstractions/user-write-strict>
@{exec_path} mr,
include if exists <local/resvg>
}
# vim:syntax=apparmor

View file

@ -0,0 +1,19 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2025 valoq <valoq@mailbox.org>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/4.0>,
include <tunables/global>
@{exec_path} = @{bin}/uberzugpp
profile uberzugpp /{,usr/}bin/uberzugpp {
include <abstractions/base>
include <abstractions/user-read-strict>
@{exec_path} mr,
include if exists <local/uberzugpp>
}
# vim:syntax=apparmor