diff options
author | 2022-12-14 14:16:03 -0500 | |
---|---|---|
committer | 2022-12-14 14:16:03 -0500 | |
commit | 7f6ddc00c7b79a3cb2012723185412c59f5d79e1 (patch) | |
tree | e95290f46906be5253e46217940bf75893c93baf | |
parent | Add support for Qt6 (#5527) (diff) | |
parent | Add profile for avidemux3_jobs_qt5 (diff) | |
download | firejail-7f6ddc00c7b79a3cb2012723185412c59f5d79e1.tar.gz firejail-7f6ddc00c7b79a3cb2012723185412c59f5d79e1.tar.zst firejail-7f6ddc00c7b79a3cb2012723185412c59f5d79e1.zip |
Merge pull request #5522 from hknaack/avidemux-fixes-for-opensuse
Avidemux tools support
-rw-r--r-- | etc/inc/disable-programs.inc | 1 | ||||
-rw-r--r-- | etc/profile-a-l/avidemux.profile | 4 | ||||
-rw-r--r-- | etc/profile-a-l/avidemux3_cli.profile | 11 | ||||
-rw-r--r-- | etc/profile-a-l/avidemux3_jobs_qt5.profile | 18 | ||||
-rw-r--r-- | etc/profile-a-l/avidemux3_qt5.profile | 15 | ||||
-rw-r--r-- | src/firecfg/firecfg.config | 2 |
6 files changed, 51 insertions, 0 deletions
diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc index 9563ced71..d5ddf02b8 100644 --- a/etc/inc/disable-programs.inc +++ b/etc/inc/disable-programs.inc | |||
@@ -42,6 +42,7 @@ blacklist ${HOME}/.asunder_album_title | |||
42 | blacklist ${HOME}/.atom | 42 | blacklist ${HOME}/.atom |
43 | blacklist ${HOME}/.attic | 43 | blacklist ${HOME}/.attic |
44 | blacklist ${HOME}/.audacity-data | 44 | blacklist ${HOME}/.audacity-data |
45 | blacklist ${HOME}/.avidemux3 | ||
45 | blacklist ${HOME}/.avidemux6 | 46 | blacklist ${HOME}/.avidemux6 |
46 | blacklist ${HOME}/.ballbuster.hs | 47 | blacklist ${HOME}/.ballbuster.hs |
47 | blacklist ${HOME}/.balsa | 48 | blacklist ${HOME}/.balsa |
diff --git a/etc/profile-a-l/avidemux.profile b/etc/profile-a-l/avidemux.profile index 69fc38c44..4cb556f6e 100644 --- a/etc/profile-a-l/avidemux.profile +++ b/etc/profile-a-l/avidemux.profile | |||
@@ -1,10 +1,12 @@ | |||
1 | # Firejail profile for Avidemux | 1 | # Firejail profile for Avidemux |
2 | # Description: Avidemux is a free video editor designed for simple cutting, filtering and encoding tasks. | 2 | # Description: Avidemux is a free video editor designed for simple cutting, filtering and encoding tasks. |
3 | # This file is overwritten after every install/update | ||
3 | # Persistent local customizations | 4 | # Persistent local customizations |
4 | include avidemux.local | 5 | include avidemux.local |
5 | # Persistent global definitions | 6 | # Persistent global definitions |
6 | include globals.local | 7 | include globals.local |
7 | 8 | ||
9 | noblacklist ${HOME}/.avidemux3 | ||
8 | noblacklist ${HOME}/.avidemux6 | 10 | noblacklist ${HOME}/.avidemux6 |
9 | noblacklist ${HOME}/.config/avidemux3_qt5rc | 11 | noblacklist ${HOME}/.config/avidemux3_qt5rc |
10 | noblacklist ${VIDEOS} | 12 | noblacklist ${VIDEOS} |
@@ -17,8 +19,10 @@ include disable-programs.inc | |||
17 | include disable-shell.inc | 19 | include disable-shell.inc |
18 | include disable-xdg.inc | 20 | include disable-xdg.inc |
19 | 21 | ||
22 | mkdir ${HOME}/.avidemux3 | ||
20 | mkdir ${HOME}/.avidemux6 | 23 | mkdir ${HOME}/.avidemux6 |
21 | mkdir ${HOME}/.config/avidemux3_qt5rc | 24 | mkdir ${HOME}/.config/avidemux3_qt5rc |
25 | whitelist ${HOME}/.avidemux3 | ||
22 | whitelist ${HOME}/.avidemux6 | 26 | whitelist ${HOME}/.avidemux6 |
23 | whitelist ${HOME}/.config/avidemux3_qt5rc | 27 | whitelist ${HOME}/.config/avidemux3_qt5rc |
24 | whitelist ${VIDEOS} | 28 | whitelist ${VIDEOS} |
diff --git a/etc/profile-a-l/avidemux3_cli.profile b/etc/profile-a-l/avidemux3_cli.profile new file mode 100644 index 000000000..18d05a031 --- /dev/null +++ b/etc/profile-a-l/avidemux3_cli.profile | |||
@@ -0,0 +1,11 @@ | |||
1 | # Firejail profile for avidemux3_cli | ||
2 | # Description: The command-line interface for Avidemux. | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include avidemux3_cli.local | ||
6 | # Persistent global definitions | ||
7 | # added by included profile | ||
8 | #include globals.local | ||
9 | |||
10 | # Redirect | ||
11 | include avidemux.profile | ||
diff --git a/etc/profile-a-l/avidemux3_jobs_qt5.profile b/etc/profile-a-l/avidemux3_jobs_qt5.profile new file mode 100644 index 000000000..d84d67494 --- /dev/null +++ b/etc/profile-a-l/avidemux3_jobs_qt5.profile | |||
@@ -0,0 +1,18 @@ | |||
1 | # Firejail profile for avidemux3_jobs_qt5 | ||
2 | # Description: The Qt5 GUI to run Avidemux jobs. | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include avidemux3_jobs_qt5.local | ||
6 | # Persistent global definitions | ||
7 | # added by included profile | ||
8 | #include globals.local | ||
9 | |||
10 | # Provide a shell to spawn avidemux3_cli | ||
11 | include allow-bin-sh.inc | ||
12 | private-bin sh | ||
13 | |||
14 | # Needs to bind to a socket on localhost | ||
15 | protocol inet,inet6 | ||
16 | |||
17 | # Redirect | ||
18 | include avidemux3_qt5.profile | ||
diff --git a/etc/profile-a-l/avidemux3_qt5.profile b/etc/profile-a-l/avidemux3_qt5.profile new file mode 100644 index 000000000..65aacd942 --- /dev/null +++ b/etc/profile-a-l/avidemux3_qt5.profile | |||
@@ -0,0 +1,15 @@ | |||
1 | # Firejail profile for avidemux3_qt5 | ||
2 | # Description: The Qt5 GUI for Avidemux. | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include avidemux3_qt5.local | ||
6 | # Persistent global definitions | ||
7 | # added by included profile | ||
8 | #include globals.local | ||
9 | |||
10 | # Allow translations | ||
11 | whitelist /usr/share/avidemux3 | ||
12 | whitelist /usr/share/avidemux6 | ||
13 | |||
14 | # Redirect | ||
15 | include avidemux.profile | ||
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config index f061003b1..152263f04 100644 --- a/src/firecfg/firecfg.config +++ b/src/firecfg/firecfg.config | |||
@@ -74,6 +74,8 @@ autokey-gtk | |||
74 | autokey-qt | 74 | autokey-qt |
75 | autokey-run | 75 | autokey-run |
76 | autokey-shell | 76 | autokey-shell |
77 | avidemux3_cli | ||
78 | avidemux3_jobs_qt5 | ||
77 | avidemux3_qt5 | 79 | avidemux3_qt5 |
78 | aweather | 80 | aweather |
79 | ballbuster | 81 | ballbuster |