[arch-commits] Commit in kdegraphics/trunk (183850-workaround.patch PKGBUILD)

Pierre Schmitz pierre at archlinux.org
Sat Apr 11 10:54:42 EDT 2009


    Date: Saturday, April 11, 2009 @ 10:54:41
  Author: pierre
Revision: 34911

upgpkg: kdegraphics 4.2.2-2
    FS#14181

Added:
  kdegraphics/trunk/183850-workaround.patch
Modified:
  kdegraphics/trunk/PKGBUILD

-------------------------+
 183850-workaround.patch |   12 ++++++++++++
 PKGBUILD                |   14 ++++++++++----
 2 files changed, 22 insertions(+), 4 deletions(-)

Added: 183850-workaround.patch
===================================================================
--- 183850-workaround.patch	                        (rev 0)
+++ 183850-workaround.patch	2009-04-11 14:54:41 UTC (rev 34911)
@@ -0,0 +1,12 @@
+diff -ur kdegraphics-4.2.2/kolourpaint/pixmapfx/kpPixmapFX_MaskOps.cpp kdegraphics-4.2.2-kolourpaint-kde#183850-workaround/kolourpaint/pixmapfx/kpPixmapFX_MaskOps.cpp
+--- kdegraphics-4.2.2/kolourpaint/pixmapfx/kpPixmapFX_MaskOps.cpp	2008-12-21 21:19:06.000000000 +0100
++++ kdegraphics-4.2.2-kolourpaint-kde#183850-workaround/kolourpaint/pixmapfx/kpPixmapFX_MaskOps.cpp	2009-04-03 15:23:49.000000000 +0200
+@@ -252,7 +252,7 @@
+         // Copy RGB layer.
+         *destPixmapPtr = QPixmap (oldPixmap.width (), oldPixmap.height ());
+         QPainter p (destPixmapPtr);
+-        p.drawPixmap (QPoint (0, 0), oldPixmap);
++        p.drawImage (QPoint (0, 0), oldPixmap.toImage());
+         p.end ();
+ 
+         // Copy mask layer (if any).

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-04-11 14:53:48 UTC (rev 34910)
+++ PKGBUILD	2009-04-11 14:54:41 UTC (rev 34911)
@@ -3,7 +3,7 @@
 
 pkgname=kdegraphics
 pkgver=4.2.2
-pkgrel=1
+pkgrel=2
 pkgdesc="KDE Graphics is a collection of graphic oriented applications:"
 arch=('i686' 'x86_64')
 url='http://www.kde.org'
@@ -14,11 +14,17 @@
 replaces=('gwenview' 'gwenview-i18n' 'libkexiv2' 'libkdcraw')
 options=('docs')
 install='kdegraphics.install'
-source=("http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
-md5sums=('92ccbd703885a1f7788e4f27f281a75c')
+source=("http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2"
+        '183850-workaround.patch')
+md5sums=('92ccbd703885a1f7788e4f27f281a75c'
+         '1e63a65780b0aae6f817102be3d468ef')
 
 build() {
-	cd $srcdir
+	cd $srcdir/${pkgname}-${pkgver}
+	# workaround for bug in Qt; see http://bugs.kde.org/show_bug.cgi?id=183850
+	# should be removed with Qt 4.5.1
+	patch -p1 -i $srcdir/183850-workaround.patch
+	cd ../
 	mkdir build
 	cd build
 	cmake ../${pkgname}-${pkgver} \



More information about the arch-commits mailing list