[arch-commits] Commit in gtk2/trunk (PKGBUILD)
Ionut Biru
ibiru at archlinux.org
Tue Aug 2 11:48:34 UTC 2011
Date: Tuesday, August 2, 2011 @ 07:48:33
Author: ibiru
Revision: 134153
rebuild to drop gnutls and krb5, gtk linked those because cups-config was buggy, use fedora libtool hack for --as-neeed
Modified:
gtk2/trunk/PKGBUILD
----------+
PKGBUILD | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-08-02 11:46:44 UTC (rev 134152)
+++ PKGBUILD 2011-08-02 11:48:33 UTC (rev 134153)
@@ -4,10 +4,10 @@
pkgbase=gtk2
pkgname=('gtk2' 'gtk-update-icon-cache')
pkgver=2.24.5
-pkgrel=2
+pkgrel=3
arch=('i686' 'x86_64')
url="http://www.gtk.org/"
-makedepends=('atk' 'pango' 'libxcursor' 'libxinerama' 'libxrandr' 'libxi' 'libxcomposite' 'libxdamage' 'krb5' 'gnutls'
+makedepends=('atk' 'pango' 'libxcursor' 'libxinerama' 'libxrandr' 'libxi' 'libxcomposite' 'libxdamage'
'shared-mime-info' 'cairo' 'libcups' 'gdk-pixbuf2' 'gobject-introspection')
options=('!libtool' '!docs')
license=('LGPL')
@@ -27,12 +27,16 @@
--sysconfdir=/etc \
--localstatedir=/var \
--with-xinput=yes
+
+ #https://bugzilla.gnome.org/show_bug.cgi?id=655517
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
make
}
package_gtk2() {
pkgdesc="The GTK+ Toolkit (v2)"
install=gtk2.install
- depends=('atk' 'pango' 'libxcursor' 'libxinerama' 'libxrandr' 'libxi' 'libxcomposite' 'libxdamage' 'krb5' 'gnutls' 'shared-mime-info' 'cairo' 'libcups' 'gtk-update-icon-cache')
+ depends=('atk' 'pango' 'libxcursor' 'libxinerama' 'libxrandr' 'libxi' 'libxcomposite' 'libxdamage' 'shared-mime-info' 'cairo' 'libcups' 'gtk-update-icon-cache')
backup=(etc/gtk-2.0/gtkrc)
cd "${srcdir}/gtk+-${pkgver}"
More information about the arch-commits
mailing list