SHA256
1
0
forked from pool/discover

Accepting request 1064502 from KDE:Frameworks5

Plasma 5.27.0, preliminary tarballs

OBS-URL: https://build.opensuse.org/request/show/1064502
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/discover?expand=0&rev=126
This commit is contained in:
Dominique Leuenberger 2023-02-13 15:39:33 +00:00 committed by Git OBS Bridge
commit 8e34762b85
7 changed files with 70 additions and 44 deletions

View File

@ -7,10 +7,10 @@ Subject: [PATCH] Warning for FlatHub
.../backends/FlatpakBackend/FlatpakSourcesBackend.cpp | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
Index: discover-5.24.5/libdiscover/backends/FlatpakBackend/FlatpakSourcesBackend.cpp
Index: discover-5.17.80git.20230205T022020~5f7a4d0/libdiscover/backends/FlatpakBackend/FlatpakSourcesBackend.cpp
===================================================================
--- discover-5.24.5.orig/libdiscover/backends/FlatpakBackend/FlatpakSourcesBackend.cpp
+++ discover-5.24.5/libdiscover/backends/FlatpakBackend/FlatpakSourcesBackend.cpp
--- discover-5.17.80git.20230205T022020~5f7a4d0.orig/libdiscover/backends/FlatpakBackend/FlatpakSourcesBackend.cpp 2023-02-05 03:20:20.000000000 +0100
+++ discover-5.17.80git.20230205T022020~5f7a4d0/libdiscover/backends/FlatpakBackend/FlatpakSourcesBackend.cpp 2023-02-05 09:36:13.879836533 +0100
@@ -12,6 +12,8 @@
#include <KLocalizedString>
#include <KSharedConfig>
@ -19,12 +19,12 @@ Index: discover-5.24.5/libdiscover/backends/FlatpakBackend/FlatpakSourcesBackend
+#include <QMessageBox>
#include <QNetworkAccessManager>
#include <QNetworkReply>
@@ -86,7 +88,17 @@ FlatpakSourcesBackend::FlatpakSourcesBac
@@ -96,7 +98,17 @@
m_flathubAction->setObjectName(QStringLiteral("flathub"));
m_flathubAction->setToolTip(i18n("Makes it possible to easily install the applications listed in https://flathub.org"));
connect(m_flathubAction, &DiscoverAction::triggered, this, [this]() {
- addSource(QStringLiteral("https://flathub.org/repo/flathub.flatpakrepo"));
- addSource(QStringLiteral("https://dl.flathub.org/repo/flathub.flatpakrepo"));
+ auto *warnBox = new QMessageBox(QMessageBox::Information, i18n("Adding a third-party source"),
+ i18n("FlatHub is not part of the openSUSE distribution.\n"
+ "It contains packages of unknown quality which might not be tested to work correctly "
@ -32,10 +32,10 @@ Index: discover-5.24.5/libdiscover/backends/FlatpakBackend/FlatpakSourcesBackend
+ QMessageBox::Ok | QMessageBox::Abort);
+ connect(warnBox, &QMessageBox::buttonClicked, this, [this, warnBox](QAbstractButton *button) {
+ if (warnBox->standardButton(button) == QMessageBox::Ok)
+ addSource(QStringLiteral("https://flathub.org/repo/flathub.flatpakrepo"));
+ addSource(QStringLiteral("https://dl.flathub.org/repo/flathub.flatpakrepo"));
+ });
+ warnBox->setAttribute(Qt::WA_DeleteOnClose);
+ warnBox->show();
});
m_noSourcesItem->setEnabled(false);

View File

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

View File

@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmO0bN8ACgkQ11dEg7tX
sY1n0w/+IQVqN1BTgIUvR1JqcqGfe7sX7ovCeTIRZRg/JN+tdaLyideG/tanN5z0
Ew3DDgJh425N9tDL/JCBTs7huT/pPxkDDvTahTZEG+Wz3/jxLchgd10YMAlrSejK
nJ0b/xE/70vJ662BL/4Unpm36GhVRm+UgpXUMvw5NyDi5tahbdKkobQCS9Y1Q1rf
ClIdkvxg7Bd6i+4SQVtCyn+j9pjsGhlh22lBmwjuneavMGQ4ijwHvFhyQpQDBS2G
e40krsGPhOq5JOeMNps8HRTGUxjAYPxNlQ+UI2LYf7BymY5hlR1omzIGBJn63iLY
ZkUn69ZHVletNQSyFsZCUEOjR6sDWinaCBu/NcXnnubFQ8unoDzYzRvdW099SSRG
seGe8/tawEWni2hVZxF/KuUV1DZ8fwV1ZSML8Cxi0owT2i9xS5z4v6k3xxUf9hkP
UrCaOL6GTQodxB+Vq8sWl6s/GXcUfTHk7fx6DSS9TRKPVb5a2eEdvamahBCjlaTw
DZgLhPi9dcNGUeUt2lHwPk49PgFtslOZnZf2P66I45bPI2HHgUEB9g3qJUGB62Lm
R4Qs0IuNlolg2cb74sj4cs0S05b+DuYT1Ke8Z+25dhN3vkfrbFFS3HJgtQWShjIF
7YE37Q4gWApMHwvevkxn8GuGSmbKhrMOvhEF8+WN6viiJZa3PlI=
=x8CB
-----END PGP SIGNATURE-----

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

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

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmPk3/MACgkQ11dEg7tX
sY37SA/8CPBnI90F5aO5VZlO2FPSo6jxdrUxWM+e14DFmZq88azfqV4y316InWoL
c/SRousQ4XqfhFx6rvUZOg1LqnexQWk3X4pH2m408B/Mrj4CT1ViVaoRuNQWbI6P
mwUZrpP6eAuRnWOL5lTjEo0b/uo/AHZ0pW5lnVJiNtIo2ivtD2uP6eJVHa7TEVEy
r+igKEE4zUxeXpoETjkd8GmuRxl9mbFlOYrNGkjt8R4pDw2V4SZzktIXVMxSSGjs
eqpO7kfuxK0EDO/aUPVNHE4oQgQZ+4a4KoITopxYsOLPJQ8Y9t85ZMHbmNZzh1g/
5W3O7A/UtObnMae4hTuSONDmHdCw8EvumMejJ6Vz/mdufs+SGuuWhBJPMR52qxWn
VbweNwk0yO4StDI8fInHYkyiac9MDLaxaBD0GmbB0Obk3BA5jMURe5Z0P6d8bRZX
CQqyMrnIwlGbD8PzatGY5cG1Dcvi0ljEg4IT49Y+98sTQ8bvA6MaKN+fz0wogb4A
k/8x6GPeg77CgKWLvIYuQQ/8+yMuI251JuDjiqjELSKr/EUy4b0rEXqc0wJl54bP
EWCvJ4i7+SZZoqjRXFbIw7MZ5FWhPFr79R+KLSOZ6aobw4ZdjFgb1UqIUKByb+z6
hhXgslJ8SBH7eXYJV7iWRrPC7qz6znL1iUQfV4a002cv/Hridj4=
=9wTQ
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,37 @@
-------------------------------------------------------------------
Thu Feb 9 14:19:36 UTC 2023 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 5.27.0
* New bugfix release
* For more details please see:
* https://kde.org/announcements/plasma/5/5.27.0
- Changes since 5.26.90:
* Workaround visibly empty changelog
* PackageKit: PackageState takes the packageName not the appstreamId (kde#464357)
* ui: Fix plural calculation of app list page heading (kde#464882)
* flatpak: Use the recommended URL for flathub's flatpakrepo
* flatpak: Make sure we are reading the correct metadata (kde#464128)
* flatpak: Don't filter twice the componentsByFlatpakId result for its bundle id
* flatpak: Make test run a bit faster
* flatpak: Address install package look-up
* flatpak: Properly read .flatpakrepo names
* flatpak: Fix test on the CI
* Specify the domain in libdiscover's QML i18n calls
* DiscoverObject: Also show C++ errors in the messages sheet
* flatpak: Fix loading flatpakref files (kde#464206)
* Add network timeouts by default
* ReviewsPage: Fix clipping under scroll bar
- Refresh 0001-Warning-for-FlatHub.patch
-------------------------------------------------------------------
Thu Jan 19 14:42:27 UTC 2023 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 5.26.90
* New feature release
* For more details please see:
* https://kde.org/announcements/plasma/5/5.26.90
- Too many changes to list here
-------------------------------------------------------------------
Wed Jan 4 14:06:18 UTC 2023 - Fabian Vogt <fabian@ritter-vogt.de>

View File

@ -21,15 +21,15 @@
%global have_fwupd (0%{?suse_version} > 1500 || 0%{?sle_version} >= 150300)
Name: discover
Version: 5.26.5
Version: 5.27.0
Release: 0
Summary: Software store for the KDE Plasma desktop
License: GPL-2.0-only AND GPL-3.0-only AND GPL-3.0-or-later
Group: System/GUI/KDE
URL: https://quickgit.kde.org/?p=discover.git
Source: https://download.kde.org/stable/plasma/%{version}/discover-%{version}.tar.xz
Source: discover-%{version}.tar.xz
%if %{with released}
Source1: https://download.kde.org/stable/plasma/%{version}/discover-%{version}.tar.xz.sig
Source1: discover-%{version}.tar.xz.sig
Source2: plasma.keyring
%endif
# PATCH-FIX-OPENSUSE
@ -67,15 +67,15 @@ BuildRequires: cmake(Qt5Network)
BuildRequires: cmake(Qt5Qml)
BuildRequires: cmake(Qt5Quick)
BuildRequires: cmake(Qt5Test)
%ifarch %{ix86} x86_64 %{arm} aarch64 mips mips64
BuildRequires: cmake(Qt5WebView)
%endif
BuildRequires: cmake(Qt5Widgets)
BuildRequires: cmake(Qt5Xml)
BuildRequires: cmake(packagekitqt5) >= 1.0.1
%if %{have_fwupd}
BuildRequires: pkgconfig(fwupd) >= 1.0.6
%endif
# It can only build on the same platforms as Qt WebEngine
ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 mips mips64
Requires: kdeclarative-components
Requires: kirigami2
Requires: kuserfeedback-imports
@ -153,15 +153,11 @@ user to install them using Discover.
# Even without the snap backend, this is installed...
rm %{buildroot}%{_kf5_applicationsdir}/org.kde.discover.snap.desktop
%if %{with released}
%find_lang libdiscover %{name}.lang
%find_lang plasma-discover %{name}.lang
%find_lang libdiscover %{name}.lang
%find_lang plasma-discover %{name}.lang
%find_lang plasma-discover-notifier notifier.lang
%find_lang kcm_updates notifier.lang
%else
touch notifier.lang
%endif
%find_lang plasma-discover-notifier notifier.lang
%find_lang kcm_updates notifier.lang
%files
%license LICENSES/*
@ -179,12 +175,8 @@ user to install them using Discover.
%{_kf5_plugindir}/discover/kns-backend.so
%dir %{_kf5_sharedir}/libdiscover
%dir %{_kf5_sharedir}/libdiscover/categories
%dir %{_kf5_libexecdir}/discover
%{_kf5_libexecdir}/discover/runservice
%if %{with released}
%files lang -f %{name}.lang
%endif
%files backend-packagekit
%license LICENSES/*