mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
net-vpn/proton-vpn-gtk-app: remove call to apt
Signed-off-by: Mattéo Rossillol‑‑Laruelle <beatussum@protonmail.com>
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
From 70701c9a4027af7b804d415c01294858eda387fb Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Matt=C3=A9o=20Rossillol=E2=80=91=E2=80=91Laruelle?=
|
||||
<beatussum@protonmail.com>
|
||||
Date: Fri, 25 Apr 2025 15:07:19 +0200
|
||||
Subject: [PATCH] remove call to `apt`
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
In Gentoo, `apt` is a part of the Java upstream and is installed by
|
||||
`app-eselect/eselect-java`. This executable is not the `apt` package manager of
|
||||
Debian. Its call has to be removed to avoid an annoying notification.
|
||||
|
||||
Signed-off-by: Mattéo Rossillol‑‑Laruelle <beatussum@protonmail.com>
|
||||
---
|
||||
.../app/gtk/widgets/headerbar/menu/settings/early_access.py | 4 ----
|
||||
1 file changed, 4 deletions(-)
|
||||
|
||||
diff --git a/proton/vpn/app/gtk/widgets/headerbar/menu/settings/early_access.py b/proton/vpn/app/gtk/widgets/headerbar/menu/settings/early_access.py
|
||||
index 43a5694..affc693 100644
|
||||
--- a/proton/vpn/app/gtk/widgets/headerbar/menu/settings/early_access.py
|
||||
+++ b/proton/vpn/app/gtk/widgets/headerbar/menu/settings/early_access.py
|
||||
@@ -380,10 +380,6 @@ class EarlyAccessWidget(ToggleWidget):
|
||||
future.add_done_callback(on_handle_early_access)
|
||||
|
||||
def _get_system_distro_manager(self) -> Optional[DistroManager]:
|
||||
- for supported_distro_manager in self.SUPPORTED_DISTRO_MANAGERS:
|
||||
- if shutil.which(supported_distro_manager.name):
|
||||
- return supported_distro_manager
|
||||
-
|
||||
return None
|
||||
|
||||
def _restore_switch_to_previous_state(self):
|
||||
--
|
||||
2.49.0
|
||||
|
||||
@@ -34,6 +34,8 @@ RDEPEND="
|
||||
')
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-remove-call-to-apt.patch" )
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
|
||||
Reference in New Issue
Block a user