Skip to content

Commit

Permalink
streamline 'Allow xxx' comments (#3922)
Browse files Browse the repository at this point in the history
* add comment: allow python

* add comment: allow python

* reorder allow comments

* fix perl allow comment

* add comment: allow python

* add comment: allow lua, perl & python

* reorder allow comments

* add comment: allow python

* add comment: allow python

* add comment: allow lua, perl & python

* fix allow comments

* add comment: allow python

* add comment: allow python

* fix spacing in comments

* add comment: allow python

* add comment: allow python

* fix comment

* add comment: allow perl & python

* add comment: allow lua & python

* add comment: allow lua, perl & python

* fix allow comments

* add comment: allow perl & python

* streamline allow python comments
  • Loading branch information
glitsj16 authored Jan 27, 2021
1 parent 6a1a367 commit fb4705b
Show file tree
Hide file tree
Showing 23 changed files with 50 additions and 15 deletions.
3 changes: 2 additions & 1 deletion etc/inc/firefox-common-addons.inc
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,12 @@ whitelist ${HOME}/.wine-pipelight64
whitelist ${HOME}/.zotero
whitelist ${HOME}/dwhelper

# GNOME Shell integration (chrome-gnome-shell) needs dbus and python 3 (blacklisted by disable-interpreters.inc)
# GNOME Shell integration (chrome-gnome-shell) needs dbus and python
noblacklist ${HOME}/.local/share/gnome-shell
whitelist ${HOME}/.local/share/gnome-shell
ignore dbus-user none
ignore dbus-system none
# Allow python (blacklisted by disable-interpreters.inc)
include allow-python3.inc

# KeePassXC Browser Integration
Expand Down
1 change: 1 addition & 0 deletions etc/profile-a-l/alacarte.profile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ include alacarte.local
# Persistent global definitions
include globals.local

# Allow python (blacklisted by disable-interpreters.inc)
include allow-python2.inc
include allow-python3.inc

Expand Down
6 changes: 3 additions & 3 deletions etc/profile-a-l/celluloid.profile
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ noblacklist ${HOME}/.config/celluloid
noblacklist ${HOME}/.config/gnome-mpv
noblacklist ${HOME}/.config/youtube-dl

# Allow lua (blacklisted by disable-interpreters.inc)
include allow-lua.inc

# Allow python (blacklisted by disable-interpreters.inc)
include allow-python2.inc
include allow-python3.inc

# Allow lua (blacklisted by disable-interpreters.inc)
include allow-lua.inc

include disable-common.inc
include disable-devel.inc
include disable-exec.inc
Expand Down
1 change: 1 addition & 0 deletions etc/profile-a-l/dia.profile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ include globals.local
noblacklist ${HOME}/.dia
noblacklist ${DOCUMENTS}

# Allow python (blacklisted by disable-interpreters.inc)
include allow-python2.inc
include allow-python3.inc

Expand Down
2 changes: 1 addition & 1 deletion etc/profile-a-l/file-manager-common.profile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ignore noexec ${HOME}
# Allow lua (blacklisted by disable-interpreters.inc)
include allow-lua.inc

# Allow perl
# Allow perl (blacklisted by disable-interpreters.inc)
include allow-perl.inc

# Allow python (blacklisted by disable-interpreters.inc)
Expand Down
1 change: 1 addition & 0 deletions etc/profile-a-l/fractal.profile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ include globals.local

noblacklist ${HOME}/.cache/fractal

# Allow python (blacklisted by disable-interpreters.inc)
include allow-python2.inc
include allow-python3.inc

Expand Down
5 changes: 5 additions & 0 deletions etc/profile-a-l/gummi.profile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,13 @@ include globals.local
noblacklist ${HOME}/.cache/gummi
noblacklist ${HOME}/.config/gummi

# Allow lua (blacklisted by disable-interpreters.inc)
include allow-lua.inc

# Allow perl (blacklisted by disable-interpreters.inc)
include allow-perl.inc

# Allow python (blacklisted by disable-interpreters.inc)
include allow-python3.inc

private-bin dvipdf,dvips,env,gummi,latex,latexmk,lua*,pdflatex,pdftex,perl,ps2pdf,python3*,rubber,synctex,tex,xelatex,xetex
Expand Down
6 changes: 3 additions & 3 deletions etc/profile-a-l/hexchat.profile
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ include globals.local

noblacklist ${HOME}/.config/hexchat

# Allow perl (blacklisted by disable-interpreters.inc)
include allow-perl.inc

# Allow python (blacklisted by disable-interpreters.inc)
include allow-python2.inc
include allow-python3.inc

# Allow perl (blacklisted by disable-interpreters.inc)
include allow-perl.inc

include disable-common.inc
include disable-devel.inc
include disable-exec.inc
Expand Down
1 change: 1 addition & 0 deletions etc/profile-a-l/jumpnbump-menu.profile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ include jumpnbump-menu.local
# added by included profile
#include globals.local

# Allow python (blacklisted by disable-interpreters.inc)
include allow-python3.inc

private-bin jumpnbump-menu,python3*
Expand Down
1 change: 1 addition & 0 deletions etc/profile-a-l/kazam.profile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ noblacklist ${PICTURES}
noblacklist ${VIDEOS}
noblacklist ${HOME}/.config/kazam

# Allow python (blacklisted by disable-interpreters.inc)
include allow-python2.inc
include allow-python3.inc

Expand Down
5 changes: 5 additions & 0 deletions etc/profile-a-l/lyx.profile
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,13 @@ ignore private-tmp
noblacklist ${HOME}/.config/LyX
noblacklist ${HOME}/.lyx

# Allow lua (blacklisted by disable-interpreters.inc)
include allow-lua.inc

# Allow perl (blacklisted by disable-interpreters.inc)
include allow-perl.inc

# Allow python (blacklisted by disable-interpreters.inc)
include allow-python2.inc
include allow-python3.inc

Expand Down
7 changes: 3 additions & 4 deletions etc/profile-m-z/meld.profile
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ include meld.local
# Persistent global definitions
include globals.local

# If you want to use meld as git-mergetool (and maybe some other VCS integrations) you need
# If you want to use meld as git mergetool (and maybe some other VCS integrations) you need
# to bypass firejail, you can do this by removing the symlink or calling it by its absolute path
# Removing the symlink:
# sudo rm /usr/local/bin/meld
# Calling by its absolute path (example for git-mergetool):
# Calling it by its absolute path (example for git mergetool):
# git config --global mergetool.meld.cmd /usr/bin/meld

noblacklist ${HOME}/.config/meld
Expand All @@ -22,10 +22,9 @@ noblacklist ${HOME}/.ssh
noblacklist ${HOME}/.subversion

# Allow python (blacklisted by disable-interpreters.inc)
include allow-python3.inc

# Python 2 is EOL (see #3164). Uncomment the next line (or put it into your meld.local) if you understand the risks but want python 2 support for older meld versions.
#include allow-python2.inc
include allow-python3.inc

# Uncomment the next line (or put it into your meld.local) if you don't need to compare files in disable-common.inc.
#include disable-common.inc
Expand Down
1 change: 1 addition & 0 deletions etc/profile-m-z/menulibre.profile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ include menulibre.local
# Persistent global definitions
include globals.local

# Allow python (blacklisted by disable-interpreters.inc)
include allow-python2.inc
include allow-python3.inc

Expand Down
1 change: 1 addition & 0 deletions etc/profile-m-z/mirage.profile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ noblacklist ${HOME}/.config/mirage
noblacklist ${HOME}/.local/share/mirage
noblacklist /sbin

# Allow python (blacklisted by disable-interpreters.inc)
include allow-python2.inc
include allow-python3.inc

Expand Down
1 change: 1 addition & 0 deletions etc/profile-m-z/mpv.profile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ noblacklist ${HOME}/.netrc

# Allow lua (blacklisted by disable-interpreters.inc)
include allow-lua.inc

# Allow python (blacklisted by disable-interpreters.inc)
include allow-python2.inc
include allow-python3.inc
Expand Down
1 change: 1 addition & 0 deletions etc/profile-m-z/nicotine.profile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ include globals.local

noblacklist ${HOME}/.nicotine

# Allow python (blacklisted by disable-interpreters.inc)
include allow-python2.inc

include disable-common.inc
Expand Down
1 change: 1 addition & 0 deletions etc/profile-m-z/onboard.profile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ include globals.local

noblacklist ${HOME}/.config/onboard

# Allow python (blacklisted by disable-interpreters.inc)
include allow-python2.inc
include allow-python3.inc

Expand Down
2 changes: 1 addition & 1 deletion etc/profile-m-z/pkglog.profile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ include pkglog.local
# Persistent global definitions
include globals.local

# Allow python3 (blacklisted by disable-interpreters.inc)
# Allow python (blacklisted by disable-interpreters.inc)
include allow-python3.inc

include disable-common.inc
Expand Down
5 changes: 4 additions & 1 deletion etc/profile-m-z/playonlinux.profile
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,12 @@ noblacklist ${HOME}/.PlayOnLinux
# nc is needed to run playonlinux
noblacklist ${PATH}/nc

# Allow perl (blacklisted by disable-interpreters.inc)
include allow-perl.inc

# Allow python (blacklisted by disable-interpreters.inc)
include allow-python2.inc
include allow-python3.inc
include allow-perl.inc

# Redirect
include wine.profile
3 changes: 3 additions & 0 deletions etc/profile-m-z/smplayer.profile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ noblacklist ${HOME}/.config/smplayer
noblacklist ${HOME}/.config/youtube-dl
noblacklist ${HOME}/.mplayer

# Allow lua (blacklisted by disable-interpreters.inc)
include allow-lua.inc

# Allow python (blacklisted by disable-interpreters.inc)
include allow-python2.inc
include allow-python3.inc

Expand Down
5 changes: 5 additions & 0 deletions etc/profile-m-z/straw-viewer.profile
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,13 @@ include globals.local
noblacklist ${HOME}/.cache/straw-viewer
noblacklist ${HOME}/.config/straw-viewer

# Allow lua (blacklisted by disable-interpreters.inc)
include allow-lua.inc

# Allow perl (blacklisted by disable-interpreters.inc)
include allow-perl.inc

# Allow python (blacklisted by disable-interpreters.inc)
include allow-python2.inc
include allow-python3.inc

Expand Down
3 changes: 2 additions & 1 deletion etc/profile-m-z/totem.profile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ include totem.local
# Persistent global definitions
include globals.local

# Allow lua (required for youtube video)
# Allow lua (blacklisted by disable-interpreters.inc)
# required for youtube video
include allow-lua.inc

# Allow python (blacklisted by disable-interpreters.inc)
Expand Down
3 changes: 3 additions & 0 deletions etc/profile-m-z/youtube-viewer.profile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ include globals.local

noblacklist ${HOME}/.config/youtube-viewer

# Allow perl (blacklisted by disable-interpreters.inc)
include allow-perl.inc

# Allow python (blacklisted by disable-interpreters.inc)
include allow-python2.inc
include allow-python3.inc

Expand Down

0 comments on commit fb4705b

Please sign in to comment.