From 0eb0f7dcc1b8f07ad3f0eb5086eafba8f627967d Mon Sep 17 00:00:00 2001 From: root Date: Tue, 18 Sep 2012 00:20:21 -0700 Subject: Tue Sep 18 00:20:18 PDT 2012 --- community/qtcurve-gtk2/PKGBUILD | 17 +++++++++++------ community/qtcurve-gtk2/cairo_flush_fix.patch | 11 +++++++++++ 2 files changed, 22 insertions(+), 6 deletions(-) create mode 100644 community/qtcurve-gtk2/cairo_flush_fix.patch (limited to 'community/qtcurve-gtk2') diff --git a/community/qtcurve-gtk2/PKGBUILD b/community/qtcurve-gtk2/PKGBUILD index 6c8399cb9..f02f92c5c 100644 --- a/community/qtcurve-gtk2/PKGBUILD +++ b/community/qtcurve-gtk2/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 69999 2012-04-28 00:40:23Z svenstaro $ +# $Id: PKGBUILD 76418 2012-09-17 15:35:37Z svenstaro $ # Maintainer: Sven-Hendrik Haase # Contributor: Andrea Scarpino # Contributor: Pierre Schmitz pkgname=qtcurve-gtk2 pkgver=1.8.15 -pkgrel=1 +pkgrel=2 pkgdesc="A configurable set of widget styles for KDE and Gtk" arch=('i686' 'x86_64') url="http://www.kde-look.org/content/show.php?content=40492" @@ -14,13 +14,18 @@ depends=('gtk2') makedepends=('cmake') groups=('qtcurve') options=('!libtool') -source=("http://craigd.wikispaces.com/file/view/QtCurve-Gtk2-${pkgver}.tar.bz2") -md5sums=('00054b1923f995fa55e0573730b9f3a6') +source=("http://craigd.wikispaces.com/file/view/QtCurve-Gtk2-${pkgver}.tar.bz2" + cairo_flush_fix.patch) +md5sums=('00054b1923f995fa55e0573730b9f3a6' + '3aec00bd00af49ed42a47855ec37f670') build() { cd "${srcdir}" - mkdir build - cd build + + patch -Np1 -i ${srcdir}/cairo_flush_fix.patch -d QtCurve-Gtk2-${pkgver} + + mkdir -p build + cd build/ cmake ../QtCurve-Gtk2-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr diff --git a/community/qtcurve-gtk2/cairo_flush_fix.patch b/community/qtcurve-gtk2/cairo_flush_fix.patch new file mode 100644 index 000000000..12ed2d291 --- /dev/null +++ b/community/qtcurve-gtk2/cairo_flush_fix.patch @@ -0,0 +1,11 @@ +diff -urB QtCurve-Gtk2-1.8.15.orig/style/shadowhelper.c QtCurve-Gtk2-1.8.15/style/shadowhelper.c +--- QtCurve-Gtk2-1.8.15.orig/style/shadowhelper.c 2012-04-24 17:19:54.000000000 -0400 ++++ QtCurve-Gtk2-1.8.15/style/shadowhelper.c 2012-09-14 08:29:55.828897057 -0400 +@@ -58,6 +58,7 @@ + cairo_rectangle(cr, 0, 0, shadowSize, shadowSize); + cairo_fill(cr); + cairo_destroy(cr); ++ cairo_surface_destroy(dest); + g_object_unref(pixbuf); + return pixmap; + } -- cgit v1.2.3-54-g00ecf