diff options
Diffstat (limited to 'system/OpenSnitch/patches')
-rw-r--r-- | system/OpenSnitch/patches/remove-debian-path.patch | 4 | ||||
-rw-r--r-- | system/OpenSnitch/patches/use-system-python-packages.patch | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/system/OpenSnitch/patches/remove-debian-path.patch b/system/OpenSnitch/patches/remove-debian-path.patch index 6cb62752cd..22a85f4413 100644 --- a/system/OpenSnitch/patches/remove-debian-path.patch +++ b/system/OpenSnitch/patches/remove-debian-path.patch @@ -1,8 +1,8 @@ -This patch watch taken from Arch Linux repositories: +This patch was taken from Arch Linux repositories: https://gitlab.archlinux.org/archlinux/packaging/packages/opensnitch/-/blob/main/remove-debian-path.patch --- a/ui/bin/opensnitch-ui +++ b/ui/bin/opensnitch-ui -@@ -35,10 +35,6 @@ from concurrent import futures +@@ -34,10 +34,6 @@ import grpc diff --git a/system/OpenSnitch/patches/use-system-python-packages.patch b/system/OpenSnitch/patches/use-system-python-packages.patch index 441e01c480..d24764ea82 100644 --- a/system/OpenSnitch/patches/use-system-python-packages.patch +++ b/system/OpenSnitch/patches/use-system-python-packages.patch @@ -2,14 +2,14 @@ This patch was taken from Arch Linux repositories: https://gitlab.archlinux.org/archlinux/packaging/packages/opensnitch/-/blob/main/use-system-python-packages.patch --- a/ui/Makefile +++ b/ui/Makefile -@@ -3,16 +3,13 @@ all: opensnitch/resources_rc.py +@@ -3,16 +3,13 @@ install: @pip3 install --upgrade . -opensnitch/resources_rc.py: translations deps +opensnitch/resources_rc.py: translations @pyrcc5 -o opensnitch/resources_rc.py opensnitch/res/resources.qrc - sed -i 's/^import ui_pb2/from . import ui_pb2/' opensnitch/ui_pb2* + @find opensnitch/proto/ -name 'ui_pb2_grpc.py' -exec sed -i 's/^import ui_pb2/from . import ui_pb2/' {} \; translations: @cd i18n ; make |