| 1 |
# ------------------------------------------------------------------ |
| 2 |
# |
| 3 |
# Copyright (C) 2016 Canonical Ltd. |
| 4 |
# Copyright (C) 2018 Software in the Public Interest, Inc. |
| 5 |
# |
| 6 |
# This Source Code Form is subject to the terms of the Mozilla Public |
| 7 |
# License, v. 2.0. If a copy of the MPL was not distributed with this |
| 8 |
# file, You can obtain one at http://mozilla.org/MPL/2.0/. |
| 9 |
# |
| 10 |
# Author: Bryan Quigley <[email protected]> |
| 11 |
# Rene Engelhard <[email protected]> |
| 12 |
# |
| 13 |
# ------------------------------------------------------------------ |
| 14 |
|
| 15 |
@{libo_inst_dir} = @INSTDIR@ |
| 16 |
|
| 17 |
include <tunables/global> |
| 18 |
|
| 19 |
profile libreoffice-oosplash @{libo_inst_dir}/program/oosplash flags=(complain) { |
| 20 |
include <abstractions/base> |
| 21 |
include <abstractions/nameservice> |
| 22 |
include <abstractions/X> |
| 23 |
|
| 24 |
/etc/libreoffice/ r, |
| 25 |
/etc/libreoffice/** r, |
| 26 |
/sys/devices/{virtual,pci[0-9]*}/**/queue/rotational r, # for isRotational() in desktop/unx/source/pagein.c |
| 27 |
/usr/lib{,32,64}/ure/bin/javaldx rmpux, |
| 28 |
/usr/share/libreoffice/program/* r, |
| 29 |
@{libo_inst_dir}/program/** r, |
| 30 |
@{libo_inst_dir}/program/soffice.bin rmpx, |
| 31 |
@{libo_inst_dir}/program/javaldx rmpux, |
| 32 |
owner @{HOME}/.config/libreoffice{,dev}/?/user/uno_packages/cache/log.txt rw, |
| 33 |
|
| 34 |
# Site-specific additions and overrides. See local/README for details. |
| 35 |
include if exists <local/libreoffice-oosplash> |
| 36 |
} |