public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: net-vpn/proton-vpn-gtk-app/files/, net-vpn/proton-vpn-gtk-app/
Date: Fri, 25 Apr 2025 15:24:32 +0000 (UTC)	[thread overview]
Message-ID: <1745587809.d488f84a9f1b4a1d8b5110f0b5a660e45dbb8df6.davidroman@gentoo> (raw)

commit:     d488f84a9f1b4a1d8b5110f0b5a660e45dbb8df6
Author:     Mattéo Rossillol‑‑Laruelle <beatussum <AT> protonmail <DOT> com>
AuthorDate: Fri Apr 25 13:30:09 2025 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Fri Apr 25 13:30:09 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d488f84a

net-vpn/proton-vpn-gtk-app: remove call to `apt`

Signed-off-by: Mattéo Rossillol‑‑Laruelle <beatussum <AT> protonmail.com>

 ...oton-vpn-gtk-app-4.9.6-remove-call-to-apt.patch | 36 ++++++++++++++++++++++
 ...6.ebuild => proton-vpn-gtk-app-4.9.6-r1.ebuild} |  2 ++
 2 files changed, 38 insertions(+)

diff --git a/net-vpn/proton-vpn-gtk-app/files/proton-vpn-gtk-app-4.9.6-remove-call-to-apt.patch b/net-vpn/proton-vpn-gtk-app/files/proton-vpn-gtk-app-4.9.6-remove-call-to-apt.patch
new file mode 100644
index 000000000..f902132d3
--- /dev/null
+++ b/net-vpn/proton-vpn-gtk-app/files/proton-vpn-gtk-app-4.9.6-remove-call-to-apt.patch
@@ -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
+

diff --git a/net-vpn/proton-vpn-gtk-app/proton-vpn-gtk-app-4.9.6.ebuild b/net-vpn/proton-vpn-gtk-app/proton-vpn-gtk-app-4.9.6-r1.ebuild
similarity index 95%
rename from net-vpn/proton-vpn-gtk-app/proton-vpn-gtk-app-4.9.6.ebuild
rename to net-vpn/proton-vpn-gtk-app/proton-vpn-gtk-app-4.9.6-r1.ebuild
index 4e64c0fe7..d03d6c166 100644
--- a/net-vpn/proton-vpn-gtk-app/proton-vpn-gtk-app-4.9.6.ebuild
+++ b/net-vpn/proton-vpn-gtk-app/proton-vpn-gtk-app-4.9.6-r1.ebuild
@@ -34,6 +34,8 @@ RDEPEND="
 	')
 "
 
+PATCHES=( "${FILESDIR}/${P}-remove-call-to-apt.patch" )
+
 src_install() {
 	distutils-r1_src_install
 


                 reply	other threads:[~2025-04-25 15:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1745587809.d488f84a9f1b4a1d8b5110f0b5a660e45dbb8df6.davidroman@gentoo \
    --to=davidroman96@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox