summaryrefslogtreecommitdiff
path: root/community/qtcurve-gtk2
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-09-18 00:20:21 -0700
committerroot <root@rshg054.dnsready.net>2012-09-18 00:20:21 -0700
commit0eb0f7dcc1b8f07ad3f0eb5086eafba8f627967d (patch)
tree5e9211b5c62c88d15ad6652e0575105433af04dc /community/qtcurve-gtk2
parentd1d75c37c446dfbe9cbae503300e17f2973dbf44 (diff)
Tue Sep 18 00:20:18 PDT 2012
Diffstat (limited to 'community/qtcurve-gtk2')
-rw-r--r--community/qtcurve-gtk2/PKGBUILD17
-rw-r--r--community/qtcurve-gtk2/cairo_flush_fix.patch11
2 files changed, 22 insertions, 6 deletions
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 <sh@lutzhaase.com>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>
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;
+ }