[arch-commits] Commit in kdebase-runtime/trunk (PKGBUILD kdebug-324470.patch)

Andrea Scarpino andrea at nymeria.archlinux.org
Tue Sep 10 22:35:14 UTC 2013


    Date: Wednesday, September 11, 2013 @ 00:35:14
  Author: andrea
Revision: 194219

upgpkg: kdebase-runtime 4.11.1-2

Fix Minimize/maximize by clicking taskbar entries requires double click (FS#36854)

Added:
  kdebase-runtime/trunk/kdebug-324470.patch
Modified:
  kdebase-runtime/trunk/PKGBUILD

---------------------+
 PKGBUILD            |   11 ++++++++---
 kdebug-324470.patch |   49 +++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 57 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-09-10 16:08:34 UTC (rev 194218)
+++ PKGBUILD	2013-09-10 22:35:14 UTC (rev 194219)
@@ -4,7 +4,7 @@
 
 pkgname=kdebase-runtime
 pkgver=4.11.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Plugins and applications necessary for the running of KDE applications"
 arch=('i686' 'x86_64')
 url='https://projects.kde.org/projects/kde/kde-runtime'
@@ -18,11 +18,16 @@
             'htdig: to build the search index in the KHelpCenter'
             'rarian: needed by KHelpCenter')
 install="${pkgname}.install"
-source=("http://download.kde.org/stable/${pkgver}/src/kde-runtime-${pkgver}.tar.xz")
-sha1sums=('3457ffdbd1921bc6bc78cd8a9a463822d515b079')
+source=("http://download.kde.org/stable/${pkgver}/src/kde-runtime-${pkgver}.tar.xz"
+        'kdebug-324470.patch')
+sha1sums=('3457ffdbd1921bc6bc78cd8a9a463822d515b079'
+          '80db2d34f9e62dbea5d7e94b7bef93d2cf46f6d7')
 
 prepare() {
   mkdir build
+
+  cd kde-runtime-${pkgver}
+  patch -p1 -i "${srcdir}"/kdebug-324470.patch
 }
 
 build() {

Added: kdebug-324470.patch
===================================================================
--- kdebug-324470.patch	                        (rev 0)
+++ kdebug-324470.patch	2013-09-10 22:35:14 UTC (rev 194219)
@@ -0,0 +1,49 @@
+commit be1a5d484c70f4f6a383150810afbfbb367db2ac
+Author: Eike Hein <hein at kde.org>
+Date:   Tue Sep 3 20:29:23 2013 +0200
+
+    Discard the recorded events in the item-local handlers.
+    
+    Solves problems with identical events being ignored due to
+    QGraphicsView's reuse of QGraphicsSceneMouseEvent instances.
+    
+    CCMAIL:rdieter at fedoraproject.org
+    BUG:324470
+    BUG:324471
+
+diff --git a/plasma/declarativeimports/qtextracomponents/mouseeventlistener.cpp b/plasma/declarativeimports/qtextracomponents/mouseeventlistener.cpp
+index b534845..36530e0 100644
+--- a/plasma/declarativeimports/qtextracomponents/mouseeventlistener.cpp
++++ b/plasma/declarativeimports/qtextracomponents/mouseeventlistener.cpp
+@@ -90,6 +90,7 @@ bool MouseEventListener::containsMouse() const
+ void MouseEventListener::mousePressEvent(QGraphicsSceneMouseEvent *me)
+ {
+     if (m_lastEvent == me) {
++        m_lastEvent = 0;
+         return;
+     }
+ 
+@@ -112,6 +113,7 @@ void MouseEventListener::mousePressEvent(QGraphicsSceneMouseEvent *me)
+ void MouseEventListener::mouseMoveEvent(QGraphicsSceneMouseEvent *me)
+ {
+     if (m_lastEvent == me) {
++        m_lastEvent = 0;
+         return;
+     }
+ 
+@@ -122,6 +124,7 @@ void MouseEventListener::mouseMoveEvent(QGraphicsSceneMouseEvent *me)
+ void MouseEventListener::mouseReleaseEvent(QGraphicsSceneMouseEvent *me)
+ {
+     if (m_lastEvent == me) {
++        m_lastEvent = 0;
+         return;
+     }
+ 
+@@ -138,6 +141,7 @@ void MouseEventListener::mouseReleaseEvent(QGraphicsSceneMouseEvent *me)
+ void MouseEventListener::wheelEvent(QGraphicsSceneWheelEvent *we)
+ {
+     if (m_lastEvent == we) {
++        m_lastEvent = 0;
+         return;
+     }
+ 




More information about the arch-commits mailing list