[neon/kde/frameworkintegration/Neon/unstable] debian/patches: Update 0001_appstreamqt

Carlos De Maine null at kde.org
Sun Oct 1 08:50:29 BST 2023


Git commit b1376ce60976d53a649246688b8020afd9fd4f21 by Carlos De Maine.
Committed on 01/10/2023 at 09:50.
Pushed by carlosdem into branch 'Neon/unstable'.

Update 0001_appstreamqt

M  +13   -0    debian/patches/0001_appstreamqt

https://invent.kde.org/neon/kde/frameworkintegration/-/commit/b1376ce60976d53a649246688b8020afd9fd4f21

diff --git a/debian/patches/0001_appstreamqt b/debian/patches/0001_appstreamqt
index 29afdaa..0b044cc 100644
--- a/debian/patches/0001_appstreamqt
+++ b/debian/patches/0001_appstreamqt
@@ -45,3 +45,16 @@ index 82328f7068228b79f82e085352d3d78733dcd4b5..8bde139b243eb3f42ca10f1005018100
  #include <PackageKit/Daemon>
  #include <QCoreApplication>
  #include <QDebug>
+ diff --git a/src/kpackage-install-handlers/appstream/main.cpp b/src/kpackage-install-handlers/appstream/main.cpp
+index 8bde139b243eb3f42ca10f1005018100e3121f79..9dc90b433152ae6021237f3f3ef4040256715b5b 100644
+--- a/src/kpackage-install-handlers/appstream/main.cpp
++++ b/src/kpackage-install-handlers/appstream/main.cpp
+@@ -30,7 +30,7 @@ int main(int argc, char **argv)
+     Pool pool;
+     auto b = pool.load();
+     Q_ASSERT(b);
+-    const auto components = pool.componentsById(componentName);
++    const auto components = pool.componentsById(componentName).toList();
+     if (components.isEmpty()) {
+         qWarning() << "couldn't find" << componentName;
+         return 1;


More information about the Neon-commits mailing list