Hello community,

here is the log from the commit of package apper for openSUSE:Factory checked 
in at 2014-09-23 17:16:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/apper (Old)
 and      /work/SRC/openSUSE:Factory/.apper.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "apper"

Changes:
--------
--- /work/SRC/openSUSE:Factory/apper/apper.changes      2014-04-23 
17:31:09.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.apper.new/apper.changes 2014-09-23 
17:16:58.000000000 +0200
@@ -1,0 +2,19 @@
+Tue Sep 23 11:22:08 UTC 2014 - [email protected]
+
+- add no-popup-for-background-actions.patch to avoid popups from
+  background jobs
+
+-------------------------------------------------------------------
+Sat Sep 13 16:02:24 UTC 2014 - [email protected]
+
+- Update to 0.9.1
+  * bug fix release
+
+-------------------------------------------------------------------
+Sat Sep 13 16:01:47 UTC 2014 - [email protected]
+
+- Update to 0.9.0
+  * Support for the PackageKit 0.9.x API
+  * use async calls on PackageKit-Qt everywhere
+
+-------------------------------------------------------------------

Old:
----
  apper-0.8.2.tar.xz

New:
----
  apper-0.9.1.tar.xz
  no-popup-for-background-actions.patch

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

Other differences:
------------------
++++++ apper.spec ++++++
--- /var/tmp/diff_new_pack.BK3E9m/_old  2014-09-23 17:16:58.000000000 +0200
+++ /var/tmp/diff_new_pack.BK3E9m/_new  2014-09-23 17:16:58.000000000 +0200
@@ -20,7 +20,7 @@
 Summary:        KDE interface for PackageKit
 License:        GPL-2.0+ and LGPL-3.0+
 Group:          System/Packages
-Version:        0.8.2
+Version:        0.9.1
 Release:        0
 Source0:        
http://download.kde.org/stable/%{name}/%{version}/src/%{name}-%{version}.tar.xz
 Source1:        10-opensuse-org.packagekit.updater.js
@@ -29,15 +29,16 @@
 Patch1:         apper-no-dbus-service.diff
 # setting proxy requires polkit permissions - for very little gain
 Patch2:         apper-no-user-proxy.diff
+Patch3:         no-popup-for-background-actions.patch
 Url:            http://kde-apps.org/content/show.php/Apper?content=84745
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  PackageKit-Qt-devel >= 0.8.8
+BuildRequires:  PackageKit-Qt-devel >= 0.9.0
 BuildRequires:  kdebase4-workspace-devel
 BuildRequires:  libkde4-devel
 BuildRequires:  libxml2-tools
 Recommends:     %{name}-lang = %{version}
 Provides:       org.freedesktop.PackageKit.service
-Requires:       PackageKit >= 0.8.8
+Requires:       PackageKit >= 0.9.2
 Obsoletes:      apper-plasmoid < %{version}
 Provides:       apper-plasmoid = %{version}
 %kde4_runtime_requires
@@ -50,6 +51,7 @@
 %setup  -q
 %patch1 -p1 
 %patch2 -p1
+%patch3 -p1
 
 %build
 %cmake_kde4 -d build -- -DSCREENSHOT_PROVIDER=openSUSE

++++++ apper-0.8.2.tar.xz -> apper-0.9.1.tar.xz ++++++
++++ 164682 lines of diff (skipped)

++++++ no-popup-for-background-actions.patch ++++++
From: Stephan Kulow <[email protected]>
Subject: Avoid popup message boxes for locked or masked PK

Index: apper-0.9.1/libapper/PkTransaction.cpp
===================================================================
--- apper-0.9.1.orig/libapper/PkTransaction.cpp
+++ apper-0.9.1/libapper/PkTransaction.cpp
@@ -28,6 +28,7 @@
 #include <KService>
 #include <KPixmapSequence>
 #include <KPixmapSequenceOverlayPainter>
+#include <KNotification>
 
 #include <KDebug>
 
@@ -765,11 +766,26 @@ void PkTransaction::showSorry(const QStr
 {
     PkTransactionWidget *widget = qobject_cast<PkTransactionWidget 
*>(d->parentWindow);
     if (!widget || widget->isCancelVisible()) {
+        // for background jobs like getupdates (triggered by a timer) we don't 
want a popup
+        if (role() == Transaction::RoleGetUpdates) {
+           KNotification *notify;
+           notify = new KNotification("TransactionMessage", 0, 
KNotification::Persistent);
+           notify->setComponentData(KComponentData("apperd"));
+           notify->setTitle(title);
+           if (details.isEmpty()) 
+             notify->setText(description);
+           else
+             notify->setText(details);
+
+           notify->setPixmap(KIcon("dialog-warning").pixmap(KPK_ICON_SIZE, 
KPK_ICON_SIZE));
+           notify->sendEvent();
+        } else {
         if (details.isEmpty()) {
             KMessageBox::sorry(d->parentWindow, description, title);
         } else {
             KMessageBox::detailedSorry(d->parentWindow, description, details, 
title);
         }
+        }
     } else {
         emit sorry(title, description, details);
     }
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to