summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/gtk2
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2008-12-01 04:57:32 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2008-12-01 04:57:32 (GMT)
commite4e922e8206bce66217e08b678b10465036dd44c (patch)
tree2287e4155c9d3cb7fb308842313af33535621de7 /abs/core-testing/gtk2
parentdad9cc7a179efa966154cc5b945f2f6c4da7f477 (diff)
downloadlinhes_pkgbuild-e4e922e8206bce66217e08b678b10465036dd44c.zip
linhes_pkgbuild-e4e922e8206bce66217e08b678b10465036dd44c.tar.gz
linhes_pkgbuild-e4e922e8206bce66217e08b678b10465036dd44c.tar.bz2
PKGBUILDs for emulators and deps. Removed knoppmyth.xml and motion.xml. Modified mailmenu patch to refer to linhes.xml.
Diffstat (limited to 'abs/core-testing/gtk2')
-rw-r--r--abs/core-testing/gtk2/PKGBUILD22
-rw-r--r--abs/core-testing/gtk2/gtk2.install24
2 files changed, 17 insertions, 29 deletions
diff --git a/abs/core-testing/gtk2/PKGBUILD b/abs/core-testing/gtk2/PKGBUILD
index 7cab655..d119d56 100644
--- a/abs/core-testing/gtk2/PKGBUILD
+++ b/abs/core-testing/gtk2/PKGBUILD
@@ -1,23 +1,24 @@
-# $Id: PKGBUILD 7635 2008-08-03 15:54:30Z jgc $
+# $Id: PKGBUILD 19648 2008-11-28 20:15:22Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=gtk2
-pkgver=2.12.11
-pkgrel=3
+pkgver=2.14.5
+pkgrel=1
pkgdesc="The GTK+ Toolkit (v2)"
arch=(i686 x86_64)
url="http://www.gtk.org/"
install=gtk2.install
-depends=('atk>=1.22.0' 'pango>=1.20.5' 'libxcursor' 'libxinerama' 'libxrandr>=1.2.1' 'libxi' 'libcups>=1.3.8-2' 'libxcomposite' 'libxdamage' 'heimdal>=1.2' 'gnutls>=2.4.1')
+depends=('atk>=1.24.0' 'pango>=1.22.3' 'libxcursor' 'libxinerama' 'libxrandr>=1.2.1' 'libxi' 'libcups>=1.3.9' 'libxcomposite' 'libxdamage' 'heimdal>=1.2' 'gnutls>=2.4.1')
makedepends=('pkgconfig')
-replaces=('gtkprint-cups')
-conflicts=('gtkprint-cups')
-options=('!libtool')
+replaces=('gtkprint-cups' 'gail')
+conflicts=('gtkprint-cups' 'gail')
+provides=('gail=1.22.3')
+options=('!libtool' '!docs')
backup=(etc/gtk-2.0/gtkrc)
license=('LGPL')
-source=(http://ftp.gnome.org/pub/gnome/sources/gtk+/2.12/gtk+-${pkgver}.tar.bz2
+source=(http://ftp.gnome.org/pub/gnome/sources/gtk+/2.14/gtk+-${pkgver}.tar.bz2
gtkclipboard-check.patch)
-md5sums=('f7aab88e856a813386f797aade5867ad'
+md5sums=('1b1b5d7ab5a25e84682cb27ee4808a40'
'4025d3c15d6c6f73a032f403ffd4ff1c')
build() {
@@ -26,7 +27,8 @@ build() {
patch -Np1 -i ${startdir}/src/gtkclipboard-check.patch || return 1
./configure --prefix=/usr --sysconfdir=/etc \
- --localstatedir=/var --with-xinput=xfree \
+ --localstatedir=/var --with-xinput=yes \
+ --without-libjasper \
--with-included-loaders=png || return 1
make || return 1
make DESTDIR=${startdir}/pkg install || return 1
diff --git a/abs/core-testing/gtk2/gtk2.install b/abs/core-testing/gtk2/gtk2.install
index 3b4a881..6d415ad 100644
--- a/abs/core-testing/gtk2/gtk2.install
+++ b/abs/core-testing/gtk2/gtk2.install
@@ -1,27 +1,13 @@
-# arg 1: the new package version
post_install() {
- # we need to ldconfig first, in case xfree86's libs aren't
- # in ld.so.cache yet
- sbin/ldconfig -r .
- mkdir -p etc/gtk-2.0 &>/dev/null
- usr/bin/gtk-query-immodules-2.0 >etc/gtk-2.0/gtk.immodules
- usr/bin/gdk-pixbuf-query-loaders >etc/gtk-2.0/gdk-pixbuf.loaders
+ usr/bin/gtk-query-immodules-2.0 > etc/gtk-2.0/gtk.immodules
+ usr/bin/gdk-pixbuf-query-loaders > etc/gtk-2.0/gdk-pixbuf.loaders
}
-# arg 1: the new package version
-# arg 2: the old package version
post_upgrade() {
- post_install $1
+ post_install
}
-# arg 1: the old package version
pre_remove() {
- rm -f etc/gtk-2.0/gtk.immodules &>/dev/null
- rm -f etc/gtk-2.0/gdk-pixbuf.loaders &>/dev/null
- rmdir etc/gtk-2.0 &>/dev/null
+ rm -f etc/gtk-2.0/gtk.immodules &>/dev/null
+ rm -f etc/gtk-2.0/gdk-pixbuf.loaders &>/dev/null
}
-
-op=$1
-shift
-
-$op $*