Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package PackageKit-Qt for openSUSE:Factory 
checked in at 2025-08-18 16:07:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/PackageKit-Qt (Old)
 and      /work/SRC/openSUSE:Factory/.PackageKit-Qt.new.1085 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "PackageKit-Qt"

Mon Aug 18 16:07:34 2025 rev:23 rq:1299964 version:1.1.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/PackageKit-Qt/PackageKit-Qt.changes      
2025-07-30 11:45:43.703595667 +0200
+++ /work/SRC/openSUSE:Factory/.PackageKit-Qt.new.1085/PackageKit-Qt.changes    
2025-08-18 16:07:48.781831469 +0200
@@ -1,0 +2,6 @@
+Sat Aug 16 19:35:47 UTC 2025 - Christophe Marin <[email protected]>
+
+- Add upstream change to fix a discover crash (kde#508235):
+  * 0001-offline-Ensure-the-enum-is-registered.patch
+
+-------------------------------------------------------------------

New:
----
  0001-offline-Ensure-the-enum-is-registered.patch

----------(New B)----------
  New:- Add upstream change to fix a discover crash (kde#508235):
  * 0001-offline-Ensure-the-enum-is-registered.patch
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ PackageKit-Qt.spec ++++++
--- /var/tmp/diff_new_pack.Zys6PD/_old  2025-08-18 16:07:49.333854389 +0200
+++ /var/tmp/diff_new_pack.Zys6PD/_new  2025-08-18 16:07:49.337854555 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package PackageKit-Qt
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2025 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -42,6 +42,8 @@
 Source:         
https://github.com/hughsie/PackageKit-Qt/archive/v%{version}.tar.gz#/PackageKit-Qt-%{version}.tar.gz
 # PATCH-FIX-UPSTREAM boo#1103678
 Patch0:         
0001-Fix-PackageKit-not-emitting-network-state-changed-signal.patch
+# PATCH-FIX-UPSTREAM kde#508235
+Patch1:         0001-offline-Ensure-the-enum-is-registered.patch
 BuildRequires:  PackageKit-devel >= %{version}
 BuildRequires:  cmake
 BuildRequires:  pkgconfig

++++++ 0001-offline-Ensure-the-enum-is-registered.patch ++++++
>From 173fe4008050810c0ecd06f1accfa4eef2790bfc Mon Sep 17 00:00:00 2001
From: Aleix Pol <[email protected]>
Date: Fri, 15 Aug 2025 17:42:44 +0200
Subject: [PATCH] offline: Ensure the enum is registered

Otherwise we get a crash saying:
[fatal] discover (unknown:0) - QDBusPendingReply: type
PackageKit::Transaction::Role is not registered with QtDBus

See https://bugs.kde.org/show_bug.cgi?id=508271
---
 src/offline.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/offline.cpp b/src/offline.cpp
index d4eaedb..b5e4dc8 100644
--- a/src/offline.cpp
+++ b/src/offline.cpp
@@ -26,6 +26,7 @@ using namespace PackageKit;
 Offline::Offline(QObject *parent) : QObject(parent)
   , d_ptr(new OfflinePrivate(this))
 {
+    qRegisterMetaType<Transaction::Role>();
     QDBusConnection::systemBus().connect(PK_NAME,
                                          PK_PATH,
                                          DBUS_PROPERTIES,
-- 
2.50.1

Reply via email to