[SCM] KDE Discover packaging branch, master, updated. debian/5.6.4-1-9-g6167b17
Maximiliano Curia
maxy at moszumanska.debian.org
Wed Jun 22 19:47:16 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/plasma/plasma-discover.git;a=commitdiff;h=a9fc4da
The following commit has been merged in the master branch:
commit a9fc4da85887313ef1f03aefe0ced9085b945422
Author: Automatic packaging <maxy+jenkins at gnuservers.com.ar>
Date: Tue Jun 14 19:39:15 2016 +0200
Refresh patches
---
debian/patches/01_only-fetch-needed-pkgs.patch | 44 --------------------------
debian/patches/series | 1 -
2 files changed, 45 deletions(-)
diff --git a/debian/patches/01_only-fetch-needed-pkgs.patch b/debian/patches/01_only-fetch-needed-pkgs.patch
deleted file mode 100644
index 0d5a042..0000000
--- a/debian/patches/01_only-fetch-needed-pkgs.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-From: Aleix Pol <aleixpol at kde.org>
-Date: Fri, 06 May 2016 13:13:09 +0000
-Subject: Only fetch the packages we actually need for PackageKit
-X-Git-Url: http://quickgit.kde.org/?p=discover.git&a=commitdiff&h=8cc7eab119ea765442d6924915db419946e5cef4
----
-Only fetch the packages we actually need for PackageKit
-
-Should speed-up boot in some platforms where fetching is slower, such as
-debian-based/apt.
----
-
-
---- a/libdiscover/backends/PackageKitBackend/PackageKitBackend.cpp
-+++ b/libdiscover/backends/PackageKitBackend/PackageKitBackend.cpp
-@@ -102,11 +102,15 @@
- disconnect(m_refresher.data(), &PackageKit::Transaction::finished, this, &PackageKitBackend::reloadPackageList);
- }
-
-- foreach(const Appstream::Component& component, m_appdata.allComponents()) {
-+ const auto components = m_appdata.allComponents();
-+ QStringList neededPackages;
-+ neededPackages.reserve(components.size());
-+ foreach(const Appstream::Component& component, components) {
- if (component.packageNames().isEmpty()) {
- qDebug() << "no packages for" << component.name();
- continue;
- }
-+ neededPackages += component.packageNames();
-
- const auto res = new AppPackageKitResource(component, this);
- m_updatingPackages.packages[component.id()] = res;
-@@ -118,8 +122,9 @@
- m_updatingPackages.extendedBy[pkg] += res;
- }
- }
--
-- PackageKit::Transaction * t = PackageKit::Daemon::getPackages();
-+ neededPackages.removeDuplicates();
-+
-+ PackageKit::Transaction * t = PackageKit::Daemon::resolve(neededPackages);
- connect(t, &PackageKit::Transaction::finished, this, &PackageKitBackend::getPackagesFinished);
- connect(t, &PackageKit::Transaction::package, this, &PackageKitBackend::addPackage);
- connect(t, &PackageKit::Transaction::errorCode, this, &PackageKitBackend::transactionError);
-
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index 2a96da8..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-01_only-fetch-needed-pkgs.patch
--
KDE Discover packaging
More information about the pkg-kde-commits
mailing list