summaryrefslogtreecommitdiff
path: root/extra/gtk2/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gtk2/PKGBUILD')
-rw-r--r--extra/gtk2/PKGBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/extra/gtk2/PKGBUILD b/extra/gtk2/PKGBUILD
index 62edc97f7..c1c283a6b 100644
--- a/extra/gtk2/PKGBUILD
+++ b/extra/gtk2/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 147271 2012-01-25 15:45:40Z ibiru $
+# $Id: PKGBUILD 147944 2012-01-28 16:25:29Z heftig $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgbase=gtk2
pkgname=('gtk2' 'gtk-update-icon-cache')
pkgver=2.24.9
-pkgrel=1
+pkgrel=2
arch=('i686' 'x86_64' 'mips64el')
url="http://www.gtk.org/"
makedepends=('atk' 'pango' 'libxcursor' 'libxinerama' 'libxrandr' 'libxi' 'libxcomposite' 'libxdamage'
@@ -12,20 +12,24 @@ makedepends=('atk' 'pango' 'libxcursor' 'libxinerama' 'libxrandr' 'libxi' 'libxc
options=('!libtool' '!docs')
license=('LGPL')
source=(http://ftp.gnome.org/pub/gnome/sources/gtk+/2.24/gtk+-$pkgver.tar.xz
- xid-collision-debug.patch)
+ xid-collision-debug.patch cups-custom-print.patch)
sha256sums=('84204bf24cac739fd979943127e7b29cb46b1017684aa24dce630faa01bcb61d'
- 'd758bb93e59df15a4ea7732cf984d1c3c19dff67c94b957575efea132b8fe558')
+ 'd758bb93e59df15a4ea7732cf984d1c3c19dff67c94b957575efea132b8fe558'
+ '9535c9df19338cbea98ec4b2b5c8e4cef718455938f05c9cf8a08a3805d6b85d')
build() {
cd "$srcdir/gtk+-$pkgver"
patch -Np1 -i "$srcdir/xid-collision-debug.patch"
+ # https://bugzilla.gnome.org/show_bug.cgi?id=543520
+ patch -Rp1 -i "$srcdir/cups-custom-print.patch"
+
CXX=/bin/false ./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--with-xinput=yes
- #https://bugzilla.gnome.org/show_bug.cgi?id=655517
+ # https://bugzilla.gnome.org/show_bug.cgi?id=655517
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make