[arch-commits] Commit in kdelibs/trunk (PKGBUILD fix-kickoff-menu-focus.patch)

Andrea Scarpino andrea at archlinux.org
Sat Apr 11 14:46:12 EDT 2009


    Date: Saturday, April 11, 2009 @ 14:46:11
  Author: andrea
Revision: 35257

upgpkg: kdelibs 4.2.2-4

Added:
  kdelibs/trunk/fix-kickoff-menu-focus.patch
Modified:
  kdelibs/trunk/PKGBUILD

------------------------------+
 PKGBUILD                     |    9 ++++++---
 fix-kickoff-menu-focus.patch |   12 ++++++++++++
 2 files changed, 18 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-04-11 17:34:49 UTC (rev 35256)
+++ PKGBUILD	2009-04-11 18:46:11 UTC (rev 35257)
@@ -3,7 +3,7 @@
 
 pkgname=kdelibs
 pkgver=4.2.2
-pkgrel=3
+pkgrel=4
 pkgdesc="KDE Core Libraries"
 arch=('i686' 'x86_64')
 url='http://www.kde.org'
@@ -17,10 +17,11 @@
 options=('docs')
 install='kdelibs.install'
 source=("http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2"
-        'kde-applications-menu.patch' 'archlinux-menu.patch')
+'kde-applications-menu.patch' 'archlinux-menu.patch' 'fix-kickoff-menu-focus.patch')
 md5sums=('ff54817efef952e8812c607f5089c2e1'
          'e94450ba5430ea9c1e33bad9ae38ca2d'
-         '0ad42200df2d2b8aab01d2ef4b21e02f')
+         '0ad42200df2d2b8aab01d2ef4b21e02f'
+         'ff6704f243836f51b61e7a2c4edbda97')
 
 build() {
 	cd $srcdir/${pkgname}-${pkgver}
@@ -29,6 +30,8 @@
 	patch -p1 -i $srcdir/kde-applications-menu.patch
 	# add Archlinux menu entry
 	patch -p0 -i $srcdir/archlinux-menu.patch
+	# fixed in KDE 4.2.3
+	patch -p4 -i $srcdir/fix-kickoff-menu-focus.patch
 	cd ..
 	mkdir build
 	cd build

Added: fix-kickoff-menu-focus.patch
===================================================================
--- fix-kickoff-menu-focus.patch	                        (rev 0)
+++ fix-kickoff-menu-focus.patch	2009-04-11 18:46:11 UTC (rev 35257)
@@ -0,0 +1,12 @@
+--- branches/KDE/4.2/kdelibs/plasma/popupapplet.cpp	2009/04/09 04:18:10	951366
++++ branches/KDE/4.2/kdelibs/plasma/popupapplet.cpp	2009/04/09 04:21:08	951367
+@@ -275,8 +275,7 @@
+                 //stuff out of your Dialog (extenders). Monitor WindowDeactivate events so we can
+                 //emulate the same kind of behavior as Qt::Popup (close when you click somewhere
+                 //else.
+-                //Use Qt::Tool otherwise dialogs get shown over screensaver (bug #179924).
+-                Qt::WindowFlags wflags = Qt::Tool | Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint;
++                Qt::WindowFlags wflags = Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint;
+ 
+                 if (passive) {
+                     wflags |= Qt::X11BypassWindowManagerHint;



More information about the arch-commits mailing list