diff --git a/0001-fix-package-listing.patch b/0001-fix-package-listing.patch new file mode 100644 index 0000000..1991423 --- /dev/null +++ b/0001-fix-package-listing.patch @@ -0,0 +1,29 @@ +From 60fe4f080c514fb3d5c6a8f61e5f4333700a8c82 Mon Sep 17 00:00:00 2001 +From: Marco Martin +Date: Fri, 28 Aug 2015 16:48:05 +0200 +Subject: [PATCH] fix package listing + +load a package of the proper type before listing +this makes the proper package structures to be loaded +--- + src/plasmapkg/plasmapkg.cpp | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/src/plasmapkg/plasmapkg.cpp b/src/plasmapkg/plasmapkg.cpp +index cea331c..4626323 100644 +--- a/src/plasmapkg/plasmapkg.cpp ++++ b/src/plasmapkg/plasmapkg.cpp +@@ -436,6 +436,10 @@ QStringList PlasmaPkgPrivate::packages(const QStringList &types) + } + } + ++ //Loading a package of the given type, caches the proper ++ //packagestructures in the packageloader, making the listing ++ //of packages succeed ++ Plasma::PluginLoader::self()->loadPackage(type); + const QList plugins = KPackage::PackageLoader::self()->listPackages(type); + for (auto plugin : plugins) { + const QString _plugin = plugin.pluginId(); +-- +2.4.3 + diff --git a/kf5-plasma.spec b/kf5-plasma.spec index 72b2b87..04cd7cc 100644 --- a/kf5-plasma.spec +++ b/kf5-plasma.spec @@ -2,7 +2,7 @@ Name: kf5-%{framework} Version: 5.13.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: KDE Frameworks 5 Tier 3 framework is foundation to build a primary user interface License: GPLv2+ and LGPLv2+ and BSD @@ -18,7 +18,7 @@ URL: https://projects.kde.org/projects/frameworks/plasma-framework Source0: http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{framework}-framework-%{version}.tar.xz ## upstream patches -# https://git.reviewboard.kde.org/r/124371 +Patch0: 0001-fix-package-listing.patch BuildRequires: libX11-devel BuildRequires: libxcb-devel @@ -147,6 +147,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %changelog +* Fri Aug 28 2015 Helio Chissini de Castro - 5.13.0-2 +- Upstream fix to plasmapkg2 pluginloader location + * Wed Aug 19 2015 Daniel Vrátil - 5.13.0-1 - KDE Frameworks 5.13.0