summaryrefslogtreecommitdiff
path: root/community/qtcurve-gtk2
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-09-20 20:05:58 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-09-20 20:05:58 -0300
commit1872d2123d241e0a3ef01a50fcdc4596b056bcf4 (patch)
treea9ba894779ea4dc5df5f6d5a9bceae99f4c44e06 /community/qtcurve-gtk2
parent5a05be089c68617c86c9c555e63f2b0314451ebf (diff)
parent005a14f92ef5d35e4c47d970cb7e69367a835958 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/balsa/PKGBUILD community/bitcoin/PKGBUILD community/jack2/PKGBUILD community/kadu/PKGBUILD community/oss/PKGBUILD core/sudo/PKGBUILD extra/djvulibre/PKGBUILD extra/gtk2/PKGBUILD extra/kdenetwork/PKGBUILD extra/samba/PKGBUILD gnome-unstable/at-spi2-atk/PKGBUILD gnome-unstable/at-spi2-core/PKGBUILD gnome-unstable/glib-networking/PKGBUILD gnome-unstable/glib2/PKGBUILD gnome-unstable/gobject-introspection/PKGBUILD libre/kdenetwork-kopete-libre/PKGBUILD multilib/jack2-multilib/PKGBUILD multilib/lib32-gtk2/PKGBUILD multilib/lib32-sdl/PKGBUILD multilib/wine/PKGBUILD multilib/zsnes/PKGBUILD testing/btrfs-progs/PKGBUILD testing/dnsutils/PKGBUILD testing/man-db/PKGBUILD testing/postgresql/PKGBUILD testing/postgresql/postgresql.install testing/postgresql/postgresql.service testing/procps-ng/PKGBUILD testing/procps-ng/sysctl.conf testing/sudo/PKGBUILD testing/xf86-video-nouveau/PKGBUILD testing/xf86-video-nouveau/xf86-video-nouveau.install
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 7e4d603ad..798c75fbd 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' 'mips64el')
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;
+ }