commit:     3a1a51e516ca12955bd89b6b9e4466f013f3d7c6
Author:     Mattéo Rossillol‑‑Laruelle <beatussum <AT> protonmail <DOT> com>
AuthorDate: Wed Jul 16 23:00:41 2025 +0000
Commit:     Mattéo Rossillol‑‑Laruelle <beatussum <AT> protonmail <DOT> com>
CommitDate: Wed Jul 16 23:26:33 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3a1a51e5

net-vpn/proton-vpn-gtk-app: add 4.9.7, drop 4.9.6-r2

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

 net-vpn/proton-vpn-gtk-app/Manifest                |  2 +-
 ...oton-vpn-gtk-app-4.9.6-remove-call-to-apt.patch | 36 ----------------------
 ...6-r2.ebuild => proton-vpn-gtk-app-4.9.7.ebuild} |  7 ++---
 3 files changed, 3 insertions(+), 42 deletions(-)

diff --git a/net-vpn/proton-vpn-gtk-app/Manifest 
b/net-vpn/proton-vpn-gtk-app/Manifest
index 421e3bb25c..4803744c56 100644
--- a/net-vpn/proton-vpn-gtk-app/Manifest
+++ b/net-vpn/proton-vpn-gtk-app/Manifest
@@ -1 +1 @@
-DIST proton-vpn-gtk-app-4.9.6.tar.gz 143078 BLAKE2B 
e50f2c20ba6b94e476cf8043bc58099597c3f9929dfe141dd821fddfa946d65c523345f0a4fdb000be5982f8b6121f47a75495786ada86c68bdc195daa3a5e3e
 SHA512 
f3c90bc7ae55c5212be186f572f42b705fe09c4f2d1cf0e4667f209292bab6ca1d592e687e138f96486af098e09661c1a60f1c60d4e8cd70bda4652429acc0cd
+DIST proton-vpn-gtk-app-4.9.7.tar.gz 143793 BLAKE2B 
2690cf0a286e600e38d7d2d77729ad64762635db4c0d738e971d6edf7f73dd35e6e4f2a4737dd660c7c7782d358d08f995174764227a967756740067931da113
 SHA512 
d74b17edfb3166fc42b1087a8c9c36c24beb409fda34b236bcf505cac989328beb3ce9c9fa4f1349710e184ca76d11d7ee9a5fa73b5ef42d97a11a13a8389ac8

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
deleted file mode 100644
index f902132d39..0000000000
--- 
a/net-vpn/proton-vpn-gtk-app/files/proton-vpn-gtk-app-4.9.6-remove-call-to-apt.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From 70701c9a4027af7b804d415c01294858eda387fb Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Matt=C3=A9o=20Rossillol=E2=80=91=E2=80=91Laruelle?=
- <[email protected]>
-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 <[email protected]>
----
- .../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-r2.ebuild 
b/net-vpn/proton-vpn-gtk-app/proton-vpn-gtk-app-4.9.7.ebuild
similarity index 88%
rename from net-vpn/proton-vpn-gtk-app/proton-vpn-gtk-app-4.9.6-r2.ebuild
rename to net-vpn/proton-vpn-gtk-app/proton-vpn-gtk-app-4.9.7.ebuild
index 8f645ac844..eab6eb8149 100644
--- a/net-vpn/proton-vpn-gtk-app/proton-vpn-gtk-app-4.9.6-r2.ebuild
+++ b/net-vpn/proton-vpn-gtk-app/proton-vpn-gtk-app-4.9.7.ebuild
@@ -12,7 +12,7 @@ inherit desktop distutils-r1
 
 DESCRIPTION="Proton VPN GTK app"
 HOMEPAGE="https://github.com/ProtonVPN/proton-vpn-gtk-app";
-SRC_URI="https://github.com/ProtonVPN/proton-vpn-gtk-app/archive/refs/tags/${PV}.tar.gz
 -> ${P}.tar.gz"
+SRC_URI="https://github.com/ProtonVPN/proton-vpn-gtk-app/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz"
 LICENSE="GPL-3+"
 SLOT="0"
 KEYWORDS="~amd64"
@@ -34,10 +34,7 @@ RDEPEND="
        ')
 "
 
-PATCHES=(
-       "${FILESDIR}/${P}-remove-anonymous-bug-report.patch"
-       "${FILESDIR}/${P}-remove-call-to-apt.patch"
-)
+PATCHES=( "${FILESDIR}/${PN}-4.9.6-remove-anonymous-bug-report.patch" )
 
 src_install() {
        distutils-r1_src_install

Reply via email to