patched to disable network online check to workaround issue since NetworkManager 1.32 [release 0.3.2.20200829git-3mamba;Sat Jul 10 2021]
This commit is contained in:
parent
82f102f449
commit
9367eebb9b
@ -0,0 +1,14 @@
|
||||
--- plasma-pk-updates-0.3.2.20200829git/src/declarative/pkupdates.cpp.orig 2021-07-10 17:48:41.480399222 +0200
|
||||
+++ plasma-pk-updates-0.3.2.20200829git/src/declarative/pkupdates.cpp 2021-07-10 17:49:14.574988259 +0200
|
||||
@@ -172,8 +172,9 @@
|
||||
|
||||
bool PkUpdates::isNetworkOnline() const
|
||||
{
|
||||
- qCDebug(PLASMA_PK_UPDATES) << "Is net online:" << (PackageKit::Daemon::networkState() > PackageKit::Daemon::Network::NetworkOffline);
|
||||
- return (PackageKit::Daemon::networkState() > PackageKit::Daemon::Network::NetworkOffline);
|
||||
+ qCDebug(PLASMA_PK_UPDATES) << "Is net online (ignoring):" << (PackageKit::Daemon::networkState() > PackageKit::Daemon::Network::NetworkOffline);
|
||||
+ //return (PackageKit::Daemon::networkState() > PackageKit::Daemon::Network::NetworkOffline);
|
||||
+ return true;
|
||||
}
|
||||
|
||||
void PkUpdates::doDelayedCheckUpdates()
|
@ -2,17 +2,17 @@
|
||||
|
||||
Name: plasma-pk-updates
|
||||
Version: 0.3.2.20200829git
|
||||
Release: 2mamba
|
||||
Release: 3mamba
|
||||
Summary: Plasma applet for software updates using PackageKit
|
||||
Group: Graphical Desktop/Applications/Administration
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://devhub.io/zh/repos/caybro-plasma-pk-updates
|
||||
#Source: https://download.kde.org/stable/plasma-pk-updates/%{version}/plasma-pk-updates-%{version}.tar.xz
|
||||
URL: https://invent.kde.org/system/plasma-pk-updates
|
||||
Source: https://anongit.kde.org/plasma-pk-updates.git/master/plasma-pk-updates-%{version}.tar.bz2
|
||||
# Source: http://download.kde.org/stable/frameworks/%{majver}/...-%{version}.tar.xz
|
||||
#Source: https://download.kde.org/stable/plasma-pk-updates/%{version}/plasma-pk-updates-%{version}.tar.xz
|
||||
Patch0: plasma-pk-updates-0.3.2.20190908git-kde4libssupport.patch
|
||||
Patch1: plasma-pk-updates-0.3.2.20200829git-workaround-disable-network-online-check.patch
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
@ -49,7 +49,6 @@ BuildRequires: libstdc++6-devel
|
||||
BuildRequires: cmake
|
||||
BuildRequires: rpm-macros-kde5
|
||||
BuildRequires: extra-cmake-modules
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
Plasma applet for software updates using PackageKit.
|
||||
@ -59,6 +58,7 @@ Plasma applet for software updates using PackageKit.
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -R
|
||||
%patch1 -p1
|
||||
|
||||
# Get translations
|
||||
for l in ca ca@valencia cs da de en_GB es fi fr gl he it ja lt nl nn pl pt pt_BR ru sk sv tr uk zh_CN zh_TW; do
|
||||
@ -101,6 +101,9 @@ _EOF
|
||||
%doc LICENSE
|
||||
|
||||
%changelog
|
||||
* Sat Jul 10 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.2.20200829git-3mamba
|
||||
- patched to disable network online check to workaround issue since NetworkManager 1.32
|
||||
|
||||
* Thu Sep 10 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.2.20200829git-2mamba
|
||||
- added translations from anonsvn.kde.org
|
||||
|
||||
|
Reference in New Issue
Block a user