diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-05-30 11:44:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-05-30 11:44:06 +0100 |
commit | f516638b7fe9592837389826a6152a7e1b251c54 (patch) | |
tree | 8bfecb640b7b6403d7a3d662d923eed630033da7 /kde-plasma/plasma-nm | |
parent | 1a61119f9f7b057830e2ce0563f913ec86f282ad (diff) |
gentoo resync : 30.05.2020
Diffstat (limited to 'kde-plasma/plasma-nm')
-rw-r--r-- | kde-plasma/plasma-nm/Manifest | 5 | ||||
-rw-r--r-- | kde-plasma/plasma-nm/files/plasma-nm-5.18.5-missing-wireguard-icon.patch | 50 | ||||
-rw-r--r-- | kde-plasma/plasma-nm/plasma-nm-5.18.5-r1.ebuild (renamed from kde-plasma/plasma-nm/plasma-nm-5.17.5.ebuild) | 5 | ||||
-rw-r--r-- | kde-plasma/plasma-nm/plasma-nm-5.18.5.ebuild | 81 |
4 files changed, 56 insertions, 85 deletions
diff --git a/kde-plasma/plasma-nm/Manifest b/kde-plasma/plasma-nm/Manifest index 5dd5a8b49781..45e88114c5fa 100644 --- a/kde-plasma/plasma-nm/Manifest +++ b/kde-plasma/plasma-nm/Manifest @@ -1,5 +1,4 @@ -DIST plasma-nm-5.17.5.tar.xz 814376 BLAKE2B 757ac2a1ed3eb1263a0034f950d688194ad1a11e6b842208f12d8abbfabcc75461510312b3e63a166d691b538c276ed74c367eeb2122774d669915366e82695e SHA512 45792671afd3ae9b8cebcaed7588524f04234394c178055211a1896a8a3e5ffcf48229f65ec7815f1ef51076860bc4388d37de6b058c24e54f0772eb1c3111a3 +AUX plasma-nm-5.18.5-missing-wireguard-icon.patch 1698 BLAKE2B 37bb63676905746999df50b87e5575d4ec1207dec37848e18216123760d84b577327c20346ede1dba263975253db6bcccfbf4b91167f59aa173b08baffb7e542 SHA512 485e56c592da9f30e5acc94f9f2e8af66989e70aa74ae0b4756dd4e7008729fa1eb1d43dd329983565366937eb7a057a74741b8b456db462cf7f7af00ed1b841 DIST plasma-nm-5.18.5.tar.xz 828008 BLAKE2B 557a31d5a0e7886be90e62be3f5328baf4a8bbfeb3e9decf1f2f106f33bef7e64fb886b94691faab57119f231b6bbcff58514d795df75f858ca9c8ea8c1af9a7 SHA512 8f785f257f274fb9384bf2afbe4231a057c46706483e26dd2270a93a6fc97e6198916ff119d258a67d4f8bb73facb0ff67412f43e5fa66812962edb64331db4a -EBUILD plasma-nm-5.17.5.ebuild 2289 BLAKE2B b610535d9b7e84406b9e3ee979faac4e304ad48e7667a4d2ddedd3c27c351629125094fd8e9dd59f099a9d947b3197356945a5401407d0f53262dc8aa1557dcf SHA512 6674d13a28dbb14d4ee83e34885b37584ff9bda3764a655773840f548db6f61c0ce4d9368129abff95ca398d502ca9812a33083779d2ca766cc08a6726467893 -EBUILD plasma-nm-5.18.5.ebuild 2293 BLAKE2B 7178d50ebdbf38e1a021a30b96afdde4e3ac573d2fac2b75ea945678501bc8cca097f5ab1cf60f42cbdf5411c5b80224604055a45176116ccfb1cde9fb3efb63 SHA512 8a071a6ba739a43df2fe680c152d3f2dc251ab11732a62da3e3a4c45f7c9b89b928e71a49bb7a2caa1fb4d58d3880e7d842d8f1cdd9c1191230e06339dded699 +EBUILD plasma-nm-5.18.5-r1.ebuild 2368 BLAKE2B 6bb2e5feb6f4182e620ae1f410639b9794ba2e175bf053dc74d5efde0db63cfcf13e5b4595c387acacb68c4675c296e74c8de2d9c28c078bb7e263cd33fa4861 SHA512 1825154c7bd0d60f70cc4fe02ef3b1f5b82a9533c56f9bd19ae53d31b2a1c3576e098fffe83b5d8a778765c27b19065643327ba71823e129285d2eb40d6ec078 MISC metadata.xml 479 BLAKE2B 501f2ff581390f3119e9474e1aeafb45f2e13f3cf25650482f39ab38c7fb0e70ac006f269693ef546ef324730f302c454d27d79f0346e43b6f37583ccad1ca93 SHA512 69a8ce09c5a437814562c315dc7ac3142ac6c71906f37a6ea98e7b76fdd332362cfa76e823d0ee1ec920e92c8f7dda2a557071c758e9937886d7df78943b5689 diff --git a/kde-plasma/plasma-nm/files/plasma-nm-5.18.5-missing-wireguard-icon.patch b/kde-plasma/plasma-nm/files/plasma-nm-5.18.5-missing-wireguard-icon.patch new file mode 100644 index 000000000000..85902e504096 --- /dev/null +++ b/kde-plasma/plasma-nm/files/plasma-nm-5.18.5-missing-wireguard-icon.patch @@ -0,0 +1,50 @@ +From da52d01788f5f07aa60ed7a6f21d7943a2e0c8d3 Mon Sep 17 00:00:00 2001 +From: Bruce Anderson <banderson19com@san.rr.com> +Date: Wed, 6 May 2020 08:03:11 +0200 +Subject: Icon in system tray missing when WireGuard connection active on + startup + +Summary: +If a WireGuard connection is made prior to start of the +plasma-nm applet, no icon is displayed in the system tray. + +BUG: 420983 + +Test Plan: +1. Setup a Wired connection to autostart +2. Setup a WireGuard connection which uses the Wired + connection and set to autostart +3. Logout and login to start a new Plasma session +4. Verify that the standard Wired connection icon with a + padlock symbol on it is shown in the system tray + +Reviewers: jgrulich + +Reviewed By: jgrulich + +Subscribers: plasma-devel + +Tags: #plasma + +Differential Revision: https://phabricator.kde.org/D29469 +--- + libs/declarative/connectionicon.cpp | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/libs/declarative/connectionicon.cpp b/libs/declarative/connectionicon.cpp +index cefe6df..58c0cce 100644 +--- a/libs/declarative/connectionicon.cpp ++++ b/libs/declarative/connectionicon.cpp +@@ -317,7 +317,9 @@ void ConnectionIcon::setIcons() + + // Set icon based on the current primary connection if the activating connection is virtual + // since we're not setting icons for virtual connections +- if (!connection || (connection && UiUtils::isConnectionTypeVirtual(connection->type()))) { ++ if (!connection ++ || (connection && UiUtils::isConnectionTypeVirtual(connection->type())) ++ || connection->type() == NetworkManager::ConnectionSettings::WireGuard) { + connection = NetworkManager::primaryConnection(); + } + +-- +cgit v1.1 diff --git a/kde-plasma/plasma-nm/plasma-nm-5.17.5.ebuild b/kde-plasma/plasma-nm/plasma-nm-5.18.5-r1.ebuild index d292c7177f7a..fd1c44fe031f 100644 --- a/kde-plasma/plasma-nm/plasma-nm-5.17.5.ebuild +++ b/kde-plasma/plasma-nm/plasma-nm-5.18.5-r1.ebuild @@ -4,12 +4,13 @@ EAPI=7 ECM_TEST="true" -KFMIN=5.64.0 +KFMIN=5.66.0 PVCUT=$(ver_cut 1-3) QTMIN=5.12.3 inherit ecm kde.org DESCRIPTION="KDE Plasma applet for NetworkManager" + LICENSE="GPL-2 LGPL-2.1" SLOT="5" KEYWORDS="amd64 ~arm arm64 ~ppc64 x86" @@ -59,6 +60,8 @@ RDEPEND="${DEPEND} >=kde-plasma/kde-cli-tools-${PVCUT}:5 " +PATCHES=( "${FILESDIR}/${P}-missing-wireguard-icon.patch" ) # in Plasma/5.18 + src_configure() { local mycmakeargs=( -DDISABLE_MODEMMANAGER_SUPPORT=$(usex !modemmanager) diff --git a/kde-plasma/plasma-nm/plasma-nm-5.18.5.ebuild b/kde-plasma/plasma-nm/plasma-nm-5.18.5.ebuild deleted file mode 100644 index b54f6222850e..000000000000 --- a/kde-plasma/plasma-nm/plasma-nm-5.18.5.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -ECM_TEST="true" -KFMIN=5.66.0 -PVCUT=$(ver_cut 1-3) -QTMIN=5.12.3 -inherit ecm kde.org - -DESCRIPTION="KDE Plasma applet for NetworkManager" - -LICENSE="GPL-2 LGPL-2.1" -SLOT="5" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" -IUSE="modemmanager openconnect teamd" - -DEPEND=" - >=app-crypt/qca-2.1.1:2[qt5(+)] - >=dev-qt/qtdbus-${QTMIN}:5 - >=dev-qt/qtdeclarative-${QTMIN}:5[widgets] - >=dev-qt/qtgui-${QTMIN}:5 - >=dev-qt/qtnetwork-${QTMIN}:5 - >=dev-qt/qtwidgets-${QTMIN}:5 - >=kde-frameworks/kcompletion-${KFMIN}:5 - >=kde-frameworks/kconfig-${KFMIN}:5 - >=kde-frameworks/kconfigwidgets-${KFMIN}:5 - >=kde-frameworks/kcoreaddons-${KFMIN}:5 - >=kde-frameworks/kdbusaddons-${KFMIN}:5 - >=kde-frameworks/kdeclarative-${KFMIN}:5 - >=kde-frameworks/ki18n-${KFMIN}:5 - >=kde-frameworks/kiconthemes-${KFMIN}:5 - >=kde-frameworks/kio-${KFMIN}:5 - >=kde-frameworks/kitemviews-${KFMIN}:5 - >=kde-frameworks/knotifications-${KFMIN}:5 - >=kde-frameworks/kservice-${KFMIN}:5 - >=kde-frameworks/kwallet-${KFMIN}:5 - >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 - >=kde-frameworks/kwindowsystem-${KFMIN}:5 - >=kde-frameworks/kxmlgui-${KFMIN}:5 - >=kde-frameworks/networkmanager-qt-${KFMIN}:5[teamd=] - >=kde-frameworks/plasma-${KFMIN}:5 - >=kde-frameworks/solid-${KFMIN}:5 - net-misc/networkmanager[teamd=] - modemmanager? ( - >=kde-frameworks/modemmanager-qt-${KFMIN}:5 - >=dev-qt/qtxml-${QTMIN}:5 - net-misc/mobile-broadband-provider-info - ) - openconnect? ( - >=dev-qt/qtxml-${QTMIN}:5 - net-vpn/networkmanager-openconnect - net-vpn/openconnect:= - ) -" -RDEPEND="${DEPEND} - >=dev-qt/qtquickcontrols-${QTMIN}:5 - >=dev-qt/qtquickcontrols2-${QTMIN}:5 - >=kde-plasma/kde-cli-tools-${PVCUT}:5 -" - -src_configure() { - local mycmakeargs=( - -DDISABLE_MODEMMANAGER_SUPPORT=$(usex !modemmanager) - $(cmake_use_find_package modemmanager KF5ModemManagerQt) - $(cmake_use_find_package openconnect OpenConnect) - ) - - ecm_src_configure -} - -pkg_postinst() { - ecm_pkg_postinst - - if ! has_version "kde-plasma/plasma-workspace:5"; then - elog "${PN} is not terribly useful without kde-plasma/plasma-workspace:5." - elog "However, the networkmanagement KCM can be called from either systemsettings" - elog "or manually: $ kcmshell5 kcm_networkmanagement" - fi -} |