git » baloo.git » commit 550f88d

Fix gwenview hang when Baloo is disabled

author Antonio Rojas
2015-09-29 15:29:06 UTC
committer Antonio Rojas
2015-09-29 15:29:06 UTC
parent 2d60966b1c3f5b33bee256b028b2e12747a56a2c

Fix gwenview hang when Baloo is disabled

PKGBUILD +8 -4

diff --git a/PKGBUILD b/PKGBUILD
index 0a271f8..53cdfd0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 
 pkgname=baloo
 pkgver=5.14.0
-pkgrel=3
+pkgrel=4
 pkgdesc="A framework for searching and managing metadata"
 arch=('i686' 'x86_64')
 url='https://community.kde.org/Baloo'
@@ -17,19 +17,23 @@ groups=('kf5')
 install="${pkgname}.install"
 source=("http://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
   baloo-bug352454.patch::"https://quickgit.kde.org/?p=baloo.git&a=commitdiff&h=3312d6f&o=plain"
-  baloo-bug353049.patch::"https://quickgit.kde.org/?p=baloo.git&a=commitdiff&h=29fe68f&o=plain")
+  baloo-bug353049.patch::"https://quickgit.kde.org/?p=baloo.git&a=commitdiff&h=29fe68f&o=plain"
+  fix-gwenview.patch::"https://quickgit.kde.org/?p=baloo.git&a=commitdiff&h=8258e54&o=plain")
 md5sums=('0e708135232432d371596d22ed864e3e'
          '3b61489b8e4a2910bced3fb7b8872f69'
-         '55458f5973551f7dd674e29f7c7237b5')
+         '55458f5973551f7dd674e29f7c7237b5'
+         '067dd6f60c4eb7a9d3b7a057a36a079b')
 
 prepare() {
-  mkdir build
+  mkdir -p build
 
 # Fix crash when Baloo is disabled https://bugs.kde.org/show_bug.cgi?id=352454
   cd $pkgname-$pkgver
   patch -p1 -i ../baloo-bug352454.patch
 # Fix segfault in dolphin https://bugs.kde.org/show_bug.cgi?id=353049
   patch -p1 -i ../baloo-bug353049.patch
+# Fix gwenview hang when Baloo is disabled
+  patch -p1 -i ../fix-gwenview.patch
 }
 
 build() {