* [gentoo-commits] repo/gentoo:master commit in: net-vpn/eduvpn-client/, net-vpn/eduvpn-client/files/
@ 2024-02-26 16:43 Florian Schmaus
0 siblings, 0 replies; 2+ messages in thread
From: Florian Schmaus @ 2024-02-26 16:43 UTC (permalink / raw
To: gentoo-commits
commit: b75760fe33a53badfc181435db7bca27369feec7
Author: Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de>
AuthorDate: Fri Nov 24 07:20:08 2023 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon Feb 26 16:41:45 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b75760fe
net-vpn/eduvpn-client: update icon cache
Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de>
Thanks-to: Ralph Sontag <ralph.sontag <AT> informatik.tu-chemnitz.de>
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
...client-4.1.3.ebuild => eduvpn-client-4.1.3-r1.ebuild} | 14 +++++++++++++-
...-4.1.99.0.ebuild => eduvpn-client-4.1.99.0-r1.ebuild} | 16 +++++++++++++++-
net-vpn/eduvpn-client/files/eduvpn-client-desktop.patch | 16 ++++++++++++++++
3 files changed, 44 insertions(+), 2 deletions(-)
diff --git a/net-vpn/eduvpn-client/eduvpn-client-4.1.3.ebuild b/net-vpn/eduvpn-client/eduvpn-client-4.1.3-r1.ebuild
similarity index 84%
rename from net-vpn/eduvpn-client/eduvpn-client-4.1.3.ebuild
rename to net-vpn/eduvpn-client/eduvpn-client-4.1.3-r1.ebuild
index 58124218aa8c..8f80162c577e 100644
--- a/net-vpn/eduvpn-client/eduvpn-client-4.1.3.ebuild
+++ b/net-vpn/eduvpn-client/eduvpn-client-4.1.3-r1.ebuild
@@ -6,7 +6,7 @@ EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=setuptools
-inherit distutils-r1
+inherit distutils-r1 xdg-utils
if [[ ${PV} == "9999" ]] ; then
inherit git-r3
@@ -35,4 +35,16 @@ RDEPEND="
>=net-vpn/eduvpn-common-1.1.2[${PYTHON_USEDEP}]
"
+PATCHES=(
+ "${FILESDIR}/${PN}-desktop.patch"
+)
+
distutils_enable_sphinx doc
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
diff --git a/net-vpn/eduvpn-client/eduvpn-client-4.1.99.0.ebuild b/net-vpn/eduvpn-client/eduvpn-client-4.1.99.0-r1.ebuild
similarity index 82%
rename from net-vpn/eduvpn-client/eduvpn-client-4.1.99.0.ebuild
rename to net-vpn/eduvpn-client/eduvpn-client-4.1.99.0-r1.ebuild
index c5909a9568a4..5c6e698e30a3 100644
--- a/net-vpn/eduvpn-client/eduvpn-client-4.1.99.0.ebuild
+++ b/net-vpn/eduvpn-client/eduvpn-client-4.1.99.0-r1.ebuild
@@ -10,7 +10,7 @@ DOCS_DIR="doc"
PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=setuptools
-inherit distutils-r1 docs
+inherit distutils-r1 docs xdg-utils
if [[ ${PV} == "9999" ]] ; then
inherit git-r3
@@ -36,3 +36,17 @@ RDEPEND="
dev-python/pygobject:3[${PYTHON_USEDEP}]
>=net-vpn/eduvpn-common-1.1.99.0[${PYTHON_USEDEP}]
"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-desktop.patch"
+)
+
+pkg_postinst() {
+ default
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ default
+ xdg_icon_cache_update
+}
diff --git a/net-vpn/eduvpn-client/files/eduvpn-client-desktop.patch b/net-vpn/eduvpn-client/files/eduvpn-client-desktop.patch
new file mode 100644
index 000000000000..69c5d03d2b97
--- /dev/null
+++ b/net-vpn/eduvpn-client/files/eduvpn-client-desktop.patch
@@ -0,0 +1,16 @@
+--- a/share/applications/org.eduvpn.client.desktop
++++ b/share/applications/org.eduvpn.client.desktop
+@@ -6,4 +6,4 @@ Comment=a GUI to connect to eduVPN using OpenVPN and WireGuard
+ Exec=eduvpn-gui
+ Icon=org.eduvpn.client
+ Terminal=false
+-
++Categories=Network;Dialup
+--- a/share/applications/org.letsconnect-vpn.client.desktop
++++ b/share/applications/org.letsconnect-vpn.client.desktop
+@@ -6,4 +6,4 @@ Comment=a GUI to connect to Let's Connect! using OpenVPN and WireGuard
+ Exec=letsconnect-gui
+ Icon=org.letsconnect-vpn.client
+ Terminal=false
+-
++Categories=Network;Dialup
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-vpn/eduvpn-client/, net-vpn/eduvpn-client/files/
@ 2024-07-04 1:15 Sam James
0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2024-07-04 1:15 UTC (permalink / raw
To: gentoo-commits
commit: b256cf0d76a15f3ab48dc8d89e208bc668317b74
Author: Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de>
AuthorDate: Tue Jun 11 20:58:55 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jul 4 01:14:50 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b256cf0d
net-vpn/eduvpn-client: add 4.3.1
Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de>
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-vpn/eduvpn-client/Manifest | 2 +
net-vpn/eduvpn-client/eduvpn-client-4.3.1.ebuild | 67 ++++++++++++++++++++++
.../files/eduvpn-client-4.3.1-desktop.patch | 16 ++++++
3 files changed, 85 insertions(+)
diff --git a/net-vpn/eduvpn-client/Manifest b/net-vpn/eduvpn-client/Manifest
index e7c123e8599e..098e15669ed3 100644
--- a/net-vpn/eduvpn-client/Manifest
+++ b/net-vpn/eduvpn-client/Manifest
@@ -1,2 +1,4 @@
DIST python-eduvpn-client-4.2.1.tar.xz 973220 BLAKE2B 4ab4233ae31ad8b60ac12566995b9340d5e908a5f5146403491389e51ca72714ff2dbb4353f2cf17938c5bb036bfc39159f2bb8acab832a3981b2ad431d5156e SHA512 ae1b537b0f89b9bda32c4f46d67eade2bb96d17fdcb1c79eb1cac52754f715fdaf2953de6c2875cd0339fcbbbb1221b95c654958a9a1788865da71f0b29e657a
DIST python-eduvpn-client-4.2.1.tar.xz.asc 228 BLAKE2B 4f41b358e38ba0f488fc4f1ef4f4ff82ec094308455178978ed33f98fb660c867350624e49cd414ca73ededb7599f689aba1f92ee4416e57c90e19e703ebfbb9 SHA512 d141c1227cf7b5f3425085c42842408d7ed4cb55904dfe22fa9a220e520050c6fbdd3e943876845b1ded95f56eeef3a211f3e33c75c547adfe081f83041a0647
+DIST python-eduvpn-client-4.3.1.tar.xz 977296 BLAKE2B b4d75fa119c11350ee7fd84886bb1e822342f67e683eae3a53319e9b52bd42a62fca3988eec263e29cf4313219d85ed6915fe81e578b399d12647d25cf4d1259 SHA512 a9cb8ff72f4fc9a54cb8f29a0729d1c50b45dacb707e1e02147a06ef9e4eb0c27f6d18871eec8bc4ad9e3ae90e5d2c2009e1c6835602a468b65daacf195b7a13
+DIST python-eduvpn-client-4.3.1.tar.xz.asc 228 BLAKE2B 04686da2736888200ae43c594c5927e470cd957458859603282beedb1dd2df418759132650552fb48a9d6438203f40c797a094c5246010603076ee99376517b4 SHA512 672d2e7b35458b74aac96596cdc7ae73194cf6ed9960b3257c849d17e02f3add1249f82488eae5c8b51a0511c203b68e0d71550f968a2ac01da2b9ebf3317847
diff --git a/net-vpn/eduvpn-client/eduvpn-client-4.3.1.ebuild b/net-vpn/eduvpn-client/eduvpn-client-4.3.1.ebuild
new file mode 100644
index 000000000000..13d420d01b3e
--- /dev/null
+++ b/net-vpn/eduvpn-client/eduvpn-client-4.3.1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DOCS_BUILDER="mkdocs"
+DOCS_DEPEND="dev-python/mkdocs-material"
+DOCS_DIR="doc"
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1 docs xdg-utils
+
+if [[ ${PV} == "9999" ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/eduvpn/python-${PN}.git"
+ S="${WORKDIR}/${P}"
+else
+ # Development Versions use a different release signing key
+ if [[ $(ver_cut 2) == 99 || $(ver_cut 3) == 99 ]] ; then
+ VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/eduvpn-dev.asc
+ else
+ VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/eduvpn.asc
+ fi
+ inherit verify-sig
+ MY_P="python-${P}"
+ SRC_URI="
+ https://github.com/eduvpn/python-eduvpn-client/releases/download/${PV}/${MY_P}.tar.xz
+ verify-sig? ( https://github.com/eduvpn/python-eduvpn-client/releases/download/${PV}/${MY_P}.tar.xz.asc )
+ "
+ KEYWORDS="~amd64 ~x86"
+ S="${WORKDIR}/${MY_P}"
+fi
+
+DESCRIPTION="Linux client and Python client API for eduVPN"
+HOMEPAGE="https://www.eduvpn.org/"
+
+LICENSE="GPL-3+"
+SLOT="0"
+
+# Test suite involves adding NetworkManager configuration entries,
+# disable for now.
+RESTRICT="test"
+
+RDEPEND="
+ dev-python/requests[${PYTHON_USEDEP}]
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ net-misc/networkmanager
+ =net-vpn/eduvpn-common-2*[${PYTHON_USEDEP}]
+"
+
+if [[ ${PV} != *9999* ]] ; then
+ BDEPEND="verify-sig? ( >=sec-keys/openpgp-keys-eduvpn-20240307 )"
+fi
+
+PATCHES=(
+ "${FILESDIR}/${PN}-4.3.1-desktop.patch"
+)
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
diff --git a/net-vpn/eduvpn-client/files/eduvpn-client-4.3.1-desktop.patch b/net-vpn/eduvpn-client/files/eduvpn-client-4.3.1-desktop.patch
new file mode 100644
index 000000000000..2d765b9a002f
--- /dev/null
+++ b/net-vpn/eduvpn-client/files/eduvpn-client-4.3.1-desktop.patch
@@ -0,0 +1,16 @@
+--- a/eduvpn/data/share/applications/org.eduvpn.client.desktop
++++ b/eduvpn/data/share/applications/org.eduvpn.client.desktop
+@@ -7,4 +7,4 @@ Comment=a GUI to connect to eduVPN using OpenVPN and WireGuard
+ Icon=org.eduvpn.client
+ Terminal=false
+ StartupWMClass=org.eduvpn.client
+-
++Categories=Network;Dialup
+--- a/eduvpn/data/share/applications/org.letsconnect-vpn.client.desktop
++++ b/eduvpn/data/share/applications/org.letsconnect-vpn.client.desktop
+@@ -7,4 +7,4 @@ Comment=a GUI to connect to Let's Connect! using OpenVPN and WireGuard
+ Icon=org.letsconnect-vpn.client
+ Terminal=false
+ StartupWMClass=org.letsconnect-vpn.client
+-
++Categories=Network;Dialup
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-07-04 1:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-26 16:43 [gentoo-commits] repo/gentoo:master commit in: net-vpn/eduvpn-client/, net-vpn/eduvpn-client/files/ Florian Schmaus
-- strict thread matches above, loose matches on Subject: below --
2024-07-04 1:15 Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox