SHA256
1
0
forked from pool/discover
Luca Beltrame
2018-05-21 09:07:06 +00:00
committed by Git OBS Bridge
parent c32a6f925f
commit b0c4f1c111
5 changed files with 25 additions and 17 deletions

View File

@@ -7,20 +7,20 @@ Subject: [PATCH] Warning for FlatHub
.../backends/FlatpakBackend/FlatpakSourcesBackend.cpp | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/libdiscover/backends/FlatpakBackend/FlatpakSourcesBackend.cpp b/libdiscover/backends/FlatpakBackend/FlatpakSourcesBackend.cpp
index e96dd5bc..77646179 100644
--- a/libdiscover/backends/FlatpakBackend/FlatpakSourcesBackend.cpp
+++ b/libdiscover/backends/FlatpakBackend/FlatpakSourcesBackend.cpp
@@ -24,6 +24,8 @@
#include "FlatpakBackend.h"
#include <KLocalizedString>
Index: discover-5.12.80git.20180504T180020~9ecdb534/libdiscover/backends/FlatpakBackend/FlatpakSourcesBackend.cpp
===================================================================
--- discover-5.12.80git.20180504T180020~9ecdb534.orig/libdiscover/backends/FlatpakBackend/FlatpakSourcesBackend.cpp
+++ discover-5.12.80git.20180504T180020~9ecdb534/libdiscover/backends/FlatpakBackend/FlatpakSourcesBackend.cpp
@@ -26,6 +26,8 @@
#include <KSharedConfig>
#include <KConfigGroup>
#include <QDebug>
+#include <QAbstractButton>
+#include <QMessageBox>
#include <QNetworkAccessManager>
#include <QNetworkReply>
#include <QAction>
@@ -57,7 +59,17 @@ FlatpakSourcesBackend::FlatpakSourcesBackend(const QVector<FlatpakInstallation *
@@ -59,7 +61,17 @@ FlatpakSourcesBackend::FlatpakSourcesBac
m_flathubAction->setToolTip(QStringLiteral("flathub"));
connect(m_flathubAction, &QAction::triggered, this, [this](){
@@ -39,6 +39,3 @@ index e96dd5bc..77646179 100644
});
for (auto installation : installations) {
if (!listRepositories(installation)) {
--
2.16.2

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f5889b89a69ad2ed7db488631d59d13e7511235d759cc05e19b4086402d0d209
size 10215908

3
discover-5.12.90.tar.xz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4f408bf3df97e9ceeda3f843a60994d928ffd1c3524d32656dee55e0c5bd2660
size 10228744

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Sat May 19 14:16:33 CEST 2018 - fabian@ritter-vogt.de
- Update to 5.12.90
* New feature release
* For more details please see:
* https://www.kde.org/announcements/plasma-5.12.90.php
- Too many changes to list here
- Refresh 0001-Warning-for-FlatHub.patch
-------------------------------------------------------------------
Wed May 2 09:05:40 CEST 2018 - fabian@ritter-vogt.de

View File

@@ -18,13 +18,13 @@
%bcond_without lang
Name: discover
Version: 5.12.5
Version: 5.12.90
Release: 0
Summary: KDE Software Installer
License: GPL-2.0 and GPL-3.0 and GPL-3.0+
Group: System/GUI/KDE
Url: https://quickgit.kde.org/?p=discover.git
Source: http://download.kde.org/stable/plasma/%{version}/discover-%{version}.tar.xz
Source: http://download.kde.org/unstable/plasma/%{version}/discover-%{version}.tar.xz
# PATCH-FIX-OPENSUSE
Patch1: 0001-Warning-for-FlatHub.patch
%if 0%{?suse_version} < 1330
@@ -111,7 +111,7 @@ This is the systray plasmoid to notify the user that updates are available
export CXX=g++-7
%endif
%endif
%cmake_kf5 -d build -- -DBUILD_TESTING=ON
%cmake_kf5 -d build
%make_jobs
%install
@@ -139,6 +139,7 @@ This is the systray plasmoid to notify the user that updates are available
%{_kf5_applicationsdir}/org.kde.discover.desktop
%{_kf5_applicationsdir}/org.kde.discover-flatpak.desktop
%{_kf5_applicationsdir}/org.kde.discover.urlhandler.desktop
%{_kf5_applicationsdir}/org.kde.discover.snap.urlhandler.desktop
%{_kf5_iconsdir}/hicolor/*/apps/plasmadiscover.*
%{_kf5_notifydir}/discoverabstractnotifier.notifyrc
%{_kf5_kxmlguidir}/plasmadiscover/